1 2003-11-10 Gary Benson <gbenson@redhat.com>
3 * java/sql/Timestamp.java (valueOf): Correctly handle
6 2003-11-09 Tom Tromey <tromey@redhat.com>
8 * java/net/Inet4Address.java (serialVersionUID): Updated.
10 2003-11-08 Jeff Sturm <jsturm@one-point.com>
12 * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
15 2003-11-08 Jeff Sturm <jsturm@one-point.com>
17 * java/io/ByteArrayOutputStream.java (resize):
20 2003-11-08 Bryce McKinlay <bryce@mckinlay.net.nz>
22 * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
25 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
28 * java/lang/Win32Process.java (hasExited) Changed from
30 (startProcess): Likewise.
32 * java/lang/natWin32Process.cc (cleanup) Don't close
33 input, output and error streams.
34 (ChildProcessPipe): New helper class.
35 (startProcess): Refactored to use ChildProcessPipe.
36 Use CREATE_NO_WINDOW when launching child process.
38 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
40 * include/win32.h (_Jv_platform_close_on_exec): Changed
41 signature and declared extern.
42 * win32.cc (_Jv_platform_close_on_exec): Implemented.
43 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
44 (create): Use new signature of _Jv_platform_close_on_exec.
45 * gnu/java/net/natPlainSocketImplWin32.cc
46 (create): Eliminated a few typecasts
47 Use new signature of _Jv_platform_close_on_exec.
48 (accept): Eliminated a few typecasts
49 Use new signature of _Jv_platform_close_on_exec.
50 * java/io/natFileDescriptorWin32.cc (open): Use
51 _Jv_platform_close_on_exec.
53 2003-11-04 Bryce McKinlay <bryce@mckinlay.net.nz>
55 * java/lang/natClass.cc (newInstance): Throw InstantiationException
56 if class has no null-argument constructor.
58 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
61 * win32-threads.cc (_Jv_CondWait): Respect mutex's
62 refcount when releasing and reacquiring it.
64 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
66 * win32.cc: (dirExists) Internal helper function to
67 test for directory existence.
68 (getUserHome) New helper function refactored out
69 of _Jv_platform_initProperties. Uses USERPROFILE
70 instead of HOMEDIR and attempts to support Win9X and NT.
71 (_Jv_platform_initProperties) Use getUserHome.
73 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
76 * gnu/java/net/natPlainSocketImplWin32.cc
77 (bind): Don't use SO_REUSEADDR
79 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
82 * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
84 2003-10-30 Bryce McKinlay <bryce@mckinlay.net.nz>
86 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
87 dispatch for final methods.
89 2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
91 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
94 2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com>
96 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
97 scrolled window's size request.
99 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
101 * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
102 * java/awt/geom/QuadCurve2D.java: Likewise.
104 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
106 * java/awt/geom/CubicCurve2D.java: Added documentation.
107 * java/awt/geom/QuadCurve2D.java: Likewise.
109 * java/awt/geom/doc-files/QuadCurve2D-4.png,
110 java/awt/geom/doc-files/QuadCurve2D-5.png,
111 java/awt/geom/doc-files/CubicCurve2D-4.png,
112 java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
114 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
116 * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
117 (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
118 (subdivide(double[],int,double[],int,double[],int)): Implement.
120 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
122 * java/awt/geom/doc-files/CubicCurve2D-1.png,
123 java/awt/geom/doc-files/CubicCurve2D-2.png,
124 java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
126 2003-10-29 Ito Kazumitsu <kaz@maczuka.gcd.org>
128 * java/text/DecimalFormat.java
129 (scanFormat) corrected so that '%' may appear in a pattern.
131 2003-10-29 Mark Wielaard <mark@klomp.org>
133 From Guilhem Lavaux <guilhem.lavaux@free.fr>
134 * java/text/DateFormat.java (Field): New public static inner class.
135 * java/text/Format.java (Field): Likewise.
136 (formatToCharacterIterator): New method.
137 * java/text/FormatCharacterIterator.java: New file.
139 2003-10-29 Mark Wielaard <mark@klomp.org>
141 From Guilhem Lavaux <guilhem.lavaux@free.fr>
142 * java/util/Currency.java: New file.
144 2003-10-29 Michael Koch <konqueror@gmx.de>
146 * Makefile.am (ordinary_java_source_files): Added
147 java/text/FormatCharacterIterator.java and java/util/Currency.java.
148 * Makefile.in: Regenerated.
150 2003-10-29 Dalibor Topic <robilad@kaffe.org>
152 * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
155 2003-10-29 Julian Dolby <dolby@us.ibm.com>
157 * javax/naming/spi/NamingManager.java (getContinuationContext): Call
158 getObjectInstance() with Object, Name, Context and environment
159 Hashtable from exception. Call fillInStackTrace() on exception when
161 * javax/naming/InitialContext.java (lookup(Name)): When a
162 CannotProceedException is thrown use the ContinuationContext.
163 (lookup(String)): Likewise.
164 (close): Clear myProps and defaultInitCtx.
166 2003-10-29 Michael Koch <konqueror@gmx.de>
168 * java/net/InetAddress.java
169 (equals): Remove redundant obj == null check.
170 * java/net/SocketPermission.java
174 (getURLStreamHandler): Likewise.
176 2003-10-29 Michael Koch <konqueror@gmx.de>
178 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
179 (setOption): Directly return if no error occured.
180 * gnu/java/net/natPlainSocketImplPosix.cc
181 (setOption): Likewise.
183 2003-10-28 Bryce McKinlay <bryce@mckinlay.net.nz>
185 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
186 vtable slot for final methods. Add FIXME comment.
188 2003-10-28 David S. Miller <davem@redhat.com>
190 * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
192 2003-10-26 Mark Wielaard <mark@klomp.org>
194 Reported by Helmer Kraemer <hkraemer@freenet.de>
195 * java/util/jar/JarInputStream.java (readManifest): Don't call
198 * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
199 (finish): Use inbufWrite().
200 (write(int)): Likewise.
201 (write(byte[],int,int)): Likewise.
203 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
205 * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
206 Don't check for AccessibleObject. Update javadocs.
208 * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
210 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
212 * java/lang/reflect/Constructor.java (toString): Avoid extra
213 whitespace on constructor with no modifiers.
214 * java/lang/reflect/natConstructor.java (newInstance): Look up
215 caller and perform accessibility check only if constructor is
216 non-public and accessible flag is not set.
218 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
220 * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
221 _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
222 use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
223 is_virtual_call argument.
224 * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
226 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
228 * java/lang/reflect/natMethod.cc (invoke): Don't use
229 _Jv_LookupDeclaredMethod.
230 (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
231 look up method in target object's vtable.
233 2003-10-25 Graydon Hoare <graydon@redhat.com>
235 * gnu/java/awt/ClasspathToolkit.java: New abstract class.
236 * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
237 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
238 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
239 New concrete implementation of ClasspathFontPeer, with native part.
240 * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
241 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
242 New class, with native part.
243 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
244 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
245 implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
247 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
249 * java/lang/reflect/Method.java (toString): Avoid extra whitespace
250 on method with no modifiers.
252 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
255 * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
256 accessibility check only if target is non-public and accessible flag
258 * java/lang/reflect/natField.cc (getAddr): Likewise.
260 2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
262 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
264 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
266 * java/awt/Window.java (Window(Window,GraphicsConfiguration),
267 show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
268 (dispose): Post WINDOW_CLOSED event.
269 (addWindowFocusListener, addWindowStateListener): Assign result
270 of multicaster add back to window listener.
271 (removeWindowFocusListener, removeWindowStateListener): Assign
272 result of multicaster remove back to window listener.
273 (dispatchEventImpl): Add null checks for focus and state
275 (processWindowEvent): Handle case where windowListener is null
276 but state or focus listeners exist.
277 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
278 glue for postWindowEvent.
279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
280 (window_delete_cb, window_destroy_cb, window_show_cb,
281 window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
282 window_get_new_state): New functions.
283 * jni/gtk-peer/gtkpeer.h: Define window event and frame state
284 macros. Declare postWindowEventID.
286 2003-10-24 Anthony Green <green@redhat.com>
288 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
289 we have no interpreter.
291 2003-10-22 Andrew Haley <aph@redhat.com>
293 * java/lang/natClass.cc (initializeClass): Call
294 _Jv_linkExceptionClassTable.
295 (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call
296 _Jv_Defer_Resolution on a method whose ncode is NULL.
297 (_Jv_linkExceptionClassTable): New function.
298 (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
300 * java/lang/Class.h (struct _Jv_CatchClass): New.
301 (_Jv_linkExceptionClassTable): New friend.
302 (_Jv_Defer_Resolution): New friend.
303 (class Class.catch_classes): New field.
304 * include/java-interp.h (Jv_Defer_Resolution): New method.
305 (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
306 (_Jv_MethodBase.deferred): New field.
307 (_Jv_Defer_Resolution): New function.
308 * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
309 * exception.cc (get_ttype_entry): Change return type to void**.
310 (PERSONALITY_FUNCTION): Remove all code related to using a
311 Utf8Const* for a match type. Change match type to be a pointer to
312 a pointer, rather than a pointer to a Class.
313 * defineclass.cc (handleCodeAttribute): Initialize
315 (handleMethodsEnd): Likewise.
317 2003-10-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
319 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
320 _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
322 2003-10-22 Tom Tromey <tromey@redhat.com>
325 * java/lang/Class.h: Updated.
326 * java/lang/natClass.cc (_getFields): Removed.
327 (getFields): Likewise.
328 (getDeclaredFields): Added `public_only' parameter.
329 * java/lang/Class.java (getFields): Now implemented in java; from
331 (getDeclaredFields): Likewise.
332 (getDeclaredFields(boolean)): Declare.
333 (_getFields): Removed.
334 (internalGetFields): New method, from Classpath.
337 * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
338 _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
340 2003-10-22 David Daney <ddaney@avtrex.com)
342 * include/mips-signal.h: New file.
343 * sysdep/dwarf2-backtrace.cc: New file.
344 * sysdep/mips: New directory.
345 * sysdep/mips/locks.h: New file.
346 * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
348 (extra_cc_source_files): Ditto.
349 * configure.host(disable_dladdr): New shell variable passed to
351 (mips*-*-linux*): sysdeps_dir=mips,
352 can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
353 (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
354 * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
355 generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
356 (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
357 (EXTRA_CC_FILES): New, to support conditional addition of
358 sysdep/dwarf2-backtrace.cc.
359 * configure: Regenerated.
360 * Makefile.in: Regenerated.
361 * gcj/Makefile.in: Regenerated.
362 * include/config.h.in: Regenerated.
363 * include/Makefile.in: Regenerated.
364 * testsuite/Makefile.in: Regenerated.
366 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
368 * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
369 java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
371 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
373 * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
374 * java/awt/geom/doc-files: New directory.
375 * java/awt/geom/doc-files/QuadCurve2D-1.png,
376 java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
378 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
380 * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
382 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
384 * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
386 2003-10-22 Michael Koch <konqueror@gmx.de>
389 (equals): Removed redundant obj == null check.
390 (createTempFile): Merged comments from classpath.
392 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
394 Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
395 * java/util/logging/ErrorManager.java (everUsed): Made volatile.
396 (error): Synchronize on instance, not class.
398 2003-10-21 Mark Wielaard <mark@klomp.org>
400 Reported by M.Negovanovic
401 * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
403 (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
405 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
407 Fix for Classpath bug #6076.
408 * java/awt/geom/GeneralPath.java (append): Re-written.
410 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
412 Fix for Classpath bug #6089.
413 * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
414 (getPathIterator, GeneralPathIterator): Re-written from scratch.
416 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
418 * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
419 point, not start of subpath. Fixes Classpath bug #6075.
421 2003-10-21 Michael Koch <konqueror@gmx.de>
423 * java/nio/ByteOrder.java,
424 java/nio/DirectByteBufferImpl.java,
425 java/nio/channels/FileChannelImpl.java:
426 Add code to load library with code for native methods if needed.
428 2003-10-21 Michael Koch <konqueror@gmx.de>
430 * gnu/java/net/PlainDatagramSocketImpl.java,
431 gnu/java/net/PlainSocketImpl.java,
432 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
433 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
434 gnu/java/net/natPlainSocketImplPosix.cc,
435 gnu/java/net/natPlainSocketImplWin32.cc:
436 Renamed fnum to native_fd to match classpath more.
438 2003-10-21 Jerry Quinn <jlquinn@optonline.net>
440 * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
441 _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
442 * include/no-threads.h (_Jv_MutexCheckMonitor): New.
443 * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
444 _Jv_PthreadCheckMonitor. Simplify code.
445 (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
446 * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
447 * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
448 * java/lang/Thread.java (holdsLock): New.
449 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
450 without JV_HASH_SYNCHRONIZATION.
451 * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
453 2003-10-20 Michael Koch <konqueror@gmx.de>
455 * java/text/RuleBasedCollator.java
456 (RuleBasedCollator): Check rules not empty, fixed search in already
457 existing collation elements.
458 (is_special): Removed common whitespace characters.
459 (text_argument): Dont return on whitespaces, add characters between
460 two ' to string buffer.
462 2003-10-18 Michael Koch <konqueror@gmx.de>
464 * gnu/java/net/protocol/file/Connection.java,
465 gnu/java/net/protocol/file/Handler.java,
466 gnu/java/net/protocol/http/Connection.java,
467 gnu/java/net/protocol/http/Handler.java,
468 gnu/java/net/protocol/jar/Connection.java,
469 gnu/java/net/protocol/jar/Handler.java:
470 Merged copyright text from classpath to make
471 it possible to merge the classes.
473 2003-10-18 Mark Wielaard <mark@klomp.org>
475 Reported by M.Negovanovic
476 * java/beans/IndexedPropertyDescriptor.java
477 (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
479 2003-10-17 Mohan Embar <gnustuff@thisiscool.com>
481 * win32.cc (_Jv_pipe): Implemented.
482 * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
483 _Jv_pipe instead of ::pipe.
484 * include/posix.h (_Jv_pipe): New inline.
485 * include/win32.h (_Jv_pipe): New declaration.
487 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
489 * java/lang/StringBuffer.java (getChars): Fix array index checks.
490 (append, substring, insert): Likewise.
491 * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
492 * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
494 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
496 * java/lang/natString.cc (getChars):
497 Fix validation of array indexes.
498 (getBytes, regionMatches, startsWith, valueOf): Likewise.
499 * testsuite/libjava.lang/String_overflow.java: New file.
500 * testsuite/libjava.lang/String_overflow.out: New file.
502 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
504 * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
506 (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
507 check for overflowing size_t, since the lower level functions
509 * testsuite/libjava.lang/newarray_overflow.java: New file.
510 * testsuite/libjava.lang/newarray_overflow.out: New file.
512 2003-10-15 Michael Koch <konqueror@gmx.de>
514 * java/text/RuleBasedCollator.java
515 (RuleBasedCollator): Moved around, documentation added.
516 (compare): Documentation added.
518 (getCollationElementIterator): Likewise.
519 (getCollationKey): Likewise.
520 (getRules): Likewise.
521 (hashCode): Likewise.
523 2003-10-15 Michael Koch <konqueror@gmx.de>
525 * java/text/RuleBasedCollator.java
526 (CollationElement): Renamed from RBCElement and moved into
527 RuledBasedCollator as inner class.
529 2003-10-15 Michael Koch <konqueror@gmx.de>
531 * java/text/CollationElementIterator.java
532 (CollationElementIterator): Moved, documenatation added, call setText.
535 (setText): New method.
536 (getOffset): New method.
537 * java/text/CollationKey.java
538 (getSourceString): Reformated.
539 (hashCode): Reformated.
540 (toByteArray): Reformated.
542 2003-10-15 Michael Koch <konqueror@gmx.de>
544 * java/util/zip/InflaterInputStream.java
545 (InflaterInputStream): Renamed infl to inf and bufsize to size,
546 added description to exception, check for inf == null and size < 0.
548 2003-10-15 Michael Koch <konqueror@gmx.de>
550 * java/text/AttributedCharacterIterator.java,
551 java/text/CharacterIterator.java: Reformated.
553 2003-10-15 Michael Koch <konqueror@gmx.de>
555 * javax/swing/UIDefaults.java (putDefaults):
556 Readded accidently removed "public" modifier.
558 2003-10-14 Paolo Bonzini <bonzini@gnu.org>
560 * interpret.cc (_Jv_InterpMethod::run): Don't
561 use libffi types, they were meant to be internal.
562 * gcj/javaprims.h (_Jv_ulong): New typedef.
564 2003-10-13 Tom Tromey <tromey@redhat.com>
566 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
567 (defineClass): Updated.
568 (_Jv_NewClass): Likewise.
569 * prims.cc (_Jv_InitPrimClass): Don't call
570 _Jv_InitNewClassFields.
572 2003-10-13 Taras Glek <taras.judge@shaw.ca>
575 * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
578 2003-10-13 Michael Koch <konqueror@gmx.de>
580 * java/io/File.java: Reformated.
581 (equals): Check for obj == null.
583 2003-10-13 Michael Koch <konqueror@gmx.de>
585 * java/net/JarURLConnection.java
586 (jarFileURL): Added dcoumentation.
587 (jarFileURLConnection): Reformated documentation.
588 (entryName): Renamed from "element", documentation rewritten.
589 (connectionCache): Renamed from "conn_cache", documentation
591 (JarURLConnection): Check URL protocol.
592 (getEntryName): Use entryName.
593 (connect): Use connectionCache.
594 (getInputStream): Use entryName, fixed comment.
595 (getJarEntry): Use entryName.
596 (getHeaders): Use entryName.
597 * java/net/URLConnection.java
598 (addRequestProperty): Fixed documentation.
599 (setDefaultRequestProptery): Added comment that it does nothing since
601 (getDefaultRequestProperty): Likewise.
603 2003-10-13 Michael Koch <konqueror@gmx.de>
605 * java/net/java/net/URLStreamHandlerFactory.java
606 (createURLStreamHandler): Removed redundant "public" modifier.
607 * java/sql/DatabaseMetaData.java:
608 (DatabaseMetaData): Readded accidently removed "public" modifier.
609 * java/sql/ParameterMetaData.java:
610 (ParameterMetaData): Readded accidently removed "public" modifier.
611 * java/sql/PreparedStatement.java:
612 (PreparedStatement): Readded accidently removed "public" modifier.
614 (Ref): Readded accidently removed "public" modifier.
616 2003-10-13 Michael Koch <konqueror@gmx.de>
618 * java/nio/Buffer.java
619 (hasRemaining): Made implementation more clear.
620 * java/nio/MappedByteBuffer.java
621 (loaded): New member variable.
622 (force): Added comment.
623 (isLoaded): Return value of loaded.
624 (load): Set loaded to true, added comment.
626 2003-10-12 Michael Koch <konqueror@gmx.de>
628 * gnu/java/nio/PipeImpl.java
629 (SourceChannelImpl): New inner class.
630 (SinkChannelImpl): New inner class.
631 (sink): New member variable.
632 (source): New member variable.
633 (PipeImpl): Add SelectorProvider argument, implemented.
634 (nativeInit): New method.
635 (sink): Return sink channel.
636 (source): Return source channel.
637 * gnu/java/nio/SelectorProviderImpl.java
638 (openPipe): Give provider as argument to PipeImpl constructor.
639 * java/nio/channels/spi/SelectorProvider.java
641 (systemDefaultProvider): New member variable.
642 (provider): Made it synchronized, use property
643 java.nio.channels.spi.SelectorProvider.
644 * gnu/java/nio/natPipeImpl.cc: New file.
645 * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
646 * Makefile.in: Regenerated.
648 2003-10-12 Michael Koch <konqueror@gmx.de>
650 * javax/swing/table/DefaultTableModel.java,
651 javax/swing/table/TableCellEditor.java,
652 javax/swing/table/TableCellRenderer.java,
653 javax/swing/table/TableColumnModel.java,
654 javax/swing/table/TableModel.java,
655 javax/swing/text/AbstractDocument.java,
656 javax/swing/text/Document.java,
657 javax/swing/text/MutableAttributeSet.java,
658 javax/swing/text/StyledDocument.java,
659 javax/swing/text/ViewFactory.java,
660 javax/swing/tree/DefaultMutableTreeNode.java,
661 javax/swing/tree/MutableTreeNode.java,
662 javax/swing/tree/RowMapper.java,
663 javax/swing/tree/TreeCellEditor.java,
664 javax/swing/tree/TreeCellRenderer.java,
665 javax/swing/tree/TreeModel.java,
666 javax/swing/tree/TreeNode.java,
667 javax/swing/tree/TreeSelectionModel.java,
668 javax/swing/undo/StateEditable.java,
669 javax/swing/undo/UndoableEdit.java:
670 Removed redundant modifiers.
672 2003-10-12 Michael Koch <konqueror@gmx.de>
674 * javax/swing/event/AncestorListener.java,
675 javax/swing/event/CaretListener.java,
676 javax/swing/event/CellEditorListener.java,
677 javax/swing/event/ChangeListener.java,
678 javax/swing/event/DocumentEvent.java,
679 javax/swing/event/DocumentListener.java,
680 javax/swing/event/HyperlinkListener.java,
681 javax/swing/event/InternalFrameListener.java,
682 javax/swing/event/ListDataListener.java,
683 javax/swing/event/ListSelectionListener.java,
684 javax/swing/event/MenuDragMouseListener.java,
685 javax/swing/event/MenuKeyListener.java,
686 javax/swing/event/MenuListener.java,
687 javax/swing/event/MouseInputListener.java,
688 javax/swing/event/PopupMenuListener.java,
689 javax/swing/event/TableColumnModelListener.java,
690 javax/swing/event/TableModelListener.java,
691 javax/swing/event/TreeExpansionListener.java,
692 javax/swing/event/TreeModelListener.java,
693 javax/swing/event/TreeSelectionListener.java,
694 javax/swing/event/TreeWillExpandListener.java,
695 javax/swing/event/UndoableEditListener.java,
696 javax/swing/plaf/UIResource.java,
697 javax/swing/plaf/metal/MetalLookAndFeel.java:
698 Removed redundant modifiers.
700 2003-10-12 Michael Koch <konqueror@gmx.de>
702 * javax/swing/Action.java,
703 javax/swing/BoundedRangeModel.java,
704 javax/swing/CellEditor.java,
705 javax/swing/ComboBoxEditor.java,
706 javax/swing/ComboBoxModel.java,
707 javax/swing/DesktopManager.java,
708 javax/swing/JComboBox.java,
709 javax/swing/ListCellRenderer.java,
710 javax/swing/ListSelectionModel.java,
711 javax/swing/MenuElement.java,
712 javax/swing/MutableComboBoxModel.java,
713 javax/swing/Renderer.java,
714 javax/swing/RootPaneContainer.java,
715 javax/swing/ScrollPaneConstants.java,
716 javax/swing/SingleSelectionModel.java,
717 javax/swing/SpinnerModel.java,
718 javax/swing/SwingConstants.java,
719 javax/swing/UIDefaults.java,
720 javax/swing/WindowConstants.java,
721 javax/swing/border/Border.java,
722 javax/swing/colorchooser/ColorSelectionModel.java:
723 Removed redundant modifiers.
725 2003-10-11 Michael Koch <konqueror@gmx.de>
727 * javax/transaction/Status.java,
728 javax/transaction/Synchronization.java,
729 javax/transaction/Transaction.java,
730 javax/transaction/TransactionManager.java,
731 javax/transaction/UserTransaction.java,
732 javax/transaction/xa/XAResource.java,
733 javax/transaction/xa/Xid.java:
734 Removing redundant modifiers.
736 2003-10-11 Michael Koch <konqueror@gmx.de>
738 * javax/print/attribute/Attribute.java,
739 javax/print/attribute/AttributeSet.java,
740 javax/print/attribute/PrintRequestAttributeSet.java:
741 Removing redundant modifiers.
743 2003-10-11 Michael Koch <konqueror@gmx.de>
745 * javax/sql/ConnectionEventListener.java,
746 javax/sql/ConnectionPoolDataSource.java,
747 javax/sql/DataSource.java,
748 javax/sql/PooledConnection.java,
749 javax/sql/RowSet.java,
750 javax/sql/RowSetInternal.java,
751 javax/sql/RowSetListener.java,
752 javax/sql/RowSetMetaData.java,
753 javax/sql/RowSetReader.java,
754 javax/sql/RowSetWriter.java,
755 javax/sql/XAConnection.java,
756 javax/sql/XADataSource.java:
757 Removing redundant modifiers.
759 2003-10-11 Michael Koch <konqueror@gmx.de>
761 * javax/naming/Context.java,
762 javax/naming/Name.java,
763 javax/naming/NameParser.java,
764 javax/naming/NamingEnumeration.java,
765 javax/naming/Referenceable.java,
766 javax/naming/directory/Attribute.java,
767 javax/naming/directory/Attributes.java,
768 javax/naming/directory/DirContext.java,
769 javax/naming/event/EventContext.java,
770 javax/naming/event/EventDirContext.java,
771 javax/naming/event/NamespaceChangeListener.java,
772 javax/naming/event/NamingListener.java,
773 javax/naming/event/ObjectChangeListener.java,
774 javax/naming/ldap/Control.java,
775 javax/naming/ldap/ExtendedRequest.java,
776 javax/naming/ldap/ExtendedResponse.java,
777 javax/naming/ldap/HasControls.java,
778 javax/naming/ldap/LdapContext.java,
779 javax/naming/ldap/UnsolicitedNotification.java,
780 javax/naming/ldap/UnsolicitedNotificationListener.java,
781 javax/naming/spi/DirObjectFactory.java,
782 javax/naming/spi/DirStateFactory.java,
783 javax/naming/spi/InitialContextFactory.java,
784 javax/naming/spi/InitialContextFactoryBuilder.java,
785 javax/naming/spi/ObjectFactory.java,
786 javax/naming/spi/ObjectFactoryBuilder.java,
787 javax/naming/spi/Resolver.java,
788 javax/naming/spi/StateFactory.java:
789 Removing redundant modifiers.
791 2003-10-11 Michael Koch <konqueror@gmx.de>
793 * java/security/Key.java,
794 * java/security/PrivateKey.java,
795 * java/security/PublicKey.java,
796 * java/security/acl/Acl.java,
797 * java/security/acl/AclEntry.java,
798 * java/security/acl/Group.java,
799 * java/security/acl/Owner.java,
800 * java/security/acl/Permission.java,
801 * java/security/cert/X509Extension.java,
802 * java/security/interfaces/DSAKey.java,
803 * java/security/interfaces/DSAKeyPairGenerator.java,
804 * java/security/interfaces/DSAParams.java,
805 * java/security/interfaces/DSAPrivateKey.java,
806 * java/security/interfaces/DSAPublicKey.java,
807 * java/security/interfaces/RSAKey.java,
808 * java/security/interfaces/RSAPrivateCrtKey.java,
809 * java/security/interfaces/RSAPrivateKey.java,
810 * java/security/interfaces/RSAPublicKey.java:
811 Removed redundant modifiers.
813 2003-10-11 Michael Koch <konqueror@gmx.de>
815 * gnu/java/rmi/server/ProtocolConstants.java,
816 gnu/java/security/der/DER.java:
817 Removing redundant modifiers.
819 2003-10-11 Michael Koch <konqueror@gmx.de>
821 * java/util/Map.java,
822 java/util/Observer.java,
823 java/util/zip/Checksum.java,
824 java/util/zip/ZipConstants.java:
825 Removed redundant modifiers.
827 2003-10-11 Michael Koch <konqueror@gmx.de>
829 * java/text/AttributedCharacterIterator.java,
830 java/text/CharacterIterator.java:
831 Removed redundant modifiers.
833 2003-10-11 Michael Koch <konqueror@gmx.de>
835 * java/sql/Array.java,
837 java/sql/CallableStatement.java,
839 java/sql/Connection.java,
840 java/sql/DatabaseMetaData.java,
841 java/sql/Driver.java,
842 java/sql/ParameterMetaData.java,
843 java/sql/PreparedStatement.java,
845 java/sql/ResultSet.java,
846 java/sql/ResultSetMetaData.java,
847 java/sql/SQLData.java,
848 java/sql/SQLInput.java,
849 java/sql/SQLOutput.java,
850 java/sql/Savepoint.java,
851 java/sql/Statement.java,
852 java/sql/Struct.java:
853 Removed redundant modifiers.
855 2003-10-11 Michael Koch <konqueror@gmx.de>
857 * java/nio/channels/Channel.java,
858 java/nio/channels/GatheringByteChannel.java,
859 java/nio/channels/ReadableByteChannel.java,
860 java/nio/channels/ScatteringByteChannel.java,
861 java/nio/channels/WritableByteChannel.java:
862 Removed redundant modifiers.
864 2003-10-11 Michael Koch <konqueror@gmx.de>
866 * java/rmi/activation/ActivationInstantiator.java,
867 java/rmi/activation/ActivationMonitor.java,
868 java/rmi/activation/ActivationSystem.java,
869 java/rmi/activation/Activator.java,
870 java/rmi/dgc/DGC.java,
871 java/rmi/registry/Registry.java,
872 java/rmi/registry/RegistryHandler.java,
873 java/rmi/server/LoaderHandler.java,
874 java/rmi/server/RMIClientSocketFactory.java,
875 java/rmi/server/RMIFailureHandler.java,
876 java/rmi/server/RMIServerSocketFactory.java,
877 java/rmi/server/RemoteCall.java,
878 java/rmi/server/RemoteRef.java,
879 java/rmi/server/ServerRef.java,
880 java/rmi/server/Skeleton.java,
881 java/rmi/server/Unreferenced.java:
882 Removed redundant modifiers.
884 2003-10-11 Michael Koch <konqueror@gmx.de>
886 * java/net/ContentHandlerFactory.java,
887 java/net/DatagramSocketImplFactory.java,
888 java/net/FileNameMap.java,
889 java/net/SocketImplFactory.java,
890 java/net/SocketOptions.java,
891 java/net/URLStreamHandlerFactory.java:
892 Removed redundant modifiers.
894 2003-10-11 Michael Koch <konqueror@gmx.de>
896 * java/io/Externalizable.java,
897 java/io/FileFilter.java,
898 java/io/FilePermission.java,
899 java/io/ObjectInput.java,
900 java/io/ObjectInputValidation.java,
901 java/io/ObjectOutput.java,
902 java/io/ObjectStreamClass.java,
903 java/io/ObjectStreamConstants.java,
904 java/io/Serializable.java:
905 Removed redundant modifiers.
907 2003-10-11 Ingo Proetel <proetel@aicas.com>
909 * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
910 codebase and context classloader.
912 2003-10-11 Michael Koch <konqueror@gmx.de>
914 * java/beans/beancontext/BeanContext.java,
915 java/beans/beancontext/BeanContextChild.java,
916 java/beans/beancontext/BeanContextChildComponentProxy.java,
917 java/beans/beancontext/BeanContextChildSupport.java,
918 java/beans/beancontext/BeanContextContainerProxy.java,
919 java/beans/beancontext/BeanContextMembershipListener.java,
920 java/beans/beancontext/BeanContextProxy.java,
921 java/beans/beancontext/BeanContextServiceProvider.java,
922 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
923 java/beans/beancontext/BeanContextServiceRevokedListener.java,
924 java/beans/beancontext/BeanContextServices.java,
925 java/beans/beancontext/BeanContextServicesListener.java:
926 Removed redundant modifiers.
928 2003-10-11 Michael Koch <konqueror@gmx.de>
930 * java/beans/AppletInitializer.java,
931 java/beans/BeanInfo.java,
932 java/beans/Customizer.java,
933 java/beans/DesignMode.java,
934 java/beans/PropertyEditor.java,
935 java/beans/Visibility.java:
936 Removed redundant modifiers.
938 2003-10-11 Michael Koch <konqueror@gmx.de>
940 * java/awt/print/Pageable.java,
941 * java/awt/print/Printable.java,
942 java/awt/print/PrinterGraphics.java:
943 Removed redundant modifiers.
945 2003-10-11 Michael Koch <konqueror@gmx.de>
947 * java/awt/peer/ButtonPeer.java,
948 java/awt/peer/CheckboxMenuItemPeer.java,
949 java/awt/peer/CheckboxPeer.java,
950 java/awt/peer/ChoicePeer.java,
951 java/awt/peer/ComponentPeer.java,
952 java/awt/peer/ContainerPeer.java,
953 java/awt/peer/DialogPeer.java,
954 java/awt/peer/FileDialogPeer.java,
955 java/awt/peer/FramePeer.java,
956 java/awt/peer/LabelPeer.java,
957 java/awt/peer/ListPeer.java,
958 java/awt/peer/MenuBarPeer.java,
959 java/awt/peer/MenuComponentPeer.java,
960 java/awt/peer/MenuItemPeer.java,
961 java/awt/peer/MenuPeer.java,
962 java/awt/peer/PopupMenuPeer.java,
963 java/awt/peer/RobotPeer.java,
964 java/awt/peer/ScrollPanePeer.java,
965 java/awt/peer/ScrollbarPeer.java,
966 java/awt/peer/TextAreaPeer.java,
967 java/awt/peer/TextComponentPeer.java,
968 java/awt/peer/TextFieldPeer.java,
969 java/awt/peer/WindowPeer.java:
970 Removed redundant modifiers.
972 2003-10-11 Michael Koch <konqueror@gmx.de>
974 * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
975 * gnu/java/nio/ServerSocketChannelImpl.java
976 (serverSocket): Made it a NIOServerSocket.
978 (ServerSocketChannelImpl): Initialize only serverSocket.
979 (initServerSocket): Removed.
980 (getNativeFD): Rewritten.
981 (implConfigureBlocking): Set socket timeout and removed comment.
983 * gnu/java/nio/SocketChannelImpl.java
984 (impl): New variable.
985 (connected): Removed.
986 (SocketChannelImpl): Initialize impl too.
987 (getImpl): New method.
988 (isConnected): Rewritten.
989 (read): Rewritten, set position in buffer correctly.
990 (write): Set position in buffer correctly.
991 * java/net/ServerSocket.java (getImpl): New method.
992 * gnu/java/nio/NIOServerSocket.java,
993 gnu/java/nio/natNIOServerSocket.cc: New files.
994 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
996 (ordinary_java_source_files):
997 Added gnu/java/nio/NIOServerSocket.java.
999 Removed gnu/java/nio/natServerSocketChannelImpl.cc
1000 and added gnu/java/nio/natNIOServerSocket.cc.
1001 * Makefile.in: Regenerated.
1003 2003-10-11 Michael Koch <konqueror@gmx.de>
1005 * java/awt/ActiveEvent.java,
1006 java/awt/datatransfer/ClipboardOwner.java,
1007 java/awt/datatransfer/FlavorMap.java,
1008 java/awt/datatransfer/Transferable.java,
1009 java/awt/dnd/Autoscroll.java,
1010 java/awt/dnd/peer/DragSourceContextPeer.java,
1011 java/awt/dnd/peer/DropTargetContextPeer.java,
1012 java/awt/dnd/peer/DropTargetPeer.java,
1013 java/awt/font/MultipleMaster.java,
1014 java/awt/font/OpenType.java,
1015 java/awt/im/spi/InputMethodDescriptor.java,
1016 java/awt/image/ImageObserver.java,
1017 java/awt/image/ImageConsumer.java,
1018 java/awt/image/ImageProducer.java,
1019 java/awt/image/RGBImageFilter.java,
1020 java/awt/image/RasterOp.java,
1021 java/awt/image/renderable/RenderableImage.java:
1022 Removed redundant modifiers.
1024 2003-10-11 Michael Koch <konqueror@gmx.de>
1026 * gnu/awt/j2d/DirectRasterGraphics.java,
1027 gnu/java/awt/EmbeddedWindowSupport.java:
1028 Removed redundant modifiers.
1030 2003-10-09 Michael Koch <konqueror@gmx.de>
1032 * gnu/java/nio/SelectorImpl.java (register):
1033 Use ServerSocketChannelSelectionKey for server socket channels,
1034 removed unneeded comments.
1035 * gnu/java/nio/ServerSocketChannelImpl.java
1036 (ServerSocketChannelImpl): Made class public final.
1037 (impl): New member variable.
1038 (ServerSocketChannelImpl): Initialize member variables correctly.
1039 (initServerSocket): New method.
1040 (getNativeFD): Likewise.
1041 * gnu/java/nio/ServerSocketChannelSelectionKey.java,
1042 gnu/java/nio/natServerSocketChannelImpl.cc: New files.
1043 * Makefile.am (ordinary_java_source_files):
1044 Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
1045 (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
1046 * Makefile.in: Regenrated.
1048 2003-10-09 Michael Koch <konqueror@gmx.de>
1050 * java/nio/channels/spi/AbstractSelectableChannel.java
1051 (registered): Made private.
1052 (blocking): Likewise.
1054 (provider): Likewise.
1055 (keys): Made it a private LinkedList.
1056 (AbstractSelectableChannel): Initialize keys.
1057 (isRegistered): New implementation.
1058 (locate): Rewritten.
1059 (register): Rewritten.
1060 * java/nio/channels/spi/AbstractSelectionKey.java
1062 (cancelled): New member variable.
1063 (cancel): Rewritten.
1064 (isValid): Rewritten.
1065 * java/nio/channels/spi/AbstractSelector.java:
1067 (closed): Make private.
1068 (provider): Likewise.
1069 (cancelledKeys): New member variable.
1070 (AbstractSelector): Initialize cancelledKeys.
1071 (cancelKey): New method.
1073 2003-10-09 Tom Tromey <tromey@redhat.com>
1075 * java/lang/ClassLoader.java (setSigners): Implemented.
1076 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
1077 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
1078 Initialize new fields.
1079 * java/lang/Class.java (getSigners): Now native.
1080 (setSigners): Declare.
1081 * java/lang/natClass.cc (getSigners): New method.
1082 (getSigners): Likewise.
1083 * java/lang/Class.h (Class::signers): New field.
1084 (Class::setSigners): New method.
1086 2003-10-09 Michael Koch <konqueror@gmx.de>
1088 * java/rmi/server/RMIClassLoader.java:
1089 Removed unused imports, little reformatings.
1090 (getClassLoader): New method, implementation was part of old loadCLass
1092 (loadClass): Simplified by moving functionality to new method and
1093 reworking the code a bit.
1094 (getClassAnnotation): Merged documentation from classpath.
1096 2003-10-09 Michael Koch <konqueror@gmx.de>
1098 * java/math/BigInteger.java
1099 (add): Removed unused local variable len.
1101 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
1103 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
1105 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
1106 Initialize insets to use latest insets.
1107 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
1108 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
1110 (postConfigureEvent): Update latestInsets field when insets
1111 change. Remove call to setSize. Move validate call outside of
1113 (setVisible): Call setBounds before showing window.
1114 (nativeSetVisible): New native method.
1115 * java/awt/Window.java (show): Show visible owned windows.
1116 (hide): Hide visible owned windows.
1117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1118 (awt_event_handler): Implement modality using GTK grabs.
1119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1120 (global_gtk_window_group): New global variable.
1121 (gtkInit): Initialize global_gtk_window_group.
1122 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1123 Clamp width and height values to at least 1. Add this window to
1124 the global GTK window group.
1125 (setVisible): Rename to nativeSetVisible.
1126 (setup_window): Remove function.
1127 (setSize): Clamp width and height values to at least 1.
1128 (nativeSetBounds): Likewise.
1129 (gdk_window_get_root_geometry): Remove function.
1130 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
1131 and setup_window declarations. Declare global_gtk_window_group.
1133 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1134 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1135 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1136 (gtkWidgetSetForeground): New method.
1137 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1138 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1139 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
1140 (setBackground, setForeground): Implement.
1141 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
1142 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1143 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1144 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1145 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
1146 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1147 Position PangoLayout relative to text's baseline.
1148 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
1150 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
1151 for CENTER and RIGHT alignments.
1153 2003-10-08 Michael Koch <konqueror@gmx.de>
1155 * java/security/Security.java: Reformated.
1157 2003-10-08 Michael Koch <konqueror@gmx.de>
1159 * java/text/SimpleDateFormat.java
1160 (compileFormat): Replace Character.isLetter() test with
1161 Character.isLowerCase() || Character.isUpperCase().
1163 2003-10-08 Tom Tromey <tromey@redhat.com>
1165 * java/lang/StrictMath.java (toDegrees): Multiply before
1167 (toRadians): Likewise.
1169 2003-10-08 C. Brian Jones <cbj@gnu.org>
1171 * java/lang/Math.java
1172 (toRadians): multiply before dividing to reduce decimal error
1175 2003-10-08 Michael Koch <konqueror@gmx.de>
1177 * gnu/gcj/protocol/core/Connection.java,
1178 gnu/gcj/protocol/core/CoreInputStream.java,
1179 gnu/gcj/protocol/core/Handler.java,
1180 gnu/gcj/protocol/core/natCoreInputStream.cc,
1181 gnu/gcj/protocol/file/Connection.java,
1182 gnu/gcj/protocol/file/Handler.java,
1183 gnu/gcj/protocol/gcjlib/Connection.java,
1184 gnu/gcj/protocol/gcjlib/Handler.java,
1185 gnu/gcj/protocol/http/Connection.java,
1186 gnu/gcj/protocol/http/Handler.java,
1187 gnu/gcj/protocol/jar/Connection.java,
1188 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
1189 * gnu/java/net/protocol/core/Connection.java,
1190 gnu/java/net/protocol/core/CoreInputStream.java,
1191 gnu/java/net/protocol/core/Handler.java,
1192 gnu/java/net/protocol/core/natCoreInputStream.cc,
1193 gnu/java/net/protocol/file/Connection.java,
1194 gnu/java/net/protocol/file/Handler.java,
1195 gnu/java/net/protocol/gcjlib/Connection.java,
1196 gnu/java/net/protocol/gcjlib/Handler.java,
1197 gnu/java/net/protocol/http/Connection.java,
1198 gnu/java/net/protocol/http/Handler.java,
1199 gnu/java/net/protocol/jar/Connection.java,
1200 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
1201 * gnu/gcj/runtime/FirstThread.java,
1202 java/net/URL.java: Use moved protocol handlers.
1204 (ordinary_java_source_files): Moved files.
1205 (nat_source_files): Likewise.
1206 * Makefile.in: Regenerated.
1208 2003-10-08 Michael Koch <konqueror@gmx.de>
1210 * gnu/java/nio/SocketChannelImpl.java
1211 (read): Write only read data to buffer.
1213 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
1215 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
1217 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
1218 (JCL_free): Attach "unused" attribute to env parameter.
1219 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
1220 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
1221 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1222 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
1223 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1224 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1225 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
1226 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
1227 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
1228 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1229 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
1230 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1231 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
1233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
1234 (initNativeState): Pass 0 as info argument to
1235 gtk_selection_add_target.
1236 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
1237 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
1238 unused method implementations.
1239 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1240 (awt_event_handler): Add break statement after default label.
1241 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
1242 (drawPixels): Remove unused variable i.
1243 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1244 (setEnabled): Remove method implementation.
1245 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1246 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
1248 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
1250 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
1251 (menu_pos): Assign TRUE to push_in.
1252 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
1254 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1255 (create): Remove unused variable layout.
1256 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1257 Pass window_widget, rather than window, to
1258 gtk_widget_set_size_request.
1259 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
1260 structure initialization with NULL values.
1261 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
1263 2003-10-08 Michael Koch <konqueror@gmx.de>
1265 * java/util/LinkedList.java:
1266 Removed whitespace to match classpath's version again.
1268 2003-10-08 Michael Koch <konqueror@gmx.de>
1270 * java/util/prefs/Preferences.java
1271 (defaultFactoryClass): Fixed class name.
1272 (getFactory): Create instance of class returned by Class.forName(),
1275 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
1277 * javax/swing/table/AbstractTableModel.java
1278 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
1279 helped stop pulling my hair on this +1 then -1 tricky thing!
1281 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1283 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
1284 Remove unused parameters.
1285 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
1287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1288 (keyevent_state_to_awt_mods): Export function.
1289 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1290 (getCaretPosition): Fix TextArea case.
1291 (textcomponent_commit_cb): Get exact event time and modifier
1293 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
1295 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
1297 * java/net/InetSocketAddress.java
1298 (InetSocketAddress): Made exception more clear.
1299 (equals): Handle case when addr is null.
1300 (toString): Likewise.
1301 * java/net/NetworkInterface.java
1302 (static): Load native library.
1303 (getNetworkInterfaces): Rewritten.
1305 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1307 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
1309 (initializeInsets): New method.
1310 (GtkComponentPeer): Call initializeInsets. Call setCursor and
1311 setBounds unconditionally.
1312 (setBounds): Convert coordinates if parent is a Window.
1313 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
1314 field to GtkComponentPeer.
1315 (GtkContainerPeer): Don't initialize insets.
1316 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
1318 (create): Call new GtkWindowPeer create method.
1319 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
1321 (create): Call new GtkWindowPeer create method.
1322 (setBounds): Remove method.
1323 (postConfigureEvent): Likewise.
1324 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
1325 type constants with GDK window type constants.
1326 (create(int,boolean,int,int,GtkWindowPeer)): New method.
1327 (create(int,boolean)): Likewise.
1328 (create()): Call create(int,boolean).
1329 (nativeSetBounds): New native method declaration.
1330 (setBounds): Call native method declaration.
1331 (setSize): New native method declaration.
1332 (setBoundsCallback): Likewise.
1333 (postConfigureEvent): Handle change in insets. Call setSize and
1334 setBoundsCallback methods.
1335 * java/awt/Window.java (Window): Set visible to false.
1336 (setBoundsCallback): New method.
1337 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1338 (gtkWidgetGetLocationOnScreen): If this component is not a
1339 container, adjust the location returned based on the peer's
1341 (set(String,boolean)): Revert change from 2003-09-19.
1342 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1343 (awt_event_handler): Fix inset calculation.
1344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1345 glue for Window.setBoundsCallback.
1346 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1347 Set up stacking order, window decorations and window manager
1349 (setBoundsCallback): New method.
1350 (setSize): New method.
1351 (nativeSetBounds): New method.
1352 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
1354 2003-10-02 Tom Tromey <tromey@redhat.com>
1356 * java/lang/VMClassLoader.java (loadClass): Now native.
1357 * java/lang/natClassLoader.cc (loadClass): Implement.
1358 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
1360 2003-10-02 Michael Koch <konqueror@gmx.de>
1362 * java/net/InetAddress.java
1364 (ANY_IF): Initalizie in static block.
1365 (static): Load library with native methods here and initialize ANY_IF.
1366 (isAnyLocalAddress): Check if equal to ANY_IF.
1367 (equals): Use addr directly instead of addr1. Simplify for loop.
1368 (toString): Rename "result" to "host" and add IP address allways.
1369 (getLocalHost): Merged documentation from classpath.
1370 * java/net/ServerSocket.java
1371 (ServerSocket): New package-private constructor used by java.nio.
1372 * java/net/URLConnection.java
1373 (getRequestProperties): Check if already connected.
1375 2003-10-02 Michael Koch <konqueror@gmx.de>
1377 * java/nio/ByteBufferHelper.java:
1378 Rewrote all methods by suggestions from Eric Blake.
1380 2003-10-02 Michael Koch <konqueror@gmx.de>
1383 (DEFAULT_SEARCH_PATH): New static variable.
1384 (ph_cache): Made it a HashMap.
1385 (getURLStreamHandler): Rename propVal to ph_search_path and use
1386 DEFAULT_SEARCH_PATH.
1388 2003-10-02 Michael Koch <konqueror@gmx.de>
1390 * javax/swing/table/AbstractTableModel.java
1391 (findColumnName): Prevent from NullPointerException if argument
1394 2003-10-02 Michael Koch <konqueror@gmx.de>
1396 * javax/swing/table/AbstractTableModel.java:
1397 This patch is based on a patch done by Arnaud Vandyck
1398 <arnaud.vandyck@ulg.ac.be>.
1399 (getColumnName): Fixed method documentation.
1400 (findColumn): Likewise.
1401 (getColumnClass): Likewise.
1402 (isCellEditable): Likewise.
1403 (setValueAt): Likewise.
1404 (addTableModelListener): Likewise.
1405 (removeTableModelListener): Likewise.
1406 (getTableModelListeners): New method.
1408 2003-10-02 Michael Koch <konqueror@gmx.de>
1410 * javax/swing/table/AbstractTableModel.java:
1413 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
1416 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
1417 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
1419 2003-10-01 Tom Tromey <tromey@redhat.com>
1421 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
1423 2003-10-01 Andrew Haley <aph@redhat.com>
1425 * java/lang/natClass.cc (initializeClass): Check for otable and
1427 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
1428 loops using for(). Search superinterfaces. Check for fields as
1429 well as methods. Initialize atable as well as otable: check for
1430 static methods as well as virtual methods.
1431 * java/lang/Class.h (struct _Jv_AddressTable): New.
1434 * include/jvm.h (_Jv_equalUtf8Consts): constify.
1435 * prims.cc (_Jv_equalUtf8Consts): constify.
1437 2003-09-29 Tom Tromey <tromey@redhat.com>
1440 * include/jvm.h (_Jv_FinalizeString,
1441 _Jv_RegisterStringFinalizer): Declare.
1442 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
1445 (_Jv_NewStringUtf8Const): Likewise.
1446 * java/lang/ref/natReference.cc (finalize_referred_to_object):
1447 Add special case when finalizing a String.
1448 (in_hash): New function.
1449 (_Jv_RegisterStringFinalizer): Likewise.
1450 (maybe_add_finalize): Likewise.
1452 2003-09-29 Michael Koch <konqueror@gmx.de>
1454 * java/net/InetAddress.java:
1455 (isMulticastAddress): Dont use local variable to store address length.
1456 Let the compiler optimize this.
1457 (getHostName): Merged dcoumentation from classpath.
1458 (getAddress): Likewise.
1459 (getHostAddress): Likewise.
1460 (hashCode): Likewise.
1462 (toString): Likewise.
1463 (getByName): Likewise.
1464 (getAllByName): Likewise.
1466 2003-09-29 Michael Koch <konqueror@gmx.de>
1468 * java/awt/image/IndexColorModel.java: Reformated.
1470 2003-09-29 Michael Koch <konqueror@gmx.de>
1472 * java/net/InetAddress.java,
1473 java/net/URL.java: Reformated.
1475 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
1477 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
1478 significant bit of descriptor. Include the vtable and sync_info
1481 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1483 * java/text/DateFormat.java (format): Throw IllegalArgumentException
1484 if `obj' is not a Number or Date instance.
1485 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
1488 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1490 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
1491 Don't call setTimeZone on calendar.
1493 2003-09-27 Michael Koch <konqueror@gmx.de>
1495 * java/net/URL.java (getURLStreamHandler): Compile fixes.
1497 2003-09-27 Michael Koch <konqueror@gmx.de>
1499 * java/net/URL.java (getURLStreamHandler):
1500 Check if we have to use cache before trying to retrieve handler from
1501 cache. Rename facName to clsName to match classpath more. Reformated
1504 2003-09-27 Michael Koch <konqueror@gmx.de>
1506 * gnu/java/nio/SelectionKeyImpl.java
1507 (ch): Make package-private again. Jikes found this bug.
1508 Jeff Sturm submitted PR12426 for this to bugzilla
1509 to fix this bug in gcj.
1511 2003-09-26 Michael Koch <konqueror@gmx.de>
1513 * java/rmi/server/RMIClassLoader.java:
1514 Reformatted file, no functional code changes.
1516 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
1518 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
1519 Save space for some pixels at the buffer end. Added Javadoc.
1521 2003-09-26 Tom Tromey <tromey@redhat.com>
1523 * java/io/ObjectOutputStream.java (writeFields): Fixed
1525 (putFields): Likewise.
1527 2003-09-26 Michael Koch <konqueror@gmx.de>
1529 * java/nio/ByteBufferHelper.java:
1530 Totally reworked with help from Eric Blake.
1532 2003-09-26 Tom Tromey <tromey@redhat.com>
1534 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
1535 * java/awt/geom/PathIterator.java: Documentation fixes.
1537 2003-09-25 Jeff Sturm <jsturm@one-point.com>
1539 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
1541 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
1543 2003-09-25 Michael Koch <konqueror@gmx.de>
1545 * gnu/java/nio/DatagramChannelImpl.java
1546 (getNativeFD): New method.
1547 * gnu/java/nio/SelectionKeyImpl.java
1548 (SelectionKeyImpl): Class made abstract.
1550 (SelectionKeyImpl): Remove fd argument.
1551 (getNativeFD): New method.
1552 * gnu/java/nio/SocketChannelImpl.java
1553 (getNativeFD): New method.
1554 gnu/java/nio/DatagramChannelSelectionKey.java,
1555 * gnu/java/nio/SocketChannelSelectionKey.java:
1557 * Makefile.am (ordinary_java_source_files):
1558 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
1559 gnu/java/nio/SocketChannelSelectionKey.java.
1560 * Makefile.in: Regenerated.
1562 2003-09-25 Michael Koch <konqueror@gmx.de>
1564 * java/lang/reflect/Proxy.java
1565 (getProxyClass): Remove workaround for gcj 3.0.x.
1567 2003-09-25 Michael Koch <konqueror@gmx.de>
1569 * gnu/java/net/PlainDatagramSocketImpl.java
1570 (finalize): Moved to directly after constructor.
1571 (getNativeFD): New method.
1572 * gnu/java/net/PlainSocketImpl.java
1573 (getNativeFD): New method.
1575 2003-09-25 Ingo Proetel <proetel@aicas.com>
1577 * java/io/ObjectOutputStream.java:
1578 Allow putFields be called more than once.
1580 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
1582 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
1583 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
1584 * java/awt/image/BufferedImage.java (toString): Implement.
1586 2003-09-25 Jeff Sturm <jsturm@one-point.com>
1588 * aclocal.m4: Rebuilt.
1589 * configure: Rebuilt.
1591 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
1593 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
1596 2003-09-25 Michael Koch <konqueror@gmx.de>
1598 * gnu/java/nio/SelectorImpl.java
1599 (implSelect): Renamed from java_do_select.
1600 (select): Call native implSelect() and add support for Thread
1602 * gnu/java/nio/natSelectorImpl.cc
1603 (implSelect): Renamed from java_do_select.
1605 2003-09-25 Michael Koch <konqueror@gmx.de>
1607 * gnu/java/nio/SelectorImpl.java
1608 (selectNow): Made final, throws IOException.
1610 (getFDsAsArray): Made final.
1611 (selectedKeys): Likewise.
1613 (deregisterCancelledKeys): Likewise.
1614 (register): Likewise.
1616 (add_selected): Removed.
1617 * gnu/java/nio/natSelectorImpl.cc:
1618 No need to include bstring.h or gcj/cni.h.
1619 (helper_put_filedescriptors): Rewritten.
1620 (helper_get_filedescriptors): Rewritten.
1622 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
1624 * java/awt/font/FontRenderContext.java (getTransform): Return
1625 copy of internal transform object. Add Javadoc.
1626 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
1627 winding rule as Sun J2SE.
1628 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
1630 2003-09-25 Ingo Proetel <proetel@aicas.com>
1632 * java/rmi/Naming.java:
1633 Added comments, now accepts pseudo protocol "rmi".
1635 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
1637 * java/text/DecimalFormat.java (format): Don't immediatly round
1639 (setMinimumIntegerDigits): Call super.
1640 (setMinimumFractionDigits): Likewise.
1641 (setMaximumIntegerDigits): Likewise.
1642 (setMaximumFractionDigits): Likewise.
1644 2003-09-25 Michael Koch <konqueror@gmx.de>
1646 * gnu/java/nio/DatagramChannelImpl.java
1647 (DatagramChannelImpl): Made class final.
1648 (blocking): Made private.
1649 (socket): Made it a NIODatagramSocket and private.
1650 (DatagramChannelImpl): create NIODatagramSocket instead of
1652 (implConfigureBlocking): Set socket timeout.
1653 (connect): Check that channel is not closed.
1654 (write): Implemented.
1656 (read): Implemented.
1658 (receive): Implemented.
1659 (send): Implemented.
1660 * gnu/java/nio/SelectionKeyImpl.java
1661 (readyOps): Made private.
1662 (interestOps): Made private.
1663 (impl): Made private.
1665 (readyOps): Check if selection key is valid.
1666 (interestOps): Likewise.
1667 * gnu/java/nio/SelectorImpl.java
1669 (keys): Made private.
1670 (selected): Made private.
1671 (finalize): New method.
1672 (implCloseSelector): Rewritten.
1673 (keys): Return unmodifiable Set.
1674 (deregisterCancelledKeys): Fixed typo in method name.
1675 * gnu/java/nio/SocketChannelImpl.java
1676 (SocketChannelImpl): Made class final.
1677 (socket): Made it a NIOSocket and private.
1678 (blocking): Made private.
1679 (connected): Made private.
1680 (connectionPending): New member variable.
1681 (SocketChannelImpl): New implementation.
1682 (finalizer): Use isConnected().
1683 (connect): Rewritten.
1684 (finishConnect): Throws IOException, implemented.
1685 (isConnectionPending): Return connectionPending.
1688 * gnu/java/nio/NIOConstants.java: New file.
1689 * Makefile.am (ordinary_java_source_files):
1690 Added gnu/java/nio/NIOConstants.java.
1691 * Makefile.in: Regenerated.
1693 2003-09-25 Michael Koch <konqueror@gmx.de>
1695 * java/net/InetAddress.java:
1696 Reorder imports, remove implementation comment.
1697 (isMulticastAddress): Merged documentation from classpath.
1698 * java/net/URLConnection.java
1699 (setRequestProperty): Check key for null, fix documentation.
1700 (adREquestProperty): Check key for null, remove wrong implementation
1701 and replace it with comment to overwrite this method in subclasses,
1704 2003-09-25 Tom Tromey <tromey@redhat.com>
1706 * java/lang/reflect/Proxy.java (generate): Uncomment protection
1708 * java/lang/natClassLoader.cc (defineClass): Added `loader'
1710 (linkClass0): Now in VMClassLoader.
1711 (markClassErrorState0): Likewise.
1712 (getSystemClassLoaderInternal): New method.
1713 * java/lang/natClass.cc (initializeClass): Use
1714 VMClassLoader::resolveClass.
1715 * java/lang/ClassLoader.java: New version, from Classpath.
1716 * java/lang/Class.java (getProtectionDomain):
1717 protectionDomainPermission and unknownProtectionDomain now in
1719 * java/lang/Class.h: VMClassLoader now a friend class.
1720 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
1722 * gcj/javaprims.h: Regenerated class list.
1723 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
1724 * java/lang/VMClassLoader.java: New version from Classpath;
1725 modified for libgcj use.
1727 2003-09-25 Michael Koch <konqueror@gmx.de>
1729 * java/nio/ByteBufferHelper.java:
1731 * java/nio/ByteBufferImpl.java,
1732 java/nio/DirectByteBufferImpl.java,
1733 java/nio/MappedByteBufferImpl.java
1734 (getType,putType): Use new helper class ByteBufferHelper.
1735 * Makefile.am (ordinary_java_source_files):
1736 Added java/nio/ByteBufferHelper.java.
1737 * Makefile.in: Regenerated.
1739 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
1741 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
1744 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
1746 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
1747 Strings, even if buffer is already shared.
1749 2003-09-24 Michael Koch <konqueror@gmx.de>
1751 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
1753 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
1755 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
1757 (SocketInputStream): Declare `read' and `write' methods native.
1758 Remove implementations which called back into PlainSocketImpl.
1759 Remove unneccessary overridden methods.
1760 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
1761 to inner class PlainSocketImpl.SocketInputStream.
1763 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
1764 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
1765 * gnu/java/net/SocketInputStream.java: Remove unused file.
1766 * gnu/java/net/SocketOutputStream.java: Likewise.
1767 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
1768 and SocketOutputStream.
1769 * Makefile.in: Rebuilt.
1771 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
1773 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
1775 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
1778 2003-09-22 Anthony Green <green@redhat.com>
1780 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
1781 * configure: Rebuilt.
1783 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
1786 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
1788 2003-09-22 Michael Koch <konqueror@gmx.de>
1790 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
1791 compiler warning but produces a different one now.
1793 2003-09-22 Michael Koch <konqueror@gmx.de>
1795 * java/net/InetAddress.java:
1796 Moves around some code, reformats and adds documentation.
1797 No functional changes.
1799 2003-09-22 Michael Koch <konqueror@gmx.de>
1801 * java/net/JarURLConnection.java
1802 (JarURLConnection): Modifed code to match classpath more, fixed comment.
1803 (getCertificates): Made it more error prone.
1804 (getMainAttributes): Likewise.
1805 (getAttributes): Implemented.
1806 (getManifest): Reformatted code.
1808 2003-09-20 Tom Tromey <tromey@redhat.com>
1810 * java/awt/Component.java: Indentation cleanup from Classpath.
1812 2003-09-20 Dalibor Topic <robilad@kaffe.org>
1814 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
1815 checking to follow 1.4.2 spec.
1817 2003-08-11 Ingo Proetel <proetel@aicas.com>
1819 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
1820 is compatible in case client and server are running in the same VM
1821 (remerged from Classpath on 2003-09-20)
1823 2003-09-19 David Daney <ddaney@avtrex.com>
1825 * java/lang/ref/Reference.java (clear): Set referent to null and
1828 2003-09-19 Michael Koch <konqueror@gmx.de>
1830 * gnu/java/nio/NIODatagramSocket.java,
1831 gnu/java/nio/NIOSocket.java: New files.
1832 * Makefile.am (ordinary_java_source_files):
1833 Added gnu/java/nio/NIODatagramSocket.java and
1834 gnu/java/nio/NIOSocket.java.
1835 * Makefile.in: Regenerated.
1837 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1839 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
1840 top-level GTK window.
1841 (getArgs): Add "title" property.
1842 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
1843 "allow_shrink" and "allow_grow" properties.
1844 * java/awt/Dialog.java: Initialize resizable to true and change
1845 comments accordingly. Initialize visible to false in
1847 * java/awt/Frame.java (dispose): Remove method.
1848 * java/awt/Window.java (ownedWindows): New field.
1849 (Window(Window,GraphicsConfiguration)): Add a weak reference to
1850 owner's ownedWindows vector.
1851 (finalize): Remove method.
1852 (hide): Hide owned windows.
1853 (dispose): Dispose of owned windows.
1854 (getOwnedWindows): Implement.
1855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
1857 (set(String,boolean)): Clamp gboolean parameter to g_object_set
1859 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1860 (create): Set window's size requisition.
1861 (connectHooks): Fix indentation.
1862 (setResizable): Remove function.
1863 (static setBounds): Likewise.
1864 (setBounds): Replace call to setBounds with GTK size requisition
1867 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
1869 * win32-threads.cc: (ensure_interrupt_event_initialized) New
1870 function for lazy initialization of an auto-reset event.
1871 (_Jv_CondWait) Added thread interrupt support.
1872 (_Jv_ThreadInitData) Added initialization of interrupt support
1874 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
1875 (_Jv_ThreadStart) Removed unused code.
1876 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
1877 to an external caller.
1878 (_Jv_ThreadInterrupt) Implemented.
1879 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
1880 event for interrupt support as well as a mutex which regulates
1882 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
1883 event to an external caller.
1884 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
1886 (waitFor) Added interrupt support.
1888 2003-09-19 Michael Koch <konqueror@gmx.de>
1890 * java/net/DatagramSocket.java (getLocalAddress):
1891 Renamed result variable to localAddr.
1892 * java/net/MulticastSocket.java:
1893 No need to import gnu.java.net.PlainDatagramSocketImpl.
1895 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
1897 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
1898 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
1900 2003-09-18 Tom Tromey <tromey@redhat.com>
1902 * javax/naming/InitialContext.java: Reindented.
1904 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
1905 Helmer Kraemer <hkraemer@freenet.de>
1907 * javax/naming/spi/NamingManager.java (getURLContext,
1908 getObjectInstance, getStateToBind): Always use current thread's
1909 context class loader when calling Class.forName.
1911 2003-09-18 Michael Koch <konqueror@gmx.de>
1913 * java/util/Timer.java (finalize): Added "throws Throwable".
1915 2003-09-18 Michael Koch <konqueror@gmx.de>
1917 * java/net/DatagramSocket.java
1919 (receive): Use getChannel() instead of ch.
1921 (getChannel): Return null.
1922 * java/net/ServerSocket.java
1924 (setChannel): Removed.
1925 (implAccept): Use getChannel() instead of ch.
1927 (getChannel): Return null.
1928 * java/net/Socket.java
1930 (connect): Use getChannel() instead of ch.
1931 (setChannel): Removed.
1932 (getChannel): Return null.
1934 2003-09-18 Mark Wielaard <mark@klomp.org>
1936 Reported by Guilhem Lavaux and Julian Dolby
1937 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
1938 field "serialPersistentFields", not "getSerialPersistentFields".
1940 2003-09-18 Ingo Proetel <proetel@aicas.com>
1942 * java/util/TimeZone.java: Initialize lazily.
1943 * java/util/Locale.java (readManifest): Fix check for country.
1944 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
1946 * java/util/Calendar.java: Make use of ResourceBundle better
1949 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
1951 * java/sql/Timestamp.java
1952 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
1954 2003-09-18 David P Grove <groved@us.ibm.com>
1956 * java/io/LineNumberReader (read): Don't reset pos & limit when
1959 2003-09-18 Dalibor Topic <robilad@kaffe.org>
1961 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
1963 (computeArguments): use computeTypicalArguments.
1965 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
1966 Compile_jikes.java and RMICException.java.
1967 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
1968 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
1969 * gnu/java/rmi/rmic/RMICException.java: Likewise.
1971 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
1973 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
1974 (computeTypicalArguments): New method.
1975 (compile): Print compiler output to System.out. Collect compiler
1976 error output and use it in exception message.
1978 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
1979 (destination): Initialize to null.
1980 (run): Replace file separator with '.' when processing class.
1981 (processClass): Replace '.' with file separator when compiling
1983 (findClass): Use SystemClassLoader to load class.
1984 (generateStub): Use full class name for generated stub, that puts
1985 it in right path. Replace '.' with file separator when generating
1986 stub file name. Write just the stub class name without package
1987 information as class name, and constructor name. Write only
1988 interface names for interfaces extending java.rmi.Remote as
1990 (generateSkel): Use full class name for generated skel, that puts
1991 it in right path. Replace '.' with file separator when generating
1992 stub file name. Write just the stub class name without package
1993 information as class name.
1995 2003-09-18 Michael Koch <konqueror@gmx.de>
1997 * Makefile.am (rmi_java_source_files):
1998 Added gnu/java/rmi/rmic/Compile_kjc.java,
1999 gnu/java/rmi/rmic/Compile_jikes.java and
2000 gnu/java/rmi/rmic/RMICException.java
2001 * Makefile.in: Regenerated.
2003 2003-09-17 Graydon Hoare <graydon@redhat.com>
2005 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2006 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2007 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
2008 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2011 2003-09-16 Graydon Hoare <graydon@redhat.com>
2013 * java/awt/BufferedImage.java (setData): Support non-component
2017 2003-09-10 Graydon Hoare <graydon@redhat.com>
2019 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
2020 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
2022 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
2024 * configure.in: Standardized help text case of
2025 --enable-hash-synchronization
2026 New configure switch --enable-libgcj-multifile and corresponding
2027 automake conditional ONESTEP.
2028 * configure: Rebuilt.
2029 * Makefile.am: Use automake conditional ONESTEP to determine
2030 whether classfiles should be compiled individually or all
2032 * Makefile.in: Rebuilt.
2034 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
2036 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
2037 Remove method declaration.
2038 (create()): Call native create.
2039 (create(int)): New method.
2040 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2041 (create): Add window_id parameter. Call gtk_plug_new with
2042 window_id parameter.
2043 (construct): Remove method implementation.
2045 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
2047 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
2048 (mostlyclean-local): New target patterned after clean-local
2049 which recursively deletes all libtool objects using 'libtool rm'.
2050 (clean-local): Slightly modified comment to alleviate monotony.
2051 (distclean-local): New target patterned after clean-local
2052 which recursively deletes all .d files.
2053 * Makefile.in: Rebuilt.
2055 2003-09-11 Tom Tromey <tromey@redhat.com>
2057 * java/net/URLStreamHandler.java (parseURL): If original file
2058 ends with "/", so must canonical result.
2059 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
2060 with nul-termination and finding previous "/".
2062 2003-09-11 Michael Koch <konqueror@gmx.de>
2064 * acconfig.h: Removed most items.
2065 * configure.in: Added descriptions to AC_DEFINE macros that where in
2067 * include/config.h.in: Regenerated.
2069 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
2071 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
2072 if one is installed. Improve Javadoc.
2073 (getSystemEventQueueImpl): Improve Javadoc.
2075 2003-09-11 Tom Tromey <tromey@redhat.com>
2077 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
2078 file does not exist.
2080 2003-09-10 Anthony Green <green@redhat.com>
2082 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
2083 Specify full name when referencing ::java::net::InetAddress.
2084 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
2087 2003-09-10 Michael Koch <konqueror@gmx.de>
2089 * acconfig.h (__NO_MATH_INLINES): Removed.
2090 * configure.in: Removed check for g++ math inlining bug from 2000.
2091 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
2093 * configure: Regenerated.
2095 2003-09-10 David Daney <ddaney@avtrex.com>
2097 * java/util/Arrays.java (equals(all variants)): Quit using
2098 NullPointerException catching to detect null valued parameters.
2100 2003-09-10 Michael Koch <konqueror@gmx.de>
2102 * java/net/DatagramSocket.java,
2103 java/net/MulticastSocket.java,
2104 java/net/ServerSocket.java,
2105 java/net/Socket.java:
2106 Use gnu.java.net.Plain*SocketImpl instead of
2107 java.net.PlainSocketImpl.
2108 * java/net/PlainDatagramSocketImpl.java,
2109 java/net/PlainSocketImpl.java,
2110 java/net/SocketInputStream.java,
2111 java/net/SocketOutputStream.java,
2112 java/net/natPlainDatagramSocketImplNoNet.cc,
2113 java/net/natPlainDatagramSocketImplPosix.cc,
2114 java/net/natPlainDatagramSocketImplWin32.cc,
2115 java/net/natPlainSocketImplNoNet.cc,
2116 java/net/natPlainSocketImplPosix.cc,
2117 java/net/natPlainSocketImplWin32.cc:
2119 * gnu/java/net/PlainDatagramSocketImpl.java,
2120 gnu/java/net/PlainSocketImpl.java,
2121 gnu/java/net/SocketInputStream.java,
2122 gnu/java/net/SocketOutputStream.java,
2123 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
2124 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2125 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2126 gnu/java/net/natPlainSocketImplNoNet.cc,
2127 gnu/java/net/natPlainSocketImplPosix.cc,
2128 gnu/java/net/natPlainSocketImplWin32.cc:
2129 New files (moved from java/net).
2130 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
2131 instead of java/net/natPlain*SocketImpl.cc.
2132 * configure: Regenerated.
2133 * Makefile.am: Moved files from java/net to gnu/java/net.
2134 * Makefile.in: Regenerated.
2136 2003-09-09 Alan Modra <amodra@bigpond.net.au>
2138 * configure: Regenerate.
2140 2003-09-04 Tom Tromey <tromey@redhat.com>
2142 * configure.host: Removed erroneous comment.
2144 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
2145 lvalue cast; use correct rvalue cast.
2147 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
2149 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
2150 and height arguments to GtkWindowPeer.create method call.
2151 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
2152 (create(int,int,int)): New method.
2153 (create(int)): Add call to new create method.
2154 (create()): Add width and height arguments to create method
2156 (GtkWindowPeer): Remove call to setBounds.
2157 * java/awt/Frame.java (Frame(String)): Initialize visible field
2159 (Frame(GraphicsConfiguration)): Likewise.
2160 (Frame(String,GraphicsConfiguration)): Likewise.
2161 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2162 Add width and height parameters. Call
2163 gtk_window_set_default_size.
2164 (connectHooks): Remove unused name variable.
2165 (static setBounds): Call gtk_window_resize not
2166 gtk_widget_set_usize.
2167 (setBounds): Remove unused nchildren variable.
2169 2003-08-31 Ingo Proetel <proetel@aicas.com>
2171 * java/util/logging/Logger.java: provide class and method information
2172 * java/util/logging/LogManager.java: create handlers
2173 * java/util/logging/SimpleFormatter.java: print souceClassName and
2176 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
2178 * win32.cc: fixed tab, indentation and whitespace
2180 removed jvm.h include
2181 added includes java/lang/UnsupportedOperationException.h,
2182 java/io/IOException.h, java/net/SocketException.h
2183 (WSAEventWrapper): class implementation
2184 (_Jv_WinStrError): implemented both overloads
2185 (_Jv_ThrowIOException): implemented both overloads
2186 (_Jv_ThrowSocketException): implemented both overloads
2187 (_Jv_select): implemented
2188 * include/win32.h: fixed tab, indentation and whitespace
2190 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
2192 (WSAEventWrapper): added class declaration
2193 (_Jv_WinStrError): added both overload declarations
2194 (_Jv_ThrowIOException): added both overload declarations
2195 (_Jv_ThrowSocketException): added both overload declarations
2196 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
2197 (_Jv_select): added declaration
2198 (_Jv_socket): removed
2199 (_Jv_connect): removed
2200 (_Jv_close): removed
2202 (_Jv_accept): removed
2203 (_Jv_listen): removed
2204 (_Jv_write): removed
2206 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
2207 whitespace inconsistencies
2208 replaced <windows.h> #include with <platform.h>
2209 removed jvm.h include
2210 (testCanUseGetHandleInfo): new function which tests whether Win32
2211 GetHandleInformation() call can be used with console buffer handles
2212 (only supported on >=WinNT 5.0)
2213 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
2214 (valid): rewrote implementation using GetHandleInformation()
2215 (sync): changed exception throwing to use error string and exception
2216 helper methods declared in include/win32.h
2219 (setLength): likewise
2222 (getFilePointer): likewise
2224 * java/io/natFileWin32.cc: fixed tab, indentation and
2225 whitespace inconsistencies
2226 replaced <windows.h> #include with <platform.h>
2227 removed jvm.h include
2228 (_access): use JV_TEMP_UTF_STRING
2230 (performMkDir): use JV_TEMP_UTF_STRING
2231 (performRenameTo): likewise
2232 (performDelete): likewise
2233 (performCreate): likewise
2234 (performSetReadOnly): likewise
2235 (performSetLastModified): likewise
2236 * java/lang/natWin32Process.cc: fixed tab, indentation and
2237 whitespace inconsistencies
2238 replaced <windows.h> #include with <platform.h>
2239 removed includes gcj/cni.h, jvm.h
2240 (new_string): removed
2241 (startProcess): use JV_TEMP_UTF_STRING,
2242 changed exception throwing to use error string and exception
2243 helper methods declared in include/win32.h
2244 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
2245 whitespace inconsistencies
2246 replaced <windows.h> #include with <platform.h>
2247 removed jvm.h include
2248 removed DISABLE_JAVA_NET conditional code
2249 removed POSIX conditional code not relevant to Win32
2250 (aton): use JV_TEMP_UTF_STRING
2251 removed POSIX conditional code not relevant to Win32
2253 (getLocalHostName): likewise
2254 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
2255 whitespace inconsistencies
2256 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
2257 removed DISABLE_JAVA_NET conditional code
2258 removed POSIX conditional code not relevant to Win32
2259 (winsock2GetRealNetworkInterfaces): new function to compute network
2260 interfaces via Winsock2 API
2261 (determineGetRealNetworkInterfacesFN): new function for returning
2262 a function pointer to the function used to compute network interfaces.
2263 (getRealNetworkInterfaces): implemented
2264 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
2265 whitespace inconsistencies
2266 removed gcj/cni.h include
2267 removed DISABLE_JAVA_NET conditional code
2268 removed POSIX conditional code not relevant to Win32
2269 changed net POSIXisms to Win32isms
2270 replaced _Jv socket-related calls with their real Win32 equivalents
2271 changed exception throwing to use error string and exception
2272 helper methods declared in include/win32.h
2273 (peekData): implemented timeout support
2275 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
2276 whitespace inconsistencies
2277 removed gcj/cni.h and gcj/javaprims.h includes
2278 removed DISABLE_JAVA_NET conditional code
2279 removed POSIX conditional code not relevant to Win32
2280 changed net POSIXisms to Win32isms
2281 replaced _Jv socket-related calls with their real Win32
2283 changed exception throwing to use error string and exception
2284 helper methods declared in include/win32.h
2285 (throwConnectException): helper function for connect()
2286 (connect): implemented timeout support
2288 (doRead): new helper function common to both read() method overloads,
2289 includes timeout support
2290 (read): implemented both overloads in terms of doRead()
2291 (available): implemented using ioctlsocket()
2293 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
2295 * java/net/natInetAddressWin32.cc,
2296 java/net/natNetworkInterfaceWin32.cc,
2297 java/net/natPlainDatagramSocketImplWin32.cc,
2298 java/net/natPlainSocketImplWin32.cc:
2299 Readded code enclosed in DISABLE_JAVA_NET defines
2300 in preparation for MinGW cleanup / networking
2303 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
2305 * Makefile.am: Fixed problems with parallel makes.
2306 (all_java_class_files): Readded definition.
2307 (all_java_class_files): New target which depends on
2308 libgcj-@gcc_version@.jar
2309 * Makefile.in: Rebuilt
2311 2003-08-28 Tom Tromey <tromey@redhat.com>
2313 * Makefile.in: Rebuilt.
2314 * Makefile.am (ordinary_java_source_files): Added new files.
2315 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
2317 * java/net/URLClassLoader.java (findClass): Don't use
2318 findURLResource. Use loader's getClass method.
2319 (URLLoader.getClass): New method.
2320 (addURL): Handle `gcjlib' URLs.
2321 (SoURLLoader): New class.
2322 (SoResource): Likewise.
2323 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
2324 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
2325 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
2326 (_Jv_RegisterCoreHook): Declare.
2327 (_Jv_FindCore): Declare.
2328 * gnu/gcj/runtime/SharedLibHelper.java: New file.
2329 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
2331 (core_hook): New function.
2332 (struct SharedLibDummy) [saved_core]: New field.
2333 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
2334 (register_hook): Set protection domain and class loader on new
2336 (finalize): Free core chain.
2337 * gnu/gcj/Core.java (Core): New constructor.
2338 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
2340 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
2341 (_Jv_create_core): New function.
2343 (default_register_resource): New function.
2344 (_Jv_RegisterCoreHook): New global.
2345 (_Jv_RegisterResource): Use it.
2346 (core_chain_struct): Removed.
2347 (_Jv_FindCore): New function.
2348 (_Jv_FreeCoreChain): New function.
2350 2003-08-29 Michael Koch <konqueror@gmx.de>
2352 * java/net/natInetAddressWin32.cc,
2353 java/net/natNetworkInterfaceWin32.cc,
2354 java/net/natPlainDatagramSocketImplWin32.cc,
2355 java/net/natPlainSocketImplWin32.cc:
2356 Removed code enclosed in DISABLE_JAVA_NET defines.
2358 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
2360 * Makefile.am: (write_entries_to_file) New parameterized
2361 function for writing entries to a file one line at a time.
2362 (all_java_class_files): Removed definition.
2363 (.java.class) Removed.target.
2364 (libgcj-@gcc_version@.jar): Changed dependency to
2365 $(all_java_source_files); added compilation step which compiles
2366 all changed source files in one pass.
2367 (libgcj.la) Refactored to use write_entries_to_file.
2368 (lib-gnu-awt-xlib.la) Likewise.
2369 (install-data-local) Likewise.
2370 (write-entries-to-file-check) New target which tests write_entries_to_file.
2371 (all-recursive): Changed dependency from $(all_java_class_files)
2372 to libgcj-@gcc_version@.jar
2373 * Makefile.in: Rebuilt.
2375 2003-08-26 Tom Tromey <tromey@redhat.com>
2377 * java/lang/StrictMath.java: Typo fix.
2378 * java/lang/Math.java: Typo fix.
2380 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
2382 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
2383 of the removed Thread.
2385 2003-08-26 Mark Wielaard <mark@klomp.org>
2387 Reported by David Holmes <dholmes@dltech.com.au>.
2388 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
2389 Collections.synchronizedMap.
2390 * java/lang/ThreadLocal.java (valueMap): Likewise.
2392 2003-08-26 Mark Wielaard <mark@klomp.org>
2394 * java/security/acl/Acl.java: Fix broken p tag.
2395 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
2396 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
2397 * javax/swing/plaf/TreeUI.java: Likewise.
2398 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
2399 * java/util/Properties.java: Use the word umlaut, not ä in api
2401 * java/util/PropertyResourceBundle.java: Likewise and add closing code
2404 2003-08-26 Tom Tromey <tromey@redhat.com>
2406 * Makefile.in: Rebuilt.
2407 * Makefile.am: Removed all GNU-make-specific FIXME comments.
2409 * java/lang/ref/Reference.java (get): Indentation fix.
2410 (clear): Comment fix.
2411 (enqueue): Likewise.
2413 (referent): Likewise.
2415 2003-08-26 Tom Tromey <tromey@redhat.com>
2418 * java/lang/reflect/natArray.cc (set): Allow null as argument.
2420 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
2421 (ProxyData.getPackage): New method.
2422 (ProxyData.getProxyData): Use package name, not Package.
2423 (ClassFactory.ClassFactory): Updated.
2425 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
2426 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
2427 * Makefile.in: re-generated.
2428 * gnu/awt/j2d/IntegerGraphicsState.java
2429 (ScreenCoupledImage): new interface.
2430 (drawImage): detect ScreenCoupledImage instances.
2431 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
2432 * gnu/awt/xlib/XEventLoop.java
2433 (createEvent): re-formatted, and rearranged to avoid null pointer.
2434 * gnu/awt/xlib/XGraphics.java
2435 (drawImage): added XOffScreenImage handling.
2436 * gnu/awt/xlib/XOffScreenImage.java: new file.
2437 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
2438 * gnu/gcj/xlib/GC.java (copyArea): new native method.
2439 * gnu/gcj/xlib/XAnyEvent.java
2440 (TYPE_KEY_PRESS): new constant.
2441 (TYPE_KEY_RELEASE): new constant.
2442 (TYPE_MOTION_NOTIFY): new constant.
2443 (TYPE_ENTER_NOTIFY): new constant.
2444 (TYPE_LEAVE_NOTIFY): new constant.
2445 (TYPE_FOCUS_IN): new constant.
2446 (TYPE_FOCUS_OUT): new constant.
2447 (TYPE_KEYMAP_NOTIFY): new constant.
2448 (TYPE_GRAPHICS_EXPOSE): new constant.
2449 (TYPE_NO_EXPOSE): new constant.
2450 (TYPE_VISIBILITY_NOTIFY): new constant.
2451 (TYPE_CREATE_NOTIFY): new constant.
2452 (TYPE_DESTROY_NOTIFY): new constant.
2453 (TYPE_MAP_REQUEST): new constant.
2454 (TYPE_CONFIGURE_REQUEST): new constant.
2455 (TYPE_GRAVITY_NOTIFY): new constant.
2456 (TYPE_RESIZE_REQUEST): new constant.
2457 (TYPE_CIRCULATE_NOTIFY): new constant.
2458 (TYPE_CIRCULATE_REQUEST): new constant.
2459 (TYPE_PROPERTY_NOTIFY): new constant.
2460 (TYPE_SELECTION_CLEAR): new constant.
2461 (TYPE_SELECTION_REQUEST): new constant.
2462 (TYPE_SELECTION_NOTIFY): new constant.
2463 (TYPE_COLORMAP_NOTIFY): new constant.
2464 (TYPE_MAPPING_NOTIFY): new constant.
2465 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
2466 * gnu/gcj/xlib/natGC.cc (copyArea): new method
2467 * java/awt/Component.java (createImage): changed to use peer method.
2469 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2471 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
2472 name, not XLFD, to native drawString.
2473 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2474 Replace XLFD-based implementation with Pango-based
2477 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2479 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
2480 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
2482 2003-08-21 David Daney <ddaney@avtrex.com>
2484 Fix for PR libgcj/12013:
2485 * java/lang/ref/natReference.cc (finalize_referred_to_object):
2486 Check `cleared' field.
2487 * java/lang/ref/Reference.java (copy): Updated comments.
2488 (cleared): New field.
2491 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
2492 Thomas Fitzsimmons <fitzsim@redhat.com>
2494 * Makefile.am (gtk_awt_peer_sources): Add
2495 gnu/java/awt/peer/GLightweightPeer.java. Remove
2496 gnu/java/awt/GLightweightPeer.java.
2497 * gnu/java/awt/GLightweightPeer.java: Remove file.
2498 * gnu/java/awt/peer/GLightweightPeer.java: New file.
2499 * java/awt/Component.java (getToolkit): Add comment about
2500 lightweight components.
2501 * java/awt/Toolkit.java (createComponent): Return
2502 gnu.java.awt.peer.GLightweightPeer.
2504 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
2506 * configure.in: Fix detection of gcj when building with newlib.
2507 * configure: Regenerated.
2509 2003-08-20 Graydon Hoare <graydon@redhat.com>
2511 * jni.cc: Replace "cheating" pointer-casting code with
2512 extract_from_jvalue<> template.
2514 2003-08-20 Andrew Haley <aph@redhat.com>
2516 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
2517 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
2518 (classAt): Break out class lookup function into getClass().
2519 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
2520 handlers when using -fno-assume-compiled.
2522 2003-08-20 Tom Tromey <tromey@redhat.com>
2524 Fix for PR libgcj/9125:
2525 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
2526 object outside of loop. Respect lib_control setting.
2527 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
2529 (lib_control): New field.
2530 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
2531 (VMClassLoader): Initialize new field.
2533 * java/lang/ref/natReference.cc (finalize_referred_to_object):
2534 Set `list->reference' to DELETED_REFERENCE when removing dead
2536 (find_slot): Added an assert.
2537 (DELETED_REFERENCE): New define.
2538 (add_to_hash): Check for DELETED_REFERENCE.
2539 (remove_from_hash): Just return if found slot isn't ours.
2541 2003-08-19 Andrew Haley <aph@redhat.com>
2543 * prims.cc (unblock_signal): New function.
2544 (catch_segv): Use it.
2545 (catch_fpe): Likewise.
2547 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
2550 * java/io/natFileDescriptorWin32.cc (open): Set create
2551 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
2552 Honor EXCL when openning with WRITE flag.
2554 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
2556 * include/jvm.h: New class _Jv_TempUTFString (helper class for
2557 getting a temporary C string from a jstring)
2558 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
2559 but uses a stack buffer if the string length is less than 256
2562 2003-08-18 Tom Tromey <tromey@redhat.com>
2565 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
2566 void. Throw VirtualMachineError if ffi fails. Initialize return
2567 value. Added is_jni_call argument; only wrap exception if not a
2568 JNI call. Use descriptive message if operation not supported.
2569 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
2571 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
2572 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
2574 (_Jv_JNI_CallAnyMethodA): Likewise.
2575 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
2576 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
2578 2003-08-13 Tom Tromey <tromey@redhat.com>
2580 * gij.cc (help): Document -? and -X.
2582 2003-08-12 Graydon Hoare <graydon@redhat.com>
2584 * java/awt/Font.java:
2585 Stub out more recent API.
2587 2003-08-12 Graydon Hoare <graydon@redhat.com>
2589 * java/awt/Color.java (getAlpha):
2590 Prevent sign-extended alpha values.
2592 2003-08-12 Tom Tromey <tromey@redhat.com>
2594 * gij.cc (main): Handle -? and -X.
2596 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
2598 * java/awt/Container.java
2599 (getPreferredSize): Call preferredSize.
2600 (preferredSize): Moved body of getPreferredSize here.
2601 (getMinimumSize): Call minimumSize.
2602 (minimumSize): Moved body of getMinimumSize here.
2604 2003-08-11 Tom Tromey <tromey@redhat.com>
2606 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
2607 (postEvent): Removed FIXME comment.
2608 (isDispatchThread): Documented.
2609 (getCurrentEvent): New method.
2610 (dispatchEvent): Set currentEvent and lastWhen.
2611 (getMostRecentEventTime): Rewrote.
2612 (invokeLater): Documented.
2614 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
2616 * java/io/PrintStream.java (print): Always flush if auto_flush is
2617 set. Don't check for newline characters.
2618 (write (int)): Implement without using a temporary array.
2619 (write (byte[], int, int): Always flush if auto_flush is set. Don't
2620 check for newline characters.
2621 Fixes PR libgcj/11778.
2623 2003-08-08 Andrew Haley <aph@redhat.com>
2625 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
2626 * Makefile.in: Rebuild.
2627 * java/lang/natRuntime.cc (insertSystemProperties): Add
2628 "sun.boot.class.path".
2630 2003-08-07 Andrew Haley <aph@redhat.com>
2632 * java/io/PrintStream.java: Don't crash on a null string.
2634 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2636 * configure.in: Don't initialize GCINCS to boehm-gc/include.
2637 * configure: Regenerate.
2639 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
2641 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
2642 SocketImpl. Update Javadoc.
2643 (bind): Call close() not impl.close() in event of exception.
2644 (connect): Likewise.
2645 Remove superfluous null checks throughout.
2646 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
2647 Don't create an extra socket. Fix for PR libgcj/10868.
2648 (bind): Clean up exception handling.
2649 Remove superfluous null checks throughout.
2651 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
2652 Bryce McKinlay <bryce@mckinlay.net.nz>
2654 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
2655 ready-to-write argument to _Jv_Select. Reset the socket back to
2656 non-blocking state after connecting.
2657 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
2658 Throw SocketTimeoutException not InterruptedIOException.
2659 (read): Throw SocketTimeoutException not InterruptedIOException.
2661 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
2663 * java/lang/Thread.java (Thread): Check for null "name" from
2664 start of private constructor, not after calling the private
2667 2003-08-06 Tom Tromey <tromey@redhat.com>
2669 * java/io/FilePermission.java (equals): Use correct index for
2670 last character of path.
2672 2003-08-06 Alan Modra <amodra@bigpond.net.au>
2674 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
2675 * configure.in: Compare with_cross_host to build_alias, not build.
2676 * aclocal.m4: Regenerate.
2677 * configure: Regenerate.
2679 2003-08-05 Tom Tromey <tromey@redhat.com>
2681 Fix for PR libgcj/11779:
2682 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
2685 * java/lang/reflect/Method.java: Updated status comment.
2686 Imported javadoc from Classpath and re-ordered methods.
2687 * java/lang/reflect/Constructor.java: Reindented. Updated
2688 status comment. Imported javadoc from Classpath and re-ordered
2691 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2693 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
2694 Add keyLocation parameter.
2695 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
2697 (paramString): Generate keyChar string according to keyChar, not
2699 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2700 (state_to_awt_mods): Handle ALT key.
2701 (keyevent_state_to_awt_mods): New function.
2702 (get_first_keyval_from_keymap): New function.
2703 (keysym_to_awt_keycode): Get virtual key code from keymap.
2704 Handle missing VK_ values.
2705 (keysym_to_awt_keylocation): New function.
2706 (keyevent_to_awt_keychar): New function.
2707 (generates_key_typed_event): Handle non-text-component case.
2708 Handle GDK_KP_Delete and GDK_KP_Enter.
2709 (awt_event_handler): Call new functions to get postKeyEvent
2711 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
2712 Update postKeyEvent method signature.
2713 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
2716 2003-08-05 Matthias Klose <doko@debian.org>
2718 * aclocal.m4: check for libart-config binary
2719 under the name libart2-config as well.
2720 * configure: regenerated.
2722 2003-08-04 David P Grove <groved@us.ibm.com>
2724 * java/text/DecimalFormat.java (format): avoid ArithmeticException
2725 when groupingSize is 0.
2728 2003-08-04 Matthias Klose <doko@debian.org>
2730 * libart.m4: check for libart-config binary
2731 under the name libart2-config as well.
2732 * configure, aclocal.m4: regenerated.
2734 2003-08-02 Michael Koch <konqueror@gmx.de>
2736 * java/nio/ByteBufferImpl.java
2737 (getChar): Check remaining bytes, fixed comment about endianess.
2738 (putChar): Likewise.
2739 (getShort): Likewise.
2740 (putShort): Likewise.
2741 (getInt): Check remaining bytes, fixed conversion, fixed comment about
2744 (getLong): Likewise.
2745 (putLong): Likewise.
2746 (getFloat): Likewise.
2747 (putFloat): Likewise.
2748 (getDouble): Likewise.
2749 (putDouble): Likewise.
2750 * java/nio/DirectByteBufferImpl.java
2751 (getChar): Wrapped code, fixed comment about endianess.
2752 (putchar): Likewise.
2753 (getShort): Likewise.
2754 (putShort): Likewise.
2755 (getInt): Fixed conversion, fixed comment about endianess.
2757 (getLong): Likewise.
2758 (putLong): Likewise.
2759 (getFloat): Likewise.
2760 (putFloat): Likewise.
2761 (getDouble): Likewise.
2762 (putDouble): Likewise.
2763 * java/nio/MappedByteBufferImpl.java
2764 (compact): Implemented.
2765 (getChar): Implemented.
2766 (putChar): Implemented.
2767 (getDouble): Implemented.
2768 (putdouble): Implemented.
2769 (getFloat): Implemented.
2770 (putFloat): Implemented.
2771 (getInt): Implemented.
2772 (putInt): Implemented.
2773 (getLong): Implemented.
2774 (putLong): Implemented.
2775 (getShort): Implemented.
2776 (putShort): Implemented.
2777 * java/nio/channels/FileChannelImpl.java
2778 (read): Set position where to access file.
2780 (transferTo): Flip buffer after read and before write.
2781 (transferFrom): Likewise.
2783 2003-08-02 Michael Koch <konqueror@gmx.de>
2785 * gnu/java/lang/ArrayHelper.java
2786 (equalsArray): Reformated, added method documentation.
2788 2003-08-02 Michael Koch <konqueror@gmx.de>
2791 (URL): Added paragraph about the
2792 gnu.java.net.nocache_protocol_handlers property.
2793 (ph_cache): Renamed from handlers to match classpath's implementation.
2794 Reordered it with factory and serialVersionUID member variables.
2795 (cache_handlers): New member variable.
2796 (static): New static initializer to initialize cache_handlers from
2797 gnu.java.net.nocache_protocol_handlers property.
2798 (URL): Use ph_cache instead of handlers, reformatted some code to
2799 match classpath's implementation.
2801 2003-08-01 Tom Tromey <tromey@redhat.com>
2803 Fix for PR libgcj/11241:
2804 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
2805 initialCapacity is 0, set it to 1.
2807 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
2809 * java/net/SocketImpl.java (toString): Display the remote address
2810 of an unconnected server socket as "0.0.0.0/0.0.0.0".
2812 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
2814 * javax/swing/border/BevelBorder.java,
2815 javax/swing/border/EtchedBorder.java,
2816 javax/swing/border/LineBorder.java,
2817 javax/swing/border/MatteBorder.java,
2818 javax/swing/border/SoftBevelBorder.java,
2819 javax/swing/plaf/BorderUIResource.java,
2820 javax/swing/plaf/ComponentUI.java,
2821 javax/swing/plaf/TreeUI.java,
2822 javax/swing/plaf/basic/BasicBorders.java,
2823 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2824 javax/swing/plaf/basic/BasicTreeUI.java:
2825 Prepend "doc-files" to all paths to embedded Javadoc images, so
2826 that the generated documentation contains the correct URL.
2828 2003-08-01 Tom Tromey <tromey@redhat.com>
2830 * configure: Rebuilt.
2831 * configure.in (tool_include_dir): Redefine to match gcc.
2833 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
2834 Mark Wielaard <mark@klomp.org>
2836 * java/math/BigDecimal (divide): Correctly handle
2837 ROUND_HALF_EVEN when amount is greater than 0.5.
2838 Simplify and optimize code.
2840 2003-07-31 Tom Tromey <tromey@redhat.com>
2842 More for PR libgcj/11737:
2843 * java/io/ObjectInputStream.java (processResolution): Use
2845 (getMethod): Make method accessible.
2846 (getField): Make field accessible.
2847 (setBooleanField): Don't call setAccessible here.
2848 (setByteField, setCharField, setDoubleField, setFloatField,
2849 setIntField, setLongField, setShortField, setObjectField):
2851 (callReadMethod): Don't check whether method is null. Catch
2852 NoSuchMethodException.
2853 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
2854 cause on thrown exceptions.
2856 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
2858 Fix for PR libgcj/11728:
2859 * java/util/HashMap.java (readObject): Set size.
2861 2003-07-31 Tom Tromey <tromey@redhat.com>
2863 Fix for PR libgcj/11737:
2864 * java/io/ObjectOutputStream.java (getMethod): Make method
2866 (getField): Likewise.
2867 (writeObject): Use getMethod.
2868 Import PrivilegedAction and AccessController.
2869 (callWriteMethod): Don't check whether m is null. Catch
2870 NoSuchMethodException.
2872 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
2873 (containsAngle): Likewise.
2874 (getStartPoint): Rewrote.
2875 (getEndPoint): Likewise.
2876 (setAngleStart(Point2D)): Likewise.
2878 2003-07-31 Roger Sayle <roger@eyesopen.com>
2879 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2881 * configure.in: Add new THREADCXXFLAGS variable.
2882 Handle POSIX threads on alpha*-dec-osf*.
2883 * configure: Regenerate.
2884 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
2885 * Makefile.in: Regenerate.
2887 2003-07-08 Andrew Haley <aph@redhat.com>
2889 * include/i386-signal.h (RESTORE): New.
2890 (INIT_SEGV): Set restorer.
2891 (INIT_FPE): Likewise.
2893 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2895 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
2897 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2898 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
2899 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2900 (gtkSetFont): Scale size parameter by PANGO_SCALE.
2901 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
2903 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
2906 2003-07-29 Tom Tromey <tromey@redhat.com>
2908 * defineclass.cc (handleField): Throw exception if field name is
2910 (handleMethod): Throw exception for duplicate method.
2912 2003-07-29 Tom Tromey <tromey@redhat.com>
2914 * gnu/gcj/convert/natIconv.cc (write): Handle case where
2915 output buffer is too small.
2917 2003-07-28 Tom Tromey <tromey@redhat.com>
2919 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
2921 Include gnu/gcj/runtime/StringBuffer.h.
2922 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
2924 (String(gnu.gcj.runtime.StringBuffer)): Use it.
2926 2003-07-27 Anthony Green <green@redhat.com>
2928 * configure.in: Fix newlib check.
2929 * configure: Rebuilt.
2931 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
2933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2934 Create vbox and layout for GtkPlug.
2936 2003-07-27 Michael Koch <konqueror@gmx.de>
2938 * java/awt/Window.java
2939 (Window): Removed now unused constructor. It became oboslete with the
2940 new embedded window patch.
2942 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
2943 Michael Koch <konqueror@gmx.de>
2945 * gnu/java/awt/EmbeddedWindow.java
2946 (EmbeddedWindow): Extends Frame instead of Window.
2947 (window_id): New member variable to store the native window handle.
2949 (EmbeddedWindow): New constructor.
2950 (addNotify): New method.
2951 (getHandler): Likewise.
2952 (setWindowPeer): New native method.
2953 * gnu/java/awt/EmbeddedWindowSupport.java
2954 (EmbeddedWindowSupport): Fixed documentation.
2955 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
2956 WindowPeer, give it an EmbeddedWindow instance instead of the raw
2958 * gnu/java/awt/natEmbeddedWindow.cc
2960 (setWindowPeer): New method.
2961 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
2962 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
2963 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2965 * gnu/java/awt/peer/gtk/GtkToolkit.java
2966 (GtkToolkit): Implements EmbeddedWindowSupport.
2967 (createEmbeddedWindow): New method.
2968 * java/awt/Window.java
2971 (java_source_files): Added EmbeddedWindowPeer.java.
2972 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
2973 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
2974 * Makefile.in: Regenerated.
2976 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
2978 * java/lang/Win32Process.java (ConcreteProcess): Surround
2979 a command line element with quotes if it contains an
2980 embedded space or tab.
2981 * java/lang/natWin32Process.cc (startProcess): Do not
2982 surround command line elements with quotes here.
2984 * configure.host: Use -fcheck-references and
2985 -fuse-divide-subroutine for MinGW until we fix
2986 win32_exception_handler( ) in win32.cc w.r.t. Win32
2987 Structured Exception Handling (SEH).
2989 * win32.cc (_Jv_platform_initProperties): Use generic names
2990 like "x86" for the "os.arch" property to be consistent with
2991 what Sun's JDK produces. Use the wProcessorArchitecture
2992 member of the Win32 SYSTEM_INFO structure, filled in a call
2993 to GetSystemInfo( ), instead of dwProcessorType.
2995 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
2996 Ranjit Mathew <rmathew@hotmail.com>
2998 * Makefile.am: Use cross-compiling gcjh from the path for
2999 a crossed-native build.
3000 * Makefile.in: Rebuilt.
3001 * configure.in: Include libltdl in non-newlib builds.
3002 Moved determination of gcj used to build libraries to
3003 its own section. Fixed cross-compilation issues for
3005 * configure: Rebuilt.
3007 2003-07-25 Tom Tromey <tromey@redhat.com>
3009 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
3014 2003-07-25 Mark Wielaard <mark@klomp.org>
3016 * java/lang/natRuntime.cc (_load): Add library name to
3017 UnsatisfiedLinkError when thrown.
3019 2003-07-25 Mark Wielaard <mark@klomp.org>
3021 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
3023 * Makefile.in: Likewise.
3025 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
3027 * java/awt/Component.java
3028 (getPreferredSize): Call preferredSize.
3029 (preferredSize): Moved body of getPreferredSize here.
3030 (getMinimumSize): Call minimumSize.
3031 (minimumSize): Moved body of getMinimumSize here.
3032 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
3033 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
3035 * java/awt/Container.java
3036 (validate): Don't validate if there is no peer.
3037 (update): Clear background before calling paint.
3038 * java/awt/GridBagLayout.java
3039 Completed the implementation and fixed several bugs.
3040 * java/awt/MediaTracker.java
3041 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
3043 * java/awt/Window.java
3044 (Window): Don't call setVisible(false). Windows are invisible by
3045 default and calling virtual methods from constructor causes
3046 compatibility problems (e.g. subclasses may assume that the peer
3049 2003-07-25 Michael Koch <konqueror@gmx.de>
3051 * java/awt/GridBagLayout.java:
3052 Totally reworked and partly implemented.
3053 * java/awt/GridBagLayoutInfo.java:
3056 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3058 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
3059 Don't pack label in an event box.
3061 2003-07-24 Tom Tromey <tromey@redhat.com>
3064 * verify.cc (ref_intersection): New class.
3065 (type_val): Removed unresolved_reference_type,
3066 uninitialized_unresolved_reference_type.
3067 (is_assignable_from_slow): Rewrote.
3068 (type::data): Removed.
3069 (type::klass): New field.
3070 (type::type): Added verifier argument.
3071 (type::resolve): Removed.
3072 (type::set_uninitialized): Updated for change to type_val.
3073 (type::set_initialized): Likewise.
3074 (type::isinitialized): Likewise.
3075 (type::print): Likewise.
3076 (construct_primitive_array_type): Likewise.
3077 (type::compatible): Updated for change to type_val and to use
3079 (type::isarray): Updated to use ref_intersection.
3080 (type::isinterface): Likewise.
3081 (type::element_type): Likewise.
3082 (type::to_array): Likewise.
3083 (type::verify_dimensions): Rewrote.
3084 (type::merge): Likewise.
3085 (check_class_constant): Updated for type constructor change.
3086 (check_constant): Likewise.
3087 (check_field_constant): Likewise.
3088 (get_one_type): Likewise.
3089 (initialize_stack): Likewise.
3090 (verify_instructions_0): Likewise.
3091 (verify_instructions_0) [op_invokeinterface]: Removed special
3093 (isect_list): New field.
3094 (_Jv_BytecodeVerifier): Initialize it.
3095 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
3097 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
3099 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
3100 unless field size is 2.
3102 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3104 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3105 (connectHooks): New method.
3106 (handleEvent): Remove.
3107 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
3108 (createHooks): Remove declaration.
3109 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3110 (generates_key_typed_event): Change to handle only certain
3112 (awt_event_handler): Add special handling for GtkTextView.
3113 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3114 (textcomponent_commit_cb): New function.
3115 (textcomponent_changed_cb): Likewise.
3116 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3117 (connectHooks): Remove.
3119 2003-07-23 Tom Tromey <tromey@redhat.com>
3121 * java/lang/natSystem.cc (arraycopy): Check for overflow.
3123 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
3125 2003-07-22 Tom Tromey <tromey@redhat.com>
3127 * boehm.cc (_Jv_BuildGCDescr): Wrote.
3130 2003-07-22 Tom Tromey <tromey@redhat.com>
3132 * java/awt/Window.java (getWarningString): Just return the
3134 (Window): Set warningString; check with security manager.
3136 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
3138 * gnu/awt/xlib/XGraphicsConfiguration.java
3139 (FontMetricsCache): Made static.
3141 2003-07-22 Tom Tromey <tromey@redhat.com>
3143 * java/net/URLEncoder.java (encode(String)): Use platform default
3145 (encode(String,String)): Convert to 2-digit upper-case hex
3149 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3151 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3152 (create): Remove unused method implementation.
3153 (connectHooks): Remove debug messages.
3155 2003-07-20 Anthony Green <green@redhat.com>
3157 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
3158 CloneNotSupportedException.
3159 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
3160 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
3161 * gnu/gcj/xlib/GC.java (clone): Ditto.
3162 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
3163 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
3165 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
3167 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
3169 2003-07-20 Steve Pribyl <steve@netfuel.com.>
3171 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
3172 String. Put dlerror() message into exception.
3173 Include UnsatisfiedLinkError.
3174 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
3177 2003-07-20 Tom Tromey <tromey@redhat.com>
3179 * java/lang/Runtime.java: Comment fix.
3180 * java/lang/ClassLoader.java (isAncestorOf): New method.
3181 (getParent): Uncommented security check. Use isAncestorOf.
3182 * include/jvm.h (_Jv_CheckAccess): Declare.
3183 * java/lang/reflect/natConstructor.cc (newInstance): Perform
3185 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
3186 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
3187 class loader to _Jv_GetArrayClass.
3188 Include ArrayIndexOutOfBoundsException.h.
3189 * java/lang/reflect/Field.java: Update comment to reflect status.
3190 (equals): Fixed indentation.
3191 * java/lang/Class.h (Class): Declare memberAccessCheck, not
3192 checkMemberAccess. Make _Jv_CheckAccess a friend.
3193 * java/lang/Class.java (memberAccessCheck): New method from
3195 (checkMemberAccess): Removed.
3196 (getDeclaredMethod): Use memberAccessCheck.
3197 (getField): Likewise.
3198 (getMethod): Likewise.
3199 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
3200 (_Jv_SearchMethodInClass): Likewise.
3201 * prims.cc (_Jv_CheckAccess): New function.
3202 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
3203 (_Jv_JNI_GetAnyFieldID): Likewise.
3204 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
3205 (getClassLoader): Added security check.
3206 (getConstructor): Call memberAccessCheck.
3207 (getDeclaredClasses): Likewise.
3208 (getDeclaredField): Likewise.
3209 (getDeclaredFields): Likewise.
3210 (_getConstructors): Likewise.
3211 (getDeclaredConstructor): Likewise.
3212 (getDeclaredMethods): Likewise.
3213 (getFields): Likewise.
3214 (getMethods): Likewise.
3215 (newInstance): Likewise.
3216 (_Jv_MakeVTable): Put method name in exception.
3217 * java/lang/reflect/natMethod.cc (getType): Use
3218 getClassLoaderInternal.
3219 (_Jv_GetTypesFromSignature): Likewise.
3220 (invoke): Perform access check.
3221 (_Jv_CallAnyMethodA): Removed old FIXME comments.
3222 Include ArrayIndexOutOfBoundsException.h.
3223 * java/lang/reflect/natField.cc (getType): Use
3224 getClassLoaderInternal.
3225 (_Jv_CheckFieldAccessibility): Removed.
3226 (getAddr): Use _Jv_CheckAccess; find caller.
3227 Include ArrayIndexOutOfBoundsException.h.
3229 2003-07-20 Michael Koch <konqueror@gmx.de>
3232 (URL): Fixed documentation to name an argument correcty, Reformatted
3233 one method declaration.
3234 (getURLStreamHandler): Added documentation from classpath.
3236 2003-07-19 Tom Tromey <tromey@redhat.com>
3238 * mauve-libgcj: Don't run CollationElementIterator tests.
3240 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
3242 * java/net/URLClassLoader.java (addURL): Moved implementation to
3243 private addURLImpl() to avoid calling addURL from the constructor.
3244 (addURLImpl): Contains the code that was previously in addURL.
3245 (addURLs): Call addURLImpl(), not addURL().
3247 2003-07-18 Graydon Hoare <graydon@redhat.com>
3249 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
3250 Handle missing event cases, connect to "value-changed" signal.
3252 2003-07-18 Graydon Hoare <graydon@redhat.com>
3254 * java/awt/geom/CubicCurve2D.java,
3255 java/awt/geom/Line2D.java,
3256 java/awt/geom/QuadCurve2D.java,
3257 java/awt/geom/Rectangle2D.java:
3258 Fix path some calculations, make path iterators follow
3261 2003-07-18 Mark Wielaard <mark@klomp.org>
3263 * java/util/logging/Handler.java (isLoggable): Check record level
3266 2003-07-17 Michael Koch <konqueror@gmx.de>
3268 * gnu/java/awt/peer/gtk/GtkToolkit.java:
3271 2003-07-14 Michael Koch <konqueror@gmx.de>
3273 * gnu/java/rmi/server/UnicastServerRef.java:
3274 New version from classpath.
3276 2003-07-14 Michael Koch <konqueror@gmx.de>
3278 * java/awt/image/MemoryImageSource.java,
3279 java/beans/PropertyEditorManager.java,
3280 javax/naming/CompoundName.java,
3281 javax/naming/spi/NamingManager.java,
3282 javax/swing/AbstractButton.java,
3283 javax/swing/ButtonModel.java,
3284 javax/swing/SwingUtilities.java,
3285 javax/swing/UIManager.java,
3286 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3287 javax/swing/event/AncestorEvent.java,
3288 javax/swing/event/InternalFrameEvent.java,
3289 java/util/zip/ZipFile.java:
3290 New versions from classpath.
3292 2003-07-13 Michael Koch <konqueror@gmx.de>
3294 * gnu/java/nio/FileChannelImpl.java,
3295 gnu/java/nio/natFileChannelImpl.cc: Removed.
3296 * java/io/FileInputStream.java,
3297 java/io/FileOutputStream.java,
3298 java/io/RandomAccessFile.java,
3299 java/nio/MappedByteBufferImpl.java:
3300 Import java.nio.channels.FileChannelImpl instead of
3301 gnu.java.nio.FileChannelImpl.
3302 * java/nio/channels/FileChannelImpl.java,
3303 java/nio/channels/natFileChannelImpl.cc:
3306 (ordinary_java_source_files):
3307 Removed gnu/java/nio/FileChannelImpl.java and added
3308 java/nio/channels/FileChannelImpl.java.
3310 Removed gnu/java/nio/natFileChannelImpl.cc and added
3311 java/nio/channels/natFileChannelImpl.cc.
3312 * Makefile.in: Regenerated.
3314 2003-07-13 Michael Koch <konqueror@gmx.de>
3316 * javax/swing/plaf/basic/BasicBorders.java,
3317 javax/swing/plaf/basic/BasicLabelUI.java,
3318 javax/swing/plaf/basic/BasicLookAndFeel.java,
3319 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3320 javax/swing/plaf/basic/BasicTextUI.java,
3321 javax/swing/plaf/metal/MetalLookAndFeel.java:
3322 New versions from classpath.
3324 2003-07-13 Michael Koch <konqueror@gmx.de>
3326 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3327 * gnu/java/awt/peer/gtk/GdkGraphics.java
3328 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
3329 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
3330 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
3331 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
3332 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
3333 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3334 * gnu/java/awt/peer/gtk/GtkClipboard.java
3335 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
3336 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3337 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3338 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
3339 * gnu/java/awt/peer/gtk/GtkImage.java
3340 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3341 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
3342 * gnu/java/awt/peer/gtk/GtkListPeer.java
3343 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
3344 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
3345 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
3346 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
3347 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
3348 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
3349 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
3350 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3351 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
3352 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
3353 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3354 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
3356 2003-07-13 Michael Koch <konqueror@gmx.de>
3358 * gnu/java/locale/LocaleInformation_de.java
3359 * gnu/java/locale/LocaleInformation_en.java
3360 * gnu/java/locale/LocaleInformation_nl.java
3362 2003-07-13 Michael Koch <konqueror@gmx.de>
3364 * gnu/java/awt/EmbeddedWindow.java,
3365 gnu/java/awt/EmbeddedWindowSupport.java,
3366 gnu/java/awt/natEmbeddedWindow.cc:
3368 * java/awt/Window.java
3369 (Window): New constructor to support embedded windows.
3371 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
3372 gnu/java/awt/EmbeddedWindowSupport.java.
3373 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
3374 * Makefile.in: Regenerated.
3376 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
3378 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
3379 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
3380 * java/awt/im/InputContext.java: Remove a redundant
3383 2003-07-09 Tom Tromey <tromey@redhat.com>
3385 * Makefile.in: Rebuilt.
3386 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
3388 2003-07-09 Mark Wielaard <mark@klomp.org>
3390 * java/io/ObjectOutputStream.java (writeObject): break after
3391 calling writeClassDescriptor().
3393 2003-07-09 Mark Mitchell <mark@codesourcery.com>
3395 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
3397 2003-07-09 Michael Koch <konqueror@gmx.de>
3399 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3400 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3401 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
3402 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
3403 Explicitly import used classes.
3404 * java/awt/Container.java: New version from classpath.
3406 2003-07-09 Michael Koch <konqueror@gmx.de>
3408 * libgcj.pc.in: New file.
3409 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
3410 * Makefile.in: Regenerated.
3411 * configure: Regenrated.
3412 * configure.in: Create libgcj.pc from libgcj.pc.in.
3414 2003-07-08 Mark Wielaard <mark@klomp.org>
3416 * gcj/cni.h: CNI now expands to Compiled Native Interface.
3418 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
3419 * java/lang/fdlibm.h: Likewise.
3421 2003-07-07 Adam Megacz <adam@xwt.org>
3423 * posix.cc: added #include<stdio.h>
3425 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3427 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
3430 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3431 (setCaretPosition, setEditable): Rely entirely on native
3434 (postTextEvent): New method.
3435 (handleEvent): New method.
3436 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
3438 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
3439 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3440 (keysym_to_awt_keycode): Fix range checks.
3441 (generates_key_typed_event): New function.
3442 (awt_event_handler): Post AWT_KEY_RELEASED events to event
3444 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3445 (gtkInit): Store TextComponent's postTextEvent method ID.
3446 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3447 (setText): Post TEXT_VALUE_CHANGED event to event queue.
3449 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3451 * configure.in: Check for usleep declaration.
3452 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
3453 * configure: Regenerate.
3454 * include/config.h.in: Likewise.
3455 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
3457 2003-07-01 Michael Koch <konqueror@gmx.de>
3459 * gnu/gcj/convert/natIconv.cc
3460 (iconv_init): Fixed possible memory leak by releasing allocated iconv
3463 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3465 * glib-2.0.m4: New file.
3466 * gtk-2.0.m4: New file.
3469 * configure.in: Update AM_PATH_GTK macro call to
3470 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
3471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
3472 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3473 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3474 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
3475 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3476 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3477 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
3478 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3479 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3480 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
3481 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3482 jni/gtk-peer/gthread-jni.c,
3483 jni/gtk-peer/gthread-jni.h:
3484 New versions from classpath.
3485 * aclocal.m4: Regenerate.
3486 * configure: Regenerate.
3487 * Makefile.in: Regenerate.
3488 * gcj/Makefile.in: Regenerate.
3489 * include/Makefile.in: Regenerate.
3490 * testsuite/Makefile.in: Regenerate.
3492 2003-06-30 Gary Benson <gbenson@redhat.com>
3494 For PR libgcj/11349:
3495 * javax/naming/spi/NamingManager.java (getURLContext): Use
3496 correct name for factory class.
3498 2003-06-28 Michael Koch <konqueror@gmx.de>
3500 * java/io/PrintStream.java
3501 (checkError): Call flush() instead of direct flushing of the Writer
3503 (print): Call print(String) instead of direct print method of the
3505 (println): Call println(String) instead of direct println method of the
3507 (write): Simplified.
3509 2003-06-28 Michael Koch <konqueror@gmx.de>
3511 * java/net/ServerSocket.java
3512 (setChannel): New method.
3513 * java/net/Socket.java
3514 (setChannel): New method.
3516 2003-06-27 Michael Koch <konqueror@gmx.de>
3518 * java/beans/beancontext/BeanContextSupport.java:
3519 New version from classpath.
3521 2003-06-27 Michael Koch <konqueror@gmx.de>
3523 * java/awt/Window.java,
3524 java/awt/font/GraphicAttribute.java,
3525 java/awt/font/ImageGraphicAttribute.java,
3526 java/awt/image/DataBufferByte.java,
3527 java/awt/image/DataBufferInt.java,
3528 java/awt/image/DataBufferUShort.java,
3529 java/awt/image/DirectColorModel.java,
3530 java/awt/image/PixelGrabber.java:
3531 New versions from classpath.
3533 2003-06-27 Michael Koch <konqueror@gmx.de>
3535 * java/security/Certificate.java
3536 (getGuarantor): Removed wrong @deprecated tag.
3537 (getPrincipal): Likewise.
3538 (getPublicKey): Likewise.
3541 (getFormat): Likewise.
3542 (toString): Likewise.
3543 * java/security/cert/PolicyQualifierInfo.java
3544 (PolicyQualifierInfo): Made final.
3545 * javax/security/auth/x500/X500Principal.java
3546 (serialVersionUID): New member variable.
3548 2003-06-27 Michael Koch <konqueror@gmx.de>
3550 * java/text/Format.java
3551 (serialVersionUID): Fixed value.
3553 2003-06-27 Michael Koch <konqueror@gmx.de>
3555 * java/net/Inet4Address.java
3556 (Inet4Address): Made package-private.
3557 * java/net/Inet6Address.java
3558 (Inet4Address): Made package-private.
3560 2003-06-27 Michael Koch <konqueror@gmx.de>
3562 * java/io/RandomAccessFile.java
3563 (readLine): Removed wrong @deprecated tag.
3564 (getChannel): Made final.
3566 2003-06-27 Michael Koch <konqueror@gmx.de>
3568 * gnu/java/nio/FileChannelImpl.java
3571 2003-06-27 Michael Koch <konqueror@gmx.de>
3573 * java/nio/ByteBufferImpl.java
3574 (ByteBufferImpl): Made it a package-private class
3575 * java/nio/CharBufferImpl.java
3576 (CharBufferImpl): Made it a package-private class
3577 * java/nio/DirectByteBufferImpl.java
3578 (DirectByteBufferImpl): Made it a package-private class
3579 * java/nio/DoubleBufferImpl.java
3580 (DoubleBufferImpl): Made it a package-private class
3581 * java/nio/FloatBufferImpl.java
3582 (FloatBufferImpl): Made it a package-private class
3583 * java/nio/IntBufferImpl.java
3584 (IntBufferImpl): Made it a package-private class
3585 * java/nio/LongBufferImpl.java
3586 (LongBufferImpl): Made it a package-private class
3587 * java/nio/ShortBufferImpl.java
3588 (ShortBufferImpl): Made it a package-private class
3589 * java/nio/channels/FileChannel.java
3590 (write): Made final.
3591 * java/nio/channels/ServerSocketChannel.java
3592 (ServerSocketChanne): Made protected.
3594 2003-06-27 Michael Koch <konqueror@gmx.de>
3596 * javax/naming/CompositeName.java
3597 (serialVersionUID): New member variable.
3598 * javax/naming/CompoundName.java
3599 (serialVersionUID): New member variable.
3600 * javax/naming/InitialContext.java
3601 (InitialContext): Throws NamingException.
3603 * javax/naming/LinkRef.java
3604 (serialVersionUID): New member variable.
3605 (gteLinkName): Throws NamingException.
3606 * javax/naming/NamingException.java
3607 (serialVersionUID): New member variable.
3608 * javax/naming/NamingSecurityException.java
3609 (NamingSecurityException): Made abstract.
3610 (serialVersionUID): New member variable.
3611 * javax/naming/ReferralException.java
3612 (serialVersionUID): New member variable.
3613 * javax/naming/StringRefAddr.java
3614 (serialVersionUID): New member variable.
3615 * javax/naming/directory/BasicAttribute.java:
3617 (serialVersionUID): New member variable.
3618 (get): Throws NamingException.
3619 (getAll): Throws NamingException.
3620 * javax/naming/directory/BasicAttributes.java:
3622 (serialVersionUID): New member variable.
3623 * javax/naming/ldap/UnsolicitedNotificationEvent.java
3624 (serialVersionUID): New member variable.
3626 2003-06-27 Michael Koch <konqueror@gmx.de>
3629 (awt_java_source_files): Added new files:
3630 javax/swing/Popup.java,
3631 javax/swing/PopupFactory.java
3632 * Makefile.in: Regenerated.
3634 2003-06-27 Michael Koch <konqueror@gmx.de>
3636 * javax/swing/JWindow.java,
3637 javax/swing/event/AncestorEvent.java,
3638 javax/swing/event/HyperlinkEvent.java,
3639 javax/swing/event/InternalFrameEvent.java,
3640 javax/swing/event/ListDataEvent.java,
3641 javax/swing/event/TableModelEvent.java,
3642 javax/swing/plaf/PopupMenuUI.java,
3643 javax/swing/plaf/SplitPaneUI.java,
3644 javax/swing/plaf/TabbedPaneUI.java,
3645 javax/swing/plaf/TextUI.java,
3646 javax/swing/plaf/TreeUI.java,
3647 javax/swing/plaf/basic/BasicTextUI.java,
3648 javax/swing/plaf/basic/BasicTreeUI.java:
3649 New versions from classpath.
3650 * javax/swing/Popup.java,
3651 javax/swing/PopupFactory.jav:
3652 New source files from classpath.
3653 * javax/swing/plaf/doc-files/TreeUI-1.png:
3654 New binary files from classpath.
3656 2003-06-25 Michael Koch <konqueror@gmx.de>
3659 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
3660 * Makefile.in: Regenerated.
3662 2003-06-25 Michael Koch <konqueror@gmx.de>
3664 * javax/swing/plaf/ActionMapUIResource.java,
3665 javax/swing/plaf/BorderUIResource.java,
3666 javax/swing/plaf/ButtonUI.java,
3667 javax/swing/plaf/ColorChooserUI.java,
3668 javax/swing/plaf/ColorUIResource.java,
3669 javax/swing/plaf/ComboBoxUI.java,
3670 javax/swing/plaf/ComponentInputMapUIResource.java,
3671 javax/swing/plaf/ComponentUI.java,
3672 javax/swing/plaf/DesktopIconUI.java,
3673 javax/swing/plaf/DesktopPaneUI.java,
3674 javax/swing/plaf/DimensionUIResource.java,
3675 javax/swing/plaf/FileChooserUI.java,
3676 javax/swing/plaf/FontUIResource.java,
3677 javax/swing/plaf/IconUIResource.java,
3678 javax/swing/plaf/InputMapUIResource.java,
3679 javax/swing/plaf/InsetsUIResource.java,
3680 javax/swing/plaf/InternalFrameUI.java,
3681 javax/swing/plaf/LabelUI.java,
3682 javax/swing/plaf/ListUI.java,
3683 javax/swing/plaf/MenuBarUI.java,
3684 javax/swing/plaf/MenuItemUI.java,
3685 javax/swing/plaf/OptionPaneUI.java,
3686 javax/swing/plaf/PanelUI.java,
3687 javax/swing/plaf/ProgressBarUI.java,
3688 javax/swing/plaf/RootPaneUI.java,
3689 javax/swing/plaf/ScrollBarUI.java,
3690 javax/swing/plaf/ScrollPaneUI.java,
3691 javax/swing/plaf/SeparatorUI.java,
3692 javax/swing/plaf/SliderUI.java,
3693 javax/swing/plaf/TableHeaderUI.java,
3694 javax/swing/plaf/TableUI.java,
3695 javax/swing/plaf/ToolBarUI.java,
3696 javax/swing/plaf/ToolTipUI.java,
3697 javax/swing/plaf/ViewportUI.java:
3698 New versions from classpath.
3699 * javax/swing/plaf/SpinnerUI.java:
3700 New file from classpath
3702 2003-06-25 Michael Koch <konqueror@gmx.de>
3704 * java/awt/image/ColorModel.java:
3705 New version from classpath.
3707 2003-06-25 Michael Koch <konqueror@gmx.de>
3709 * java/net/PlainDatagramSocketImpl.java:
3710 Partly merged with classpath, this mainly adds documentation.
3712 2003-06-25 Michael Koch <konqueror@gmx.de>
3714 * java/io/ObjectInputStream.java
3715 (readClassDescriptor): New method.
3716 (readObject): Moved functionality to readClassDescriptor().
3717 * java/io/ObjectOutputStream.java
3718 (writeClassDescriptor): New method.
3719 (writeObject): Moved functionality to writeClassDescriptor().
3721 2003-06-25 Michael Koch <konqueror@gmx.de>
3723 * javax/swing/plaf/basic/BasicListUI.java,
3724 javax/swing/plaf/basic/BasicOptionPaneUI.java:
3725 Added missing methods.
3727 2003-06-25 Michael Koch <konqueror@gmx.de>
3729 * javax/swing/event/AncestorEvent.java
3730 javax/swing/event/HyperlinkEvent.java
3731 javax/swing/event/InternalFrameEvent.java
3732 javax/swing/event/ListDataEvent.java
3733 javax/swing/event/TableModelEvent.java:
3736 2003-06-24 Michael Koch <konqueror@gmx.de>
3738 * java/net/URL.java:
3739 Renamed "handler" to "ph" in the whole file to match classpaths
3741 * java/net/URLStreamHandler.java:
3742 (equals): Renamed "handler" to "ph".
3744 2003-06-24 Michael Koch <konqueror@gmx.de>
3746 * javax/swing/event/AncestorEvent.java,
3747 javax/swing/event/HyperlinkEvent.java,
3748 javax/swing/event/InternalFrameEvent.java,
3749 javax/swing/event/ListDataEvent.java,
3750 javax/swing/event/TableModelEvent.java,
3751 javax/swing/event/TreeWillExpandListener.java,
3752 javax/swing/plaf/ComponentUI.java,
3753 javax/swing/plaf/DesktopIconUI.java,
3754 javax/swing/plaf/DesktopPaneUI.java,
3755 javax/swing/plaf/DimensionUIResource.java,
3756 javax/swing/plaf/FileChooserUI.java,
3757 javax/swing/plaf/FontUIResource.java,
3758 javax/swing/plaf/IconUIResource.java,
3759 javax/swing/plaf/InputMapUIResource.java,
3760 javax/swing/plaf/InsetsUIResource.java,
3761 javax/swing/plaf/InternalFrameUI.java,
3762 javax/swing/plaf/LabelUI.java,
3763 javax/swing/plaf/ListUI.java,
3764 javax/swing/plaf/MenuBarUI.java,
3765 javax/swing/plaf/MenuItemUI.java,
3766 javax/swing/plaf/OptionPaneUI.java,
3767 javax/swing/plaf/PanelUI.java,
3768 javax/swing/plaf/ProgressBarUI.java,
3769 javax/swing/plaf/doc-files/ComponentUI-1.dia,
3770 javax/swing/plaf/doc-files/ComponentUI-1.png:
3771 New versions from classpath.
3773 2003-06-24 Michael Koch <konqueror@gmx.de>
3775 * java/nio/Buffer.java
3776 (cap): Made package-private.
3781 2003-06-24 Michael Koch <konqueror@gmx.de>
3783 * java/net/SocketImpl.java
3784 (shutdownInput): Made it non-abstract method throwing an exception
3786 (shutdownOutput): Likewise.
3787 * java/net/SocketInputStream.java,
3788 java/net/SocketOutputStream.java:
3789 New files from classpath.
3791 2003-06-24 Michael Koch <konqueror@gmx.de>
3793 * java/awt/Font.java,
3794 java/awt/Window.java,
3795 java/awt/color/ColorSpace.java,
3796 java/awt/datatransfer/StringSelection.java,
3797 java/awt/image/ColorModel.java:
3798 New versions from classpath.
3800 2003-06-24 Michael Koch <konqueror@gmx.de>
3803 (awt_java_source_files): Added new files:
3804 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
3805 javax/swing/plaf/basic/BasicSplitPaneUI.java
3806 * Makefile.in: Regenerated.
3808 2003-06-24 Michael Koch <konqueror@gmx.de>
3810 * javax/swing/text/JTextComponent.java:
3811 New version from classpath.
3813 2003-06-24 Michael Koch <konqueror@gmx.de>
3815 * javax/swing/Timer.java,
3816 javax/swing/plaf/ActionMapUIResource.java,
3817 javax/swing/plaf/ButtonUI.java,
3818 javax/swing/plaf/ColorChooserUI.java,
3819 javax/swing/plaf/ColorUIResource.java,
3820 javax/swing/plaf/ComboBoxUI.java,
3821 javax/swing/plaf/ComponentInputMapUIResource.java,
3822 javax/swing/plaf/basic/BasicBorders.java:
3823 New versions from classpath.
3824 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
3825 javax/swing/plaf/basic/BasicSplitPaneUI.java:
3826 New file from classpath.
3827 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3828 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3829 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3830 javax/swing/plaf/doc-files/ComponentUI-1.dia,
3831 javax/swing/plaf/doc-files/ComponentUI-1.png:
3832 New binary files from classpath.
3834 2003-06-24 Michael Koch <konqueror@gmx.de>
3836 * java/io/LineNumberReader.java
3837 (skip): Dont do line number accounting here as this is already done in
3840 2003-06-21 Michael Koch <konqueror@gmx.de>
3843 (static): Load javaio lib if existing (only in classpath).
3844 (File): Revised documentation to show the correct argument name.
3845 (createTempFile): Partly merged with classpath.
3846 (compareTo): Simplified.
3847 (lastModified): Throw exception if time < 0.
3848 (deleteOnExit): Revised documentation.
3850 2003-06-21 Michael Koch <konqueror@gmx.de>
3852 * java/net/PlainSocketImpl.java:
3854 (PlainSocketImpl): Merged class documentaion with classpath.
3857 (PlainSocketImpl): New empty constructor.
3859 (setOption): Merged documentation from classpath.
3860 (getOption): Likewise.
3862 (connect): Likewise.
3866 (available): Likewise.
3870 (getInputStream): Made synchronozed to get sure that only one stream
3871 object can be created for this socket, merged documentation from
3873 (getOutputStream): Likewise.
3875 2003-06-21 Michael Koch <konqueror@gmx.de>
3877 * java/net/PlainSocketImpl.java:
3879 (static): New implicit method.
3880 (read): Made package private.
3883 2003-06-21 Michael Koch <konqueror@gmx.de>
3885 * java/util/SimpleTimeZone.java:
3886 Removed unneeded import, reformatting.
3888 2003-06-21 Michael Koch <konqueror@gmx.de>
3890 * java/text/DateFormat.java,
3891 java/text/SimpleDateFormat.java,
3892 java/util/Locale.java:
3893 New versions from classpath.
3895 2003-06-21 Michael Koch <konqueror@gmx.de>
3897 * javax/swing/SpinnerModel.java:
3898 New file from classpath.
3899 * javax/swing/border/LineBorder.java,
3900 javax/swing/border/SoftBevelBorder.java,
3901 javax/swing/plaf/BorderUIResource.java,
3902 javax/swing/plaf/basic/BasicBorders.java:
3903 New versions from classpath.
3904 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
3905 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3906 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3907 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3908 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3909 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
3910 New binary files from classpath.
3912 2003-06-21 Michael Koch <konqueror@gmx.de>
3914 * java/util/logging/LogRecord.java,
3915 java/util/logging/Logger.java,
3916 java/util/logging/SocketHandler.java,
3917 java/util/logging/SimpleFormatter.java,
3918 java/util/logging/Formatter.java,
3919 java/util/logging/ErrorManager.java,
3920 java/util/logging/Handler.java,
3921 java/util/logging/FileHandler.java,
3922 java/util/logging/LogManager.java,
3923 java/util/logging/Level.java,
3924 java/util/logging/ConsoleHandler.java,
3925 java/util/logging/StreamHandler.java,
3926 java/util/logging/LoggingPermission.java,
3927 java/util/logging/Filter.java,
3928 java/util/logging/MemoryHandler.java,
3929 java/util/logging/XMLFormatter.java:
3930 New files from classpath.
3932 2003-06-20 Michael Koch <konqueror@gmx.de>
3934 * java/io/ObjectStreamField.java
3935 (unshared): new member variable.
3936 (ObjectStreamField): New constructor.
3937 (isUnshared): New method.
3939 2003-06-20 Michael Koch <konqueror@gmx.de>
3941 * java/net/URLStreamHandler.java
3942 (hostsEqual): Rewritten.
3944 2003-06-20 Michael Koch <konqueror@gmx.de>
3946 * gnu/java/nio/MappedByteFileBuffer.java,
3947 gnu/java/nio/natMappedByteFileBuffer.cc:
3949 * java/nio/MappedByteBufferImpl.java:
3951 * gnu/java/nio/FileChannelImpl.java:
3952 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
3954 (ordinary_java_source_files): Removed
3955 gnu/java/nio/MappedByteFileBuffer.java and added
3956 java/nio/MappedByteBufferImpl.java.
3957 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
3958 * Makefile.in: Regenerated.
3960 2003-06-19 Michael Koch <konqueror@gmx.de>
3962 * gnu/java/nio/DatagramChannelImpl.java
3964 (blocking): New member variable.
3966 (DatagramChannelImpl): Throws IOException, initialize socket.
3967 (socket):Implemented.
3968 (implCloseSelectableChannel): Throws IOException, implemented.
3969 (implConfigureBlocking): Likewise.
3970 (connect): Likewise.
3971 (disconnect): Likewise.
3972 (isConnected): Likewise.
3975 (receive): Throws IOException.
3977 * gnu/java/nio/SocketChannelImpl.java
3978 (read): Implemented.
3979 (write): Implemented.
3981 2003-06-19 Michael Koch <konqueror@gmx.de>
3983 * javax/swing/JComponent.java,
3984 javax/swing/JInternalFrame.java,
3985 javax/swing/MenuSelectionManager.java,
3986 javax/swing/SwingUtilities.java,
3987 javax/swing/ToggleButtonModel.java:
3988 New versions from classpath.
3990 2003-06-19 Michael Koch <konqueror@gmx.de>
3992 * java/text/CollationElementIterator.java
3993 (NULLORDER): Initialize with -1 as JDK documentation says.
3995 2003-06-19 Michael Koch <konqueror@gmx.de>
3997 * java/net/HttpURLConnection.java,
3998 java/net/Inet4Address.java,
3999 java/net/Inet6Address.java,
4000 java/net/SocketImpl.java,
4001 java/net/URLClassLoader.java:
4002 Reworked import statements.
4003 * java/net/InetAddress.java
4004 (getByAddress): Simplified.
4005 * java/net/ServerSocket.java
4006 (ServerSocket): Moved special handling during bind operation to
4008 (bind): Handle different cases when trying to bind a socket.
4009 * java/net/URLConnection.java
4010 (getHeaderFieldDate): Merged with classpath.
4011 (getHeaderFieldInt): Likewise.
4013 2003-06-19 Michael Koch <konqueror@gmx.de>
4015 * java/util/zip/InflaterInputStream.java
4016 (InflaterInputStream): Throw NullPointerException if in is null (as
4019 2003-06-19 Michael Koch <konqueror@gmx.de>
4021 * java/awt/Font.java
4022 javax/swing/UIManager.java
4023 javax/swing/border/AbstractBorder.java
4024 javax/swing/border/BevelBorder.java
4025 javax/swing/border/Border.java
4026 javax/swing/border/CompoundBorder.java
4027 javax/swing/border/EmptyBorder.java
4028 javax/swing/border/EtchedBorder.java
4029 javax/swing/border/LineBorder.java
4030 javax/swing/border/MatteBorder.java
4031 javax/swing/border/TitledBorder.java
4032 javax/swing/plaf/BorderUIResource.java
4033 javax/swing/plaf/basic/BasicBorders.java
4034 javax/swing/plaf/basic/BasicButtonUI.java
4035 javax/swing/plaf/basic/BasicCheckBoxUI.java
4036 javax/swing/plaf/basic/BasicGraphicsUtils.java
4037 javax/swing/plaf/basic/BasicLabelUI.java
4038 javax/swing/plaf/basic/BasicRadioButtonUI.java
4039 javax/swing/plaf/basic/BasicToggleButtonUI.java:
4040 New versions from classpath.
4041 * javax/swing/border/SoftBevelBorder.java:
4042 New file from classpath.
4043 * javax/swing/border/doc-files/LineBorder-1.png,
4044 javax/swing/border/doc-files/BevelBorder-1.png,
4045 javax/swing/border/doc-files/BevelBorder-2.png,
4046 javax/swing/border/doc-files/BevelBorder-3.png,
4047 javax/swing/border/doc-files/EmptyBorder-1.png,
4048 javax/swing/border/doc-files/EtchedBorder-1.png,
4049 javax/swing/border/doc-files/EtchedBorder-2.png,
4050 javax/swing/border/doc-files/MatteBorder-1.png,
4051 javax/swing/border/doc-files/MatteBorder-2.png,
4052 javax/swing/border/doc-files/MatteBorder-3.png,
4053 javax/swing/border/doc-files/MatteBorder-4.png,
4054 javax/swing/border/doc-files/MatteBorder-5.png,
4055 javax/swing/border/doc-files/MatteBorder-6.png,
4056 javax/swing/border/doc-files/SoftBevelBorder-1.png,
4057 javax/swing/border/doc-files/SoftBevelBorder-2.png,
4058 javax/swing/border/doc-files/SoftBevelBorder-3.png,
4059 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
4060 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
4061 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
4062 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
4063 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
4064 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
4065 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
4066 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
4067 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
4068 New binary files from classpath.
4070 (awt_java_source_files): Added
4071 javax/swing/border/SoftBevelBorder.java.
4072 * Makefile.in: Regenerated.
4074 2003-06-19 Michael Koch <konqueror@gmx.de>
4076 * gnu/java/security/x509/X509Certificate.java
4077 (writeReplace): Merged from classpath.
4079 2003-06-19 Michael Koch <konqueror@gmx.de>
4081 * gnu/java/nio/FileChannelImpl.java
4082 (map_address): Made public.
4083 (FileChannelImpl): Merged with classpath.
4084 * gnu/java/nio/natFileChannelImpl.cc
4085 (nio_mmap_file): Commented out unused arguments.
4086 (nio_unmmap_file): Likewise.
4087 (niu_msync): Likewise.
4089 2003-06-19 Michael Koch <konqueror@gmx.de>
4091 * java/awt/image/IndexColorModel.java:
4092 New version from classpath.
4094 2003-06-18 Tom Tromey <tromey@redhat.com>
4096 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
4098 (isLoopbackAddress): Likewise.
4099 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
4102 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
4104 * java/lang/natVMSecurityManager.cc (getClassContext):
4105 Use maxlen instead of len for loop bound.
4107 2003-06-18 Michael Koch <konqueror@gmx.de>
4109 * gnu/java/nio/SelectorImpl.java
4110 (register): Use fd with value 0 for now, will be fixed later.
4111 * gnu/java/nio/ServerSocketChannelImpl.java
4113 (local_port): Removed.
4114 (InetSocketAddress): Removed.
4115 (ServerSocketChannelImpl): Just initialize internal socket object.
4116 (implCloseSelectableChannel): Close internal socket object.
4117 (implConfigureBlocking): Added comment.
4118 (accept): Use jaba.net stuff to accept socket.
4119 * gnu/java/nio/SocketChannelImpl.java
4121 (local_port): Removed.
4122 (InetSocketAddress): Removed.
4123 (SocketCreate): Removed.
4124 (SocketConnect): Removed.
4125 (SocketBind): Removed.
4126 (SocketListen): Removed.
4127 (SocketAvailable): Removed.
4128 (SocketClose): Removed.
4129 (SocketRead): Removed.
4130 (SocketWrite): Removed.
4131 (SocketChannelImpl): Just initialize internal socket object.
4132 (implCloseSelectableChannel): Close internal socket object.
4133 (implConfigureBlocking): Fixed implementation, added comment.
4134 (connect): Use internal socket object to connect.
4135 (socket): No need for sanity checks.
4136 (read): Comment out some stuff, this will be reimplemented in the next
4139 * gnu/java/nio/natFileChannelImpl.cc
4140 (nio_mmap_file): Line wrapped.
4141 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
4143 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
4144 * Makefile.in: Regenerated.
4146 2003-06-18 Michael Koch <konqueror@gmx.de>
4148 * java/util/Locale.java
4149 (equals): Merged from classpath.
4151 2003-06-18 Michael Koch <konqueror@gmx.de>
4153 * java/net/InetAddress.java:
4154 Reformatted to better match classpath's version.
4156 (equals): Simplified.
4157 * java/net/URLConnection.java
4158 (setDoInput): Revised documentation.
4159 (getDefaultUseCaches): Likewise.
4160 (setRequestProperty): Added @since tag.
4162 2003-06-17 Michael Koch <konqueror@gmx.de>
4164 * java/net/InetSocketAddress.java
4165 (InetSocketAddress): Use wildcard address if addr is null.
4166 (InetSocketAddress): Dont duplicate implementation.
4167 (InetSocketAddress): Throw exception when hostname is null.
4168 * java/net/Socket.java:
4170 (Socket): Throw exception when raddr is null, handle case when laddr
4173 2003-06-17 Michael Koch <konqueror@gmx.de>
4175 * java/nio/DirectByteBufferImpl.java
4176 (address): Made package private.
4177 (DirectByteBufferImpl): New constructor.
4178 * java/nio/natDirectByteBufferImpl.cc
4179 (allocateImpl): Moved to java.nio namespace, implemented.
4180 (freeImpl): Likewise.
4181 (getImpl): Likewise.
4182 (putImpl): Likewise.
4184 (_Jv_JNI_NewDirectByteBuffer): Implemented.
4185 (_Jv_JNI_GetDirectBufferAddress): Implemented.
4186 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
4188 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4190 * include/powerpc-signal.h: New File.
4191 * configure.in: Use it.
4192 * configure: Regenerated.
4194 2003-06-17 Michael Koch <konqueror@gmx.de>
4196 * java/util/Locale.java
4197 (getDisplayLanguage): Made it final.
4198 (getDisplayCountry): Likewise.
4199 (getDisplayVariant): Likewise.
4200 (getDisplayName): Likewise.
4202 2003-06-17 Michael Koch <konqueror@gmx.de>
4204 * java/util/PropertyResourceBundle.java:
4205 Removed unneeded import.
4207 2003-06-17 Michael Koch <konqueror@gmx.de>
4209 * java/util/prefs/AbstractPreferences.java,
4210 java/util/prefs/PreferencesFactory.java:
4211 Reworked imports, removed unused imports.
4212 * java/util/prefs/Preferences.java
4213 (systemNodeForPackage): Method takes a Class not an Object.
4214 (userNodeForPackage): Likewise.
4215 (nodeForPackage): Likewise.
4217 2003-06-17 Michael Koch <konqueror@gmx.de>
4219 * gnu/java/security/x509/X509Certificate.java:
4220 Explicitely import used classes.
4222 2003-06-17 Michael Koch <konqueror@gmx.de>
4224 * java/util/zip/ZipEntry.java,
4225 java/util/zip/ZipFile.java,
4226 java/util/zip/ZipInputStream.java,
4227 java/util/zip/ZipOutputStream.java:
4228 Reworked imports, only import used classes.
4230 2003-06-17 Michael Koch <konqueror@gmx.de>
4232 * gnu/java/lang/ArrayHelper.java,
4233 gnu/java/lang/ClassHelper.java:
4234 Reformatted to match classpath's versions.
4236 2003-06-14 Michael Koch <konqueror@gmx.de>
4238 * gnu/java/nio/FileChannelImpl.java
4239 (map_address): Removed incorrect comment.
4240 * gnu/java/nio/SelectorImpl.java
4241 (register): Remove code duplication and code for file channel handling.
4242 * gnu/java/nio/ServerSocketChannelImpl.java
4243 (serverSocket): Renamed from sock_object.
4244 (ServerSocketChannel): Initialize serverSocket.
4245 (socket): Return serverSocket.
4246 * gnu/java/nio/SocketChannelImpl.java
4247 (socket): Renamed from sock_object.
4248 (isConnectionPenging): Simplified.
4249 (socket): Return socket.
4250 2003-06-14 Michael Koch <konqueror@gmx.de>
4252 * java/security/BasicPermission.java:
4253 New version from classpath.
4255 2003-06-14 Michael Koch <konqueror@gmx.de>
4257 * javax/naming/directory/Attribute.java:
4258 New version from classpath.
4260 2003-06-14 Michael Koch <konqueror@gmx.de>
4262 * java/io/BufferedReader.java,
4263 java/io/FileOutputStream.java:
4264 New versions from classpath.
4266 2003-06-12 Andrew Haley <aph@redhat.com>
4268 * prims.cc (catch_segv): Create exception in handler.
4269 (catch_fpe): Likewise.
4270 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
4271 (_Jv_ThrowSignal): Remove.
4273 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
4274 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
4275 to nullp and arithexception.
4276 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4277 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4278 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4279 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4280 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4282 2003-06-11 Andrew Haley <aph@redhat.com>
4284 * jni.cc (_Jv_JNI_check_types): New.
4285 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
4286 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
4287 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
4288 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
4290 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
4293 2003-06-11 Tom Tromey <tromey@redhat.com>
4295 * java/lang/ClassLoader.java (loadClass): Not deprecated.
4296 * java/io/PrintStream.java: Not deprecated.
4298 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
4300 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
4301 (fillOval): implemented
4302 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
4303 (fillArc): implemented.
4304 * gnu/gcj/xlib/GC.java (drawArc): added native method.
4305 (fillArc): added native method.
4306 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
4307 (fillArc): added native method.
4309 2003-06-11 Michael Koch <konqueror@gmx.de>
4311 * java/awt/im/InputSubset.java:
4312 New version from classpath.
4314 2003-06-11 Michael Koch <konqueror@gmx.de>
4316 * javax/swing/AbstractAction.java,
4317 javax/swing/AbstractButton.java,
4318 javax/swing/AbstractCellEditor.java,
4319 javax/swing/AbstractListModel.java,
4320 javax/swing/BorderFactory.java,
4321 javax/swing/Box.java,
4322 javax/swing/BoxLayout.java,
4323 javax/swing/ButtonGroup.java,
4324 javax/swing/DefaultButtonModel.java,
4325 javax/swing/DefaultListModel.java,
4326 javax/swing/DefaultListSelectionModel.java,
4327 javax/swing/FocusManager.java,
4328 javax/swing/ImageIcon.java,
4329 javax/swing/InputMap.java,
4330 javax/swing/JApplet.java,
4331 javax/swing/JButton.java,
4332 javax/swing/JCheckBox.java,
4333 javax/swing/JCheckBoxMenuItem.java,
4334 javax/swing/JColorChooser.java,
4335 javax/swing/JComboBox.java,
4336 javax/swing/JComponent.java,
4337 javax/swing/JDesktopPane.java,
4338 javax/swing/JDialog.java,
4339 javax/swing/JEditorPane.java,
4340 javax/swing/JFileChooser.java,
4341 javax/swing/JFormattedTextField.java,
4342 javax/swing/JFrame.java,
4343 javax/swing/JLabel.java,
4344 javax/swing/JLayeredPane.java,
4345 javax/swing/JList.java,
4346 javax/swing/JMenuBar.java,
4347 javax/swing/JMenuItem.java,
4348 javax/swing/JOptionPane.java,
4349 javax/swing/JPanel.java,
4350 javax/swing/JPasswordField.java,
4351 javax/swing/JPopupMenu.java,
4352 javax/swing/JProgressBar.java,
4353 javax/swing/JRadioButton.java,
4354 javax/swing/JRadioButtonMenuItem.java,
4355 javax/swing/JRootPane.java,
4356 javax/swing/JScrollBar.java,
4357 javax/swing/JScrollPane.java,
4358 javax/swing/JSeparator.java,
4359 javax/swing/JSlider.java,
4360 javax/swing/JTabbedPane.java,
4361 javax/swing/JTable.java,
4362 javax/swing/JTextField.java,
4363 javax/swing/JToggleButton.java,
4364 javax/swing/JToolBar.java,
4365 javax/swing/JToolTip.java,
4366 javax/swing/JTree.java,
4367 javax/swing/JViewport.java,
4368 javax/swing/JWindow.java,
4369 javax/swing/KeyStroke.java,
4370 javax/swing/ListSelectionModel.java,
4371 javax/swing/LookAndFeel.java,
4372 javax/swing/RepaintManager.java,
4373 javax/swing/ScrollPaneLayout.java,
4374 javax/swing/SizeRequirements.java,
4375 javax/swing/SwingConstants.java,
4376 javax/swing/Timer.java,
4377 javax/swing/UIDefaults.java,
4378 javax/swing/UIManager.java,
4379 javax/swing/border/AbstractBorder.java,
4380 javax/swing/border/CompoundBorder.java,
4381 javax/swing/colorchooser/AbstractColorChooserPanel.java,
4382 javax/swing/colorchooser/ColorChooserComponentFactory.java,
4383 javax/swing/colorchooser/ColorSelectionModel.java,
4384 javax/swing/colorchooser/DefaultColorSelectionModel.java,
4385 javax/swing/event/AncestorEvent.java,
4386 javax/swing/event/HyperlinkEvent.java,
4387 javax/swing/event/InternalFrameAdapter.java,
4388 javax/swing/event/InternalFrameEvent.java,
4389 javax/swing/event/ListDataEvent.java,
4390 javax/swing/event/MouseInputAdapter.java,
4391 javax/swing/event/SwingPropertyChangeSupport.java,
4392 javax/swing/event/TableModelEvent.java,
4393 javax/swing/event/TreeWillExpandListener.java,
4394 javax/swing/event/UndoableEditEvent.java,
4395 javax/swing/filechooser/FileFilter.java,
4396 javax/swing/filechooser/FileSystemView.java,
4397 javax/swing/filechooser/FileView.java,
4398 javax/swing/plaf/BorderUIResource.java,
4399 javax/swing/plaf/basic/BasicDefaults.java,
4400 javax/swing/table/AbstractTableModel.java,
4401 javax/swing/table/DefaultTableCellRenderer.java,
4402 javax/swing/table/DefaultTableColumnModel.java,
4403 javax/swing/table/DefaultTableModel.java,
4404 javax/swing/table/TableColumn.java,
4405 javax/swing/text/JTextComponent.java,
4406 javax/swing/tree/AbstractLayoutCache.java,
4407 javax/swing/tree/DefaultMutableTreeNode.java,
4408 javax/swing/tree/DefaultTreeCellEditor.java,
4409 javax/swing/tree/DefaultTreeCellRenderer.java,
4410 javax/swing/tree/DefaultTreeModel.java,
4411 javax/swing/tree/DefaultTreeSelectionModel.java,
4412 javax/swing/tree/FixedHeightLayoutCache.java,
4413 javax/swing/tree/TreeCellEditor.java,
4414 javax/swing/tree/TreeModel.java,
4415 javax/swing/tree/TreeNode.java,
4416 javax/swing/tree/TreePath.java,
4417 javax/swing/tree/TreeSelectionModel.java,
4418 javax/swing/tree/VariableHeightLayoutCache.java,
4419 javax/swing/undo/AbstractUndoableEdit.java,
4420 javax/swing/undo/CompoundEdit.java,
4421 javax/swing/undo/StateEdit.java,
4422 javax/swing/undo/UndoManager.java,
4423 javax/swing/undo/UndoableEditSupport.java:
4424 New versions from classpath.
4425 * javax/swing/table/JTableHeader.java:
4426 New file from classpath.
4428 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
4429 * Makefile.in: Regenerated.
4431 2003-06-11 Michael Koch <konqueror@gmx.de>
4433 * java/nio/MappedByteBuffer.java,
4434 java/nio/channels/Channels.java,
4435 java/nio/channels/ServerSocketChannel.java,
4436 java/nio/channels/spi/AbstractSelector.java:
4437 Removed unneeded imports.
4439 2003-06-11 Michael Koch <konqueror@gmx.de>
4441 * java/net/DatagramSocket.java:
4442 Partly merged with classpath.
4444 2003-06-11 Michael Koch <konqueror@gmx.de>
4446 * java/awt/Frame.java,
4447 java/awt/Graphics.java,
4449 java/awt/Robot.java,
4450 java/awt/image/ColorModel.java:
4451 New versions from classpath.
4453 2003-06-10 Michael Koch <konqueror@gmx.de>
4455 * java/io/PrintStream.java:
4456 Merged version from classpath.
4457 (close): Removed sychronized keyword. This class is not garantied to
4461 2003-06-09 Tom Tromey <tromey@redhat.com>
4463 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
4465 (getDescent): Likewise, for "descent".
4467 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
4469 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
4470 (getMaxDescent): adjusted return value.
4471 (getAscent): modified to use metrics for 'O'.
4472 (getDescent): modified to use metrics for 'y'.
4474 2003-06-08 Anthony Green <green@redhat.com>
4476 * java/net/URLStreamHandler.java (sameFile): Fix port value
4478 * java/net/URL.java (handler): Make package private.
4479 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
4481 2003-06-07 Tom Tromey <tromey@redhat.com>
4483 For PR libgcj/11085:
4484 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
4485 Limit number of characters in numeric field when required.
4486 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
4487 Respect maximumIntegerDigits.
4489 2003-06-08 Michael Koch <konqueror@gmx.de>
4491 * java/net/Socket.java
4492 (Socket): Dont initialize inputShutdown and outputShutdown twice,
4493 call bind() and connect() to actually do the bind and connect tasks.
4494 (bind): Connect to canonical address if bindpoint is null, create
4495 socket and bind it to bindpoint.
4496 (connect): Check for exceptions.
4498 2003-06-08 Michael Koch <konqueror@gmx.de>
4500 * java/net/DatagramSocket.java
4501 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
4502 into the Multicast constructors.
4503 * java/net/DatagramSocketImpl.java
4504 (getOption): Removed.
4505 (setOption): Removed.
4506 * java/net/MulticastSocket.java
4507 (MulticastSocket): Call setReuseAddress (true).
4508 * java/net/SocketImpl.java
4509 (getOption): Removed.
4510 (setOption): Removed.
4512 2003-06-07 Jeff Sturm <jsturm@one-point.com>
4515 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
4516 Test for empty vector.
4518 2003-06-06 Mark Wielaard <mark@klomp.org>
4520 * java/security/Security.java (secprops): Initialize.
4521 (loadProviders): Return boolean.
4522 (static): Check result of loadProvider calls. If necessary
4523 display WARNING and fallback to Gnu provider.
4525 2002-06-06 James Clark <jjc@jclark.com>
4527 Fix for PR libgcj/8738:
4528 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
4529 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
4530 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
4531 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
4532 (write): Always decrease avail when count is increased.
4533 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
4534 and whether output buffer is full before increasing size.
4536 2002-06-06 Mark Wielaard <mark@klomp dot org>
4538 * java/io/PrintStream.java (writeChars(char[],int, int)):
4539 Check converter.havePendingBytes().
4540 (writeChars(String,int,int)): Likewise.
4541 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
4542 Check converter.havePendingBytes() and flush buffer when stalled.
4544 2003-06-07 Michael Koch <konqueror@gmx.de>
4547 (O_DSYNC): Define O_DSYNC on platforms not
4548 supporting O_FSYNC (newlib).
4550 2003-06-06 Mark Wielaard <mark@klomp.org>
4552 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
4555 2003-06-06 Michael Koch <konqueror@gmx.de>
4557 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4558 More compile fixes from my stupid work yesterday.
4560 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
4562 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
4563 if _IEEE_LIBM is undefined.
4565 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
4567 * libjava/include/posix.h (O_SYNC): Define if not available
4568 and a reasonable, perhaps more conservative, replacement exists.
4569 (O_DSYNC): Likewise.
4570 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
4572 2003-06-05 Michael Koch <konqueror@gmx.de>
4574 * javax/swing/plaf/BorderUIResource.java,
4575 javax/swing/plaf/basic/BasicDefaults.java,
4576 javax/swing/plaf/basic/BasicOptionPaneUI.java:
4577 More compile fixes for latest Border commit. I should not commit
4578 something in this heat here ...
4580 2003-06-05 Michael Koch <konqueror@gmx.de>
4582 * javax/swing/border/BevelBorder.java
4583 (BevelBorder): Removed.
4584 * javax/swing/border/EmptyBorder.java:
4586 (EmptyBorder): Removed.
4587 (getBorderInsets): Dont use l, r, t and b.
4588 * javax/swing/border/EtchedBorder.java
4589 (EtchedBorder): Removed.
4590 * javax/swing/border/LineBorder.java
4591 (LineBorder): Removed.
4592 * javax/swing/border/MatteBorder.java
4593 (MatteBorder): Removed.
4594 * javax/swing/border/TitledBorder.java
4595 (defaultBorder): Use other default for now.
4596 (defaultFont): Likewise.
4597 (defaultColor): Likewise.
4599 2003-06-05 Michael Koch <konqueror@gmx.de>
4601 * javax/swing/border/Border.java:
4602 New version from classpath.
4604 2003-06-05 Michael Koch <konqueror@gmx.de>
4606 * javax/swing/border/AbstractBorder.java,
4607 javax/swing/border/BevelBorder.java,
4608 javax/swing/border/CompoundBorder.java,
4609 javax/swing/border/EmptyBorder.java,
4610 javax/swing/border/EtchedBorder.java,
4611 javax/swing/border/LineBorder.java,
4612 javax/swing/border/MatteBorder.java,
4613 javax/swing/border/TitledBorder.java:
4614 New versions from Classpath.
4616 2003-06-05 Michael Koch <konqueror@gmx.de>
4618 * java/awt/Button.java,
4619 java/awt/Checkbox.java,
4620 java/awt/CheckboxMenuItem.java,
4621 java/awt/Choice.java,
4622 java/awt/Container.java,
4623 java/awt/Dialog.java,
4624 java/awt/EventQueue.java,
4625 java/awt/FileDialog.java,
4626 java/awt/Frame.java,
4627 java/awt/Label.java,
4630 java/awt/MenuItem.java,
4631 java/awt/Panel.java,
4632 java/awt/PopupMenu.java,
4633 java/awt/Rectangle.java,
4634 java/awt/ScrollPane.java,
4635 java/awt/Scrollbar.java,
4636 java/awt/TextArea.java,
4637 java/awt/TextField.java,
4638 java/awt/Window.java,
4639 java/awt/datatransfer/DataFlavor.java,
4640 java/awt/dnd/DragSource.java,
4641 java/awt/dnd/DragSourceContext.java,
4642 java/awt/event/HierarchyEvent.java,
4643 java/awt/event/MouseWheelEvent.java,
4644 java/awt/im/InputContext.java,
4645 java/awt/image/BufferedImage.java,
4646 java/awt/image/ComponentColorModel.java,
4647 java/awt/image/Raster.java,
4648 java/awt/image/WritableRaster.java,
4649 java/awt/peer/ComponentPeer.java,
4650 java/awt/print/PageFormat.java,
4651 java/awt/print/PrinterJob.java:
4652 New versions from Classpath.
4654 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
4656 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
4657 numberFormat.setParseIntegerOnly(true).
4659 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
4661 * include/posix-threads.h: Include <machine/pal.h> on OSF.
4663 2003-06-03 Andrew Haley <aph@redhat.com>
4665 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
4666 stack volatile to prevent optimization from removing it.
4668 2003-05-27 Michael Koch <konqueror@gmx.de>
4670 * java/util/zip/Deflater.java
4671 (FILTERED): Merged documentation from classpath.
4672 * java/util/zip/DeflaterOutputStream.java
4673 (DeflaterOutputStream): Merged documentation and argument validity
4674 check from classpath.
4675 (deflate): Merged documentation from classpath.
4677 * java/util/zip/Inflater.java
4678 (Inflater): Merged class documentation from classpath.
4679 (zstream): Reordered.
4680 (is_finished): Reordered.
4681 (dict_needed): Reordered.
4682 (Inflater): Reordered, merged documentation from classpath.
4684 (finalize): Merged documentation from classpath.
4685 (finished): Likewise.
4686 (getAdler): Likewise.
4687 (getRemaining): Likewise.
4688 (getTotalIn): Likewise.
4689 (getTotalOut): Likewise.
4690 (inflate): Likewise.
4691 (needsDictionary): Likewise.
4692 (needsInput): Likewise.
4694 (setDictionary): Likewise.
4695 (setInput): Likewise.
4697 2003-05-27 Michael Koch <konqueror@gmx.de>
4699 * java/net/URLConnection.java
4700 (getHeaderFieldInt): Merged with classpath.
4702 2003-05-27 Michael Koch <konqueror@gmx.de>
4704 * java/io/PrintStream.java
4705 (PrintStream): Reformatted.
4706 (PrintStream): New method, merged from classpath.
4707 (write): Reformatted.
4709 2003-05-27 Michael Koch <konqueror@gmx.de>
4711 * java/lang/System.java:
4712 Explicitely import needed classes.
4714 2003-05-26 Michael Koch <konqueror@gmx.de>
4716 * java/net/NetPermission.java,
4717 java/net/NetworkInterface.java,
4718 java/net/PasswordAuthentication.java,
4719 java/net/SocketPermission.java:
4720 New versions from classpath.
4722 2003-05-25 Michael Koch <konqueror@gmx.de>
4724 * java/io/PushbackInputStream.java,
4725 java/net/Authenticator.java,
4726 java/net/ContentHandler.java,
4727 java/net/ContentHandlerFactory.java,
4728 java/net/DatagramSocket.java,
4729 java/net/DatagramSocketImpl.java,
4730 java/net/DatagramSocketImplFactory.java,
4731 java/net/FileNameMap.java,
4732 java/net/SocketImplFactory.java,
4733 java/net/SocketOptions.java,
4734 java/net/URLStreamHandlerFactory.java:
4735 Merged new versions from classpath.
4737 2003-05-25 Michael Koch <konqueror@gmx.de>
4739 * java/awt/Checkbox.java,
4740 java/awt/Dialog.java,
4742 java/awt/Frame.java,
4743 java/awt/ScrollPaneAdjustable.java,
4744 java/awt/Scrollbar.java,
4745 java/awt/Window.java:
4746 New versions from classpath.
4748 2003-05-22 Jeff Sturm <jsturm@one-point.com>
4751 * java/io/ObjectInputStream (enableResolveObject):
4752 Fixed spelling of permission name.
4754 2003-05-20 Michael Koch <konqueror@gmx.de>
4756 * java/io/DataInputStream.java
4757 (convertFromUTF): Merged comment from classpath.
4758 * java/io/PrintStream.java
4759 (error_occured): Renamed from error, merged comment from classpath.
4760 (PrintStream): No need to initialized error.
4761 (checkError): Replace error with error_occurred.
4762 (setError): Likewise.
4764 2003-05-20 Michael Koch <konqueror@gmx.de>
4766 * java/io/DataInputStream.java:
4767 Reformatted, Replaced < and & with html entitites in documentation.
4768 * java/io/File.java:
4770 * java/io/PrintWriter.java:
4771 Moved class documentation.
4773 2003-05-20 Michael Koch <konqueror@gmx.de>
4775 * gnu/java/nio/ByteBufferImpl.java,
4776 gnu/java/nio/CharBufferImpl.java,
4777 gnu/java/nio/CharViewBufferImpl.java,
4778 gnu/java/nio/DirectByteBufferImpl.java,
4779 gnu/java/nio/DoubleBufferImpl.java,
4780 gnu/java/nio/DoubleViewBufferImpl.java,
4781 gnu/java/nio/FloatBufferImpl.java,
4782 gnu/java/nio/FloatViewBufferImpl.java,
4783 gnu/java/nio/IntBufferImpl.java,
4784 gnu/java/nio/IntViewBufferImpl.java,
4785 gnu/java/nio/LongBufferImpl.java,
4786 gnu/java/nio/LongViewBufferImpl.java,
4787 gnu/java/nio/natDirectByteBufferImpl.cc,
4788 gnu/java/nio/ShortBufferImpl.java,
4789 gnu/java/nio/ShortViewBufferImpl.java:
4790 Moved files to java/nio.
4791 * gnu/java/nio/SocketChannelImpl.java
4793 * java/nio/ByteBuffer.java,
4794 java/nio/CharBuffer.java,
4795 java/nio/DoubleBuffer.java,
4796 java/nio/FloatBuffer.java,
4797 java/nio/IntBuffer.java,
4798 java/nio/LongBuffer.java,
4799 java/nio/ShortBuffer.java:
4800 Dont import anything.
4801 * java/nio/ByteBufferImpl.java,
4802 java/nio/CharBufferImpl.java,
4803 java/nio/CharViewBufferImpl.java,
4804 java/nio/DirectByteBufferImpl.java,
4805 java/nio/DoubleBufferImpl.java,
4806 java/nio/DoubleViewBufferImpl.java,
4807 java/nio/FloatBufferImpl.java,
4808 java/nio/FloatViewBufferImpl.java,
4809 java/nio/IntBufferImpl.java,
4810 java/nio/IntViewBufferImpl.java,
4811 java/nio/LongBufferImpl.java,
4812 java/nio/LongViewBufferImpl.java,
4813 java/nio/natDirectByteBufferImpl.cc,
4814 java/nio/ShortBufferImpl.java,
4815 java/nio/ShortViewBufferImpl.java:
4816 Moved from gnu/java/nio.
4818 (ordinary_java_source_files): Moved files from gnu/java/nio to
4820 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
4822 * Makefile.in: Regenerated.
4824 2003-05-19 Michael Koch <konqueror@gmx.de>
4826 * java/util/Calendar.java
4827 (get): Not final anymore since JDK 1.4
4830 2003-05-19 Michael Koch <konqueror@gmx.de>
4832 * java/text/CollationKey.java:
4833 Merged copyright and dat from classpath.
4834 * java/text/RuleBasedCollator.java:
4835 Merged class documentation from classpath.
4837 2003-05-19 Michael Koch <konqueror@gmx.de>
4839 * java/nio/CharBuffer.java
4840 (toString): Compile fix.
4842 2003-05-19 Michael Koch <konqueror@gmx.de>
4844 * gnu/java/nio/ByteBufferImpl.java
4845 (putLong): Fixed conversion to bytes.
4846 (putDouble): Fixed conversion to bytes.
4847 * gnu/java/nio/DirectByteBufferImpl.java
4848 (putLong): Fixed conversion to bytes.
4849 (putDouble): Fixed conversion to bytes.
4850 * gnu/java/nio/FileLockImpl.java
4851 (isValid): Reformatted.
4852 * java/nio/Buffer.java
4853 (Buffer): Fixed off-by-one bug in handling mark.
4854 * java/nio/ByteBuffer.java:
4856 * java/nio/CharBuffer.java
4857 (toString): Don't use relative get to get string data.
4859 2003-05-16 Michael Koch <konqueror@gmx.de>
4861 * java/io/natFileDescriptorPosix.cc
4862 (open): Commented out the O_SYNC and O_DSYNC usage until its better
4865 2003-05-14 Michael Koch <konqueror@gmx.de>
4867 * gnu/java/nio/FileLockImpl.java
4868 (released): New member variable.
4869 (FileLockImpl): Initialize released.
4870 (releaseImpl): New native method.
4871 (release): Implemented.
4872 * gnu/java/nio/SelectorImpl.java: Reformatted.
4873 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
4874 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
4875 (accept): Throws IOException.
4876 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
4877 (implConfigureBlocking): Throws IOException.
4878 (connect): Likewise.
4881 * gnu/java/nio/natFileLockImpl.cc: New file.
4882 * java/nio/channels/FileLock.java: Reformatted.
4884 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
4885 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
4886 * Makefile.in: Regenerated.
4888 2003-05-13 Michael Koch <konqueror@gmx.de>
4890 * gnu/java/nio/CharViewBufferImpl.java
4891 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
4892 (get): Shift bits to the right direction.
4894 * gnu/java/nio/DoubleViewBufferImpl.java
4895 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
4896 (get): Shift bits to the right direction.
4898 * gnu/java/nio/FloatViewBufferImpl.java
4899 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
4900 (get): Shift bits to the right direction.
4902 * gnu/java/nio/IntViewBufferImpl.java
4903 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
4904 (get): Shift bits to the right direction.
4906 * gnu/java/nio/LongViewBufferImpl.java
4907 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
4908 (get): Shift bits to the right direction.
4910 * gnu/java/nio/ShortViewBufferImpl.java
4911 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
4912 (get): Shift bits to the right direction.
4915 2003-05-13 Michael Koch <konqueror@gmx.de>
4917 * gnu/java/nio/natDirectByteBufferImpl.cc
4918 (allocateImpl): jlong -> RawData*.
4919 (freeImpl): Likewise.
4921 2003-05-13 Michael Koch <konqueror@gmx.de>
4923 * java/nio/channels/FileChannel.java
4924 (MapMode.m): Made it package-private to match JDK 1.4.
4925 * java/nio/charset/Charset.java
4926 (decode): Made it final to match JDK 1.4.
4928 2003-05-13 Michael Koch <konqueror@gmx.de>
4930 * java/io/FileDescriptor.java
4931 (SYNC): New constant.
4933 (getLength): Renamed from lenght() to match classpath's
4934 FileDescriptor.java.
4935 * java/io/RandomAccessFile.java
4936 (RandomAccessFile): Removed unneeded mode check, implemented mode
4937 "rws" and "rwd", merged documentation from classpath.
4938 (setLength): Reformatted.
4939 (length): Use new getLength() of FileDescriptor.
4940 * java/io/natFileDescriptorEcos.cc
4941 (getLength): Renamed from length().
4942 * java/io/natFileDescriptorPosix.cc
4943 (open): Implemented support for SYNC and DSYNC.
4944 (seek): Use getLength() instead of length().
4945 (getLength): Renamed from length().
4946 * java/io/natFileDescriptorWin32.cc
4947 (getLength): Renamed from length().
4948 (seek): Use getLength() instead of length().
4949 (available): Likewise.
4950 * gnu/java/nio/natFileChannelImpl.cc
4951 (size): Use getLength() instead of length().
4953 2003-05-13 Michael Koch <konqueror@gmx.de>
4955 * gnu/java/nio/ByteBufferImpl.java
4956 (ByteBufferImpl): All constructors revised.
4957 (slice): Reimplemented.
4958 (duplicate): Reimplemented.
4959 (asReadOnlyBuffer): Reimplemented.
4960 * java/nio/ByteBuffer.java:
4962 (array_offset): Renamed from "offset" to match all other buffer
4964 (ByteBuffer): All constructors revised.
4965 (allocateDirect): Implemented.
4966 (allocate): New implementation, documentation reworked.
4968 (get): Documentation reworked.
4969 (put): New implementation, documentation reworked.
4970 (hasArray): Documentation reworked.
4971 (arrayOffset): Likewise.
4972 (hashCode): Likewise.
4974 (compareTo): Likewise.
4976 (compact): Likewise.
4977 (isDirect): Likewise.
4979 (duplicate): Likewise.
4980 (asReadOnlyBuffer): Likewise.
4982 (ordinary_java_source_files):
4983 Added gnu/java/nio/DirectByteBufferImpl.java.
4985 Added gnu/java/nio/natDirectByteBufferImpl.cc.
4986 * Makefile.in: Regenerated.
4988 2003-05-12 Michael Koch <konqueror@gmx.de>
4990 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
4991 (nio_get_*): Removed.
4992 (nio_put_*): Removed.
4993 (as*Buffer): Implemented.
4994 (compact): Implemented.
4995 (get): Documentation added.
4996 (put): Documentation added.
4997 (get*): Newly implemented.
4998 (put*): Newly implemented.
4999 * gnu/java/nio/CharBufferImpl.java: Reformatted.
5000 (CharBufferImpl): Revised.
5001 (slice): New implementation.
5002 (duplicate): New implementation.
5003 (compact): New implementation.
5004 (asReadOnlyBuffer): New implementation.
5005 (get): Documentation revised.
5006 (order): Return native byte order.
5007 * gnu/java/nio/DirectByteBufferImpl.java
5008 (allocateDirect): objects can be null not 0.
5009 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
5010 (DoubleBufferImpl): Revised.
5011 (slice): New implementation.
5012 (duplicate): New implementation.
5013 (compact): New implementation.
5014 (asReadOnlyBuffer): New implementation.
5015 (get): Documentation revised.
5016 (order): Return native byte order.
5017 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
5018 (FloatBufferImpl): Revised.
5019 (slice): New implementation.
5020 (duplicate): New implementation.
5021 (compact): New implementation.
5022 (asReadOnlyBuffer): New implementation.
5023 (get): Documentation revised.
5024 (order): Return native byte order.
5025 * gnu/java/nio/IntBufferImpl.java: Reformatted.
5026 (IntBufferImpl): Revised.
5027 (slice): New implementation.
5028 (duplicate): New implementation.
5029 (compact): New implementation.
5030 (asReadOnlyBuffer): New implementation.
5031 (get): Documentation revised.
5032 (order): Return native byte order.
5033 * gnu/java/nio/LongBufferImpl.java: Reformatted.
5034 (LongBufferImpl): Revised.
5035 (slice): New implementation.
5036 (duplicate): New implementation.
5037 (compact): New implementation.
5038 (asReadOnlyBuffer): New implementation.
5039 (get): Documentation revised.
5040 (order): Return native byte order.
5041 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
5042 (ShortBufferImpl): Revised.
5043 (slice): New implementation.
5044 (duplicate): New implementation.
5045 (compact): New implementation.
5046 (asReadOnlyBuffer): New implementation.
5047 (get): Documentation revised.
5048 (order): Return native byte order.
5049 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
5050 (CharBuffer): Revised.
5052 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
5053 (DoubleBuffer): Revised.
5054 (allocateDirect): Removed.
5056 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
5057 (FloatBuffer): Revised.
5058 (allocateDirect): Removed.
5060 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
5061 (IntBuffer): Revised.
5062 (allocateDirect): Removed.
5064 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
5065 (LongBuffer): Revised.
5066 (allocateDirect): Removed.
5068 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
5069 (ShortBuffer): Revised.
5070 (allocateDirect): Removed.
5072 * gnu/java/nio/natByteBufferImpl.cc: Removed.
5073 * gnu/java/nio/natCharBufferImpl.cc: Removed.
5075 (ordinary_java_source_files): Added the following files:
5076 gnu/java/nio/CharViewBufferImpl.java,
5077 gnu/java/nio/DoubleViewBufferImpl.java,
5078 gnu/java/nio/FloatViewBufferImpl.java,
5079 gnu/java/nio/IntViewBufferImpl.java,
5080 gnu/java/nio/LongViewBufferImpl.java,
5081 gnu/java/nio/ShortViewBufferImpl.java
5082 (nat_source_files): Removed the following files:
5083 gnu/java/nio/natByteBufferImpl.cc,
5084 gnu/java/nio/natCharBufferImpl.cc
5085 * Makefile.in: Regenerated.
5087 2003-05-12 Michael Koch <konqueror@gmx.de>
5089 * gnu/java/nio/CharViewBufferImpl.java,
5090 gnu/java/nio/DirectByteBufferImpl.java,
5091 gnu/java/nio/DoubleViewBufferImpl.java,
5092 gnu/java/nio/FloatViewBufferImpl.java,
5093 gnu/java/nio/IntViewBufferImpl.java,
5094 gnu/java/nio/LongViewBufferImpl.java,
5095 gnu/java/nio/ShortViewBufferImpl.java,
5096 gnu/java/nio/natDirectByteBufferImpl.cc:
5097 New files, not yet to be compiled.
5099 2003-05-10 Michael Koch <konqueror@gmx.de>
5101 * javax/swing/plaf/ButtonUI.java,
5102 javax/swing/plaf/ColorUIResource.java,
5103 javax/swing/plaf/ComponentUI.java,
5104 javax/swing/plaf/DimensionUIResource.java,
5105 javax/swing/plaf/FontUIResource.java,
5106 javax/swing/plaf/IconUIResource.java,
5107 javax/swing/plaf/InsetsUIResource.java,
5108 javax/swing/plaf/LabelUI.java,
5109 javax/swing/plaf/ListUI.java,
5110 javax/swing/plaf/OptionPaneUI.java,
5111 javax/swing/plaf/PanelUI.java,
5112 javax/swing/plaf/TabbedPaneUI.java,
5113 javax/swing/plaf/TextUI.java,
5114 javax/swing/plaf/TreeUI.java,
5115 javax/swing/plaf/ViewportUI.java,
5116 javax/swing/plaf/basic/BasicBorders.java,
5117 javax/swing/plaf/basic/BasicButtonUI.java,
5118 javax/swing/plaf/basic/BasicCheckBoxUI.java,
5119 javax/swing/plaf/basic/BasicDefaults.java,
5120 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5121 javax/swing/plaf/basic/BasicIconFactory.java,
5122 javax/swing/plaf/basic/BasicLabelUI.java,
5123 javax/swing/plaf/basic/BasicListUI.java,
5124 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5125 javax/swing/plaf/basic/BasicPanelUI.java,
5126 javax/swing/plaf/basic/BasicRadioButtonUI.java,
5127 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5128 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5129 javax/swing/plaf/basic/BasicTextUI.java,
5130 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5131 javax/swing/plaf/basic/BasicTreeUI.java,
5132 javax/swing/plaf/basic/BasicViewportUI.java,
5133 javax/swing/plaf/metal/MetalLookAndFeel.java:
5134 New versions from classpath. This adds copyrights to all files and
5135 some serialVersionUIDs.
5137 2003-05-10 Michael Koch <konqueror@gmx.de>
5139 * java/nio/CharBuffer.java
5140 (offset): Make it package-private.
5141 (backing_buffer): Likewise.
5142 * java/nio/DoubleBuffer.java
5143 (offset): Make it package-private.
5144 (backing_buffer): Likewise.
5146 * java/nio/FloatBuffer.java
5147 (offset): Make it package-private.
5148 (backing_buffer): Likewise.
5149 * java/nio/IntBuffer.java
5150 (offset): Make it package-private.
5151 (backing_buffer): Likewise.
5152 * java/nio/LongBuffer.java
5153 (offset): Make it package-private.
5154 (backing_buffer): Likewise.
5155 * java/nio/ShortBuffer.java
5156 (offset): Make it package-private.
5157 (backing_buffer): Likewise.
5159 2003-05-10 Michael Koch <konqueror@gmx.de>
5161 * java/nio/CharBuffer.java
5162 (put): Fixed precondtion check.
5163 (toString): Make it work without backing array.
5164 (put): Skip one level of method calling.
5166 2003-05-10 Michael Koch <konqueror@gmx.de>
5168 * java/security/Identity.java,
5169 java/security/IdentityScope.java,
5170 java/security/Key.java,
5171 java/security/KeyPair.java,
5172 java/security/PrivateKey.java,
5173 java/security/Provider.java,
5174 java/security/PublicKey.java,
5175 java/security/SecureRandom.java,
5176 java/security/SecureRandomSpi.java,
5177 java/security/SignedObject.java,
5178 java/security/Signer.java,
5179 java/security/cert/Certificate.java,
5180 java/security/cert/PKIXCertPathBuilderResult.java,
5181 java/security/cert/X509Certificate.java:
5182 New versions from classpath.
5184 2003-05-09 Tom Tromey <tromey@redhat.com>
5186 * Makefile.in: Rebuilt.
5187 * Makefile.am (nat_source_files): Removed old files.
5188 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
5189 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
5190 * gnu/java/nio/natIntBufferImpl.cc: Removed.
5191 * gnu/java/nio/natLongBufferImpl.cc: Removed.
5192 * gnu/java/nio/natShortBufferImpl.cc: Removed.
5194 2003-05-09 Michael Koch <konqueror@gmx.de>
5196 * gnu/java/nio/ByteBufferImpl.java
5197 (nio_cast): Removed.
5198 (ByteBufferImpl): Removed.
5199 (nio_get_Byte): Removed.
5200 (nio_put_Byte): Removed.
5201 (asByteBuffer): Removed.
5202 (asCharBuffer): Removed implementation and throw exception.
5203 (asShortBuffer): Likewise.
5204 (asIntBuffer): Likewise.
5205 (asLongBuffer): Likewise.
5206 (asFloatBuffer): Likewise.
5207 (asDoubleBuffer): Likewise.
5208 * gnu/java/nio/CharBufferImpl.java
5209 (CharBufferImpl): Removed.
5210 (nio_get_Byte): Removed.
5211 (nio_put_Byte): Removed.
5212 (asByteBuffer): Removed.
5213 * gnu/java/nio/DoubleBufferImpl.java
5214 (DoubleBufferImpl): Removed.
5215 (nio_get_Byte): Removed.
5216 (nio_put_Byte): Removed.
5217 (asByteBuffer): Removed.
5218 * gnu/java/nio/FloatBufferImpl.java
5219 (FloatBufferImpl): Removed.
5220 (nio_get_Byte): Removed.
5221 (nio_put_Byte): Removed.
5222 (asByteBuffer): Removed.
5223 * gnu/java/nio/IntBufferImpl.java
5224 (IntBufferImpl): Removed.
5225 (nio_get_Byte): Removed.
5226 (nio_put_Byte): Removed.
5227 (asByteBuffer): Removed.
5228 * gnu/java/nio/LongBufferImpl.java
5229 (LongBufferImpl): Removed.
5230 (nio_get_Byte): Removed.
5231 (nio_put_Byte): Removed.
5232 (asByteBuffer): Removed.
5233 * gnu/java/nio/ShortBufferImpl.java
5234 (ShortBufferImpl): Removed.
5235 (nio_get_Byte): Removed.
5236 (nio_put_Byte): Removed.
5237 (asByteBuffer): Removed.
5238 * gnu/java/nio/natByteBufferImpl.cc
5239 (nio_cast): Removed.
5240 (nio_get_Byte): Removed.
5241 (nio_put_Byte): Removed.
5242 * gnu/java/nio/natCharBufferImpl.cc
5243 (nio_get_Byte): Removed.
5244 (nio_put_Byte): Removed.
5246 2003-05-09 Michael Koch <konqueror@gmx.de>
5248 * java/net/JarURLConnection.java
5249 (getJarEntry): Merged documentation from classpath.
5250 (getJarFile): Likewise.
5251 (getMainAttributes): Likewise.
5252 (getAttributes): Likewise.
5253 (getManifest): Likewise.
5254 (getCertificates): Reformatted.
5255 * java/net/URLConnection.java:
5256 Little classpath merge.
5258 2003-05-09 Michael Koch <konqueror@gmx.de>
5260 * java/io/DataOutputStream.java
5261 (writeShort): Made it synchronized.
5262 (writeChar): Likewise.
5263 (writeInt): Likewise.
5264 (writeLong): Liekwise.
5265 (writeUTF): Made it synchronized, renamed argument to match classpath.
5266 * java/io/InputStreamReader.java
5267 (converter): Added documentation.
5268 (read): Merged documentation from classpath.
5269 * java/io/OutputStreamWriter.java
5270 (OutputStreamWriter): Merged documentation from classpath.
5271 (close): Reformatted.
5272 (getEncoding): Likewise.
5274 (write): Merged documentation from classpath, reformatted.
5276 2003-05-08 Tom Tromey <tromey@redhat.com>
5278 * configure.host <powerpc64*-*>: Set with_libffi_default and
5279 libgcj_interpreter to "yes".
5281 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
5283 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
5285 2003-05-06 Tom Tromey <tromey@redhat.com>
5287 * verify.cc: Reverted previous patch.
5289 2003-05-06 Michael Koch <konqueror@gmx.de>
5291 * java/io/DataOutputStream.java
5292 (write): Renamed argument to "value", merged documentation from
5294 (writeBoolean): Likewise.
5295 (writeByte): Likewise.
5296 (writeShort): Likewise.
5297 (writeChar): Likewise.
5298 (writeInt): Likewise.
5299 (writeLong): Likewise.
5300 (writeFloat): Likewise.
5301 (writeDouble): Likewise.
5302 (writeBytes): Likewise.
5303 (writeChars): Likewise.
5304 (writeUTF): Likewise.
5306 (performDelete): Added documentation.
5307 (performList): Likewise.
5308 (performMkdir): Likewise.
5309 (performSetReadOnly): Likewise.
5310 (performRenameTo): Likewise.
5311 (performSetLastModified): Likewise.
5312 (delete): Made it sychronized.
5313 (renameTo): Made it sychronized.
5314 (equals): Reformatted.
5315 (isHidden): Likewise.
5316 (listFiles): Likewise.
5317 (setReadOnly): Likewise.
5318 (listRoots): Likewise.
5319 (setLastModified): Likewise.
5320 (checkRead): Likewise.
5321 (checkWrite): Likewise.
5322 * java/io/FileInputStream.java
5323 (skip): Made it sychronized, merged from classpath.
5324 * java/io/FileOutputStream.java
5325 (write): Merged from classpath.
5326 * java/io/InputStreamReader.java:
5327 (InputStreamReader): Merged documentation from classpath.
5329 2003-05-05 Michael Koch <konqueror@gmx.de>
5331 * java/net/NetworkInterface.java
5332 (networkInterfaces): Removed.
5333 (getByName): Use getRealNetworkInterfaces() instead of
5335 (getByInetAddress): Likewise.
5336 (getNetworkInterfaces): Likewise.
5337 (toString): Fix output of addresses of an interface.
5339 2003-05-05 Michael Koch <konqueror@gmx.de>
5341 * java/io/DataInputStream.java:
5342 Merged new documentation from classpath.
5344 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
5346 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
5348 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
5349 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
5350 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
5351 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
5352 * gnu/awt/gtk/GtkMainThread.java: Likewise.
5353 * gnu/awt/gtk/GtkToolkit.java: Likewise.
5354 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
5355 * java/security/Key.java: Likewise.
5356 * java/security/PrivateKey.java: Likewise.
5357 * java/security/Provider.java: Likewise.
5358 * java/security/PublicKey.java: Likewise.
5360 2003-05-02 Michael Koch <konqueror@gmx.de>
5363 (create): Doesnt throws any exceptions.
5364 * java/net/URLConnection.java
5365 (URLConnection): Commend added.
5366 (getExpiration): The header field is called "expires" not
5368 (getHeaderField): Merged documentation with classpath.
5369 (getHeaderFieldInt): Likewise.
5370 (getHeaderFieldDate): Likewise.
5371 (getHeaderFieldKey): Likewise.
5372 (getPermission): Likewise.
5373 (setDefaultUseCaches): Likewise.
5374 (setRequestProperty): Likewise.
5375 (addRequestProperty): Likewise.
5376 (getRequestProperty): Likewise.
5377 (getRequestProperties): Likewise.
5378 (setDefaultRequestProperty): Likewise.
5379 (getDefaultRequestProperty): Likewise.
5380 (guessContentTypeFromStream): Likewise.
5381 (getFileNameMap): Likewise.
5382 (setFileNameMap): Likewise.
5383 (setDoInput): Merged implementation and documentation with classpath.
5384 (setDoOutput): Likewise.
5385 (setAllowUserInteraction): Likewise.
5386 (setDefaultAllowUserInteraction): Likewise.
5387 (setContentHandlerFactory): Made it synchronized, merged documentation
5389 (guessContentTypeFromName): Renamed argument fname to filename to
5390 match classpath, merged documentation with classpath.
5392 2003-05-02 Michael Koch <konqueror@gmx.de>
5394 * java/net/JarURLConnection.java
5395 (JarURLConnection): Class documentation merged with classpath.
5396 (getJarFileURL): Moved and documentation merged with classpath.
5397 (getEntryName): Likewise.
5398 (JarURLConnection): Documentation merged with classpath.
5399 (getJarEntry): Likewise.
5400 (getJarFile): Likewise.
5401 * java/net/PlainDatagramSocketImpl.java:
5402 Class documentation moved.
5403 * java/net/URLConnection.java
5404 (fileNameMap): Moved and documentation merged with classpath.
5405 (factory): Likewise.
5406 (defaultAllowUserInteraction): Likewis.
5407 (defaultUseCaches): Likewise.
5408 (allowUserInteraction): Likewise.
5409 (connected): Likewise.
5411 (connect): Documentation merged with classpath.
5413 (getContentLength): Likewise.
5414 (getContentType): Likewise.
5415 (getContentEncoding): Likewise.
5416 (getExpiration): Likewise.
5417 (getDate): Likewise.
5418 (getLastModified): Likewise.
5419 (getHeaderField): Likewise.
5420 (getContent): Likewise.
5421 (getPermission): Likewise.
5422 (getInputStream): Likewise.
5423 (getOutputStream): Likewise.
5424 (toString): Likewise.
5425 (getDoInput): Likewise.
5426 (getDoOutput): Likewise.
5427 (setAllowUserInteraction): Likewise.
5428 (getAllowUserInteraction): Likewise.
5429 (setDefaultAllowUserInteraction): Likewise.
5430 (getDefaultAllowUserInteraction): Likewise.
5431 (setUseCaches): Likewise.
5432 (getUseCaches): Likewise.
5433 (setIfModifiedSince): Likewise.
5434 (getIfModifiedSince): Likewise.
5435 (setDefaultRequestProperty): Likewise.
5436 (getDefaultRequestProperty): Likewise.
5437 (setContentHandlerFactory): Likewise.
5438 (setFileNameMap): Likewise.
5440 2003-05-02 Michael Koch <konqueror@gmx.de>
5442 * java/net/InetAddress.java:
5443 Merged class documentation with classpath.
5444 * java/net/JarURLConnection.java:
5445 Explicitely import all used classes.
5446 * java/net/URL.java:
5448 * java/net/ServerSocket.java,
5449 java/net/Socket.java:
5450 New versions from classpath.
5452 2003-05-02 Michael Koch <konqueror@gmx.de>
5454 * gnu/java/nio/FileChannelImpl.java
5455 (read): New implementation.
5456 (implRead): New methods.
5457 (write): New implementation, call other write insteal of read method.
5458 (implWrite): New methods.
5459 (map): Added comment.
5460 (transferFrom): Implemented.
5461 (transferTo): Implemented.
5462 (lock): Added checks to throw exceptions.
5463 (truncate): Added check to throw exception.
5464 * gnu/java/nio/natFileChannelImpl.cc
5465 (implRead): New method.
5466 (implWrite): New method.
5467 * java/nio/ByteBuffer.java
5468 (hashCode): Fixed comment.
5469 (get): Fixed exception documentation.
5470 (put): Fixed exception documentation.
5471 * java/nio/CharBuffer.java:
5472 Added comment for later optimizations.
5474 2003-04-30 Tom Tromey <tromey@redhat.com>
5477 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
5479 (type::compatible): Use _Jv_IsAssignableFrom.
5480 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
5481 (_Jv_IsAssignableFrom): Work even when source or target class is
5484 2003-04-30 Michael Koch <konqueror@gmx.de>
5486 * java/text/BreakIterator.java
5487 (clone): New method.
5489 2003-04-30 Michael Koch <konqueror@gmx.de>
5491 * java/text/CollationElementIterator.java,
5492 java/text/CollationKey.java,
5493 java/text/RuleBasedCollator.java:
5494 Merged copyright and documentation from classpath and
5495 rearranged some code. No code changes done.
5497 2003-04-30 Michael Koch <konqueror@gmx.de>
5499 * java/util/regex/Matcher.java
5500 (pattern): New member variable.
5501 (appendReplacement): New method.
5502 (appendTail): New method.
5505 (group): New method.
5506 (replaceFirst): Added documentation.
5507 (replaceAll): Added documentation.
5508 (groupCount): New method.
5509 (lookingAt): New method.
5510 (matches): New method.
5511 (reset): New method.
5512 (start): New method.
5513 * java/util/regex/Pattern.java
5514 (serialVersionUID): New constant.
5515 (CANON_EQ): New constant.
5516 (CASE_INSENSITIVE): New constant.
5517 (COMMENTS): New constant.
5518 (DOTALL): New constant.
5519 (MULTILINE): New constant.
5520 (UNICODE_CASE): New constant.
5521 (UNIX_LINES): New constant.
5522 (regex): New member variable.
5523 (flags): New member variable.
5524 (Pattern): New method.
5525 (compile): Documentation added.
5526 (flags): New method.
5527 (matches): Documentation added.
5528 (matcher): Documentation added.
5529 (split): Documentation added.
5530 (pattern): New method.
5532 2003-04-30 Michael Koch <konqueror@gmx.de>
5534 * gnu/java/security/Engine.java,
5535 gnu/java/security/OID.java,
5536 gnu/java/security/der/BitString.java,
5537 gnu/java/security/der/DER.java,
5538 gnu/java/security/der/DERReader.java,
5539 gnu/java/security/der/DERValue.java,
5540 gnu/java/security/der/DERWriter.java,
5541 gnu/java/security/provider/DSAKeyFactory.java,
5542 gnu/java/security/provider/X509CertificateFactory.java,
5543 gnu/java/security/x509/X500DistinguishedName.java,
5544 gnu/java/security/x509/X509CRL.java,
5545 gnu/java/security/x509/X509CRLEntry.java,
5546 gnu/java/security/x509/X509Certificate.java,
5547 java/security/cert/CRLSelector.java,
5548 java/security/cert/CertPathBuilder.java,
5549 java/security/cert/CertPathBuilderResult.java,
5550 java/security/cert/CertPathBuilderSpi.java,
5551 java/security/cert/CertPathParameters.java,
5552 java/security/cert/CertPathValidator.java,
5553 java/security/cert/CertPathValidatorResult.java,
5554 java/security/cert/CertPathValidatorSpi.java,
5555 java/security/cert/CertSelector.java,
5556 java/security/cert/CertStore.java,
5557 java/security/cert/CertStoreParameters.java,
5558 java/security/cert/CertStoreSpi.java,
5559 java/security/cert/CollectionCertStoreParameters.java,
5560 java/security/cert/LDAPCertStoreParameters.java,
5561 java/security/cert/PKIXBuilderParameters.java,
5562 java/security/cert/PKIXCertPathBuilderResult.java,
5563 java/security/cert/PKIXCertPathChecker.java,
5564 java/security/cert/PKIXCertPathValidatorResult.java,
5565 java/security/cert/PKIXParameters.java,
5566 java/security/cert/PolicyNode.java,
5567 java/security/cert/PolicyQualifierInfo.java,
5568 java/security/cert/TrustAnchor.java,
5569 javax/security/auth/x500/X500Principal.java:
5570 New files from classpath.
5571 * gnu/java/io/ASN1ParsingException.java,
5572 gnu/java/io/Base64InputStream.java,
5573 gnu/java/security/der/DEREncodingException.java,
5574 gnu/java/security/provider/DSAParameters.java,
5575 gnu/java/security/provider/DSASignature.java,
5576 gnu/java/security/provider/Gnu.java,
5577 gnu/java/security/provider/GnuDSAPrivateKey.java,
5578 gnu/java/security/provider/GnuDSAPublicKey.java,
5579 java/security/AlgorithmParameterGenerator.java,
5580 java/security/AlgorithmParameters.java,
5581 java/security/KeyFactory.java,
5582 java/security/KeyPairGenerator.java,
5583 java/security/KeyStore.java,
5584 java/security/MessageDigest.java,
5585 java/security/SecureClassLoader.java,
5586 java/security/SecureRandom.java,
5587 java/security/Security.java,
5588 java/security/Signature.java,
5589 java/security/cert/Certificate.java,
5590 java/security/cert/CertificateFactory.java,
5591 java/security/cert/CertificateFactorySpi.java,
5592 java/security/cert/X509CRL.java,
5593 java/security/cert/X509Certificate.java,
5594 java/security/spec/DSAPublicKeySpec.java:
5595 New versions from classpath.
5596 * gnu/java/security/provider/DERReader.java,
5597 gnu/java/security/provider/DERWriter.java,
5598 java/security/Engine.java: Removed.
5600 (java_source_files, javax_source_files): Added new files.
5601 * Makefile.in: Regenerated.
5603 2003-04-29 Michael Koch <konqueror@gmx.de>
5605 * javax/swing/JTable.java
5606 (AUTO_RESIZE_ALL_COLUMNS): New constant.
5607 (AUTO_RESIZE_LAST_COLUMN): New constant.
5608 (AUTO_RESIZE_NEXT_COLUMN): New constant.
5609 (AUTO_RESIZE_OFF): New constant.
5610 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
5611 (JTable): New method.
5612 (columnAdded): New method.
5613 (columnMarginChanged): New method.
5614 (columnMoved): New method.
5615 (columnRemoved): New method.
5616 (columnSelectionChanged): New method.
5617 (editingCanceled): New method.
5618 (editingStopped): New method.
5619 (getColumnModel): New method.
5620 (getPreferredScrollableViewportSize): New method.
5621 (getScrollableBlockIncrement): New method.
5622 (getScrollableTracksViewportHeight): New method.
5623 (getScrollableTracksViewportWidth): New method.
5624 (getScrollableUnitIncrement): New method.
5625 (getSelectedRow): New method.
5626 (getSelectionModel): New method.
5627 (tableChanged): New method.
5628 (setModel): New method.
5629 (setSelectionMode): New method.
5630 (setSelectionModel): New method.
5631 (setShowGrid): New method.
5632 (valueChanged): New method.
5633 * javax/swing/text/DefaultEditorKit.java
5634 (backwardAction): New constant.
5635 (beepAction): New constant.
5636 (beginAction): New constant.
5637 (beginLineAction): New constant.
5638 (beginParagraphAction): New constant.
5639 (beginWordAction): New constant.
5640 (copyAction): New constant.
5641 (cutAction): New constant.
5642 (defaultKeyTypedAction): New constant.
5643 (deleteNextCharAction): New constant.
5644 (deletePrevCharAction): New constant.
5645 (downAction): New constant.
5646 (endAction): New constant.
5647 (endLineAction): New constant.
5648 (endOfLineStringProperty): New constant.
5649 (endParagraphAction): New constant.
5650 (endWordAction): New constant.
5651 (forwardAction): New constant.
5652 (insertBreakAction): New constant.
5653 (insertContentAction): New constant.
5654 (insertTabAction): New constant.
5655 (nextWordAction): New constant.
5656 (pageDownAction): New constant.
5657 (pageUpAction): New constant.
5658 (pasteAction): New constant.
5659 (previousWordAction): New constant.
5660 (readOnlyAction): New constant.
5661 (selectAllAction): New constant.
5662 (selectionBackwardAction): New constant.
5663 (selectionBeginAction): New constant.
5664 (selectionBeginLineAction): New constant.
5665 (selectionBeginParagraphAction): New constant.
5666 (selectionBeginWordAction): New constant.
5667 (selectionDownAction): New constant.
5668 (selectionEndAction): New constant.
5669 (selectionEndLineAction): New constant.
5670 (selectionEndParagraphAction): New constant.
5671 (selectionEndWordAction): New constant.
5672 (selectionForwardAction): New constant.
5673 (selectionNextWordAction): New constant.
5674 (selectionPreviousWordAction): New constant.
5675 (selectionUpAction): New constant.
5676 (selectLineAction): New constant.
5677 (selectParagraphAction): New constant.
5678 (selectWordAction): New constant.
5679 (upAction): New constant.
5680 (writableAction): New constant.
5682 2003-04-29 Michael Koch <konqueror@gmx.de>
5684 * java/util/PropertyPermission.java:
5685 New version from classpath
5686 * java/util/ResourceBundle.java:
5687 Partly merged from classpath
5688 (getObject): Reformated.
5689 (tryBundle): Set foundBundle = null if no bundle found.
5691 2003-04-29 Michael Koch <konqueror@gmx.de>
5693 * javax/swing/AbstractListModel.java,
5694 javax/swing/DefaultBoundedRangeModel.java,
5695 javax/swing/DefaultSingleSelectionModel.java:
5696 New Versions from classpath.
5698 2003-04-29 Michael Koch <konqueror@gmx.de>
5700 * java/awt/Window.java
5701 (show): Call super.show() instead of setVisible() to avoid endless
5703 (hide): Call super.hide() instead of setVisible() to avoid endless
5706 2003-04-29 Michael Koch <konqueror@gmx.de>
5708 * java/util/zip/Deflater.java,
5709 java/util/zip/DeflaterOutputStream.java:
5710 Partly merged with classpath.
5712 2003-04-27 Tom Tromey <tromey@redhat.com>
5714 * java/lang/natString.cc (_Jv_AllocString): Initialize
5717 (_Jv_NewStringUtf8Const): Likewise.
5719 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
5721 * include/jvm.h: (_Jv_GetNbArgs) added
5722 (_Jv_GetSafeArg) added
5724 * prims.cc: (_Jv_GetNbArgs) implemented
5725 (_Jv_GetSafeArg) implemented
5726 (_Jv_SetArgs) implemented
5727 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
5728 setting _Jv_argc and _Jv_argv
5729 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
5731 * java/lang/natRuntime.cc: (insertSystemProperties) use
5732 _Jv_GetSafeArg() instead of _Jv_argv
5734 2003-04-23 Tom Tromey <tromey@redhat.com>
5736 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
5737 required by this object. Search superclasses to find required
5739 (get_alignment_from_class): Use alignment of type as it appears
5741 (ALIGNOF): New macro.
5742 (struct aligner): New helper structure.
5744 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
5746 * java/awt/Container.java (addImpl): Enable paint events if adding
5747 a lightweight to a heavyweight.
5748 (addNotify): Ensure that peer is created before
5749 addNotifyContainerChildren.
5750 (addNotifyContainerChildren): Enable paint events if a heavyweight
5751 container contains a lightweight.
5753 2003-04-20 Tom Tromey <tromey@redhat.com>
5755 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
5756 java/io/DataInput.java, java/io/DataOutput.java: Imports from
5759 2003-04-19 Tom Tromey <tromey@redhat.com>
5761 * java/sql/Date.java, java/sql/DriverManager.java,
5762 java/sql/Time.java, java/sql/Timestamp.java: New versions from
5765 * Makefile.in: Rebuilt.
5766 * Makefile.am (ordinary_java_source_files): Added new files.
5767 * java/security/AlgorithmParameterGenerator.java,
5768 java/security/AlgorithmParameters.java, java/security/Engine.java,
5769 java/security/Identity.java, java/security/IdentityScope.java,
5770 java/security/KeyFactory.java,
5771 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
5772 java/security/MessageDigest.java, java/security/Policy.java,
5773 java/security/ProtectionDomain.java,
5774 java/security/SecureRandom.java, java/security/Security.java,
5775 java/security/Signature.java, java/security/SignatureSpi.java,
5776 java/security/SignedObject.java, java/security/Signer.java,
5777 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
5778 java/security/spec/PSSParameterSpec.java,
5779 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
5780 java/security/spec/RSAOtherPrimeInfo.java: New versions from
5783 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
5785 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
5786 (dispose): Null metrics.
5787 * gnu/awt/xlib/XToolkit.java (sync): Implement.
5788 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
5790 (finalize): Call dispose.
5791 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
5792 (gcCachedCount): New field.
5793 (finalize): New method.
5794 (putGCInCache): New method.
5795 (getGCFromCache): New method.
5796 * gnu/gcj/xlib/GC.java (GC): Make protected.
5797 (clone): Get new GC from cache if possible.
5798 (create): New static method.
5799 (dispose): Save old GC in cache.
5800 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
5802 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
5804 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
5805 * java/awt/Container.java (visitChild): Dispose gfx2 when
5808 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
5810 * java/math/BigInteger.java (probablePrime): New.
5811 * java/math/BigDecimal.java (unscaledValue): New.
5813 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
5815 * java/io/File.java (getAbsolutePath): On Windows, take care
5816 of paths like "C:", "G:foo\bar", etc.
5817 (getName): Make it work correctly on Windows.
5818 (getParent): Make it work correctly on Windows. For UNIX,
5819 fix bug that causes "/" to be returned as the parent of "/",
5820 instead of null as returned by Sun's JRE.
5822 * java/io/natFileWin32.cc: Change copyright owner to FSF.
5824 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
5826 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
5828 (CACHE_SIZE_PER_DISPLAY): New field
5829 (fontMetricsCache): New field
5830 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
5831 loading ISO10646-1 fonts.
5833 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
5835 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
5837 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
5840 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
5842 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
5845 2003-04-15 Jakub Jelinek <jakub@redhat.com>
5847 * configure.host (*-linux*): Don't set slow_pthread_self if primary
5848 installed libpthread is either linuxthreads with floating stacks or
5851 2003-04-14 Tom Tromey <tromey@redhat.com>
5853 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
5856 2003-04-10 Tom Tromey <tromey@redhat.com>
5858 * verify.cc (pop64): Removed.
5859 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
5860 exception if top-of-stack is narrow.
5861 (initialize_stack): Check to ensure that <init> is not static and
5864 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
5866 * java/io/ObjectStreamException
5867 * java/io/FileFilter
5868 * java/io/FilenameFilter
5869 * java/io/ObjectInput
5870 * java/io/ObjectOutput
5871 * java/io/ObjectStreamConstants
5872 Minor doc fixes, format fixes, spelling corrections, etc.
5874 Corrected code samples in Javadocs to match reality
5875 * java/io/DataOutput
5876 * java/io/ObjectInputValidation
5877 Major documentation fixes - all Javadocs re-written or updated
5879 2003-04-06 Michael Koch <konqueror@gmx.de>
5881 * java/net/URLConnection.java:
5882 Import classes directly.
5883 (URLConnection): Merged class documentation with classpath.
5884 (url): Moved, documentation from classpath added.
5885 (doInput): Moved, documentation from classpath added.
5886 (doOutput): Moved, documentation from classpath added.
5887 (allowUserInteraction): Moved.
5888 (useCaches): Moved, documentation from classpath added.
5889 (ifModifiedSince): Moved, documentation from classpath added.
5890 (connected): Moved, documentation from classpath added.
5892 2003-04-06 Michael Koch <konqueror@gmx.de>
5894 * java/io/FileInputStream.java
5895 (skip): Renamed some variables to match classpath, added
5896 checks from classpath.
5898 2003-03-31 Michael Koch <konqueror@gmx.de>
5900 * javax/swing/AbstractAction.java
5901 (AbstractAction): Reformatted.
5902 (serialVersionUID): New private member variable.
5903 * javax/swing/plaf/BorderUIResource.java
5904 (serialVersionUID): New private member variable.
5905 * javax/swing/plaf/basic/BasicLookAndFeel.java
5906 (serialVersionUID): New private member variable.
5908 2003-03-31 Michael Koch <konqueror@gmx.de>
5910 * java/sql/Date.java
5911 (valueOf): Deprecated, reformatted.
5912 (toString): Deprecated, reformatted.
5913 * java/sql/Time.java
5914 (valueOf): Deprecated, reformatted.
5915 (toString): Deprecated, reformatted.
5917 2003-03-31 Michael Koch <konqueror@gmx.de>
5919 * java/rmi/dgc/VMID.java
5920 (isUnique): Deprecated.
5922 2003-03-31 Michael Koch <konqueror@gmx.de>
5925 (separator): Merged documentation from classpath.
5926 (separatorChar): Merged documentation from classpath.
5927 (pathSeparator): Merged documentation from classpath.
5928 (pathSeparatorChar): Merged documentation from classpath.
5929 (path): Merged documentation from classpath.
5930 (canRead): Merged documentation from classpath.
5931 (canWrite): Merged documentation from classpath.
5932 (createNewFile): Merged documentation from classpath.
5933 (delete): Merged documentation from classpath.
5934 (equals): Merged documentation from classpath.
5935 (exists): Merged documentation from classpath.
5936 (File): Renamed p to name to match classpath, merged documentation
5938 (getAbsolutePath): Merged documentation from classpath.
5939 (getCanonicalPath): Merged documentation from classpath.
5940 (getCanonicalFile): Merged documentation from classpath.
5941 (getName): Merged documentation from classpath.
5942 (getParent): Merged documentation from classpath.
5943 (getParentFile): Merged documentation from classpath.
5944 (getPath): Merged documentation from classpath.
5945 (hashCode): Merged documentation from classpath.
5946 (isAbsolute): Merged documentation from classpath.
5947 (isDirectory): Merged documentation from classpath.
5948 (isFile): Merged documentation from classpath.
5949 (isHidden): Merged documentation from classpath.
5950 (lastModified): Merged documentation from classpath.
5951 (length): Merged documentation from classpath.
5952 (list): Merged documentation from classpath.
5953 (listFiles): Merged documentation from classpath.
5954 (toString): Merged documentation from classpath.
5955 (toURL): Merged documentation from classpath.
5956 (mkdir): Merged documentation from classpath.
5957 (mkdirs): Merged documentation from classpath.
5958 (createTempFile): Merged documentation from classpath.
5959 (setReadOnly): Merged documentation from classpath.
5960 (listRoots): Merged documentation from classpath.
5961 (compareTo): Merged documentation from classpath.
5962 (renameTo): Merged documentation from classpath.
5963 (setLastModified): Merged documentation from classpath.
5964 * java/io/PrintStream.java
5965 (auto_flush): Merged documentation from classpath.
5966 (PrintStream): Merged documentation from classpath.
5967 (checkError): Merged documentation from classpath.
5968 (setError): Merged documentation from classpath.
5969 (close): Merged documentation from classpath.
5970 (flush): Merged documentation from classpath.
5971 (print): Merged documentation from classpath.
5972 (println): Merged documentation from classpath.
5973 (write): Renamed count to len to match classpath,
5974 merged documentation from classpath.
5975 * java/io/RandomAccessFile.java
5976 (readShort): Merged documentation from classpath.
5977 (readUnsignedByte): Merged documentation from classpath.
5978 (readUnsignedShort): Merged documentation from classpath.
5979 (readUTF): Merged documentation from classpath.
5980 (seek): Reformatted, merged documentation from classpath.
5981 (skipBytes): Renamed some variables to match classpath, reformatted,
5982 merged documentation from classpath.
5983 (write): Merged documentation from classpath.
5984 (writeBoolean): Merged documentation from classpath.
5985 (writeByte): Merged documentation from classpath.
5986 (writeShort): Merged documentation from classpath.
5987 (writeChar): Merged documentation from classpath.
5988 (writeInt): Merged documentation from classpath.
5989 (writeLong): Merged documentation from classpath.
5990 (writeFloat): Merged documentation from classpath.
5991 (writeDouble): Merged documentation from classpath.
5992 (writeBytes): Merged documentation from classpath.
5993 (writeChars): Merged documentation from classpath.
5994 (writeUTF): Reformatted.
5995 (getChannel): Reformatted.
5997 2003-03-31 Michael Koch <konqueror@gmx.de>
5999 * java/awt/font/TextAttribute.java
6000 (readResolve): Throws java.io.InvalidObjectException.
6002 2003-03-31 Michael Koch <konqueror@gmx.de>
6004 * java/rmi/server/LoaderHandler.java
6005 (loadClass): Deprecated.
6006 (getSecurityContext): Deprecated.
6007 * java/rmi/server/LogStream.java
6008 (getDefaultStream): Deprecated.
6009 (setDefaultStream): Deprecated.
6010 (getOutputStream): Deprecated.
6011 (setOutputStream): Deprecated.
6012 (write): Deprecated.
6013 (toString): Deprecated.
6014 (parseLevel): Deprecated.
6015 * java/rmi/server/Operation.java
6016 (Operation): Deprecated.
6017 (getOperation): Deprecated.
6018 (toString): Deprecated.
6019 * java/rmi/server/RemoteCall.java
6020 (getOutputStream): Deprecated.
6021 (releaseOutputStream): Deprecated.
6022 (getInputStream): Deprecated.
6023 (releaseInputStream): Deprecated.
6024 (getResultStream): Deprecated.
6025 (executeCall): Deprecated.
6027 * java/rmi/server/RemoteRef.java
6028 (invoke): Deprecated.
6029 (newCall): Deprecated.
6031 * java/rmi/server/RemoteStub.java
6032 (setRef): Deprecated.
6033 * java/rmi/server/Skeleton.java:
6034 No need to import java.lang.Exception explicitly.
6035 (dispatch): Deprecated.
6036 (getOperations): Deprecated.
6038 2003-03-31 Michael Koch <konqueror@gmx.de>
6040 * java/rmi/dgc/VMID.java,
6041 java/rmi/registry/RegistryHandler.java,
6042 java/rmi/server/LogStream.java,
6043 java/rmi/server/Operation.java,
6044 java/rmi/server/RemoteCall.java,
6045 java/rmi/server/RemoteRef.java,
6046 java/rmi/server/RemoteStub.java:
6049 2003-03-31 Michael Koch <konqueror@gmx.de>
6051 * javax/swing/AbstractCellEditor.java,
6052 javax/swing/AbstractListModel.java,
6053 javax/swing/ActionMap.java,
6054 javax/swing/BorderFactory.java,
6055 javax/swing/ButtonGroup.java,
6056 javax/swing/DefaultBoundedRangeModel.java,
6057 javax/swing/DefaultButtonModel.java,
6058 javax/swing/DefaultCellEditor.java,
6059 javax/swing/DefaultComboBoxModel.java,
6060 javax/swing/DefaultDesktopManager.java,
6061 javax/swing/DefaultListCellRenderer.java,
6062 javax/swing/DefaultSingleSelectionModel.java,
6063 javax/swing/InputMap.java,
6064 javax/swing/JComponent.java,
6065 javax/swing/JMenu.java,
6066 javax/swing/JSlider.java,
6067 javax/swing/KeyStroke.java,
6068 javax/swing/OverlayLayout.java,
6069 javax/swing/ScrollPaneLayout.java,
6070 javax/swing/SizeRequirements.java,
6071 javax/swing/UIManager.java,
6072 javax/swing/ViewportLayout.java,
6073 javax/swing/border/AbstractBorder.java,
6074 javax/swing/colorchooser/DefaultColorSelectionModel.java,
6075 javax/swing/event/EventListenerList.java,
6076 javax/swing/table/AbstractTableModel.java,
6077 javax/swing/table/DefaultTableCellRenderer.java,
6078 javax/swing/table/DefaultTableColumnModel.java,
6079 javax/swing/table/DefaultTableModel.java,
6080 javax/swing/table/TableColumn.java,
6081 javax/swing/text/StyledEditorKit.java,
6082 javax/swing/tree/DefaultMutableTreeNode.java,
6083 javax/swing/tree/DefaultTreeModel.java,
6084 javax/swing/tree/DefaultTreeSelectionModel.java,
6085 javax/swing/tree/TreePath.java,
6086 javax/swing/undo/AbstractUndoableEdit.java,
6087 javax/swing/undo/StateEdit.java,
6088 javax/swing/undo/StateEditable.java,
6089 javax/swing/undo/UndoableEditSupport.java:
6090 Merges from classpath.
6092 2003-03-30 Tom Tromey <tromey@redhat.com>
6094 * java/lang/String.java (data, boffset, count): Documented.
6095 (String(byte[],String)): Reformatted.
6096 (String(byte[])): Likewise.
6097 (lastIndexOf(int)): Likewise.
6098 (lastIndexOf(String)): Likewise.
6099 (substring(int)): Renamed argument to match Classpath.
6100 (String(StringBuffer)): Don't share buffer if it is nearly empty.
6102 * java/lang/String.java: Miscellaneous minor formatting changes
6103 to match Classpath more closely.
6105 2003-03-29 Eric Blake <ebb9@email.byu.edu>
6106 Tom Tromey <tromey@redhat.com>
6108 * java/lang/natString.cc (hashCode): Use cachedHashCode.
6110 (charAt): Put index in exception.
6111 (contentEquals): New method.
6112 Include StringBuffer.h.
6113 * java/lang/String.java (cachedHashCode): New field.
6114 (String()): Follow classpath implementation.
6116 (contentEquals): Declare.
6117 (subSequence): Don't declare IndexOutIfBoundsException in throws
6119 (matches, replaceFirst, replaceAll, split): New methods from
6122 2003-03-29 Tom Tromey <tromey@redhat.com>
6124 * java/lang/String.java: Reordered to follow Classpath; merged in
6127 * java/text/MessageFormat.java: Removed some whitespace.
6129 * Makefile.in: Rebuilt.
6130 * Makefile.am (awt_java_source_files): Added new files.
6131 * gnu/javax/rmi/PortableServer.java,
6132 gnu/javax/rmi/CORBA/DelegateFactory.java,
6133 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6134 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6135 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6136 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6137 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6138 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
6139 javax/rmi/PortableRemoteObject.java,
6140 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
6141 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
6142 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
6143 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
6144 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
6145 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
6147 * java/lang/natClass.cc (newInstance): Put method name in
6149 (getConstructor): Likewise.
6150 (getDeclaredConstructor): Likewise.
6151 (getPrivateMethod): Likewise.
6153 2003-03-28 Tom Tromey <tromey@redhat.com>
6155 * java/lang/reflect/Proxy.java: New version from Classpath.
6156 * java/lang/Package.java: New version from Classpath.
6158 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
6160 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
6161 * configure: Regenerate.
6163 2003-03-28 Michael Koch <konqueror@gmx.de>
6165 * java/io/File.java:
6166 Import needed classes instead of whole packages, merged class
6167 documentation with classpath, moved constants and variables to top of
6169 * java/io/PrintStream.java:
6170 Merged class documentation with classpath, moved constants and
6171 variables to top of class.
6172 * java/io/RandomAccessFile.java
6173 (RandomAccessFile): Merged with classpath.
6174 (read): Merged with classpath).
6175 (read*): Reformatted.
6177 2003-03-28 Michael Koch <konqueror@gmx.de>
6179 * java/io/FileDescriptor.java
6180 (finalize): Throws Throwable, not IOException.
6181 * java/io/ObjectOutputStream.java
6182 (PutField.put): Doesnt throws anything.
6184 2003Â03-28 Michael Koch <konqueror@gmx.de>
6186 * java/io/FileOutputStream.java:
6187 Merged class documentation and authors with classpath.
6188 (FileOutputStream): Partly merged with classpath.
6189 (write): Merged with classpath.
6190 (getChannel): Make it synchronized instead of explicit block in this
6192 * java/io/RandomAccessFile.java:
6193 Merged class documentation and authors with classpath.
6195 2003-03-26 Tom Tromey <tromey@redhat.com>
6197 * java/lang/natRuntime.cc (insertSystemProperties): Set
6198 gnu.classpath.home.url.
6199 * Makefile.in: Rebuilt.
6200 * Makefile.am: Define LIBDIR.
6202 2003-03-25 Michael Koch <konqueror@gmx.de>
6204 * java/io/FileInputStream.java
6205 (read): Renamed b to buf and off to offset.
6206 * java/io/FileOutputStream.java
6207 (ch): Documentation added.
6208 (FileOutputStream): Documentation added.
6209 (getFD): Documentation added.
6210 (write): Documentation added.
6211 (close): Documentation added.
6212 (getChannel): Documentation added.
6214 2003-03-24 Michael Koch <konqueror@gmx.de>
6216 * java/io/DataOutputStream.java
6217 (write): Merged from classpath.
6218 * java/io/File.java:
6219 Merged copyrigth with classpath.
6220 * java/io/FileInputStream.java
6221 (getChannel): Made it synchronized instead of using a synchronized
6223 * java/io/FileOutputStream.java: Reformatted.
6224 * java/io/InputStreamReader.java
6225 (InputStreamReader): Renamed enc to encoding_name.
6226 (close): Merged documentation from classpath.
6227 (getEncoding): Merged documentation from classpath.
6228 (ready): Merged documentation from classpath.
6229 (read): Merged documentation from classpath.
6230 * java/io/LineNumberReader.java
6231 (lineNumber): Made it private.
6232 (LineNumberReader): Use Constant instead of a direct value.
6233 * java/io/OutputStreamWriter.java
6234 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
6235 documentation from classpath.
6236 (close): Merged documentation from classpath.
6237 (flush): Merged documentation from classpath.
6238 (write): Merged documentation from classpath.
6239 * java/io/PrintStream.java: Reformatted.
6241 2003-03-24 Michael Koch <konqueror@gmx.de>
6243 * javax/swing/text/ComponentView.java
6244 (getComponent): Must be final.
6245 * javax/swing/tree/DefaultTreeCellRenderer.java:
6247 * javax/swing/undo/StateEditable.java:
6250 2003-03-24 Michael Koch <konqueror@gmx.de>
6252 * java/rmi/activation/ActivationInstantiator.java:
6254 * java/rmi/activation/Activator.java:
6256 * java/rmi/registry/RegistryHandler.java:
6257 Remerged from classpath.
6259 2003-03-24 Michael Koch <konqueror@gmx.de>
6261 * java/util/Date.java:
6262 Fixed documentation starting tag to make javadoc happy.
6263 * java/util/regex/Pattern.java
6264 (Pattern): Implements Serializable.
6265 * java/util/PatternSyntaxException.java
6266 (serialVersionUID): New member variable.
6268 2003-03-24 Michael Koch <koqnueror@gmx.de>
6270 * java/awt/ContainerOrderFocusTraversalPolicy.java
6271 (getFirstComponent): Implemented.
6272 (getLastComponent): Implemented.
6273 (getDefaultComponent): Implemented.
6274 (setImplicitDownCycleTraversal): Fixed implementation.
6275 * java/awt/Robot.java
6276 (Robot): Added documentation.
6277 * java/awt/Toolkit.java
6278 (getFontList): Deprecated.
6279 (getFontMetrics): Deprecated.
6280 (getPrintJob): Added documentation.
6281 (getSystemSelection): Added documentation.
6282 (getLockingKeyState): Added documentation.
6283 (setLockingKeyState): Added documentation.
6284 (createCustomCursor): Added documentation.
6285 (getBestCursorSize): Added documentation.
6286 (getMaximumCursorColors): Added documentation.
6287 (isFrameStateSupported): Added documentation.
6289 2003-03-24 Michael Koch <konqueror@gmx.de>
6291 * java/io/RandomAccessFile.java:
6292 More little merges with classpath. No code changes.
6294 2003-03-24 Michael Koch <konqueror@gmx.de>
6296 * java/net/natInetAddressNoNet.cc:
6298 * java/net/natPlainDatagramSocketImplNoNet.cc:
6299 Fixed inlcude of java/net/DatagramPacket.h.
6300 * java/net/natPlainSocketImplNoNet.cc:
6301 Include some missing classes.
6303 2003-03-24 Michael Koch <konqueror@gmx.de>
6305 * java/awt/dnd/DropTarget.java
6306 (DropTargetAutoScroller): According to the online documentation, this
6307 is protected, but in reality it is public.
6308 * java/awt/dnd/DropTargetContext.java
6309 (TransferableProxy): According to the online documentation, this
6310 is protected, but in reality it is public.
6312 2003-03-24 Michael Koch <konqueror@gmx.de>
6314 * java/io/DataInputStream.java
6315 (): Wrapped documentation line.
6316 (): Fixed @return tag.
6317 * java/io/DataOutputStream.java
6318 (written): Moved to top of class.
6319 (all methods): Merged documentation from classpath.
6320 * java/io/File.java:
6321 Merged copyright year with classpath.
6322 * java/io/FileInputStream.java
6323 (all methods): Merged documentation from classpath.
6324 * java/io/LineNumberReader.java
6325 (getLineNumber): Fixed @return tag.
6326 * java/io/ObjectInputStream.java.
6328 * java/io/ObjectOutputStream.java:
6329 Reformatted, fixed some @see tags.
6330 * java/io/OutputStreamWriter.java:
6332 * java/io/Writer.java:
6335 2003-03-24 Michael Koch <konqueror@gmx.de>
6337 * java/awt/Frame.java
6338 (DEFAULT_CURSOR): Fixed @deprecated tag.
6339 (setCursor): Fixed @deprecated tag.
6341 2003-03-24 Michael Koch <konqueror@gmx.de>
6343 * java/beans/beancontext/BeanContextEvent.java:
6346 2003-03-23 Eric Blake <ebb9@email.byu.edu>
6348 * java/lang/natStringBuffer.cc (regionMatches): New function.
6349 * java/lang/String.java (count): Now package-private.
6350 * java/lang/StringBuffer.java: Merged with Classpath.
6352 2003-03-23 Michael Koch <konqueror@gmx.de>
6354 * java/io/BufferedOutputStream.java:
6356 * java/io/BufferedReader.java:
6358 * java/io/ByteArrayOutputStream.java
6359 (size): Fixed @see tag.
6360 * java/io/CharArrayWriter.java
6361 (size): Fixed @see tag.
6362 * java/io/DataInput.java:
6364 * java/io/DataOutput.java:
6366 * java/io/DataOutputStream.java:
6367 Merged copyright years with classpath.
6368 * java/io/Externalizable.java:
6370 * java/io/FileFilter.java:
6372 * java/io/FileInputStream.java:
6373 Merged copyright years with classpath.
6374 * java/io/FileOutputStream.java:
6375 Merged copyright years with classpath.
6376 * java/io/FilePermission.java
6377 (FilePermission): Replaced @XXX with FIXME:.
6378 * java/io/FileWriter.java:
6380 * java/io/FilenameFilter.java:
6382 * java/io/FilterInputStream.java:
6384 * java/io/FilterOutputStream.java:
6386 * java/io/FilterReader.java:
6388 * java/io/FilterWriter.java:
6390 * java/io/LineNumberInputStream.java
6391 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
6393 (getLineNumber): Fixed @return tag.
6394 * java/io/ObjectInput.java:
6396 * java/io/ObjectOutput.java:
6398 * java/io/ObjectStreamClass.java:
6400 * java/io/PrintStream.java:
6401 Merged copyright years with classpath.
6402 * java/io/PushbackReader.java
6403 (PushbackReader): Replaced @code with @param.
6404 * java/io/SerializablePermission.java:
6406 * java/io/StreamTokenizer.java
6407 (resetSyntax): Fixed @see tag.
6409 2003-03-22 Richard Henderson <rth@redhat.com>
6411 * sysdep/ia64/locks.h: Include ia64intrin.h.
6412 (compare_and_swap): Use __sync_bool_compare_and_swap.
6413 (compare_and_swap_release): Expose ar.ccv assignment.
6415 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
6417 * include/posix.h: Add suffix for darwin dynamic libraries.
6419 2003-03-21 Michael Koch <konqueror@gmx.de>
6421 * javax/swing/Action.java
6422 (ACCELERATOR_KEY): New constant.
6423 (ACTION_COMMAND_KEY): Likewise.
6424 (MNEMONIC_KEY): Likewise.
6425 * javax/swing/UnsupportedLookAndFeelException.java
6426 (UnsupportedLookAndFeelException): Must be public.
6427 * javax/swing/WindowConstants.java
6428 (EXIT_ON_CLOSE): New constant.
6429 * javax/swing/text/BadLocationException.java
6430 (offset): New member variable.
6431 (BadLocationException): New implementation, documentation added.
6432 (offsetRequested): New method.
6433 * javax/swing/text/Caret.java:
6435 * javax/swing/text/Document.java:
6438 2003-03-21 Michael Koch <konqueror@gmx.de>
6440 * java/rmi/activation/Activatable.java
6441 (serialVersionUID): New member variable.
6442 * java/rmi/activation/ActivationGroup.java
6443 (serialVersionUID): New member variable.
6444 * java/rmi/activation/ActivationGroupDesc.java
6445 (serialVersionUID): New member variable.
6446 * java/rmi/registry/Registry.java:
6448 (Registry): Deprecated.
6449 * java/rmi/server/LoaderHandler.java
6451 (LoaderHandler): Deprecated.
6452 * java/rmi/server/LogStream.java
6454 (LogStream): Deprecated.
6455 * java/rmi/server/Operation.java
6456 (Operation): Deprecated.
6457 * java/rmi/server/RMIFailureHandler.java:
6459 * java/rmi/server/RMISocketFactory.java:
6461 * java/rmi/server/RemoteCall.java
6462 (RemoteCall): Deprecated.
6463 * java/rmi/server/RemoteStub.java:
6465 * java/rmi/server/Skeleton.java
6467 (Skeleton): Deprecated.
6469 2003-03-21 Michael Koch <konqueror@gmx.de>
6471 * java/io/LineNumberReader.java
6472 (LineNumberReader): Merged documentation with classpath.
6473 (getLineNumber): Likewise.
6474 (setLineNumber): Likewise.
6478 (readLine): Likewise.
6481 2003-03-21 Michael Koch <konqueror@gmx.de>
6483 * java/rmi/RMISecurityManager.java
6484 (checkAccept): Removed.
6485 (checkAccess): Likewise.
6486 (checkAccess): Likewise.
6487 (checkAwtEventQueueAccess): Likewise.
6488 (checkConnect): Likewise.
6489 (checkCreateClassLoader): Likewise.
6490 (checkDelete): Likewise.
6491 (checkExec): Likewise.
6492 (checkExit): Likewise.
6493 (checkLink): Likewise.
6494 (checkListen): Likewise.
6495 (checkMemberAccess): Likewise.
6496 (checkMulticast): Likewise.
6497 (checkPackageAccess): Likewise.
6498 (checkPackageDefinition): Likewise.
6499 (checkPermission): Likewise.
6500 (checkPrintJobAccess): Likewise.
6501 (checkPropertiesAccess): Likewise.
6502 (checkPropertyAccess): Likewise.
6503 (checkRead): Likewise.
6504 (checkSecurityAccess): Likewise.
6505 (checkSetFactory): Likewise.
6506 (checkSystemClipboardAccess): Likewise.
6507 (checkTopLevelWindow): Likewise.
6508 (checkWrite): Likewise.
6510 2003-03-20 Michael Koch <konqueror@gmx.de>
6512 * gnu/java/nio/FileChannelImpl.java
6514 (map_address): New member variable.
6515 (length): Make it package private.
6516 (fd): Make it package private.
6517 (buf): Make it package private.
6518 (file_obj): Make it package private.
6519 (FileChannelImpl): New constructor.
6520 (nio_mmap_file): Use RawData instead of long.
6521 (nio_munmap_file): Use RawData instead of long.
6522 (nio_msync): Use RawData instead of long.
6523 (implCloseChannel): New implementation using map_address.
6526 (create_direct_mapped_buffer): Implemented, use RawData, throws
6528 (force): Use map_address instead of address.
6529 * gnu/java/nio/MappedByteFileBuffer.java
6531 (map_address): New member variable.
6532 (MappedByteFileBuffer): Use map_address instead of address, reformated.
6533 (several methods): Use map_address instead of address, replaced long
6534 with RawData where appropriate.
6535 * gnu/java/nio/natFileChannelImpl.cc
6536 (nio_mmap_file): Replaced long with RawData.
6537 (nio_munmap_file): Replaced long with RawData.
6538 (nio_msync): Replaced long with RawData.
6539 * gnu/java/nio/natMappedByteFileBuffer.cc
6540 (several methods): Replaced long with RawData where appropriate.
6542 2003-03-20 Michael Koch <konqueror@gmx.de>
6544 * java/net/InetAddress.java,
6545 java/net/JarURLConnection.java,
6546 java/net/PlainDatagramSocketImpl.java,
6547 java/net/PlainSocketImpl.java,
6548 java/net/URLConnection.java:
6549 Merged copyright statements with classpath for easier merging.
6551 2003-03-20 Michael Koch <konqueror@gmx.de>
6553 * java/io/FileInputStream.java
6554 (getChannel): New implementation.
6555 * java/io/FileOutputStream.java
6556 (ch): New member variable.
6557 (getChannel): Implemented.
6558 * java/io/RandomAccessFile.java
6559 (RandomAccessFile): Throws FileNotFoundException instead of
6561 (getChannel): New method.
6562 (ch): New member variable.
6564 2003-03-20 Michael Koch <konqueror@gmx.de>
6566 * java/io/DataOutputStream.java,
6568 java/io/FileInputStream.java,
6569 java/io/FileOutputStream.java,
6570 java/io/InputStreamReader.java,
6571 java/io/LineNumberReader.java,
6572 java/io/OutputStreamWriter.java,
6573 java/io/PrintStream.java,
6574 java/io/RandomAccessFile.java:
6575 Merged copyright statements with classpath for easier merging.
6577 2003-03-19 Michael Koch <konqueror@gmx.de>
6579 * java/lang/Process.java:
6580 Merged from classpath.
6582 2003-03-19 Michael Koch <konqueror@gmx.de>
6584 * java/io/FileOutputStream.java
6585 (FileOutputStream): New constructor, merged from classpath.
6586 * java/io/FileWriter.java
6587 (FileWriter): New constructor, merged from classpath.
6589 2003-03-18 Michael Koch <konqueror@gmx.de>
6591 * java/awt/ScrollPane.java
6592 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
6593 (getViewportSize): Likewise.
6594 (addNotify): Likewise.
6595 (removeNotify): Likewise.
6596 * java/awt/ScrollPaneAdjustable.java
6597 (ScrollPaneAdjustable): No longer extends Scrollbar.
6598 * java/beans/beancontext/BeanContextServices.java:
6600 (getService): Added throws TooManyListenersException;
6601 * java/beans/beancontext/BeanContextServicesSupport.java:
6604 2003-03-18 Michael Koch <konqueror@gmx.de>
6606 * java/io/BufferedOutputStream.java,
6607 java/io/DataInput.java,
6608 java/io/DataInputStream.java,
6609 java/io/DataOutput.java,
6610 java/io/Externalizable.java:
6611 More merges from classpath.
6613 2003-03-18 Michael Koch <konqueror@gmx.de>
6615 * configure.in: Fixed links to platform dependant java.net files.
6616 * configure: Regenerated.
6617 * java/net/natInetAddress.cc,
6618 java/net/natNetworkInterface.cc,
6619 java/net/natPlainDatagramSocketImpl.cc,
6620 java/net/natPlainSocketImpl.cc:
6623 2003-03-18 Michael Koch <konqueror@gmx.de>
6625 * configure.in: Create links to architecture dependent files,
6626 introduced PLATFORMNET variable (set to NoNet for newlib usage).
6627 * configure: Regenerated.
6628 * java/net/natInetAddressNoNet.cc,
6629 java/net/natInetAddressPosix.cc,
6630 java/net/natInetAddressWin32.cc,
6631 java/net/natNetworkInterfaceNoNet.cc,
6632 java/net/natNetworkInterfacePosix.cc,
6633 java/net/natNetworkInterfaceWin32.cc,
6634 java/net/natPlainDatagramSocketImplNoNet.cc,
6635 java/net/natPlainDatagramSocketImplPosix.cc,
6636 java/net/natPlainDatagramSocketImplWin32.cc,
6637 java/net/natPlainSocketImplNoNet.cc,
6638 java/net/natPlainSocketImplPosix.cc,
6639 java/net/natPlainSocketImplWin32.cc: New files.
6641 2003-03-18 Michael Koch <konqueror@gmx.de>
6643 * java/io/BufferedReader.java,
6644 java/io/BufferedWriter.java,
6645 java/io/ByteArrayOutputStream.java,
6646 java/io/FileFilter.java,
6647 java/io/FilePermission.java,
6648 java/io/FileReader.java,
6649 java/io/FileWriter.java,
6650 java/io/FilenameFilter.java,
6651 java/io/FilterInputStream.java,
6652 java/io/FilterOutputStream.java,
6653 java/io/FilterReader.java,
6654 java/io/FilterWriter.java,
6655 java/io/ObjectInput.java,
6656 java/io/ObjectInputValidation.java,
6657 java/io/ObjectOutput.java,
6658 java/io/ObjectStreamField.java,
6659 java/io/PipedInputStream.java,
6660 java/io/PipedReader.java,
6661 java/io/PrintWriter.java,
6662 java/io/PushbackReader.java,
6663 java/io/Reader.java,
6664 java/io/SerializablePermission.java,
6665 java/io/StringReader.java,
6666 java/io/Writer.java:
6667 Merged from classpath.
6669 2003-03-17 Michael Koch <konqueror@gmx.de>
6671 * java/awt/ScrollPaneAdjustable.java:
6674 2003-03-17 Michael Koch <konqueror@gmx.de>
6676 * java/net/DatagramSocket.java
6677 (connect): Fixed comment.
6678 * java/nio/ByteBuffer.java
6679 (hasArray): Fixed comment.
6681 2003-03-17 Michael Koch <konqueror@gmx.de>
6683 * java/beans/Beans.java:
6684 Explicitely import classes not packages.
6685 * java/beans/FeatureDescriptor.java
6686 (preferred): New member variable.
6687 (isPreferred): New method.
6688 (setPreferred): New method.
6689 * java/beans/PropertyEditorManager.java:
6690 Explicitely import used classes.
6691 * java/beans/beancontext/BeanContextChild.java:
6692 Added line wrapping.
6693 * java/beans/beancontext/BeanContextChildSupport.java:
6695 * java/beans/beancontext/BeanContextEvent.java:
6698 2003-03-17 Michael Koch <konqueror@gmx.de>
6700 * java/awt/Dialog.java
6701 (Dialog): New constructor, changed implementations, added
6703 * java/awt/ScrollPaneAdjustable.java
6704 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
6706 (serialVersionUID): New member variable.
6707 (sp): New member variable.
6708 (orientation): New member variable.
6709 (value): New member variable.
6710 (minimum): New member variable.
6711 (maximum): New member variable.
6712 (visibleAmount): New member variable.
6713 (unitIncrement): New member variable.
6714 (blockIncrement): New member variable.
6715 (AdjustmentListener): New member variable.
6716 (ScrollPaneAdjustable): New implementation.
6717 (addAdjustmentListener): New method.
6718 (removeAdjustmentListener): New method.
6719 (getAdjustmentListeners): New method.
6720 (getBlockIncrement): New method.
6721 (getMaximum): New method.
6722 (getMinimum): New method.
6723 (getOrientation): New method.
6724 (getUnitIncrement): New method.
6725 (getValue): New method.
6726 (getVisibleAmount): New method.
6727 (setBlockIncrement): New method.
6728 (setMaximum): Implemented.
6729 (setMinimum): Implemented.
6730 (setUnitIncrement): New method.
6731 (setValue): New method.
6732 (setVisibleAmount): Implemented.
6733 (paramString): New stubbed method.
6734 * java/awt/Window.java
6735 (show): Call setVisible().
6736 (hide): Call setVisible().
6737 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
6738 and WINDOW_STATE_CHANGED.
6739 (processWindowFocusEvent): New method.
6740 (processWindowStateEvent): New method.
6741 (postEvent): Deprecated.
6742 (applyResourceBundle): Deprecated.
6743 * java/awt/datatransfer/DataFlavor.java
6744 (DataFlavor): Doesn't thow ClassNotFoundException.
6746 2003-03-17 Michael Koch
6748 * javax/print/attribute/Attribute.java,
6749 javax/print/attribute/AttributeSet.java,
6750 javax/print/attribute/PrintRequestAttributeSet.java:
6753 (javax_source_files): Added new files:
6754 javax/print/attribute/Attribute.java
6755 javax/print/attribute/AttributeSet.java
6756 javax/print/attribute/PrintRequestAttributeSet.java
6757 * Makefile.in: Regenerated.
6759 2003-03-17 Michael Koch
6761 * javax/print/attribute/Attribute.java,
6762 javax/print/attribute/AttributeSet.java,
6763 javax/print/attribute/PrintRequestAttributeSet.java:
6766 (awt_java_source_files): Added new files:
6767 javax/print/attribute/Attribute.java
6768 javax/print/attribute/AttributeSet.java
6769 javax/print/attribute/PrintRequestAttributeSet.java
6770 * Makefile.in: Regenerated.
6772 2003-03-16 Tom Tromey <tromey@redhat.com>
6774 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
6776 * java/lang/natRuntime.cc (insertSystemProperties): Use
6777 _Jv_platform_path_separator.
6778 (nativeGetLibname): Use _Jv_platform_file_separator.
6779 (_load): Use _Jv_platform_onload_names.
6780 (onload_names): New global.
6781 * include/win32.h (_Jv_platform_file_separator): New define.
6782 (_Jv_platform_path_separator): Likewise.
6783 (_Jv_platform_onload_names): Likewise.
6784 (_Jv_platform_ffi_abi): Likewise.
6785 * include/posix.h (_Jv_platform_file_separator): New define.
6786 (_Jv_platform_path_separator): Likewise.
6787 (_Jv_platform_onload_names): Likewise.
6788 (_Jv_platform_ffi_abi): Likewise.
6790 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
6792 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
6794 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
6796 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
6798 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
6799 list to Object,ObjectStreamClass, moved callReadMethod code up into
6800 readObject and added Class argument to all setXxxField calls.
6801 (callReadMethod): Changed Class argument to ObjectStreamClass to be
6802 consistent with ObjectOutputStream and to facilitate caching the
6803 Method in the future.
6804 (setBooleanField): Added Class argument.
6805 (setByteField): Likewise.
6806 (setCharField): Likewise.
6807 (setDoubleField): Likewise.
6808 (setFloatField): Likewise.
6809 (setIntField): Likewise.
6810 (setLongField): Likewise.
6811 (setShortField): Likewise.
6812 (setObjectField): Likewise.
6813 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
6814 class hierarchy loop.
6815 (defaultWriteObject): Call writeFields with new argument list.
6816 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
6817 list to Object,ObjectStreamClass, moved callWriteMethod up into
6818 writeObject and added Class argument to all getXxxField calls.
6819 (callWriteMethod): Added ObjectStreamClass argument to be able to
6820 get the proper class to call getMethod on (each class can have (or
6821 not have) its own writeObject method).
6822 (getBooleanField): Added Class argument.
6823 (getByteField): Likewise.
6824 (getCharField): Likewise.
6825 (getDoubleField): Likewise.
6826 (getFloatField): Likewise.
6827 (getIntField): Likewise.
6828 (getLongField): Likewise.
6829 (getShortField): Likewise.
6830 (getObjectField): Likewise.
6831 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
6832 facilitate caching the Method object in the future.
6834 2003-03-12 Andreas Schwab <schwab@suse.de>
6836 * configure.in: Avoid trailing /. in toolexeclibdir.
6837 * configure: Rebuilt.
6839 2003-03-11 Michael Koch <konqueror@gmx.de>
6841 * gnu/java/nio/ByteBufferImpl.java
6842 (putInt): Use limit() instead of limit.
6843 * gnu/java/nio/CharBufferImpl.java
6844 (slice): Fixed implementation.
6845 (subSequence): Better bounds checking.
6846 * gnu/java/nio/MappedByteFileBuffer.java:
6847 Import all needed classes directly.
6848 * java/nio/ByteBuffer.java
6849 (hashCode): New dummy method.
6850 * java/nio/CharBuffer.java
6851 (array_offset): New member variable.
6852 (hasArray): Fixed documentation.
6853 (arrayOffset): Return array_offset.
6855 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
6857 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
6858 setter; made return value of getter const char* instead of char*
6859 * prims.cc: removed all references to _Jv_ThisExecutable().
6860 These are in the platform-specific sections now.
6861 * posix.cc: define platform-specific _Jv_ThisExecutable().
6862 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
6863 * win32.cc: define platform-specific _Jv_ThisExecutable()
6864 using GetModuleFilename()
6865 * java/lang/natRuntime.cc: set gnu.gcj.progname property
6866 to argv[0] instead of _Jv_ThisExecutable()
6868 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
6870 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
6871 that is set if we are using addr2name.awk instead of addr2line.
6872 (NameFinder): Set usingAddr2name if using addr2name.awk.
6873 (getExternalLabel): New native method to convert a method
6874 name to an external label.
6875 (lookup): Convert name given by addr2line to an external label
6878 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
6879 constant representing the prefix attached to method names to
6880 convert them to an external label.
6881 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
6884 2003-03-10 Tom Tromey <tromey@redhat.com>
6886 * Makefile.in: Rebuilt.
6887 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
6888 (JC1FLAGS): Removed -Wno-deprecated.
6890 2003-03-10 Michael Koch <konqueror@gmx.de>
6892 * java/nio/ByteOrder.java
6893 (nativeOrder): Working implementation, added documentation.
6894 (toString): Added documentation.
6896 2003-03-10 Michael Koch <konqueror@gmx.de>
6898 * java/net/DatagramSocket.java,
6899 java/net/MulticastSocket.java,
6900 java/net/Socket.java,
6902 java/net/URLConnection.java:
6903 Fixed some documentation tags to make javadoc and friends happy.
6905 2003-03-10 Michael Koch <koqnueror@gmx.de>
6907 * java/beans/beancontext/BeanContextServicesSupport.java,
6908 java/beans/beancontext/BeanContextSupport.java: New files.
6910 (awt_source_files): Added new files.
6911 * Makefile.in: Regenerated.
6913 2003-03-10 Michael Koch <konqueror@gmx.de>
6915 * java/awt/FocusTraversalPolicy.java
6916 (FocusTraversalPolicy): Documentation added.
6917 (getComponentAfter): Documentation added.
6918 (getComponentBefore): Documentation added.
6919 (getFirstComponent): Documentation added.
6920 (getLastComponent): Documentation added.
6921 (getDefaultComponent): Documentation added.
6922 (getInitialComponent): Documentation added.
6923 * java/awt/ScrollPaneAdjustable.java
6924 (sp): New member variable.
6925 (orientation): New member variable.
6926 (value): New member variable.
6927 (minimum): New member variable.
6928 (maximum): New member variable.
6929 (visibleAmount): New member variable.
6930 (unitIncrement): New member variable.
6931 (blockIncrement): New member variable.
6932 (adjustmentListener): New member variable.
6933 (ScrollPaneAdjustable): Rewrote.
6934 (addAdjustmentListener): New method.
6935 (removeAdjustmentListener): New method.
6936 (getAdjustmentListeners): New method.
6937 (getBlockIncrement): New method.
6938 (getMaximum): New method.
6939 (getMinimum): New method.
6940 (getOrientation): New method.
6941 (getUnitIncrement): New method.
6942 (getValue): New method.
6943 (getVisibleAmount): New method.
6944 (setBlockIncrement): New method.
6945 (setUnitIncrement): New method.
6946 (setMaximum): Implemented.
6947 (setMinimum): Implemented.
6948 (setValue): New method.
6949 (setVisibleAmount): Implemented.
6950 (paramString): New method.
6951 * java/awt/Window.java
6952 (show): Use setVisible(true) instead of super.show().
6953 (hide): Use sevVisible(false) instead of super.hide().
6954 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
6955 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
6956 (postEvent): Deprecated.
6957 (applyResourceBundle): Deprecated.
6958 (processWindowFocusEvent): New method.
6959 (processWindowStateEvent): New method.
6960 * java/awt/datatransfer/DataFlavor.java: Reindented.
6961 * java/awt/font/TextHitInfo.java
6962 (charIndex): New member variable.
6963 (leadingEdge): New member variable.
6964 (TextHitInfo): New constructor.
6965 (getCharIndex): Implemented.
6966 (isLeadingEdge): Implemented.
6967 (getInsertionIndex): Implemented.
6968 (hashCode): Access charIndex directly.
6969 (equals): Reformated.
6970 (leading): Implemented.
6971 (trailing): Implemented.
6972 (beforeOffset): Implemented.
6973 (afterOffset): Implemented.
6974 (getOtherHit): Implemented.
6975 (getOffsetHit): Implemented.
6976 (toString): Implemented.
6977 * java/awt/image/BufferedImage.java
6978 (BufferedImage): Implements WritableRenderedImage.
6979 (observers): New member variable.
6980 (addTileObserver): New method.
6981 (removeTileObserver): New method.
6983 2003-03-09 Tom Tromey <tromey@redhat.com>
6986 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
6987 to lseek. Return 0 if we can't compute the value.
6989 2003-03-03 Michael Koch <konqueror@gmx.de>
6991 * java/net/NetworkInterface.java: Merged with classpath.
6993 2003-03-03 Tom Tromey <tromey@redhat.com>
6995 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
6997 (handle_ret_insn): Fail if returning to jsr that appears at end of
7000 2003-03-03 Michael Koch <konqueror@gmx.de>
7003 (ordinary_java_source_files):
7004 Added gnu/java/nio/MappedByteFileBuffer.java.
7006 Added gnu/java/nio/natMappedByteFileBuffer.cc.
7007 * Makefile.in: Regenerated.
7009 2003-03-03 Michael Koch <konqueror@gmx.de>
7011 * java/net/DatagramSocket.java
7012 (connect): Merged comment from classpath.
7013 (receive): Merged documentation from classpath.
7014 * java/net/Socket.java
7015 (setSoTimeout): Clarified documentation.
7017 (getPath): Merged from classpath.
7018 (getUserInfo): Merged from classpath.
7019 (getQuery): Merged from classpath.
7020 * java/net/URLStreamHandler.java
7021 (toExternalForm): Merged from classpath.
7023 2003-03-02 Mark Wielaard <mark@klomp.org>
7025 * java/util/Properties.java (load): Only skip line if the first
7026 character is a comment, whitespaces don't count.
7028 2003-03-02 Michael Koch <konqueror@gmx.de>
7030 * java/net/NetPermission.java:
7031 Merged copyright with classpath.
7033 2003-03-02 Michael Koch <konqueror@gmx.de>
7035 * java/lang/Package.java:
7036 Remerged from classpath.
7038 2003-03-02 Michael Koch <konqueror@gmx.de>
7040 * java/net/HttpURLConnection.java
7041 (HTTP_SERVER_ERROR): Deprecated.
7042 * java/net/MulticastSocket.java
7043 (send): Replaced checkMulticast with appropriate checkPermission call,
7045 * java/net/URLDecoder.java
7046 (decode): Deprecated.
7047 * java/net/URLEncoder.java
7048 (encode): Deprecated.
7050 2003-03-02 Michael Koch <konqueror@gmx.de>
7052 * javax/swing/text/Caret.java
7053 (getMagicCaretPosition): Fixed typo in method name.
7054 * javax/swing/text/DefaultCaret.java
7055 (getMagicCaretPosition): Fixed typo in method name.
7057 2003-03-02 Michael Koch <konqueror@gmx.de>
7059 * java/awt/List.java
7060 (setMultipleSelections): Deprecated.
7061 (delItem): Deprecated.
7062 * java/awt/MenuComponent.java
7063 (getPeer): Deprecated.
7064 * java/awt/ScrollPane.java
7065 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
7066 * java/awt/dnd/MouseDragGestureRecognizer.java
7067 (mouseClicked): Added comment.
7068 (mousePressed): Added comment.
7069 (mouseReleased): Added comment.
7070 (mouseEntered): Added comment.
7071 (mouseExited): Added comment.
7072 (mouseDragged): Added comment.
7073 (mouseMoved): Added comment.
7074 * java/awt/event/KeyEvent.java
7075 (KeyEvent): Deprecated.
7076 (setModifiers): Deprecated.
7078 2003-03-02 Michael Koch <konqueror@gmx.de>
7080 * gnu/java/nio/FileChannelImpl.java
7081 (fd): Type FileDescriptor instead of int.
7082 (lengthInternal): Removed.
7083 (FileChannelImpl): Fixed arguments, check type of file object.
7084 (size): Made it native.
7085 (implPosition): New native method.
7086 (implTruncate): New native method.
7087 (position): Implemented.
7088 (truncate): Implemented.
7089 (nio_mmap_file): Changed arguments.
7090 (nio_munmap_file): Changed arguments.
7091 (nio_msync): Changed arguments.
7092 * gnu/java/nio/natFileChannelImpl.cc
7093 (lengthInternal): Removed.
7095 (implPosition): New method.
7096 (implTruncate): New method.
7097 (nio_mmap_file): Changed arguments.
7098 (nio_munmap_file): Changed arguments.
7099 (nio_msync): Changed arguments.
7101 2003-03-02 Michael Koch <konqueror@gmx.de>
7103 * java/awt/dnd/DropTargetContext.java:
7104 Compile fix: Forgot to commit import.
7106 2003-03-02 Michael Koch <konqueror@gmx.de>
7108 * java/awt/Component.java,
7109 java/awt/ScrollPane.java:
7112 2003-03-02 Michael Koch <konqueror@gmx.de>
7114 * java/awt/dnd/DnDEventMulticaster.java: New file.
7115 * java/awt/dnd/DragSource.java
7116 (flavorMap): New member variable.
7117 (dragSourceListener): New member variable.
7118 (dragSourceMotionListener): New member variable.
7119 (getFlavorMap): Implemented.
7120 (createDragGestureRecognizer): Implemented.
7121 (addDragSourceListener): Implemented.
7122 (removeDragSourceListener): Implemented.
7123 (getDragSourceListeners): Implemented.
7124 (addDragSourceMotionListener): Implemented.
7125 (removeDragSourceMotionListener): Implemented.
7126 (getDragSourceMotionListeners): Implemented.
7127 (getListeners): Implemented.
7128 * java/awt/dnd/DragSourceContext.java
7129 (peer): New member variable.
7130 (cursor): New member variable.
7131 (transferable): New member variable.
7132 (trigger): New member variable.
7133 (dragSourceListener): New member variable.
7134 (image): New member variable.
7135 (offset): New member variable.
7136 (DragSourceContext): Implemented.
7137 (getDragSource): Implemented.
7138 (getComponent): Implemented.
7139 (getTrigger): Implemented.
7140 (getSourceActions): Implemented.
7141 (setCursor): Implemented.
7142 (getCursor): Implemented.
7143 (addDragSourceListener): Implemented.
7144 (removeDragSourceListener): Implemented.
7145 (getTransferable): Implemented.
7146 * java/awt/dnd/DropTarget.java
7147 (DropTargetAutoScroller.component): New member variable.
7148 (DropTargetAutoScroller.point): New member variable.
7149 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
7150 (DropTargetAutoScroller.updateLocation): Implemented.
7151 (active): Renamed from isActive, defaults to true now.
7152 (component): New member variable.
7153 (flavorMap): New member variable.
7154 (actions): New member variable.
7155 (dropTargetContext): New member variable.
7156 (dropTargetListener): New member variable.
7157 (DropTarget): Implemented.
7158 (getComponent): Implemented.
7159 (setComponent): Implemented.
7160 (setDefaultActions): Implemented.
7161 (getDefaultActions): Implemented.
7162 (setActive): Use active instead of isActive.
7163 (isActive): Use active instead of isActive.
7164 (addDropTargetListener): Implemented.
7165 (removeDropTargetListener): Implemented.
7166 (getFlavorMap): Implemented.
7167 (setFlavorMap): Implemented.
7168 (getDropTargetContext): Implemented.
7169 (createDropTargetContext): Implemented.
7170 (createDropTargetAutoScroller): Implemented.
7171 * java/awt/dnd/DropTargetContext.java
7172 (TransferableProxy.getTransferDataFlavors): Implemented.
7173 (TransferableProxy.isDataFlavorSupported): Implemented.
7174 (TransferableProxy.getTransferData): Implemented.
7175 (dropTarget): New member variable.
7176 (dtcp): New member variable.
7177 (DropTargetContext): New package private constructor.
7178 (getDropTarget): Implemented.
7179 (getComponent): Implemented.
7180 (addNotify): Implemented.
7181 (removeNotify): Implemented.
7182 (getCurrentDataFlavorsAsList): Implemented.
7183 (isDataFlavorSupported): Implemented.
7184 * java/awt/dnd/MouseDragGestureRecognizer.java
7185 (registerListeners): Implemented.
7186 (unregisterListeners): Implemented.
7188 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
7189 * Makefile.in: Regenerated.
7191 2003-03-02 Michael Koch <konqueror@gmx.de>
7193 * java/awt/Component.java
7194 (eventTypeEnabled): New method.
7195 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
7196 * java/awt/Container.java
7197 (changeSupport): New member variable.
7198 (addPropertyChangeListener): New methods.
7199 * java/awt/ContainerOrderFocusTraversalPolicy.java
7200 (ContainerOrderFocusTraversalPolicy): Added comment.
7201 (getComponentAfter): Throw exception, documentation added.
7202 (getComponentBefore): Throw exception, documentation added.
7203 (getFirstComponent): Throw exception, documentation added.
7204 (getLastComponent): Throw exception, documentation added.
7205 (getDefaultComponent): Throw exception, documentation added.
7206 * java/awt/EventQueue.java: Reindented.
7207 * java/awt/FocusTraversalPolicy.java:
7208 (FocusTraversalPolicy): Added comment.
7209 (getComponentAfter): Documentation added.
7210 (getComponentBefore): Documentation added.
7211 (getFirstComponent): Documentation added.
7212 (getLastComponent): Documentation added.
7213 (getDefaultComponent): Documentation added.
7214 (getInitialComponent): Documentation added.
7215 * java/awt/ScrollPane.java
7216 (wheelScrollingEnabled): New member variable.
7217 (ScrollPane): Initialize wheelScollingEnabled.
7218 (eventTypeEnabled): New method.
7219 (isWheelScrollingEnabled): New method.
7220 (setWheelScrollingEnabled): New method.
7222 2003-03-02 Michael Koch <konqueror@gmx.de>
7224 * java/net/DatagramSocket.java
7225 (closed): New member variable.
7226 (close): Use closed variable.
7227 (getInetAddress): No need to call isConnected().
7228 (getPort): No need to call isConnected().
7229 (disconnect): Reset remoteAddress and remotePort, fixed typo.
7230 (isClosed): Reimplemented.
7232 2003-03-02 Michael Koch <konqueror@gmx.de>
7234 * configure.in: Added check for memory mapping of files.
7235 * configure: Regenerated.
7236 * config.h.in: Regenerated.
7238 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
7240 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
7241 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
7243 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
7245 * java/io/File.java (normalizePath): Remove trailing separator
7246 on Windows only if path is not of the form "x:\".
7248 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
7249 (java::io::File::attr): Change formatting a bit and use
7250 WIN32_EPOCH_MILLIS instead of magic numbers.
7251 (java::io::File::isAbsolute): Path must have at least 3
7252 characters for a UNC network path.
7253 (java::io::File::init_native): Define.
7254 (java::io::File::performCreate): Likewise.
7255 (java::io::File::performSetReadOnly): Likewise.
7256 (java::io::File::performSetLastModified): Likewise.
7257 (java::io::File::performListRoots): Likewise.
7259 2003-03-01 Tom Tromey <tromey@redhat.com>
7261 * java/lang/natObject.cc: Don't include assert.h.
7262 (heavy_lock_obj_finalization_proc): Use JvAssert.
7263 (remove_all_heavy): Likewise.
7264 (_Jv_MonitorEnter): Likewise.
7265 (_Jv_MonitorExit): Likewise.
7268 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
7270 * java/io/File (getAbsolutePath): Prefix drive specifier on
7271 Windows for paths starting with a '\'.
7272 (toURL): Make URL more consistent with what Sun's JDK returns.
7274 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
7275 true only if the path is a UNC network path or it starts with a
7278 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
7279 Be prepared to handle either '/' or '\\' in the file path for
7280 Windows if using the "file" protocol.
7281 Canonicalise the file path if using a relative path in the given
7282 context and the "file" protocol.
7284 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
7286 * java/lang/natWin32Process.cc (startProcess): Double-quote each
7287 program array element passed to CreateProcess.
7289 2003-03-01 Tom Tromey <tromey@redhat.com>
7291 * java/rmi/registry/RegistryHandler.java: Deprecate.
7293 2003-03-01 Tom Tromey <tromey@redhat.com>
7295 * javax/accessibility/AccessibleEditableText.java,
7296 javax/accessibility/AccessibleHyperlink.java: New versions from
7299 * gnu/java/locale/LocaleInformation_af_ZA.java,
7300 gnu/java/locale/LocaleInformation_ar_AE.java,
7301 gnu/java/locale/LocaleInformation_ar_BH.java,
7302 gnu/java/locale/LocaleInformation_ar_DZ.java,
7303 gnu/java/locale/LocaleInformation_ar_EG.java,
7304 gnu/java/locale/LocaleInformation_ar_IN.java,
7305 gnu/java/locale/LocaleInformation_ar_IQ.java,
7306 gnu/java/locale/LocaleInformation_ar_JO.java,
7307 gnu/java/locale/LocaleInformation_ar_KW.java,
7308 gnu/java/locale/LocaleInformation_ar_LB.java,
7309 gnu/java/locale/LocaleInformation_ar_LY.java,
7310 gnu/java/locale/LocaleInformation_ar_MA.java,
7311 gnu/java/locale/LocaleInformation_ar_OM.java,
7312 gnu/java/locale/LocaleInformation_ar_QA.java,
7313 gnu/java/locale/LocaleInformation_ar_SD.java,
7314 gnu/java/locale/LocaleInformation_ar_SY.java,
7315 gnu/java/locale/LocaleInformation_ar_TN.java,
7316 gnu/java/locale/LocaleInformation_ar_YE.java,
7317 gnu/java/locale/LocaleInformation_be_BY.java,
7318 gnu/java/locale/LocaleInformation_bn_IN.java,
7319 gnu/java/locale/LocaleInformation_br_FR.java,
7320 gnu/java/locale/LocaleInformation_bs_BA.java,
7321 gnu/java/locale/LocaleInformation_ca_ES.java,
7322 gnu/java/locale/LocaleInformation_cs_CZ.java,
7323 gnu/java/locale/LocaleInformation_cy_GB.java,
7324 gnu/java/locale/LocaleInformation_da_DK.java,
7325 gnu/java/locale/LocaleInformation_de_AT.java,
7326 gnu/java/locale/LocaleInformation_de_BE.java,
7327 gnu/java/locale/LocaleInformation_de_CH.java,
7328 gnu/java/locale/LocaleInformation_de_DE.java,
7329 gnu/java/locale/LocaleInformation_de_LU.java,
7330 gnu/java/locale/LocaleInformation_el_GR.java,
7331 gnu/java/locale/LocaleInformation_en_AU.java,
7332 gnu/java/locale/LocaleInformation_en_BW.java,
7333 gnu/java/locale/LocaleInformation_en_CA.java,
7334 gnu/java/locale/LocaleInformation_en_DK.java,
7335 gnu/java/locale/LocaleInformation_en_GB.java,
7336 gnu/java/locale/LocaleInformation_en_HK.java,
7337 gnu/java/locale/LocaleInformation_en_IE.java,
7338 gnu/java/locale/LocaleInformation_en_IN.java,
7339 gnu/java/locale/LocaleInformation_en_NZ.java,
7340 gnu/java/locale/LocaleInformation_en_PH.java,
7341 gnu/java/locale/LocaleInformation_en_SG.java,
7342 gnu/java/locale/LocaleInformation_en_US.java,
7343 gnu/java/locale/LocaleInformation_en_ZA.java,
7344 gnu/java/locale/LocaleInformation_en_ZW.java,
7345 gnu/java/locale/LocaleInformation_es_AR.java,
7346 gnu/java/locale/LocaleInformation_es_BO.java,
7347 gnu/java/locale/LocaleInformation_es_CL.java,
7348 gnu/java/locale/LocaleInformation_es_CO.java,
7349 gnu/java/locale/LocaleInformation_es_CR.java,
7350 gnu/java/locale/LocaleInformation_es_DO.java,
7351 gnu/java/locale/LocaleInformation_es_EC.java,
7352 gnu/java/locale/LocaleInformation_es_ES.java,
7353 gnu/java/locale/LocaleInformation_es_GT.java,
7354 gnu/java/locale/LocaleInformation_es_HN.java,
7355 gnu/java/locale/LocaleInformation_es_MX.java,
7356 gnu/java/locale/LocaleInformation_es_NI.java,
7357 gnu/java/locale/LocaleInformation_es_PA.java,
7358 gnu/java/locale/LocaleInformation_es_PE.java,
7359 gnu/java/locale/LocaleInformation_es_PR.java,
7360 gnu/java/locale/LocaleInformation_es_PY.java,
7361 gnu/java/locale/LocaleInformation_es_SV.java,
7362 gnu/java/locale/LocaleInformation_es_US.java,
7363 gnu/java/locale/LocaleInformation_es_UY.java,
7364 gnu/java/locale/LocaleInformation_es_VE.java,
7365 gnu/java/locale/LocaleInformation_et_EE.java,
7366 gnu/java/locale/LocaleInformation_eu_ES.java,
7367 gnu/java/locale/LocaleInformation_fa_IR.java,
7368 gnu/java/locale/LocaleInformation_fi_FI.java,
7369 gnu/java/locale/LocaleInformation_fo_FO.java,
7370 gnu/java/locale/LocaleInformation_fr_BE.java,
7371 gnu/java/locale/LocaleInformation_fr_CA.java,
7372 gnu/java/locale/LocaleInformation_fr_CH.java,
7373 gnu/java/locale/LocaleInformation_fr_FR.java,
7374 gnu/java/locale/LocaleInformation_fr_LU.java,
7375 gnu/java/locale/LocaleInformation_ga_IE.java,
7376 gnu/java/locale/LocaleInformation_gd_GB.java,
7377 gnu/java/locale/LocaleInformation_gl_ES.java,
7378 gnu/java/locale/LocaleInformation_gv_GB.java,
7379 gnu/java/locale/LocaleInformation_he_IL.java,
7380 gnu/java/locale/LocaleInformation_hi_IN.java,
7381 gnu/java/locale/LocaleInformation_hr_HR.java,
7382 gnu/java/locale/LocaleInformation_hu_HU.java,
7383 gnu/java/locale/LocaleInformation_id_ID.java,
7384 gnu/java/locale/LocaleInformation_it_CH.java,
7385 gnu/java/locale/LocaleInformation_it_IT.java,
7386 gnu/java/locale/LocaleInformation_iw_IL.java,
7387 gnu/java/locale/LocaleInformation_ja_JP.java,
7388 gnu/java/locale/LocaleInformation_ka_GE.java,
7389 gnu/java/locale/LocaleInformation_kl_GL.java,
7390 gnu/java/locale/LocaleInformation_ko_KR.java,
7391 gnu/java/locale/LocaleInformation_kw_GB.java,
7392 gnu/java/locale/LocaleInformation_lt_LT.java,
7393 gnu/java/locale/LocaleInformation_lv_LV.java,
7394 gnu/java/locale/LocaleInformation_mi_NZ.java,
7395 gnu/java/locale/LocaleInformation_mk_MK.java,
7396 gnu/java/locale/LocaleInformation_mr_IN.java,
7397 gnu/java/locale/LocaleInformation_mt_MT.java,
7398 gnu/java/locale/LocaleInformation_nl_BE.java,
7399 gnu/java/locale/LocaleInformation_nl_NL.java,
7400 gnu/java/locale/LocaleInformation_nn_NO.java,
7401 gnu/java/locale/LocaleInformation_no_NO.java,
7402 gnu/java/locale/LocaleInformation_oc_FR.java,
7403 gnu/java/locale/LocaleInformation_pl_PL.java,
7404 gnu/java/locale/LocaleInformation_pt_BR.java,
7405 gnu/java/locale/LocaleInformation_pt_PT.java,
7406 gnu/java/locale/LocaleInformation_ro_RO.java,
7407 gnu/java/locale/LocaleInformation_ru_RU.java,
7408 gnu/java/locale/LocaleInformation_ru_UA.java,
7409 gnu/java/locale/LocaleInformation_se_NO.java,
7410 gnu/java/locale/LocaleInformation_sk_SK.java,
7411 gnu/java/locale/LocaleInformation_sl_SI.java,
7412 gnu/java/locale/LocaleInformation_sq_AL.java,
7413 gnu/java/locale/LocaleInformation_sr_YU.java,
7414 gnu/java/locale/LocaleInformation_sv_FI.java,
7415 gnu/java/locale/LocaleInformation_sv_SE.java,
7416 gnu/java/locale/LocaleInformation_ta_IN.java,
7417 gnu/java/locale/LocaleInformation_te_IN.java,
7418 gnu/java/locale/LocaleInformation_tg_TJ.java,
7419 gnu/java/locale/LocaleInformation_tl_PH.java,
7420 gnu/java/locale/LocaleInformation_tr_TR.java,
7421 gnu/java/locale/LocaleInformation_uk_UA.java,
7422 gnu/java/locale/LocaleInformation_ur_PK.java,
7423 gnu/java/locale/LocaleInformation_uz_UZ.java,
7424 gnu/java/locale/LocaleInformation_vi_VN.java,
7425 gnu/java/locale/LocaleInformation_yi_US.java,
7426 gnu/java/locale/LocaleInformation_zh_CN.java,
7427 gnu/java/locale/LocaleInformation_zh_HK.java,
7428 gnu/java/locale/LocaleInformation_zh_SG.java,
7429 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
7430 info; from Classpath.
7432 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
7433 isPaintPending): New methods.
7434 * gnu/awt/xlib/XFramePeer.java (getState, setState,
7435 setMaximizedBounds): New methods.
7436 (beginLayout, endLayout, isPaintPending): Likewise.
7437 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
7438 (requestFocus): Likewise.
7439 (isObscured): Likewise.
7440 (canDetermineObscurity): Likewise.
7441 (coalescePaintEvent): Likewise.
7442 (updateCursorImmediately): Likewise.
7443 (createVolatileImage): Likewise.
7444 (handlesWheelScrolling): Likewise.
7445 (createBuffers): Likewise.
7446 (getBackBuffer): Likewise.
7448 (destroyBuffers): Likewise.
7450 * Makefile.in: Rebuilt.
7451 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
7453 * gnu/java/awt/GLightweightPeer.java,
7454 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7455 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7456 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7457 gnu/java/awt/peer/gtk/GtkFramePeer.java,
7458 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
7459 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7460 java/awt/dnd/peer/DragSourceContextPeer.java,
7461 java/awt/dnd/peer/DropTargetContextPeer.java,
7462 java/awt/peer/ButtonPeer.java,
7463 java/awt/peer/CheckboxMenuItemPeer.java,
7464 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
7465 java/awt/peer/ComponentPeer.java,
7466 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
7467 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
7468 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
7469 java/awt/peer/MenuBarPeer.java,
7470 java/awt/peer/MenuComponentPeer.java,
7471 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
7472 java/awt/peer/PopupMenuPeer.java,
7473 java/awt/peer/ScrollPanePeer.java,
7474 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
7475 java/awt/peer/TextComponentPeer.java,
7476 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
7477 New versions from Classpath.
7478 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
7479 * java/awt/peer/RobotPeer.java: Likewise.
7481 2003-03-01 Mark Wielaard <mark@klomp.org>
7483 * java/io/ObjectInputStream.java: Reindent.
7484 * java/io/ObjectOutputStream.java: Likewise.
7486 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
7488 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
7489 jvalue for each argument. Simplify.
7490 * testsuite/libjava.jni/calls.c (docall),
7491 testsuite/libjava.jni/calls.java (longpb_f): check for argument
7494 2003-02-28 Mark Wielaard <mark@klomp.org>
7496 * Makefile.am (nat_source_files): Remove
7497 java/io/natObjectOutputStream.cc.
7498 * Makefile.in: Regenerated.
7499 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
7500 * java/io/ObjectStreamField.java (typename): New field.
7501 (ObjectStreamField(String, Class)): Initialize new field.
7502 (ObjectStreamField(String, String)): New Constructor.
7503 (getTypeCode): Use new field.
7504 (getTypeString): Use new field.
7505 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
7506 ObjectStreamExceptions. Remember and reset old BlockDataMode.
7507 Handle reading of Proxy classes. Never drain(), just write
7508 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
7509 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
7510 (flush): Call flush(), not just drain().
7511 (writeBoolean): Always use blockDataOutput.
7512 (writeByte): Likewise.
7513 (writeShort): Likewise.
7514 (writeChar): Likewise.
7515 (writeInt): Likewise.
7516 (writeLong): Likewise.
7517 (writeFloat): Likewise.
7518 (writeDouble): Likewise.
7519 (writeBytes): Likewise.
7520 (putfield (put(String,Object))): Throw IllegalArgumentException if
7521 field cannot be found.
7522 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
7523 (writeArraySizeAndElements): Write byte[] in one go.
7524 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
7525 set BlockDataMode to false.
7526 (annotateProxyClass): New method.
7527 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
7528 (getField): No longer native.
7529 (getMethod): Likewise.
7530 (setBlockDataMode): Always drain() on switch, return old mode.
7531 (static): New static code block.
7532 * java/io/natObjectOutputStream.cc: Removed.
7533 * java/io/ObjectInputStream.java (getField): No longer native.
7534 (getMethod): Likewise.
7535 (readObject): Remember and reset old BlockDataMode. Track whether
7536 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
7538 (defaultReadObject): Set BlockDataMode to false during readFields.
7539 (resolveClass): Create new SecurityManager if necessary.
7540 Use Class.forName() if null ClassLoader found.
7541 (read(byte[],int,int): Copy remaining bytes to data before calling
7543 (readFields): Set and reset BlockDataMode on call_read_method.
7544 Catch NoSuchFieldErrors.
7545 (setBlockDataMode): Return old mode.
7546 (static): New static code block.
7547 * java/io/natObjectInputStream.cc (getField): Removed.
7548 (getMethod): Likewise.
7550 2003-02-27 Michael Koch <konqueror@gmx.de>
7552 * java/beans/Beans.java,
7553 java/beans/FeatureDescriptor.java
7554 java/beans/PropertyEditorManager.java:
7555 Reformated to GNU style.
7557 2003-02-25 Michael Koch <konqueror@gmx.de>
7559 * gnu/java/nio/MappedByteFileBuffer.java,
7560 gnu/java/nio/natMappedByteFileBuffer.cc:
7561 New files, both are not compiled yet to get not noncompiling CVS.
7563 2003-02-24 Tom Tromey <tromey@redhat.com>
7565 * java/util/prefs/AbstractPreferences.java (isUserNode):
7568 2003-02-24 Tom Tromey <tromey@redhat.com>
7570 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
7572 * java/lang/Thread.java (resume): Deprecate.
7573 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
7576 2003-02-23 Tom Tromey <tromey@redhat.com>
7578 * Makefile.in: Rebuilt.
7579 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
7581 2003-02-23 Tom Tromey <tromey@redhat.com>
7583 * java/lang/natRuntime.cc (libraries_size, libraries_count,
7584 libraries): Removed.
7585 (add_library): Removed.
7586 (_load): Don't call add_library.
7587 (loadLibraryInternal): Likewise.
7589 (lookup_data): New struct.
7590 (find_symbol): New function.
7591 (_Jv_FindSymbolInExecutable): Use it.
7593 2002-02-21 Anthony Green <green@redhat.com>
7595 * java/lang/Thread.java (Thread): New constructor taking stack
7596 size parameter (ignored for now).
7597 * Many methods: Merged GNU Classpath documentation.
7599 * java/lang/Class.java (finalize): throws a Throwable.
7601 2003-02-21 Mark Wielaard <mark@klomp.org>
7603 * java/util/zip/ZipEntry.java (setComment): Don't check length when
7606 2003-02-21 Mark Wielaard <mark@klomp.org>
7608 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
7609 then 65535 chars throw IllegalArgumentException.
7611 2003-02-21 Mark Wielaard <mark@klomp.org>
7613 * java/util/zip/ZipFile.java (finalize): New method.
7615 2003-02-21 Michael Koch <konqueror@gmx.de>
7617 * gnu/java/nio/natSocketChannelImpl.cc:
7618 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
7619 <cato@df.lth.se> for pointing to it.
7621 2003-02-20 Raif S. Naffah <raif@fl.net.au>
7623 * java/math/BigInteger.java (euclidInv): Take result array as an
7624 argument. Updated all callers.
7625 (modInverse): Removed unused variables.
7627 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
7629 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
7631 * configure: Rebuilt.
7633 2003-02-19 Michael Koch <konqueror@gmx.de>
7635 * gnu/java/nio/natSocketChannelImpl.cc:
7636 Added support for platforms without network support.
7638 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7640 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
7641 after config.h. Use <> for consistency.
7642 * java/lang/natObject.cc: Likewise.
7643 * java/lang/natRuntime.cc: Likewise.
7644 * java/lang/natSystem.cc: Likewise.
7645 * java/util/natTimeZone.cc: Likewise.
7646 * win32.cc: Likewise.
7647 * include/posix.h (fcntl, socket, connect, close, bind, accept,
7648 listen, write, read): Undef to avoid interference from OS macros.
7650 2003-02-19 Michael Koch <konqueror@gmx.de>
7652 * gnu/java/nio/ByteBufferImpl.java
7653 (ByteBufferImpl): Renamed two variables.
7654 * gnu/java/nio/CharBufferImpl.java
7655 (CharBufferImpl): Renamed two variables.
7656 * gnu/java/nio/DoubleBufferImpl.java
7657 (DoubleBufferImpl): Renamed two variables.
7658 * gnu/java/nio/FloatBufferImpl.java
7659 (FloatBufferImpl): Renamed two variables.
7660 * gnu/java/nio/IntBufferImpl.java
7661 (IntBufferImpl): Renamed two variables.
7662 * gnu/java/nio/LongBufferImpl.java
7663 (LongBufferImpl): Renamed two variables.
7664 * gnu/java/nio/ShortBufferImpl.java
7665 (ShortBufferImpl): Renamed two variables.
7666 * java/nio/CharBuffer.java
7667 (wrap): Fixed arguments to CharBufferImpl constructor.
7668 (hasArray): Only not read-only buffers have backing arrays.
7669 (length): Documentation added.
7670 (subSequence): Documentation added.
7671 * java/nio/DoubleBuffer.java
7672 (hasArray): Only not read-only buffers have backing arrays.
7673 * java/nio/FloatBuffer.java
7674 (hasArray): Only not read-only buffers have backing arrays.
7675 * java/nio/IntBuffer.java
7676 (hasArray): Only not read-only buffers have backing arrays.
7677 * java/nio/LongBuffer.java
7678 (hasArray): Only not read-only buffers have backing arrays.
7679 * java/nio/ShortBuffer.java
7680 (hasArray): Only not read-only buffers have backing arrays.
7682 2003-02-19 Michael Koch <konqueror@gmx.de>
7684 * javax/accessibility/AccessibleContext.java
7685 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
7687 2003-02-19 Michael Koch <konqueror@gmx.de>
7689 * java/awt/ScrollPaneAdjustable.java: Reformated.
7691 2003-02-19 Michael Koch <konqueror@gmx.de>
7693 * gnu/awt/j2d/Graphics2DImpl.java
7694 (getFontRenderContext): New method.
7695 (drawGlyphVector): New method.
7696 * java/awt/Graphics2D.java
7697 (getFontRenderContext): New abstract method.
7698 (drawGlyphVector): New abstract method.
7700 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
7702 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
7705 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7706 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7707 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7708 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7709 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7710 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
7711 (setFont, gtkSetFont): add.
7712 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
7713 Propagate font to peer. (setFont): add FIXME comment.
7715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7716 (gtkTextGetSize): fix height, width computation.
7718 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
7719 Make X font name a bit less bogus.
7721 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
7722 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
7724 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
7725 (processAdjustmentEvent): Adjust value.
7727 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
7730 * java/awt/Component.java (setVisible, show, hide): Call show and
7731 hide methods in subclasses.
7732 (getPreferredSize): don't set prefSize before we have peer.
7734 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
7735 Guess (0,0) if we don't have peer.
7738 2003-02-18 Michael Koch <konqueror@gmx.de>
7740 * java/nio/channels/FileChannel.java
7741 (toString): New implementation, added documentation.
7742 (map): Added exception documentation.
7743 (size): Added exception documentation.
7744 (write): New methods, documentation work.
7745 (read): New methods, documentation work.
7746 (implCloseChannel): Rewrote exception documentation.
7747 (force): Throws IOException, added documentation.
7748 (lock): New methods.
7749 (tryLock): New methods.
7750 (position): New methods.
7751 (transferTo): New method.
7752 (transferFrom): New method.
7753 (truncate): New method.
7754 * java/nio/channels/spi/SelectorProvider.java
7755 (provider): Implemented.
7757 (ordinary_java_source_files): Added the following files:
7758 gnu/java/nio/DatagramChannelImpl.java
7759 gnu/java/nio/FileChannelImpl.java
7760 gnu/java/nio/PipeImpl.java
7761 gnu/java/nio/SelectionKeyImpl.java
7762 gnu/java/nio/SelectorImpl.java
7763 gnu/java/nio/SelectorProviderImpl.java
7764 gnu/java/nio/ServerSocketChannelImpl.java
7765 gnu/java/nio/SocketChannelImpl.java
7766 java/nio/channels/FileLock.java
7767 (nat_java_source_files): Added the following files:
7768 gnu/java/nio/natFileChannelImpl.cc
7769 gnu/java/nio/natSelectorImpl.cc
7770 gnu/java/nio/natSocketChannelImpl.cc
7771 * Makefile.in: Regenerated.
7773 2003-02-17 Tom Tromey <tromey@redhat.com>
7775 * java/awt/image/ColorModel.java: Re-merged with Classpath.
7776 * java/awt/image/ImageFilter.java: Likewise.
7778 2003-02-17 Raif S. Naffah <raif@fl.net.au>
7780 * java/math/BigInteger.java (euclidInv): Return array of
7781 `BigInteger's. Changed all callers.
7783 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
7785 * java/util/Properties.java (store): Move the code formerly in
7786 list(), into this method.
7787 (list (PrintStream)): Just call list (PrintWriter) with a
7788 PrintWriter object constructed from the given PrintStream object.
7789 (list (PrintWriter)): Emulate the output of Properties.list()
7790 as found in JDK 1.3/1.4.
7792 2003-02-17 Michael Koch <konqueror@gmx.de>
7794 * java/net/DatagramSocket.java
7795 (connect): Merged with classpath.
7796 (disconnect): Merged documentation with classpath.
7797 (receice): Merged documentation with classpath.
7798 (send): Merged documentation with classpath.
7800 2003-02-17 Michael Koch <konqueror@gmx.de>
7802 * java/awt/dnd/DragSourceContext.java
7803 (addDragSourceListener): Added documentation.
7804 * java/awt/dnd/DragSourceDragEvent.java
7805 (serialVersionUID): New member variable.
7806 (getDropAction): Reformated.
7807 * java/awt/dnd/DragSourceDropEvent.java
7808 (serialVersionUID): New member variable.
7809 (dropSuccess): Renamed from success for serialization issues.
7810 * java/awt/dnd/DragSourceEvent.java
7811 (serialVersionUID): New member variable.
7812 * java/awt/dnd/DropTarget.java
7813 (serialVersionUID): New member variable.
7814 (DropTarget): Implemented, documentation reworked.
7815 (setComponent): Documentation added.
7816 (getComponent): Documentation added.
7817 (setDefaultActions): Documentation added.
7818 (getDefaultActions): Documentation added.
7819 (addDropTargetListener): Documentation added.
7820 * java/awt/dnd/DropTargetContext.java
7821 (DropTargetContext): Documentation added.
7822 (TransferableProxy.TransferableProxy): New method.
7823 (dropComplete): Fixed documentation.
7824 (getTransferable): Fixed documentation.
7825 (createTransferableProxy): Implemented.
7826 * java/awt/dnd/DropTargetDragEvent.java
7827 (DropTargetDragEvent): Documentation added.
7828 (serialVersionUID): New member variable.
7829 (DropTargetDragEvent): Throw exceptions, documentation added.
7830 (acceptDrag): Implemented.
7831 (getCurrentDataFlavors): Implemented.3yy
7832 (getCurrentDataFlavorsAsList): Implemented.
7833 (isDataFlavorSupported): Implemented.
7834 (rejectDrag): Implemented.
7835 * java/awt/dnd/DropTargetDropEvent.java
7836 (DropTargetDropEvent): Documentation added.
7837 (serialVersionUID): New member variable.
7838 (actions): Renamed from srcActions for serialization issues.
7839 (isLocalTx): Renamed from isLocalTx for serialization issues.
7840 (DropTargetDropEvent): New implementation, throw exceptions,
7841 documentation added.
7842 (getCurrentDataFlavors): Implemented.
7843 (getCurrentDataFlavorsAsList): Implemented.
7844 (isDataFlavorSupported): Implemented.
7845 (getSourceActions): Implemented.
7846 (getDropAction): Implemented.
7847 (getTransferable): Implemented.
7848 (acceptDrop): Implemented.
7849 (rejectDrop): Implemented.
7850 * java/awt/dnd/DropTargetListener.java
7851 (drop): Fixed documentation.
7852 * java/awt/dnd/MouseDragGestureRecognizer.java
7853 (MouseDragGestureRecognizer): Documentation added.
7855 2003-02-17 Michael Koch <konqueror@gmx.de>
7857 * java/awt/font/FontRenderContext.java,
7858 java/awt/font/ShapeGraphicAttribute.java,
7859 java/awt/font/MultipleMaster.java,
7860 java/awt/font/TransformAttribute.java,
7861 java/awt/font/GlyphJustificationInfo.java,
7862 java/awt/font/LineBreakMeasurer.java,
7863 java/awt/font/TextMeasurer.java,
7864 java/awt/font/TextLayout.java,
7865 java/awt/font/LineMetrics.java,
7866 java/awt/font/TextAttribute.java,
7867 java/awt/font/GlyphMetrics.java,
7868 java/awt/font/OpenType.java,
7869 java/awt/font/GlyphVector.java,
7870 java/awt/font/GraphicAttribute.java,
7871 java/awt/font/ImageGraphicAttribute.java,
7872 java/awt/font/NumericShaper.java: New files.
7874 (awt_java_source_files): Added the following files:
7875 java/awt/font/FontRenderContext.java
7876 java/awt/font/ShapeGraphicAttribute.java
7877 java/awt/font/MultipleMaster.java
7878 java/awt/font/TransformAttribute.java
7879 java/awt/font/GlyphJustificationInfo.java
7880 java/awt/font/LineBreakMeasurer.java
7881 java/awt/font/TextMeasurer.java
7882 java/awt/font/TextLayout.java
7883 java/awt/font/LineMetrics.java
7884 java/awt/font/TextAttribute.java
7885 java/awt/font/GlyphMetrics.java
7886 java/awt/font/OpenType.java
7887 java/awt/font/GlyphVector.java
7888 java/awt/font/GraphicAttribute.java
7889 java/awt/font/ImageGraphicAttribute.java
7890 java/awt/font/NumericShaper.java
7891 * Makefile.in: Regenerated.
7893 2003-02-17 Michael Koch <konqueror@gmx.de>
7895 * java/awt/print/Paper.java
7896 (Paper): Implements Cloneable.
7897 * java/awt/print/PrinterJob.java
7898 (setJobName): Return value must be void.
7899 (print): Throws PrinterException.
7901 2003-02-16 Tom Tromey <tromey@redhat.com>
7903 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
7906 2003-02-15 Michael Koch <konqueror@gmx.de>
7908 * java/awt/datatransfer/DataFlavor.java
7909 (isRepresentationClassByteBuffer): Removed try-catch block.
7910 (isRepresentationClassCharBuffer): Removed try-catch block.
7911 (isRepresentationClassReader): Removed try-catch block.
7913 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7915 * java/nio/charset/Charset.java
7916 (isRegistered): Fixed method args and implementation.
7917 * java/nio/charset/CharsetEncoder.java
7918 (unmappableCharacterAction): New method.
7920 2003-02-15 Michael Koch <konqueror@gmx.de>
7922 * java/awt/CheckboxMenuItem.java
7923 (CheckBoxMenuItem): Dont implement Serializable.
7924 (getListeners): New method,
7925 (getItemListeners): New method.
7926 * java/awt/Choice.java
7927 (getListeners): New method,
7928 (getItemListeners): New method.
7929 * java/awt/Container.java
7930 (getListeners): Added exception documentation.
7931 (setFocusTraversalKeys): Throw exceptions, added documentattion.
7932 (getFocusTraversalKeys): Added documentation.
7933 (areFocusTraversalKeysSet): Added documentation.
7934 (applyComponentOrientation): Added documentation.
7935 * java/awt/ContainerOrderFocusTraversalPolicy.java
7936 (implicitDownCycleTraversal): Renamed from downCycle for
7938 (ContainerOrderFocusTraversalPolicy): Added documentation.
7939 (accept): Reformated.
7940 * java/awt/Dialog.java
7941 (Dialog): Dont implement Serializable.
7942 (Dialog): Added documentation.
7943 * java/awt/Font.java
7944 (Font): Dont use absolute class name.
7945 * java/awt/Frame.java
7946 (Frame): Font implement Serializable.
7947 * java/awt/List.java
7948 (getListeners): New method,
7949 (getActionListeners): New method.
7950 (getItemListeners): New method.
7951 * java/awt/Menu.java
7952 (countItems): New deprecated method.
7953 * java/awt/Scrollbar.java
7954 (getListeners): New method,
7955 (getAdjustmentListeners): New method,
7956 * java/awt/TextComponent.java
7957 (getListeners): New method,
7958 (getTextListeners): New method,
7959 * java/awt/TextField.java
7960 (getListeners): New method,
7961 (getActionListeners): New method.
7962 * java/awt/Window.java
7963 (windowFocusListener): New member variable.
7964 (windowStateListener): New member variable.
7965 (getWindowFocusListeners): New method.
7966 (getWindowStateListeners): New method.
7967 (addWindowFocusListener): New method.
7968 (addWindowStateListener): New method.
7969 (removeWindowFocusListener): New method.
7970 (removeWindowStateListener): New method.
7971 * java/awt/datatransfer/DataFlavor.java
7972 (isRepresentationClassByteBuffer): New method.
7973 (isRepresentationClassCharBuffer): New method.
7974 (isRepresentationClassReader): New method.
7976 2003-02-14 Mark Wielaard <mark@klomp.org>
7978 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
7979 zero when there is an exponent and the significant is zero.
7980 (divide): Always set scale to newScale even in special ZERO case.
7982 2003-02-14 Tom Tromey <tromey@redhat.com>
7984 * java/lang/System.java (properties): Use Properties.clone.
7985 (setProperties): Likewise.
7987 2003-02-14 Michael Koch <konqueror@gmx.de>
7989 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
7990 * gnu/java/nio/ServerSocketChannelImpl.java
7991 (SocketAccept): Removed.
7992 (accept): Commented out use of SocketAccept.
7994 2003-02-13 Tom Tromey <tromey@redhat.com>
7996 * verify.cc (state::seen_subrs): New field.
7997 (state::state): Initialize it.
7998 (state::clean_subrs): New method.
7999 (state::~state): Call it.
8000 (state::copy): Copy subroutine list.
8001 (state::add_subr): New method.
8002 (state::merge): Only register a change if the current subroutine
8003 hasn't yet been noted.
8005 2003-02-13 Mark Wielaard <mark@klomp.org>
8007 * java/io/InputStreamReader.java (getEncoding): Return null when
8009 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
8011 2003-02-13 Mark Wielaard <mark@klomp.org>
8013 * java/util/zip/InflaterInputStream.java (read): Return zero when len
8016 2003-02-13 Mark Wielaard <mark@klomp.org>
8018 * java/io/BufferedOutputStream.java (write(int)): Only flush when
8019 next byte cannot be buffered.
8021 2003-02-13 Michael Koch <konqueror@gmx.de>
8023 * java/awt/Label.java
8024 (Label): Don't implement Serializable directly.
8025 (addNotify): Fixed typo in documentation.
8026 * java/awt/List.java
8027 (List): Don't implement Serializable directly.
8028 * java/awt/PopupMenu.java
8029 (PopupMenu): Don't implement Serializable directly.
8030 * java/awt/ScrollPane.java
8031 (ScrollPane): Don't implement Serializable directly.
8032 * java/awt/Scrollbar.java
8033 (Scrollbar): Don't implement Serializable directly.
8034 * java/awt/TextArea.java
8035 (preferredSize): Fixed method arguments.
8036 * java/awt/TextField.java
8037 (TextField): Don't implement Serializable directly.
8038 * java/awt/color/ICC_ColorSpace.java
8039 (fromCIOXYZ): Documentation added.
8040 (getMinValue): Documentation added.
8041 (getMaxValue): Documentation added.
8042 * java/awt/datatransfer/DataFlavor.java
8043 (isMimeTypeEqual): May not be final.
8044 (clone): Throws CloneNotSupportedException.
8045 (getReaderForText): Don't throws UnsupportedEncodingException.
8047 2003-02-13 Michael Koch <konqueror@gmx.de>
8049 * gnu/java/awt/peer/gtk/GdkGraphics.java
8050 (drawString): New stubbed method.
8051 * java/awt/Graphics.java
8052 (drawString): New method.
8054 2003-02-13 Casey Marshall <rsdio@metastatic.org>
8057 * java/security/SecureRandom.java (next): Avoid bias in results.
8059 2003-02-13 Michael <konqueror@gmx.de>
8061 * gnu/java/nio/FileChannelImpl.java
8062 (lengthInternal): Must be native.
8063 (size): Check if channel is already closed.
8064 (implCloseChannel): Reformated.
8065 (read): w was unused, removed it.
8068 (write): New method.
8069 (map): Check arguments.
8070 (force): Throws IOException, check if channel is closed.
8071 (transferTo): New method.
8072 (transferFrom): New method.
8074 (tryLock): New method.
8075 (position): New method.
8076 (truncate): New method.
8077 (nio_mmap_file): Uncommented.
8078 (nio_munmap_file): Uncommented.
8079 (nio_msync): Uncommented.
8080 * gnu/java/nio/natFileChannelImpl.cc: New file.
8082 2003-02-13 Michael Koch <konqueror@gmx.de>
8084 * java/nio/ByteBuffer.java
8085 (endian): New member variable.
8087 (equals): New method.
8088 (compareTo): New method.
8089 (order): New methods.
8090 (compact): New method.
8091 (isDirect): New method.
8092 (slice): New method.
8093 (duplicate): New method.
8094 (asReadOnlyBuffer): New method.
8095 (asCharBuffer): New method.
8096 (asDoubleBuffer): New method.
8097 (asFloatBuffer): New method.
8098 (asIntBuffer): New method.
8099 (asLongBuffer): New method.
8100 (asShortBuffer): New method.
8101 (get*): New methods.
8102 (put*): New methods.
8103 (toString): New method.
8104 * java/nio/CharBuffer.java
8105 (CharBuffer): Implement Comparable instead of Cloneable.
8106 (get): May not be final.
8107 (put): May not be final.
8109 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
8111 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
8112 lastIndexOf( ) instead of indexOf( ) to find the colon before
8113 the line number, because Win32 file names might contain a
8114 drive letter and a colon at the start of an absolute path.
8116 2003-02-13 Michael Koch <konqueror@gmx.de>
8118 * gnu/java/nio/natSocketChannelImpl.cc
8119 (SocketConnect): This is not implemented yet.
8120 (SocketBind): This is not implemented yet.
8122 2003-02-13 Michael Koch <konqueror@gmx.de>
8124 * gnu/java/nio/natByteBufferImpl.cc,
8125 gnu/java/nio/natCharBufferImpl.cc,
8126 gnu/java/nio/natDoubleBufferImpl.cc,
8127 gnu/java/nio/natFloatBufferImpl.cc,
8128 gnu/java/nio/natIntBufferImpl.cc,
8129 gnu/java/nio/natLongBufferImpl.cc,
8130 gnu/java/nio/natShortBufferImpl.cc:
8131 Added copyright and license.
8132 * java/nio/DoubleBuffer.java,
8133 java/nio/FloatBuffer.java,
8134 java/nio/IntBuffer.java,
8135 java/nio/LongBuffer.java,
8136 java/nio/ShortBuffer.java
8137 (array): Throw exceptions.
8138 (arrayOffset): Throw exceptions.
8140 2003-02-13 Michael Koch <konqueror@gmx.de>
8142 * gnu/java/util/prefs/FileBasedFactory.java,
8143 gnu/java/util/prefs/MemmoryBasedFactory.java,
8144 gnu/java/util/prefs/MemoryBasedPreferences.java,
8145 gnu/java/util/prefs/NodeReader.java,
8146 gnu/java/util/prefs/NodeWriter.java,
8147 java/util/prefs/AbstractPreferences.java,
8148 java/util/prefs/BackingStoreException.java,
8149 java/util/prefs/InvalidPreferencesFormatException.java,
8150 java/util/prefs/NodeChangeEvent.java,
8151 java/util/prefs/NodeChangeListener.java,
8152 java/util/prefs/PreferenceChangeEvent.java,
8153 java/util/prefs/PreferenceChangeListener.java,
8154 java/util/prefs/Preferences.java,
8155 java/util/prefs/PreferencesFactory.java:
8156 New files, all merged from classpath.
8158 (ordinary_java_source_files): Added the following files:
8159 gnu/java/util/prefs/FileBasedFactory.java,
8160 gnu/java/util/prefs/MemmoryBasedFactory.java,
8161 gnu/java/util/prefs/MemoryBasedPreferences.java,
8162 gnu/java/util/prefs/NodeReader.java,
8163 gnu/java/util/prefs/NodeWriter.java,
8164 (core_java_source_files): Added the following files:
8165 java/util/prefs/AbstractPreferences.java,
8166 java/util/prefs/BackingStoreException.java,
8167 java/util/prefs/InvalidPreferencesFormatException.java,
8168 java/util/prefs/NodeChangeEvent.java,
8169 java/util/prefs/NodeChangeListener.java,
8170 java/util/prefs/PreferenceChangeEvent.java,
8171 java/util/prefs/PreferenceChangeListener.java,
8172 java/util/prefs/Preferences.java,
8173 java/util/prefs/PreferencesFactory.java
8174 * Makefile.in: Regenerated.
8176 2003-02-13 Michael Koch <konqueror@gmx.de>
8178 * java/net/NetPermission.java
8179 (NetPermission): Make doucmentation match the method declaration.
8180 * java/net/NetworkInterface.java
8181 (equals): Reformated for GNU coding style.
8182 * java/net/ServerSocket.java: Merged with classpath.
8183 * java/net/Socket.java: Partly merged with classpath (Added some @since).
8184 * java/net/SocketImpl.java
8185 (localPort): Merged with classpath (initialize with -1).
8186 * java/net/SocketPermission.java: Merged with classpath (reindented).
8187 * java/net/URLDecoder.java: Merged with classpath (reindented).
8189 2003-02-13 Michael Koch <konqueror@gmx.de>
8191 * java/awt/GridBagConstraints.java
8192 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
8193 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
8194 * java/awt/KeyboardFocusManager.java
8195 (setGlobalCurrentFocusCycleRoot): Must be public.
8196 * java/awt/MenuComponent.java
8197 (MenuComponent): Must be public.
8198 * java/awt/Toolkit.java:
8199 Added some empty lines to make documentation more readable.
8200 (getFontPeer): Added @deprecated.
8201 (getColorModel): Added exception documentation.
8202 (getProperty): Fixed documentation.
8204 2003-02-12 Jeff Sturm <jsturm@one-point.com>
8206 * configure.host (alpha*-*): Default to -mieee.
8207 * configure.in (IEEESPEC): New.
8208 * libgcj.spec.in (jc1): Add IEEESPEC.
8209 * configure: Rebuild.
8211 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
8213 * include/win32.h: Include ws2tcpip.h instead of
8214 winsock.h to obtain definition of the socklen_t type.
8215 Remove IP_TOS definition - not needed with ws2tcpip.h
8216 (_Jv_connect): Correct slight formatting error.
8218 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
8220 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
8221 size of the arguments for a JNI function. For Win32,
8222 modify to search for all forms of possible exported
8223 names of an stdcall JNI function.
8224 (_Jv_JNIMethod::call): Modify to calculate the size
8225 of the arguments passed to a JNI function and pass
8226 it to _Jv_LookupJNIMethod.
8228 2003-02-12 Michael Koch <konqueror@gmx.de>
8230 * java/nio/channels/Channels.java: New file.
8232 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
8233 * Makefile.in: Regenerated.
8235 2003-02-12 Michael Koch <konqueror@gmx.de>
8237 * java/nio/ByteBuffer.java
8238 (allocate): Implemented.
8239 (wrap): Implemented.
8240 * java/nio/CharBuffer.java:
8241 Some documentation added and reworked.
8243 (allocate): Implemented.
8244 (wrap): Implemented.
8245 (array): Throw exceptions.
8246 (arrayOffset): Throw exceptions.
8247 (toString): Implemented.
8248 (length): Implemented.
8250 (charAt): Implemented.
8252 2003-02-11 John Leuner <jewel@debian.org>
8254 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
8255 reads from end of file.
8257 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
8259 * java/io/natFileDescriptorWin32.cc
8260 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
8261 returns with Win32 error code ERROR_BROKEN_PIPE.
8263 2003-02-11 Michael Koch <konqueror@gmx.de>
8266 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
8268 2003-02-11 Michael Koch <konqueror@gmx.de>
8270 * gnu/java/nio/ByteBufferImpl.java:
8271 Reformated and removed some code.
8272 (backing_buffer): Removed.
8273 (array_offset): Removed.
8274 (ro): Renamed to readOnly.
8275 (ByteBufferImpl): Use parent constructor, initialize readOnly.
8276 * gnu/java/nio/CharBufferImpl.java:
8277 Reformated and removed some code.
8278 (array_offset): Removed.
8279 (ro): Renamed to readOnly.
8280 (CharBufferImpl): Use parent constructor, initialize readOnly.
8282 (order): New method.
8283 * gnu/java/nio/DoubleBufferImpl.java:
8284 Reformated and removed some code.
8285 (array_offset): Removed.
8286 (ro): Renamed to readOnly.
8287 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
8289 (order): New method.
8290 * gnu/java/nio/FloatBufferImpl.java:
8291 Reformated and removed some code.
8292 (array_offset): Removed.
8293 (ro): Renamed to readOnly.
8294 (FloatBufferImpl): Use parent constructor, initialize readOnly.
8296 (order): New method.
8297 * gnu/java/nio/IntBufferImpl.java:
8298 Reformated and removed some code.
8299 (array_offset): Removed.
8300 (ro): Renamed to readOnly.
8301 (IntBufferImpl): Use parent constructor, initialize readOnly.
8303 (order): New method.
8304 * gnu/java/nio/LongBufferImpl.java:
8305 Reformated and removed some code.
8306 (array_offset): Removed.
8307 (ro): Renamed to readOnly.
8308 (LongBufferImpl): Use parent constructor, initialize readOnly.
8310 (order): New method.
8311 * gnu/java/nio/ShortBufferImpl.java:
8312 Reformated and removed some code.
8313 (array_offset): Removed.
8314 (ro): Renamed to readOnly.
8315 (ShortBufferImpl): Use parent constructor, initialize readOnly.
8317 (order): New method.
8319 (ordinary_java_source_files): Added the following files:
8320 gnu/java/nio/ByteBufferImpl.java
8321 gnu/java/nio/CharBufferImpl.java
8322 gnu/java/nio/DoubleBufferImpl.java
8323 gnu/java/nio/FloatBufferImpl.java
8324 gnu/java/nio/IntBufferImpl.java
8325 gnu/java/nio/LongBufferImpl.java
8326 gnu/java/nio/ShortBufferImpl.java
8327 java/nio/DoubleBuffer.java
8328 java/nio/FloatBuffer.java
8329 java/nio/IntBuffer.java
8330 java/nio/LongBuffer.java
8331 java/nio/ShortBuffer.java
8332 (nat_source_files): Added the following files:
8333 gnu/java/nio/natByteBufferImpl.cc
8334 gnu/java/nio/natCharBufferImpl.cc
8335 gnu/java/nio/natDoubleBufferImpl.cc
8336 gnu/java/nio/natFloatBufferImpl.cc
8337 gnu/java/nio/natIntBufferImpl.cc
8338 gnu/java/nio/natLongBufferImpl.cc
8339 gnu/java/nio/natShortBufferImpl.cc
8340 * Makefile.in: Regenerated.
8342 2003-02-11 Michael Koch <konqueror@gmx.de>
8344 * gnu/java/nio/natCharBufferImpl.cc
8345 (nio_cast): Removed.
8346 (nio_put_*): Removed.
8347 (nio_get_*): Removed.
8348 * gnu/java/nio/natDoubleBufferImpl.cc
8349 (nio_cast): Removed.
8350 (nio_put_*): Removed.
8351 (nio_get_*): Removed.
8352 * gnu/java/nio/natFloatBufferImpl.cc
8353 (nio_cast): Removed.
8354 (nio_put_*): Removed.
8355 (nio_get_*): Removed.
8356 * gnu/java/nio/natIntBufferImpl.cc
8357 (nio_cast): Removed.
8358 (nio_put_*): Removed.
8359 (nio_get_*): Removed.
8360 * gnu/java/nio/natLongBufferImpl.cc
8361 (nio_cast): Removed.
8362 (nio_put_*): Removed.
8363 (nio_get_*): Removed.
8364 * gnu/java/nio/natShortBufferImpl.cc
8365 (nio_cast): Removed.
8366 (nio_put_*): Removed.
8367 (nio_get_*): Removed.
8368 * gnu/java/nio/SelectorProviderImpl.java
8369 (openDatagramChannel): Throws IOException.
8370 (openPipe): Throws IOException.
8371 (openSelector): Throws IOException.
8372 (openServerSocketChannel): Throws IOException.
8373 (openSocketChannel): Throws IOException.
8374 * gnu/java/nio/ServerSocketChannelImpl.java
8375 (ServerSocketChannelImpl): Throws IOException.
8376 (implCloseSelectableChannel): Throws IOException.
8377 (implConfigureBlocking): Throws IOException.
8378 * java/nio/ByteBuffer.java
8379 (readOnly): Removed.
8380 (hasArray): Use isReadOnly() instead of readOnly.
8381 (array): Use isReadOnly() instead of readOnly.
8382 (arrayOffset): Use isReadOnly() instead of readOnly.
8383 * java/nio/CharBuffer.java
8384 (CharBuffer): Implements Cloneable and CharSequence.
8386 2003-02-11 Michael Koch <konqueror@gmx.de>
8388 * java/nio/DoubleBuffer.java
8389 (DoubleBuffer): Implements Comparable.
8391 (array_offset): New member variable.
8392 (DoubleBuffer): New constuctor.
8393 (get): May not be final.
8394 (put): May not be final.
8395 (arrayOffset): Implemented.
8396 (order): Made abstract.
8398 (as*Buffer): Removed.
8401 * java/nio/FloatBuffer.java
8402 (FloatBuffer): Implements Comparable.
8404 (array_offset): New member variable.
8405 (FloatBuffer): New constuctor.
8406 (get): May not be final.
8407 (put): May not be final.
8408 (arrayOffset): Implemented.
8409 (order): Made abstract.
8411 (as*Buffer): Removed.
8414 * java/nio/IntBuffer.java
8415 (IntBuffer): Implements Comparable.
8417 (array_offset): New member variable.
8418 (IntBuffer): New constuctor.
8419 (get): May not be final.
8420 (put): May not be final.
8421 (arrayOffset): Implemented.
8422 (order): Made abstract.
8424 (as*Buffer): Removed.
8427 * java/nio/LongBuffer.java
8428 (LongBuffer): Implements Comparable.
8430 (array_offset): New member variable.
8431 (LongBuffer): New constuctor.
8432 (get): May not be final.
8433 (put): May not be final.
8434 (arrayOffset): Implemented.
8435 (order): Made abstract.
8437 (as*Buffer): Removed.
8440 * java/nio/ShortBuffer.java
8441 (ShortBuffer): Implements Comparable.
8443 (array_offset): New member variable.
8444 (ShortBuffer): New constuctor.
8445 (get): May not be final.
8446 (put): May not be final.
8447 (arrayOffset): Implemented.
8448 (order): Made abstract.
8450 (as*Buffer): Removed.
8454 2003-02-11 Michael Koch <konqueror@gmx.de>
8456 * java/nio/channels/SelectionKey.java
8457 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
8460 2003-02-11 Michael Koch <konqueror@gmx.de>
8462 * java/nio/channels/DatagramChannel.java
8463 (write): Throws IOException.
8464 (connect): Throws IOException.
8465 (disconnect): Throws IOException.
8466 (read): Throws IOException.
8467 (receive): Throws IOException.
8468 (send): Throws IOException.
8469 * java/nio/channels/Pipe.java
8470 (open): Throws IOException.
8471 * java/nio/channels/SelectableChannel.java
8472 (configureBlocking): Throws IOException.
8473 * java/nio/channels/ServerSocketChannel.java
8474 (accept): Throws IOException.
8475 * java/nio/channels/SocketChannel.java
8476 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
8477 GatheringByteChannel.
8478 (read): Throws IOException.
8479 (write): Throws IOException.
8480 (finishConnect): Throws IOException.
8481 * java/nio/channels/spi/AbstractInterruptibleChannel.java
8482 (end): Throws AsynchronousCloseException.
8483 * java/nio/channels/spi/AbstractSelectableChannel.java
8484 (configureBlocking): Throws IOException.
8485 (implCloseChannel): Throws IOException.
8486 (implCloseSelectableChannel): Throws IOException.
8487 (implConfigureBlocking): Throws IOException.
8488 * java/nio/channels/spi/SelectorProvider.java
8489 (openDatagramChannel): Throws IOException.
8490 (openPipe): Throws IOException.
8491 (openSelector): Throws IOException.
8492 (openServerSocketChannel): Throws IOException.
8493 (openSocketChannel): Throws IOException.
8495 2003-02-11 Michael Koch <konqueror@gmx.de>
8497 * gnu/java/nio/FileLockImpl.java,
8498 java/nio/channels/FileLock.java: New files.
8500 2003-02-11 Michael Koch <konqueror@gmx.de>
8502 * java/nio/charset/IllegalCharsetNameException.java
8503 (serialVersionUID): New member variable.
8504 (charsetName): New member variable.
8505 (IllegalCharsetException): New implementation.
8506 (getCharsetName): New implementation.
8507 * java/nio/charset/UnsupportedCharsetException.java
8508 (serialVersionUID): New member variable.
8509 (charsetName): New member variable.
8510 (UnsupportedCharsetException): New implementation.
8511 (getCharsetName): New implementation.
8513 2003-02-10 Tom Tromey <tromey@redhat.com>
8515 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
8516 (ex): Renamed from sqlException.
8518 2003-02-10 Raif S. Naffah <raif@fl.net.au>
8520 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
8521 method used to ensure seeding has occurred and that a specific
8522 seed can be set and used.
8524 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
8526 * java/lang/Win32Process.java (destroy): Declare as native.
8527 (hasExited): New native method.
8528 (exitValue): Define.
8529 (getErrorStream): Likewise.
8530 (getInputStream): Likewise.
8531 (getOutputStream): Likewise.
8532 (waitFor): Declare as native.
8533 (startProcess): New native method.
8534 (cleanup): Likewise.
8535 (ConcreteProcess): Define.
8536 (outputStream, inputStream, errorStream): New members.
8537 (procHandle, exitCode): Likewise.
8539 * java/lang/natWin32Process.cc
8540 (java::lang::ConcreteProcess::cleanup): Define.
8541 (java::lang::ConcreteProcess::destroy): Likewise.
8542 (java::lang::ConcreteProcess::hasExited): Likewise.
8543 (java::lang::ConcreteProcess::waitFor): Likewise.
8544 (new_string): Likewise.
8545 (java::lang::ConcreteProcess::startProcess): Likewise.
8547 2003-02-10 Raif S. Naffah <raif@fl.net.au>
8549 * java/math/BigInteger.java:
8550 Updated notice to include years 2002 and 3.
8551 Added 2 private (int) arrays with values from the HAC (Handbook of
8552 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
8553 and t[] that contains nbr. of tests --used in isProbablePrime().
8555 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
8557 * java/math/BigInteger.java (make(int[],int), add(int,int),
8558 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
8559 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
8560 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
8563 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
8564 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
8565 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
8566 BIs and returns void.
8567 (modInverse(BI)): Use new signatures of euclidInv().
8569 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
8570 static small primes instead of remainder().
8571 Use pre-computed max nbr of trials based on bitlength of BI to test.
8572 Use pre-computed small primes for the trial tests instead of random
8575 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
8578 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
8579 invoacation of MPN.chars_per_word(). not used.
8581 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
8582 local var and used where needed.
8584 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
8585 Combined declaration with initialisation of locals.
8588 * java/math/BigInteger.java: Style changes
8589 (pow(int)): Removed 'else' keyword.
8590 (toString(int)): idem.
8591 (doubleValue()): idem.
8592 (bitLength()): idem.
8593 (equals(Object)): Use static methods name in same class w/o prepending
8595 (doubleValue()): idem.
8596 (setNegative(BI)): idem.
8598 (and(BI,int)): idem.
8601 (byteArrayToIntArray()): Removed casting to (int). this is
8603 (canonicalize()): idem.
8604 (alloc(int)): Always instantiate a new BI.
8606 2003-02-10 Tom Tromey <tromey@redhat.com>
8608 * java/sql/Timestamp.java (compareTo(Object)): New method.
8609 (compareTo(Timestamp)): Likewise.
8610 (serialVersionUID): Updated.
8612 2003-02-07 Mark Wielaard <mark@klomp.org>
8614 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
8615 when verify is true.
8616 (JarFile(File, boolean)): Likewise.
8617 (manifestRead): Set manifestRead field correctly.
8619 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8621 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
8622 tests; see patch #1016 on Savannah.
8624 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8626 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
8627 (toString): do not return Strings starting with . and - erroneously.
8628 Improves Mauve results to 12 of 600 instead of 16 of 338 on
8631 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8633 * java/beans/PropertyDescriptor.java
8634 (PropertyDescriptor(String, Class)): Sanity check getter and setter
8636 (PropertyDescriptor(String, Class, String, String)): Likewise.
8637 (PropertyDescriptor(String, Method, Method): Factor out getter and
8638 setter method sanity checks into new method.
8639 (findMethods): Don't do parameter sanity checking of get method here.
8640 (checkMethods): New method.
8642 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8644 * java/beans/PropertyDescriptor.java: Reformat.
8646 2003-02-04 Tom Tromey <tromey@redhat.com>
8648 * java/io/PipedOutputStream.java (flush): Declare as throwing
8651 * java/io/PipedWriter.java (close): Declare as throwing
8653 * java/io/StringWriter.java (close): Declare as throwing
8656 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
8658 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
8659 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
8660 could also have been exported as "JNI_OnLoad@8" (MinGW) or
8661 "_JNI_OnLoad@8" (MSVC).
8663 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
8665 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
8666 convention on Win32 to invoke native JNI methods.
8668 2003-02-03 Andrew Haley <aph@redhat.com>
8670 * configure.host (x86_64): Enable interpreter.
8672 2003-02-03 Andrew Haley <aph@redhat.com>
8674 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
8675 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
8676 * configure.in (BACKTRACESPEC): New.
8677 * configure: Regenerate.
8679 2003-02-02 Tom Tromey <tromey@redhat.com>
8681 * configure: Rebuilt.
8682 * configure.in (TOOLKIT) [xlib]: Set correctly.
8684 * Makefile.in: Rebuilt.
8685 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
8688 2003-01-31 Mark WIelaard <mark@klomp.org>
8690 * Makefile.in: Rebuilt.
8691 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
8693 2003-01-31 Tom Tromey <tromey@redhat.com>
8695 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
8696 cast to element type.
8697 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
8698 (_Jv_JNI_GetObjectArrayElement): Likewise.
8700 * Makefile.in: Rebuilt.
8701 * Makefile.am (cond_x_ltlibrary): Renamed library to
8702 lib-gnu-awt-xlib.la.
8703 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
8704 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
8705 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
8706 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
8707 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
8708 (lib_gnu_awt_xlib_la_LINK): Likewise.
8709 (install-exec-hook): Removed.
8710 (lib-gnu-awt-xlib.la): Renamed.
8712 2003-01-31 Tom Tromey <tromey@redhat.com>
8714 * aclocal.m4, configure, include/config.h.in: Rebuilt.
8715 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
8716 aclocal.m4 and lost in some merge.
8718 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
8719 Don't try to find graphics configuration.
8720 * java/awt/Toolkit.java (default_toolkit_name): Use new
8721 Configuration entry.
8722 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
8724 * configure: Rebuilt.
8725 * configure.in (TOOLKIT): New subst.
8726 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
8727 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
8728 directory. Make output directories for .c files.
8729 * Makefile.in: Rebuilt.
8730 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
8731 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
8732 (all_java_source_files): Added new sources.
8733 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
8734 (gtk_c_files): New macro.
8735 (gtk_c_source_files): New macro.
8736 (cond_gtk_ltlibrary): New macro.
8737 ($(gtk_c_files)): New target.
8738 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
8739 (gtk_awt_peer_sources): New macro.
8740 (gtk_c_headers): New macro.
8741 ($(gtk_c_headers)): New target.
8742 (ACLOCAL_AMFLAGS): New macro.
8743 * gtk.m4, glib.m4, libart.m4: New files.
8744 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
8745 gnu/java/awt/peer/gtk/GdkGraphics.java,
8746 gnu/java/awt/peer/gtk/GtkArg.java,
8747 gnu/java/awt/peer/gtk/GtkArgList.java,
8748 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8749 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
8750 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
8751 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
8752 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
8753 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8754 gnu/java/awt/peer/gtk/GtkClipboard.java,
8755 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8756 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8757 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
8758 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
8759 gnu/java/awt/peer/gtk/GtkFontPeer.java,
8760 gnu/java/awt/peer/gtk/GtkFramePeer.java,
8761 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
8762 gnu/java/awt/peer/gtk/GtkImage.java,
8763 gnu/java/awt/peer/gtk/GtkImagePainter.java,
8764 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
8765 gnu/java/awt/peer/gtk/GtkListPeer.java,
8766 gnu/java/awt/peer/gtk/GtkMainThread.java,
8767 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
8768 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
8769 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
8770 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
8771 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
8772 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
8773 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8774 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
8775 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8776 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8777 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8778 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8779 gnu/java/awt/peer/gtk/GtkToolkit.java,
8780 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8781 gnu/java/awt/peer/gtk/TestAWT.java,
8782 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
8783 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
8784 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
8785 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8786 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
8787 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
8788 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
8789 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
8790 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
8791 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
8792 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
8793 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
8794 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
8795 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
8796 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
8797 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
8798 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
8799 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
8800 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
8801 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
8802 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
8803 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
8804 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
8805 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8806 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
8807 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
8808 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
8809 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
8810 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
8811 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
8812 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
8813 jni/classpath/native_state.c, jni/classpath/native_state.h,
8814 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
8816 2003-01-31 Julian Dolby <dolby@us.ibm.com>
8818 * java/util/Properties.java (load): Ignore backslash before EOF.
8820 2003-01-30 Jeff Sturm <jsturm@one-point.com>
8822 * java/lang/natClass.cc (initializeClass): Check tables when
8823 (state == JV_STATE_IN_PROGRESS).
8824 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
8825 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
8826 interpreted classes.
8827 (linkClass0): Use _Jv_WaitForState.
8829 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
8831 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
8832 object when finished.
8834 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
8836 * libjava/configure.host: Disable can_unwind_signal on darwin.
8838 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
8841 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
8842 additionally containing id of the owner thread as well as
8843 the number of nested times the thread has acquired the mutex.
8844 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
8845 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
8846 (_Jv_MutexUnlock): Check if really the owner thread, reset
8847 owner thread id to 0 before leaving, if leaving for the last
8849 (_Jv_MutexLock): Set owner thread id in the mutex and increment
8851 (_Jv_ThreadYield): Yield using a call to Sleep(0).
8852 * win32-threads.cc (_Jv_CondWait): Check if really owner of
8854 Pass handle of the broadcast event, instead of a pointer to it
8855 in Win32 ResetEvent( ) call.
8856 Remove incorrect return values.
8857 (_Jv_CondDestroy): Close both event handles and delete
8859 (_Jv_CondNotify): Check if really the owner thread.
8860 (_Jv_CondNotifyAll): Check if really the owner thread.
8861 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
8862 (really_start): Use SetEvent( ) to signal daemon_cond.
8863 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
8864 WaitForSingleObject( ) instead to wait for daemon_cond to be
8867 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
8869 * configure.in: Specifically define HAVE_BACKTRACE if building
8871 * include/win32.h: Remove HAVE_BACKTRACE definition.
8872 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
8873 * configure: Rebuilt.
8875 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
8877 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
8878 Set and AC_SUBST. Remove USE_LIBDIR conditional.
8879 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
8880 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
8881 * Makefile.in, configure: Rebuilt.
8883 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
8886 * java/io/natFileWin32.cc (performList): Append only "*.*"
8887 if the canonical file path already has a "\" at the end.
8889 2003-01-24 Tom Tromey <tromey@redhat.com>
8891 * defineclass.cc (handleMethodsEnd): Precompute code for static
8893 (handleCodeAttribute): Likewise.
8894 * resolve.cc (ncode): Use run_class for unsynchronized static
8896 * include/java-interp.h (class _Jv_InterpMethod): Declare
8898 * interpret.cc (run_synch_class): Initialize class.
8899 (run) [insn_invokestatic]: Don't initialize class.
8900 [insn_anewarray]: Likewise.
8901 [insn_multianewarray]: Likewise.
8902 (run_class): New function.
8904 2003-01-24 Tom Tromey <tromey@redhat.com>
8906 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
8909 2003-01-22 Andrew Haley <aph@redhat.com>
8911 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
8912 * configure.host (CHECKREFSPEC): Define for x86_64.
8914 2003-01-21 Tom Tromey <tromey@redhat.com>
8916 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
8919 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
8921 * java/io/natFileWin32.cc (isAbsolute): Check path length before
8922 looking at any characters.
8923 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
8925 (isAbsolute): Check path's length as well.
8927 2003-01-17 Mark Wielaard <mark@klomp.org>
8929 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
8930 (nat_source_files): Add natVMObjectStreamClass.cc.
8931 * Makefile.in: Regenerated.
8932 * gcj/javaprims.h (namespace java): Regenerated.
8933 * java/io/ObjectStreamClass.java (getClassUID): Call
8934 VMObjectStreamClass.hasClassInitializer().
8935 (hasClassInitializer): Removed.
8936 * java/io/VMObjectStreamClass.java: New class.
8937 * java/io/natVMObjectStreamClass.cc: New file.
8938 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
8940 2003-01-16 Mark Wielaard <mark@klomp.org>
8942 * java/net/SocketImpl.java (toString): Don't explicitly call
8943 toString() on possible null address.
8945 2003-01-16 Michael Koch <konqueror@gmx.de>
8947 * java/net/MulticastSocket.java
8948 (setInterface): Reindented.
8950 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8952 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
8953 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
8954 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
8955 translateY arguments. Implement.
8956 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
8957 down translation arguments.
8958 (drawPolyline, drawPolygon): Fix incorrect tests.
8959 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
8960 translateX and translateY arguments.
8962 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8964 * Makefile.in: Rebuilt.
8965 * Makefile.am (xlib_includes): New macro.
8968 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8970 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
8971 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
8972 16-bit display mode.
8974 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8976 * java/awt/CardLayout.java (show): Rewrote.
8977 (gotoComponent): Removed `target' argument. Simplified code.
8978 Don't pre-compute `choice' unless `what' is FIRST or LAST.
8979 Changed all callers.
8982 2003-01-14 Michael Koch <konqueror@gmx.de>
8984 * java/net/InetSocketAddress.java
8985 (serialVersionUID): New member variable.
8986 * java/net/NetPermission.java
8987 (NetPermission): Dont implement java.io.Serialization directly.
8988 * java/net/SocketAddress.java:
8989 (serialVersionUID): Documentation added.
8991 2003-01-14 Michael Koch <konqueror@gmx.de>
8993 * java/awt/Label.java
8994 (Label): Implements javax.accessibility.Accessible;
8995 * java/awt/List.java
8996 (List): Implements javax.accessibility.Accessible;
8997 * java/awt/ScrollPane.java
8998 (ScrollPane): Implements javax.accessibility.Accessible;
8999 * java/awt/Scrollbar.java
9000 (Scrollbar): Implements javax.accessibility.Accessible;
9001 * java/awt/TextComponent.java
9002 (setCaretPosition): Throw exception, documentation added.
9003 * java/awt/Toolkit.java:
9004 Added some newlines in method documentations.
9005 (createButton): Exception documentation added.
9006 (createTextField): Exception documentation added.
9007 (createLabel): Exception documentation added.
9008 (createList): Exception documentation added.
9009 (createCheckbox): Exception documentation added.
9010 (createScrollbar): Exception documentation added.
9011 (createScrollPane): Exception documentation added.
9012 (createTextArea): Exception documentation added.
9013 (createChoice): Exception documentation added.
9014 (createFrame): Exception documentation added.
9015 (createWindow): Exception documentation added.
9016 (createDialog): Exception documentation added.
9017 (createMenuBar): Exception documentation added.
9018 (createMenu): Exception documentation added.
9019 (createMenuItem): Exception documentation added.
9020 (createFileDialog): Exception documentation added.
9021 (createCheckboxMenuItem): Exception documentation added.
9022 (loadSystemColors): Exception documentation added.
9023 (setDynamicLayout): Exception documentation added.
9024 (isDynamicLayoutSet): Exception documentation added.
9025 (isDynamicLayoutActive): Exception documentation added.
9026 (getScreenSize): Exception documentation added.
9027 (getScreenResolution): Exception documentation added.
9028 (getScreenInsets): Exception documentation added.
9029 (getColorModel): Exception documentation added.
9030 (getSystemClipboard): Exception documentation added.
9031 (getSystemSelection): Exception documentation added.
9032 (getMenuShortcutKeyMask): Exception documentation added.
9033 (getSystemEventQueue): Exception documentation added.
9034 * java/awt/Window.java:
9035 Reindented some code.
9036 (Window): Centralized implementation, documentation added.
9037 (finalize): Documentation added.
9038 (hide): Fixed typo in comment.
9039 (getWindowListeners): Documentation added.
9040 * java/awt/color/ColorSpace.java
9041 (toRGB): Documentation added.
9042 * java/awt/color/ICC_ColorSpace.java
9043 (ICC_ColorSpace): Documentation added.
9044 (toRGB): Throw exception, documentation added.
9045 (fromRGB): Throw exception, documentation added.
9046 (toCIEXYZ): Documentation added.
9047 (fromCIEXYZ): Documentation added.
9048 (getMinValue): Documentation added.
9049 (getMaxValue): Documentation added.
9050 * java/awt/geom/Dimension2D.java
9051 (clone): Documentation added.
9052 * java/awt/geom/GeneralPath.java
9053 (clone): Documentation added.
9054 * java/awt/geom/Line2D.java
9055 (clone): Documentation added.
9056 * java/awt/geom/QuadCurve2D.java
9057 (clone): Documentation added.
9058 * java/awt/image/ColorModel.java
9059 (ColorModel): Throw exception, documentation added.
9060 * java/awt/image/ImageFilter.java
9061 (clone): Doesnt throw CloneNotSupportedException.
9063 2003-01-14 Andrew Haley <aph@redhat.com>
9065 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
9068 2003-01-10 Andrew Haley <aph@redhat.com>
9070 * include/dwarf2-signal.h: Remove x86_64.
9071 * configure.host (x86_64 DIVIDESPEC): Remove.
9072 * include/x86_64-signal.h: New file.
9073 * configure.in: Regenerate.
9075 2003-01-10 Michael Koch <konqueror@gmx.de>
9077 * java/net/DatagramSocket.java
9078 (ch): Description added.
9079 (remotePort): Initialize with -1.
9080 (connect): Doesnt throws SocketException.
9081 * java/net/MulticastSocket.java
9082 (setInterface): Merge with Classpath.
9083 * java/net/ServerSocket.java
9084 (closed): New member variable.
9085 (bind): Check if socket is closed.
9086 (close): Close an associated channel too, set new value to closed.
9087 (isBound): Reindented.
9088 (isClosed): Implemented.
9089 * java/net/Socket.java
9090 (closed): New member variable.
9091 (bind): Check if socket is closed.
9092 (connect): Check if socket is closed.
9093 (close): Close an associated channel too, set new value to closed.
9094 (isClosed): Implemented.
9096 2003-01-10 Michael Koch <konqueror@gmx.de>
9098 * java/awt/DisplayMode.java
9099 (equals): Fixed argument type and implementation.
9101 2003-01-07 Tom Tromey <tromey@redhat.com>
9103 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
9104 JV_HASH_SYNCHRONIZATION.
9105 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
9106 JV_HASH_SYNCHRONIZATION.
9108 2003-01-07 Michael Koch <konqueror@gmx.de>
9110 * java/net/DatagramSocket.java:
9111 Added classpath license info.
9112 (DatagramSocket): Merged description with classpath.
9113 (close): Merged description with classpath.
9114 (getChannel): Merged description with classpath.
9115 (getInetAddress): Merged description with classpath.
9116 (getPort): Merged description with classpath.
9117 (getLocalAddress): Merged description with classpath.
9118 (getLocalPort): Merged description with classpath.
9119 (getSoTimeout): Merged description with classpath.
9120 (setSoTimeout): Merged description with classpath.
9121 (getSendBufferSize): Merged description with classpath.
9122 (setSendBufferSize): Merged description with classpath.
9123 (getReceiveBufferSize): Merged description with classpath.
9124 (setReceiveBufferSize): Merged description with classpath.
9126 2003-01-04 Tom Tromey <tromey@redhat.com>
9128 * java/awt/List.java: Merged with Classpath.
9130 2003-01-03 Mark Wielaard <mark@klomp.org>
9132 * java/io/FileDescriptor.java (position): New private field.
9133 * java/io/natFileDescriptorPosix.cc (write): Up position.
9134 (setLength): Use and set position.
9135 (seek): Set position.
9136 (getFilePointer): Return position.
9137 (read): Up position.
9139 2003-01-03 Mark Wielaard <mark@klomp.org>
9141 Merge with Classpath:
9142 * java/io/ObjectStreamClass.java (lookup): Split method and call
9143 lookupForClassObject().
9144 (lookupForClassObject): New method.
9145 (isProxyClass): New field.
9146 (setClass): Set isProxyClass, add object to classLookupTable, set
9147 superClass and calculateOffsets.
9148 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
9149 and not a proxy class.
9150 (setFields): Set accessible true for serialPersistentFields.
9151 (getClassUID): Same for suid. And check if suid is of type long.
9152 (hasClassInitializer): Don't throw NoSuchMethodError.
9154 2003-01-03 Mark Wielaard <mark@klomp.org>
9156 * java/io/FileInputStream.java (finalize): Don't explicitly
9157 finalize FileDescriptor.
9159 2003-01-03 Jeff Sturm <jsturm@one-point.com>
9161 * configure.host (sparc*-*): Enable bytecode interpreter.
9163 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
9165 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
9166 Don't throw RemoteException.
9167 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
9168 throw RemoteException.
9170 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
9172 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
9173 proxyHost): New static fields.
9174 (<clinit>): Initialize new fields.
9175 (connect): Use proxy if necessary.
9176 (usingProxy): Implement.
9178 2003-01-03 Eric Blake <ebb9@email.byu.edu>
9180 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
9181 (TreeIterator.remove): Prefer IllegalStateException over
9182 ConcurrentModificationException, to match Sun.
9184 2002-12-22 Anthony Green <green@redhat.com>
9186 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
9188 2003-01-02 Mark Wielaard <mark@klomp.org>
9190 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
9192 (HTTP_USE_PROXY): Add field.
9193 (getResponseVals): Only set responseCode when not yet explicitly
9196 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
9197 Mark Wielaard <mark@klomp.org>
9199 * java/util/zip/ZipFile.java (entries): Now HashMap.
9200 (readLeShort(DataInput, byte[])): Read from given byte array.
9201 (readLeInt(DataInput, byte[]): Likewise.
9202 (readLeShort(byte[] b, int off)): New method.
9203 (readLeInt(byte[] b, int off)): Likewise.
9204 (readEntries): Use byte arrays to read info in bigger chunks.
9205 (getEntries): Return HashMap.
9206 (getEntry): Use HashMap.
9207 (locBuf): New private field.
9208 (checkLocalHeader): Use locBuf to read info in one chunk.
9209 (getInputStream): Use entries HashMap, wrap PartialInputStream
9210 in BufferedInputStream.
9211 (ZipEntryEnumeration): Use HashMap and Interator.
9213 2003-01-02 Mark Wielaard <mark@klomp.org>
9214 Jeroen Frijters <jeroen@sumatra.nl>
9216 * java/net/URLClassLoader.java (Resource.getCodeSource):
9217 Fix check certs == null.
9218 (getCanonicalFileURL): Removed method.
9219 (JarURLLoader): Don't call removed method.
9220 (FileURLLoader): Likewise.
9221 (FileURLLoader.getResource): Don't canonicalize file name.
9223 2003-01-01 Tom Tromey <tromey@redhat.com>
9225 * Makefile.in: Rebuilt.
9226 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
9227 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
9228 java/awt/BufferCapabilities.java, java/awt/Button.java,
9229 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
9230 java/awt/Container.java, java/awt/Cursor.java,
9231 java/awt/EventQueue.java, java/awt/FileDialog.java,
9232 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
9233 java/awt/MenuBar.java, java/awt/MenuComponent.java,
9234 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
9235 java/awt/Scrollbar.java, java/awt/TextArea.java,
9236 java/awt/TextField.java, java/awt/color/CMMException.java,
9237 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
9238 java/awt/color/ProfileDataException.java,
9239 java/awt/datatransfer/Clipboard.java,
9240 java/awt/datatransfer/DataFlavor.java,
9241 java/awt/datatransfer/FlavorMap.java,
9242 java/awt/datatransfer/SystemFlavorMap.java,
9243 java/awt/dnd/DragGestureEvent.java,
9244 java/awt/dnd/DragGestureRecognizer.java,
9245 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
9246 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
9247 java/awt/im/InputMethodHighlight.java,
9248 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
9249 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
9251 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
9252 `op' to BufferedImageOp.
9254 2002-12-31 Tom Tromey <tromey@redhat.com>
9256 Fix for PR libgcj/7416:
9257 * javax/naming/InitialContext.java (init): Use
9258 gnu.classpath.home.url.
9259 * java/security/Security.java: Use new properties.
9260 (loadProviders): Accept base url; use it.
9261 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
9262 gnu.classpath.home.url.
9263 (gnu.classpath.home.url): Define.
9264 (gnu.classpath.vm.shortname): Likewise.
9266 2002-12-31 Tom Tromey <tromey@redhat.com>
9267 Ranjit Mathew <rmathew@hotmail.com>
9269 Fix for PR libgcj/8997:
9270 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
9272 * include/posix.h (_Jv_platform_usleep): New function.
9273 * include/win32.h (_Jv_platform_usleep): New function.
9275 2002-12-29 Tom Tromey <tromey@redhat.com>
9277 * gcj/javaprims.h: Updated.
9278 * scripts/classes.pl (scan): Removed stray semicolon.
9280 2002-12-30 Mark Wielaard <mark@klomp.org>
9282 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
9285 2002-12-30 Mark Wielaard <mark@klomp.org>
9287 * java/util/Properties (formatForOutput): Don't fall through to
9288 default case after escaping character.
9290 2002-12-30 Mark Wielaard <mark@klomp.org>
9292 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
9295 2002-12-27 Mark Mitchell <mark@codesourcery.com>
9297 * boehm.cc: Remove stray semicolon.
9298 * interpret.cc: Likewise.
9299 * prims.cc: Likewise.
9300 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
9301 earlier to ensure default arguments are processed.
9302 * gcj/array.h (JArray): Add forward declaration.
9303 (elements): Likewise.
9304 * gcj/javaprim.h: Remove stray semicolons.
9305 * include/bohm-gc.h: Likewise.
9306 * include/jni.h: Likewise.
9307 * include/jvm.h: Likewise.
9308 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
9310 2002-12-23 Jeff Sturm <jsturm@one-point.com>
9312 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
9314 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
9315 idt tables after initializing superclass.
9316 * java/lang/natClassLoader.cc (uaddr): New typedef.
9317 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
9318 if they are constant pool indicies. Don't link vtable, otable yet.
9320 2002-12-21 Anthony Green <green@redhat.com>
9322 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
9324 * Makefile.in: Rebuilt.
9326 2002-12-19 Anthony Green <green@redhat.com>
9328 * Makefile.am (ordinary_java_source_files): Add
9329 org/xml/sax/helpers/NewInstance.java.
9330 * Makefile.in: Rebuilt.
9331 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
9332 org/xml/sax/helpers/package.html: New files.
9333 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
9334 http://www.saxproject.org.
9336 2002-12-19 Andrew Haley <aph@redhat.com>
9338 * java/util/natResourceBundle.cc: Include
9339 ArrayIndexOutOfBoundsException.h.
9340 (getCallingClassLoader): Don't put upper bound on stack search.
9341 Catch ArrayIndexOutOfBoundsException.
9343 2002-12-19 Tom Tromey <tromey@redhat.com>
9345 * libtool-version: Increased `current'.
9347 2002-12-19 Tom Tromey <tromey@redhat.com>
9349 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
9351 * java/lang/ClassLoader.java (defineClass): Use chained
9352 exception when rethrowing.
9353 * defineclass.cc (handleClassBegin): Mark class as interpreted.
9354 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
9356 * resolve.cc (_Jv_PrepareMissingMethods): New function.
9357 (_Jv_PrepareClass): Use it.
9358 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
9359 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
9360 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
9361 (Class): _Jv_PrepareMissingMethods now friend.
9362 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
9363 Record `NULL' for system class loader.
9364 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
9365 system class loader.
9366 (_Jv_FindClassInCache): Likewise.
9367 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
9368 (_Jv_FindClass): Special case system class loader.
9369 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
9370 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
9372 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
9374 (_getDeclaredMethod): Don't return synthetic methods.
9375 (getDeclaredMethods): Likewise.
9376 (_getMethod): Likewise.
9377 (_getMethods): Likewise.
9379 2002-12-18 Raif Naffah <raif@fl.net.au>
9381 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
9382 canonical form after divide().
9383 (modInverse): Likewise.
9385 2002-12-13 Casey Marshall <rsdio@metastatic.org>
9386 Mark Wielaard <mark@klomp.org>
9388 * java/security/SecurityRandom (digest): Removed field.
9389 (SecureRandom): Check all providers for case-insensitive SecureRandom
9390 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
9392 (getInstance(String,Provider,boolean): New method.
9393 (getInstance(String)): Use new method.
9394 (getInstance(String,String)): Likewise.
9395 (getInstance(String,Provider)): Likewise.
9397 2002-12-13 Casey Marshall <rsdio@metastatic.org>
9399 * java/security/Security.java (loadProviders): Increment i only once.
9401 2002-12-12 Mark Wielaard <mark@klomp.org>
9403 * java/lang/ClassLoader.java (resolveClass0): Transform
9404 ClassNotFoundException to NoClassDefFoundError. Transform all other
9405 throwables to LinkageError.
9407 2002-12-11 Tom Tromey <tromey@redhat.com>
9409 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
9411 * java/lang/ClassLoader.java (loadedClasses): New field.
9412 (defineClass): Fixed indentation. Put new class in
9414 (findLoadedClass): Implement here.
9415 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
9417 2002-12-10 Tom Tromey <tromey@redhat.com>
9419 * Makefile.in: Rebuilt.
9420 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
9421 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
9422 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
9423 * java/lang/natClassLoader.cc
9424 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
9426 2002-12-10 Mark Wielaard <mark@klomp.org>
9427 Tom Tromey <tromey@redhat.com>
9429 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
9430 (JarURLLoader): Use it.
9431 (FileURLLoader): Likewise.
9432 (JarURLResource.getURL): Use chained exception.
9433 (FileResource.getURL): Likewise.
9434 (FileURLLoader.getResource): Use canonical file name.
9435 (addURL): Indentation fix.
9437 2002-12-10 Tom Tromey <tromey@redhat.com>
9439 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
9440 From Laurent Bardet <l.bardet@magic.fr>.
9442 2002-12-09 Tom Tromey <tromey@redhat.com>
9444 * include/win32.h (_Jv_platform_solib_prefix): New define.
9445 (_Jv_platform_solib_suffix): Likewise.
9446 * include/posix.h (_Jv_platform_solib_prefix): New define.
9447 (_Jv_platform_solib_suffix): Likewise.
9448 * java/lang/natRuntime.cc: Include StackTrace.h.
9449 (_load): Use findLibrary and new platform defines.
9450 (nativeGetLibname): Use new platform defines.
9452 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
9455 2002-12-08 Mark Wielaard <mark@klomp.org>
9457 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
9458 cache remote jar files.
9459 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
9460 add File.separator to URL when it is a directory.
9461 * java/lang/ClassLoader.java: Add Classpath javadoc.
9463 (getParent): Add (disabled) security check.
9464 (findLibrary): New default method.
9465 * java/net/JarURLConnection.java (getManifest): Implement.
9466 (getInputStream): Only create InputStream when entry exists.
9467 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
9469 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
9471 2002-12-08 Mark Wielaard <mark@klomp.org>
9473 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
9474 (lastDefaultLocale): New field.
9475 (getBundle): When Locale.getDefault != lastDefaultLocale reset
9476 resourceBundleCache.
9478 2002-12-06 Mark Wielaard <mark@klomp.org>
9480 * java/net/InetAddress.java (toString): Use hostname when not null,
9481 don't do an explicit reverse getHostName() lookup.
9482 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
9483 NullPointerException.
9485 2002-12-06 Tom Tromey <tromey@redhat.com>
9487 * include/java-interp.h (class _Jv_InterpMethod): Added
9489 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
9490 mark `prepared' field of interpreted method.
9491 * interpret.cc (compile): Use _Jv_AllocBytes.
9493 2002-12-05 Andrew Haley <aph@redhat.com>
9495 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
9496 #ifdef (HAVE_BACKTRACE) around the whole function body.
9498 2002-12-05 Tom Tromey <tromey@redhat.com>
9500 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
9501 * resolve.cc: Don't include AbstractMethodError.h.
9502 (_Jv_abstractMethodError): Removed.
9503 * defineclass.cc (handleMethodsBegin): Initialize method index to
9505 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
9506 method index for "new" final method.
9507 (_Jv_SetVTableEntries): Compare index against -1 instead of using
9508 isVirtualMethod. Added `flags' argument.
9509 (_Jv_MakeVTable): Throw exception for abstract method in concrete
9512 2002-12-04 Tom Tromey <tromey@redhat.com>
9514 * java/net/SocketPermission.java (hashCode): Rewrote.
9516 2002-12-04 Tom Tromey <tromey@redhat.com>
9518 * Makefile.in: Rebuilt.
9519 * Makefile.am (nat_source_files): Added natVMSecurityManager,
9521 * java/util/ResourceBundle.java (Security): Removed.
9522 (getCallingClassLoader): Now native.
9523 * java/util/natResourceBundle.cc: New file.
9524 * java/lang/natVMSecurityManager.cc: New file.
9525 * java/lang/VMSecurityManager.java (getClassContext): Now native.
9527 2002-12-03 Mark Wielaard <mark@klomp.org>
9529 * java/util/jar/JarFile.java (manifest): Not final.
9530 (manifestRead): New field.
9531 (JarFile): Don't read Manifest in constructor.
9532 (getManifest): New method.
9533 (JarEnumeration.nextElement): Use new method.
9534 (getEntry): Likewise.
9535 * java/util/zip/ZipFile.java (name): Final.
9537 (entries): Change type to Hashtable.
9538 (closed): New field.
9539 (ZipFile): Don't read enties in constructor.
9540 (readEntries): Use Hashtable.
9541 (close): Set new close flag and set entries to null inside
9543 (entries): Contruct enumeration using new getEntries() method and
9545 (getEntryIndex): Removed.
9546 (getEntries): New method.
9547 (getEntry): Use new getEntries() method and entries Hastable.
9548 (getInputStream): Likewise.
9549 (size): Return getEntries().size().
9550 (ZipEntryEnumeration): Wrap entries Hashtable elements.
9551 * java/util/zip/ZipEntry.java (cal): Don't initialize.
9553 (dostime): New field.
9554 (zipFileIndex): Removed.
9555 (ZipEntry(ZipEntry)): Copy dostime.
9556 (setDOSTime): Now final and doesn't convert dos time.
9557 (getDOSTime): Likewise.
9558 (setTime): Convert dos time.
9559 (getTime): Likewise.
9560 (getCalendar): New method.
9561 (setExtra): Use setTime().
9562 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
9564 2002-12-03 Tom Tromey <tromey@redhat.com>
9566 * java/lang/Character.java (forDigit): Formatting fix.
9568 2002-12-03 Raif Naffah <raif@fl.net.au>
9570 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
9571 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
9572 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
9574 2002-12-03 Andrew Haley <aph@redhat.com>
9576 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
9578 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
9579 (_Jv_PopClass): New.
9580 (_Jv_PushClass): New.
9581 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
9582 discover the ClassLoader of our caller.
9583 (_Jv_CheckArrayStore): Don't check that a class is assignment
9584 compatible with Object.
9585 * java/lang/natVMTHrowable.cc: Delete.
9586 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
9587 java.lang.VMThrowable.
9588 (StackTrace(), StackTrace(int)): New constructors.
9589 (classAt, methodAt, update, methodAtAddress): New methods.
9591 * java/lang/VMThrowable.java: Use StackTrace instead of
9593 * java/lang/Class.h (getClassLoaderInternal): New.
9594 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
9595 Be friendly with gnu::gcj::runtime::StackTrace.
9596 (Object.chain): New field.
9597 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
9598 gnu::gcj::runtime::StackTrace.
9599 * gnu/gcj/runtime/natStackTrace.cc: New file.
9600 * gnu/gcj/runtime/MethodRef.java: New file.
9601 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
9602 instead of getClassLoader().
9603 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
9604 java::lang::VMThrowable.
9605 * Makefile.am (core_java_source_files): Add MethodRef.java,
9607 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
9608 * Makefile.in: Rebuild.
9610 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
9612 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
9613 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
9614 yes also for sh-linux* and sh[34]*-linux*.
9615 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
9616 set SIGNAL_HANDLER to use DWARF2 exception for them.
9617 * configure: Regenerate.
9619 2002-12-02 Tom Tromey <tromey@redhat.com>
9621 * jni.cc: Added `name' argument.
9622 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
9623 `const char *' argument.
9624 (class _Jv_JNIEnv) [DefineClass]: Likewise.
9626 2002-12-01 Tom Tromey <tromey@redhat.com>
9628 Bug compatibility, for PR libgcj/8738:
9629 * java/io/CharArrayWriter.java (close): Do nothing.
9631 (reset): Don't touch `closed'.
9632 (write(int)): Don't throw IOException.
9633 (write(char[],int,int)): Likewise.
9634 (write(String,int,int)): Likewise.
9637 2002-12-01 Mark Wielaard <mark@klomp.org>
9639 * java/lang/SecurityManager.java: Remerge comments, indenting and
9640 checkXXX methods with Classpath.
9642 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
9644 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
9645 getNormalizedComponents): Fix calculation which was using one too
9646 many bits in the unnormalized format.
9648 2002-11-29 Gary Benson <gbenson@redhat.com>
9651 * java/beans/Introspector.java (flushCaches): New method.
9652 (flushFromCaches): Likewise.
9654 2002-11-29 Michael Koch <konqueror@gmx.de>
9656 * java/nio/channels/DatagramChannel.java
9657 (open): Added exception documentation.
9658 (write): Added exception documentation.
9659 (connect): Added exception documentation.
9660 (disconnect): Added exception documentation.
9661 (isConnected): Added exception documentation.
9662 (read): Added exception documentation.
9663 (receive): Added exception documentation.
9664 (send): Added exception documentation.
9665 (validOps): Added exception documentation.
9666 * java/nio/channels/SocketChannel.java
9667 (open): Added exception documentation.
9668 (read): Added exception documentation.
9669 (write): Added exception documentation.
9670 (connect): Added exception documentation.
9671 (finishConnect): Added exception documentation.
9673 2002-11-29 Michael Koch <konqueror@gmx.de>
9675 * gnu/java/nio/DatagramChannelImpl:
9676 (fd): New member variable to store file descriptor of socket.
9677 * gnu/java/nio/SelectionKeyImpl.java:
9679 (readyOps): New member variable.
9680 (interestOps): New member variable.
9681 (readyOps): Implemented.
9682 (readyOps): New method to set member variable readyOps.
9683 (interestOps): Replaced ops by interestOps.
9684 * gnu/java/nio/SelectorImpl.java:
9685 (SelectorImpl): Initialize key sets.
9686 (select): Call select with -1 instead of Long.MAX_VALUE).
9687 (java_do_select): Make it a native method.
9688 (getFDsAsArray): New helper method.
9689 (select): Remove canceled keys, give only interested file discriptors
9690 to java_do_select, set ready ops.
9691 (add): No need to initialize keys set here.
9692 (add_selected): No need to initialize selected set here.
9693 (deregisterCanceledKeys): New helper method.
9694 (register): Set interest ops, set attachments, added handling of datagram
9696 * gnu/java/nio/ServerSocketChannelImpl:
9697 (SocketAccept): Renamed from NioSocketAccept.
9698 (implConfigureBlocking): Implemented.
9699 (accept): Use SocketAccept instead of NioSocketAccept.
9700 * gnu/java/nio/SocketChannelImpl:
9701 Reactivate native methods.
9703 2002-11-29 Michael Koch <konqueror@gmx.de>
9705 * gnu/java/nio/natByteBufferImpl.cc,
9706 gnu/java/nio/natCharBufferImpl.cc,
9707 gnu/java/nio/natDoubleBufferImpl.cc,
9708 gnu/java/nio/natFloatBufferImpl.cc,
9709 gnu/java/nio/natIntBufferImpl.cc,
9710 gnu/java/nio/natLongBufferImpl.cc,
9711 gnu/java/nio/natSelectorImpl.cc,
9712 gnu/java/nio/natServerSocketChannelImpl.cc,
9713 gnu/java/nio/natShortBufferImpl.cc,
9714 gnu/java/nio/natSocketChannelImpl.cc:
9715 New files that implement native functionalities.
9717 2002-11-29 Michael Koch <konqueror@gmx.de>
9719 * gnu/java/nio/ByteBufferImpl.java
9720 (ByteBufferImpl): Moved position() after limit.
9721 (nio_*): Use native implementation.
9722 * gnu/java/nio/CharBufferImpl.java:
9724 (endian): New member variable string endianess of buffer.
9725 (CharBufferImpl): Moved position() after limit.
9726 (nio_*): Use native implementation.
9727 (subSequence): Implemented.
9728 * gnu/java/nio/DoubleBufferImpl.java
9729 (DoubleBufferImpl): Moved position() after limit.
9730 (nio_*): Use native implementation.
9731 * gnu/java/nio/FloatBufferImpl.java
9733 (FloatBufferImpl): Moved position() after limit.
9734 (nio_*): Use native implementation.
9735 * gnu/java/nio/IntBufferImpl.java
9736 Added needed imports, Reformated.
9737 (IntBufferImpl): Moved position() after limit.
9738 (nio_*): Use native implementation.
9739 * gnu/java/nio/LongBufferImpl.java
9741 (LongBufferImpl): Moved position() after limit.
9742 (nio_*): Use native implementation.
9743 * gnu/java/nio/ShortBufferImpl.java
9745 (ShortBufferImpl): Moved position() after limit.
9746 (nio_*): Use native implementation.
9748 2002-11-27 Julian Dolby <dolby@us.ibm.com>
9750 * java/util/Locale.java (toString): Improve efficiency if country
9751 and variant are both empty.
9753 2002-11-26 Tom Tromey <tromey@redhat.com>
9755 * verify.cc (pop_init_ref): New method.
9756 (verify_instructions_0) [op_iaload, op_laload, op_faload,
9757 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
9758 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
9759 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
9760 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
9761 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
9762 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
9763 let `this' argument be uninitialized. Don't let `null' be passed
9764 as `this' to construtor.
9766 2002-11-26 Mark Wielaard <mark@klomp.org>
9768 * javax/transaction/HeuristicCommitException.java: Classpath merge.
9769 * javax/transaction/HeuristicMixedException.java: Likewise.
9770 * javax/transaction/HeuristicRollbackException.java: Likewise.
9771 * javax/transaction/InvalidTransactionException.java: Likewise.
9772 * javax/transaction/NotSupportedException.java: Likewise.
9773 * javax/transaction/RollbackException.java: Likewise.
9774 * javax/transaction/Status.java: Likewise.
9775 * javax/transaction/Synchronization.java: Likewise.
9776 * javax/transaction/SystemException.java: Likewise.
9777 * javax/transaction/Transaction.java: Likewise.
9778 * javax/transaction/TransactionManager.java: Likewise.
9779 * javax/transaction/TransactionRequiredException.java: Likewise.
9780 * javax/transaction/TransactionRolledbackException.java: Likewise.
9781 * javax/transaction/UserTransaction.java: Likewise.
9782 * javax/transaction/xa/XAException.java: Likewise.
9783 * javax/transaction/xa/XAResource.java: Likewise.
9784 * javax/transaction/xa/Xid.java: Likewise.
9786 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
9788 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
9790 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
9791 * include/posix.h (socklen_t): Define if not already defined.
9793 2002-11-25 Tom Tromey <tromey@redhat.com>
9795 * verify.cc (type::compatible): Backed out broken change.
9797 * verify.cc (type::compatible): Check initialization status
9799 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
9800 Don't use NULLCHECK.
9802 2002-11-23 H.J. Lu <hjl@gnu.org>
9804 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
9805 Include ../config/accross.m4.
9806 * aclocal.m4; Rebuild.
9807 * configure: Likewise.
9809 2002-11-23 Mark Wielaard <mark@klomp.org>
9811 * javax/naming/AuthenticationException.java: Update copyright header.
9812 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
9813 * javax/naming/Binding.java: Likewise.
9814 * javax/naming/CannotProceedException.java: Likewise.
9815 * javax/naming/CommunicationException.java: Likewise.
9816 * javax/naming/CompositeName.java: Likewise.
9817 * javax/naming/CompoundName.java: Likewise.
9818 * javax/naming/ConfigurationException.java: Likewise.
9819 * javax/naming/Context.java: Likewise.
9820 * javax/naming/ContextNotEmptyException.java: Likewise.
9821 * javax/naming/InitialContext.java: Likewise.
9822 * javax/naming/InsufficientResourcesException.java: Likewise.
9823 * javax/naming/InterruptedNamingException.java: Likewise.
9824 * javax/naming/LimitExceededException.java: Likewise.
9825 * javax/naming/LinkException.java: Likewise.
9826 * javax/naming/LinkLoopException.java: Likewise.
9827 * javax/naming/LinkRef.java: Likewise.
9828 * javax/naming/MalformedLinkException.java: Likewise.
9829 * javax/naming/NameAlreadyBoundException.java: Likewise.
9830 * javax/naming/NameClassPair.java: Likewise.
9831 * javax/naming/NameNotFoundException.java: Likewise.
9832 * javax/naming/NameParser.java: Likewise.
9833 * javax/naming/NamingEnumeration.java: Likewise.
9834 * javax/naming/NamingSecurityException.java: Likewise.
9835 * javax/naming/NoInitialContextException.java: Likewise.
9836 * javax/naming/NoPermissionException.java: Likewise.
9837 * javax/naming/NotContextException.java: Likewise.
9838 * javax/naming/OperationNotSupportedException.java: Likewise.
9839 * javax/naming/PartialResultException.java: Likewise.
9840 * javax/naming/Reference.java: Likewise.
9841 * javax/naming/Referenceable.java: Likewise.
9842 * javax/naming/ReferralException.java: Likewise.
9843 * javax/naming/ServiceUnavailableException.java: Likewise.
9844 * javax/naming/SizeLimitExceededException.java: Likewise.
9845 * javax/naming/TimeLimitExceededException.java: Likewise.
9846 * javax/naming/directory/Attribute.java: Likewise.
9847 * javax/naming/directory/AttributeInUseException.java: Likewise.
9848 * javax/naming/directory/AttributeModificationException.java: Likewise.
9849 * javax/naming/directory/Attributes.java: Likewise.
9850 * javax/naming/directory/BasicAttribute.java: Likewise.
9851 * javax/naming/directory/BasicAttributes.java: Likewise.
9852 * javax/naming/directory/DirContext.java: Likewise.
9853 * javax/naming/directory/InitialDirContext.java: Likewise.
9854 * javax/naming/directory/InvalidAttributeIdentifierException.java:
9856 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
9857 * javax/naming/directory/InvalidAttributesException.java: Likewise.
9858 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
9859 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
9860 * javax/naming/directory/ModificationItem.java: Likewise.
9861 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
9862 * javax/naming/directory/SchemaViolationException.java: Likewise.
9863 * javax/naming/directory/SearchControls.java: Likewise.
9864 * javax/naming/directory/SearchResult.java: Likewise.
9865 * javax/naming/event/EventContext.java: Likewise.
9866 * javax/naming/event/EventDirContext.java: Likewise.
9867 * javax/naming/event/NamespaceChangeListener.java: Likewise.
9868 * javax/naming/event/NamingEvent.java: Likewise.
9869 * javax/naming/event/NamingExceptionEvent.java: Likewise.
9870 * javax/naming/event/NamingListener.java: Likewise.
9871 * javax/naming/event/ObjectChangeListener.java: Likewise.
9872 * javax/naming/ldap/Control.java: Likewise.
9873 * javax/naming/ldap/ControlFactory.java: Likewise.
9874 * javax/naming/ldap/ExtendedRequest.java: Likewise.
9875 * javax/naming/ldap/ExtendedResponse.java: Likewise.
9876 * javax/naming/ldap/HasControls.java: Likewise.
9877 * javax/naming/ldap/InitialLdapContext.java: Likewise.
9878 * javax/naming/ldap/LdapContext.java: Likewise.
9879 * javax/naming/ldap/LdapReferralException.java: Likewise.
9880 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
9881 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
9882 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
9883 * javax/naming/spi/DirObjectFactory.java: Likewise.
9884 * javax/naming/spi/DirStateFactory.java: Likewise.
9885 * javax/naming/spi/DirectoryManager.java: Likewise.
9886 * javax/naming/spi/InitialContextFactory.java: Likewise.
9887 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
9888 * javax/naming/spi/NamingManager.java: Likewise.
9889 * javax/naming/spi/ObjectFactory.java: Likewise.
9890 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
9891 * javax/naming/spi/ResolveResult.java: Likewise.
9892 * javax/naming/spi/Resolver.java: Likewise.
9893 * javax/naming/spi/StateFactory.java: Likewise.
9895 * javax/naming/spi/NamingManager.java (ofb): Package private.
9897 2002-11-21 Mark Wielaard <mark@klomp.org>
9899 * java/net/URL.java: Merge with Classpath (partly).
9900 * java/net/URLStreamHandler: Merge with Classpath.
9902 2002-11-22 Michael Koch <konqueror@gmx.de>
9905 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9907 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9908 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
9910 2002-11-21 Michael Koch <konqueror@gmx.de>
9912 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
9913 Only the new network functions should be in it.
9915 2002-11-21 Michael Koch <konqueror@gmx.de>
9917 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9918 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9920 2002-11-21 Michael Koch <konqueror@gmx.de>
9922 * java/nio/channels/AsynchronousCloseException.java,
9923 java/nio/channels/CancelledKeyException.java,
9924 java/nio/channels/ClosedByInterruptException.java,
9925 java/nio/channels/ConnectionPendingException.java,
9926 java/nio/channels/FileLockInterruptionException.java,
9927 java/nio/channels/IllegalSelectorException.java,
9928 java/nio/channels/NoConnectionPendingException.java,
9929 java/nio/channels/NonReadableChannelException.java,
9930 java/nio/channels/NonWritableChannelException.java,
9931 java/nio/channels/NotYetBoundException.java,
9932 java/nio/channels/NotYetConnectedException.java,
9933 java/nio/channels/OverlappingFileLockException.java,
9934 java/nio/channels/UnresolvedAddressException.java,
9935 java/nio/channels/UnsupportedAddressTypeException.java:
9937 * Makefile.am (ordinary_java_source_files): Added new files.
9938 * Makefile.in: Regenerated.
9940 2002-11-21 Michael Koch <konqueror@gmx.de>
9943 (_Jv_socket): New method.
9944 (_Jv_connect): New method.
9945 (_Jv_close): New method.
9946 (_Jv_platform_close_on_exec): Prefixed system function with "::".
9947 (_Jv_bind): New method.
9948 (_Jv_listen): New method.
9949 (_Jv_write): New method.
9950 (_Jv_read): New method.
9952 (_Jv_socket): New method.
9953 (_Jv_connect): New method.
9954 (_Jv_close): New method.
9955 (_Jv_bind): New method.
9956 (_Jv_listen): New method.
9957 (_Jv_write): New method.
9958 (_Jv_read): New method.
9959 * java/net/natNetworkInterface.cc:
9960 Include platform.h, removed inclusion of socket.h
9961 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
9962 ::close() by _Jv_close().
9963 * java/net/natPlainDatagramSocketImpl.cc:
9964 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
9965 added some new lines to make code more readable.
9966 (create): Replaced ::socket() by _Jv_socket().
9967 (close): Replaced NATIVE_CLOSE() by _Jv_close().
9968 * java/net/natPlainSocketImpl.cc:
9969 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
9970 removed include of socket.h, removed some windows defines
9971 (now in include/win32.h).
9972 (create): Replaced ::socket() by _Jv_socket().
9973 (close): Replaced NATIVE_CLOSE() by _Jv_close().
9974 (write): Replaced ::read by _Jv_write().
9975 (read): Replaced ::read by _Jv_read().
9977 2002-11-20 Michael Koch <konqueror@gmx.de>
9979 * Makefile.am (ordinary_java_source_files):
9980 Added java/nio/channels/FileChannel.java.
9981 * Makefile.in: Regenerated.
9983 2002-11-20 Michael Koch <konqueror@gmx.de>
9985 * java/io/FileInputStream.java
9986 (getChannel): New method.
9987 * java/io/FileOutputStream.java
9988 (getChannel): New method.
9989 * java/net/ServerSocket.java
9990 (bind): Removed duplicate code and called another bind method instead.
9991 * java/nio/channels/SelectionKey.java
9992 (isValid): Removed wrong exception documentation.
9993 * java/nio/channels/ServerSocketChannel.java
9994 (accept): Added exception documentation.
9995 (open): Fixed typo, added exception documentation.
9996 * java/nio/channels/spi/AbstractSelectableChannel.java
9997 (implCloseChannel): Added exception documentation.
9999 (register): Added exception documentation.
10001 2002-11-20 Andreas Jaeger <aj@suse.de>
10003 * configure: Regenerated with new libtool.m4.
10005 2002-11-19 Tom Tromey <tromey@redhat.com>
10007 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
10009 (finalize_referred_to_object): Don't modify `referent' or `copy'
10011 (add_to_hash): Correctly set `n->next' when updating list.
10012 * java/lang/ref/Reference.java (enqueue): Return false if already
10015 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
10017 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
10018 to function and function pointer declarations in accordance with
10019 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
10020 based on whether __GCJ_JNI_IMPL__ has been defined or not.
10021 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
10022 JNI function definitions.
10024 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10026 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
10027 that was causing CoderResults to be cached, not WeakReferences
10030 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
10032 * java/security/KeyStore.java (getInstance): Fix
10033 comment and throw IllegalArgumentException if
10034 given provider is null.
10035 (getInstance): New method for jdk1.4 compatibility.
10037 2002-11-18 Michael Koch <konqueror@gmx.de>
10039 * java/net/PlainSocketImpl.java: Fix imports.
10041 2002-11-18 Michael Koch <konqueror@gmx.de>
10043 * java/nio/channels/SelectionKey.java
10044 (isValid): Added exception documentation.
10045 * java/nio/channels/Selector.java
10046 (open): Declare "throws IOException".
10048 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10050 * java/nio/charset/Charset.java
10051 (<clinit>): New method.
10052 (encode): Synchronize use of cached encoder object.
10053 (decode): Synchronize use of cached encoder object.
10055 2002-11-18 Michael Koch <konqueror@gmx.de>
10057 * gnu/java/nio/ByteBufferImpl.java,
10058 gnu/java/nio/CharBufferImpl.java,
10059 gnu/java/nio/DatagramChannelImpl.java,
10060 gnu/java/nio/DoubleBufferImpl.java,
10061 gnu/java/nio/FileChannelImpl.java,
10062 gnu/java/nio/FloatBufferImpl.java,
10063 gnu/java/nio/IntBufferImpl.java,
10064 gnu/java/nio/LongBufferImpl.java,
10065 gnu/java/nio/PipeImpl.java,
10066 gnu/java/nio/SelectionKeyImpl.java,
10067 gnu/java/nio/SelectorImpl.java,
10068 gnu/java/nio/SelectorProviderImpl.java,
10069 gnu/java/nio/ServerSocketChannelImpl.java,
10070 gnu/java/nio/ShortBufferImpl.java,
10071 gnu/java/nio/SocketChannelImpl.java,
10072 java/nio/DoubleBuffer.java,
10073 java/nio/FloatBuffer.java,
10074 java/nio/IntBuffer.java,
10075 java/nio/LongBuffer.java,
10076 java/nio/ShortBuffer.java,
10077 java/nio/channels/FileChannel.java: New files.
10079 2002-11-18 Michael Koch <konqueror@gmx.de>
10081 * Makefile.am (ordinary_java_source_files):
10082 Added java/nio/ReadOnlyBufferException.java and
10083 java/nio/channels/ClosedSelectorException.java.
10084 * Makefile.in: Regenerated.
10086 2002-11-18 Michael Koch <konqueror@gmx.de>
10088 * java/net/PlainSocketImpl.java: Reworked imports.
10089 * java/net/ServerSocket.java
10090 (ServerSocket): Create socket.
10091 * java/net/SocketAddress.java: Documentation added.
10092 * java/net/natPlainSocketImpl.cc: Reindented.
10093 * java/nio/ReadOnlyBufferException.java: New file
10094 * java/nio/channels/ClosedChannelException.java: Documentation added.
10095 * java/nio/channels/ClosedSelectorException.java: New file.
10097 2002-11-17 Mark Wielaard <mark@klomp.org>
10099 * java/net/HttpURLConnection.java ((getPermission): Take port
10100 into consideration.
10101 (getErrorStream): Implement.
10103 2002-11-17 Mark Wielaard <mark@klomp.org>
10105 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
10107 2002-11-16 Mark Wielaard <mark@klomp.org>
10109 Integrate work by Raif S. Naffah (raif@fl.net.au)
10110 * java/security/DummyKeyPairGenerator.java (clone): New method.
10111 * java/security/DummyMessageDigest.java (clone): New method.
10112 (engineUpdate): Now public.
10113 (engineReset): Likewise.
10114 (engineDigest): Likewise.
10115 (engineGetDigestLength): New method.
10116 * java/security/DummySignature.java (clone): New method.
10117 * java/security/KeyPairGenerator.java (provider): Now package private.
10118 (getInstance(String)): Use getInstance(String,Provider).
10119 (getInstance(String,String): Use getInstance(String,Provider)
10120 (getInstance(String,Provider): New method.
10121 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
10122 * java/security/KeyPairGeneratorSpi.java (clone): New method.
10123 * java/security/MessageDigest.java (provider): Now package private.
10124 (getInstance(String): Use getInstance(String,Provider).
10125 (getInstance(String,String): Use getInstance(String,Provider)
10126 (getInstance(String,Provider): New method.
10127 * java/security/Provider.java (toCanonicalKey): New method.
10128 (get): New method that uses toCanonicalKey().
10129 (put): Use toCanonicalKey().
10130 (remove): Likewise.
10131 * java/security/Security.java (insertProviderAt): Provider index is one
10132 based, not zero based.
10133 (addProvider): Likewise.
10134 (removeProvider): Likewise.
10135 * java/security/Signature.java (provider): Now package private.
10136 (getInstance(String)): Use getInstance(String,Provider).
10137 (getInstance(String,String): Use getInstance(String,Provider)
10138 (getInstance(String,Provider): New method.
10139 (getInstance(String,String,Provider): Don't cast DummySignature.
10141 2002-11-15 Tom Tromey <tromey@redhat.com>
10143 For PR libgcj/8593:
10144 * java/util/zip/GZIPInputStream.java (read): Check file size.
10145 Look in inflater for remaining input bytes.
10146 (read4): Added buf and offset arguments.
10148 2002-11-12 Eric Blake <ebb9@email.byu.edu>
10150 * java/applet/AppletContext.java: Fix typo and remove redundant
10153 2002-11-14 Tom Tromey <tromey@redhat.com>
10155 * java/lang/natRuntime.cc (insertSystemProperties): Set
10156 gnu.classpath.home.
10158 2002-11-13 Michael Koch <konqueror@gmx.de>
10160 * java/nio/ByteBuffer.java
10161 (allocate): New method.
10162 (wrap): New method.
10166 2002-11-13 Michael Koch <konqueror@gmx.de>
10168 * java/nio/channels/AlreadyConnectedException.java:
10169 Removed unneeded import.
10170 (AlreadyConnectedException): Documentation added.
10171 * java/nio/channels/Pipe.java
10172 (SinkChannel.SinkChannel): Documentation added.
10173 (SinkChannel.validOps): New method.
10174 (SourceChannel.SourceChannel): Documentation added.
10175 (SourceChannel.validOps): New method.
10176 (Pipe): Documentation added.
10177 (open): Documentation added.
10178 (SinkChannel.channel): Documentation added.
10179 (SourceChannel.channel): Documentation added.
10180 * java/nio/channel/SelectableChannel.java
10181 (SelectableChannel): Documentation added.
10182 (blockingLock): Documentation added.
10183 (configureBlocking):Documentation added.
10184 (isBlocking):Documentation added.
10185 (isRegistered):Documentation added.
10186 (keyFor):Documentation added.
10187 (provider):Documentation added.
10188 (register): Documentation added.
10189 (validOps): Documentation added.
10190 * jaba/nio/channels/SelectionKey.java
10191 (SelectionKey): Documentation added.
10192 (attach): Documentation added.
10193 (attachment): Documentation added.
10194 (isAcceptable): Documentation added.
10195 (isConnetable): Documentation added.
10196 (isReadable): Documentation added.
10197 (isWritable): Documentation added.
10198 (cancel): Documentation added.
10199 (channel): Documentation added.
10200 (interestOps): Documentation added.
10201 (isValid): Documentation added.
10202 (readyOps): Documentation added.
10203 (selector): Documentation added.
10204 * jaba/nio/channels/Selector.java
10205 (Selector): Documentation added.
10206 (open): Documentation added.
10207 (close): Documentation added.
10208 (isOpen): Documentation added.
10209 (keys): Documentation added.
10210 (provider): Documentation added.
10211 (select): Documentation added.
10212 (selectedKeys): Documentation added.
10213 (selectNow): Documentation added.
10214 (wakeup): Documentation added.
10215 * java/nio/channels/spi/AbstractInterruptibleChannel.java
10216 (AbstractInterruptibleChannel): Documentation added.
10217 (opened): Default to true;
10218 (begin): Documentation added.
10219 (close): Set opened to false, documentation added.
10220 (isOpen): Documentation added.
10221 * java/nio/channels/spi/AbstractSelectionKey.java
10222 (AbstractSelectionKey): Documentation added.
10223 (cancel): Documentation added.
10224 (isValid): Documentation added.
10225 * java/nio/channels/spi/AbstractSelector.java
10226 (AbstractSelector): Documentation added.
10227 (begin): Documentation added.
10228 (close): Documentation added.
10229 (isOpen): Documentation added.
10230 (deregister): Documentation added.
10231 (end): Documentation added.
10232 (provider): Documentation added.
10233 (implCloseSelector): Documentation added.
10234 (register): Documentation added.
10235 * java/nio/channels/spi/SelectorProvider.java
10236 (SelectorProvider): Documentation added.
10237 (openDatagramChannel): Documentation added.
10238 (openPipe): Documentation added.
10239 (openSelector): Documentation added.
10240 (openServerSocketChannel): Documentation added.
10241 (openSocketChannel): Documentation added.
10242 (provider): Documentation added.
10244 2002-11-12 Michael Koch <konqueror@gmx.de>
10246 * java/nio/Buffer.java: Implemented.
10247 * java/nio/CharBuffer.java: New file.
10248 * java/nio/InvalidMarkException.java: New file.
10249 * java/nio/channels/DatagramChannel.java: Implemented.
10250 * java/nio/channels/ServerSocketChannel.java: Implemented.
10251 * java/nio/channels/SocketChannel.java: Implemented.
10252 * java/nio/channels/spi/AbstractChannel.java: Removed.
10253 * java/nio/channels/spi/AbstractSelectableChannel.java:
10255 * java/nio/charset/Charset.java:
10256 Merge from Classpath.
10257 * java/nio/charset/CharsetDecoder.java: New file.
10258 * java/nio/charset/CharsetEncoder.java: New file.
10259 * java/nio/charset/CoderResult.java: New file.
10260 * Makefile.am (ordinary_java_source_files): Added new files.
10261 * Makefile.in: Regenerated.
10263 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10265 * gnu/java/nio/charset/ISO_8859_1.java,
10266 gnu/java/nio/charset/Provider.java,
10267 gnu/java/nio/charset/US_ASCII.java,
10268 gnu/java/nio/charset/UTF_16.java,
10269 gnu/java/nio/charset/UTF_16BE.java,
10270 gnu/java/nio/charset/UTF_16Decoder.java,
10271 gnu/java/nio/charset/UTF_16Encoder.java,
10272 gnu/java/nio/charset/UTF_16LE.java,
10273 gnu/java/nio/charset/UTF_8.java: New files.
10275 2002-11-11 Michael Koch <konqueror@gmx.de>
10277 * java/nio/charset/CharacterCodingException.java:
10278 This class must be public.
10279 * java/nio/charset/CoderMalfunctionError.java:
10280 This class must be public.
10281 * java/nio/charset/CodingErrorAction.java:
10282 This class must be public.
10283 * java/nio/charset/IllegalCharsetNameException.java:
10284 This class must be public, better implementation.
10285 * java/nio/charset/MalformedInputException.java:
10286 This class must be public, better implementation.
10287 * java/nio/charset/UnmappableCharacterException.java:
10288 This class must be public, better implementation.
10289 * java/nio/charset/UnsupportedCharsetException.java:
10290 This class must be public, better implementation.
10292 2002-11-11 Michael Koch <konqueror@gmx.de>
10294 * java/nio/BufferOverflowException.java,
10295 java/nio/BufferUnderflowException.java: New file.
10296 * Makefile.am (ordinary_java_source_files):
10298 * Makefile.in: Regenerated.
10300 2002-11-10 Tom Tromey <tromey@redhat.com>
10302 * java/awt/Container.java (validate): Use tree lock.
10303 (getComponent): Likewise.
10304 (getComponents): Likewise.
10305 (addImpl): Likewise.
10306 (remove): Likewise.
10307 (removeAll): Likewise.
10308 (processEvent): Fixed indentation.
10309 (getComponentAt): Use tree lock.
10310 (findComponentAt): Likewise.
10311 (removeNotify): Likewise.
10312 (isAncestorOf): Likewise.
10314 (visitChildren): Likewise.
10315 (findNextFocusComponent): Likewise.
10316 (addNotifyContainerChildren): Likewise.
10317 (getAccessibleChildrenCount): Likewise.
10318 (getAccessibleChild): Likewise.
10320 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
10321 (getSize): Likewise.
10322 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
10323 (getSize): Likewise.
10324 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
10325 (calcSize): Likewise.
10326 * java/awt/CardLayout.java (getSize): Use tree lock.
10327 (gotoComponent): Likewise.
10328 (layoutContainer): Likewise.
10330 * java/io/natFileDescriptorWin32.cc (read): Handle case where
10332 * java/io/natFileDescriptorPosix.cc (read): Handle case where
10335 * java/io/Externalizable.java, java/io/FilePermission.java,
10336 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
10337 java/io/SerializablePermission.java, java/text/Format.java,
10338 java/util/AbstractMap.java, java/util/HashMap.java,
10339 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
10340 versions from Classpath.
10342 2002-11-10 Anthony Green <green@redhat.com>
10344 * java/util/jar/Attributes.java (Name): Fix name check.
10346 2002-11-10 Mark Wielaard <mark@klomp.org>
10348 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
10349 with getName() as message.
10350 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
10353 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
10356 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
10358 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
10359 for Win32. JNICALL has been defined to __stdcall to be compatible
10362 2002-11-10 Tom Tromey <tromey@redhat.com>
10364 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
10365 (setRows): Check newRows, not rows.
10367 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
10369 2002-11-09 Tom Tromey <tromey@redhat.com>
10371 * java/applet/Applet.java, java/applet/AppletContext.java,
10372 java/applet/AppletStub.java, java/applet/AudioClip.java,
10373 java/awt/CardLayout.java,
10374 java/awt/ContainerOrderFocusTraversalPolicy.java,
10375 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
10376 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
10377 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
10378 java/awt/color/ICC_ColorSpace.java,
10379 java/awt/color/ICC_Profile.java,
10380 java/awt/color/ICC_ProfileGray.java,
10381 java/awt/color/ICC_ProfileRGB.java,
10382 java/awt/datatransfer/DataFlavor.java,
10383 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
10384 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
10385 New versions from Classpath.
10386 * Makefile.in: Rebuilt.
10387 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
10390 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
10393 * java/awt/List.java (processEvent): Added missing `else's.
10395 * java/awt/Window.java (show): validate() before showing. Make
10396 parent displayable.
10397 (isDisplayable): New method.
10399 2002-11-07 Mark Wielaard <mark@klomp.org>
10401 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
10402 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
10404 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
10406 (loadClass): Take String as codebases.
10407 (getClassAnnotation): Use MyClassLoader annotations.
10408 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
10409 call exportObject(this).
10411 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
10412 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
10413 (setAnnotation): Don't set locBytesStream and locStream.
10414 (replaceObject): Removed.
10415 (flush): Don't test locStream.
10416 (getLocBytes): LikeWise.
10417 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
10418 (leaseCache): New field.
10419 (dirty): Use leaseCache.
10420 (LeaseRecord): New inner class.
10421 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
10422 explicitly call exportObject().
10423 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
10424 false to communicate with Sun JDK130.
10425 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
10426 * gnu/java/rmi/server/RMIObjectInputStream.java
10427 (UnicastConnectionManager): Removed field.
10428 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
10429 Use UnicastServer.getExportedRef().
10430 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
10431 (expireTime): Likewise.
10432 (CONNECTION_TIMEOUT): Likewise.
10433 (disconnect): Call sock.close().
10434 (isExpired): New method.
10435 (resetTime): Likewise.
10436 (run): Use do while loop and catch Exception for discardConnection().
10437 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
10438 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
10439 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
10440 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
10441 (exportObject): Use refcache.
10442 (unexportObject): Likewise.
10443 (getExportedRef): New method.
10444 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
10446 (exportObject): Save manager.serverobj.
10447 (getStub): New method.
10449 2002-11-07 Mark Wielaard <mark@klomp.org>
10451 * java/lang/reflect/natField.cc (getBoolean): Use getType().
10452 (getByte): Likewise.
10453 (getShort): Likewise.
10454 (getInt): Likewise.
10455 (getLong): Likewise.
10456 (getFloat): Likewise.
10457 (getDouble): Likewise.
10459 (setChar): Likewise.
10460 (setByte): Likewise.
10461 (setShort): Likewise.
10462 (setInt): Likewise.
10463 (setLong): Likewise.
10464 (setFloat): Likewise.
10465 (setDouble): Likewise.
10467 2002-11-07 Michael Koch <konqueror@gmx.de>
10469 * java/awt/Choice.java,
10470 java/awt/Container.java,
10471 java/awt/GridBagLayout.java:
10472 Fixed documentation.
10473 * java/awt/peer/ContainerPeer.java:
10476 2002-11-07 Michael Koch <konqueror@gmx.de>
10478 * java/awt/color/ICC_Profile.java:
10479 Added missing constants.
10480 * java/awt/color/ICC_ColorSpace.java
10481 (getMinValue): Added dummy implementation.
10482 (getMaxValue): Added dummy implementation.
10483 * java/awt/datatransfer/DataFlavor.java
10484 (imageFlavor): Added.
10485 (isMimeTypeEqual): Must be final.
10486 (getDefaultRepresentationClass): Must be non-static.
10487 (getDefaultRepresentationClassAsString): Must be non-static.
10488 * java/awt/dnd/DragSourceContext.java
10489 (dragExit): Corrected argument.
10490 (dragDropEnd): Corrected argument.
10491 * java/awt/dnd/DragSourceListener.java.java
10492 (dragExit): Corrected argument.
10493 (dragDropEnd): Corrected argument.
10494 * java/awt/font/TextHitInfo.java
10495 (toString): Added stubbed implementation.
10496 * java/awt/geom/PathIterator.java:
10497 The constants must be static.
10498 * java/awt/image/VolatileImage.java
10499 (IMAGE_INCOMPATIBLE): Fixed typo.
10500 * java/awt/image/renderable/RenderableImage.java
10501 (HINTS_OBSERVED): Must be static.
10502 * java/beans/BeanInfo.java:
10503 Constants must be final.
10505 2002-11-06 Tom Tromey <tromey@redhat.com>
10507 From svens@it.uu.se. For PR libgcj/8481.
10508 * java/util/Random.java (nextInt(int)): Only use 31 bits.
10510 2002-11-06 Tom Tromey <tromey@redhat.com>
10512 * jni.cc (array_from_valist): Assume that jlong won't be
10515 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
10517 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
10519 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
10522 2002-11-03 Tom Tromey <tromey@redhat.com>
10524 * java/lang/ClassLoader.java (loadClass): Call loadClass on
10525 VMClassLoader, not findClass.
10527 2002-11-03 Jeff Sturm <jsturm@one-point.com>
10529 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
10530 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
10531 _Jv_DetermineVTableIndex, to determine vtable offset.
10532 (_Jv_DetermineVTableIndex): Remove.
10533 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
10535 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
10537 2002-11-03 Tom Tromey <tromey@redhat.com>
10539 * java/nio/channels/AlreadyConnectedException.java: Extend
10540 IllegalStateException, per spec.
10542 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
10544 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
10546 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
10548 * java/util/ArrayList.java (readObject, writeObject): Only read/write
10551 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
10553 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
10554 initial estimated size to avoid enlarge buffer frequently.
10556 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
10558 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
10559 ClassLoader when null.
10560 (ProxyType.hashCode): Loader null check no longer needed.
10561 (ProxyType.sameTypes): New method.
10562 (ProxyType.equals): Use new method.
10564 2002-10-31 Mark Wielaard <mark@klomp.org>
10566 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
10568 * java/net/URLEncoder.java (encode): Likewise.
10570 2002-10-31 Mark Wielaard <mark@klomp.org>
10572 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
10573 when stream is closed.
10574 (closeEntry): Likewise.
10576 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
10577 ZipException when no entry active.
10578 (closeEntry): Likewise.
10581 2002-11-02 Tom Tromey <tromey@redhat.com>
10583 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
10584 * java/lang/natClass.cc (initializeClass): Don't return just
10585 because self==thread.
10588 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
10589 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
10591 2002-11-02 Andreas Schwab <schwab@suse.de>
10593 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
10595 (FLAGS_TO_PASS): Define.
10596 * Makefile.in: Regenerated.
10598 2002-11-01 Michael Koch <konqueror@gmx.de>
10600 * java/nio/ByteOrder.java: New file.
10601 * java/nio/channels/DatagramChannel.java:
10602 (DatagramChannel): New constructor.
10603 * java/nio/channels/Pipe.java: New file.
10604 * java/nio/channels/SelectableChannel.java: New file.
10605 * java/nio/channels/SelectionKey.java: New file.
10606 * java/nio/channels/Selector.java: New file.
10607 * java/nio/channels/ServerSocketChannel.java
10608 (ServerSocketChannel): New constructor.
10609 * java/nio/channels/SocketChannel.java
10610 (SocketChannel): New constructor.
10611 * java/nio/channels/Pipe.java: New file.
10612 * java/nio/channels/spi/AbstractChannel.java: New file.
10613 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
10614 * java/nio/channels/spi/AbstractSelectableChannel.java:
10616 (AbstractSelectableChannel): New stubbed method.
10617 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
10618 * java/nio/channels/spi/AbstractSelector.java: New file.
10619 * java/nio/channels/spi/SelectorProvider.java: New file.
10620 * java/nio/charset/Charset.java: New file.
10621 * java/nio/charset/CoderMalfunctionError.java: New file.
10622 * java/nio/charset/CodingErrorAction.java: New file.
10623 * java/nio/charset/spi/CharsetProvider.java
10624 (charsetForName): Uncommented.
10625 * Makefile.am (java_native_source_files): Added new files.
10626 * Makefile.in: Regenerated.
10628 2002-11-01 Michael Koch <konqueror@gmx.de>
10630 * java/net/InetAddress.java:
10631 (isAnyLocalAddress): Implemented.
10632 (isLoopbackAddress): Implemented, comment added.
10633 (isLinkLocalAddress): Implemented, documentation added.
10634 (isSiteLocalAddress): Implemented, documentation added.
10635 (isMCGlobal): Implemented, documentation added.
10636 (isMCNodeLocal): Implemented, documentation added.
10637 (isMCLinkLocal): Implemented, documentation added.
10638 (isMCSiteLocal): Implemented, documentation added.
10639 (isMCOrgLocal): Implemented, documentation added.
10640 (getHostName): Documentation added.
10641 (getCanonicalHostName): Implemented, documentation added.
10642 (getAddress): Documentation added.
10643 (hashCode): Documentation added.
10644 (equals): Documentation added.
10645 (toString): Fixed implementation.
10646 (getByAddress): Use Inet4Address and Inet6Address.
10647 (lookup): New linewrap.
10648 (getByName): SecurityManager check added, support Inet4Address and
10649 Inet6address, comments added.
10650 (getAllByName): SecurityManager check added, comments added.
10651 * java/net/Inet6Address.java:
10652 (Inet6Address): Initialize parent class with addr instead of null.
10653 * java/net/URL.java
10654 (equals): Documentation added.
10655 (getFile): Documentation added.
10656 (hashCode): Documentation added.
10657 * java/net/natInetAddress.cc:
10658 (aton): Fix IPv6 support.
10659 * java/net/natPlainDatagramSocketImpl.cc:
10660 (peek): Throw PortUnreachableException when suitable.
10661 (peekData): Throw PortUnreachableException when suitable.
10662 (send): Throw PortUnreachableException when suitable.
10663 (receive): Throw PortUnreachableException when suitable.
10665 2002-10-27 Mark Wielaard <mark@klomp.org>
10667 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
10669 (readLeShort): Likewise and use byte[].
10670 (readLeInt): Likewise.
10671 (readEntries): Use new versions of methods and use byte[] for reading
10672 a complete zip entry. Add ZipFile name to exceptions.
10673 (entries): Add ZipFile name to exceptions.
10674 (getEntry): Likewise.
10675 (checkLocalHeader): Use new versions of methods and add ZipFile name
10678 2002-10-31 Mark Anderson <mark@panonet.net>
10680 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
10683 2002-10-25 Krister Walfridsson <cato@df.lth.se>
10685 * configure.in: Disable hash sync when not using threads.
10686 * configure: Regenerated.
10688 2002-10-24 Tom Tromey <tromey@redhat.com>
10690 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
10691 (_Jv_FindSymbolInExecutable): Removed argument name.
10692 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
10693 java.library.path is set.
10695 * gij.cc (help): Document --showversion.
10696 (version): Don't exit.
10697 (main): Handle --showversion. Exit if --version given.
10699 2002-10-23 Tom Tromey <tromey@redhat.com>
10701 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
10702 (array_from_valist): Correctly handle promotion for jint, jlong,
10703 jfloat, and jdouble.
10705 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
10707 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
10708 GetFileAttributesEx( ) to find file length and modification times,
10709 as the latter is not present on Windows 95.
10711 2002-10-21 Michael Koch <konqueror@gmx.de>
10713 * java/net/URL.java
10714 (URL): Activate SecurityManager checks.
10715 (equals): Use URLStreamHandler implementation instead of doing it
10716 alone. This allows special protocol stream handlers to change default
10718 (hashCode): Use URLStreamHandler implementation instead of doing it
10719 alone. This allows special protocol stream handlers to change default
10721 * java/net/URLStreamHandler.java
10722 (equals): Implemented default URL equality check.
10723 (hostsEqual): Implemented default URL equality check.
10724 (hashCode): Implemented default URL hashCode algorithm.
10725 * java/net/natPlainDatagramSocketImpl.cc:
10726 No lines longer then 80 characters.
10728 2002-10-20 Adam Megacz <adam@xwt.org>
10730 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
10731 * configure.in: enabled hash sync on Win32
10732 * include/win32-threads.h (_Jv_ThreadId_t): added.
10733 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
10734 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
10735 removed some posix-isms, use Thread::sleep() instead of usleep,
10736 added code to clear bottom three bits if platform has a broken
10738 * include/win32-threads.h (_Jv_ThreadId_t): added.
10740 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
10742 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
10743 runtime property "gnu.gcj.progname" containing the name used to
10744 invoke the current Java program (similar to argv[0] for C
10747 2002-10-15 Tom Tromey <tromey@redhat.com>
10749 Fix for PR libgcj/8234:
10750 * java/util/zip/natInflater.cc (reset): Reset avail_in.
10751 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
10753 2002-10-13 Mark Wielaard <mark@klomp.org>
10755 * mauve-libgcj: Enable Mauve tests that compile now.
10757 2002-10-11 Mark Wielaard <mark@klomp.org>
10759 Fix for PR libgcj/8142
10760 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
10761 loading native modules.
10763 2002-10-10 Michael Koch <konqueror@gmx.de>
10765 * javax/swing/AbstractListModel.java
10766 (getListDataListeners): New stubbed method.
10767 javax/swing/DefaultBoundedRangeModel.java
10768 (getChangeListeners): New stubbed method.
10769 javax/swing/DefaultSingleSelectionModel.java
10770 (getChangeListeners): New stubbed method.
10772 2002-10-10 Michael Koch <konqueror@gmx.de>
10774 * gcj/.cvsignore: New file to ignore files generated during build.
10775 * include/.cvsignore: New file to ignore files generated during build.
10777 2002-10-10 Michael Koch <konqueror@gmx.de>
10779 * java/net/HttpURLConnection.java
10780 (getPermission): New method.
10781 (getErrorStream): New stub method.
10782 (getHeaderFieldDate): New stub method.
10783 * java/net/Inet4Address.java:
10784 (isLinkLocalAddress): Typo fixed.
10785 * java/net/InetAddress.java:
10786 (readResolve): New stubbed method (for serialization).
10787 (isAnyLocalAddress): New stubbed method.
10788 (isLoopbackAddress): New stubbed method.
10789 (isLinkLocalAddress): New stubbed method.
10790 (isSiteLocalAddress): New stubbed method.
10791 (isMCGlobal): New stubbed method.
10792 (isMCNodeGlobal): New stubbed method.
10793 (isMCLinkLocal): New stubbed method.
10794 (isMCSiteLocal): New stubbed method.
10795 (isMCOrgLocal): New stubbed method.
10796 (getCanonicalHostName): New stubbed method.
10797 (getByAddress): Create instances of Inet4Address/Inet6Address,
10798 instead of InetAddress, documentation added.
10799 * java/net/MulticastSocket.java
10800 (getInterface): Removed FIXME.
10801 (getNetworkInterface): New method.
10802 (setNetworkInterface): New method.
10803 * java/net/NetworkInterface.java:
10804 (toString): Use property "line.separator" instead of "\n".
10805 * java/net/URLConnection.java
10806 (getContent): New stubbed method.
10807 * java/net/URLStreamHandler.java:
10808 (equals): New stubbed method.
10809 (hostsEqual): New stubbed method.
10810 (hashCode): New stubbed method.
10811 * java/net/natNetworkInterface.cc:
10812 (getRealNetworkInterfaces): Create Inet4Address object
10813 instead of InetAddress.
10815 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
10817 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
10818 unsigned long temporary to implement insn_iushr shifts.
10820 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
10822 * configure.host [s390*-*]: Enable Java interpreter.
10823 Enable hash synchronization. Add sysdeps dir.
10824 * sysdep/s390/locks.h: New file.
10826 2002-10-06 Mark Wielaard <mark@klomp.org>
10828 * java/lang/Thread.java (setDaemon): Check startable_flag,
10831 2002-10-07 Michael Koch <konqueror@gmx.de>
10833 * java/nio/Buffer.java: New stub file.
10834 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
10836 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
10837 * Makefile.in: Regenerated.
10839 2002-10-07 Michael Koch <konqueror@gmx.de>
10841 * java/nio/ByteBuffer.java:
10842 removed import of not commited class.
10844 2002-10-07 Michael Koch <konqueror@gmx.de>
10846 * java/nio/ByteBuffer.java,
10847 java/nio/MappedByteBuffer.java:
10848 New files, forgot to add these dummies.
10849 * Makefile.am (java_native_source_files): Added new files.
10850 * Makefile.in: Regenerated.
10852 2002-10-07 Michael Koch <konqueror@gmx.de>
10854 * java/nio/channels/AlreadyConnectedException.java,
10855 java/nio/channels/ClosedChannelException.java,
10856 java/nio/channels/ReadableByteChannel.java,
10857 java/nio/channels/InterruptibleChannel.java,
10858 java/nio/channels/Channel.java,
10859 java/nio/channels/ByteChannel.java,
10860 java/nio/channels/GatheringByteChannel.java,
10861 java/nio/channels/ScatteringByteChannel.java,
10862 java/nio/channels/WritableByteChannel.java,
10863 java/nio/charset/CharacterCodingException.java,
10864 java/nio/charset/IllegalCharsetNameException.java,
10865 java/nio/charset/MalformedInputException.java,
10866 java/nio/charset/UnmappableCharacterException.java,
10867 java/nio/charset/UnsupportedCharsetException.java,
10868 java/nio/charset/spi/CharsetProvider.java: New file.
10869 These files are exceptions or interfaces,
10870 no real or abstract classes.
10871 * Makefile.am (java_native_source_files): Added new files.
10872 * Makefile.in: Regenerated.
10874 2002-10-05 Michael Koch <konqueror@gmx.de>
10876 * java/net/InetAddress.java
10877 (getByAddress): Fixed documentation.
10878 (getByAddress): New method.
10879 * java/net/Inet4Address.java: New file.
10880 * java/net/URL.java
10881 (URL): Documentation added.
10882 (getContent): Documentation added.
10883 (getContent): New stubbed method.
10884 (getQuery): New method.
10885 (openConnection): Documentation added.
10886 (openStream): Documentation added.
10887 (setURLStreamHandlerFactory): Documentation added.
10888 * java/net/URI.java: New stub file.
10890 (java_native_source_files): Added java/net/Inet4Address.java,
10891 java/net/Inet6Address.java and java/net/URI.java.
10892 * Makefile.in: Regenerated.
10894 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
10896 * java/lang/ProtectionDomain.java (linesep): Remove field.
10897 (toString): Use System.getProperty("line.separator").
10899 2002-10-04 Michael Koch <konqueror@gmx.de>
10901 * java/security/Identity.java: Added serialVersionUID.
10902 * java/security/KeyPair.java: Added serialVersionUID.
10903 * java/security/Provider.java: Added serialVersionUID.
10904 * java/security/SecureRandom.java: Added serialVersionUID.
10905 * java/security/SecureRandomSpi.java: Added serialVersionUID.
10906 * java/security/SignedObject.java: Added serialVersionUID.
10907 * java/security/cert/Certificate.java: Added serialVersionUID.
10909 2002-10-04 Mark Wielaard <mark@klomp.org>
10911 * java/security/Security.java: Use java.home or gnu.classpath.home
10913 (loadProviders): Extra dir argument.
10914 (getProvider): Return null when not found.
10916 2002-10-04 Mark Wielaard <mark@klomp.org>
10918 * java/lang/Throwable.java: Remerge with Classpath.
10920 2002-10-04 Michael Koch <konqueror@gmx.de>
10922 * java/net/InetAddress.java:
10923 (isMulticastAddress): Added documentation.
10924 (getHostAddress): Added documentation.
10925 (toString): Added documentation.
10926 (getByAddress): Fixed documentation.
10927 (getByName): Added documentation.
10928 (getAllByName): Added documentation.
10929 (getLocalHost): Added documentation.
10931 2002-10-04 Michael Koch <konqueror@gmx.de>
10933 * java/beans/beancontext/BeanContextChildSupport.java:
10934 Added serialVersionUID.
10935 * java/text/Collator.java: (compare): Made documentation HTML-aware.
10936 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
10937 * javax/naming/Name.java: Added serialVersionUID.
10939 2002-10-03 Adam Megacz <adam@xwt.org>
10941 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
10942 some functionality that isn't supported yet on WIN32.
10944 2002-10-03 Tom Tromey <tromey@redhat.com>
10946 * Makefile.in: Rebuilt.
10947 * Makefile.am (awt_java_source_files): Added new files.
10949 2002-10-03 Michael Koch <konqueror@gmx.de>
10951 * java/net/InetAddress.java
10952 (class InetAddress): Removed final keyword.
10953 (equals): Fixed typo.
10954 (getByAddress): New method.
10956 2002-10-03 Michael Koch <konqueror@gmx.de>
10958 * java/awt/dnd/Autoscroll.java:
10959 New file, merge from Classpath.
10960 * java/awt/dnd/DragSourceAdapter.java:
10961 (dragExit): Fixed typos in argument type.
10962 (dragDropEnd): Fixed typos in argument type.
10963 * java/awt/dnd/DragSourceDropEvent.java:
10964 New file, merge from Classpath.
10965 * java/awt/dnd/DropTarget.java:
10966 Added stubs, merge from Classpath.
10967 * java/awt/dnd/DropTargetAdapter.java:
10968 New file, merge from Classpath.
10969 * java/awt/dnd/DropTargetContext.java:
10970 New file, merge from Classpath.
10971 * java/awt/dnd/DropTargetDragEvent.java:
10972 New file, merge from Classpath.
10973 * java/awt/dnd/DropTargetDropEvent.java:
10974 New file, merge from Classpath.
10975 * java/awt/dnd/DropTargetEvent.java:
10976 New file, merge from Classpath.
10977 * java/awt/dnd/DropTargetListener.java:
10978 New file, merge from Classpath.
10979 * java/awt/dnd/MouseDragGestureRecognizer.java:
10980 New file, merge from Classpath.
10981 * java/awt/dnd/peer/DropTargetContextPeer.java:
10982 New file, merge from Classpath.
10984 2002-10-03 Michael Koch <konqueror@gmx.de>
10986 * java/net/DatagramPacket.java
10987 (setLength): Fixed typo and be HTML-aware.
10988 * java/net/InetSocketAddress.java
10989 (InetSocketAddress): Correct initialization of hostname, fixed typo.
10990 (equals): Added comment about equality of InetSocketAddress objects.
10991 * java/net/ServerSocket.java
10992 (accept): Added checks.
10993 (isClosed): New stubbed method.
10994 * java/net/SocketOptions.java: Reindention.
10995 * java/net/SocketPermission
10996 (SocketPermission): Documentation fixed.
10998 2002-10-03 Michael Koch <konqueror@gmx.de>
11000 * java/net/DatagramSocket.java
11001 (receive): Check with SecurityManager AFTER the packet is received,
11002 check if connected to multicast address, documentation added.
11003 (send): Only check SecurityManager if connected, check address of
11005 (connect): Implemented, documentation added.
11006 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
11007 * java/net/InetSocketAddress.java
11008 (whole file): Reindented.
11009 (hostname): New attribute.
11010 (InetSocketAddress): Initialize new attribute.
11011 (getAddress): Documentation added.
11012 (getHostName): Documentation added.
11013 (getPort): Documentation added.
11014 (hashCode): Documentation added.
11015 (isUnresolved): Documentation added.
11016 (toString): Conform to output of JDK 1.4.1, documentation added.
11017 * java/net/MulticastSocket.java
11018 (joinGroup): Removed FIXME, documentation added.
11019 (leaveGroup): Removed FIXME, documentation added.
11020 (send): Documentation added.
11021 * java/net/Socket.java
11022 (inputShutdown): New variable.
11023 (outputShutdown): New variable.
11024 (Socket): Initialize new variables.
11025 (getRemoteSocketAddress): Check if connected.
11026 (shutdownInput): Set new variable.
11027 (shutdownOutput): Set new variable.
11028 (isConnected): New method.
11029 (isClosed): New method.
11030 (isInputShutdown): New method.
11031 (isOutputShutdown): New method.
11032 * java/net/URLStreamHandler.java
11033 (URLStreamHandler): New method.
11034 (openConnection): Added documentation.
11035 (parseURL): Added documentation.
11036 (getHostAddress): New method.
11037 (getDefaultPort): New method.
11039 2002-10-02 Tom Tromey <tromey@redhat.com>
11041 * java/rmi/activation/ActivationDesc.java,
11042 java/rmi/activation/ActivationGroupDesc.java,
11043 java/rmi/activation/ActivationGroupID.java,
11044 java/rmi/activation/ActivationID.java: New versions from
11047 2002-09-30 Bo Thorsen <bo@suse.de>
11049 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
11051 2002-09-30 Tom Tromey <tromey@redhat.com>
11053 * java/io/ObjectInputStream.java (resolveProxyClass): New method
11055 * Makefile.in: Rebuilt.
11056 * Makefile.am (rmi_java_source_files): Added new files.
11057 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
11058 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
11059 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
11061 * gnu/java/rmi/dgc/DGCImpl.java,
11062 gnu/java/rmi/dgc/DGCImpl_Skel.java,
11063 gnu/java/rmi/dgc/DGCImpl_Stub.java,
11064 gnu/java/rmi/registry/RegistryImpl_Skel.java,
11065 gnu/java/rmi/registry/RegistryImpl_Stub.java,
11066 gnu/java/rmi/server/RMIHashes.java,
11067 gnu/java/rmi/server/RMIObjectInputStream.java,
11068 gnu/java/rmi/server/RMIObjectOutputStream.java,
11069 gnu/java/rmi/server/UnicastConnection.java,
11070 gnu/java/rmi/server/UnicastConnectionManager.java,
11071 gnu/java/rmi/server/UnicastRef.java,
11072 gnu/java/rmi/server/UnicastServer.java,
11073 gnu/java/rmi/server/UnicastServerRef.java,
11074 java/rmi/MarshalledObject.java,
11075 java/rmi/server/RMIClassLoader.java,
11076 java/rmi/server/RemoteObject.java,
11077 java/rmi/server/UnicastRemoteObject.java,
11078 java/security/SecureClassLoader.java: Merged from Classpath.
11080 2002-09-29 Anthony Green <green@redhat.com>
11082 * java/lang/reflect/UndeclaredThrowableException.java: New file.
11083 Imported from GNU Classpath.
11084 * java/lang/reflect/natProxy.cc: New file.
11085 * java/lang/reflect/InvocationHandler.java: New file. Imported
11086 from GNU Classpath.
11087 * java/lang/reflect/Proxy.java: New file. Imported from GNU
11089 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
11091 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
11092 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
11094 * gcj/javaprims.h ("Java"): Add new classes.
11095 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
11096 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
11097 java/lang/reflect/Proxy$$ProxyType.h): And this.
11098 (inner_nat_headers): Add these new headers.
11099 (ordinary_java_source_files): Add new files.
11100 (nat_source_files): Add new file.
11101 * Makefile.in: Rebuilt.
11103 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
11105 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
11106 a single configuration.
11108 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11110 * java/util/TimeZone.java (getDSTSavings): New method.
11111 Fixes PR libgcj/7786.
11113 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11115 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
11116 to see if `the_method == 0' before looking up vtable index.
11117 Fixes PR libgcj/7709.
11119 2002-09-25 Tom Tromey <tromey@redhat.com>
11121 * java/lang/natClassLoader.cc:
11122 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
11123 * resolve.cc: Include NoClassDefFoundError.h, not
11124 ClassNotFoundException.h.
11125 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
11127 * defineclass.cc: Don't include ClassNotFoundException.h.
11129 * resolve.cc: Include StringBuffer.
11130 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
11132 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
11133 allocated but not initialized.
11135 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11137 Fix for PR libgcj/7766:
11138 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
11139 (getNextEntry): Set it.
11140 (closeEntry): Likewise.
11143 (available): Use it.
11145 2002-09-25 Michael Koch <konqueror@gmx.de>
11147 * java/net/DatagramSocket.java
11148 (DatagramSocket): Initialize new instance variables.
11149 (close): Reset new instance variables.
11150 (getLocalAddress): Remove unneeded SecurityManager usage.
11151 (getLocalPort): Check if socket is already bound.
11152 (isConnected): New method.
11153 (getInetAddress): Implemented.
11154 (getPort): Better Implementation, documentation fixed.
11155 (getRemoteSocketAddress): New method.
11156 * java/net/JarURLConnection.java
11157 (element): Typo fixed.
11158 (getMainAttributes): New method.
11159 (getAttributes): New method (stub only).
11160 (getManifest): New method (stub only).
11161 * java/net/NetPermission.java: Added serialVersionsUID.
11162 * java/net/Socket.java
11163 (connect): Check blocking mode of associated channel,
11164 documentation added.
11165 (getLocalSocketAddress): Better implementation.
11166 (getRemoteSocketAddress): Implemented.
11167 (isBound): New method.
11168 (setSendBufferSize): Documentation added.
11169 * java/net/SocketAddress.java: Added serialVersionsUID.
11170 * java/net/SocketPermission.java: Added serialVersionsUID.
11171 * java/net/URL.java
11172 (URL): Wrap for shorter lines, initialize new instance variables,
11173 documentation added.
11174 (equals): Check new instance variables too.
11175 (getContent): Documentation added.
11176 (getPath): Documentation added.
11177 (getAuthority): New method.
11178 (getHost): Documentation added.
11179 (getPort): Documentation added.
11180 (getDefaultPort): New method.
11181 (getProtocol): Documentation added.
11182 (getUserInfo): Documentation added.
11183 (set): Initialize new instance variables, documentation added.
11184 * java/net/URLStreamHandler.java
11185 (setURL): New method.
11186 * java/net/natPlainDatagramSocketImpl.cc
11187 (connect): Fix exception name.
11188 (disconnect): Fix exception name.
11190 2002-09-25 Michael Koch <konqueror@gmx.de>
11192 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
11193 * java/nio/channels/DatagramChannel.java:
11194 extends AbstractSelectableChannel
11195 * java/nio/channels/ServerSocketChannel.java:
11196 extends AbstractSelectableChannel
11197 * java/nio/channels/SocketChannel.java:
11198 extends AbstractSelectableChannel
11199 * Makefile.am (ordinary_java_source_files):
11200 java/nio/channels/spi/AbstractSelectableChannel.java added.
11201 * Makefile.in: Regenerated.
11203 2002-09-25 Michael Koch <konqueror@gmx.de>
11205 * java/net/DatagramSocket.java
11206 (DatagramSocket): Exception documentation added.
11207 (bind): Exception documentation added, addded SecurityManager check,
11208 added SocketAddress type check.
11209 (getSoTimeout): Check impl.
11210 (receive): Fix SecurityManager check, check impl, documentation added.
11211 (send): Check channel mode, documentation added.
11212 (connect): New method.
11213 (disconnect): Implemented.
11214 (getLocalSocketAddress): New method.
11215 (getReceiveBufferSize): Check impl.
11216 (setReuseAddress): Check impl.
11217 (getReuseAddress): Check impl.
11218 (setBroadcast): Check impl.
11219 (getBroadcast): Check impl.
11220 (setTrafficClass): Check impl, Documentation cleared.
11221 (getTrafficClass): Check impl.
11222 (getSendBufferSize): Check impl.
11223 (setReceiveBufferSize): Check impl, documentation added.
11224 (setSendBufferSize): Documentation added.
11225 (setDatagramSocketImplFactory): New method.
11226 * java/net/HttpURLConnection.java
11227 (HTTP_INTERNAL_ERROR): The correct code is 500.
11228 (HTTP_NOT_IMPLEMENTED): Added new constant.
11229 (setFollowRedirects): Documentation added.
11230 (getInstanceFollowRedirects): New method.
11231 (setInstanceFollowRedirects): New method.
11232 (setRequestMethod): Documentation added.
11233 (getResponseCode): Documentation added.
11234 (getResponseMessage): Documentation added.
11235 * java/net/JarURLConnection.java
11236 (JarURLConnection): protected since JDK 1.4.
11237 (getJarEntry): java.io.IOException to IOException, documentation added.
11238 (getJarFile): Documentation added.
11239 * java/net/ServerSocket.java
11240 (ServerSocket): Private to public, exception added.
11241 (ServerSocket): java.io.IOException to IOException, documentation added.
11242 (bind): Check socket address type, documentation added.
11243 (bind): java.io.IOException to IOException, documentation added.
11244 (accept): Documentation added.
11245 (implAccept): Check ch is not non-blocking, documentation added.
11246 (setSoTimeout): Documentation fixed.
11247 (setReceiveBufferSize): Documentation added.
11248 * java/net/Socket.java
11249 (Socket): Documentation added.
11250 (bind): Documentation added.
11251 (connect): Check socket address type, documentation added.
11252 (getRemoteSocketAddress): New method.
11253 (getLocalSocketAddress): New method.
11254 (setSoLinger): Documentation added.
11255 (getReuseAddress): New method.
11256 (setReuseAddress): New method.
11257 (getTrafficClass): New method.
11258 (setTrafficClass): New method.
11259 * java/net/URLStreamHandler.java
11260 (openConnection): java.io.IOException to IOException.
11261 (parseURL): Documentation added.
11262 (sameFile): public to protected, documentation added.
11263 (setURL): Documentation added.
11264 * java/nio/IllegalBlockingModeException.java: New file.
11265 * Makefile.am (ordinary_java_source_files):
11266 added java/nio/IllegalBlockingModeException.java
11267 * Makefile.in: Regenerated.
11269 2002-09-25 Michael Koch <konqueror@gmx.de>
11271 * java/net/DatagramPacket
11272 (DatagramPacket): Exception documentation added.
11273 (setData): Likewise.
11274 (setSocketAddress): Likewise.
11275 * java/net/DatagramSocketImpl.java
11276 (peek): Documentation addded.
11277 (peekData): Documentation addded.
11278 (send): Documentation addded.
11279 (receive): Documentation addded.
11280 (connect): New method.
11281 (disconnect): New method.
11282 (joinGroup): New abstract method.
11283 (leaveGroup): New abstract method.
11284 * java/net/InetSocketAddress.java
11285 (InetSocketAddress): Documentation added.
11286 (equals): final keyword added.
11287 (getAddress): final keyword added.
11288 (getHostName): final keyword added.
11289 (getPort): final keyword added.
11290 (hashCode): final keyword added.
11291 (isUnresolved): final keyword added.
11292 * java/net/MulticastSocket.java
11293 (MulticastSocket): Documentation added.
11294 (MulticastSocket): New method.
11295 (joinGroup): Documentation added.
11296 (joinGroup): New method.
11297 (leaveGroup): Documentation added.
11298 (leaveGroup): New method.
11299 (send): Documentation added.
11300 * java/net/NetworkInterface.java
11301 (getByName): Documentation added.
11302 (getByInetAddress): Documentation added.
11303 (getNetworkInterfaces): Documentation added.
11304 * java/net/PlainDatagramSocketImpl.java
11305 (connect): New method.
11306 (disconnect): New method.
11307 * java/net/SocketImpl.java
11308 (create): Documentation added.
11309 (shutdownInput): Convert public to protected, as it always was.
11310 (shutdownOutput): Convert public to protected, as it always was.
11311 * java/net/SocketOptions.java
11312 (whole file): Reintented.
11313 * java/net/URLClassLoader.java
11314 (URLClassLoader): SecurityManager check added, documentation added.
11315 (findResources): Documentation added.
11316 (findClass): Documentation added.
11317 (newInstance): More correct method arguments.
11318 * java/net/URLConnection.java
11319 (connect): Documentation added.
11320 (getContent): Documentation added.
11321 (getPermission): Documentation added.
11322 (getInputStream): Documentation added.
11323 (getOutputStream): Documentation added.
11324 (setDoInput): Throw correct exception, documentation added.
11325 (setDoOutput): Throw correct exception, documentation added.
11326 (setAllowUserInteraction): Throw correct exception, documentation added.
11327 (setUseCaches): Throw correct exception, documentation added.
11328 (setIfModifiedSince): Throw correct exception, documentation added.
11329 (setRequestProperty): Throw exception, documentation added.
11330 (addRequestProperty): Throw exception, documentation added.
11331 (getRequestProperty): Throw exception, documentation added.
11332 (getRequestProperties): Documentation added.
11333 (setContentHandlerFactory): Documentation added.
11334 (guessContentTypeFromName): protected to public.
11335 (setFileNameMap): Documentation added.
11336 * java/net/URLDecoder.java
11337 (URLDecoder): New method.
11338 (decode): Documentation added.
11339 (whole file): Reindented.
11340 * java/net/URLEncoder.java
11341 (encode): Documentation added.
11342 * java/net/natPlainDatagramSocketImpl.cc
11343 (connect): New method.
11344 (disconnect): New method.
11345 * javax/naming/RefAddr:
11346 (addrType): addrType was never final.
11347 (equals): Fix typo in method name.
11348 * javax/naming/BinaryRefAddr:
11349 (equals): Fix typo in method name.
11351 2002-09-22 Tom Tromey <tromey@redhat.com>
11353 Fix for PR libgcj/6576:
11354 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
11355 didn't find a given bundle.
11356 (getBundle): Don't require base bundle.
11357 (setParent): Removed old comment.
11358 (tryLocalBundle): Try components even if preceding components were
11361 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11363 * Makefile.am (all-multi): Fix multilib parallel build.
11365 2002-09-21 Michael Koch <konqueror@gmx.de>
11367 * java/net/Socket.java
11368 (sendUrgentData): New method.
11369 (getChannel): New method.
11370 * java/net/ServerSocket.java
11371 (getChannel): New method.
11372 (isBound): New method.
11373 * java/net/DatagramSocket.java
11374 (DatagramSocket): Two new methods.
11375 (bind): New method.
11376 (getChannel): New method.
11377 (isBound): New method.
11378 (send): Added newline to to make shorter lines.
11379 * java/net/PlainDatagramSocketImpl.java
11380 (mcastGrp): Added argument.
11381 (join): Use new mcastGrp.
11382 (leave): Use new mcastGrp.
11383 (joinGroup): New method.
11384 (leaveGroup): New method.
11385 * java/net/natPlainDatagramSocketImpl.cc
11386 (mcastGrp): Added argument, no yet really implemented.
11387 (getOption): Added newline for shorter lines.
11388 * java/net/natPlainSocketImpl.cc
11389 (read, setOption, getOption): Added newline for shorter lines.
11391 2002-09-19 Tom Tromey <tromey@redhat.com>
11393 * java/lang/ClassLoader.java (resolveClass0): Set cause for
11394 newly-created exception.
11396 2002-09-18 Michael Koch <konqueror@gmx.de>
11398 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
11399 java/util/regex/PatternSyntaxException.java:
11400 Merge with classpath, new files.
11401 * Makefile.am (core_java_source_files):
11402 Added java/util/regex/Matcher.java,
11403 java/util/regex/Pattern.java,
11404 java/util/regex/PatternSyntaxException.java
11405 * Makefile.in: Regenerated.
11406 * include/config.h.in: Added HAVE_NET_IF_H.
11407 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
11408 Removed #if 0 ... #endif.
11410 2002-09-17 Michael Koch <konqueror@gmx.de>
11412 * java/net/natNetworkInterface.cc:
11413 Removed unneed and yet wrong includes.
11415 2002-09-17 Michael Koch <konqueror@gmx.de>
11417 * java/net/NetworkInterface.java: New file.
11418 * java/net/natNetworkInterface.java: New file.
11419 * configure.in: Added check for net/if.h.
11420 * configure: Regenerated.
11422 (ordinary_java_source_files): Added NetworkInterface.java.
11423 (nat_source_files): Added natNetworkInterface.cc.
11424 * Makefile.in: Regenerated.
11426 2002-09-16 Tom Tromey <tromey@redhat.com>
11428 * java/net/URLClassLoader.java (findClass): Code source for a
11429 class from a jar is not necessarily a jar: URL.
11431 2002-09-16 Michael Koch <konqueror@gmx.de>
11433 * java/lang/AssertionError.java:
11434 Merge with classpath, fixes HTML.
11435 * java/rmi/server/LogStream.java:
11436 Merge with classpath, fixes some constants.
11437 * java/net/server/RemoteServer.java:
11438 Merge with classpath, adds serialVersionUID.
11439 * javax/naming/BinaryRefAddr.java:
11440 Merge with classpath, s/equal/equals/.
11441 * javax/naming/NamingException.java:
11442 Merge with classpath, fixed typo.
11443 * javax/naming/RefAddr.java:
11444 Merge with classpath, s/equal/equals/.
11445 * java/awt/Toolkit.java:
11446 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
11449 2002-09-15 Adam Megacz <adam@xwt.org>
11451 * java/net/natPlainSocketImpl.cc: fixed typo.
11453 2002-09-15 Adam Megacz <adam@xwt.org>
11455 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
11456 which don't work on Win32 (yet).
11458 2002-09-14 Adam Megacz <adam@xwt.org>
11460 * java/net/natPlainDatagramSocket.cc: removed #include
11461 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
11462 * include/win32.h: included definition for IP_TOS to satisfy
11463 natPlainDatagramSocket.cc
11465 2002-09-13 Michael Koch <konqueror@gmx.de>
11467 * java/net/DatagramPacket.java (DatagramPacket):
11468 Added linebreak for 80 chars per line.
11469 * java/net/JarURLConection.java
11470 (getInputStreami, getJarEntry): Likewise.
11471 * java/net/SocketPErmission.java
11472 (SocketPermission class docu, implies): Likewise.
11473 * java/net/URLClassLoader.java (findResources): Likewise.
11474 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
11476 2002-09-13 Michael Koch <konqueror@gmx.de>
11478 * java/nio/channels/DatagramChannel.java,
11479 java/nio/channels/ServerSocketChannel.java
11480 java/nio/channels/SocketChannel.java:
11481 New dummy files to make java.net fully JDK 1.4 compatible
11482 * Makefile.am (ordinary_java_source_files): Added
11483 java/net/DatagramSocketImplFactory.java (long forgotten),
11484 java/nio/SocketChannel.java,
11485 java/nio/ServerSocketChannel.java,
11486 java/nio/DatagramChannel.java
11487 * Makefile.in: Regenrated.
11489 2002-09-12 Michael Koch <konqueror@gmx.de>
11491 * java/net/DatagramSocketImpl.java
11492 (peekData): New method.
11493 * java/net/PlainDatagramSocketImpl.java
11494 (peekData): New method.
11495 * java/net/natPlainDatagramSocketImpl.cc
11496 (peekData): New method.
11497 * java/net/URLConnection
11498 (getPermission): New method.
11499 (addRequestProperty): New method.
11500 (getRequestProperties): New method.
11501 (guessContentTypeFromStream): New method, not really implemented.
11502 (URLConnection): Added/updated documentation.
11503 (connect): Added/updated documentation.
11504 (getURL): Added/updated documentation.
11505 (getContentLength): Added/updated documentation.
11506 (getContentType: Added/updated documentation.
11507 (getContentEncoding): Added/updated documentation.
11508 (getExpiration): Added/updated documentation.
11509 (getDate): Added/updated documentation.
11510 (getLastModified): Added/updated documentation.
11511 (getHeaderField): Added/updated documentation.
11512 (getHeaderFields): Added/updated documentation.
11513 (getHeaderFieldInt): Added/updated documentation.
11514 (getHeaderFieldDate): Added/updated documentation.
11515 (getHeaderFieldKey): Added/updated documentation.
11516 (getContent): Added/updated documentation.
11517 (getInputStream): Added/updated documentation.
11518 (getOutputStream): Added/updated documentation.
11519 (toString): Added/updated documentation.
11520 (setDoInput): Added/updated documentation.
11521 (getDoInput): Added/updated documentation.
11522 (setDoOutput): Added/updated documentation.
11523 (getDoOutput): Added/updated documentation.
11524 (setAllowUserInteraction): Added/updated documentation.
11525 (getAllowUserInteraction): Added/updated documentation.
11526 (setDefaultAllowUserInteraction): Added/updated documentation.
11527 (getDefaultAllowUserInteraction): Added/updated documentation.
11528 (setUseCaches): Added/updated documentation.
11529 (getUseCaches): Added/updated documentation.
11530 (setIfModifiedSince): Added/updated documentation.
11531 (getIfModifiedSince): Added/updated documentation.
11532 (getDefaultUseCaches): Added/updated documentation.
11533 (setDefaultUseCaches): Added/updated documentation.
11534 (setRequestProperty): Added/updated documentation.
11535 (getRequestProperty): Added/updated documentation.
11536 (setDefaultRequestProperty): Added/updated documentation.
11537 (getDefaultRequestProperty): Added/updated documentation.
11538 (setContentHandlerFactory): Added/updated documentation.
11539 (guessContentTypeFromName): Added/updated documentation.
11540 (getFileNameMap): Added/updated documentation.
11541 (setFileNameMap): Added/updated documentation.
11543 2002-09-11 Michael Koch <konqueror@gmx.de>
11545 * java/net/Socket.java
11546 (Socket): protected to public (since JDK 1.4). Added @specnote.
11547 (bind): New method.
11548 (connect): Two new methods.
11549 (getKeepalive): Get correct socket option.
11550 (setKeepalive): Set correct socket option.
11551 (getOOBInline): New method.
11552 (setOOBInline): New method.
11553 * java/net/ServerSocket.java
11554 (bind): Two new methods.
11555 (getInetAddress): Reimplemented, catch exception.
11556 (getLocalSocketAddress): New method.
11557 (setReuseAddress): New method.
11558 (getReuseAdress): New method.
11559 (setReceiveBufferSize): New method.
11560 (getReceiveBufferSize): New method.
11561 (toString): Made string JDK 1.4 compliant.
11563 2002-09-10 Michael Koch <konqueror@gmx.de>
11565 * java/net/SocketImpl.java
11566 (connect): New method.
11567 (supportsUrgentData): New method.
11568 (sendUrgentData): New method.
11569 * java/net/PlainSocketImpl.java
11570 (connect): One new method and two new implementation.
11571 (sendUrgentData): New method.
11572 * java/natPlainSocketImpl.cc
11573 (connect): Arguments changed, added support for timeouts.
11574 (getOption): Another __java_boolean to jboolean.
11576 2002-09-07 Adam Megacz <adam@xwt.org>
11578 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
11579 definition of IP_TOS.
11581 2002-09-04 Michael Koch <konqueror@gmx.de>
11583 * java/net/DatagramSocket.java
11584 (DatagramSocket): Added documentation.
11586 (getLocalAddress): Likewise.
11587 (getLocalPort): Likewise.
11588 (receive): Likewise.
11590 (setSoTimeout): Likewise.
11591 (connect): New method.
11592 (disconnect): New method.
11593 (getInetAddress): New method (FIXME)
11594 (getPort): New method.
11595 (setReuseAddress): New method.
11596 (getReuseAddress): New method.
11597 (setBroadcast): New method.
11598 (getBroadcast): New method.
11599 (setTrafficClass): New method.
11600 (getTrafficClass): New method.
11601 * java/net/MulticastSocket.java):
11602 (getTTL): Added @see in documentation.
11603 (setTTL): Added @see in documentation.
11604 (setLoopbackMode): New method.
11605 (getLoopbackMode): New method.
11606 * java/net/PlainSocketImpl.java:
11607 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
11608 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11609 * java/net/PlainDatagramSocketImpl.java
11610 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
11611 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11612 * java/net/natPlainSocketImpl.cc
11613 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11614 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11615 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11616 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11617 This should also fix SO_KEEPALIVE
11618 * java/net/natPlainDatagramSocketImpl.cc
11619 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11620 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11621 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11622 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11624 2002-09-04 Michael Koch <konqueror@gmx.de>
11626 * java/net/SocketOptions.java: added static variables to be JDK 1.4
11627 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
11628 IP_MULTICAST_LOOP, IP_TOS
11630 2002-09-03 Tom Tromey <tromey@redhat.com>
11632 * java/lang/Class.h (_getDeclaredMethod): Declare.
11633 (_getMethod): Now private.
11634 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
11635 getDeclaredMethod. Now returns NULL on failure.
11636 * java/lang/Class.java (_getDeclaredMethod): Declare.
11637 (getDeclaredMethod): No longer native; implements access checks.
11639 2002-09-01 Mark Wielaard <mark@klomp.org>
11641 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
11642 (sanitizeStack): Correctly reset unknown and interpreter counters,
11643 detect interpreter runtime frames.
11644 (demangleInterpreterMethod): New method.
11645 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
11646 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
11647 filling in addrs[].
11649 2002-09-02 Michael Koch <konqueror@gmx.de>
11651 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
11652 re-indented documentation.
11654 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11656 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
11657 public, per 1.4 spec. Fixes PR libgcj/7785.
11659 2002-08-30 Jeff Sturm <jsturm@one-point.com>
11661 * Makefile.in: Rebuilt.
11662 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
11664 2002-08-29 Tom Tromey <tromey@redhat.com>
11666 * java/net/JarURLConnection.java (getCertificates): New method
11668 * java/net/URLClassLoader.java (URLClassLoader): Extends
11670 (definePackage): New method from Classpath.
11671 (getPermissions): Likewise.
11672 (newInstance): Likewise.
11673 (findClass): Construct CodeSource for new class (from Classpath).
11674 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
11676 * java/net/URL.java (getUserInfo): New method.
11677 (set(String,String,int,String,String,String,String,String)): New
11679 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
11680 (shutdownInput, shutdownOutput): Declare.
11681 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
11683 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
11684 (getOption): Likewise.
11685 (shutdownInput): New method.
11686 (shutdownOutput): Likewise.
11687 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
11689 (getOption): Likewise.
11690 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
11691 * java/net/Socket.java (setKeepAlive): New method.
11692 (getKeepAlive): Likewise.
11693 (shutdownInput, shutdownOutput): New methods.
11695 2002-08-29 Michael Koch <konqueror@gmx.de>
11697 * java/net/DatagramPacket.java: updated to JDK 1.4 API
11699 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
11701 DatagramPacket(byte[] buf, int length, SocketAddress address),
11702 void setSocketAddress(SocketAddress address)
11703 public SocketAddress getSocketAddress()
11705 2002-08-29 Tom Tromey <tromey@redhat.com>
11707 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
11708 ftruncate is missing.
11709 * configure, include/config.h.in: Rebuilt.
11710 * acconfig.h (HAVE_FTRUNCATE): Mention.
11711 * configure.in: Check for ftruncate.
11713 2002-08-29 Tom Tromey <tromey@redhat.com>
11715 * include/jvm.h (struct _Jv_frame_info): New structure.
11716 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
11718 (lookupInterp): New method.
11719 (getAddrAsString): Use _Jv_frame_info.
11720 (dladdrLookup): Likewise.
11721 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
11723 (lookupInterp): Declare.
11724 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
11725 (fillInStackTrace): Collect information on interpreted frames.
11726 Use _Jv_frame_info.
11727 * interpret.cc: Include Thread.h.
11728 (run): Create and push _Jv_MethodChain object.
11729 (_Jv_EndOfInterpreter): New global.
11730 * java/lang/Thread.java (interp_frame): New field.
11731 * include/java-interp.h (struct _Jv_MethodChain): New structure.
11732 Include NameFinder.h.
11734 2002-08-28 Tom Tromey <tromey@redhat.com>
11736 * java/lang/Class.h: Include Package.h.
11737 (Class::getProtectionDomain): Declare.
11738 (Class::getPackage): Declare.
11740 2002-08-28 Michael Koch <konqueror@gmx.de>
11742 * java/net/InetSocketAddress.java: Added some documentation and argument
11743 checks for the port numbers.
11744 * java/net/DatagramSocketImplFactory.java: New file.
11746 2002-08-28 Michael Koch <konqueror@gmx.de>
11748 * java/net/Authenticator.java: added some documentation.
11750 2002-08-27 Tom Tromey <tromey@redhat.com>
11752 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
11754 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
11756 2002-08-27 Michael Koch <konqueror@gmx.de>
11758 * java/net/BindException.java,
11759 java/net/JarURLConnection.java,
11760 java/net/FileNameMap.java,
11761 java/net/HttpURLConnection.java,
11762 java/net/InetSocketAddress.java,
11763 java/net/DatagramPacket.java,
11764 java/net/DatagramSocket.java,
11765 java/net/DatagramSocketImpl.java,
11766 java/net/MulticastSocket.java,
11767 java/net/PasswordAuthentication.java,
11768 java/net/ServerSocket.java,
11769 java/net/Socket.java,
11770 java/net/URLClassLoader.java,
11771 java/net/URLConnection.java: add/update of some @since/@deprecated
11773 2002-08-27 Tony Kimball <alk@pobox.com>
11774 Tom Tromey <tromey@redhat.com>
11776 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
11778 (::close): Removed.
11779 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
11780 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
11781 (::close): Removed.
11782 (PlainSocketImpl::close): Use NATIVE_CLOSE.
11783 * include/win32.h (getcwd): Removed declaration. Include io.h.
11785 2002-08-25 Adam Megacz <adam@xwt.org>
11787 * include/win32.h (getcwd): copied function declaration as
11788 temporary fix for header confusion.
11790 2002-08-24 Mark Wielaard <mark@klomp.org>
11792 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
11793 (core_java_source_files): Add VMThrowable.java and NameFinder.java
11794 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
11795 and natNameFinder.cc.
11796 * Makefile.in: Regenerate.
11797 * prims.cc: Use trace_enabled from VMThrowable.
11798 * name-finder.cc: Removed.
11799 * gcj/javaprims.h: Add class VMThrowable.
11800 * gnu/gcj/runtime/NameFinder.java: New file.
11801 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
11802 * include/name-finder.h: Removed.
11803 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
11804 method stackTraceString().
11805 (printStackTrace (PrintWriter)): Likewise.
11806 (stackTraceString): Complete rewrite of old printStackTrace using
11808 (stackTraceStringBuffer): New helper method for stackTraceString().
11809 (fillInStackTrace): Delegate to VMTrowable.
11810 (getStackTrace): Likewise.
11811 (getStackTrace0): Removed.
11812 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
11813 (setStackTrace): Copy given array.
11814 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
11815 * java/lang/VMThrowable.java: New class.
11816 * java/lang/natVMThrowable.cc: New file.
11818 2003-08-23 Michael Koch <konqueror@gmx.de>
11820 * java/net/URLConnection.java,
11821 java/netJarURLConnection.java,
11822 gnu/gcj/protocol/core/Connection.java,
11823 gnu/gcj/protocol/file/Connection.java,
11824 gnu/gcj/protocol/http/Connection.java: Added implementation of
11827 2002-08-22 Tom Tromey <tromey@redhat.com>
11829 * gij.cc (help): Document -cp and -classpath.
11830 (main): Handle -classpath.
11832 2002-08-21 Tom Tromey <tromey@redhat.com>
11834 * Makefile.in: Rebuilt.
11835 * Makefile.am (ordinary_java_source_files): Added
11836 SocketAddress.java, InetSocketAddress.java.
11837 * java/net/PortUnreachableException.java: Merged with Classpath.
11838 * java/net/SocketTimeoutException.java: Likewise.
11839 * java/net/URISyntaxException.java: Likewise.
11840 * java/net/SocketAddress.java: New class from Classpath.
11841 * java/net/InetSocketAddress.java: Likewise.
11843 2003-08-21 Michael Koch <konqueror@gmx.de>
11845 * java/net/Authenticator.java: updated JDK 1.4
11846 * java/net/ContentHandler.java: updated JDK 1.4
11848 2002-08-20 Michael Koch <konqueror@gmx.de>
11850 * java/net/URISyntaxException.java: New file.
11851 * java/net/SocketTimeoutException.java: New file.
11852 * java/net/PortUnreachableException.java: New file.
11853 * Makefile.am: Updated.
11854 * Makefile.in: Rebuilt.
11856 2002-08-18 Mark Wielaard <mark@klomp.org>
11858 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
11859 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11860 MessageDigestSpi (fixes Classpath bug #783).
11862 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11864 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
11865 (startProcess): Allocate path for chdir in async-signal-safe way.
11867 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11869 Fix for PR libgcj/7570 and PR libgcj/7578:
11870 * java/lang/natPosixProcess.cc: Include java/io/File.h.
11871 (startProcess): Handle new `dir' argument.
11872 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
11874 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
11876 (startProcess): Likewise.
11877 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
11879 * java/lang/Runtime.java (execInternal): Added `dir' argument.
11880 (exec): Don't create new environment if ENV==null. Pass DIR to
11882 * java/lang/natRuntime.cc: Include java/io/File.h.
11883 (execInternal): Added `dir' argument.
11885 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
11887 * java/io/RandomAccessFile.java (skipBytes): Return number of
11890 2002-08-01 Mark Wielaard <mark@klomp.org>
11892 Reenable patch since shared library troubles on powerpc are solved:
11893 * gnu/java/security/provider/Gnu.java: Reference all implementation
11894 classes by using Class.getName().
11895 * gnu/java/security/der/DEREncodingException.java,
11896 gnu/java/security/provider/DERReader.java,
11897 gnu/java/security/provider/DERWriter.java,
11898 gnu/java/security/provider/DSAKeyPairGenerator.java,
11899 gnu/java/security/provider/DSAParameterGenerator.java,
11900 gnu/java/security/provider/DSAParameters.java,
11901 gnu/java/security/provider/DSASignature.java,
11902 gnu/java/security/provider/GnuDSAPrivateKey.java,
11903 gnu/java/security/provider/GnuDSAPublicKey.java,
11904 gnu/java/security/provider/MD5.java,
11905 gnu/java/security/util/Prime.java: New classes
11906 * Makefile.am (ordinary_java_source_files): Add above files.
11907 * Makefile.in: Regenerate.
11908 * gnu/java/security/provider/DefaultPolicy.java
11909 (getPermissions): Don't maintain static class variable of Permissions.
11910 * gnu/java/security/provider/SHA.java
11911 (engineUpdate): algorithm change.
11912 (engineDigest): algorithm change.
11914 2002-08-09 Mark Wielaard <mark@klomp.org>
11916 * java/awt/image/MemoryImageSource.java: Change constructor to take
11918 * java/awt/Graphics2D.java: Uncomment methods that can now be
11920 * java/awt/GridBagLayout.java: New stub implementation.
11921 * javax/swing/text/html/HTML.java: Stub implementation.
11922 * javax/swing/text/html/parser/ParserDelegator.java: New stub
11925 * Makefile.am: Add new files.
11926 * Makefile.in: Rebuilt.
11928 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11930 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
11931 methods in Graphics2D.
11933 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11935 AWT/Swing merge from GNU Classpath.
11937 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
11938 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
11939 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
11940 java/awt/color/ProfileDataException.java,
11941 java/awt/CompositeContext.java, java/awt/Composite.java,
11942 java/awt/ContainerOrderFocusTraversalPolicy.java,
11943 java/awt/datatransfer/FlavorTable.java,
11944 java/awt/DefaultFocusTraversalPolicy.java,
11945 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
11946 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
11947 java/awt/dnd/DragGestureListener.java,
11948 java/awt/dnd/DragGestureRecognizer.java,
11949 java/awt/dnd/DragSourceAdapter.java,
11950 java/awt/dnd/DragSourceContext.java,
11951 java/awt/dnd/DragSourceDragEvent.java,
11952 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
11953 java/awt/dnd/DragSourceListener.java,
11954 java/awt/dnd/DragSourceMotionListener.java,
11955 java/awt/dnd/DropTarget.java,
11956 java/awt/dnd/InvalidDnDOperationException.java,
11957 java/awt/dnd/peer/DragSourceContextPeer.java,
11958 java/awt/event/AWTEventListenerProxy.java,
11959 java/awt/event/MouseWheelEvent.java,
11960 java/awt/event/MouseWheelListener.java,
11961 java/awt/event/WindowFocusListener.java,
11962 java/awt/event/WindowStateListener.java,
11963 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
11964 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
11965 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
11966 java/awt/geom/FlatteningPathIterator.java,
11967 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
11968 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
11969 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
11970 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
11971 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
11972 java/awt/image/ImagingOpException.java,
11973 java/awt/image/RasterFormatException.java,
11974 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
11975 java/awt/image/VolatileImage.java,
11976 java/awt/image/WritableRenderedImage.java,
11977 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
11978 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
11979 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
11980 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
11981 java/awt/PageAttributes.java, java/awt/print/Book.java,
11982 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
11983 java/awt/print/Paper.java, java/awt/print/Printable.java,
11984 java/awt/print/PrinterAbortException.java,
11985 java/awt/print/PrinterException.java,
11986 java/awt/print/PrinterGraphics.java,
11987 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
11988 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
11989 java/awt/Stroke.java, java/awt/TexturePaint.java,
11990 javax/accessibility/AccessibleAction.java,
11991 javax/accessibility/AccessibleBundle.java,
11992 javax/accessibility/AccessibleComponent.java,
11993 javax/accessibility/AccessibleContext.java,
11994 javax/accessibility/AccessibleEditableText.java,
11995 javax/accessibility/AccessibleExtendedComponent.java,
11996 javax/accessibility/AccessibleExtendedTable.java,
11997 javax/accessibility/AccessibleHyperlink.java,
11998 javax/accessibility/AccessibleHypertext.java,
11999 javax/accessibility/AccessibleIcon.java,
12000 javax/accessibility/Accessible.java,
12001 javax/accessibility/AccessibleKeyBinding.java,
12002 javax/accessibility/AccessibleRelation.java,
12003 javax/accessibility/AccessibleRelationSet.java,
12004 javax/accessibility/AccessibleResourceBundle.java,
12005 javax/accessibility/AccessibleRole.java,
12006 javax/accessibility/AccessibleSelection.java,
12007 javax/accessibility/AccessibleState.java,
12008 javax/accessibility/AccessibleStateSet.java,
12009 javax/accessibility/AccessibleTable.java,
12010 javax/accessibility/AccessibleTableModelChange.java,
12011 javax/accessibility/AccessibleText.java,
12012 javax/accessibility/AccessibleValue.java,
12013 javax/swing/AbstractAction.java,
12014 javax/swing/AbstractButton.java,
12015 javax/swing/AbstractCellEditor.java,
12016 javax/swing/AbstractListModel.java,
12017 javax/swing/AbstractSet.java, javax/swing/Action.java,
12018 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
12019 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
12020 javax/swing/border/CompoundBorder.java,
12021 javax/swing/border/EmptyBorder.java,
12022 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
12023 javax/swing/border/LineBorder.java,
12024 javax/swing/border/MatteBorder.java,
12025 javax/swing/border/TitledBorder.java,
12026 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
12027 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
12028 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
12029 javax/swing/CellRendererPane.java,
12030 javax/swing/colorchooser/AbstractColorChooserPanel.java,
12031 javax/swing/colorchooser/ColorChooserComponentFactory.java,
12032 javax/swing/colorchooser/ColorSelectionModel.java,
12033 javax/swing/colorchooser/DefaultColorSelectionModel.java,
12034 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
12035 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
12036 javax/swing/DefaultBoundedRangeModel.java,
12037 javax/swing/DefaultButtonModel.java,
12038 javax/swing/DefaultCellEditor.java,
12039 javax/swing/DefaultCellRenderer.java,
12040 javax/swing/DefaultComboBoxModel.java,
12041 javax/swing/DefaultDesktopManager.java,
12042 javax/swing/DefaultFocusManager.java,
12043 javax/swing/DefaultListCellRenderer.java,
12044 javax/swing/DefaultListModel.java,
12045 javax/swing/DefaultListSelectionModel.java,
12046 javax/swing/DefaultSingleSelectionModel.java,
12047 javax/swing/DesktopManager.java,
12048 javax/swing/event/AncestorEvent.java,
12049 javax/swing/event/AncestorListener.java,
12050 javax/swing/event/CaretEvent.java,
12051 javax/swing/event/CaretListener.java,
12052 javax/swing/event/CellEditorListener.java,
12053 javax/swing/event/ChangeEvent.java,
12054 javax/swing/event/ChangeListener.java,
12055 javax/swing/event/DocumentEvent.java,
12056 javax/swing/event/DocumentListener.java,
12057 javax/swing/event/EventListenerList.java,
12058 javax/swing/event/HyperlinkEvent.java,
12059 javax/swing/event/HyperlinkListener.java,
12060 javax/swing/event/InternalFrameAdapter.java,
12061 javax/swing/event/InternalFrameEvent.java,
12062 javax/swing/event/InternalFrameListener.java,
12063 javax/swing/event/ListDataEvent.java,
12064 javax/swing/event/ListDataListener.java,
12065 javax/swing/event/ListSelectionEvent.java,
12066 javax/swing/event/ListSelectionListener.java,
12067 javax/swing/event/MenuDragMouseEvent.java,
12068 javax/swing/event/MenuDragMouseListener.java,
12069 javax/swing/event/MenuEvent.java,
12070 javax/swing/event/MenuKeyEvent.java,
12071 javax/swing/event/MenuKeyListener.java,
12072 javax/swing/event/MenuListener.java,
12073 javax/swing/event/MouseInputAdapter.java,
12074 javax/swing/event/MouseInputListener.java,
12075 javax/swing/event/PopupMenuEvent.java,
12076 javax/swing/event/PopupMenuListener.java,
12077 javax/swing/event/SwingPropertyChangeSupport.java,
12078 javax/swing/event/TableColumnModelEvent.java,
12079 javax/swing/event/TableColumnModelListener.java,
12080 javax/swing/event/TableModelEvent.java,
12081 javax/swing/event/TableModelListener.java,
12082 javax/swing/event/TreeExpansionEvent.java,
12083 javax/swing/event/TreeExpansionListener.java,
12084 javax/swing/event/TreeModelEvent.java,
12085 javax/swing/event/TreeModelListener.java,
12086 javax/swing/event/TreeSelectionEvent.java,
12087 javax/swing/event/TreeSelectionListener.java,
12088 javax/swing/event/TreeWillExpandListener.java,
12089 javax/swing/event/UndoableEditEvent.java,
12090 javax/swing/event/UndoableEditListener.java,
12091 javax/swing/filechooser/FileFilter.java,
12092 javax/swing/filechooser/FileSystemView.java,
12093 javax/swing/filechooser/FileView.java,
12094 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
12095 javax/swing/Icon.java, javax/swing/ImageIcon.java,
12096 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
12097 javax/swing/JApplet.java, javax/swing/JButton.java,
12098 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
12099 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
12100 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
12101 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
12102 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
12103 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
12104 javax/swing/JLayeredPane.java, javax/swing/JList.java,
12105 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
12106 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
12107 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
12108 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
12109 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
12110 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
12111 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
12112 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
12113 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
12114 javax/swing/JTextField.java, javax/swing/JTextPane.java,
12115 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
12116 javax/swing/JToolTip.java, javax/swing/JTree.java,
12117 javax/swing/JViewport.java, javax/swing/JWindow.java,
12118 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
12119 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
12120 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
12121 javax/swing/MenuSelectionManager.java,
12122 javax/swing/MutableComboBoxModel.java,
12123 javax/swing/OverlayLayout.java,
12124 javax/swing/plaf/ActionMapUIResource.java,
12125 javax/swing/plaf/basic/BasicBorders.java,
12126 javax/swing/plaf/basic/BasicButtonUI.java,
12127 javax/swing/plaf/basic/BasicCheckBoxUI.java,
12128 javax/swing/plaf/basic/BasicDefaults.java,
12129 javax/swing/plaf/basic/BasicGraphicsUtils.java,
12130 javax/swing/plaf/basic/BasicIconFactory.java,
12131 javax/swing/plaf/basic/BasicLabelUI.java,
12132 javax/swing/plaf/basic/BasicListUI.java,
12133 javax/swing/plaf/basic/BasicLookAndFeel.java,
12134 javax/swing/plaf/basic/BasicOptionPaneUI.java,
12135 javax/swing/plaf/basic/BasicPanelUI.java,
12136 javax/swing/plaf/basic/BasicRadioButtonUI.java,
12137 javax/swing/plaf/basic/BasicScrollPaneUI.java,
12138 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
12139 javax/swing/plaf/basic/BasicTextUI.java,
12140 javax/swing/plaf/basic/BasicToggleButtonUI.java,
12141 javax/swing/plaf/basic/BasicTreeUI.java,
12142 javax/swing/plaf/basic/BasicViewportUI.java,
12143 javax/swing/plaf/BorderUIResource.java,
12144 javax/swing/plaf/ButtonUI.java,
12145 javax/swing/plaf/ColorChooserUI.java,
12146 javax/swing/plaf/ColorUIResource.java,
12147 javax/swing/plaf/ComboBoxUI.java,
12148 javax/swing/plaf/ComponentInputMapUIResource.java,
12149 javax/swing/plaf/ComponentUI.java,
12150 javax/swing/plaf/DesktopIconUI.java,
12151 javax/swing/plaf/DesktopPaneUI.java,
12152 javax/swing/plaf/DimensionUIResource.java,
12153 javax/swing/plaf/FileChooserUI.java,
12154 javax/swing/plaf/FontUIResource.java,
12155 javax/swing/plaf/IconUIResource.java,
12156 javax/swing/plaf/InputMapUIResource.java,
12157 javax/swing/plaf/InsetsUIResource.java,
12158 javax/swing/plaf/InternalFrameUI.java,
12159 javax/swing/plaf/LabelUI.java,
12160 javax/swing/plaf/ListUI.java,
12161 javax/swing/plaf/MenuBarUI.java,
12162 javax/swing/plaf/MenuItemUI.java,
12163 javax/swing/plaf/OptionPaneUI.java,
12164 javax/swing/plaf/PanelUI.java,
12165 javax/swing/plaf/PopupMenuUI.java,
12166 javax/swing/plaf/ProgressBarUI.java,
12167 javax/swing/plaf/RootPaneUI.java,
12168 javax/swing/plaf/ScrollBarUI.java,
12169 javax/swing/plaf/ScrollPaneUI.java,
12170 javax/swing/plaf/SeparatorUI.java,
12171 javax/swing/plaf/SliderUI.java,
12172 javax/swing/plaf/SplitPaneUI.java,
12173 javax/swing/plaf/TabbedPaneUI.java,
12174 javax/swing/plaf/TableHeaderUI.java,
12175 javax/swing/plaf/TableUI.java,
12176 javax/swing/plaf/TextUI.java,
12177 javax/swing/plaf/ToolBarUI.java,
12178 javax/swing/plaf/ToolTipUI.java,
12179 javax/swing/plaf/TreeUI.java,
12180 javax/swing/plaf/UIResource.java,
12181 javax/swing/plaf/ViewportUI.java,
12182 javax/swing/ProgressMonitorInputStream.java,
12183 javax/swing/ProgressMonitor.java,
12184 javax/swing/Renderer.java,
12185 javax/swing/RepaintManager.java,
12186 javax/swing/RootPaneContainer.java,
12187 javax/swing/Scrollable.java,
12188 javax/swing/ScrollPaneConstants.java,
12189 javax/swing/ScrollPaneLayout.java,
12190 javax/swing/SingleSelectionModel.java,
12191 javax/swing/SizeRequirements.java,
12192 javax/swing/SizeSequence.java,
12193 javax/swing/SwingConstants.java,
12194 javax/swing/SwingUtilities.java,
12195 javax/swing/table/AbstractTableModel.java,
12196 javax/swing/table/DefaultTableCellRenderer.java,
12197 javax/swing/table/DefaultTableColumnModel.java,
12198 javax/swing/table/DefaultTableModel.java,
12199 javax/swing/table/TableCellEditor.java,
12200 javax/swing/table/TableCellRenderer.java,
12201 javax/swing/table/TableColumn.java,
12202 javax/swing/table/TableColumnModel.java,
12203 javax/swing/table/TableModel.java,
12204 javax/swing/text/AbstractDocument.java,
12205 javax/swing/text/AttributeSet.java,
12206 javax/swing/text/BadLocationException.java,
12207 javax/swing/text/Caret.java,
12208 javax/swing/text/CharacterIterator.java,
12209 javax/swing/text/ComponentView.java,
12210 javax/swing/text/DefaultCaret.java,
12211 javax/swing/text/DefaultEditorKit.java,
12212 javax/swing/text/Document.java,
12213 javax/swing/text/EditorKit.java,
12214 javax/swing/text/Element.java,
12215 javax/swing/text/GapContent.java,
12216 javax/swing/text/JTextComponent.java,
12217 javax/swing/text/Keymap.java,
12218 javax/swing/text/MutableAttributeSet.java,
12219 javax/swing/text/PlainDocument.java,
12220 javax/swing/text/PlainEditorKit.java,
12221 javax/swing/text/Position.java,
12222 javax/swing/text/Segment.java,
12223 javax/swing/text/StyledDocument.java,
12224 javax/swing/text/StyledEditorKit.java,
12225 javax/swing/text/Style.java,
12226 javax/swing/text/TextAction.java,
12227 javax/swing/text/ViewFactory.java,
12228 javax/swing/text/View.java,
12229 javax/swing/Timer.java,
12230 javax/swing/ToggleButtonModel.java,
12231 javax/swing/ToolTipManager.java,
12232 javax/swing/tree/AbstractLayoutCache.java,
12233 javax/swing/tree/DefaultMutableTreeNode.java,
12234 javax/swing/tree/DefaultTreeCellEditor.java,
12235 javax/swing/tree/DefaultTreeCellRenderer.java,
12236 javax/swing/tree/DefaultTreeModel.java,
12237 javax/swing/tree/DefaultTreeSelectionModel.java,
12238 javax/swing/tree/ExpandVetoException.java,
12239 javax/swing/tree/FixedHeightLayoutCache.java,
12240 javax/swing/tree/MutableTreeNode.java,
12241 javax/swing/tree/RowMapper.java,
12242 javax/swing/tree/TreeCellEditor.java,
12243 javax/swing/tree/TreeCellRenderer.java,
12244 javax/swing/tree/TreeModel.java,
12245 javax/swing/tree/TreeNode.java,
12246 javax/swing/tree/TreePath.java,
12247 javax/swing/tree/TreeSelectionModel.java,
12248 javax/swing/tree/VariableHeightLayoutCache.java,
12249 javax/swing/UIDefaults.java,
12250 javax/swing/UIManager.java,
12251 javax/swing/undo/AbstractUndoableEdit.java,
12252 javax/swing/undo/CannotRedoException.java,
12253 javax/swing/undo/CannotUndoException.java,
12254 javax/swing/undo/CompoundEdit.java,
12255 javax/swing/undo/StateEditable.java,
12256 javax/swing/undo/StateEdit.java,
12257 javax/swing/undo/UndoableEdit.java,
12258 javax/swing/undo/UndoableEditSupport.java,
12259 javax/swing/undo/UndoManager.java,
12260 javax/swing/UnsupportedLookAndFeelException.java,
12261 javax/swing/ViewportLayout.java,
12262 javax/swing/WindowConstants.java: New files, from GNU Classpath.
12264 * java/awt/ActiveEvent.java,
12265 java/awt/Adjustable.java, java/awt/AWTError.java,
12266 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
12267 java/awt/AWTException.java, java/awt/AWTPermission.java,
12268 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
12269 java/awt/Color.java, java/awt/Component.java,
12270 java/awt/ComponentOrientation.java, java/awt/Container.java,
12271 java/awt/datatransfer/MimeTypeParseException.java,
12272 java/awt/datatransfer/Transferable.java,
12273 java/awt/datatransfer/UnsupportedFlavorException.java,
12274 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
12275 java/awt/event/ActionListener.java,
12276 java/awt/event/AdjustmentEvent.java,
12277 java/awt/event/AdjustmentListener.java,
12278 java/awt/event/AWTEventListener.java,
12279 java/awt/event/ComponentAdapter.java,
12280 java/awt/event/ComponentEvent.java,
12281 java/awt/event/ComponentListener.java,
12282 java/awt/event/ContainerAdapter.java,
12283 java/awt/event/ContainerEvent.java,
12284 java/awt/event/ContainerListener.java,
12285 java/awt/event/FocusAdapter.java,
12286 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
12287 java/awt/event/HierarchyBoundsAdapter.java,
12288 java/awt/event/HierarchyBoundsListener.java,
12289 java/awt/event/HierarchyEvent.java,
12290 java/awt/event/HierarchyListener.java,
12291 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
12292 java/awt/event/InputMethodListener.java,
12293 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
12294 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
12295 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
12296 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
12297 java/awt/event/MouseListener.java,
12298 java/awt/event/MouseMotionAdapter.java,
12299 java/awt/event/MouseMotionListener.java,
12300 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
12301 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
12302 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
12303 java/awt/event/WindowListener.java, java/awt/Font.java,
12304 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
12305 java/awt/geom/Ellipse2D.java,
12306 java/awt/geom/IllegalPathStateException.java,
12307 java/awt/geom/Line2D.java,
12308 java/awt/geom/NoninvertibleTransformException.java,
12309 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
12310 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
12311 java/awt/geom/RoundRectangle2D.java,
12312 java/awt/GraphicsConfiguration.java,
12313 java/awt/IllegalComponentStateException.java,
12314 java/awt/image/IndexColorModel.java,
12315 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
12316 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
12317 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
12318 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
12319 java/awt/MenuItem.java, java/awt/PaintContext.java,
12320 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
12321 java/awt/Polygon.java, java/awt/PrintGraphics.java,
12322 java/awt/PrintJob.java, java/awt/Rectangle.java,
12323 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
12324 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
12325 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
12327 * java/awt/im/spi/InputMethod.java,
12328 java/awt/im/spi/InputMethodContext.java,
12329 java/awt/im/spi/InputMethodDescriptor.java,
12330 java/awt/image/renderable/ContextualRenderedImageFactory.java,
12331 java/awt/image/renderable/ParameterBlock.java,
12332 java/awt/image/renderable/RenderContext.java,
12333 java/awt/image/renderable/RenderableImage.java,
12334 java/awt/image/renderable/RenderableImageOp.java,
12335 java/awt/image/renderable/RenderableImageProducer.java,
12336 java/awt/image/renderable/RenderedImageFactory.java: New files from
12339 * gnu/java/awt/EventModifier.java,
12340 gnu/java/awt/image/ImageDecoder.java,
12341 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
12343 * gnu/awt/xlib/XGraphicsConfiguration.java,
12344 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
12347 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
12350 * Makefile.am: Add new files.
12351 * Makefile.in: Rebuilt.
12353 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12355 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
12356 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
12357 findResource, getResources, findResources): Add javadoc from classpath.
12358 (getSystemResources): Implemented.
12360 2002-08-01 Mark Wielaard <mark@klomp.org>
12362 Revert patch that breaks libgcj shared library on powerpc:
12363 * gnu/java/security/provider/Gnu.java: Reverse referencing all
12364 implementation classes by using Class.getName(). Uses Strings again.
12365 * gnu/java/security/der/DEREncodingException.java,
12366 gnu/java/security/provider/DERReader.java,
12367 gnu/java/security/provider/DERWriter.java,
12368 gnu/java/security/provider/DSAKeyPairGenerator.java,
12369 gnu/java/security/provider/DSAParameterGenerator.java,
12370 gnu/java/security/provider/DSAParameters.java,
12371 gnu/java/security/provider/DSASignature.java,
12372 gnu/java/security/provider/GnuDSAPrivateKey.java,
12373 gnu/java/security/provider/GnuDSAPublicKey.java,
12374 gnu/java/security/provider/MD5.java,
12375 gnu/java/security/util/Prime.java: Removed.
12376 * Makefile.am (ordinary_java_source_files): Remove above files.
12377 * Makefile.in: Regenerate.
12378 * gnu/java/security/provider/DefaultPolicy.java
12379 (getPermissions): Revert to maintaining static class variable of
12381 * gnu/java/security/provider/SHA.java
12382 (engineUpdate): Revert algorithm change.
12383 (engineDigest): Revert algorithm change.
12385 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
12387 * configure.host: Add SH support.
12388 * sysdep/sh/locks.h: New file.
12390 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12392 * java/awt/Frame.java (Frame): Remove println calls.
12394 2002-07-30 Jeff Sturm <jsturm@one-point.com>
12396 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
12397 * configure: Rebuilt.
12399 2002-07-27 Alan Modra <amodra@bigpond.net.au>
12401 * sysdep/powerpc/locks.h: Formatting.
12404 (compare_and_swap): Use _LARX and _STCX.
12405 (compare_and_swap_release): Likewise.
12407 2002-07-26 Tom Tromey <tromey@redhat.com>
12409 * java/net/Authenticator.java: New version from Classpath.
12410 * java/net/DatagramSocketImpl.java: New version from Classpath.
12412 2002-07-27 Alan Modra <amodra@bigpond.net.au>
12414 * configure.host: Add powerpc64*-* entry.
12416 2002-07-26 Tom Tromey <tromey@redhat.com>
12418 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
12421 2002-07-24 Tom Tromey <tromey@redhat.com>
12423 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
12426 2002-07-24 Tom Tromey <tromey@redhat.com>
12427 Tony Kimball <alk@pobox.com>
12429 * java/io/natFileDescriptorWin32.cc (setLength): New method.
12430 * java/io/natFileDescriptorPosix.cc (setLength): New method.
12431 * java/io/RandomAccessFile.java (setLength): New method.
12432 * java/io/natFileDescriptorEcos.cc (setLength): New method.
12433 * java/io/FileDescriptor.java (setLength): New method.
12435 2002-07-24 Mark Wielaard <mark@klomp.org>
12437 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
12438 * java/io/ObjectInputStream.java (setBooleanField): Before setting
12439 field call setAccessible(true).
12440 (setByteField): Likewise.
12441 (setCharField): Likewise.
12442 (setDoubleField): Likewise.
12443 (setFloatField): Likewise.
12444 (setIntField): Likewise.
12445 (setLongField): Likewise.
12446 (setShortField): Likewise.
12447 (setObjectField): Likewise.
12449 2002-07-24 Tom Tromey <tromey@redhat.com>
12451 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
12452 use toString() to format array element.
12454 2002-07-23 Mark Wielaard <mark@klomp.org>
12456 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
12457 MessageDigestSpi (fixes Classpath bug #783).
12459 2002-07-21 Mark Wielaard <mark@klomp.org>
12461 * gnu/java/security/provider/Gnu.java: Reference all implementation
12462 classes by using Class.getName().
12464 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
12466 * java/lang/ieeefp.h: Add x86-64 support.
12467 * configure.in: Likewise.
12468 * configure.host: Likewise.
12469 * configure: Regenerated.
12470 * sysdep/x86-64/locks.h: New file with x86-64 locks.
12472 2002-07-16 Mark Wielaard <mark@klomp.org>
12474 * java/io/StreamTokenizer.java (pushBack): Update documentation.
12475 (whitespaceChars): call resetChar().
12477 2002-07-15 Tom Tromey <tromey@redhat.com>
12479 * Makefile.in: Rebuilt.
12480 * Makefile.am (awt_java_source_files): Added new files.
12481 * java/beans/ExceptionListener.java: Merged with Classpath.
12482 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
12483 * java/beans/PropertyChangeListener.java: Merged with Classpath.
12484 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
12485 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
12486 * java/beans/VetoableChangeListener.java: Merged with Classpath.
12487 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
12488 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
12490 2002-07-14 Mark Wielaard <mark@klomp.org>
12492 * gnu/java/security/der/DEREncodingException.java,
12493 gnu/java/security/provider/DERReader.java,
12494 gnu/java/security/provider/DERWriter.java,
12495 gnu/java/security/provider/DSAKeyPairGenerator.java,
12496 gnu/java/security/provider/DSAParameterGenerator.java,
12497 gnu/java/security/provider/DSAParameters.java,
12498 gnu/java/security/provider/DSASignature.java,
12499 gnu/java/security/provider/GnuDSAPrivateKey.java,
12500 gnu/java/security/provider/GnuDSAPublicKey.java,
12501 gnu/java/security/provider/MD5.java,
12502 gnu/java/security/util/Prime.java: New files from Classpath.
12503 * Makefile.am (ordinary_java_source_files): Add new files.
12504 * Makefile.in: Regenerate.
12506 2002-07-14 C. Brian Jones <cbj@gnu.org>
12508 * gnu/java/security/provider/DefaultPolicy.java
12509 (getPermissions): do not maintain static class variable of
12511 * gnu/java/security/provider/SHA.java
12512 (engineUpdate): algorithm change
12513 (engineDigest): algorithm change
12515 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
12517 For PR libgcj/7292:
12518 * java/lang/Character.java (toString(char)): Now static.
12520 2002-07-12 Mark Wielaard <mark@klomp.org>
12522 * java/lang/natThrowable.cc (printRawStackTrace): removed.
12523 (getStackTrace0): new method.
12524 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
12525 (printStackTrace(PrintWriter)): replace with pure java implementation.
12526 (printRawStackTrace): removed.
12527 (getStackTrace0): new method.
12528 * java/lang/StackTraceElement.java (toString): add extra whitespace.
12529 * gcj/javaprims.h: regenerate class list.
12530 * include/name-finder.h (lookup): new returns StackTraceElement*.
12531 (method_name, file_name): fields removed.
12532 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
12533 (~_Jv_name_finder): close new descriptors.
12534 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
12535 (createStackTraceElement): new method.
12536 (lookup): returns StackTraceElement*, uses createStackTraceElement().
12538 2002-07-10 Tom Tromey <tromey@redhat.com>
12540 * configure: Rebuilt.
12541 * configure.in: Use `test' after `&&'. From Chris Faylor.
12543 2002-07-08 Mark Wielaard <mark@klomp.org>
12545 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
12546 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
12547 java.sql.DatabaseMetaData.TestJdbc20
12549 2002-07-05 Tony Kimball <alk@pobox.com>
12551 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
12553 2002-07-04 Tom Tromey <tromey@redhat.com>
12554 Jeff Sturm <jsturm@one-point.com>
12556 Fix for PR libgcj/7060:
12557 * java/lang/Class.h (_getMethod): Renamed from getMethod.
12558 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
12559 Recurse into superinterfaces. Don't throw NoSuchMethodException.
12560 * java/lang/Class.java (getMethod): New Java implementation;
12561 complies with spec.
12562 (_getMethod): New native method.
12564 2002-07-02 Tom Tromey <tromey@redhat.com>
12565 David Hovemeyer <daveho@cs.umd.edu>
12567 * java/text/ChoiceFormat.java
12568 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
12570 * java/text/MessageFormat.java
12571 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
12574 2002-07-01 Tom Tromey <tromey@redhat.com>
12576 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
12577 StringTokenizer on null string. For PR libgcj/7180.
12578 From daveho@cs.umd.edu.
12580 2002-06-24 Tom Tromey <tromey@redhat.com>
12582 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
12583 (IntegerClass): Likewise.
12584 * java/lang/natClass.cc (CloneableClass): Removed.
12585 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
12586 ConstructorClass): Likewise.
12587 * java/lang/natClassLoader.cc (CloneableClass): Removed.
12588 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
12589 SerializableClass): Likewise.
12590 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
12591 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
12592 LongClass, FloatClass, DoubleClass): Likewise.
12594 * verify.cc (branch_prepass): Updated for change to exception
12596 (verify_instructions_0): Likewise.
12597 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
12598 (handleExceptionTableEntry): Updated for change to exception
12600 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
12601 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
12602 (union _Jv_InterpPC): New.
12603 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
12604 (class _Jv_InterpMethod): Added new `prepared' field.
12605 (class _Jv_InterpMethod): Added `compile' method. Removed
12606 `continue1' and `find_exception'. Changed arguments to `run'.
12607 * interpret.cc (union insn_slot): New.
12608 (find_exception): Removed.
12609 (run_normal): Removed most logic.
12610 (run_synch_object): Likewise; also, use JvSynchronize.
12611 (run_synch_class): Likewise.
12613 (continue1): Renamed as `run'. Compile bytecode if required.
12614 Add new code to allow refinement of direct-threaded code at
12615 runtime. Handle exceptions.
12616 (SAVE_PC): Removed.
12617 (compile): New method.
12618 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
12619 (NULLARRAYCHECK): Don't use SAVE_PC.
12620 (pc_t): New typedef.
12621 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
12622 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
12624 2002-06-23 Tom Tromey <tromey@redhat.com>
12626 * configure: Rebuilt.
12627 * configure.in (INTERPRETER): New subst.
12628 (AM_RUNTESTFLAGS): Don't subst.
12630 * Makefile.in: Rebuilt.
12631 * Makefile.am ($(srcdir)/java/lang/Object.h,
12632 $(srcdir)/java/lang/Class.h): Added dummy targets.
12634 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12636 Reformat JDBC classes and add new JDK 1.4 classes and methods.
12638 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
12639 java/sql/Savepoint.java: New files.
12640 * java/sql/Array.java, java/sql/BatchUpdateException.java,
12641 java/sql/Blob.java, java/sql/CallableStatement.java,
12642 java/sql/Clob.java, java/sql/Connection.java,
12643 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
12644 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
12645 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
12646 java/sql/Ref.java, java/sql/ResultSet.java,
12647 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
12648 java/sql/SQLException.java, java/sql/SQLInput.java,
12649 java/sql/SQLOutput.java, java/sql/SQLWarning.java
12650 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
12651 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
12652 (JDK 1.4) specification.
12653 * javax/sql/ConnectionEvent.java,
12654 javax/sql/ConnectionEventListener.java,
12655 javax/sql/ConnectionPoolDataSource.java,
12656 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
12657 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
12658 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
12659 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
12660 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
12661 javax/sql/XADataSource.java: New files.
12662 * Makefile.am: Add new files.
12663 * Makefile.in: Rebuilt.
12665 2002-06-20 Tom Tromey <tromey@redhat.com>
12667 For PR libgcj/7073:
12668 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
12670 * defineclass.cc (handleClassBegin): Superclass for interface is
12673 2002-06-18 Tom Tromey <tromey@redhat.com>
12675 * gcj/javaprims.h: Updated class declaration list.
12676 * Makefile.in: Rebuilt.
12677 * Makefile.am (core_java_source_files): Removed
12678 BasicMapEntry.java.
12679 * java/util/BasicMapEntry.java: Removed.
12681 2002-06-18 Jeff Sturm <jsturm@one-point.com>
12683 * java/net/natPlainDatagramSocketImpl.cc (receive):
12684 Check bounds of argument to FD_SET.
12685 (setOption): Throw exception if socket is closed.
12687 * java/net/natPlainSocketImpl.cc (accept, read):
12688 Check bounds of argument to FD_SET.
12689 (setOption): Throw exception if socket is closed.
12691 2002-06-18 Tom Tromey <tromey@redhat.com>
12693 * gcj/javaprims.h: Updated class declaration list.
12694 * Makefile.in: Rebuilt.
12695 * Makefile.am (core_java_source_files): Added
12696 PropertyPermissionCollection.java.
12697 * java/lang/Thread.java (group, name): Now package-private.
12698 * java/lang/ThreadGroup.java: Re-merge with Classpath.
12699 * java/util/AbstractList.java: Likewise.
12700 * java/util/AbstractMap.java: Likewise.
12701 * java/util/Calendar.java: Likewise.
12702 * java/util/Collections.java: Likewise.
12703 * java/util/HashMap.java: Likewise.
12704 * java/util/Hashtable.java: Likewise.
12705 * java/util/LinkedHashMap.java: Likewise.
12706 * java/util/LinkedList.java: Likewise.
12707 * java/util/List.java: Likewise.
12708 * java/util/ListResourceBundle.java: Likewise.
12709 * java/util/Map.java: Likewise.
12710 * java/util/Observable.java: Likewise.
12711 * java/util/Properties.java: Likewise.
12712 * java/util/PropertyPermission.java: Likewise.
12713 * java/util/PropertyPermissionCollection.java: Likewise.
12714 * java/util/PropertyResourceBundle.java: Likewise.
12715 * java/util/Random.java: Likewise.
12716 * java/util/SimpleTimeZone.java: Likewise.
12717 * java/util/StringTokenizer.java: Likewise.
12718 * java/util/TimerTask.java: Likewise.
12719 * java/util/TreeMap.java: Likewise.
12720 * java/util/WeakHashMap.java: Likewise.
12721 * java/util/jar/Attributes.java: Likewise.
12722 * java/util/jar/JarException.java: Likewise.
12723 * java/util/jar/Manifest.java: Likewise.
12725 2002-06-17 Tom Tromey <tromey@redhat.com>
12727 * gcj/javaprims.h: Updated class declaration list.
12728 * Makefile.in: Rebuilt.
12729 * Makefile.am (core_java_source_files): Added new file.
12730 * java/util/EventListenerProxy.java: New file.
12731 * java/util/EventListener.java: Re-merge with Classpath.
12732 * java/util/EventObject.java: Re-merge with Classpath.
12734 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
12736 * java/lang/ClassNotFoundException.java: New Classpath version.
12738 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
12740 * java/rmi/activation/ActivateFailedException.java: Remerge from
12742 * java/rmi/activation/ActivationException.java: Ditto.
12743 * java/rmi/activation/UnknownGroupException.java: Ditto.
12744 * java/rmi/activation/UnknownObjectException.java: Ditto.
12745 * java/rmi/server/ExportException: Ditto.
12746 * java/rmi/server/ServerCloneException: Ditto.
12747 * java/rmi/server/ServerNotActiveException: Ditto.
12748 * java/rmi/server/SkeletonMismatchException: Ditto.
12749 * java/rmi/server/SkeletonNotFoundException: Ditto.
12750 * java/rmi/server/SocketSecurityException: Ditto.
12752 2002-06-16 Tom Tromey <tromey@redhat.com>
12754 * gcj/javaprims.h: Updated class declaration list.
12756 * java/io/LineNumberInputStream.java: Merged with Classpath.
12758 * java/lang/RuntimeException.java: Re-merge with Classpath.
12759 * java/util/ArrayList.java: Likewise.
12760 * java/util/Arrays.java: Likewise.
12761 * java/util/BitSet.java: Likewise.
12762 * java/util/Dictionary.java: Likewise.
12763 * java/util/IdentityHashMap.java: Likewise.
12764 * java/util/MissingResourceException.java: Likewise.
12765 * java/util/Observer.java: Likewise.
12766 * java/util/TooManyListenersException.java: Likewise.
12767 * java/util/zip/DataFormatException.java: Likewise.
12768 * java/util/zip/ZipException.java: Likewise.
12770 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
12772 * java/rmi/AccessException.java: Remerge from Classpath.
12773 * java/rmi/AlreadyBoundException.java: Ditto.
12774 * java/rmi/ConnectException.java: Ditto.
12775 * java/rmi/ConnectIOException.java: Ditto.
12776 * java/rmi/MarshalException.java: Ditto.
12777 * java/rmi/NoSuchObjectException.java: Ditto.
12778 * java/rmi/NotBoundException.java: Ditto.
12779 * java/rmi/RemoteException.java: Ditto.
12780 * java/rmi/RMISecurityException.java: Ditto.
12781 * java/rmi/ServerError.java: Ditto.
12782 * java/rmi/ServerException.java: Ditto.
12783 * java/rmi/ServerRuntimeException.java: Ditto.
12784 * java/rmi/StubNotFoundException.java: Ditto.
12785 * java/rmi/UnexpectedExcpetion.java: Ditto.
12786 * java/rmi/UnknownHostException.java: Ditto.
12787 * java/rmi/UnmarshalException.java: Ditto.
12789 2002-06-15 Tom Tromey <tromey@redhat.com>
12791 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
12792 * java/lang/ArithmeticException.java: Likewise.
12793 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
12794 * java/lang/ArrayStoreException.java: Likewise.
12795 * java/lang/Byte.java: Likewise.
12796 * java/lang/CharSequence.java: Likewise.
12797 * java/lang/ClassCastException.java: Likewise.
12798 * java/lang/ClassCircularityError.java: Likewise.
12799 * java/lang/ClassFormatError.java: Likewise.
12800 * java/lang/CloneNotSupportedException.java: Likewise.
12801 * java/lang/Cloneable.java: Likewise.
12802 * java/lang/Comparable.java: Likewise.
12803 * java/lang/Compiler.java: Likewise.
12804 * java/lang/Error.java: Likewise.
12805 * java/lang/ExceptionInInitializerError.java: Likewise.
12806 * java/lang/IllegalAccessError.java: Likewise.
12807 * java/lang/IllegalAccessException.java: Likewise.
12808 * java/lang/IllegalArgumentException.java: Likewise.
12809 * java/lang/IllegalMonitorStateException.java: Likewise.
12810 * java/lang/IllegalStateException.java: Likewise.
12811 * java/lang/IllegalThreadStateException.java: Likewise.
12812 * java/lang/IncompatibleClassChangeError.java: Likewise.
12813 * java/lang/IndexOutOfBoundsException.java: Likewise.
12814 * java/lang/InheritableThreadLocal.java: Likewise.
12815 * java/lang/InstantiationError.java: Likewise.
12816 * java/lang/InstantiationException.java: Likewise.
12817 * java/lang/InternalError.java: Likewise.
12818 * java/lang/InterruptedException.java: Likewise.
12819 * java/lang/LinkageError.java: Likewise.
12820 * java/lang/NegativeArraySizeException.java: Likewise.
12821 * java/lang/NoClassDefFoundError.java: Likewise.
12822 * java/lang/NoSuchFieldError.java: Likewise.
12823 * java/lang/NoSuchFieldException.java: Likewise.
12824 * java/lang/NoSuchMethodError.java: Likewise.
12825 * java/lang/NoSuchMethodException.java: Likewise.
12826 * java/lang/NullPointerException.java: Likewise.
12827 * java/lang/NumberFormatException.java: Likewise.
12828 * java/lang/OutOfMemoryError.java: Likewise.
12829 * java/lang/Process.java: Likewise.
12830 * java/lang/Runnable.java: Likewise.
12831 * java/lang/RuntimePermission.java: Likewise.
12832 * java/lang/SecurityException.java: Likewise.
12833 * java/lang/Short.java: Likewise.
12834 * java/lang/StackOverflowError.java: Likewise.
12835 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
12836 * java/lang/ThreadDeath.java: Likewise.
12837 * java/lang/ThreadLocal.java: Likewise.
12838 * java/lang/UnknownError.java: Likewise.
12839 * java/lang/UnsatisfiedLinkError.java: Likewise.
12840 * java/lang/UnsupportedClassVersionError.java: Likewise.
12841 * java/lang/UnsupportedOperationException.java: Likewise.
12842 * java/lang/VerifyError.java: Likewise.
12843 * java/lang/VirtualMachineError.java: Likewise.
12844 * java/lang/reflect/InvocationTargetException.java: Likewise.
12845 * java/net/BindException.java: Likewise.
12846 * java/net/ConnectException.java: Likewise.
12847 * java/net/MalformedURLException.java: Likewise.
12848 * java/net/NoRouteToHostException.java: Likewise.
12849 * java/net/ProtocolException.java: Likewise.
12850 * java/net/SocketException.java: Likewise.
12851 * java/net/UnknownHostException.java: Likewise.
12852 * java/net/UnknownServiceException.java: Likewise.
12854 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
12855 * java/io/CharConversionException.java: Likewise.
12856 * java/io/EOFException.java: Likewise.
12857 * java/io/FileNotFoundException.java: Likewise.
12858 * java/io/IOException.java: Likewise.
12859 * java/io/InterruptedIOException.java: Likewise.
12860 * java/io/InvalidClassException.java: Likewise.
12861 * java/io/InvalidObjectException.java: Likewise.
12862 * java/io/NotActiveException.java: Likewise.
12863 * java/io/NotSerializableException.java: Likewise.
12864 * java/io/ObjectStreamException.java: Likewise.
12865 * java/io/ObjectStreamConstants.java: Likewise.
12866 * java/io/OptionalDataException.java: Likewise.
12867 * java/io/PipedInputStream.java: Likewise.
12868 * java/io/PushbackInputStream.java: Likewise.
12869 * java/io/StreamCorruptedException.java: Likewise.
12870 * java/io/SyncFailedException.java: Likewise.
12871 * java/io/UTFDataFormatException.java: Likewise.
12872 * java/io/UnsupportedEncodingException.java: Likewise.
12873 * java/io/WriteAbortedException.java: Likewise.
12875 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
12877 * java/text/ChoiceFormat.java: Update comments from Classpath.
12878 * java/text/ParseException.java (serialVersionUID): New
12879 field from Classpath.
12880 * java/text/ParseException.java: Update formatting & comments
12883 2002-06-15 Tom Tromey <tromey@redhat.com>
12885 * java/util/zip/InflaterInputStream.java (read): Loop if data has
12886 been read but none output by inflater.
12887 * java/util/zip/natDeflater.cc (reset): Set is_finished.
12888 * java/util/zip/natInflater.cc (reset): Set dist_needed and
12890 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
12892 * java/util/zip/ZipFile.java: Replaced with Classpath version.
12893 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
12894 * java/util/zip/ZipInputStream.java: Replaced with Classpath
12896 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
12898 2002-06-13 Tom Tromey <tromey@redhat.com>
12900 * java/lang/natString.cc (init): Handle case where DONT_COPY is
12901 true and OFFSET!=0.
12902 * java/lang/String.java (String(char[],int,int,boolean): New
12904 * java/lang/Long.java: Imported new version from Classpath.
12905 * java/lang/Number.java: Likewise.
12906 * java/lang/Integer.java: Likewise.
12907 * java/lang/Long.java: Likewise.
12908 * java/lang/Float.java: Likewise.
12909 * java/lang/Boolean.java: Likewise.
12910 * java/lang/Double.java: Likewise.
12911 * java/lang/Void.java: Likewise.
12913 2002-06-12 Tom Tromey <tromey@redhat.com>
12915 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
12916 Fixes PR libgcj/6652.
12918 2002-06-10 Tom Tromey <tromey@redhat.com>
12920 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
12921 (Class::getPackagePortion): Likewise.
12922 * java/lang/Class.java (desiredAssertionStatus): New method from
12924 (getPackagePortion): Likewise.
12925 * java/lang/VMClassLoader.java (defaultAssertionStatus,
12926 packageAssertionStatus, classAssertionStatus): New methods from
12928 * java/lang/ClassLoader.java (defaultAssertionStatus,
12929 systemPackageAssertionStatus, packageAssertionStatus,
12930 systemClassAssertionStatus, classAssertionStatus): New fields from
12932 (setDefaultAssertionStatus, setPackageAssertionStatus,
12933 setClassAssertionStatus, clearAssertionStatus): New methods from
12935 * Makefile.in: Rebuilt.
12936 * Makefile.am (core_java_source_files): Added AssertionError.java.
12937 * java/lang/AssertionError.java: New from Classpath.
12939 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12941 * configure.host: Disable hash synchronization and slow_pthread_self
12944 2002-06-06 Adam Megacz <adam@xwt.org>
12946 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
12947 locking, just like the Sun JVM does.
12949 2002-06-05 H.J. Lu (hjl@gnu.org)
12951 * Makefile.am (libgcj_convenience.la): Revert the last change.
12952 (libgcj.la): Likewise.
12953 * Makefile.in: Regenerated.
12955 2002-06-04 H.J. Lu (hjl@gnu.org)
12957 * Makefile.am (libgcj_convenience.la): New target.
12958 (libgcj.la): Depend on libgcj_convenience.la.
12959 * Makefile.in: Regenerated.
12961 2002-06-04 H.J. Lu (hjl@gnu.org)
12963 * configure.in (--with-newlib): New option:
12964 Check ${with_newlib} instead of ${with_cross_host} for newlib.
12965 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
12967 * configure: Regenerated.
12969 2002-06-04 Tom Tromey <tromey@redhat.com>
12971 * java/util/natTimeZone.cc: Include <stdio.h>.
12973 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
12975 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
12976 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
12977 Set SIGNAL_HANDLER=include/s390-linux.h.
12978 * configure: Regenerate.
12979 * include/s390-linux.h: New file.
12981 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12983 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
12986 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12988 Merge JDK 1.4 java.security changes from classpath.
12990 * java/security/AccessControlException.java: Merge from Classpath.
12991 * java/security/AccessController.java: Likewise.
12992 * java/security/AllPermission.java: Likewise.
12993 * java/security/BasicPermission.java: Likewise.
12994 * java/security/Certificate.java: Likewise.
12995 * java/security/CodeSource.java: Likewise.
12996 * java/security/DigestException.java: Likewise.
12997 * java/security/DigestOutputStream.java: Likewise.
12998 * java/security/DomainCombiner.java: Likewise.
12999 * java/security/GeneralSecurityException.java: Likewise.
13000 * java/security/Guard.java: Likewise.
13001 * java/security/GuardedObject.java: Likewise.
13002 * java/security/InvalidAlgorithmParameterException.java: Likewise.
13003 * java/security/InvalidKeyException.java: Likewise.
13004 * java/security/InvalidParameterException.java: Likewise.
13005 * java/security/Key.java: Likewise.
13006 * java/security/KeyException.java: Likewise.
13007 * java/security/KeyManagementException.java: Likewise.
13008 * java/security/KeyStoreException.java: Likewise.
13009 * java/security/MessageDigest.java: Likewise.
13010 * java/security/NoSuchAlgorithmException.java: Likewise.
13011 * java/security/NoSuchProviderException.java: Likewise.
13012 * java/security/Permission.java: Likewise.
13013 * java/security/PermissionCollection.java: Likewise.
13014 * java/security/Permissions.java: Likewise.
13015 * java/security/Policy.java: Likewise.
13016 * java/security/Principal.java: Likewise.
13017 * java/security/PrivateKey.java: Likewise.
13018 * java/security/PrivilegedAction.java: Likewise.
13019 * java/security/PrivilegedActionException.java: Likewise.
13020 * java/security/PrivilegedExceptionAction.java: Likewise.
13021 * java/security/ProtectionDomain.java: Likewise.
13022 * java/security/ProviderException.java: Likewise.
13023 * java/security/PublicKey.java: Likewise.
13024 * java/security/SecureClassLoader.java: Likewise.
13025 * java/security/SecurityPermission.java: Likewise.
13026 * java/security/SignatureException.java: Likewise.
13027 * java/security/UnrecoverableKeyException.java: Likewise.
13028 * java/security/UnresolvedPermission.java: Likewise.
13029 * java/security/acl/AclNotFoundException.java: Likewise.
13030 * java/security/acl/LastOwnerException.java: Likewise.
13031 * java/security/acl/NotOwnerException.java: Likewise.
13032 * java/security/cert/CRLException.java: Likewise.
13033 * java/security/cert/CertificateEncodingException.java: Likewise.
13034 * java/security/cert/CertificateException.java: Likewise.
13035 * java/security/cert/CertificateExpiredException.java: Likewise.
13036 * java/security/cert/CertificateFactory.java: Likewise.
13037 * java/security/cert/CertificateNotYetValidException.java: Likewise.
13038 * java/security/cert/CertificateParsingException.java: Likewise.
13039 * java/security/spec/InvalidKeySpecException.java: Likewise.
13040 * java/security/spec/InvalidParameterSpecException.java: Likewise.
13042 * java/security/cert/CertPath.java: New file.
13043 * java/security/cert/CertPathBuilderException.java: New file.
13044 * java/security/cert/CertPathValidatorException.java: New file.
13045 * java/security/cert/CertStoreException.java: New file.
13047 * Makefile.am: Add new CertPath classes.
13048 * Makefile.in: Rebuilt.
13050 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
13052 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13054 Merge JDK 1.4 exception chaining support from classpath.
13056 * java/lang/Throwable.java: Merge 1.4 support from classpath.
13057 (stackTraceBytes): Rename from stackTrace.
13058 * java/lang/Exception.java: Merge from classpath.
13059 * java/lang/StackTraceElement: New file from classpath.
13060 * gcj/javaprims.h: Rebuild CNI namespace declarations.
13061 * Makefile.am: Add StackTraceElement.
13062 * Makefile.in: Rebuilt.
13064 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13066 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
13068 * Makefile.in: Rebuilt.
13070 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13072 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
13073 * configure.in: Likewise.
13074 * aclocal.m4: Regenerate.
13075 * configure: Regenerate.
13077 2002-05-13 Tom Tromey <tromey@redhat.com>
13079 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
13080 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
13081 Include platform.h.
13083 Fixes PR libgcj/6389:
13084 * Makefile.in: Rebuilt.
13085 * Makefile.am (nat_source_files): Added natTimeZone.cc.
13086 * java/util/natTimeZone.cc: New file.
13087 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
13088 * java/lang/System.java: Merged with Classpath.
13089 * java/lang/Runtime.java: Merged with Classpath.
13090 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
13092 (setIn0): Renamed from setIn; don't run security check.
13093 (setOut0): Renamed from setOut; don't run security check.
13094 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
13095 init_properties): Moved to natRuntime.cc.
13096 Moved many includes to natRuntime.cc.
13097 (isWordsBigEndian): New method.
13098 * java/lang/natRuntime.cc: Include Long.h, also other includes
13099 previously in natSystem.cc.
13100 (maxMemory): New function.
13101 (exitInternal): Renamed from `_exit'.
13103 (init): Don't set finalize_on_exit.
13104 (exitInternal): Use `finalizeOnExit'.
13105 (file_encoding, getpwuid_adaptor): New functions from
13107 (insertSystemProperties): New method, renamed from
13108 System::init_properties. Don't set user.timezone.
13109 (_load): Don't call checkLink.
13110 (execInternal): New method.
13111 (availableProcessors): Likewise.
13112 (nativeGetLibname): Likewise.
13114 2002-05-11 Mark Wielaard <mark@klomp.org>
13116 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
13118 (previous_internal): Likewise.
13120 2002-05-09 Tom Tromey <tromey@redhat.com>
13122 * jni.cc (_Jv_JNIFunctions): Fixed typo.
13124 * java/util/ResourceBundle.java: New version from Classpath.
13125 * java/util/Locale.java: Likewise.
13127 2002-05-09 Jakub Jelinek <jakub@redhat.com>
13129 * testsuite/lib/libjava.exp (libjava_arguments): Append all
13130 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
13133 2002-05-08 Mark Mitchell <mark@codesourcery.com>
13135 * libjava/Makefile.am (all_java_source_files): New variable.
13136 (all_java_class_files): Likewise.
13137 .java.class: New rule.
13138 (CLEANFILES): Remove tmp-list.
13139 * libjava/Makefile.in: Regenerated.
13141 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
13143 * testsuite/lib/libjava.exp (test_libjava_from_javac):
13144 Append .exe to executable names. Fix for cygwin.
13146 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
13148 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
13149 script entry, and set LD to it when configuring multilibs.
13150 * configure: Rebuilt.
13152 2002-05-07 Tom Tromey <tromey@redhat.com>
13154 * java/lang/natString.cc (unintern): Fixed typo.
13156 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
13158 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
13159 with -no-install on *-*-cygwin*.
13161 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
13163 * testsuite/lib/libjava.exp (test_libjava_from_source):
13164 Add comment explaining last patch
13166 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
13168 * testsuite/lib/libjava.exp (test_libjava_from_source):
13169 Append .exe to executable names. If no suffix is present,
13170 then ".exe" is added by default on win32. Harmless
13171 elsewhere so always do it.
13173 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
13174 Tom Tromey <tromey@redhat.com>
13176 * java/lang/natSystem.cc (getSystemTimeZone): Use
13177 HAVE_UNDERSCORE_TIMEZONE.
13178 * include/config.h.in: Rebuilt.
13179 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
13180 * aclocal.m4, configure: Rebuilt.
13181 * acinclude.m4: Run AC_EXEEXT.
13182 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
13183 Add test for `_timezone'.
13185 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
13187 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13188 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
13189 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
13190 * Makefile.in: Rebuilt.
13192 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
13194 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
13195 use sigaction instead of __libc_sigaction.
13197 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13199 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
13200 (libjava_init): Use it to find libgcj.spec.
13201 (libjava_arguments): Likewise.
13203 2002-05-02 David S. Miller <davem@redhat.com>
13206 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
13207 __libc_sigaction on Sparc.
13209 2002-05-02 Jerome Marc <marcjero@yahoo.com>
13211 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
13212 sys/filio.h, if present.
13214 2002-04-30 Tom Tromey <tromey@redhat.com>
13216 * java/io/BufferedReader.java (fill): Handle case where markPos
13217 point to ignored \n. Fixes PR libgcj/6301.
13219 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
13221 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
13223 2002-04-29 Adam King <aking@dreammechanics.com>
13225 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
13226 of file in APPEND mode.
13228 2002-04-25 David S. Miller <davem@redhat.com>
13231 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
13232 program counter to next program counter minus 8. Update
13233 comments in this macro to explain why.
13235 2002-04-26 Tom Tromey <tromey@redhat.com>
13237 * verify.cc (construct_primitive_array_type) [void_type]: New
13239 (branch_prepass): Added dummy entries for unused instruction
13241 (verify_instructions_0): Likewise.
13242 * interpret.cc (continue1): Comment fix.
13243 * include/java-insns.h (op_xxxunusedxxx1): Removed.
13244 * Makefile.in: Rebuilt.
13245 * Makefile.am: Added -Wswitch-enum.
13247 2002-04-24 Tom Tromey <tromey@redhat.com>
13249 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
13250 correct length of UTF-8 encoded name. Strip leading `/'.
13251 (_Jv_RegisterResource): Use _Jv_Malloc.
13253 2002-04-23 Adam Megacz <adam@xwt.org>
13255 * win32.cc, include/win32.cc (backtrace): Added this function
13256 because Win32 does not supply it.
13258 2002-04-21 David S. Miller <davem@redhat.com>
13260 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
13261 magic instruction reading sequence.
13263 2002-04-21 Mark Wielaard <mark@klomp.org>
13265 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
13267 2002-04-19 David S. Miller <davem@redhat.com>
13269 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
13271 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
13272 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
13274 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
13276 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
13277 * sysdeps/sparc/locks.h: New file.
13278 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
13279 on all sparc Solaris configurations. Set to
13280 include/dwarf2-signal.h on sparc Linux.
13281 * configure: Regenerate
13282 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
13284 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
13286 * configure: Rebuilt.
13287 * configure.in (backtrace): Function doesn't work on IA-64.
13289 2002-04-17 Adam King <aking@dreammechanics.com>
13291 * java/io/File.java (normalizePath): Add Win32 support for auto
13292 conversion of a '/' path separator to Win32's '\' separator.
13294 2002-04-16 Tom Tromey <tromey@redhat.com>
13296 Fix for PR libgcj/6081:
13297 * Makefile.in: Rebuilt.
13298 * Makefile.am (install-data-local): Use GNU make trick to avoid
13301 2002-04-16 Adam King <aking@dreammechanics.com>
13302 Tom Tromey <tromey@redhat.com>
13304 * java/io/natFileWin32.cc (performList): Return the correct array
13305 type. Don't duplicate the creation of a File since it's already
13306 done earlier in the method and the existing code would cause a
13307 ArrayStoreException. Don't use fixed-size array.
13308 (_access, _stat, attr, getCanonicalPath, performMkdir,
13309 performRenameTo): Don't use fixed-size array.
13310 (getCanonicalPath): Use throw, not _Jv_Throw.
13312 2002-04-15 DJ Delorie <dj@redhat.com>
13314 * configure.in: Allow building in $srcdir.
13315 * configure: Regenerated.
13317 2002-04-14 Mark Wielaard <mark@klomp.org>
13319 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
13320 * java/net/natSocketImpl.cc (close): Likewise.
13322 2002-04-14 Mark Wielaard <mark@klomp.org>
13324 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
13326 2002-04-13 Adam King <aking@dreammechanics.com>
13328 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
13329 the f/F/d/D modifiers.
13331 2002-04-12 Anthony Green <green@redhat.com>
13333 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
13334 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
13335 * Makefile.in: Rebuilt.
13336 * configure.in: Substitute gcc_version.
13337 * configure: Rebuilt.
13339 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13341 * configure.host: Set can_unwind_signal on hosts which support it.
13342 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
13343 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
13344 exceptions and can_unwind_signal isn't set.
13345 * configure: Rebuilt.
13347 2002-04-11 Tom Tromey <tromey@redhat.com>
13349 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
13351 2002-04-11 Adam King <aking@dreammechanics.com>
13352 Tom Tromey <tromey@redhat.com>
13354 * include/jvm.h (_Jv_ThrowBadArrayIndex,
13355 _Jv_ThrowNullPointerException): Mark as noreturn.
13356 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
13357 and _Jv_free. Correctly invoke GetTempPath(). Indentation
13360 2002-04-10 Tom Tromey <tromey@redhat.com>
13362 * Makefile.in: Rebuilt.
13363 * Makefile.am (java/lang/Thread.h): Mark
13364 _Jv_AttachCurrentThreadAsDaemon as friend.
13365 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
13366 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
13367 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
13369 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
13370 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
13371 (_Jv_JNI_InvokeFunctions): Added
13372 _Jv_JNI_AttachCurrentThreadAsDaemon.
13373 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
13374 (JNI_GetDefaultJavaVMInitArgs): Likewise.
13375 (JNI_CreateJavaVM): Likewise.
13376 (_Jv_JNI_AttachCurrentThread): Likewise.
13377 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
13378 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
13379 (_Jv_JNIFunctions): Initialize new fields.
13380 (_Jv_JNI_NewDirectByteBuffer): New function.
13381 (_Jv_JNI_GetDirectBufferAddress): Likewise.
13382 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
13383 * include/jni.h (JNI_VERSION_1_4): New macro.
13384 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
13385 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
13386 (JNINativeInterface::NewDirectByteBuffer): New field.
13387 (JNINativeInterface::GetDirectBufferAddress): New field.
13388 (JNINativeInterface::GetDirectBufferCapacity): New field.
13389 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
13390 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
13391 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
13393 2002-04-09 Tom Tromey <tromey@redhat.com>
13395 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
13397 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
13399 Fix for PR libgcj/6187:
13400 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
13403 2002-04-07 Mark Wielaard <mark@klomp.org>
13405 * java/util/AbstractMap.java (putAll): Use entrySet size.
13406 (toString): Explicitly use getKey() and getValue().
13408 2002-04-07 Mark Wielaard <mark@klomp.org>
13410 * java/util/Hashtable.java (contains): Remove NullPointer check.
13411 (containsValue): Add NullPointer check.
13412 (remove): Always throw NullPointerException when key
13415 2002-04-07 Adam King <aking@dreammechanics.com>
13417 * java/lang/natSystem.cc (init_properties): Call new function
13418 _Jv_platform_initProperties.
13419 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
13420 support for the System properties os.name, os.arch, os.version,
13421 user.name, user.home, and user.dir.
13422 * include/posix.h, include/win32.h, posix.cc: New function
13423 _Jv_platform_initProperties.
13425 2002-04-06 Mark Wielaard <mark@klomp.org>
13427 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
13429 2002-04-06 Mark Wielaard <mark@klomp.org>
13431 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
13432 all of the remaining elements.
13433 * java/util/Vector.java (addAll(int,Collection)): Likewise.
13434 (removeRange): If toIndex == fromIndex do
13435 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
13436 (removeAll): Always throw NullPointerException when collection is
13438 (retrainAll): Likewise.
13440 2002-04-05 Mark Wielaard <mark@klomp.org>
13442 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
13443 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
13445 2002-04-05 Adam Megacz <adam@xwt.org>
13447 * exception.cc (abort): added static modifier
13449 2002-04-04 Adam Megacz <adam@xwt.org>
13451 * include/win32.h (_Jv_platform_close_on_exec): added inline
13454 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
13456 * configure.host: Add case statement to support generic port
13457 properties. Add *-*-freebsd* section.
13459 2002-04-04 Mark Wielaard <mark@klomp.org>
13461 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
13463 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
13464 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
13465 that depend on awt code and BufferedByteOutputStream.interrupt.
13467 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13469 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
13470 incorrect "hi" value when count > 40.
13472 2002-04-03 Mark Wielaard <mark@klomp.org>
13474 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
13477 2002-04-02 Tom Tromey <tromey@redhat.com>
13479 * java/lang/natClassLoader.cc (findClass): Compare against `3',
13482 2002-04-02 Mark Wielaard <mark@klomp.org>
13484 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
13485 list of testsuite crashers.
13487 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13489 * java/util/IdentityHashMap.java (put): Set new threshold correctly
13490 when resizing table.
13492 2002-04-01 Mark Wielaard <mark@klomp.org>
13494 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
13495 NegativeArraySizeException
13496 (clear(int)): Use sign extended shift.
13497 (flip(int)): Likewise.
13498 (get(int)): Likewise.
13499 (nextClearBit(int)): Likewise.
13500 (nextSetBit(int)): Likewise.
13501 (set(int)): Likewise.
13503 2002-04-01 Mark Wielaard <mark@klomp.org>
13505 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
13506 that can be compiled now and add testsuite crashers to ignore list.
13508 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
13510 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
13512 * libgcj.spec.in: Override libgcc, not lib.
13513 * libgcj-test.spec.in: Likewise.
13515 2002-03-29 Tom Tromey <tromey@redhat.com>
13517 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
13518 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
13520 2002-03-27 Jeff Sturm <jsturm@one-point.com>
13522 * java/net/PlainDatagramSocketImpl.java
13523 (close): Use native implementation.
13524 (finalize): New method.
13526 * java/net/PlainSocketImpl.java (finalize): New method.
13528 * java/net/natPlainDatagramSocketImpl.cc
13529 (java/io/FileDescriptor.h): Don't include.
13530 (close): Implement method here.
13531 (create): Don't assign fd.
13533 * java/net/natPlainSocketImpl.cc
13534 (java/io/FileDescriptor.h): Don't include.
13535 (create): Don't assign fd.
13536 (accept): Likewise.
13537 (close): Synchronize.
13539 2002-03-27 Richard Henderson <rth@redhat.com>
13541 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
13543 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
13545 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
13546 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
13547 instead of syscall on IA-64.
13550 2002-03-27 Anthony Green <green@redhat.com>
13552 * libgcj.spec.in: Add CHECKREFSPEC.
13553 * configure.in: Ditto.
13554 * configure.host: Ditto. Check references for xscale-elf.
13555 * configure: Rebuilt.
13557 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
13559 * include/dwarf2-signal.h: Temporarily back out last change.
13561 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
13563 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
13565 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
13567 * configure.in, configure: enable dwarf2-exception-style
13568 exception handling on IA-64.
13569 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
13570 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
13573 2002-03-25 Tom Tromey <tromey@redhat.com>
13575 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
13576 (jv_convert_LDFLAGS): Likewise.
13577 (gij_LDFLAGS): Likewise.
13578 (rmic_LDFLAGS): Likewise.
13579 (rmiregistry_LDFLAGS): Likewise.
13580 * configure.in (THREADLDFLAGS): New subst; set correctly for
13583 2002-03-25 Tom Tromey <tromey@redhat.com>
13585 For PR libgcj/5303:
13586 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
13588 (help): New method.
13589 (version): Likewise.
13590 * gnu/gcj/convert/Convert.java (version): Removed extraneous
13592 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
13595 2002-03-25 Tom Tromey <tromey@redhat.com>
13597 * java/awt/Component.java (processEvent): Check ComponentEvent
13600 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13602 * java/io/PushbackReader.java: Reformat.
13604 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
13605 calculate correct number of bytes skipped.
13607 Based on patch from Intel's ORP team:
13608 * java/io/PushbackInputStream.java (available): Calculate correct
13609 number of bytes in buffer.
13610 (read): Remove redundant bound check. Return bytes from both the
13611 buffer and the stream.
13613 2002-03-24 Tom Tromey <tromey@redhat.com>
13615 * java/awt/TextComponent.java (TextComponent): Editable by
13618 * java/awt/MenuItem.java (eventMask): No longer private.
13619 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
13620 superclass if we didn't handle event.
13621 * java/awt/Checkbox.java (dispatchEventImpl): New method.
13622 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
13623 * java/awt/Choice.java (dispatchEventImpl): New method.
13624 * java/awt/List.java (dispatchEventImpl): New method.
13625 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
13626 * java/awt/TextComponent.java (dispatchEventImpl): New method.
13627 * java/awt/TextField.java (dispatchEventImpl): New method.
13629 2002-03-24 Eric Blake <ebb9@email.byu.edu>
13631 * java/beans/IntrospectionException.java: Update to 1.4.
13632 * java/beans/PropertyVetoException.java: Ditto.
13634 2002-03-24 Eric Blake <ebb9@email.byu.edu>
13636 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
13637 Arrays.equals instead of ArrayHelper.equalsArray.
13639 2002-03-24 C. Brian Jones <cbj@gnu.org>
13641 * java/beans/Introspector.java: added new static final fields
13642 introduced in 1.2, lots of other updates remain to be done
13644 2002-03-24 C. Brian Jones <cbj@gnu.org>
13646 * java/beans/Introspector.java: reformatting
13648 2002-03-24 C. Brian Jones <cbj@gnu.org>
13650 * java/beans/Introspector.java: default beanInfoSearchPath will
13651 not include sun.beans.infos given we provide no such package and
13652 the API doesn't really require it; gnu.java.beans.info is the
13655 2002-03-24 Mark Wielaard <mark@klomp.org>
13657 Thanks to Orp developers
13658 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
13659 switch TRUE and FALSE return values.
13661 2002-03-23 Tom Tromey <tromey@redhat.com>
13663 * include/name-finder.h (_Jv_name_finder::myclose): New method.
13664 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
13666 2002-03-23 Michael Smith <msmith@spinnakernet.com>
13668 * java/util/GregorianCalendar.java (minimums, maximums): Correct
13669 MONTH entry. Fixes PR libgcj/6045.
13671 2002-03-23 Jeff Sturm <jsturm@one-point.com>
13673 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
13675 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13677 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
13679 * sysdep/powerpc/locks.h (write_barrier): New function.
13680 * sysdep/i386/locks.h (write_barrier): New function.
13682 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
13684 * include/jni.h Use correct C comments.
13686 2002-03-18 Tom Tromey <tromey@redhat.com>
13688 * include/jni.h (JNIIMPORT): New macro.
13689 (JNIEXPORT): Likewise.
13690 (JNICALL): Likewise.
13692 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13694 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
13697 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
13699 * include/i386-signal.h (old_i386_kernel_sigaction): New.
13700 INIT_SEGV: Use old_i386_kernel_sigaction.
13703 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13705 * java/lang/natSystem.cc (init_properties): Update VM version
13707 * configure.in: Set GCJVERSION.
13708 * acconfig.h: Add GCJVERSION.
13709 * configure: Rebuilt.
13710 * include/config.h.in: Rebuilt.
13712 2002-03-17 Anthony Green <green@redhat.com>
13714 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
13716 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13718 Build a single libgcj.so, without separate gc and zlib libraries.
13719 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
13720 SYS_ZLIBS if system zlib is used.
13721 * configure: Rebuilt.
13722 * Makefile.am: Use boehm-gc and zlib convenience libraries.
13723 * Makefile.in: Rebuilt.
13724 * libtool-version: Increment .so version number.
13726 * Makefile.am: Escape quotes in echo.
13727 * Makefile.in: Rebuilt.
13729 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13731 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
13732 * Makefile.in: Rebuilt.
13734 2002-03-15 Anthony Green <green@redhat.com>
13736 * configure.host (FILE): New macro for specifing File
13738 * configure: Rebuilt.
13739 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
13741 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
13743 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
13744 already implicitly brought in from libgcj.la.
13745 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
13746 * Makefile.in: Rebuilt.
13748 2002-03-15 Eric Blake <ebb9@email.byu.edu>
13750 * THANKS: Fix punctuation, alphabetization.
13752 2002-03-15 Tom Tromey <tromey@redhat.com>
13753 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13755 Fix for PR libgcj/5944.
13756 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
13758 2002-03-15 Anthony Green <green@redhat.com>
13760 * configure.in (tool_include_dir): Define.
13761 * configure: Rebuilt.
13762 * gcj/Makefile.am: Install libgcj-config.h relative to
13764 * gcj/Makefile: Rebuilt.
13765 * gcj/libgcj-config.h: Add warning comment.
13767 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
13769 * configure.host (powerpc*-darwin*): Enable interpreter.
13771 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13773 * include/posix.h: Add multiple include header protection.
13774 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
13776 2002-03-10 Adam Megacz <adam@xwt.org>
13778 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
13780 2002-03-10 Tom Tromey <tromey@redhat.com>
13782 * java/awt/GridLayout.java (layoutContainer): Handle case where
13783 there are no items in container.
13785 * java/lang/Win32Process.java: Added comment.
13786 * include/posix.h (_Jv_platform_close_on_exec): New function.
13788 * include/win32.h (_Jv_platform_close_on_exec): New function.
13789 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
13791 (accept): Likewise.
13792 * java/net/natPlainDatagramSocketImpl.cc (create): Set
13793 close-on-exec flag.
13794 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
13797 2002-03-09 Tom Tromey <tromey@redhat.com>
13799 * verify.cc (state::NO_STACK): New constant.
13800 (state::is_unmerged_ret_state): Handle case where stacktop is
13802 (state::merge): Handle NO_STACK merges.
13803 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
13804 for instruction following jsr.
13805 (stacktop, stackdepth): Removed unused variables.
13806 (pop_jump): Ignore case where all remaining states are skipped.
13808 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13810 * java/awt/ImageMediaEntry: Removed.
13811 * java/awt/MediaEntry: Removed.
13813 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13815 Hashtable synchronization for PowerPC.
13816 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
13817 slow_pthread_self. Set up symlink for sysdeps directory.
13818 * configure: Rebuild.
13819 * configure.host: Document more shell variables. Set sysdeps_dir
13820 for most platforms. Set slow_pthread_self for i686. Set
13821 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
13822 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
13823 that memory barrier is emitted where required.
13824 * prims.cc: 64-bit align static primitive class instances.
13825 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
13826 read_barrier() to enforce ordering of reads.
13827 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
13828 primitives for PowerPC.
13829 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
13830 moved from natObject.cc.
13831 * sysdep/alpha/locks.h: Likewise.
13832 * sysdep/ia64/locks.h: Likewise.
13833 * sysdep/generic/locks.h: Likewise.
13834 * java/lang/natObject.cc: Move thread synchronization primitives to
13835 system-dependent headers.
13837 2002-03-09 Adam Megacz <adam@xwt.org>
13839 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
13840 bytes read and no failure code returned.
13842 2002-03-09 Adam Megacz <adam@xwt.org>
13844 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
13845 definitions to simulate -mthreads.
13847 2002-03-09 Adam Megacz <adam@xwt.org>
13849 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
13850 avoid precision loss.
13852 2002-03-09 Per Bothner <per@bothner.com>
13854 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
13855 * gnu/gcj/xlib/XImage.java: Likewise.
13856 * gnu/gcj/xlib/XColor.java: Likewise.
13858 2002-03-09 Adam Megacz <adam@xwt.org>
13860 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
13861 IOException so that Throwable.printStackTrace fails correctly.
13863 2002-03-08 Adam Megacz <adam@xwt.org>
13865 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
13868 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13870 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
13873 2002-03-08 Tom Tromey <tromey@redhat.com>
13875 * include/jni.h: Include stdio.h.
13877 2002-03-08 Tom Tromey <tromey@redhat.com>
13879 * posix.cc (internal_gettimeofday): New function.
13880 (_Jv_select): Use it.
13882 2002-03-07 Adam Megacz <adam@xwt.org>
13884 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
13885 WIN32, and added thunks for read(), write(), and close().
13886 * java/net/natPlainSocketImpl.cc (accept, read, read):
13887 Disabled timeouts on WIN32 pending discussion.
13889 2002-03-07 Adam Megacz <adam@xwt.org>
13891 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
13892 returns jlong. Added implementation
13893 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
13895 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
13897 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
13899 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
13900 _Jv_platform_gettimeofday signature.
13902 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13904 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
13905 (read): Call recv() directly, not _Jv_recv().
13907 2002-03-06 Tom Tromey <tromey@redhat.com>
13909 * java/io/natFileDescriptorEcos.cc (init): Don't use
13911 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
13913 (init): Don't use GetStdHandle.
13915 * include/config.h.in: Rebuilt.
13916 * configure: Rebuilt.
13917 * Makefile.in: Rebuilt.
13919 2002-03-06 Adam Megacz <adam@xwt.org>
13921 * java/io/FileDescriptor.java: Initialize in/out/err in init().
13922 * java/io/natFileDescriptorWin32.cc (init()): Added function.
13923 * java/io/natFileDescriptorPosix.cc (init()): Added function.
13924 * java/io/natFileDescriptorEcos.cc (init()): Added function.
13926 2002-03-06 Eric Blake <ebb9@email.byu.edu>
13928 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
13929 the code for generating include/java-chartables.h.
13930 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
13931 merge with Classpath.
13932 * scripts/unicode-muncher.pl: Copy from Classpath.
13933 * scritps/MakeCharTables.java: New file.
13934 * gnu/gcj/convert/Blocks-3.txt: New file.
13935 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
13936 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
13937 * gnu/java/lang/CharData.java: Copy from Classpath.
13938 * Makefile.am (ordinary_java_source_files): Add
13939 gnu/java/lang/CharData.java.
13940 * configure.in: Remove --enable-fast-character option.
13941 * java/lang/Character.java: Merge algorithms and Javadoc with
13943 * java/lang/natCharacter.cc: Implement Unicode lookup table more
13945 * include/java-chardecomp.h: Regenerate.
13946 * include/java-chartables.h: Regenerate.
13948 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13950 * java/awt/MediaTracker.java: Implemented.
13951 * Makefile.am: Add MediaTracker.
13952 * Makefile.in: Rebuilt.
13954 2002-03-05 Tom Tromey <tromey@redhat.com>
13956 * java/lang/natPosixProcess.cc (fail): Removed.
13957 (startProcess): Simplified error-handling. Preserve
13958 LD_LIBRARY_PATH across exec.
13960 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
13961 AbstractMethodError.
13963 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13965 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
13966 * Makefile.in: Rebuilt.
13968 2002-03-03 Mark Wielaard <mark@klomp.org>
13970 * java/util/Timer (TaskQueue.stop): set elements to zero.
13972 2002-02-28 Anthony Green <green@redhat.com>
13974 * java/lang/reflect/natMethod.cc (result): Add void* element.
13975 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
13978 2002-02-27 Adam Megacz <adam@xwt.org>
13980 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
13983 2002-02-26 Tom Tromey <tromey@redhat.com>
13985 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
13986 * gij.cc (version): Use __VERSION__.
13987 * include/config.h.in: Rebuilt.
13988 * acconfig.h (GCJVERSION): Removed.
13989 * configure: Rebuilt.
13990 * configure.in (GCJVERSION): Removed.
13992 2002-02-26 Andreas Schwab <schwab@suse.de>
13994 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
13995 glibcpp_CXX, since libjava uses even another CXX.
13996 * aclocal.m4, configure: Regenerated.
13998 2002-02-26 Tom Tromey <tromey@redhat.com>
14000 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
14003 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14005 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
14006 dependency tracking for .java files.
14007 * Makefile.in: Rebuilt.
14009 2002-02-24 Adam Megacz <adam@xwt.org>
14011 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
14014 2002-02-24 Adam Megacz <adam@xwt.org>
14016 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
14017 for Win32, changed #ifdefs to check WIN32 instead of the
14018 (now-obsolete) USE_WINSOCK, and removed support for socket
14019 timeouts on Win32 pending further discussion.
14021 2002-02-24 Adam Megacz <adam@xwt.org>
14023 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
14024 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
14027 2002-02-24 Adam Megacz <adam@xwt.org>
14029 * java/lang/Win32Process.java: Created a dummy class to allow
14030 build process to run to completion.
14032 2002-02-24 Jeff Sturm <jsturm@one-point.com>
14034 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
14035 Define ffi_result union for ffi_call result. Cast
14036 ffi_result members to jvalue.
14038 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
14040 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
14041 * testsuite/Makefile.in: Likewise.
14043 2002-02-20 Per Bothner <per@bothner.com>
14045 * java/net/URL.java (getPath): New JDK 1.3 method.
14047 * java/net/URLStreamHandler.java (parseURL):
14048 It is wrong to prepend '/' to the file part of a relative url.
14050 * java/net/URLStreamHandler.java (parseURL):
14051 Minor optizations - append '/' rather than "/".
14053 * java/net/URLStreamHandler.java (parseURL):
14054 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
14055 We probably should canonicalize for a context-relative url, though.
14056 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
14057 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
14058 (sameFile): New method. Uses canonicalizeFilename.
14060 2002-02-22 Tom Tromey <tromey@redhat.com>
14062 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
14063 java.vendor and java.vm.vendor.
14064 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
14065 recent copyright date.
14066 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
14067 * gij.cc (version): Print `Inc'.
14069 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
14071 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
14072 * aclocal.m4, configure: Rebuilt.
14074 2002-02-20 Per Bothner <per@bothner.com>
14076 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
14077 and/or output streams immediately here, instead of using File.exists.
14078 (inputStream, outputStream): New fields to save open streams.
14079 (getInputStream, getOutputStream): Use already-opened streams.
14081 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
14083 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
14085 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
14086 * aclocal.m4, configure, Makefile.in: Rebuilt.
14088 2002-02-19 Tom Tromey <tromey@redhat.com>
14090 Fix for PR libgcj/5696:
14091 * verify.cc (is_assignable_from_slow): Never call
14092 _Jv_IsAssignableFrom.
14093 (verify_instructions_0): Added new debug statement.
14094 (state::print): Print information about whether local has
14096 (state::merge): Don't call note_variable when merging locals.
14097 (state::set_exception): Removed old FIXME comment.
14099 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14101 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
14102 enable SO_BROADCAST.
14104 2002-02-18 Jason Merrill <jason@redhat.com>
14106 * name-finder.cc (toHex): Use word mode, not long long.
14108 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
14110 2002-02-15 Tom Tromey <tromey@redhat.com>
14112 Fix for PR libgcj/5695:
14113 * verify.cc (is_assignable_from_slow): Check to see if target is
14114 an Object before checking to see if source is an interface.
14115 (verify_instructions_0) [op_invokeinterface]: Handle case where
14116 we're making an interface call on Object.
14118 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14120 * Makefile.in: Rebuilt with Eric's change below.
14122 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
14123 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
14124 Removed functions which are now implemented in Math.java.
14126 2002-02-14 Eric Blake <ebb9@email.byu.edu>
14128 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
14129 * Makefile.am (core_java_source_files): Add
14130 java/lang/StrictMath.java.
14131 * java/lang/Math.java: Merge with Classpath.
14132 * java/lang/StrictMath.java: New file - merge with Classpath.
14134 2002-02-14 Mark Wielaard <mark@klomp.org>
14136 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
14137 package as a workaround for gcj 3.0.x
14139 2002-02-14 Mark Wielaard <mark@klomp.org>
14141 * java/security/BasicPermission.java: extends with fully qualified
14142 classname as workaround for gcj 3.0.4.
14144 2002-02-14 Eric Blake <ebb9@email.byu.edu>
14146 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
14147 around gcj bug of wrong emitted qualifier for inherited method.
14148 * java/net/SocketImpl.java (setOption, getOption): Ditto.
14149 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
14150 constructor to reduce amount of emitted bytecode. While this
14151 happens to work around a jikes 1.15 bug, it is still a useful
14152 patch even for correct compilers.
14153 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
14154 * gnu/java/rmi/server/UnicastRemoteCall.java
14155 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
14157 2002-02-14 Eric Blake <ebb9@email.byu.edu>
14159 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
14160 * java/net/SocketImpl.java: Ditto.
14161 * java/rmi/server/RMIClassLoader.java: Ditto.
14162 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
14164 2002-02-14 Mark Wielaard <mark@klomp.org>
14166 Thanks to Takashi Okamoto
14167 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
14168 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
14169 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
14171 2002-02-13 Todd Stock <toddastock@yahoo.com>
14173 Fix for PR libgcj/5670:
14174 * verify.cc (is_assignable_from_slow): If `source' is interface,
14175 recursively look for merge with `target'.
14177 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
14179 * include/jni.h: Fix typo.
14181 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
14183 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
14186 2002-02-13 Todd Stock <toddastock@yahoo.com>
14188 Fix for PR libgcj/5671:
14189 * verify.cc (state::merge): Handle case where we're merging
14190 against an interface.
14192 2002-02-12 Tom Tromey <tromey@redhat.com>
14194 * exception.cc (std::abort): Mark as noreturn.
14196 2002-02-12 Adam Megacz <adam@xwt.org>
14198 * java/lang/Win32Process.java: Filled in a placeholder
14199 implementation so Win32 will build.
14201 2002-02-12 Adam Megacz <adam@xwt.org>
14203 * java/io/natFilePosix.cc: Copied this from natFile.cc.
14204 * java/io/natFile.cc: Removed from repository.
14205 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
14207 2002-02-12 Adam Megacz <adam@xwt.org>
14209 * win32.cc: Added two #includes to make win32.cc compile.
14211 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14213 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
14215 (_Jv_InitGC): Don't bother locking, as this is always called from a
14216 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
14218 2002-02-11 Adam Megacz <adam@xwt.org>
14220 * include/win32.h: Added _Jv_platform_gettimeofday.
14221 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
14223 2002-02-11 Adam Megacz <adam@xwt.org>
14225 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
14226 Added #undef STRICT to make windows.h and
14227 java/lang/reflect/Modifier.h cooperate.
14229 2002-02-11 Adam Megacz <adam@xwt.org>
14231 * java/io/natFileWin32.cc: Created a placeholder class with lots
14234 2002-02-11 Adam Megacz <adam@xwt.org>
14236 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
14237 std::abort() to simply abort(). Also added "fake" std::abort() so
14238 we can #include unwind-pe.h without having to link against
14241 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
14243 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
14245 2002-02-08 Tom Tromey <tromey@redhat.com>
14247 * interpret.cc (convert): New function.
14248 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
14252 2002-02-08 Anthony Green <green@redhat.com>
14254 * configure.host: Add support for xscale-elf embedded target.
14256 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
14258 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
14260 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
14263 2002-02-07 Tom Tromey <tromey@redhat.com>
14265 * java/io/natFile.cc (_access): Use __builtin_alloca.
14268 (getCanonicalPath): Likewise.
14269 (performList): Likewise.
14270 (performMkdir): Likewise.
14271 (performSetReadOnly): Likewise.
14272 (performRenameTo): Likewise.
14273 (performSetLastModified): Likewise.
14274 (performCreate): Likewise.
14275 (performDelete): Likewise.
14277 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14279 * HACKING: Fix URL for the automake-gcj.
14281 2002-02-07 Tom Tromey <tromey@redhat.com>
14283 * java/lang/natThrowable.cc: Updated copyright.
14284 * java/io/natFileWin32.cc: Updated copyright.
14285 * java/io/natFileDescriptorWin32.cc: Updated copyright.
14286 * win32-threads.cc: Updated copyright.
14287 * name-finder.cc: Updated copyright.
14288 * include/name-finder.h: Updated copyright.
14290 * include/name-finder.h: Conditionally include sys/wait.h.
14291 * include/config.h.in: Rebuilt.
14293 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
14294 Size buffer based on real size of string.
14297 (getCanonicalPath): Likewise.
14298 (performList): Likewise.
14299 (performMkdir): Likewise.
14300 (performSetReadOnly): Likewise.
14301 (unixroot): Removed.
14302 (performRenameTo): Likewise.
14303 (performSetLastModified): Likewise.
14304 (performCreate): Likewise.
14305 (performDelete): Likewise.
14306 (performListRoots): Always return new array.
14308 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
14309 * win32.cc (win32_exception_handler): Now static.
14310 * include/win32.h (_Jv_platform_initialize): Declare.
14311 (win32_exception_handler): Don't declare.
14312 * java/lang/natSystem.cc (currentTimeMillis): Use
14313 _Jv_platform_gettimeofday.
14314 * posix.cc (_Jv_platform_gettimeofday): Renamed.
14315 (_Jv_select): Use new name.
14316 (_Jv_platform_initialize): New function.
14317 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
14319 (_Jv_platform_initialize): Declare.
14321 * configure: Rebuilt.
14322 * configure.in: Removed unnecessary parens.
14324 2002-02-06 Adam Megacz <adam@xwt.org>
14326 * configure.in: Changed mingw) to *mingw*).
14327 * win32.cc: Created this file.
14328 * win32.h: Created this file.
14329 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
14330 win32_exception_handler from prims.cc to win32.cc, added
14332 * prims.cc: removed some #ifdef-WIN32'd headers which are no
14333 longer needed now that we have platform.h
14335 2002-02-06 Adam Megacz <adam@xwt.org>
14337 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
14338 use uint<n>_t instead of LONG and BYTE
14340 2002-02-06 Adam Megacz <adam@xwt.org>
14342 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
14344 2002-02-06 Anthony Green <green@redhat.com>
14346 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
14347 Implement missing method stubs.
14348 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
14350 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
14351 concept of timezones.
14352 (init_properties): Don't refer to _Jv_Environment_Properties
14353 when this feature is not available.
14354 * include/config.h.in: Rebuilt.
14355 * acconfig.h: Add DISABLE_MAIN_ARGS.
14356 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
14357 * configure: Rebuilt.
14358 * configure.in: Add --disable-main-args option. Test for
14359 opendir function. Replace AC_CHECK_SIZEOF with
14360 AC_COMPILE_CHECK_SIZEOF.
14361 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
14362 * aclocal.m4: Rebuilt.
14363 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
14365 2002-02-06 Tom Tromey <tromey@redhat.com>
14367 * verify.cc (require_array_type): If argument is a null array of
14368 references, return null as the element type.
14370 2002-02-06 Mark Wielaard <mark@klomp.org>
14372 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
14373 duplicate of a wide type.
14375 2002-02-06 Tom Tromey <tromey@redhat.com>
14377 * verify.cc (type::isnull): New method.
14378 (require_array_type): Handle case where array is null.
14379 (verify_instructions_0) [op_arraylength]: Likewise.
14381 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14383 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
14384 Symlink PLATFORMH to platform.h.
14385 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
14387 * java/lang/natSystem.cc: #include platform.h not posix.h.
14388 * Makefile.in: Rebuilt with libgcj automake.
14389 * configure: Rebuilt.
14391 2002-02-05 Richard Henderson <rth@redhat.com>
14393 * Makefile.in: Undo munging last change.
14395 2002-02-04 Adam Megacz <adam@xwt.org>
14397 * win32.cc: Created it.
14398 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
14399 which is set to posix.cc or win32.cc.
14400 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
14402 2002-02-04 Adam Megacz <adam@xwt.org>
14404 * configure.in: Corrected mingw case branches; added * before
14407 2002-02-04 Adam Megacz <adam@xwt.org>
14409 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
14410 if compiling for win32
14412 2002-02-04 Adam Megacz <adam@xwt.org>
14414 * win32-threads.cc: #undef STRICT after gc.h inclusion
14416 2002-02-02 Tom Tromey <tromey@redhat.com>
14418 * Makefile.in: Rebuilt.
14420 2002-02-02 Jason Merrill <jason@redhat.com>
14422 * Makefile.am (clean-nat): New target.
14424 2002-02-02 Tom Tromey <tromey@redhat.com>
14426 * java/io/natFile.cc: Removed old "FIXME" comments.
14428 2002-02-01 Tom Tromey <tromey@redhat.com>
14430 * java/lang/natPosixProcess.cc (myclose): New function.
14432 (startProcess): Likewise.
14434 2002-02-01 Adam Megacz <adam@xwt.org>
14436 * prims.cc: Added #undef STRICT after #include<windows.h>.
14438 2002-02-01 Adam Megacz <adam@xwt.org>
14441 (_Jv_CreateJavaVM): We now use WIN32 instead of
14442 USE_WIN32_SIGNALLING and USE_WINSOCK.
14443 (win32_exception_handler): Now throws an exception out of
14444 the signal handler; assumes SJLJ.
14446 2002-02-01 Adam Megacz <adam@xwt.org>
14448 * win32-threads.cc:
14449 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
14450 wait() algorithm to make it safe.
14451 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
14452 Added lazy creation of Win32 Events for better performance
14453 (really_start): This now uses GC_CreateThread so boehm-gc
14454 knows about new threads even when statically linked.
14456 2002-02-01 Adam Megacz <adam@xwt.org>
14458 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
14459 enable safer wait() algorithm.
14460 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
14461 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
14462 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
14463 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
14465 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
14467 2002-02-01 Adam Megacz <adam@xwt.org>
14469 * configure.in: Added support for mingw.
14470 * java/lang/Win32Process.java: Created as empty file.
14471 * java/lang/natWin32Process.cc: Created as empty file.
14473 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
14476 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
14477 for libiconv in LIBICONV variable.
14478 * configure: Regenerated.
14480 2002-01-31 Tom Tromey <tromey@redhat.com>
14482 * verify.cc (state::enter_subroutine): New method.
14483 (handle_jsr_insn): Use it.
14484 (state::merge): When processing a `ret', correctly use
14485 subroutine's state to determine which local variables have
14487 (push_exception_jump): Don't let stack overflow.
14489 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
14491 * gnu/gcj/convert/Convert.java: Only include one copyright year in
14494 2002-01-30 Tom Tromey <tromey@redhat.com>
14496 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
14497 parameter for `recv' return type.
14499 * verify.cc (handle_ret_insn): Check for subroutine merge here...
14500 (state::merge): ... not here.
14501 (subr_entry_info): New structure.
14502 (entry_points): New field.
14503 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
14506 2002-01-29 Tom Tromey <tromey@redhat.com>
14508 * java/awt/List.java (addNotify): Correctly check to see if peer
14511 * java/awt/GridLayout.java (layoutContainer): Use number of rows
14512 to compute height of each cell, and number of columns to compute
14513 width of each cell.
14514 * java/awt/Window.java (getOwnedWindows): Don't return null.
14515 * java/awt/FlowLayout.java (layoutContainer): Set width and height
14516 of component. Increment x using horizontal gap, not vertical
14519 2002-01-28 Tom Tromey <tromey@redhat.com>
14521 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
14522 `nargs' byte is number of words, not number of arguments.
14524 2002-01-27 Tom Tromey <tromey@redhat.com>
14526 * java/awt/event/MouseEvent.java (modifiers): Removed field.
14528 * java/awt/event/InputEvent.java (modifiers, when): Now
14531 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
14533 (state::merge): Use current class' class loader.
14534 (state::print): Print subroutine.
14535 (state::merge): Don't look at subroutine of unmerged `ret'.
14537 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
14539 * nogc.cc: Remove warnings.
14540 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
14543 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14545 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
14546 int, int): Remove empty "if" statement to work around compiler bug.
14547 (newPixels(int[], ColorModel, int, int): Likewise.
14549 2002-01-25 Per Bothner <per@bothner.com>
14551 * verify.cc (verify_fail): Change from being a top-level function
14552 to e method of _Jv_BytecodeVerifier. Emit current method name.
14553 Pass the current verifier to type: and state: methods as needed,
14554 for better error messages, and for resolve.
14555 (resolve): Pass current class's loader for Class.forName and
14556 _Jv_FindClassFromSignature, rather than using the default loader.
14557 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
14558 (get_type_val_for_signature): Make non-static.
14559 (various methods): Pass start_PC implicitly, not explicitly.
14561 2002-01-25 Tom Tromey <tromey@redhat.com>
14563 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
14564 loop termination condition.
14565 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
14568 2002-01-24 Tom Tromey <tromey@redhat.com>
14570 * java/awt/Shape.java: Merged with Classpath.
14571 * java/awt/Scrollbar.java: Merged with Classpath.
14573 * java/awt/Container.java (addNotify): Unconditionally call
14574 addNotifyContainerChildren and superclass addNotify.
14576 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
14577 getAlpha, not getBlue.
14579 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14581 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
14583 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
14584 (grabPixels(long)): Wait to be notified that the ImageProducer has
14587 2002-01-24 Per Bothner <per@bothner.com>
14589 * verify.cc (is_assignable_from_slow): If target is an interface,
14590 we must still check the source's superclass before giving up.
14592 2002-01-24 Tom Tromey <tromey@redhat.com>
14594 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
14596 2002-01-23 Tom Tromey <tromey@redhat.com>
14598 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
14601 * Makefile.in: Rebuilt.
14602 * Makefile.am (awt_java_source_files): Added new files.
14603 * java/awt/Toolkit.java: Merged with Classpath.
14604 * java/awt/PrintGraphics.java: New file from Classpath.
14605 * java/awt/PrintJob.java: New file from Classpath.
14606 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
14607 * java/awt/datatransfer/ClipboardOwner.java: New file from
14609 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
14610 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
14611 * java/awt/datatransfer/MimeTypeParseException.java: New file from
14613 * java/awt/datatransfer/StringSelection.java: New file from
14615 * java/awt/datatransfer/SystemFlavorMap.java: New file from
14617 * java/awt/datatransfer/Transferable.java: New file from
14619 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
14622 * Makefile.in: Rebuilt.
14623 * Makefile.am (awt_java_source_files): Added new files.
14624 * java/awt/image/AreaAveragingScaleFilter.java: New file from
14626 * java/awt/image/CropImageFilter.java: New file from Classpath.
14627 * java/awt/image/FilteredImageSource.java: New file from
14629 * java/awt/image/ImageFilter.java: New file from Classpath.
14630 * java/awt/image/MemoryImageSource.java: New file from Classpath.
14631 * java/awt/image/PixelGrabber.java: New file from Classpath.
14632 * java/awt/image/RGBImageFilter.java: New file from Classpath.
14633 * java/awt/image/ReplicateScaleFilter.java: New file from
14635 * java/awt/image/ImageProducer.java: Replaced with Classpath
14637 * java/awt/image/ImageObserver.java: Replaced with Classpath
14639 * java/awt/image/ImageConsumer.java: Replaced with Classpath
14641 * java/awt/GridBagConstraints.java (clone): Catch
14642 CloneNotSupportedException.
14644 2002-01-23 Per Bothner <per@bothner.com>
14646 * java/lang/reflect/natField.cc (setAddr): New function.
14647 Calls getAddr and then checks that the field isn't final.
14648 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
14649 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
14650 (set): Call setAddr before check that new value has right type,
14651 to better match specified semantics.
14653 2002-01-22 Tom Tromey <tromey@redhat.com>
14655 * java/awt/TextField.java: Replaced with Classpath version.
14656 * java/awt/TextArea.java: Replaced with Classpath version.
14657 * java/awt/TextComponent.java: Replaced with Classpath version.
14659 * java/awt/GridBagConstraints.java: Updated copyright.
14661 2002-01-22 Mark Wielaard <mark@klomp.org>
14663 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
14664 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
14665 java/awt/Dialog.java java/awt/FileDialog.java
14666 java/awt/Font.java java/awt/FontMetrics.java
14667 java/awt/Image.java java/awt/ImageMediaEntry.java
14668 java/awt/Insets.java java/awt/List.java
14669 java/awt/MediaEntry.java java/awt/MediaTracker.java
14670 java/awt/Menu.java java/awt/MenuBar.java
14671 java/awt/MenuContainer.java java/awt/MenuShortcut.java
14672 java/awt/PaintContext.java java/awt/Panel.java
14673 java/awt/PopupMenu.java java/awt/SystemColor.java
14674 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
14675 java/awt/peer/CheckboxMenuItemPeer.java
14676 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
14677 java/awt/peer/ComponentPeer.java
14678 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
14679 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
14680 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
14681 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
14682 java/awt/peer/MenuBarPeer.java
14683 java/awt/peer/MenuComponentPeer.java
14684 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
14685 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
14686 java/awt/peer/ScrollPanePeer.java
14687 java/awt/peer/ScrollbarPeer.java
14688 java/awt/peer/TextAreaPeer.java
14689 java/awt/peer/TextComponentPeer.java
14690 java/awt/peer/TextFieldPeer.java
14691 java/awt/peer/WindowPeer.java: Add license clarification.
14693 2002-01-22 Mark Wielaard <mark@klomp.org>
14695 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
14696 gnu/gcj/runtime/StringBuffer.java
14697 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
14698 gnu/java/awt/ComponentDataBlitOp.java
14699 gnu/java/awt/GLightweightPeer.java
14700 gnu/java/beans/BeanInfoEmbryo.java
14701 gnu/java/beans/EmptyBeanInfo.java
14702 gnu/java/beans/ExplicitBeanInfo.java
14703 gnu/java/beans/IntrospectionIncubator.java
14704 gnu/java/beans/editors/ColorEditor.java
14705 gnu/java/beans/editors/FontEditor.java
14706 gnu/java/beans/editors/NativeBooleanEditor.java
14707 gnu/java/beans/editors/NativeByteEditor.java
14708 gnu/java/beans/editors/NativeDoubleEditor.java
14709 gnu/java/beans/editors/NativeFloatEditor.java
14710 gnu/java/beans/editors/NativeIntEditor.java
14711 gnu/java/beans/editors/NativeLongEditor.java
14712 gnu/java/beans/editors/NativeShortEditor.java
14713 gnu/java/beans/editors/StringEditor.java
14714 gnu/java/beans/info/ComponentBeanInfo.java
14715 gnu/java/io/ClassLoaderObjectInputStream.java
14716 gnu/java/io/NullOutputStream.java
14717 gnu/java/io/ObjectIdentityWrapper.java
14718 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
14719 gnu/java/lang/reflect/TypeSignature.java
14720 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
14721 gnu/java/locale/Calendar_en.java
14722 gnu/java/locale/Calendar_nl.java
14723 gnu/java/locale/LocaleInformation.java
14724 gnu/java/locale/LocaleInformation_de.java
14725 gnu/java/locale/LocaleInformation_en.java
14726 gnu/java/locale/LocaleInformation_nl.java
14727 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
14728 gnu/java/rmi/registry/RegistryImpl.java
14729 gnu/java/rmi/rmic/Compile_gcj.java
14730 gnu/java/rmi/rmic/Compiler.java
14731 gnu/java/rmi/rmic/CompilerProcess.java
14732 gnu/java/rmi/rmic/RMIC.java
14733 gnu/java/rmi/rmic/TabbedWriter.java
14734 gnu/java/rmi/server/ProtocolConstants.java
14735 gnu/java/rmi/server/RMIDefaultSocketFactory.java
14736 gnu/java/rmi/server/RMIHashes.java
14737 gnu/java/rmi/server/RMIObjectInputStream.java
14738 gnu/java/rmi/server/RMIObjectOutputStream.java
14739 gnu/java/rmi/server/UnicastConnection.java
14740 gnu/java/rmi/server/UnicastConnectionManager.java
14741 gnu/java/rmi/server/UnicastRef.java
14742 gnu/java/rmi/server/UnicastRemoteCall.java
14743 gnu/java/rmi/server/UnicastRemoteStub.java
14744 gnu/java/rmi/server/UnicastServer.java
14745 gnu/java/rmi/server/UnicastServerRef.java
14746 gnu/java/security/provider/DefaultPolicy.java
14747 gnu/java/security/provider/Gnu.java
14748 gnu/java/security/provider/SHA.java
14749 gnu/java/security/provider/SHA1PRNG.java
14750 gnu/java/text/BaseBreakIterator.java
14751 gnu/java/text/CharacterBreakIterator.java
14752 gnu/java/text/LineBreakIterator.java
14753 gnu/java/text/SentenceBreakIterator.java
14754 gnu/java/text/WordBreakIterator.java
14755 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
14756 java/applet/AppletContext.java java/applet/AppletStub.java
14757 java/applet/AudioClip.java java/awt/AWTError.java
14758 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
14759 java/awt/AWTException.java java/awt/AWTPermission.java
14760 java/awt/ActiveEvent.java java/awt/BorderLayout.java
14761 java/awt/Button.java java/awt/Canvas.java
14762 java/awt/CardLayout.java java/awt/Checkbox.java
14763 java/awt/CheckboxGroup.java java/awt/Component.java
14764 java/awt/ComponentOrientation.java java/awt/Container.java
14765 java/awt/Dimension.java java/awt/Event.java
14766 java/awt/EventDispatchThread.java java/awt/EventQueue.java
14767 java/awt/FlowLayout.java java/awt/Frame.java
14768 java/awt/Graphics.java java/awt/Graphics2D.java
14769 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
14770 java/awt/IllegalComponentStateException.java
14771 java/awt/ItemSelectable.java java/awt/Label.java
14772 java/awt/LayoutManager.java java/awt/LayoutManager2.java
14773 java/awt/MenuComponent.java java/awt/MenuItem.java
14774 java/awt/Paint.java java/awt/Point.java
14775 java/awt/Rectangle.java java/awt/RenderingHints.java
14776 java/awt/Transparency.java java/awt/Window.java
14777 java/awt/color/ColorSpace.java
14778 java/awt/color/ICC_ColorSpace.java
14779 java/awt/color/ICC_Profile.java
14780 java/awt/event/HierarchyBoundsAdapter.java
14781 java/awt/event/HierarchyBoundsListener.java
14782 java/awt/event/HierarchyEvent.java
14783 java/awt/event/HierarchyListener.java
14784 java/awt/geom/AffineTransform.java
14785 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
14786 java/awt/geom/IllegalPathStateException.java
14787 java/awt/geom/Line2D.java
14788 java/awt/geom/NoninvertibleTransformException.java
14789 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
14790 java/awt/geom/Rectangle2D.java
14791 java/awt/geom/RectangularShape.java
14792 java/awt/geom/RoundRectangle2D.java
14793 java/awt/image/BufferedImage.java
14794 java/awt/image/ColorModel.java
14795 java/awt/image/ComponentColorModel.java
14796 java/awt/image/ComponentSampleModel.java
14797 java/awt/image/DataBuffer.java
14798 java/awt/image/DataBufferByte.java
14799 java/awt/image/DataBufferInt.java
14800 java/awt/image/DataBufferUShort.java
14801 java/awt/image/DirectColorModel.java
14802 java/awt/image/PackedColorModel.java
14803 java/awt/image/Raster.java java/awt/image/RasterOp.java
14804 java/awt/image/SampleModel.java
14805 java/awt/image/SinglePixelPackedSampleModel.java
14806 java/awt/image/WritableRaster.java
14807 java/beans/AppletInitializer.java
14808 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
14809 java/beans/Beans.java java/beans/Customizer.java
14810 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
14811 java/beans/FeatureDescriptor.java
14812 java/beans/IndexedPropertyDescriptor.java
14813 java/beans/IntrospectionException.java
14814 java/beans/Introspector.java java/beans/MethodDescriptor.java
14815 java/beans/ParameterDescriptor.java
14816 java/beans/PropertyChangeEvent.java
14817 java/beans/PropertyChangeListener.java
14818 java/beans/PropertyChangeSupport.java
14819 java/beans/PropertyDescriptor.java
14820 java/beans/PropertyEditor.java
14821 java/beans/PropertyEditorManager.java
14822 java/beans/PropertyEditorSupport.java
14823 java/beans/PropertyVetoException.java
14824 java/beans/SimpleBeanInfo.java
14825 java/beans/VetoableChangeListener.java
14826 java/beans/VetoableChangeSupport.java
14827 java/beans/Visibility.java
14828 java/beans/beancontext/BeanContext.java
14829 java/beans/beancontext/BeanContextChild.java
14830 java/beans/beancontext/BeanContextChildComponentProxy.java
14831 java/beans/beancontext/BeanContextChildSupport.java
14832 java/beans/beancontext/BeanContextContainerProxy.java
14833 java/beans/beancontext/BeanContextEvent.java
14834 java/beans/beancontext/BeanContextMembershipEvent.java
14835 java/beans/beancontext/BeanContextMembershipListener.java
14836 java/beans/beancontext/BeanContextProxy.java
14837 java/beans/beancontext/BeanContextServiceAvailableEvent.java
14838 java/beans/beancontext/BeanContextServiceProvider.java
14839 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
14840 java/beans/beancontext/BeanContextServiceRevokedEvent.java
14841 java/beans/beancontext/BeanContextServiceRevokedListener.java
14842 java/beans/beancontext/BeanContextServices.java
14843 java/beans/beancontext/BeanContextServicesListener.java
14844 java/io/BufferedInputStream.java
14845 java/io/BufferedOutputStream.java java/io/BufferedReader.java
14846 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
14847 java/io/ByteArrayOutputStream.java
14848 java/io/CharArrayReader.java java/io/CharArrayWriter.java
14849 java/io/CharConversionException.java java/io/DataInput.java
14850 java/io/DataInputStream.java java/io/DataOutput.java
14851 java/io/EOFException.java java/io/Externalizable.java
14852 java/io/FileFilter.java java/io/FileNotFoundException.java
14853 java/io/FilePermission.java java/io/FileReader.java
14854 java/io/FileWriter.java java/io/FilenameFilter.java
14855 java/io/FilterInputStream.java java/io/FilterOutputStream.java
14856 java/io/FilterReader.java java/io/FilterWriter.java
14857 java/io/IOException.java java/io/InputStream.java
14858 java/io/InterruptedIOException.java
14859 java/io/InvalidClassException.java
14860 java/io/InvalidObjectException.java
14861 java/io/NotActiveException.java
14862 java/io/NotSerializableException.java java/io/ObjectInput.java
14863 java/io/ObjectInputStream.java
14864 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
14865 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
14866 java/io/ObjectStreamConstants.java
14867 java/io/ObjectStreamException.java
14868 java/io/ObjectStreamField.java
14869 java/io/OptionalDataException.java java/io/OutputStream.java
14870 java/io/PipedInputStream.java java/io/PipedOutputStream.java
14871 java/io/PipedReader.java java/io/PipedWriter.java
14872 java/io/PrintWriter.java java/io/PushbackInputStream.java
14873 java/io/PushbackReader.java java/io/Reader.java
14874 java/io/SequenceInputStream.java java/io/Serializable.java
14875 java/io/SerializablePermission.java
14876 java/io/StreamCorruptedException.java
14877 java/io/StreamTokenizer.java
14878 java/io/StringBufferInputStream.java java/io/StringReader.java
14879 java/io/StringWriter.java java/io/SyncFailedException.java
14880 java/io/UTFDataFormatException.java
14881 java/io/UnsupportedEncodingException.java
14882 java/io/WriteAbortedException.java java/io/Writer.java
14883 java/lang/AbstractMethodError.java
14884 java/lang/ArithmeticException.java
14885 java/lang/ArrayIndexOutOfBoundsException.java
14886 java/lang/ArrayStoreException.java java/lang/Boolean.java
14887 java/lang/Byte.java java/lang/CharSequence.java
14888 java/lang/ClassCastException.java
14889 java/lang/ClassCircularityError.java
14890 java/lang/ClassFormatError.java
14891 java/lang/ClassNotFoundException.java
14892 java/lang/CloneNotSupportedException.java
14893 java/lang/Cloneable.java java/lang/Comparable.java
14894 java/lang/Compiler.java java/lang/Double.java
14895 java/lang/Error.java java/lang/Exception.java
14896 java/lang/ExceptionInInitializerError.java
14897 java/lang/Float.java java/lang/IllegalAccessError.java
14898 java/lang/IllegalAccessException.java
14899 java/lang/IllegalArgumentException.java
14900 java/lang/IllegalMonitorStateException.java
14901 java/lang/IllegalStateException.java
14902 java/lang/IllegalThreadStateException.java
14903 java/lang/IncompatibleClassChangeError.java
14904 java/lang/IndexOutOfBoundsException.java
14905 java/lang/InheritableThreadLocal.java
14906 java/lang/InstantiationError.java
14907 java/lang/InstantiationException.java java/lang/Integer.java
14908 java/lang/InternalError.java
14909 java/lang/InterruptedException.java
14910 java/lang/LinkageError.java java/lang/Long.java
14911 java/lang/NegativeArraySizeException.java
14912 java/lang/NoClassDefFoundError.java
14913 java/lang/NoSuchFieldError.java
14914 java/lang/NoSuchFieldException.java
14915 java/lang/NoSuchMethodError.java
14916 java/lang/NoSuchMethodException.java
14917 java/lang/NullPointerException.java java/lang/Number.java
14918 java/lang/NumberFormatException.java
14919 java/lang/OutOfMemoryError.java java/lang/Package.java
14920 java/lang/Process.java java/lang/Runnable.java
14921 java/lang/RuntimeException.java
14922 java/lang/RuntimePermission.java
14923 java/lang/SecurityException.java
14924 java/lang/SecurityManager.java java/lang/Short.java
14925 java/lang/StackOverflowError.java java/lang/StringBuffer.java
14926 java/lang/StringIndexOutOfBoundsException.java
14927 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
14928 java/lang/ThreadLocal.java java/lang/UnknownError.java
14929 java/lang/UnsatisfiedLinkError.java
14930 java/lang/UnsupportedClassVersionError.java
14931 java/lang/UnsupportedOperationException.java
14932 java/lang/VerifyError.java java/lang/VirtualMachineError.java
14933 java/lang/Void.java java/lang/ref/PhantomReference.java
14934 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
14935 java/lang/ref/SoftReference.java
14936 java/lang/ref/WeakReference.java
14937 java/lang/reflect/AccessibleObject.java
14938 java/lang/reflect/InvocationTargetException.java
14939 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
14940 java/lang/reflect/ReflectPermission.java
14941 java/math/BigDecimal.java java/math/BigInteger.java
14942 java/net/Authenticator.java java/net/BindException.java
14943 java/net/ConnectException.java java/net/ContentHandler.java
14944 java/net/ContentHandlerFactory.java
14945 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
14946 java/net/FileNameMap.java java/net/MalformedURLException.java
14947 java/net/MulticastSocket.java java/net/NetPermission.java
14948 java/net/NoRouteToHostException.java
14949 java/net/PasswordAuthentication.java
14950 java/net/ProtocolException.java java/net/ServerSocket.java
14951 java/net/Socket.java java/net/SocketException.java
14952 java/net/SocketImpl.java java/net/SocketImplFactory.java
14953 java/net/SocketOptions.java java/net/SocketPermission.java
14954 java/net/URLDecoder.java java/net/URLEncoder.java
14955 java/net/URLStreamHandlerFactory.java
14956 java/net/UnknownHostException.java
14957 java/net/UnknownServiceException.java
14958 java/rmi/AccessException.java
14959 java/rmi/AlreadyBoundException.java
14960 java/rmi/ConnectException.java
14961 java/rmi/ConnectIOException.java
14962 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
14963 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
14964 java/rmi/NotBoundException.java
14965 java/rmi/RMISecurityException.java
14966 java/rmi/RMISecurityManager.java java/rmi/Remote.java
14967 java/rmi/RemoteException.java java/rmi/ServerError.java
14968 java/rmi/ServerException.java
14969 java/rmi/ServerRuntimeException.java
14970 java/rmi/StubNotFoundException.java
14971 java/rmi/UnexpectedException.java
14972 java/rmi/UnknownHostException.java
14973 java/rmi/UnmarshalException.java
14974 java/rmi/activation/Activatable.java
14975 java/rmi/activation/ActivateFailedException.java
14976 java/rmi/activation/ActivationDesc.java
14977 java/rmi/activation/ActivationException.java
14978 java/rmi/activation/ActivationGroup.java
14979 java/rmi/activation/ActivationGroupDesc.java
14980 java/rmi/activation/ActivationGroupID.java
14981 java/rmi/activation/ActivationID.java
14982 java/rmi/activation/ActivationInstantiator.java
14983 java/rmi/activation/ActivationMonitor.java
14984 java/rmi/activation/ActivationSystem.java
14985 java/rmi/activation/Activator.java
14986 java/rmi/activation/UnknownGroupException.java
14987 java/rmi/activation/UnknownObjectException.java
14988 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
14989 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
14990 java/rmi/registry/Registry.java
14991 java/rmi/registry/RegistryHandler.java
14992 java/rmi/server/ExportException.java
14993 java/rmi/server/LoaderHandler.java
14994 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
14995 java/rmi/server/Operation.java
14996 java/rmi/server/RMIClassLoader.java
14997 java/rmi/server/RMIClientSocketFactory.java
14998 java/rmi/server/RMIFailureHandler.java
14999 java/rmi/server/RMIServerSocketFactory.java
15000 java/rmi/server/RMISocketFactory.java
15001 java/rmi/server/RemoteCall.java
15002 java/rmi/server/RemoteObject.java
15003 java/rmi/server/RemoteRef.java
15004 java/rmi/server/RemoteServer.java
15005 java/rmi/server/RemoteStub.java
15006 java/rmi/server/ServerCloneException.java
15007 java/rmi/server/ServerNotActiveException.java
15008 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
15009 java/rmi/server/SkeletonMismatchException.java
15010 java/rmi/server/SkeletonNotFoundException.java
15011 java/rmi/server/SocketSecurityException.java
15012 java/rmi/server/UID.java
15013 java/rmi/server/UnicastRemoteObject.java
15014 java/rmi/server/Unreferenced.java
15015 java/security/AccessControlContext.java
15016 java/security/AccessControlException.java
15017 java/security/AccessController.java
15018 java/security/AlgorithmParameterGenerator.java
15019 java/security/AlgorithmParameterGeneratorSpi.java
15020 java/security/AlgorithmParameters.java
15021 java/security/AlgorithmParametersSpi.java
15022 java/security/AllPermission.java
15023 java/security/BasicPermission.java
15024 java/security/Certificate.java java/security/CodeSource.java
15025 java/security/DigestException.java
15026 java/security/DigestInputStream.java
15027 java/security/DigestOutputStream.java
15028 java/security/DomainCombiner.java
15029 java/security/DummyKeyPairGenerator.java
15030 java/security/DummyMessageDigest.java
15031 java/security/DummySignature.java
15032 java/security/GeneralSecurityException.java
15033 java/security/Guard.java java/security/GuardedObject.java
15034 java/security/Identity.java java/security/IdentityScope.java
15035 java/security/InvalidAlgorithmParameterException.java
15036 java/security/InvalidKeyException.java
15037 java/security/InvalidParameterException.java
15038 java/security/Key.java java/security/KeyException.java
15039 java/security/KeyFactory.java java/security/KeyFactorySpi.java
15040 java/security/KeyManagementException.java
15041 java/security/KeyPair.java java/security/KeyPairGenerator.java
15042 java/security/KeyPairGeneratorSpi.java
15043 java/security/KeyStore.java
15044 java/security/KeyStoreException.java
15045 java/security/KeyStoreSpi.java
15046 java/security/MessageDigest.java
15047 java/security/MessageDigestSpi.java
15048 java/security/NoSuchAlgorithmException.java
15049 java/security/NoSuchProviderException.java
15050 java/security/Permission.java
15051 java/security/PermissionCollection.java
15052 java/security/Permissions.java java/security/Policy.java
15053 java/security/Principal.java java/security/PrivateKey.java
15054 java/security/PrivilegedAction.java
15055 java/security/PrivilegedActionException.java
15056 java/security/PrivilegedExceptionAction.java
15057 java/security/ProtectionDomain.java
15058 java/security/Provider.java
15059 java/security/ProviderException.java
15060 java/security/PublicKey.java
15061 java/security/SecureClassLoader.java
15062 java/security/SecureRandom.java
15063 java/security/SecureRandomSpi.java java/security/Security.java
15064 java/security/SecurityPermission.java
15065 java/security/Signature.java
15066 java/security/SignatureException.java
15067 java/security/SignatureSpi.java
15068 java/security/SignedObject.java java/security/Signer.java
15069 java/security/UnrecoverableKeyException.java
15070 java/security/UnresolvedPermission.java
15071 java/security/acl/Acl.java java/security/acl/AclEntry.java
15072 java/security/acl/AclNotFoundException.java
15073 java/security/acl/Group.java
15074 java/security/acl/LastOwnerException.java
15075 java/security/acl/NotOwnerException.java
15076 java/security/acl/Owner.java java/security/acl/Permission.java
15077 java/security/cert/CRL.java
15078 java/security/cert/CRLException.java
15079 java/security/cert/Certificate.java
15080 java/security/cert/CertificateEncodingException.java
15081 java/security/cert/CertificateException.java
15082 java/security/cert/CertificateExpiredException.java
15083 java/security/cert/CertificateFactory.java
15084 java/security/cert/CertificateFactorySpi.java
15085 java/security/cert/CertificateNotYetValidException.java
15086 java/security/cert/CertificateParsingException.java
15087 java/security/cert/X509CRL.java
15088 java/security/cert/X509CRLEntry.java
15089 java/security/cert/X509Certificate.java
15090 java/security/cert/X509Extension.java
15091 java/security/interfaces/DSAKey.java
15092 java/security/interfaces/DSAKeyPairGenerator.java
15093 java/security/interfaces/DSAParams.java
15094 java/security/interfaces/DSAPrivateKey.java
15095 java/security/interfaces/DSAPublicKey.java
15096 java/security/interfaces/RSAKey.java
15097 java/security/interfaces/RSAPrivateCrtKey.java
15098 java/security/interfaces/RSAPrivateKey.java
15099 java/security/interfaces/RSAPublicKey.java
15100 java/security/spec/AlgorithmParameterSpec.java
15101 java/security/spec/DSAParameterSpec.java
15102 java/security/spec/DSAPrivateKeySpec.java
15103 java/security/spec/DSAPublicKeySpec.java
15104 java/security/spec/EncodedKeySpec.java
15105 java/security/spec/InvalidKeySpecException.java
15106 java/security/spec/InvalidParameterSpecException.java
15107 java/security/spec/KeySpec.java
15108 java/security/spec/PKCS8EncodedKeySpec.java
15109 java/security/spec/RSAKeyGenParameterSpec.java
15110 java/security/spec/RSAPrivateCrtKeySpec.java
15111 java/security/spec/RSAPrivateKeySpec.java
15112 java/security/spec/RSAPublicKeySpec.java
15113 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
15114 java/sql/BatchUpdateException.java java/sql/Blob.java
15115 java/sql/CallableStatement.java java/sql/Clob.java
15116 java/sql/Connection.java java/sql/DataTruncation.java
15117 java/sql/DatabaseMetaData.java java/sql/Date.java
15118 java/sql/Driver.java java/sql/DriverManager.java
15119 java/sql/DriverPropertyInfo.java
15120 java/sql/PreparedStatement.java java/sql/Ref.java
15121 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
15122 java/sql/SQLData.java java/sql/SQLException.java
15123 java/sql/SQLInput.java java/sql/SQLOutput.java
15124 java/sql/SQLWarning.java java/sql/Statement.java
15125 java/sql/Struct.java java/sql/Time.java
15126 java/sql/Timestamp.java java/sql/Types.java
15127 java/text/Annotation.java
15128 java/text/AttributedCharacterIterator.java
15129 java/text/AttributedString.java
15130 java/text/AttributedStringIterator.java
15131 java/text/BreakIterator.java java/text/CharacterIterator.java
15132 java/text/ChoiceFormat.java java/text/Collator.java
15133 java/text/DateFormat.java java/text/DateFormatSymbols.java
15134 java/text/DecimalFormat.java
15135 java/text/DecimalFormatSymbols.java
15136 java/text/FieldPosition.java java/text/Format.java
15137 java/text/MessageFormat.java java/text/NumberFormat.java
15138 java/text/ParseException.java java/text/ParsePosition.java
15139 java/text/SimpleDateFormat.java
15140 java/text/StringCharacterIterator.java
15141 java/util/AbstractCollection.java java/util/AbstractList.java
15142 java/util/AbstractMap.java
15143 java/util/AbstractSequentialList.java
15144 java/util/AbstractSet.java java/util/ArrayList.java
15145 java/util/Arrays.java java/util/BasicMapEntry.java
15146 java/util/BitSet.java java/util/Calendar.java
15147 java/util/Collection.java java/util/Collections.java
15148 java/util/Comparator.java
15149 java/util/ConcurrentModificationException.java
15150 java/util/Date.java java/util/Dictionary.java
15151 java/util/EmptyStackException.java java/util/Enumeration.java
15152 java/util/EventListener.java java/util/EventObject.java
15153 java/util/GregorianCalendar.java java/util/HashMap.java
15154 java/util/HashSet.java java/util/Hashtable.java
15155 java/util/IdentityHashMap.java java/util/Iterator.java
15156 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
15157 java/util/LinkedList.java java/util/List.java
15158 java/util/ListIterator.java java/util/ListResourceBundle.java
15159 java/util/Locale.java java/util/Map.java
15160 java/util/MissingResourceException.java
15161 java/util/NoSuchElementException.java
15162 java/util/Observable.java java/util/Observer.java
15163 java/util/Properties.java java/util/PropertyPermission.java
15164 java/util/PropertyResourceBundle.java java/util/Random.java
15165 java/util/RandomAccess.java java/util/ResourceBundle.java
15166 java/util/Set.java java/util/SimpleTimeZone.java
15167 java/util/SortedMap.java java/util/SortedSet.java
15168 java/util/Stack.java java/util/StringTokenizer.java
15169 java/util/TimeZone.java java/util/Timer.java
15170 java/util/TimerTask.java
15171 java/util/TooManyListenersException.java
15172 java/util/TreeMap.java java/util/TreeSet.java
15173 java/util/Vector.java java/util/WeakHashMap.java
15174 java/util/jar/Attributes.java java/util/jar/JarEntry.java
15175 java/util/jar/JarException.java java/util/jar/JarFile.java
15176 java/util/jar/JarInputStream.java
15177 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
15178 java/util/zip/Adler32.java java/util/zip/CRC32.java
15179 java/util/zip/CheckedInputStream.java
15180 java/util/zip/CheckedOutputStream.java
15181 java/util/zip/Checksum.java
15182 java/util/zip/DataFormatException.java
15183 java/util/zip/Deflater.java
15184 java/util/zip/DeflaterOutputStream.java
15185 java/util/zip/GZIPInputStream.java
15186 java/util/zip/GZIPOutputStream.java
15187 java/util/zip/Inflater.java
15188 java/util/zip/InflaterInputStream.java
15189 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
15190 java/util/zip/ZipException.java java/util/zip/ZipFile.java
15191 java/util/zip/ZipInputStream.java
15192 java/util/zip/ZipOutputStream.java
15193 javax/naming/BinaryRefAddr.java
15194 javax/naming/InvalidNameException.java javax/naming/Name.java
15195 javax/naming/NamingException.java javax/naming/RefAddr.java
15196 javax/naming/StringRefAddr.java: Add license clarification.
15198 2002-01-22 Tom Tromey <tromey@redhat.com>
15200 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
15201 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
15202 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
15204 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
15205 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
15206 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
15207 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
15208 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
15209 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
15210 * java/awt/peer/FontPeer.java: Replace with Classpath version.
15211 * java/awt/peer/FramePeer.java: Replace with Classpath version.
15212 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
15213 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
15214 * java/awt/peer/ListPeer.java: Replace with Classpath version.
15215 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
15216 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
15217 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
15218 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
15219 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
15220 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
15221 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
15222 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
15223 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
15224 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
15225 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
15226 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
15227 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
15228 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
15229 (minimumSize, preferredSize, reshape): Likewise.
15230 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
15231 getColorModel): New methods.
15232 * java/awt/PopupMenu.java: Merged with Classpath.
15233 * java/awt/MenuBar.java: Merged with Classpath.
15234 * java/awt/SystemColor.java: Replace with Classpath version.
15235 * java/awt/Panel.java: Merged with Classpath.
15236 * java/awt/PaintContext.java: Updated copyright.
15237 * java/awt/MenuShortcut.java: Merged with Classpath.
15238 * java/awt/MenuContainer.java: Merged with Classpath.
15239 * java/awt/Menu.java: Merged with Classpath.
15240 * java/awt/MediaEntry.java: New file from Classpath.
15241 * java/awt/MediaTracker.java: New file from Classpath.
15242 * java/awt/List.java: Merged with Classpath version.
15243 * java/awt/Insets.java: Merged with Classpath version.
15244 * java/awt/ImageMediaEntry.java: New file from Classpath.
15245 * java/awt/Image.java: Replaced with Classpath version.
15246 * java/awt/FontMetrics.java: Merged with Classpath version.
15247 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
15249 * java/awt/Font.java: Merged with Classpath version.
15250 * java/awt/Dialog.java: Merged with Classpath version.
15251 * java/awt/Color.java: Merged with Classpath version.
15252 * java/awt/Choice.java: Merged with Classpath version.
15253 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
15254 * java/awt/Adjustable.java: Replace with Classpath version.
15255 * java/awt/MenuItem.java (paramString): Don't include class name
15256 or brackets. Call superclass paramString.
15257 * java/awt/MenuComponent.java (toString): Call paramString.
15258 (paramString): Compute string; don't call toString.
15259 * java/awt/Label.java (paramString): Don't include class name
15260 or brackets. Call superclass paramString.
15261 * java/awt/Checkbox.java (paramString): Don't include class name
15262 or brackets. Call superclass paramString.
15263 * java/awt/Button.java (paramString): Don't include class name or
15264 brackets. Call superclass paramString.
15265 * java/awt/MenuComponent.java (getTreeLock): Now protected.
15267 2002-01-20 Andreas Schwab <schwab@suse.de>
15269 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
15270 function and of parameter recv_func to ssize_t, as specified by
15273 2002-01-19 Per Bothner <per@bothner.com>
15275 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
15276 uncompressed_size in readiness for next entry.
15278 2002-01-18 Tom Tromey <tromey@redhat.com>
15280 * java/net/natPlainSocketImpl.cc: Include
15281 IllegalArgumentException.h.
15282 (_Jv_recv): New template function.
15283 (BooleanClass): Removed.
15284 (read): Use _Jv_recv.
15285 (setOption): Use Boolean::class$. Throw exception if object is
15286 not Boolean or Integer.
15288 2002-01-17 Tom Tromey <tromey@redhat.com>
15290 * java/awt/MenuComponent.java: Merged with Classpath.
15291 * java/awt/MenuItem.java: Merged with Classpath.
15292 * java/awt/Button.java: Merged with Classpath.
15294 * java/awt/ActiveEvent.java: Updated copyright.
15296 * java/awt/AWTError.java: Replaced with Classpath version.
15297 * java/awt/AWTException.java: Replaced with Classpath version.
15298 * java/awt/IllegalComponentStateException.java: Replaced with
15301 2002-01-16 Tom Tromey <tromey@redhat.com>
15303 * java/awt/Canvas.java (serialVersionUID): New constant.
15304 Updated copyright. Added javadoc from Classpath.
15305 * java/awt/ItemSelectable.java: Replaced with Classpath version.
15307 * java/awt/CheckboxGroup.java: Merged with Classpath.
15308 * java/awt/Checkbox.java: Merged with Classpath.
15310 * java/awt/Dimension.java: Updated copyright. Added javadoc from
15312 * java/awt/Point.java: Updated copyright.
15314 * java/awt/Point.java (toString): Use getClass().getName().
15317 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
15319 (hash): Correctly compute initial value for `h'.
15321 * java/awt/Label.java: Merged with Classpath.
15323 2002-01-15 Tom Tromey <tromey@redhat.com>
15325 * java/awt/AWTPermission.java: Updated copyright.
15327 * java/awt/LayoutManager2.java: Merged with Classpath.
15328 * java/awt/LayoutManager.java: Merged with Classpath.
15329 * java/awt/GridLayout.java: Updated copyright and javadoc.
15330 (getSize): Use `parent.ncomponents'. Handle insets.
15331 (layoutContainer): Use `parent.ncomponents'. Handle case where
15332 there are fewer children than columns. Correctly compute size of
15333 each cell in the grid. Handle case where there isn't enough
15335 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
15337 (gotoComponent): Use parent.ncomponents. Ensure child exists
15338 before calling setVisible() on it. Last item is `num - 1', not
15340 (layoutContainer): Hoist invariants out of loop.
15342 Start of AWT merge with Classpath:
15343 * Makefile.in: Rebuilt.
15344 * Makefile.am (awt_java_source_files): Reference files in
15345 gnu/java/awt, not gnu/gcj/awt.
15346 * java/awt/image/BufferedImage.java: Updated copyright.
15347 * java/awt/image/ComponentColorModel.java: Updated copyright.
15348 * java/awt/image/ComponentSampleModel.java: Updated copyright.
15349 * java/awt/image/DataBuffer.java: Updated copyright.
15350 * java/awt/image/DataBufferByte.java: Updated copyright.
15351 * java/awt/image/DataBufferInt.java: Updated copyright.
15352 * java/awt/image/DataBufferUShort.java: Updated copyright.
15353 * java/awt/image/IndexColorModel.java: Updated copyright.
15354 * java/awt/image/PackedColorModel.java: Updated copyright.
15355 * java/awt/image/Raster.java: Updated copyright.
15356 * java/awt/image/RasterOp.java: Updated copyright.
15357 * java/awt/image/SampleModel.java: Updated copyright.
15358 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
15359 * java/awt/image/WritableRaster.java: Updated copyright.
15360 * java/awt/color/ColorSpace.java: Updated copyright.
15361 * java/awt/color/ICC_ColorSpace.java: Updated copyright
15362 * java/awt/color/ICC_Profile.java: Updated copyright.
15363 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
15364 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
15365 * java/awt/event/HierarchyEvent.java: Updated copyright.
15366 * java/awt/event/HierarchyListener.java: Updated copyright.
15367 * java/awt/geom/AffineTransform.java: Updated copyright.
15368 * java/awt/geom/Dimension2D.java: Updated copyright.
15369 * java/awt/geom/Ellipse2D.java: Updated copyright.
15370 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
15371 * java/awt/geom/Line2D.java: Updated copyright.
15372 * java/awt/geom/NoninvertibleTransformException.java: Updated
15374 * java/awt/geom/PathIterator.java: Updated copyright.
15375 * java/awt/geom/Point2D.java: Updated copyright.
15376 * java/awt/geom/Rectangle2D.java: Updated copyright.
15377 * java/awt/geom/RectangularShape.java: Updated copyright.
15378 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
15379 * java/awt/Toolkit.java: Updated import for file moves.
15380 * java/awt/Rectangle.java: Updated copyright; added javadoc from
15382 (hashCode): New method from Classpath.
15383 * java/awt/Graphics2D.java: Updated copyright.
15384 * java/awt/Transparency.java: Updated copyright.
15385 * java/awt/Paint.java: Updated copyright.
15386 * java/awt/Graphics.java: New version from Classpath.
15387 * java/awt/EventDispatchThread.java: Updated copyright.
15388 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
15390 (gotoComponent): Wrap around on next/previous.
15391 * gnu/gcj/awt/BitMaskExtent.java: Removed.
15392 * gnu/gcj/awt/Buffers.java: Removed.
15393 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
15394 * gnu/gcj/awt/GLightweightPeer.java: Removed.
15395 * gnu/java/awt/BitMaskExtent.java: Added.
15396 * gnu/java/awt/Buffers.java: Added.
15397 * gnu/java/awt/ComponentDataBlitOp.java: Added.
15398 * gnu/java/awt/GLightweightPeer.java: Added.
15399 * java/awt/geom/Line2D.java (clone): Ignore
15400 CloneNotSupportedException.
15401 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
15402 * java/awt/Frame.java: Merged with Classpath.
15403 * java/awt/RenderingHints.java: Copyright update.
15404 * java/awt/Paint.java: Copyright update.
15405 * java/awt/image/DirectColorModel.java: Merged with Classpath.
15406 * java/awt/image/ColorModel.java: Merged with Classpath.
15407 * java/awt/Window.java (show): New Implementation from Classpath.
15408 (isShowing): Use super.isShowing().
15409 * java/awt/EventQueue.java: Merged with Classpath.
15410 * java/awt/AWTEventMulticaster.java (save): Throw
15412 (saveInternal): Likewise.
15413 * java/awt/AWTEvent.java: Now implements Serializable.
15414 * java/awt/Event.java: Copyright update.
15415 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
15416 * java/awt/image/BufferedImage.java: Copyright update.
15417 * java/awt/GraphicsConfiguration.java: Copyright update.
15418 * java/awt/Component.java: (addNotify): Don't call
15419 addNotifyContainerChildren().
15420 (addNotifyContainerChildren): Removed.
15421 (setPeer): New method from Classpath.
15422 (setTreeLock): Likewise.
15423 (setVisible): Rewrote.
15426 (validate): Set `valid'.
15427 (checkImage(Image,ImageObserver)): Implementation from Classpath.
15428 (createImage(ImageProducer)): Likewise.
15429 (prepareImage): Likewise.
15430 * java/awt/Container.java (addImpl): Handle case where constraint
15431 is not a String. Post event via system event queue.
15432 (remove): Post event via system event queue.
15433 (validateTree): Only validate child if it is invalid.
15434 (getAlignmentX): Call super method as default.
15435 (getAlignmentY): Likewise.
15436 (addContainerListener): Now synchronized.
15437 (removeContainerListener): Likewise.
15438 (addNotifyContainerChildren): Now private.
15439 * java/awt/ComponentOrientation.java: Updated copyright. Added
15441 * java/awt/FlowLayout.java (serialVersionUID): New field.
15442 (setAlignment): Better exception message.
15443 (layoutContainer): Don't compute component's preferred size unless
15444 we're going to use it.
15445 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
15446 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
15447 (firstLine, lastLine, firstItem, lastItem): New fields.
15448 (addLayoutComponent): Handle case where constraints is null.
15449 Also, handle relative locations.
15450 (removeLayoutComponent): Handle relative locations.
15451 (MIN, MAX, PREF): New constants.
15452 (calcCompSize): New method.
15453 (calcSize): New method.
15454 (minimumLayoutSize): Use it.
15455 (preferredLayoutSize): Likewise.
15456 (maximumLayoutSize): Likewise.
15457 (toString): Include more information.
15458 (setBounds): New method.
15459 (layoutContainer): Use libgcj implementation; extended to handle
15460 relative locations.
15462 2002-01-15 Tom Tromey <tromey@redhat.com>
15464 * java/lang/Float.java (equals): Preserve old code.
15465 * java/lang/Double.java (equals): Preserve old code.
15467 2002-01-15 Eric Blake <ebb9@email.byu.edu>
15469 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
15470 * java/lang/Float.java (equals, compare): Ditto.
15472 2002-01-13 Mark Wielaard <mark@klomp.org>
15474 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
15475 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
15476 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
15477 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
15479 2002-01-11 Mark Wielaard <mark@klomp.org>
15481 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
15482 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
15484 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
15485 * java/net/Socket.java: Merge with Classpath.
15486 * java/net/ServerSocket.java: Likewise.
15488 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
15490 * interpret.cc (NULLARRAYCHECK): New macro.
15491 (SAVE_PC): Just store `pc'.
15492 (find_exception): Subtract one from `pc' here.
15493 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
15494 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
15495 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
15496 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
15497 don't call SAVE_PC.
15498 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
15501 2002-01-11 Tom Tromey <tromey@redhat.com>
15503 * java/lang/natSystem.cc (init_properties): Only look for default
15504 locale if LC_MESSAGES is defined.
15505 * aclocal.m4, configure, include/config.h.in: Rebuilt.
15506 * configure.in: Call AM_LC_MESSAGES.
15507 * acinclude.m4 (AM_LC_MESSAGES): New macro.
15509 2002-01-10 Tom Tromey <tromey@redhat.com>
15511 For PR libgcj/5303:
15512 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
15513 --version. Recognize GNU-style long options. Print GNU-style
15515 (usage): Print GNU-style help. Exit with status 0.
15516 (error): New method.
15517 (run): Print error message if no class names found.
15518 (main): Don't print usage on error.
15520 2002-01-09 Tom Tromey <tromey@redhat.com>
15522 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
15524 (help, version): Use println(), not println("").
15526 For PR libgcj/5303:
15527 * gnu/gcj/convert/Convert.java (error): Program is called
15528 `jv-convert'. Print GNU-style message. Exit with status 1, not
15530 (main): Handle --help and --version.
15531 (help): New method.
15532 (version): Likewise.
15534 2002-01-08 Tom Tromey <tromey@redhat.com>
15536 * Makefile.in: Rebuilt.
15537 * Makefile.am (ordinary_java_source_files): Added new files.
15538 * gnu/java/locale/LocaleInformation.java: Extend
15539 LocaleInformation_en.
15540 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
15541 and time/date formats.
15542 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
15544 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
15545 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
15546 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
15547 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
15548 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
15549 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
15550 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
15551 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
15552 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
15553 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
15554 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
15555 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
15556 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
15557 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
15558 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
15559 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
15560 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
15561 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
15562 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
15563 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
15564 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
15565 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
15566 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
15567 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
15568 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
15569 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
15570 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
15571 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
15572 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
15573 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
15574 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
15575 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
15576 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
15577 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
15578 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
15579 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
15580 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
15581 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
15582 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
15583 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
15584 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
15585 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
15586 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
15587 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
15588 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
15589 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
15590 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
15591 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
15592 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
15593 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
15594 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
15595 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
15596 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
15597 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
15598 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
15599 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
15600 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
15601 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
15602 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
15603 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
15604 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
15605 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
15606 * gnu/java/locale/LocaleInformation_es_US.java: New file.
15607 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
15608 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
15609 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
15610 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
15611 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
15612 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
15613 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
15614 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
15615 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
15616 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
15617 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
15618 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
15619 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
15620 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
15621 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
15622 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
15623 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
15624 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
15625 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
15626 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
15627 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
15628 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
15629 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
15630 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
15631 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
15632 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
15633 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
15634 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
15635 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
15636 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
15637 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
15638 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
15639 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
15640 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
15641 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
15642 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
15643 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
15644 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
15645 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
15646 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
15647 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
15648 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
15649 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
15650 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
15651 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
15652 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
15653 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
15654 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
15655 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
15656 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
15657 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
15658 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
15659 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
15660 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
15661 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
15662 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
15663 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
15664 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
15665 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
15666 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
15667 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
15668 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
15669 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
15670 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
15671 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
15672 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
15673 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
15675 For PR libgcj/5031:
15676 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
15677 choose default locale.
15679 * Makefile.in: Rebuilt.
15680 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
15682 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
15684 * java/net/natPlainSocketImpl.cc: Added timeout handling for
15686 (close): New function closes the socket.
15687 (write): New functions for output to socket.
15688 (read): New functions for reading from socket.
15689 * java/net/PlainSocketImpl.java: Glue for new timeout
15691 (write): Call the native impl.
15693 (getInputStream): Get a stream to read from the socket.
15694 (getOutputStream): Get a stream to write to the socket.
15696 2002-01-08 Tom Tromey <tromey@redhat.com>
15698 * resolve.cc (_Jv_PrepareClass): Enable verifier.
15700 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
15702 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
15703 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
15705 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
15707 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
15708 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
15709 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
15710 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
15711 insn_bastore, insn_castore, insn_sastore]: Use it.
15712 (continue1) [insn_arraylength]: Check for null array.
15714 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
15716 * configure, include/config.h.in: Rebuilt.
15717 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
15718 * configure.in: Call AC_STRUCT_TIMEZONE.
15720 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
15722 * configure.host: Disable the interpreter for Darwin.
15724 2002-01-04 Tom Tromey <tromey@redhat.com>
15726 * java/lang/Thread.java (stop): No longer synchronized.
15729 2002-01-02 Tom Tromey <tromey@redhat.com>
15731 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
15734 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
15736 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
15737 PPC Darwin, not for all of Darwin.