1 2003-09-04 Tom Tromey <tromey@redhat.com>
3 * configure.host: Removed erroneous comment.
5 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
6 lvalue cast; use correct rvalue cast.
8 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
10 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
11 and height arguments to GtkWindowPeer.create method call.
12 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
13 (create(int,int,int)): New method.
14 (create(int)): Add call to new create method.
15 (create()): Add width and height arguments to create method
17 (GtkWindowPeer): Remove call to setBounds.
18 * java/awt/Frame.java (Frame(String)): Initialize visible field
20 (Frame(GraphicsConfiguration)): Likewise.
21 (Frame(String,GraphicsConfiguration)): Likewise.
22 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
23 Add width and height parameters. Call
24 gtk_window_set_default_size.
25 (connectHooks): Remove unused name variable.
26 (static setBounds): Call gtk_window_resize not
28 (setBounds): Remove unused nchildren variable.
30 2003-08-31 Ingo Proetel <proetel@aicas.com>
32 * java/util/logging/Logger.java: provide class and method information
33 * java/util/logging/LogManager.java: create handlers
34 * java/util/logging/SimpleFormatter.java: print souceClassName and
37 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
39 * win32.cc: fixed tab, indentation and whitespace
42 added includes java/lang/UnsupportedOperationException.h,
43 java/io/IOException.h, java/net/SocketException.h
44 (WSAEventWrapper): class implementation
45 (_Jv_WinStrError): implemented both overloads
46 (_Jv_ThrowIOException): implemented both overloads
47 (_Jv_ThrowSocketException): implemented both overloads
48 (_Jv_select): implemented
49 * include/win32.h: fixed tab, indentation and whitespace
51 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
53 (WSAEventWrapper): added class declaration
54 (_Jv_WinStrError): added both overload declarations
55 (_Jv_ThrowIOException): added both overload declarations
56 (_Jv_ThrowSocketException): added both overload declarations
57 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
58 (_Jv_select): added declaration
60 (_Jv_connect): removed
67 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
68 whitespace inconsistencies
69 replaced <windows.h> #include with <platform.h>
71 (testCanUseGetHandleInfo): new function which tests whether Win32
72 GetHandleInformation() call can be used with console buffer handles
73 (only supported on >=WinNT 5.0)
74 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
75 (valid): rewrote implementation using GetHandleInformation()
76 (sync): changed exception throwing to use error string and exception
77 helper methods declared in include/win32.h
83 (getFilePointer): likewise
85 * java/io/natFileWin32.cc: fixed tab, indentation and
86 whitespace inconsistencies
87 replaced <windows.h> #include with <platform.h>
89 (_access): use JV_TEMP_UTF_STRING
91 (performMkDir): use JV_TEMP_UTF_STRING
92 (performRenameTo): likewise
93 (performDelete): likewise
94 (performCreate): likewise
95 (performSetReadOnly): likewise
96 (performSetLastModified): likewise
97 * java/lang/natWin32Process.cc: fixed tab, indentation and
98 whitespace inconsistencies
99 replaced <windows.h> #include with <platform.h>
100 removed includes gcj/cni.h, jvm.h
101 (new_string): removed
102 (startProcess): use JV_TEMP_UTF_STRING,
103 changed exception throwing to use error string and exception
104 helper methods declared in include/win32.h
105 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
106 whitespace inconsistencies
107 replaced <windows.h> #include with <platform.h>
108 removed jvm.h include
109 removed DISABLE_JAVA_NET conditional code
110 removed POSIX conditional code not relevant to Win32
111 (aton): use JV_TEMP_UTF_STRING
112 removed POSIX conditional code not relevant to Win32
114 (getLocalHostName): likewise
115 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
116 whitespace inconsistencies
117 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
118 removed DISABLE_JAVA_NET conditional code
119 removed POSIX conditional code not relevant to Win32
120 (winsock2GetRealNetworkInterfaces): new function to compute network
121 interfaces via Winsock2 API
122 (determineGetRealNetworkInterfacesFN): new function for returning
123 a function pointer to the function used to compute network interfaces.
124 (getRealNetworkInterfaces): implemented
125 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
126 whitespace inconsistencies
127 removed gcj/cni.h include
128 removed DISABLE_JAVA_NET conditional code
129 removed POSIX conditional code not relevant to Win32
130 changed net POSIXisms to Win32isms
131 replaced _Jv socket-related calls with their real Win32 equivalents
132 changed exception throwing to use error string and exception
133 helper methods declared in include/win32.h
134 (peekData): implemented timeout support
136 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
137 whitespace inconsistencies
138 removed gcj/cni.h and gcj/javaprims.h includes
139 removed DISABLE_JAVA_NET conditional code
140 removed POSIX conditional code not relevant to Win32
141 changed net POSIXisms to Win32isms
142 replaced _Jv socket-related calls with their real Win32
144 changed exception throwing to use error string and exception
145 helper methods declared in include/win32.h
146 (throwConnectException): helper function for connect()
147 (connect): implemented timeout support
149 (doRead): new helper function common to both read() method overloads,
150 includes timeout support
151 (read): implemented both overloads in terms of doRead()
152 (available): implemented using ioctlsocket()
154 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
156 * java/net/natInetAddressWin32.cc,
157 java/net/natNetworkInterfaceWin32.cc,
158 java/net/natPlainDatagramSocketImplWin32.cc,
159 java/net/natPlainSocketImplWin32.cc:
160 Readded code enclosed in DISABLE_JAVA_NET defines
161 in preparation for MinGW cleanup / networking
164 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
166 * Makefile.am: Fixed problems with parallel makes.
167 (all_java_class_files): Readded definition.
168 (all_java_class_files): New target which depends on
169 libgcj-@gcc_version@.jar
170 * Makefile.in: Rebuilt
172 2003-08-28 Tom Tromey <tromey@redhat.com>
174 * Makefile.in: Rebuilt.
175 * Makefile.am (ordinary_java_source_files): Added new files.
176 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
178 * java/net/URLClassLoader.java (findClass): Don't use
179 findURLResource. Use loader's getClass method.
180 (URLLoader.getClass): New method.
181 (addURL): Handle `gcjlib' URLs.
182 (SoURLLoader): New class.
183 (SoResource): Likewise.
184 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
185 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
186 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
187 (_Jv_RegisterCoreHook): Declare.
188 (_Jv_FindCore): Declare.
189 * gnu/gcj/runtime/SharedLibHelper.java: New file.
190 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
192 (core_hook): New function.
193 (struct SharedLibDummy) [saved_core]: New field.
194 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
195 (register_hook): Set protection domain and class loader on new
197 (finalize): Free core chain.
198 * gnu/gcj/Core.java (Core): New constructor.
199 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
201 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
202 (_Jv_create_core): New function.
204 (default_register_resource): New function.
205 (_Jv_RegisterCoreHook): New global.
206 (_Jv_RegisterResource): Use it.
207 (core_chain_struct): Removed.
208 (_Jv_FindCore): New function.
209 (_Jv_FreeCoreChain): New function.
211 2003-08-29 Michael Koch <konqueror@gmx.de>
213 * java/net/natInetAddressWin32.cc,
214 java/net/natNetworkInterfaceWin32.cc,
215 java/net/natPlainDatagramSocketImplWin32.cc,
216 java/net/natPlainSocketImplWin32.cc:
217 Removed code enclosed in DISABLE_JAVA_NET defines.
219 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
221 * Makefile.am: (write_entries_to_file) New parameterized
222 function for writing entries to a file one line at a time.
223 (all_java_class_files): Removed definition.
224 (.java.class) Removed.target.
225 (libgcj-@gcc_version@.jar): Changed dependency to
226 $(all_java_source_files); added compilation step which compiles
227 all changed source files in one pass.
228 (libgcj.la) Refactored to use write_entries_to_file.
229 (lib-gnu-awt-xlib.la) Likewise.
230 (install-data-local) Likewise.
231 (write-entries-to-file-check) New target which tests write_entries_to_file.
232 (all-recursive): Changed dependency from $(all_java_class_files)
233 to libgcj-@gcc_version@.jar
234 * Makefile.in: Rebuilt.
236 2003-08-26 Tom Tromey <tromey@redhat.com>
238 * java/lang/StrictMath.java: Typo fix.
239 * java/lang/Math.java: Typo fix.
241 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
243 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
244 of the removed Thread.
246 2003-08-26 Mark Wielaard <mark@klomp.org>
248 Reported by David Holmes <dholmes@dltech.com.au>.
249 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
250 Collections.synchronizedMap.
251 * java/lang/ThreadLocal.java (valueMap): Likewise.
253 2003-08-26 Mark Wielaard <mark@klomp.org>
255 * java/security/acl/Acl.java: Fix broken p tag.
256 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
257 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
258 * javax/swing/plaf/TreeUI.java: Likewise.
259 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
260 * java/util/Properties.java: Use the word umlaut, not ä in api
262 * java/util/PropertyResourceBundle.java: Likewise and add closing code
265 2003-08-26 Tom Tromey <tromey@redhat.com>
267 * Makefile.in: Rebuilt.
268 * Makefile.am: Removed all GNU-make-specific FIXME comments.
270 * java/lang/ref/Reference.java (get): Indentation fix.
271 (clear): Comment fix.
274 (referent): Likewise.
276 2003-08-26 Tom Tromey <tromey@redhat.com>
279 * java/lang/reflect/natArray.cc (set): Allow null as argument.
281 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
282 (ProxyData.getPackage): New method.
283 (ProxyData.getProxyData): Use package name, not Package.
284 (ClassFactory.ClassFactory): Updated.
286 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
287 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
288 * Makefile.in: re-generated.
289 * gnu/awt/j2d/IntegerGraphicsState.java
290 (ScreenCoupledImage): new interface.
291 (drawImage): detect ScreenCoupledImage instances.
292 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
293 * gnu/awt/xlib/XEventLoop.java
294 (createEvent): re-formatted, and rearranged to avoid null pointer.
295 * gnu/awt/xlib/XGraphics.java
296 (drawImage): added XOffScreenImage handling.
297 * gnu/awt/xlib/XOffScreenImage.java: new file.
298 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
299 * gnu/gcj/xlib/GC.java (copyArea): new native method.
300 * gnu/gcj/xlib/XAnyEvent.java
301 (TYPE_KEY_PRESS): new constant.
302 (TYPE_KEY_RELEASE): new constant.
303 (TYPE_MOTION_NOTIFY): new constant.
304 (TYPE_ENTER_NOTIFY): new constant.
305 (TYPE_LEAVE_NOTIFY): new constant.
306 (TYPE_FOCUS_IN): new constant.
307 (TYPE_FOCUS_OUT): new constant.
308 (TYPE_KEYMAP_NOTIFY): new constant.
309 (TYPE_GRAPHICS_EXPOSE): new constant.
310 (TYPE_NO_EXPOSE): new constant.
311 (TYPE_VISIBILITY_NOTIFY): new constant.
312 (TYPE_CREATE_NOTIFY): new constant.
313 (TYPE_DESTROY_NOTIFY): new constant.
314 (TYPE_MAP_REQUEST): new constant.
315 (TYPE_CONFIGURE_REQUEST): new constant.
316 (TYPE_GRAVITY_NOTIFY): new constant.
317 (TYPE_RESIZE_REQUEST): new constant.
318 (TYPE_CIRCULATE_NOTIFY): new constant.
319 (TYPE_CIRCULATE_REQUEST): new constant.
320 (TYPE_PROPERTY_NOTIFY): new constant.
321 (TYPE_SELECTION_CLEAR): new constant.
322 (TYPE_SELECTION_REQUEST): new constant.
323 (TYPE_SELECTION_NOTIFY): new constant.
324 (TYPE_COLORMAP_NOTIFY): new constant.
325 (TYPE_MAPPING_NOTIFY): new constant.
326 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
327 * gnu/gcj/xlib/natGC.cc (copyArea): new method
328 * java/awt/Component.java (createImage): changed to use peer method.
330 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
332 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
333 name, not XLFD, to native drawString.
334 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
335 Replace XLFD-based implementation with Pango-based
338 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
340 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
341 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
343 2003-08-21 David Daney <ddaney@avtrex.com>
345 Fix for PR libgcj/12013:
346 * java/lang/ref/natReference.cc (finalize_referred_to_object):
347 Check `cleared' field.
348 * java/lang/ref/Reference.java (copy): Updated comments.
349 (cleared): New field.
352 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
353 Thomas Fitzsimmons <fitzsim@redhat.com>
355 * Makefile.am (gtk_awt_peer_sources): Add
356 gnu/java/awt/peer/GLightweightPeer.java. Remove
357 gnu/java/awt/GLightweightPeer.java.
358 * gnu/java/awt/GLightweightPeer.java: Remove file.
359 * gnu/java/awt/peer/GLightweightPeer.java: New file.
360 * java/awt/Component.java (getToolkit): Add comment about
361 lightweight components.
362 * java/awt/Toolkit.java (createComponent): Return
363 gnu.java.awt.peer.GLightweightPeer.
365 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
367 * configure.in: Fix detection of gcj when building with newlib.
368 * configure: Regenerated.
370 2003-08-20 Graydon Hoare <graydon@redhat.com>
372 * jni.cc: Replace "cheating" pointer-casting code with
373 extract_from_jvalue<> template.
375 2003-08-20 Andrew Haley <aph@redhat.com>
377 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
378 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
379 (classAt): Break out class lookup function into getClass().
380 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
381 handlers when using -fno-assume-compiled.
383 2003-08-20 Tom Tromey <tromey@redhat.com>
385 Fix for PR libgcj/9125:
386 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
387 object outside of loop. Respect lib_control setting.
388 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
390 (lib_control): New field.
391 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
392 (VMClassLoader): Initialize new field.
394 * java/lang/ref/natReference.cc (finalize_referred_to_object):
395 Set `list->reference' to DELETED_REFERENCE when removing dead
397 (find_slot): Added an assert.
398 (DELETED_REFERENCE): New define.
399 (add_to_hash): Check for DELETED_REFERENCE.
400 (remove_from_hash): Just return if found slot isn't ours.
402 2003-08-19 Andrew Haley <aph@redhat.com>
404 * prims.cc (unblock_signal): New function.
405 (catch_segv): Use it.
406 (catch_fpe): Likewise.
408 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
411 * java/io/natFileDescriptorWin32.cc (open): Set create
412 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
413 Honor EXCL when openning with WRITE flag.
415 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
417 * include/jvm.h: New class _Jv_TempUTFString (helper class for
418 getting a temporary C string from a jstring)
419 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
420 but uses a stack buffer if the string length is less than 256
423 2003-08-18 Tom Tromey <tromey@redhat.com>
426 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
427 void. Throw VirtualMachineError if ffi fails. Initialize return
428 value. Added is_jni_call argument; only wrap exception if not a
429 JNI call. Use descriptive message if operation not supported.
430 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
432 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
433 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
435 (_Jv_JNI_CallAnyMethodA): Likewise.
436 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
437 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
439 2003-08-13 Tom Tromey <tromey@redhat.com>
441 * gij.cc (help): Document -? and -X.
443 2003-08-12 Graydon Hoare <graydon@redhat.com>
445 * java/awt/Font.java:
446 Stub out more recent API.
448 2003-08-12 Graydon Hoare <graydon@redhat.com>
450 * java/awt/Color.java (getAlpha):
451 Prevent sign-extended alpha values.
453 2003-08-12 Tom Tromey <tromey@redhat.com>
455 * gij.cc (main): Handle -? and -X.
457 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
459 * java/awt/Container.java
460 (getPreferredSize): Call preferredSize.
461 (preferredSize): Moved body of getPreferredSize here.
462 (getMinimumSize): Call minimumSize.
463 (minimumSize): Moved body of getMinimumSize here.
465 2003-08-11 Tom Tromey <tromey@redhat.com>
467 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
468 (postEvent): Removed FIXME comment.
469 (isDispatchThread): Documented.
470 (getCurrentEvent): New method.
471 (dispatchEvent): Set currentEvent and lastWhen.
472 (getMostRecentEventTime): Rewrote.
473 (invokeLater): Documented.
475 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
477 * java/io/PrintStream.java (print): Always flush if auto_flush is
478 set. Don't check for newline characters.
479 (write (int)): Implement without using a temporary array.
480 (write (byte[], int, int): Always flush if auto_flush is set. Don't
481 check for newline characters.
482 Fixes PR libgcj/11778.
484 2003-08-08 Andrew Haley <aph@redhat.com>
486 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
487 * Makefile.in: Rebuild.
488 * java/lang/natRuntime.cc (insertSystemProperties): Add
489 "sun.boot.class.path".
491 2003-08-07 Andrew Haley <aph@redhat.com>
493 * java/io/PrintStream.java: Don't crash on a null string.
495 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
497 * configure.in: Don't initialize GCINCS to boehm-gc/include.
498 * configure: Regenerate.
500 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
502 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
503 SocketImpl. Update Javadoc.
504 (bind): Call close() not impl.close() in event of exception.
506 Remove superfluous null checks throughout.
507 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
508 Don't create an extra socket. Fix for PR libgcj/10868.
509 (bind): Clean up exception handling.
510 Remove superfluous null checks throughout.
512 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
513 Bryce McKinlay <bryce@mckinlay.net.nz>
515 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
516 ready-to-write argument to _Jv_Select. Reset the socket back to
517 non-blocking state after connecting.
518 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
519 Throw SocketTimeoutException not InterruptedIOException.
520 (read): Throw SocketTimeoutException not InterruptedIOException.
522 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
524 * java/lang/Thread.java (Thread): Check for null "name" from
525 start of private constructor, not after calling the private
528 2003-08-06 Tom Tromey <tromey@redhat.com>
530 * java/io/FilePermission.java (equals): Use correct index for
531 last character of path.
533 2003-08-06 Alan Modra <amodra@bigpond.net.au>
535 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
536 * configure.in: Compare with_cross_host to build_alias, not build.
537 * aclocal.m4: Regenerate.
538 * configure: Regenerate.
540 2003-08-05 Tom Tromey <tromey@redhat.com>
542 Fix for PR libgcj/11779:
543 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
546 * java/lang/reflect/Method.java: Updated status comment.
547 Imported javadoc from Classpath and re-ordered methods.
548 * java/lang/reflect/Constructor.java: Reindented. Updated
549 status comment. Imported javadoc from Classpath and re-ordered
552 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
554 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
555 Add keyLocation parameter.
556 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
558 (paramString): Generate keyChar string according to keyChar, not
560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
561 (state_to_awt_mods): Handle ALT key.
562 (keyevent_state_to_awt_mods): New function.
563 (get_first_keyval_from_keymap): New function.
564 (keysym_to_awt_keycode): Get virtual key code from keymap.
565 Handle missing VK_ values.
566 (keysym_to_awt_keylocation): New function.
567 (keyevent_to_awt_keychar): New function.
568 (generates_key_typed_event): Handle non-text-component case.
569 Handle GDK_KP_Delete and GDK_KP_Enter.
570 (awt_event_handler): Call new functions to get postKeyEvent
572 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
573 Update postKeyEvent method signature.
574 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
577 2003-08-05 Matthias Klose <doko@debian.org>
579 * aclocal.m4: check for libart-config binary
580 under the name libart2-config as well.
581 * configure: regenerated.
583 2003-08-04 David P Grove <groved@us.ibm.com>
585 * java/text/DecimalFormat.java (format): avoid ArithmeticException
586 when groupingSize is 0.
589 2003-08-04 Matthias Klose <doko@debian.org>
591 * libart.m4: check for libart-config binary
592 under the name libart2-config as well.
593 * configure, aclocal.m4: regenerated.
595 2003-08-02 Michael Koch <konqueror@gmx.de>
597 * java/nio/ByteBufferImpl.java
598 (getChar): Check remaining bytes, fixed comment about endianess.
600 (getShort): Likewise.
601 (putShort): Likewise.
602 (getInt): Check remaining bytes, fixed conversion, fixed comment about
607 (getFloat): Likewise.
608 (putFloat): Likewise.
609 (getDouble): Likewise.
610 (putDouble): Likewise.
611 * java/nio/DirectByteBufferImpl.java
612 (getChar): Wrapped code, fixed comment about endianess.
614 (getShort): Likewise.
615 (putShort): Likewise.
616 (getInt): Fixed conversion, fixed comment about endianess.
620 (getFloat): Likewise.
621 (putFloat): Likewise.
622 (getDouble): Likewise.
623 (putDouble): Likewise.
624 * java/nio/MappedByteBufferImpl.java
625 (compact): Implemented.
626 (getChar): Implemented.
627 (putChar): Implemented.
628 (getDouble): Implemented.
629 (putdouble): Implemented.
630 (getFloat): Implemented.
631 (putFloat): Implemented.
632 (getInt): Implemented.
633 (putInt): Implemented.
634 (getLong): Implemented.
635 (putLong): Implemented.
636 (getShort): Implemented.
637 (putShort): Implemented.
638 * java/nio/channels/FileChannelImpl.java
639 (read): Set position where to access file.
641 (transferTo): Flip buffer after read and before write.
642 (transferFrom): Likewise.
644 2003-08-02 Michael Koch <konqueror@gmx.de>
646 * gnu/java/lang/ArrayHelper.java
647 (equalsArray): Reformated, added method documentation.
649 2003-08-02 Michael Koch <konqueror@gmx.de>
652 (URL): Added paragraph about the
653 gnu.java.net.nocache_protocol_handlers property.
654 (ph_cache): Renamed from handlers to match classpath's implementation.
655 Reordered it with factory and serialVersionUID member variables.
656 (cache_handlers): New member variable.
657 (static): New static initializer to initialize cache_handlers from
658 gnu.java.net.nocache_protocol_handlers property.
659 (URL): Use ph_cache instead of handlers, reformatted some code to
660 match classpath's implementation.
662 2003-08-01 Tom Tromey <tromey@redhat.com>
664 Fix for PR libgcj/11241:
665 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
666 initialCapacity is 0, set it to 1.
668 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
670 * java/net/SocketImpl.java (toString): Display the remote address
671 of an unconnected server socket as "0.0.0.0/0.0.0.0".
673 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
675 * javax/swing/border/BevelBorder.java,
676 javax/swing/border/EtchedBorder.java,
677 javax/swing/border/LineBorder.java,
678 javax/swing/border/MatteBorder.java,
679 javax/swing/border/SoftBevelBorder.java,
680 javax/swing/plaf/BorderUIResource.java,
681 javax/swing/plaf/ComponentUI.java,
682 javax/swing/plaf/TreeUI.java,
683 javax/swing/plaf/basic/BasicBorders.java,
684 javax/swing/plaf/basic/BasicGraphicsUtils.java,
685 javax/swing/plaf/basic/BasicTreeUI.java:
686 Prepend "doc-files" to all paths to embedded Javadoc images, so
687 that the generated documentation contains the correct URL.
689 2003-08-01 Tom Tromey <tromey@redhat.com>
691 * configure: Rebuilt.
692 * configure.in (tool_include_dir): Redefine to match gcc.
694 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
695 Mark Wielaard <mark@klomp.org>
697 * java/math/BigDecimal (divide): Correctly handle
698 ROUND_HALF_EVEN when amount is greater than 0.5.
699 Simplify and optimize code.
701 2003-07-31 Tom Tromey <tromey@redhat.com>
703 More for PR libgcj/11737:
704 * java/io/ObjectInputStream.java (processResolution): Use
706 (getMethod): Make method accessible.
707 (getField): Make field accessible.
708 (setBooleanField): Don't call setAccessible here.
709 (setByteField, setCharField, setDoubleField, setFloatField,
710 setIntField, setLongField, setShortField, setObjectField):
712 (callReadMethod): Don't check whether method is null. Catch
713 NoSuchMethodException.
714 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
715 cause on thrown exceptions.
717 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
719 Fix for PR libgcj/11728:
720 * java/util/HashMap.java (readObject): Set size.
722 2003-07-31 Tom Tromey <tromey@redhat.com>
724 Fix for PR libgcj/11737:
725 * java/io/ObjectOutputStream.java (getMethod): Make method
727 (getField): Likewise.
728 (writeObject): Use getMethod.
729 Import PrivilegedAction and AccessController.
730 (callWriteMethod): Don't check whether m is null. Catch
731 NoSuchMethodException.
733 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
734 (containsAngle): Likewise.
735 (getStartPoint): Rewrote.
736 (getEndPoint): Likewise.
737 (setAngleStart(Point2D)): Likewise.
739 2003-07-31 Roger Sayle <roger@eyesopen.com>
740 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
742 * configure.in: Add new THREADCXXFLAGS variable.
743 Handle POSIX threads on alpha*-dec-osf*.
744 * configure: Regenerate.
745 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
746 * Makefile.in: Regenerate.
748 2003-07-08 Andrew Haley <aph@redhat.com>
750 * include/i386-signal.h (RESTORE): New.
751 (INIT_SEGV): Set restorer.
752 (INIT_FPE): Likewise.
754 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
756 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
758 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
759 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
761 (gtkSetFont): Scale size parameter by PANGO_SCALE.
762 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
764 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
767 2003-07-29 Tom Tromey <tromey@redhat.com>
769 * defineclass.cc (handleField): Throw exception if field name is
771 (handleMethod): Throw exception for duplicate method.
773 2003-07-29 Tom Tromey <tromey@redhat.com>
775 * gnu/gcj/convert/natIconv.cc (write): Handle case where
776 output buffer is too small.
778 2003-07-28 Tom Tromey <tromey@redhat.com>
780 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
782 Include gnu/gcj/runtime/StringBuffer.h.
783 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
785 (String(gnu.gcj.runtime.StringBuffer)): Use it.
787 2003-07-27 Anthony Green <green@redhat.com>
789 * configure.in: Fix newlib check.
790 * configure: Rebuilt.
792 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
795 Create vbox and layout for GtkPlug.
797 2003-07-27 Michael Koch <konqueror@gmx.de>
799 * java/awt/Window.java
800 (Window): Removed now unused constructor. It became oboslete with the
801 new embedded window patch.
803 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
804 Michael Koch <konqueror@gmx.de>
806 * gnu/java/awt/EmbeddedWindow.java
807 (EmbeddedWindow): Extends Frame instead of Window.
808 (window_id): New member variable to store the native window handle.
810 (EmbeddedWindow): New constructor.
811 (addNotify): New method.
812 (getHandler): Likewise.
813 (setWindowPeer): New native method.
814 * gnu/java/awt/EmbeddedWindowSupport.java
815 (EmbeddedWindowSupport): Fixed documentation.
816 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
817 WindowPeer, give it an EmbeddedWindow instance instead of the raw
819 * gnu/java/awt/natEmbeddedWindow.cc
821 (setWindowPeer): New method.
822 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
823 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
824 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
826 * gnu/java/awt/peer/gtk/GtkToolkit.java
827 (GtkToolkit): Implements EmbeddedWindowSupport.
828 (createEmbeddedWindow): New method.
829 * java/awt/Window.java
832 (java_source_files): Added EmbeddedWindowPeer.java.
833 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
834 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
835 * Makefile.in: Regenerated.
837 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
839 * java/lang/Win32Process.java (ConcreteProcess): Surround
840 a command line element with quotes if it contains an
841 embedded space or tab.
842 * java/lang/natWin32Process.cc (startProcess): Do not
843 surround command line elements with quotes here.
845 * configure.host: Use -fcheck-references and
846 -fuse-divide-subroutine for MinGW until we fix
847 win32_exception_handler( ) in win32.cc w.r.t. Win32
848 Structured Exception Handling (SEH).
850 * win32.cc (_Jv_platform_initProperties): Use generic names
851 like "x86" for the "os.arch" property to be consistent with
852 what Sun's JDK produces. Use the wProcessorArchitecture
853 member of the Win32 SYSTEM_INFO structure, filled in a call
854 to GetSystemInfo( ), instead of dwProcessorType.
856 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
857 Ranjit Mathew <rmathew@hotmail.com>
859 * Makefile.am: Use cross-compiling gcjh from the path for
860 a crossed-native build.
861 * Makefile.in: Rebuilt.
862 * configure.in: Include libltdl in non-newlib builds.
863 Moved determination of gcj used to build libraries to
864 its own section. Fixed cross-compilation issues for
866 * configure: Rebuilt.
868 2003-07-25 Tom Tromey <tromey@redhat.com>
870 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
875 2003-07-25 Mark Wielaard <mark@klomp.org>
877 * java/lang/natRuntime.cc (_load): Add library name to
878 UnsatisfiedLinkError when thrown.
880 2003-07-25 Mark Wielaard <mark@klomp.org>
882 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
884 * Makefile.in: Likewise.
886 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
888 * java/awt/Component.java
889 (getPreferredSize): Call preferredSize.
890 (preferredSize): Moved body of getPreferredSize here.
891 (getMinimumSize): Call minimumSize.
892 (minimumSize): Moved body of getMinimumSize here.
893 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
894 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
896 * java/awt/Container.java
897 (validate): Don't validate if there is no peer.
898 (update): Clear background before calling paint.
899 * java/awt/GridBagLayout.java
900 Completed the implementation and fixed several bugs.
901 * java/awt/MediaTracker.java
902 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
904 * java/awt/Window.java
905 (Window): Don't call setVisible(false). Windows are invisible by
906 default and calling virtual methods from constructor causes
907 compatibility problems (e.g. subclasses may assume that the peer
910 2003-07-25 Michael Koch <konqueror@gmx.de>
912 * java/awt/GridBagLayout.java:
913 Totally reworked and partly implemented.
914 * java/awt/GridBagLayoutInfo.java:
917 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
919 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
920 Don't pack label in an event box.
922 2003-07-24 Tom Tromey <tromey@redhat.com>
925 * verify.cc (ref_intersection): New class.
926 (type_val): Removed unresolved_reference_type,
927 uninitialized_unresolved_reference_type.
928 (is_assignable_from_slow): Rewrote.
929 (type::data): Removed.
930 (type::klass): New field.
931 (type::type): Added verifier argument.
932 (type::resolve): Removed.
933 (type::set_uninitialized): Updated for change to type_val.
934 (type::set_initialized): Likewise.
935 (type::isinitialized): Likewise.
936 (type::print): Likewise.
937 (construct_primitive_array_type): Likewise.
938 (type::compatible): Updated for change to type_val and to use
940 (type::isarray): Updated to use ref_intersection.
941 (type::isinterface): Likewise.
942 (type::element_type): Likewise.
943 (type::to_array): Likewise.
944 (type::verify_dimensions): Rewrote.
945 (type::merge): Likewise.
946 (check_class_constant): Updated for type constructor change.
947 (check_constant): Likewise.
948 (check_field_constant): Likewise.
949 (get_one_type): Likewise.
950 (initialize_stack): Likewise.
951 (verify_instructions_0): Likewise.
952 (verify_instructions_0) [op_invokeinterface]: Removed special
954 (isect_list): New field.
955 (_Jv_BytecodeVerifier): Initialize it.
956 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
958 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
960 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
961 unless field size is 2.
963 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
965 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
966 (connectHooks): New method.
967 (handleEvent): Remove.
968 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
969 (createHooks): Remove declaration.
970 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
971 (generates_key_typed_event): Change to handle only certain
973 (awt_event_handler): Add special handling for GtkTextView.
974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
975 (textcomponent_commit_cb): New function.
976 (textcomponent_changed_cb): Likewise.
977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
978 (connectHooks): Remove.
980 2003-07-23 Tom Tromey <tromey@redhat.com>
982 * java/lang/natSystem.cc (arraycopy): Check for overflow.
984 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
986 2003-07-22 Tom Tromey <tromey@redhat.com>
988 * boehm.cc (_Jv_BuildGCDescr): Wrote.
991 2003-07-22 Tom Tromey <tromey@redhat.com>
993 * java/awt/Window.java (getWarningString): Just return the
995 (Window): Set warningString; check with security manager.
997 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
999 * gnu/awt/xlib/XGraphicsConfiguration.java
1000 (FontMetricsCache): Made static.
1002 2003-07-22 Tom Tromey <tromey@redhat.com>
1004 * java/net/URLEncoder.java (encode(String)): Use platform default
1006 (encode(String,String)): Convert to 2-digit upper-case hex
1010 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1012 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1013 (create): Remove unused method implementation.
1014 (connectHooks): Remove debug messages.
1016 2003-07-20 Anthony Green <green@redhat.com>
1018 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
1019 CloneNotSupportedException.
1020 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
1021 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
1022 * gnu/gcj/xlib/GC.java (clone): Ditto.
1023 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
1024 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
1026 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
1028 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
1030 2003-07-20 Steve Pribyl <steve@netfuel.com.>
1032 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
1033 String. Put dlerror() message into exception.
1034 Include UnsatisfiedLinkError.
1035 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
1038 2003-07-20 Tom Tromey <tromey@redhat.com>
1040 * java/lang/Runtime.java: Comment fix.
1041 * java/lang/ClassLoader.java (isAncestorOf): New method.
1042 (getParent): Uncommented security check. Use isAncestorOf.
1043 * include/jvm.h (_Jv_CheckAccess): Declare.
1044 * java/lang/reflect/natConstructor.cc (newInstance): Perform
1046 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
1047 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
1048 class loader to _Jv_GetArrayClass.
1049 Include ArrayIndexOutOfBoundsException.h.
1050 * java/lang/reflect/Field.java: Update comment to reflect status.
1051 (equals): Fixed indentation.
1052 * java/lang/Class.h (Class): Declare memberAccessCheck, not
1053 checkMemberAccess. Make _Jv_CheckAccess a friend.
1054 * java/lang/Class.java (memberAccessCheck): New method from
1056 (checkMemberAccess): Removed.
1057 (getDeclaredMethod): Use memberAccessCheck.
1058 (getField): Likewise.
1059 (getMethod): Likewise.
1060 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
1061 (_Jv_SearchMethodInClass): Likewise.
1062 * prims.cc (_Jv_CheckAccess): New function.
1063 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
1064 (_Jv_JNI_GetAnyFieldID): Likewise.
1065 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
1066 (getClassLoader): Added security check.
1067 (getConstructor): Call memberAccessCheck.
1068 (getDeclaredClasses): Likewise.
1069 (getDeclaredField): Likewise.
1070 (getDeclaredFields): Likewise.
1071 (_getConstructors): Likewise.
1072 (getDeclaredConstructor): Likewise.
1073 (getDeclaredMethods): Likewise.
1074 (getFields): Likewise.
1075 (getMethods): Likewise.
1076 (newInstance): Likewise.
1077 (_Jv_MakeVTable): Put method name in exception.
1078 * java/lang/reflect/natMethod.cc (getType): Use
1079 getClassLoaderInternal.
1080 (_Jv_GetTypesFromSignature): Likewise.
1081 (invoke): Perform access check.
1082 (_Jv_CallAnyMethodA): Removed old FIXME comments.
1083 Include ArrayIndexOutOfBoundsException.h.
1084 * java/lang/reflect/natField.cc (getType): Use
1085 getClassLoaderInternal.
1086 (_Jv_CheckFieldAccessibility): Removed.
1087 (getAddr): Use _Jv_CheckAccess; find caller.
1088 Include ArrayIndexOutOfBoundsException.h.
1090 2003-07-20 Michael Koch <konqueror@gmx.de>
1093 (URL): Fixed documentation to name an argument correcty, Reformatted
1094 one method declaration.
1095 (getURLStreamHandler): Added documentation from classpath.
1097 2003-07-19 Tom Tromey <tromey@redhat.com>
1099 * mauve-libgcj: Don't run CollationElementIterator tests.
1101 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
1103 * java/net/URLClassLoader.java (addURL): Moved implementation to
1104 private addURLImpl() to avoid calling addURL from the constructor.
1105 (addURLImpl): Contains the code that was previously in addURL.
1106 (addURLs): Call addURLImpl(), not addURL().
1108 2003-07-18 Graydon Hoare <graydon@redhat.com>
1110 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
1111 Handle missing event cases, connect to "value-changed" signal.
1113 2003-07-18 Graydon Hoare <graydon@redhat.com>
1115 * java/awt/geom/CubicCurve2D.java,
1116 java/awt/geom/Line2D.java,
1117 java/awt/geom/QuadCurve2D.java,
1118 java/awt/geom/Rectangle2D.java:
1119 Fix path some calculations, make path iterators follow
1122 2003-07-18 Mark Wielaard <mark@klomp.org>
1124 * java/util/logging/Handler.java (isLoggable): Check record level
1127 2003-07-17 Michael Koch <konqueror@gmx.de>
1129 * gnu/java/awt/peer/gtk/GtkToolkit.java:
1132 2003-07-14 Michael Koch <konqueror@gmx.de>
1134 * gnu/java/rmi/server/UnicastServerRef.java:
1135 New version from classpath.
1137 2003-07-14 Michael Koch <konqueror@gmx.de>
1139 * java/awt/image/MemoryImageSource.java,
1140 java/beans/PropertyEditorManager.java,
1141 javax/naming/CompoundName.java,
1142 javax/naming/spi/NamingManager.java,
1143 javax/swing/AbstractButton.java,
1144 javax/swing/ButtonModel.java,
1145 javax/swing/SwingUtilities.java,
1146 javax/swing/UIManager.java,
1147 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1148 javax/swing/event/AncestorEvent.java,
1149 javax/swing/event/InternalFrameEvent.java,
1150 java/util/zip/ZipFile.java:
1151 New versions from classpath.
1153 2003-07-13 Michael Koch <konqueror@gmx.de>
1155 * gnu/java/nio/FileChannelImpl.java,
1156 gnu/java/nio/natFileChannelImpl.cc: Removed.
1157 * java/io/FileInputStream.java,
1158 java/io/FileOutputStream.java,
1159 java/io/RandomAccessFile.java,
1160 java/nio/MappedByteBufferImpl.java:
1161 Import java.nio.channels.FileChannelImpl instead of
1162 gnu.java.nio.FileChannelImpl.
1163 * java/nio/channels/FileChannelImpl.java,
1164 java/nio/channels/natFileChannelImpl.cc:
1167 (ordinary_java_source_files):
1168 Removed gnu/java/nio/FileChannelImpl.java and added
1169 java/nio/channels/FileChannelImpl.java.
1171 Removed gnu/java/nio/natFileChannelImpl.cc and added
1172 java/nio/channels/natFileChannelImpl.cc.
1173 * Makefile.in: Regenerated.
1175 2003-07-13 Michael Koch <konqueror@gmx.de>
1177 * javax/swing/plaf/basic/BasicBorders.java,
1178 javax/swing/plaf/basic/BasicLabelUI.java,
1179 javax/swing/plaf/basic/BasicLookAndFeel.java,
1180 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1181 javax/swing/plaf/basic/BasicTextUI.java,
1182 javax/swing/plaf/metal/MetalLookAndFeel.java:
1183 New versions from classpath.
1185 2003-07-13 Michael Koch <konqueror@gmx.de>
1187 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
1188 * gnu/java/awt/peer/gtk/GdkGraphics.java
1189 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
1190 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
1191 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
1192 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
1193 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
1194 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1195 * gnu/java/awt/peer/gtk/GtkClipboard.java
1196 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
1197 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1198 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1199 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
1200 * gnu/java/awt/peer/gtk/GtkImage.java
1201 * gnu/java/awt/peer/gtk/GtkImagePainter.java
1202 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
1203 * gnu/java/awt/peer/gtk/GtkListPeer.java
1204 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1205 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
1206 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1207 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
1208 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
1209 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
1210 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
1211 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1212 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
1213 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
1214 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1215 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1217 2003-07-13 Michael Koch <konqueror@gmx.de>
1219 * gnu/java/locale/LocaleInformation_de.java
1220 * gnu/java/locale/LocaleInformation_en.java
1221 * gnu/java/locale/LocaleInformation_nl.java
1223 2003-07-13 Michael Koch <konqueror@gmx.de>
1225 * gnu/java/awt/EmbeddedWindow.java,
1226 gnu/java/awt/EmbeddedWindowSupport.java,
1227 gnu/java/awt/natEmbeddedWindow.cc:
1229 * java/awt/Window.java
1230 (Window): New constructor to support embedded windows.
1232 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
1233 gnu/java/awt/EmbeddedWindowSupport.java.
1234 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
1235 * Makefile.in: Regenerated.
1237 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
1239 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
1240 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
1241 * java/awt/im/InputContext.java: Remove a redundant
1244 2003-07-09 Tom Tromey <tromey@redhat.com>
1246 * Makefile.in: Rebuilt.
1247 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
1249 2003-07-09 Mark Wielaard <mark@klomp.org>
1251 * java/io/ObjectOutputStream.java (writeObject): break after
1252 calling writeClassDescriptor().
1254 2003-07-09 Mark Mitchell <mark@codesourcery.com>
1256 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
1258 2003-07-09 Michael Koch <konqueror@gmx.de>
1260 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1261 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1262 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1263 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1264 Explicitly import used classes.
1265 * java/awt/Container.java: New version from classpath.
1267 2003-07-09 Michael Koch <konqueror@gmx.de>
1269 * libgcj.pc.in: New file.
1270 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
1271 * Makefile.in: Regenerated.
1272 * configure: Regenrated.
1273 * configure.in: Create libgcj.pc from libgcj.pc.in.
1275 2003-07-08 Mark Wielaard <mark@klomp.org>
1277 * gcj/cni.h: CNI now expands to Compiled Native Interface.
1279 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
1280 * java/lang/fdlibm.h: Likewise.
1282 2003-07-07 Adam Megacz <adam@xwt.org>
1284 * posix.cc: added #include<stdio.h>
1286 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1288 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
1291 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1292 (setCaretPosition, setEditable): Rely entirely on native
1295 (postTextEvent): New method.
1296 (handleEvent): New method.
1297 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
1299 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
1300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1301 (keysym_to_awt_keycode): Fix range checks.
1302 (generates_key_typed_event): New function.
1303 (awt_event_handler): Post AWT_KEY_RELEASED events to event
1305 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1306 (gtkInit): Store TextComponent's postTextEvent method ID.
1307 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1308 (setText): Post TEXT_VALUE_CHANGED event to event queue.
1310 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1312 * configure.in: Check for usleep declaration.
1313 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
1314 * configure: Regenerate.
1315 * include/config.h.in: Likewise.
1316 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
1318 2003-07-01 Michael Koch <konqueror@gmx.de>
1320 * gnu/gcj/convert/natIconv.cc
1321 (iconv_init): Fixed possible memory leak by releasing allocated iconv
1324 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1326 * glib-2.0.m4: New file.
1327 * gtk-2.0.m4: New file.
1330 * configure.in: Update AM_PATH_GTK macro call to
1331 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
1332 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
1333 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
1334 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1335 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
1336 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1337 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1338 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
1339 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
1340 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1341 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
1342 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1343 jni/gtk-peer/gthread-jni.c,
1344 jni/gtk-peer/gthread-jni.h:
1345 New versions from classpath.
1346 * aclocal.m4: Regenerate.
1347 * configure: Regenerate.
1348 * Makefile.in: Regenerate.
1349 * gcj/Makefile.in: Regenerate.
1350 * include/Makefile.in: Regenerate.
1351 * testsuite/Makefile.in: Regenerate.
1353 2003-06-30 Gary Benson <gbenson@redhat.com>
1355 For PR libgcj/11349:
1356 * javax/naming/spi/NamingManager.java (getURLContext): Use
1357 correct name for factory class.
1359 2003-06-28 Michael Koch <konqueror@gmx.de>
1361 * java/io/PrintStream.java
1362 (checkError): Call flush() instead of direct flushing of the Writer
1364 (print): Call print(String) instead of direct print method of the
1366 (println): Call println(String) instead of direct println method of the
1368 (write): Simplified.
1370 2003-06-28 Michael Koch <konqueror@gmx.de>
1372 * java/net/ServerSocket.java
1373 (setChannel): New method.
1374 * java/net/Socket.java
1375 (setChannel): New method.
1377 2003-06-27 Michael Koch <konqueror@gmx.de>
1379 * java/beans/beancontext/BeanContextSupport.java:
1380 New version from classpath.
1382 2003-06-27 Michael Koch <konqueror@gmx.de>
1384 * java/awt/Window.java,
1385 java/awt/font/GraphicAttribute.java,
1386 java/awt/font/ImageGraphicAttribute.java,
1387 java/awt/image/DataBufferByte.java,
1388 java/awt/image/DataBufferInt.java,
1389 java/awt/image/DataBufferUShort.java,
1390 java/awt/image/DirectColorModel.java,
1391 java/awt/image/PixelGrabber.java:
1392 New versions from classpath.
1394 2003-06-27 Michael Koch <konqueror@gmx.de>
1396 * java/security/Certificate.java
1397 (getGuarantor): Removed wrong @deprecated tag.
1398 (getPrincipal): Likewise.
1399 (getPublicKey): Likewise.
1402 (getFormat): Likewise.
1403 (toString): Likewise.
1404 * java/security/cert/PolicyQualifierInfo.java
1405 (PolicyQualifierInfo): Made final.
1406 * javax/security/auth/x500/X500Principal.java
1407 (serialVersionUID): New member variable.
1409 2003-06-27 Michael Koch <konqueror@gmx.de>
1411 * java/text/Format.java
1412 (serialVersionUID): Fixed value.
1414 2003-06-27 Michael Koch <konqueror@gmx.de>
1416 * java/net/Inet4Address.java
1417 (Inet4Address): Made package-private.
1418 * java/net/Inet6Address.java
1419 (Inet4Address): Made package-private.
1421 2003-06-27 Michael Koch <konqueror@gmx.de>
1423 * java/io/RandomAccessFile.java
1424 (readLine): Removed wrong @deprecated tag.
1425 (getChannel): Made final.
1427 2003-06-27 Michael Koch <konqueror@gmx.de>
1429 * gnu/java/nio/FileChannelImpl.java
1432 2003-06-27 Michael Koch <konqueror@gmx.de>
1434 * java/nio/ByteBufferImpl.java
1435 (ByteBufferImpl): Made it a package-private class
1436 * java/nio/CharBufferImpl.java
1437 (CharBufferImpl): Made it a package-private class
1438 * java/nio/DirectByteBufferImpl.java
1439 (DirectByteBufferImpl): Made it a package-private class
1440 * java/nio/DoubleBufferImpl.java
1441 (DoubleBufferImpl): Made it a package-private class
1442 * java/nio/FloatBufferImpl.java
1443 (FloatBufferImpl): Made it a package-private class
1444 * java/nio/IntBufferImpl.java
1445 (IntBufferImpl): Made it a package-private class
1446 * java/nio/LongBufferImpl.java
1447 (LongBufferImpl): Made it a package-private class
1448 * java/nio/ShortBufferImpl.java
1449 (ShortBufferImpl): Made it a package-private class
1450 * java/nio/channels/FileChannel.java
1451 (write): Made final.
1452 * java/nio/channels/ServerSocketChannel.java
1453 (ServerSocketChanne): Made protected.
1455 2003-06-27 Michael Koch <konqueror@gmx.de>
1457 * javax/naming/CompositeName.java
1458 (serialVersionUID): New member variable.
1459 * javax/naming/CompoundName.java
1460 (serialVersionUID): New member variable.
1461 * javax/naming/InitialContext.java
1462 (InitialContext): Throws NamingException.
1464 * javax/naming/LinkRef.java
1465 (serialVersionUID): New member variable.
1466 (gteLinkName): Throws NamingException.
1467 * javax/naming/NamingException.java
1468 (serialVersionUID): New member variable.
1469 * javax/naming/NamingSecurityException.java
1470 (NamingSecurityException): Made abstract.
1471 (serialVersionUID): New member variable.
1472 * javax/naming/ReferralException.java
1473 (serialVersionUID): New member variable.
1474 * javax/naming/StringRefAddr.java
1475 (serialVersionUID): New member variable.
1476 * javax/naming/directory/BasicAttribute.java:
1478 (serialVersionUID): New member variable.
1479 (get): Throws NamingException.
1480 (getAll): Throws NamingException.
1481 * javax/naming/directory/BasicAttributes.java:
1483 (serialVersionUID): New member variable.
1484 * javax/naming/ldap/UnsolicitedNotificationEvent.java
1485 (serialVersionUID): New member variable.
1487 2003-06-27 Michael Koch <konqueror@gmx.de>
1490 (awt_java_source_files): Added new files:
1491 javax/swing/Popup.java,
1492 javax/swing/PopupFactory.java
1493 * Makefile.in: Regenerated.
1495 2003-06-27 Michael Koch <konqueror@gmx.de>
1497 * javax/swing/JWindow.java,
1498 javax/swing/event/AncestorEvent.java,
1499 javax/swing/event/HyperlinkEvent.java,
1500 javax/swing/event/InternalFrameEvent.java,
1501 javax/swing/event/ListDataEvent.java,
1502 javax/swing/event/TableModelEvent.java,
1503 javax/swing/plaf/PopupMenuUI.java,
1504 javax/swing/plaf/SplitPaneUI.java,
1505 javax/swing/plaf/TabbedPaneUI.java,
1506 javax/swing/plaf/TextUI.java,
1507 javax/swing/plaf/TreeUI.java,
1508 javax/swing/plaf/basic/BasicTextUI.java,
1509 javax/swing/plaf/basic/BasicTreeUI.java:
1510 New versions from classpath.
1511 * javax/swing/Popup.java,
1512 javax/swing/PopupFactory.jav:
1513 New source files from classpath.
1514 * javax/swing/plaf/doc-files/TreeUI-1.png:
1515 New binary files from classpath.
1517 2003-06-25 Michael Koch <konqueror@gmx.de>
1520 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1521 * Makefile.in: Regenerated.
1523 2003-06-25 Michael Koch <konqueror@gmx.de>
1525 * javax/swing/plaf/ActionMapUIResource.java,
1526 javax/swing/plaf/BorderUIResource.java,
1527 javax/swing/plaf/ButtonUI.java,
1528 javax/swing/plaf/ColorChooserUI.java,
1529 javax/swing/plaf/ColorUIResource.java,
1530 javax/swing/plaf/ComboBoxUI.java,
1531 javax/swing/plaf/ComponentInputMapUIResource.java,
1532 javax/swing/plaf/ComponentUI.java,
1533 javax/swing/plaf/DesktopIconUI.java,
1534 javax/swing/plaf/DesktopPaneUI.java,
1535 javax/swing/plaf/DimensionUIResource.java,
1536 javax/swing/plaf/FileChooserUI.java,
1537 javax/swing/plaf/FontUIResource.java,
1538 javax/swing/plaf/IconUIResource.java,
1539 javax/swing/plaf/InputMapUIResource.java,
1540 javax/swing/plaf/InsetsUIResource.java,
1541 javax/swing/plaf/InternalFrameUI.java,
1542 javax/swing/plaf/LabelUI.java,
1543 javax/swing/plaf/ListUI.java,
1544 javax/swing/plaf/MenuBarUI.java,
1545 javax/swing/plaf/MenuItemUI.java,
1546 javax/swing/plaf/OptionPaneUI.java,
1547 javax/swing/plaf/PanelUI.java,
1548 javax/swing/plaf/ProgressBarUI.java,
1549 javax/swing/plaf/RootPaneUI.java,
1550 javax/swing/plaf/ScrollBarUI.java,
1551 javax/swing/plaf/ScrollPaneUI.java,
1552 javax/swing/plaf/SeparatorUI.java,
1553 javax/swing/plaf/SliderUI.java,
1554 javax/swing/plaf/TableHeaderUI.java,
1555 javax/swing/plaf/TableUI.java,
1556 javax/swing/plaf/ToolBarUI.java,
1557 javax/swing/plaf/ToolTipUI.java,
1558 javax/swing/plaf/ViewportUI.java:
1559 New versions from classpath.
1560 * javax/swing/plaf/SpinnerUI.java:
1561 New file from classpath
1563 2003-06-25 Michael Koch <konqueror@gmx.de>
1565 * java/awt/image/ColorModel.java:
1566 New version from classpath.
1568 2003-06-25 Michael Koch <konqueror@gmx.de>
1570 * java/net/PlainDatagramSocketImpl.java:
1571 Partly merged with classpath, this mainly adds documentation.
1573 2003-06-25 Michael Koch <konqueror@gmx.de>
1575 * java/io/ObjectInputStream.java
1576 (readClassDescriptor): New method.
1577 (readObject): Moved functionality to readClassDescriptor().
1578 * java/io/ObjectOutputStream.java
1579 (writeClassDescriptor): New method.
1580 (writeObject): Moved functionality to writeClassDescriptor().
1582 2003-06-25 Michael Koch <konqueror@gmx.de>
1584 * javax/swing/plaf/basic/BasicListUI.java,
1585 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1586 Added missing methods.
1588 2003-06-25 Michael Koch <konqueror@gmx.de>
1590 * javax/swing/event/AncestorEvent.java
1591 javax/swing/event/HyperlinkEvent.java
1592 javax/swing/event/InternalFrameEvent.java
1593 javax/swing/event/ListDataEvent.java
1594 javax/swing/event/TableModelEvent.java:
1597 2003-06-24 Michael Koch <konqueror@gmx.de>
1599 * java/net/URL.java:
1600 Renamed "handler" to "ph" in the whole file to match classpaths
1602 * java/net/URLStreamHandler.java:
1603 (equals): Renamed "handler" to "ph".
1605 2003-06-24 Michael Koch <konqueror@gmx.de>
1607 * javax/swing/event/AncestorEvent.java,
1608 javax/swing/event/HyperlinkEvent.java,
1609 javax/swing/event/InternalFrameEvent.java,
1610 javax/swing/event/ListDataEvent.java,
1611 javax/swing/event/TableModelEvent.java,
1612 javax/swing/event/TreeWillExpandListener.java,
1613 javax/swing/plaf/ComponentUI.java,
1614 javax/swing/plaf/DesktopIconUI.java,
1615 javax/swing/plaf/DesktopPaneUI.java,
1616 javax/swing/plaf/DimensionUIResource.java,
1617 javax/swing/plaf/FileChooserUI.java,
1618 javax/swing/plaf/FontUIResource.java,
1619 javax/swing/plaf/IconUIResource.java,
1620 javax/swing/plaf/InputMapUIResource.java,
1621 javax/swing/plaf/InsetsUIResource.java,
1622 javax/swing/plaf/InternalFrameUI.java,
1623 javax/swing/plaf/LabelUI.java,
1624 javax/swing/plaf/ListUI.java,
1625 javax/swing/plaf/MenuBarUI.java,
1626 javax/swing/plaf/MenuItemUI.java,
1627 javax/swing/plaf/OptionPaneUI.java,
1628 javax/swing/plaf/PanelUI.java,
1629 javax/swing/plaf/ProgressBarUI.java,
1630 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1631 javax/swing/plaf/doc-files/ComponentUI-1.png:
1632 New versions from classpath.
1634 2003-06-24 Michael Koch <konqueror@gmx.de>
1636 * java/nio/Buffer.java
1637 (cap): Made package-private.
1642 2003-06-24 Michael Koch <konqueror@gmx.de>
1644 * java/net/SocketImpl.java
1645 (shutdownInput): Made it non-abstract method throwing an exception
1647 (shutdownOutput): Likewise.
1648 * java/net/SocketInputStream.java,
1649 java/net/SocketOutputStream.java:
1650 New files from classpath.
1652 2003-06-24 Michael Koch <konqueror@gmx.de>
1654 * java/awt/Font.java,
1655 java/awt/Window.java,
1656 java/awt/color/ColorSpace.java,
1657 java/awt/datatransfer/StringSelection.java,
1658 java/awt/image/ColorModel.java:
1659 New versions from classpath.
1661 2003-06-24 Michael Koch <konqueror@gmx.de>
1664 (awt_java_source_files): Added new files:
1665 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1666 javax/swing/plaf/basic/BasicSplitPaneUI.java
1667 * Makefile.in: Regenerated.
1669 2003-06-24 Michael Koch <konqueror@gmx.de>
1671 * javax/swing/text/JTextComponent.java:
1672 New version from classpath.
1674 2003-06-24 Michael Koch <konqueror@gmx.de>
1676 * javax/swing/Timer.java,
1677 javax/swing/plaf/ActionMapUIResource.java,
1678 javax/swing/plaf/ButtonUI.java,
1679 javax/swing/plaf/ColorChooserUI.java,
1680 javax/swing/plaf/ColorUIResource.java,
1681 javax/swing/plaf/ComboBoxUI.java,
1682 javax/swing/plaf/ComponentInputMapUIResource.java,
1683 javax/swing/plaf/basic/BasicBorders.java:
1684 New versions from classpath.
1685 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1686 javax/swing/plaf/basic/BasicSplitPaneUI.java:
1687 New file from classpath.
1688 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1689 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1690 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1691 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1692 javax/swing/plaf/doc-files/ComponentUI-1.png:
1693 New binary files from classpath.
1695 2003-06-24 Michael Koch <konqueror@gmx.de>
1697 * java/io/LineNumberReader.java
1698 (skip): Dont do line number accounting here as this is already done in
1701 2003-06-21 Michael Koch <konqueror@gmx.de>
1704 (static): Load javaio lib if existing (only in classpath).
1705 (File): Revised documentation to show the correct argument name.
1706 (createTempFile): Partly merged with classpath.
1707 (compareTo): Simplified.
1708 (lastModified): Throw exception if time < 0.
1709 (deleteOnExit): Revised documentation.
1711 2003-06-21 Michael Koch <konqueror@gmx.de>
1713 * java/net/PlainSocketImpl.java:
1715 (PlainSocketImpl): Merged class documentaion with classpath.
1718 (PlainSocketImpl): New empty constructor.
1720 (setOption): Merged documentation from classpath.
1721 (getOption): Likewise.
1723 (connect): Likewise.
1727 (available): Likewise.
1731 (getInputStream): Made synchronozed to get sure that only one stream
1732 object can be created for this socket, merged documentation from
1734 (getOutputStream): Likewise.
1736 2003-06-21 Michael Koch <konqueror@gmx.de>
1738 * java/net/PlainSocketImpl.java:
1740 (static): New implicit method.
1741 (read): Made package private.
1744 2003-06-21 Michael Koch <konqueror@gmx.de>
1746 * java/util/SimpleTimeZone.java:
1747 Removed unneeded import, reformatting.
1749 2003-06-21 Michael Koch <konqueror@gmx.de>
1751 * java/text/DateFormat.java,
1752 java/text/SimpleDateFormat.java,
1753 java/util/Locale.java:
1754 New versions from classpath.
1756 2003-06-21 Michael Koch <konqueror@gmx.de>
1758 * javax/swing/SpinnerModel.java:
1759 New file from classpath.
1760 * javax/swing/border/LineBorder.java,
1761 javax/swing/border/SoftBevelBorder.java,
1762 javax/swing/plaf/BorderUIResource.java,
1763 javax/swing/plaf/basic/BasicBorders.java:
1764 New versions from classpath.
1765 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1766 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1767 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1768 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1769 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1770 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1771 New binary files from classpath.
1773 2003-06-21 Michael Koch <konqueror@gmx.de>
1775 * java/util/logging/LogRecord.java,
1776 java/util/logging/Logger.java,
1777 java/util/logging/SocketHandler.java,
1778 java/util/logging/SimpleFormatter.java,
1779 java/util/logging/Formatter.java,
1780 java/util/logging/ErrorManager.java,
1781 java/util/logging/Handler.java,
1782 java/util/logging/FileHandler.java,
1783 java/util/logging/LogManager.java,
1784 java/util/logging/Level.java,
1785 java/util/logging/ConsoleHandler.java,
1786 java/util/logging/StreamHandler.java,
1787 java/util/logging/LoggingPermission.java,
1788 java/util/logging/Filter.java,
1789 java/util/logging/MemoryHandler.java,
1790 java/util/logging/XMLFormatter.java:
1791 New files from classpath.
1793 2003-06-20 Michael Koch <konqueror@gmx.de>
1795 * java/io/ObjectStreamField.java
1796 (unshared): new member variable.
1797 (ObjectStreamField): New constructor.
1798 (isUnshared): New method.
1800 2003-06-20 Michael Koch <konqueror@gmx.de>
1802 * java/net/URLStreamHandler.java
1803 (hostsEqual): Rewritten.
1805 2003-06-20 Michael Koch <konqueror@gmx.de>
1807 * gnu/java/nio/MappedByteFileBuffer.java,
1808 gnu/java/nio/natMappedByteFileBuffer.cc:
1810 * java/nio/MappedByteBufferImpl.java:
1812 * gnu/java/nio/FileChannelImpl.java:
1813 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1815 (ordinary_java_source_files): Removed
1816 gnu/java/nio/MappedByteFileBuffer.java and added
1817 java/nio/MappedByteBufferImpl.java.
1818 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1819 * Makefile.in: Regenerated.
1821 2003-06-19 Michael Koch <konqueror@gmx.de>
1823 * gnu/java/nio/DatagramChannelImpl.java
1825 (blocking): New member variable.
1827 (DatagramChannelImpl): Throws IOException, initialize socket.
1828 (socket):Implemented.
1829 (implCloseSelectableChannel): Throws IOException, implemented.
1830 (implConfigureBlocking): Likewise.
1831 (connect): Likewise.
1832 (disconnect): Likewise.
1833 (isConnected): Likewise.
1836 (receive): Throws IOException.
1838 * gnu/java/nio/SocketChannelImpl.java
1839 (read): Implemented.
1840 (write): Implemented.
1842 2003-06-19 Michael Koch <konqueror@gmx.de>
1844 * javax/swing/JComponent.java,
1845 javax/swing/JInternalFrame.java,
1846 javax/swing/MenuSelectionManager.java,
1847 javax/swing/SwingUtilities.java,
1848 javax/swing/ToggleButtonModel.java:
1849 New versions from classpath.
1851 2003-06-19 Michael Koch <konqueror@gmx.de>
1853 * java/text/CollationElementIterator.java
1854 (NULLORDER): Initialize with -1 as JDK documentation says.
1856 2003-06-19 Michael Koch <konqueror@gmx.de>
1858 * java/net/HttpURLConnection.java,
1859 java/net/Inet4Address.java,
1860 java/net/Inet6Address.java,
1861 java/net/SocketImpl.java,
1862 java/net/URLClassLoader.java:
1863 Reworked import statements.
1864 * java/net/InetAddress.java
1865 (getByAddress): Simplified.
1866 * java/net/ServerSocket.java
1867 (ServerSocket): Moved special handling during bind operation to
1869 (bind): Handle different cases when trying to bind a socket.
1870 * java/net/URLConnection.java
1871 (getHeaderFieldDate): Merged with classpath.
1872 (getHeaderFieldInt): Likewise.
1874 2003-06-19 Michael Koch <konqueror@gmx.de>
1876 * java/util/zip/InflaterInputStream.java
1877 (InflaterInputStream): Throw NullPointerException if in is null (as
1880 2003-06-19 Michael Koch <konqueror@gmx.de>
1882 * java/awt/Font.java
1883 javax/swing/UIManager.java
1884 javax/swing/border/AbstractBorder.java
1885 javax/swing/border/BevelBorder.java
1886 javax/swing/border/Border.java
1887 javax/swing/border/CompoundBorder.java
1888 javax/swing/border/EmptyBorder.java
1889 javax/swing/border/EtchedBorder.java
1890 javax/swing/border/LineBorder.java
1891 javax/swing/border/MatteBorder.java
1892 javax/swing/border/TitledBorder.java
1893 javax/swing/plaf/BorderUIResource.java
1894 javax/swing/plaf/basic/BasicBorders.java
1895 javax/swing/plaf/basic/BasicButtonUI.java
1896 javax/swing/plaf/basic/BasicCheckBoxUI.java
1897 javax/swing/plaf/basic/BasicGraphicsUtils.java
1898 javax/swing/plaf/basic/BasicLabelUI.java
1899 javax/swing/plaf/basic/BasicRadioButtonUI.java
1900 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1901 New versions from classpath.
1902 * javax/swing/border/SoftBevelBorder.java:
1903 New file from classpath.
1904 * javax/swing/border/doc-files/LineBorder-1.png,
1905 javax/swing/border/doc-files/BevelBorder-1.png,
1906 javax/swing/border/doc-files/BevelBorder-2.png,
1907 javax/swing/border/doc-files/BevelBorder-3.png,
1908 javax/swing/border/doc-files/EmptyBorder-1.png,
1909 javax/swing/border/doc-files/EtchedBorder-1.png,
1910 javax/swing/border/doc-files/EtchedBorder-2.png,
1911 javax/swing/border/doc-files/MatteBorder-1.png,
1912 javax/swing/border/doc-files/MatteBorder-2.png,
1913 javax/swing/border/doc-files/MatteBorder-3.png,
1914 javax/swing/border/doc-files/MatteBorder-4.png,
1915 javax/swing/border/doc-files/MatteBorder-5.png,
1916 javax/swing/border/doc-files/MatteBorder-6.png,
1917 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1918 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1919 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1920 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1921 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1922 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1923 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1924 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1925 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1926 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1927 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1928 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1929 New binary files from classpath.
1931 (awt_java_source_files): Added
1932 javax/swing/border/SoftBevelBorder.java.
1933 * Makefile.in: Regenerated.
1935 2003-06-19 Michael Koch <konqueror@gmx.de>
1937 * gnu/java/security/x509/X509Certificate.java
1938 (writeReplace): Merged from classpath.
1940 2003-06-19 Michael Koch <konqueror@gmx.de>
1942 * gnu/java/nio/FileChannelImpl.java
1943 (map_address): Made public.
1944 (FileChannelImpl): Merged with classpath.
1945 * gnu/java/nio/natFileChannelImpl.cc
1946 (nio_mmap_file): Commented out unused arguments.
1947 (nio_unmmap_file): Likewise.
1948 (niu_msync): Likewise.
1950 2003-06-19 Michael Koch <konqueror@gmx.de>
1952 * java/awt/image/IndexColorModel.java:
1953 New version from classpath.
1955 2003-06-18 Tom Tromey <tromey@redhat.com>
1957 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1959 (isLoopbackAddress): Likewise.
1960 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1963 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1965 * java/lang/natVMSecurityManager.cc (getClassContext):
1966 Use maxlen instead of len for loop bound.
1968 2003-06-18 Michael Koch <konqueror@gmx.de>
1970 * gnu/java/nio/SelectorImpl.java
1971 (register): Use fd with value 0 for now, will be fixed later.
1972 * gnu/java/nio/ServerSocketChannelImpl.java
1974 (local_port): Removed.
1975 (InetSocketAddress): Removed.
1976 (ServerSocketChannelImpl): Just initialize internal socket object.
1977 (implCloseSelectableChannel): Close internal socket object.
1978 (implConfigureBlocking): Added comment.
1979 (accept): Use jaba.net stuff to accept socket.
1980 * gnu/java/nio/SocketChannelImpl.java
1982 (local_port): Removed.
1983 (InetSocketAddress): Removed.
1984 (SocketCreate): Removed.
1985 (SocketConnect): Removed.
1986 (SocketBind): Removed.
1987 (SocketListen): Removed.
1988 (SocketAvailable): Removed.
1989 (SocketClose): Removed.
1990 (SocketRead): Removed.
1991 (SocketWrite): Removed.
1992 (SocketChannelImpl): Just initialize internal socket object.
1993 (implCloseSelectableChannel): Close internal socket object.
1994 (implConfigureBlocking): Fixed implementation, added comment.
1995 (connect): Use internal socket object to connect.
1996 (socket): No need for sanity checks.
1997 (read): Comment out some stuff, this will be reimplemented in the next
2000 * gnu/java/nio/natFileChannelImpl.cc
2001 (nio_mmap_file): Line wrapped.
2002 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
2004 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
2005 * Makefile.in: Regenerated.
2007 2003-06-18 Michael Koch <konqueror@gmx.de>
2009 * java/util/Locale.java
2010 (equals): Merged from classpath.
2012 2003-06-18 Michael Koch <konqueror@gmx.de>
2014 * java/net/InetAddress.java:
2015 Reformatted to better match classpath's version.
2017 (equals): Simplified.
2018 * java/net/URLConnection.java
2019 (setDoInput): Revised documentation.
2020 (getDefaultUseCaches): Likewise.
2021 (setRequestProperty): Added @since tag.
2023 2003-06-17 Michael Koch <konqueror@gmx.de>
2025 * java/net/InetSocketAddress.java
2026 (InetSocketAddress): Use wildcard address if addr is null.
2027 (InetSocketAddress): Dont duplicate implementation.
2028 (InetSocketAddress): Throw exception when hostname is null.
2029 * java/net/Socket.java:
2031 (Socket): Throw exception when raddr is null, handle case when laddr
2034 2003-06-17 Michael Koch <konqueror@gmx.de>
2036 * java/nio/DirectByteBufferImpl.java
2037 (address): Made package private.
2038 (DirectByteBufferImpl): New constructor.
2039 * java/nio/natDirectByteBufferImpl.cc
2040 (allocateImpl): Moved to java.nio namespace, implemented.
2041 (freeImpl): Likewise.
2042 (getImpl): Likewise.
2043 (putImpl): Likewise.
2045 (_Jv_JNI_NewDirectByteBuffer): Implemented.
2046 (_Jv_JNI_GetDirectBufferAddress): Implemented.
2047 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
2049 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2051 * include/powerpc-signal.h: New File.
2052 * configure.in: Use it.
2053 * configure: Regenerated.
2055 2003-06-17 Michael Koch <konqueror@gmx.de>
2057 * java/util/Locale.java
2058 (getDisplayLanguage): Made it final.
2059 (getDisplayCountry): Likewise.
2060 (getDisplayVariant): Likewise.
2061 (getDisplayName): Likewise.
2063 2003-06-17 Michael Koch <konqueror@gmx.de>
2065 * java/util/PropertyResourceBundle.java:
2066 Removed unneeded import.
2068 2003-06-17 Michael Koch <konqueror@gmx.de>
2070 * java/util/prefs/AbstractPreferences.java,
2071 java/util/prefs/PreferencesFactory.java:
2072 Reworked imports, removed unused imports.
2073 * java/util/prefs/Preferences.java
2074 (systemNodeForPackage): Method takes a Class not an Object.
2075 (userNodeForPackage): Likewise.
2076 (nodeForPackage): Likewise.
2078 2003-06-17 Michael Koch <konqueror@gmx.de>
2080 * gnu/java/security/x509/X509Certificate.java:
2081 Explicitely import used classes.
2083 2003-06-17 Michael Koch <konqueror@gmx.de>
2085 * java/util/zip/ZipEntry.java,
2086 java/util/zip/ZipFile.java,
2087 java/util/zip/ZipInputStream.java,
2088 java/util/zip/ZipOutputStream.java:
2089 Reworked imports, only import used classes.
2091 2003-06-17 Michael Koch <konqueror@gmx.de>
2093 * gnu/java/lang/ArrayHelper.java,
2094 gnu/java/lang/ClassHelper.java:
2095 Reformatted to match classpath's versions.
2097 2003-06-14 Michael Koch <konqueror@gmx.de>
2099 * gnu/java/nio/FileChannelImpl.java
2100 (map_address): Removed incorrect comment.
2101 * gnu/java/nio/SelectorImpl.java
2102 (register): Remove code duplication and code for file channel handling.
2103 * gnu/java/nio/ServerSocketChannelImpl.java
2104 (serverSocket): Renamed from sock_object.
2105 (ServerSocketChannel): Initialize serverSocket.
2106 (socket): Return serverSocket.
2107 * gnu/java/nio/SocketChannelImpl.java
2108 (socket): Renamed from sock_object.
2109 (isConnectionPenging): Simplified.
2110 (socket): Return socket.
2111 2003-06-14 Michael Koch <konqueror@gmx.de>
2113 * java/security/BasicPermission.java:
2114 New version from classpath.
2116 2003-06-14 Michael Koch <konqueror@gmx.de>
2118 * javax/naming/directory/Attribute.java:
2119 New version from classpath.
2121 2003-06-14 Michael Koch <konqueror@gmx.de>
2123 * java/io/BufferedReader.java,
2124 java/io/FileOutputStream.java:
2125 New versions from classpath.
2127 2003-06-12 Andrew Haley <aph@redhat.com>
2129 * prims.cc (catch_segv): Create exception in handler.
2130 (catch_fpe): Likewise.
2131 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
2132 (_Jv_ThrowSignal): Remove.
2134 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
2135 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
2136 to nullp and arithexception.
2137 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2138 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2139 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2140 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2141 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2143 2003-06-11 Andrew Haley <aph@redhat.com>
2145 * jni.cc (_Jv_JNI_check_types): New.
2146 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
2147 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
2148 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
2149 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
2151 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
2154 2003-06-11 Tom Tromey <tromey@redhat.com>
2156 * java/lang/ClassLoader.java (loadClass): Not deprecated.
2157 * java/io/PrintStream.java: Not deprecated.
2159 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
2161 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
2162 (fillOval): implemented
2163 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
2164 (fillArc): implemented.
2165 * gnu/gcj/xlib/GC.java (drawArc): added native method.
2166 (fillArc): added native method.
2167 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
2168 (fillArc): added native method.
2170 2003-06-11 Michael Koch <konqueror@gmx.de>
2172 * java/awt/im/InputSubset.java:
2173 New version from classpath.
2175 2003-06-11 Michael Koch <konqueror@gmx.de>
2177 * javax/swing/AbstractAction.java,
2178 javax/swing/AbstractButton.java,
2179 javax/swing/AbstractCellEditor.java,
2180 javax/swing/AbstractListModel.java,
2181 javax/swing/BorderFactory.java,
2182 javax/swing/Box.java,
2183 javax/swing/BoxLayout.java,
2184 javax/swing/ButtonGroup.java,
2185 javax/swing/DefaultButtonModel.java,
2186 javax/swing/DefaultListModel.java,
2187 javax/swing/DefaultListSelectionModel.java,
2188 javax/swing/FocusManager.java,
2189 javax/swing/ImageIcon.java,
2190 javax/swing/InputMap.java,
2191 javax/swing/JApplet.java,
2192 javax/swing/JButton.java,
2193 javax/swing/JCheckBox.java,
2194 javax/swing/JCheckBoxMenuItem.java,
2195 javax/swing/JColorChooser.java,
2196 javax/swing/JComboBox.java,
2197 javax/swing/JComponent.java,
2198 javax/swing/JDesktopPane.java,
2199 javax/swing/JDialog.java,
2200 javax/swing/JEditorPane.java,
2201 javax/swing/JFileChooser.java,
2202 javax/swing/JFormattedTextField.java,
2203 javax/swing/JFrame.java,
2204 javax/swing/JLabel.java,
2205 javax/swing/JLayeredPane.java,
2206 javax/swing/JList.java,
2207 javax/swing/JMenuBar.java,
2208 javax/swing/JMenuItem.java,
2209 javax/swing/JOptionPane.java,
2210 javax/swing/JPanel.java,
2211 javax/swing/JPasswordField.java,
2212 javax/swing/JPopupMenu.java,
2213 javax/swing/JProgressBar.java,
2214 javax/swing/JRadioButton.java,
2215 javax/swing/JRadioButtonMenuItem.java,
2216 javax/swing/JRootPane.java,
2217 javax/swing/JScrollBar.java,
2218 javax/swing/JScrollPane.java,
2219 javax/swing/JSeparator.java,
2220 javax/swing/JSlider.java,
2221 javax/swing/JTabbedPane.java,
2222 javax/swing/JTable.java,
2223 javax/swing/JTextField.java,
2224 javax/swing/JToggleButton.java,
2225 javax/swing/JToolBar.java,
2226 javax/swing/JToolTip.java,
2227 javax/swing/JTree.java,
2228 javax/swing/JViewport.java,
2229 javax/swing/JWindow.java,
2230 javax/swing/KeyStroke.java,
2231 javax/swing/ListSelectionModel.java,
2232 javax/swing/LookAndFeel.java,
2233 javax/swing/RepaintManager.java,
2234 javax/swing/ScrollPaneLayout.java,
2235 javax/swing/SizeRequirements.java,
2236 javax/swing/SwingConstants.java,
2237 javax/swing/Timer.java,
2238 javax/swing/UIDefaults.java,
2239 javax/swing/UIManager.java,
2240 javax/swing/border/AbstractBorder.java,
2241 javax/swing/border/CompoundBorder.java,
2242 javax/swing/colorchooser/AbstractColorChooserPanel.java,
2243 javax/swing/colorchooser/ColorChooserComponentFactory.java,
2244 javax/swing/colorchooser/ColorSelectionModel.java,
2245 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2246 javax/swing/event/AncestorEvent.java,
2247 javax/swing/event/HyperlinkEvent.java,
2248 javax/swing/event/InternalFrameAdapter.java,
2249 javax/swing/event/InternalFrameEvent.java,
2250 javax/swing/event/ListDataEvent.java,
2251 javax/swing/event/MouseInputAdapter.java,
2252 javax/swing/event/SwingPropertyChangeSupport.java,
2253 javax/swing/event/TableModelEvent.java,
2254 javax/swing/event/TreeWillExpandListener.java,
2255 javax/swing/event/UndoableEditEvent.java,
2256 javax/swing/filechooser/FileFilter.java,
2257 javax/swing/filechooser/FileSystemView.java,
2258 javax/swing/filechooser/FileView.java,
2259 javax/swing/plaf/BorderUIResource.java,
2260 javax/swing/plaf/basic/BasicDefaults.java,
2261 javax/swing/table/AbstractTableModel.java,
2262 javax/swing/table/DefaultTableCellRenderer.java,
2263 javax/swing/table/DefaultTableColumnModel.java,
2264 javax/swing/table/DefaultTableModel.java,
2265 javax/swing/table/TableColumn.java,
2266 javax/swing/text/JTextComponent.java,
2267 javax/swing/tree/AbstractLayoutCache.java,
2268 javax/swing/tree/DefaultMutableTreeNode.java,
2269 javax/swing/tree/DefaultTreeCellEditor.java,
2270 javax/swing/tree/DefaultTreeCellRenderer.java,
2271 javax/swing/tree/DefaultTreeModel.java,
2272 javax/swing/tree/DefaultTreeSelectionModel.java,
2273 javax/swing/tree/FixedHeightLayoutCache.java,
2274 javax/swing/tree/TreeCellEditor.java,
2275 javax/swing/tree/TreeModel.java,
2276 javax/swing/tree/TreeNode.java,
2277 javax/swing/tree/TreePath.java,
2278 javax/swing/tree/TreeSelectionModel.java,
2279 javax/swing/tree/VariableHeightLayoutCache.java,
2280 javax/swing/undo/AbstractUndoableEdit.java,
2281 javax/swing/undo/CompoundEdit.java,
2282 javax/swing/undo/StateEdit.java,
2283 javax/swing/undo/UndoManager.java,
2284 javax/swing/undo/UndoableEditSupport.java:
2285 New versions from classpath.
2286 * javax/swing/table/JTableHeader.java:
2287 New file from classpath.
2289 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
2290 * Makefile.in: Regenerated.
2292 2003-06-11 Michael Koch <konqueror@gmx.de>
2294 * java/nio/MappedByteBuffer.java,
2295 java/nio/channels/Channels.java,
2296 java/nio/channels/ServerSocketChannel.java,
2297 java/nio/channels/spi/AbstractSelector.java:
2298 Removed unneeded imports.
2300 2003-06-11 Michael Koch <konqueror@gmx.de>
2302 * java/net/DatagramSocket.java:
2303 Partly merged with classpath.
2305 2003-06-11 Michael Koch <konqueror@gmx.de>
2307 * java/awt/Frame.java,
2308 java/awt/Graphics.java,
2310 java/awt/Robot.java,
2311 java/awt/image/ColorModel.java:
2312 New versions from classpath.
2314 2003-06-10 Michael Koch <konqueror@gmx.de>
2316 * java/io/PrintStream.java:
2317 Merged version from classpath.
2318 (close): Removed sychronized keyword. This class is not garantied to
2322 2003-06-09 Tom Tromey <tromey@redhat.com>
2324 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
2326 (getDescent): Likewise, for "descent".
2328 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
2330 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
2331 (getMaxDescent): adjusted return value.
2332 (getAscent): modified to use metrics for 'O'.
2333 (getDescent): modified to use metrics for 'y'.
2335 2003-06-08 Anthony Green <green@redhat.com>
2337 * java/net/URLStreamHandler.java (sameFile): Fix port value
2339 * java/net/URL.java (handler): Make package private.
2340 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
2342 2003-06-07 Tom Tromey <tromey@redhat.com>
2344 For PR libgcj/11085:
2345 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
2346 Limit number of characters in numeric field when required.
2347 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
2348 Respect maximumIntegerDigits.
2350 2003-06-08 Michael Koch <konqueror@gmx.de>
2352 * java/net/Socket.java
2353 (Socket): Dont initialize inputShutdown and outputShutdown twice,
2354 call bind() and connect() to actually do the bind and connect tasks.
2355 (bind): Connect to canonical address if bindpoint is null, create
2356 socket and bind it to bindpoint.
2357 (connect): Check for exceptions.
2359 2003-06-08 Michael Koch <konqueror@gmx.de>
2361 * java/net/DatagramSocket.java
2362 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
2363 into the Multicast constructors.
2364 * java/net/DatagramSocketImpl.java
2365 (getOption): Removed.
2366 (setOption): Removed.
2367 * java/net/MulticastSocket.java
2368 (MulticastSocket): Call setReuseAddress (true).
2369 * java/net/SocketImpl.java
2370 (getOption): Removed.
2371 (setOption): Removed.
2373 2003-06-07 Jeff Sturm <jsturm@one-point.com>
2376 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
2377 Test for empty vector.
2379 2003-06-06 Mark Wielaard <mark@klomp.org>
2381 * java/security/Security.java (secprops): Initialize.
2382 (loadProviders): Return boolean.
2383 (static): Check result of loadProvider calls. If necessary
2384 display WARNING and fallback to Gnu provider.
2386 2002-06-06 James Clark <jjc@jclark.com>
2388 Fix for PR libgcj/8738:
2389 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
2390 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
2391 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
2392 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
2393 (write): Always decrease avail when count is increased.
2394 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
2395 and whether output buffer is full before increasing size.
2397 2002-06-06 Mark Wielaard <mark@klomp dot org>
2399 * java/io/PrintStream.java (writeChars(char[],int, int)):
2400 Check converter.havePendingBytes().
2401 (writeChars(String,int,int)): Likewise.
2402 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
2403 Check converter.havePendingBytes() and flush buffer when stalled.
2405 2003-06-07 Michael Koch <konqueror@gmx.de>
2408 (O_DSYNC): Define O_DSYNC on platforms not
2409 supporting O_FSYNC (newlib).
2411 2003-06-06 Mark Wielaard <mark@klomp.org>
2413 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
2416 2003-06-06 Michael Koch <konqueror@gmx.de>
2418 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2419 More compile fixes from my stupid work yesterday.
2421 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
2423 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
2424 if _IEEE_LIBM is undefined.
2426 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
2428 * libjava/include/posix.h (O_SYNC): Define if not available
2429 and a reasonable, perhaps more conservative, replacement exists.
2430 (O_DSYNC): Likewise.
2431 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
2433 2003-06-05 Michael Koch <konqueror@gmx.de>
2435 * javax/swing/plaf/BorderUIResource.java,
2436 javax/swing/plaf/basic/BasicDefaults.java,
2437 javax/swing/plaf/basic/BasicOptionPaneUI.java:
2438 More compile fixes for latest Border commit. I should not commit
2439 something in this heat here ...
2441 2003-06-05 Michael Koch <konqueror@gmx.de>
2443 * javax/swing/border/BevelBorder.java
2444 (BevelBorder): Removed.
2445 * javax/swing/border/EmptyBorder.java:
2447 (EmptyBorder): Removed.
2448 (getBorderInsets): Dont use l, r, t and b.
2449 * javax/swing/border/EtchedBorder.java
2450 (EtchedBorder): Removed.
2451 * javax/swing/border/LineBorder.java
2452 (LineBorder): Removed.
2453 * javax/swing/border/MatteBorder.java
2454 (MatteBorder): Removed.
2455 * javax/swing/border/TitledBorder.java
2456 (defaultBorder): Use other default for now.
2457 (defaultFont): Likewise.
2458 (defaultColor): Likewise.
2460 2003-06-05 Michael Koch <konqueror@gmx.de>
2462 * javax/swing/border/Border.java:
2463 New version from classpath.
2465 2003-06-05 Michael Koch <konqueror@gmx.de>
2467 * javax/swing/border/AbstractBorder.java,
2468 javax/swing/border/BevelBorder.java,
2469 javax/swing/border/CompoundBorder.java,
2470 javax/swing/border/EmptyBorder.java,
2471 javax/swing/border/EtchedBorder.java,
2472 javax/swing/border/LineBorder.java,
2473 javax/swing/border/MatteBorder.java,
2474 javax/swing/border/TitledBorder.java:
2475 New versions from Classpath.
2477 2003-06-05 Michael Koch <konqueror@gmx.de>
2479 * java/awt/Button.java,
2480 java/awt/Checkbox.java,
2481 java/awt/CheckboxMenuItem.java,
2482 java/awt/Choice.java,
2483 java/awt/Container.java,
2484 java/awt/Dialog.java,
2485 java/awt/EventQueue.java,
2486 java/awt/FileDialog.java,
2487 java/awt/Frame.java,
2488 java/awt/Label.java,
2491 java/awt/MenuItem.java,
2492 java/awt/Panel.java,
2493 java/awt/PopupMenu.java,
2494 java/awt/Rectangle.java,
2495 java/awt/ScrollPane.java,
2496 java/awt/Scrollbar.java,
2497 java/awt/TextArea.java,
2498 java/awt/TextField.java,
2499 java/awt/Window.java,
2500 java/awt/datatransfer/DataFlavor.java,
2501 java/awt/dnd/DragSource.java,
2502 java/awt/dnd/DragSourceContext.java,
2503 java/awt/event/HierarchyEvent.java,
2504 java/awt/event/MouseWheelEvent.java,
2505 java/awt/im/InputContext.java,
2506 java/awt/image/BufferedImage.java,
2507 java/awt/image/ComponentColorModel.java,
2508 java/awt/image/Raster.java,
2509 java/awt/image/WritableRaster.java,
2510 java/awt/peer/ComponentPeer.java,
2511 java/awt/print/PageFormat.java,
2512 java/awt/print/PrinterJob.java:
2513 New versions from Classpath.
2515 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
2517 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2518 numberFormat.setParseIntegerOnly(true).
2520 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2522 * include/posix-threads.h: Include <machine/pal.h> on OSF.
2524 2003-06-03 Andrew Haley <aph@redhat.com>
2526 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2527 stack volatile to prevent optimization from removing it.
2529 2003-05-27 Michael Koch <konqueror@gmx.de>
2531 * java/util/zip/Deflater.java
2532 (FILTERED): Merged documentation from classpath.
2533 * java/util/zip/DeflaterOutputStream.java
2534 (DeflaterOutputStream): Merged documentation and argument validity
2535 check from classpath.
2536 (deflate): Merged documentation from classpath.
2538 * java/util/zip/Inflater.java
2539 (Inflater): Merged class documentation from classpath.
2540 (zstream): Reordered.
2541 (is_finished): Reordered.
2542 (dict_needed): Reordered.
2543 (Inflater): Reordered, merged documentation from classpath.
2545 (finalize): Merged documentation from classpath.
2546 (finished): Likewise.
2547 (getAdler): Likewise.
2548 (getRemaining): Likewise.
2549 (getTotalIn): Likewise.
2550 (getTotalOut): Likewise.
2551 (inflate): Likewise.
2552 (needsDictionary): Likewise.
2553 (needsInput): Likewise.
2555 (setDictionary): Likewise.
2556 (setInput): Likewise.
2558 2003-05-27 Michael Koch <konqueror@gmx.de>
2560 * java/net/URLConnection.java
2561 (getHeaderFieldInt): Merged with classpath.
2563 2003-05-27 Michael Koch <konqueror@gmx.de>
2565 * java/io/PrintStream.java
2566 (PrintStream): Reformatted.
2567 (PrintStream): New method, merged from classpath.
2568 (write): Reformatted.
2570 2003-05-27 Michael Koch <konqueror@gmx.de>
2572 * java/lang/System.java:
2573 Explicitely import needed classes.
2575 2003-05-26 Michael Koch <konqueror@gmx.de>
2577 * java/net/NetPermission.java,
2578 java/net/NetworkInterface.java,
2579 java/net/PasswordAuthentication.java,
2580 java/net/SocketPermission.java:
2581 New versions from classpath.
2583 2003-05-25 Michael Koch <konqueror@gmx.de>
2585 * java/io/PushbackInputStream.java,
2586 java/net/Authenticator.java,
2587 java/net/ContentHandler.java,
2588 java/net/ContentHandlerFactory.java,
2589 java/net/DatagramSocket.java,
2590 java/net/DatagramSocketImpl.java,
2591 java/net/DatagramSocketImplFactory.java,
2592 java/net/FileNameMap.java,
2593 java/net/SocketImplFactory.java,
2594 java/net/SocketOptions.java,
2595 java/net/URLStreamHandlerFactory.java:
2596 Merged new versions from classpath.
2598 2003-05-25 Michael Koch <konqueror@gmx.de>
2600 * java/awt/Checkbox.java,
2601 java/awt/Dialog.java,
2603 java/awt/Frame.java,
2604 java/awt/ScrollPaneAdjustable.java,
2605 java/awt/Scrollbar.java,
2606 java/awt/Window.java:
2607 New versions from classpath.
2609 2003-05-22 Jeff Sturm <jsturm@one-point.com>
2612 * java/io/ObjectInputStream (enableResolveObject):
2613 Fixed spelling of permission name.
2615 2003-05-20 Michael Koch <konqueror@gmx.de>
2617 * java/io/DataInputStream.java
2618 (convertFromUTF): Merged comment from classpath.
2619 * java/io/PrintStream.java
2620 (error_occured): Renamed from error, merged comment from classpath.
2621 (PrintStream): No need to initialized error.
2622 (checkError): Replace error with error_occurred.
2623 (setError): Likewise.
2625 2003-05-20 Michael Koch <konqueror@gmx.de>
2627 * java/io/DataInputStream.java:
2628 Reformatted, Replaced < and & with html entitites in documentation.
2629 * java/io/File.java:
2631 * java/io/PrintWriter.java:
2632 Moved class documentation.
2634 2003-05-20 Michael Koch <konqueror@gmx.de>
2636 * gnu/java/nio/ByteBufferImpl.java,
2637 gnu/java/nio/CharBufferImpl.java,
2638 gnu/java/nio/CharViewBufferImpl.java,
2639 gnu/java/nio/DirectByteBufferImpl.java,
2640 gnu/java/nio/DoubleBufferImpl.java,
2641 gnu/java/nio/DoubleViewBufferImpl.java,
2642 gnu/java/nio/FloatBufferImpl.java,
2643 gnu/java/nio/FloatViewBufferImpl.java,
2644 gnu/java/nio/IntBufferImpl.java,
2645 gnu/java/nio/IntViewBufferImpl.java,
2646 gnu/java/nio/LongBufferImpl.java,
2647 gnu/java/nio/LongViewBufferImpl.java,
2648 gnu/java/nio/natDirectByteBufferImpl.cc,
2649 gnu/java/nio/ShortBufferImpl.java,
2650 gnu/java/nio/ShortViewBufferImpl.java:
2651 Moved files to java/nio.
2652 * gnu/java/nio/SocketChannelImpl.java
2654 * java/nio/ByteBuffer.java,
2655 java/nio/CharBuffer.java,
2656 java/nio/DoubleBuffer.java,
2657 java/nio/FloatBuffer.java,
2658 java/nio/IntBuffer.java,
2659 java/nio/LongBuffer.java,
2660 java/nio/ShortBuffer.java:
2661 Dont import anything.
2662 * java/nio/ByteBufferImpl.java,
2663 java/nio/CharBufferImpl.java,
2664 java/nio/CharViewBufferImpl.java,
2665 java/nio/DirectByteBufferImpl.java,
2666 java/nio/DoubleBufferImpl.java,
2667 java/nio/DoubleViewBufferImpl.java,
2668 java/nio/FloatBufferImpl.java,
2669 java/nio/FloatViewBufferImpl.java,
2670 java/nio/IntBufferImpl.java,
2671 java/nio/IntViewBufferImpl.java,
2672 java/nio/LongBufferImpl.java,
2673 java/nio/LongViewBufferImpl.java,
2674 java/nio/natDirectByteBufferImpl.cc,
2675 java/nio/ShortBufferImpl.java,
2676 java/nio/ShortViewBufferImpl.java:
2677 Moved from gnu/java/nio.
2679 (ordinary_java_source_files): Moved files from gnu/java/nio to
2681 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2683 * Makefile.in: Regenerated.
2685 2003-05-19 Michael Koch <konqueror@gmx.de>
2687 * java/util/Calendar.java
2688 (get): Not final anymore since JDK 1.4
2691 2003-05-19 Michael Koch <konqueror@gmx.de>
2693 * java/text/CollationKey.java:
2694 Merged copyright and dat from classpath.
2695 * java/text/RuleBasedCollator.java:
2696 Merged class documentation from classpath.
2698 2003-05-19 Michael Koch <konqueror@gmx.de>
2700 * java/nio/CharBuffer.java
2701 (toString): Compile fix.
2703 2003-05-19 Michael Koch <konqueror@gmx.de>
2705 * gnu/java/nio/ByteBufferImpl.java
2706 (putLong): Fixed conversion to bytes.
2707 (putDouble): Fixed conversion to bytes.
2708 * gnu/java/nio/DirectByteBufferImpl.java
2709 (putLong): Fixed conversion to bytes.
2710 (putDouble): Fixed conversion to bytes.
2711 * gnu/java/nio/FileLockImpl.java
2712 (isValid): Reformatted.
2713 * java/nio/Buffer.java
2714 (Buffer): Fixed off-by-one bug in handling mark.
2715 * java/nio/ByteBuffer.java:
2717 * java/nio/CharBuffer.java
2718 (toString): Don't use relative get to get string data.
2720 2003-05-16 Michael Koch <konqueror@gmx.de>
2722 * java/io/natFileDescriptorPosix.cc
2723 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2726 2003-05-14 Michael Koch <konqueror@gmx.de>
2728 * gnu/java/nio/FileLockImpl.java
2729 (released): New member variable.
2730 (FileLockImpl): Initialize released.
2731 (releaseImpl): New native method.
2732 (release): Implemented.
2733 * gnu/java/nio/SelectorImpl.java: Reformatted.
2734 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2735 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2736 (accept): Throws IOException.
2737 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2738 (implConfigureBlocking): Throws IOException.
2739 (connect): Likewise.
2742 * gnu/java/nio/natFileLockImpl.cc: New file.
2743 * java/nio/channels/FileLock.java: Reformatted.
2745 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2746 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2747 * Makefile.in: Regenerated.
2749 2003-05-13 Michael Koch <konqueror@gmx.de>
2751 * gnu/java/nio/CharViewBufferImpl.java
2752 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2753 (get): Shift bits to the right direction.
2755 * gnu/java/nio/DoubleViewBufferImpl.java
2756 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2757 (get): Shift bits to the right direction.
2759 * gnu/java/nio/FloatViewBufferImpl.java
2760 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2761 (get): Shift bits to the right direction.
2763 * gnu/java/nio/IntViewBufferImpl.java
2764 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2765 (get): Shift bits to the right direction.
2767 * gnu/java/nio/LongViewBufferImpl.java
2768 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2769 (get): Shift bits to the right direction.
2771 * gnu/java/nio/ShortViewBufferImpl.java
2772 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2773 (get): Shift bits to the right direction.
2776 2003-05-13 Michael Koch <konqueror@gmx.de>
2778 * gnu/java/nio/natDirectByteBufferImpl.cc
2779 (allocateImpl): jlong -> RawData*.
2780 (freeImpl): Likewise.
2782 2003-05-13 Michael Koch <konqueror@gmx.de>
2784 * java/nio/channels/FileChannel.java
2785 (MapMode.m): Made it package-private to match JDK 1.4.
2786 * java/nio/charset/Charset.java
2787 (decode): Made it final to match JDK 1.4.
2789 2003-05-13 Michael Koch <konqueror@gmx.de>
2791 * java/io/FileDescriptor.java
2792 (SYNC): New constant.
2794 (getLength): Renamed from lenght() to match classpath's
2795 FileDescriptor.java.
2796 * java/io/RandomAccessFile.java
2797 (RandomAccessFile): Removed unneeded mode check, implemented mode
2798 "rws" and "rwd", merged documentation from classpath.
2799 (setLength): Reformatted.
2800 (length): Use new getLength() of FileDescriptor.
2801 * java/io/natFileDescriptorEcos.cc
2802 (getLength): Renamed from length().
2803 * java/io/natFileDescriptorPosix.cc
2804 (open): Implemented support for SYNC and DSYNC.
2805 (seek): Use getLength() instead of length().
2806 (getLength): Renamed from length().
2807 * java/io/natFileDescriptorWin32.cc
2808 (getLength): Renamed from length().
2809 (seek): Use getLength() instead of length().
2810 (available): Likewise.
2811 * gnu/java/nio/natFileChannelImpl.cc
2812 (size): Use getLength() instead of length().
2814 2003-05-13 Michael Koch <konqueror@gmx.de>
2816 * gnu/java/nio/ByteBufferImpl.java
2817 (ByteBufferImpl): All constructors revised.
2818 (slice): Reimplemented.
2819 (duplicate): Reimplemented.
2820 (asReadOnlyBuffer): Reimplemented.
2821 * java/nio/ByteBuffer.java:
2823 (array_offset): Renamed from "offset" to match all other buffer
2825 (ByteBuffer): All constructors revised.
2826 (allocateDirect): Implemented.
2827 (allocate): New implementation, documentation reworked.
2829 (get): Documentation reworked.
2830 (put): New implementation, documentation reworked.
2831 (hasArray): Documentation reworked.
2832 (arrayOffset): Likewise.
2833 (hashCode): Likewise.
2835 (compareTo): Likewise.
2837 (compact): Likewise.
2838 (isDirect): Likewise.
2840 (duplicate): Likewise.
2841 (asReadOnlyBuffer): Likewise.
2843 (ordinary_java_source_files):
2844 Added gnu/java/nio/DirectByteBufferImpl.java.
2846 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2847 * Makefile.in: Regenerated.
2849 2003-05-12 Michael Koch <konqueror@gmx.de>
2851 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2852 (nio_get_*): Removed.
2853 (nio_put_*): Removed.
2854 (as*Buffer): Implemented.
2855 (compact): Implemented.
2856 (get): Documentation added.
2857 (put): Documentation added.
2858 (get*): Newly implemented.
2859 (put*): Newly implemented.
2860 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2861 (CharBufferImpl): Revised.
2862 (slice): New implementation.
2863 (duplicate): New implementation.
2864 (compact): New implementation.
2865 (asReadOnlyBuffer): New implementation.
2866 (get): Documentation revised.
2867 (order): Return native byte order.
2868 * gnu/java/nio/DirectByteBufferImpl.java
2869 (allocateDirect): objects can be null not 0.
2870 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2871 (DoubleBufferImpl): Revised.
2872 (slice): New implementation.
2873 (duplicate): New implementation.
2874 (compact): New implementation.
2875 (asReadOnlyBuffer): New implementation.
2876 (get): Documentation revised.
2877 (order): Return native byte order.
2878 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2879 (FloatBufferImpl): Revised.
2880 (slice): New implementation.
2881 (duplicate): New implementation.
2882 (compact): New implementation.
2883 (asReadOnlyBuffer): New implementation.
2884 (get): Documentation revised.
2885 (order): Return native byte order.
2886 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2887 (IntBufferImpl): Revised.
2888 (slice): New implementation.
2889 (duplicate): New implementation.
2890 (compact): New implementation.
2891 (asReadOnlyBuffer): New implementation.
2892 (get): Documentation revised.
2893 (order): Return native byte order.
2894 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2895 (LongBufferImpl): Revised.
2896 (slice): New implementation.
2897 (duplicate): New implementation.
2898 (compact): New implementation.
2899 (asReadOnlyBuffer): New implementation.
2900 (get): Documentation revised.
2901 (order): Return native byte order.
2902 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2903 (ShortBufferImpl): Revised.
2904 (slice): New implementation.
2905 (duplicate): New implementation.
2906 (compact): New implementation.
2907 (asReadOnlyBuffer): New implementation.
2908 (get): Documentation revised.
2909 (order): Return native byte order.
2910 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2911 (CharBuffer): Revised.
2913 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2914 (DoubleBuffer): Revised.
2915 (allocateDirect): Removed.
2917 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2918 (FloatBuffer): Revised.
2919 (allocateDirect): Removed.
2921 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2922 (IntBuffer): Revised.
2923 (allocateDirect): Removed.
2925 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2926 (LongBuffer): Revised.
2927 (allocateDirect): Removed.
2929 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2930 (ShortBuffer): Revised.
2931 (allocateDirect): Removed.
2933 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2934 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2936 (ordinary_java_source_files): Added the following files:
2937 gnu/java/nio/CharViewBufferImpl.java,
2938 gnu/java/nio/DoubleViewBufferImpl.java,
2939 gnu/java/nio/FloatViewBufferImpl.java,
2940 gnu/java/nio/IntViewBufferImpl.java,
2941 gnu/java/nio/LongViewBufferImpl.java,
2942 gnu/java/nio/ShortViewBufferImpl.java
2943 (nat_source_files): Removed the following files:
2944 gnu/java/nio/natByteBufferImpl.cc,
2945 gnu/java/nio/natCharBufferImpl.cc
2946 * Makefile.in: Regenerated.
2948 2003-05-12 Michael Koch <konqueror@gmx.de>
2950 * gnu/java/nio/CharViewBufferImpl.java,
2951 gnu/java/nio/DirectByteBufferImpl.java,
2952 gnu/java/nio/DoubleViewBufferImpl.java,
2953 gnu/java/nio/FloatViewBufferImpl.java,
2954 gnu/java/nio/IntViewBufferImpl.java,
2955 gnu/java/nio/LongViewBufferImpl.java,
2956 gnu/java/nio/ShortViewBufferImpl.java,
2957 gnu/java/nio/natDirectByteBufferImpl.cc:
2958 New files, not yet to be compiled.
2960 2003-05-10 Michael Koch <konqueror@gmx.de>
2962 * javax/swing/plaf/ButtonUI.java,
2963 javax/swing/plaf/ColorUIResource.java,
2964 javax/swing/plaf/ComponentUI.java,
2965 javax/swing/plaf/DimensionUIResource.java,
2966 javax/swing/plaf/FontUIResource.java,
2967 javax/swing/plaf/IconUIResource.java,
2968 javax/swing/plaf/InsetsUIResource.java,
2969 javax/swing/plaf/LabelUI.java,
2970 javax/swing/plaf/ListUI.java,
2971 javax/swing/plaf/OptionPaneUI.java,
2972 javax/swing/plaf/PanelUI.java,
2973 javax/swing/plaf/TabbedPaneUI.java,
2974 javax/swing/plaf/TextUI.java,
2975 javax/swing/plaf/TreeUI.java,
2976 javax/swing/plaf/ViewportUI.java,
2977 javax/swing/plaf/basic/BasicBorders.java,
2978 javax/swing/plaf/basic/BasicButtonUI.java,
2979 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2980 javax/swing/plaf/basic/BasicDefaults.java,
2981 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2982 javax/swing/plaf/basic/BasicIconFactory.java,
2983 javax/swing/plaf/basic/BasicLabelUI.java,
2984 javax/swing/plaf/basic/BasicListUI.java,
2985 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2986 javax/swing/plaf/basic/BasicPanelUI.java,
2987 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2988 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2989 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2990 javax/swing/plaf/basic/BasicTextUI.java,
2991 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2992 javax/swing/plaf/basic/BasicTreeUI.java,
2993 javax/swing/plaf/basic/BasicViewportUI.java,
2994 javax/swing/plaf/metal/MetalLookAndFeel.java:
2995 New versions from classpath. This adds copyrights to all files and
2996 some serialVersionUIDs.
2998 2003-05-10 Michael Koch <konqueror@gmx.de>
3000 * java/nio/CharBuffer.java
3001 (offset): Make it package-private.
3002 (backing_buffer): Likewise.
3003 * java/nio/DoubleBuffer.java
3004 (offset): Make it package-private.
3005 (backing_buffer): Likewise.
3007 * java/nio/FloatBuffer.java
3008 (offset): Make it package-private.
3009 (backing_buffer): Likewise.
3010 * java/nio/IntBuffer.java
3011 (offset): Make it package-private.
3012 (backing_buffer): Likewise.
3013 * java/nio/LongBuffer.java
3014 (offset): Make it package-private.
3015 (backing_buffer): Likewise.
3016 * java/nio/ShortBuffer.java
3017 (offset): Make it package-private.
3018 (backing_buffer): Likewise.
3020 2003-05-10 Michael Koch <konqueror@gmx.de>
3022 * java/nio/CharBuffer.java
3023 (put): Fixed precondtion check.
3024 (toString): Make it work without backing array.
3025 (put): Skip one level of method calling.
3027 2003-05-10 Michael Koch <konqueror@gmx.de>
3029 * java/security/Identity.java,
3030 java/security/IdentityScope.java,
3031 java/security/Key.java,
3032 java/security/KeyPair.java,
3033 java/security/PrivateKey.java,
3034 java/security/Provider.java,
3035 java/security/PublicKey.java,
3036 java/security/SecureRandom.java,
3037 java/security/SecureRandomSpi.java,
3038 java/security/SignedObject.java,
3039 java/security/Signer.java,
3040 java/security/cert/Certificate.java,
3041 java/security/cert/PKIXCertPathBuilderResult.java,
3042 java/security/cert/X509Certificate.java:
3043 New versions from classpath.
3045 2003-05-09 Tom Tromey <tromey@redhat.com>
3047 * Makefile.in: Rebuilt.
3048 * Makefile.am (nat_source_files): Removed old files.
3049 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
3050 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
3051 * gnu/java/nio/natIntBufferImpl.cc: Removed.
3052 * gnu/java/nio/natLongBufferImpl.cc: Removed.
3053 * gnu/java/nio/natShortBufferImpl.cc: Removed.
3055 2003-05-09 Michael Koch <konqueror@gmx.de>
3057 * gnu/java/nio/ByteBufferImpl.java
3058 (nio_cast): Removed.
3059 (ByteBufferImpl): Removed.
3060 (nio_get_Byte): Removed.
3061 (nio_put_Byte): Removed.
3062 (asByteBuffer): Removed.
3063 (asCharBuffer): Removed implementation and throw exception.
3064 (asShortBuffer): Likewise.
3065 (asIntBuffer): Likewise.
3066 (asLongBuffer): Likewise.
3067 (asFloatBuffer): Likewise.
3068 (asDoubleBuffer): Likewise.
3069 * gnu/java/nio/CharBufferImpl.java
3070 (CharBufferImpl): Removed.
3071 (nio_get_Byte): Removed.
3072 (nio_put_Byte): Removed.
3073 (asByteBuffer): Removed.
3074 * gnu/java/nio/DoubleBufferImpl.java
3075 (DoubleBufferImpl): Removed.
3076 (nio_get_Byte): Removed.
3077 (nio_put_Byte): Removed.
3078 (asByteBuffer): Removed.
3079 * gnu/java/nio/FloatBufferImpl.java
3080 (FloatBufferImpl): Removed.
3081 (nio_get_Byte): Removed.
3082 (nio_put_Byte): Removed.
3083 (asByteBuffer): Removed.
3084 * gnu/java/nio/IntBufferImpl.java
3085 (IntBufferImpl): Removed.
3086 (nio_get_Byte): Removed.
3087 (nio_put_Byte): Removed.
3088 (asByteBuffer): Removed.
3089 * gnu/java/nio/LongBufferImpl.java
3090 (LongBufferImpl): Removed.
3091 (nio_get_Byte): Removed.
3092 (nio_put_Byte): Removed.
3093 (asByteBuffer): Removed.
3094 * gnu/java/nio/ShortBufferImpl.java
3095 (ShortBufferImpl): Removed.
3096 (nio_get_Byte): Removed.
3097 (nio_put_Byte): Removed.
3098 (asByteBuffer): Removed.
3099 * gnu/java/nio/natByteBufferImpl.cc
3100 (nio_cast): Removed.
3101 (nio_get_Byte): Removed.
3102 (nio_put_Byte): Removed.
3103 * gnu/java/nio/natCharBufferImpl.cc
3104 (nio_get_Byte): Removed.
3105 (nio_put_Byte): Removed.
3107 2003-05-09 Michael Koch <konqueror@gmx.de>
3109 * java/net/JarURLConnection.java
3110 (getJarEntry): Merged documentation from classpath.
3111 (getJarFile): Likewise.
3112 (getMainAttributes): Likewise.
3113 (getAttributes): Likewise.
3114 (getManifest): Likewise.
3115 (getCertificates): Reformatted.
3116 * java/net/URLConnection.java:
3117 Little classpath merge.
3119 2003-05-09 Michael Koch <konqueror@gmx.de>
3121 * java/io/DataOutputStream.java
3122 (writeShort): Made it synchronized.
3123 (writeChar): Likewise.
3124 (writeInt): Likewise.
3125 (writeLong): Liekwise.
3126 (writeUTF): Made it synchronized, renamed argument to match classpath.
3127 * java/io/InputStreamReader.java
3128 (converter): Added documentation.
3129 (read): Merged documentation from classpath.
3130 * java/io/OutputStreamWriter.java
3131 (OutputStreamWriter): Merged documentation from classpath.
3132 (close): Reformatted.
3133 (getEncoding): Likewise.
3135 (write): Merged documentation from classpath, reformatted.
3137 2003-05-08 Tom Tromey <tromey@redhat.com>
3139 * configure.host <powerpc64*-*>: Set with_libffi_default and
3140 libgcj_interpreter to "yes".
3142 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
3144 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
3146 2003-05-06 Tom Tromey <tromey@redhat.com>
3148 * verify.cc: Reverted previous patch.
3150 2003-05-06 Michael Koch <konqueror@gmx.de>
3152 * java/io/DataOutputStream.java
3153 (write): Renamed argument to "value", merged documentation from
3155 (writeBoolean): Likewise.
3156 (writeByte): Likewise.
3157 (writeShort): Likewise.
3158 (writeChar): Likewise.
3159 (writeInt): Likewise.
3160 (writeLong): Likewise.
3161 (writeFloat): Likewise.
3162 (writeDouble): Likewise.
3163 (writeBytes): Likewise.
3164 (writeChars): Likewise.
3165 (writeUTF): Likewise.
3167 (performDelete): Added documentation.
3168 (performList): Likewise.
3169 (performMkdir): Likewise.
3170 (performSetReadOnly): Likewise.
3171 (performRenameTo): Likewise.
3172 (performSetLastModified): Likewise.
3173 (delete): Made it sychronized.
3174 (renameTo): Made it sychronized.
3175 (equals): Reformatted.
3176 (isHidden): Likewise.
3177 (listFiles): Likewise.
3178 (setReadOnly): Likewise.
3179 (listRoots): Likewise.
3180 (setLastModified): Likewise.
3181 (checkRead): Likewise.
3182 (checkWrite): Likewise.
3183 * java/io/FileInputStream.java
3184 (skip): Made it sychronized, merged from classpath.
3185 * java/io/FileOutputStream.java
3186 (write): Merged from classpath.
3187 * java/io/InputStreamReader.java:
3188 (InputStreamReader): Merged documentation from classpath.
3190 2003-05-05 Michael Koch <konqueror@gmx.de>
3192 * java/net/NetworkInterface.java
3193 (networkInterfaces): Removed.
3194 (getByName): Use getRealNetworkInterfaces() instead of
3196 (getByInetAddress): Likewise.
3197 (getNetworkInterfaces): Likewise.
3198 (toString): Fix output of addresses of an interface.
3200 2003-05-05 Michael Koch <konqueror@gmx.de>
3202 * java/io/DataInputStream.java:
3203 Merged new documentation from classpath.
3205 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
3207 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
3209 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
3210 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
3211 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
3212 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
3213 * gnu/awt/gtk/GtkMainThread.java: Likewise.
3214 * gnu/awt/gtk/GtkToolkit.java: Likewise.
3215 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
3216 * java/security/Key.java: Likewise.
3217 * java/security/PrivateKey.java: Likewise.
3218 * java/security/Provider.java: Likewise.
3219 * java/security/PublicKey.java: Likewise.
3221 2003-05-02 Michael Koch <konqueror@gmx.de>
3224 (create): Doesnt throws any exceptions.
3225 * java/net/URLConnection.java
3226 (URLConnection): Commend added.
3227 (getExpiration): The header field is called "expires" not
3229 (getHeaderField): Merged documentation with classpath.
3230 (getHeaderFieldInt): Likewise.
3231 (getHeaderFieldDate): Likewise.
3232 (getHeaderFieldKey): Likewise.
3233 (getPermission): Likewise.
3234 (setDefaultUseCaches): Likewise.
3235 (setRequestProperty): Likewise.
3236 (addRequestProperty): Likewise.
3237 (getRequestProperty): Likewise.
3238 (getRequestProperties): Likewise.
3239 (setDefaultRequestProperty): Likewise.
3240 (getDefaultRequestProperty): Likewise.
3241 (guessContentTypeFromStream): Likewise.
3242 (getFileNameMap): Likewise.
3243 (setFileNameMap): Likewise.
3244 (setDoInput): Merged implementation and documentation with classpath.
3245 (setDoOutput): Likewise.
3246 (setAllowUserInteraction): Likewise.
3247 (setDefaultAllowUserInteraction): Likewise.
3248 (setContentHandlerFactory): Made it synchronized, merged documentation
3250 (guessContentTypeFromName): Renamed argument fname to filename to
3251 match classpath, merged documentation with classpath.
3253 2003-05-02 Michael Koch <konqueror@gmx.de>
3255 * java/net/JarURLConnection.java
3256 (JarURLConnection): Class documentation merged with classpath.
3257 (getJarFileURL): Moved and documentation merged with classpath.
3258 (getEntryName): Likewise.
3259 (JarURLConnection): Documentation merged with classpath.
3260 (getJarEntry): Likewise.
3261 (getJarFile): Likewise.
3262 * java/net/PlainDatagramSocketImpl.java:
3263 Class documentation moved.
3264 * java/net/URLConnection.java
3265 (fileNameMap): Moved and documentation merged with classpath.
3266 (factory): Likewise.
3267 (defaultAllowUserInteraction): Likewis.
3268 (defaultUseCaches): Likewise.
3269 (allowUserInteraction): Likewise.
3270 (connected): Likewise.
3272 (connect): Documentation merged with classpath.
3274 (getContentLength): Likewise.
3275 (getContentType): Likewise.
3276 (getContentEncoding): Likewise.
3277 (getExpiration): Likewise.
3278 (getDate): Likewise.
3279 (getLastModified): Likewise.
3280 (getHeaderField): Likewise.
3281 (getContent): Likewise.
3282 (getPermission): Likewise.
3283 (getInputStream): Likewise.
3284 (getOutputStream): Likewise.
3285 (toString): Likewise.
3286 (getDoInput): Likewise.
3287 (getDoOutput): Likewise.
3288 (setAllowUserInteraction): Likewise.
3289 (getAllowUserInteraction): Likewise.
3290 (setDefaultAllowUserInteraction): Likewise.
3291 (getDefaultAllowUserInteraction): Likewise.
3292 (setUseCaches): Likewise.
3293 (getUseCaches): Likewise.
3294 (setIfModifiedSince): Likewise.
3295 (getIfModifiedSince): Likewise.
3296 (setDefaultRequestProperty): Likewise.
3297 (getDefaultRequestProperty): Likewise.
3298 (setContentHandlerFactory): Likewise.
3299 (setFileNameMap): Likewise.
3301 2003-05-02 Michael Koch <konqueror@gmx.de>
3303 * java/net/InetAddress.java:
3304 Merged class documentation with classpath.
3305 * java/net/JarURLConnection.java:
3306 Explicitely import all used classes.
3307 * java/net/URL.java:
3309 * java/net/ServerSocket.java,
3310 java/net/Socket.java:
3311 New versions from classpath.
3313 2003-05-02 Michael Koch <konqueror@gmx.de>
3315 * gnu/java/nio/FileChannelImpl.java
3316 (read): New implementation.
3317 (implRead): New methods.
3318 (write): New implementation, call other write insteal of read method.
3319 (implWrite): New methods.
3320 (map): Added comment.
3321 (transferFrom): Implemented.
3322 (transferTo): Implemented.
3323 (lock): Added checks to throw exceptions.
3324 (truncate): Added check to throw exception.
3325 * gnu/java/nio/natFileChannelImpl.cc
3326 (implRead): New method.
3327 (implWrite): New method.
3328 * java/nio/ByteBuffer.java
3329 (hashCode): Fixed comment.
3330 (get): Fixed exception documentation.
3331 (put): Fixed exception documentation.
3332 * java/nio/CharBuffer.java:
3333 Added comment for later optimizations.
3335 2003-04-30 Tom Tromey <tromey@redhat.com>
3338 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
3340 (type::compatible): Use _Jv_IsAssignableFrom.
3341 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
3342 (_Jv_IsAssignableFrom): Work even when source or target class is
3345 2003-04-30 Michael Koch <konqueror@gmx.de>
3347 * java/text/BreakIterator.java
3348 (clone): New method.
3350 2003-04-30 Michael Koch <konqueror@gmx.de>
3352 * java/text/CollationElementIterator.java,
3353 java/text/CollationKey.java,
3354 java/text/RuleBasedCollator.java:
3355 Merged copyright and documentation from classpath and
3356 rearranged some code. No code changes done.
3358 2003-04-30 Michael Koch <konqueror@gmx.de>
3360 * java/util/regex/Matcher.java
3361 (pattern): New member variable.
3362 (appendReplacement): New method.
3363 (appendTail): New method.
3366 (group): New method.
3367 (replaceFirst): Added documentation.
3368 (replaceAll): Added documentation.
3369 (groupCount): New method.
3370 (lookingAt): New method.
3371 (matches): New method.
3372 (reset): New method.
3373 (start): New method.
3374 * java/util/regex/Pattern.java
3375 (serialVersionUID): New constant.
3376 (CANON_EQ): New constant.
3377 (CASE_INSENSITIVE): New constant.
3378 (COMMENTS): New constant.
3379 (DOTALL): New constant.
3380 (MULTILINE): New constant.
3381 (UNICODE_CASE): New constant.
3382 (UNIX_LINES): New constant.
3383 (regex): New member variable.
3384 (flags): New member variable.
3385 (Pattern): New method.
3386 (compile): Documentation added.
3387 (flags): New method.
3388 (matches): Documentation added.
3389 (matcher): Documentation added.
3390 (split): Documentation added.
3391 (pattern): New method.
3393 2003-04-30 Michael Koch <konqueror@gmx.de>
3395 * gnu/java/security/Engine.java,
3396 gnu/java/security/OID.java,
3397 gnu/java/security/der/BitString.java,
3398 gnu/java/security/der/DER.java,
3399 gnu/java/security/der/DERReader.java,
3400 gnu/java/security/der/DERValue.java,
3401 gnu/java/security/der/DERWriter.java,
3402 gnu/java/security/provider/DSAKeyFactory.java,
3403 gnu/java/security/provider/X509CertificateFactory.java,
3404 gnu/java/security/x509/X500DistinguishedName.java,
3405 gnu/java/security/x509/X509CRL.java,
3406 gnu/java/security/x509/X509CRLEntry.java,
3407 gnu/java/security/x509/X509Certificate.java,
3408 java/security/cert/CRLSelector.java,
3409 java/security/cert/CertPathBuilder.java,
3410 java/security/cert/CertPathBuilderResult.java,
3411 java/security/cert/CertPathBuilderSpi.java,
3412 java/security/cert/CertPathParameters.java,
3413 java/security/cert/CertPathValidator.java,
3414 java/security/cert/CertPathValidatorResult.java,
3415 java/security/cert/CertPathValidatorSpi.java,
3416 java/security/cert/CertSelector.java,
3417 java/security/cert/CertStore.java,
3418 java/security/cert/CertStoreParameters.java,
3419 java/security/cert/CertStoreSpi.java,
3420 java/security/cert/CollectionCertStoreParameters.java,
3421 java/security/cert/LDAPCertStoreParameters.java,
3422 java/security/cert/PKIXBuilderParameters.java,
3423 java/security/cert/PKIXCertPathBuilderResult.java,
3424 java/security/cert/PKIXCertPathChecker.java,
3425 java/security/cert/PKIXCertPathValidatorResult.java,
3426 java/security/cert/PKIXParameters.java,
3427 java/security/cert/PolicyNode.java,
3428 java/security/cert/PolicyQualifierInfo.java,
3429 java/security/cert/TrustAnchor.java,
3430 javax/security/auth/x500/X500Principal.java:
3431 New files from classpath.
3432 * gnu/java/io/ASN1ParsingException.java,
3433 gnu/java/io/Base64InputStream.java,
3434 gnu/java/security/der/DEREncodingException.java,
3435 gnu/java/security/provider/DSAParameters.java,
3436 gnu/java/security/provider/DSASignature.java,
3437 gnu/java/security/provider/Gnu.java,
3438 gnu/java/security/provider/GnuDSAPrivateKey.java,
3439 gnu/java/security/provider/GnuDSAPublicKey.java,
3440 java/security/AlgorithmParameterGenerator.java,
3441 java/security/AlgorithmParameters.java,
3442 java/security/KeyFactory.java,
3443 java/security/KeyPairGenerator.java,
3444 java/security/KeyStore.java,
3445 java/security/MessageDigest.java,
3446 java/security/SecureClassLoader.java,
3447 java/security/SecureRandom.java,
3448 java/security/Security.java,
3449 java/security/Signature.java,
3450 java/security/cert/Certificate.java,
3451 java/security/cert/CertificateFactory.java,
3452 java/security/cert/CertificateFactorySpi.java,
3453 java/security/cert/X509CRL.java,
3454 java/security/cert/X509Certificate.java,
3455 java/security/spec/DSAPublicKeySpec.java:
3456 New versions from classpath.
3457 * gnu/java/security/provider/DERReader.java,
3458 gnu/java/security/provider/DERWriter.java,
3459 java/security/Engine.java: Removed.
3461 (java_source_files, javax_source_files): Added new files.
3462 * Makefile.in: Regenerated.
3464 2003-04-29 Michael Koch <konqueror@gmx.de>
3466 * javax/swing/JTable.java
3467 (AUTO_RESIZE_ALL_COLUMNS): New constant.
3468 (AUTO_RESIZE_LAST_COLUMN): New constant.
3469 (AUTO_RESIZE_NEXT_COLUMN): New constant.
3470 (AUTO_RESIZE_OFF): New constant.
3471 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
3472 (JTable): New method.
3473 (columnAdded): New method.
3474 (columnMarginChanged): New method.
3475 (columnMoved): New method.
3476 (columnRemoved): New method.
3477 (columnSelectionChanged): New method.
3478 (editingCanceled): New method.
3479 (editingStopped): New method.
3480 (getColumnModel): New method.
3481 (getPreferredScrollableViewportSize): New method.
3482 (getScrollableBlockIncrement): New method.
3483 (getScrollableTracksViewportHeight): New method.
3484 (getScrollableTracksViewportWidth): New method.
3485 (getScrollableUnitIncrement): New method.
3486 (getSelectedRow): New method.
3487 (getSelectionModel): New method.
3488 (tableChanged): New method.
3489 (setModel): New method.
3490 (setSelectionMode): New method.
3491 (setSelectionModel): New method.
3492 (setShowGrid): New method.
3493 (valueChanged): New method.
3494 * javax/swing/text/DefaultEditorKit.java
3495 (backwardAction): New constant.
3496 (beepAction): New constant.
3497 (beginAction): New constant.
3498 (beginLineAction): New constant.
3499 (beginParagraphAction): New constant.
3500 (beginWordAction): New constant.
3501 (copyAction): New constant.
3502 (cutAction): New constant.
3503 (defaultKeyTypedAction): New constant.
3504 (deleteNextCharAction): New constant.
3505 (deletePrevCharAction): New constant.
3506 (downAction): New constant.
3507 (endAction): New constant.
3508 (endLineAction): New constant.
3509 (endOfLineStringProperty): New constant.
3510 (endParagraphAction): New constant.
3511 (endWordAction): New constant.
3512 (forwardAction): New constant.
3513 (insertBreakAction): New constant.
3514 (insertContentAction): New constant.
3515 (insertTabAction): New constant.
3516 (nextWordAction): New constant.
3517 (pageDownAction): New constant.
3518 (pageUpAction): New constant.
3519 (pasteAction): New constant.
3520 (previousWordAction): New constant.
3521 (readOnlyAction): New constant.
3522 (selectAllAction): New constant.
3523 (selectionBackwardAction): New constant.
3524 (selectionBeginAction): New constant.
3525 (selectionBeginLineAction): New constant.
3526 (selectionBeginParagraphAction): New constant.
3527 (selectionBeginWordAction): New constant.
3528 (selectionDownAction): New constant.
3529 (selectionEndAction): New constant.
3530 (selectionEndLineAction): New constant.
3531 (selectionEndParagraphAction): New constant.
3532 (selectionEndWordAction): New constant.
3533 (selectionForwardAction): New constant.
3534 (selectionNextWordAction): New constant.
3535 (selectionPreviousWordAction): New constant.
3536 (selectionUpAction): New constant.
3537 (selectLineAction): New constant.
3538 (selectParagraphAction): New constant.
3539 (selectWordAction): New constant.
3540 (upAction): New constant.
3541 (writableAction): New constant.
3543 2003-04-29 Michael Koch <konqueror@gmx.de>
3545 * java/util/PropertyPermission.java:
3546 New version from classpath
3547 * java/util/ResourceBundle.java:
3548 Partly merged from classpath
3549 (getObject): Reformated.
3550 (tryBundle): Set foundBundle = null if no bundle found.
3552 2003-04-29 Michael Koch <konqueror@gmx.de>
3554 * javax/swing/AbstractListModel.java,
3555 javax/swing/DefaultBoundedRangeModel.java,
3556 javax/swing/DefaultSingleSelectionModel.java:
3557 New Versions from classpath.
3559 2003-04-29 Michael Koch <konqueror@gmx.de>
3561 * java/awt/Window.java
3562 (show): Call super.show() instead of setVisible() to avoid endless
3564 (hide): Call super.hide() instead of setVisible() to avoid endless
3567 2003-04-29 Michael Koch <konqueror@gmx.de>
3569 * java/util/zip/Deflater.java,
3570 java/util/zip/DeflaterOutputStream.java:
3571 Partly merged with classpath.
3573 2003-04-27 Tom Tromey <tromey@redhat.com>
3575 * java/lang/natString.cc (_Jv_AllocString): Initialize
3578 (_Jv_NewStringUtf8Const): Likewise.
3580 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
3582 * include/jvm.h: (_Jv_GetNbArgs) added
3583 (_Jv_GetSafeArg) added
3585 * prims.cc: (_Jv_GetNbArgs) implemented
3586 (_Jv_GetSafeArg) implemented
3587 (_Jv_SetArgs) implemented
3588 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3589 setting _Jv_argc and _Jv_argv
3590 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3592 * java/lang/natRuntime.cc: (insertSystemProperties) use
3593 _Jv_GetSafeArg() instead of _Jv_argv
3595 2003-04-23 Tom Tromey <tromey@redhat.com>
3597 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3598 required by this object. Search superclasses to find required
3600 (get_alignment_from_class): Use alignment of type as it appears
3602 (ALIGNOF): New macro.
3603 (struct aligner): New helper structure.
3605 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
3607 * java/awt/Container.java (addImpl): Enable paint events if adding
3608 a lightweight to a heavyweight.
3609 (addNotify): Ensure that peer is created before
3610 addNotifyContainerChildren.
3611 (addNotifyContainerChildren): Enable paint events if a heavyweight
3612 container contains a lightweight.
3614 2003-04-20 Tom Tromey <tromey@redhat.com>
3616 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3617 java/io/DataInput.java, java/io/DataOutput.java: Imports from
3620 2003-04-19 Tom Tromey <tromey@redhat.com>
3622 * java/sql/Date.java, java/sql/DriverManager.java,
3623 java/sql/Time.java, java/sql/Timestamp.java: New versions from
3626 * Makefile.in: Rebuilt.
3627 * Makefile.am (ordinary_java_source_files): Added new files.
3628 * java/security/AlgorithmParameterGenerator.java,
3629 java/security/AlgorithmParameters.java, java/security/Engine.java,
3630 java/security/Identity.java, java/security/IdentityScope.java,
3631 java/security/KeyFactory.java,
3632 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3633 java/security/MessageDigest.java, java/security/Policy.java,
3634 java/security/ProtectionDomain.java,
3635 java/security/SecureRandom.java, java/security/Security.java,
3636 java/security/Signature.java, java/security/SignatureSpi.java,
3637 java/security/SignedObject.java, java/security/Signer.java,
3638 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3639 java/security/spec/PSSParameterSpec.java,
3640 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3641 java/security/spec/RSAOtherPrimeInfo.java: New versions from
3644 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3646 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3647 (dispose): Null metrics.
3648 * gnu/awt/xlib/XToolkit.java (sync): Implement.
3649 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3651 (finalize): Call dispose.
3652 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3653 (gcCachedCount): New field.
3654 (finalize): New method.
3655 (putGCInCache): New method.
3656 (getGCFromCache): New method.
3657 * gnu/gcj/xlib/GC.java (GC): Make protected.
3658 (clone): Get new GC from cache if possible.
3659 (create): New static method.
3660 (dispose): Save old GC in cache.
3661 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3663 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3665 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3666 * java/awt/Container.java (visitChild): Dispose gfx2 when
3669 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
3671 * java/math/BigInteger.java (probablePrime): New.
3672 * java/math/BigDecimal.java (unscaledValue): New.
3674 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
3676 * java/io/File.java (getAbsolutePath): On Windows, take care
3677 of paths like "C:", "G:foo\bar", etc.
3678 (getName): Make it work correctly on Windows.
3679 (getParent): Make it work correctly on Windows. For UNIX,
3680 fix bug that causes "/" to be returned as the parent of "/",
3681 instead of null as returned by Sun's JRE.
3683 * java/io/natFileWin32.cc: Change copyright owner to FSF.
3685 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3687 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3689 (CACHE_SIZE_PER_DISPLAY): New field
3690 (fontMetricsCache): New field
3691 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3692 loading ISO10646-1 fonts.
3694 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3696 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3698 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3701 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
3703 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3706 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3708 * configure.host (*-linux*): Don't set slow_pthread_self if primary
3709 installed libpthread is either linuxthreads with floating stacks or
3712 2003-04-14 Tom Tromey <tromey@redhat.com>
3714 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3717 2003-04-10 Tom Tromey <tromey@redhat.com>
3719 * verify.cc (pop64): Removed.
3720 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3721 exception if top-of-stack is narrow.
3722 (initialize_stack): Check to ensure that <init> is not static and
3725 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3727 * java/io/ObjectStreamException
3728 * java/io/FileFilter
3729 * java/io/FilenameFilter
3730 * java/io/ObjectInput
3731 * java/io/ObjectOutput
3732 * java/io/ObjectStreamConstants
3733 Minor doc fixes, format fixes, spelling corrections, etc.
3735 Corrected code samples in Javadocs to match reality
3736 * java/io/DataOutput
3737 * java/io/ObjectInputValidation
3738 Major documentation fixes - all Javadocs re-written or updated
3740 2003-04-06 Michael Koch <konqueror@gmx.de>
3742 * java/net/URLConnection.java:
3743 Import classes directly.
3744 (URLConnection): Merged class documentation with classpath.
3745 (url): Moved, documentation from classpath added.
3746 (doInput): Moved, documentation from classpath added.
3747 (doOutput): Moved, documentation from classpath added.
3748 (allowUserInteraction): Moved.
3749 (useCaches): Moved, documentation from classpath added.
3750 (ifModifiedSince): Moved, documentation from classpath added.
3751 (connected): Moved, documentation from classpath added.
3753 2003-04-06 Michael Koch <konqueror@gmx.de>
3755 * java/io/FileInputStream.java
3756 (skip): Renamed some variables to match classpath, added
3757 checks from classpath.
3759 2003-03-31 Michael Koch <konqueror@gmx.de>
3761 * javax/swing/AbstractAction.java
3762 (AbstractAction): Reformatted.
3763 (serialVersionUID): New private member variable.
3764 * javax/swing/plaf/BorderUIResource.java
3765 (serialVersionUID): New private member variable.
3766 * javax/swing/plaf/basic/BasicLookAndFeel.java
3767 (serialVersionUID): New private member variable.
3769 2003-03-31 Michael Koch <konqueror@gmx.de>
3771 * java/sql/Date.java
3772 (valueOf): Deprecated, reformatted.
3773 (toString): Deprecated, reformatted.
3774 * java/sql/Time.java
3775 (valueOf): Deprecated, reformatted.
3776 (toString): Deprecated, reformatted.
3778 2003-03-31 Michael Koch <konqueror@gmx.de>
3780 * java/rmi/dgc/VMID.java
3781 (isUnique): Deprecated.
3783 2003-03-31 Michael Koch <konqueror@gmx.de>
3786 (separator): Merged documentation from classpath.
3787 (separatorChar): Merged documentation from classpath.
3788 (pathSeparator): Merged documentation from classpath.
3789 (pathSeparatorChar): Merged documentation from classpath.
3790 (path): Merged documentation from classpath.
3791 (canRead): Merged documentation from classpath.
3792 (canWrite): Merged documentation from classpath.
3793 (createNewFile): Merged documentation from classpath.
3794 (delete): Merged documentation from classpath.
3795 (equals): Merged documentation from classpath.
3796 (exists): Merged documentation from classpath.
3797 (File): Renamed p to name to match classpath, merged documentation
3799 (getAbsolutePath): Merged documentation from classpath.
3800 (getCanonicalPath): Merged documentation from classpath.
3801 (getCanonicalFile): Merged documentation from classpath.
3802 (getName): Merged documentation from classpath.
3803 (getParent): Merged documentation from classpath.
3804 (getParentFile): Merged documentation from classpath.
3805 (getPath): Merged documentation from classpath.
3806 (hashCode): Merged documentation from classpath.
3807 (isAbsolute): Merged documentation from classpath.
3808 (isDirectory): Merged documentation from classpath.
3809 (isFile): Merged documentation from classpath.
3810 (isHidden): Merged documentation from classpath.
3811 (lastModified): Merged documentation from classpath.
3812 (length): Merged documentation from classpath.
3813 (list): Merged documentation from classpath.
3814 (listFiles): Merged documentation from classpath.
3815 (toString): Merged documentation from classpath.
3816 (toURL): Merged documentation from classpath.
3817 (mkdir): Merged documentation from classpath.
3818 (mkdirs): Merged documentation from classpath.
3819 (createTempFile): Merged documentation from classpath.
3820 (setReadOnly): Merged documentation from classpath.
3821 (listRoots): Merged documentation from classpath.
3822 (compareTo): Merged documentation from classpath.
3823 (renameTo): Merged documentation from classpath.
3824 (setLastModified): Merged documentation from classpath.
3825 * java/io/PrintStream.java
3826 (auto_flush): Merged documentation from classpath.
3827 (PrintStream): Merged documentation from classpath.
3828 (checkError): Merged documentation from classpath.
3829 (setError): Merged documentation from classpath.
3830 (close): Merged documentation from classpath.
3831 (flush): Merged documentation from classpath.
3832 (print): Merged documentation from classpath.
3833 (println): Merged documentation from classpath.
3834 (write): Renamed count to len to match classpath,
3835 merged documentation from classpath.
3836 * java/io/RandomAccessFile.java
3837 (readShort): Merged documentation from classpath.
3838 (readUnsignedByte): Merged documentation from classpath.
3839 (readUnsignedShort): Merged documentation from classpath.
3840 (readUTF): Merged documentation from classpath.
3841 (seek): Reformatted, merged documentation from classpath.
3842 (skipBytes): Renamed some variables to match classpath, reformatted,
3843 merged documentation from classpath.
3844 (write): Merged documentation from classpath.
3845 (writeBoolean): Merged documentation from classpath.
3846 (writeByte): Merged documentation from classpath.
3847 (writeShort): Merged documentation from classpath.
3848 (writeChar): Merged documentation from classpath.
3849 (writeInt): Merged documentation from classpath.
3850 (writeLong): Merged documentation from classpath.
3851 (writeFloat): Merged documentation from classpath.
3852 (writeDouble): Merged documentation from classpath.
3853 (writeBytes): Merged documentation from classpath.
3854 (writeChars): Merged documentation from classpath.
3855 (writeUTF): Reformatted.
3856 (getChannel): Reformatted.
3858 2003-03-31 Michael Koch <konqueror@gmx.de>
3860 * java/awt/font/TextAttribute.java
3861 (readResolve): Throws java.io.InvalidObjectException.
3863 2003-03-31 Michael Koch <konqueror@gmx.de>
3865 * java/rmi/server/LoaderHandler.java
3866 (loadClass): Deprecated.
3867 (getSecurityContext): Deprecated.
3868 * java/rmi/server/LogStream.java
3869 (getDefaultStream): Deprecated.
3870 (setDefaultStream): Deprecated.
3871 (getOutputStream): Deprecated.
3872 (setOutputStream): Deprecated.
3873 (write): Deprecated.
3874 (toString): Deprecated.
3875 (parseLevel): Deprecated.
3876 * java/rmi/server/Operation.java
3877 (Operation): Deprecated.
3878 (getOperation): Deprecated.
3879 (toString): Deprecated.
3880 * java/rmi/server/RemoteCall.java
3881 (getOutputStream): Deprecated.
3882 (releaseOutputStream): Deprecated.
3883 (getInputStream): Deprecated.
3884 (releaseInputStream): Deprecated.
3885 (getResultStream): Deprecated.
3886 (executeCall): Deprecated.
3888 * java/rmi/server/RemoteRef.java
3889 (invoke): Deprecated.
3890 (newCall): Deprecated.
3892 * java/rmi/server/RemoteStub.java
3893 (setRef): Deprecated.
3894 * java/rmi/server/Skeleton.java:
3895 No need to import java.lang.Exception explicitly.
3896 (dispatch): Deprecated.
3897 (getOperations): Deprecated.
3899 2003-03-31 Michael Koch <konqueror@gmx.de>
3901 * java/rmi/dgc/VMID.java,
3902 java/rmi/registry/RegistryHandler.java,
3903 java/rmi/server/LogStream.java,
3904 java/rmi/server/Operation.java,
3905 java/rmi/server/RemoteCall.java,
3906 java/rmi/server/RemoteRef.java,
3907 java/rmi/server/RemoteStub.java:
3910 2003-03-31 Michael Koch <konqueror@gmx.de>
3912 * javax/swing/AbstractCellEditor.java,
3913 javax/swing/AbstractListModel.java,
3914 javax/swing/ActionMap.java,
3915 javax/swing/BorderFactory.java,
3916 javax/swing/ButtonGroup.java,
3917 javax/swing/DefaultBoundedRangeModel.java,
3918 javax/swing/DefaultButtonModel.java,
3919 javax/swing/DefaultCellEditor.java,
3920 javax/swing/DefaultComboBoxModel.java,
3921 javax/swing/DefaultDesktopManager.java,
3922 javax/swing/DefaultListCellRenderer.java,
3923 javax/swing/DefaultSingleSelectionModel.java,
3924 javax/swing/InputMap.java,
3925 javax/swing/JComponent.java,
3926 javax/swing/JMenu.java,
3927 javax/swing/JSlider.java,
3928 javax/swing/KeyStroke.java,
3929 javax/swing/OverlayLayout.java,
3930 javax/swing/ScrollPaneLayout.java,
3931 javax/swing/SizeRequirements.java,
3932 javax/swing/UIManager.java,
3933 javax/swing/ViewportLayout.java,
3934 javax/swing/border/AbstractBorder.java,
3935 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3936 javax/swing/event/EventListenerList.java,
3937 javax/swing/table/AbstractTableModel.java,
3938 javax/swing/table/DefaultTableCellRenderer.java,
3939 javax/swing/table/DefaultTableColumnModel.java,
3940 javax/swing/table/DefaultTableModel.java,
3941 javax/swing/table/TableColumn.java,
3942 javax/swing/text/StyledEditorKit.java,
3943 javax/swing/tree/DefaultMutableTreeNode.java,
3944 javax/swing/tree/DefaultTreeModel.java,
3945 javax/swing/tree/DefaultTreeSelectionModel.java,
3946 javax/swing/tree/TreePath.java,
3947 javax/swing/undo/AbstractUndoableEdit.java,
3948 javax/swing/undo/StateEdit.java,
3949 javax/swing/undo/StateEditable.java,
3950 javax/swing/undo/UndoableEditSupport.java:
3951 Merges from classpath.
3953 2003-03-30 Tom Tromey <tromey@redhat.com>
3955 * java/lang/String.java (data, boffset, count): Documented.
3956 (String(byte[],String)): Reformatted.
3957 (String(byte[])): Likewise.
3958 (lastIndexOf(int)): Likewise.
3959 (lastIndexOf(String)): Likewise.
3960 (substring(int)): Renamed argument to match Classpath.
3961 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3963 * java/lang/String.java: Miscellaneous minor formatting changes
3964 to match Classpath more closely.
3966 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3967 Tom Tromey <tromey@redhat.com>
3969 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3971 (charAt): Put index in exception.
3972 (contentEquals): New method.
3973 Include StringBuffer.h.
3974 * java/lang/String.java (cachedHashCode): New field.
3975 (String()): Follow classpath implementation.
3977 (contentEquals): Declare.
3978 (subSequence): Don't declare IndexOutIfBoundsException in throws
3980 (matches, replaceFirst, replaceAll, split): New methods from
3983 2003-03-29 Tom Tromey <tromey@redhat.com>
3985 * java/lang/String.java: Reordered to follow Classpath; merged in
3988 * java/text/MessageFormat.java: Removed some whitespace.
3990 * Makefile.in: Rebuilt.
3991 * Makefile.am (awt_java_source_files): Added new files.
3992 * gnu/javax/rmi/PortableServer.java,
3993 gnu/javax/rmi/CORBA/DelegateFactory.java,
3994 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3995 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3996 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3997 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3998 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3999 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
4000 javax/rmi/PortableRemoteObject.java,
4001 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
4002 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4003 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
4004 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
4005 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
4006 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
4008 * java/lang/natClass.cc (newInstance): Put method name in
4010 (getConstructor): Likewise.
4011 (getDeclaredConstructor): Likewise.
4012 (getPrivateMethod): Likewise.
4014 2003-03-28 Tom Tromey <tromey@redhat.com>
4016 * java/lang/reflect/Proxy.java: New version from Classpath.
4017 * java/lang/Package.java: New version from Classpath.
4019 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
4021 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
4022 * configure: Regenerate.
4024 2003-03-28 Michael Koch <konqueror@gmx.de>
4026 * java/io/File.java:
4027 Import needed classes instead of whole packages, merged class
4028 documentation with classpath, moved constants and variables to top of
4030 * java/io/PrintStream.java:
4031 Merged class documentation with classpath, moved constants and
4032 variables to top of class.
4033 * java/io/RandomAccessFile.java
4034 (RandomAccessFile): Merged with classpath.
4035 (read): Merged with classpath).
4036 (read*): Reformatted.
4038 2003-03-28 Michael Koch <konqueror@gmx.de>
4040 * java/io/FileDescriptor.java
4041 (finalize): Throws Throwable, not IOException.
4042 * java/io/ObjectOutputStream.java
4043 (PutField.put): Doesnt throws anything.
4045 2003Â03-28 Michael Koch <konqueror@gmx.de>
4047 * java/io/FileOutputStream.java:
4048 Merged class documentation and authors with classpath.
4049 (FileOutputStream): Partly merged with classpath.
4050 (write): Merged with classpath.
4051 (getChannel): Make it synchronized instead of explicit block in this
4053 * java/io/RandomAccessFile.java:
4054 Merged class documentation and authors with classpath.
4056 2003-03-26 Tom Tromey <tromey@redhat.com>
4058 * java/lang/natRuntime.cc (insertSystemProperties): Set
4059 gnu.classpath.home.url.
4060 * Makefile.in: Rebuilt.
4061 * Makefile.am: Define LIBDIR.
4063 2003-03-25 Michael Koch <konqueror@gmx.de>
4065 * java/io/FileInputStream.java
4066 (read): Renamed b to buf and off to offset.
4067 * java/io/FileOutputStream.java
4068 (ch): Documentation added.
4069 (FileOutputStream): Documentation added.
4070 (getFD): Documentation added.
4071 (write): Documentation added.
4072 (close): Documentation added.
4073 (getChannel): Documentation added.
4075 2003-03-24 Michael Koch <konqueror@gmx.de>
4077 * java/io/DataOutputStream.java
4078 (write): Merged from classpath.
4079 * java/io/File.java:
4080 Merged copyrigth with classpath.
4081 * java/io/FileInputStream.java
4082 (getChannel): Made it synchronized instead of using a synchronized
4084 * java/io/FileOutputStream.java: Reformatted.
4085 * java/io/InputStreamReader.java
4086 (InputStreamReader): Renamed enc to encoding_name.
4087 (close): Merged documentation from classpath.
4088 (getEncoding): Merged documentation from classpath.
4089 (ready): Merged documentation from classpath.
4090 (read): Merged documentation from classpath.
4091 * java/io/LineNumberReader.java
4092 (lineNumber): Made it private.
4093 (LineNumberReader): Use Constant instead of a direct value.
4094 * java/io/OutputStreamWriter.java
4095 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
4096 documentation from classpath.
4097 (close): Merged documentation from classpath.
4098 (flush): Merged documentation from classpath.
4099 (write): Merged documentation from classpath.
4100 * java/io/PrintStream.java: Reformatted.
4102 2003-03-24 Michael Koch <konqueror@gmx.de>
4104 * javax/swing/text/ComponentView.java
4105 (getComponent): Must be final.
4106 * javax/swing/tree/DefaultTreeCellRenderer.java:
4108 * javax/swing/undo/StateEditable.java:
4111 2003-03-24 Michael Koch <konqueror@gmx.de>
4113 * java/rmi/activation/ActivationInstantiator.java:
4115 * java/rmi/activation/Activator.java:
4117 * java/rmi/registry/RegistryHandler.java:
4118 Remerged from classpath.
4120 2003-03-24 Michael Koch <konqueror@gmx.de>
4122 * java/util/Date.java:
4123 Fixed documentation starting tag to make javadoc happy.
4124 * java/util/regex/Pattern.java
4125 (Pattern): Implements Serializable.
4126 * java/util/PatternSyntaxException.java
4127 (serialVersionUID): New member variable.
4129 2003-03-24 Michael Koch <koqnueror@gmx.de>
4131 * java/awt/ContainerOrderFocusTraversalPolicy.java
4132 (getFirstComponent): Implemented.
4133 (getLastComponent): Implemented.
4134 (getDefaultComponent): Implemented.
4135 (setImplicitDownCycleTraversal): Fixed implementation.
4136 * java/awt/Robot.java
4137 (Robot): Added documentation.
4138 * java/awt/Toolkit.java
4139 (getFontList): Deprecated.
4140 (getFontMetrics): Deprecated.
4141 (getPrintJob): Added documentation.
4142 (getSystemSelection): Added documentation.
4143 (getLockingKeyState): Added documentation.
4144 (setLockingKeyState): Added documentation.
4145 (createCustomCursor): Added documentation.
4146 (getBestCursorSize): Added documentation.
4147 (getMaximumCursorColors): Added documentation.
4148 (isFrameStateSupported): Added documentation.
4150 2003-03-24 Michael Koch <konqueror@gmx.de>
4152 * java/io/RandomAccessFile.java:
4153 More little merges with classpath. No code changes.
4155 2003-03-24 Michael Koch <konqueror@gmx.de>
4157 * java/net/natInetAddressNoNet.cc:
4159 * java/net/natPlainDatagramSocketImplNoNet.cc:
4160 Fixed inlcude of java/net/DatagramPacket.h.
4161 * java/net/natPlainSocketImplNoNet.cc:
4162 Include some missing classes.
4164 2003-03-24 Michael Koch <konqueror@gmx.de>
4166 * java/awt/dnd/DropTarget.java
4167 (DropTargetAutoScroller): According to the online documentation, this
4168 is protected, but in reality it is public.
4169 * java/awt/dnd/DropTargetContext.java
4170 (TransferableProxy): According to the online documentation, this
4171 is protected, but in reality it is public.
4173 2003-03-24 Michael Koch <konqueror@gmx.de>
4175 * java/io/DataInputStream.java
4176 (): Wrapped documentation line.
4177 (): Fixed @return tag.
4178 * java/io/DataOutputStream.java
4179 (written): Moved to top of class.
4180 (all methods): Merged documentation from classpath.
4181 * java/io/File.java:
4182 Merged copyright year with classpath.
4183 * java/io/FileInputStream.java
4184 (all methods): Merged documentation from classpath.
4185 * java/io/LineNumberReader.java
4186 (getLineNumber): Fixed @return tag.
4187 * java/io/ObjectInputStream.java.
4189 * java/io/ObjectOutputStream.java:
4190 Reformatted, fixed some @see tags.
4191 * java/io/OutputStreamWriter.java:
4193 * java/io/Writer.java:
4196 2003-03-24 Michael Koch <konqueror@gmx.de>
4198 * java/awt/Frame.java
4199 (DEFAULT_CURSOR): Fixed @deprecated tag.
4200 (setCursor): Fixed @deprecated tag.
4202 2003-03-24 Michael Koch <konqueror@gmx.de>
4204 * java/beans/beancontext/BeanContextEvent.java:
4207 2003-03-23 Eric Blake <ebb9@email.byu.edu>
4209 * java/lang/natStringBuffer.cc (regionMatches): New function.
4210 * java/lang/String.java (count): Now package-private.
4211 * java/lang/StringBuffer.java: Merged with Classpath.
4213 2003-03-23 Michael Koch <konqueror@gmx.de>
4215 * java/io/BufferedOutputStream.java:
4217 * java/io/BufferedReader.java:
4219 * java/io/ByteArrayOutputStream.java
4220 (size): Fixed @see tag.
4221 * java/io/CharArrayWriter.java
4222 (size): Fixed @see tag.
4223 * java/io/DataInput.java:
4225 * java/io/DataOutput.java:
4227 * java/io/DataOutputStream.java:
4228 Merged copyright years with classpath.
4229 * java/io/Externalizable.java:
4231 * java/io/FileFilter.java:
4233 * java/io/FileInputStream.java:
4234 Merged copyright years with classpath.
4235 * java/io/FileOutputStream.java:
4236 Merged copyright years with classpath.
4237 * java/io/FilePermission.java
4238 (FilePermission): Replaced @XXX with FIXME:.
4239 * java/io/FileWriter.java:
4241 * java/io/FilenameFilter.java:
4243 * java/io/FilterInputStream.java:
4245 * java/io/FilterOutputStream.java:
4247 * java/io/FilterReader.java:
4249 * java/io/FilterWriter.java:
4251 * java/io/LineNumberInputStream.java
4252 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
4254 (getLineNumber): Fixed @return tag.
4255 * java/io/ObjectInput.java:
4257 * java/io/ObjectOutput.java:
4259 * java/io/ObjectStreamClass.java:
4261 * java/io/PrintStream.java:
4262 Merged copyright years with classpath.
4263 * java/io/PushbackReader.java
4264 (PushbackReader): Replaced @code with @param.
4265 * java/io/SerializablePermission.java:
4267 * java/io/StreamTokenizer.java
4268 (resetSyntax): Fixed @see tag.
4270 2003-03-22 Richard Henderson <rth@redhat.com>
4272 * sysdep/ia64/locks.h: Include ia64intrin.h.
4273 (compare_and_swap): Use __sync_bool_compare_and_swap.
4274 (compare_and_swap_release): Expose ar.ccv assignment.
4276 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
4278 * include/posix.h: Add suffix for darwin dynamic libraries.
4280 2003-03-21 Michael Koch <konqueror@gmx.de>
4282 * javax/swing/Action.java
4283 (ACCELERATOR_KEY): New constant.
4284 (ACTION_COMMAND_KEY): Likewise.
4285 (MNEMONIC_KEY): Likewise.
4286 * javax/swing/UnsupportedLookAndFeelException.java
4287 (UnsupportedLookAndFeelException): Must be public.
4288 * javax/swing/WindowConstants.java
4289 (EXIT_ON_CLOSE): New constant.
4290 * javax/swing/text/BadLocationException.java
4291 (offset): New member variable.
4292 (BadLocationException): New implementation, documentation added.
4293 (offsetRequested): New method.
4294 * javax/swing/text/Caret.java:
4296 * javax/swing/text/Document.java:
4299 2003-03-21 Michael Koch <konqueror@gmx.de>
4301 * java/rmi/activation/Activatable.java
4302 (serialVersionUID): New member variable.
4303 * java/rmi/activation/ActivationGroup.java
4304 (serialVersionUID): New member variable.
4305 * java/rmi/activation/ActivationGroupDesc.java
4306 (serialVersionUID): New member variable.
4307 * java/rmi/registry/Registry.java:
4309 (Registry): Deprecated.
4310 * java/rmi/server/LoaderHandler.java
4312 (LoaderHandler): Deprecated.
4313 * java/rmi/server/LogStream.java
4315 (LogStream): Deprecated.
4316 * java/rmi/server/Operation.java
4317 (Operation): Deprecated.
4318 * java/rmi/server/RMIFailureHandler.java:
4320 * java/rmi/server/RMISocketFactory.java:
4322 * java/rmi/server/RemoteCall.java
4323 (RemoteCall): Deprecated.
4324 * java/rmi/server/RemoteStub.java:
4326 * java/rmi/server/Skeleton.java
4328 (Skeleton): Deprecated.
4330 2003-03-21 Michael Koch <konqueror@gmx.de>
4332 * java/io/LineNumberReader.java
4333 (LineNumberReader): Merged documentation with classpath.
4334 (getLineNumber): Likewise.
4335 (setLineNumber): Likewise.
4339 (readLine): Likewise.
4342 2003-03-21 Michael Koch <konqueror@gmx.de>
4344 * java/rmi/RMISecurityManager.java
4345 (checkAccept): Removed.
4346 (checkAccess): Likewise.
4347 (checkAccess): Likewise.
4348 (checkAwtEventQueueAccess): Likewise.
4349 (checkConnect): Likewise.
4350 (checkCreateClassLoader): Likewise.
4351 (checkDelete): Likewise.
4352 (checkExec): Likewise.
4353 (checkExit): Likewise.
4354 (checkLink): Likewise.
4355 (checkListen): Likewise.
4356 (checkMemberAccess): Likewise.
4357 (checkMulticast): Likewise.
4358 (checkPackageAccess): Likewise.
4359 (checkPackageDefinition): Likewise.
4360 (checkPermission): Likewise.
4361 (checkPrintJobAccess): Likewise.
4362 (checkPropertiesAccess): Likewise.
4363 (checkPropertyAccess): Likewise.
4364 (checkRead): Likewise.
4365 (checkSecurityAccess): Likewise.
4366 (checkSetFactory): Likewise.
4367 (checkSystemClipboardAccess): Likewise.
4368 (checkTopLevelWindow): Likewise.
4369 (checkWrite): Likewise.
4371 2003-03-20 Michael Koch <konqueror@gmx.de>
4373 * gnu/java/nio/FileChannelImpl.java
4375 (map_address): New member variable.
4376 (length): Make it package private.
4377 (fd): Make it package private.
4378 (buf): Make it package private.
4379 (file_obj): Make it package private.
4380 (FileChannelImpl): New constructor.
4381 (nio_mmap_file): Use RawData instead of long.
4382 (nio_munmap_file): Use RawData instead of long.
4383 (nio_msync): Use RawData instead of long.
4384 (implCloseChannel): New implementation using map_address.
4387 (create_direct_mapped_buffer): Implemented, use RawData, throws
4389 (force): Use map_address instead of address.
4390 * gnu/java/nio/MappedByteFileBuffer.java
4392 (map_address): New member variable.
4393 (MappedByteFileBuffer): Use map_address instead of address, reformated.
4394 (several methods): Use map_address instead of address, replaced long
4395 with RawData where appropriate.
4396 * gnu/java/nio/natFileChannelImpl.cc
4397 (nio_mmap_file): Replaced long with RawData.
4398 (nio_munmap_file): Replaced long with RawData.
4399 (nio_msync): Replaced long with RawData.
4400 * gnu/java/nio/natMappedByteFileBuffer.cc
4401 (several methods): Replaced long with RawData where appropriate.
4403 2003-03-20 Michael Koch <konqueror@gmx.de>
4405 * java/net/InetAddress.java,
4406 java/net/JarURLConnection.java,
4407 java/net/PlainDatagramSocketImpl.java,
4408 java/net/PlainSocketImpl.java,
4409 java/net/URLConnection.java:
4410 Merged copyright statements with classpath for easier merging.
4412 2003-03-20 Michael Koch <konqueror@gmx.de>
4414 * java/io/FileInputStream.java
4415 (getChannel): New implementation.
4416 * java/io/FileOutputStream.java
4417 (ch): New member variable.
4418 (getChannel): Implemented.
4419 * java/io/RandomAccessFile.java
4420 (RandomAccessFile): Throws FileNotFoundException instead of
4422 (getChannel): New method.
4423 (ch): New member variable.
4425 2003-03-20 Michael Koch <konqueror@gmx.de>
4427 * java/io/DataOutputStream.java,
4429 java/io/FileInputStream.java,
4430 java/io/FileOutputStream.java,
4431 java/io/InputStreamReader.java,
4432 java/io/LineNumberReader.java,
4433 java/io/OutputStreamWriter.java,
4434 java/io/PrintStream.java,
4435 java/io/RandomAccessFile.java:
4436 Merged copyright statements with classpath for easier merging.
4438 2003-03-19 Michael Koch <konqueror@gmx.de>
4440 * java/lang/Process.java:
4441 Merged from classpath.
4443 2003-03-19 Michael Koch <konqueror@gmx.de>
4445 * java/io/FileOutputStream.java
4446 (FileOutputStream): New constructor, merged from classpath.
4447 * java/io/FileWriter.java
4448 (FileWriter): New constructor, merged from classpath.
4450 2003-03-18 Michael Koch <konqueror@gmx.de>
4452 * java/awt/ScrollPane.java
4453 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
4454 (getViewportSize): Likewise.
4455 (addNotify): Likewise.
4456 (removeNotify): Likewise.
4457 * java/awt/ScrollPaneAdjustable.java
4458 (ScrollPaneAdjustable): No longer extends Scrollbar.
4459 * java/beans/beancontext/BeanContextServices.java:
4461 (getService): Added throws TooManyListenersException;
4462 * java/beans/beancontext/BeanContextServicesSupport.java:
4465 2003-03-18 Michael Koch <konqueror@gmx.de>
4467 * java/io/BufferedOutputStream.java,
4468 java/io/DataInput.java,
4469 java/io/DataInputStream.java,
4470 java/io/DataOutput.java,
4471 java/io/Externalizable.java:
4472 More merges from classpath.
4474 2003-03-18 Michael Koch <konqueror@gmx.de>
4476 * configure.in: Fixed links to platform dependant java.net files.
4477 * configure: Regenerated.
4478 * java/net/natInetAddress.cc,
4479 java/net/natNetworkInterface.cc,
4480 java/net/natPlainDatagramSocketImpl.cc,
4481 java/net/natPlainSocketImpl.cc:
4484 2003-03-18 Michael Koch <konqueror@gmx.de>
4486 * configure.in: Create links to architecture dependent files,
4487 introduced PLATFORMNET variable (set to NoNet for newlib usage).
4488 * configure: Regenerated.
4489 * java/net/natInetAddressNoNet.cc,
4490 java/net/natInetAddressPosix.cc,
4491 java/net/natInetAddressWin32.cc,
4492 java/net/natNetworkInterfaceNoNet.cc,
4493 java/net/natNetworkInterfacePosix.cc,
4494 java/net/natNetworkInterfaceWin32.cc,
4495 java/net/natPlainDatagramSocketImplNoNet.cc,
4496 java/net/natPlainDatagramSocketImplPosix.cc,
4497 java/net/natPlainDatagramSocketImplWin32.cc,
4498 java/net/natPlainSocketImplNoNet.cc,
4499 java/net/natPlainSocketImplPosix.cc,
4500 java/net/natPlainSocketImplWin32.cc: New files.
4502 2003-03-18 Michael Koch <konqueror@gmx.de>
4504 * java/io/BufferedReader.java,
4505 java/io/BufferedWriter.java,
4506 java/io/ByteArrayOutputStream.java,
4507 java/io/FileFilter.java,
4508 java/io/FilePermission.java,
4509 java/io/FileReader.java,
4510 java/io/FileWriter.java,
4511 java/io/FilenameFilter.java,
4512 java/io/FilterInputStream.java,
4513 java/io/FilterOutputStream.java,
4514 java/io/FilterReader.java,
4515 java/io/FilterWriter.java,
4516 java/io/ObjectInput.java,
4517 java/io/ObjectInputValidation.java,
4518 java/io/ObjectOutput.java,
4519 java/io/ObjectStreamField.java,
4520 java/io/PipedInputStream.java,
4521 java/io/PipedReader.java,
4522 java/io/PrintWriter.java,
4523 java/io/PushbackReader.java,
4524 java/io/Reader.java,
4525 java/io/SerializablePermission.java,
4526 java/io/StringReader.java,
4527 java/io/Writer.java:
4528 Merged from classpath.
4530 2003-03-17 Michael Koch <konqueror@gmx.de>
4532 * java/awt/ScrollPaneAdjustable.java:
4535 2003-03-17 Michael Koch <konqueror@gmx.de>
4537 * java/net/DatagramSocket.java
4538 (connect): Fixed comment.
4539 * java/nio/ByteBuffer.java
4540 (hasArray): Fixed comment.
4542 2003-03-17 Michael Koch <konqueror@gmx.de>
4544 * java/beans/Beans.java:
4545 Explicitely import classes not packages.
4546 * java/beans/FeatureDescriptor.java
4547 (preferred): New member variable.
4548 (isPreferred): New method.
4549 (setPreferred): New method.
4550 * java/beans/PropertyEditorManager.java:
4551 Explicitely import used classes.
4552 * java/beans/beancontext/BeanContextChild.java:
4553 Added line wrapping.
4554 * java/beans/beancontext/BeanContextChildSupport.java:
4556 * java/beans/beancontext/BeanContextEvent.java:
4559 2003-03-17 Michael Koch <konqueror@gmx.de>
4561 * java/awt/Dialog.java
4562 (Dialog): New constructor, changed implementations, added
4564 * java/awt/ScrollPaneAdjustable.java
4565 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4567 (serialVersionUID): New member variable.
4568 (sp): New member variable.
4569 (orientation): New member variable.
4570 (value): New member variable.
4571 (minimum): New member variable.
4572 (maximum): New member variable.
4573 (visibleAmount): New member variable.
4574 (unitIncrement): New member variable.
4575 (blockIncrement): New member variable.
4576 (AdjustmentListener): New member variable.
4577 (ScrollPaneAdjustable): New implementation.
4578 (addAdjustmentListener): New method.
4579 (removeAdjustmentListener): New method.
4580 (getAdjustmentListeners): New method.
4581 (getBlockIncrement): New method.
4582 (getMaximum): New method.
4583 (getMinimum): New method.
4584 (getOrientation): New method.
4585 (getUnitIncrement): New method.
4586 (getValue): New method.
4587 (getVisibleAmount): New method.
4588 (setBlockIncrement): New method.
4589 (setMaximum): Implemented.
4590 (setMinimum): Implemented.
4591 (setUnitIncrement): New method.
4592 (setValue): New method.
4593 (setVisibleAmount): Implemented.
4594 (paramString): New stubbed method.
4595 * java/awt/Window.java
4596 (show): Call setVisible().
4597 (hide): Call setVisible().
4598 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4599 and WINDOW_STATE_CHANGED.
4600 (processWindowFocusEvent): New method.
4601 (processWindowStateEvent): New method.
4602 (postEvent): Deprecated.
4603 (applyResourceBundle): Deprecated.
4604 * java/awt/datatransfer/DataFlavor.java
4605 (DataFlavor): Doesn't thow ClassNotFoundException.
4607 2003-03-17 Michael Koch
4609 * javax/print/attribute/Attribute.java,
4610 javax/print/attribute/AttributeSet.java,
4611 javax/print/attribute/PrintRequestAttributeSet.java:
4614 (javax_source_files): Added new files:
4615 javax/print/attribute/Attribute.java
4616 javax/print/attribute/AttributeSet.java
4617 javax/print/attribute/PrintRequestAttributeSet.java
4618 * Makefile.in: Regenerated.
4620 2003-03-17 Michael Koch
4622 * javax/print/attribute/Attribute.java,
4623 javax/print/attribute/AttributeSet.java,
4624 javax/print/attribute/PrintRequestAttributeSet.java:
4627 (awt_java_source_files): Added new files:
4628 javax/print/attribute/Attribute.java
4629 javax/print/attribute/AttributeSet.java
4630 javax/print/attribute/PrintRequestAttributeSet.java
4631 * Makefile.in: Regenerated.
4633 2003-03-16 Tom Tromey <tromey@redhat.com>
4635 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4637 * java/lang/natRuntime.cc (insertSystemProperties): Use
4638 _Jv_platform_path_separator.
4639 (nativeGetLibname): Use _Jv_platform_file_separator.
4640 (_load): Use _Jv_platform_onload_names.
4641 (onload_names): New global.
4642 * include/win32.h (_Jv_platform_file_separator): New define.
4643 (_Jv_platform_path_separator): Likewise.
4644 (_Jv_platform_onload_names): Likewise.
4645 (_Jv_platform_ffi_abi): Likewise.
4646 * include/posix.h (_Jv_platform_file_separator): New define.
4647 (_Jv_platform_path_separator): Likewise.
4648 (_Jv_platform_onload_names): Likewise.
4649 (_Jv_platform_ffi_abi): Likewise.
4651 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
4653 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4655 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
4657 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4659 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4660 list to Object,ObjectStreamClass, moved callReadMethod code up into
4661 readObject and added Class argument to all setXxxField calls.
4662 (callReadMethod): Changed Class argument to ObjectStreamClass to be
4663 consistent with ObjectOutputStream and to facilitate caching the
4664 Method in the future.
4665 (setBooleanField): Added Class argument.
4666 (setByteField): Likewise.
4667 (setCharField): Likewise.
4668 (setDoubleField): Likewise.
4669 (setFloatField): Likewise.
4670 (setIntField): Likewise.
4671 (setLongField): Likewise.
4672 (setShortField): Likewise.
4673 (setObjectField): Likewise.
4674 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4675 class hierarchy loop.
4676 (defaultWriteObject): Call writeFields with new argument list.
4677 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4678 list to Object,ObjectStreamClass, moved callWriteMethod up into
4679 writeObject and added Class argument to all getXxxField calls.
4680 (callWriteMethod): Added ObjectStreamClass argument to be able to
4681 get the proper class to call getMethod on (each class can have (or
4682 not have) its own writeObject method).
4683 (getBooleanField): Added Class argument.
4684 (getByteField): Likewise.
4685 (getCharField): Likewise.
4686 (getDoubleField): Likewise.
4687 (getFloatField): Likewise.
4688 (getIntField): Likewise.
4689 (getLongField): Likewise.
4690 (getShortField): Likewise.
4691 (getObjectField): Likewise.
4692 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4693 facilitate caching the Method object in the future.
4695 2003-03-12 Andreas Schwab <schwab@suse.de>
4697 * configure.in: Avoid trailing /. in toolexeclibdir.
4698 * configure: Rebuilt.
4700 2003-03-11 Michael Koch <konqueror@gmx.de>
4702 * gnu/java/nio/ByteBufferImpl.java
4703 (putInt): Use limit() instead of limit.
4704 * gnu/java/nio/CharBufferImpl.java
4705 (slice): Fixed implementation.
4706 (subSequence): Better bounds checking.
4707 * gnu/java/nio/MappedByteFileBuffer.java:
4708 Import all needed classes directly.
4709 * java/nio/ByteBuffer.java
4710 (hashCode): New dummy method.
4711 * java/nio/CharBuffer.java
4712 (array_offset): New member variable.
4713 (hasArray): Fixed documentation.
4714 (arrayOffset): Return array_offset.
4716 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4718 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4719 setter; made return value of getter const char* instead of char*
4720 * prims.cc: removed all references to _Jv_ThisExecutable().
4721 These are in the platform-specific sections now.
4722 * posix.cc: define platform-specific _Jv_ThisExecutable().
4723 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4724 * win32.cc: define platform-specific _Jv_ThisExecutable()
4725 using GetModuleFilename()
4726 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4727 to argv[0] instead of _Jv_ThisExecutable()
4729 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4731 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4732 that is set if we are using addr2name.awk instead of addr2line.
4733 (NameFinder): Set usingAddr2name if using addr2name.awk.
4734 (getExternalLabel): New native method to convert a method
4735 name to an external label.
4736 (lookup): Convert name given by addr2line to an external label
4739 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4740 constant representing the prefix attached to method names to
4741 convert them to an external label.
4742 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4745 2003-03-10 Tom Tromey <tromey@redhat.com>
4747 * Makefile.in: Rebuilt.
4748 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4749 (JC1FLAGS): Removed -Wno-deprecated.
4751 2003-03-10 Michael Koch <konqueror@gmx.de>
4753 * java/nio/ByteOrder.java
4754 (nativeOrder): Working implementation, added documentation.
4755 (toString): Added documentation.
4757 2003-03-10 Michael Koch <konqueror@gmx.de>
4759 * java/net/DatagramSocket.java,
4760 java/net/MulticastSocket.java,
4761 java/net/Socket.java,
4763 java/net/URLConnection.java:
4764 Fixed some documentation tags to make javadoc and friends happy.
4766 2003-03-10 Michael Koch <koqnueror@gmx.de>
4768 * java/beans/beancontext/BeanContextServicesSupport.java,
4769 java/beans/beancontext/BeanContextSupport.java: New files.
4771 (awt_source_files): Added new files.
4772 * Makefile.in: Regenerated.
4774 2003-03-10 Michael Koch <konqueror@gmx.de>
4776 * java/awt/FocusTraversalPolicy.java
4777 (FocusTraversalPolicy): Documentation added.
4778 (getComponentAfter): Documentation added.
4779 (getComponentBefore): Documentation added.
4780 (getFirstComponent): Documentation added.
4781 (getLastComponent): Documentation added.
4782 (getDefaultComponent): Documentation added.
4783 (getInitialComponent): Documentation added.
4784 * java/awt/ScrollPaneAdjustable.java
4785 (sp): New member variable.
4786 (orientation): New member variable.
4787 (value): New member variable.
4788 (minimum): New member variable.
4789 (maximum): New member variable.
4790 (visibleAmount): New member variable.
4791 (unitIncrement): New member variable.
4792 (blockIncrement): New member variable.
4793 (adjustmentListener): New member variable.
4794 (ScrollPaneAdjustable): Rewrote.
4795 (addAdjustmentListener): New method.
4796 (removeAdjustmentListener): New method.
4797 (getAdjustmentListeners): New method.
4798 (getBlockIncrement): New method.
4799 (getMaximum): New method.
4800 (getMinimum): New method.
4801 (getOrientation): New method.
4802 (getUnitIncrement): New method.
4803 (getValue): New method.
4804 (getVisibleAmount): New method.
4805 (setBlockIncrement): New method.
4806 (setUnitIncrement): New method.
4807 (setMaximum): Implemented.
4808 (setMinimum): Implemented.
4809 (setValue): New method.
4810 (setVisibleAmount): Implemented.
4811 (paramString): New method.
4812 * java/awt/Window.java
4813 (show): Use setVisible(true) instead of super.show().
4814 (hide): Use sevVisible(false) instead of super.hide().
4815 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4816 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4817 (postEvent): Deprecated.
4818 (applyResourceBundle): Deprecated.
4819 (processWindowFocusEvent): New method.
4820 (processWindowStateEvent): New method.
4821 * java/awt/datatransfer/DataFlavor.java: Reindented.
4822 * java/awt/font/TextHitInfo.java
4823 (charIndex): New member variable.
4824 (leadingEdge): New member variable.
4825 (TextHitInfo): New constructor.
4826 (getCharIndex): Implemented.
4827 (isLeadingEdge): Implemented.
4828 (getInsertionIndex): Implemented.
4829 (hashCode): Access charIndex directly.
4830 (equals): Reformated.
4831 (leading): Implemented.
4832 (trailing): Implemented.
4833 (beforeOffset): Implemented.
4834 (afterOffset): Implemented.
4835 (getOtherHit): Implemented.
4836 (getOffsetHit): Implemented.
4837 (toString): Implemented.
4838 * java/awt/image/BufferedImage.java
4839 (BufferedImage): Implements WritableRenderedImage.
4840 (observers): New member variable.
4841 (addTileObserver): New method.
4842 (removeTileObserver): New method.
4844 2003-03-09 Tom Tromey <tromey@redhat.com>
4847 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4848 to lseek. Return 0 if we can't compute the value.
4850 2003-03-03 Michael Koch <konqueror@gmx.de>
4852 * java/net/NetworkInterface.java: Merged with classpath.
4854 2003-03-03 Tom Tromey <tromey@redhat.com>
4856 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4858 (handle_ret_insn): Fail if returning to jsr that appears at end of
4861 2003-03-03 Michael Koch <konqueror@gmx.de>
4864 (ordinary_java_source_files):
4865 Added gnu/java/nio/MappedByteFileBuffer.java.
4867 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4868 * Makefile.in: Regenerated.
4870 2003-03-03 Michael Koch <konqueror@gmx.de>
4872 * java/net/DatagramSocket.java
4873 (connect): Merged comment from classpath.
4874 (receive): Merged documentation from classpath.
4875 * java/net/Socket.java
4876 (setSoTimeout): Clarified documentation.
4878 (getPath): Merged from classpath.
4879 (getUserInfo): Merged from classpath.
4880 (getQuery): Merged from classpath.
4881 * java/net/URLStreamHandler.java
4882 (toExternalForm): Merged from classpath.
4884 2003-03-02 Mark Wielaard <mark@klomp.org>
4886 * java/util/Properties.java (load): Only skip line if the first
4887 character is a comment, whitespaces don't count.
4889 2003-03-02 Michael Koch <konqueror@gmx.de>
4891 * java/net/NetPermission.java:
4892 Merged copyright with classpath.
4894 2003-03-02 Michael Koch <konqueror@gmx.de>
4896 * java/lang/Package.java:
4897 Remerged from classpath.
4899 2003-03-02 Michael Koch <konqueror@gmx.de>
4901 * java/net/HttpURLConnection.java
4902 (HTTP_SERVER_ERROR): Deprecated.
4903 * java/net/MulticastSocket.java
4904 (send): Replaced checkMulticast with appropriate checkPermission call,
4906 * java/net/URLDecoder.java
4907 (decode): Deprecated.
4908 * java/net/URLEncoder.java
4909 (encode): Deprecated.
4911 2003-03-02 Michael Koch <konqueror@gmx.de>
4913 * javax/swing/text/Caret.java
4914 (getMagicCaretPosition): Fixed typo in method name.
4915 * javax/swing/text/DefaultCaret.java
4916 (getMagicCaretPosition): Fixed typo in method name.
4918 2003-03-02 Michael Koch <konqueror@gmx.de>
4920 * java/awt/List.java
4921 (setMultipleSelections): Deprecated.
4922 (delItem): Deprecated.
4923 * java/awt/MenuComponent.java
4924 (getPeer): Deprecated.
4925 * java/awt/ScrollPane.java
4926 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4927 * java/awt/dnd/MouseDragGestureRecognizer.java
4928 (mouseClicked): Added comment.
4929 (mousePressed): Added comment.
4930 (mouseReleased): Added comment.
4931 (mouseEntered): Added comment.
4932 (mouseExited): Added comment.
4933 (mouseDragged): Added comment.
4934 (mouseMoved): Added comment.
4935 * java/awt/event/KeyEvent.java
4936 (KeyEvent): Deprecated.
4937 (setModifiers): Deprecated.
4939 2003-03-02 Michael Koch <konqueror@gmx.de>
4941 * gnu/java/nio/FileChannelImpl.java
4942 (fd): Type FileDescriptor instead of int.
4943 (lengthInternal): Removed.
4944 (FileChannelImpl): Fixed arguments, check type of file object.
4945 (size): Made it native.
4946 (implPosition): New native method.
4947 (implTruncate): New native method.
4948 (position): Implemented.
4949 (truncate): Implemented.
4950 (nio_mmap_file): Changed arguments.
4951 (nio_munmap_file): Changed arguments.
4952 (nio_msync): Changed arguments.
4953 * gnu/java/nio/natFileChannelImpl.cc
4954 (lengthInternal): Removed.
4956 (implPosition): New method.
4957 (implTruncate): New method.
4958 (nio_mmap_file): Changed arguments.
4959 (nio_munmap_file): Changed arguments.
4960 (nio_msync): Changed arguments.
4962 2003-03-02 Michael Koch <konqueror@gmx.de>
4964 * java/awt/dnd/DropTargetContext.java:
4965 Compile fix: Forgot to commit import.
4967 2003-03-02 Michael Koch <konqueror@gmx.de>
4969 * java/awt/Component.java,
4970 java/awt/ScrollPane.java:
4973 2003-03-02 Michael Koch <konqueror@gmx.de>
4975 * java/awt/dnd/DnDEventMulticaster.java: New file.
4976 * java/awt/dnd/DragSource.java
4977 (flavorMap): New member variable.
4978 (dragSourceListener): New member variable.
4979 (dragSourceMotionListener): New member variable.
4980 (getFlavorMap): Implemented.
4981 (createDragGestureRecognizer): Implemented.
4982 (addDragSourceListener): Implemented.
4983 (removeDragSourceListener): Implemented.
4984 (getDragSourceListeners): Implemented.
4985 (addDragSourceMotionListener): Implemented.
4986 (removeDragSourceMotionListener): Implemented.
4987 (getDragSourceMotionListeners): Implemented.
4988 (getListeners): Implemented.
4989 * java/awt/dnd/DragSourceContext.java
4990 (peer): New member variable.
4991 (cursor): New member variable.
4992 (transferable): New member variable.
4993 (trigger): New member variable.
4994 (dragSourceListener): New member variable.
4995 (image): New member variable.
4996 (offset): New member variable.
4997 (DragSourceContext): Implemented.
4998 (getDragSource): Implemented.
4999 (getComponent): Implemented.
5000 (getTrigger): Implemented.
5001 (getSourceActions): Implemented.
5002 (setCursor): Implemented.
5003 (getCursor): Implemented.
5004 (addDragSourceListener): Implemented.
5005 (removeDragSourceListener): Implemented.
5006 (getTransferable): Implemented.
5007 * java/awt/dnd/DropTarget.java
5008 (DropTargetAutoScroller.component): New member variable.
5009 (DropTargetAutoScroller.point): New member variable.
5010 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
5011 (DropTargetAutoScroller.updateLocation): Implemented.
5012 (active): Renamed from isActive, defaults to true now.
5013 (component): New member variable.
5014 (flavorMap): New member variable.
5015 (actions): New member variable.
5016 (dropTargetContext): New member variable.
5017 (dropTargetListener): New member variable.
5018 (DropTarget): Implemented.
5019 (getComponent): Implemented.
5020 (setComponent): Implemented.
5021 (setDefaultActions): Implemented.
5022 (getDefaultActions): Implemented.
5023 (setActive): Use active instead of isActive.
5024 (isActive): Use active instead of isActive.
5025 (addDropTargetListener): Implemented.
5026 (removeDropTargetListener): Implemented.
5027 (getFlavorMap): Implemented.
5028 (setFlavorMap): Implemented.
5029 (getDropTargetContext): Implemented.
5030 (createDropTargetContext): Implemented.
5031 (createDropTargetAutoScroller): Implemented.
5032 * java/awt/dnd/DropTargetContext.java
5033 (TransferableProxy.getTransferDataFlavors): Implemented.
5034 (TransferableProxy.isDataFlavorSupported): Implemented.
5035 (TransferableProxy.getTransferData): Implemented.
5036 (dropTarget): New member variable.
5037 (dtcp): New member variable.
5038 (DropTargetContext): New package private constructor.
5039 (getDropTarget): Implemented.
5040 (getComponent): Implemented.
5041 (addNotify): Implemented.
5042 (removeNotify): Implemented.
5043 (getCurrentDataFlavorsAsList): Implemented.
5044 (isDataFlavorSupported): Implemented.
5045 * java/awt/dnd/MouseDragGestureRecognizer.java
5046 (registerListeners): Implemented.
5047 (unregisterListeners): Implemented.
5049 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
5050 * Makefile.in: Regenerated.
5052 2003-03-02 Michael Koch <konqueror@gmx.de>
5054 * java/awt/Component.java
5055 (eventTypeEnabled): New method.
5056 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
5057 * java/awt/Container.java
5058 (changeSupport): New member variable.
5059 (addPropertyChangeListener): New methods.
5060 * java/awt/ContainerOrderFocusTraversalPolicy.java
5061 (ContainerOrderFocusTraversalPolicy): Added comment.
5062 (getComponentAfter): Throw exception, documentation added.
5063 (getComponentBefore): Throw exception, documentation added.
5064 (getFirstComponent): Throw exception, documentation added.
5065 (getLastComponent): Throw exception, documentation added.
5066 (getDefaultComponent): Throw exception, documentation added.
5067 * java/awt/EventQueue.java: Reindented.
5068 * java/awt/FocusTraversalPolicy.java:
5069 (FocusTraversalPolicy): Added comment.
5070 (getComponentAfter): Documentation added.
5071 (getComponentBefore): Documentation added.
5072 (getFirstComponent): Documentation added.
5073 (getLastComponent): Documentation added.
5074 (getDefaultComponent): Documentation added.
5075 (getInitialComponent): Documentation added.
5076 * java/awt/ScrollPane.java
5077 (wheelScrollingEnabled): New member variable.
5078 (ScrollPane): Initialize wheelScollingEnabled.
5079 (eventTypeEnabled): New method.
5080 (isWheelScrollingEnabled): New method.
5081 (setWheelScrollingEnabled): New method.
5083 2003-03-02 Michael Koch <konqueror@gmx.de>
5085 * java/net/DatagramSocket.java
5086 (closed): New member variable.
5087 (close): Use closed variable.
5088 (getInetAddress): No need to call isConnected().
5089 (getPort): No need to call isConnected().
5090 (disconnect): Reset remoteAddress and remotePort, fixed typo.
5091 (isClosed): Reimplemented.
5093 2003-03-02 Michael Koch <konqueror@gmx.de>
5095 * configure.in: Added check for memory mapping of files.
5096 * configure: Regenerated.
5097 * config.h.in: Regenerated.
5099 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
5101 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
5102 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
5104 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
5106 * java/io/File.java (normalizePath): Remove trailing separator
5107 on Windows only if path is not of the form "x:\".
5109 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
5110 (java::io::File::attr): Change formatting a bit and use
5111 WIN32_EPOCH_MILLIS instead of magic numbers.
5112 (java::io::File::isAbsolute): Path must have at least 3
5113 characters for a UNC network path.
5114 (java::io::File::init_native): Define.
5115 (java::io::File::performCreate): Likewise.
5116 (java::io::File::performSetReadOnly): Likewise.
5117 (java::io::File::performSetLastModified): Likewise.
5118 (java::io::File::performListRoots): Likewise.
5120 2003-03-01 Tom Tromey <tromey@redhat.com>
5122 * java/lang/natObject.cc: Don't include assert.h.
5123 (heavy_lock_obj_finalization_proc): Use JvAssert.
5124 (remove_all_heavy): Likewise.
5125 (_Jv_MonitorEnter): Likewise.
5126 (_Jv_MonitorExit): Likewise.
5129 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
5131 * java/io/File (getAbsolutePath): Prefix drive specifier on
5132 Windows for paths starting with a '\'.
5133 (toURL): Make URL more consistent with what Sun's JDK returns.
5135 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
5136 true only if the path is a UNC network path or it starts with a
5139 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
5140 Be prepared to handle either '/' or '\\' in the file path for
5141 Windows if using the "file" protocol.
5142 Canonicalise the file path if using a relative path in the given
5143 context and the "file" protocol.
5145 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
5147 * java/lang/natWin32Process.cc (startProcess): Double-quote each
5148 program array element passed to CreateProcess.
5150 2003-03-01 Tom Tromey <tromey@redhat.com>
5152 * java/rmi/registry/RegistryHandler.java: Deprecate.
5154 2003-03-01 Tom Tromey <tromey@redhat.com>
5156 * javax/accessibility/AccessibleEditableText.java,
5157 javax/accessibility/AccessibleHyperlink.java: New versions from
5160 * gnu/java/locale/LocaleInformation_af_ZA.java,
5161 gnu/java/locale/LocaleInformation_ar_AE.java,
5162 gnu/java/locale/LocaleInformation_ar_BH.java,
5163 gnu/java/locale/LocaleInformation_ar_DZ.java,
5164 gnu/java/locale/LocaleInformation_ar_EG.java,
5165 gnu/java/locale/LocaleInformation_ar_IN.java,
5166 gnu/java/locale/LocaleInformation_ar_IQ.java,
5167 gnu/java/locale/LocaleInformation_ar_JO.java,
5168 gnu/java/locale/LocaleInformation_ar_KW.java,
5169 gnu/java/locale/LocaleInformation_ar_LB.java,
5170 gnu/java/locale/LocaleInformation_ar_LY.java,
5171 gnu/java/locale/LocaleInformation_ar_MA.java,
5172 gnu/java/locale/LocaleInformation_ar_OM.java,
5173 gnu/java/locale/LocaleInformation_ar_QA.java,
5174 gnu/java/locale/LocaleInformation_ar_SD.java,
5175 gnu/java/locale/LocaleInformation_ar_SY.java,
5176 gnu/java/locale/LocaleInformation_ar_TN.java,
5177 gnu/java/locale/LocaleInformation_ar_YE.java,
5178 gnu/java/locale/LocaleInformation_be_BY.java,
5179 gnu/java/locale/LocaleInformation_bn_IN.java,
5180 gnu/java/locale/LocaleInformation_br_FR.java,
5181 gnu/java/locale/LocaleInformation_bs_BA.java,
5182 gnu/java/locale/LocaleInformation_ca_ES.java,
5183 gnu/java/locale/LocaleInformation_cs_CZ.java,
5184 gnu/java/locale/LocaleInformation_cy_GB.java,
5185 gnu/java/locale/LocaleInformation_da_DK.java,
5186 gnu/java/locale/LocaleInformation_de_AT.java,
5187 gnu/java/locale/LocaleInformation_de_BE.java,
5188 gnu/java/locale/LocaleInformation_de_CH.java,
5189 gnu/java/locale/LocaleInformation_de_DE.java,
5190 gnu/java/locale/LocaleInformation_de_LU.java,
5191 gnu/java/locale/LocaleInformation_el_GR.java,
5192 gnu/java/locale/LocaleInformation_en_AU.java,
5193 gnu/java/locale/LocaleInformation_en_BW.java,
5194 gnu/java/locale/LocaleInformation_en_CA.java,
5195 gnu/java/locale/LocaleInformation_en_DK.java,
5196 gnu/java/locale/LocaleInformation_en_GB.java,
5197 gnu/java/locale/LocaleInformation_en_HK.java,
5198 gnu/java/locale/LocaleInformation_en_IE.java,
5199 gnu/java/locale/LocaleInformation_en_IN.java,
5200 gnu/java/locale/LocaleInformation_en_NZ.java,
5201 gnu/java/locale/LocaleInformation_en_PH.java,
5202 gnu/java/locale/LocaleInformation_en_SG.java,
5203 gnu/java/locale/LocaleInformation_en_US.java,
5204 gnu/java/locale/LocaleInformation_en_ZA.java,
5205 gnu/java/locale/LocaleInformation_en_ZW.java,
5206 gnu/java/locale/LocaleInformation_es_AR.java,
5207 gnu/java/locale/LocaleInformation_es_BO.java,
5208 gnu/java/locale/LocaleInformation_es_CL.java,
5209 gnu/java/locale/LocaleInformation_es_CO.java,
5210 gnu/java/locale/LocaleInformation_es_CR.java,
5211 gnu/java/locale/LocaleInformation_es_DO.java,
5212 gnu/java/locale/LocaleInformation_es_EC.java,
5213 gnu/java/locale/LocaleInformation_es_ES.java,
5214 gnu/java/locale/LocaleInformation_es_GT.java,
5215 gnu/java/locale/LocaleInformation_es_HN.java,
5216 gnu/java/locale/LocaleInformation_es_MX.java,
5217 gnu/java/locale/LocaleInformation_es_NI.java,
5218 gnu/java/locale/LocaleInformation_es_PA.java,
5219 gnu/java/locale/LocaleInformation_es_PE.java,
5220 gnu/java/locale/LocaleInformation_es_PR.java,
5221 gnu/java/locale/LocaleInformation_es_PY.java,
5222 gnu/java/locale/LocaleInformation_es_SV.java,
5223 gnu/java/locale/LocaleInformation_es_US.java,
5224 gnu/java/locale/LocaleInformation_es_UY.java,
5225 gnu/java/locale/LocaleInformation_es_VE.java,
5226 gnu/java/locale/LocaleInformation_et_EE.java,
5227 gnu/java/locale/LocaleInformation_eu_ES.java,
5228 gnu/java/locale/LocaleInformation_fa_IR.java,
5229 gnu/java/locale/LocaleInformation_fi_FI.java,
5230 gnu/java/locale/LocaleInformation_fo_FO.java,
5231 gnu/java/locale/LocaleInformation_fr_BE.java,
5232 gnu/java/locale/LocaleInformation_fr_CA.java,
5233 gnu/java/locale/LocaleInformation_fr_CH.java,
5234 gnu/java/locale/LocaleInformation_fr_FR.java,
5235 gnu/java/locale/LocaleInformation_fr_LU.java,
5236 gnu/java/locale/LocaleInformation_ga_IE.java,
5237 gnu/java/locale/LocaleInformation_gd_GB.java,
5238 gnu/java/locale/LocaleInformation_gl_ES.java,
5239 gnu/java/locale/LocaleInformation_gv_GB.java,
5240 gnu/java/locale/LocaleInformation_he_IL.java,
5241 gnu/java/locale/LocaleInformation_hi_IN.java,
5242 gnu/java/locale/LocaleInformation_hr_HR.java,
5243 gnu/java/locale/LocaleInformation_hu_HU.java,
5244 gnu/java/locale/LocaleInformation_id_ID.java,
5245 gnu/java/locale/LocaleInformation_it_CH.java,
5246 gnu/java/locale/LocaleInformation_it_IT.java,
5247 gnu/java/locale/LocaleInformation_iw_IL.java,
5248 gnu/java/locale/LocaleInformation_ja_JP.java,
5249 gnu/java/locale/LocaleInformation_ka_GE.java,
5250 gnu/java/locale/LocaleInformation_kl_GL.java,
5251 gnu/java/locale/LocaleInformation_ko_KR.java,
5252 gnu/java/locale/LocaleInformation_kw_GB.java,
5253 gnu/java/locale/LocaleInformation_lt_LT.java,
5254 gnu/java/locale/LocaleInformation_lv_LV.java,
5255 gnu/java/locale/LocaleInformation_mi_NZ.java,
5256 gnu/java/locale/LocaleInformation_mk_MK.java,
5257 gnu/java/locale/LocaleInformation_mr_IN.java,
5258 gnu/java/locale/LocaleInformation_mt_MT.java,
5259 gnu/java/locale/LocaleInformation_nl_BE.java,
5260 gnu/java/locale/LocaleInformation_nl_NL.java,
5261 gnu/java/locale/LocaleInformation_nn_NO.java,
5262 gnu/java/locale/LocaleInformation_no_NO.java,
5263 gnu/java/locale/LocaleInformation_oc_FR.java,
5264 gnu/java/locale/LocaleInformation_pl_PL.java,
5265 gnu/java/locale/LocaleInformation_pt_BR.java,
5266 gnu/java/locale/LocaleInformation_pt_PT.java,
5267 gnu/java/locale/LocaleInformation_ro_RO.java,
5268 gnu/java/locale/LocaleInformation_ru_RU.java,
5269 gnu/java/locale/LocaleInformation_ru_UA.java,
5270 gnu/java/locale/LocaleInformation_se_NO.java,
5271 gnu/java/locale/LocaleInformation_sk_SK.java,
5272 gnu/java/locale/LocaleInformation_sl_SI.java,
5273 gnu/java/locale/LocaleInformation_sq_AL.java,
5274 gnu/java/locale/LocaleInformation_sr_YU.java,
5275 gnu/java/locale/LocaleInformation_sv_FI.java,
5276 gnu/java/locale/LocaleInformation_sv_SE.java,
5277 gnu/java/locale/LocaleInformation_ta_IN.java,
5278 gnu/java/locale/LocaleInformation_te_IN.java,
5279 gnu/java/locale/LocaleInformation_tg_TJ.java,
5280 gnu/java/locale/LocaleInformation_tl_PH.java,
5281 gnu/java/locale/LocaleInformation_tr_TR.java,
5282 gnu/java/locale/LocaleInformation_uk_UA.java,
5283 gnu/java/locale/LocaleInformation_ur_PK.java,
5284 gnu/java/locale/LocaleInformation_uz_UZ.java,
5285 gnu/java/locale/LocaleInformation_vi_VN.java,
5286 gnu/java/locale/LocaleInformation_yi_US.java,
5287 gnu/java/locale/LocaleInformation_zh_CN.java,
5288 gnu/java/locale/LocaleInformation_zh_HK.java,
5289 gnu/java/locale/LocaleInformation_zh_SG.java,
5290 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
5291 info; from Classpath.
5293 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
5294 isPaintPending): New methods.
5295 * gnu/awt/xlib/XFramePeer.java (getState, setState,
5296 setMaximizedBounds): New methods.
5297 (beginLayout, endLayout, isPaintPending): Likewise.
5298 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
5299 (requestFocus): Likewise.
5300 (isObscured): Likewise.
5301 (canDetermineObscurity): Likewise.
5302 (coalescePaintEvent): Likewise.
5303 (updateCursorImmediately): Likewise.
5304 (createVolatileImage): Likewise.
5305 (handlesWheelScrolling): Likewise.
5306 (createBuffers): Likewise.
5307 (getBackBuffer): Likewise.
5309 (destroyBuffers): Likewise.
5311 * Makefile.in: Rebuilt.
5312 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
5314 * gnu/java/awt/GLightweightPeer.java,
5315 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5316 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5317 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5318 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5319 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5320 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5321 java/awt/dnd/peer/DragSourceContextPeer.java,
5322 java/awt/dnd/peer/DropTargetContextPeer.java,
5323 java/awt/peer/ButtonPeer.java,
5324 java/awt/peer/CheckboxMenuItemPeer.java,
5325 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
5326 java/awt/peer/ComponentPeer.java,
5327 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
5328 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
5329 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
5330 java/awt/peer/MenuBarPeer.java,
5331 java/awt/peer/MenuComponentPeer.java,
5332 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
5333 java/awt/peer/PopupMenuPeer.java,
5334 java/awt/peer/ScrollPanePeer.java,
5335 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
5336 java/awt/peer/TextComponentPeer.java,
5337 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
5338 New versions from Classpath.
5339 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
5340 * java/awt/peer/RobotPeer.java: Likewise.
5342 2003-03-01 Mark Wielaard <mark@klomp.org>
5344 * java/io/ObjectInputStream.java: Reindent.
5345 * java/io/ObjectOutputStream.java: Likewise.
5347 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
5349 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
5350 jvalue for each argument. Simplify.
5351 * testsuite/libjava.jni/calls.c (docall),
5352 testsuite/libjava.jni/calls.java (longpb_f): check for argument
5355 2003-02-28 Mark Wielaard <mark@klomp.org>
5357 * Makefile.am (nat_source_files): Remove
5358 java/io/natObjectOutputStream.cc.
5359 * Makefile.in: Regenerated.
5360 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
5361 * java/io/ObjectStreamField.java (typename): New field.
5362 (ObjectStreamField(String, Class)): Initialize new field.
5363 (ObjectStreamField(String, String)): New Constructor.
5364 (getTypeCode): Use new field.
5365 (getTypeString): Use new field.
5366 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
5367 ObjectStreamExceptions. Remember and reset old BlockDataMode.
5368 Handle reading of Proxy classes. Never drain(), just write
5369 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
5370 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
5371 (flush): Call flush(), not just drain().
5372 (writeBoolean): Always use blockDataOutput.
5373 (writeByte): Likewise.
5374 (writeShort): Likewise.
5375 (writeChar): Likewise.
5376 (writeInt): Likewise.
5377 (writeLong): Likewise.
5378 (writeFloat): Likewise.
5379 (writeDouble): Likewise.
5380 (writeBytes): Likewise.
5381 (putfield (put(String,Object))): Throw IllegalArgumentException if
5382 field cannot be found.
5383 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
5384 (writeArraySizeAndElements): Write byte[] in one go.
5385 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
5386 set BlockDataMode to false.
5387 (annotateProxyClass): New method.
5388 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
5389 (getField): No longer native.
5390 (getMethod): Likewise.
5391 (setBlockDataMode): Always drain() on switch, return old mode.
5392 (static): New static code block.
5393 * java/io/natObjectOutputStream.cc: Removed.
5394 * java/io/ObjectInputStream.java (getField): No longer native.
5395 (getMethod): Likewise.
5396 (readObject): Remember and reset old BlockDataMode. Track whether
5397 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
5399 (defaultReadObject): Set BlockDataMode to false during readFields.
5400 (resolveClass): Create new SecurityManager if necessary.
5401 Use Class.forName() if null ClassLoader found.
5402 (read(byte[],int,int): Copy remaining bytes to data before calling
5404 (readFields): Set and reset BlockDataMode on call_read_method.
5405 Catch NoSuchFieldErrors.
5406 (setBlockDataMode): Return old mode.
5407 (static): New static code block.
5408 * java/io/natObjectInputStream.cc (getField): Removed.
5409 (getMethod): Likewise.
5411 2003-02-27 Michael Koch <konqueror@gmx.de>
5413 * java/beans/Beans.java,
5414 java/beans/FeatureDescriptor.java
5415 java/beans/PropertyEditorManager.java:
5416 Reformated to GNU style.
5418 2003-02-25 Michael Koch <konqueror@gmx.de>
5420 * gnu/java/nio/MappedByteFileBuffer.java,
5421 gnu/java/nio/natMappedByteFileBuffer.cc:
5422 New files, both are not compiled yet to get not noncompiling CVS.
5424 2003-02-24 Tom Tromey <tromey@redhat.com>
5426 * java/util/prefs/AbstractPreferences.java (isUserNode):
5429 2003-02-24 Tom Tromey <tromey@redhat.com>
5431 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
5433 * java/lang/Thread.java (resume): Deprecate.
5434 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
5437 2003-02-23 Tom Tromey <tromey@redhat.com>
5439 * Makefile.in: Rebuilt.
5440 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
5442 2003-02-23 Tom Tromey <tromey@redhat.com>
5444 * java/lang/natRuntime.cc (libraries_size, libraries_count,
5445 libraries): Removed.
5446 (add_library): Removed.
5447 (_load): Don't call add_library.
5448 (loadLibraryInternal): Likewise.
5450 (lookup_data): New struct.
5451 (find_symbol): New function.
5452 (_Jv_FindSymbolInExecutable): Use it.
5454 2002-02-21 Anthony Green <green@redhat.com>
5456 * java/lang/Thread.java (Thread): New constructor taking stack
5457 size parameter (ignored for now).
5458 * Many methods: Merged GNU Classpath documentation.
5460 * java/lang/Class.java (finalize): throws a Throwable.
5462 2003-02-21 Mark Wielaard <mark@klomp.org>
5464 * java/util/zip/ZipEntry.java (setComment): Don't check length when
5467 2003-02-21 Mark Wielaard <mark@klomp.org>
5469 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
5470 then 65535 chars throw IllegalArgumentException.
5472 2003-02-21 Mark Wielaard <mark@klomp.org>
5474 * java/util/zip/ZipFile.java (finalize): New method.
5476 2003-02-21 Michael Koch <konqueror@gmx.de>
5478 * gnu/java/nio/natSocketChannelImpl.cc:
5479 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
5480 <cato@df.lth.se> for pointing to it.
5482 2003-02-20 Raif S. Naffah <raif@fl.net.au>
5484 * java/math/BigInteger.java (euclidInv): Take result array as an
5485 argument. Updated all callers.
5486 (modInverse): Removed unused variables.
5488 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5490 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5492 * configure: Rebuilt.
5494 2003-02-19 Michael Koch <konqueror@gmx.de>
5496 * gnu/java/nio/natSocketChannelImpl.cc:
5497 Added support for platforms without network support.
5499 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5501 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
5502 after config.h. Use <> for consistency.
5503 * java/lang/natObject.cc: Likewise.
5504 * java/lang/natRuntime.cc: Likewise.
5505 * java/lang/natSystem.cc: Likewise.
5506 * java/util/natTimeZone.cc: Likewise.
5507 * win32.cc: Likewise.
5508 * include/posix.h (fcntl, socket, connect, close, bind, accept,
5509 listen, write, read): Undef to avoid interference from OS macros.
5511 2003-02-19 Michael Koch <konqueror@gmx.de>
5513 * gnu/java/nio/ByteBufferImpl.java
5514 (ByteBufferImpl): Renamed two variables.
5515 * gnu/java/nio/CharBufferImpl.java
5516 (CharBufferImpl): Renamed two variables.
5517 * gnu/java/nio/DoubleBufferImpl.java
5518 (DoubleBufferImpl): Renamed two variables.
5519 * gnu/java/nio/FloatBufferImpl.java
5520 (FloatBufferImpl): Renamed two variables.
5521 * gnu/java/nio/IntBufferImpl.java
5522 (IntBufferImpl): Renamed two variables.
5523 * gnu/java/nio/LongBufferImpl.java
5524 (LongBufferImpl): Renamed two variables.
5525 * gnu/java/nio/ShortBufferImpl.java
5526 (ShortBufferImpl): Renamed two variables.
5527 * java/nio/CharBuffer.java
5528 (wrap): Fixed arguments to CharBufferImpl constructor.
5529 (hasArray): Only not read-only buffers have backing arrays.
5530 (length): Documentation added.
5531 (subSequence): Documentation added.
5532 * java/nio/DoubleBuffer.java
5533 (hasArray): Only not read-only buffers have backing arrays.
5534 * java/nio/FloatBuffer.java
5535 (hasArray): Only not read-only buffers have backing arrays.
5536 * java/nio/IntBuffer.java
5537 (hasArray): Only not read-only buffers have backing arrays.
5538 * java/nio/LongBuffer.java
5539 (hasArray): Only not read-only buffers have backing arrays.
5540 * java/nio/ShortBuffer.java
5541 (hasArray): Only not read-only buffers have backing arrays.
5543 2003-02-19 Michael Koch <konqueror@gmx.de>
5545 * javax/accessibility/AccessibleContext.java
5546 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5548 2003-02-19 Michael Koch <konqueror@gmx.de>
5550 * java/awt/ScrollPaneAdjustable.java: Reformated.
5552 2003-02-19 Michael Koch <konqueror@gmx.de>
5554 * gnu/awt/j2d/Graphics2DImpl.java
5555 (getFontRenderContext): New method.
5556 (drawGlyphVector): New method.
5557 * java/awt/Graphics2D.java
5558 (getFontRenderContext): New abstract method.
5559 (drawGlyphVector): New abstract method.
5561 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
5563 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5566 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5567 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5568 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5569 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5570 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5571 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5572 (setFont, gtkSetFont): add.
5573 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5574 Propagate font to peer. (setFont): add FIXME comment.
5576 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5577 (gtkTextGetSize): fix height, width computation.
5579 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5580 Make X font name a bit less bogus.
5582 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5583 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5585 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5586 (processAdjustmentEvent): Adjust value.
5588 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5591 * java/awt/Component.java (setVisible, show, hide): Call show and
5592 hide methods in subclasses.
5593 (getPreferredSize): don't set prefSize before we have peer.
5595 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5596 Guess (0,0) if we don't have peer.
5599 2003-02-18 Michael Koch <konqueror@gmx.de>
5601 * java/nio/channels/FileChannel.java
5602 (toString): New implementation, added documentation.
5603 (map): Added exception documentation.
5604 (size): Added exception documentation.
5605 (write): New methods, documentation work.
5606 (read): New methods, documentation work.
5607 (implCloseChannel): Rewrote exception documentation.
5608 (force): Throws IOException, added documentation.
5609 (lock): New methods.
5610 (tryLock): New methods.
5611 (position): New methods.
5612 (transferTo): New method.
5613 (transferFrom): New method.
5614 (truncate): New method.
5615 * java/nio/channels/spi/SelectorProvider.java
5616 (provider): Implemented.
5618 (ordinary_java_source_files): Added the following files:
5619 gnu/java/nio/DatagramChannelImpl.java
5620 gnu/java/nio/FileChannelImpl.java
5621 gnu/java/nio/PipeImpl.java
5622 gnu/java/nio/SelectionKeyImpl.java
5623 gnu/java/nio/SelectorImpl.java
5624 gnu/java/nio/SelectorProviderImpl.java
5625 gnu/java/nio/ServerSocketChannelImpl.java
5626 gnu/java/nio/SocketChannelImpl.java
5627 java/nio/channels/FileLock.java
5628 (nat_java_source_files): Added the following files:
5629 gnu/java/nio/natFileChannelImpl.cc
5630 gnu/java/nio/natSelectorImpl.cc
5631 gnu/java/nio/natSocketChannelImpl.cc
5632 * Makefile.in: Regenerated.
5634 2003-02-17 Tom Tromey <tromey@redhat.com>
5636 * java/awt/image/ColorModel.java: Re-merged with Classpath.
5637 * java/awt/image/ImageFilter.java: Likewise.
5639 2003-02-17 Raif S. Naffah <raif@fl.net.au>
5641 * java/math/BigInteger.java (euclidInv): Return array of
5642 `BigInteger's. Changed all callers.
5644 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
5646 * java/util/Properties.java (store): Move the code formerly in
5647 list(), into this method.
5648 (list (PrintStream)): Just call list (PrintWriter) with a
5649 PrintWriter object constructed from the given PrintStream object.
5650 (list (PrintWriter)): Emulate the output of Properties.list()
5651 as found in JDK 1.3/1.4.
5653 2003-02-17 Michael Koch <konqueror@gmx.de>
5655 * java/net/DatagramSocket.java
5656 (connect): Merged with classpath.
5657 (disconnect): Merged documentation with classpath.
5658 (receice): Merged documentation with classpath.
5659 (send): Merged documentation with classpath.
5661 2003-02-17 Michael Koch <konqueror@gmx.de>
5663 * java/awt/dnd/DragSourceContext.java
5664 (addDragSourceListener): Added documentation.
5665 * java/awt/dnd/DragSourceDragEvent.java
5666 (serialVersionUID): New member variable.
5667 (getDropAction): Reformated.
5668 * java/awt/dnd/DragSourceDropEvent.java
5669 (serialVersionUID): New member variable.
5670 (dropSuccess): Renamed from success for serialization issues.
5671 * java/awt/dnd/DragSourceEvent.java
5672 (serialVersionUID): New member variable.
5673 * java/awt/dnd/DropTarget.java
5674 (serialVersionUID): New member variable.
5675 (DropTarget): Implemented, documentation reworked.
5676 (setComponent): Documentation added.
5677 (getComponent): Documentation added.
5678 (setDefaultActions): Documentation added.
5679 (getDefaultActions): Documentation added.
5680 (addDropTargetListener): Documentation added.
5681 * java/awt/dnd/DropTargetContext.java
5682 (DropTargetContext): Documentation added.
5683 (TransferableProxy.TransferableProxy): New method.
5684 (dropComplete): Fixed documentation.
5685 (getTransferable): Fixed documentation.
5686 (createTransferableProxy): Implemented.
5687 * java/awt/dnd/DropTargetDragEvent.java
5688 (DropTargetDragEvent): Documentation added.
5689 (serialVersionUID): New member variable.
5690 (DropTargetDragEvent): Throw exceptions, documentation added.
5691 (acceptDrag): Implemented.
5692 (getCurrentDataFlavors): Implemented.3yy
5693 (getCurrentDataFlavorsAsList): Implemented.
5694 (isDataFlavorSupported): Implemented.
5695 (rejectDrag): Implemented.
5696 * java/awt/dnd/DropTargetDropEvent.java
5697 (DropTargetDropEvent): Documentation added.
5698 (serialVersionUID): New member variable.
5699 (actions): Renamed from srcActions for serialization issues.
5700 (isLocalTx): Renamed from isLocalTx for serialization issues.
5701 (DropTargetDropEvent): New implementation, throw exceptions,
5702 documentation added.
5703 (getCurrentDataFlavors): Implemented.
5704 (getCurrentDataFlavorsAsList): Implemented.
5705 (isDataFlavorSupported): Implemented.
5706 (getSourceActions): Implemented.
5707 (getDropAction): Implemented.
5708 (getTransferable): Implemented.
5709 (acceptDrop): Implemented.
5710 (rejectDrop): Implemented.
5711 * java/awt/dnd/DropTargetListener.java
5712 (drop): Fixed documentation.
5713 * java/awt/dnd/MouseDragGestureRecognizer.java
5714 (MouseDragGestureRecognizer): Documentation added.
5716 2003-02-17 Michael Koch <konqueror@gmx.de>
5718 * java/awt/font/FontRenderContext.java,
5719 java/awt/font/ShapeGraphicAttribute.java,
5720 java/awt/font/MultipleMaster.java,
5721 java/awt/font/TransformAttribute.java,
5722 java/awt/font/GlyphJustificationInfo.java,
5723 java/awt/font/LineBreakMeasurer.java,
5724 java/awt/font/TextMeasurer.java,
5725 java/awt/font/TextLayout.java,
5726 java/awt/font/LineMetrics.java,
5727 java/awt/font/TextAttribute.java,
5728 java/awt/font/GlyphMetrics.java,
5729 java/awt/font/OpenType.java,
5730 java/awt/font/GlyphVector.java,
5731 java/awt/font/GraphicAttribute.java,
5732 java/awt/font/ImageGraphicAttribute.java,
5733 java/awt/font/NumericShaper.java: New files.
5735 (awt_java_source_files): Added the following files:
5736 java/awt/font/FontRenderContext.java
5737 java/awt/font/ShapeGraphicAttribute.java
5738 java/awt/font/MultipleMaster.java
5739 java/awt/font/TransformAttribute.java
5740 java/awt/font/GlyphJustificationInfo.java
5741 java/awt/font/LineBreakMeasurer.java
5742 java/awt/font/TextMeasurer.java
5743 java/awt/font/TextLayout.java
5744 java/awt/font/LineMetrics.java
5745 java/awt/font/TextAttribute.java
5746 java/awt/font/GlyphMetrics.java
5747 java/awt/font/OpenType.java
5748 java/awt/font/GlyphVector.java
5749 java/awt/font/GraphicAttribute.java
5750 java/awt/font/ImageGraphicAttribute.java
5751 java/awt/font/NumericShaper.java
5752 * Makefile.in: Regenerated.
5754 2003-02-17 Michael Koch <konqueror@gmx.de>
5756 * java/awt/print/Paper.java
5757 (Paper): Implements Cloneable.
5758 * java/awt/print/PrinterJob.java
5759 (setJobName): Return value must be void.
5760 (print): Throws PrinterException.
5762 2003-02-16 Tom Tromey <tromey@redhat.com>
5764 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5767 2003-02-15 Michael Koch <konqueror@gmx.de>
5769 * java/awt/datatransfer/DataFlavor.java
5770 (isRepresentationClassByteBuffer): Removed try-catch block.
5771 (isRepresentationClassCharBuffer): Removed try-catch block.
5772 (isRepresentationClassReader): Removed try-catch block.
5774 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5776 * java/nio/charset/Charset.java
5777 (isRegistered): Fixed method args and implementation.
5778 * java/nio/charset/CharsetEncoder.java
5779 (unmappableCharacterAction): New method.
5781 2003-02-15 Michael Koch <konqueror@gmx.de>
5783 * java/awt/CheckboxMenuItem.java
5784 (CheckBoxMenuItem): Dont implement Serializable.
5785 (getListeners): New method,
5786 (getItemListeners): New method.
5787 * java/awt/Choice.java
5788 (getListeners): New method,
5789 (getItemListeners): New method.
5790 * java/awt/Container.java
5791 (getListeners): Added exception documentation.
5792 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5793 (getFocusTraversalKeys): Added documentation.
5794 (areFocusTraversalKeysSet): Added documentation.
5795 (applyComponentOrientation): Added documentation.
5796 * java/awt/ContainerOrderFocusTraversalPolicy.java
5797 (implicitDownCycleTraversal): Renamed from downCycle for
5799 (ContainerOrderFocusTraversalPolicy): Added documentation.
5800 (accept): Reformated.
5801 * java/awt/Dialog.java
5802 (Dialog): Dont implement Serializable.
5803 (Dialog): Added documentation.
5804 * java/awt/Font.java
5805 (Font): Dont use absolute class name.
5806 * java/awt/Frame.java
5807 (Frame): Font implement Serializable.
5808 * java/awt/List.java
5809 (getListeners): New method,
5810 (getActionListeners): New method.
5811 (getItemListeners): New method.
5812 * java/awt/Menu.java
5813 (countItems): New deprecated method.
5814 * java/awt/Scrollbar.java
5815 (getListeners): New method,
5816 (getAdjustmentListeners): New method,
5817 * java/awt/TextComponent.java
5818 (getListeners): New method,
5819 (getTextListeners): New method,
5820 * java/awt/TextField.java
5821 (getListeners): New method,
5822 (getActionListeners): New method.
5823 * java/awt/Window.java
5824 (windowFocusListener): New member variable.
5825 (windowStateListener): New member variable.
5826 (getWindowFocusListeners): New method.
5827 (getWindowStateListeners): New method.
5828 (addWindowFocusListener): New method.
5829 (addWindowStateListener): New method.
5830 (removeWindowFocusListener): New method.
5831 (removeWindowStateListener): New method.
5832 * java/awt/datatransfer/DataFlavor.java
5833 (isRepresentationClassByteBuffer): New method.
5834 (isRepresentationClassCharBuffer): New method.
5835 (isRepresentationClassReader): New method.
5837 2003-02-14 Mark Wielaard <mark@klomp.org>
5839 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5840 zero when there is an exponent and the significant is zero.
5841 (divide): Always set scale to newScale even in special ZERO case.
5843 2003-02-14 Tom Tromey <tromey@redhat.com>
5845 * java/lang/System.java (properties): Use Properties.clone.
5846 (setProperties): Likewise.
5848 2003-02-14 Michael Koch <konqueror@gmx.de>
5850 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5851 * gnu/java/nio/ServerSocketChannelImpl.java
5852 (SocketAccept): Removed.
5853 (accept): Commented out use of SocketAccept.
5855 2003-02-13 Tom Tromey <tromey@redhat.com>
5857 * verify.cc (state::seen_subrs): New field.
5858 (state::state): Initialize it.
5859 (state::clean_subrs): New method.
5860 (state::~state): Call it.
5861 (state::copy): Copy subroutine list.
5862 (state::add_subr): New method.
5863 (state::merge): Only register a change if the current subroutine
5864 hasn't yet been noted.
5866 2003-02-13 Mark Wielaard <mark@klomp.org>
5868 * java/io/InputStreamReader.java (getEncoding): Return null when
5870 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5872 2003-02-13 Mark Wielaard <mark@klomp.org>
5874 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5877 2003-02-13 Mark Wielaard <mark@klomp.org>
5879 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5880 next byte cannot be buffered.
5882 2003-02-13 Michael Koch <konqueror@gmx.de>
5884 * java/awt/Label.java
5885 (Label): Don't implement Serializable directly.
5886 (addNotify): Fixed typo in documentation.
5887 * java/awt/List.java
5888 (List): Don't implement Serializable directly.
5889 * java/awt/PopupMenu.java
5890 (PopupMenu): Don't implement Serializable directly.
5891 * java/awt/ScrollPane.java
5892 (ScrollPane): Don't implement Serializable directly.
5893 * java/awt/Scrollbar.java
5894 (Scrollbar): Don't implement Serializable directly.
5895 * java/awt/TextArea.java
5896 (preferredSize): Fixed method arguments.
5897 * java/awt/TextField.java
5898 (TextField): Don't implement Serializable directly.
5899 * java/awt/color/ICC_ColorSpace.java
5900 (fromCIOXYZ): Documentation added.
5901 (getMinValue): Documentation added.
5902 (getMaxValue): Documentation added.
5903 * java/awt/datatransfer/DataFlavor.java
5904 (isMimeTypeEqual): May not be final.
5905 (clone): Throws CloneNotSupportedException.
5906 (getReaderForText): Don't throws UnsupportedEncodingException.
5908 2003-02-13 Michael Koch <konqueror@gmx.de>
5910 * gnu/java/awt/peer/gtk/GdkGraphics.java
5911 (drawString): New stubbed method.
5912 * java/awt/Graphics.java
5913 (drawString): New method.
5915 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5918 * java/security/SecureRandom.java (next): Avoid bias in results.
5920 2003-02-13 Michael <konqueror@gmx.de>
5922 * gnu/java/nio/FileChannelImpl.java
5923 (lengthInternal): Must be native.
5924 (size): Check if channel is already closed.
5925 (implCloseChannel): Reformated.
5926 (read): w was unused, removed it.
5929 (write): New method.
5930 (map): Check arguments.
5931 (force): Throws IOException, check if channel is closed.
5932 (transferTo): New method.
5933 (transferFrom): New method.
5935 (tryLock): New method.
5936 (position): New method.
5937 (truncate): New method.
5938 (nio_mmap_file): Uncommented.
5939 (nio_munmap_file): Uncommented.
5940 (nio_msync): Uncommented.
5941 * gnu/java/nio/natFileChannelImpl.cc: New file.
5943 2003-02-13 Michael Koch <konqueror@gmx.de>
5945 * java/nio/ByteBuffer.java
5946 (endian): New member variable.
5948 (equals): New method.
5949 (compareTo): New method.
5950 (order): New methods.
5951 (compact): New method.
5952 (isDirect): New method.
5953 (slice): New method.
5954 (duplicate): New method.
5955 (asReadOnlyBuffer): New method.
5956 (asCharBuffer): New method.
5957 (asDoubleBuffer): New method.
5958 (asFloatBuffer): New method.
5959 (asIntBuffer): New method.
5960 (asLongBuffer): New method.
5961 (asShortBuffer): New method.
5962 (get*): New methods.
5963 (put*): New methods.
5964 (toString): New method.
5965 * java/nio/CharBuffer.java
5966 (CharBuffer): Implement Comparable instead of Cloneable.
5967 (get): May not be final.
5968 (put): May not be final.
5970 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5972 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5973 lastIndexOf( ) instead of indexOf( ) to find the colon before
5974 the line number, because Win32 file names might contain a
5975 drive letter and a colon at the start of an absolute path.
5977 2003-02-13 Michael Koch <konqueror@gmx.de>
5979 * gnu/java/nio/natSocketChannelImpl.cc
5980 (SocketConnect): This is not implemented yet.
5981 (SocketBind): This is not implemented yet.
5983 2003-02-13 Michael Koch <konqueror@gmx.de>
5985 * gnu/java/nio/natByteBufferImpl.cc,
5986 gnu/java/nio/natCharBufferImpl.cc,
5987 gnu/java/nio/natDoubleBufferImpl.cc,
5988 gnu/java/nio/natFloatBufferImpl.cc,
5989 gnu/java/nio/natIntBufferImpl.cc,
5990 gnu/java/nio/natLongBufferImpl.cc,
5991 gnu/java/nio/natShortBufferImpl.cc:
5992 Added copyright and license.
5993 * java/nio/DoubleBuffer.java,
5994 java/nio/FloatBuffer.java,
5995 java/nio/IntBuffer.java,
5996 java/nio/LongBuffer.java,
5997 java/nio/ShortBuffer.java
5998 (array): Throw exceptions.
5999 (arrayOffset): Throw exceptions.
6001 2003-02-13 Michael Koch <konqueror@gmx.de>
6003 * gnu/java/util/prefs/FileBasedFactory.java,
6004 gnu/java/util/prefs/MemmoryBasedFactory.java,
6005 gnu/java/util/prefs/MemoryBasedPreferences.java,
6006 gnu/java/util/prefs/NodeReader.java,
6007 gnu/java/util/prefs/NodeWriter.java,
6008 java/util/prefs/AbstractPreferences.java,
6009 java/util/prefs/BackingStoreException.java,
6010 java/util/prefs/InvalidPreferencesFormatException.java,
6011 java/util/prefs/NodeChangeEvent.java,
6012 java/util/prefs/NodeChangeListener.java,
6013 java/util/prefs/PreferenceChangeEvent.java,
6014 java/util/prefs/PreferenceChangeListener.java,
6015 java/util/prefs/Preferences.java,
6016 java/util/prefs/PreferencesFactory.java:
6017 New files, all merged from classpath.
6019 (ordinary_java_source_files): Added the following files:
6020 gnu/java/util/prefs/FileBasedFactory.java,
6021 gnu/java/util/prefs/MemmoryBasedFactory.java,
6022 gnu/java/util/prefs/MemoryBasedPreferences.java,
6023 gnu/java/util/prefs/NodeReader.java,
6024 gnu/java/util/prefs/NodeWriter.java,
6025 (core_java_source_files): Added the following files:
6026 java/util/prefs/AbstractPreferences.java,
6027 java/util/prefs/BackingStoreException.java,
6028 java/util/prefs/InvalidPreferencesFormatException.java,
6029 java/util/prefs/NodeChangeEvent.java,
6030 java/util/prefs/NodeChangeListener.java,
6031 java/util/prefs/PreferenceChangeEvent.java,
6032 java/util/prefs/PreferenceChangeListener.java,
6033 java/util/prefs/Preferences.java,
6034 java/util/prefs/PreferencesFactory.java
6035 * Makefile.in: Regenerated.
6037 2003-02-13 Michael Koch <konqueror@gmx.de>
6039 * java/net/NetPermission.java
6040 (NetPermission): Make doucmentation match the method declaration.
6041 * java/net/NetworkInterface.java
6042 (equals): Reformated for GNU coding style.
6043 * java/net/ServerSocket.java: Merged with classpath.
6044 * java/net/Socket.java: Partly merged with classpath (Added some @since).
6045 * java/net/SocketImpl.java
6046 (localPort): Merged with classpath (initialize with -1).
6047 * java/net/SocketPermission.java: Merged with classpath (reindented).
6048 * java/net/URLDecoder.java: Merged with classpath (reindented).
6050 2003-02-13 Michael Koch <konqueror@gmx.de>
6052 * java/awt/GridBagConstraints.java
6053 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
6054 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
6055 * java/awt/KeyboardFocusManager.java
6056 (setGlobalCurrentFocusCycleRoot): Must be public.
6057 * java/awt/MenuComponent.java
6058 (MenuComponent): Must be public.
6059 * java/awt/Toolkit.java:
6060 Added some empty lines to make documentation more readable.
6061 (getFontPeer): Added @deprecated.
6062 (getColorModel): Added exception documentation.
6063 (getProperty): Fixed documentation.
6065 2003-02-12 Jeff Sturm <jsturm@one-point.com>
6067 * configure.host (alpha*-*): Default to -mieee.
6068 * configure.in (IEEESPEC): New.
6069 * libgcj.spec.in (jc1): Add IEEESPEC.
6070 * configure: Rebuild.
6072 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
6074 * include/win32.h: Include ws2tcpip.h instead of
6075 winsock.h to obtain definition of the socklen_t type.
6076 Remove IP_TOS definition - not needed with ws2tcpip.h
6077 (_Jv_connect): Correct slight formatting error.
6079 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
6081 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
6082 size of the arguments for a JNI function. For Win32,
6083 modify to search for all forms of possible exported
6084 names of an stdcall JNI function.
6085 (_Jv_JNIMethod::call): Modify to calculate the size
6086 of the arguments passed to a JNI function and pass
6087 it to _Jv_LookupJNIMethod.
6089 2003-02-12 Michael Koch <konqueror@gmx.de>
6091 * java/nio/channels/Channels.java: New file.
6093 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
6094 * Makefile.in: Regenerated.
6096 2003-02-12 Michael Koch <konqueror@gmx.de>
6098 * java/nio/ByteBuffer.java
6099 (allocate): Implemented.
6100 (wrap): Implemented.
6101 * java/nio/CharBuffer.java:
6102 Some documentation added and reworked.
6104 (allocate): Implemented.
6105 (wrap): Implemented.
6106 (array): Throw exceptions.
6107 (arrayOffset): Throw exceptions.
6108 (toString): Implemented.
6109 (length): Implemented.
6111 (charAt): Implemented.
6113 2003-02-11 John Leuner <jewel@debian.org>
6115 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
6116 reads from end of file.
6118 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
6120 * java/io/natFileDescriptorWin32.cc
6121 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
6122 returns with Win32 error code ERROR_BROKEN_PIPE.
6124 2003-02-11 Michael Koch <konqueror@gmx.de>
6127 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
6129 2003-02-11 Michael Koch <konqueror@gmx.de>
6131 * gnu/java/nio/ByteBufferImpl.java:
6132 Reformated and removed some code.
6133 (backing_buffer): Removed.
6134 (array_offset): Removed.
6135 (ro): Renamed to readOnly.
6136 (ByteBufferImpl): Use parent constructor, initialize readOnly.
6137 * gnu/java/nio/CharBufferImpl.java:
6138 Reformated and removed some code.
6139 (array_offset): Removed.
6140 (ro): Renamed to readOnly.
6141 (CharBufferImpl): Use parent constructor, initialize readOnly.
6143 (order): New method.
6144 * gnu/java/nio/DoubleBufferImpl.java:
6145 Reformated and removed some code.
6146 (array_offset): Removed.
6147 (ro): Renamed to readOnly.
6148 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
6150 (order): New method.
6151 * gnu/java/nio/FloatBufferImpl.java:
6152 Reformated and removed some code.
6153 (array_offset): Removed.
6154 (ro): Renamed to readOnly.
6155 (FloatBufferImpl): Use parent constructor, initialize readOnly.
6157 (order): New method.
6158 * gnu/java/nio/IntBufferImpl.java:
6159 Reformated and removed some code.
6160 (array_offset): Removed.
6161 (ro): Renamed to readOnly.
6162 (IntBufferImpl): Use parent constructor, initialize readOnly.
6164 (order): New method.
6165 * gnu/java/nio/LongBufferImpl.java:
6166 Reformated and removed some code.
6167 (array_offset): Removed.
6168 (ro): Renamed to readOnly.
6169 (LongBufferImpl): Use parent constructor, initialize readOnly.
6171 (order): New method.
6172 * gnu/java/nio/ShortBufferImpl.java:
6173 Reformated and removed some code.
6174 (array_offset): Removed.
6175 (ro): Renamed to readOnly.
6176 (ShortBufferImpl): Use parent constructor, initialize readOnly.
6178 (order): New method.
6180 (ordinary_java_source_files): Added the following files:
6181 gnu/java/nio/ByteBufferImpl.java
6182 gnu/java/nio/CharBufferImpl.java
6183 gnu/java/nio/DoubleBufferImpl.java
6184 gnu/java/nio/FloatBufferImpl.java
6185 gnu/java/nio/IntBufferImpl.java
6186 gnu/java/nio/LongBufferImpl.java
6187 gnu/java/nio/ShortBufferImpl.java
6188 java/nio/DoubleBuffer.java
6189 java/nio/FloatBuffer.java
6190 java/nio/IntBuffer.java
6191 java/nio/LongBuffer.java
6192 java/nio/ShortBuffer.java
6193 (nat_source_files): Added the following files:
6194 gnu/java/nio/natByteBufferImpl.cc
6195 gnu/java/nio/natCharBufferImpl.cc
6196 gnu/java/nio/natDoubleBufferImpl.cc
6197 gnu/java/nio/natFloatBufferImpl.cc
6198 gnu/java/nio/natIntBufferImpl.cc
6199 gnu/java/nio/natLongBufferImpl.cc
6200 gnu/java/nio/natShortBufferImpl.cc
6201 * Makefile.in: Regenerated.
6203 2003-02-11 Michael Koch <konqueror@gmx.de>
6205 * gnu/java/nio/natCharBufferImpl.cc
6206 (nio_cast): Removed.
6207 (nio_put_*): Removed.
6208 (nio_get_*): Removed.
6209 * gnu/java/nio/natDoubleBufferImpl.cc
6210 (nio_cast): Removed.
6211 (nio_put_*): Removed.
6212 (nio_get_*): Removed.
6213 * gnu/java/nio/natFloatBufferImpl.cc
6214 (nio_cast): Removed.
6215 (nio_put_*): Removed.
6216 (nio_get_*): Removed.
6217 * gnu/java/nio/natIntBufferImpl.cc
6218 (nio_cast): Removed.
6219 (nio_put_*): Removed.
6220 (nio_get_*): Removed.
6221 * gnu/java/nio/natLongBufferImpl.cc
6222 (nio_cast): Removed.
6223 (nio_put_*): Removed.
6224 (nio_get_*): Removed.
6225 * gnu/java/nio/natShortBufferImpl.cc
6226 (nio_cast): Removed.
6227 (nio_put_*): Removed.
6228 (nio_get_*): Removed.
6229 * gnu/java/nio/SelectorProviderImpl.java
6230 (openDatagramChannel): Throws IOException.
6231 (openPipe): Throws IOException.
6232 (openSelector): Throws IOException.
6233 (openServerSocketChannel): Throws IOException.
6234 (openSocketChannel): Throws IOException.
6235 * gnu/java/nio/ServerSocketChannelImpl.java
6236 (ServerSocketChannelImpl): Throws IOException.
6237 (implCloseSelectableChannel): Throws IOException.
6238 (implConfigureBlocking): Throws IOException.
6239 * java/nio/ByteBuffer.java
6240 (readOnly): Removed.
6241 (hasArray): Use isReadOnly() instead of readOnly.
6242 (array): Use isReadOnly() instead of readOnly.
6243 (arrayOffset): Use isReadOnly() instead of readOnly.
6244 * java/nio/CharBuffer.java
6245 (CharBuffer): Implements Cloneable and CharSequence.
6247 2003-02-11 Michael Koch <konqueror@gmx.de>
6249 * java/nio/DoubleBuffer.java
6250 (DoubleBuffer): Implements Comparable.
6252 (array_offset): New member variable.
6253 (DoubleBuffer): New constuctor.
6254 (get): May not be final.
6255 (put): May not be final.
6256 (arrayOffset): Implemented.
6257 (order): Made abstract.
6259 (as*Buffer): Removed.
6262 * java/nio/FloatBuffer.java
6263 (FloatBuffer): Implements Comparable.
6265 (array_offset): New member variable.
6266 (FloatBuffer): New constuctor.
6267 (get): May not be final.
6268 (put): May not be final.
6269 (arrayOffset): Implemented.
6270 (order): Made abstract.
6272 (as*Buffer): Removed.
6275 * java/nio/IntBuffer.java
6276 (IntBuffer): Implements Comparable.
6278 (array_offset): New member variable.
6279 (IntBuffer): New constuctor.
6280 (get): May not be final.
6281 (put): May not be final.
6282 (arrayOffset): Implemented.
6283 (order): Made abstract.
6285 (as*Buffer): Removed.
6288 * java/nio/LongBuffer.java
6289 (LongBuffer): Implements Comparable.
6291 (array_offset): New member variable.
6292 (LongBuffer): New constuctor.
6293 (get): May not be final.
6294 (put): May not be final.
6295 (arrayOffset): Implemented.
6296 (order): Made abstract.
6298 (as*Buffer): Removed.
6301 * java/nio/ShortBuffer.java
6302 (ShortBuffer): Implements Comparable.
6304 (array_offset): New member variable.
6305 (ShortBuffer): New constuctor.
6306 (get): May not be final.
6307 (put): May not be final.
6308 (arrayOffset): Implemented.
6309 (order): Made abstract.
6311 (as*Buffer): Removed.
6315 2003-02-11 Michael Koch <konqueror@gmx.de>
6317 * java/nio/channels/SelectionKey.java
6318 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
6321 2003-02-11 Michael Koch <konqueror@gmx.de>
6323 * java/nio/channels/DatagramChannel.java
6324 (write): Throws IOException.
6325 (connect): Throws IOException.
6326 (disconnect): Throws IOException.
6327 (read): Throws IOException.
6328 (receive): Throws IOException.
6329 (send): Throws IOException.
6330 * java/nio/channels/Pipe.java
6331 (open): Throws IOException.
6332 * java/nio/channels/SelectableChannel.java
6333 (configureBlocking): Throws IOException.
6334 * java/nio/channels/ServerSocketChannel.java
6335 (accept): Throws IOException.
6336 * java/nio/channels/SocketChannel.java
6337 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
6338 GatheringByteChannel.
6339 (read): Throws IOException.
6340 (write): Throws IOException.
6341 (finishConnect): Throws IOException.
6342 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6343 (end): Throws AsynchronousCloseException.
6344 * java/nio/channels/spi/AbstractSelectableChannel.java
6345 (configureBlocking): Throws IOException.
6346 (implCloseChannel): Throws IOException.
6347 (implCloseSelectableChannel): Throws IOException.
6348 (implConfigureBlocking): Throws IOException.
6349 * java/nio/channels/spi/SelectorProvider.java
6350 (openDatagramChannel): Throws IOException.
6351 (openPipe): Throws IOException.
6352 (openSelector): Throws IOException.
6353 (openServerSocketChannel): Throws IOException.
6354 (openSocketChannel): Throws IOException.
6356 2003-02-11 Michael Koch <konqueror@gmx.de>
6358 * gnu/java/nio/FileLockImpl.java,
6359 java/nio/channels/FileLock.java: New files.
6361 2003-02-11 Michael Koch <konqueror@gmx.de>
6363 * java/nio/charset/IllegalCharsetNameException.java
6364 (serialVersionUID): New member variable.
6365 (charsetName): New member variable.
6366 (IllegalCharsetException): New implementation.
6367 (getCharsetName): New implementation.
6368 * java/nio/charset/UnsupportedCharsetException.java
6369 (serialVersionUID): New member variable.
6370 (charsetName): New member variable.
6371 (UnsupportedCharsetException): New implementation.
6372 (getCharsetName): New implementation.
6374 2003-02-10 Tom Tromey <tromey@redhat.com>
6376 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
6377 (ex): Renamed from sqlException.
6379 2003-02-10 Raif S. Naffah <raif@fl.net.au>
6381 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
6382 method used to ensure seeding has occurred and that a specific
6383 seed can be set and used.
6385 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
6387 * java/lang/Win32Process.java (destroy): Declare as native.
6388 (hasExited): New native method.
6389 (exitValue): Define.
6390 (getErrorStream): Likewise.
6391 (getInputStream): Likewise.
6392 (getOutputStream): Likewise.
6393 (waitFor): Declare as native.
6394 (startProcess): New native method.
6395 (cleanup): Likewise.
6396 (ConcreteProcess): Define.
6397 (outputStream, inputStream, errorStream): New members.
6398 (procHandle, exitCode): Likewise.
6400 * java/lang/natWin32Process.cc
6401 (java::lang::ConcreteProcess::cleanup): Define.
6402 (java::lang::ConcreteProcess::destroy): Likewise.
6403 (java::lang::ConcreteProcess::hasExited): Likewise.
6404 (java::lang::ConcreteProcess::waitFor): Likewise.
6405 (new_string): Likewise.
6406 (java::lang::ConcreteProcess::startProcess): Likewise.
6408 2003-02-10 Raif S. Naffah <raif@fl.net.au>
6410 * java/math/BigInteger.java:
6411 Updated notice to include years 2002 and 3.
6412 Added 2 private (int) arrays with values from the HAC (Handbook of
6413 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
6414 and t[] that contains nbr. of tests --used in isProbablePrime().
6416 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
6418 * java/math/BigInteger.java (make(int[],int), add(int,int),
6419 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
6420 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
6421 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
6424 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
6425 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
6426 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
6427 BIs and returns void.
6428 (modInverse(BI)): Use new signatures of euclidInv().
6430 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
6431 static small primes instead of remainder().
6432 Use pre-computed max nbr of trials based on bitlength of BI to test.
6433 Use pre-computed small primes for the trial tests instead of random
6436 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
6439 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
6440 invoacation of MPN.chars_per_word(). not used.
6442 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
6443 local var and used where needed.
6445 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
6446 Combined declaration with initialisation of locals.
6449 * java/math/BigInteger.java: Style changes
6450 (pow(int)): Removed 'else' keyword.
6451 (toString(int)): idem.
6452 (doubleValue()): idem.
6453 (bitLength()): idem.
6454 (equals(Object)): Use static methods name in same class w/o prepending
6456 (doubleValue()): idem.
6457 (setNegative(BI)): idem.
6459 (and(BI,int)): idem.
6462 (byteArrayToIntArray()): Removed casting to (int). this is
6464 (canonicalize()): idem.
6465 (alloc(int)): Always instantiate a new BI.
6467 2003-02-10 Tom Tromey <tromey@redhat.com>
6469 * java/sql/Timestamp.java (compareTo(Object)): New method.
6470 (compareTo(Timestamp)): Likewise.
6471 (serialVersionUID): Updated.
6473 2003-02-07 Mark Wielaard <mark@klomp.org>
6475 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
6476 when verify is true.
6477 (JarFile(File, boolean)): Likewise.
6478 (manifestRead): Set manifestRead field correctly.
6480 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6482 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
6483 tests; see patch #1016 on Savannah.
6485 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6487 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
6488 (toString): do not return Strings starting with . and - erroneously.
6489 Improves Mauve results to 12 of 600 instead of 16 of 338 on
6492 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6494 * java/beans/PropertyDescriptor.java
6495 (PropertyDescriptor(String, Class)): Sanity check getter and setter
6497 (PropertyDescriptor(String, Class, String, String)): Likewise.
6498 (PropertyDescriptor(String, Method, Method): Factor out getter and
6499 setter method sanity checks into new method.
6500 (findMethods): Don't do parameter sanity checking of get method here.
6501 (checkMethods): New method.
6503 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6505 * java/beans/PropertyDescriptor.java: Reformat.
6507 2003-02-04 Tom Tromey <tromey@redhat.com>
6509 * java/io/PipedOutputStream.java (flush): Declare as throwing
6512 * java/io/PipedWriter.java (close): Declare as throwing
6514 * java/io/StringWriter.java (close): Declare as throwing
6517 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6519 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
6520 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
6521 could also have been exported as "JNI_OnLoad@8" (MinGW) or
6522 "_JNI_OnLoad@8" (MSVC).
6524 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6526 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6527 convention on Win32 to invoke native JNI methods.
6529 2003-02-03 Andrew Haley <aph@redhat.com>
6531 * configure.host (x86_64): Enable interpreter.
6533 2003-02-03 Andrew Haley <aph@redhat.com>
6535 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6536 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6537 * configure.in (BACKTRACESPEC): New.
6538 * configure: Regenerate.
6540 2003-02-02 Tom Tromey <tromey@redhat.com>
6542 * configure: Rebuilt.
6543 * configure.in (TOOLKIT) [xlib]: Set correctly.
6545 * Makefile.in: Rebuilt.
6546 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6549 2003-01-31 Mark WIelaard <mark@klomp.org>
6551 * Makefile.in: Rebuilt.
6552 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6554 2003-01-31 Tom Tromey <tromey@redhat.com>
6556 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6557 cast to element type.
6558 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6559 (_Jv_JNI_GetObjectArrayElement): Likewise.
6561 * Makefile.in: Rebuilt.
6562 * Makefile.am (cond_x_ltlibrary): Renamed library to
6563 lib-gnu-awt-xlib.la.
6564 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6565 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6566 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6567 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6568 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6569 (lib_gnu_awt_xlib_la_LINK): Likewise.
6570 (install-exec-hook): Removed.
6571 (lib-gnu-awt-xlib.la): Renamed.
6573 2003-01-31 Tom Tromey <tromey@redhat.com>
6575 * aclocal.m4, configure, include/config.h.in: Rebuilt.
6576 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6577 aclocal.m4 and lost in some merge.
6579 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6580 Don't try to find graphics configuration.
6581 * java/awt/Toolkit.java (default_toolkit_name): Use new
6582 Configuration entry.
6583 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6585 * configure: Rebuilt.
6586 * configure.in (TOOLKIT): New subst.
6587 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6588 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
6589 directory. Make output directories for .c files.
6590 * Makefile.in: Rebuilt.
6591 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6592 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6593 (all_java_source_files): Added new sources.
6594 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6595 (gtk_c_files): New macro.
6596 (gtk_c_source_files): New macro.
6597 (cond_gtk_ltlibrary): New macro.
6598 ($(gtk_c_files)): New target.
6599 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6600 (gtk_awt_peer_sources): New macro.
6601 (gtk_c_headers): New macro.
6602 ($(gtk_c_headers)): New target.
6603 (ACLOCAL_AMFLAGS): New macro.
6604 * gtk.m4, glib.m4, libart.m4: New files.
6605 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6606 gnu/java/awt/peer/gtk/GdkGraphics.java,
6607 gnu/java/awt/peer/gtk/GtkArg.java,
6608 gnu/java/awt/peer/gtk/GtkArgList.java,
6609 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6610 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6611 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6612 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6613 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6614 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6615 gnu/java/awt/peer/gtk/GtkClipboard.java,
6616 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6617 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6618 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6619 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6620 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6621 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6622 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6623 gnu/java/awt/peer/gtk/GtkImage.java,
6624 gnu/java/awt/peer/gtk/GtkImagePainter.java,
6625 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6626 gnu/java/awt/peer/gtk/GtkListPeer.java,
6627 gnu/java/awt/peer/gtk/GtkMainThread.java,
6628 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6629 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6630 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6631 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6632 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6633 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6634 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6635 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6636 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6637 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6638 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6639 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6640 gnu/java/awt/peer/gtk/GtkToolkit.java,
6641 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6642 gnu/java/awt/peer/gtk/TestAWT.java,
6643 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6644 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6645 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6646 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6647 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6648 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6649 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6650 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6651 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6652 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6653 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6654 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6655 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6656 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6657 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6658 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6659 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6660 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6661 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6662 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6663 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6664 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6665 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6666 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6667 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6668 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6669 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6670 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6671 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6672 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6673 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6674 jni/classpath/native_state.c, jni/classpath/native_state.h,
6675 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6677 2003-01-31 Julian Dolby <dolby@us.ibm.com>
6679 * java/util/Properties.java (load): Ignore backslash before EOF.
6681 2003-01-30 Jeff Sturm <jsturm@one-point.com>
6683 * java/lang/natClass.cc (initializeClass): Check tables when
6684 (state == JV_STATE_IN_PROGRESS).
6685 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6686 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6687 interpreted classes.
6688 (linkClass0): Use _Jv_WaitForState.
6690 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
6692 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6693 object when finished.
6695 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
6697 * libjava/configure.host: Disable can_unwind_signal on darwin.
6699 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
6702 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6703 additionally containing id of the owner thread as well as
6704 the number of nested times the thread has acquired the mutex.
6705 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6706 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6707 (_Jv_MutexUnlock): Check if really the owner thread, reset
6708 owner thread id to 0 before leaving, if leaving for the last
6710 (_Jv_MutexLock): Set owner thread id in the mutex and increment
6712 (_Jv_ThreadYield): Yield using a call to Sleep(0).
6713 * win32-threads.cc (_Jv_CondWait): Check if really owner of
6715 Pass handle of the broadcast event, instead of a pointer to it
6716 in Win32 ResetEvent( ) call.
6717 Remove incorrect return values.
6718 (_Jv_CondDestroy): Close both event handles and delete
6720 (_Jv_CondNotify): Check if really the owner thread.
6721 (_Jv_CondNotifyAll): Check if really the owner thread.
6722 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6723 (really_start): Use SetEvent( ) to signal daemon_cond.
6724 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6725 WaitForSingleObject( ) instead to wait for daemon_cond to be
6728 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6730 * configure.in: Specifically define HAVE_BACKTRACE if building
6732 * include/win32.h: Remove HAVE_BACKTRACE definition.
6733 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6734 * configure: Rebuilt.
6736 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6738 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6739 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6740 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6741 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6742 * Makefile.in, configure: Rebuilt.
6744 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6747 * java/io/natFileWin32.cc (performList): Append only "*.*"
6748 if the canonical file path already has a "\" at the end.
6750 2003-01-24 Tom Tromey <tromey@redhat.com>
6752 * defineclass.cc (handleMethodsEnd): Precompute code for static
6754 (handleCodeAttribute): Likewise.
6755 * resolve.cc (ncode): Use run_class for unsynchronized static
6757 * include/java-interp.h (class _Jv_InterpMethod): Declare
6759 * interpret.cc (run_synch_class): Initialize class.
6760 (run) [insn_invokestatic]: Don't initialize class.
6761 [insn_anewarray]: Likewise.
6762 [insn_multianewarray]: Likewise.
6763 (run_class): New function.
6765 2003-01-24 Tom Tromey <tromey@redhat.com>
6767 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6770 2003-01-22 Andrew Haley <aph@redhat.com>
6772 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6773 * configure.host (CHECKREFSPEC): Define for x86_64.
6775 2003-01-21 Tom Tromey <tromey@redhat.com>
6777 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6780 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6782 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6783 looking at any characters.
6784 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6786 (isAbsolute): Check path's length as well.
6788 2003-01-17 Mark Wielaard <mark@klomp.org>
6790 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6791 (nat_source_files): Add natVMObjectStreamClass.cc.
6792 * Makefile.in: Regenerated.
6793 * gcj/javaprims.h (namespace java): Regenerated.
6794 * java/io/ObjectStreamClass.java (getClassUID): Call
6795 VMObjectStreamClass.hasClassInitializer().
6796 (hasClassInitializer): Removed.
6797 * java/io/VMObjectStreamClass.java: New class.
6798 * java/io/natVMObjectStreamClass.cc: New file.
6799 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6801 2003-01-16 Mark Wielaard <mark@klomp.org>
6803 * java/net/SocketImpl.java (toString): Don't explicitly call
6804 toString() on possible null address.
6806 2003-01-16 Michael Koch <konqueror@gmx.de>
6808 * java/net/MulticastSocket.java
6809 (setInterface): Reindented.
6811 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6813 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6814 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6815 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6816 translateY arguments. Implement.
6817 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6818 down translation arguments.
6819 (drawPolyline, drawPolygon): Fix incorrect tests.
6820 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6821 translateX and translateY arguments.
6823 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6825 * Makefile.in: Rebuilt.
6826 * Makefile.am (xlib_includes): New macro.
6829 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6831 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6832 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6833 16-bit display mode.
6835 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6837 * java/awt/CardLayout.java (show): Rewrote.
6838 (gotoComponent): Removed `target' argument. Simplified code.
6839 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6840 Changed all callers.
6843 2003-01-14 Michael Koch <konqueror@gmx.de>
6845 * java/net/InetSocketAddress.java
6846 (serialVersionUID): New member variable.
6847 * java/net/NetPermission.java
6848 (NetPermission): Dont implement java.io.Serialization directly.
6849 * java/net/SocketAddress.java:
6850 (serialVersionUID): Documentation added.
6852 2003-01-14 Michael Koch <konqueror@gmx.de>
6854 * java/awt/Label.java
6855 (Label): Implements javax.accessibility.Accessible;
6856 * java/awt/List.java
6857 (List): Implements javax.accessibility.Accessible;
6858 * java/awt/ScrollPane.java
6859 (ScrollPane): Implements javax.accessibility.Accessible;
6860 * java/awt/Scrollbar.java
6861 (Scrollbar): Implements javax.accessibility.Accessible;
6862 * java/awt/TextComponent.java
6863 (setCaretPosition): Throw exception, documentation added.
6864 * java/awt/Toolkit.java:
6865 Added some newlines in method documentations.
6866 (createButton): Exception documentation added.
6867 (createTextField): Exception documentation added.
6868 (createLabel): Exception documentation added.
6869 (createList): Exception documentation added.
6870 (createCheckbox): Exception documentation added.
6871 (createScrollbar): Exception documentation added.
6872 (createScrollPane): Exception documentation added.
6873 (createTextArea): Exception documentation added.
6874 (createChoice): Exception documentation added.
6875 (createFrame): Exception documentation added.
6876 (createWindow): Exception documentation added.
6877 (createDialog): Exception documentation added.
6878 (createMenuBar): Exception documentation added.
6879 (createMenu): Exception documentation added.
6880 (createMenuItem): Exception documentation added.
6881 (createFileDialog): Exception documentation added.
6882 (createCheckboxMenuItem): Exception documentation added.
6883 (loadSystemColors): Exception documentation added.
6884 (setDynamicLayout): Exception documentation added.
6885 (isDynamicLayoutSet): Exception documentation added.
6886 (isDynamicLayoutActive): Exception documentation added.
6887 (getScreenSize): Exception documentation added.
6888 (getScreenResolution): Exception documentation added.
6889 (getScreenInsets): Exception documentation added.
6890 (getColorModel): Exception documentation added.
6891 (getSystemClipboard): Exception documentation added.
6892 (getSystemSelection): Exception documentation added.
6893 (getMenuShortcutKeyMask): Exception documentation added.
6894 (getSystemEventQueue): Exception documentation added.
6895 * java/awt/Window.java:
6896 Reindented some code.
6897 (Window): Centralized implementation, documentation added.
6898 (finalize): Documentation added.
6899 (hide): Fixed typo in comment.
6900 (getWindowListeners): Documentation added.
6901 * java/awt/color/ColorSpace.java
6902 (toRGB): Documentation added.
6903 * java/awt/color/ICC_ColorSpace.java
6904 (ICC_ColorSpace): Documentation added.
6905 (toRGB): Throw exception, documentation added.
6906 (fromRGB): Throw exception, documentation added.
6907 (toCIEXYZ): Documentation added.
6908 (fromCIEXYZ): Documentation added.
6909 (getMinValue): Documentation added.
6910 (getMaxValue): Documentation added.
6911 * java/awt/geom/Dimension2D.java
6912 (clone): Documentation added.
6913 * java/awt/geom/GeneralPath.java
6914 (clone): Documentation added.
6915 * java/awt/geom/Line2D.java
6916 (clone): Documentation added.
6917 * java/awt/geom/QuadCurve2D.java
6918 (clone): Documentation added.
6919 * java/awt/image/ColorModel.java
6920 (ColorModel): Throw exception, documentation added.
6921 * java/awt/image/ImageFilter.java
6922 (clone): Doesnt throw CloneNotSupportedException.
6924 2003-01-14 Andrew Haley <aph@redhat.com>
6926 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6929 2003-01-10 Andrew Haley <aph@redhat.com>
6931 * include/dwarf2-signal.h: Remove x86_64.
6932 * configure.host (x86_64 DIVIDESPEC): Remove.
6933 * include/x86_64-signal.h: New file.
6934 * configure.in: Regenerate.
6936 2003-01-10 Michael Koch <konqueror@gmx.de>
6938 * java/net/DatagramSocket.java
6939 (ch): Description added.
6940 (remotePort): Initialize with -1.
6941 (connect): Doesnt throws SocketException.
6942 * java/net/MulticastSocket.java
6943 (setInterface): Merge with Classpath.
6944 * java/net/ServerSocket.java
6945 (closed): New member variable.
6946 (bind): Check if socket is closed.
6947 (close): Close an associated channel too, set new value to closed.
6948 (isBound): Reindented.
6949 (isClosed): Implemented.
6950 * java/net/Socket.java
6951 (closed): New member variable.
6952 (bind): Check if socket is closed.
6953 (connect): Check if socket is closed.
6954 (close): Close an associated channel too, set new value to closed.
6955 (isClosed): Implemented.
6957 2003-01-10 Michael Koch <konqueror@gmx.de>
6959 * java/awt/DisplayMode.java
6960 (equals): Fixed argument type and implementation.
6962 2003-01-07 Tom Tromey <tromey@redhat.com>
6964 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6965 JV_HASH_SYNCHRONIZATION.
6966 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6967 JV_HASH_SYNCHRONIZATION.
6969 2003-01-07 Michael Koch <konqueror@gmx.de>
6971 * java/net/DatagramSocket.java:
6972 Added classpath license info.
6973 (DatagramSocket): Merged description with classpath.
6974 (close): Merged description with classpath.
6975 (getChannel): Merged description with classpath.
6976 (getInetAddress): Merged description with classpath.
6977 (getPort): Merged description with classpath.
6978 (getLocalAddress): Merged description with classpath.
6979 (getLocalPort): Merged description with classpath.
6980 (getSoTimeout): Merged description with classpath.
6981 (setSoTimeout): Merged description with classpath.
6982 (getSendBufferSize): Merged description with classpath.
6983 (setSendBufferSize): Merged description with classpath.
6984 (getReceiveBufferSize): Merged description with classpath.
6985 (setReceiveBufferSize): Merged description with classpath.
6987 2003-01-04 Tom Tromey <tromey@redhat.com>
6989 * java/awt/List.java: Merged with Classpath.
6991 2003-01-03 Mark Wielaard <mark@klomp.org>
6993 * java/io/FileDescriptor.java (position): New private field.
6994 * java/io/natFileDescriptorPosix.cc (write): Up position.
6995 (setLength): Use and set position.
6996 (seek): Set position.
6997 (getFilePointer): Return position.
6998 (read): Up position.
7000 2003-01-03 Mark Wielaard <mark@klomp.org>
7002 Merge with Classpath:
7003 * java/io/ObjectStreamClass.java (lookup): Split method and call
7004 lookupForClassObject().
7005 (lookupForClassObject): New method.
7006 (isProxyClass): New field.
7007 (setClass): Set isProxyClass, add object to classLookupTable, set
7008 superClass and calculateOffsets.
7009 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
7010 and not a proxy class.
7011 (setFields): Set accessible true for serialPersistentFields.
7012 (getClassUID): Same for suid. And check if suid is of type long.
7013 (hasClassInitializer): Don't throw NoSuchMethodError.
7015 2003-01-03 Mark Wielaard <mark@klomp.org>
7017 * java/io/FileInputStream.java (finalize): Don't explicitly
7018 finalize FileDescriptor.
7020 2003-01-03 Jeff Sturm <jsturm@one-point.com>
7022 * configure.host (sparc*-*): Enable bytecode interpreter.
7024 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
7026 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
7027 Don't throw RemoteException.
7028 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
7029 throw RemoteException.
7031 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7033 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
7034 proxyHost): New static fields.
7035 (<clinit>): Initialize new fields.
7036 (connect): Use proxy if necessary.
7037 (usingProxy): Implement.
7039 2003-01-03 Eric Blake <ebb9@email.byu.edu>
7041 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
7042 (TreeIterator.remove): Prefer IllegalStateException over
7043 ConcurrentModificationException, to match Sun.
7045 2002-12-22 Anthony Green <green@redhat.com>
7047 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
7049 2003-01-02 Mark Wielaard <mark@klomp.org>
7051 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
7053 (HTTP_USE_PROXY): Add field.
7054 (getResponseVals): Only set responseCode when not yet explicitly
7057 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
7058 Mark Wielaard <mark@klomp.org>
7060 * java/util/zip/ZipFile.java (entries): Now HashMap.
7061 (readLeShort(DataInput, byte[])): Read from given byte array.
7062 (readLeInt(DataInput, byte[]): Likewise.
7063 (readLeShort(byte[] b, int off)): New method.
7064 (readLeInt(byte[] b, int off)): Likewise.
7065 (readEntries): Use byte arrays to read info in bigger chunks.
7066 (getEntries): Return HashMap.
7067 (getEntry): Use HashMap.
7068 (locBuf): New private field.
7069 (checkLocalHeader): Use locBuf to read info in one chunk.
7070 (getInputStream): Use entries HashMap, wrap PartialInputStream
7071 in BufferedInputStream.
7072 (ZipEntryEnumeration): Use HashMap and Interator.
7074 2003-01-02 Mark Wielaard <mark@klomp.org>
7075 Jeroen Frijters <jeroen@sumatra.nl>
7077 * java/net/URLClassLoader.java (Resource.getCodeSource):
7078 Fix check certs == null.
7079 (getCanonicalFileURL): Removed method.
7080 (JarURLLoader): Don't call removed method.
7081 (FileURLLoader): Likewise.
7082 (FileURLLoader.getResource): Don't canonicalize file name.
7084 2003-01-01 Tom Tromey <tromey@redhat.com>
7086 * Makefile.in: Rebuilt.
7087 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
7088 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
7089 java/awt/BufferCapabilities.java, java/awt/Button.java,
7090 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
7091 java/awt/Container.java, java/awt/Cursor.java,
7092 java/awt/EventQueue.java, java/awt/FileDialog.java,
7093 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
7094 java/awt/MenuBar.java, java/awt/MenuComponent.java,
7095 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
7096 java/awt/Scrollbar.java, java/awt/TextArea.java,
7097 java/awt/TextField.java, java/awt/color/CMMException.java,
7098 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
7099 java/awt/color/ProfileDataException.java,
7100 java/awt/datatransfer/Clipboard.java,
7101 java/awt/datatransfer/DataFlavor.java,
7102 java/awt/datatransfer/FlavorMap.java,
7103 java/awt/datatransfer/SystemFlavorMap.java,
7104 java/awt/dnd/DragGestureEvent.java,
7105 java/awt/dnd/DragGestureRecognizer.java,
7106 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
7107 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
7108 java/awt/im/InputMethodHighlight.java,
7109 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
7110 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
7112 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
7113 `op' to BufferedImageOp.
7115 2002-12-31 Tom Tromey <tromey@redhat.com>
7117 Fix for PR libgcj/7416:
7118 * javax/naming/InitialContext.java (init): Use
7119 gnu.classpath.home.url.
7120 * java/security/Security.java: Use new properties.
7121 (loadProviders): Accept base url; use it.
7122 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
7123 gnu.classpath.home.url.
7124 (gnu.classpath.home.url): Define.
7125 (gnu.classpath.vm.shortname): Likewise.
7127 2002-12-31 Tom Tromey <tromey@redhat.com>
7128 Ranjit Mathew <rmathew@hotmail.com>
7130 Fix for PR libgcj/8997:
7131 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
7133 * include/posix.h (_Jv_platform_usleep): New function.
7134 * include/win32.h (_Jv_platform_usleep): New function.
7136 2002-12-29 Tom Tromey <tromey@redhat.com>
7138 * gcj/javaprims.h: Updated.
7139 * scripts/classes.pl (scan): Removed stray semicolon.
7141 2002-12-30 Mark Wielaard <mark@klomp.org>
7143 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
7146 2002-12-30 Mark Wielaard <mark@klomp.org>
7148 * java/util/Properties (formatForOutput): Don't fall through to
7149 default case after escaping character.
7151 2002-12-30 Mark Wielaard <mark@klomp.org>
7153 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
7156 2002-12-27 Mark Mitchell <mark@codesourcery.com>
7158 * boehm.cc: Remove stray semicolon.
7159 * interpret.cc: Likewise.
7160 * prims.cc: Likewise.
7161 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
7162 earlier to ensure default arguments are processed.
7163 * gcj/array.h (JArray): Add forward declaration.
7164 (elements): Likewise.
7165 * gcj/javaprim.h: Remove stray semicolons.
7166 * include/bohm-gc.h: Likewise.
7167 * include/jni.h: Likewise.
7168 * include/jvm.h: Likewise.
7169 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
7171 2002-12-23 Jeff Sturm <jsturm@one-point.com>
7173 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
7175 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
7176 idt tables after initializing superclass.
7177 * java/lang/natClassLoader.cc (uaddr): New typedef.
7178 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
7179 if they are constant pool indicies. Don't link vtable, otable yet.
7181 2002-12-21 Anthony Green <green@redhat.com>
7183 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
7185 * Makefile.in: Rebuilt.
7187 2002-12-19 Anthony Green <green@redhat.com>
7189 * Makefile.am (ordinary_java_source_files): Add
7190 org/xml/sax/helpers/NewInstance.java.
7191 * Makefile.in: Rebuilt.
7192 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
7193 org/xml/sax/helpers/package.html: New files.
7194 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
7195 http://www.saxproject.org.
7197 2002-12-19 Andrew Haley <aph@redhat.com>
7199 * java/util/natResourceBundle.cc: Include
7200 ArrayIndexOutOfBoundsException.h.
7201 (getCallingClassLoader): Don't put upper bound on stack search.
7202 Catch ArrayIndexOutOfBoundsException.
7204 2002-12-19 Tom Tromey <tromey@redhat.com>
7206 * libtool-version: Increased `current'.
7208 2002-12-19 Tom Tromey <tromey@redhat.com>
7210 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
7212 * java/lang/ClassLoader.java (defineClass): Use chained
7213 exception when rethrowing.
7214 * defineclass.cc (handleClassBegin): Mark class as interpreted.
7215 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
7217 * resolve.cc (_Jv_PrepareMissingMethods): New function.
7218 (_Jv_PrepareClass): Use it.
7219 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
7220 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
7221 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
7222 (Class): _Jv_PrepareMissingMethods now friend.
7223 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
7224 Record `NULL' for system class loader.
7225 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
7226 system class loader.
7227 (_Jv_FindClassInCache): Likewise.
7228 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
7229 (_Jv_FindClass): Special case system class loader.
7230 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
7231 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
7233 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
7235 (_getDeclaredMethod): Don't return synthetic methods.
7236 (getDeclaredMethods): Likewise.
7237 (_getMethod): Likewise.
7238 (_getMethods): Likewise.
7240 2002-12-18 Raif Naffah <raif@fl.net.au>
7242 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
7243 canonical form after divide().
7244 (modInverse): Likewise.
7246 2002-12-13 Casey Marshall <rsdio@metastatic.org>
7247 Mark Wielaard <mark@klomp.org>
7249 * java/security/SecurityRandom (digest): Removed field.
7250 (SecureRandom): Check all providers for case-insensitive SecureRandom
7251 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
7253 (getInstance(String,Provider,boolean): New method.
7254 (getInstance(String)): Use new method.
7255 (getInstance(String,String)): Likewise.
7256 (getInstance(String,Provider)): Likewise.
7258 2002-12-13 Casey Marshall <rsdio@metastatic.org>
7260 * java/security/Security.java (loadProviders): Increment i only once.
7262 2002-12-12 Mark Wielaard <mark@klomp.org>
7264 * java/lang/ClassLoader.java (resolveClass0): Transform
7265 ClassNotFoundException to NoClassDefFoundError. Transform all other
7266 throwables to LinkageError.
7268 2002-12-11 Tom Tromey <tromey@redhat.com>
7270 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
7272 * java/lang/ClassLoader.java (loadedClasses): New field.
7273 (defineClass): Fixed indentation. Put new class in
7275 (findLoadedClass): Implement here.
7276 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
7278 2002-12-10 Tom Tromey <tromey@redhat.com>
7280 * Makefile.in: Rebuilt.
7281 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
7282 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
7283 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
7284 * java/lang/natClassLoader.cc
7285 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
7287 2002-12-10 Mark Wielaard <mark@klomp.org>
7288 Tom Tromey <tromey@redhat.com>
7290 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
7291 (JarURLLoader): Use it.
7292 (FileURLLoader): Likewise.
7293 (JarURLResource.getURL): Use chained exception.
7294 (FileResource.getURL): Likewise.
7295 (FileURLLoader.getResource): Use canonical file name.
7296 (addURL): Indentation fix.
7298 2002-12-10 Tom Tromey <tromey@redhat.com>
7300 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
7301 From Laurent Bardet <l.bardet@magic.fr>.
7303 2002-12-09 Tom Tromey <tromey@redhat.com>
7305 * include/win32.h (_Jv_platform_solib_prefix): New define.
7306 (_Jv_platform_solib_suffix): Likewise.
7307 * include/posix.h (_Jv_platform_solib_prefix): New define.
7308 (_Jv_platform_solib_suffix): Likewise.
7309 * java/lang/natRuntime.cc: Include StackTrace.h.
7310 (_load): Use findLibrary and new platform defines.
7311 (nativeGetLibname): Use new platform defines.
7313 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
7316 2002-12-08 Mark Wielaard <mark@klomp.org>
7318 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
7319 cache remote jar files.
7320 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
7321 add File.separator to URL when it is a directory.
7322 * java/lang/ClassLoader.java: Add Classpath javadoc.
7324 (getParent): Add (disabled) security check.
7325 (findLibrary): New default method.
7326 * java/net/JarURLConnection.java (getManifest): Implement.
7327 (getInputStream): Only create InputStream when entry exists.
7328 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
7330 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
7332 2002-12-08 Mark Wielaard <mark@klomp.org>
7334 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
7335 (lastDefaultLocale): New field.
7336 (getBundle): When Locale.getDefault != lastDefaultLocale reset
7337 resourceBundleCache.
7339 2002-12-06 Mark Wielaard <mark@klomp.org>
7341 * java/net/InetAddress.java (toString): Use hostname when not null,
7342 don't do an explicit reverse getHostName() lookup.
7343 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
7344 NullPointerException.
7346 2002-12-06 Tom Tromey <tromey@redhat.com>
7348 * include/java-interp.h (class _Jv_InterpMethod): Added
7350 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
7351 mark `prepared' field of interpreted method.
7352 * interpret.cc (compile): Use _Jv_AllocBytes.
7354 2002-12-05 Andrew Haley <aph@redhat.com>
7356 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
7357 #ifdef (HAVE_BACKTRACE) around the whole function body.
7359 2002-12-05 Tom Tromey <tromey@redhat.com>
7361 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
7362 * resolve.cc: Don't include AbstractMethodError.h.
7363 (_Jv_abstractMethodError): Removed.
7364 * defineclass.cc (handleMethodsBegin): Initialize method index to
7366 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
7367 method index for "new" final method.
7368 (_Jv_SetVTableEntries): Compare index against -1 instead of using
7369 isVirtualMethod. Added `flags' argument.
7370 (_Jv_MakeVTable): Throw exception for abstract method in concrete
7373 2002-12-04 Tom Tromey <tromey@redhat.com>
7375 * java/net/SocketPermission.java (hashCode): Rewrote.
7377 2002-12-04 Tom Tromey <tromey@redhat.com>
7379 * Makefile.in: Rebuilt.
7380 * Makefile.am (nat_source_files): Added natVMSecurityManager,
7382 * java/util/ResourceBundle.java (Security): Removed.
7383 (getCallingClassLoader): Now native.
7384 * java/util/natResourceBundle.cc: New file.
7385 * java/lang/natVMSecurityManager.cc: New file.
7386 * java/lang/VMSecurityManager.java (getClassContext): Now native.
7388 2002-12-03 Mark Wielaard <mark@klomp.org>
7390 * java/util/jar/JarFile.java (manifest): Not final.
7391 (manifestRead): New field.
7392 (JarFile): Don't read Manifest in constructor.
7393 (getManifest): New method.
7394 (JarEnumeration.nextElement): Use new method.
7395 (getEntry): Likewise.
7396 * java/util/zip/ZipFile.java (name): Final.
7398 (entries): Change type to Hashtable.
7399 (closed): New field.
7400 (ZipFile): Don't read enties in constructor.
7401 (readEntries): Use Hashtable.
7402 (close): Set new close flag and set entries to null inside
7404 (entries): Contruct enumeration using new getEntries() method and
7406 (getEntryIndex): Removed.
7407 (getEntries): New method.
7408 (getEntry): Use new getEntries() method and entries Hastable.
7409 (getInputStream): Likewise.
7410 (size): Return getEntries().size().
7411 (ZipEntryEnumeration): Wrap entries Hashtable elements.
7412 * java/util/zip/ZipEntry.java (cal): Don't initialize.
7414 (dostime): New field.
7415 (zipFileIndex): Removed.
7416 (ZipEntry(ZipEntry)): Copy dostime.
7417 (setDOSTime): Now final and doesn't convert dos time.
7418 (getDOSTime): Likewise.
7419 (setTime): Convert dos time.
7420 (getTime): Likewise.
7421 (getCalendar): New method.
7422 (setExtra): Use setTime().
7423 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
7425 2002-12-03 Tom Tromey <tromey@redhat.com>
7427 * java/lang/Character.java (forDigit): Formatting fix.
7429 2002-12-03 Raif Naffah <raif@fl.net.au>
7431 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
7432 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
7433 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
7435 2002-12-03 Andrew Haley <aph@redhat.com>
7437 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
7439 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
7440 (_Jv_PopClass): New.
7441 (_Jv_PushClass): New.
7442 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
7443 discover the ClassLoader of our caller.
7444 (_Jv_CheckArrayStore): Don't check that a class is assignment
7445 compatible with Object.
7446 * java/lang/natVMTHrowable.cc: Delete.
7447 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
7448 java.lang.VMThrowable.
7449 (StackTrace(), StackTrace(int)): New constructors.
7450 (classAt, methodAt, update, methodAtAddress): New methods.
7452 * java/lang/VMThrowable.java: Use StackTrace instead of
7454 * java/lang/Class.h (getClassLoaderInternal): New.
7455 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
7456 Be friendly with gnu::gcj::runtime::StackTrace.
7457 (Object.chain): New field.
7458 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
7459 gnu::gcj::runtime::StackTrace.
7460 * gnu/gcj/runtime/natStackTrace.cc: New file.
7461 * gnu/gcj/runtime/MethodRef.java: New file.
7462 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
7463 instead of getClassLoader().
7464 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
7465 java::lang::VMThrowable.
7466 * Makefile.am (core_java_source_files): Add MethodRef.java,
7468 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
7469 * Makefile.in: Rebuild.
7471 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
7473 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
7474 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
7475 yes also for sh-linux* and sh[34]*-linux*.
7476 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
7477 set SIGNAL_HANDLER to use DWARF2 exception for them.
7478 * configure: Regenerate.
7480 2002-12-02 Tom Tromey <tromey@redhat.com>
7482 * jni.cc: Added `name' argument.
7483 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
7484 `const char *' argument.
7485 (class _Jv_JNIEnv) [DefineClass]: Likewise.
7487 2002-12-01 Tom Tromey <tromey@redhat.com>
7489 Bug compatibility, for PR libgcj/8738:
7490 * java/io/CharArrayWriter.java (close): Do nothing.
7492 (reset): Don't touch `closed'.
7493 (write(int)): Don't throw IOException.
7494 (write(char[],int,int)): Likewise.
7495 (write(String,int,int)): Likewise.
7498 2002-12-01 Mark Wielaard <mark@klomp.org>
7500 * java/lang/SecurityManager.java: Remerge comments, indenting and
7501 checkXXX methods with Classpath.
7503 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
7505 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
7506 getNormalizedComponents): Fix calculation which was using one too
7507 many bits in the unnormalized format.
7509 2002-11-29 Gary Benson <gbenson@redhat.com>
7512 * java/beans/Introspector.java (flushCaches): New method.
7513 (flushFromCaches): Likewise.
7515 2002-11-29 Michael Koch <konqueror@gmx.de>
7517 * java/nio/channels/DatagramChannel.java
7518 (open): Added exception documentation.
7519 (write): Added exception documentation.
7520 (connect): Added exception documentation.
7521 (disconnect): Added exception documentation.
7522 (isConnected): Added exception documentation.
7523 (read): Added exception documentation.
7524 (receive): Added exception documentation.
7525 (send): Added exception documentation.
7526 (validOps): Added exception documentation.
7527 * java/nio/channels/SocketChannel.java
7528 (open): Added exception documentation.
7529 (read): Added exception documentation.
7530 (write): Added exception documentation.
7531 (connect): Added exception documentation.
7532 (finishConnect): Added exception documentation.
7534 2002-11-29 Michael Koch <konqueror@gmx.de>
7536 * gnu/java/nio/DatagramChannelImpl:
7537 (fd): New member variable to store file descriptor of socket.
7538 * gnu/java/nio/SelectionKeyImpl.java:
7540 (readyOps): New member variable.
7541 (interestOps): New member variable.
7542 (readyOps): Implemented.
7543 (readyOps): New method to set member variable readyOps.
7544 (interestOps): Replaced ops by interestOps.
7545 * gnu/java/nio/SelectorImpl.java:
7546 (SelectorImpl): Initialize key sets.
7547 (select): Call select with -1 instead of Long.MAX_VALUE).
7548 (java_do_select): Make it a native method.
7549 (getFDsAsArray): New helper method.
7550 (select): Remove canceled keys, give only interested file discriptors
7551 to java_do_select, set ready ops.
7552 (add): No need to initialize keys set here.
7553 (add_selected): No need to initialize selected set here.
7554 (deregisterCanceledKeys): New helper method.
7555 (register): Set interest ops, set attachments, added handling of datagram
7557 * gnu/java/nio/ServerSocketChannelImpl:
7558 (SocketAccept): Renamed from NioSocketAccept.
7559 (implConfigureBlocking): Implemented.
7560 (accept): Use SocketAccept instead of NioSocketAccept.
7561 * gnu/java/nio/SocketChannelImpl:
7562 Reactivate native methods.
7564 2002-11-29 Michael Koch <konqueror@gmx.de>
7566 * gnu/java/nio/natByteBufferImpl.cc,
7567 gnu/java/nio/natCharBufferImpl.cc,
7568 gnu/java/nio/natDoubleBufferImpl.cc,
7569 gnu/java/nio/natFloatBufferImpl.cc,
7570 gnu/java/nio/natIntBufferImpl.cc,
7571 gnu/java/nio/natLongBufferImpl.cc,
7572 gnu/java/nio/natSelectorImpl.cc,
7573 gnu/java/nio/natServerSocketChannelImpl.cc,
7574 gnu/java/nio/natShortBufferImpl.cc,
7575 gnu/java/nio/natSocketChannelImpl.cc:
7576 New files that implement native functionalities.
7578 2002-11-29 Michael Koch <konqueror@gmx.de>
7580 * gnu/java/nio/ByteBufferImpl.java
7581 (ByteBufferImpl): Moved position() after limit.
7582 (nio_*): Use native implementation.
7583 * gnu/java/nio/CharBufferImpl.java:
7585 (endian): New member variable string endianess of buffer.
7586 (CharBufferImpl): Moved position() after limit.
7587 (nio_*): Use native implementation.
7588 (subSequence): Implemented.
7589 * gnu/java/nio/DoubleBufferImpl.java
7590 (DoubleBufferImpl): Moved position() after limit.
7591 (nio_*): Use native implementation.
7592 * gnu/java/nio/FloatBufferImpl.java
7594 (FloatBufferImpl): Moved position() after limit.
7595 (nio_*): Use native implementation.
7596 * gnu/java/nio/IntBufferImpl.java
7597 Added needed imports, Reformated.
7598 (IntBufferImpl): Moved position() after limit.
7599 (nio_*): Use native implementation.
7600 * gnu/java/nio/LongBufferImpl.java
7602 (LongBufferImpl): Moved position() after limit.
7603 (nio_*): Use native implementation.
7604 * gnu/java/nio/ShortBufferImpl.java
7606 (ShortBufferImpl): Moved position() after limit.
7607 (nio_*): Use native implementation.
7609 2002-11-27 Julian Dolby <dolby@us.ibm.com>
7611 * java/util/Locale.java (toString): Improve efficiency if country
7612 and variant are both empty.
7614 2002-11-26 Tom Tromey <tromey@redhat.com>
7616 * verify.cc (pop_init_ref): New method.
7617 (verify_instructions_0) [op_iaload, op_laload, op_faload,
7618 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7619 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7620 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7621 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7622 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7623 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
7624 let `this' argument be uninitialized. Don't let `null' be passed
7625 as `this' to construtor.
7627 2002-11-26 Mark Wielaard <mark@klomp.org>
7629 * javax/transaction/HeuristicCommitException.java: Classpath merge.
7630 * javax/transaction/HeuristicMixedException.java: Likewise.
7631 * javax/transaction/HeuristicRollbackException.java: Likewise.
7632 * javax/transaction/InvalidTransactionException.java: Likewise.
7633 * javax/transaction/NotSupportedException.java: Likewise.
7634 * javax/transaction/RollbackException.java: Likewise.
7635 * javax/transaction/Status.java: Likewise.
7636 * javax/transaction/Synchronization.java: Likewise.
7637 * javax/transaction/SystemException.java: Likewise.
7638 * javax/transaction/Transaction.java: Likewise.
7639 * javax/transaction/TransactionManager.java: Likewise.
7640 * javax/transaction/TransactionRequiredException.java: Likewise.
7641 * javax/transaction/TransactionRolledbackException.java: Likewise.
7642 * javax/transaction/UserTransaction.java: Likewise.
7643 * javax/transaction/xa/XAException.java: Likewise.
7644 * javax/transaction/xa/XAResource.java: Likewise.
7645 * javax/transaction/xa/Xid.java: Likewise.
7647 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
7649 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7651 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7652 * include/posix.h (socklen_t): Define if not already defined.
7654 2002-11-25 Tom Tromey <tromey@redhat.com>
7656 * verify.cc (type::compatible): Backed out broken change.
7658 * verify.cc (type::compatible): Check initialization status
7660 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7661 Don't use NULLCHECK.
7663 2002-11-23 H.J. Lu <hjl@gnu.org>
7665 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7666 Include ../config/accross.m4.
7667 * aclocal.m4; Rebuild.
7668 * configure: Likewise.
7670 2002-11-23 Mark Wielaard <mark@klomp.org>
7672 * javax/naming/AuthenticationException.java: Update copyright header.
7673 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7674 * javax/naming/Binding.java: Likewise.
7675 * javax/naming/CannotProceedException.java: Likewise.
7676 * javax/naming/CommunicationException.java: Likewise.
7677 * javax/naming/CompositeName.java: Likewise.
7678 * javax/naming/CompoundName.java: Likewise.
7679 * javax/naming/ConfigurationException.java: Likewise.
7680 * javax/naming/Context.java: Likewise.
7681 * javax/naming/ContextNotEmptyException.java: Likewise.
7682 * javax/naming/InitialContext.java: Likewise.
7683 * javax/naming/InsufficientResourcesException.java: Likewise.
7684 * javax/naming/InterruptedNamingException.java: Likewise.
7685 * javax/naming/LimitExceededException.java: Likewise.
7686 * javax/naming/LinkException.java: Likewise.
7687 * javax/naming/LinkLoopException.java: Likewise.
7688 * javax/naming/LinkRef.java: Likewise.
7689 * javax/naming/MalformedLinkException.java: Likewise.
7690 * javax/naming/NameAlreadyBoundException.java: Likewise.
7691 * javax/naming/NameClassPair.java: Likewise.
7692 * javax/naming/NameNotFoundException.java: Likewise.
7693 * javax/naming/NameParser.java: Likewise.
7694 * javax/naming/NamingEnumeration.java: Likewise.
7695 * javax/naming/NamingSecurityException.java: Likewise.
7696 * javax/naming/NoInitialContextException.java: Likewise.
7697 * javax/naming/NoPermissionException.java: Likewise.
7698 * javax/naming/NotContextException.java: Likewise.
7699 * javax/naming/OperationNotSupportedException.java: Likewise.
7700 * javax/naming/PartialResultException.java: Likewise.
7701 * javax/naming/Reference.java: Likewise.
7702 * javax/naming/Referenceable.java: Likewise.
7703 * javax/naming/ReferralException.java: Likewise.
7704 * javax/naming/ServiceUnavailableException.java: Likewise.
7705 * javax/naming/SizeLimitExceededException.java: Likewise.
7706 * javax/naming/TimeLimitExceededException.java: Likewise.
7707 * javax/naming/directory/Attribute.java: Likewise.
7708 * javax/naming/directory/AttributeInUseException.java: Likewise.
7709 * javax/naming/directory/AttributeModificationException.java: Likewise.
7710 * javax/naming/directory/Attributes.java: Likewise.
7711 * javax/naming/directory/BasicAttribute.java: Likewise.
7712 * javax/naming/directory/BasicAttributes.java: Likewise.
7713 * javax/naming/directory/DirContext.java: Likewise.
7714 * javax/naming/directory/InitialDirContext.java: Likewise.
7715 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7717 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7718 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7719 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7720 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7721 * javax/naming/directory/ModificationItem.java: Likewise.
7722 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7723 * javax/naming/directory/SchemaViolationException.java: Likewise.
7724 * javax/naming/directory/SearchControls.java: Likewise.
7725 * javax/naming/directory/SearchResult.java: Likewise.
7726 * javax/naming/event/EventContext.java: Likewise.
7727 * javax/naming/event/EventDirContext.java: Likewise.
7728 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7729 * javax/naming/event/NamingEvent.java: Likewise.
7730 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7731 * javax/naming/event/NamingListener.java: Likewise.
7732 * javax/naming/event/ObjectChangeListener.java: Likewise.
7733 * javax/naming/ldap/Control.java: Likewise.
7734 * javax/naming/ldap/ControlFactory.java: Likewise.
7735 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7736 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7737 * javax/naming/ldap/HasControls.java: Likewise.
7738 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7739 * javax/naming/ldap/LdapContext.java: Likewise.
7740 * javax/naming/ldap/LdapReferralException.java: Likewise.
7741 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7742 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7743 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7744 * javax/naming/spi/DirObjectFactory.java: Likewise.
7745 * javax/naming/spi/DirStateFactory.java: Likewise.
7746 * javax/naming/spi/DirectoryManager.java: Likewise.
7747 * javax/naming/spi/InitialContextFactory.java: Likewise.
7748 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7749 * javax/naming/spi/NamingManager.java: Likewise.
7750 * javax/naming/spi/ObjectFactory.java: Likewise.
7751 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7752 * javax/naming/spi/ResolveResult.java: Likewise.
7753 * javax/naming/spi/Resolver.java: Likewise.
7754 * javax/naming/spi/StateFactory.java: Likewise.
7756 * javax/naming/spi/NamingManager.java (ofb): Package private.
7758 2002-11-21 Mark Wielaard <mark@klomp.org>
7760 * java/net/URL.java: Merge with Classpath (partly).
7761 * java/net/URLStreamHandler: Merge with Classpath.
7763 2002-11-22 Michael Koch <konqueror@gmx.de>
7766 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7768 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7769 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7771 2002-11-21 Michael Koch <konqueror@gmx.de>
7773 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7774 Only the new network functions should be in it.
7776 2002-11-21 Michael Koch <konqueror@gmx.de>
7778 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7779 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7781 2002-11-21 Michael Koch <konqueror@gmx.de>
7783 * java/nio/channels/AsynchronousCloseException.java,
7784 java/nio/channels/CancelledKeyException.java,
7785 java/nio/channels/ClosedByInterruptException.java,
7786 java/nio/channels/ConnectionPendingException.java,
7787 java/nio/channels/FileLockInterruptionException.java,
7788 java/nio/channels/IllegalSelectorException.java,
7789 java/nio/channels/NoConnectionPendingException.java,
7790 java/nio/channels/NonReadableChannelException.java,
7791 java/nio/channels/NonWritableChannelException.java,
7792 java/nio/channels/NotYetBoundException.java,
7793 java/nio/channels/NotYetConnectedException.java,
7794 java/nio/channels/OverlappingFileLockException.java,
7795 java/nio/channels/UnresolvedAddressException.java,
7796 java/nio/channels/UnsupportedAddressTypeException.java:
7798 * Makefile.am (ordinary_java_source_files): Added new files.
7799 * Makefile.in: Regenerated.
7801 2002-11-21 Michael Koch <konqueror@gmx.de>
7804 (_Jv_socket): New method.
7805 (_Jv_connect): New method.
7806 (_Jv_close): New method.
7807 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7808 (_Jv_bind): New method.
7809 (_Jv_listen): New method.
7810 (_Jv_write): New method.
7811 (_Jv_read): New method.
7813 (_Jv_socket): New method.
7814 (_Jv_connect): New method.
7815 (_Jv_close): New method.
7816 (_Jv_bind): New method.
7817 (_Jv_listen): New method.
7818 (_Jv_write): New method.
7819 (_Jv_read): New method.
7820 * java/net/natNetworkInterface.cc:
7821 Include platform.h, removed inclusion of socket.h
7822 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7823 ::close() by _Jv_close().
7824 * java/net/natPlainDatagramSocketImpl.cc:
7825 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7826 added some new lines to make code more readable.
7827 (create): Replaced ::socket() by _Jv_socket().
7828 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7829 * java/net/natPlainSocketImpl.cc:
7830 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7831 removed include of socket.h, removed some windows defines
7832 (now in include/win32.h).
7833 (create): Replaced ::socket() by _Jv_socket().
7834 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7835 (write): Replaced ::read by _Jv_write().
7836 (read): Replaced ::read by _Jv_read().
7838 2002-11-20 Michael Koch <konqueror@gmx.de>
7840 * Makefile.am (ordinary_java_source_files):
7841 Added java/nio/channels/FileChannel.java.
7842 * Makefile.in: Regenerated.
7844 2002-11-20 Michael Koch <konqueror@gmx.de>
7846 * java/io/FileInputStream.java
7847 (getChannel): New method.
7848 * java/io/FileOutputStream.java
7849 (getChannel): New method.
7850 * java/net/ServerSocket.java
7851 (bind): Removed duplicate code and called another bind method instead.
7852 * java/nio/channels/SelectionKey.java
7853 (isValid): Removed wrong exception documentation.
7854 * java/nio/channels/ServerSocketChannel.java
7855 (accept): Added exception documentation.
7856 (open): Fixed typo, added exception documentation.
7857 * java/nio/channels/spi/AbstractSelectableChannel.java
7858 (implCloseChannel): Added exception documentation.
7860 (register): Added exception documentation.
7862 2002-11-20 Andreas Jaeger <aj@suse.de>
7864 * configure: Regenerated with new libtool.m4.
7866 2002-11-19 Tom Tromey <tromey@redhat.com>
7868 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7870 (finalize_referred_to_object): Don't modify `referent' or `copy'
7872 (add_to_hash): Correctly set `n->next' when updating list.
7873 * java/lang/ref/Reference.java (enqueue): Return false if already
7876 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7878 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7879 to function and function pointer declarations in accordance with
7880 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7881 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7882 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7883 JNI function definitions.
7885 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7887 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7888 that was causing CoderResults to be cached, not WeakReferences
7891 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7893 * java/security/KeyStore.java (getInstance): Fix
7894 comment and throw IllegalArgumentException if
7895 given provider is null.
7896 (getInstance): New method for jdk1.4 compatibility.
7898 2002-11-18 Michael Koch <konqueror@gmx.de>
7900 * java/net/PlainSocketImpl.java: Fix imports.
7902 2002-11-18 Michael Koch <konqueror@gmx.de>
7904 * java/nio/channels/SelectionKey.java
7905 (isValid): Added exception documentation.
7906 * java/nio/channels/Selector.java
7907 (open): Declare "throws IOException".
7909 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7911 * java/nio/charset/Charset.java
7912 (<clinit>): New method.
7913 (encode): Synchronize use of cached encoder object.
7914 (decode): Synchronize use of cached encoder object.
7916 2002-11-18 Michael Koch <konqueror@gmx.de>
7918 * gnu/java/nio/ByteBufferImpl.java,
7919 gnu/java/nio/CharBufferImpl.java,
7920 gnu/java/nio/DatagramChannelImpl.java,
7921 gnu/java/nio/DoubleBufferImpl.java,
7922 gnu/java/nio/FileChannelImpl.java,
7923 gnu/java/nio/FloatBufferImpl.java,
7924 gnu/java/nio/IntBufferImpl.java,
7925 gnu/java/nio/LongBufferImpl.java,
7926 gnu/java/nio/PipeImpl.java,
7927 gnu/java/nio/SelectionKeyImpl.java,
7928 gnu/java/nio/SelectorImpl.java,
7929 gnu/java/nio/SelectorProviderImpl.java,
7930 gnu/java/nio/ServerSocketChannelImpl.java,
7931 gnu/java/nio/ShortBufferImpl.java,
7932 gnu/java/nio/SocketChannelImpl.java,
7933 java/nio/DoubleBuffer.java,
7934 java/nio/FloatBuffer.java,
7935 java/nio/IntBuffer.java,
7936 java/nio/LongBuffer.java,
7937 java/nio/ShortBuffer.java,
7938 java/nio/channels/FileChannel.java: New files.
7940 2002-11-18 Michael Koch <konqueror@gmx.de>
7942 * Makefile.am (ordinary_java_source_files):
7943 Added java/nio/ReadOnlyBufferException.java and
7944 java/nio/channels/ClosedSelectorException.java.
7945 * Makefile.in: Regenerated.
7947 2002-11-18 Michael Koch <konqueror@gmx.de>
7949 * java/net/PlainSocketImpl.java: Reworked imports.
7950 * java/net/ServerSocket.java
7951 (ServerSocket): Create socket.
7952 * java/net/SocketAddress.java: Documentation added.
7953 * java/net/natPlainSocketImpl.cc: Reindented.
7954 * java/nio/ReadOnlyBufferException.java: New file
7955 * java/nio/channels/ClosedChannelException.java: Documentation added.
7956 * java/nio/channels/ClosedSelectorException.java: New file.
7958 2002-11-17 Mark Wielaard <mark@klomp.org>
7960 * java/net/HttpURLConnection.java ((getPermission): Take port
7962 (getErrorStream): Implement.
7964 2002-11-17 Mark Wielaard <mark@klomp.org>
7966 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7968 2002-11-16 Mark Wielaard <mark@klomp.org>
7970 Integrate work by Raif S. Naffah (raif@fl.net.au)
7971 * java/security/DummyKeyPairGenerator.java (clone): New method.
7972 * java/security/DummyMessageDigest.java (clone): New method.
7973 (engineUpdate): Now public.
7974 (engineReset): Likewise.
7975 (engineDigest): Likewise.
7976 (engineGetDigestLength): New method.
7977 * java/security/DummySignature.java (clone): New method.
7978 * java/security/KeyPairGenerator.java (provider): Now package private.
7979 (getInstance(String)): Use getInstance(String,Provider).
7980 (getInstance(String,String): Use getInstance(String,Provider)
7981 (getInstance(String,Provider): New method.
7982 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7983 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7984 * java/security/MessageDigest.java (provider): Now package private.
7985 (getInstance(String): Use getInstance(String,Provider).
7986 (getInstance(String,String): Use getInstance(String,Provider)
7987 (getInstance(String,Provider): New method.
7988 * java/security/Provider.java (toCanonicalKey): New method.
7989 (get): New method that uses toCanonicalKey().
7990 (put): Use toCanonicalKey().
7992 * java/security/Security.java (insertProviderAt): Provider index is one
7993 based, not zero based.
7994 (addProvider): Likewise.
7995 (removeProvider): Likewise.
7996 * java/security/Signature.java (provider): Now package private.
7997 (getInstance(String)): Use getInstance(String,Provider).
7998 (getInstance(String,String): Use getInstance(String,Provider)
7999 (getInstance(String,Provider): New method.
8000 (getInstance(String,String,Provider): Don't cast DummySignature.
8002 2002-11-15 Tom Tromey <tromey@redhat.com>
8005 * java/util/zip/GZIPInputStream.java (read): Check file size.
8006 Look in inflater for remaining input bytes.
8007 (read4): Added buf and offset arguments.
8009 2002-11-12 Eric Blake <ebb9@email.byu.edu>
8011 * java/applet/AppletContext.java: Fix typo and remove redundant
8014 2002-11-14 Tom Tromey <tromey@redhat.com>
8016 * java/lang/natRuntime.cc (insertSystemProperties): Set
8019 2002-11-13 Michael Koch <konqueror@gmx.de>
8021 * java/nio/ByteBuffer.java
8022 (allocate): New method.
8027 2002-11-13 Michael Koch <konqueror@gmx.de>
8029 * java/nio/channels/AlreadyConnectedException.java:
8030 Removed unneeded import.
8031 (AlreadyConnectedException): Documentation added.
8032 * java/nio/channels/Pipe.java
8033 (SinkChannel.SinkChannel): Documentation added.
8034 (SinkChannel.validOps): New method.
8035 (SourceChannel.SourceChannel): Documentation added.
8036 (SourceChannel.validOps): New method.
8037 (Pipe): Documentation added.
8038 (open): Documentation added.
8039 (SinkChannel.channel): Documentation added.
8040 (SourceChannel.channel): Documentation added.
8041 * java/nio/channel/SelectableChannel.java
8042 (SelectableChannel): Documentation added.
8043 (blockingLock): Documentation added.
8044 (configureBlocking):Documentation added.
8045 (isBlocking):Documentation added.
8046 (isRegistered):Documentation added.
8047 (keyFor):Documentation added.
8048 (provider):Documentation added.
8049 (register): Documentation added.
8050 (validOps): Documentation added.
8051 * jaba/nio/channels/SelectionKey.java
8052 (SelectionKey): Documentation added.
8053 (attach): Documentation added.
8054 (attachment): Documentation added.
8055 (isAcceptable): Documentation added.
8056 (isConnetable): Documentation added.
8057 (isReadable): Documentation added.
8058 (isWritable): Documentation added.
8059 (cancel): Documentation added.
8060 (channel): Documentation added.
8061 (interestOps): Documentation added.
8062 (isValid): Documentation added.
8063 (readyOps): Documentation added.
8064 (selector): Documentation added.
8065 * jaba/nio/channels/Selector.java
8066 (Selector): Documentation added.
8067 (open): Documentation added.
8068 (close): Documentation added.
8069 (isOpen): Documentation added.
8070 (keys): Documentation added.
8071 (provider): Documentation added.
8072 (select): Documentation added.
8073 (selectedKeys): Documentation added.
8074 (selectNow): Documentation added.
8075 (wakeup): Documentation added.
8076 * java/nio/channels/spi/AbstractInterruptibleChannel.java
8077 (AbstractInterruptibleChannel): Documentation added.
8078 (opened): Default to true;
8079 (begin): Documentation added.
8080 (close): Set opened to false, documentation added.
8081 (isOpen): Documentation added.
8082 * java/nio/channels/spi/AbstractSelectionKey.java
8083 (AbstractSelectionKey): Documentation added.
8084 (cancel): Documentation added.
8085 (isValid): Documentation added.
8086 * java/nio/channels/spi/AbstractSelector.java
8087 (AbstractSelector): Documentation added.
8088 (begin): Documentation added.
8089 (close): Documentation added.
8090 (isOpen): Documentation added.
8091 (deregister): Documentation added.
8092 (end): Documentation added.
8093 (provider): Documentation added.
8094 (implCloseSelector): Documentation added.
8095 (register): Documentation added.
8096 * java/nio/channels/spi/SelectorProvider.java
8097 (SelectorProvider): Documentation added.
8098 (openDatagramChannel): Documentation added.
8099 (openPipe): Documentation added.
8100 (openSelector): Documentation added.
8101 (openServerSocketChannel): Documentation added.
8102 (openSocketChannel): Documentation added.
8103 (provider): Documentation added.
8105 2002-11-12 Michael Koch <konqueror@gmx.de>
8107 * java/nio/Buffer.java: Implemented.
8108 * java/nio/CharBuffer.java: New file.
8109 * java/nio/InvalidMarkException.java: New file.
8110 * java/nio/channels/DatagramChannel.java: Implemented.
8111 * java/nio/channels/ServerSocketChannel.java: Implemented.
8112 * java/nio/channels/SocketChannel.java: Implemented.
8113 * java/nio/channels/spi/AbstractChannel.java: Removed.
8114 * java/nio/channels/spi/AbstractSelectableChannel.java:
8116 * java/nio/charset/Charset.java:
8117 Merge from Classpath.
8118 * java/nio/charset/CharsetDecoder.java: New file.
8119 * java/nio/charset/CharsetEncoder.java: New file.
8120 * java/nio/charset/CoderResult.java: New file.
8121 * Makefile.am (ordinary_java_source_files): Added new files.
8122 * Makefile.in: Regenerated.
8124 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8126 * gnu/java/nio/charset/ISO_8859_1.java,
8127 gnu/java/nio/charset/Provider.java,
8128 gnu/java/nio/charset/US_ASCII.java,
8129 gnu/java/nio/charset/UTF_16.java,
8130 gnu/java/nio/charset/UTF_16BE.java,
8131 gnu/java/nio/charset/UTF_16Decoder.java,
8132 gnu/java/nio/charset/UTF_16Encoder.java,
8133 gnu/java/nio/charset/UTF_16LE.java,
8134 gnu/java/nio/charset/UTF_8.java: New files.
8136 2002-11-11 Michael Koch <konqueror@gmx.de>
8138 * java/nio/charset/CharacterCodingException.java:
8139 This class must be public.
8140 * java/nio/charset/CoderMalfunctionError.java:
8141 This class must be public.
8142 * java/nio/charset/CodingErrorAction.java:
8143 This class must be public.
8144 * java/nio/charset/IllegalCharsetNameException.java:
8145 This class must be public, better implementation.
8146 * java/nio/charset/MalformedInputException.java:
8147 This class must be public, better implementation.
8148 * java/nio/charset/UnmappableCharacterException.java:
8149 This class must be public, better implementation.
8150 * java/nio/charset/UnsupportedCharsetException.java:
8151 This class must be public, better implementation.
8153 2002-11-11 Michael Koch <konqueror@gmx.de>
8155 * java/nio/BufferOverflowException.java,
8156 java/nio/BufferUnderflowException.java: New file.
8157 * Makefile.am (ordinary_java_source_files):
8159 * Makefile.in: Regenerated.
8161 2002-11-10 Tom Tromey <tromey@redhat.com>
8163 * java/awt/Container.java (validate): Use tree lock.
8164 (getComponent): Likewise.
8165 (getComponents): Likewise.
8166 (addImpl): Likewise.
8168 (removeAll): Likewise.
8169 (processEvent): Fixed indentation.
8170 (getComponentAt): Use tree lock.
8171 (findComponentAt): Likewise.
8172 (removeNotify): Likewise.
8173 (isAncestorOf): Likewise.
8175 (visitChildren): Likewise.
8176 (findNextFocusComponent): Likewise.
8177 (addNotifyContainerChildren): Likewise.
8178 (getAccessibleChildrenCount): Likewise.
8179 (getAccessibleChild): Likewise.
8181 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
8182 (getSize): Likewise.
8183 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
8184 (getSize): Likewise.
8185 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
8186 (calcSize): Likewise.
8187 * java/awt/CardLayout.java (getSize): Use tree lock.
8188 (gotoComponent): Likewise.
8189 (layoutContainer): Likewise.
8191 * java/io/natFileDescriptorWin32.cc (read): Handle case where
8193 * java/io/natFileDescriptorPosix.cc (read): Handle case where
8196 * java/io/Externalizable.java, java/io/FilePermission.java,
8197 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
8198 java/io/SerializablePermission.java, java/text/Format.java,
8199 java/util/AbstractMap.java, java/util/HashMap.java,
8200 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
8201 versions from Classpath.
8203 2002-11-10 Anthony Green <green@redhat.com>
8205 * java/util/jar/Attributes.java (Name): Fix name check.
8207 2002-11-10 Mark Wielaard <mark@klomp.org>
8209 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
8210 with getName() as message.
8211 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
8214 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
8217 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
8219 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
8220 for Win32. JNICALL has been defined to __stdcall to be compatible
8223 2002-11-10 Tom Tromey <tromey@redhat.com>
8225 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
8226 (setRows): Check newRows, not rows.
8228 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
8230 2002-11-09 Tom Tromey <tromey@redhat.com>
8232 * java/applet/Applet.java, java/applet/AppletContext.java,
8233 java/applet/AppletStub.java, java/applet/AudioClip.java,
8234 java/awt/CardLayout.java,
8235 java/awt/ContainerOrderFocusTraversalPolicy.java,
8236 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
8237 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
8238 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
8239 java/awt/color/ICC_ColorSpace.java,
8240 java/awt/color/ICC_Profile.java,
8241 java/awt/color/ICC_ProfileGray.java,
8242 java/awt/color/ICC_ProfileRGB.java,
8243 java/awt/datatransfer/DataFlavor.java,
8244 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
8245 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
8246 New versions from Classpath.
8247 * Makefile.in: Rebuilt.
8248 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
8251 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
8254 * java/awt/List.java (processEvent): Added missing `else's.
8256 * java/awt/Window.java (show): validate() before showing. Make
8258 (isDisplayable): New method.
8260 2002-11-07 Mark Wielaard <mark@klomp.org>
8262 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
8263 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
8265 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
8267 (loadClass): Take String as codebases.
8268 (getClassAnnotation): Use MyClassLoader annotations.
8269 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
8270 call exportObject(this).
8272 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
8273 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
8274 (setAnnotation): Don't set locBytesStream and locStream.
8275 (replaceObject): Removed.
8276 (flush): Don't test locStream.
8277 (getLocBytes): LikeWise.
8278 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
8279 (leaseCache): New field.
8280 (dirty): Use leaseCache.
8281 (LeaseRecord): New inner class.
8282 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
8283 explicitly call exportObject().
8284 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
8285 false to communicate with Sun JDK130.
8286 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
8287 * gnu/java/rmi/server/RMIObjectInputStream.java
8288 (UnicastConnectionManager): Removed field.
8289 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
8290 Use UnicastServer.getExportedRef().
8291 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
8292 (expireTime): Likewise.
8293 (CONNECTION_TIMEOUT): Likewise.
8294 (disconnect): Call sock.close().
8295 (isExpired): New method.
8296 (resetTime): Likewise.
8297 (run): Use do while loop and catch Exception for discardConnection().
8298 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
8299 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
8300 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
8301 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
8302 (exportObject): Use refcache.
8303 (unexportObject): Likewise.
8304 (getExportedRef): New method.
8305 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
8307 (exportObject): Save manager.serverobj.
8308 (getStub): New method.
8310 2002-11-07 Mark Wielaard <mark@klomp.org>
8312 * java/lang/reflect/natField.cc (getBoolean): Use getType().
8313 (getByte): Likewise.
8314 (getShort): Likewise.
8316 (getLong): Likewise.
8317 (getFloat): Likewise.
8318 (getDouble): Likewise.
8320 (setChar): Likewise.
8321 (setByte): Likewise.
8322 (setShort): Likewise.
8324 (setLong): Likewise.
8325 (setFloat): Likewise.
8326 (setDouble): Likewise.
8328 2002-11-07 Michael Koch <konqueror@gmx.de>
8330 * java/awt/Choice.java,
8331 java/awt/Container.java,
8332 java/awt/GridBagLayout.java:
8333 Fixed documentation.
8334 * java/awt/peer/ContainerPeer.java:
8337 2002-11-07 Michael Koch <konqueror@gmx.de>
8339 * java/awt/color/ICC_Profile.java:
8340 Added missing constants.
8341 * java/awt/color/ICC_ColorSpace.java
8342 (getMinValue): Added dummy implementation.
8343 (getMaxValue): Added dummy implementation.
8344 * java/awt/datatransfer/DataFlavor.java
8345 (imageFlavor): Added.
8346 (isMimeTypeEqual): Must be final.
8347 (getDefaultRepresentationClass): Must be non-static.
8348 (getDefaultRepresentationClassAsString): Must be non-static.
8349 * java/awt/dnd/DragSourceContext.java
8350 (dragExit): Corrected argument.
8351 (dragDropEnd): Corrected argument.
8352 * java/awt/dnd/DragSourceListener.java.java
8353 (dragExit): Corrected argument.
8354 (dragDropEnd): Corrected argument.
8355 * java/awt/font/TextHitInfo.java
8356 (toString): Added stubbed implementation.
8357 * java/awt/geom/PathIterator.java:
8358 The constants must be static.
8359 * java/awt/image/VolatileImage.java
8360 (IMAGE_INCOMPATIBLE): Fixed typo.
8361 * java/awt/image/renderable/RenderableImage.java
8362 (HINTS_OBSERVED): Must be static.
8363 * java/beans/BeanInfo.java:
8364 Constants must be final.
8366 2002-11-06 Tom Tromey <tromey@redhat.com>
8368 From svens@it.uu.se. For PR libgcj/8481.
8369 * java/util/Random.java (nextInt(int)): Only use 31 bits.
8371 2002-11-06 Tom Tromey <tromey@redhat.com>
8373 * jni.cc (array_from_valist): Assume that jlong won't be
8376 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
8378 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
8380 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
8383 2002-11-03 Tom Tromey <tromey@redhat.com>
8385 * java/lang/ClassLoader.java (loadClass): Call loadClass on
8386 VMClassLoader, not findClass.
8388 2002-11-03 Jeff Sturm <jsturm@one-point.com>
8390 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
8391 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
8392 _Jv_DetermineVTableIndex, to determine vtable offset.
8393 (_Jv_DetermineVTableIndex): Remove.
8394 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
8396 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
8398 2002-11-03 Tom Tromey <tromey@redhat.com>
8400 * java/nio/channels/AlreadyConnectedException.java: Extend
8401 IllegalStateException, per spec.
8403 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
8405 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
8407 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
8409 * java/util/ArrayList.java (readObject, writeObject): Only read/write
8412 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
8414 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
8415 initial estimated size to avoid enlarge buffer frequently.
8417 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
8419 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
8420 ClassLoader when null.
8421 (ProxyType.hashCode): Loader null check no longer needed.
8422 (ProxyType.sameTypes): New method.
8423 (ProxyType.equals): Use new method.
8425 2002-10-31 Mark Wielaard <mark@klomp.org>
8427 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
8429 * java/net/URLEncoder.java (encode): Likewise.
8431 2002-10-31 Mark Wielaard <mark@klomp.org>
8433 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
8434 when stream is closed.
8435 (closeEntry): Likewise.
8437 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
8438 ZipException when no entry active.
8439 (closeEntry): Likewise.
8442 2002-11-02 Tom Tromey <tromey@redhat.com>
8444 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
8445 * java/lang/natClass.cc (initializeClass): Don't return just
8446 because self==thread.
8449 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
8450 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
8452 2002-11-02 Andreas Schwab <schwab@suse.de>
8454 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
8456 (FLAGS_TO_PASS): Define.
8457 * Makefile.in: Regenerated.
8459 2002-11-01 Michael Koch <konqueror@gmx.de>
8461 * java/nio/ByteOrder.java: New file.
8462 * java/nio/channels/DatagramChannel.java:
8463 (DatagramChannel): New constructor.
8464 * java/nio/channels/Pipe.java: New file.
8465 * java/nio/channels/SelectableChannel.java: New file.
8466 * java/nio/channels/SelectionKey.java: New file.
8467 * java/nio/channels/Selector.java: New file.
8468 * java/nio/channels/ServerSocketChannel.java
8469 (ServerSocketChannel): New constructor.
8470 * java/nio/channels/SocketChannel.java
8471 (SocketChannel): New constructor.
8472 * java/nio/channels/Pipe.java: New file.
8473 * java/nio/channels/spi/AbstractChannel.java: New file.
8474 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
8475 * java/nio/channels/spi/AbstractSelectableChannel.java:
8477 (AbstractSelectableChannel): New stubbed method.
8478 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
8479 * java/nio/channels/spi/AbstractSelector.java: New file.
8480 * java/nio/channels/spi/SelectorProvider.java: New file.
8481 * java/nio/charset/Charset.java: New file.
8482 * java/nio/charset/CoderMalfunctionError.java: New file.
8483 * java/nio/charset/CodingErrorAction.java: New file.
8484 * java/nio/charset/spi/CharsetProvider.java
8485 (charsetForName): Uncommented.
8486 * Makefile.am (java_native_source_files): Added new files.
8487 * Makefile.in: Regenerated.
8489 2002-11-01 Michael Koch <konqueror@gmx.de>
8491 * java/net/InetAddress.java:
8492 (isAnyLocalAddress): Implemented.
8493 (isLoopbackAddress): Implemented, comment added.
8494 (isLinkLocalAddress): Implemented, documentation added.
8495 (isSiteLocalAddress): Implemented, documentation added.
8496 (isMCGlobal): Implemented, documentation added.
8497 (isMCNodeLocal): Implemented, documentation added.
8498 (isMCLinkLocal): Implemented, documentation added.
8499 (isMCSiteLocal): Implemented, documentation added.
8500 (isMCOrgLocal): Implemented, documentation added.
8501 (getHostName): Documentation added.
8502 (getCanonicalHostName): Implemented, documentation added.
8503 (getAddress): Documentation added.
8504 (hashCode): Documentation added.
8505 (equals): Documentation added.
8506 (toString): Fixed implementation.
8507 (getByAddress): Use Inet4Address and Inet6Address.
8508 (lookup): New linewrap.
8509 (getByName): SecurityManager check added, support Inet4Address and
8510 Inet6address, comments added.
8511 (getAllByName): SecurityManager check added, comments added.
8512 * java/net/Inet6Address.java:
8513 (Inet6Address): Initialize parent class with addr instead of null.
8515 (equals): Documentation added.
8516 (getFile): Documentation added.
8517 (hashCode): Documentation added.
8518 * java/net/natInetAddress.cc:
8519 (aton): Fix IPv6 support.
8520 * java/net/natPlainDatagramSocketImpl.cc:
8521 (peek): Throw PortUnreachableException when suitable.
8522 (peekData): Throw PortUnreachableException when suitable.
8523 (send): Throw PortUnreachableException when suitable.
8524 (receive): Throw PortUnreachableException when suitable.
8526 2002-10-27 Mark Wielaard <mark@klomp.org>
8528 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8530 (readLeShort): Likewise and use byte[].
8531 (readLeInt): Likewise.
8532 (readEntries): Use new versions of methods and use byte[] for reading
8533 a complete zip entry. Add ZipFile name to exceptions.
8534 (entries): Add ZipFile name to exceptions.
8535 (getEntry): Likewise.
8536 (checkLocalHeader): Use new versions of methods and add ZipFile name
8539 2002-10-31 Mark Anderson <mark@panonet.net>
8541 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8544 2002-10-25 Krister Walfridsson <cato@df.lth.se>
8546 * configure.in: Disable hash sync when not using threads.
8547 * configure: Regenerated.
8549 2002-10-24 Tom Tromey <tromey@redhat.com>
8551 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8552 (_Jv_FindSymbolInExecutable): Removed argument name.
8553 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8554 java.library.path is set.
8556 * gij.cc (help): Document --showversion.
8557 (version): Don't exit.
8558 (main): Handle --showversion. Exit if --version given.
8560 2002-10-23 Tom Tromey <tromey@redhat.com>
8562 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8563 (array_from_valist): Correctly handle promotion for jint, jlong,
8564 jfloat, and jdouble.
8566 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
8568 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8569 GetFileAttributesEx( ) to find file length and modification times,
8570 as the latter is not present on Windows 95.
8572 2002-10-21 Michael Koch <konqueror@gmx.de>
8575 (URL): Activate SecurityManager checks.
8576 (equals): Use URLStreamHandler implementation instead of doing it
8577 alone. This allows special protocol stream handlers to change default
8579 (hashCode): Use URLStreamHandler implementation instead of doing it
8580 alone. This allows special protocol stream handlers to change default
8582 * java/net/URLStreamHandler.java
8583 (equals): Implemented default URL equality check.
8584 (hostsEqual): Implemented default URL equality check.
8585 (hashCode): Implemented default URL hashCode algorithm.
8586 * java/net/natPlainDatagramSocketImpl.cc:
8587 No lines longer then 80 characters.
8589 2002-10-20 Adam Megacz <adam@xwt.org>
8591 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8592 * configure.in: enabled hash sync on Win32
8593 * include/win32-threads.h (_Jv_ThreadId_t): added.
8594 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8595 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8596 removed some posix-isms, use Thread::sleep() instead of usleep,
8597 added code to clear bottom three bits if platform has a broken
8599 * include/win32-threads.h (_Jv_ThreadId_t): added.
8601 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
8603 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8604 runtime property "gnu.gcj.progname" containing the name used to
8605 invoke the current Java program (similar to argv[0] for C
8608 2002-10-15 Tom Tromey <tromey@redhat.com>
8610 Fix for PR libgcj/8234:
8611 * java/util/zip/natInflater.cc (reset): Reset avail_in.
8612 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8614 2002-10-13 Mark Wielaard <mark@klomp.org>
8616 * mauve-libgcj: Enable Mauve tests that compile now.
8618 2002-10-11 Mark Wielaard <mark@klomp.org>
8620 Fix for PR libgcj/8142
8621 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8622 loading native modules.
8624 2002-10-10 Michael Koch <konqueror@gmx.de>
8626 * javax/swing/AbstractListModel.java
8627 (getListDataListeners): New stubbed method.
8628 javax/swing/DefaultBoundedRangeModel.java
8629 (getChangeListeners): New stubbed method.
8630 javax/swing/DefaultSingleSelectionModel.java
8631 (getChangeListeners): New stubbed method.
8633 2002-10-10 Michael Koch <konqueror@gmx.de>
8635 * gcj/.cvsignore: New file to ignore files generated during build.
8636 * include/.cvsignore: New file to ignore files generated during build.
8638 2002-10-10 Michael Koch <konqueror@gmx.de>
8640 * java/net/HttpURLConnection.java
8641 (getPermission): New method.
8642 (getErrorStream): New stub method.
8643 (getHeaderFieldDate): New stub method.
8644 * java/net/Inet4Address.java:
8645 (isLinkLocalAddress): Typo fixed.
8646 * java/net/InetAddress.java:
8647 (readResolve): New stubbed method (for serialization).
8648 (isAnyLocalAddress): New stubbed method.
8649 (isLoopbackAddress): New stubbed method.
8650 (isLinkLocalAddress): New stubbed method.
8651 (isSiteLocalAddress): New stubbed method.
8652 (isMCGlobal): New stubbed method.
8653 (isMCNodeGlobal): New stubbed method.
8654 (isMCLinkLocal): New stubbed method.
8655 (isMCSiteLocal): New stubbed method.
8656 (isMCOrgLocal): New stubbed method.
8657 (getCanonicalHostName): New stubbed method.
8658 (getByAddress): Create instances of Inet4Address/Inet6Address,
8659 instead of InetAddress, documentation added.
8660 * java/net/MulticastSocket.java
8661 (getInterface): Removed FIXME.
8662 (getNetworkInterface): New method.
8663 (setNetworkInterface): New method.
8664 * java/net/NetworkInterface.java:
8665 (toString): Use property "line.separator" instead of "\n".
8666 * java/net/URLConnection.java
8667 (getContent): New stubbed method.
8668 * java/net/URLStreamHandler.java:
8669 (equals): New stubbed method.
8670 (hostsEqual): New stubbed method.
8671 (hashCode): New stubbed method.
8672 * java/net/natNetworkInterface.cc:
8673 (getRealNetworkInterfaces): Create Inet4Address object
8674 instead of InetAddress.
8676 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8678 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8679 unsigned long temporary to implement insn_iushr shifts.
8681 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8683 * configure.host [s390*-*]: Enable Java interpreter.
8684 Enable hash synchronization. Add sysdeps dir.
8685 * sysdep/s390/locks.h: New file.
8687 2002-10-06 Mark Wielaard <mark@klomp.org>
8689 * java/lang/Thread.java (setDaemon): Check startable_flag,
8692 2002-10-07 Michael Koch <konqueror@gmx.de>
8694 * java/nio/Buffer.java: New stub file.
8695 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8697 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8698 * Makefile.in: Regenerated.
8700 2002-10-07 Michael Koch <konqueror@gmx.de>
8702 * java/nio/ByteBuffer.java:
8703 removed import of not commited class.
8705 2002-10-07 Michael Koch <konqueror@gmx.de>
8707 * java/nio/ByteBuffer.java,
8708 java/nio/MappedByteBuffer.java:
8709 New files, forgot to add these dummies.
8710 * Makefile.am (java_native_source_files): Added new files.
8711 * Makefile.in: Regenerated.
8713 2002-10-07 Michael Koch <konqueror@gmx.de>
8715 * java/nio/channels/AlreadyConnectedException.java,
8716 java/nio/channels/ClosedChannelException.java,
8717 java/nio/channels/ReadableByteChannel.java,
8718 java/nio/channels/InterruptibleChannel.java,
8719 java/nio/channels/Channel.java,
8720 java/nio/channels/ByteChannel.java,
8721 java/nio/channels/GatheringByteChannel.java,
8722 java/nio/channels/ScatteringByteChannel.java,
8723 java/nio/channels/WritableByteChannel.java,
8724 java/nio/charset/CharacterCodingException.java,
8725 java/nio/charset/IllegalCharsetNameException.java,
8726 java/nio/charset/MalformedInputException.java,
8727 java/nio/charset/UnmappableCharacterException.java,
8728 java/nio/charset/UnsupportedCharsetException.java,
8729 java/nio/charset/spi/CharsetProvider.java: New file.
8730 These files are exceptions or interfaces,
8731 no real or abstract classes.
8732 * Makefile.am (java_native_source_files): Added new files.
8733 * Makefile.in: Regenerated.
8735 2002-10-05 Michael Koch <konqueror@gmx.de>
8737 * java/net/InetAddress.java
8738 (getByAddress): Fixed documentation.
8739 (getByAddress): New method.
8740 * java/net/Inet4Address.java: New file.
8742 (URL): Documentation added.
8743 (getContent): Documentation added.
8744 (getContent): New stubbed method.
8745 (getQuery): New method.
8746 (openConnection): Documentation added.
8747 (openStream): Documentation added.
8748 (setURLStreamHandlerFactory): Documentation added.
8749 * java/net/URI.java: New stub file.
8751 (java_native_source_files): Added java/net/Inet4Address.java,
8752 java/net/Inet6Address.java and java/net/URI.java.
8753 * Makefile.in: Regenerated.
8755 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8757 * java/lang/ProtectionDomain.java (linesep): Remove field.
8758 (toString): Use System.getProperty("line.separator").
8760 2002-10-04 Michael Koch <konqueror@gmx.de>
8762 * java/security/Identity.java: Added serialVersionUID.
8763 * java/security/KeyPair.java: Added serialVersionUID.
8764 * java/security/Provider.java: Added serialVersionUID.
8765 * java/security/SecureRandom.java: Added serialVersionUID.
8766 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8767 * java/security/SignedObject.java: Added serialVersionUID.
8768 * java/security/cert/Certificate.java: Added serialVersionUID.
8770 2002-10-04 Mark Wielaard <mark@klomp.org>
8772 * java/security/Security.java: Use java.home or gnu.classpath.home
8774 (loadProviders): Extra dir argument.
8775 (getProvider): Return null when not found.
8777 2002-10-04 Mark Wielaard <mark@klomp.org>
8779 * java/lang/Throwable.java: Remerge with Classpath.
8781 2002-10-04 Michael Koch <konqueror@gmx.de>
8783 * java/net/InetAddress.java:
8784 (isMulticastAddress): Added documentation.
8785 (getHostAddress): Added documentation.
8786 (toString): Added documentation.
8787 (getByAddress): Fixed documentation.
8788 (getByName): Added documentation.
8789 (getAllByName): Added documentation.
8790 (getLocalHost): Added documentation.
8792 2002-10-04 Michael Koch <konqueror@gmx.de>
8794 * java/beans/beancontext/BeanContextChildSupport.java:
8795 Added serialVersionUID.
8796 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8797 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8798 * javax/naming/Name.java: Added serialVersionUID.
8800 2002-10-03 Adam Megacz <adam@xwt.org>
8802 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8803 some functionality that isn't supported yet on WIN32.
8805 2002-10-03 Tom Tromey <tromey@redhat.com>
8807 * Makefile.in: Rebuilt.
8808 * Makefile.am (awt_java_source_files): Added new files.
8810 2002-10-03 Michael Koch <konqueror@gmx.de>
8812 * java/net/InetAddress.java
8813 (class InetAddress): Removed final keyword.
8814 (equals): Fixed typo.
8815 (getByAddress): New method.
8817 2002-10-03 Michael Koch <konqueror@gmx.de>
8819 * java/awt/dnd/Autoscroll.java:
8820 New file, merge from Classpath.
8821 * java/awt/dnd/DragSourceAdapter.java:
8822 (dragExit): Fixed typos in argument type.
8823 (dragDropEnd): Fixed typos in argument type.
8824 * java/awt/dnd/DragSourceDropEvent.java:
8825 New file, merge from Classpath.
8826 * java/awt/dnd/DropTarget.java:
8827 Added stubs, merge from Classpath.
8828 * java/awt/dnd/DropTargetAdapter.java:
8829 New file, merge from Classpath.
8830 * java/awt/dnd/DropTargetContext.java:
8831 New file, merge from Classpath.
8832 * java/awt/dnd/DropTargetDragEvent.java:
8833 New file, merge from Classpath.
8834 * java/awt/dnd/DropTargetDropEvent.java:
8835 New file, merge from Classpath.
8836 * java/awt/dnd/DropTargetEvent.java:
8837 New file, merge from Classpath.
8838 * java/awt/dnd/DropTargetListener.java:
8839 New file, merge from Classpath.
8840 * java/awt/dnd/MouseDragGestureRecognizer.java:
8841 New file, merge from Classpath.
8842 * java/awt/dnd/peer/DropTargetContextPeer.java:
8843 New file, merge from Classpath.
8845 2002-10-03 Michael Koch <konqueror@gmx.de>
8847 * java/net/DatagramPacket.java
8848 (setLength): Fixed typo and be HTML-aware.
8849 * java/net/InetSocketAddress.java
8850 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8851 (equals): Added comment about equality of InetSocketAddress objects.
8852 * java/net/ServerSocket.java
8853 (accept): Added checks.
8854 (isClosed): New stubbed method.
8855 * java/net/SocketOptions.java: Reindention.
8856 * java/net/SocketPermission
8857 (SocketPermission): Documentation fixed.
8859 2002-10-03 Michael Koch <konqueror@gmx.de>
8861 * java/net/DatagramSocket.java
8862 (receive): Check with SecurityManager AFTER the packet is received,
8863 check if connected to multicast address, documentation added.
8864 (send): Only check SecurityManager if connected, check address of
8866 (connect): Implemented, documentation added.
8867 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8868 * java/net/InetSocketAddress.java
8869 (whole file): Reindented.
8870 (hostname): New attribute.
8871 (InetSocketAddress): Initialize new attribute.
8872 (getAddress): Documentation added.
8873 (getHostName): Documentation added.
8874 (getPort): Documentation added.
8875 (hashCode): Documentation added.
8876 (isUnresolved): Documentation added.
8877 (toString): Conform to output of JDK 1.4.1, documentation added.
8878 * java/net/MulticastSocket.java
8879 (joinGroup): Removed FIXME, documentation added.
8880 (leaveGroup): Removed FIXME, documentation added.
8881 (send): Documentation added.
8882 * java/net/Socket.java
8883 (inputShutdown): New variable.
8884 (outputShutdown): New variable.
8885 (Socket): Initialize new variables.
8886 (getRemoteSocketAddress): Check if connected.
8887 (shutdownInput): Set new variable.
8888 (shutdownOutput): Set new variable.
8889 (isConnected): New method.
8890 (isClosed): New method.
8891 (isInputShutdown): New method.
8892 (isOutputShutdown): New method.
8893 * java/net/URLStreamHandler.java
8894 (URLStreamHandler): New method.
8895 (openConnection): Added documentation.
8896 (parseURL): Added documentation.
8897 (getHostAddress): New method.
8898 (getDefaultPort): New method.
8900 2002-10-02 Tom Tromey <tromey@redhat.com>
8902 * java/rmi/activation/ActivationDesc.java,
8903 java/rmi/activation/ActivationGroupDesc.java,
8904 java/rmi/activation/ActivationGroupID.java,
8905 java/rmi/activation/ActivationID.java: New versions from
8908 2002-09-30 Bo Thorsen <bo@suse.de>
8910 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8912 2002-09-30 Tom Tromey <tromey@redhat.com>
8914 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8916 * Makefile.in: Rebuilt.
8917 * Makefile.am (rmi_java_source_files): Added new files.
8918 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8919 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8920 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8922 * gnu/java/rmi/dgc/DGCImpl.java,
8923 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8924 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8925 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8926 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8927 gnu/java/rmi/server/RMIHashes.java,
8928 gnu/java/rmi/server/RMIObjectInputStream.java,
8929 gnu/java/rmi/server/RMIObjectOutputStream.java,
8930 gnu/java/rmi/server/UnicastConnection.java,
8931 gnu/java/rmi/server/UnicastConnectionManager.java,
8932 gnu/java/rmi/server/UnicastRef.java,
8933 gnu/java/rmi/server/UnicastServer.java,
8934 gnu/java/rmi/server/UnicastServerRef.java,
8935 java/rmi/MarshalledObject.java,
8936 java/rmi/server/RMIClassLoader.java,
8937 java/rmi/server/RemoteObject.java,
8938 java/rmi/server/UnicastRemoteObject.java,
8939 java/security/SecureClassLoader.java: Merged from Classpath.
8941 2002-09-29 Anthony Green <green@redhat.com>
8943 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8944 Imported from GNU Classpath.
8945 * java/lang/reflect/natProxy.cc: New file.
8946 * java/lang/reflect/InvocationHandler.java: New file. Imported
8948 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8950 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8952 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8953 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8955 * gcj/javaprims.h ("Java"): Add new classes.
8956 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8957 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8958 java/lang/reflect/Proxy$$ProxyType.h): And this.
8959 (inner_nat_headers): Add these new headers.
8960 (ordinary_java_source_files): Add new files.
8961 (nat_source_files): Add new file.
8962 * Makefile.in: Rebuilt.
8964 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8966 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8967 a single configuration.
8969 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8971 * java/util/TimeZone.java (getDSTSavings): New method.
8972 Fixes PR libgcj/7786.
8974 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8976 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8977 to see if `the_method == 0' before looking up vtable index.
8978 Fixes PR libgcj/7709.
8980 2002-09-25 Tom Tromey <tromey@redhat.com>
8982 * java/lang/natClassLoader.cc:
8983 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8984 * resolve.cc: Include NoClassDefFoundError.h, not
8985 ClassNotFoundException.h.
8986 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8988 * defineclass.cc: Don't include ClassNotFoundException.h.
8990 * resolve.cc: Include StringBuffer.
8991 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8993 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8994 allocated but not initialized.
8996 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8998 Fix for PR libgcj/7766:
8999 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
9000 (getNextEntry): Set it.
9001 (closeEntry): Likewise.
9004 (available): Use it.
9006 2002-09-25 Michael Koch <konqueror@gmx.de>
9008 * java/net/DatagramSocket.java
9009 (DatagramSocket): Initialize new instance variables.
9010 (close): Reset new instance variables.
9011 (getLocalAddress): Remove unneeded SecurityManager usage.
9012 (getLocalPort): Check if socket is already bound.
9013 (isConnected): New method.
9014 (getInetAddress): Implemented.
9015 (getPort): Better Implementation, documentation fixed.
9016 (getRemoteSocketAddress): New method.
9017 * java/net/JarURLConnection.java
9018 (element): Typo fixed.
9019 (getMainAttributes): New method.
9020 (getAttributes): New method (stub only).
9021 (getManifest): New method (stub only).
9022 * java/net/NetPermission.java: Added serialVersionsUID.
9023 * java/net/Socket.java
9024 (connect): Check blocking mode of associated channel,
9025 documentation added.
9026 (getLocalSocketAddress): Better implementation.
9027 (getRemoteSocketAddress): Implemented.
9028 (isBound): New method.
9029 (setSendBufferSize): Documentation added.
9030 * java/net/SocketAddress.java: Added serialVersionsUID.
9031 * java/net/SocketPermission.java: Added serialVersionsUID.
9033 (URL): Wrap for shorter lines, initialize new instance variables,
9034 documentation added.
9035 (equals): Check new instance variables too.
9036 (getContent): Documentation added.
9037 (getPath): Documentation added.
9038 (getAuthority): New method.
9039 (getHost): Documentation added.
9040 (getPort): Documentation added.
9041 (getDefaultPort): New method.
9042 (getProtocol): Documentation added.
9043 (getUserInfo): Documentation added.
9044 (set): Initialize new instance variables, documentation added.
9045 * java/net/URLStreamHandler.java
9046 (setURL): New method.
9047 * java/net/natPlainDatagramSocketImpl.cc
9048 (connect): Fix exception name.
9049 (disconnect): Fix exception name.
9051 2002-09-25 Michael Koch <konqueror@gmx.de>
9053 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
9054 * java/nio/channels/DatagramChannel.java:
9055 extends AbstractSelectableChannel
9056 * java/nio/channels/ServerSocketChannel.java:
9057 extends AbstractSelectableChannel
9058 * java/nio/channels/SocketChannel.java:
9059 extends AbstractSelectableChannel
9060 * Makefile.am (ordinary_java_source_files):
9061 java/nio/channels/spi/AbstractSelectableChannel.java added.
9062 * Makefile.in: Regenerated.
9064 2002-09-25 Michael Koch <konqueror@gmx.de>
9066 * java/net/DatagramSocket.java
9067 (DatagramSocket): Exception documentation added.
9068 (bind): Exception documentation added, addded SecurityManager check,
9069 added SocketAddress type check.
9070 (getSoTimeout): Check impl.
9071 (receive): Fix SecurityManager check, check impl, documentation added.
9072 (send): Check channel mode, documentation added.
9073 (connect): New method.
9074 (disconnect): Implemented.
9075 (getLocalSocketAddress): New method.
9076 (getReceiveBufferSize): Check impl.
9077 (setReuseAddress): Check impl.
9078 (getReuseAddress): Check impl.
9079 (setBroadcast): Check impl.
9080 (getBroadcast): Check impl.
9081 (setTrafficClass): Check impl, Documentation cleared.
9082 (getTrafficClass): Check impl.
9083 (getSendBufferSize): Check impl.
9084 (setReceiveBufferSize): Check impl, documentation added.
9085 (setSendBufferSize): Documentation added.
9086 (setDatagramSocketImplFactory): New method.
9087 * java/net/HttpURLConnection.java
9088 (HTTP_INTERNAL_ERROR): The correct code is 500.
9089 (HTTP_NOT_IMPLEMENTED): Added new constant.
9090 (setFollowRedirects): Documentation added.
9091 (getInstanceFollowRedirects): New method.
9092 (setInstanceFollowRedirects): New method.
9093 (setRequestMethod): Documentation added.
9094 (getResponseCode): Documentation added.
9095 (getResponseMessage): Documentation added.
9096 * java/net/JarURLConnection.java
9097 (JarURLConnection): protected since JDK 1.4.
9098 (getJarEntry): java.io.IOException to IOException, documentation added.
9099 (getJarFile): Documentation added.
9100 * java/net/ServerSocket.java
9101 (ServerSocket): Private to public, exception added.
9102 (ServerSocket): java.io.IOException to IOException, documentation added.
9103 (bind): Check socket address type, documentation added.
9104 (bind): java.io.IOException to IOException, documentation added.
9105 (accept): Documentation added.
9106 (implAccept): Check ch is not non-blocking, documentation added.
9107 (setSoTimeout): Documentation fixed.
9108 (setReceiveBufferSize): Documentation added.
9109 * java/net/Socket.java
9110 (Socket): Documentation added.
9111 (bind): Documentation added.
9112 (connect): Check socket address type, documentation added.
9113 (getRemoteSocketAddress): New method.
9114 (getLocalSocketAddress): New method.
9115 (setSoLinger): Documentation added.
9116 (getReuseAddress): New method.
9117 (setReuseAddress): New method.
9118 (getTrafficClass): New method.
9119 (setTrafficClass): New method.
9120 * java/net/URLStreamHandler.java
9121 (openConnection): java.io.IOException to IOException.
9122 (parseURL): Documentation added.
9123 (sameFile): public to protected, documentation added.
9124 (setURL): Documentation added.
9125 * java/nio/IllegalBlockingModeException.java: New file.
9126 * Makefile.am (ordinary_java_source_files):
9127 added java/nio/IllegalBlockingModeException.java
9128 * Makefile.in: Regenerated.
9130 2002-09-25 Michael Koch <konqueror@gmx.de>
9132 * java/net/DatagramPacket
9133 (DatagramPacket): Exception documentation added.
9134 (setData): Likewise.
9135 (setSocketAddress): Likewise.
9136 * java/net/DatagramSocketImpl.java
9137 (peek): Documentation addded.
9138 (peekData): Documentation addded.
9139 (send): Documentation addded.
9140 (receive): Documentation addded.
9141 (connect): New method.
9142 (disconnect): New method.
9143 (joinGroup): New abstract method.
9144 (leaveGroup): New abstract method.
9145 * java/net/InetSocketAddress.java
9146 (InetSocketAddress): Documentation added.
9147 (equals): final keyword added.
9148 (getAddress): final keyword added.
9149 (getHostName): final keyword added.
9150 (getPort): final keyword added.
9151 (hashCode): final keyword added.
9152 (isUnresolved): final keyword added.
9153 * java/net/MulticastSocket.java
9154 (MulticastSocket): Documentation added.
9155 (MulticastSocket): New method.
9156 (joinGroup): Documentation added.
9157 (joinGroup): New method.
9158 (leaveGroup): Documentation added.
9159 (leaveGroup): New method.
9160 (send): Documentation added.
9161 * java/net/NetworkInterface.java
9162 (getByName): Documentation added.
9163 (getByInetAddress): Documentation added.
9164 (getNetworkInterfaces): Documentation added.
9165 * java/net/PlainDatagramSocketImpl.java
9166 (connect): New method.
9167 (disconnect): New method.
9168 * java/net/SocketImpl.java
9169 (create): Documentation added.
9170 (shutdownInput): Convert public to protected, as it always was.
9171 (shutdownOutput): Convert public to protected, as it always was.
9172 * java/net/SocketOptions.java
9173 (whole file): Reintented.
9174 * java/net/URLClassLoader.java
9175 (URLClassLoader): SecurityManager check added, documentation added.
9176 (findResources): Documentation added.
9177 (findClass): Documentation added.
9178 (newInstance): More correct method arguments.
9179 * java/net/URLConnection.java
9180 (connect): Documentation added.
9181 (getContent): Documentation added.
9182 (getPermission): Documentation added.
9183 (getInputStream): Documentation added.
9184 (getOutputStream): Documentation added.
9185 (setDoInput): Throw correct exception, documentation added.
9186 (setDoOutput): Throw correct exception, documentation added.
9187 (setAllowUserInteraction): Throw correct exception, documentation added.
9188 (setUseCaches): Throw correct exception, documentation added.
9189 (setIfModifiedSince): Throw correct exception, documentation added.
9190 (setRequestProperty): Throw exception, documentation added.
9191 (addRequestProperty): Throw exception, documentation added.
9192 (getRequestProperty): Throw exception, documentation added.
9193 (getRequestProperties): Documentation added.
9194 (setContentHandlerFactory): Documentation added.
9195 (guessContentTypeFromName): protected to public.
9196 (setFileNameMap): Documentation added.
9197 * java/net/URLDecoder.java
9198 (URLDecoder): New method.
9199 (decode): Documentation added.
9200 (whole file): Reindented.
9201 * java/net/URLEncoder.java
9202 (encode): Documentation added.
9203 * java/net/natPlainDatagramSocketImpl.cc
9204 (connect): New method.
9205 (disconnect): New method.
9206 * javax/naming/RefAddr:
9207 (addrType): addrType was never final.
9208 (equals): Fix typo in method name.
9209 * javax/naming/BinaryRefAddr:
9210 (equals): Fix typo in method name.
9212 2002-09-22 Tom Tromey <tromey@redhat.com>
9214 Fix for PR libgcj/6576:
9215 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
9216 didn't find a given bundle.
9217 (getBundle): Don't require base bundle.
9218 (setParent): Removed old comment.
9219 (tryLocalBundle): Try components even if preceding components were
9222 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9224 * Makefile.am (all-multi): Fix multilib parallel build.
9226 2002-09-21 Michael Koch <konqueror@gmx.de>
9228 * java/net/Socket.java
9229 (sendUrgentData): New method.
9230 (getChannel): New method.
9231 * java/net/ServerSocket.java
9232 (getChannel): New method.
9233 (isBound): New method.
9234 * java/net/DatagramSocket.java
9235 (DatagramSocket): Two new methods.
9237 (getChannel): New method.
9238 (isBound): New method.
9239 (send): Added newline to to make shorter lines.
9240 * java/net/PlainDatagramSocketImpl.java
9241 (mcastGrp): Added argument.
9242 (join): Use new mcastGrp.
9243 (leave): Use new mcastGrp.
9244 (joinGroup): New method.
9245 (leaveGroup): New method.
9246 * java/net/natPlainDatagramSocketImpl.cc
9247 (mcastGrp): Added argument, no yet really implemented.
9248 (getOption): Added newline for shorter lines.
9249 * java/net/natPlainSocketImpl.cc
9250 (read, setOption, getOption): Added newline for shorter lines.
9252 2002-09-19 Tom Tromey <tromey@redhat.com>
9254 * java/lang/ClassLoader.java (resolveClass0): Set cause for
9255 newly-created exception.
9257 2002-09-18 Michael Koch <konqueror@gmx.de>
9259 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9260 java/util/regex/PatternSyntaxException.java:
9261 Merge with classpath, new files.
9262 * Makefile.am (core_java_source_files):
9263 Added java/util/regex/Matcher.java,
9264 java/util/regex/Pattern.java,
9265 java/util/regex/PatternSyntaxException.java
9266 * Makefile.in: Regenerated.
9267 * include/config.h.in: Added HAVE_NET_IF_H.
9268 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
9269 Removed #if 0 ... #endif.
9271 2002-09-17 Michael Koch <konqueror@gmx.de>
9273 * java/net/natNetworkInterface.cc:
9274 Removed unneed and yet wrong includes.
9276 2002-09-17 Michael Koch <konqueror@gmx.de>
9278 * java/net/NetworkInterface.java: New file.
9279 * java/net/natNetworkInterface.java: New file.
9280 * configure.in: Added check for net/if.h.
9281 * configure: Regenerated.
9283 (ordinary_java_source_files): Added NetworkInterface.java.
9284 (nat_source_files): Added natNetworkInterface.cc.
9285 * Makefile.in: Regenerated.
9287 2002-09-16 Tom Tromey <tromey@redhat.com>
9289 * java/net/URLClassLoader.java (findClass): Code source for a
9290 class from a jar is not necessarily a jar: URL.
9292 2002-09-16 Michael Koch <konqueror@gmx.de>
9294 * java/lang/AssertionError.java:
9295 Merge with classpath, fixes HTML.
9296 * java/rmi/server/LogStream.java:
9297 Merge with classpath, fixes some constants.
9298 * java/net/server/RemoteServer.java:
9299 Merge with classpath, adds serialVersionUID.
9300 * javax/naming/BinaryRefAddr.java:
9301 Merge with classpath, s/equal/equals/.
9302 * javax/naming/NamingException.java:
9303 Merge with classpath, fixed typo.
9304 * javax/naming/RefAddr.java:
9305 Merge with classpath, s/equal/equals/.
9306 * java/awt/Toolkit.java:
9307 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
9310 2002-09-15 Adam Megacz <adam@xwt.org>
9312 * java/net/natPlainSocketImpl.cc: fixed typo.
9314 2002-09-15 Adam Megacz <adam@xwt.org>
9316 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
9317 which don't work on Win32 (yet).
9319 2002-09-14 Adam Megacz <adam@xwt.org>
9321 * java/net/natPlainDatagramSocket.cc: removed #include
9322 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
9323 * include/win32.h: included definition for IP_TOS to satisfy
9324 natPlainDatagramSocket.cc
9326 2002-09-13 Michael Koch <konqueror@gmx.de>
9328 * java/net/DatagramPacket.java (DatagramPacket):
9329 Added linebreak for 80 chars per line.
9330 * java/net/JarURLConection.java
9331 (getInputStreami, getJarEntry): Likewise.
9332 * java/net/SocketPErmission.java
9333 (SocketPermission class docu, implies): Likewise.
9334 * java/net/URLClassLoader.java (findResources): Likewise.
9335 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
9337 2002-09-13 Michael Koch <konqueror@gmx.de>
9339 * java/nio/channels/DatagramChannel.java,
9340 java/nio/channels/ServerSocketChannel.java
9341 java/nio/channels/SocketChannel.java:
9342 New dummy files to make java.net fully JDK 1.4 compatible
9343 * Makefile.am (ordinary_java_source_files): Added
9344 java/net/DatagramSocketImplFactory.java (long forgotten),
9345 java/nio/SocketChannel.java,
9346 java/nio/ServerSocketChannel.java,
9347 java/nio/DatagramChannel.java
9348 * Makefile.in: Regenrated.
9350 2002-09-12 Michael Koch <konqueror@gmx.de>
9352 * java/net/DatagramSocketImpl.java
9353 (peekData): New method.
9354 * java/net/PlainDatagramSocketImpl.java
9355 (peekData): New method.
9356 * java/net/natPlainDatagramSocketImpl.cc
9357 (peekData): New method.
9358 * java/net/URLConnection
9359 (getPermission): New method.
9360 (addRequestProperty): New method.
9361 (getRequestProperties): New method.
9362 (guessContentTypeFromStream): New method, not really implemented.
9363 (URLConnection): Added/updated documentation.
9364 (connect): Added/updated documentation.
9365 (getURL): Added/updated documentation.
9366 (getContentLength): Added/updated documentation.
9367 (getContentType: Added/updated documentation.
9368 (getContentEncoding): Added/updated documentation.
9369 (getExpiration): Added/updated documentation.
9370 (getDate): Added/updated documentation.
9371 (getLastModified): Added/updated documentation.
9372 (getHeaderField): Added/updated documentation.
9373 (getHeaderFields): Added/updated documentation.
9374 (getHeaderFieldInt): Added/updated documentation.
9375 (getHeaderFieldDate): Added/updated documentation.
9376 (getHeaderFieldKey): Added/updated documentation.
9377 (getContent): Added/updated documentation.
9378 (getInputStream): Added/updated documentation.
9379 (getOutputStream): Added/updated documentation.
9380 (toString): Added/updated documentation.
9381 (setDoInput): Added/updated documentation.
9382 (getDoInput): Added/updated documentation.
9383 (setDoOutput): Added/updated documentation.
9384 (getDoOutput): Added/updated documentation.
9385 (setAllowUserInteraction): Added/updated documentation.
9386 (getAllowUserInteraction): Added/updated documentation.
9387 (setDefaultAllowUserInteraction): Added/updated documentation.
9388 (getDefaultAllowUserInteraction): Added/updated documentation.
9389 (setUseCaches): Added/updated documentation.
9390 (getUseCaches): Added/updated documentation.
9391 (setIfModifiedSince): Added/updated documentation.
9392 (getIfModifiedSince): Added/updated documentation.
9393 (getDefaultUseCaches): Added/updated documentation.
9394 (setDefaultUseCaches): Added/updated documentation.
9395 (setRequestProperty): Added/updated documentation.
9396 (getRequestProperty): Added/updated documentation.
9397 (setDefaultRequestProperty): Added/updated documentation.
9398 (getDefaultRequestProperty): Added/updated documentation.
9399 (setContentHandlerFactory): Added/updated documentation.
9400 (guessContentTypeFromName): Added/updated documentation.
9401 (getFileNameMap): Added/updated documentation.
9402 (setFileNameMap): Added/updated documentation.
9404 2002-09-11 Michael Koch <konqueror@gmx.de>
9406 * java/net/Socket.java
9407 (Socket): protected to public (since JDK 1.4). Added @specnote.
9409 (connect): Two new methods.
9410 (getKeepalive): Get correct socket option.
9411 (setKeepalive): Set correct socket option.
9412 (getOOBInline): New method.
9413 (setOOBInline): New method.
9414 * java/net/ServerSocket.java
9415 (bind): Two new methods.
9416 (getInetAddress): Reimplemented, catch exception.
9417 (getLocalSocketAddress): New method.
9418 (setReuseAddress): New method.
9419 (getReuseAdress): New method.
9420 (setReceiveBufferSize): New method.
9421 (getReceiveBufferSize): New method.
9422 (toString): Made string JDK 1.4 compliant.
9424 2002-09-10 Michael Koch <konqueror@gmx.de>
9426 * java/net/SocketImpl.java
9427 (connect): New method.
9428 (supportsUrgentData): New method.
9429 (sendUrgentData): New method.
9430 * java/net/PlainSocketImpl.java
9431 (connect): One new method and two new implementation.
9432 (sendUrgentData): New method.
9433 * java/natPlainSocketImpl.cc
9434 (connect): Arguments changed, added support for timeouts.
9435 (getOption): Another __java_boolean to jboolean.
9437 2002-09-07 Adam Megacz <adam@xwt.org>
9439 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
9440 definition of IP_TOS.
9442 2002-09-04 Michael Koch <konqueror@gmx.de>
9444 * java/net/DatagramSocket.java
9445 (DatagramSocket): Added documentation.
9447 (getLocalAddress): Likewise.
9448 (getLocalPort): Likewise.
9449 (receive): Likewise.
9451 (setSoTimeout): Likewise.
9452 (connect): New method.
9453 (disconnect): New method.
9454 (getInetAddress): New method (FIXME)
9455 (getPort): New method.
9456 (setReuseAddress): New method.
9457 (getReuseAddress): New method.
9458 (setBroadcast): New method.
9459 (getBroadcast): New method.
9460 (setTrafficClass): New method.
9461 (getTrafficClass): New method.
9462 * java/net/MulticastSocket.java):
9463 (getTTL): Added @see in documentation.
9464 (setTTL): Added @see in documentation.
9465 (setLoopbackMode): New method.
9466 (getLoopbackMode): New method.
9467 * java/net/PlainSocketImpl.java:
9468 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9469 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9470 * java/net/PlainDatagramSocketImpl.java
9471 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9472 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9473 * java/net/natPlainSocketImpl.cc
9474 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9475 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9476 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9477 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9478 This should also fix SO_KEEPALIVE
9479 * java/net/natPlainDatagramSocketImpl.cc
9480 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9481 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9482 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9483 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9485 2002-09-04 Michael Koch <konqueror@gmx.de>
9487 * java/net/SocketOptions.java: added static variables to be JDK 1.4
9488 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
9489 IP_MULTICAST_LOOP, IP_TOS
9491 2002-09-03 Tom Tromey <tromey@redhat.com>
9493 * java/lang/Class.h (_getDeclaredMethod): Declare.
9494 (_getMethod): Now private.
9495 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
9496 getDeclaredMethod. Now returns NULL on failure.
9497 * java/lang/Class.java (_getDeclaredMethod): Declare.
9498 (getDeclaredMethod): No longer native; implements access checks.
9500 2002-09-01 Mark Wielaard <mark@klomp.org>
9502 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
9503 (sanitizeStack): Correctly reset unknown and interpreter counters,
9504 detect interpreter runtime frames.
9505 (demangleInterpreterMethod): New method.
9506 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
9507 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
9510 2002-09-02 Michael Koch <konqueror@gmx.de>
9512 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
9513 re-indented documentation.
9515 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9517 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
9518 public, per 1.4 spec. Fixes PR libgcj/7785.
9520 2002-08-30 Jeff Sturm <jsturm@one-point.com>
9522 * Makefile.in: Rebuilt.
9523 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
9525 2002-08-29 Tom Tromey <tromey@redhat.com>
9527 * java/net/JarURLConnection.java (getCertificates): New method
9529 * java/net/URLClassLoader.java (URLClassLoader): Extends
9531 (definePackage): New method from Classpath.
9532 (getPermissions): Likewise.
9533 (newInstance): Likewise.
9534 (findClass): Construct CodeSource for new class (from Classpath).
9535 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9537 * java/net/URL.java (getUserInfo): New method.
9538 (set(String,String,int,String,String,String,String,String)): New
9540 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9541 (shutdownInput, shutdownOutput): Declare.
9542 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9544 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9545 (getOption): Likewise.
9546 (shutdownInput): New method.
9547 (shutdownOutput): Likewise.
9548 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9550 (getOption): Likewise.
9551 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9552 * java/net/Socket.java (setKeepAlive): New method.
9553 (getKeepAlive): Likewise.
9554 (shutdownInput, shutdownOutput): New methods.
9556 2002-08-29 Michael Koch <konqueror@gmx.de>
9558 * java/net/DatagramPacket.java: updated to JDK 1.4 API
9560 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9562 DatagramPacket(byte[] buf, int length, SocketAddress address),
9563 void setSocketAddress(SocketAddress address)
9564 public SocketAddress getSocketAddress()
9566 2002-08-29 Tom Tromey <tromey@redhat.com>
9568 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9569 ftruncate is missing.
9570 * configure, include/config.h.in: Rebuilt.
9571 * acconfig.h (HAVE_FTRUNCATE): Mention.
9572 * configure.in: Check for ftruncate.
9574 2002-08-29 Tom Tromey <tromey@redhat.com>
9576 * include/jvm.h (struct _Jv_frame_info): New structure.
9577 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9579 (lookupInterp): New method.
9580 (getAddrAsString): Use _Jv_frame_info.
9581 (dladdrLookup): Likewise.
9582 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9584 (lookupInterp): Declare.
9585 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9586 (fillInStackTrace): Collect information on interpreted frames.
9588 * interpret.cc: Include Thread.h.
9589 (run): Create and push _Jv_MethodChain object.
9590 (_Jv_EndOfInterpreter): New global.
9591 * java/lang/Thread.java (interp_frame): New field.
9592 * include/java-interp.h (struct _Jv_MethodChain): New structure.
9593 Include NameFinder.h.
9595 2002-08-28 Tom Tromey <tromey@redhat.com>
9597 * java/lang/Class.h: Include Package.h.
9598 (Class::getProtectionDomain): Declare.
9599 (Class::getPackage): Declare.
9601 2002-08-28 Michael Koch <konqueror@gmx.de>
9603 * java/net/InetSocketAddress.java: Added some documentation and argument
9604 checks for the port numbers.
9605 * java/net/DatagramSocketImplFactory.java: New file.
9607 2002-08-28 Michael Koch <konqueror@gmx.de>
9609 * java/net/Authenticator.java: added some documentation.
9611 2002-08-27 Tom Tromey <tromey@redhat.com>
9613 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9615 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9617 2002-08-27 Michael Koch <konqueror@gmx.de>
9619 * java/net/BindException.java,
9620 java/net/JarURLConnection.java,
9621 java/net/FileNameMap.java,
9622 java/net/HttpURLConnection.java,
9623 java/net/InetSocketAddress.java,
9624 java/net/DatagramPacket.java,
9625 java/net/DatagramSocket.java,
9626 java/net/DatagramSocketImpl.java,
9627 java/net/MulticastSocket.java,
9628 java/net/PasswordAuthentication.java,
9629 java/net/ServerSocket.java,
9630 java/net/Socket.java,
9631 java/net/URLClassLoader.java,
9632 java/net/URLConnection.java: add/update of some @since/@deprecated
9634 2002-08-27 Tony Kimball <alk@pobox.com>
9635 Tom Tromey <tromey@redhat.com>
9637 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9640 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9641 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9643 (PlainSocketImpl::close): Use NATIVE_CLOSE.
9644 * include/win32.h (getcwd): Removed declaration. Include io.h.
9646 2002-08-25 Adam Megacz <adam@xwt.org>
9648 * include/win32.h (getcwd): copied function declaration as
9649 temporary fix for header confusion.
9651 2002-08-24 Mark Wielaard <mark@klomp.org>
9653 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9654 (core_java_source_files): Add VMThrowable.java and NameFinder.java
9655 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9656 and natNameFinder.cc.
9657 * Makefile.in: Regenerate.
9658 * prims.cc: Use trace_enabled from VMThrowable.
9659 * name-finder.cc: Removed.
9660 * gcj/javaprims.h: Add class VMThrowable.
9661 * gnu/gcj/runtime/NameFinder.java: New file.
9662 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9663 * include/name-finder.h: Removed.
9664 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9665 method stackTraceString().
9666 (printStackTrace (PrintWriter)): Likewise.
9667 (stackTraceString): Complete rewrite of old printStackTrace using
9669 (stackTraceStringBuffer): New helper method for stackTraceString().
9670 (fillInStackTrace): Delegate to VMTrowable.
9671 (getStackTrace): Likewise.
9672 (getStackTrace0): Removed.
9673 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9674 (setStackTrace): Copy given array.
9675 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9676 * java/lang/VMThrowable.java: New class.
9677 * java/lang/natVMThrowable.cc: New file.
9679 2003-08-23 Michael Koch <konqueror@gmx.de>
9681 * java/net/URLConnection.java,
9682 java/netJarURLConnection.java,
9683 gnu/gcj/protocol/core/Connection.java,
9684 gnu/gcj/protocol/file/Connection.java,
9685 gnu/gcj/protocol/http/Connection.java: Added implementation of
9688 2002-08-22 Tom Tromey <tromey@redhat.com>
9690 * gij.cc (help): Document -cp and -classpath.
9691 (main): Handle -classpath.
9693 2002-08-21 Tom Tromey <tromey@redhat.com>
9695 * Makefile.in: Rebuilt.
9696 * Makefile.am (ordinary_java_source_files): Added
9697 SocketAddress.java, InetSocketAddress.java.
9698 * java/net/PortUnreachableException.java: Merged with Classpath.
9699 * java/net/SocketTimeoutException.java: Likewise.
9700 * java/net/URISyntaxException.java: Likewise.
9701 * java/net/SocketAddress.java: New class from Classpath.
9702 * java/net/InetSocketAddress.java: Likewise.
9704 2003-08-21 Michael Koch <konqueror@gmx.de>
9706 * java/net/Authenticator.java: updated JDK 1.4
9707 * java/net/ContentHandler.java: updated JDK 1.4
9709 2002-08-20 Michael Koch <konqueror@gmx.de>
9711 * java/net/URISyntaxException.java: New file.
9712 * java/net/SocketTimeoutException.java: New file.
9713 * java/net/PortUnreachableException.java: New file.
9714 * Makefile.am: Updated.
9715 * Makefile.in: Rebuilt.
9717 2002-08-18 Mark Wielaard <mark@klomp.org>
9719 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9720 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9721 MessageDigestSpi (fixes Classpath bug #783).
9723 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9725 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9726 (startProcess): Allocate path for chdir in async-signal-safe way.
9728 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9730 Fix for PR libgcj/7570 and PR libgcj/7578:
9731 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9732 (startProcess): Handle new `dir' argument.
9733 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9735 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9737 (startProcess): Likewise.
9738 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9740 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9741 (exec): Don't create new environment if ENV==null. Pass DIR to
9743 * java/lang/natRuntime.cc: Include java/io/File.h.
9744 (execInternal): Added `dir' argument.
9746 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9748 * java/io/RandomAccessFile.java (skipBytes): Return number of
9751 2002-08-01 Mark Wielaard <mark@klomp.org>
9753 Reenable patch since shared library troubles on powerpc are solved:
9754 * gnu/java/security/provider/Gnu.java: Reference all implementation
9755 classes by using Class.getName().
9756 * gnu/java/security/der/DEREncodingException.java,
9757 gnu/java/security/provider/DERReader.java,
9758 gnu/java/security/provider/DERWriter.java,
9759 gnu/java/security/provider/DSAKeyPairGenerator.java,
9760 gnu/java/security/provider/DSAParameterGenerator.java,
9761 gnu/java/security/provider/DSAParameters.java,
9762 gnu/java/security/provider/DSASignature.java,
9763 gnu/java/security/provider/GnuDSAPrivateKey.java,
9764 gnu/java/security/provider/GnuDSAPublicKey.java,
9765 gnu/java/security/provider/MD5.java,
9766 gnu/java/security/util/Prime.java: New classes
9767 * Makefile.am (ordinary_java_source_files): Add above files.
9768 * Makefile.in: Regenerate.
9769 * gnu/java/security/provider/DefaultPolicy.java
9770 (getPermissions): Don't maintain static class variable of Permissions.
9771 * gnu/java/security/provider/SHA.java
9772 (engineUpdate): algorithm change.
9773 (engineDigest): algorithm change.
9775 2002-08-09 Mark Wielaard <mark@klomp.org>
9777 * java/awt/image/MemoryImageSource.java: Change constructor to take
9779 * java/awt/Graphics2D.java: Uncomment methods that can now be
9781 * java/awt/GridBagLayout.java: New stub implementation.
9782 * javax/swing/text/html/HTML.java: Stub implementation.
9783 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9786 * Makefile.am: Add new files.
9787 * Makefile.in: Rebuilt.
9789 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9791 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9792 methods in Graphics2D.
9794 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9796 AWT/Swing merge from GNU Classpath.
9798 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9799 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9800 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9801 java/awt/color/ProfileDataException.java,
9802 java/awt/CompositeContext.java, java/awt/Composite.java,
9803 java/awt/ContainerOrderFocusTraversalPolicy.java,
9804 java/awt/datatransfer/FlavorTable.java,
9805 java/awt/DefaultFocusTraversalPolicy.java,
9806 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9807 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9808 java/awt/dnd/DragGestureListener.java,
9809 java/awt/dnd/DragGestureRecognizer.java,
9810 java/awt/dnd/DragSourceAdapter.java,
9811 java/awt/dnd/DragSourceContext.java,
9812 java/awt/dnd/DragSourceDragEvent.java,
9813 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9814 java/awt/dnd/DragSourceListener.java,
9815 java/awt/dnd/DragSourceMotionListener.java,
9816 java/awt/dnd/DropTarget.java,
9817 java/awt/dnd/InvalidDnDOperationException.java,
9818 java/awt/dnd/peer/DragSourceContextPeer.java,
9819 java/awt/event/AWTEventListenerProxy.java,
9820 java/awt/event/MouseWheelEvent.java,
9821 java/awt/event/MouseWheelListener.java,
9822 java/awt/event/WindowFocusListener.java,
9823 java/awt/event/WindowStateListener.java,
9824 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9825 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9826 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9827 java/awt/geom/FlatteningPathIterator.java,
9828 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9829 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9830 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9831 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9832 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9833 java/awt/image/ImagingOpException.java,
9834 java/awt/image/RasterFormatException.java,
9835 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9836 java/awt/image/VolatileImage.java,
9837 java/awt/image/WritableRenderedImage.java,
9838 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9839 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9840 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9841 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9842 java/awt/PageAttributes.java, java/awt/print/Book.java,
9843 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9844 java/awt/print/Paper.java, java/awt/print/Printable.java,
9845 java/awt/print/PrinterAbortException.java,
9846 java/awt/print/PrinterException.java,
9847 java/awt/print/PrinterGraphics.java,
9848 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9849 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9850 java/awt/Stroke.java, java/awt/TexturePaint.java,
9851 javax/accessibility/AccessibleAction.java,
9852 javax/accessibility/AccessibleBundle.java,
9853 javax/accessibility/AccessibleComponent.java,
9854 javax/accessibility/AccessibleContext.java,
9855 javax/accessibility/AccessibleEditableText.java,
9856 javax/accessibility/AccessibleExtendedComponent.java,
9857 javax/accessibility/AccessibleExtendedTable.java,
9858 javax/accessibility/AccessibleHyperlink.java,
9859 javax/accessibility/AccessibleHypertext.java,
9860 javax/accessibility/AccessibleIcon.java,
9861 javax/accessibility/Accessible.java,
9862 javax/accessibility/AccessibleKeyBinding.java,
9863 javax/accessibility/AccessibleRelation.java,
9864 javax/accessibility/AccessibleRelationSet.java,
9865 javax/accessibility/AccessibleResourceBundle.java,
9866 javax/accessibility/AccessibleRole.java,
9867 javax/accessibility/AccessibleSelection.java,
9868 javax/accessibility/AccessibleState.java,
9869 javax/accessibility/AccessibleStateSet.java,
9870 javax/accessibility/AccessibleTable.java,
9871 javax/accessibility/AccessibleTableModelChange.java,
9872 javax/accessibility/AccessibleText.java,
9873 javax/accessibility/AccessibleValue.java,
9874 javax/swing/AbstractAction.java,
9875 javax/swing/AbstractButton.java,
9876 javax/swing/AbstractCellEditor.java,
9877 javax/swing/AbstractListModel.java,
9878 javax/swing/AbstractSet.java, javax/swing/Action.java,
9879 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9880 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9881 javax/swing/border/CompoundBorder.java,
9882 javax/swing/border/EmptyBorder.java,
9883 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9884 javax/swing/border/LineBorder.java,
9885 javax/swing/border/MatteBorder.java,
9886 javax/swing/border/TitledBorder.java,
9887 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9888 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9889 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9890 javax/swing/CellRendererPane.java,
9891 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9892 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9893 javax/swing/colorchooser/ColorSelectionModel.java,
9894 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9895 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9896 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9897 javax/swing/DefaultBoundedRangeModel.java,
9898 javax/swing/DefaultButtonModel.java,
9899 javax/swing/DefaultCellEditor.java,
9900 javax/swing/DefaultCellRenderer.java,
9901 javax/swing/DefaultComboBoxModel.java,
9902 javax/swing/DefaultDesktopManager.java,
9903 javax/swing/DefaultFocusManager.java,
9904 javax/swing/DefaultListCellRenderer.java,
9905 javax/swing/DefaultListModel.java,
9906 javax/swing/DefaultListSelectionModel.java,
9907 javax/swing/DefaultSingleSelectionModel.java,
9908 javax/swing/DesktopManager.java,
9909 javax/swing/event/AncestorEvent.java,
9910 javax/swing/event/AncestorListener.java,
9911 javax/swing/event/CaretEvent.java,
9912 javax/swing/event/CaretListener.java,
9913 javax/swing/event/CellEditorListener.java,
9914 javax/swing/event/ChangeEvent.java,
9915 javax/swing/event/ChangeListener.java,
9916 javax/swing/event/DocumentEvent.java,
9917 javax/swing/event/DocumentListener.java,
9918 javax/swing/event/EventListenerList.java,
9919 javax/swing/event/HyperlinkEvent.java,
9920 javax/swing/event/HyperlinkListener.java,
9921 javax/swing/event/InternalFrameAdapter.java,
9922 javax/swing/event/InternalFrameEvent.java,
9923 javax/swing/event/InternalFrameListener.java,
9924 javax/swing/event/ListDataEvent.java,
9925 javax/swing/event/ListDataListener.java,
9926 javax/swing/event/ListSelectionEvent.java,
9927 javax/swing/event/ListSelectionListener.java,
9928 javax/swing/event/MenuDragMouseEvent.java,
9929 javax/swing/event/MenuDragMouseListener.java,
9930 javax/swing/event/MenuEvent.java,
9931 javax/swing/event/MenuKeyEvent.java,
9932 javax/swing/event/MenuKeyListener.java,
9933 javax/swing/event/MenuListener.java,
9934 javax/swing/event/MouseInputAdapter.java,
9935 javax/swing/event/MouseInputListener.java,
9936 javax/swing/event/PopupMenuEvent.java,
9937 javax/swing/event/PopupMenuListener.java,
9938 javax/swing/event/SwingPropertyChangeSupport.java,
9939 javax/swing/event/TableColumnModelEvent.java,
9940 javax/swing/event/TableColumnModelListener.java,
9941 javax/swing/event/TableModelEvent.java,
9942 javax/swing/event/TableModelListener.java,
9943 javax/swing/event/TreeExpansionEvent.java,
9944 javax/swing/event/TreeExpansionListener.java,
9945 javax/swing/event/TreeModelEvent.java,
9946 javax/swing/event/TreeModelListener.java,
9947 javax/swing/event/TreeSelectionEvent.java,
9948 javax/swing/event/TreeSelectionListener.java,
9949 javax/swing/event/TreeWillExpandListener.java,
9950 javax/swing/event/UndoableEditEvent.java,
9951 javax/swing/event/UndoableEditListener.java,
9952 javax/swing/filechooser/FileFilter.java,
9953 javax/swing/filechooser/FileSystemView.java,
9954 javax/swing/filechooser/FileView.java,
9955 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9956 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9957 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9958 javax/swing/JApplet.java, javax/swing/JButton.java,
9959 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9960 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9961 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9962 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9963 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9964 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9965 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9966 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9967 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9968 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9969 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9970 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9971 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9972 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9973 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9974 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9975 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9976 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9977 javax/swing/JToolTip.java, javax/swing/JTree.java,
9978 javax/swing/JViewport.java, javax/swing/JWindow.java,
9979 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9980 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9981 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9982 javax/swing/MenuSelectionManager.java,
9983 javax/swing/MutableComboBoxModel.java,
9984 javax/swing/OverlayLayout.java,
9985 javax/swing/plaf/ActionMapUIResource.java,
9986 javax/swing/plaf/basic/BasicBorders.java,
9987 javax/swing/plaf/basic/BasicButtonUI.java,
9988 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9989 javax/swing/plaf/basic/BasicDefaults.java,
9990 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9991 javax/swing/plaf/basic/BasicIconFactory.java,
9992 javax/swing/plaf/basic/BasicLabelUI.java,
9993 javax/swing/plaf/basic/BasicListUI.java,
9994 javax/swing/plaf/basic/BasicLookAndFeel.java,
9995 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9996 javax/swing/plaf/basic/BasicPanelUI.java,
9997 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9998 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9999 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10000 javax/swing/plaf/basic/BasicTextUI.java,
10001 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10002 javax/swing/plaf/basic/BasicTreeUI.java,
10003 javax/swing/plaf/basic/BasicViewportUI.java,
10004 javax/swing/plaf/BorderUIResource.java,
10005 javax/swing/plaf/ButtonUI.java,
10006 javax/swing/plaf/ColorChooserUI.java,
10007 javax/swing/plaf/ColorUIResource.java,
10008 javax/swing/plaf/ComboBoxUI.java,
10009 javax/swing/plaf/ComponentInputMapUIResource.java,
10010 javax/swing/plaf/ComponentUI.java,
10011 javax/swing/plaf/DesktopIconUI.java,
10012 javax/swing/plaf/DesktopPaneUI.java,
10013 javax/swing/plaf/DimensionUIResource.java,
10014 javax/swing/plaf/FileChooserUI.java,
10015 javax/swing/plaf/FontUIResource.java,
10016 javax/swing/plaf/IconUIResource.java,
10017 javax/swing/plaf/InputMapUIResource.java,
10018 javax/swing/plaf/InsetsUIResource.java,
10019 javax/swing/plaf/InternalFrameUI.java,
10020 javax/swing/plaf/LabelUI.java,
10021 javax/swing/plaf/ListUI.java,
10022 javax/swing/plaf/MenuBarUI.java,
10023 javax/swing/plaf/MenuItemUI.java,
10024 javax/swing/plaf/OptionPaneUI.java,
10025 javax/swing/plaf/PanelUI.java,
10026 javax/swing/plaf/PopupMenuUI.java,
10027 javax/swing/plaf/ProgressBarUI.java,
10028 javax/swing/plaf/RootPaneUI.java,
10029 javax/swing/plaf/ScrollBarUI.java,
10030 javax/swing/plaf/ScrollPaneUI.java,
10031 javax/swing/plaf/SeparatorUI.java,
10032 javax/swing/plaf/SliderUI.java,
10033 javax/swing/plaf/SplitPaneUI.java,
10034 javax/swing/plaf/TabbedPaneUI.java,
10035 javax/swing/plaf/TableHeaderUI.java,
10036 javax/swing/plaf/TableUI.java,
10037 javax/swing/plaf/TextUI.java,
10038 javax/swing/plaf/ToolBarUI.java,
10039 javax/swing/plaf/ToolTipUI.java,
10040 javax/swing/plaf/TreeUI.java,
10041 javax/swing/plaf/UIResource.java,
10042 javax/swing/plaf/ViewportUI.java,
10043 javax/swing/ProgressMonitorInputStream.java,
10044 javax/swing/ProgressMonitor.java,
10045 javax/swing/Renderer.java,
10046 javax/swing/RepaintManager.java,
10047 javax/swing/RootPaneContainer.java,
10048 javax/swing/Scrollable.java,
10049 javax/swing/ScrollPaneConstants.java,
10050 javax/swing/ScrollPaneLayout.java,
10051 javax/swing/SingleSelectionModel.java,
10052 javax/swing/SizeRequirements.java,
10053 javax/swing/SizeSequence.java,
10054 javax/swing/SwingConstants.java,
10055 javax/swing/SwingUtilities.java,
10056 javax/swing/table/AbstractTableModel.java,
10057 javax/swing/table/DefaultTableCellRenderer.java,
10058 javax/swing/table/DefaultTableColumnModel.java,
10059 javax/swing/table/DefaultTableModel.java,
10060 javax/swing/table/TableCellEditor.java,
10061 javax/swing/table/TableCellRenderer.java,
10062 javax/swing/table/TableColumn.java,
10063 javax/swing/table/TableColumnModel.java,
10064 javax/swing/table/TableModel.java,
10065 javax/swing/text/AbstractDocument.java,
10066 javax/swing/text/AttributeSet.java,
10067 javax/swing/text/BadLocationException.java,
10068 javax/swing/text/Caret.java,
10069 javax/swing/text/CharacterIterator.java,
10070 javax/swing/text/ComponentView.java,
10071 javax/swing/text/DefaultCaret.java,
10072 javax/swing/text/DefaultEditorKit.java,
10073 javax/swing/text/Document.java,
10074 javax/swing/text/EditorKit.java,
10075 javax/swing/text/Element.java,
10076 javax/swing/text/GapContent.java,
10077 javax/swing/text/JTextComponent.java,
10078 javax/swing/text/Keymap.java,
10079 javax/swing/text/MutableAttributeSet.java,
10080 javax/swing/text/PlainDocument.java,
10081 javax/swing/text/PlainEditorKit.java,
10082 javax/swing/text/Position.java,
10083 javax/swing/text/Segment.java,
10084 javax/swing/text/StyledDocument.java,
10085 javax/swing/text/StyledEditorKit.java,
10086 javax/swing/text/Style.java,
10087 javax/swing/text/TextAction.java,
10088 javax/swing/text/ViewFactory.java,
10089 javax/swing/text/View.java,
10090 javax/swing/Timer.java,
10091 javax/swing/ToggleButtonModel.java,
10092 javax/swing/ToolTipManager.java,
10093 javax/swing/tree/AbstractLayoutCache.java,
10094 javax/swing/tree/DefaultMutableTreeNode.java,
10095 javax/swing/tree/DefaultTreeCellEditor.java,
10096 javax/swing/tree/DefaultTreeCellRenderer.java,
10097 javax/swing/tree/DefaultTreeModel.java,
10098 javax/swing/tree/DefaultTreeSelectionModel.java,
10099 javax/swing/tree/ExpandVetoException.java,
10100 javax/swing/tree/FixedHeightLayoutCache.java,
10101 javax/swing/tree/MutableTreeNode.java,
10102 javax/swing/tree/RowMapper.java,
10103 javax/swing/tree/TreeCellEditor.java,
10104 javax/swing/tree/TreeCellRenderer.java,
10105 javax/swing/tree/TreeModel.java,
10106 javax/swing/tree/TreeNode.java,
10107 javax/swing/tree/TreePath.java,
10108 javax/swing/tree/TreeSelectionModel.java,
10109 javax/swing/tree/VariableHeightLayoutCache.java,
10110 javax/swing/UIDefaults.java,
10111 javax/swing/UIManager.java,
10112 javax/swing/undo/AbstractUndoableEdit.java,
10113 javax/swing/undo/CannotRedoException.java,
10114 javax/swing/undo/CannotUndoException.java,
10115 javax/swing/undo/CompoundEdit.java,
10116 javax/swing/undo/StateEditable.java,
10117 javax/swing/undo/StateEdit.java,
10118 javax/swing/undo/UndoableEdit.java,
10119 javax/swing/undo/UndoableEditSupport.java,
10120 javax/swing/undo/UndoManager.java,
10121 javax/swing/UnsupportedLookAndFeelException.java,
10122 javax/swing/ViewportLayout.java,
10123 javax/swing/WindowConstants.java: New files, from GNU Classpath.
10125 * java/awt/ActiveEvent.java,
10126 java/awt/Adjustable.java, java/awt/AWTError.java,
10127 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
10128 java/awt/AWTException.java, java/awt/AWTPermission.java,
10129 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
10130 java/awt/Color.java, java/awt/Component.java,
10131 java/awt/ComponentOrientation.java, java/awt/Container.java,
10132 java/awt/datatransfer/MimeTypeParseException.java,
10133 java/awt/datatransfer/Transferable.java,
10134 java/awt/datatransfer/UnsupportedFlavorException.java,
10135 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
10136 java/awt/event/ActionListener.java,
10137 java/awt/event/AdjustmentEvent.java,
10138 java/awt/event/AdjustmentListener.java,
10139 java/awt/event/AWTEventListener.java,
10140 java/awt/event/ComponentAdapter.java,
10141 java/awt/event/ComponentEvent.java,
10142 java/awt/event/ComponentListener.java,
10143 java/awt/event/ContainerAdapter.java,
10144 java/awt/event/ContainerEvent.java,
10145 java/awt/event/ContainerListener.java,
10146 java/awt/event/FocusAdapter.java,
10147 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
10148 java/awt/event/HierarchyBoundsAdapter.java,
10149 java/awt/event/HierarchyBoundsListener.java,
10150 java/awt/event/HierarchyEvent.java,
10151 java/awt/event/HierarchyListener.java,
10152 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
10153 java/awt/event/InputMethodListener.java,
10154 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
10155 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
10156 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
10157 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
10158 java/awt/event/MouseListener.java,
10159 java/awt/event/MouseMotionAdapter.java,
10160 java/awt/event/MouseMotionListener.java,
10161 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
10162 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
10163 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
10164 java/awt/event/WindowListener.java, java/awt/Font.java,
10165 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
10166 java/awt/geom/Ellipse2D.java,
10167 java/awt/geom/IllegalPathStateException.java,
10168 java/awt/geom/Line2D.java,
10169 java/awt/geom/NoninvertibleTransformException.java,
10170 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
10171 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
10172 java/awt/geom/RoundRectangle2D.java,
10173 java/awt/GraphicsConfiguration.java,
10174 java/awt/IllegalComponentStateException.java,
10175 java/awt/image/IndexColorModel.java,
10176 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
10177 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
10178 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
10179 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
10180 java/awt/MenuItem.java, java/awt/PaintContext.java,
10181 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
10182 java/awt/Polygon.java, java/awt/PrintGraphics.java,
10183 java/awt/PrintJob.java, java/awt/Rectangle.java,
10184 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
10185 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
10186 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
10188 * java/awt/im/spi/InputMethod.java,
10189 java/awt/im/spi/InputMethodContext.java,
10190 java/awt/im/spi/InputMethodDescriptor.java,
10191 java/awt/image/renderable/ContextualRenderedImageFactory.java,
10192 java/awt/image/renderable/ParameterBlock.java,
10193 java/awt/image/renderable/RenderContext.java,
10194 java/awt/image/renderable/RenderableImage.java,
10195 java/awt/image/renderable/RenderableImageOp.java,
10196 java/awt/image/renderable/RenderableImageProducer.java,
10197 java/awt/image/renderable/RenderedImageFactory.java: New files from
10200 * gnu/java/awt/EventModifier.java,
10201 gnu/java/awt/image/ImageDecoder.java,
10202 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
10204 * gnu/awt/xlib/XGraphicsConfiguration.java,
10205 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
10208 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
10211 * Makefile.am: Add new files.
10212 * Makefile.in: Rebuilt.
10214 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10216 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
10217 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
10218 findResource, getResources, findResources): Add javadoc from classpath.
10219 (getSystemResources): Implemented.
10221 2002-08-01 Mark Wielaard <mark@klomp.org>
10223 Revert patch that breaks libgcj shared library on powerpc:
10224 * gnu/java/security/provider/Gnu.java: Reverse referencing all
10225 implementation classes by using Class.getName(). Uses Strings again.
10226 * gnu/java/security/der/DEREncodingException.java,
10227 gnu/java/security/provider/DERReader.java,
10228 gnu/java/security/provider/DERWriter.java,
10229 gnu/java/security/provider/DSAKeyPairGenerator.java,
10230 gnu/java/security/provider/DSAParameterGenerator.java,
10231 gnu/java/security/provider/DSAParameters.java,
10232 gnu/java/security/provider/DSASignature.java,
10233 gnu/java/security/provider/GnuDSAPrivateKey.java,
10234 gnu/java/security/provider/GnuDSAPublicKey.java,
10235 gnu/java/security/provider/MD5.java,
10236 gnu/java/security/util/Prime.java: Removed.
10237 * Makefile.am (ordinary_java_source_files): Remove above files.
10238 * Makefile.in: Regenerate.
10239 * gnu/java/security/provider/DefaultPolicy.java
10240 (getPermissions): Revert to maintaining static class variable of
10242 * gnu/java/security/provider/SHA.java
10243 (engineUpdate): Revert algorithm change.
10244 (engineDigest): Revert algorithm change.
10246 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
10248 * configure.host: Add SH support.
10249 * sysdep/sh/locks.h: New file.
10251 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10253 * java/awt/Frame.java (Frame): Remove println calls.
10255 2002-07-30 Jeff Sturm <jsturm@one-point.com>
10257 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
10258 * configure: Rebuilt.
10260 2002-07-27 Alan Modra <amodra@bigpond.net.au>
10262 * sysdep/powerpc/locks.h: Formatting.
10265 (compare_and_swap): Use _LARX and _STCX.
10266 (compare_and_swap_release): Likewise.
10268 2002-07-26 Tom Tromey <tromey@redhat.com>
10270 * java/net/Authenticator.java: New version from Classpath.
10271 * java/net/DatagramSocketImpl.java: New version from Classpath.
10273 2002-07-27 Alan Modra <amodra@bigpond.net.au>
10275 * configure.host: Add powerpc64*-* entry.
10277 2002-07-26 Tom Tromey <tromey@redhat.com>
10279 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
10282 2002-07-24 Tom Tromey <tromey@redhat.com>
10284 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
10287 2002-07-24 Tom Tromey <tromey@redhat.com>
10288 Tony Kimball <alk@pobox.com>
10290 * java/io/natFileDescriptorWin32.cc (setLength): New method.
10291 * java/io/natFileDescriptorPosix.cc (setLength): New method.
10292 * java/io/RandomAccessFile.java (setLength): New method.
10293 * java/io/natFileDescriptorEcos.cc (setLength): New method.
10294 * java/io/FileDescriptor.java (setLength): New method.
10296 2002-07-24 Mark Wielaard <mark@klomp.org>
10298 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
10299 * java/io/ObjectInputStream.java (setBooleanField): Before setting
10300 field call setAccessible(true).
10301 (setByteField): Likewise.
10302 (setCharField): Likewise.
10303 (setDoubleField): Likewise.
10304 (setFloatField): Likewise.
10305 (setIntField): Likewise.
10306 (setLongField): Likewise.
10307 (setShortField): Likewise.
10308 (setObjectField): Likewise.
10310 2002-07-24 Tom Tromey <tromey@redhat.com>
10312 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
10313 use toString() to format array element.
10315 2002-07-23 Mark Wielaard <mark@klomp.org>
10317 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10318 MessageDigestSpi (fixes Classpath bug #783).
10320 2002-07-21 Mark Wielaard <mark@klomp.org>
10322 * gnu/java/security/provider/Gnu.java: Reference all implementation
10323 classes by using Class.getName().
10325 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
10327 * java/lang/ieeefp.h: Add x86-64 support.
10328 * configure.in: Likewise.
10329 * configure.host: Likewise.
10330 * configure: Regenerated.
10331 * sysdep/x86-64/locks.h: New file with x86-64 locks.
10333 2002-07-16 Mark Wielaard <mark@klomp.org>
10335 * java/io/StreamTokenizer.java (pushBack): Update documentation.
10336 (whitespaceChars): call resetChar().
10338 2002-07-15 Tom Tromey <tromey@redhat.com>
10340 * Makefile.in: Rebuilt.
10341 * Makefile.am (awt_java_source_files): Added new files.
10342 * java/beans/ExceptionListener.java: Merged with Classpath.
10343 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
10344 * java/beans/PropertyChangeListener.java: Merged with Classpath.
10345 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
10346 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
10347 * java/beans/VetoableChangeListener.java: Merged with Classpath.
10348 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
10349 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
10351 2002-07-14 Mark Wielaard <mark@klomp.org>
10353 * gnu/java/security/der/DEREncodingException.java,
10354 gnu/java/security/provider/DERReader.java,
10355 gnu/java/security/provider/DERWriter.java,
10356 gnu/java/security/provider/DSAKeyPairGenerator.java,
10357 gnu/java/security/provider/DSAParameterGenerator.java,
10358 gnu/java/security/provider/DSAParameters.java,
10359 gnu/java/security/provider/DSASignature.java,
10360 gnu/java/security/provider/GnuDSAPrivateKey.java,
10361 gnu/java/security/provider/GnuDSAPublicKey.java,
10362 gnu/java/security/provider/MD5.java,
10363 gnu/java/security/util/Prime.java: New files from Classpath.
10364 * Makefile.am (ordinary_java_source_files): Add new files.
10365 * Makefile.in: Regenerate.
10367 2002-07-14 C. Brian Jones <cbj@gnu.org>
10369 * gnu/java/security/provider/DefaultPolicy.java
10370 (getPermissions): do not maintain static class variable of
10372 * gnu/java/security/provider/SHA.java
10373 (engineUpdate): algorithm change
10374 (engineDigest): algorithm change
10376 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
10378 For PR libgcj/7292:
10379 * java/lang/Character.java (toString(char)): Now static.
10381 2002-07-12 Mark Wielaard <mark@klomp.org>
10383 * java/lang/natThrowable.cc (printRawStackTrace): removed.
10384 (getStackTrace0): new method.
10385 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
10386 (printStackTrace(PrintWriter)): replace with pure java implementation.
10387 (printRawStackTrace): removed.
10388 (getStackTrace0): new method.
10389 * java/lang/StackTraceElement.java (toString): add extra whitespace.
10390 * gcj/javaprims.h: regenerate class list.
10391 * include/name-finder.h (lookup): new returns StackTraceElement*.
10392 (method_name, file_name): fields removed.
10393 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
10394 (~_Jv_name_finder): close new descriptors.
10395 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
10396 (createStackTraceElement): new method.
10397 (lookup): returns StackTraceElement*, uses createStackTraceElement().
10399 2002-07-10 Tom Tromey <tromey@redhat.com>
10401 * configure: Rebuilt.
10402 * configure.in: Use `test' after `&&'. From Chris Faylor.
10404 2002-07-08 Mark Wielaard <mark@klomp.org>
10406 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
10407 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
10408 java.sql.DatabaseMetaData.TestJdbc20
10410 2002-07-05 Tony Kimball <alk@pobox.com>
10412 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
10414 2002-07-04 Tom Tromey <tromey@redhat.com>
10415 Jeff Sturm <jsturm@one-point.com>
10417 Fix for PR libgcj/7060:
10418 * java/lang/Class.h (_getMethod): Renamed from getMethod.
10419 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
10420 Recurse into superinterfaces. Don't throw NoSuchMethodException.
10421 * java/lang/Class.java (getMethod): New Java implementation;
10422 complies with spec.
10423 (_getMethod): New native method.
10425 2002-07-02 Tom Tromey <tromey@redhat.com>
10426 David Hovemeyer <daveho@cs.umd.edu>
10428 * java/text/ChoiceFormat.java
10429 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
10431 * java/text/MessageFormat.java
10432 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
10435 2002-07-01 Tom Tromey <tromey@redhat.com>
10437 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
10438 StringTokenizer on null string. For PR libgcj/7180.
10439 From daveho@cs.umd.edu.
10441 2002-06-24 Tom Tromey <tromey@redhat.com>
10443 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
10444 (IntegerClass): Likewise.
10445 * java/lang/natClass.cc (CloneableClass): Removed.
10446 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
10447 ConstructorClass): Likewise.
10448 * java/lang/natClassLoader.cc (CloneableClass): Removed.
10449 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
10450 SerializableClass): Likewise.
10451 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
10452 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
10453 LongClass, FloatClass, DoubleClass): Likewise.
10455 * verify.cc (branch_prepass): Updated for change to exception
10457 (verify_instructions_0): Likewise.
10458 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
10459 (handleExceptionTableEntry): Updated for change to exception
10461 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
10462 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
10463 (union _Jv_InterpPC): New.
10464 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
10465 (class _Jv_InterpMethod): Added new `prepared' field.
10466 (class _Jv_InterpMethod): Added `compile' method. Removed
10467 `continue1' and `find_exception'. Changed arguments to `run'.
10468 * interpret.cc (union insn_slot): New.
10469 (find_exception): Removed.
10470 (run_normal): Removed most logic.
10471 (run_synch_object): Likewise; also, use JvSynchronize.
10472 (run_synch_class): Likewise.
10474 (continue1): Renamed as `run'. Compile bytecode if required.
10475 Add new code to allow refinement of direct-threaded code at
10476 runtime. Handle exceptions.
10477 (SAVE_PC): Removed.
10478 (compile): New method.
10479 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
10480 (NULLARRAYCHECK): Don't use SAVE_PC.
10481 (pc_t): New typedef.
10482 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
10483 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
10485 2002-06-23 Tom Tromey <tromey@redhat.com>
10487 * configure: Rebuilt.
10488 * configure.in (INTERPRETER): New subst.
10489 (AM_RUNTESTFLAGS): Don't subst.
10491 * Makefile.in: Rebuilt.
10492 * Makefile.am ($(srcdir)/java/lang/Object.h,
10493 $(srcdir)/java/lang/Class.h): Added dummy targets.
10495 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10497 Reformat JDBC classes and add new JDK 1.4 classes and methods.
10499 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
10500 java/sql/Savepoint.java: New files.
10501 * java/sql/Array.java, java/sql/BatchUpdateException.java,
10502 java/sql/Blob.java, java/sql/CallableStatement.java,
10503 java/sql/Clob.java, java/sql/Connection.java,
10504 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
10505 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
10506 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
10507 java/sql/Ref.java, java/sql/ResultSet.java,
10508 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
10509 java/sql/SQLException.java, java/sql/SQLInput.java,
10510 java/sql/SQLOutput.java, java/sql/SQLWarning.java
10511 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
10512 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
10513 (JDK 1.4) specification.
10514 * javax/sql/ConnectionEvent.java,
10515 javax/sql/ConnectionEventListener.java,
10516 javax/sql/ConnectionPoolDataSource.java,
10517 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
10518 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
10519 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
10520 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
10521 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
10522 javax/sql/XADataSource.java: New files.
10523 * Makefile.am: Add new files.
10524 * Makefile.in: Rebuilt.
10526 2002-06-20 Tom Tromey <tromey@redhat.com>
10528 For PR libgcj/7073:
10529 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10531 * defineclass.cc (handleClassBegin): Superclass for interface is
10534 2002-06-18 Tom Tromey <tromey@redhat.com>
10536 * gcj/javaprims.h: Updated class declaration list.
10537 * Makefile.in: Rebuilt.
10538 * Makefile.am (core_java_source_files): Removed
10539 BasicMapEntry.java.
10540 * java/util/BasicMapEntry.java: Removed.
10542 2002-06-18 Jeff Sturm <jsturm@one-point.com>
10544 * java/net/natPlainDatagramSocketImpl.cc (receive):
10545 Check bounds of argument to FD_SET.
10546 (setOption): Throw exception if socket is closed.
10548 * java/net/natPlainSocketImpl.cc (accept, read):
10549 Check bounds of argument to FD_SET.
10550 (setOption): Throw exception if socket is closed.
10552 2002-06-18 Tom Tromey <tromey@redhat.com>
10554 * gcj/javaprims.h: Updated class declaration list.
10555 * Makefile.in: Rebuilt.
10556 * Makefile.am (core_java_source_files): Added
10557 PropertyPermissionCollection.java.
10558 * java/lang/Thread.java (group, name): Now package-private.
10559 * java/lang/ThreadGroup.java: Re-merge with Classpath.
10560 * java/util/AbstractList.java: Likewise.
10561 * java/util/AbstractMap.java: Likewise.
10562 * java/util/Calendar.java: Likewise.
10563 * java/util/Collections.java: Likewise.
10564 * java/util/HashMap.java: Likewise.
10565 * java/util/Hashtable.java: Likewise.
10566 * java/util/LinkedHashMap.java: Likewise.
10567 * java/util/LinkedList.java: Likewise.
10568 * java/util/List.java: Likewise.
10569 * java/util/ListResourceBundle.java: Likewise.
10570 * java/util/Map.java: Likewise.
10571 * java/util/Observable.java: Likewise.
10572 * java/util/Properties.java: Likewise.
10573 * java/util/PropertyPermission.java: Likewise.
10574 * java/util/PropertyPermissionCollection.java: Likewise.
10575 * java/util/PropertyResourceBundle.java: Likewise.
10576 * java/util/Random.java: Likewise.
10577 * java/util/SimpleTimeZone.java: Likewise.
10578 * java/util/StringTokenizer.java: Likewise.
10579 * java/util/TimerTask.java: Likewise.
10580 * java/util/TreeMap.java: Likewise.
10581 * java/util/WeakHashMap.java: Likewise.
10582 * java/util/jar/Attributes.java: Likewise.
10583 * java/util/jar/JarException.java: Likewise.
10584 * java/util/jar/Manifest.java: Likewise.
10586 2002-06-17 Tom Tromey <tromey@redhat.com>
10588 * gcj/javaprims.h: Updated class declaration list.
10589 * Makefile.in: Rebuilt.
10590 * Makefile.am (core_java_source_files): Added new file.
10591 * java/util/EventListenerProxy.java: New file.
10592 * java/util/EventListener.java: Re-merge with Classpath.
10593 * java/util/EventObject.java: Re-merge with Classpath.
10595 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10597 * java/lang/ClassNotFoundException.java: New Classpath version.
10599 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10601 * java/rmi/activation/ActivateFailedException.java: Remerge from
10603 * java/rmi/activation/ActivationException.java: Ditto.
10604 * java/rmi/activation/UnknownGroupException.java: Ditto.
10605 * java/rmi/activation/UnknownObjectException.java: Ditto.
10606 * java/rmi/server/ExportException: Ditto.
10607 * java/rmi/server/ServerCloneException: Ditto.
10608 * java/rmi/server/ServerNotActiveException: Ditto.
10609 * java/rmi/server/SkeletonMismatchException: Ditto.
10610 * java/rmi/server/SkeletonNotFoundException: Ditto.
10611 * java/rmi/server/SocketSecurityException: Ditto.
10613 2002-06-16 Tom Tromey <tromey@redhat.com>
10615 * gcj/javaprims.h: Updated class declaration list.
10617 * java/io/LineNumberInputStream.java: Merged with Classpath.
10619 * java/lang/RuntimeException.java: Re-merge with Classpath.
10620 * java/util/ArrayList.java: Likewise.
10621 * java/util/Arrays.java: Likewise.
10622 * java/util/BitSet.java: Likewise.
10623 * java/util/Dictionary.java: Likewise.
10624 * java/util/IdentityHashMap.java: Likewise.
10625 * java/util/MissingResourceException.java: Likewise.
10626 * java/util/Observer.java: Likewise.
10627 * java/util/TooManyListenersException.java: Likewise.
10628 * java/util/zip/DataFormatException.java: Likewise.
10629 * java/util/zip/ZipException.java: Likewise.
10631 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
10633 * java/rmi/AccessException.java: Remerge from Classpath.
10634 * java/rmi/AlreadyBoundException.java: Ditto.
10635 * java/rmi/ConnectException.java: Ditto.
10636 * java/rmi/ConnectIOException.java: Ditto.
10637 * java/rmi/MarshalException.java: Ditto.
10638 * java/rmi/NoSuchObjectException.java: Ditto.
10639 * java/rmi/NotBoundException.java: Ditto.
10640 * java/rmi/RemoteException.java: Ditto.
10641 * java/rmi/RMISecurityException.java: Ditto.
10642 * java/rmi/ServerError.java: Ditto.
10643 * java/rmi/ServerException.java: Ditto.
10644 * java/rmi/ServerRuntimeException.java: Ditto.
10645 * java/rmi/StubNotFoundException.java: Ditto.
10646 * java/rmi/UnexpectedExcpetion.java: Ditto.
10647 * java/rmi/UnknownHostException.java: Ditto.
10648 * java/rmi/UnmarshalException.java: Ditto.
10650 2002-06-15 Tom Tromey <tromey@redhat.com>
10652 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10653 * java/lang/ArithmeticException.java: Likewise.
10654 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10655 * java/lang/ArrayStoreException.java: Likewise.
10656 * java/lang/Byte.java: Likewise.
10657 * java/lang/CharSequence.java: Likewise.
10658 * java/lang/ClassCastException.java: Likewise.
10659 * java/lang/ClassCircularityError.java: Likewise.
10660 * java/lang/ClassFormatError.java: Likewise.
10661 * java/lang/CloneNotSupportedException.java: Likewise.
10662 * java/lang/Cloneable.java: Likewise.
10663 * java/lang/Comparable.java: Likewise.
10664 * java/lang/Compiler.java: Likewise.
10665 * java/lang/Error.java: Likewise.
10666 * java/lang/ExceptionInInitializerError.java: Likewise.
10667 * java/lang/IllegalAccessError.java: Likewise.
10668 * java/lang/IllegalAccessException.java: Likewise.
10669 * java/lang/IllegalArgumentException.java: Likewise.
10670 * java/lang/IllegalMonitorStateException.java: Likewise.
10671 * java/lang/IllegalStateException.java: Likewise.
10672 * java/lang/IllegalThreadStateException.java: Likewise.
10673 * java/lang/IncompatibleClassChangeError.java: Likewise.
10674 * java/lang/IndexOutOfBoundsException.java: Likewise.
10675 * java/lang/InheritableThreadLocal.java: Likewise.
10676 * java/lang/InstantiationError.java: Likewise.
10677 * java/lang/InstantiationException.java: Likewise.
10678 * java/lang/InternalError.java: Likewise.
10679 * java/lang/InterruptedException.java: Likewise.
10680 * java/lang/LinkageError.java: Likewise.
10681 * java/lang/NegativeArraySizeException.java: Likewise.
10682 * java/lang/NoClassDefFoundError.java: Likewise.
10683 * java/lang/NoSuchFieldError.java: Likewise.
10684 * java/lang/NoSuchFieldException.java: Likewise.
10685 * java/lang/NoSuchMethodError.java: Likewise.
10686 * java/lang/NoSuchMethodException.java: Likewise.
10687 * java/lang/NullPointerException.java: Likewise.
10688 * java/lang/NumberFormatException.java: Likewise.
10689 * java/lang/OutOfMemoryError.java: Likewise.
10690 * java/lang/Process.java: Likewise.
10691 * java/lang/Runnable.java: Likewise.
10692 * java/lang/RuntimePermission.java: Likewise.
10693 * java/lang/SecurityException.java: Likewise.
10694 * java/lang/Short.java: Likewise.
10695 * java/lang/StackOverflowError.java: Likewise.
10696 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10697 * java/lang/ThreadDeath.java: Likewise.
10698 * java/lang/ThreadLocal.java: Likewise.
10699 * java/lang/UnknownError.java: Likewise.
10700 * java/lang/UnsatisfiedLinkError.java: Likewise.
10701 * java/lang/UnsupportedClassVersionError.java: Likewise.
10702 * java/lang/UnsupportedOperationException.java: Likewise.
10703 * java/lang/VerifyError.java: Likewise.
10704 * java/lang/VirtualMachineError.java: Likewise.
10705 * java/lang/reflect/InvocationTargetException.java: Likewise.
10706 * java/net/BindException.java: Likewise.
10707 * java/net/ConnectException.java: Likewise.
10708 * java/net/MalformedURLException.java: Likewise.
10709 * java/net/NoRouteToHostException.java: Likewise.
10710 * java/net/ProtocolException.java: Likewise.
10711 * java/net/SocketException.java: Likewise.
10712 * java/net/UnknownHostException.java: Likewise.
10713 * java/net/UnknownServiceException.java: Likewise.
10715 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10716 * java/io/CharConversionException.java: Likewise.
10717 * java/io/EOFException.java: Likewise.
10718 * java/io/FileNotFoundException.java: Likewise.
10719 * java/io/IOException.java: Likewise.
10720 * java/io/InterruptedIOException.java: Likewise.
10721 * java/io/InvalidClassException.java: Likewise.
10722 * java/io/InvalidObjectException.java: Likewise.
10723 * java/io/NotActiveException.java: Likewise.
10724 * java/io/NotSerializableException.java: Likewise.
10725 * java/io/ObjectStreamException.java: Likewise.
10726 * java/io/ObjectStreamConstants.java: Likewise.
10727 * java/io/OptionalDataException.java: Likewise.
10728 * java/io/PipedInputStream.java: Likewise.
10729 * java/io/PushbackInputStream.java: Likewise.
10730 * java/io/StreamCorruptedException.java: Likewise.
10731 * java/io/SyncFailedException.java: Likewise.
10732 * java/io/UTFDataFormatException.java: Likewise.
10733 * java/io/UnsupportedEncodingException.java: Likewise.
10734 * java/io/WriteAbortedException.java: Likewise.
10736 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10738 * java/text/ChoiceFormat.java: Update comments from Classpath.
10739 * java/text/ParseException.java (serialVersionUID): New
10740 field from Classpath.
10741 * java/text/ParseException.java: Update formatting & comments
10744 2002-06-15 Tom Tromey <tromey@redhat.com>
10746 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10747 been read but none output by inflater.
10748 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10749 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10751 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10753 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10754 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10755 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10757 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10759 2002-06-13 Tom Tromey <tromey@redhat.com>
10761 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10762 true and OFFSET!=0.
10763 * java/lang/String.java (String(char[],int,int,boolean): New
10765 * java/lang/Long.java: Imported new version from Classpath.
10766 * java/lang/Number.java: Likewise.
10767 * java/lang/Integer.java: Likewise.
10768 * java/lang/Long.java: Likewise.
10769 * java/lang/Float.java: Likewise.
10770 * java/lang/Boolean.java: Likewise.
10771 * java/lang/Double.java: Likewise.
10772 * java/lang/Void.java: Likewise.
10774 2002-06-12 Tom Tromey <tromey@redhat.com>
10776 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10777 Fixes PR libgcj/6652.
10779 2002-06-10 Tom Tromey <tromey@redhat.com>
10781 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10782 (Class::getPackagePortion): Likewise.
10783 * java/lang/Class.java (desiredAssertionStatus): New method from
10785 (getPackagePortion): Likewise.
10786 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10787 packageAssertionStatus, classAssertionStatus): New methods from
10789 * java/lang/ClassLoader.java (defaultAssertionStatus,
10790 systemPackageAssertionStatus, packageAssertionStatus,
10791 systemClassAssertionStatus, classAssertionStatus): New fields from
10793 (setDefaultAssertionStatus, setPackageAssertionStatus,
10794 setClassAssertionStatus, clearAssertionStatus): New methods from
10796 * Makefile.in: Rebuilt.
10797 * Makefile.am (core_java_source_files): Added AssertionError.java.
10798 * java/lang/AssertionError.java: New from Classpath.
10800 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10802 * configure.host: Disable hash synchronization and slow_pthread_self
10805 2002-06-06 Adam Megacz <adam@xwt.org>
10807 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10808 locking, just like the Sun JVM does.
10810 2002-06-05 H.J. Lu (hjl@gnu.org)
10812 * Makefile.am (libgcj_convenience.la): Revert the last change.
10813 (libgcj.la): Likewise.
10814 * Makefile.in: Regenerated.
10816 2002-06-04 H.J. Lu (hjl@gnu.org)
10818 * Makefile.am (libgcj_convenience.la): New target.
10819 (libgcj.la): Depend on libgcj_convenience.la.
10820 * Makefile.in: Regenerated.
10822 2002-06-04 H.J. Lu (hjl@gnu.org)
10824 * configure.in (--with-newlib): New option:
10825 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10826 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10828 * configure: Regenerated.
10830 2002-06-04 Tom Tromey <tromey@redhat.com>
10832 * java/util/natTimeZone.cc: Include <stdio.h>.
10834 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10836 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10837 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10838 Set SIGNAL_HANDLER=include/s390-linux.h.
10839 * configure: Regenerate.
10840 * include/s390-linux.h: New file.
10842 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10844 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10847 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10849 Merge JDK 1.4 java.security changes from classpath.
10851 * java/security/AccessControlException.java: Merge from Classpath.
10852 * java/security/AccessController.java: Likewise.
10853 * java/security/AllPermission.java: Likewise.
10854 * java/security/BasicPermission.java: Likewise.
10855 * java/security/Certificate.java: Likewise.
10856 * java/security/CodeSource.java: Likewise.
10857 * java/security/DigestException.java: Likewise.
10858 * java/security/DigestOutputStream.java: Likewise.
10859 * java/security/DomainCombiner.java: Likewise.
10860 * java/security/GeneralSecurityException.java: Likewise.
10861 * java/security/Guard.java: Likewise.
10862 * java/security/GuardedObject.java: Likewise.
10863 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10864 * java/security/InvalidKeyException.java: Likewise.
10865 * java/security/InvalidParameterException.java: Likewise.
10866 * java/security/Key.java: Likewise.
10867 * java/security/KeyException.java: Likewise.
10868 * java/security/KeyManagementException.java: Likewise.
10869 * java/security/KeyStoreException.java: Likewise.
10870 * java/security/MessageDigest.java: Likewise.
10871 * java/security/NoSuchAlgorithmException.java: Likewise.
10872 * java/security/NoSuchProviderException.java: Likewise.
10873 * java/security/Permission.java: Likewise.
10874 * java/security/PermissionCollection.java: Likewise.
10875 * java/security/Permissions.java: Likewise.
10876 * java/security/Policy.java: Likewise.
10877 * java/security/Principal.java: Likewise.
10878 * java/security/PrivateKey.java: Likewise.
10879 * java/security/PrivilegedAction.java: Likewise.
10880 * java/security/PrivilegedActionException.java: Likewise.
10881 * java/security/PrivilegedExceptionAction.java: Likewise.
10882 * java/security/ProtectionDomain.java: Likewise.
10883 * java/security/ProviderException.java: Likewise.
10884 * java/security/PublicKey.java: Likewise.
10885 * java/security/SecureClassLoader.java: Likewise.
10886 * java/security/SecurityPermission.java: Likewise.
10887 * java/security/SignatureException.java: Likewise.
10888 * java/security/UnrecoverableKeyException.java: Likewise.
10889 * java/security/UnresolvedPermission.java: Likewise.
10890 * java/security/acl/AclNotFoundException.java: Likewise.
10891 * java/security/acl/LastOwnerException.java: Likewise.
10892 * java/security/acl/NotOwnerException.java: Likewise.
10893 * java/security/cert/CRLException.java: Likewise.
10894 * java/security/cert/CertificateEncodingException.java: Likewise.
10895 * java/security/cert/CertificateException.java: Likewise.
10896 * java/security/cert/CertificateExpiredException.java: Likewise.
10897 * java/security/cert/CertificateFactory.java: Likewise.
10898 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10899 * java/security/cert/CertificateParsingException.java: Likewise.
10900 * java/security/spec/InvalidKeySpecException.java: Likewise.
10901 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10903 * java/security/cert/CertPath.java: New file.
10904 * java/security/cert/CertPathBuilderException.java: New file.
10905 * java/security/cert/CertPathValidatorException.java: New file.
10906 * java/security/cert/CertStoreException.java: New file.
10908 * Makefile.am: Add new CertPath classes.
10909 * Makefile.in: Rebuilt.
10911 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10913 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10915 Merge JDK 1.4 exception chaining support from classpath.
10917 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10918 (stackTraceBytes): Rename from stackTrace.
10919 * java/lang/Exception.java: Merge from classpath.
10920 * java/lang/StackTraceElement: New file from classpath.
10921 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10922 * Makefile.am: Add StackTraceElement.
10923 * Makefile.in: Rebuilt.
10925 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10927 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10929 * Makefile.in: Rebuilt.
10931 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10933 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10934 * configure.in: Likewise.
10935 * aclocal.m4: Regenerate.
10936 * configure: Regenerate.
10938 2002-05-13 Tom Tromey <tromey@redhat.com>
10940 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10941 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10942 Include platform.h.
10944 Fixes PR libgcj/6389:
10945 * Makefile.in: Rebuilt.
10946 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10947 * java/util/natTimeZone.cc: New file.
10948 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10949 * java/lang/System.java: Merged with Classpath.
10950 * java/lang/Runtime.java: Merged with Classpath.
10951 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10953 (setIn0): Renamed from setIn; don't run security check.
10954 (setOut0): Renamed from setOut; don't run security check.
10955 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10956 init_properties): Moved to natRuntime.cc.
10957 Moved many includes to natRuntime.cc.
10958 (isWordsBigEndian): New method.
10959 * java/lang/natRuntime.cc: Include Long.h, also other includes
10960 previously in natSystem.cc.
10961 (maxMemory): New function.
10962 (exitInternal): Renamed from `_exit'.
10964 (init): Don't set finalize_on_exit.
10965 (exitInternal): Use `finalizeOnExit'.
10966 (file_encoding, getpwuid_adaptor): New functions from
10968 (insertSystemProperties): New method, renamed from
10969 System::init_properties. Don't set user.timezone.
10970 (_load): Don't call checkLink.
10971 (execInternal): New method.
10972 (availableProcessors): Likewise.
10973 (nativeGetLibname): Likewise.
10975 2002-05-11 Mark Wielaard <mark@klomp.org>
10977 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10979 (previous_internal): Likewise.
10981 2002-05-09 Tom Tromey <tromey@redhat.com>
10983 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10985 * java/util/ResourceBundle.java: New version from Classpath.
10986 * java/util/Locale.java: Likewise.
10988 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10990 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10991 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10994 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10996 * libjava/Makefile.am (all_java_source_files): New variable.
10997 (all_java_class_files): Likewise.
10998 .java.class: New rule.
10999 (CLEANFILES): Remove tmp-list.
11000 * libjava/Makefile.in: Regenerated.
11002 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
11004 * testsuite/lib/libjava.exp (test_libjava_from_javac):
11005 Append .exe to executable names. Fix for cygwin.
11007 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
11009 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
11010 script entry, and set LD to it when configuring multilibs.
11011 * configure: Rebuilt.
11013 2002-05-07 Tom Tromey <tromey@redhat.com>
11015 * java/lang/natString.cc (unintern): Fixed typo.
11017 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
11019 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
11020 with -no-install on *-*-cygwin*.
11022 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
11024 * testsuite/lib/libjava.exp (test_libjava_from_source):
11025 Add comment explaining last patch
11027 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
11029 * testsuite/lib/libjava.exp (test_libjava_from_source):
11030 Append .exe to executable names. If no suffix is present,
11031 then ".exe" is added by default on win32. Harmless
11032 elsewhere so always do it.
11034 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
11035 Tom Tromey <tromey@redhat.com>
11037 * java/lang/natSystem.cc (getSystemTimeZone): Use
11038 HAVE_UNDERSCORE_TIMEZONE.
11039 * include/config.h.in: Rebuilt.
11040 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
11041 * aclocal.m4, configure: Rebuilt.
11042 * acinclude.m4: Run AC_EXEEXT.
11043 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
11044 Add test for `_timezone'.
11046 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
11048 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11049 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
11050 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11051 * Makefile.in: Rebuilt.
11053 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
11055 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
11056 use sigaction instead of __libc_sigaction.
11058 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11060 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
11061 (libjava_init): Use it to find libgcj.spec.
11062 (libjava_arguments): Likewise.
11064 2002-05-02 David S. Miller <davem@redhat.com>
11067 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
11068 __libc_sigaction on Sparc.
11070 2002-05-02 Jerome Marc <marcjero@yahoo.com>
11072 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
11073 sys/filio.h, if present.
11075 2002-04-30 Tom Tromey <tromey@redhat.com>
11077 * java/io/BufferedReader.java (fill): Handle case where markPos
11078 point to ignored \n. Fixes PR libgcj/6301.
11080 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
11082 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
11084 2002-04-29 Adam King <aking@dreammechanics.com>
11086 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
11087 of file in APPEND mode.
11089 2002-04-25 David S. Miller <davem@redhat.com>
11092 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
11093 program counter to next program counter minus 8. Update
11094 comments in this macro to explain why.
11096 2002-04-26 Tom Tromey <tromey@redhat.com>
11098 * verify.cc (construct_primitive_array_type) [void_type]: New
11100 (branch_prepass): Added dummy entries for unused instruction
11102 (verify_instructions_0): Likewise.
11103 * interpret.cc (continue1): Comment fix.
11104 * include/java-insns.h (op_xxxunusedxxx1): Removed.
11105 * Makefile.in: Rebuilt.
11106 * Makefile.am: Added -Wswitch-enum.
11108 2002-04-24 Tom Tromey <tromey@redhat.com>
11110 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
11111 correct length of UTF-8 encoded name. Strip leading `/'.
11112 (_Jv_RegisterResource): Use _Jv_Malloc.
11114 2002-04-23 Adam Megacz <adam@xwt.org>
11116 * win32.cc, include/win32.cc (backtrace): Added this function
11117 because Win32 does not supply it.
11119 2002-04-21 David S. Miller <davem@redhat.com>
11121 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
11122 magic instruction reading sequence.
11124 2002-04-21 Mark Wielaard <mark@klomp.org>
11126 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
11128 2002-04-19 David S. Miller <davem@redhat.com>
11130 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
11132 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
11133 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
11135 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
11137 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
11138 * sysdeps/sparc/locks.h: New file.
11139 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
11140 on all sparc Solaris configurations. Set to
11141 include/dwarf2-signal.h on sparc Linux.
11142 * configure: Regenerate
11143 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
11145 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
11147 * configure: Rebuilt.
11148 * configure.in (backtrace): Function doesn't work on IA-64.
11150 2002-04-17 Adam King <aking@dreammechanics.com>
11152 * java/io/File.java (normalizePath): Add Win32 support for auto
11153 conversion of a '/' path separator to Win32's '\' separator.
11155 2002-04-16 Tom Tromey <tromey@redhat.com>
11157 Fix for PR libgcj/6081:
11158 * Makefile.in: Rebuilt.
11159 * Makefile.am (install-data-local): Use GNU make trick to avoid
11162 2002-04-16 Adam King <aking@dreammechanics.com>
11163 Tom Tromey <tromey@redhat.com>
11165 * java/io/natFileWin32.cc (performList): Return the correct array
11166 type. Don't duplicate the creation of a File since it's already
11167 done earlier in the method and the existing code would cause a
11168 ArrayStoreException. Don't use fixed-size array.
11169 (_access, _stat, attr, getCanonicalPath, performMkdir,
11170 performRenameTo): Don't use fixed-size array.
11171 (getCanonicalPath): Use throw, not _Jv_Throw.
11173 2002-04-15 DJ Delorie <dj@redhat.com>
11175 * configure.in: Allow building in $srcdir.
11176 * configure: Regenerated.
11178 2002-04-14 Mark Wielaard <mark@klomp.org>
11180 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
11181 * java/net/natSocketImpl.cc (close): Likewise.
11183 2002-04-14 Mark Wielaard <mark@klomp.org>
11185 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
11187 2002-04-13 Adam King <aking@dreammechanics.com>
11189 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
11190 the f/F/d/D modifiers.
11192 2002-04-12 Anthony Green <green@redhat.com>
11194 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
11195 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
11196 * Makefile.in: Rebuilt.
11197 * configure.in: Substitute gcc_version.
11198 * configure: Rebuilt.
11200 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11202 * configure.host: Set can_unwind_signal on hosts which support it.
11203 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
11204 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
11205 exceptions and can_unwind_signal isn't set.
11206 * configure: Rebuilt.
11208 2002-04-11 Tom Tromey <tromey@redhat.com>
11210 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
11212 2002-04-11 Adam King <aking@dreammechanics.com>
11213 Tom Tromey <tromey@redhat.com>
11215 * include/jvm.h (_Jv_ThrowBadArrayIndex,
11216 _Jv_ThrowNullPointerException): Mark as noreturn.
11217 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
11218 and _Jv_free. Correctly invoke GetTempPath(). Indentation
11221 2002-04-10 Tom Tromey <tromey@redhat.com>
11223 * Makefile.in: Rebuilt.
11224 * Makefile.am (java/lang/Thread.h): Mark
11225 _Jv_AttachCurrentThreadAsDaemon as friend.
11226 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
11227 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
11228 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
11230 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
11231 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
11232 (_Jv_JNI_InvokeFunctions): Added
11233 _Jv_JNI_AttachCurrentThreadAsDaemon.
11234 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
11235 (JNI_GetDefaultJavaVMInitArgs): Likewise.
11236 (JNI_CreateJavaVM): Likewise.
11237 (_Jv_JNI_AttachCurrentThread): Likewise.
11238 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
11239 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
11240 (_Jv_JNIFunctions): Initialize new fields.
11241 (_Jv_JNI_NewDirectByteBuffer): New function.
11242 (_Jv_JNI_GetDirectBufferAddress): Likewise.
11243 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
11244 * include/jni.h (JNI_VERSION_1_4): New macro.
11245 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
11246 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
11247 (JNINativeInterface::NewDirectByteBuffer): New field.
11248 (JNINativeInterface::GetDirectBufferAddress): New field.
11249 (JNINativeInterface::GetDirectBufferCapacity): New field.
11250 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
11251 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
11252 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
11254 2002-04-09 Tom Tromey <tromey@redhat.com>
11256 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
11258 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
11260 Fix for PR libgcj/6187:
11261 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
11264 2002-04-07 Mark Wielaard <mark@klomp.org>
11266 * java/util/AbstractMap.java (putAll): Use entrySet size.
11267 (toString): Explicitly use getKey() and getValue().
11269 2002-04-07 Mark Wielaard <mark@klomp.org>
11271 * java/util/Hashtable.java (contains): Remove NullPointer check.
11272 (containsValue): Add NullPointer check.
11273 (remove): Always throw NullPointerException when key
11276 2002-04-07 Adam King <aking@dreammechanics.com>
11278 * java/lang/natSystem.cc (init_properties): Call new function
11279 _Jv_platform_initProperties.
11280 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
11281 support for the System properties os.name, os.arch, os.version,
11282 user.name, user.home, and user.dir.
11283 * include/posix.h, include/win32.h, posix.cc: New function
11284 _Jv_platform_initProperties.
11286 2002-04-06 Mark Wielaard <mark@klomp.org>
11288 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
11290 2002-04-06 Mark Wielaard <mark@klomp.org>
11292 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
11293 all of the remaining elements.
11294 * java/util/Vector.java (addAll(int,Collection)): Likewise.
11295 (removeRange): If toIndex == fromIndex do
11296 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
11297 (removeAll): Always throw NullPointerException when collection is
11299 (retrainAll): Likewise.
11301 2002-04-05 Mark Wielaard <mark@klomp.org>
11303 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
11304 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
11306 2002-04-05 Adam Megacz <adam@xwt.org>
11308 * exception.cc (abort): added static modifier
11310 2002-04-04 Adam Megacz <adam@xwt.org>
11312 * include/win32.h (_Jv_platform_close_on_exec): added inline
11315 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
11317 * configure.host: Add case statement to support generic port
11318 properties. Add *-*-freebsd* section.
11320 2002-04-04 Mark Wielaard <mark@klomp.org>
11322 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
11324 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
11325 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
11326 that depend on awt code and BufferedByteOutputStream.interrupt.
11328 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11330 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
11331 incorrect "hi" value when count > 40.
11333 2002-04-03 Mark Wielaard <mark@klomp.org>
11335 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
11338 2002-04-02 Tom Tromey <tromey@redhat.com>
11340 * java/lang/natClassLoader.cc (findClass): Compare against `3',
11343 2002-04-02 Mark Wielaard <mark@klomp.org>
11345 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
11346 list of testsuite crashers.
11348 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11350 * java/util/IdentityHashMap.java (put): Set new threshold correctly
11351 when resizing table.
11353 2002-04-01 Mark Wielaard <mark@klomp.org>
11355 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
11356 NegativeArraySizeException
11357 (clear(int)): Use sign extended shift.
11358 (flip(int)): Likewise.
11359 (get(int)): Likewise.
11360 (nextClearBit(int)): Likewise.
11361 (nextSetBit(int)): Likewise.
11362 (set(int)): Likewise.
11364 2002-04-01 Mark Wielaard <mark@klomp.org>
11366 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
11367 that can be compiled now and add testsuite crashers to ignore list.
11369 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
11371 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
11373 * libgcj.spec.in: Override libgcc, not lib.
11374 * libgcj-test.spec.in: Likewise.
11376 2002-03-29 Tom Tromey <tromey@redhat.com>
11378 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
11379 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
11381 2002-03-27 Jeff Sturm <jsturm@one-point.com>
11383 * java/net/PlainDatagramSocketImpl.java
11384 (close): Use native implementation.
11385 (finalize): New method.
11387 * java/net/PlainSocketImpl.java (finalize): New method.
11389 * java/net/natPlainDatagramSocketImpl.cc
11390 (java/io/FileDescriptor.h): Don't include.
11391 (close): Implement method here.
11392 (create): Don't assign fd.
11394 * java/net/natPlainSocketImpl.cc
11395 (java/io/FileDescriptor.h): Don't include.
11396 (create): Don't assign fd.
11397 (accept): Likewise.
11398 (close): Synchronize.
11400 2002-03-27 Richard Henderson <rth@redhat.com>
11402 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
11404 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11406 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11407 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
11408 instead of syscall on IA-64.
11411 2002-03-27 Anthony Green <green@redhat.com>
11413 * libgcj.spec.in: Add CHECKREFSPEC.
11414 * configure.in: Ditto.
11415 * configure.host: Ditto. Check references for xscale-elf.
11416 * configure: Rebuilt.
11418 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
11420 * include/dwarf2-signal.h: Temporarily back out last change.
11422 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
11424 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
11426 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11428 * configure.in, configure: enable dwarf2-exception-style
11429 exception handling on IA-64.
11430 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11431 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
11434 2002-03-25 Tom Tromey <tromey@redhat.com>
11436 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
11437 (jv_convert_LDFLAGS): Likewise.
11438 (gij_LDFLAGS): Likewise.
11439 (rmic_LDFLAGS): Likewise.
11440 (rmiregistry_LDFLAGS): Likewise.
11441 * configure.in (THREADLDFLAGS): New subst; set correctly for
11444 2002-03-25 Tom Tromey <tromey@redhat.com>
11446 For PR libgcj/5303:
11447 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
11449 (help): New method.
11450 (version): Likewise.
11451 * gnu/gcj/convert/Convert.java (version): Removed extraneous
11453 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
11456 2002-03-25 Tom Tromey <tromey@redhat.com>
11458 * java/awt/Component.java (processEvent): Check ComponentEvent
11461 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11463 * java/io/PushbackReader.java: Reformat.
11465 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
11466 calculate correct number of bytes skipped.
11468 Based on patch from Intel's ORP team:
11469 * java/io/PushbackInputStream.java (available): Calculate correct
11470 number of bytes in buffer.
11471 (read): Remove redundant bound check. Return bytes from both the
11472 buffer and the stream.
11474 2002-03-24 Tom Tromey <tromey@redhat.com>
11476 * java/awt/TextComponent.java (TextComponent): Editable by
11479 * java/awt/MenuItem.java (eventMask): No longer private.
11480 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
11481 superclass if we didn't handle event.
11482 * java/awt/Checkbox.java (dispatchEventImpl): New method.
11483 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
11484 * java/awt/Choice.java (dispatchEventImpl): New method.
11485 * java/awt/List.java (dispatchEventImpl): New method.
11486 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
11487 * java/awt/TextComponent.java (dispatchEventImpl): New method.
11488 * java/awt/TextField.java (dispatchEventImpl): New method.
11490 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11492 * java/beans/IntrospectionException.java: Update to 1.4.
11493 * java/beans/PropertyVetoException.java: Ditto.
11495 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11497 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
11498 Arrays.equals instead of ArrayHelper.equalsArray.
11500 2002-03-24 C. Brian Jones <cbj@gnu.org>
11502 * java/beans/Introspector.java: added new static final fields
11503 introduced in 1.2, lots of other updates remain to be done
11505 2002-03-24 C. Brian Jones <cbj@gnu.org>
11507 * java/beans/Introspector.java: reformatting
11509 2002-03-24 C. Brian Jones <cbj@gnu.org>
11511 * java/beans/Introspector.java: default beanInfoSearchPath will
11512 not include sun.beans.infos given we provide no such package and
11513 the API doesn't really require it; gnu.java.beans.info is the
11516 2002-03-24 Mark Wielaard <mark@klomp.org>
11518 Thanks to Orp developers
11519 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
11520 switch TRUE and FALSE return values.
11522 2002-03-23 Tom Tromey <tromey@redhat.com>
11524 * include/name-finder.h (_Jv_name_finder::myclose): New method.
11525 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
11527 2002-03-23 Michael Smith <msmith@spinnakernet.com>
11529 * java/util/GregorianCalendar.java (minimums, maximums): Correct
11530 MONTH entry. Fixes PR libgcj/6045.
11532 2002-03-23 Jeff Sturm <jsturm@one-point.com>
11534 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11536 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11538 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11540 * sysdep/powerpc/locks.h (write_barrier): New function.
11541 * sysdep/i386/locks.h (write_barrier): New function.
11543 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
11545 * include/jni.h Use correct C comments.
11547 2002-03-18 Tom Tromey <tromey@redhat.com>
11549 * include/jni.h (JNIIMPORT): New macro.
11550 (JNIEXPORT): Likewise.
11551 (JNICALL): Likewise.
11553 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11555 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11558 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
11560 * include/i386-signal.h (old_i386_kernel_sigaction): New.
11561 INIT_SEGV: Use old_i386_kernel_sigaction.
11564 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11566 * java/lang/natSystem.cc (init_properties): Update VM version
11568 * configure.in: Set GCJVERSION.
11569 * acconfig.h: Add GCJVERSION.
11570 * configure: Rebuilt.
11571 * include/config.h.in: Rebuilt.
11573 2002-03-17 Anthony Green <green@redhat.com>
11575 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11577 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11579 Build a single libgcj.so, without separate gc and zlib libraries.
11580 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11581 SYS_ZLIBS if system zlib is used.
11582 * configure: Rebuilt.
11583 * Makefile.am: Use boehm-gc and zlib convenience libraries.
11584 * Makefile.in: Rebuilt.
11585 * libtool-version: Increment .so version number.
11587 * Makefile.am: Escape quotes in echo.
11588 * Makefile.in: Rebuilt.
11590 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11592 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11593 * Makefile.in: Rebuilt.
11595 2002-03-15 Anthony Green <green@redhat.com>
11597 * configure.host (FILE): New macro for specifing File
11599 * configure: Rebuilt.
11600 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
11602 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
11604 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11605 already implicitly brought in from libgcj.la.
11606 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11607 * Makefile.in: Rebuilt.
11609 2002-03-15 Eric Blake <ebb9@email.byu.edu>
11611 * THANKS: Fix punctuation, alphabetization.
11613 2002-03-15 Tom Tromey <tromey@redhat.com>
11614 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11616 Fix for PR libgcj/5944.
11617 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11619 2002-03-15 Anthony Green <green@redhat.com>
11621 * configure.in (tool_include_dir): Define.
11622 * configure: Rebuilt.
11623 * gcj/Makefile.am: Install libgcj-config.h relative to
11625 * gcj/Makefile: Rebuilt.
11626 * gcj/libgcj-config.h: Add warning comment.
11628 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
11630 * configure.host (powerpc*-darwin*): Enable interpreter.
11632 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11634 * include/posix.h: Add multiple include header protection.
11635 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11637 2002-03-10 Adam Megacz <adam@xwt.org>
11639 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11641 2002-03-10 Tom Tromey <tromey@redhat.com>
11643 * java/awt/GridLayout.java (layoutContainer): Handle case where
11644 there are no items in container.
11646 * java/lang/Win32Process.java: Added comment.
11647 * include/posix.h (_Jv_platform_close_on_exec): New function.
11649 * include/win32.h (_Jv_platform_close_on_exec): New function.
11650 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11652 (accept): Likewise.
11653 * java/net/natPlainDatagramSocketImpl.cc (create): Set
11654 close-on-exec flag.
11655 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11658 2002-03-09 Tom Tromey <tromey@redhat.com>
11660 * verify.cc (state::NO_STACK): New constant.
11661 (state::is_unmerged_ret_state): Handle case where stacktop is
11663 (state::merge): Handle NO_STACK merges.
11664 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11665 for instruction following jsr.
11666 (stacktop, stackdepth): Removed unused variables.
11667 (pop_jump): Ignore case where all remaining states are skipped.
11669 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11671 * java/awt/ImageMediaEntry: Removed.
11672 * java/awt/MediaEntry: Removed.
11674 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11676 Hashtable synchronization for PowerPC.
11677 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11678 slow_pthread_self. Set up symlink for sysdeps directory.
11679 * configure: Rebuild.
11680 * configure.host: Document more shell variables. Set sysdeps_dir
11681 for most platforms. Set slow_pthread_self for i686. Set
11682 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11683 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11684 that memory barrier is emitted where required.
11685 * prims.cc: 64-bit align static primitive class instances.
11686 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11687 read_barrier() to enforce ordering of reads.
11688 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11689 primitives for PowerPC.
11690 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11691 moved from natObject.cc.
11692 * sysdep/alpha/locks.h: Likewise.
11693 * sysdep/ia64/locks.h: Likewise.
11694 * sysdep/generic/locks.h: Likewise.
11695 * java/lang/natObject.cc: Move thread synchronization primitives to
11696 system-dependent headers.
11698 2002-03-09 Adam Megacz <adam@xwt.org>
11700 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11701 bytes read and no failure code returned.
11703 2002-03-09 Adam Megacz <adam@xwt.org>
11705 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11706 definitions to simulate -mthreads.
11708 2002-03-09 Adam Megacz <adam@xwt.org>
11710 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11711 avoid precision loss.
11713 2002-03-09 Per Bothner <per@bothner.com>
11715 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11716 * gnu/gcj/xlib/XImage.java: Likewise.
11717 * gnu/gcj/xlib/XColor.java: Likewise.
11719 2002-03-09 Adam Megacz <adam@xwt.org>
11721 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11722 IOException so that Throwable.printStackTrace fails correctly.
11724 2002-03-08 Adam Megacz <adam@xwt.org>
11726 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11729 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11731 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11734 2002-03-08 Tom Tromey <tromey@redhat.com>
11736 * include/jni.h: Include stdio.h.
11738 2002-03-08 Tom Tromey <tromey@redhat.com>
11740 * posix.cc (internal_gettimeofday): New function.
11741 (_Jv_select): Use it.
11743 2002-03-07 Adam Megacz <adam@xwt.org>
11745 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11746 WIN32, and added thunks for read(), write(), and close().
11747 * java/net/natPlainSocketImpl.cc (accept, read, read):
11748 Disabled timeouts on WIN32 pending discussion.
11750 2002-03-07 Adam Megacz <adam@xwt.org>
11752 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11753 returns jlong. Added implementation
11754 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11756 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11758 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11760 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11761 _Jv_platform_gettimeofday signature.
11763 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11765 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11766 (read): Call recv() directly, not _Jv_recv().
11768 2002-03-06 Tom Tromey <tromey@redhat.com>
11770 * java/io/natFileDescriptorEcos.cc (init): Don't use
11772 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11774 (init): Don't use GetStdHandle.
11776 * include/config.h.in: Rebuilt.
11777 * configure: Rebuilt.
11778 * Makefile.in: Rebuilt.
11780 2002-03-06 Adam Megacz <adam@xwt.org>
11782 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11783 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11784 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11785 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11787 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11789 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11790 the code for generating include/java-chartables.h.
11791 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11792 merge with Classpath.
11793 * scripts/unicode-muncher.pl: Copy from Classpath.
11794 * scritps/MakeCharTables.java: New file.
11795 * gnu/gcj/convert/Blocks-3.txt: New file.
11796 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11797 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11798 * gnu/java/lang/CharData.java: Copy from Classpath.
11799 * Makefile.am (ordinary_java_source_files): Add
11800 gnu/java/lang/CharData.java.
11801 * configure.in: Remove --enable-fast-character option.
11802 * java/lang/Character.java: Merge algorithms and Javadoc with
11804 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11806 * include/java-chardecomp.h: Regenerate.
11807 * include/java-chartables.h: Regenerate.
11809 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11811 * java/awt/MediaTracker.java: Implemented.
11812 * Makefile.am: Add MediaTracker.
11813 * Makefile.in: Rebuilt.
11815 2002-03-05 Tom Tromey <tromey@redhat.com>
11817 * java/lang/natPosixProcess.cc (fail): Removed.
11818 (startProcess): Simplified error-handling. Preserve
11819 LD_LIBRARY_PATH across exec.
11821 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11822 AbstractMethodError.
11824 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11826 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11827 * Makefile.in: Rebuilt.
11829 2002-03-03 Mark Wielaard <mark@klomp.org>
11831 * java/util/Timer (TaskQueue.stop): set elements to zero.
11833 2002-02-28 Anthony Green <green@redhat.com>
11835 * java/lang/reflect/natMethod.cc (result): Add void* element.
11836 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11839 2002-02-27 Adam Megacz <adam@xwt.org>
11841 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11844 2002-02-26 Tom Tromey <tromey@redhat.com>
11846 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11847 * gij.cc (version): Use __VERSION__.
11848 * include/config.h.in: Rebuilt.
11849 * acconfig.h (GCJVERSION): Removed.
11850 * configure: Rebuilt.
11851 * configure.in (GCJVERSION): Removed.
11853 2002-02-26 Andreas Schwab <schwab@suse.de>
11855 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11856 glibcpp_CXX, since libjava uses even another CXX.
11857 * aclocal.m4, configure: Regenerated.
11859 2002-02-26 Tom Tromey <tromey@redhat.com>
11861 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11864 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11866 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11867 dependency tracking for .java files.
11868 * Makefile.in: Rebuilt.
11870 2002-02-24 Adam Megacz <adam@xwt.org>
11872 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11875 2002-02-24 Adam Megacz <adam@xwt.org>
11877 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11878 for Win32, changed #ifdefs to check WIN32 instead of the
11879 (now-obsolete) USE_WINSOCK, and removed support for socket
11880 timeouts on Win32 pending further discussion.
11882 2002-02-24 Adam Megacz <adam@xwt.org>
11884 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11885 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11888 2002-02-24 Adam Megacz <adam@xwt.org>
11890 * java/lang/Win32Process.java: Created a dummy class to allow
11891 build process to run to completion.
11893 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11895 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11896 Define ffi_result union for ffi_call result. Cast
11897 ffi_result members to jvalue.
11899 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11901 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11902 * testsuite/Makefile.in: Likewise.
11904 2002-02-20 Per Bothner <per@bothner.com>
11906 * java/net/URL.java (getPath): New JDK 1.3 method.
11908 * java/net/URLStreamHandler.java (parseURL):
11909 It is wrong to prepend '/' to the file part of a relative url.
11911 * java/net/URLStreamHandler.java (parseURL):
11912 Minor optizations - append '/' rather than "/".
11914 * java/net/URLStreamHandler.java (parseURL):
11915 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11916 We probably should canonicalize for a context-relative url, though.
11917 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11918 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11919 (sameFile): New method. Uses canonicalizeFilename.
11921 2002-02-22 Tom Tromey <tromey@redhat.com>
11923 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11924 java.vendor and java.vm.vendor.
11925 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11926 recent copyright date.
11927 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11928 * gij.cc (version): Print `Inc'.
11930 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11932 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11933 * aclocal.m4, configure: Rebuilt.
11935 2002-02-20 Per Bothner <per@bothner.com>
11937 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11938 and/or output streams immediately here, instead of using File.exists.
11939 (inputStream, outputStream): New fields to save open streams.
11940 (getInputStream, getOutputStream): Use already-opened streams.
11942 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11944 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11946 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11947 * aclocal.m4, configure, Makefile.in: Rebuilt.
11949 2002-02-19 Tom Tromey <tromey@redhat.com>
11951 Fix for PR libgcj/5696:
11952 * verify.cc (is_assignable_from_slow): Never call
11953 _Jv_IsAssignableFrom.
11954 (verify_instructions_0): Added new debug statement.
11955 (state::print): Print information about whether local has
11957 (state::merge): Don't call note_variable when merging locals.
11958 (state::set_exception): Removed old FIXME comment.
11960 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11962 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11963 enable SO_BROADCAST.
11965 2002-02-18 Jason Merrill <jason@redhat.com>
11967 * name-finder.cc (toHex): Use word mode, not long long.
11969 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11971 2002-02-15 Tom Tromey <tromey@redhat.com>
11973 Fix for PR libgcj/5695:
11974 * verify.cc (is_assignable_from_slow): Check to see if target is
11975 an Object before checking to see if source is an interface.
11976 (verify_instructions_0) [op_invokeinterface]: Handle case where
11977 we're making an interface call on Object.
11979 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11981 * Makefile.in: Rebuilt with Eric's change below.
11983 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11984 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11985 Removed functions which are now implemented in Math.java.
11987 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11989 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11990 * Makefile.am (core_java_source_files): Add
11991 java/lang/StrictMath.java.
11992 * java/lang/Math.java: Merge with Classpath.
11993 * java/lang/StrictMath.java: New file - merge with Classpath.
11995 2002-02-14 Mark Wielaard <mark@klomp.org>
11997 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11998 package as a workaround for gcj 3.0.x
12000 2002-02-14 Mark Wielaard <mark@klomp.org>
12002 * java/security/BasicPermission.java: extends with fully qualified
12003 classname as workaround for gcj 3.0.4.
12005 2002-02-14 Eric Blake <ebb9@email.byu.edu>
12007 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
12008 around gcj bug of wrong emitted qualifier for inherited method.
12009 * java/net/SocketImpl.java (setOption, getOption): Ditto.
12010 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
12011 constructor to reduce amount of emitted bytecode. While this
12012 happens to work around a jikes 1.15 bug, it is still a useful
12013 patch even for correct compilers.
12014 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
12015 * gnu/java/rmi/server/UnicastRemoteCall.java
12016 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
12018 2002-02-14 Eric Blake <ebb9@email.byu.edu>
12020 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
12021 * java/net/SocketImpl.java: Ditto.
12022 * java/rmi/server/RMIClassLoader.java: Ditto.
12023 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
12025 2002-02-14 Mark Wielaard <mark@klomp.org>
12027 Thanks to Takashi Okamoto
12028 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
12029 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
12030 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
12032 2002-02-13 Todd Stock <toddastock@yahoo.com>
12034 Fix for PR libgcj/5670:
12035 * verify.cc (is_assignable_from_slow): If `source' is interface,
12036 recursively look for merge with `target'.
12038 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
12040 * include/jni.h: Fix typo.
12042 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
12044 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
12047 2002-02-13 Todd Stock <toddastock@yahoo.com>
12049 Fix for PR libgcj/5671:
12050 * verify.cc (state::merge): Handle case where we're merging
12051 against an interface.
12053 2002-02-12 Tom Tromey <tromey@redhat.com>
12055 * exception.cc (std::abort): Mark as noreturn.
12057 2002-02-12 Adam Megacz <adam@xwt.org>
12059 * java/lang/Win32Process.java: Filled in a placeholder
12060 implementation so Win32 will build.
12062 2002-02-12 Adam Megacz <adam@xwt.org>
12064 * java/io/natFilePosix.cc: Copied this from natFile.cc.
12065 * java/io/natFile.cc: Removed from repository.
12066 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
12068 2002-02-12 Adam Megacz <adam@xwt.org>
12070 * win32.cc: Added two #includes to make win32.cc compile.
12072 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12074 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
12076 (_Jv_InitGC): Don't bother locking, as this is always called from a
12077 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
12079 2002-02-11 Adam Megacz <adam@xwt.org>
12081 * include/win32.h: Added _Jv_platform_gettimeofday.
12082 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
12084 2002-02-11 Adam Megacz <adam@xwt.org>
12086 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
12087 Added #undef STRICT to make windows.h and
12088 java/lang/reflect/Modifier.h cooperate.
12090 2002-02-11 Adam Megacz <adam@xwt.org>
12092 * java/io/natFileWin32.cc: Created a placeholder class with lots
12095 2002-02-11 Adam Megacz <adam@xwt.org>
12097 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
12098 std::abort() to simply abort(). Also added "fake" std::abort() so
12099 we can #include unwind-pe.h without having to link against
12102 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
12104 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
12106 2002-02-08 Tom Tromey <tromey@redhat.com>
12108 * interpret.cc (convert): New function.
12109 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
12113 2002-02-08 Anthony Green <green@redhat.com>
12115 * configure.host: Add support for xscale-elf embedded target.
12117 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
12119 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
12121 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
12124 2002-02-07 Tom Tromey <tromey@redhat.com>
12126 * java/io/natFile.cc (_access): Use __builtin_alloca.
12129 (getCanonicalPath): Likewise.
12130 (performList): Likewise.
12131 (performMkdir): Likewise.
12132 (performSetReadOnly): Likewise.
12133 (performRenameTo): Likewise.
12134 (performSetLastModified): Likewise.
12135 (performCreate): Likewise.
12136 (performDelete): Likewise.
12138 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12140 * HACKING: Fix URL for the automake-gcj.
12142 2002-02-07 Tom Tromey <tromey@redhat.com>
12144 * java/lang/natThrowable.cc: Updated copyright.
12145 * java/io/natFileWin32.cc: Updated copyright.
12146 * java/io/natFileDescriptorWin32.cc: Updated copyright.
12147 * win32-threads.cc: Updated copyright.
12148 * name-finder.cc: Updated copyright.
12149 * include/name-finder.h: Updated copyright.
12151 * include/name-finder.h: Conditionally include sys/wait.h.
12152 * include/config.h.in: Rebuilt.
12154 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
12155 Size buffer based on real size of string.
12158 (getCanonicalPath): Likewise.
12159 (performList): Likewise.
12160 (performMkdir): Likewise.
12161 (performSetReadOnly): Likewise.
12162 (unixroot): Removed.
12163 (performRenameTo): Likewise.
12164 (performSetLastModified): Likewise.
12165 (performCreate): Likewise.
12166 (performDelete): Likewise.
12167 (performListRoots): Always return new array.
12169 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
12170 * win32.cc (win32_exception_handler): Now static.
12171 * include/win32.h (_Jv_platform_initialize): Declare.
12172 (win32_exception_handler): Don't declare.
12173 * java/lang/natSystem.cc (currentTimeMillis): Use
12174 _Jv_platform_gettimeofday.
12175 * posix.cc (_Jv_platform_gettimeofday): Renamed.
12176 (_Jv_select): Use new name.
12177 (_Jv_platform_initialize): New function.
12178 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
12180 (_Jv_platform_initialize): Declare.
12182 * configure: Rebuilt.
12183 * configure.in: Removed unnecessary parens.
12185 2002-02-06 Adam Megacz <adam@xwt.org>
12187 * configure.in: Changed mingw) to *mingw*).
12188 * win32.cc: Created this file.
12189 * win32.h: Created this file.
12190 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
12191 win32_exception_handler from prims.cc to win32.cc, added
12193 * prims.cc: removed some #ifdef-WIN32'd headers which are no
12194 longer needed now that we have platform.h
12196 2002-02-06 Adam Megacz <adam@xwt.org>
12198 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
12199 use uint<n>_t instead of LONG and BYTE
12201 2002-02-06 Adam Megacz <adam@xwt.org>
12203 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
12205 2002-02-06 Anthony Green <green@redhat.com>
12207 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
12208 Implement missing method stubs.
12209 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
12211 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
12212 concept of timezones.
12213 (init_properties): Don't refer to _Jv_Environment_Properties
12214 when this feature is not available.
12215 * include/config.h.in: Rebuilt.
12216 * acconfig.h: Add DISABLE_MAIN_ARGS.
12217 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
12218 * configure: Rebuilt.
12219 * configure.in: Add --disable-main-args option. Test for
12220 opendir function. Replace AC_CHECK_SIZEOF with
12221 AC_COMPILE_CHECK_SIZEOF.
12222 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
12223 * aclocal.m4: Rebuilt.
12224 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
12226 2002-02-06 Tom Tromey <tromey@redhat.com>
12228 * verify.cc (require_array_type): If argument is a null array of
12229 references, return null as the element type.
12231 2002-02-06 Mark Wielaard <mark@klomp.org>
12233 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
12234 duplicate of a wide type.
12236 2002-02-06 Tom Tromey <tromey@redhat.com>
12238 * verify.cc (type::isnull): New method.
12239 (require_array_type): Handle case where array is null.
12240 (verify_instructions_0) [op_arraylength]: Likewise.
12242 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12244 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
12245 Symlink PLATFORMH to platform.h.
12246 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
12248 * java/lang/natSystem.cc: #include platform.h not posix.h.
12249 * Makefile.in: Rebuilt with libgcj automake.
12250 * configure: Rebuilt.
12252 2002-02-05 Richard Henderson <rth@redhat.com>
12254 * Makefile.in: Undo munging last change.
12256 2002-02-04 Adam Megacz <adam@xwt.org>
12258 * win32.cc: Created it.
12259 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
12260 which is set to posix.cc or win32.cc.
12261 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
12263 2002-02-04 Adam Megacz <adam@xwt.org>
12265 * configure.in: Corrected mingw case branches; added * before
12268 2002-02-04 Adam Megacz <adam@xwt.org>
12270 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
12271 if compiling for win32
12273 2002-02-04 Adam Megacz <adam@xwt.org>
12275 * win32-threads.cc: #undef STRICT after gc.h inclusion
12277 2002-02-02 Tom Tromey <tromey@redhat.com>
12279 * Makefile.in: Rebuilt.
12281 2002-02-02 Jason Merrill <jason@redhat.com>
12283 * Makefile.am (clean-nat): New target.
12285 2002-02-02 Tom Tromey <tromey@redhat.com>
12287 * java/io/natFile.cc: Removed old "FIXME" comments.
12289 2002-02-01 Tom Tromey <tromey@redhat.com>
12291 * java/lang/natPosixProcess.cc (myclose): New function.
12293 (startProcess): Likewise.
12295 2002-02-01 Adam Megacz <adam@xwt.org>
12297 * prims.cc: Added #undef STRICT after #include<windows.h>.
12299 2002-02-01 Adam Megacz <adam@xwt.org>
12302 (_Jv_CreateJavaVM): We now use WIN32 instead of
12303 USE_WIN32_SIGNALLING and USE_WINSOCK.
12304 (win32_exception_handler): Now throws an exception out of
12305 the signal handler; assumes SJLJ.
12307 2002-02-01 Adam Megacz <adam@xwt.org>
12309 * win32-threads.cc:
12310 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
12311 wait() algorithm to make it safe.
12312 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
12313 Added lazy creation of Win32 Events for better performance
12314 (really_start): This now uses GC_CreateThread so boehm-gc
12315 knows about new threads even when statically linked.
12317 2002-02-01 Adam Megacz <adam@xwt.org>
12319 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
12320 enable safer wait() algorithm.
12321 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
12322 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
12323 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
12324 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
12326 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
12328 2002-02-01 Adam Megacz <adam@xwt.org>
12330 * configure.in: Added support for mingw.
12331 * java/lang/Win32Process.java: Created as empty file.
12332 * java/lang/natWin32Process.cc: Created as empty file.
12334 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
12337 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
12338 for libiconv in LIBICONV variable.
12339 * configure: Regenerated.
12341 2002-01-31 Tom Tromey <tromey@redhat.com>
12343 * verify.cc (state::enter_subroutine): New method.
12344 (handle_jsr_insn): Use it.
12345 (state::merge): When processing a `ret', correctly use
12346 subroutine's state to determine which local variables have
12348 (push_exception_jump): Don't let stack overflow.
12350 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
12352 * gnu/gcj/convert/Convert.java: Only include one copyright year in
12355 2002-01-30 Tom Tromey <tromey@redhat.com>
12357 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
12358 parameter for `recv' return type.
12360 * verify.cc (handle_ret_insn): Check for subroutine merge here...
12361 (state::merge): ... not here.
12362 (subr_entry_info): New structure.
12363 (entry_points): New field.
12364 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
12367 2002-01-29 Tom Tromey <tromey@redhat.com>
12369 * java/awt/List.java (addNotify): Correctly check to see if peer
12372 * java/awt/GridLayout.java (layoutContainer): Use number of rows
12373 to compute height of each cell, and number of columns to compute
12374 width of each cell.
12375 * java/awt/Window.java (getOwnedWindows): Don't return null.
12376 * java/awt/FlowLayout.java (layoutContainer): Set width and height
12377 of component. Increment x using horizontal gap, not vertical
12380 2002-01-28 Tom Tromey <tromey@redhat.com>
12382 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
12383 `nargs' byte is number of words, not number of arguments.
12385 2002-01-27 Tom Tromey <tromey@redhat.com>
12387 * java/awt/event/MouseEvent.java (modifiers): Removed field.
12389 * java/awt/event/InputEvent.java (modifiers, when): Now
12392 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
12394 (state::merge): Use current class' class loader.
12395 (state::print): Print subroutine.
12396 (state::merge): Don't look at subroutine of unmerged `ret'.
12398 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
12400 * nogc.cc: Remove warnings.
12401 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
12404 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12406 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
12407 int, int): Remove empty "if" statement to work around compiler bug.
12408 (newPixels(int[], ColorModel, int, int): Likewise.
12410 2002-01-25 Per Bothner <per@bothner.com>
12412 * verify.cc (verify_fail): Change from being a top-level function
12413 to e method of _Jv_BytecodeVerifier. Emit current method name.
12414 Pass the current verifier to type: and state: methods as needed,
12415 for better error messages, and for resolve.
12416 (resolve): Pass current class's loader for Class.forName and
12417 _Jv_FindClassFromSignature, rather than using the default loader.
12418 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
12419 (get_type_val_for_signature): Make non-static.
12420 (various methods): Pass start_PC implicitly, not explicitly.
12422 2002-01-25 Tom Tromey <tromey@redhat.com>
12424 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
12425 loop termination condition.
12426 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
12429 2002-01-24 Tom Tromey <tromey@redhat.com>
12431 * java/awt/Shape.java: Merged with Classpath.
12432 * java/awt/Scrollbar.java: Merged with Classpath.
12434 * java/awt/Container.java (addNotify): Unconditionally call
12435 addNotifyContainerChildren and superclass addNotify.
12437 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
12438 getAlpha, not getBlue.
12440 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12442 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
12444 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
12445 (grabPixels(long)): Wait to be notified that the ImageProducer has
12448 2002-01-24 Per Bothner <per@bothner.com>
12450 * verify.cc (is_assignable_from_slow): If target is an interface,
12451 we must still check the source's superclass before giving up.
12453 2002-01-24 Tom Tromey <tromey@redhat.com>
12455 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
12457 2002-01-23 Tom Tromey <tromey@redhat.com>
12459 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
12462 * Makefile.in: Rebuilt.
12463 * Makefile.am (awt_java_source_files): Added new files.
12464 * java/awt/Toolkit.java: Merged with Classpath.
12465 * java/awt/PrintGraphics.java: New file from Classpath.
12466 * java/awt/PrintJob.java: New file from Classpath.
12467 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
12468 * java/awt/datatransfer/ClipboardOwner.java: New file from
12470 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
12471 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
12472 * java/awt/datatransfer/MimeTypeParseException.java: New file from
12474 * java/awt/datatransfer/StringSelection.java: New file from
12476 * java/awt/datatransfer/SystemFlavorMap.java: New file from
12478 * java/awt/datatransfer/Transferable.java: New file from
12480 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
12483 * Makefile.in: Rebuilt.
12484 * Makefile.am (awt_java_source_files): Added new files.
12485 * java/awt/image/AreaAveragingScaleFilter.java: New file from
12487 * java/awt/image/CropImageFilter.java: New file from Classpath.
12488 * java/awt/image/FilteredImageSource.java: New file from
12490 * java/awt/image/ImageFilter.java: New file from Classpath.
12491 * java/awt/image/MemoryImageSource.java: New file from Classpath.
12492 * java/awt/image/PixelGrabber.java: New file from Classpath.
12493 * java/awt/image/RGBImageFilter.java: New file from Classpath.
12494 * java/awt/image/ReplicateScaleFilter.java: New file from
12496 * java/awt/image/ImageProducer.java: Replaced with Classpath
12498 * java/awt/image/ImageObserver.java: Replaced with Classpath
12500 * java/awt/image/ImageConsumer.java: Replaced with Classpath
12502 * java/awt/GridBagConstraints.java (clone): Catch
12503 CloneNotSupportedException.
12505 2002-01-23 Per Bothner <per@bothner.com>
12507 * java/lang/reflect/natField.cc (setAddr): New function.
12508 Calls getAddr and then checks that the field isn't final.
12509 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
12510 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
12511 (set): Call setAddr before check that new value has right type,
12512 to better match specified semantics.
12514 2002-01-22 Tom Tromey <tromey@redhat.com>
12516 * java/awt/TextField.java: Replaced with Classpath version.
12517 * java/awt/TextArea.java: Replaced with Classpath version.
12518 * java/awt/TextComponent.java: Replaced with Classpath version.
12520 * java/awt/GridBagConstraints.java: Updated copyright.
12522 2002-01-22 Mark Wielaard <mark@klomp.org>
12524 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
12525 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
12526 java/awt/Dialog.java java/awt/FileDialog.java
12527 java/awt/Font.java java/awt/FontMetrics.java
12528 java/awt/Image.java java/awt/ImageMediaEntry.java
12529 java/awt/Insets.java java/awt/List.java
12530 java/awt/MediaEntry.java java/awt/MediaTracker.java
12531 java/awt/Menu.java java/awt/MenuBar.java
12532 java/awt/MenuContainer.java java/awt/MenuShortcut.java
12533 java/awt/PaintContext.java java/awt/Panel.java
12534 java/awt/PopupMenu.java java/awt/SystemColor.java
12535 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12536 java/awt/peer/CheckboxMenuItemPeer.java
12537 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12538 java/awt/peer/ComponentPeer.java
12539 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12540 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12541 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12542 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12543 java/awt/peer/MenuBarPeer.java
12544 java/awt/peer/MenuComponentPeer.java
12545 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12546 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12547 java/awt/peer/ScrollPanePeer.java
12548 java/awt/peer/ScrollbarPeer.java
12549 java/awt/peer/TextAreaPeer.java
12550 java/awt/peer/TextComponentPeer.java
12551 java/awt/peer/TextFieldPeer.java
12552 java/awt/peer/WindowPeer.java: Add license clarification.
12554 2002-01-22 Mark Wielaard <mark@klomp.org>
12556 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12557 gnu/gcj/runtime/StringBuffer.java
12558 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12559 gnu/java/awt/ComponentDataBlitOp.java
12560 gnu/java/awt/GLightweightPeer.java
12561 gnu/java/beans/BeanInfoEmbryo.java
12562 gnu/java/beans/EmptyBeanInfo.java
12563 gnu/java/beans/ExplicitBeanInfo.java
12564 gnu/java/beans/IntrospectionIncubator.java
12565 gnu/java/beans/editors/ColorEditor.java
12566 gnu/java/beans/editors/FontEditor.java
12567 gnu/java/beans/editors/NativeBooleanEditor.java
12568 gnu/java/beans/editors/NativeByteEditor.java
12569 gnu/java/beans/editors/NativeDoubleEditor.java
12570 gnu/java/beans/editors/NativeFloatEditor.java
12571 gnu/java/beans/editors/NativeIntEditor.java
12572 gnu/java/beans/editors/NativeLongEditor.java
12573 gnu/java/beans/editors/NativeShortEditor.java
12574 gnu/java/beans/editors/StringEditor.java
12575 gnu/java/beans/info/ComponentBeanInfo.java
12576 gnu/java/io/ClassLoaderObjectInputStream.java
12577 gnu/java/io/NullOutputStream.java
12578 gnu/java/io/ObjectIdentityWrapper.java
12579 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12580 gnu/java/lang/reflect/TypeSignature.java
12581 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12582 gnu/java/locale/Calendar_en.java
12583 gnu/java/locale/Calendar_nl.java
12584 gnu/java/locale/LocaleInformation.java
12585 gnu/java/locale/LocaleInformation_de.java
12586 gnu/java/locale/LocaleInformation_en.java
12587 gnu/java/locale/LocaleInformation_nl.java
12588 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12589 gnu/java/rmi/registry/RegistryImpl.java
12590 gnu/java/rmi/rmic/Compile_gcj.java
12591 gnu/java/rmi/rmic/Compiler.java
12592 gnu/java/rmi/rmic/CompilerProcess.java
12593 gnu/java/rmi/rmic/RMIC.java
12594 gnu/java/rmi/rmic/TabbedWriter.java
12595 gnu/java/rmi/server/ProtocolConstants.java
12596 gnu/java/rmi/server/RMIDefaultSocketFactory.java
12597 gnu/java/rmi/server/RMIHashes.java
12598 gnu/java/rmi/server/RMIObjectInputStream.java
12599 gnu/java/rmi/server/RMIObjectOutputStream.java
12600 gnu/java/rmi/server/UnicastConnection.java
12601 gnu/java/rmi/server/UnicastConnectionManager.java
12602 gnu/java/rmi/server/UnicastRef.java
12603 gnu/java/rmi/server/UnicastRemoteCall.java
12604 gnu/java/rmi/server/UnicastRemoteStub.java
12605 gnu/java/rmi/server/UnicastServer.java
12606 gnu/java/rmi/server/UnicastServerRef.java
12607 gnu/java/security/provider/DefaultPolicy.java
12608 gnu/java/security/provider/Gnu.java
12609 gnu/java/security/provider/SHA.java
12610 gnu/java/security/provider/SHA1PRNG.java
12611 gnu/java/text/BaseBreakIterator.java
12612 gnu/java/text/CharacterBreakIterator.java
12613 gnu/java/text/LineBreakIterator.java
12614 gnu/java/text/SentenceBreakIterator.java
12615 gnu/java/text/WordBreakIterator.java
12616 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12617 java/applet/AppletContext.java java/applet/AppletStub.java
12618 java/applet/AudioClip.java java/awt/AWTError.java
12619 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12620 java/awt/AWTException.java java/awt/AWTPermission.java
12621 java/awt/ActiveEvent.java java/awt/BorderLayout.java
12622 java/awt/Button.java java/awt/Canvas.java
12623 java/awt/CardLayout.java java/awt/Checkbox.java
12624 java/awt/CheckboxGroup.java java/awt/Component.java
12625 java/awt/ComponentOrientation.java java/awt/Container.java
12626 java/awt/Dimension.java java/awt/Event.java
12627 java/awt/EventDispatchThread.java java/awt/EventQueue.java
12628 java/awt/FlowLayout.java java/awt/Frame.java
12629 java/awt/Graphics.java java/awt/Graphics2D.java
12630 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12631 java/awt/IllegalComponentStateException.java
12632 java/awt/ItemSelectable.java java/awt/Label.java
12633 java/awt/LayoutManager.java java/awt/LayoutManager2.java
12634 java/awt/MenuComponent.java java/awt/MenuItem.java
12635 java/awt/Paint.java java/awt/Point.java
12636 java/awt/Rectangle.java java/awt/RenderingHints.java
12637 java/awt/Transparency.java java/awt/Window.java
12638 java/awt/color/ColorSpace.java
12639 java/awt/color/ICC_ColorSpace.java
12640 java/awt/color/ICC_Profile.java
12641 java/awt/event/HierarchyBoundsAdapter.java
12642 java/awt/event/HierarchyBoundsListener.java
12643 java/awt/event/HierarchyEvent.java
12644 java/awt/event/HierarchyListener.java
12645 java/awt/geom/AffineTransform.java
12646 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12647 java/awt/geom/IllegalPathStateException.java
12648 java/awt/geom/Line2D.java
12649 java/awt/geom/NoninvertibleTransformException.java
12650 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12651 java/awt/geom/Rectangle2D.java
12652 java/awt/geom/RectangularShape.java
12653 java/awt/geom/RoundRectangle2D.java
12654 java/awt/image/BufferedImage.java
12655 java/awt/image/ColorModel.java
12656 java/awt/image/ComponentColorModel.java
12657 java/awt/image/ComponentSampleModel.java
12658 java/awt/image/DataBuffer.java
12659 java/awt/image/DataBufferByte.java
12660 java/awt/image/DataBufferInt.java
12661 java/awt/image/DataBufferUShort.java
12662 java/awt/image/DirectColorModel.java
12663 java/awt/image/PackedColorModel.java
12664 java/awt/image/Raster.java java/awt/image/RasterOp.java
12665 java/awt/image/SampleModel.java
12666 java/awt/image/SinglePixelPackedSampleModel.java
12667 java/awt/image/WritableRaster.java
12668 java/beans/AppletInitializer.java
12669 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12670 java/beans/Beans.java java/beans/Customizer.java
12671 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12672 java/beans/FeatureDescriptor.java
12673 java/beans/IndexedPropertyDescriptor.java
12674 java/beans/IntrospectionException.java
12675 java/beans/Introspector.java java/beans/MethodDescriptor.java
12676 java/beans/ParameterDescriptor.java
12677 java/beans/PropertyChangeEvent.java
12678 java/beans/PropertyChangeListener.java
12679 java/beans/PropertyChangeSupport.java
12680 java/beans/PropertyDescriptor.java
12681 java/beans/PropertyEditor.java
12682 java/beans/PropertyEditorManager.java
12683 java/beans/PropertyEditorSupport.java
12684 java/beans/PropertyVetoException.java
12685 java/beans/SimpleBeanInfo.java
12686 java/beans/VetoableChangeListener.java
12687 java/beans/VetoableChangeSupport.java
12688 java/beans/Visibility.java
12689 java/beans/beancontext/BeanContext.java
12690 java/beans/beancontext/BeanContextChild.java
12691 java/beans/beancontext/BeanContextChildComponentProxy.java
12692 java/beans/beancontext/BeanContextChildSupport.java
12693 java/beans/beancontext/BeanContextContainerProxy.java
12694 java/beans/beancontext/BeanContextEvent.java
12695 java/beans/beancontext/BeanContextMembershipEvent.java
12696 java/beans/beancontext/BeanContextMembershipListener.java
12697 java/beans/beancontext/BeanContextProxy.java
12698 java/beans/beancontext/BeanContextServiceAvailableEvent.java
12699 java/beans/beancontext/BeanContextServiceProvider.java
12700 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12701 java/beans/beancontext/BeanContextServiceRevokedEvent.java
12702 java/beans/beancontext/BeanContextServiceRevokedListener.java
12703 java/beans/beancontext/BeanContextServices.java
12704 java/beans/beancontext/BeanContextServicesListener.java
12705 java/io/BufferedInputStream.java
12706 java/io/BufferedOutputStream.java java/io/BufferedReader.java
12707 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12708 java/io/ByteArrayOutputStream.java
12709 java/io/CharArrayReader.java java/io/CharArrayWriter.java
12710 java/io/CharConversionException.java java/io/DataInput.java
12711 java/io/DataInputStream.java java/io/DataOutput.java
12712 java/io/EOFException.java java/io/Externalizable.java
12713 java/io/FileFilter.java java/io/FileNotFoundException.java
12714 java/io/FilePermission.java java/io/FileReader.java
12715 java/io/FileWriter.java java/io/FilenameFilter.java
12716 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12717 java/io/FilterReader.java java/io/FilterWriter.java
12718 java/io/IOException.java java/io/InputStream.java
12719 java/io/InterruptedIOException.java
12720 java/io/InvalidClassException.java
12721 java/io/InvalidObjectException.java
12722 java/io/NotActiveException.java
12723 java/io/NotSerializableException.java java/io/ObjectInput.java
12724 java/io/ObjectInputStream.java
12725 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12726 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12727 java/io/ObjectStreamConstants.java
12728 java/io/ObjectStreamException.java
12729 java/io/ObjectStreamField.java
12730 java/io/OptionalDataException.java java/io/OutputStream.java
12731 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12732 java/io/PipedReader.java java/io/PipedWriter.java
12733 java/io/PrintWriter.java java/io/PushbackInputStream.java
12734 java/io/PushbackReader.java java/io/Reader.java
12735 java/io/SequenceInputStream.java java/io/Serializable.java
12736 java/io/SerializablePermission.java
12737 java/io/StreamCorruptedException.java
12738 java/io/StreamTokenizer.java
12739 java/io/StringBufferInputStream.java java/io/StringReader.java
12740 java/io/StringWriter.java java/io/SyncFailedException.java
12741 java/io/UTFDataFormatException.java
12742 java/io/UnsupportedEncodingException.java
12743 java/io/WriteAbortedException.java java/io/Writer.java
12744 java/lang/AbstractMethodError.java
12745 java/lang/ArithmeticException.java
12746 java/lang/ArrayIndexOutOfBoundsException.java
12747 java/lang/ArrayStoreException.java java/lang/Boolean.java
12748 java/lang/Byte.java java/lang/CharSequence.java
12749 java/lang/ClassCastException.java
12750 java/lang/ClassCircularityError.java
12751 java/lang/ClassFormatError.java
12752 java/lang/ClassNotFoundException.java
12753 java/lang/CloneNotSupportedException.java
12754 java/lang/Cloneable.java java/lang/Comparable.java
12755 java/lang/Compiler.java java/lang/Double.java
12756 java/lang/Error.java java/lang/Exception.java
12757 java/lang/ExceptionInInitializerError.java
12758 java/lang/Float.java java/lang/IllegalAccessError.java
12759 java/lang/IllegalAccessException.java
12760 java/lang/IllegalArgumentException.java
12761 java/lang/IllegalMonitorStateException.java
12762 java/lang/IllegalStateException.java
12763 java/lang/IllegalThreadStateException.java
12764 java/lang/IncompatibleClassChangeError.java
12765 java/lang/IndexOutOfBoundsException.java
12766 java/lang/InheritableThreadLocal.java
12767 java/lang/InstantiationError.java
12768 java/lang/InstantiationException.java java/lang/Integer.java
12769 java/lang/InternalError.java
12770 java/lang/InterruptedException.java
12771 java/lang/LinkageError.java java/lang/Long.java
12772 java/lang/NegativeArraySizeException.java
12773 java/lang/NoClassDefFoundError.java
12774 java/lang/NoSuchFieldError.java
12775 java/lang/NoSuchFieldException.java
12776 java/lang/NoSuchMethodError.java
12777 java/lang/NoSuchMethodException.java
12778 java/lang/NullPointerException.java java/lang/Number.java
12779 java/lang/NumberFormatException.java
12780 java/lang/OutOfMemoryError.java java/lang/Package.java
12781 java/lang/Process.java java/lang/Runnable.java
12782 java/lang/RuntimeException.java
12783 java/lang/RuntimePermission.java
12784 java/lang/SecurityException.java
12785 java/lang/SecurityManager.java java/lang/Short.java
12786 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12787 java/lang/StringIndexOutOfBoundsException.java
12788 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12789 java/lang/ThreadLocal.java java/lang/UnknownError.java
12790 java/lang/UnsatisfiedLinkError.java
12791 java/lang/UnsupportedClassVersionError.java
12792 java/lang/UnsupportedOperationException.java
12793 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12794 java/lang/Void.java java/lang/ref/PhantomReference.java
12795 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12796 java/lang/ref/SoftReference.java
12797 java/lang/ref/WeakReference.java
12798 java/lang/reflect/AccessibleObject.java
12799 java/lang/reflect/InvocationTargetException.java
12800 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12801 java/lang/reflect/ReflectPermission.java
12802 java/math/BigDecimal.java java/math/BigInteger.java
12803 java/net/Authenticator.java java/net/BindException.java
12804 java/net/ConnectException.java java/net/ContentHandler.java
12805 java/net/ContentHandlerFactory.java
12806 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12807 java/net/FileNameMap.java java/net/MalformedURLException.java
12808 java/net/MulticastSocket.java java/net/NetPermission.java
12809 java/net/NoRouteToHostException.java
12810 java/net/PasswordAuthentication.java
12811 java/net/ProtocolException.java java/net/ServerSocket.java
12812 java/net/Socket.java java/net/SocketException.java
12813 java/net/SocketImpl.java java/net/SocketImplFactory.java
12814 java/net/SocketOptions.java java/net/SocketPermission.java
12815 java/net/URLDecoder.java java/net/URLEncoder.java
12816 java/net/URLStreamHandlerFactory.java
12817 java/net/UnknownHostException.java
12818 java/net/UnknownServiceException.java
12819 java/rmi/AccessException.java
12820 java/rmi/AlreadyBoundException.java
12821 java/rmi/ConnectException.java
12822 java/rmi/ConnectIOException.java
12823 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12824 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12825 java/rmi/NotBoundException.java
12826 java/rmi/RMISecurityException.java
12827 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12828 java/rmi/RemoteException.java java/rmi/ServerError.java
12829 java/rmi/ServerException.java
12830 java/rmi/ServerRuntimeException.java
12831 java/rmi/StubNotFoundException.java
12832 java/rmi/UnexpectedException.java
12833 java/rmi/UnknownHostException.java
12834 java/rmi/UnmarshalException.java
12835 java/rmi/activation/Activatable.java
12836 java/rmi/activation/ActivateFailedException.java
12837 java/rmi/activation/ActivationDesc.java
12838 java/rmi/activation/ActivationException.java
12839 java/rmi/activation/ActivationGroup.java
12840 java/rmi/activation/ActivationGroupDesc.java
12841 java/rmi/activation/ActivationGroupID.java
12842 java/rmi/activation/ActivationID.java
12843 java/rmi/activation/ActivationInstantiator.java
12844 java/rmi/activation/ActivationMonitor.java
12845 java/rmi/activation/ActivationSystem.java
12846 java/rmi/activation/Activator.java
12847 java/rmi/activation/UnknownGroupException.java
12848 java/rmi/activation/UnknownObjectException.java
12849 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12850 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12851 java/rmi/registry/Registry.java
12852 java/rmi/registry/RegistryHandler.java
12853 java/rmi/server/ExportException.java
12854 java/rmi/server/LoaderHandler.java
12855 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12856 java/rmi/server/Operation.java
12857 java/rmi/server/RMIClassLoader.java
12858 java/rmi/server/RMIClientSocketFactory.java
12859 java/rmi/server/RMIFailureHandler.java
12860 java/rmi/server/RMIServerSocketFactory.java
12861 java/rmi/server/RMISocketFactory.java
12862 java/rmi/server/RemoteCall.java
12863 java/rmi/server/RemoteObject.java
12864 java/rmi/server/RemoteRef.java
12865 java/rmi/server/RemoteServer.java
12866 java/rmi/server/RemoteStub.java
12867 java/rmi/server/ServerCloneException.java
12868 java/rmi/server/ServerNotActiveException.java
12869 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12870 java/rmi/server/SkeletonMismatchException.java
12871 java/rmi/server/SkeletonNotFoundException.java
12872 java/rmi/server/SocketSecurityException.java
12873 java/rmi/server/UID.java
12874 java/rmi/server/UnicastRemoteObject.java
12875 java/rmi/server/Unreferenced.java
12876 java/security/AccessControlContext.java
12877 java/security/AccessControlException.java
12878 java/security/AccessController.java
12879 java/security/AlgorithmParameterGenerator.java
12880 java/security/AlgorithmParameterGeneratorSpi.java
12881 java/security/AlgorithmParameters.java
12882 java/security/AlgorithmParametersSpi.java
12883 java/security/AllPermission.java
12884 java/security/BasicPermission.java
12885 java/security/Certificate.java java/security/CodeSource.java
12886 java/security/DigestException.java
12887 java/security/DigestInputStream.java
12888 java/security/DigestOutputStream.java
12889 java/security/DomainCombiner.java
12890 java/security/DummyKeyPairGenerator.java
12891 java/security/DummyMessageDigest.java
12892 java/security/DummySignature.java
12893 java/security/GeneralSecurityException.java
12894 java/security/Guard.java java/security/GuardedObject.java
12895 java/security/Identity.java java/security/IdentityScope.java
12896 java/security/InvalidAlgorithmParameterException.java
12897 java/security/InvalidKeyException.java
12898 java/security/InvalidParameterException.java
12899 java/security/Key.java java/security/KeyException.java
12900 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12901 java/security/KeyManagementException.java
12902 java/security/KeyPair.java java/security/KeyPairGenerator.java
12903 java/security/KeyPairGeneratorSpi.java
12904 java/security/KeyStore.java
12905 java/security/KeyStoreException.java
12906 java/security/KeyStoreSpi.java
12907 java/security/MessageDigest.java
12908 java/security/MessageDigestSpi.java
12909 java/security/NoSuchAlgorithmException.java
12910 java/security/NoSuchProviderException.java
12911 java/security/Permission.java
12912 java/security/PermissionCollection.java
12913 java/security/Permissions.java java/security/Policy.java
12914 java/security/Principal.java java/security/PrivateKey.java
12915 java/security/PrivilegedAction.java
12916 java/security/PrivilegedActionException.java
12917 java/security/PrivilegedExceptionAction.java
12918 java/security/ProtectionDomain.java
12919 java/security/Provider.java
12920 java/security/ProviderException.java
12921 java/security/PublicKey.java
12922 java/security/SecureClassLoader.java
12923 java/security/SecureRandom.java
12924 java/security/SecureRandomSpi.java java/security/Security.java
12925 java/security/SecurityPermission.java
12926 java/security/Signature.java
12927 java/security/SignatureException.java
12928 java/security/SignatureSpi.java
12929 java/security/SignedObject.java java/security/Signer.java
12930 java/security/UnrecoverableKeyException.java
12931 java/security/UnresolvedPermission.java
12932 java/security/acl/Acl.java java/security/acl/AclEntry.java
12933 java/security/acl/AclNotFoundException.java
12934 java/security/acl/Group.java
12935 java/security/acl/LastOwnerException.java
12936 java/security/acl/NotOwnerException.java
12937 java/security/acl/Owner.java java/security/acl/Permission.java
12938 java/security/cert/CRL.java
12939 java/security/cert/CRLException.java
12940 java/security/cert/Certificate.java
12941 java/security/cert/CertificateEncodingException.java
12942 java/security/cert/CertificateException.java
12943 java/security/cert/CertificateExpiredException.java
12944 java/security/cert/CertificateFactory.java
12945 java/security/cert/CertificateFactorySpi.java
12946 java/security/cert/CertificateNotYetValidException.java
12947 java/security/cert/CertificateParsingException.java
12948 java/security/cert/X509CRL.java
12949 java/security/cert/X509CRLEntry.java
12950 java/security/cert/X509Certificate.java
12951 java/security/cert/X509Extension.java
12952 java/security/interfaces/DSAKey.java
12953 java/security/interfaces/DSAKeyPairGenerator.java
12954 java/security/interfaces/DSAParams.java
12955 java/security/interfaces/DSAPrivateKey.java
12956 java/security/interfaces/DSAPublicKey.java
12957 java/security/interfaces/RSAKey.java
12958 java/security/interfaces/RSAPrivateCrtKey.java
12959 java/security/interfaces/RSAPrivateKey.java
12960 java/security/interfaces/RSAPublicKey.java
12961 java/security/spec/AlgorithmParameterSpec.java
12962 java/security/spec/DSAParameterSpec.java
12963 java/security/spec/DSAPrivateKeySpec.java
12964 java/security/spec/DSAPublicKeySpec.java
12965 java/security/spec/EncodedKeySpec.java
12966 java/security/spec/InvalidKeySpecException.java
12967 java/security/spec/InvalidParameterSpecException.java
12968 java/security/spec/KeySpec.java
12969 java/security/spec/PKCS8EncodedKeySpec.java
12970 java/security/spec/RSAKeyGenParameterSpec.java
12971 java/security/spec/RSAPrivateCrtKeySpec.java
12972 java/security/spec/RSAPrivateKeySpec.java
12973 java/security/spec/RSAPublicKeySpec.java
12974 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12975 java/sql/BatchUpdateException.java java/sql/Blob.java
12976 java/sql/CallableStatement.java java/sql/Clob.java
12977 java/sql/Connection.java java/sql/DataTruncation.java
12978 java/sql/DatabaseMetaData.java java/sql/Date.java
12979 java/sql/Driver.java java/sql/DriverManager.java
12980 java/sql/DriverPropertyInfo.java
12981 java/sql/PreparedStatement.java java/sql/Ref.java
12982 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12983 java/sql/SQLData.java java/sql/SQLException.java
12984 java/sql/SQLInput.java java/sql/SQLOutput.java
12985 java/sql/SQLWarning.java java/sql/Statement.java
12986 java/sql/Struct.java java/sql/Time.java
12987 java/sql/Timestamp.java java/sql/Types.java
12988 java/text/Annotation.java
12989 java/text/AttributedCharacterIterator.java
12990 java/text/AttributedString.java
12991 java/text/AttributedStringIterator.java
12992 java/text/BreakIterator.java java/text/CharacterIterator.java
12993 java/text/ChoiceFormat.java java/text/Collator.java
12994 java/text/DateFormat.java java/text/DateFormatSymbols.java
12995 java/text/DecimalFormat.java
12996 java/text/DecimalFormatSymbols.java
12997 java/text/FieldPosition.java java/text/Format.java
12998 java/text/MessageFormat.java java/text/NumberFormat.java
12999 java/text/ParseException.java java/text/ParsePosition.java
13000 java/text/SimpleDateFormat.java
13001 java/text/StringCharacterIterator.java
13002 java/util/AbstractCollection.java java/util/AbstractList.java
13003 java/util/AbstractMap.java
13004 java/util/AbstractSequentialList.java
13005 java/util/AbstractSet.java java/util/ArrayList.java
13006 java/util/Arrays.java java/util/BasicMapEntry.java
13007 java/util/BitSet.java java/util/Calendar.java
13008 java/util/Collection.java java/util/Collections.java
13009 java/util/Comparator.java
13010 java/util/ConcurrentModificationException.java
13011 java/util/Date.java java/util/Dictionary.java
13012 java/util/EmptyStackException.java java/util/Enumeration.java
13013 java/util/EventListener.java java/util/EventObject.java
13014 java/util/GregorianCalendar.java java/util/HashMap.java
13015 java/util/HashSet.java java/util/Hashtable.java
13016 java/util/IdentityHashMap.java java/util/Iterator.java
13017 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
13018 java/util/LinkedList.java java/util/List.java
13019 java/util/ListIterator.java java/util/ListResourceBundle.java
13020 java/util/Locale.java java/util/Map.java
13021 java/util/MissingResourceException.java
13022 java/util/NoSuchElementException.java
13023 java/util/Observable.java java/util/Observer.java
13024 java/util/Properties.java java/util/PropertyPermission.java
13025 java/util/PropertyResourceBundle.java java/util/Random.java
13026 java/util/RandomAccess.java java/util/ResourceBundle.java
13027 java/util/Set.java java/util/SimpleTimeZone.java
13028 java/util/SortedMap.java java/util/SortedSet.java
13029 java/util/Stack.java java/util/StringTokenizer.java
13030 java/util/TimeZone.java java/util/Timer.java
13031 java/util/TimerTask.java
13032 java/util/TooManyListenersException.java
13033 java/util/TreeMap.java java/util/TreeSet.java
13034 java/util/Vector.java java/util/WeakHashMap.java
13035 java/util/jar/Attributes.java java/util/jar/JarEntry.java
13036 java/util/jar/JarException.java java/util/jar/JarFile.java
13037 java/util/jar/JarInputStream.java
13038 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
13039 java/util/zip/Adler32.java java/util/zip/CRC32.java
13040 java/util/zip/CheckedInputStream.java
13041 java/util/zip/CheckedOutputStream.java
13042 java/util/zip/Checksum.java
13043 java/util/zip/DataFormatException.java
13044 java/util/zip/Deflater.java
13045 java/util/zip/DeflaterOutputStream.java
13046 java/util/zip/GZIPInputStream.java
13047 java/util/zip/GZIPOutputStream.java
13048 java/util/zip/Inflater.java
13049 java/util/zip/InflaterInputStream.java
13050 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
13051 java/util/zip/ZipException.java java/util/zip/ZipFile.java
13052 java/util/zip/ZipInputStream.java
13053 java/util/zip/ZipOutputStream.java
13054 javax/naming/BinaryRefAddr.java
13055 javax/naming/InvalidNameException.java javax/naming/Name.java
13056 javax/naming/NamingException.java javax/naming/RefAddr.java
13057 javax/naming/StringRefAddr.java: Add license clarification.
13059 2002-01-22 Tom Tromey <tromey@redhat.com>
13061 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
13062 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
13063 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
13065 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
13066 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
13067 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
13068 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
13069 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
13070 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
13071 * java/awt/peer/FontPeer.java: Replace with Classpath version.
13072 * java/awt/peer/FramePeer.java: Replace with Classpath version.
13073 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
13074 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
13075 * java/awt/peer/ListPeer.java: Replace with Classpath version.
13076 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
13077 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
13078 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
13079 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
13080 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
13081 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
13082 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
13083 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
13084 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
13085 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
13086 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
13087 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
13088 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
13089 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
13090 (minimumSize, preferredSize, reshape): Likewise.
13091 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
13092 getColorModel): New methods.
13093 * java/awt/PopupMenu.java: Merged with Classpath.
13094 * java/awt/MenuBar.java: Merged with Classpath.
13095 * java/awt/SystemColor.java: Replace with Classpath version.
13096 * java/awt/Panel.java: Merged with Classpath.
13097 * java/awt/PaintContext.java: Updated copyright.
13098 * java/awt/MenuShortcut.java: Merged with Classpath.
13099 * java/awt/MenuContainer.java: Merged with Classpath.
13100 * java/awt/Menu.java: Merged with Classpath.
13101 * java/awt/MediaEntry.java: New file from Classpath.
13102 * java/awt/MediaTracker.java: New file from Classpath.
13103 * java/awt/List.java: Merged with Classpath version.
13104 * java/awt/Insets.java: Merged with Classpath version.
13105 * java/awt/ImageMediaEntry.java: New file from Classpath.
13106 * java/awt/Image.java: Replaced with Classpath version.
13107 * java/awt/FontMetrics.java: Merged with Classpath version.
13108 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
13110 * java/awt/Font.java: Merged with Classpath version.
13111 * java/awt/Dialog.java: Merged with Classpath version.
13112 * java/awt/Color.java: Merged with Classpath version.
13113 * java/awt/Choice.java: Merged with Classpath version.
13114 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
13115 * java/awt/Adjustable.java: Replace with Classpath version.
13116 * java/awt/MenuItem.java (paramString): Don't include class name
13117 or brackets. Call superclass paramString.
13118 * java/awt/MenuComponent.java (toString): Call paramString.
13119 (paramString): Compute string; don't call toString.
13120 * java/awt/Label.java (paramString): Don't include class name
13121 or brackets. Call superclass paramString.
13122 * java/awt/Checkbox.java (paramString): Don't include class name
13123 or brackets. Call superclass paramString.
13124 * java/awt/Button.java (paramString): Don't include class name or
13125 brackets. Call superclass paramString.
13126 * java/awt/MenuComponent.java (getTreeLock): Now protected.
13128 2002-01-20 Andreas Schwab <schwab@suse.de>
13130 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
13131 function and of parameter recv_func to ssize_t, as specified by
13134 2002-01-19 Per Bothner <per@bothner.com>
13136 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
13137 uncompressed_size in readiness for next entry.
13139 2002-01-18 Tom Tromey <tromey@redhat.com>
13141 * java/net/natPlainSocketImpl.cc: Include
13142 IllegalArgumentException.h.
13143 (_Jv_recv): New template function.
13144 (BooleanClass): Removed.
13145 (read): Use _Jv_recv.
13146 (setOption): Use Boolean::class$. Throw exception if object is
13147 not Boolean or Integer.
13149 2002-01-17 Tom Tromey <tromey@redhat.com>
13151 * java/awt/MenuComponent.java: Merged with Classpath.
13152 * java/awt/MenuItem.java: Merged with Classpath.
13153 * java/awt/Button.java: Merged with Classpath.
13155 * java/awt/ActiveEvent.java: Updated copyright.
13157 * java/awt/AWTError.java: Replaced with Classpath version.
13158 * java/awt/AWTException.java: Replaced with Classpath version.
13159 * java/awt/IllegalComponentStateException.java: Replaced with
13162 2002-01-16 Tom Tromey <tromey@redhat.com>
13164 * java/awt/Canvas.java (serialVersionUID): New constant.
13165 Updated copyright. Added javadoc from Classpath.
13166 * java/awt/ItemSelectable.java: Replaced with Classpath version.
13168 * java/awt/CheckboxGroup.java: Merged with Classpath.
13169 * java/awt/Checkbox.java: Merged with Classpath.
13171 * java/awt/Dimension.java: Updated copyright. Added javadoc from
13173 * java/awt/Point.java: Updated copyright.
13175 * java/awt/Point.java (toString): Use getClass().getName().
13178 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
13180 (hash): Correctly compute initial value for `h'.
13182 * java/awt/Label.java: Merged with Classpath.
13184 2002-01-15 Tom Tromey <tromey@redhat.com>
13186 * java/awt/AWTPermission.java: Updated copyright.
13188 * java/awt/LayoutManager2.java: Merged with Classpath.
13189 * java/awt/LayoutManager.java: Merged with Classpath.
13190 * java/awt/GridLayout.java: Updated copyright and javadoc.
13191 (getSize): Use `parent.ncomponents'. Handle insets.
13192 (layoutContainer): Use `parent.ncomponents'. Handle case where
13193 there are fewer children than columns. Correctly compute size of
13194 each cell in the grid. Handle case where there isn't enough
13196 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
13198 (gotoComponent): Use parent.ncomponents. Ensure child exists
13199 before calling setVisible() on it. Last item is `num - 1', not
13201 (layoutContainer): Hoist invariants out of loop.
13203 Start of AWT merge with Classpath:
13204 * Makefile.in: Rebuilt.
13205 * Makefile.am (awt_java_source_files): Reference files in
13206 gnu/java/awt, not gnu/gcj/awt.
13207 * java/awt/image/BufferedImage.java: Updated copyright.
13208 * java/awt/image/ComponentColorModel.java: Updated copyright.
13209 * java/awt/image/ComponentSampleModel.java: Updated copyright.
13210 * java/awt/image/DataBuffer.java: Updated copyright.
13211 * java/awt/image/DataBufferByte.java: Updated copyright.
13212 * java/awt/image/DataBufferInt.java: Updated copyright.
13213 * java/awt/image/DataBufferUShort.java: Updated copyright.
13214 * java/awt/image/IndexColorModel.java: Updated copyright.
13215 * java/awt/image/PackedColorModel.java: Updated copyright.
13216 * java/awt/image/Raster.java: Updated copyright.
13217 * java/awt/image/RasterOp.java: Updated copyright.
13218 * java/awt/image/SampleModel.java: Updated copyright.
13219 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
13220 * java/awt/image/WritableRaster.java: Updated copyright.
13221 * java/awt/color/ColorSpace.java: Updated copyright.
13222 * java/awt/color/ICC_ColorSpace.java: Updated copyright
13223 * java/awt/color/ICC_Profile.java: Updated copyright.
13224 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
13225 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
13226 * java/awt/event/HierarchyEvent.java: Updated copyright.
13227 * java/awt/event/HierarchyListener.java: Updated copyright.
13228 * java/awt/geom/AffineTransform.java: Updated copyright.
13229 * java/awt/geom/Dimension2D.java: Updated copyright.
13230 * java/awt/geom/Ellipse2D.java: Updated copyright.
13231 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
13232 * java/awt/geom/Line2D.java: Updated copyright.
13233 * java/awt/geom/NoninvertibleTransformException.java: Updated
13235 * java/awt/geom/PathIterator.java: Updated copyright.
13236 * java/awt/geom/Point2D.java: Updated copyright.
13237 * java/awt/geom/Rectangle2D.java: Updated copyright.
13238 * java/awt/geom/RectangularShape.java: Updated copyright.
13239 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
13240 * java/awt/Toolkit.java: Updated import for file moves.
13241 * java/awt/Rectangle.java: Updated copyright; added javadoc from
13243 (hashCode): New method from Classpath.
13244 * java/awt/Graphics2D.java: Updated copyright.
13245 * java/awt/Transparency.java: Updated copyright.
13246 * java/awt/Paint.java: Updated copyright.
13247 * java/awt/Graphics.java: New version from Classpath.
13248 * java/awt/EventDispatchThread.java: Updated copyright.
13249 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
13251 (gotoComponent): Wrap around on next/previous.
13252 * gnu/gcj/awt/BitMaskExtent.java: Removed.
13253 * gnu/gcj/awt/Buffers.java: Removed.
13254 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
13255 * gnu/gcj/awt/GLightweightPeer.java: Removed.
13256 * gnu/java/awt/BitMaskExtent.java: Added.
13257 * gnu/java/awt/Buffers.java: Added.
13258 * gnu/java/awt/ComponentDataBlitOp.java: Added.
13259 * gnu/java/awt/GLightweightPeer.java: Added.
13260 * java/awt/geom/Line2D.java (clone): Ignore
13261 CloneNotSupportedException.
13262 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
13263 * java/awt/Frame.java: Merged with Classpath.
13264 * java/awt/RenderingHints.java: Copyright update.
13265 * java/awt/Paint.java: Copyright update.
13266 * java/awt/image/DirectColorModel.java: Merged with Classpath.
13267 * java/awt/image/ColorModel.java: Merged with Classpath.
13268 * java/awt/Window.java (show): New Implementation from Classpath.
13269 (isShowing): Use super.isShowing().
13270 * java/awt/EventQueue.java: Merged with Classpath.
13271 * java/awt/AWTEventMulticaster.java (save): Throw
13273 (saveInternal): Likewise.
13274 * java/awt/AWTEvent.java: Now implements Serializable.
13275 * java/awt/Event.java: Copyright update.
13276 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
13277 * java/awt/image/BufferedImage.java: Copyright update.
13278 * java/awt/GraphicsConfiguration.java: Copyright update.
13279 * java/awt/Component.java: (addNotify): Don't call
13280 addNotifyContainerChildren().
13281 (addNotifyContainerChildren): Removed.
13282 (setPeer): New method from Classpath.
13283 (setTreeLock): Likewise.
13284 (setVisible): Rewrote.
13287 (validate): Set `valid'.
13288 (checkImage(Image,ImageObserver)): Implementation from Classpath.
13289 (createImage(ImageProducer)): Likewise.
13290 (prepareImage): Likewise.
13291 * java/awt/Container.java (addImpl): Handle case where constraint
13292 is not a String. Post event via system event queue.
13293 (remove): Post event via system event queue.
13294 (validateTree): Only validate child if it is invalid.
13295 (getAlignmentX): Call super method as default.
13296 (getAlignmentY): Likewise.
13297 (addContainerListener): Now synchronized.
13298 (removeContainerListener): Likewise.
13299 (addNotifyContainerChildren): Now private.
13300 * java/awt/ComponentOrientation.java: Updated copyright. Added
13302 * java/awt/FlowLayout.java (serialVersionUID): New field.
13303 (setAlignment): Better exception message.
13304 (layoutContainer): Don't compute component's preferred size unless
13305 we're going to use it.
13306 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
13307 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
13308 (firstLine, lastLine, firstItem, lastItem): New fields.
13309 (addLayoutComponent): Handle case where constraints is null.
13310 Also, handle relative locations.
13311 (removeLayoutComponent): Handle relative locations.
13312 (MIN, MAX, PREF): New constants.
13313 (calcCompSize): New method.
13314 (calcSize): New method.
13315 (minimumLayoutSize): Use it.
13316 (preferredLayoutSize): Likewise.
13317 (maximumLayoutSize): Likewise.
13318 (toString): Include more information.
13319 (setBounds): New method.
13320 (layoutContainer): Use libgcj implementation; extended to handle
13321 relative locations.
13323 2002-01-15 Tom Tromey <tromey@redhat.com>
13325 * java/lang/Float.java (equals): Preserve old code.
13326 * java/lang/Double.java (equals): Preserve old code.
13328 2002-01-15 Eric Blake <ebb9@email.byu.edu>
13330 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
13331 * java/lang/Float.java (equals, compare): Ditto.
13333 2002-01-13 Mark Wielaard <mark@klomp.org>
13335 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
13336 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
13337 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
13338 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
13340 2002-01-11 Mark Wielaard <mark@klomp.org>
13342 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
13343 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
13345 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
13346 * java/net/Socket.java: Merge with Classpath.
13347 * java/net/ServerSocket.java: Likewise.
13349 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
13351 * interpret.cc (NULLARRAYCHECK): New macro.
13352 (SAVE_PC): Just store `pc'.
13353 (find_exception): Subtract one from `pc' here.
13354 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13355 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13356 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13357 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
13358 don't call SAVE_PC.
13359 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
13362 2002-01-11 Tom Tromey <tromey@redhat.com>
13364 * java/lang/natSystem.cc (init_properties): Only look for default
13365 locale if LC_MESSAGES is defined.
13366 * aclocal.m4, configure, include/config.h.in: Rebuilt.
13367 * configure.in: Call AM_LC_MESSAGES.
13368 * acinclude.m4 (AM_LC_MESSAGES): New macro.
13370 2002-01-10 Tom Tromey <tromey@redhat.com>
13372 For PR libgcj/5303:
13373 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
13374 --version. Recognize GNU-style long options. Print GNU-style
13376 (usage): Print GNU-style help. Exit with status 0.
13377 (error): New method.
13378 (run): Print error message if no class names found.
13379 (main): Don't print usage on error.
13381 2002-01-09 Tom Tromey <tromey@redhat.com>
13383 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
13385 (help, version): Use println(), not println("").
13387 For PR libgcj/5303:
13388 * gnu/gcj/convert/Convert.java (error): Program is called
13389 `jv-convert'. Print GNU-style message. Exit with status 1, not
13391 (main): Handle --help and --version.
13392 (help): New method.
13393 (version): Likewise.
13395 2002-01-08 Tom Tromey <tromey@redhat.com>
13397 * Makefile.in: Rebuilt.
13398 * Makefile.am (ordinary_java_source_files): Added new files.
13399 * gnu/java/locale/LocaleInformation.java: Extend
13400 LocaleInformation_en.
13401 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
13402 and time/date formats.
13403 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
13405 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
13406 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
13407 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
13408 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
13409 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
13410 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
13411 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
13412 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
13413 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
13414 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
13415 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
13416 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
13417 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
13418 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
13419 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
13420 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
13421 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
13422 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
13423 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
13424 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
13425 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
13426 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
13427 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
13428 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
13429 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
13430 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
13431 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
13432 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
13433 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
13434 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
13435 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
13436 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
13437 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
13438 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
13439 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
13440 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
13441 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
13442 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
13443 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
13444 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
13445 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
13446 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
13447 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
13448 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
13449 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
13450 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
13451 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
13452 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
13453 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
13454 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
13455 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
13456 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
13457 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
13458 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
13459 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
13460 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
13461 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
13462 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
13463 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
13464 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
13465 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
13466 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
13467 * gnu/java/locale/LocaleInformation_es_US.java: New file.
13468 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
13469 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
13470 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
13471 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
13472 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
13473 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
13474 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
13475 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
13476 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
13477 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
13478 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
13479 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
13480 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
13481 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
13482 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
13483 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
13484 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
13485 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
13486 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
13487 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
13488 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
13489 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
13490 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
13491 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
13492 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
13493 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
13494 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
13495 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
13496 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
13497 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
13498 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
13499 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
13500 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
13501 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
13502 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
13503 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
13504 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
13505 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
13506 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
13507 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
13508 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
13509 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
13510 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
13511 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
13512 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
13513 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
13514 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
13515 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
13516 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
13517 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
13518 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
13519 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
13520 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
13521 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
13522 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
13523 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
13524 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
13525 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
13526 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13527 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13528 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13529 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13530 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13531 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13532 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13533 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13534 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13536 For PR libgcj/5031:
13537 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13538 choose default locale.
13540 * Makefile.in: Rebuilt.
13541 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13543 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
13545 * java/net/natPlainSocketImpl.cc: Added timeout handling for
13547 (close): New function closes the socket.
13548 (write): New functions for output to socket.
13549 (read): New functions for reading from socket.
13550 * java/net/PlainSocketImpl.java: Glue for new timeout
13552 (write): Call the native impl.
13554 (getInputStream): Get a stream to read from the socket.
13555 (getOutputStream): Get a stream to write to the socket.
13557 2002-01-08 Tom Tromey <tromey@redhat.com>
13559 * resolve.cc (_Jv_PrepareClass): Enable verifier.
13561 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
13563 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13564 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13566 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
13568 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13569 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13570 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13571 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13572 insn_bastore, insn_castore, insn_sastore]: Use it.
13573 (continue1) [insn_arraylength]: Check for null array.
13575 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13577 * configure, include/config.h.in: Rebuilt.
13578 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13579 * configure.in: Call AC_STRUCT_TIMEZONE.
13581 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13583 * configure.host: Disable the interpreter for Darwin.
13585 2002-01-04 Tom Tromey <tromey@redhat.com>
13587 * java/lang/Thread.java (stop): No longer synchronized.
13590 2002-01-02 Tom Tromey <tromey@redhat.com>
13592 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13595 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
13597 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13598 PPC Darwin, not for all of Darwin.