1 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
3 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4 if one is installed. Improve Javadoc.
5 (getSystemEventQueueImpl): Improve Javadoc.
7 2003-09-11 Tom Tromey <tromey@redhat.com>
9 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
12 2003-09-10 Anthony Green <green@redhat.com>
14 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
15 Specify full name when referencing ::java::net::InetAddress.
16 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
19 2003-09-10 Michael Koch <konqueror@gmx.de>
21 * acconfig.h (__NO_MATH_INLINES): Removed.
22 * configure.in: Removed check for g++ math inlining bug from 2000.
23 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
25 * configure: Regenerated.
27 2003-09-10 David Daney <ddaney@avtrex.com>
29 * java/util/Arrays.java (equals(all variants)): Quit using
30 NullPointerException catching to detect null valued parameters.
32 2003-09-10 Michael Koch <konqueror@gmx.de>
34 * java/net/DatagramSocket.java,
35 java/net/MulticastSocket.java,
36 java/net/ServerSocket.java,
38 Use gnu.java.net.Plain*SocketImpl instead of
39 java.net.PlainSocketImpl.
40 * java/net/PlainDatagramSocketImpl.java,
41 java/net/PlainSocketImpl.java,
42 java/net/SocketInputStream.java,
43 java/net/SocketOutputStream.java,
44 java/net/natPlainDatagramSocketImplNoNet.cc,
45 java/net/natPlainDatagramSocketImplPosix.cc,
46 java/net/natPlainDatagramSocketImplWin32.cc,
47 java/net/natPlainSocketImplNoNet.cc,
48 java/net/natPlainSocketImplPosix.cc,
49 java/net/natPlainSocketImplWin32.cc:
51 * gnu/java/net/PlainDatagramSocketImpl.java,
52 gnu/java/net/PlainSocketImpl.java,
53 gnu/java/net/SocketInputStream.java,
54 gnu/java/net/SocketOutputStream.java,
55 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
56 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
57 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
58 gnu/java/net/natPlainSocketImplNoNet.cc,
59 gnu/java/net/natPlainSocketImplPosix.cc,
60 gnu/java/net/natPlainSocketImplWin32.cc:
61 New files (moved from java/net).
62 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
63 instead of java/net/natPlain*SocketImpl.cc.
64 * configure: Regenerated.
65 * Makefile.am: Moved files from java/net to gnu/java/net.
66 * Makefile.in: Regenerated.
68 2003-09-09 Alan Modra <amodra@bigpond.net.au>
70 * configure: Regenerate.
72 2003-09-04 Tom Tromey <tromey@redhat.com>
74 * configure.host: Removed erroneous comment.
76 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
77 lvalue cast; use correct rvalue cast.
79 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
81 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
82 and height arguments to GtkWindowPeer.create method call.
83 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
84 (create(int,int,int)): New method.
85 (create(int)): Add call to new create method.
86 (create()): Add width and height arguments to create method
88 (GtkWindowPeer): Remove call to setBounds.
89 * java/awt/Frame.java (Frame(String)): Initialize visible field
91 (Frame(GraphicsConfiguration)): Likewise.
92 (Frame(String,GraphicsConfiguration)): Likewise.
93 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
94 Add width and height parameters. Call
95 gtk_window_set_default_size.
96 (connectHooks): Remove unused name variable.
97 (static setBounds): Call gtk_window_resize not
99 (setBounds): Remove unused nchildren variable.
101 2003-08-31 Ingo Proetel <proetel@aicas.com>
103 * java/util/logging/Logger.java: provide class and method information
104 * java/util/logging/LogManager.java: create handlers
105 * java/util/logging/SimpleFormatter.java: print souceClassName and
108 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
110 * win32.cc: fixed tab, indentation and whitespace
112 removed jvm.h include
113 added includes java/lang/UnsupportedOperationException.h,
114 java/io/IOException.h, java/net/SocketException.h
115 (WSAEventWrapper): class implementation
116 (_Jv_WinStrError): implemented both overloads
117 (_Jv_ThrowIOException): implemented both overloads
118 (_Jv_ThrowSocketException): implemented both overloads
119 (_Jv_select): implemented
120 * include/win32.h: fixed tab, indentation and whitespace
122 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
124 (WSAEventWrapper): added class declaration
125 (_Jv_WinStrError): added both overload declarations
126 (_Jv_ThrowIOException): added both overload declarations
127 (_Jv_ThrowSocketException): added both overload declarations
128 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
129 (_Jv_select): added declaration
130 (_Jv_socket): removed
131 (_Jv_connect): removed
134 (_Jv_accept): removed
135 (_Jv_listen): removed
138 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
139 whitespace inconsistencies
140 replaced <windows.h> #include with <platform.h>
141 removed jvm.h include
142 (testCanUseGetHandleInfo): new function which tests whether Win32
143 GetHandleInformation() call can be used with console buffer handles
144 (only supported on >=WinNT 5.0)
145 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
146 (valid): rewrote implementation using GetHandleInformation()
147 (sync): changed exception throwing to use error string and exception
148 helper methods declared in include/win32.h
151 (setLength): likewise
154 (getFilePointer): likewise
156 * java/io/natFileWin32.cc: fixed tab, indentation and
157 whitespace inconsistencies
158 replaced <windows.h> #include with <platform.h>
159 removed jvm.h include
160 (_access): use JV_TEMP_UTF_STRING
162 (performMkDir): use JV_TEMP_UTF_STRING
163 (performRenameTo): likewise
164 (performDelete): likewise
165 (performCreate): likewise
166 (performSetReadOnly): likewise
167 (performSetLastModified): likewise
168 * java/lang/natWin32Process.cc: fixed tab, indentation and
169 whitespace inconsistencies
170 replaced <windows.h> #include with <platform.h>
171 removed includes gcj/cni.h, jvm.h
172 (new_string): removed
173 (startProcess): use JV_TEMP_UTF_STRING,
174 changed exception throwing to use error string and exception
175 helper methods declared in include/win32.h
176 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
177 whitespace inconsistencies
178 replaced <windows.h> #include with <platform.h>
179 removed jvm.h include
180 removed DISABLE_JAVA_NET conditional code
181 removed POSIX conditional code not relevant to Win32
182 (aton): use JV_TEMP_UTF_STRING
183 removed POSIX conditional code not relevant to Win32
185 (getLocalHostName): likewise
186 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
187 whitespace inconsistencies
188 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
189 removed DISABLE_JAVA_NET conditional code
190 removed POSIX conditional code not relevant to Win32
191 (winsock2GetRealNetworkInterfaces): new function to compute network
192 interfaces via Winsock2 API
193 (determineGetRealNetworkInterfacesFN): new function for returning
194 a function pointer to the function used to compute network interfaces.
195 (getRealNetworkInterfaces): implemented
196 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
197 whitespace inconsistencies
198 removed gcj/cni.h include
199 removed DISABLE_JAVA_NET conditional code
200 removed POSIX conditional code not relevant to Win32
201 changed net POSIXisms to Win32isms
202 replaced _Jv socket-related calls with their real Win32 equivalents
203 changed exception throwing to use error string and exception
204 helper methods declared in include/win32.h
205 (peekData): implemented timeout support
207 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
208 whitespace inconsistencies
209 removed gcj/cni.h and gcj/javaprims.h includes
210 removed DISABLE_JAVA_NET conditional code
211 removed POSIX conditional code not relevant to Win32
212 changed net POSIXisms to Win32isms
213 replaced _Jv socket-related calls with their real Win32
215 changed exception throwing to use error string and exception
216 helper methods declared in include/win32.h
217 (throwConnectException): helper function for connect()
218 (connect): implemented timeout support
220 (doRead): new helper function common to both read() method overloads,
221 includes timeout support
222 (read): implemented both overloads in terms of doRead()
223 (available): implemented using ioctlsocket()
225 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
227 * java/net/natInetAddressWin32.cc,
228 java/net/natNetworkInterfaceWin32.cc,
229 java/net/natPlainDatagramSocketImplWin32.cc,
230 java/net/natPlainSocketImplWin32.cc:
231 Readded code enclosed in DISABLE_JAVA_NET defines
232 in preparation for MinGW cleanup / networking
235 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
237 * Makefile.am: Fixed problems with parallel makes.
238 (all_java_class_files): Readded definition.
239 (all_java_class_files): New target which depends on
240 libgcj-@gcc_version@.jar
241 * Makefile.in: Rebuilt
243 2003-08-28 Tom Tromey <tromey@redhat.com>
245 * Makefile.in: Rebuilt.
246 * Makefile.am (ordinary_java_source_files): Added new files.
247 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
249 * java/net/URLClassLoader.java (findClass): Don't use
250 findURLResource. Use loader's getClass method.
251 (URLLoader.getClass): New method.
252 (addURL): Handle `gcjlib' URLs.
253 (SoURLLoader): New class.
254 (SoResource): Likewise.
255 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
256 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
257 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
258 (_Jv_RegisterCoreHook): Declare.
259 (_Jv_FindCore): Declare.
260 * gnu/gcj/runtime/SharedLibHelper.java: New file.
261 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
263 (core_hook): New function.
264 (struct SharedLibDummy) [saved_core]: New field.
265 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
266 (register_hook): Set protection domain and class loader on new
268 (finalize): Free core chain.
269 * gnu/gcj/Core.java (Core): New constructor.
270 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
272 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
273 (_Jv_create_core): New function.
275 (default_register_resource): New function.
276 (_Jv_RegisterCoreHook): New global.
277 (_Jv_RegisterResource): Use it.
278 (core_chain_struct): Removed.
279 (_Jv_FindCore): New function.
280 (_Jv_FreeCoreChain): New function.
282 2003-08-29 Michael Koch <konqueror@gmx.de>
284 * java/net/natInetAddressWin32.cc,
285 java/net/natNetworkInterfaceWin32.cc,
286 java/net/natPlainDatagramSocketImplWin32.cc,
287 java/net/natPlainSocketImplWin32.cc:
288 Removed code enclosed in DISABLE_JAVA_NET defines.
290 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
292 * Makefile.am: (write_entries_to_file) New parameterized
293 function for writing entries to a file one line at a time.
294 (all_java_class_files): Removed definition.
295 (.java.class) Removed.target.
296 (libgcj-@gcc_version@.jar): Changed dependency to
297 $(all_java_source_files); added compilation step which compiles
298 all changed source files in one pass.
299 (libgcj.la) Refactored to use write_entries_to_file.
300 (lib-gnu-awt-xlib.la) Likewise.
301 (install-data-local) Likewise.
302 (write-entries-to-file-check) New target which tests write_entries_to_file.
303 (all-recursive): Changed dependency from $(all_java_class_files)
304 to libgcj-@gcc_version@.jar
305 * Makefile.in: Rebuilt.
307 2003-08-26 Tom Tromey <tromey@redhat.com>
309 * java/lang/StrictMath.java: Typo fix.
310 * java/lang/Math.java: Typo fix.
312 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
314 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
315 of the removed Thread.
317 2003-08-26 Mark Wielaard <mark@klomp.org>
319 Reported by David Holmes <dholmes@dltech.com.au>.
320 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
321 Collections.synchronizedMap.
322 * java/lang/ThreadLocal.java (valueMap): Likewise.
324 2003-08-26 Mark Wielaard <mark@klomp.org>
326 * java/security/acl/Acl.java: Fix broken p tag.
327 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
328 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
329 * javax/swing/plaf/TreeUI.java: Likewise.
330 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
331 * java/util/Properties.java: Use the word umlaut, not ä in api
333 * java/util/PropertyResourceBundle.java: Likewise and add closing code
336 2003-08-26 Tom Tromey <tromey@redhat.com>
338 * Makefile.in: Rebuilt.
339 * Makefile.am: Removed all GNU-make-specific FIXME comments.
341 * java/lang/ref/Reference.java (get): Indentation fix.
342 (clear): Comment fix.
345 (referent): Likewise.
347 2003-08-26 Tom Tromey <tromey@redhat.com>
350 * java/lang/reflect/natArray.cc (set): Allow null as argument.
352 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
353 (ProxyData.getPackage): New method.
354 (ProxyData.getProxyData): Use package name, not Package.
355 (ClassFactory.ClassFactory): Updated.
357 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
358 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
359 * Makefile.in: re-generated.
360 * gnu/awt/j2d/IntegerGraphicsState.java
361 (ScreenCoupledImage): new interface.
362 (drawImage): detect ScreenCoupledImage instances.
363 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
364 * gnu/awt/xlib/XEventLoop.java
365 (createEvent): re-formatted, and rearranged to avoid null pointer.
366 * gnu/awt/xlib/XGraphics.java
367 (drawImage): added XOffScreenImage handling.
368 * gnu/awt/xlib/XOffScreenImage.java: new file.
369 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
370 * gnu/gcj/xlib/GC.java (copyArea): new native method.
371 * gnu/gcj/xlib/XAnyEvent.java
372 (TYPE_KEY_PRESS): new constant.
373 (TYPE_KEY_RELEASE): new constant.
374 (TYPE_MOTION_NOTIFY): new constant.
375 (TYPE_ENTER_NOTIFY): new constant.
376 (TYPE_LEAVE_NOTIFY): new constant.
377 (TYPE_FOCUS_IN): new constant.
378 (TYPE_FOCUS_OUT): new constant.
379 (TYPE_KEYMAP_NOTIFY): new constant.
380 (TYPE_GRAPHICS_EXPOSE): new constant.
381 (TYPE_NO_EXPOSE): new constant.
382 (TYPE_VISIBILITY_NOTIFY): new constant.
383 (TYPE_CREATE_NOTIFY): new constant.
384 (TYPE_DESTROY_NOTIFY): new constant.
385 (TYPE_MAP_REQUEST): new constant.
386 (TYPE_CONFIGURE_REQUEST): new constant.
387 (TYPE_GRAVITY_NOTIFY): new constant.
388 (TYPE_RESIZE_REQUEST): new constant.
389 (TYPE_CIRCULATE_NOTIFY): new constant.
390 (TYPE_CIRCULATE_REQUEST): new constant.
391 (TYPE_PROPERTY_NOTIFY): new constant.
392 (TYPE_SELECTION_CLEAR): new constant.
393 (TYPE_SELECTION_REQUEST): new constant.
394 (TYPE_SELECTION_NOTIFY): new constant.
395 (TYPE_COLORMAP_NOTIFY): new constant.
396 (TYPE_MAPPING_NOTIFY): new constant.
397 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
398 * gnu/gcj/xlib/natGC.cc (copyArea): new method
399 * java/awt/Component.java (createImage): changed to use peer method.
401 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
403 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
404 name, not XLFD, to native drawString.
405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
406 Replace XLFD-based implementation with Pango-based
409 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
411 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
412 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
414 2003-08-21 David Daney <ddaney@avtrex.com>
416 Fix for PR libgcj/12013:
417 * java/lang/ref/natReference.cc (finalize_referred_to_object):
418 Check `cleared' field.
419 * java/lang/ref/Reference.java (copy): Updated comments.
420 (cleared): New field.
423 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
424 Thomas Fitzsimmons <fitzsim@redhat.com>
426 * Makefile.am (gtk_awt_peer_sources): Add
427 gnu/java/awt/peer/GLightweightPeer.java. Remove
428 gnu/java/awt/GLightweightPeer.java.
429 * gnu/java/awt/GLightweightPeer.java: Remove file.
430 * gnu/java/awt/peer/GLightweightPeer.java: New file.
431 * java/awt/Component.java (getToolkit): Add comment about
432 lightweight components.
433 * java/awt/Toolkit.java (createComponent): Return
434 gnu.java.awt.peer.GLightweightPeer.
436 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
438 * configure.in: Fix detection of gcj when building with newlib.
439 * configure: Regenerated.
441 2003-08-20 Graydon Hoare <graydon@redhat.com>
443 * jni.cc: Replace "cheating" pointer-casting code with
444 extract_from_jvalue<> template.
446 2003-08-20 Andrew Haley <aph@redhat.com>
448 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
449 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
450 (classAt): Break out class lookup function into getClass().
451 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
452 handlers when using -fno-assume-compiled.
454 2003-08-20 Tom Tromey <tromey@redhat.com>
456 Fix for PR libgcj/9125:
457 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
458 object outside of loop. Respect lib_control setting.
459 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
461 (lib_control): New field.
462 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
463 (VMClassLoader): Initialize new field.
465 * java/lang/ref/natReference.cc (finalize_referred_to_object):
466 Set `list->reference' to DELETED_REFERENCE when removing dead
468 (find_slot): Added an assert.
469 (DELETED_REFERENCE): New define.
470 (add_to_hash): Check for DELETED_REFERENCE.
471 (remove_from_hash): Just return if found slot isn't ours.
473 2003-08-19 Andrew Haley <aph@redhat.com>
475 * prims.cc (unblock_signal): New function.
476 (catch_segv): Use it.
477 (catch_fpe): Likewise.
479 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
482 * java/io/natFileDescriptorWin32.cc (open): Set create
483 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
484 Honor EXCL when openning with WRITE flag.
486 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
488 * include/jvm.h: New class _Jv_TempUTFString (helper class for
489 getting a temporary C string from a jstring)
490 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
491 but uses a stack buffer if the string length is less than 256
494 2003-08-18 Tom Tromey <tromey@redhat.com>
497 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
498 void. Throw VirtualMachineError if ffi fails. Initialize return
499 value. Added is_jni_call argument; only wrap exception if not a
500 JNI call. Use descriptive message if operation not supported.
501 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
503 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
504 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
506 (_Jv_JNI_CallAnyMethodA): Likewise.
507 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
508 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
510 2003-08-13 Tom Tromey <tromey@redhat.com>
512 * gij.cc (help): Document -? and -X.
514 2003-08-12 Graydon Hoare <graydon@redhat.com>
516 * java/awt/Font.java:
517 Stub out more recent API.
519 2003-08-12 Graydon Hoare <graydon@redhat.com>
521 * java/awt/Color.java (getAlpha):
522 Prevent sign-extended alpha values.
524 2003-08-12 Tom Tromey <tromey@redhat.com>
526 * gij.cc (main): Handle -? and -X.
528 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
530 * java/awt/Container.java
531 (getPreferredSize): Call preferredSize.
532 (preferredSize): Moved body of getPreferredSize here.
533 (getMinimumSize): Call minimumSize.
534 (minimumSize): Moved body of getMinimumSize here.
536 2003-08-11 Tom Tromey <tromey@redhat.com>
538 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
539 (postEvent): Removed FIXME comment.
540 (isDispatchThread): Documented.
541 (getCurrentEvent): New method.
542 (dispatchEvent): Set currentEvent and lastWhen.
543 (getMostRecentEventTime): Rewrote.
544 (invokeLater): Documented.
546 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
548 * java/io/PrintStream.java (print): Always flush if auto_flush is
549 set. Don't check for newline characters.
550 (write (int)): Implement without using a temporary array.
551 (write (byte[], int, int): Always flush if auto_flush is set. Don't
552 check for newline characters.
553 Fixes PR libgcj/11778.
555 2003-08-08 Andrew Haley <aph@redhat.com>
557 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
558 * Makefile.in: Rebuild.
559 * java/lang/natRuntime.cc (insertSystemProperties): Add
560 "sun.boot.class.path".
562 2003-08-07 Andrew Haley <aph@redhat.com>
564 * java/io/PrintStream.java: Don't crash on a null string.
566 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
568 * configure.in: Don't initialize GCINCS to boehm-gc/include.
569 * configure: Regenerate.
571 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
573 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
574 SocketImpl. Update Javadoc.
575 (bind): Call close() not impl.close() in event of exception.
577 Remove superfluous null checks throughout.
578 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
579 Don't create an extra socket. Fix for PR libgcj/10868.
580 (bind): Clean up exception handling.
581 Remove superfluous null checks throughout.
583 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
584 Bryce McKinlay <bryce@mckinlay.net.nz>
586 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
587 ready-to-write argument to _Jv_Select. Reset the socket back to
588 non-blocking state after connecting.
589 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
590 Throw SocketTimeoutException not InterruptedIOException.
591 (read): Throw SocketTimeoutException not InterruptedIOException.
593 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
595 * java/lang/Thread.java (Thread): Check for null "name" from
596 start of private constructor, not after calling the private
599 2003-08-06 Tom Tromey <tromey@redhat.com>
601 * java/io/FilePermission.java (equals): Use correct index for
602 last character of path.
604 2003-08-06 Alan Modra <amodra@bigpond.net.au>
606 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
607 * configure.in: Compare with_cross_host to build_alias, not build.
608 * aclocal.m4: Regenerate.
609 * configure: Regenerate.
611 2003-08-05 Tom Tromey <tromey@redhat.com>
613 Fix for PR libgcj/11779:
614 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
617 * java/lang/reflect/Method.java: Updated status comment.
618 Imported javadoc from Classpath and re-ordered methods.
619 * java/lang/reflect/Constructor.java: Reindented. Updated
620 status comment. Imported javadoc from Classpath and re-ordered
623 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
625 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
626 Add keyLocation parameter.
627 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
629 (paramString): Generate keyChar string according to keyChar, not
631 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
632 (state_to_awt_mods): Handle ALT key.
633 (keyevent_state_to_awt_mods): New function.
634 (get_first_keyval_from_keymap): New function.
635 (keysym_to_awt_keycode): Get virtual key code from keymap.
636 Handle missing VK_ values.
637 (keysym_to_awt_keylocation): New function.
638 (keyevent_to_awt_keychar): New function.
639 (generates_key_typed_event): Handle non-text-component case.
640 Handle GDK_KP_Delete and GDK_KP_Enter.
641 (awt_event_handler): Call new functions to get postKeyEvent
643 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
644 Update postKeyEvent method signature.
645 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
648 2003-08-05 Matthias Klose <doko@debian.org>
650 * aclocal.m4: check for libart-config binary
651 under the name libart2-config as well.
652 * configure: regenerated.
654 2003-08-04 David P Grove <groved@us.ibm.com>
656 * java/text/DecimalFormat.java (format): avoid ArithmeticException
657 when groupingSize is 0.
660 2003-08-04 Matthias Klose <doko@debian.org>
662 * libart.m4: check for libart-config binary
663 under the name libart2-config as well.
664 * configure, aclocal.m4: regenerated.
666 2003-08-02 Michael Koch <konqueror@gmx.de>
668 * java/nio/ByteBufferImpl.java
669 (getChar): Check remaining bytes, fixed comment about endianess.
671 (getShort): Likewise.
672 (putShort): Likewise.
673 (getInt): Check remaining bytes, fixed conversion, fixed comment about
678 (getFloat): Likewise.
679 (putFloat): Likewise.
680 (getDouble): Likewise.
681 (putDouble): Likewise.
682 * java/nio/DirectByteBufferImpl.java
683 (getChar): Wrapped code, fixed comment about endianess.
685 (getShort): Likewise.
686 (putShort): Likewise.
687 (getInt): Fixed conversion, fixed comment about endianess.
691 (getFloat): Likewise.
692 (putFloat): Likewise.
693 (getDouble): Likewise.
694 (putDouble): Likewise.
695 * java/nio/MappedByteBufferImpl.java
696 (compact): Implemented.
697 (getChar): Implemented.
698 (putChar): Implemented.
699 (getDouble): Implemented.
700 (putdouble): Implemented.
701 (getFloat): Implemented.
702 (putFloat): Implemented.
703 (getInt): Implemented.
704 (putInt): Implemented.
705 (getLong): Implemented.
706 (putLong): Implemented.
707 (getShort): Implemented.
708 (putShort): Implemented.
709 * java/nio/channels/FileChannelImpl.java
710 (read): Set position where to access file.
712 (transferTo): Flip buffer after read and before write.
713 (transferFrom): Likewise.
715 2003-08-02 Michael Koch <konqueror@gmx.de>
717 * gnu/java/lang/ArrayHelper.java
718 (equalsArray): Reformated, added method documentation.
720 2003-08-02 Michael Koch <konqueror@gmx.de>
723 (URL): Added paragraph about the
724 gnu.java.net.nocache_protocol_handlers property.
725 (ph_cache): Renamed from handlers to match classpath's implementation.
726 Reordered it with factory and serialVersionUID member variables.
727 (cache_handlers): New member variable.
728 (static): New static initializer to initialize cache_handlers from
729 gnu.java.net.nocache_protocol_handlers property.
730 (URL): Use ph_cache instead of handlers, reformatted some code to
731 match classpath's implementation.
733 2003-08-01 Tom Tromey <tromey@redhat.com>
735 Fix for PR libgcj/11241:
736 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
737 initialCapacity is 0, set it to 1.
739 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
741 * java/net/SocketImpl.java (toString): Display the remote address
742 of an unconnected server socket as "0.0.0.0/0.0.0.0".
744 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
746 * javax/swing/border/BevelBorder.java,
747 javax/swing/border/EtchedBorder.java,
748 javax/swing/border/LineBorder.java,
749 javax/swing/border/MatteBorder.java,
750 javax/swing/border/SoftBevelBorder.java,
751 javax/swing/plaf/BorderUIResource.java,
752 javax/swing/plaf/ComponentUI.java,
753 javax/swing/plaf/TreeUI.java,
754 javax/swing/plaf/basic/BasicBorders.java,
755 javax/swing/plaf/basic/BasicGraphicsUtils.java,
756 javax/swing/plaf/basic/BasicTreeUI.java:
757 Prepend "doc-files" to all paths to embedded Javadoc images, so
758 that the generated documentation contains the correct URL.
760 2003-08-01 Tom Tromey <tromey@redhat.com>
762 * configure: Rebuilt.
763 * configure.in (tool_include_dir): Redefine to match gcc.
765 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
766 Mark Wielaard <mark@klomp.org>
768 * java/math/BigDecimal (divide): Correctly handle
769 ROUND_HALF_EVEN when amount is greater than 0.5.
770 Simplify and optimize code.
772 2003-07-31 Tom Tromey <tromey@redhat.com>
774 More for PR libgcj/11737:
775 * java/io/ObjectInputStream.java (processResolution): Use
777 (getMethod): Make method accessible.
778 (getField): Make field accessible.
779 (setBooleanField): Don't call setAccessible here.
780 (setByteField, setCharField, setDoubleField, setFloatField,
781 setIntField, setLongField, setShortField, setObjectField):
783 (callReadMethod): Don't check whether method is null. Catch
784 NoSuchMethodException.
785 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
786 cause on thrown exceptions.
788 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
790 Fix for PR libgcj/11728:
791 * java/util/HashMap.java (readObject): Set size.
793 2003-07-31 Tom Tromey <tromey@redhat.com>
795 Fix for PR libgcj/11737:
796 * java/io/ObjectOutputStream.java (getMethod): Make method
798 (getField): Likewise.
799 (writeObject): Use getMethod.
800 Import PrivilegedAction and AccessController.
801 (callWriteMethod): Don't check whether m is null. Catch
802 NoSuchMethodException.
804 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
805 (containsAngle): Likewise.
806 (getStartPoint): Rewrote.
807 (getEndPoint): Likewise.
808 (setAngleStart(Point2D)): Likewise.
810 2003-07-31 Roger Sayle <roger@eyesopen.com>
811 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
813 * configure.in: Add new THREADCXXFLAGS variable.
814 Handle POSIX threads on alpha*-dec-osf*.
815 * configure: Regenerate.
816 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
817 * Makefile.in: Regenerate.
819 2003-07-08 Andrew Haley <aph@redhat.com>
821 * include/i386-signal.h (RESTORE): New.
822 (INIT_SEGV): Set restorer.
823 (INIT_FPE): Likewise.
825 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
827 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
829 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
830 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
831 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
832 (gtkSetFont): Scale size parameter by PANGO_SCALE.
833 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
835 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
838 2003-07-29 Tom Tromey <tromey@redhat.com>
840 * defineclass.cc (handleField): Throw exception if field name is
842 (handleMethod): Throw exception for duplicate method.
844 2003-07-29 Tom Tromey <tromey@redhat.com>
846 * gnu/gcj/convert/natIconv.cc (write): Handle case where
847 output buffer is too small.
849 2003-07-28 Tom Tromey <tromey@redhat.com>
851 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
853 Include gnu/gcj/runtime/StringBuffer.h.
854 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
856 (String(gnu.gcj.runtime.StringBuffer)): Use it.
858 2003-07-27 Anthony Green <green@redhat.com>
860 * configure.in: Fix newlib check.
861 * configure: Rebuilt.
863 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
865 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
866 Create vbox and layout for GtkPlug.
868 2003-07-27 Michael Koch <konqueror@gmx.de>
870 * java/awt/Window.java
871 (Window): Removed now unused constructor. It became oboslete with the
872 new embedded window patch.
874 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
875 Michael Koch <konqueror@gmx.de>
877 * gnu/java/awt/EmbeddedWindow.java
878 (EmbeddedWindow): Extends Frame instead of Window.
879 (window_id): New member variable to store the native window handle.
881 (EmbeddedWindow): New constructor.
882 (addNotify): New method.
883 (getHandler): Likewise.
884 (setWindowPeer): New native method.
885 * gnu/java/awt/EmbeddedWindowSupport.java
886 (EmbeddedWindowSupport): Fixed documentation.
887 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
888 WindowPeer, give it an EmbeddedWindow instance instead of the raw
890 * gnu/java/awt/natEmbeddedWindow.cc
892 (setWindowPeer): New method.
893 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
894 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
895 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
897 * gnu/java/awt/peer/gtk/GtkToolkit.java
898 (GtkToolkit): Implements EmbeddedWindowSupport.
899 (createEmbeddedWindow): New method.
900 * java/awt/Window.java
903 (java_source_files): Added EmbeddedWindowPeer.java.
904 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
905 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
906 * Makefile.in: Regenerated.
908 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
910 * java/lang/Win32Process.java (ConcreteProcess): Surround
911 a command line element with quotes if it contains an
912 embedded space or tab.
913 * java/lang/natWin32Process.cc (startProcess): Do not
914 surround command line elements with quotes here.
916 * configure.host: Use -fcheck-references and
917 -fuse-divide-subroutine for MinGW until we fix
918 win32_exception_handler( ) in win32.cc w.r.t. Win32
919 Structured Exception Handling (SEH).
921 * win32.cc (_Jv_platform_initProperties): Use generic names
922 like "x86" for the "os.arch" property to be consistent with
923 what Sun's JDK produces. Use the wProcessorArchitecture
924 member of the Win32 SYSTEM_INFO structure, filled in a call
925 to GetSystemInfo( ), instead of dwProcessorType.
927 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
928 Ranjit Mathew <rmathew@hotmail.com>
930 * Makefile.am: Use cross-compiling gcjh from the path for
931 a crossed-native build.
932 * Makefile.in: Rebuilt.
933 * configure.in: Include libltdl in non-newlib builds.
934 Moved determination of gcj used to build libraries to
935 its own section. Fixed cross-compilation issues for
937 * configure: Rebuilt.
939 2003-07-25 Tom Tromey <tromey@redhat.com>
941 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
946 2003-07-25 Mark Wielaard <mark@klomp.org>
948 * java/lang/natRuntime.cc (_load): Add library name to
949 UnsatisfiedLinkError when thrown.
951 2003-07-25 Mark Wielaard <mark@klomp.org>
953 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
955 * Makefile.in: Likewise.
957 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
959 * java/awt/Component.java
960 (getPreferredSize): Call preferredSize.
961 (preferredSize): Moved body of getPreferredSize here.
962 (getMinimumSize): Call minimumSize.
963 (minimumSize): Moved body of getMinimumSize here.
964 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
965 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
967 * java/awt/Container.java
968 (validate): Don't validate if there is no peer.
969 (update): Clear background before calling paint.
970 * java/awt/GridBagLayout.java
971 Completed the implementation and fixed several bugs.
972 * java/awt/MediaTracker.java
973 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
975 * java/awt/Window.java
976 (Window): Don't call setVisible(false). Windows are invisible by
977 default and calling virtual methods from constructor causes
978 compatibility problems (e.g. subclasses may assume that the peer
981 2003-07-25 Michael Koch <konqueror@gmx.de>
983 * java/awt/GridBagLayout.java:
984 Totally reworked and partly implemented.
985 * java/awt/GridBagLayoutInfo.java:
988 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
991 Don't pack label in an event box.
993 2003-07-24 Tom Tromey <tromey@redhat.com>
996 * verify.cc (ref_intersection): New class.
997 (type_val): Removed unresolved_reference_type,
998 uninitialized_unresolved_reference_type.
999 (is_assignable_from_slow): Rewrote.
1000 (type::data): Removed.
1001 (type::klass): New field.
1002 (type::type): Added verifier argument.
1003 (type::resolve): Removed.
1004 (type::set_uninitialized): Updated for change to type_val.
1005 (type::set_initialized): Likewise.
1006 (type::isinitialized): Likewise.
1007 (type::print): Likewise.
1008 (construct_primitive_array_type): Likewise.
1009 (type::compatible): Updated for change to type_val and to use
1011 (type::isarray): Updated to use ref_intersection.
1012 (type::isinterface): Likewise.
1013 (type::element_type): Likewise.
1014 (type::to_array): Likewise.
1015 (type::verify_dimensions): Rewrote.
1016 (type::merge): Likewise.
1017 (check_class_constant): Updated for type constructor change.
1018 (check_constant): Likewise.
1019 (check_field_constant): Likewise.
1020 (get_one_type): Likewise.
1021 (initialize_stack): Likewise.
1022 (verify_instructions_0): Likewise.
1023 (verify_instructions_0) [op_invokeinterface]: Removed special
1025 (isect_list): New field.
1026 (_Jv_BytecodeVerifier): Initialize it.
1027 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
1029 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
1031 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
1032 unless field size is 2.
1034 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1036 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1037 (connectHooks): New method.
1038 (handleEvent): Remove.
1039 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1040 (createHooks): Remove declaration.
1041 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1042 (generates_key_typed_event): Change to handle only certain
1044 (awt_event_handler): Add special handling for GtkTextView.
1045 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1046 (textcomponent_commit_cb): New function.
1047 (textcomponent_changed_cb): Likewise.
1048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1049 (connectHooks): Remove.
1051 2003-07-23 Tom Tromey <tromey@redhat.com>
1053 * java/lang/natSystem.cc (arraycopy): Check for overflow.
1055 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
1057 2003-07-22 Tom Tromey <tromey@redhat.com>
1059 * boehm.cc (_Jv_BuildGCDescr): Wrote.
1062 2003-07-22 Tom Tromey <tromey@redhat.com>
1064 * java/awt/Window.java (getWarningString): Just return the
1066 (Window): Set warningString; check with security manager.
1068 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
1070 * gnu/awt/xlib/XGraphicsConfiguration.java
1071 (FontMetricsCache): Made static.
1073 2003-07-22 Tom Tromey <tromey@redhat.com>
1075 * java/net/URLEncoder.java (encode(String)): Use platform default
1077 (encode(String,String)): Convert to 2-digit upper-case hex
1081 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1083 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1084 (create): Remove unused method implementation.
1085 (connectHooks): Remove debug messages.
1087 2003-07-20 Anthony Green <green@redhat.com>
1089 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
1090 CloneNotSupportedException.
1091 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
1092 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
1093 * gnu/gcj/xlib/GC.java (clone): Ditto.
1094 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
1095 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
1097 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
1099 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
1101 2003-07-20 Steve Pribyl <steve@netfuel.com.>
1103 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
1104 String. Put dlerror() message into exception.
1105 Include UnsatisfiedLinkError.
1106 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
1109 2003-07-20 Tom Tromey <tromey@redhat.com>
1111 * java/lang/Runtime.java: Comment fix.
1112 * java/lang/ClassLoader.java (isAncestorOf): New method.
1113 (getParent): Uncommented security check. Use isAncestorOf.
1114 * include/jvm.h (_Jv_CheckAccess): Declare.
1115 * java/lang/reflect/natConstructor.cc (newInstance): Perform
1117 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
1118 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
1119 class loader to _Jv_GetArrayClass.
1120 Include ArrayIndexOutOfBoundsException.h.
1121 * java/lang/reflect/Field.java: Update comment to reflect status.
1122 (equals): Fixed indentation.
1123 * java/lang/Class.h (Class): Declare memberAccessCheck, not
1124 checkMemberAccess. Make _Jv_CheckAccess a friend.
1125 * java/lang/Class.java (memberAccessCheck): New method from
1127 (checkMemberAccess): Removed.
1128 (getDeclaredMethod): Use memberAccessCheck.
1129 (getField): Likewise.
1130 (getMethod): Likewise.
1131 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
1132 (_Jv_SearchMethodInClass): Likewise.
1133 * prims.cc (_Jv_CheckAccess): New function.
1134 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
1135 (_Jv_JNI_GetAnyFieldID): Likewise.
1136 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
1137 (getClassLoader): Added security check.
1138 (getConstructor): Call memberAccessCheck.
1139 (getDeclaredClasses): Likewise.
1140 (getDeclaredField): Likewise.
1141 (getDeclaredFields): Likewise.
1142 (_getConstructors): Likewise.
1143 (getDeclaredConstructor): Likewise.
1144 (getDeclaredMethods): Likewise.
1145 (getFields): Likewise.
1146 (getMethods): Likewise.
1147 (newInstance): Likewise.
1148 (_Jv_MakeVTable): Put method name in exception.
1149 * java/lang/reflect/natMethod.cc (getType): Use
1150 getClassLoaderInternal.
1151 (_Jv_GetTypesFromSignature): Likewise.
1152 (invoke): Perform access check.
1153 (_Jv_CallAnyMethodA): Removed old FIXME comments.
1154 Include ArrayIndexOutOfBoundsException.h.
1155 * java/lang/reflect/natField.cc (getType): Use
1156 getClassLoaderInternal.
1157 (_Jv_CheckFieldAccessibility): Removed.
1158 (getAddr): Use _Jv_CheckAccess; find caller.
1159 Include ArrayIndexOutOfBoundsException.h.
1161 2003-07-20 Michael Koch <konqueror@gmx.de>
1164 (URL): Fixed documentation to name an argument correcty, Reformatted
1165 one method declaration.
1166 (getURLStreamHandler): Added documentation from classpath.
1168 2003-07-19 Tom Tromey <tromey@redhat.com>
1170 * mauve-libgcj: Don't run CollationElementIterator tests.
1172 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
1174 * java/net/URLClassLoader.java (addURL): Moved implementation to
1175 private addURLImpl() to avoid calling addURL from the constructor.
1176 (addURLImpl): Contains the code that was previously in addURL.
1177 (addURLs): Call addURLImpl(), not addURL().
1179 2003-07-18 Graydon Hoare <graydon@redhat.com>
1181 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
1182 Handle missing event cases, connect to "value-changed" signal.
1184 2003-07-18 Graydon Hoare <graydon@redhat.com>
1186 * java/awt/geom/CubicCurve2D.java,
1187 java/awt/geom/Line2D.java,
1188 java/awt/geom/QuadCurve2D.java,
1189 java/awt/geom/Rectangle2D.java:
1190 Fix path some calculations, make path iterators follow
1193 2003-07-18 Mark Wielaard <mark@klomp.org>
1195 * java/util/logging/Handler.java (isLoggable): Check record level
1198 2003-07-17 Michael Koch <konqueror@gmx.de>
1200 * gnu/java/awt/peer/gtk/GtkToolkit.java:
1203 2003-07-14 Michael Koch <konqueror@gmx.de>
1205 * gnu/java/rmi/server/UnicastServerRef.java:
1206 New version from classpath.
1208 2003-07-14 Michael Koch <konqueror@gmx.de>
1210 * java/awt/image/MemoryImageSource.java,
1211 java/beans/PropertyEditorManager.java,
1212 javax/naming/CompoundName.java,
1213 javax/naming/spi/NamingManager.java,
1214 javax/swing/AbstractButton.java,
1215 javax/swing/ButtonModel.java,
1216 javax/swing/SwingUtilities.java,
1217 javax/swing/UIManager.java,
1218 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1219 javax/swing/event/AncestorEvent.java,
1220 javax/swing/event/InternalFrameEvent.java,
1221 java/util/zip/ZipFile.java:
1222 New versions from classpath.
1224 2003-07-13 Michael Koch <konqueror@gmx.de>
1226 * gnu/java/nio/FileChannelImpl.java,
1227 gnu/java/nio/natFileChannelImpl.cc: Removed.
1228 * java/io/FileInputStream.java,
1229 java/io/FileOutputStream.java,
1230 java/io/RandomAccessFile.java,
1231 java/nio/MappedByteBufferImpl.java:
1232 Import java.nio.channels.FileChannelImpl instead of
1233 gnu.java.nio.FileChannelImpl.
1234 * java/nio/channels/FileChannelImpl.java,
1235 java/nio/channels/natFileChannelImpl.cc:
1238 (ordinary_java_source_files):
1239 Removed gnu/java/nio/FileChannelImpl.java and added
1240 java/nio/channels/FileChannelImpl.java.
1242 Removed gnu/java/nio/natFileChannelImpl.cc and added
1243 java/nio/channels/natFileChannelImpl.cc.
1244 * Makefile.in: Regenerated.
1246 2003-07-13 Michael Koch <konqueror@gmx.de>
1248 * javax/swing/plaf/basic/BasicBorders.java,
1249 javax/swing/plaf/basic/BasicLabelUI.java,
1250 javax/swing/plaf/basic/BasicLookAndFeel.java,
1251 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1252 javax/swing/plaf/basic/BasicTextUI.java,
1253 javax/swing/plaf/metal/MetalLookAndFeel.java:
1254 New versions from classpath.
1256 2003-07-13 Michael Koch <konqueror@gmx.de>
1258 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
1259 * gnu/java/awt/peer/gtk/GdkGraphics.java
1260 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
1261 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
1262 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
1263 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
1264 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
1265 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1266 * gnu/java/awt/peer/gtk/GtkClipboard.java
1267 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
1268 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1269 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1270 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
1271 * gnu/java/awt/peer/gtk/GtkImage.java
1272 * gnu/java/awt/peer/gtk/GtkImagePainter.java
1273 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
1274 * gnu/java/awt/peer/gtk/GtkListPeer.java
1275 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1276 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
1277 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1278 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
1279 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
1280 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
1281 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
1282 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1283 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
1284 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
1285 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1286 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1288 2003-07-13 Michael Koch <konqueror@gmx.de>
1290 * gnu/java/locale/LocaleInformation_de.java
1291 * gnu/java/locale/LocaleInformation_en.java
1292 * gnu/java/locale/LocaleInformation_nl.java
1294 2003-07-13 Michael Koch <konqueror@gmx.de>
1296 * gnu/java/awt/EmbeddedWindow.java,
1297 gnu/java/awt/EmbeddedWindowSupport.java,
1298 gnu/java/awt/natEmbeddedWindow.cc:
1300 * java/awt/Window.java
1301 (Window): New constructor to support embedded windows.
1303 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
1304 gnu/java/awt/EmbeddedWindowSupport.java.
1305 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
1306 * Makefile.in: Regenerated.
1308 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
1310 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
1311 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
1312 * java/awt/im/InputContext.java: Remove a redundant
1315 2003-07-09 Tom Tromey <tromey@redhat.com>
1317 * Makefile.in: Rebuilt.
1318 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
1320 2003-07-09 Mark Wielaard <mark@klomp.org>
1322 * java/io/ObjectOutputStream.java (writeObject): break after
1323 calling writeClassDescriptor().
1325 2003-07-09 Mark Mitchell <mark@codesourcery.com>
1327 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
1329 2003-07-09 Michael Koch <konqueror@gmx.de>
1331 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1332 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1333 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1334 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1335 Explicitly import used classes.
1336 * java/awt/Container.java: New version from classpath.
1338 2003-07-09 Michael Koch <konqueror@gmx.de>
1340 * libgcj.pc.in: New file.
1341 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
1342 * Makefile.in: Regenerated.
1343 * configure: Regenrated.
1344 * configure.in: Create libgcj.pc from libgcj.pc.in.
1346 2003-07-08 Mark Wielaard <mark@klomp.org>
1348 * gcj/cni.h: CNI now expands to Compiled Native Interface.
1350 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
1351 * java/lang/fdlibm.h: Likewise.
1353 2003-07-07 Adam Megacz <adam@xwt.org>
1355 * posix.cc: added #include<stdio.h>
1357 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1359 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
1362 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1363 (setCaretPosition, setEditable): Rely entirely on native
1366 (postTextEvent): New method.
1367 (handleEvent): New method.
1368 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
1370 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
1371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1372 (keysym_to_awt_keycode): Fix range checks.
1373 (generates_key_typed_event): New function.
1374 (awt_event_handler): Post AWT_KEY_RELEASED events to event
1376 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1377 (gtkInit): Store TextComponent's postTextEvent method ID.
1378 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1379 (setText): Post TEXT_VALUE_CHANGED event to event queue.
1381 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1383 * configure.in: Check for usleep declaration.
1384 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
1385 * configure: Regenerate.
1386 * include/config.h.in: Likewise.
1387 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
1389 2003-07-01 Michael Koch <konqueror@gmx.de>
1391 * gnu/gcj/convert/natIconv.cc
1392 (iconv_init): Fixed possible memory leak by releasing allocated iconv
1395 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1397 * glib-2.0.m4: New file.
1398 * gtk-2.0.m4: New file.
1401 * configure.in: Update AM_PATH_GTK macro call to
1402 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
1403 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
1404 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
1405 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1406 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
1407 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1408 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1409 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
1410 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
1411 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1412 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
1413 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1414 jni/gtk-peer/gthread-jni.c,
1415 jni/gtk-peer/gthread-jni.h:
1416 New versions from classpath.
1417 * aclocal.m4: Regenerate.
1418 * configure: Regenerate.
1419 * Makefile.in: Regenerate.
1420 * gcj/Makefile.in: Regenerate.
1421 * include/Makefile.in: Regenerate.
1422 * testsuite/Makefile.in: Regenerate.
1424 2003-06-30 Gary Benson <gbenson@redhat.com>
1426 For PR libgcj/11349:
1427 * javax/naming/spi/NamingManager.java (getURLContext): Use
1428 correct name for factory class.
1430 2003-06-28 Michael Koch <konqueror@gmx.de>
1432 * java/io/PrintStream.java
1433 (checkError): Call flush() instead of direct flushing of the Writer
1435 (print): Call print(String) instead of direct print method of the
1437 (println): Call println(String) instead of direct println method of the
1439 (write): Simplified.
1441 2003-06-28 Michael Koch <konqueror@gmx.de>
1443 * java/net/ServerSocket.java
1444 (setChannel): New method.
1445 * java/net/Socket.java
1446 (setChannel): New method.
1448 2003-06-27 Michael Koch <konqueror@gmx.de>
1450 * java/beans/beancontext/BeanContextSupport.java:
1451 New version from classpath.
1453 2003-06-27 Michael Koch <konqueror@gmx.de>
1455 * java/awt/Window.java,
1456 java/awt/font/GraphicAttribute.java,
1457 java/awt/font/ImageGraphicAttribute.java,
1458 java/awt/image/DataBufferByte.java,
1459 java/awt/image/DataBufferInt.java,
1460 java/awt/image/DataBufferUShort.java,
1461 java/awt/image/DirectColorModel.java,
1462 java/awt/image/PixelGrabber.java:
1463 New versions from classpath.
1465 2003-06-27 Michael Koch <konqueror@gmx.de>
1467 * java/security/Certificate.java
1468 (getGuarantor): Removed wrong @deprecated tag.
1469 (getPrincipal): Likewise.
1470 (getPublicKey): Likewise.
1473 (getFormat): Likewise.
1474 (toString): Likewise.
1475 * java/security/cert/PolicyQualifierInfo.java
1476 (PolicyQualifierInfo): Made final.
1477 * javax/security/auth/x500/X500Principal.java
1478 (serialVersionUID): New member variable.
1480 2003-06-27 Michael Koch <konqueror@gmx.de>
1482 * java/text/Format.java
1483 (serialVersionUID): Fixed value.
1485 2003-06-27 Michael Koch <konqueror@gmx.de>
1487 * java/net/Inet4Address.java
1488 (Inet4Address): Made package-private.
1489 * java/net/Inet6Address.java
1490 (Inet4Address): Made package-private.
1492 2003-06-27 Michael Koch <konqueror@gmx.de>
1494 * java/io/RandomAccessFile.java
1495 (readLine): Removed wrong @deprecated tag.
1496 (getChannel): Made final.
1498 2003-06-27 Michael Koch <konqueror@gmx.de>
1500 * gnu/java/nio/FileChannelImpl.java
1503 2003-06-27 Michael Koch <konqueror@gmx.de>
1505 * java/nio/ByteBufferImpl.java
1506 (ByteBufferImpl): Made it a package-private class
1507 * java/nio/CharBufferImpl.java
1508 (CharBufferImpl): Made it a package-private class
1509 * java/nio/DirectByteBufferImpl.java
1510 (DirectByteBufferImpl): Made it a package-private class
1511 * java/nio/DoubleBufferImpl.java
1512 (DoubleBufferImpl): Made it a package-private class
1513 * java/nio/FloatBufferImpl.java
1514 (FloatBufferImpl): Made it a package-private class
1515 * java/nio/IntBufferImpl.java
1516 (IntBufferImpl): Made it a package-private class
1517 * java/nio/LongBufferImpl.java
1518 (LongBufferImpl): Made it a package-private class
1519 * java/nio/ShortBufferImpl.java
1520 (ShortBufferImpl): Made it a package-private class
1521 * java/nio/channels/FileChannel.java
1522 (write): Made final.
1523 * java/nio/channels/ServerSocketChannel.java
1524 (ServerSocketChanne): Made protected.
1526 2003-06-27 Michael Koch <konqueror@gmx.de>
1528 * javax/naming/CompositeName.java
1529 (serialVersionUID): New member variable.
1530 * javax/naming/CompoundName.java
1531 (serialVersionUID): New member variable.
1532 * javax/naming/InitialContext.java
1533 (InitialContext): Throws NamingException.
1535 * javax/naming/LinkRef.java
1536 (serialVersionUID): New member variable.
1537 (gteLinkName): Throws NamingException.
1538 * javax/naming/NamingException.java
1539 (serialVersionUID): New member variable.
1540 * javax/naming/NamingSecurityException.java
1541 (NamingSecurityException): Made abstract.
1542 (serialVersionUID): New member variable.
1543 * javax/naming/ReferralException.java
1544 (serialVersionUID): New member variable.
1545 * javax/naming/StringRefAddr.java
1546 (serialVersionUID): New member variable.
1547 * javax/naming/directory/BasicAttribute.java:
1549 (serialVersionUID): New member variable.
1550 (get): Throws NamingException.
1551 (getAll): Throws NamingException.
1552 * javax/naming/directory/BasicAttributes.java:
1554 (serialVersionUID): New member variable.
1555 * javax/naming/ldap/UnsolicitedNotificationEvent.java
1556 (serialVersionUID): New member variable.
1558 2003-06-27 Michael Koch <konqueror@gmx.de>
1561 (awt_java_source_files): Added new files:
1562 javax/swing/Popup.java,
1563 javax/swing/PopupFactory.java
1564 * Makefile.in: Regenerated.
1566 2003-06-27 Michael Koch <konqueror@gmx.de>
1568 * javax/swing/JWindow.java,
1569 javax/swing/event/AncestorEvent.java,
1570 javax/swing/event/HyperlinkEvent.java,
1571 javax/swing/event/InternalFrameEvent.java,
1572 javax/swing/event/ListDataEvent.java,
1573 javax/swing/event/TableModelEvent.java,
1574 javax/swing/plaf/PopupMenuUI.java,
1575 javax/swing/plaf/SplitPaneUI.java,
1576 javax/swing/plaf/TabbedPaneUI.java,
1577 javax/swing/plaf/TextUI.java,
1578 javax/swing/plaf/TreeUI.java,
1579 javax/swing/plaf/basic/BasicTextUI.java,
1580 javax/swing/plaf/basic/BasicTreeUI.java:
1581 New versions from classpath.
1582 * javax/swing/Popup.java,
1583 javax/swing/PopupFactory.jav:
1584 New source files from classpath.
1585 * javax/swing/plaf/doc-files/TreeUI-1.png:
1586 New binary files from classpath.
1588 2003-06-25 Michael Koch <konqueror@gmx.de>
1591 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1592 * Makefile.in: Regenerated.
1594 2003-06-25 Michael Koch <konqueror@gmx.de>
1596 * javax/swing/plaf/ActionMapUIResource.java,
1597 javax/swing/plaf/BorderUIResource.java,
1598 javax/swing/plaf/ButtonUI.java,
1599 javax/swing/plaf/ColorChooserUI.java,
1600 javax/swing/plaf/ColorUIResource.java,
1601 javax/swing/plaf/ComboBoxUI.java,
1602 javax/swing/plaf/ComponentInputMapUIResource.java,
1603 javax/swing/plaf/ComponentUI.java,
1604 javax/swing/plaf/DesktopIconUI.java,
1605 javax/swing/plaf/DesktopPaneUI.java,
1606 javax/swing/plaf/DimensionUIResource.java,
1607 javax/swing/plaf/FileChooserUI.java,
1608 javax/swing/plaf/FontUIResource.java,
1609 javax/swing/plaf/IconUIResource.java,
1610 javax/swing/plaf/InputMapUIResource.java,
1611 javax/swing/plaf/InsetsUIResource.java,
1612 javax/swing/plaf/InternalFrameUI.java,
1613 javax/swing/plaf/LabelUI.java,
1614 javax/swing/plaf/ListUI.java,
1615 javax/swing/plaf/MenuBarUI.java,
1616 javax/swing/plaf/MenuItemUI.java,
1617 javax/swing/plaf/OptionPaneUI.java,
1618 javax/swing/plaf/PanelUI.java,
1619 javax/swing/plaf/ProgressBarUI.java,
1620 javax/swing/plaf/RootPaneUI.java,
1621 javax/swing/plaf/ScrollBarUI.java,
1622 javax/swing/plaf/ScrollPaneUI.java,
1623 javax/swing/plaf/SeparatorUI.java,
1624 javax/swing/plaf/SliderUI.java,
1625 javax/swing/plaf/TableHeaderUI.java,
1626 javax/swing/plaf/TableUI.java,
1627 javax/swing/plaf/ToolBarUI.java,
1628 javax/swing/plaf/ToolTipUI.java,
1629 javax/swing/plaf/ViewportUI.java:
1630 New versions from classpath.
1631 * javax/swing/plaf/SpinnerUI.java:
1632 New file from classpath
1634 2003-06-25 Michael Koch <konqueror@gmx.de>
1636 * java/awt/image/ColorModel.java:
1637 New version from classpath.
1639 2003-06-25 Michael Koch <konqueror@gmx.de>
1641 * java/net/PlainDatagramSocketImpl.java:
1642 Partly merged with classpath, this mainly adds documentation.
1644 2003-06-25 Michael Koch <konqueror@gmx.de>
1646 * java/io/ObjectInputStream.java
1647 (readClassDescriptor): New method.
1648 (readObject): Moved functionality to readClassDescriptor().
1649 * java/io/ObjectOutputStream.java
1650 (writeClassDescriptor): New method.
1651 (writeObject): Moved functionality to writeClassDescriptor().
1653 2003-06-25 Michael Koch <konqueror@gmx.de>
1655 * javax/swing/plaf/basic/BasicListUI.java,
1656 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1657 Added missing methods.
1659 2003-06-25 Michael Koch <konqueror@gmx.de>
1661 * javax/swing/event/AncestorEvent.java
1662 javax/swing/event/HyperlinkEvent.java
1663 javax/swing/event/InternalFrameEvent.java
1664 javax/swing/event/ListDataEvent.java
1665 javax/swing/event/TableModelEvent.java:
1668 2003-06-24 Michael Koch <konqueror@gmx.de>
1670 * java/net/URL.java:
1671 Renamed "handler" to "ph" in the whole file to match classpaths
1673 * java/net/URLStreamHandler.java:
1674 (equals): Renamed "handler" to "ph".
1676 2003-06-24 Michael Koch <konqueror@gmx.de>
1678 * javax/swing/event/AncestorEvent.java,
1679 javax/swing/event/HyperlinkEvent.java,
1680 javax/swing/event/InternalFrameEvent.java,
1681 javax/swing/event/ListDataEvent.java,
1682 javax/swing/event/TableModelEvent.java,
1683 javax/swing/event/TreeWillExpandListener.java,
1684 javax/swing/plaf/ComponentUI.java,
1685 javax/swing/plaf/DesktopIconUI.java,
1686 javax/swing/plaf/DesktopPaneUI.java,
1687 javax/swing/plaf/DimensionUIResource.java,
1688 javax/swing/plaf/FileChooserUI.java,
1689 javax/swing/plaf/FontUIResource.java,
1690 javax/swing/plaf/IconUIResource.java,
1691 javax/swing/plaf/InputMapUIResource.java,
1692 javax/swing/plaf/InsetsUIResource.java,
1693 javax/swing/plaf/InternalFrameUI.java,
1694 javax/swing/plaf/LabelUI.java,
1695 javax/swing/plaf/ListUI.java,
1696 javax/swing/plaf/MenuBarUI.java,
1697 javax/swing/plaf/MenuItemUI.java,
1698 javax/swing/plaf/OptionPaneUI.java,
1699 javax/swing/plaf/PanelUI.java,
1700 javax/swing/plaf/ProgressBarUI.java,
1701 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1702 javax/swing/plaf/doc-files/ComponentUI-1.png:
1703 New versions from classpath.
1705 2003-06-24 Michael Koch <konqueror@gmx.de>
1707 * java/nio/Buffer.java
1708 (cap): Made package-private.
1713 2003-06-24 Michael Koch <konqueror@gmx.de>
1715 * java/net/SocketImpl.java
1716 (shutdownInput): Made it non-abstract method throwing an exception
1718 (shutdownOutput): Likewise.
1719 * java/net/SocketInputStream.java,
1720 java/net/SocketOutputStream.java:
1721 New files from classpath.
1723 2003-06-24 Michael Koch <konqueror@gmx.de>
1725 * java/awt/Font.java,
1726 java/awt/Window.java,
1727 java/awt/color/ColorSpace.java,
1728 java/awt/datatransfer/StringSelection.java,
1729 java/awt/image/ColorModel.java:
1730 New versions from classpath.
1732 2003-06-24 Michael Koch <konqueror@gmx.de>
1735 (awt_java_source_files): Added new files:
1736 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1737 javax/swing/plaf/basic/BasicSplitPaneUI.java
1738 * Makefile.in: Regenerated.
1740 2003-06-24 Michael Koch <konqueror@gmx.de>
1742 * javax/swing/text/JTextComponent.java:
1743 New version from classpath.
1745 2003-06-24 Michael Koch <konqueror@gmx.de>
1747 * javax/swing/Timer.java,
1748 javax/swing/plaf/ActionMapUIResource.java,
1749 javax/swing/plaf/ButtonUI.java,
1750 javax/swing/plaf/ColorChooserUI.java,
1751 javax/swing/plaf/ColorUIResource.java,
1752 javax/swing/plaf/ComboBoxUI.java,
1753 javax/swing/plaf/ComponentInputMapUIResource.java,
1754 javax/swing/plaf/basic/BasicBorders.java:
1755 New versions from classpath.
1756 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1757 javax/swing/plaf/basic/BasicSplitPaneUI.java:
1758 New file from classpath.
1759 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1760 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1761 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1762 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1763 javax/swing/plaf/doc-files/ComponentUI-1.png:
1764 New binary files from classpath.
1766 2003-06-24 Michael Koch <konqueror@gmx.de>
1768 * java/io/LineNumberReader.java
1769 (skip): Dont do line number accounting here as this is already done in
1772 2003-06-21 Michael Koch <konqueror@gmx.de>
1775 (static): Load javaio lib if existing (only in classpath).
1776 (File): Revised documentation to show the correct argument name.
1777 (createTempFile): Partly merged with classpath.
1778 (compareTo): Simplified.
1779 (lastModified): Throw exception if time < 0.
1780 (deleteOnExit): Revised documentation.
1782 2003-06-21 Michael Koch <konqueror@gmx.de>
1784 * java/net/PlainSocketImpl.java:
1786 (PlainSocketImpl): Merged class documentaion with classpath.
1789 (PlainSocketImpl): New empty constructor.
1791 (setOption): Merged documentation from classpath.
1792 (getOption): Likewise.
1794 (connect): Likewise.
1798 (available): Likewise.
1802 (getInputStream): Made synchronozed to get sure that only one stream
1803 object can be created for this socket, merged documentation from
1805 (getOutputStream): Likewise.
1807 2003-06-21 Michael Koch <konqueror@gmx.de>
1809 * java/net/PlainSocketImpl.java:
1811 (static): New implicit method.
1812 (read): Made package private.
1815 2003-06-21 Michael Koch <konqueror@gmx.de>
1817 * java/util/SimpleTimeZone.java:
1818 Removed unneeded import, reformatting.
1820 2003-06-21 Michael Koch <konqueror@gmx.de>
1822 * java/text/DateFormat.java,
1823 java/text/SimpleDateFormat.java,
1824 java/util/Locale.java:
1825 New versions from classpath.
1827 2003-06-21 Michael Koch <konqueror@gmx.de>
1829 * javax/swing/SpinnerModel.java:
1830 New file from classpath.
1831 * javax/swing/border/LineBorder.java,
1832 javax/swing/border/SoftBevelBorder.java,
1833 javax/swing/plaf/BorderUIResource.java,
1834 javax/swing/plaf/basic/BasicBorders.java:
1835 New versions from classpath.
1836 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1837 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1838 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1839 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1840 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1841 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1842 New binary files from classpath.
1844 2003-06-21 Michael Koch <konqueror@gmx.de>
1846 * java/util/logging/LogRecord.java,
1847 java/util/logging/Logger.java,
1848 java/util/logging/SocketHandler.java,
1849 java/util/logging/SimpleFormatter.java,
1850 java/util/logging/Formatter.java,
1851 java/util/logging/ErrorManager.java,
1852 java/util/logging/Handler.java,
1853 java/util/logging/FileHandler.java,
1854 java/util/logging/LogManager.java,
1855 java/util/logging/Level.java,
1856 java/util/logging/ConsoleHandler.java,
1857 java/util/logging/StreamHandler.java,
1858 java/util/logging/LoggingPermission.java,
1859 java/util/logging/Filter.java,
1860 java/util/logging/MemoryHandler.java,
1861 java/util/logging/XMLFormatter.java:
1862 New files from classpath.
1864 2003-06-20 Michael Koch <konqueror@gmx.de>
1866 * java/io/ObjectStreamField.java
1867 (unshared): new member variable.
1868 (ObjectStreamField): New constructor.
1869 (isUnshared): New method.
1871 2003-06-20 Michael Koch <konqueror@gmx.de>
1873 * java/net/URLStreamHandler.java
1874 (hostsEqual): Rewritten.
1876 2003-06-20 Michael Koch <konqueror@gmx.de>
1878 * gnu/java/nio/MappedByteFileBuffer.java,
1879 gnu/java/nio/natMappedByteFileBuffer.cc:
1881 * java/nio/MappedByteBufferImpl.java:
1883 * gnu/java/nio/FileChannelImpl.java:
1884 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1886 (ordinary_java_source_files): Removed
1887 gnu/java/nio/MappedByteFileBuffer.java and added
1888 java/nio/MappedByteBufferImpl.java.
1889 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1890 * Makefile.in: Regenerated.
1892 2003-06-19 Michael Koch <konqueror@gmx.de>
1894 * gnu/java/nio/DatagramChannelImpl.java
1896 (blocking): New member variable.
1898 (DatagramChannelImpl): Throws IOException, initialize socket.
1899 (socket):Implemented.
1900 (implCloseSelectableChannel): Throws IOException, implemented.
1901 (implConfigureBlocking): Likewise.
1902 (connect): Likewise.
1903 (disconnect): Likewise.
1904 (isConnected): Likewise.
1907 (receive): Throws IOException.
1909 * gnu/java/nio/SocketChannelImpl.java
1910 (read): Implemented.
1911 (write): Implemented.
1913 2003-06-19 Michael Koch <konqueror@gmx.de>
1915 * javax/swing/JComponent.java,
1916 javax/swing/JInternalFrame.java,
1917 javax/swing/MenuSelectionManager.java,
1918 javax/swing/SwingUtilities.java,
1919 javax/swing/ToggleButtonModel.java:
1920 New versions from classpath.
1922 2003-06-19 Michael Koch <konqueror@gmx.de>
1924 * java/text/CollationElementIterator.java
1925 (NULLORDER): Initialize with -1 as JDK documentation says.
1927 2003-06-19 Michael Koch <konqueror@gmx.de>
1929 * java/net/HttpURLConnection.java,
1930 java/net/Inet4Address.java,
1931 java/net/Inet6Address.java,
1932 java/net/SocketImpl.java,
1933 java/net/URLClassLoader.java:
1934 Reworked import statements.
1935 * java/net/InetAddress.java
1936 (getByAddress): Simplified.
1937 * java/net/ServerSocket.java
1938 (ServerSocket): Moved special handling during bind operation to
1940 (bind): Handle different cases when trying to bind a socket.
1941 * java/net/URLConnection.java
1942 (getHeaderFieldDate): Merged with classpath.
1943 (getHeaderFieldInt): Likewise.
1945 2003-06-19 Michael Koch <konqueror@gmx.de>
1947 * java/util/zip/InflaterInputStream.java
1948 (InflaterInputStream): Throw NullPointerException if in is null (as
1951 2003-06-19 Michael Koch <konqueror@gmx.de>
1953 * java/awt/Font.java
1954 javax/swing/UIManager.java
1955 javax/swing/border/AbstractBorder.java
1956 javax/swing/border/BevelBorder.java
1957 javax/swing/border/Border.java
1958 javax/swing/border/CompoundBorder.java
1959 javax/swing/border/EmptyBorder.java
1960 javax/swing/border/EtchedBorder.java
1961 javax/swing/border/LineBorder.java
1962 javax/swing/border/MatteBorder.java
1963 javax/swing/border/TitledBorder.java
1964 javax/swing/plaf/BorderUIResource.java
1965 javax/swing/plaf/basic/BasicBorders.java
1966 javax/swing/plaf/basic/BasicButtonUI.java
1967 javax/swing/plaf/basic/BasicCheckBoxUI.java
1968 javax/swing/plaf/basic/BasicGraphicsUtils.java
1969 javax/swing/plaf/basic/BasicLabelUI.java
1970 javax/swing/plaf/basic/BasicRadioButtonUI.java
1971 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1972 New versions from classpath.
1973 * javax/swing/border/SoftBevelBorder.java:
1974 New file from classpath.
1975 * javax/swing/border/doc-files/LineBorder-1.png,
1976 javax/swing/border/doc-files/BevelBorder-1.png,
1977 javax/swing/border/doc-files/BevelBorder-2.png,
1978 javax/swing/border/doc-files/BevelBorder-3.png,
1979 javax/swing/border/doc-files/EmptyBorder-1.png,
1980 javax/swing/border/doc-files/EtchedBorder-1.png,
1981 javax/swing/border/doc-files/EtchedBorder-2.png,
1982 javax/swing/border/doc-files/MatteBorder-1.png,
1983 javax/swing/border/doc-files/MatteBorder-2.png,
1984 javax/swing/border/doc-files/MatteBorder-3.png,
1985 javax/swing/border/doc-files/MatteBorder-4.png,
1986 javax/swing/border/doc-files/MatteBorder-5.png,
1987 javax/swing/border/doc-files/MatteBorder-6.png,
1988 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1989 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1990 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1991 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1992 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1993 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1994 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1995 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1996 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1997 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1998 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1999 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
2000 New binary files from classpath.
2002 (awt_java_source_files): Added
2003 javax/swing/border/SoftBevelBorder.java.
2004 * Makefile.in: Regenerated.
2006 2003-06-19 Michael Koch <konqueror@gmx.de>
2008 * gnu/java/security/x509/X509Certificate.java
2009 (writeReplace): Merged from classpath.
2011 2003-06-19 Michael Koch <konqueror@gmx.de>
2013 * gnu/java/nio/FileChannelImpl.java
2014 (map_address): Made public.
2015 (FileChannelImpl): Merged with classpath.
2016 * gnu/java/nio/natFileChannelImpl.cc
2017 (nio_mmap_file): Commented out unused arguments.
2018 (nio_unmmap_file): Likewise.
2019 (niu_msync): Likewise.
2021 2003-06-19 Michael Koch <konqueror@gmx.de>
2023 * java/awt/image/IndexColorModel.java:
2024 New version from classpath.
2026 2003-06-18 Tom Tromey <tromey@redhat.com>
2028 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
2030 (isLoopbackAddress): Likewise.
2031 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
2034 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
2036 * java/lang/natVMSecurityManager.cc (getClassContext):
2037 Use maxlen instead of len for loop bound.
2039 2003-06-18 Michael Koch <konqueror@gmx.de>
2041 * gnu/java/nio/SelectorImpl.java
2042 (register): Use fd with value 0 for now, will be fixed later.
2043 * gnu/java/nio/ServerSocketChannelImpl.java
2045 (local_port): Removed.
2046 (InetSocketAddress): Removed.
2047 (ServerSocketChannelImpl): Just initialize internal socket object.
2048 (implCloseSelectableChannel): Close internal socket object.
2049 (implConfigureBlocking): Added comment.
2050 (accept): Use jaba.net stuff to accept socket.
2051 * gnu/java/nio/SocketChannelImpl.java
2053 (local_port): Removed.
2054 (InetSocketAddress): Removed.
2055 (SocketCreate): Removed.
2056 (SocketConnect): Removed.
2057 (SocketBind): Removed.
2058 (SocketListen): Removed.
2059 (SocketAvailable): Removed.
2060 (SocketClose): Removed.
2061 (SocketRead): Removed.
2062 (SocketWrite): Removed.
2063 (SocketChannelImpl): Just initialize internal socket object.
2064 (implCloseSelectableChannel): Close internal socket object.
2065 (implConfigureBlocking): Fixed implementation, added comment.
2066 (connect): Use internal socket object to connect.
2067 (socket): No need for sanity checks.
2068 (read): Comment out some stuff, this will be reimplemented in the next
2071 * gnu/java/nio/natFileChannelImpl.cc
2072 (nio_mmap_file): Line wrapped.
2073 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
2075 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
2076 * Makefile.in: Regenerated.
2078 2003-06-18 Michael Koch <konqueror@gmx.de>
2080 * java/util/Locale.java
2081 (equals): Merged from classpath.
2083 2003-06-18 Michael Koch <konqueror@gmx.de>
2085 * java/net/InetAddress.java:
2086 Reformatted to better match classpath's version.
2088 (equals): Simplified.
2089 * java/net/URLConnection.java
2090 (setDoInput): Revised documentation.
2091 (getDefaultUseCaches): Likewise.
2092 (setRequestProperty): Added @since tag.
2094 2003-06-17 Michael Koch <konqueror@gmx.de>
2096 * java/net/InetSocketAddress.java
2097 (InetSocketAddress): Use wildcard address if addr is null.
2098 (InetSocketAddress): Dont duplicate implementation.
2099 (InetSocketAddress): Throw exception when hostname is null.
2100 * java/net/Socket.java:
2102 (Socket): Throw exception when raddr is null, handle case when laddr
2105 2003-06-17 Michael Koch <konqueror@gmx.de>
2107 * java/nio/DirectByteBufferImpl.java
2108 (address): Made package private.
2109 (DirectByteBufferImpl): New constructor.
2110 * java/nio/natDirectByteBufferImpl.cc
2111 (allocateImpl): Moved to java.nio namespace, implemented.
2112 (freeImpl): Likewise.
2113 (getImpl): Likewise.
2114 (putImpl): Likewise.
2116 (_Jv_JNI_NewDirectByteBuffer): Implemented.
2117 (_Jv_JNI_GetDirectBufferAddress): Implemented.
2118 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
2120 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2122 * include/powerpc-signal.h: New File.
2123 * configure.in: Use it.
2124 * configure: Regenerated.
2126 2003-06-17 Michael Koch <konqueror@gmx.de>
2128 * java/util/Locale.java
2129 (getDisplayLanguage): Made it final.
2130 (getDisplayCountry): Likewise.
2131 (getDisplayVariant): Likewise.
2132 (getDisplayName): Likewise.
2134 2003-06-17 Michael Koch <konqueror@gmx.de>
2136 * java/util/PropertyResourceBundle.java:
2137 Removed unneeded import.
2139 2003-06-17 Michael Koch <konqueror@gmx.de>
2141 * java/util/prefs/AbstractPreferences.java,
2142 java/util/prefs/PreferencesFactory.java:
2143 Reworked imports, removed unused imports.
2144 * java/util/prefs/Preferences.java
2145 (systemNodeForPackage): Method takes a Class not an Object.
2146 (userNodeForPackage): Likewise.
2147 (nodeForPackage): Likewise.
2149 2003-06-17 Michael Koch <konqueror@gmx.de>
2151 * gnu/java/security/x509/X509Certificate.java:
2152 Explicitely import used classes.
2154 2003-06-17 Michael Koch <konqueror@gmx.de>
2156 * java/util/zip/ZipEntry.java,
2157 java/util/zip/ZipFile.java,
2158 java/util/zip/ZipInputStream.java,
2159 java/util/zip/ZipOutputStream.java:
2160 Reworked imports, only import used classes.
2162 2003-06-17 Michael Koch <konqueror@gmx.de>
2164 * gnu/java/lang/ArrayHelper.java,
2165 gnu/java/lang/ClassHelper.java:
2166 Reformatted to match classpath's versions.
2168 2003-06-14 Michael Koch <konqueror@gmx.de>
2170 * gnu/java/nio/FileChannelImpl.java
2171 (map_address): Removed incorrect comment.
2172 * gnu/java/nio/SelectorImpl.java
2173 (register): Remove code duplication and code for file channel handling.
2174 * gnu/java/nio/ServerSocketChannelImpl.java
2175 (serverSocket): Renamed from sock_object.
2176 (ServerSocketChannel): Initialize serverSocket.
2177 (socket): Return serverSocket.
2178 * gnu/java/nio/SocketChannelImpl.java
2179 (socket): Renamed from sock_object.
2180 (isConnectionPenging): Simplified.
2181 (socket): Return socket.
2182 2003-06-14 Michael Koch <konqueror@gmx.de>
2184 * java/security/BasicPermission.java:
2185 New version from classpath.
2187 2003-06-14 Michael Koch <konqueror@gmx.de>
2189 * javax/naming/directory/Attribute.java:
2190 New version from classpath.
2192 2003-06-14 Michael Koch <konqueror@gmx.de>
2194 * java/io/BufferedReader.java,
2195 java/io/FileOutputStream.java:
2196 New versions from classpath.
2198 2003-06-12 Andrew Haley <aph@redhat.com>
2200 * prims.cc (catch_segv): Create exception in handler.
2201 (catch_fpe): Likewise.
2202 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
2203 (_Jv_ThrowSignal): Remove.
2205 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
2206 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
2207 to nullp and arithexception.
2208 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2209 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2210 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2211 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2212 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2214 2003-06-11 Andrew Haley <aph@redhat.com>
2216 * jni.cc (_Jv_JNI_check_types): New.
2217 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
2218 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
2219 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
2220 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
2222 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
2225 2003-06-11 Tom Tromey <tromey@redhat.com>
2227 * java/lang/ClassLoader.java (loadClass): Not deprecated.
2228 * java/io/PrintStream.java: Not deprecated.
2230 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
2232 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
2233 (fillOval): implemented
2234 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
2235 (fillArc): implemented.
2236 * gnu/gcj/xlib/GC.java (drawArc): added native method.
2237 (fillArc): added native method.
2238 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
2239 (fillArc): added native method.
2241 2003-06-11 Michael Koch <konqueror@gmx.de>
2243 * java/awt/im/InputSubset.java:
2244 New version from classpath.
2246 2003-06-11 Michael Koch <konqueror@gmx.de>
2248 * javax/swing/AbstractAction.java,
2249 javax/swing/AbstractButton.java,
2250 javax/swing/AbstractCellEditor.java,
2251 javax/swing/AbstractListModel.java,
2252 javax/swing/BorderFactory.java,
2253 javax/swing/Box.java,
2254 javax/swing/BoxLayout.java,
2255 javax/swing/ButtonGroup.java,
2256 javax/swing/DefaultButtonModel.java,
2257 javax/swing/DefaultListModel.java,
2258 javax/swing/DefaultListSelectionModel.java,
2259 javax/swing/FocusManager.java,
2260 javax/swing/ImageIcon.java,
2261 javax/swing/InputMap.java,
2262 javax/swing/JApplet.java,
2263 javax/swing/JButton.java,
2264 javax/swing/JCheckBox.java,
2265 javax/swing/JCheckBoxMenuItem.java,
2266 javax/swing/JColorChooser.java,
2267 javax/swing/JComboBox.java,
2268 javax/swing/JComponent.java,
2269 javax/swing/JDesktopPane.java,
2270 javax/swing/JDialog.java,
2271 javax/swing/JEditorPane.java,
2272 javax/swing/JFileChooser.java,
2273 javax/swing/JFormattedTextField.java,
2274 javax/swing/JFrame.java,
2275 javax/swing/JLabel.java,
2276 javax/swing/JLayeredPane.java,
2277 javax/swing/JList.java,
2278 javax/swing/JMenuBar.java,
2279 javax/swing/JMenuItem.java,
2280 javax/swing/JOptionPane.java,
2281 javax/swing/JPanel.java,
2282 javax/swing/JPasswordField.java,
2283 javax/swing/JPopupMenu.java,
2284 javax/swing/JProgressBar.java,
2285 javax/swing/JRadioButton.java,
2286 javax/swing/JRadioButtonMenuItem.java,
2287 javax/swing/JRootPane.java,
2288 javax/swing/JScrollBar.java,
2289 javax/swing/JScrollPane.java,
2290 javax/swing/JSeparator.java,
2291 javax/swing/JSlider.java,
2292 javax/swing/JTabbedPane.java,
2293 javax/swing/JTable.java,
2294 javax/swing/JTextField.java,
2295 javax/swing/JToggleButton.java,
2296 javax/swing/JToolBar.java,
2297 javax/swing/JToolTip.java,
2298 javax/swing/JTree.java,
2299 javax/swing/JViewport.java,
2300 javax/swing/JWindow.java,
2301 javax/swing/KeyStroke.java,
2302 javax/swing/ListSelectionModel.java,
2303 javax/swing/LookAndFeel.java,
2304 javax/swing/RepaintManager.java,
2305 javax/swing/ScrollPaneLayout.java,
2306 javax/swing/SizeRequirements.java,
2307 javax/swing/SwingConstants.java,
2308 javax/swing/Timer.java,
2309 javax/swing/UIDefaults.java,
2310 javax/swing/UIManager.java,
2311 javax/swing/border/AbstractBorder.java,
2312 javax/swing/border/CompoundBorder.java,
2313 javax/swing/colorchooser/AbstractColorChooserPanel.java,
2314 javax/swing/colorchooser/ColorChooserComponentFactory.java,
2315 javax/swing/colorchooser/ColorSelectionModel.java,
2316 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2317 javax/swing/event/AncestorEvent.java,
2318 javax/swing/event/HyperlinkEvent.java,
2319 javax/swing/event/InternalFrameAdapter.java,
2320 javax/swing/event/InternalFrameEvent.java,
2321 javax/swing/event/ListDataEvent.java,
2322 javax/swing/event/MouseInputAdapter.java,
2323 javax/swing/event/SwingPropertyChangeSupport.java,
2324 javax/swing/event/TableModelEvent.java,
2325 javax/swing/event/TreeWillExpandListener.java,
2326 javax/swing/event/UndoableEditEvent.java,
2327 javax/swing/filechooser/FileFilter.java,
2328 javax/swing/filechooser/FileSystemView.java,
2329 javax/swing/filechooser/FileView.java,
2330 javax/swing/plaf/BorderUIResource.java,
2331 javax/swing/plaf/basic/BasicDefaults.java,
2332 javax/swing/table/AbstractTableModel.java,
2333 javax/swing/table/DefaultTableCellRenderer.java,
2334 javax/swing/table/DefaultTableColumnModel.java,
2335 javax/swing/table/DefaultTableModel.java,
2336 javax/swing/table/TableColumn.java,
2337 javax/swing/text/JTextComponent.java,
2338 javax/swing/tree/AbstractLayoutCache.java,
2339 javax/swing/tree/DefaultMutableTreeNode.java,
2340 javax/swing/tree/DefaultTreeCellEditor.java,
2341 javax/swing/tree/DefaultTreeCellRenderer.java,
2342 javax/swing/tree/DefaultTreeModel.java,
2343 javax/swing/tree/DefaultTreeSelectionModel.java,
2344 javax/swing/tree/FixedHeightLayoutCache.java,
2345 javax/swing/tree/TreeCellEditor.java,
2346 javax/swing/tree/TreeModel.java,
2347 javax/swing/tree/TreeNode.java,
2348 javax/swing/tree/TreePath.java,
2349 javax/swing/tree/TreeSelectionModel.java,
2350 javax/swing/tree/VariableHeightLayoutCache.java,
2351 javax/swing/undo/AbstractUndoableEdit.java,
2352 javax/swing/undo/CompoundEdit.java,
2353 javax/swing/undo/StateEdit.java,
2354 javax/swing/undo/UndoManager.java,
2355 javax/swing/undo/UndoableEditSupport.java:
2356 New versions from classpath.
2357 * javax/swing/table/JTableHeader.java:
2358 New file from classpath.
2360 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
2361 * Makefile.in: Regenerated.
2363 2003-06-11 Michael Koch <konqueror@gmx.de>
2365 * java/nio/MappedByteBuffer.java,
2366 java/nio/channels/Channels.java,
2367 java/nio/channels/ServerSocketChannel.java,
2368 java/nio/channels/spi/AbstractSelector.java:
2369 Removed unneeded imports.
2371 2003-06-11 Michael Koch <konqueror@gmx.de>
2373 * java/net/DatagramSocket.java:
2374 Partly merged with classpath.
2376 2003-06-11 Michael Koch <konqueror@gmx.de>
2378 * java/awt/Frame.java,
2379 java/awt/Graphics.java,
2381 java/awt/Robot.java,
2382 java/awt/image/ColorModel.java:
2383 New versions from classpath.
2385 2003-06-10 Michael Koch <konqueror@gmx.de>
2387 * java/io/PrintStream.java:
2388 Merged version from classpath.
2389 (close): Removed sychronized keyword. This class is not garantied to
2393 2003-06-09 Tom Tromey <tromey@redhat.com>
2395 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
2397 (getDescent): Likewise, for "descent".
2399 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
2401 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
2402 (getMaxDescent): adjusted return value.
2403 (getAscent): modified to use metrics for 'O'.
2404 (getDescent): modified to use metrics for 'y'.
2406 2003-06-08 Anthony Green <green@redhat.com>
2408 * java/net/URLStreamHandler.java (sameFile): Fix port value
2410 * java/net/URL.java (handler): Make package private.
2411 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
2413 2003-06-07 Tom Tromey <tromey@redhat.com>
2415 For PR libgcj/11085:
2416 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
2417 Limit number of characters in numeric field when required.
2418 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
2419 Respect maximumIntegerDigits.
2421 2003-06-08 Michael Koch <konqueror@gmx.de>
2423 * java/net/Socket.java
2424 (Socket): Dont initialize inputShutdown and outputShutdown twice,
2425 call bind() and connect() to actually do the bind and connect tasks.
2426 (bind): Connect to canonical address if bindpoint is null, create
2427 socket and bind it to bindpoint.
2428 (connect): Check for exceptions.
2430 2003-06-08 Michael Koch <konqueror@gmx.de>
2432 * java/net/DatagramSocket.java
2433 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
2434 into the Multicast constructors.
2435 * java/net/DatagramSocketImpl.java
2436 (getOption): Removed.
2437 (setOption): Removed.
2438 * java/net/MulticastSocket.java
2439 (MulticastSocket): Call setReuseAddress (true).
2440 * java/net/SocketImpl.java
2441 (getOption): Removed.
2442 (setOption): Removed.
2444 2003-06-07 Jeff Sturm <jsturm@one-point.com>
2447 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
2448 Test for empty vector.
2450 2003-06-06 Mark Wielaard <mark@klomp.org>
2452 * java/security/Security.java (secprops): Initialize.
2453 (loadProviders): Return boolean.
2454 (static): Check result of loadProvider calls. If necessary
2455 display WARNING and fallback to Gnu provider.
2457 2002-06-06 James Clark <jjc@jclark.com>
2459 Fix for PR libgcj/8738:
2460 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
2461 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
2462 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
2463 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
2464 (write): Always decrease avail when count is increased.
2465 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
2466 and whether output buffer is full before increasing size.
2468 2002-06-06 Mark Wielaard <mark@klomp dot org>
2470 * java/io/PrintStream.java (writeChars(char[],int, int)):
2471 Check converter.havePendingBytes().
2472 (writeChars(String,int,int)): Likewise.
2473 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
2474 Check converter.havePendingBytes() and flush buffer when stalled.
2476 2003-06-07 Michael Koch <konqueror@gmx.de>
2479 (O_DSYNC): Define O_DSYNC on platforms not
2480 supporting O_FSYNC (newlib).
2482 2003-06-06 Mark Wielaard <mark@klomp.org>
2484 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
2487 2003-06-06 Michael Koch <konqueror@gmx.de>
2489 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2490 More compile fixes from my stupid work yesterday.
2492 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
2494 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
2495 if _IEEE_LIBM is undefined.
2497 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
2499 * libjava/include/posix.h (O_SYNC): Define if not available
2500 and a reasonable, perhaps more conservative, replacement exists.
2501 (O_DSYNC): Likewise.
2502 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
2504 2003-06-05 Michael Koch <konqueror@gmx.de>
2506 * javax/swing/plaf/BorderUIResource.java,
2507 javax/swing/plaf/basic/BasicDefaults.java,
2508 javax/swing/plaf/basic/BasicOptionPaneUI.java:
2509 More compile fixes for latest Border commit. I should not commit
2510 something in this heat here ...
2512 2003-06-05 Michael Koch <konqueror@gmx.de>
2514 * javax/swing/border/BevelBorder.java
2515 (BevelBorder): Removed.
2516 * javax/swing/border/EmptyBorder.java:
2518 (EmptyBorder): Removed.
2519 (getBorderInsets): Dont use l, r, t and b.
2520 * javax/swing/border/EtchedBorder.java
2521 (EtchedBorder): Removed.
2522 * javax/swing/border/LineBorder.java
2523 (LineBorder): Removed.
2524 * javax/swing/border/MatteBorder.java
2525 (MatteBorder): Removed.
2526 * javax/swing/border/TitledBorder.java
2527 (defaultBorder): Use other default for now.
2528 (defaultFont): Likewise.
2529 (defaultColor): Likewise.
2531 2003-06-05 Michael Koch <konqueror@gmx.de>
2533 * javax/swing/border/Border.java:
2534 New version from classpath.
2536 2003-06-05 Michael Koch <konqueror@gmx.de>
2538 * javax/swing/border/AbstractBorder.java,
2539 javax/swing/border/BevelBorder.java,
2540 javax/swing/border/CompoundBorder.java,
2541 javax/swing/border/EmptyBorder.java,
2542 javax/swing/border/EtchedBorder.java,
2543 javax/swing/border/LineBorder.java,
2544 javax/swing/border/MatteBorder.java,
2545 javax/swing/border/TitledBorder.java:
2546 New versions from Classpath.
2548 2003-06-05 Michael Koch <konqueror@gmx.de>
2550 * java/awt/Button.java,
2551 java/awt/Checkbox.java,
2552 java/awt/CheckboxMenuItem.java,
2553 java/awt/Choice.java,
2554 java/awt/Container.java,
2555 java/awt/Dialog.java,
2556 java/awt/EventQueue.java,
2557 java/awt/FileDialog.java,
2558 java/awt/Frame.java,
2559 java/awt/Label.java,
2562 java/awt/MenuItem.java,
2563 java/awt/Panel.java,
2564 java/awt/PopupMenu.java,
2565 java/awt/Rectangle.java,
2566 java/awt/ScrollPane.java,
2567 java/awt/Scrollbar.java,
2568 java/awt/TextArea.java,
2569 java/awt/TextField.java,
2570 java/awt/Window.java,
2571 java/awt/datatransfer/DataFlavor.java,
2572 java/awt/dnd/DragSource.java,
2573 java/awt/dnd/DragSourceContext.java,
2574 java/awt/event/HierarchyEvent.java,
2575 java/awt/event/MouseWheelEvent.java,
2576 java/awt/im/InputContext.java,
2577 java/awt/image/BufferedImage.java,
2578 java/awt/image/ComponentColorModel.java,
2579 java/awt/image/Raster.java,
2580 java/awt/image/WritableRaster.java,
2581 java/awt/peer/ComponentPeer.java,
2582 java/awt/print/PageFormat.java,
2583 java/awt/print/PrinterJob.java:
2584 New versions from Classpath.
2586 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
2588 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2589 numberFormat.setParseIntegerOnly(true).
2591 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2593 * include/posix-threads.h: Include <machine/pal.h> on OSF.
2595 2003-06-03 Andrew Haley <aph@redhat.com>
2597 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2598 stack volatile to prevent optimization from removing it.
2600 2003-05-27 Michael Koch <konqueror@gmx.de>
2602 * java/util/zip/Deflater.java
2603 (FILTERED): Merged documentation from classpath.
2604 * java/util/zip/DeflaterOutputStream.java
2605 (DeflaterOutputStream): Merged documentation and argument validity
2606 check from classpath.
2607 (deflate): Merged documentation from classpath.
2609 * java/util/zip/Inflater.java
2610 (Inflater): Merged class documentation from classpath.
2611 (zstream): Reordered.
2612 (is_finished): Reordered.
2613 (dict_needed): Reordered.
2614 (Inflater): Reordered, merged documentation from classpath.
2616 (finalize): Merged documentation from classpath.
2617 (finished): Likewise.
2618 (getAdler): Likewise.
2619 (getRemaining): Likewise.
2620 (getTotalIn): Likewise.
2621 (getTotalOut): Likewise.
2622 (inflate): Likewise.
2623 (needsDictionary): Likewise.
2624 (needsInput): Likewise.
2626 (setDictionary): Likewise.
2627 (setInput): Likewise.
2629 2003-05-27 Michael Koch <konqueror@gmx.de>
2631 * java/net/URLConnection.java
2632 (getHeaderFieldInt): Merged with classpath.
2634 2003-05-27 Michael Koch <konqueror@gmx.de>
2636 * java/io/PrintStream.java
2637 (PrintStream): Reformatted.
2638 (PrintStream): New method, merged from classpath.
2639 (write): Reformatted.
2641 2003-05-27 Michael Koch <konqueror@gmx.de>
2643 * java/lang/System.java:
2644 Explicitely import needed classes.
2646 2003-05-26 Michael Koch <konqueror@gmx.de>
2648 * java/net/NetPermission.java,
2649 java/net/NetworkInterface.java,
2650 java/net/PasswordAuthentication.java,
2651 java/net/SocketPermission.java:
2652 New versions from classpath.
2654 2003-05-25 Michael Koch <konqueror@gmx.de>
2656 * java/io/PushbackInputStream.java,
2657 java/net/Authenticator.java,
2658 java/net/ContentHandler.java,
2659 java/net/ContentHandlerFactory.java,
2660 java/net/DatagramSocket.java,
2661 java/net/DatagramSocketImpl.java,
2662 java/net/DatagramSocketImplFactory.java,
2663 java/net/FileNameMap.java,
2664 java/net/SocketImplFactory.java,
2665 java/net/SocketOptions.java,
2666 java/net/URLStreamHandlerFactory.java:
2667 Merged new versions from classpath.
2669 2003-05-25 Michael Koch <konqueror@gmx.de>
2671 * java/awt/Checkbox.java,
2672 java/awt/Dialog.java,
2674 java/awt/Frame.java,
2675 java/awt/ScrollPaneAdjustable.java,
2676 java/awt/Scrollbar.java,
2677 java/awt/Window.java:
2678 New versions from classpath.
2680 2003-05-22 Jeff Sturm <jsturm@one-point.com>
2683 * java/io/ObjectInputStream (enableResolveObject):
2684 Fixed spelling of permission name.
2686 2003-05-20 Michael Koch <konqueror@gmx.de>
2688 * java/io/DataInputStream.java
2689 (convertFromUTF): Merged comment from classpath.
2690 * java/io/PrintStream.java
2691 (error_occured): Renamed from error, merged comment from classpath.
2692 (PrintStream): No need to initialized error.
2693 (checkError): Replace error with error_occurred.
2694 (setError): Likewise.
2696 2003-05-20 Michael Koch <konqueror@gmx.de>
2698 * java/io/DataInputStream.java:
2699 Reformatted, Replaced < and & with html entitites in documentation.
2700 * java/io/File.java:
2702 * java/io/PrintWriter.java:
2703 Moved class documentation.
2705 2003-05-20 Michael Koch <konqueror@gmx.de>
2707 * gnu/java/nio/ByteBufferImpl.java,
2708 gnu/java/nio/CharBufferImpl.java,
2709 gnu/java/nio/CharViewBufferImpl.java,
2710 gnu/java/nio/DirectByteBufferImpl.java,
2711 gnu/java/nio/DoubleBufferImpl.java,
2712 gnu/java/nio/DoubleViewBufferImpl.java,
2713 gnu/java/nio/FloatBufferImpl.java,
2714 gnu/java/nio/FloatViewBufferImpl.java,
2715 gnu/java/nio/IntBufferImpl.java,
2716 gnu/java/nio/IntViewBufferImpl.java,
2717 gnu/java/nio/LongBufferImpl.java,
2718 gnu/java/nio/LongViewBufferImpl.java,
2719 gnu/java/nio/natDirectByteBufferImpl.cc,
2720 gnu/java/nio/ShortBufferImpl.java,
2721 gnu/java/nio/ShortViewBufferImpl.java:
2722 Moved files to java/nio.
2723 * gnu/java/nio/SocketChannelImpl.java
2725 * java/nio/ByteBuffer.java,
2726 java/nio/CharBuffer.java,
2727 java/nio/DoubleBuffer.java,
2728 java/nio/FloatBuffer.java,
2729 java/nio/IntBuffer.java,
2730 java/nio/LongBuffer.java,
2731 java/nio/ShortBuffer.java:
2732 Dont import anything.
2733 * java/nio/ByteBufferImpl.java,
2734 java/nio/CharBufferImpl.java,
2735 java/nio/CharViewBufferImpl.java,
2736 java/nio/DirectByteBufferImpl.java,
2737 java/nio/DoubleBufferImpl.java,
2738 java/nio/DoubleViewBufferImpl.java,
2739 java/nio/FloatBufferImpl.java,
2740 java/nio/FloatViewBufferImpl.java,
2741 java/nio/IntBufferImpl.java,
2742 java/nio/IntViewBufferImpl.java,
2743 java/nio/LongBufferImpl.java,
2744 java/nio/LongViewBufferImpl.java,
2745 java/nio/natDirectByteBufferImpl.cc,
2746 java/nio/ShortBufferImpl.java,
2747 java/nio/ShortViewBufferImpl.java:
2748 Moved from gnu/java/nio.
2750 (ordinary_java_source_files): Moved files from gnu/java/nio to
2752 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2754 * Makefile.in: Regenerated.
2756 2003-05-19 Michael Koch <konqueror@gmx.de>
2758 * java/util/Calendar.java
2759 (get): Not final anymore since JDK 1.4
2762 2003-05-19 Michael Koch <konqueror@gmx.de>
2764 * java/text/CollationKey.java:
2765 Merged copyright and dat from classpath.
2766 * java/text/RuleBasedCollator.java:
2767 Merged class documentation from classpath.
2769 2003-05-19 Michael Koch <konqueror@gmx.de>
2771 * java/nio/CharBuffer.java
2772 (toString): Compile fix.
2774 2003-05-19 Michael Koch <konqueror@gmx.de>
2776 * gnu/java/nio/ByteBufferImpl.java
2777 (putLong): Fixed conversion to bytes.
2778 (putDouble): Fixed conversion to bytes.
2779 * gnu/java/nio/DirectByteBufferImpl.java
2780 (putLong): Fixed conversion to bytes.
2781 (putDouble): Fixed conversion to bytes.
2782 * gnu/java/nio/FileLockImpl.java
2783 (isValid): Reformatted.
2784 * java/nio/Buffer.java
2785 (Buffer): Fixed off-by-one bug in handling mark.
2786 * java/nio/ByteBuffer.java:
2788 * java/nio/CharBuffer.java
2789 (toString): Don't use relative get to get string data.
2791 2003-05-16 Michael Koch <konqueror@gmx.de>
2793 * java/io/natFileDescriptorPosix.cc
2794 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2797 2003-05-14 Michael Koch <konqueror@gmx.de>
2799 * gnu/java/nio/FileLockImpl.java
2800 (released): New member variable.
2801 (FileLockImpl): Initialize released.
2802 (releaseImpl): New native method.
2803 (release): Implemented.
2804 * gnu/java/nio/SelectorImpl.java: Reformatted.
2805 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2806 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2807 (accept): Throws IOException.
2808 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2809 (implConfigureBlocking): Throws IOException.
2810 (connect): Likewise.
2813 * gnu/java/nio/natFileLockImpl.cc: New file.
2814 * java/nio/channels/FileLock.java: Reformatted.
2816 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2817 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2818 * Makefile.in: Regenerated.
2820 2003-05-13 Michael Koch <konqueror@gmx.de>
2822 * gnu/java/nio/CharViewBufferImpl.java
2823 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2824 (get): Shift bits to the right direction.
2826 * gnu/java/nio/DoubleViewBufferImpl.java
2827 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2828 (get): Shift bits to the right direction.
2830 * gnu/java/nio/FloatViewBufferImpl.java
2831 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2832 (get): Shift bits to the right direction.
2834 * gnu/java/nio/IntViewBufferImpl.java
2835 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2836 (get): Shift bits to the right direction.
2838 * gnu/java/nio/LongViewBufferImpl.java
2839 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2840 (get): Shift bits to the right direction.
2842 * gnu/java/nio/ShortViewBufferImpl.java
2843 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2844 (get): Shift bits to the right direction.
2847 2003-05-13 Michael Koch <konqueror@gmx.de>
2849 * gnu/java/nio/natDirectByteBufferImpl.cc
2850 (allocateImpl): jlong -> RawData*.
2851 (freeImpl): Likewise.
2853 2003-05-13 Michael Koch <konqueror@gmx.de>
2855 * java/nio/channels/FileChannel.java
2856 (MapMode.m): Made it package-private to match JDK 1.4.
2857 * java/nio/charset/Charset.java
2858 (decode): Made it final to match JDK 1.4.
2860 2003-05-13 Michael Koch <konqueror@gmx.de>
2862 * java/io/FileDescriptor.java
2863 (SYNC): New constant.
2865 (getLength): Renamed from lenght() to match classpath's
2866 FileDescriptor.java.
2867 * java/io/RandomAccessFile.java
2868 (RandomAccessFile): Removed unneeded mode check, implemented mode
2869 "rws" and "rwd", merged documentation from classpath.
2870 (setLength): Reformatted.
2871 (length): Use new getLength() of FileDescriptor.
2872 * java/io/natFileDescriptorEcos.cc
2873 (getLength): Renamed from length().
2874 * java/io/natFileDescriptorPosix.cc
2875 (open): Implemented support for SYNC and DSYNC.
2876 (seek): Use getLength() instead of length().
2877 (getLength): Renamed from length().
2878 * java/io/natFileDescriptorWin32.cc
2879 (getLength): Renamed from length().
2880 (seek): Use getLength() instead of length().
2881 (available): Likewise.
2882 * gnu/java/nio/natFileChannelImpl.cc
2883 (size): Use getLength() instead of length().
2885 2003-05-13 Michael Koch <konqueror@gmx.de>
2887 * gnu/java/nio/ByteBufferImpl.java
2888 (ByteBufferImpl): All constructors revised.
2889 (slice): Reimplemented.
2890 (duplicate): Reimplemented.
2891 (asReadOnlyBuffer): Reimplemented.
2892 * java/nio/ByteBuffer.java:
2894 (array_offset): Renamed from "offset" to match all other buffer
2896 (ByteBuffer): All constructors revised.
2897 (allocateDirect): Implemented.
2898 (allocate): New implementation, documentation reworked.
2900 (get): Documentation reworked.
2901 (put): New implementation, documentation reworked.
2902 (hasArray): Documentation reworked.
2903 (arrayOffset): Likewise.
2904 (hashCode): Likewise.
2906 (compareTo): Likewise.
2908 (compact): Likewise.
2909 (isDirect): Likewise.
2911 (duplicate): Likewise.
2912 (asReadOnlyBuffer): Likewise.
2914 (ordinary_java_source_files):
2915 Added gnu/java/nio/DirectByteBufferImpl.java.
2917 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2918 * Makefile.in: Regenerated.
2920 2003-05-12 Michael Koch <konqueror@gmx.de>
2922 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2923 (nio_get_*): Removed.
2924 (nio_put_*): Removed.
2925 (as*Buffer): Implemented.
2926 (compact): Implemented.
2927 (get): Documentation added.
2928 (put): Documentation added.
2929 (get*): Newly implemented.
2930 (put*): Newly implemented.
2931 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2932 (CharBufferImpl): Revised.
2933 (slice): New implementation.
2934 (duplicate): New implementation.
2935 (compact): New implementation.
2936 (asReadOnlyBuffer): New implementation.
2937 (get): Documentation revised.
2938 (order): Return native byte order.
2939 * gnu/java/nio/DirectByteBufferImpl.java
2940 (allocateDirect): objects can be null not 0.
2941 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2942 (DoubleBufferImpl): Revised.
2943 (slice): New implementation.
2944 (duplicate): New implementation.
2945 (compact): New implementation.
2946 (asReadOnlyBuffer): New implementation.
2947 (get): Documentation revised.
2948 (order): Return native byte order.
2949 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2950 (FloatBufferImpl): Revised.
2951 (slice): New implementation.
2952 (duplicate): New implementation.
2953 (compact): New implementation.
2954 (asReadOnlyBuffer): New implementation.
2955 (get): Documentation revised.
2956 (order): Return native byte order.
2957 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2958 (IntBufferImpl): Revised.
2959 (slice): New implementation.
2960 (duplicate): New implementation.
2961 (compact): New implementation.
2962 (asReadOnlyBuffer): New implementation.
2963 (get): Documentation revised.
2964 (order): Return native byte order.
2965 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2966 (LongBufferImpl): Revised.
2967 (slice): New implementation.
2968 (duplicate): New implementation.
2969 (compact): New implementation.
2970 (asReadOnlyBuffer): New implementation.
2971 (get): Documentation revised.
2972 (order): Return native byte order.
2973 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2974 (ShortBufferImpl): Revised.
2975 (slice): New implementation.
2976 (duplicate): New implementation.
2977 (compact): New implementation.
2978 (asReadOnlyBuffer): New implementation.
2979 (get): Documentation revised.
2980 (order): Return native byte order.
2981 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2982 (CharBuffer): Revised.
2984 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2985 (DoubleBuffer): Revised.
2986 (allocateDirect): Removed.
2988 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2989 (FloatBuffer): Revised.
2990 (allocateDirect): Removed.
2992 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2993 (IntBuffer): Revised.
2994 (allocateDirect): Removed.
2996 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2997 (LongBuffer): Revised.
2998 (allocateDirect): Removed.
3000 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
3001 (ShortBuffer): Revised.
3002 (allocateDirect): Removed.
3004 * gnu/java/nio/natByteBufferImpl.cc: Removed.
3005 * gnu/java/nio/natCharBufferImpl.cc: Removed.
3007 (ordinary_java_source_files): Added the following files:
3008 gnu/java/nio/CharViewBufferImpl.java,
3009 gnu/java/nio/DoubleViewBufferImpl.java,
3010 gnu/java/nio/FloatViewBufferImpl.java,
3011 gnu/java/nio/IntViewBufferImpl.java,
3012 gnu/java/nio/LongViewBufferImpl.java,
3013 gnu/java/nio/ShortViewBufferImpl.java
3014 (nat_source_files): Removed the following files:
3015 gnu/java/nio/natByteBufferImpl.cc,
3016 gnu/java/nio/natCharBufferImpl.cc
3017 * Makefile.in: Regenerated.
3019 2003-05-12 Michael Koch <konqueror@gmx.de>
3021 * gnu/java/nio/CharViewBufferImpl.java,
3022 gnu/java/nio/DirectByteBufferImpl.java,
3023 gnu/java/nio/DoubleViewBufferImpl.java,
3024 gnu/java/nio/FloatViewBufferImpl.java,
3025 gnu/java/nio/IntViewBufferImpl.java,
3026 gnu/java/nio/LongViewBufferImpl.java,
3027 gnu/java/nio/ShortViewBufferImpl.java,
3028 gnu/java/nio/natDirectByteBufferImpl.cc:
3029 New files, not yet to be compiled.
3031 2003-05-10 Michael Koch <konqueror@gmx.de>
3033 * javax/swing/plaf/ButtonUI.java,
3034 javax/swing/plaf/ColorUIResource.java,
3035 javax/swing/plaf/ComponentUI.java,
3036 javax/swing/plaf/DimensionUIResource.java,
3037 javax/swing/plaf/FontUIResource.java,
3038 javax/swing/plaf/IconUIResource.java,
3039 javax/swing/plaf/InsetsUIResource.java,
3040 javax/swing/plaf/LabelUI.java,
3041 javax/swing/plaf/ListUI.java,
3042 javax/swing/plaf/OptionPaneUI.java,
3043 javax/swing/plaf/PanelUI.java,
3044 javax/swing/plaf/TabbedPaneUI.java,
3045 javax/swing/plaf/TextUI.java,
3046 javax/swing/plaf/TreeUI.java,
3047 javax/swing/plaf/ViewportUI.java,
3048 javax/swing/plaf/basic/BasicBorders.java,
3049 javax/swing/plaf/basic/BasicButtonUI.java,
3050 javax/swing/plaf/basic/BasicCheckBoxUI.java,
3051 javax/swing/plaf/basic/BasicDefaults.java,
3052 javax/swing/plaf/basic/BasicGraphicsUtils.java,
3053 javax/swing/plaf/basic/BasicIconFactory.java,
3054 javax/swing/plaf/basic/BasicLabelUI.java,
3055 javax/swing/plaf/basic/BasicListUI.java,
3056 javax/swing/plaf/basic/BasicOptionPaneUI.java,
3057 javax/swing/plaf/basic/BasicPanelUI.java,
3058 javax/swing/plaf/basic/BasicRadioButtonUI.java,
3059 javax/swing/plaf/basic/BasicScrollPaneUI.java,
3060 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3061 javax/swing/plaf/basic/BasicTextUI.java,
3062 javax/swing/plaf/basic/BasicToggleButtonUI.java,
3063 javax/swing/plaf/basic/BasicTreeUI.java,
3064 javax/swing/plaf/basic/BasicViewportUI.java,
3065 javax/swing/plaf/metal/MetalLookAndFeel.java:
3066 New versions from classpath. This adds copyrights to all files and
3067 some serialVersionUIDs.
3069 2003-05-10 Michael Koch <konqueror@gmx.de>
3071 * java/nio/CharBuffer.java
3072 (offset): Make it package-private.
3073 (backing_buffer): Likewise.
3074 * java/nio/DoubleBuffer.java
3075 (offset): Make it package-private.
3076 (backing_buffer): Likewise.
3078 * java/nio/FloatBuffer.java
3079 (offset): Make it package-private.
3080 (backing_buffer): Likewise.
3081 * java/nio/IntBuffer.java
3082 (offset): Make it package-private.
3083 (backing_buffer): Likewise.
3084 * java/nio/LongBuffer.java
3085 (offset): Make it package-private.
3086 (backing_buffer): Likewise.
3087 * java/nio/ShortBuffer.java
3088 (offset): Make it package-private.
3089 (backing_buffer): Likewise.
3091 2003-05-10 Michael Koch <konqueror@gmx.de>
3093 * java/nio/CharBuffer.java
3094 (put): Fixed precondtion check.
3095 (toString): Make it work without backing array.
3096 (put): Skip one level of method calling.
3098 2003-05-10 Michael Koch <konqueror@gmx.de>
3100 * java/security/Identity.java,
3101 java/security/IdentityScope.java,
3102 java/security/Key.java,
3103 java/security/KeyPair.java,
3104 java/security/PrivateKey.java,
3105 java/security/Provider.java,
3106 java/security/PublicKey.java,
3107 java/security/SecureRandom.java,
3108 java/security/SecureRandomSpi.java,
3109 java/security/SignedObject.java,
3110 java/security/Signer.java,
3111 java/security/cert/Certificate.java,
3112 java/security/cert/PKIXCertPathBuilderResult.java,
3113 java/security/cert/X509Certificate.java:
3114 New versions from classpath.
3116 2003-05-09 Tom Tromey <tromey@redhat.com>
3118 * Makefile.in: Rebuilt.
3119 * Makefile.am (nat_source_files): Removed old files.
3120 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
3121 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
3122 * gnu/java/nio/natIntBufferImpl.cc: Removed.
3123 * gnu/java/nio/natLongBufferImpl.cc: Removed.
3124 * gnu/java/nio/natShortBufferImpl.cc: Removed.
3126 2003-05-09 Michael Koch <konqueror@gmx.de>
3128 * gnu/java/nio/ByteBufferImpl.java
3129 (nio_cast): Removed.
3130 (ByteBufferImpl): Removed.
3131 (nio_get_Byte): Removed.
3132 (nio_put_Byte): Removed.
3133 (asByteBuffer): Removed.
3134 (asCharBuffer): Removed implementation and throw exception.
3135 (asShortBuffer): Likewise.
3136 (asIntBuffer): Likewise.
3137 (asLongBuffer): Likewise.
3138 (asFloatBuffer): Likewise.
3139 (asDoubleBuffer): Likewise.
3140 * gnu/java/nio/CharBufferImpl.java
3141 (CharBufferImpl): Removed.
3142 (nio_get_Byte): Removed.
3143 (nio_put_Byte): Removed.
3144 (asByteBuffer): Removed.
3145 * gnu/java/nio/DoubleBufferImpl.java
3146 (DoubleBufferImpl): Removed.
3147 (nio_get_Byte): Removed.
3148 (nio_put_Byte): Removed.
3149 (asByteBuffer): Removed.
3150 * gnu/java/nio/FloatBufferImpl.java
3151 (FloatBufferImpl): Removed.
3152 (nio_get_Byte): Removed.
3153 (nio_put_Byte): Removed.
3154 (asByteBuffer): Removed.
3155 * gnu/java/nio/IntBufferImpl.java
3156 (IntBufferImpl): Removed.
3157 (nio_get_Byte): Removed.
3158 (nio_put_Byte): Removed.
3159 (asByteBuffer): Removed.
3160 * gnu/java/nio/LongBufferImpl.java
3161 (LongBufferImpl): Removed.
3162 (nio_get_Byte): Removed.
3163 (nio_put_Byte): Removed.
3164 (asByteBuffer): Removed.
3165 * gnu/java/nio/ShortBufferImpl.java
3166 (ShortBufferImpl): Removed.
3167 (nio_get_Byte): Removed.
3168 (nio_put_Byte): Removed.
3169 (asByteBuffer): Removed.
3170 * gnu/java/nio/natByteBufferImpl.cc
3171 (nio_cast): Removed.
3172 (nio_get_Byte): Removed.
3173 (nio_put_Byte): Removed.
3174 * gnu/java/nio/natCharBufferImpl.cc
3175 (nio_get_Byte): Removed.
3176 (nio_put_Byte): Removed.
3178 2003-05-09 Michael Koch <konqueror@gmx.de>
3180 * java/net/JarURLConnection.java
3181 (getJarEntry): Merged documentation from classpath.
3182 (getJarFile): Likewise.
3183 (getMainAttributes): Likewise.
3184 (getAttributes): Likewise.
3185 (getManifest): Likewise.
3186 (getCertificates): Reformatted.
3187 * java/net/URLConnection.java:
3188 Little classpath merge.
3190 2003-05-09 Michael Koch <konqueror@gmx.de>
3192 * java/io/DataOutputStream.java
3193 (writeShort): Made it synchronized.
3194 (writeChar): Likewise.
3195 (writeInt): Likewise.
3196 (writeLong): Liekwise.
3197 (writeUTF): Made it synchronized, renamed argument to match classpath.
3198 * java/io/InputStreamReader.java
3199 (converter): Added documentation.
3200 (read): Merged documentation from classpath.
3201 * java/io/OutputStreamWriter.java
3202 (OutputStreamWriter): Merged documentation from classpath.
3203 (close): Reformatted.
3204 (getEncoding): Likewise.
3206 (write): Merged documentation from classpath, reformatted.
3208 2003-05-08 Tom Tromey <tromey@redhat.com>
3210 * configure.host <powerpc64*-*>: Set with_libffi_default and
3211 libgcj_interpreter to "yes".
3213 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
3215 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
3217 2003-05-06 Tom Tromey <tromey@redhat.com>
3219 * verify.cc: Reverted previous patch.
3221 2003-05-06 Michael Koch <konqueror@gmx.de>
3223 * java/io/DataOutputStream.java
3224 (write): Renamed argument to "value", merged documentation from
3226 (writeBoolean): Likewise.
3227 (writeByte): Likewise.
3228 (writeShort): Likewise.
3229 (writeChar): Likewise.
3230 (writeInt): Likewise.
3231 (writeLong): Likewise.
3232 (writeFloat): Likewise.
3233 (writeDouble): Likewise.
3234 (writeBytes): Likewise.
3235 (writeChars): Likewise.
3236 (writeUTF): Likewise.
3238 (performDelete): Added documentation.
3239 (performList): Likewise.
3240 (performMkdir): Likewise.
3241 (performSetReadOnly): Likewise.
3242 (performRenameTo): Likewise.
3243 (performSetLastModified): Likewise.
3244 (delete): Made it sychronized.
3245 (renameTo): Made it sychronized.
3246 (equals): Reformatted.
3247 (isHidden): Likewise.
3248 (listFiles): Likewise.
3249 (setReadOnly): Likewise.
3250 (listRoots): Likewise.
3251 (setLastModified): Likewise.
3252 (checkRead): Likewise.
3253 (checkWrite): Likewise.
3254 * java/io/FileInputStream.java
3255 (skip): Made it sychronized, merged from classpath.
3256 * java/io/FileOutputStream.java
3257 (write): Merged from classpath.
3258 * java/io/InputStreamReader.java:
3259 (InputStreamReader): Merged documentation from classpath.
3261 2003-05-05 Michael Koch <konqueror@gmx.de>
3263 * java/net/NetworkInterface.java
3264 (networkInterfaces): Removed.
3265 (getByName): Use getRealNetworkInterfaces() instead of
3267 (getByInetAddress): Likewise.
3268 (getNetworkInterfaces): Likewise.
3269 (toString): Fix output of addresses of an interface.
3271 2003-05-05 Michael Koch <konqueror@gmx.de>
3273 * java/io/DataInputStream.java:
3274 Merged new documentation from classpath.
3276 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
3278 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
3280 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
3281 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
3282 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
3283 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
3284 * gnu/awt/gtk/GtkMainThread.java: Likewise.
3285 * gnu/awt/gtk/GtkToolkit.java: Likewise.
3286 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
3287 * java/security/Key.java: Likewise.
3288 * java/security/PrivateKey.java: Likewise.
3289 * java/security/Provider.java: Likewise.
3290 * java/security/PublicKey.java: Likewise.
3292 2003-05-02 Michael Koch <konqueror@gmx.de>
3295 (create): Doesnt throws any exceptions.
3296 * java/net/URLConnection.java
3297 (URLConnection): Commend added.
3298 (getExpiration): The header field is called "expires" not
3300 (getHeaderField): Merged documentation with classpath.
3301 (getHeaderFieldInt): Likewise.
3302 (getHeaderFieldDate): Likewise.
3303 (getHeaderFieldKey): Likewise.
3304 (getPermission): Likewise.
3305 (setDefaultUseCaches): Likewise.
3306 (setRequestProperty): Likewise.
3307 (addRequestProperty): Likewise.
3308 (getRequestProperty): Likewise.
3309 (getRequestProperties): Likewise.
3310 (setDefaultRequestProperty): Likewise.
3311 (getDefaultRequestProperty): Likewise.
3312 (guessContentTypeFromStream): Likewise.
3313 (getFileNameMap): Likewise.
3314 (setFileNameMap): Likewise.
3315 (setDoInput): Merged implementation and documentation with classpath.
3316 (setDoOutput): Likewise.
3317 (setAllowUserInteraction): Likewise.
3318 (setDefaultAllowUserInteraction): Likewise.
3319 (setContentHandlerFactory): Made it synchronized, merged documentation
3321 (guessContentTypeFromName): Renamed argument fname to filename to
3322 match classpath, merged documentation with classpath.
3324 2003-05-02 Michael Koch <konqueror@gmx.de>
3326 * java/net/JarURLConnection.java
3327 (JarURLConnection): Class documentation merged with classpath.
3328 (getJarFileURL): Moved and documentation merged with classpath.
3329 (getEntryName): Likewise.
3330 (JarURLConnection): Documentation merged with classpath.
3331 (getJarEntry): Likewise.
3332 (getJarFile): Likewise.
3333 * java/net/PlainDatagramSocketImpl.java:
3334 Class documentation moved.
3335 * java/net/URLConnection.java
3336 (fileNameMap): Moved and documentation merged with classpath.
3337 (factory): Likewise.
3338 (defaultAllowUserInteraction): Likewis.
3339 (defaultUseCaches): Likewise.
3340 (allowUserInteraction): Likewise.
3341 (connected): Likewise.
3343 (connect): Documentation merged with classpath.
3345 (getContentLength): Likewise.
3346 (getContentType): Likewise.
3347 (getContentEncoding): Likewise.
3348 (getExpiration): Likewise.
3349 (getDate): Likewise.
3350 (getLastModified): Likewise.
3351 (getHeaderField): Likewise.
3352 (getContent): Likewise.
3353 (getPermission): Likewise.
3354 (getInputStream): Likewise.
3355 (getOutputStream): Likewise.
3356 (toString): Likewise.
3357 (getDoInput): Likewise.
3358 (getDoOutput): Likewise.
3359 (setAllowUserInteraction): Likewise.
3360 (getAllowUserInteraction): Likewise.
3361 (setDefaultAllowUserInteraction): Likewise.
3362 (getDefaultAllowUserInteraction): Likewise.
3363 (setUseCaches): Likewise.
3364 (getUseCaches): Likewise.
3365 (setIfModifiedSince): Likewise.
3366 (getIfModifiedSince): Likewise.
3367 (setDefaultRequestProperty): Likewise.
3368 (getDefaultRequestProperty): Likewise.
3369 (setContentHandlerFactory): Likewise.
3370 (setFileNameMap): Likewise.
3372 2003-05-02 Michael Koch <konqueror@gmx.de>
3374 * java/net/InetAddress.java:
3375 Merged class documentation with classpath.
3376 * java/net/JarURLConnection.java:
3377 Explicitely import all used classes.
3378 * java/net/URL.java:
3380 * java/net/ServerSocket.java,
3381 java/net/Socket.java:
3382 New versions from classpath.
3384 2003-05-02 Michael Koch <konqueror@gmx.de>
3386 * gnu/java/nio/FileChannelImpl.java
3387 (read): New implementation.
3388 (implRead): New methods.
3389 (write): New implementation, call other write insteal of read method.
3390 (implWrite): New methods.
3391 (map): Added comment.
3392 (transferFrom): Implemented.
3393 (transferTo): Implemented.
3394 (lock): Added checks to throw exceptions.
3395 (truncate): Added check to throw exception.
3396 * gnu/java/nio/natFileChannelImpl.cc
3397 (implRead): New method.
3398 (implWrite): New method.
3399 * java/nio/ByteBuffer.java
3400 (hashCode): Fixed comment.
3401 (get): Fixed exception documentation.
3402 (put): Fixed exception documentation.
3403 * java/nio/CharBuffer.java:
3404 Added comment for later optimizations.
3406 2003-04-30 Tom Tromey <tromey@redhat.com>
3409 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
3411 (type::compatible): Use _Jv_IsAssignableFrom.
3412 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
3413 (_Jv_IsAssignableFrom): Work even when source or target class is
3416 2003-04-30 Michael Koch <konqueror@gmx.de>
3418 * java/text/BreakIterator.java
3419 (clone): New method.
3421 2003-04-30 Michael Koch <konqueror@gmx.de>
3423 * java/text/CollationElementIterator.java,
3424 java/text/CollationKey.java,
3425 java/text/RuleBasedCollator.java:
3426 Merged copyright and documentation from classpath and
3427 rearranged some code. No code changes done.
3429 2003-04-30 Michael Koch <konqueror@gmx.de>
3431 * java/util/regex/Matcher.java
3432 (pattern): New member variable.
3433 (appendReplacement): New method.
3434 (appendTail): New method.
3437 (group): New method.
3438 (replaceFirst): Added documentation.
3439 (replaceAll): Added documentation.
3440 (groupCount): New method.
3441 (lookingAt): New method.
3442 (matches): New method.
3443 (reset): New method.
3444 (start): New method.
3445 * java/util/regex/Pattern.java
3446 (serialVersionUID): New constant.
3447 (CANON_EQ): New constant.
3448 (CASE_INSENSITIVE): New constant.
3449 (COMMENTS): New constant.
3450 (DOTALL): New constant.
3451 (MULTILINE): New constant.
3452 (UNICODE_CASE): New constant.
3453 (UNIX_LINES): New constant.
3454 (regex): New member variable.
3455 (flags): New member variable.
3456 (Pattern): New method.
3457 (compile): Documentation added.
3458 (flags): New method.
3459 (matches): Documentation added.
3460 (matcher): Documentation added.
3461 (split): Documentation added.
3462 (pattern): New method.
3464 2003-04-30 Michael Koch <konqueror@gmx.de>
3466 * gnu/java/security/Engine.java,
3467 gnu/java/security/OID.java,
3468 gnu/java/security/der/BitString.java,
3469 gnu/java/security/der/DER.java,
3470 gnu/java/security/der/DERReader.java,
3471 gnu/java/security/der/DERValue.java,
3472 gnu/java/security/der/DERWriter.java,
3473 gnu/java/security/provider/DSAKeyFactory.java,
3474 gnu/java/security/provider/X509CertificateFactory.java,
3475 gnu/java/security/x509/X500DistinguishedName.java,
3476 gnu/java/security/x509/X509CRL.java,
3477 gnu/java/security/x509/X509CRLEntry.java,
3478 gnu/java/security/x509/X509Certificate.java,
3479 java/security/cert/CRLSelector.java,
3480 java/security/cert/CertPathBuilder.java,
3481 java/security/cert/CertPathBuilderResult.java,
3482 java/security/cert/CertPathBuilderSpi.java,
3483 java/security/cert/CertPathParameters.java,
3484 java/security/cert/CertPathValidator.java,
3485 java/security/cert/CertPathValidatorResult.java,
3486 java/security/cert/CertPathValidatorSpi.java,
3487 java/security/cert/CertSelector.java,
3488 java/security/cert/CertStore.java,
3489 java/security/cert/CertStoreParameters.java,
3490 java/security/cert/CertStoreSpi.java,
3491 java/security/cert/CollectionCertStoreParameters.java,
3492 java/security/cert/LDAPCertStoreParameters.java,
3493 java/security/cert/PKIXBuilderParameters.java,
3494 java/security/cert/PKIXCertPathBuilderResult.java,
3495 java/security/cert/PKIXCertPathChecker.java,
3496 java/security/cert/PKIXCertPathValidatorResult.java,
3497 java/security/cert/PKIXParameters.java,
3498 java/security/cert/PolicyNode.java,
3499 java/security/cert/PolicyQualifierInfo.java,
3500 java/security/cert/TrustAnchor.java,
3501 javax/security/auth/x500/X500Principal.java:
3502 New files from classpath.
3503 * gnu/java/io/ASN1ParsingException.java,
3504 gnu/java/io/Base64InputStream.java,
3505 gnu/java/security/der/DEREncodingException.java,
3506 gnu/java/security/provider/DSAParameters.java,
3507 gnu/java/security/provider/DSASignature.java,
3508 gnu/java/security/provider/Gnu.java,
3509 gnu/java/security/provider/GnuDSAPrivateKey.java,
3510 gnu/java/security/provider/GnuDSAPublicKey.java,
3511 java/security/AlgorithmParameterGenerator.java,
3512 java/security/AlgorithmParameters.java,
3513 java/security/KeyFactory.java,
3514 java/security/KeyPairGenerator.java,
3515 java/security/KeyStore.java,
3516 java/security/MessageDigest.java,
3517 java/security/SecureClassLoader.java,
3518 java/security/SecureRandom.java,
3519 java/security/Security.java,
3520 java/security/Signature.java,
3521 java/security/cert/Certificate.java,
3522 java/security/cert/CertificateFactory.java,
3523 java/security/cert/CertificateFactorySpi.java,
3524 java/security/cert/X509CRL.java,
3525 java/security/cert/X509Certificate.java,
3526 java/security/spec/DSAPublicKeySpec.java:
3527 New versions from classpath.
3528 * gnu/java/security/provider/DERReader.java,
3529 gnu/java/security/provider/DERWriter.java,
3530 java/security/Engine.java: Removed.
3532 (java_source_files, javax_source_files): Added new files.
3533 * Makefile.in: Regenerated.
3535 2003-04-29 Michael Koch <konqueror@gmx.de>
3537 * javax/swing/JTable.java
3538 (AUTO_RESIZE_ALL_COLUMNS): New constant.
3539 (AUTO_RESIZE_LAST_COLUMN): New constant.
3540 (AUTO_RESIZE_NEXT_COLUMN): New constant.
3541 (AUTO_RESIZE_OFF): New constant.
3542 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
3543 (JTable): New method.
3544 (columnAdded): New method.
3545 (columnMarginChanged): New method.
3546 (columnMoved): New method.
3547 (columnRemoved): New method.
3548 (columnSelectionChanged): New method.
3549 (editingCanceled): New method.
3550 (editingStopped): New method.
3551 (getColumnModel): New method.
3552 (getPreferredScrollableViewportSize): New method.
3553 (getScrollableBlockIncrement): New method.
3554 (getScrollableTracksViewportHeight): New method.
3555 (getScrollableTracksViewportWidth): New method.
3556 (getScrollableUnitIncrement): New method.
3557 (getSelectedRow): New method.
3558 (getSelectionModel): New method.
3559 (tableChanged): New method.
3560 (setModel): New method.
3561 (setSelectionMode): New method.
3562 (setSelectionModel): New method.
3563 (setShowGrid): New method.
3564 (valueChanged): New method.
3565 * javax/swing/text/DefaultEditorKit.java
3566 (backwardAction): New constant.
3567 (beepAction): New constant.
3568 (beginAction): New constant.
3569 (beginLineAction): New constant.
3570 (beginParagraphAction): New constant.
3571 (beginWordAction): New constant.
3572 (copyAction): New constant.
3573 (cutAction): New constant.
3574 (defaultKeyTypedAction): New constant.
3575 (deleteNextCharAction): New constant.
3576 (deletePrevCharAction): New constant.
3577 (downAction): New constant.
3578 (endAction): New constant.
3579 (endLineAction): New constant.
3580 (endOfLineStringProperty): New constant.
3581 (endParagraphAction): New constant.
3582 (endWordAction): New constant.
3583 (forwardAction): New constant.
3584 (insertBreakAction): New constant.
3585 (insertContentAction): New constant.
3586 (insertTabAction): New constant.
3587 (nextWordAction): New constant.
3588 (pageDownAction): New constant.
3589 (pageUpAction): New constant.
3590 (pasteAction): New constant.
3591 (previousWordAction): New constant.
3592 (readOnlyAction): New constant.
3593 (selectAllAction): New constant.
3594 (selectionBackwardAction): New constant.
3595 (selectionBeginAction): New constant.
3596 (selectionBeginLineAction): New constant.
3597 (selectionBeginParagraphAction): New constant.
3598 (selectionBeginWordAction): New constant.
3599 (selectionDownAction): New constant.
3600 (selectionEndAction): New constant.
3601 (selectionEndLineAction): New constant.
3602 (selectionEndParagraphAction): New constant.
3603 (selectionEndWordAction): New constant.
3604 (selectionForwardAction): New constant.
3605 (selectionNextWordAction): New constant.
3606 (selectionPreviousWordAction): New constant.
3607 (selectionUpAction): New constant.
3608 (selectLineAction): New constant.
3609 (selectParagraphAction): New constant.
3610 (selectWordAction): New constant.
3611 (upAction): New constant.
3612 (writableAction): New constant.
3614 2003-04-29 Michael Koch <konqueror@gmx.de>
3616 * java/util/PropertyPermission.java:
3617 New version from classpath
3618 * java/util/ResourceBundle.java:
3619 Partly merged from classpath
3620 (getObject): Reformated.
3621 (tryBundle): Set foundBundle = null if no bundle found.
3623 2003-04-29 Michael Koch <konqueror@gmx.de>
3625 * javax/swing/AbstractListModel.java,
3626 javax/swing/DefaultBoundedRangeModel.java,
3627 javax/swing/DefaultSingleSelectionModel.java:
3628 New Versions from classpath.
3630 2003-04-29 Michael Koch <konqueror@gmx.de>
3632 * java/awt/Window.java
3633 (show): Call super.show() instead of setVisible() to avoid endless
3635 (hide): Call super.hide() instead of setVisible() to avoid endless
3638 2003-04-29 Michael Koch <konqueror@gmx.de>
3640 * java/util/zip/Deflater.java,
3641 java/util/zip/DeflaterOutputStream.java:
3642 Partly merged with classpath.
3644 2003-04-27 Tom Tromey <tromey@redhat.com>
3646 * java/lang/natString.cc (_Jv_AllocString): Initialize
3649 (_Jv_NewStringUtf8Const): Likewise.
3651 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
3653 * include/jvm.h: (_Jv_GetNbArgs) added
3654 (_Jv_GetSafeArg) added
3656 * prims.cc: (_Jv_GetNbArgs) implemented
3657 (_Jv_GetSafeArg) implemented
3658 (_Jv_SetArgs) implemented
3659 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3660 setting _Jv_argc and _Jv_argv
3661 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3663 * java/lang/natRuntime.cc: (insertSystemProperties) use
3664 _Jv_GetSafeArg() instead of _Jv_argv
3666 2003-04-23 Tom Tromey <tromey@redhat.com>
3668 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3669 required by this object. Search superclasses to find required
3671 (get_alignment_from_class): Use alignment of type as it appears
3673 (ALIGNOF): New macro.
3674 (struct aligner): New helper structure.
3676 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
3678 * java/awt/Container.java (addImpl): Enable paint events if adding
3679 a lightweight to a heavyweight.
3680 (addNotify): Ensure that peer is created before
3681 addNotifyContainerChildren.
3682 (addNotifyContainerChildren): Enable paint events if a heavyweight
3683 container contains a lightweight.
3685 2003-04-20 Tom Tromey <tromey@redhat.com>
3687 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3688 java/io/DataInput.java, java/io/DataOutput.java: Imports from
3691 2003-04-19 Tom Tromey <tromey@redhat.com>
3693 * java/sql/Date.java, java/sql/DriverManager.java,
3694 java/sql/Time.java, java/sql/Timestamp.java: New versions from
3697 * Makefile.in: Rebuilt.
3698 * Makefile.am (ordinary_java_source_files): Added new files.
3699 * java/security/AlgorithmParameterGenerator.java,
3700 java/security/AlgorithmParameters.java, java/security/Engine.java,
3701 java/security/Identity.java, java/security/IdentityScope.java,
3702 java/security/KeyFactory.java,
3703 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3704 java/security/MessageDigest.java, java/security/Policy.java,
3705 java/security/ProtectionDomain.java,
3706 java/security/SecureRandom.java, java/security/Security.java,
3707 java/security/Signature.java, java/security/SignatureSpi.java,
3708 java/security/SignedObject.java, java/security/Signer.java,
3709 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3710 java/security/spec/PSSParameterSpec.java,
3711 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3712 java/security/spec/RSAOtherPrimeInfo.java: New versions from
3715 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3717 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3718 (dispose): Null metrics.
3719 * gnu/awt/xlib/XToolkit.java (sync): Implement.
3720 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3722 (finalize): Call dispose.
3723 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3724 (gcCachedCount): New field.
3725 (finalize): New method.
3726 (putGCInCache): New method.
3727 (getGCFromCache): New method.
3728 * gnu/gcj/xlib/GC.java (GC): Make protected.
3729 (clone): Get new GC from cache if possible.
3730 (create): New static method.
3731 (dispose): Save old GC in cache.
3732 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3734 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3736 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3737 * java/awt/Container.java (visitChild): Dispose gfx2 when
3740 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
3742 * java/math/BigInteger.java (probablePrime): New.
3743 * java/math/BigDecimal.java (unscaledValue): New.
3745 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
3747 * java/io/File.java (getAbsolutePath): On Windows, take care
3748 of paths like "C:", "G:foo\bar", etc.
3749 (getName): Make it work correctly on Windows.
3750 (getParent): Make it work correctly on Windows. For UNIX,
3751 fix bug that causes "/" to be returned as the parent of "/",
3752 instead of null as returned by Sun's JRE.
3754 * java/io/natFileWin32.cc: Change copyright owner to FSF.
3756 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3758 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3760 (CACHE_SIZE_PER_DISPLAY): New field
3761 (fontMetricsCache): New field
3762 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3763 loading ISO10646-1 fonts.
3765 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3767 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3769 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3772 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
3774 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3777 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3779 * configure.host (*-linux*): Don't set slow_pthread_self if primary
3780 installed libpthread is either linuxthreads with floating stacks or
3783 2003-04-14 Tom Tromey <tromey@redhat.com>
3785 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3788 2003-04-10 Tom Tromey <tromey@redhat.com>
3790 * verify.cc (pop64): Removed.
3791 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3792 exception if top-of-stack is narrow.
3793 (initialize_stack): Check to ensure that <init> is not static and
3796 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3798 * java/io/ObjectStreamException
3799 * java/io/FileFilter
3800 * java/io/FilenameFilter
3801 * java/io/ObjectInput
3802 * java/io/ObjectOutput
3803 * java/io/ObjectStreamConstants
3804 Minor doc fixes, format fixes, spelling corrections, etc.
3806 Corrected code samples in Javadocs to match reality
3807 * java/io/DataOutput
3808 * java/io/ObjectInputValidation
3809 Major documentation fixes - all Javadocs re-written or updated
3811 2003-04-06 Michael Koch <konqueror@gmx.de>
3813 * java/net/URLConnection.java:
3814 Import classes directly.
3815 (URLConnection): Merged class documentation with classpath.
3816 (url): Moved, documentation from classpath added.
3817 (doInput): Moved, documentation from classpath added.
3818 (doOutput): Moved, documentation from classpath added.
3819 (allowUserInteraction): Moved.
3820 (useCaches): Moved, documentation from classpath added.
3821 (ifModifiedSince): Moved, documentation from classpath added.
3822 (connected): Moved, documentation from classpath added.
3824 2003-04-06 Michael Koch <konqueror@gmx.de>
3826 * java/io/FileInputStream.java
3827 (skip): Renamed some variables to match classpath, added
3828 checks from classpath.
3830 2003-03-31 Michael Koch <konqueror@gmx.de>
3832 * javax/swing/AbstractAction.java
3833 (AbstractAction): Reformatted.
3834 (serialVersionUID): New private member variable.
3835 * javax/swing/plaf/BorderUIResource.java
3836 (serialVersionUID): New private member variable.
3837 * javax/swing/plaf/basic/BasicLookAndFeel.java
3838 (serialVersionUID): New private member variable.
3840 2003-03-31 Michael Koch <konqueror@gmx.de>
3842 * java/sql/Date.java
3843 (valueOf): Deprecated, reformatted.
3844 (toString): Deprecated, reformatted.
3845 * java/sql/Time.java
3846 (valueOf): Deprecated, reformatted.
3847 (toString): Deprecated, reformatted.
3849 2003-03-31 Michael Koch <konqueror@gmx.de>
3851 * java/rmi/dgc/VMID.java
3852 (isUnique): Deprecated.
3854 2003-03-31 Michael Koch <konqueror@gmx.de>
3857 (separator): Merged documentation from classpath.
3858 (separatorChar): Merged documentation from classpath.
3859 (pathSeparator): Merged documentation from classpath.
3860 (pathSeparatorChar): Merged documentation from classpath.
3861 (path): Merged documentation from classpath.
3862 (canRead): Merged documentation from classpath.
3863 (canWrite): Merged documentation from classpath.
3864 (createNewFile): Merged documentation from classpath.
3865 (delete): Merged documentation from classpath.
3866 (equals): Merged documentation from classpath.
3867 (exists): Merged documentation from classpath.
3868 (File): Renamed p to name to match classpath, merged documentation
3870 (getAbsolutePath): Merged documentation from classpath.
3871 (getCanonicalPath): Merged documentation from classpath.
3872 (getCanonicalFile): Merged documentation from classpath.
3873 (getName): Merged documentation from classpath.
3874 (getParent): Merged documentation from classpath.
3875 (getParentFile): Merged documentation from classpath.
3876 (getPath): Merged documentation from classpath.
3877 (hashCode): Merged documentation from classpath.
3878 (isAbsolute): Merged documentation from classpath.
3879 (isDirectory): Merged documentation from classpath.
3880 (isFile): Merged documentation from classpath.
3881 (isHidden): Merged documentation from classpath.
3882 (lastModified): Merged documentation from classpath.
3883 (length): Merged documentation from classpath.
3884 (list): Merged documentation from classpath.
3885 (listFiles): Merged documentation from classpath.
3886 (toString): Merged documentation from classpath.
3887 (toURL): Merged documentation from classpath.
3888 (mkdir): Merged documentation from classpath.
3889 (mkdirs): Merged documentation from classpath.
3890 (createTempFile): Merged documentation from classpath.
3891 (setReadOnly): Merged documentation from classpath.
3892 (listRoots): Merged documentation from classpath.
3893 (compareTo): Merged documentation from classpath.
3894 (renameTo): Merged documentation from classpath.
3895 (setLastModified): Merged documentation from classpath.
3896 * java/io/PrintStream.java
3897 (auto_flush): Merged documentation from classpath.
3898 (PrintStream): Merged documentation from classpath.
3899 (checkError): Merged documentation from classpath.
3900 (setError): Merged documentation from classpath.
3901 (close): Merged documentation from classpath.
3902 (flush): Merged documentation from classpath.
3903 (print): Merged documentation from classpath.
3904 (println): Merged documentation from classpath.
3905 (write): Renamed count to len to match classpath,
3906 merged documentation from classpath.
3907 * java/io/RandomAccessFile.java
3908 (readShort): Merged documentation from classpath.
3909 (readUnsignedByte): Merged documentation from classpath.
3910 (readUnsignedShort): Merged documentation from classpath.
3911 (readUTF): Merged documentation from classpath.
3912 (seek): Reformatted, merged documentation from classpath.
3913 (skipBytes): Renamed some variables to match classpath, reformatted,
3914 merged documentation from classpath.
3915 (write): Merged documentation from classpath.
3916 (writeBoolean): Merged documentation from classpath.
3917 (writeByte): Merged documentation from classpath.
3918 (writeShort): Merged documentation from classpath.
3919 (writeChar): Merged documentation from classpath.
3920 (writeInt): Merged documentation from classpath.
3921 (writeLong): Merged documentation from classpath.
3922 (writeFloat): Merged documentation from classpath.
3923 (writeDouble): Merged documentation from classpath.
3924 (writeBytes): Merged documentation from classpath.
3925 (writeChars): Merged documentation from classpath.
3926 (writeUTF): Reformatted.
3927 (getChannel): Reformatted.
3929 2003-03-31 Michael Koch <konqueror@gmx.de>
3931 * java/awt/font/TextAttribute.java
3932 (readResolve): Throws java.io.InvalidObjectException.
3934 2003-03-31 Michael Koch <konqueror@gmx.de>
3936 * java/rmi/server/LoaderHandler.java
3937 (loadClass): Deprecated.
3938 (getSecurityContext): Deprecated.
3939 * java/rmi/server/LogStream.java
3940 (getDefaultStream): Deprecated.
3941 (setDefaultStream): Deprecated.
3942 (getOutputStream): Deprecated.
3943 (setOutputStream): Deprecated.
3944 (write): Deprecated.
3945 (toString): Deprecated.
3946 (parseLevel): Deprecated.
3947 * java/rmi/server/Operation.java
3948 (Operation): Deprecated.
3949 (getOperation): Deprecated.
3950 (toString): Deprecated.
3951 * java/rmi/server/RemoteCall.java
3952 (getOutputStream): Deprecated.
3953 (releaseOutputStream): Deprecated.
3954 (getInputStream): Deprecated.
3955 (releaseInputStream): Deprecated.
3956 (getResultStream): Deprecated.
3957 (executeCall): Deprecated.
3959 * java/rmi/server/RemoteRef.java
3960 (invoke): Deprecated.
3961 (newCall): Deprecated.
3963 * java/rmi/server/RemoteStub.java
3964 (setRef): Deprecated.
3965 * java/rmi/server/Skeleton.java:
3966 No need to import java.lang.Exception explicitly.
3967 (dispatch): Deprecated.
3968 (getOperations): Deprecated.
3970 2003-03-31 Michael Koch <konqueror@gmx.de>
3972 * java/rmi/dgc/VMID.java,
3973 java/rmi/registry/RegistryHandler.java,
3974 java/rmi/server/LogStream.java,
3975 java/rmi/server/Operation.java,
3976 java/rmi/server/RemoteCall.java,
3977 java/rmi/server/RemoteRef.java,
3978 java/rmi/server/RemoteStub.java:
3981 2003-03-31 Michael Koch <konqueror@gmx.de>
3983 * javax/swing/AbstractCellEditor.java,
3984 javax/swing/AbstractListModel.java,
3985 javax/swing/ActionMap.java,
3986 javax/swing/BorderFactory.java,
3987 javax/swing/ButtonGroup.java,
3988 javax/swing/DefaultBoundedRangeModel.java,
3989 javax/swing/DefaultButtonModel.java,
3990 javax/swing/DefaultCellEditor.java,
3991 javax/swing/DefaultComboBoxModel.java,
3992 javax/swing/DefaultDesktopManager.java,
3993 javax/swing/DefaultListCellRenderer.java,
3994 javax/swing/DefaultSingleSelectionModel.java,
3995 javax/swing/InputMap.java,
3996 javax/swing/JComponent.java,
3997 javax/swing/JMenu.java,
3998 javax/swing/JSlider.java,
3999 javax/swing/KeyStroke.java,
4000 javax/swing/OverlayLayout.java,
4001 javax/swing/ScrollPaneLayout.java,
4002 javax/swing/SizeRequirements.java,
4003 javax/swing/UIManager.java,
4004 javax/swing/ViewportLayout.java,
4005 javax/swing/border/AbstractBorder.java,
4006 javax/swing/colorchooser/DefaultColorSelectionModel.java,
4007 javax/swing/event/EventListenerList.java,
4008 javax/swing/table/AbstractTableModel.java,
4009 javax/swing/table/DefaultTableCellRenderer.java,
4010 javax/swing/table/DefaultTableColumnModel.java,
4011 javax/swing/table/DefaultTableModel.java,
4012 javax/swing/table/TableColumn.java,
4013 javax/swing/text/StyledEditorKit.java,
4014 javax/swing/tree/DefaultMutableTreeNode.java,
4015 javax/swing/tree/DefaultTreeModel.java,
4016 javax/swing/tree/DefaultTreeSelectionModel.java,
4017 javax/swing/tree/TreePath.java,
4018 javax/swing/undo/AbstractUndoableEdit.java,
4019 javax/swing/undo/StateEdit.java,
4020 javax/swing/undo/StateEditable.java,
4021 javax/swing/undo/UndoableEditSupport.java:
4022 Merges from classpath.
4024 2003-03-30 Tom Tromey <tromey@redhat.com>
4026 * java/lang/String.java (data, boffset, count): Documented.
4027 (String(byte[],String)): Reformatted.
4028 (String(byte[])): Likewise.
4029 (lastIndexOf(int)): Likewise.
4030 (lastIndexOf(String)): Likewise.
4031 (substring(int)): Renamed argument to match Classpath.
4032 (String(StringBuffer)): Don't share buffer if it is nearly empty.
4034 * java/lang/String.java: Miscellaneous minor formatting changes
4035 to match Classpath more closely.
4037 2003-03-29 Eric Blake <ebb9@email.byu.edu>
4038 Tom Tromey <tromey@redhat.com>
4040 * java/lang/natString.cc (hashCode): Use cachedHashCode.
4042 (charAt): Put index in exception.
4043 (contentEquals): New method.
4044 Include StringBuffer.h.
4045 * java/lang/String.java (cachedHashCode): New field.
4046 (String()): Follow classpath implementation.
4048 (contentEquals): Declare.
4049 (subSequence): Don't declare IndexOutIfBoundsException in throws
4051 (matches, replaceFirst, replaceAll, split): New methods from
4054 2003-03-29 Tom Tromey <tromey@redhat.com>
4056 * java/lang/String.java: Reordered to follow Classpath; merged in
4059 * java/text/MessageFormat.java: Removed some whitespace.
4061 * Makefile.in: Rebuilt.
4062 * Makefile.am (awt_java_source_files): Added new files.
4063 * gnu/javax/rmi/PortableServer.java,
4064 gnu/javax/rmi/CORBA/DelegateFactory.java,
4065 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
4066 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
4067 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
4068 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
4069 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4070 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
4071 javax/rmi/PortableRemoteObject.java,
4072 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
4073 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4074 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
4075 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
4076 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
4077 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
4079 * java/lang/natClass.cc (newInstance): Put method name in
4081 (getConstructor): Likewise.
4082 (getDeclaredConstructor): Likewise.
4083 (getPrivateMethod): Likewise.
4085 2003-03-28 Tom Tromey <tromey@redhat.com>
4087 * java/lang/reflect/Proxy.java: New version from Classpath.
4088 * java/lang/Package.java: New version from Classpath.
4090 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
4092 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
4093 * configure: Regenerate.
4095 2003-03-28 Michael Koch <konqueror@gmx.de>
4097 * java/io/File.java:
4098 Import needed classes instead of whole packages, merged class
4099 documentation with classpath, moved constants and variables to top of
4101 * java/io/PrintStream.java:
4102 Merged class documentation with classpath, moved constants and
4103 variables to top of class.
4104 * java/io/RandomAccessFile.java
4105 (RandomAccessFile): Merged with classpath.
4106 (read): Merged with classpath).
4107 (read*): Reformatted.
4109 2003-03-28 Michael Koch <konqueror@gmx.de>
4111 * java/io/FileDescriptor.java
4112 (finalize): Throws Throwable, not IOException.
4113 * java/io/ObjectOutputStream.java
4114 (PutField.put): Doesnt throws anything.
4116 2003Â03-28 Michael Koch <konqueror@gmx.de>
4118 * java/io/FileOutputStream.java:
4119 Merged class documentation and authors with classpath.
4120 (FileOutputStream): Partly merged with classpath.
4121 (write): Merged with classpath.
4122 (getChannel): Make it synchronized instead of explicit block in this
4124 * java/io/RandomAccessFile.java:
4125 Merged class documentation and authors with classpath.
4127 2003-03-26 Tom Tromey <tromey@redhat.com>
4129 * java/lang/natRuntime.cc (insertSystemProperties): Set
4130 gnu.classpath.home.url.
4131 * Makefile.in: Rebuilt.
4132 * Makefile.am: Define LIBDIR.
4134 2003-03-25 Michael Koch <konqueror@gmx.de>
4136 * java/io/FileInputStream.java
4137 (read): Renamed b to buf and off to offset.
4138 * java/io/FileOutputStream.java
4139 (ch): Documentation added.
4140 (FileOutputStream): Documentation added.
4141 (getFD): Documentation added.
4142 (write): Documentation added.
4143 (close): Documentation added.
4144 (getChannel): Documentation added.
4146 2003-03-24 Michael Koch <konqueror@gmx.de>
4148 * java/io/DataOutputStream.java
4149 (write): Merged from classpath.
4150 * java/io/File.java:
4151 Merged copyrigth with classpath.
4152 * java/io/FileInputStream.java
4153 (getChannel): Made it synchronized instead of using a synchronized
4155 * java/io/FileOutputStream.java: Reformatted.
4156 * java/io/InputStreamReader.java
4157 (InputStreamReader): Renamed enc to encoding_name.
4158 (close): Merged documentation from classpath.
4159 (getEncoding): Merged documentation from classpath.
4160 (ready): Merged documentation from classpath.
4161 (read): Merged documentation from classpath.
4162 * java/io/LineNumberReader.java
4163 (lineNumber): Made it private.
4164 (LineNumberReader): Use Constant instead of a direct value.
4165 * java/io/OutputStreamWriter.java
4166 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
4167 documentation from classpath.
4168 (close): Merged documentation from classpath.
4169 (flush): Merged documentation from classpath.
4170 (write): Merged documentation from classpath.
4171 * java/io/PrintStream.java: Reformatted.
4173 2003-03-24 Michael Koch <konqueror@gmx.de>
4175 * javax/swing/text/ComponentView.java
4176 (getComponent): Must be final.
4177 * javax/swing/tree/DefaultTreeCellRenderer.java:
4179 * javax/swing/undo/StateEditable.java:
4182 2003-03-24 Michael Koch <konqueror@gmx.de>
4184 * java/rmi/activation/ActivationInstantiator.java:
4186 * java/rmi/activation/Activator.java:
4188 * java/rmi/registry/RegistryHandler.java:
4189 Remerged from classpath.
4191 2003-03-24 Michael Koch <konqueror@gmx.de>
4193 * java/util/Date.java:
4194 Fixed documentation starting tag to make javadoc happy.
4195 * java/util/regex/Pattern.java
4196 (Pattern): Implements Serializable.
4197 * java/util/PatternSyntaxException.java
4198 (serialVersionUID): New member variable.
4200 2003-03-24 Michael Koch <koqnueror@gmx.de>
4202 * java/awt/ContainerOrderFocusTraversalPolicy.java
4203 (getFirstComponent): Implemented.
4204 (getLastComponent): Implemented.
4205 (getDefaultComponent): Implemented.
4206 (setImplicitDownCycleTraversal): Fixed implementation.
4207 * java/awt/Robot.java
4208 (Robot): Added documentation.
4209 * java/awt/Toolkit.java
4210 (getFontList): Deprecated.
4211 (getFontMetrics): Deprecated.
4212 (getPrintJob): Added documentation.
4213 (getSystemSelection): Added documentation.
4214 (getLockingKeyState): Added documentation.
4215 (setLockingKeyState): Added documentation.
4216 (createCustomCursor): Added documentation.
4217 (getBestCursorSize): Added documentation.
4218 (getMaximumCursorColors): Added documentation.
4219 (isFrameStateSupported): Added documentation.
4221 2003-03-24 Michael Koch <konqueror@gmx.de>
4223 * java/io/RandomAccessFile.java:
4224 More little merges with classpath. No code changes.
4226 2003-03-24 Michael Koch <konqueror@gmx.de>
4228 * java/net/natInetAddressNoNet.cc:
4230 * java/net/natPlainDatagramSocketImplNoNet.cc:
4231 Fixed inlcude of java/net/DatagramPacket.h.
4232 * java/net/natPlainSocketImplNoNet.cc:
4233 Include some missing classes.
4235 2003-03-24 Michael Koch <konqueror@gmx.de>
4237 * java/awt/dnd/DropTarget.java
4238 (DropTargetAutoScroller): According to the online documentation, this
4239 is protected, but in reality it is public.
4240 * java/awt/dnd/DropTargetContext.java
4241 (TransferableProxy): According to the online documentation, this
4242 is protected, but in reality it is public.
4244 2003-03-24 Michael Koch <konqueror@gmx.de>
4246 * java/io/DataInputStream.java
4247 (): Wrapped documentation line.
4248 (): Fixed @return tag.
4249 * java/io/DataOutputStream.java
4250 (written): Moved to top of class.
4251 (all methods): Merged documentation from classpath.
4252 * java/io/File.java:
4253 Merged copyright year with classpath.
4254 * java/io/FileInputStream.java
4255 (all methods): Merged documentation from classpath.
4256 * java/io/LineNumberReader.java
4257 (getLineNumber): Fixed @return tag.
4258 * java/io/ObjectInputStream.java.
4260 * java/io/ObjectOutputStream.java:
4261 Reformatted, fixed some @see tags.
4262 * java/io/OutputStreamWriter.java:
4264 * java/io/Writer.java:
4267 2003-03-24 Michael Koch <konqueror@gmx.de>
4269 * java/awt/Frame.java
4270 (DEFAULT_CURSOR): Fixed @deprecated tag.
4271 (setCursor): Fixed @deprecated tag.
4273 2003-03-24 Michael Koch <konqueror@gmx.de>
4275 * java/beans/beancontext/BeanContextEvent.java:
4278 2003-03-23 Eric Blake <ebb9@email.byu.edu>
4280 * java/lang/natStringBuffer.cc (regionMatches): New function.
4281 * java/lang/String.java (count): Now package-private.
4282 * java/lang/StringBuffer.java: Merged with Classpath.
4284 2003-03-23 Michael Koch <konqueror@gmx.de>
4286 * java/io/BufferedOutputStream.java:
4288 * java/io/BufferedReader.java:
4290 * java/io/ByteArrayOutputStream.java
4291 (size): Fixed @see tag.
4292 * java/io/CharArrayWriter.java
4293 (size): Fixed @see tag.
4294 * java/io/DataInput.java:
4296 * java/io/DataOutput.java:
4298 * java/io/DataOutputStream.java:
4299 Merged copyright years with classpath.
4300 * java/io/Externalizable.java:
4302 * java/io/FileFilter.java:
4304 * java/io/FileInputStream.java:
4305 Merged copyright years with classpath.
4306 * java/io/FileOutputStream.java:
4307 Merged copyright years with classpath.
4308 * java/io/FilePermission.java
4309 (FilePermission): Replaced @XXX with FIXME:.
4310 * java/io/FileWriter.java:
4312 * java/io/FilenameFilter.java:
4314 * java/io/FilterInputStream.java:
4316 * java/io/FilterOutputStream.java:
4318 * java/io/FilterReader.java:
4320 * java/io/FilterWriter.java:
4322 * java/io/LineNumberInputStream.java
4323 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
4325 (getLineNumber): Fixed @return tag.
4326 * java/io/ObjectInput.java:
4328 * java/io/ObjectOutput.java:
4330 * java/io/ObjectStreamClass.java:
4332 * java/io/PrintStream.java:
4333 Merged copyright years with classpath.
4334 * java/io/PushbackReader.java
4335 (PushbackReader): Replaced @code with @param.
4336 * java/io/SerializablePermission.java:
4338 * java/io/StreamTokenizer.java
4339 (resetSyntax): Fixed @see tag.
4341 2003-03-22 Richard Henderson <rth@redhat.com>
4343 * sysdep/ia64/locks.h: Include ia64intrin.h.
4344 (compare_and_swap): Use __sync_bool_compare_and_swap.
4345 (compare_and_swap_release): Expose ar.ccv assignment.
4347 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
4349 * include/posix.h: Add suffix for darwin dynamic libraries.
4351 2003-03-21 Michael Koch <konqueror@gmx.de>
4353 * javax/swing/Action.java
4354 (ACCELERATOR_KEY): New constant.
4355 (ACTION_COMMAND_KEY): Likewise.
4356 (MNEMONIC_KEY): Likewise.
4357 * javax/swing/UnsupportedLookAndFeelException.java
4358 (UnsupportedLookAndFeelException): Must be public.
4359 * javax/swing/WindowConstants.java
4360 (EXIT_ON_CLOSE): New constant.
4361 * javax/swing/text/BadLocationException.java
4362 (offset): New member variable.
4363 (BadLocationException): New implementation, documentation added.
4364 (offsetRequested): New method.
4365 * javax/swing/text/Caret.java:
4367 * javax/swing/text/Document.java:
4370 2003-03-21 Michael Koch <konqueror@gmx.de>
4372 * java/rmi/activation/Activatable.java
4373 (serialVersionUID): New member variable.
4374 * java/rmi/activation/ActivationGroup.java
4375 (serialVersionUID): New member variable.
4376 * java/rmi/activation/ActivationGroupDesc.java
4377 (serialVersionUID): New member variable.
4378 * java/rmi/registry/Registry.java:
4380 (Registry): Deprecated.
4381 * java/rmi/server/LoaderHandler.java
4383 (LoaderHandler): Deprecated.
4384 * java/rmi/server/LogStream.java
4386 (LogStream): Deprecated.
4387 * java/rmi/server/Operation.java
4388 (Operation): Deprecated.
4389 * java/rmi/server/RMIFailureHandler.java:
4391 * java/rmi/server/RMISocketFactory.java:
4393 * java/rmi/server/RemoteCall.java
4394 (RemoteCall): Deprecated.
4395 * java/rmi/server/RemoteStub.java:
4397 * java/rmi/server/Skeleton.java
4399 (Skeleton): Deprecated.
4401 2003-03-21 Michael Koch <konqueror@gmx.de>
4403 * java/io/LineNumberReader.java
4404 (LineNumberReader): Merged documentation with classpath.
4405 (getLineNumber): Likewise.
4406 (setLineNumber): Likewise.
4410 (readLine): Likewise.
4413 2003-03-21 Michael Koch <konqueror@gmx.de>
4415 * java/rmi/RMISecurityManager.java
4416 (checkAccept): Removed.
4417 (checkAccess): Likewise.
4418 (checkAccess): Likewise.
4419 (checkAwtEventQueueAccess): Likewise.
4420 (checkConnect): Likewise.
4421 (checkCreateClassLoader): Likewise.
4422 (checkDelete): Likewise.
4423 (checkExec): Likewise.
4424 (checkExit): Likewise.
4425 (checkLink): Likewise.
4426 (checkListen): Likewise.
4427 (checkMemberAccess): Likewise.
4428 (checkMulticast): Likewise.
4429 (checkPackageAccess): Likewise.
4430 (checkPackageDefinition): Likewise.
4431 (checkPermission): Likewise.
4432 (checkPrintJobAccess): Likewise.
4433 (checkPropertiesAccess): Likewise.
4434 (checkPropertyAccess): Likewise.
4435 (checkRead): Likewise.
4436 (checkSecurityAccess): Likewise.
4437 (checkSetFactory): Likewise.
4438 (checkSystemClipboardAccess): Likewise.
4439 (checkTopLevelWindow): Likewise.
4440 (checkWrite): Likewise.
4442 2003-03-20 Michael Koch <konqueror@gmx.de>
4444 * gnu/java/nio/FileChannelImpl.java
4446 (map_address): New member variable.
4447 (length): Make it package private.
4448 (fd): Make it package private.
4449 (buf): Make it package private.
4450 (file_obj): Make it package private.
4451 (FileChannelImpl): New constructor.
4452 (nio_mmap_file): Use RawData instead of long.
4453 (nio_munmap_file): Use RawData instead of long.
4454 (nio_msync): Use RawData instead of long.
4455 (implCloseChannel): New implementation using map_address.
4458 (create_direct_mapped_buffer): Implemented, use RawData, throws
4460 (force): Use map_address instead of address.
4461 * gnu/java/nio/MappedByteFileBuffer.java
4463 (map_address): New member variable.
4464 (MappedByteFileBuffer): Use map_address instead of address, reformated.
4465 (several methods): Use map_address instead of address, replaced long
4466 with RawData where appropriate.
4467 * gnu/java/nio/natFileChannelImpl.cc
4468 (nio_mmap_file): Replaced long with RawData.
4469 (nio_munmap_file): Replaced long with RawData.
4470 (nio_msync): Replaced long with RawData.
4471 * gnu/java/nio/natMappedByteFileBuffer.cc
4472 (several methods): Replaced long with RawData where appropriate.
4474 2003-03-20 Michael Koch <konqueror@gmx.de>
4476 * java/net/InetAddress.java,
4477 java/net/JarURLConnection.java,
4478 java/net/PlainDatagramSocketImpl.java,
4479 java/net/PlainSocketImpl.java,
4480 java/net/URLConnection.java:
4481 Merged copyright statements with classpath for easier merging.
4483 2003-03-20 Michael Koch <konqueror@gmx.de>
4485 * java/io/FileInputStream.java
4486 (getChannel): New implementation.
4487 * java/io/FileOutputStream.java
4488 (ch): New member variable.
4489 (getChannel): Implemented.
4490 * java/io/RandomAccessFile.java
4491 (RandomAccessFile): Throws FileNotFoundException instead of
4493 (getChannel): New method.
4494 (ch): New member variable.
4496 2003-03-20 Michael Koch <konqueror@gmx.de>
4498 * java/io/DataOutputStream.java,
4500 java/io/FileInputStream.java,
4501 java/io/FileOutputStream.java,
4502 java/io/InputStreamReader.java,
4503 java/io/LineNumberReader.java,
4504 java/io/OutputStreamWriter.java,
4505 java/io/PrintStream.java,
4506 java/io/RandomAccessFile.java:
4507 Merged copyright statements with classpath for easier merging.
4509 2003-03-19 Michael Koch <konqueror@gmx.de>
4511 * java/lang/Process.java:
4512 Merged from classpath.
4514 2003-03-19 Michael Koch <konqueror@gmx.de>
4516 * java/io/FileOutputStream.java
4517 (FileOutputStream): New constructor, merged from classpath.
4518 * java/io/FileWriter.java
4519 (FileWriter): New constructor, merged from classpath.
4521 2003-03-18 Michael Koch <konqueror@gmx.de>
4523 * java/awt/ScrollPane.java
4524 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
4525 (getViewportSize): Likewise.
4526 (addNotify): Likewise.
4527 (removeNotify): Likewise.
4528 * java/awt/ScrollPaneAdjustable.java
4529 (ScrollPaneAdjustable): No longer extends Scrollbar.
4530 * java/beans/beancontext/BeanContextServices.java:
4532 (getService): Added throws TooManyListenersException;
4533 * java/beans/beancontext/BeanContextServicesSupport.java:
4536 2003-03-18 Michael Koch <konqueror@gmx.de>
4538 * java/io/BufferedOutputStream.java,
4539 java/io/DataInput.java,
4540 java/io/DataInputStream.java,
4541 java/io/DataOutput.java,
4542 java/io/Externalizable.java:
4543 More merges from classpath.
4545 2003-03-18 Michael Koch <konqueror@gmx.de>
4547 * configure.in: Fixed links to platform dependant java.net files.
4548 * configure: Regenerated.
4549 * java/net/natInetAddress.cc,
4550 java/net/natNetworkInterface.cc,
4551 java/net/natPlainDatagramSocketImpl.cc,
4552 java/net/natPlainSocketImpl.cc:
4555 2003-03-18 Michael Koch <konqueror@gmx.de>
4557 * configure.in: Create links to architecture dependent files,
4558 introduced PLATFORMNET variable (set to NoNet for newlib usage).
4559 * configure: Regenerated.
4560 * java/net/natInetAddressNoNet.cc,
4561 java/net/natInetAddressPosix.cc,
4562 java/net/natInetAddressWin32.cc,
4563 java/net/natNetworkInterfaceNoNet.cc,
4564 java/net/natNetworkInterfacePosix.cc,
4565 java/net/natNetworkInterfaceWin32.cc,
4566 java/net/natPlainDatagramSocketImplNoNet.cc,
4567 java/net/natPlainDatagramSocketImplPosix.cc,
4568 java/net/natPlainDatagramSocketImplWin32.cc,
4569 java/net/natPlainSocketImplNoNet.cc,
4570 java/net/natPlainSocketImplPosix.cc,
4571 java/net/natPlainSocketImplWin32.cc: New files.
4573 2003-03-18 Michael Koch <konqueror@gmx.de>
4575 * java/io/BufferedReader.java,
4576 java/io/BufferedWriter.java,
4577 java/io/ByteArrayOutputStream.java,
4578 java/io/FileFilter.java,
4579 java/io/FilePermission.java,
4580 java/io/FileReader.java,
4581 java/io/FileWriter.java,
4582 java/io/FilenameFilter.java,
4583 java/io/FilterInputStream.java,
4584 java/io/FilterOutputStream.java,
4585 java/io/FilterReader.java,
4586 java/io/FilterWriter.java,
4587 java/io/ObjectInput.java,
4588 java/io/ObjectInputValidation.java,
4589 java/io/ObjectOutput.java,
4590 java/io/ObjectStreamField.java,
4591 java/io/PipedInputStream.java,
4592 java/io/PipedReader.java,
4593 java/io/PrintWriter.java,
4594 java/io/PushbackReader.java,
4595 java/io/Reader.java,
4596 java/io/SerializablePermission.java,
4597 java/io/StringReader.java,
4598 java/io/Writer.java:
4599 Merged from classpath.
4601 2003-03-17 Michael Koch <konqueror@gmx.de>
4603 * java/awt/ScrollPaneAdjustable.java:
4606 2003-03-17 Michael Koch <konqueror@gmx.de>
4608 * java/net/DatagramSocket.java
4609 (connect): Fixed comment.
4610 * java/nio/ByteBuffer.java
4611 (hasArray): Fixed comment.
4613 2003-03-17 Michael Koch <konqueror@gmx.de>
4615 * java/beans/Beans.java:
4616 Explicitely import classes not packages.
4617 * java/beans/FeatureDescriptor.java
4618 (preferred): New member variable.
4619 (isPreferred): New method.
4620 (setPreferred): New method.
4621 * java/beans/PropertyEditorManager.java:
4622 Explicitely import used classes.
4623 * java/beans/beancontext/BeanContextChild.java:
4624 Added line wrapping.
4625 * java/beans/beancontext/BeanContextChildSupport.java:
4627 * java/beans/beancontext/BeanContextEvent.java:
4630 2003-03-17 Michael Koch <konqueror@gmx.de>
4632 * java/awt/Dialog.java
4633 (Dialog): New constructor, changed implementations, added
4635 * java/awt/ScrollPaneAdjustable.java
4636 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4638 (serialVersionUID): New member variable.
4639 (sp): New member variable.
4640 (orientation): New member variable.
4641 (value): New member variable.
4642 (minimum): New member variable.
4643 (maximum): New member variable.
4644 (visibleAmount): New member variable.
4645 (unitIncrement): New member variable.
4646 (blockIncrement): New member variable.
4647 (AdjustmentListener): New member variable.
4648 (ScrollPaneAdjustable): New implementation.
4649 (addAdjustmentListener): New method.
4650 (removeAdjustmentListener): New method.
4651 (getAdjustmentListeners): New method.
4652 (getBlockIncrement): New method.
4653 (getMaximum): New method.
4654 (getMinimum): New method.
4655 (getOrientation): New method.
4656 (getUnitIncrement): New method.
4657 (getValue): New method.
4658 (getVisibleAmount): New method.
4659 (setBlockIncrement): New method.
4660 (setMaximum): Implemented.
4661 (setMinimum): Implemented.
4662 (setUnitIncrement): New method.
4663 (setValue): New method.
4664 (setVisibleAmount): Implemented.
4665 (paramString): New stubbed method.
4666 * java/awt/Window.java
4667 (show): Call setVisible().
4668 (hide): Call setVisible().
4669 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4670 and WINDOW_STATE_CHANGED.
4671 (processWindowFocusEvent): New method.
4672 (processWindowStateEvent): New method.
4673 (postEvent): Deprecated.
4674 (applyResourceBundle): Deprecated.
4675 * java/awt/datatransfer/DataFlavor.java
4676 (DataFlavor): Doesn't thow ClassNotFoundException.
4678 2003-03-17 Michael Koch
4680 * javax/print/attribute/Attribute.java,
4681 javax/print/attribute/AttributeSet.java,
4682 javax/print/attribute/PrintRequestAttributeSet.java:
4685 (javax_source_files): Added new files:
4686 javax/print/attribute/Attribute.java
4687 javax/print/attribute/AttributeSet.java
4688 javax/print/attribute/PrintRequestAttributeSet.java
4689 * Makefile.in: Regenerated.
4691 2003-03-17 Michael Koch
4693 * javax/print/attribute/Attribute.java,
4694 javax/print/attribute/AttributeSet.java,
4695 javax/print/attribute/PrintRequestAttributeSet.java:
4698 (awt_java_source_files): Added new files:
4699 javax/print/attribute/Attribute.java
4700 javax/print/attribute/AttributeSet.java
4701 javax/print/attribute/PrintRequestAttributeSet.java
4702 * Makefile.in: Regenerated.
4704 2003-03-16 Tom Tromey <tromey@redhat.com>
4706 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4708 * java/lang/natRuntime.cc (insertSystemProperties): Use
4709 _Jv_platform_path_separator.
4710 (nativeGetLibname): Use _Jv_platform_file_separator.
4711 (_load): Use _Jv_platform_onload_names.
4712 (onload_names): New global.
4713 * include/win32.h (_Jv_platform_file_separator): New define.
4714 (_Jv_platform_path_separator): Likewise.
4715 (_Jv_platform_onload_names): Likewise.
4716 (_Jv_platform_ffi_abi): Likewise.
4717 * include/posix.h (_Jv_platform_file_separator): New define.
4718 (_Jv_platform_path_separator): Likewise.
4719 (_Jv_platform_onload_names): Likewise.
4720 (_Jv_platform_ffi_abi): Likewise.
4722 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
4724 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4726 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
4728 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4730 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4731 list to Object,ObjectStreamClass, moved callReadMethod code up into
4732 readObject and added Class argument to all setXxxField calls.
4733 (callReadMethod): Changed Class argument to ObjectStreamClass to be
4734 consistent with ObjectOutputStream and to facilitate caching the
4735 Method in the future.
4736 (setBooleanField): Added Class argument.
4737 (setByteField): Likewise.
4738 (setCharField): Likewise.
4739 (setDoubleField): Likewise.
4740 (setFloatField): Likewise.
4741 (setIntField): Likewise.
4742 (setLongField): Likewise.
4743 (setShortField): Likewise.
4744 (setObjectField): Likewise.
4745 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4746 class hierarchy loop.
4747 (defaultWriteObject): Call writeFields with new argument list.
4748 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4749 list to Object,ObjectStreamClass, moved callWriteMethod up into
4750 writeObject and added Class argument to all getXxxField calls.
4751 (callWriteMethod): Added ObjectStreamClass argument to be able to
4752 get the proper class to call getMethod on (each class can have (or
4753 not have) its own writeObject method).
4754 (getBooleanField): Added Class argument.
4755 (getByteField): Likewise.
4756 (getCharField): Likewise.
4757 (getDoubleField): Likewise.
4758 (getFloatField): Likewise.
4759 (getIntField): Likewise.
4760 (getLongField): Likewise.
4761 (getShortField): Likewise.
4762 (getObjectField): Likewise.
4763 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4764 facilitate caching the Method object in the future.
4766 2003-03-12 Andreas Schwab <schwab@suse.de>
4768 * configure.in: Avoid trailing /. in toolexeclibdir.
4769 * configure: Rebuilt.
4771 2003-03-11 Michael Koch <konqueror@gmx.de>
4773 * gnu/java/nio/ByteBufferImpl.java
4774 (putInt): Use limit() instead of limit.
4775 * gnu/java/nio/CharBufferImpl.java
4776 (slice): Fixed implementation.
4777 (subSequence): Better bounds checking.
4778 * gnu/java/nio/MappedByteFileBuffer.java:
4779 Import all needed classes directly.
4780 * java/nio/ByteBuffer.java
4781 (hashCode): New dummy method.
4782 * java/nio/CharBuffer.java
4783 (array_offset): New member variable.
4784 (hasArray): Fixed documentation.
4785 (arrayOffset): Return array_offset.
4787 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4789 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4790 setter; made return value of getter const char* instead of char*
4791 * prims.cc: removed all references to _Jv_ThisExecutable().
4792 These are in the platform-specific sections now.
4793 * posix.cc: define platform-specific _Jv_ThisExecutable().
4794 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4795 * win32.cc: define platform-specific _Jv_ThisExecutable()
4796 using GetModuleFilename()
4797 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4798 to argv[0] instead of _Jv_ThisExecutable()
4800 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4802 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4803 that is set if we are using addr2name.awk instead of addr2line.
4804 (NameFinder): Set usingAddr2name if using addr2name.awk.
4805 (getExternalLabel): New native method to convert a method
4806 name to an external label.
4807 (lookup): Convert name given by addr2line to an external label
4810 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4811 constant representing the prefix attached to method names to
4812 convert them to an external label.
4813 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4816 2003-03-10 Tom Tromey <tromey@redhat.com>
4818 * Makefile.in: Rebuilt.
4819 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4820 (JC1FLAGS): Removed -Wno-deprecated.
4822 2003-03-10 Michael Koch <konqueror@gmx.de>
4824 * java/nio/ByteOrder.java
4825 (nativeOrder): Working implementation, added documentation.
4826 (toString): Added documentation.
4828 2003-03-10 Michael Koch <konqueror@gmx.de>
4830 * java/net/DatagramSocket.java,
4831 java/net/MulticastSocket.java,
4832 java/net/Socket.java,
4834 java/net/URLConnection.java:
4835 Fixed some documentation tags to make javadoc and friends happy.
4837 2003-03-10 Michael Koch <koqnueror@gmx.de>
4839 * java/beans/beancontext/BeanContextServicesSupport.java,
4840 java/beans/beancontext/BeanContextSupport.java: New files.
4842 (awt_source_files): Added new files.
4843 * Makefile.in: Regenerated.
4845 2003-03-10 Michael Koch <konqueror@gmx.de>
4847 * java/awt/FocusTraversalPolicy.java
4848 (FocusTraversalPolicy): Documentation added.
4849 (getComponentAfter): Documentation added.
4850 (getComponentBefore): Documentation added.
4851 (getFirstComponent): Documentation added.
4852 (getLastComponent): Documentation added.
4853 (getDefaultComponent): Documentation added.
4854 (getInitialComponent): Documentation added.
4855 * java/awt/ScrollPaneAdjustable.java
4856 (sp): New member variable.
4857 (orientation): New member variable.
4858 (value): New member variable.
4859 (minimum): New member variable.
4860 (maximum): New member variable.
4861 (visibleAmount): New member variable.
4862 (unitIncrement): New member variable.
4863 (blockIncrement): New member variable.
4864 (adjustmentListener): New member variable.
4865 (ScrollPaneAdjustable): Rewrote.
4866 (addAdjustmentListener): New method.
4867 (removeAdjustmentListener): New method.
4868 (getAdjustmentListeners): New method.
4869 (getBlockIncrement): New method.
4870 (getMaximum): New method.
4871 (getMinimum): New method.
4872 (getOrientation): New method.
4873 (getUnitIncrement): New method.
4874 (getValue): New method.
4875 (getVisibleAmount): New method.
4876 (setBlockIncrement): New method.
4877 (setUnitIncrement): New method.
4878 (setMaximum): Implemented.
4879 (setMinimum): Implemented.
4880 (setValue): New method.
4881 (setVisibleAmount): Implemented.
4882 (paramString): New method.
4883 * java/awt/Window.java
4884 (show): Use setVisible(true) instead of super.show().
4885 (hide): Use sevVisible(false) instead of super.hide().
4886 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4887 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4888 (postEvent): Deprecated.
4889 (applyResourceBundle): Deprecated.
4890 (processWindowFocusEvent): New method.
4891 (processWindowStateEvent): New method.
4892 * java/awt/datatransfer/DataFlavor.java: Reindented.
4893 * java/awt/font/TextHitInfo.java
4894 (charIndex): New member variable.
4895 (leadingEdge): New member variable.
4896 (TextHitInfo): New constructor.
4897 (getCharIndex): Implemented.
4898 (isLeadingEdge): Implemented.
4899 (getInsertionIndex): Implemented.
4900 (hashCode): Access charIndex directly.
4901 (equals): Reformated.
4902 (leading): Implemented.
4903 (trailing): Implemented.
4904 (beforeOffset): Implemented.
4905 (afterOffset): Implemented.
4906 (getOtherHit): Implemented.
4907 (getOffsetHit): Implemented.
4908 (toString): Implemented.
4909 * java/awt/image/BufferedImage.java
4910 (BufferedImage): Implements WritableRenderedImage.
4911 (observers): New member variable.
4912 (addTileObserver): New method.
4913 (removeTileObserver): New method.
4915 2003-03-09 Tom Tromey <tromey@redhat.com>
4918 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4919 to lseek. Return 0 if we can't compute the value.
4921 2003-03-03 Michael Koch <konqueror@gmx.de>
4923 * java/net/NetworkInterface.java: Merged with classpath.
4925 2003-03-03 Tom Tromey <tromey@redhat.com>
4927 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4929 (handle_ret_insn): Fail if returning to jsr that appears at end of
4932 2003-03-03 Michael Koch <konqueror@gmx.de>
4935 (ordinary_java_source_files):
4936 Added gnu/java/nio/MappedByteFileBuffer.java.
4938 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4939 * Makefile.in: Regenerated.
4941 2003-03-03 Michael Koch <konqueror@gmx.de>
4943 * java/net/DatagramSocket.java
4944 (connect): Merged comment from classpath.
4945 (receive): Merged documentation from classpath.
4946 * java/net/Socket.java
4947 (setSoTimeout): Clarified documentation.
4949 (getPath): Merged from classpath.
4950 (getUserInfo): Merged from classpath.
4951 (getQuery): Merged from classpath.
4952 * java/net/URLStreamHandler.java
4953 (toExternalForm): Merged from classpath.
4955 2003-03-02 Mark Wielaard <mark@klomp.org>
4957 * java/util/Properties.java (load): Only skip line if the first
4958 character is a comment, whitespaces don't count.
4960 2003-03-02 Michael Koch <konqueror@gmx.de>
4962 * java/net/NetPermission.java:
4963 Merged copyright with classpath.
4965 2003-03-02 Michael Koch <konqueror@gmx.de>
4967 * java/lang/Package.java:
4968 Remerged from classpath.
4970 2003-03-02 Michael Koch <konqueror@gmx.de>
4972 * java/net/HttpURLConnection.java
4973 (HTTP_SERVER_ERROR): Deprecated.
4974 * java/net/MulticastSocket.java
4975 (send): Replaced checkMulticast with appropriate checkPermission call,
4977 * java/net/URLDecoder.java
4978 (decode): Deprecated.
4979 * java/net/URLEncoder.java
4980 (encode): Deprecated.
4982 2003-03-02 Michael Koch <konqueror@gmx.de>
4984 * javax/swing/text/Caret.java
4985 (getMagicCaretPosition): Fixed typo in method name.
4986 * javax/swing/text/DefaultCaret.java
4987 (getMagicCaretPosition): Fixed typo in method name.
4989 2003-03-02 Michael Koch <konqueror@gmx.de>
4991 * java/awt/List.java
4992 (setMultipleSelections): Deprecated.
4993 (delItem): Deprecated.
4994 * java/awt/MenuComponent.java
4995 (getPeer): Deprecated.
4996 * java/awt/ScrollPane.java
4997 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4998 * java/awt/dnd/MouseDragGestureRecognizer.java
4999 (mouseClicked): Added comment.
5000 (mousePressed): Added comment.
5001 (mouseReleased): Added comment.
5002 (mouseEntered): Added comment.
5003 (mouseExited): Added comment.
5004 (mouseDragged): Added comment.
5005 (mouseMoved): Added comment.
5006 * java/awt/event/KeyEvent.java
5007 (KeyEvent): Deprecated.
5008 (setModifiers): Deprecated.
5010 2003-03-02 Michael Koch <konqueror@gmx.de>
5012 * gnu/java/nio/FileChannelImpl.java
5013 (fd): Type FileDescriptor instead of int.
5014 (lengthInternal): Removed.
5015 (FileChannelImpl): Fixed arguments, check type of file object.
5016 (size): Made it native.
5017 (implPosition): New native method.
5018 (implTruncate): New native method.
5019 (position): Implemented.
5020 (truncate): Implemented.
5021 (nio_mmap_file): Changed arguments.
5022 (nio_munmap_file): Changed arguments.
5023 (nio_msync): Changed arguments.
5024 * gnu/java/nio/natFileChannelImpl.cc
5025 (lengthInternal): Removed.
5027 (implPosition): New method.
5028 (implTruncate): New method.
5029 (nio_mmap_file): Changed arguments.
5030 (nio_munmap_file): Changed arguments.
5031 (nio_msync): Changed arguments.
5033 2003-03-02 Michael Koch <konqueror@gmx.de>
5035 * java/awt/dnd/DropTargetContext.java:
5036 Compile fix: Forgot to commit import.
5038 2003-03-02 Michael Koch <konqueror@gmx.de>
5040 * java/awt/Component.java,
5041 java/awt/ScrollPane.java:
5044 2003-03-02 Michael Koch <konqueror@gmx.de>
5046 * java/awt/dnd/DnDEventMulticaster.java: New file.
5047 * java/awt/dnd/DragSource.java
5048 (flavorMap): New member variable.
5049 (dragSourceListener): New member variable.
5050 (dragSourceMotionListener): New member variable.
5051 (getFlavorMap): Implemented.
5052 (createDragGestureRecognizer): Implemented.
5053 (addDragSourceListener): Implemented.
5054 (removeDragSourceListener): Implemented.
5055 (getDragSourceListeners): Implemented.
5056 (addDragSourceMotionListener): Implemented.
5057 (removeDragSourceMotionListener): Implemented.
5058 (getDragSourceMotionListeners): Implemented.
5059 (getListeners): Implemented.
5060 * java/awt/dnd/DragSourceContext.java
5061 (peer): New member variable.
5062 (cursor): New member variable.
5063 (transferable): New member variable.
5064 (trigger): New member variable.
5065 (dragSourceListener): New member variable.
5066 (image): New member variable.
5067 (offset): New member variable.
5068 (DragSourceContext): Implemented.
5069 (getDragSource): Implemented.
5070 (getComponent): Implemented.
5071 (getTrigger): Implemented.
5072 (getSourceActions): Implemented.
5073 (setCursor): Implemented.
5074 (getCursor): Implemented.
5075 (addDragSourceListener): Implemented.
5076 (removeDragSourceListener): Implemented.
5077 (getTransferable): Implemented.
5078 * java/awt/dnd/DropTarget.java
5079 (DropTargetAutoScroller.component): New member variable.
5080 (DropTargetAutoScroller.point): New member variable.
5081 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
5082 (DropTargetAutoScroller.updateLocation): Implemented.
5083 (active): Renamed from isActive, defaults to true now.
5084 (component): New member variable.
5085 (flavorMap): New member variable.
5086 (actions): New member variable.
5087 (dropTargetContext): New member variable.
5088 (dropTargetListener): New member variable.
5089 (DropTarget): Implemented.
5090 (getComponent): Implemented.
5091 (setComponent): Implemented.
5092 (setDefaultActions): Implemented.
5093 (getDefaultActions): Implemented.
5094 (setActive): Use active instead of isActive.
5095 (isActive): Use active instead of isActive.
5096 (addDropTargetListener): Implemented.
5097 (removeDropTargetListener): Implemented.
5098 (getFlavorMap): Implemented.
5099 (setFlavorMap): Implemented.
5100 (getDropTargetContext): Implemented.
5101 (createDropTargetContext): Implemented.
5102 (createDropTargetAutoScroller): Implemented.
5103 * java/awt/dnd/DropTargetContext.java
5104 (TransferableProxy.getTransferDataFlavors): Implemented.
5105 (TransferableProxy.isDataFlavorSupported): Implemented.
5106 (TransferableProxy.getTransferData): Implemented.
5107 (dropTarget): New member variable.
5108 (dtcp): New member variable.
5109 (DropTargetContext): New package private constructor.
5110 (getDropTarget): Implemented.
5111 (getComponent): Implemented.
5112 (addNotify): Implemented.
5113 (removeNotify): Implemented.
5114 (getCurrentDataFlavorsAsList): Implemented.
5115 (isDataFlavorSupported): Implemented.
5116 * java/awt/dnd/MouseDragGestureRecognizer.java
5117 (registerListeners): Implemented.
5118 (unregisterListeners): Implemented.
5120 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
5121 * Makefile.in: Regenerated.
5123 2003-03-02 Michael Koch <konqueror@gmx.de>
5125 * java/awt/Component.java
5126 (eventTypeEnabled): New method.
5127 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
5128 * java/awt/Container.java
5129 (changeSupport): New member variable.
5130 (addPropertyChangeListener): New methods.
5131 * java/awt/ContainerOrderFocusTraversalPolicy.java
5132 (ContainerOrderFocusTraversalPolicy): Added comment.
5133 (getComponentAfter): Throw exception, documentation added.
5134 (getComponentBefore): Throw exception, documentation added.
5135 (getFirstComponent): Throw exception, documentation added.
5136 (getLastComponent): Throw exception, documentation added.
5137 (getDefaultComponent): Throw exception, documentation added.
5138 * java/awt/EventQueue.java: Reindented.
5139 * java/awt/FocusTraversalPolicy.java:
5140 (FocusTraversalPolicy): Added comment.
5141 (getComponentAfter): Documentation added.
5142 (getComponentBefore): Documentation added.
5143 (getFirstComponent): Documentation added.
5144 (getLastComponent): Documentation added.
5145 (getDefaultComponent): Documentation added.
5146 (getInitialComponent): Documentation added.
5147 * java/awt/ScrollPane.java
5148 (wheelScrollingEnabled): New member variable.
5149 (ScrollPane): Initialize wheelScollingEnabled.
5150 (eventTypeEnabled): New method.
5151 (isWheelScrollingEnabled): New method.
5152 (setWheelScrollingEnabled): New method.
5154 2003-03-02 Michael Koch <konqueror@gmx.de>
5156 * java/net/DatagramSocket.java
5157 (closed): New member variable.
5158 (close): Use closed variable.
5159 (getInetAddress): No need to call isConnected().
5160 (getPort): No need to call isConnected().
5161 (disconnect): Reset remoteAddress and remotePort, fixed typo.
5162 (isClosed): Reimplemented.
5164 2003-03-02 Michael Koch <konqueror@gmx.de>
5166 * configure.in: Added check for memory mapping of files.
5167 * configure: Regenerated.
5168 * config.h.in: Regenerated.
5170 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
5172 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
5173 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
5175 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
5177 * java/io/File.java (normalizePath): Remove trailing separator
5178 on Windows only if path is not of the form "x:\".
5180 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
5181 (java::io::File::attr): Change formatting a bit and use
5182 WIN32_EPOCH_MILLIS instead of magic numbers.
5183 (java::io::File::isAbsolute): Path must have at least 3
5184 characters for a UNC network path.
5185 (java::io::File::init_native): Define.
5186 (java::io::File::performCreate): Likewise.
5187 (java::io::File::performSetReadOnly): Likewise.
5188 (java::io::File::performSetLastModified): Likewise.
5189 (java::io::File::performListRoots): Likewise.
5191 2003-03-01 Tom Tromey <tromey@redhat.com>
5193 * java/lang/natObject.cc: Don't include assert.h.
5194 (heavy_lock_obj_finalization_proc): Use JvAssert.
5195 (remove_all_heavy): Likewise.
5196 (_Jv_MonitorEnter): Likewise.
5197 (_Jv_MonitorExit): Likewise.
5200 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
5202 * java/io/File (getAbsolutePath): Prefix drive specifier on
5203 Windows for paths starting with a '\'.
5204 (toURL): Make URL more consistent with what Sun's JDK returns.
5206 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
5207 true only if the path is a UNC network path or it starts with a
5210 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
5211 Be prepared to handle either '/' or '\\' in the file path for
5212 Windows if using the "file" protocol.
5213 Canonicalise the file path if using a relative path in the given
5214 context and the "file" protocol.
5216 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
5218 * java/lang/natWin32Process.cc (startProcess): Double-quote each
5219 program array element passed to CreateProcess.
5221 2003-03-01 Tom Tromey <tromey@redhat.com>
5223 * java/rmi/registry/RegistryHandler.java: Deprecate.
5225 2003-03-01 Tom Tromey <tromey@redhat.com>
5227 * javax/accessibility/AccessibleEditableText.java,
5228 javax/accessibility/AccessibleHyperlink.java: New versions from
5231 * gnu/java/locale/LocaleInformation_af_ZA.java,
5232 gnu/java/locale/LocaleInformation_ar_AE.java,
5233 gnu/java/locale/LocaleInformation_ar_BH.java,
5234 gnu/java/locale/LocaleInformation_ar_DZ.java,
5235 gnu/java/locale/LocaleInformation_ar_EG.java,
5236 gnu/java/locale/LocaleInformation_ar_IN.java,
5237 gnu/java/locale/LocaleInformation_ar_IQ.java,
5238 gnu/java/locale/LocaleInformation_ar_JO.java,
5239 gnu/java/locale/LocaleInformation_ar_KW.java,
5240 gnu/java/locale/LocaleInformation_ar_LB.java,
5241 gnu/java/locale/LocaleInformation_ar_LY.java,
5242 gnu/java/locale/LocaleInformation_ar_MA.java,
5243 gnu/java/locale/LocaleInformation_ar_OM.java,
5244 gnu/java/locale/LocaleInformation_ar_QA.java,
5245 gnu/java/locale/LocaleInformation_ar_SD.java,
5246 gnu/java/locale/LocaleInformation_ar_SY.java,
5247 gnu/java/locale/LocaleInformation_ar_TN.java,
5248 gnu/java/locale/LocaleInformation_ar_YE.java,
5249 gnu/java/locale/LocaleInformation_be_BY.java,
5250 gnu/java/locale/LocaleInformation_bn_IN.java,
5251 gnu/java/locale/LocaleInformation_br_FR.java,
5252 gnu/java/locale/LocaleInformation_bs_BA.java,
5253 gnu/java/locale/LocaleInformation_ca_ES.java,
5254 gnu/java/locale/LocaleInformation_cs_CZ.java,
5255 gnu/java/locale/LocaleInformation_cy_GB.java,
5256 gnu/java/locale/LocaleInformation_da_DK.java,
5257 gnu/java/locale/LocaleInformation_de_AT.java,
5258 gnu/java/locale/LocaleInformation_de_BE.java,
5259 gnu/java/locale/LocaleInformation_de_CH.java,
5260 gnu/java/locale/LocaleInformation_de_DE.java,
5261 gnu/java/locale/LocaleInformation_de_LU.java,
5262 gnu/java/locale/LocaleInformation_el_GR.java,
5263 gnu/java/locale/LocaleInformation_en_AU.java,
5264 gnu/java/locale/LocaleInformation_en_BW.java,
5265 gnu/java/locale/LocaleInformation_en_CA.java,
5266 gnu/java/locale/LocaleInformation_en_DK.java,
5267 gnu/java/locale/LocaleInformation_en_GB.java,
5268 gnu/java/locale/LocaleInformation_en_HK.java,
5269 gnu/java/locale/LocaleInformation_en_IE.java,
5270 gnu/java/locale/LocaleInformation_en_IN.java,
5271 gnu/java/locale/LocaleInformation_en_NZ.java,
5272 gnu/java/locale/LocaleInformation_en_PH.java,
5273 gnu/java/locale/LocaleInformation_en_SG.java,
5274 gnu/java/locale/LocaleInformation_en_US.java,
5275 gnu/java/locale/LocaleInformation_en_ZA.java,
5276 gnu/java/locale/LocaleInformation_en_ZW.java,
5277 gnu/java/locale/LocaleInformation_es_AR.java,
5278 gnu/java/locale/LocaleInformation_es_BO.java,
5279 gnu/java/locale/LocaleInformation_es_CL.java,
5280 gnu/java/locale/LocaleInformation_es_CO.java,
5281 gnu/java/locale/LocaleInformation_es_CR.java,
5282 gnu/java/locale/LocaleInformation_es_DO.java,
5283 gnu/java/locale/LocaleInformation_es_EC.java,
5284 gnu/java/locale/LocaleInformation_es_ES.java,
5285 gnu/java/locale/LocaleInformation_es_GT.java,
5286 gnu/java/locale/LocaleInformation_es_HN.java,
5287 gnu/java/locale/LocaleInformation_es_MX.java,
5288 gnu/java/locale/LocaleInformation_es_NI.java,
5289 gnu/java/locale/LocaleInformation_es_PA.java,
5290 gnu/java/locale/LocaleInformation_es_PE.java,
5291 gnu/java/locale/LocaleInformation_es_PR.java,
5292 gnu/java/locale/LocaleInformation_es_PY.java,
5293 gnu/java/locale/LocaleInformation_es_SV.java,
5294 gnu/java/locale/LocaleInformation_es_US.java,
5295 gnu/java/locale/LocaleInformation_es_UY.java,
5296 gnu/java/locale/LocaleInformation_es_VE.java,
5297 gnu/java/locale/LocaleInformation_et_EE.java,
5298 gnu/java/locale/LocaleInformation_eu_ES.java,
5299 gnu/java/locale/LocaleInformation_fa_IR.java,
5300 gnu/java/locale/LocaleInformation_fi_FI.java,
5301 gnu/java/locale/LocaleInformation_fo_FO.java,
5302 gnu/java/locale/LocaleInformation_fr_BE.java,
5303 gnu/java/locale/LocaleInformation_fr_CA.java,
5304 gnu/java/locale/LocaleInformation_fr_CH.java,
5305 gnu/java/locale/LocaleInformation_fr_FR.java,
5306 gnu/java/locale/LocaleInformation_fr_LU.java,
5307 gnu/java/locale/LocaleInformation_ga_IE.java,
5308 gnu/java/locale/LocaleInformation_gd_GB.java,
5309 gnu/java/locale/LocaleInformation_gl_ES.java,
5310 gnu/java/locale/LocaleInformation_gv_GB.java,
5311 gnu/java/locale/LocaleInformation_he_IL.java,
5312 gnu/java/locale/LocaleInformation_hi_IN.java,
5313 gnu/java/locale/LocaleInformation_hr_HR.java,
5314 gnu/java/locale/LocaleInformation_hu_HU.java,
5315 gnu/java/locale/LocaleInformation_id_ID.java,
5316 gnu/java/locale/LocaleInformation_it_CH.java,
5317 gnu/java/locale/LocaleInformation_it_IT.java,
5318 gnu/java/locale/LocaleInformation_iw_IL.java,
5319 gnu/java/locale/LocaleInformation_ja_JP.java,
5320 gnu/java/locale/LocaleInformation_ka_GE.java,
5321 gnu/java/locale/LocaleInformation_kl_GL.java,
5322 gnu/java/locale/LocaleInformation_ko_KR.java,
5323 gnu/java/locale/LocaleInformation_kw_GB.java,
5324 gnu/java/locale/LocaleInformation_lt_LT.java,
5325 gnu/java/locale/LocaleInformation_lv_LV.java,
5326 gnu/java/locale/LocaleInformation_mi_NZ.java,
5327 gnu/java/locale/LocaleInformation_mk_MK.java,
5328 gnu/java/locale/LocaleInformation_mr_IN.java,
5329 gnu/java/locale/LocaleInformation_mt_MT.java,
5330 gnu/java/locale/LocaleInformation_nl_BE.java,
5331 gnu/java/locale/LocaleInformation_nl_NL.java,
5332 gnu/java/locale/LocaleInformation_nn_NO.java,
5333 gnu/java/locale/LocaleInformation_no_NO.java,
5334 gnu/java/locale/LocaleInformation_oc_FR.java,
5335 gnu/java/locale/LocaleInformation_pl_PL.java,
5336 gnu/java/locale/LocaleInformation_pt_BR.java,
5337 gnu/java/locale/LocaleInformation_pt_PT.java,
5338 gnu/java/locale/LocaleInformation_ro_RO.java,
5339 gnu/java/locale/LocaleInformation_ru_RU.java,
5340 gnu/java/locale/LocaleInformation_ru_UA.java,
5341 gnu/java/locale/LocaleInformation_se_NO.java,
5342 gnu/java/locale/LocaleInformation_sk_SK.java,
5343 gnu/java/locale/LocaleInformation_sl_SI.java,
5344 gnu/java/locale/LocaleInformation_sq_AL.java,
5345 gnu/java/locale/LocaleInformation_sr_YU.java,
5346 gnu/java/locale/LocaleInformation_sv_FI.java,
5347 gnu/java/locale/LocaleInformation_sv_SE.java,
5348 gnu/java/locale/LocaleInformation_ta_IN.java,
5349 gnu/java/locale/LocaleInformation_te_IN.java,
5350 gnu/java/locale/LocaleInformation_tg_TJ.java,
5351 gnu/java/locale/LocaleInformation_tl_PH.java,
5352 gnu/java/locale/LocaleInformation_tr_TR.java,
5353 gnu/java/locale/LocaleInformation_uk_UA.java,
5354 gnu/java/locale/LocaleInformation_ur_PK.java,
5355 gnu/java/locale/LocaleInformation_uz_UZ.java,
5356 gnu/java/locale/LocaleInformation_vi_VN.java,
5357 gnu/java/locale/LocaleInformation_yi_US.java,
5358 gnu/java/locale/LocaleInformation_zh_CN.java,
5359 gnu/java/locale/LocaleInformation_zh_HK.java,
5360 gnu/java/locale/LocaleInformation_zh_SG.java,
5361 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
5362 info; from Classpath.
5364 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
5365 isPaintPending): New methods.
5366 * gnu/awt/xlib/XFramePeer.java (getState, setState,
5367 setMaximizedBounds): New methods.
5368 (beginLayout, endLayout, isPaintPending): Likewise.
5369 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
5370 (requestFocus): Likewise.
5371 (isObscured): Likewise.
5372 (canDetermineObscurity): Likewise.
5373 (coalescePaintEvent): Likewise.
5374 (updateCursorImmediately): Likewise.
5375 (createVolatileImage): Likewise.
5376 (handlesWheelScrolling): Likewise.
5377 (createBuffers): Likewise.
5378 (getBackBuffer): Likewise.
5380 (destroyBuffers): Likewise.
5382 * Makefile.in: Rebuilt.
5383 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
5385 * gnu/java/awt/GLightweightPeer.java,
5386 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5387 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5388 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5389 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5390 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5391 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5392 java/awt/dnd/peer/DragSourceContextPeer.java,
5393 java/awt/dnd/peer/DropTargetContextPeer.java,
5394 java/awt/peer/ButtonPeer.java,
5395 java/awt/peer/CheckboxMenuItemPeer.java,
5396 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
5397 java/awt/peer/ComponentPeer.java,
5398 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
5399 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
5400 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
5401 java/awt/peer/MenuBarPeer.java,
5402 java/awt/peer/MenuComponentPeer.java,
5403 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
5404 java/awt/peer/PopupMenuPeer.java,
5405 java/awt/peer/ScrollPanePeer.java,
5406 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
5407 java/awt/peer/TextComponentPeer.java,
5408 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
5409 New versions from Classpath.
5410 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
5411 * java/awt/peer/RobotPeer.java: Likewise.
5413 2003-03-01 Mark Wielaard <mark@klomp.org>
5415 * java/io/ObjectInputStream.java: Reindent.
5416 * java/io/ObjectOutputStream.java: Likewise.
5418 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
5420 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
5421 jvalue for each argument. Simplify.
5422 * testsuite/libjava.jni/calls.c (docall),
5423 testsuite/libjava.jni/calls.java (longpb_f): check for argument
5426 2003-02-28 Mark Wielaard <mark@klomp.org>
5428 * Makefile.am (nat_source_files): Remove
5429 java/io/natObjectOutputStream.cc.
5430 * Makefile.in: Regenerated.
5431 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
5432 * java/io/ObjectStreamField.java (typename): New field.
5433 (ObjectStreamField(String, Class)): Initialize new field.
5434 (ObjectStreamField(String, String)): New Constructor.
5435 (getTypeCode): Use new field.
5436 (getTypeString): Use new field.
5437 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
5438 ObjectStreamExceptions. Remember and reset old BlockDataMode.
5439 Handle reading of Proxy classes. Never drain(), just write
5440 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
5441 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
5442 (flush): Call flush(), not just drain().
5443 (writeBoolean): Always use blockDataOutput.
5444 (writeByte): Likewise.
5445 (writeShort): Likewise.
5446 (writeChar): Likewise.
5447 (writeInt): Likewise.
5448 (writeLong): Likewise.
5449 (writeFloat): Likewise.
5450 (writeDouble): Likewise.
5451 (writeBytes): Likewise.
5452 (putfield (put(String,Object))): Throw IllegalArgumentException if
5453 field cannot be found.
5454 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
5455 (writeArraySizeAndElements): Write byte[] in one go.
5456 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
5457 set BlockDataMode to false.
5458 (annotateProxyClass): New method.
5459 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
5460 (getField): No longer native.
5461 (getMethod): Likewise.
5462 (setBlockDataMode): Always drain() on switch, return old mode.
5463 (static): New static code block.
5464 * java/io/natObjectOutputStream.cc: Removed.
5465 * java/io/ObjectInputStream.java (getField): No longer native.
5466 (getMethod): Likewise.
5467 (readObject): Remember and reset old BlockDataMode. Track whether
5468 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
5470 (defaultReadObject): Set BlockDataMode to false during readFields.
5471 (resolveClass): Create new SecurityManager if necessary.
5472 Use Class.forName() if null ClassLoader found.
5473 (read(byte[],int,int): Copy remaining bytes to data before calling
5475 (readFields): Set and reset BlockDataMode on call_read_method.
5476 Catch NoSuchFieldErrors.
5477 (setBlockDataMode): Return old mode.
5478 (static): New static code block.
5479 * java/io/natObjectInputStream.cc (getField): Removed.
5480 (getMethod): Likewise.
5482 2003-02-27 Michael Koch <konqueror@gmx.de>
5484 * java/beans/Beans.java,
5485 java/beans/FeatureDescriptor.java
5486 java/beans/PropertyEditorManager.java:
5487 Reformated to GNU style.
5489 2003-02-25 Michael Koch <konqueror@gmx.de>
5491 * gnu/java/nio/MappedByteFileBuffer.java,
5492 gnu/java/nio/natMappedByteFileBuffer.cc:
5493 New files, both are not compiled yet to get not noncompiling CVS.
5495 2003-02-24 Tom Tromey <tromey@redhat.com>
5497 * java/util/prefs/AbstractPreferences.java (isUserNode):
5500 2003-02-24 Tom Tromey <tromey@redhat.com>
5502 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
5504 * java/lang/Thread.java (resume): Deprecate.
5505 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
5508 2003-02-23 Tom Tromey <tromey@redhat.com>
5510 * Makefile.in: Rebuilt.
5511 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
5513 2003-02-23 Tom Tromey <tromey@redhat.com>
5515 * java/lang/natRuntime.cc (libraries_size, libraries_count,
5516 libraries): Removed.
5517 (add_library): Removed.
5518 (_load): Don't call add_library.
5519 (loadLibraryInternal): Likewise.
5521 (lookup_data): New struct.
5522 (find_symbol): New function.
5523 (_Jv_FindSymbolInExecutable): Use it.
5525 2002-02-21 Anthony Green <green@redhat.com>
5527 * java/lang/Thread.java (Thread): New constructor taking stack
5528 size parameter (ignored for now).
5529 * Many methods: Merged GNU Classpath documentation.
5531 * java/lang/Class.java (finalize): throws a Throwable.
5533 2003-02-21 Mark Wielaard <mark@klomp.org>
5535 * java/util/zip/ZipEntry.java (setComment): Don't check length when
5538 2003-02-21 Mark Wielaard <mark@klomp.org>
5540 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
5541 then 65535 chars throw IllegalArgumentException.
5543 2003-02-21 Mark Wielaard <mark@klomp.org>
5545 * java/util/zip/ZipFile.java (finalize): New method.
5547 2003-02-21 Michael Koch <konqueror@gmx.de>
5549 * gnu/java/nio/natSocketChannelImpl.cc:
5550 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
5551 <cato@df.lth.se> for pointing to it.
5553 2003-02-20 Raif S. Naffah <raif@fl.net.au>
5555 * java/math/BigInteger.java (euclidInv): Take result array as an
5556 argument. Updated all callers.
5557 (modInverse): Removed unused variables.
5559 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5561 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5563 * configure: Rebuilt.
5565 2003-02-19 Michael Koch <konqueror@gmx.de>
5567 * gnu/java/nio/natSocketChannelImpl.cc:
5568 Added support for platforms without network support.
5570 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5572 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
5573 after config.h. Use <> for consistency.
5574 * java/lang/natObject.cc: Likewise.
5575 * java/lang/natRuntime.cc: Likewise.
5576 * java/lang/natSystem.cc: Likewise.
5577 * java/util/natTimeZone.cc: Likewise.
5578 * win32.cc: Likewise.
5579 * include/posix.h (fcntl, socket, connect, close, bind, accept,
5580 listen, write, read): Undef to avoid interference from OS macros.
5582 2003-02-19 Michael Koch <konqueror@gmx.de>
5584 * gnu/java/nio/ByteBufferImpl.java
5585 (ByteBufferImpl): Renamed two variables.
5586 * gnu/java/nio/CharBufferImpl.java
5587 (CharBufferImpl): Renamed two variables.
5588 * gnu/java/nio/DoubleBufferImpl.java
5589 (DoubleBufferImpl): Renamed two variables.
5590 * gnu/java/nio/FloatBufferImpl.java
5591 (FloatBufferImpl): Renamed two variables.
5592 * gnu/java/nio/IntBufferImpl.java
5593 (IntBufferImpl): Renamed two variables.
5594 * gnu/java/nio/LongBufferImpl.java
5595 (LongBufferImpl): Renamed two variables.
5596 * gnu/java/nio/ShortBufferImpl.java
5597 (ShortBufferImpl): Renamed two variables.
5598 * java/nio/CharBuffer.java
5599 (wrap): Fixed arguments to CharBufferImpl constructor.
5600 (hasArray): Only not read-only buffers have backing arrays.
5601 (length): Documentation added.
5602 (subSequence): Documentation added.
5603 * java/nio/DoubleBuffer.java
5604 (hasArray): Only not read-only buffers have backing arrays.
5605 * java/nio/FloatBuffer.java
5606 (hasArray): Only not read-only buffers have backing arrays.
5607 * java/nio/IntBuffer.java
5608 (hasArray): Only not read-only buffers have backing arrays.
5609 * java/nio/LongBuffer.java
5610 (hasArray): Only not read-only buffers have backing arrays.
5611 * java/nio/ShortBuffer.java
5612 (hasArray): Only not read-only buffers have backing arrays.
5614 2003-02-19 Michael Koch <konqueror@gmx.de>
5616 * javax/accessibility/AccessibleContext.java
5617 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5619 2003-02-19 Michael Koch <konqueror@gmx.de>
5621 * java/awt/ScrollPaneAdjustable.java: Reformated.
5623 2003-02-19 Michael Koch <konqueror@gmx.de>
5625 * gnu/awt/j2d/Graphics2DImpl.java
5626 (getFontRenderContext): New method.
5627 (drawGlyphVector): New method.
5628 * java/awt/Graphics2D.java
5629 (getFontRenderContext): New abstract method.
5630 (drawGlyphVector): New abstract method.
5632 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
5634 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5637 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5638 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5639 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5640 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5641 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5642 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5643 (setFont, gtkSetFont): add.
5644 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5645 Propagate font to peer. (setFont): add FIXME comment.
5647 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5648 (gtkTextGetSize): fix height, width computation.
5650 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5651 Make X font name a bit less bogus.
5653 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5654 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5656 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5657 (processAdjustmentEvent): Adjust value.
5659 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5662 * java/awt/Component.java (setVisible, show, hide): Call show and
5663 hide methods in subclasses.
5664 (getPreferredSize): don't set prefSize before we have peer.
5666 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5667 Guess (0,0) if we don't have peer.
5670 2003-02-18 Michael Koch <konqueror@gmx.de>
5672 * java/nio/channels/FileChannel.java
5673 (toString): New implementation, added documentation.
5674 (map): Added exception documentation.
5675 (size): Added exception documentation.
5676 (write): New methods, documentation work.
5677 (read): New methods, documentation work.
5678 (implCloseChannel): Rewrote exception documentation.
5679 (force): Throws IOException, added documentation.
5680 (lock): New methods.
5681 (tryLock): New methods.
5682 (position): New methods.
5683 (transferTo): New method.
5684 (transferFrom): New method.
5685 (truncate): New method.
5686 * java/nio/channels/spi/SelectorProvider.java
5687 (provider): Implemented.
5689 (ordinary_java_source_files): Added the following files:
5690 gnu/java/nio/DatagramChannelImpl.java
5691 gnu/java/nio/FileChannelImpl.java
5692 gnu/java/nio/PipeImpl.java
5693 gnu/java/nio/SelectionKeyImpl.java
5694 gnu/java/nio/SelectorImpl.java
5695 gnu/java/nio/SelectorProviderImpl.java
5696 gnu/java/nio/ServerSocketChannelImpl.java
5697 gnu/java/nio/SocketChannelImpl.java
5698 java/nio/channels/FileLock.java
5699 (nat_java_source_files): Added the following files:
5700 gnu/java/nio/natFileChannelImpl.cc
5701 gnu/java/nio/natSelectorImpl.cc
5702 gnu/java/nio/natSocketChannelImpl.cc
5703 * Makefile.in: Regenerated.
5705 2003-02-17 Tom Tromey <tromey@redhat.com>
5707 * java/awt/image/ColorModel.java: Re-merged with Classpath.
5708 * java/awt/image/ImageFilter.java: Likewise.
5710 2003-02-17 Raif S. Naffah <raif@fl.net.au>
5712 * java/math/BigInteger.java (euclidInv): Return array of
5713 `BigInteger's. Changed all callers.
5715 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
5717 * java/util/Properties.java (store): Move the code formerly in
5718 list(), into this method.
5719 (list (PrintStream)): Just call list (PrintWriter) with a
5720 PrintWriter object constructed from the given PrintStream object.
5721 (list (PrintWriter)): Emulate the output of Properties.list()
5722 as found in JDK 1.3/1.4.
5724 2003-02-17 Michael Koch <konqueror@gmx.de>
5726 * java/net/DatagramSocket.java
5727 (connect): Merged with classpath.
5728 (disconnect): Merged documentation with classpath.
5729 (receice): Merged documentation with classpath.
5730 (send): Merged documentation with classpath.
5732 2003-02-17 Michael Koch <konqueror@gmx.de>
5734 * java/awt/dnd/DragSourceContext.java
5735 (addDragSourceListener): Added documentation.
5736 * java/awt/dnd/DragSourceDragEvent.java
5737 (serialVersionUID): New member variable.
5738 (getDropAction): Reformated.
5739 * java/awt/dnd/DragSourceDropEvent.java
5740 (serialVersionUID): New member variable.
5741 (dropSuccess): Renamed from success for serialization issues.
5742 * java/awt/dnd/DragSourceEvent.java
5743 (serialVersionUID): New member variable.
5744 * java/awt/dnd/DropTarget.java
5745 (serialVersionUID): New member variable.
5746 (DropTarget): Implemented, documentation reworked.
5747 (setComponent): Documentation added.
5748 (getComponent): Documentation added.
5749 (setDefaultActions): Documentation added.
5750 (getDefaultActions): Documentation added.
5751 (addDropTargetListener): Documentation added.
5752 * java/awt/dnd/DropTargetContext.java
5753 (DropTargetContext): Documentation added.
5754 (TransferableProxy.TransferableProxy): New method.
5755 (dropComplete): Fixed documentation.
5756 (getTransferable): Fixed documentation.
5757 (createTransferableProxy): Implemented.
5758 * java/awt/dnd/DropTargetDragEvent.java
5759 (DropTargetDragEvent): Documentation added.
5760 (serialVersionUID): New member variable.
5761 (DropTargetDragEvent): Throw exceptions, documentation added.
5762 (acceptDrag): Implemented.
5763 (getCurrentDataFlavors): Implemented.3yy
5764 (getCurrentDataFlavorsAsList): Implemented.
5765 (isDataFlavorSupported): Implemented.
5766 (rejectDrag): Implemented.
5767 * java/awt/dnd/DropTargetDropEvent.java
5768 (DropTargetDropEvent): Documentation added.
5769 (serialVersionUID): New member variable.
5770 (actions): Renamed from srcActions for serialization issues.
5771 (isLocalTx): Renamed from isLocalTx for serialization issues.
5772 (DropTargetDropEvent): New implementation, throw exceptions,
5773 documentation added.
5774 (getCurrentDataFlavors): Implemented.
5775 (getCurrentDataFlavorsAsList): Implemented.
5776 (isDataFlavorSupported): Implemented.
5777 (getSourceActions): Implemented.
5778 (getDropAction): Implemented.
5779 (getTransferable): Implemented.
5780 (acceptDrop): Implemented.
5781 (rejectDrop): Implemented.
5782 * java/awt/dnd/DropTargetListener.java
5783 (drop): Fixed documentation.
5784 * java/awt/dnd/MouseDragGestureRecognizer.java
5785 (MouseDragGestureRecognizer): Documentation added.
5787 2003-02-17 Michael Koch <konqueror@gmx.de>
5789 * java/awt/font/FontRenderContext.java,
5790 java/awt/font/ShapeGraphicAttribute.java,
5791 java/awt/font/MultipleMaster.java,
5792 java/awt/font/TransformAttribute.java,
5793 java/awt/font/GlyphJustificationInfo.java,
5794 java/awt/font/LineBreakMeasurer.java,
5795 java/awt/font/TextMeasurer.java,
5796 java/awt/font/TextLayout.java,
5797 java/awt/font/LineMetrics.java,
5798 java/awt/font/TextAttribute.java,
5799 java/awt/font/GlyphMetrics.java,
5800 java/awt/font/OpenType.java,
5801 java/awt/font/GlyphVector.java,
5802 java/awt/font/GraphicAttribute.java,
5803 java/awt/font/ImageGraphicAttribute.java,
5804 java/awt/font/NumericShaper.java: New files.
5806 (awt_java_source_files): Added the following files:
5807 java/awt/font/FontRenderContext.java
5808 java/awt/font/ShapeGraphicAttribute.java
5809 java/awt/font/MultipleMaster.java
5810 java/awt/font/TransformAttribute.java
5811 java/awt/font/GlyphJustificationInfo.java
5812 java/awt/font/LineBreakMeasurer.java
5813 java/awt/font/TextMeasurer.java
5814 java/awt/font/TextLayout.java
5815 java/awt/font/LineMetrics.java
5816 java/awt/font/TextAttribute.java
5817 java/awt/font/GlyphMetrics.java
5818 java/awt/font/OpenType.java
5819 java/awt/font/GlyphVector.java
5820 java/awt/font/GraphicAttribute.java
5821 java/awt/font/ImageGraphicAttribute.java
5822 java/awt/font/NumericShaper.java
5823 * Makefile.in: Regenerated.
5825 2003-02-17 Michael Koch <konqueror@gmx.de>
5827 * java/awt/print/Paper.java
5828 (Paper): Implements Cloneable.
5829 * java/awt/print/PrinterJob.java
5830 (setJobName): Return value must be void.
5831 (print): Throws PrinterException.
5833 2003-02-16 Tom Tromey <tromey@redhat.com>
5835 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5838 2003-02-15 Michael Koch <konqueror@gmx.de>
5840 * java/awt/datatransfer/DataFlavor.java
5841 (isRepresentationClassByteBuffer): Removed try-catch block.
5842 (isRepresentationClassCharBuffer): Removed try-catch block.
5843 (isRepresentationClassReader): Removed try-catch block.
5845 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5847 * java/nio/charset/Charset.java
5848 (isRegistered): Fixed method args and implementation.
5849 * java/nio/charset/CharsetEncoder.java
5850 (unmappableCharacterAction): New method.
5852 2003-02-15 Michael Koch <konqueror@gmx.de>
5854 * java/awt/CheckboxMenuItem.java
5855 (CheckBoxMenuItem): Dont implement Serializable.
5856 (getListeners): New method,
5857 (getItemListeners): New method.
5858 * java/awt/Choice.java
5859 (getListeners): New method,
5860 (getItemListeners): New method.
5861 * java/awt/Container.java
5862 (getListeners): Added exception documentation.
5863 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5864 (getFocusTraversalKeys): Added documentation.
5865 (areFocusTraversalKeysSet): Added documentation.
5866 (applyComponentOrientation): Added documentation.
5867 * java/awt/ContainerOrderFocusTraversalPolicy.java
5868 (implicitDownCycleTraversal): Renamed from downCycle for
5870 (ContainerOrderFocusTraversalPolicy): Added documentation.
5871 (accept): Reformated.
5872 * java/awt/Dialog.java
5873 (Dialog): Dont implement Serializable.
5874 (Dialog): Added documentation.
5875 * java/awt/Font.java
5876 (Font): Dont use absolute class name.
5877 * java/awt/Frame.java
5878 (Frame): Font implement Serializable.
5879 * java/awt/List.java
5880 (getListeners): New method,
5881 (getActionListeners): New method.
5882 (getItemListeners): New method.
5883 * java/awt/Menu.java
5884 (countItems): New deprecated method.
5885 * java/awt/Scrollbar.java
5886 (getListeners): New method,
5887 (getAdjustmentListeners): New method,
5888 * java/awt/TextComponent.java
5889 (getListeners): New method,
5890 (getTextListeners): New method,
5891 * java/awt/TextField.java
5892 (getListeners): New method,
5893 (getActionListeners): New method.
5894 * java/awt/Window.java
5895 (windowFocusListener): New member variable.
5896 (windowStateListener): New member variable.
5897 (getWindowFocusListeners): New method.
5898 (getWindowStateListeners): New method.
5899 (addWindowFocusListener): New method.
5900 (addWindowStateListener): New method.
5901 (removeWindowFocusListener): New method.
5902 (removeWindowStateListener): New method.
5903 * java/awt/datatransfer/DataFlavor.java
5904 (isRepresentationClassByteBuffer): New method.
5905 (isRepresentationClassCharBuffer): New method.
5906 (isRepresentationClassReader): New method.
5908 2003-02-14 Mark Wielaard <mark@klomp.org>
5910 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5911 zero when there is an exponent and the significant is zero.
5912 (divide): Always set scale to newScale even in special ZERO case.
5914 2003-02-14 Tom Tromey <tromey@redhat.com>
5916 * java/lang/System.java (properties): Use Properties.clone.
5917 (setProperties): Likewise.
5919 2003-02-14 Michael Koch <konqueror@gmx.de>
5921 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5922 * gnu/java/nio/ServerSocketChannelImpl.java
5923 (SocketAccept): Removed.
5924 (accept): Commented out use of SocketAccept.
5926 2003-02-13 Tom Tromey <tromey@redhat.com>
5928 * verify.cc (state::seen_subrs): New field.
5929 (state::state): Initialize it.
5930 (state::clean_subrs): New method.
5931 (state::~state): Call it.
5932 (state::copy): Copy subroutine list.
5933 (state::add_subr): New method.
5934 (state::merge): Only register a change if the current subroutine
5935 hasn't yet been noted.
5937 2003-02-13 Mark Wielaard <mark@klomp.org>
5939 * java/io/InputStreamReader.java (getEncoding): Return null when
5941 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5943 2003-02-13 Mark Wielaard <mark@klomp.org>
5945 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5948 2003-02-13 Mark Wielaard <mark@klomp.org>
5950 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5951 next byte cannot be buffered.
5953 2003-02-13 Michael Koch <konqueror@gmx.de>
5955 * java/awt/Label.java
5956 (Label): Don't implement Serializable directly.
5957 (addNotify): Fixed typo in documentation.
5958 * java/awt/List.java
5959 (List): Don't implement Serializable directly.
5960 * java/awt/PopupMenu.java
5961 (PopupMenu): Don't implement Serializable directly.
5962 * java/awt/ScrollPane.java
5963 (ScrollPane): Don't implement Serializable directly.
5964 * java/awt/Scrollbar.java
5965 (Scrollbar): Don't implement Serializable directly.
5966 * java/awt/TextArea.java
5967 (preferredSize): Fixed method arguments.
5968 * java/awt/TextField.java
5969 (TextField): Don't implement Serializable directly.
5970 * java/awt/color/ICC_ColorSpace.java
5971 (fromCIOXYZ): Documentation added.
5972 (getMinValue): Documentation added.
5973 (getMaxValue): Documentation added.
5974 * java/awt/datatransfer/DataFlavor.java
5975 (isMimeTypeEqual): May not be final.
5976 (clone): Throws CloneNotSupportedException.
5977 (getReaderForText): Don't throws UnsupportedEncodingException.
5979 2003-02-13 Michael Koch <konqueror@gmx.de>
5981 * gnu/java/awt/peer/gtk/GdkGraphics.java
5982 (drawString): New stubbed method.
5983 * java/awt/Graphics.java
5984 (drawString): New method.
5986 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5989 * java/security/SecureRandom.java (next): Avoid bias in results.
5991 2003-02-13 Michael <konqueror@gmx.de>
5993 * gnu/java/nio/FileChannelImpl.java
5994 (lengthInternal): Must be native.
5995 (size): Check if channel is already closed.
5996 (implCloseChannel): Reformated.
5997 (read): w was unused, removed it.
6000 (write): New method.
6001 (map): Check arguments.
6002 (force): Throws IOException, check if channel is closed.
6003 (transferTo): New method.
6004 (transferFrom): New method.
6006 (tryLock): New method.
6007 (position): New method.
6008 (truncate): New method.
6009 (nio_mmap_file): Uncommented.
6010 (nio_munmap_file): Uncommented.
6011 (nio_msync): Uncommented.
6012 * gnu/java/nio/natFileChannelImpl.cc: New file.
6014 2003-02-13 Michael Koch <konqueror@gmx.de>
6016 * java/nio/ByteBuffer.java
6017 (endian): New member variable.
6019 (equals): New method.
6020 (compareTo): New method.
6021 (order): New methods.
6022 (compact): New method.
6023 (isDirect): New method.
6024 (slice): New method.
6025 (duplicate): New method.
6026 (asReadOnlyBuffer): New method.
6027 (asCharBuffer): New method.
6028 (asDoubleBuffer): New method.
6029 (asFloatBuffer): New method.
6030 (asIntBuffer): New method.
6031 (asLongBuffer): New method.
6032 (asShortBuffer): New method.
6033 (get*): New methods.
6034 (put*): New methods.
6035 (toString): New method.
6036 * java/nio/CharBuffer.java
6037 (CharBuffer): Implement Comparable instead of Cloneable.
6038 (get): May not be final.
6039 (put): May not be final.
6041 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
6043 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
6044 lastIndexOf( ) instead of indexOf( ) to find the colon before
6045 the line number, because Win32 file names might contain a
6046 drive letter and a colon at the start of an absolute path.
6048 2003-02-13 Michael Koch <konqueror@gmx.de>
6050 * gnu/java/nio/natSocketChannelImpl.cc
6051 (SocketConnect): This is not implemented yet.
6052 (SocketBind): This is not implemented yet.
6054 2003-02-13 Michael Koch <konqueror@gmx.de>
6056 * gnu/java/nio/natByteBufferImpl.cc,
6057 gnu/java/nio/natCharBufferImpl.cc,
6058 gnu/java/nio/natDoubleBufferImpl.cc,
6059 gnu/java/nio/natFloatBufferImpl.cc,
6060 gnu/java/nio/natIntBufferImpl.cc,
6061 gnu/java/nio/natLongBufferImpl.cc,
6062 gnu/java/nio/natShortBufferImpl.cc:
6063 Added copyright and license.
6064 * java/nio/DoubleBuffer.java,
6065 java/nio/FloatBuffer.java,
6066 java/nio/IntBuffer.java,
6067 java/nio/LongBuffer.java,
6068 java/nio/ShortBuffer.java
6069 (array): Throw exceptions.
6070 (arrayOffset): Throw exceptions.
6072 2003-02-13 Michael Koch <konqueror@gmx.de>
6074 * gnu/java/util/prefs/FileBasedFactory.java,
6075 gnu/java/util/prefs/MemmoryBasedFactory.java,
6076 gnu/java/util/prefs/MemoryBasedPreferences.java,
6077 gnu/java/util/prefs/NodeReader.java,
6078 gnu/java/util/prefs/NodeWriter.java,
6079 java/util/prefs/AbstractPreferences.java,
6080 java/util/prefs/BackingStoreException.java,
6081 java/util/prefs/InvalidPreferencesFormatException.java,
6082 java/util/prefs/NodeChangeEvent.java,
6083 java/util/prefs/NodeChangeListener.java,
6084 java/util/prefs/PreferenceChangeEvent.java,
6085 java/util/prefs/PreferenceChangeListener.java,
6086 java/util/prefs/Preferences.java,
6087 java/util/prefs/PreferencesFactory.java:
6088 New files, all merged from classpath.
6090 (ordinary_java_source_files): Added the following files:
6091 gnu/java/util/prefs/FileBasedFactory.java,
6092 gnu/java/util/prefs/MemmoryBasedFactory.java,
6093 gnu/java/util/prefs/MemoryBasedPreferences.java,
6094 gnu/java/util/prefs/NodeReader.java,
6095 gnu/java/util/prefs/NodeWriter.java,
6096 (core_java_source_files): Added the following files:
6097 java/util/prefs/AbstractPreferences.java,
6098 java/util/prefs/BackingStoreException.java,
6099 java/util/prefs/InvalidPreferencesFormatException.java,
6100 java/util/prefs/NodeChangeEvent.java,
6101 java/util/prefs/NodeChangeListener.java,
6102 java/util/prefs/PreferenceChangeEvent.java,
6103 java/util/prefs/PreferenceChangeListener.java,
6104 java/util/prefs/Preferences.java,
6105 java/util/prefs/PreferencesFactory.java
6106 * Makefile.in: Regenerated.
6108 2003-02-13 Michael Koch <konqueror@gmx.de>
6110 * java/net/NetPermission.java
6111 (NetPermission): Make doucmentation match the method declaration.
6112 * java/net/NetworkInterface.java
6113 (equals): Reformated for GNU coding style.
6114 * java/net/ServerSocket.java: Merged with classpath.
6115 * java/net/Socket.java: Partly merged with classpath (Added some @since).
6116 * java/net/SocketImpl.java
6117 (localPort): Merged with classpath (initialize with -1).
6118 * java/net/SocketPermission.java: Merged with classpath (reindented).
6119 * java/net/URLDecoder.java: Merged with classpath (reindented).
6121 2003-02-13 Michael Koch <konqueror@gmx.de>
6123 * java/awt/GridBagConstraints.java
6124 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
6125 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
6126 * java/awt/KeyboardFocusManager.java
6127 (setGlobalCurrentFocusCycleRoot): Must be public.
6128 * java/awt/MenuComponent.java
6129 (MenuComponent): Must be public.
6130 * java/awt/Toolkit.java:
6131 Added some empty lines to make documentation more readable.
6132 (getFontPeer): Added @deprecated.
6133 (getColorModel): Added exception documentation.
6134 (getProperty): Fixed documentation.
6136 2003-02-12 Jeff Sturm <jsturm@one-point.com>
6138 * configure.host (alpha*-*): Default to -mieee.
6139 * configure.in (IEEESPEC): New.
6140 * libgcj.spec.in (jc1): Add IEEESPEC.
6141 * configure: Rebuild.
6143 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
6145 * include/win32.h: Include ws2tcpip.h instead of
6146 winsock.h to obtain definition of the socklen_t type.
6147 Remove IP_TOS definition - not needed with ws2tcpip.h
6148 (_Jv_connect): Correct slight formatting error.
6150 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
6152 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
6153 size of the arguments for a JNI function. For Win32,
6154 modify to search for all forms of possible exported
6155 names of an stdcall JNI function.
6156 (_Jv_JNIMethod::call): Modify to calculate the size
6157 of the arguments passed to a JNI function and pass
6158 it to _Jv_LookupJNIMethod.
6160 2003-02-12 Michael Koch <konqueror@gmx.de>
6162 * java/nio/channels/Channels.java: New file.
6164 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
6165 * Makefile.in: Regenerated.
6167 2003-02-12 Michael Koch <konqueror@gmx.de>
6169 * java/nio/ByteBuffer.java
6170 (allocate): Implemented.
6171 (wrap): Implemented.
6172 * java/nio/CharBuffer.java:
6173 Some documentation added and reworked.
6175 (allocate): Implemented.
6176 (wrap): Implemented.
6177 (array): Throw exceptions.
6178 (arrayOffset): Throw exceptions.
6179 (toString): Implemented.
6180 (length): Implemented.
6182 (charAt): Implemented.
6184 2003-02-11 John Leuner <jewel@debian.org>
6186 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
6187 reads from end of file.
6189 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
6191 * java/io/natFileDescriptorWin32.cc
6192 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
6193 returns with Win32 error code ERROR_BROKEN_PIPE.
6195 2003-02-11 Michael Koch <konqueror@gmx.de>
6198 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
6200 2003-02-11 Michael Koch <konqueror@gmx.de>
6202 * gnu/java/nio/ByteBufferImpl.java:
6203 Reformated and removed some code.
6204 (backing_buffer): Removed.
6205 (array_offset): Removed.
6206 (ro): Renamed to readOnly.
6207 (ByteBufferImpl): Use parent constructor, initialize readOnly.
6208 * gnu/java/nio/CharBufferImpl.java:
6209 Reformated and removed some code.
6210 (array_offset): Removed.
6211 (ro): Renamed to readOnly.
6212 (CharBufferImpl): Use parent constructor, initialize readOnly.
6214 (order): New method.
6215 * gnu/java/nio/DoubleBufferImpl.java:
6216 Reformated and removed some code.
6217 (array_offset): Removed.
6218 (ro): Renamed to readOnly.
6219 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
6221 (order): New method.
6222 * gnu/java/nio/FloatBufferImpl.java:
6223 Reformated and removed some code.
6224 (array_offset): Removed.
6225 (ro): Renamed to readOnly.
6226 (FloatBufferImpl): Use parent constructor, initialize readOnly.
6228 (order): New method.
6229 * gnu/java/nio/IntBufferImpl.java:
6230 Reformated and removed some code.
6231 (array_offset): Removed.
6232 (ro): Renamed to readOnly.
6233 (IntBufferImpl): Use parent constructor, initialize readOnly.
6235 (order): New method.
6236 * gnu/java/nio/LongBufferImpl.java:
6237 Reformated and removed some code.
6238 (array_offset): Removed.
6239 (ro): Renamed to readOnly.
6240 (LongBufferImpl): Use parent constructor, initialize readOnly.
6242 (order): New method.
6243 * gnu/java/nio/ShortBufferImpl.java:
6244 Reformated and removed some code.
6245 (array_offset): Removed.
6246 (ro): Renamed to readOnly.
6247 (ShortBufferImpl): Use parent constructor, initialize readOnly.
6249 (order): New method.
6251 (ordinary_java_source_files): Added the following files:
6252 gnu/java/nio/ByteBufferImpl.java
6253 gnu/java/nio/CharBufferImpl.java
6254 gnu/java/nio/DoubleBufferImpl.java
6255 gnu/java/nio/FloatBufferImpl.java
6256 gnu/java/nio/IntBufferImpl.java
6257 gnu/java/nio/LongBufferImpl.java
6258 gnu/java/nio/ShortBufferImpl.java
6259 java/nio/DoubleBuffer.java
6260 java/nio/FloatBuffer.java
6261 java/nio/IntBuffer.java
6262 java/nio/LongBuffer.java
6263 java/nio/ShortBuffer.java
6264 (nat_source_files): Added the following files:
6265 gnu/java/nio/natByteBufferImpl.cc
6266 gnu/java/nio/natCharBufferImpl.cc
6267 gnu/java/nio/natDoubleBufferImpl.cc
6268 gnu/java/nio/natFloatBufferImpl.cc
6269 gnu/java/nio/natIntBufferImpl.cc
6270 gnu/java/nio/natLongBufferImpl.cc
6271 gnu/java/nio/natShortBufferImpl.cc
6272 * Makefile.in: Regenerated.
6274 2003-02-11 Michael Koch <konqueror@gmx.de>
6276 * gnu/java/nio/natCharBufferImpl.cc
6277 (nio_cast): Removed.
6278 (nio_put_*): Removed.
6279 (nio_get_*): Removed.
6280 * gnu/java/nio/natDoubleBufferImpl.cc
6281 (nio_cast): Removed.
6282 (nio_put_*): Removed.
6283 (nio_get_*): Removed.
6284 * gnu/java/nio/natFloatBufferImpl.cc
6285 (nio_cast): Removed.
6286 (nio_put_*): Removed.
6287 (nio_get_*): Removed.
6288 * gnu/java/nio/natIntBufferImpl.cc
6289 (nio_cast): Removed.
6290 (nio_put_*): Removed.
6291 (nio_get_*): Removed.
6292 * gnu/java/nio/natLongBufferImpl.cc
6293 (nio_cast): Removed.
6294 (nio_put_*): Removed.
6295 (nio_get_*): Removed.
6296 * gnu/java/nio/natShortBufferImpl.cc
6297 (nio_cast): Removed.
6298 (nio_put_*): Removed.
6299 (nio_get_*): Removed.
6300 * gnu/java/nio/SelectorProviderImpl.java
6301 (openDatagramChannel): Throws IOException.
6302 (openPipe): Throws IOException.
6303 (openSelector): Throws IOException.
6304 (openServerSocketChannel): Throws IOException.
6305 (openSocketChannel): Throws IOException.
6306 * gnu/java/nio/ServerSocketChannelImpl.java
6307 (ServerSocketChannelImpl): Throws IOException.
6308 (implCloseSelectableChannel): Throws IOException.
6309 (implConfigureBlocking): Throws IOException.
6310 * java/nio/ByteBuffer.java
6311 (readOnly): Removed.
6312 (hasArray): Use isReadOnly() instead of readOnly.
6313 (array): Use isReadOnly() instead of readOnly.
6314 (arrayOffset): Use isReadOnly() instead of readOnly.
6315 * java/nio/CharBuffer.java
6316 (CharBuffer): Implements Cloneable and CharSequence.
6318 2003-02-11 Michael Koch <konqueror@gmx.de>
6320 * java/nio/DoubleBuffer.java
6321 (DoubleBuffer): Implements Comparable.
6323 (array_offset): New member variable.
6324 (DoubleBuffer): New constuctor.
6325 (get): May not be final.
6326 (put): May not be final.
6327 (arrayOffset): Implemented.
6328 (order): Made abstract.
6330 (as*Buffer): Removed.
6333 * java/nio/FloatBuffer.java
6334 (FloatBuffer): Implements Comparable.
6336 (array_offset): New member variable.
6337 (FloatBuffer): New constuctor.
6338 (get): May not be final.
6339 (put): May not be final.
6340 (arrayOffset): Implemented.
6341 (order): Made abstract.
6343 (as*Buffer): Removed.
6346 * java/nio/IntBuffer.java
6347 (IntBuffer): Implements Comparable.
6349 (array_offset): New member variable.
6350 (IntBuffer): New constuctor.
6351 (get): May not be final.
6352 (put): May not be final.
6353 (arrayOffset): Implemented.
6354 (order): Made abstract.
6356 (as*Buffer): Removed.
6359 * java/nio/LongBuffer.java
6360 (LongBuffer): Implements Comparable.
6362 (array_offset): New member variable.
6363 (LongBuffer): New constuctor.
6364 (get): May not be final.
6365 (put): May not be final.
6366 (arrayOffset): Implemented.
6367 (order): Made abstract.
6369 (as*Buffer): Removed.
6372 * java/nio/ShortBuffer.java
6373 (ShortBuffer): Implements Comparable.
6375 (array_offset): New member variable.
6376 (ShortBuffer): New constuctor.
6377 (get): May not be final.
6378 (put): May not be final.
6379 (arrayOffset): Implemented.
6380 (order): Made abstract.
6382 (as*Buffer): Removed.
6386 2003-02-11 Michael Koch <konqueror@gmx.de>
6388 * java/nio/channels/SelectionKey.java
6389 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
6392 2003-02-11 Michael Koch <konqueror@gmx.de>
6394 * java/nio/channels/DatagramChannel.java
6395 (write): Throws IOException.
6396 (connect): Throws IOException.
6397 (disconnect): Throws IOException.
6398 (read): Throws IOException.
6399 (receive): Throws IOException.
6400 (send): Throws IOException.
6401 * java/nio/channels/Pipe.java
6402 (open): Throws IOException.
6403 * java/nio/channels/SelectableChannel.java
6404 (configureBlocking): Throws IOException.
6405 * java/nio/channels/ServerSocketChannel.java
6406 (accept): Throws IOException.
6407 * java/nio/channels/SocketChannel.java
6408 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
6409 GatheringByteChannel.
6410 (read): Throws IOException.
6411 (write): Throws IOException.
6412 (finishConnect): Throws IOException.
6413 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6414 (end): Throws AsynchronousCloseException.
6415 * java/nio/channels/spi/AbstractSelectableChannel.java
6416 (configureBlocking): Throws IOException.
6417 (implCloseChannel): Throws IOException.
6418 (implCloseSelectableChannel): Throws IOException.
6419 (implConfigureBlocking): Throws IOException.
6420 * java/nio/channels/spi/SelectorProvider.java
6421 (openDatagramChannel): Throws IOException.
6422 (openPipe): Throws IOException.
6423 (openSelector): Throws IOException.
6424 (openServerSocketChannel): Throws IOException.
6425 (openSocketChannel): Throws IOException.
6427 2003-02-11 Michael Koch <konqueror@gmx.de>
6429 * gnu/java/nio/FileLockImpl.java,
6430 java/nio/channels/FileLock.java: New files.
6432 2003-02-11 Michael Koch <konqueror@gmx.de>
6434 * java/nio/charset/IllegalCharsetNameException.java
6435 (serialVersionUID): New member variable.
6436 (charsetName): New member variable.
6437 (IllegalCharsetException): New implementation.
6438 (getCharsetName): New implementation.
6439 * java/nio/charset/UnsupportedCharsetException.java
6440 (serialVersionUID): New member variable.
6441 (charsetName): New member variable.
6442 (UnsupportedCharsetException): New implementation.
6443 (getCharsetName): New implementation.
6445 2003-02-10 Tom Tromey <tromey@redhat.com>
6447 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
6448 (ex): Renamed from sqlException.
6450 2003-02-10 Raif S. Naffah <raif@fl.net.au>
6452 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
6453 method used to ensure seeding has occurred and that a specific
6454 seed can be set and used.
6456 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
6458 * java/lang/Win32Process.java (destroy): Declare as native.
6459 (hasExited): New native method.
6460 (exitValue): Define.
6461 (getErrorStream): Likewise.
6462 (getInputStream): Likewise.
6463 (getOutputStream): Likewise.
6464 (waitFor): Declare as native.
6465 (startProcess): New native method.
6466 (cleanup): Likewise.
6467 (ConcreteProcess): Define.
6468 (outputStream, inputStream, errorStream): New members.
6469 (procHandle, exitCode): Likewise.
6471 * java/lang/natWin32Process.cc
6472 (java::lang::ConcreteProcess::cleanup): Define.
6473 (java::lang::ConcreteProcess::destroy): Likewise.
6474 (java::lang::ConcreteProcess::hasExited): Likewise.
6475 (java::lang::ConcreteProcess::waitFor): Likewise.
6476 (new_string): Likewise.
6477 (java::lang::ConcreteProcess::startProcess): Likewise.
6479 2003-02-10 Raif S. Naffah <raif@fl.net.au>
6481 * java/math/BigInteger.java:
6482 Updated notice to include years 2002 and 3.
6483 Added 2 private (int) arrays with values from the HAC (Handbook of
6484 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
6485 and t[] that contains nbr. of tests --used in isProbablePrime().
6487 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
6489 * java/math/BigInteger.java (make(int[],int), add(int,int),
6490 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
6491 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
6492 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
6495 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
6496 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
6497 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
6498 BIs and returns void.
6499 (modInverse(BI)): Use new signatures of euclidInv().
6501 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
6502 static small primes instead of remainder().
6503 Use pre-computed max nbr of trials based on bitlength of BI to test.
6504 Use pre-computed small primes for the trial tests instead of random
6507 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
6510 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
6511 invoacation of MPN.chars_per_word(). not used.
6513 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
6514 local var and used where needed.
6516 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
6517 Combined declaration with initialisation of locals.
6520 * java/math/BigInteger.java: Style changes
6521 (pow(int)): Removed 'else' keyword.
6522 (toString(int)): idem.
6523 (doubleValue()): idem.
6524 (bitLength()): idem.
6525 (equals(Object)): Use static methods name in same class w/o prepending
6527 (doubleValue()): idem.
6528 (setNegative(BI)): idem.
6530 (and(BI,int)): idem.
6533 (byteArrayToIntArray()): Removed casting to (int). this is
6535 (canonicalize()): idem.
6536 (alloc(int)): Always instantiate a new BI.
6538 2003-02-10 Tom Tromey <tromey@redhat.com>
6540 * java/sql/Timestamp.java (compareTo(Object)): New method.
6541 (compareTo(Timestamp)): Likewise.
6542 (serialVersionUID): Updated.
6544 2003-02-07 Mark Wielaard <mark@klomp.org>
6546 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
6547 when verify is true.
6548 (JarFile(File, boolean)): Likewise.
6549 (manifestRead): Set manifestRead field correctly.
6551 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6553 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
6554 tests; see patch #1016 on Savannah.
6556 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6558 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
6559 (toString): do not return Strings starting with . and - erroneously.
6560 Improves Mauve results to 12 of 600 instead of 16 of 338 on
6563 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6565 * java/beans/PropertyDescriptor.java
6566 (PropertyDescriptor(String, Class)): Sanity check getter and setter
6568 (PropertyDescriptor(String, Class, String, String)): Likewise.
6569 (PropertyDescriptor(String, Method, Method): Factor out getter and
6570 setter method sanity checks into new method.
6571 (findMethods): Don't do parameter sanity checking of get method here.
6572 (checkMethods): New method.
6574 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6576 * java/beans/PropertyDescriptor.java: Reformat.
6578 2003-02-04 Tom Tromey <tromey@redhat.com>
6580 * java/io/PipedOutputStream.java (flush): Declare as throwing
6583 * java/io/PipedWriter.java (close): Declare as throwing
6585 * java/io/StringWriter.java (close): Declare as throwing
6588 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6590 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
6591 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
6592 could also have been exported as "JNI_OnLoad@8" (MinGW) or
6593 "_JNI_OnLoad@8" (MSVC).
6595 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6597 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6598 convention on Win32 to invoke native JNI methods.
6600 2003-02-03 Andrew Haley <aph@redhat.com>
6602 * configure.host (x86_64): Enable interpreter.
6604 2003-02-03 Andrew Haley <aph@redhat.com>
6606 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6607 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6608 * configure.in (BACKTRACESPEC): New.
6609 * configure: Regenerate.
6611 2003-02-02 Tom Tromey <tromey@redhat.com>
6613 * configure: Rebuilt.
6614 * configure.in (TOOLKIT) [xlib]: Set correctly.
6616 * Makefile.in: Rebuilt.
6617 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6620 2003-01-31 Mark WIelaard <mark@klomp.org>
6622 * Makefile.in: Rebuilt.
6623 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6625 2003-01-31 Tom Tromey <tromey@redhat.com>
6627 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6628 cast to element type.
6629 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6630 (_Jv_JNI_GetObjectArrayElement): Likewise.
6632 * Makefile.in: Rebuilt.
6633 * Makefile.am (cond_x_ltlibrary): Renamed library to
6634 lib-gnu-awt-xlib.la.
6635 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6636 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6637 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6638 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6639 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6640 (lib_gnu_awt_xlib_la_LINK): Likewise.
6641 (install-exec-hook): Removed.
6642 (lib-gnu-awt-xlib.la): Renamed.
6644 2003-01-31 Tom Tromey <tromey@redhat.com>
6646 * aclocal.m4, configure, include/config.h.in: Rebuilt.
6647 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6648 aclocal.m4 and lost in some merge.
6650 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6651 Don't try to find graphics configuration.
6652 * java/awt/Toolkit.java (default_toolkit_name): Use new
6653 Configuration entry.
6654 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6656 * configure: Rebuilt.
6657 * configure.in (TOOLKIT): New subst.
6658 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6659 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
6660 directory. Make output directories for .c files.
6661 * Makefile.in: Rebuilt.
6662 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6663 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6664 (all_java_source_files): Added new sources.
6665 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6666 (gtk_c_files): New macro.
6667 (gtk_c_source_files): New macro.
6668 (cond_gtk_ltlibrary): New macro.
6669 ($(gtk_c_files)): New target.
6670 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6671 (gtk_awt_peer_sources): New macro.
6672 (gtk_c_headers): New macro.
6673 ($(gtk_c_headers)): New target.
6674 (ACLOCAL_AMFLAGS): New macro.
6675 * gtk.m4, glib.m4, libart.m4: New files.
6676 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6677 gnu/java/awt/peer/gtk/GdkGraphics.java,
6678 gnu/java/awt/peer/gtk/GtkArg.java,
6679 gnu/java/awt/peer/gtk/GtkArgList.java,
6680 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6681 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6682 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6683 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6684 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6685 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6686 gnu/java/awt/peer/gtk/GtkClipboard.java,
6687 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6688 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6689 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6690 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6691 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6692 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6693 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6694 gnu/java/awt/peer/gtk/GtkImage.java,
6695 gnu/java/awt/peer/gtk/GtkImagePainter.java,
6696 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6697 gnu/java/awt/peer/gtk/GtkListPeer.java,
6698 gnu/java/awt/peer/gtk/GtkMainThread.java,
6699 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6700 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6701 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6702 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6703 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6704 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6705 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6706 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6707 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6708 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6709 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6710 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6711 gnu/java/awt/peer/gtk/GtkToolkit.java,
6712 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6713 gnu/java/awt/peer/gtk/TestAWT.java,
6714 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6716 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6717 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6718 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6719 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6720 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6721 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6722 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6723 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6724 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6725 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6726 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6727 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6728 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6729 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6730 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6731 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6732 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6733 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6734 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6735 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6736 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6737 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6738 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6739 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6740 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6741 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6742 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6743 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6744 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6745 jni/classpath/native_state.c, jni/classpath/native_state.h,
6746 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6748 2003-01-31 Julian Dolby <dolby@us.ibm.com>
6750 * java/util/Properties.java (load): Ignore backslash before EOF.
6752 2003-01-30 Jeff Sturm <jsturm@one-point.com>
6754 * java/lang/natClass.cc (initializeClass): Check tables when
6755 (state == JV_STATE_IN_PROGRESS).
6756 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6757 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6758 interpreted classes.
6759 (linkClass0): Use _Jv_WaitForState.
6761 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
6763 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6764 object when finished.
6766 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
6768 * libjava/configure.host: Disable can_unwind_signal on darwin.
6770 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
6773 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6774 additionally containing id of the owner thread as well as
6775 the number of nested times the thread has acquired the mutex.
6776 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6777 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6778 (_Jv_MutexUnlock): Check if really the owner thread, reset
6779 owner thread id to 0 before leaving, if leaving for the last
6781 (_Jv_MutexLock): Set owner thread id in the mutex and increment
6783 (_Jv_ThreadYield): Yield using a call to Sleep(0).
6784 * win32-threads.cc (_Jv_CondWait): Check if really owner of
6786 Pass handle of the broadcast event, instead of a pointer to it
6787 in Win32 ResetEvent( ) call.
6788 Remove incorrect return values.
6789 (_Jv_CondDestroy): Close both event handles and delete
6791 (_Jv_CondNotify): Check if really the owner thread.
6792 (_Jv_CondNotifyAll): Check if really the owner thread.
6793 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6794 (really_start): Use SetEvent( ) to signal daemon_cond.
6795 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6796 WaitForSingleObject( ) instead to wait for daemon_cond to be
6799 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6801 * configure.in: Specifically define HAVE_BACKTRACE if building
6803 * include/win32.h: Remove HAVE_BACKTRACE definition.
6804 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6805 * configure: Rebuilt.
6807 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6809 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6810 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6811 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6812 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6813 * Makefile.in, configure: Rebuilt.
6815 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6818 * java/io/natFileWin32.cc (performList): Append only "*.*"
6819 if the canonical file path already has a "\" at the end.
6821 2003-01-24 Tom Tromey <tromey@redhat.com>
6823 * defineclass.cc (handleMethodsEnd): Precompute code for static
6825 (handleCodeAttribute): Likewise.
6826 * resolve.cc (ncode): Use run_class for unsynchronized static
6828 * include/java-interp.h (class _Jv_InterpMethod): Declare
6830 * interpret.cc (run_synch_class): Initialize class.
6831 (run) [insn_invokestatic]: Don't initialize class.
6832 [insn_anewarray]: Likewise.
6833 [insn_multianewarray]: Likewise.
6834 (run_class): New function.
6836 2003-01-24 Tom Tromey <tromey@redhat.com>
6838 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6841 2003-01-22 Andrew Haley <aph@redhat.com>
6843 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6844 * configure.host (CHECKREFSPEC): Define for x86_64.
6846 2003-01-21 Tom Tromey <tromey@redhat.com>
6848 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6851 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6853 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6854 looking at any characters.
6855 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6857 (isAbsolute): Check path's length as well.
6859 2003-01-17 Mark Wielaard <mark@klomp.org>
6861 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6862 (nat_source_files): Add natVMObjectStreamClass.cc.
6863 * Makefile.in: Regenerated.
6864 * gcj/javaprims.h (namespace java): Regenerated.
6865 * java/io/ObjectStreamClass.java (getClassUID): Call
6866 VMObjectStreamClass.hasClassInitializer().
6867 (hasClassInitializer): Removed.
6868 * java/io/VMObjectStreamClass.java: New class.
6869 * java/io/natVMObjectStreamClass.cc: New file.
6870 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6872 2003-01-16 Mark Wielaard <mark@klomp.org>
6874 * java/net/SocketImpl.java (toString): Don't explicitly call
6875 toString() on possible null address.
6877 2003-01-16 Michael Koch <konqueror@gmx.de>
6879 * java/net/MulticastSocket.java
6880 (setInterface): Reindented.
6882 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6884 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6885 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6886 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6887 translateY arguments. Implement.
6888 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6889 down translation arguments.
6890 (drawPolyline, drawPolygon): Fix incorrect tests.
6891 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6892 translateX and translateY arguments.
6894 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6896 * Makefile.in: Rebuilt.
6897 * Makefile.am (xlib_includes): New macro.
6900 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6902 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6903 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6904 16-bit display mode.
6906 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6908 * java/awt/CardLayout.java (show): Rewrote.
6909 (gotoComponent): Removed `target' argument. Simplified code.
6910 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6911 Changed all callers.
6914 2003-01-14 Michael Koch <konqueror@gmx.de>
6916 * java/net/InetSocketAddress.java
6917 (serialVersionUID): New member variable.
6918 * java/net/NetPermission.java
6919 (NetPermission): Dont implement java.io.Serialization directly.
6920 * java/net/SocketAddress.java:
6921 (serialVersionUID): Documentation added.
6923 2003-01-14 Michael Koch <konqueror@gmx.de>
6925 * java/awt/Label.java
6926 (Label): Implements javax.accessibility.Accessible;
6927 * java/awt/List.java
6928 (List): Implements javax.accessibility.Accessible;
6929 * java/awt/ScrollPane.java
6930 (ScrollPane): Implements javax.accessibility.Accessible;
6931 * java/awt/Scrollbar.java
6932 (Scrollbar): Implements javax.accessibility.Accessible;
6933 * java/awt/TextComponent.java
6934 (setCaretPosition): Throw exception, documentation added.
6935 * java/awt/Toolkit.java:
6936 Added some newlines in method documentations.
6937 (createButton): Exception documentation added.
6938 (createTextField): Exception documentation added.
6939 (createLabel): Exception documentation added.
6940 (createList): Exception documentation added.
6941 (createCheckbox): Exception documentation added.
6942 (createScrollbar): Exception documentation added.
6943 (createScrollPane): Exception documentation added.
6944 (createTextArea): Exception documentation added.
6945 (createChoice): Exception documentation added.
6946 (createFrame): Exception documentation added.
6947 (createWindow): Exception documentation added.
6948 (createDialog): Exception documentation added.
6949 (createMenuBar): Exception documentation added.
6950 (createMenu): Exception documentation added.
6951 (createMenuItem): Exception documentation added.
6952 (createFileDialog): Exception documentation added.
6953 (createCheckboxMenuItem): Exception documentation added.
6954 (loadSystemColors): Exception documentation added.
6955 (setDynamicLayout): Exception documentation added.
6956 (isDynamicLayoutSet): Exception documentation added.
6957 (isDynamicLayoutActive): Exception documentation added.
6958 (getScreenSize): Exception documentation added.
6959 (getScreenResolution): Exception documentation added.
6960 (getScreenInsets): Exception documentation added.
6961 (getColorModel): Exception documentation added.
6962 (getSystemClipboard): Exception documentation added.
6963 (getSystemSelection): Exception documentation added.
6964 (getMenuShortcutKeyMask): Exception documentation added.
6965 (getSystemEventQueue): Exception documentation added.
6966 * java/awt/Window.java:
6967 Reindented some code.
6968 (Window): Centralized implementation, documentation added.
6969 (finalize): Documentation added.
6970 (hide): Fixed typo in comment.
6971 (getWindowListeners): Documentation added.
6972 * java/awt/color/ColorSpace.java
6973 (toRGB): Documentation added.
6974 * java/awt/color/ICC_ColorSpace.java
6975 (ICC_ColorSpace): Documentation added.
6976 (toRGB): Throw exception, documentation added.
6977 (fromRGB): Throw exception, documentation added.
6978 (toCIEXYZ): Documentation added.
6979 (fromCIEXYZ): Documentation added.
6980 (getMinValue): Documentation added.
6981 (getMaxValue): Documentation added.
6982 * java/awt/geom/Dimension2D.java
6983 (clone): Documentation added.
6984 * java/awt/geom/GeneralPath.java
6985 (clone): Documentation added.
6986 * java/awt/geom/Line2D.java
6987 (clone): Documentation added.
6988 * java/awt/geom/QuadCurve2D.java
6989 (clone): Documentation added.
6990 * java/awt/image/ColorModel.java
6991 (ColorModel): Throw exception, documentation added.
6992 * java/awt/image/ImageFilter.java
6993 (clone): Doesnt throw CloneNotSupportedException.
6995 2003-01-14 Andrew Haley <aph@redhat.com>
6997 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
7000 2003-01-10 Andrew Haley <aph@redhat.com>
7002 * include/dwarf2-signal.h: Remove x86_64.
7003 * configure.host (x86_64 DIVIDESPEC): Remove.
7004 * include/x86_64-signal.h: New file.
7005 * configure.in: Regenerate.
7007 2003-01-10 Michael Koch <konqueror@gmx.de>
7009 * java/net/DatagramSocket.java
7010 (ch): Description added.
7011 (remotePort): Initialize with -1.
7012 (connect): Doesnt throws SocketException.
7013 * java/net/MulticastSocket.java
7014 (setInterface): Merge with Classpath.
7015 * java/net/ServerSocket.java
7016 (closed): New member variable.
7017 (bind): Check if socket is closed.
7018 (close): Close an associated channel too, set new value to closed.
7019 (isBound): Reindented.
7020 (isClosed): Implemented.
7021 * java/net/Socket.java
7022 (closed): New member variable.
7023 (bind): Check if socket is closed.
7024 (connect): Check if socket is closed.
7025 (close): Close an associated channel too, set new value to closed.
7026 (isClosed): Implemented.
7028 2003-01-10 Michael Koch <konqueror@gmx.de>
7030 * java/awt/DisplayMode.java
7031 (equals): Fixed argument type and implementation.
7033 2003-01-07 Tom Tromey <tromey@redhat.com>
7035 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
7036 JV_HASH_SYNCHRONIZATION.
7037 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
7038 JV_HASH_SYNCHRONIZATION.
7040 2003-01-07 Michael Koch <konqueror@gmx.de>
7042 * java/net/DatagramSocket.java:
7043 Added classpath license info.
7044 (DatagramSocket): Merged description with classpath.
7045 (close): Merged description with classpath.
7046 (getChannel): Merged description with classpath.
7047 (getInetAddress): Merged description with classpath.
7048 (getPort): Merged description with classpath.
7049 (getLocalAddress): Merged description with classpath.
7050 (getLocalPort): Merged description with classpath.
7051 (getSoTimeout): Merged description with classpath.
7052 (setSoTimeout): Merged description with classpath.
7053 (getSendBufferSize): Merged description with classpath.
7054 (setSendBufferSize): Merged description with classpath.
7055 (getReceiveBufferSize): Merged description with classpath.
7056 (setReceiveBufferSize): Merged description with classpath.
7058 2003-01-04 Tom Tromey <tromey@redhat.com>
7060 * java/awt/List.java: Merged with Classpath.
7062 2003-01-03 Mark Wielaard <mark@klomp.org>
7064 * java/io/FileDescriptor.java (position): New private field.
7065 * java/io/natFileDescriptorPosix.cc (write): Up position.
7066 (setLength): Use and set position.
7067 (seek): Set position.
7068 (getFilePointer): Return position.
7069 (read): Up position.
7071 2003-01-03 Mark Wielaard <mark@klomp.org>
7073 Merge with Classpath:
7074 * java/io/ObjectStreamClass.java (lookup): Split method and call
7075 lookupForClassObject().
7076 (lookupForClassObject): New method.
7077 (isProxyClass): New field.
7078 (setClass): Set isProxyClass, add object to classLookupTable, set
7079 superClass and calculateOffsets.
7080 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
7081 and not a proxy class.
7082 (setFields): Set accessible true for serialPersistentFields.
7083 (getClassUID): Same for suid. And check if suid is of type long.
7084 (hasClassInitializer): Don't throw NoSuchMethodError.
7086 2003-01-03 Mark Wielaard <mark@klomp.org>
7088 * java/io/FileInputStream.java (finalize): Don't explicitly
7089 finalize FileDescriptor.
7091 2003-01-03 Jeff Sturm <jsturm@one-point.com>
7093 * configure.host (sparc*-*): Enable bytecode interpreter.
7095 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
7097 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
7098 Don't throw RemoteException.
7099 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
7100 throw RemoteException.
7102 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7104 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
7105 proxyHost): New static fields.
7106 (<clinit>): Initialize new fields.
7107 (connect): Use proxy if necessary.
7108 (usingProxy): Implement.
7110 2003-01-03 Eric Blake <ebb9@email.byu.edu>
7112 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
7113 (TreeIterator.remove): Prefer IllegalStateException over
7114 ConcurrentModificationException, to match Sun.
7116 2002-12-22 Anthony Green <green@redhat.com>
7118 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
7120 2003-01-02 Mark Wielaard <mark@klomp.org>
7122 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
7124 (HTTP_USE_PROXY): Add field.
7125 (getResponseVals): Only set responseCode when not yet explicitly
7128 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
7129 Mark Wielaard <mark@klomp.org>
7131 * java/util/zip/ZipFile.java (entries): Now HashMap.
7132 (readLeShort(DataInput, byte[])): Read from given byte array.
7133 (readLeInt(DataInput, byte[]): Likewise.
7134 (readLeShort(byte[] b, int off)): New method.
7135 (readLeInt(byte[] b, int off)): Likewise.
7136 (readEntries): Use byte arrays to read info in bigger chunks.
7137 (getEntries): Return HashMap.
7138 (getEntry): Use HashMap.
7139 (locBuf): New private field.
7140 (checkLocalHeader): Use locBuf to read info in one chunk.
7141 (getInputStream): Use entries HashMap, wrap PartialInputStream
7142 in BufferedInputStream.
7143 (ZipEntryEnumeration): Use HashMap and Interator.
7145 2003-01-02 Mark Wielaard <mark@klomp.org>
7146 Jeroen Frijters <jeroen@sumatra.nl>
7148 * java/net/URLClassLoader.java (Resource.getCodeSource):
7149 Fix check certs == null.
7150 (getCanonicalFileURL): Removed method.
7151 (JarURLLoader): Don't call removed method.
7152 (FileURLLoader): Likewise.
7153 (FileURLLoader.getResource): Don't canonicalize file name.
7155 2003-01-01 Tom Tromey <tromey@redhat.com>
7157 * Makefile.in: Rebuilt.
7158 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
7159 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
7160 java/awt/BufferCapabilities.java, java/awt/Button.java,
7161 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
7162 java/awt/Container.java, java/awt/Cursor.java,
7163 java/awt/EventQueue.java, java/awt/FileDialog.java,
7164 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
7165 java/awt/MenuBar.java, java/awt/MenuComponent.java,
7166 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
7167 java/awt/Scrollbar.java, java/awt/TextArea.java,
7168 java/awt/TextField.java, java/awt/color/CMMException.java,
7169 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
7170 java/awt/color/ProfileDataException.java,
7171 java/awt/datatransfer/Clipboard.java,
7172 java/awt/datatransfer/DataFlavor.java,
7173 java/awt/datatransfer/FlavorMap.java,
7174 java/awt/datatransfer/SystemFlavorMap.java,
7175 java/awt/dnd/DragGestureEvent.java,
7176 java/awt/dnd/DragGestureRecognizer.java,
7177 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
7178 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
7179 java/awt/im/InputMethodHighlight.java,
7180 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
7181 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
7183 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
7184 `op' to BufferedImageOp.
7186 2002-12-31 Tom Tromey <tromey@redhat.com>
7188 Fix for PR libgcj/7416:
7189 * javax/naming/InitialContext.java (init): Use
7190 gnu.classpath.home.url.
7191 * java/security/Security.java: Use new properties.
7192 (loadProviders): Accept base url; use it.
7193 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
7194 gnu.classpath.home.url.
7195 (gnu.classpath.home.url): Define.
7196 (gnu.classpath.vm.shortname): Likewise.
7198 2002-12-31 Tom Tromey <tromey@redhat.com>
7199 Ranjit Mathew <rmathew@hotmail.com>
7201 Fix for PR libgcj/8997:
7202 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
7204 * include/posix.h (_Jv_platform_usleep): New function.
7205 * include/win32.h (_Jv_platform_usleep): New function.
7207 2002-12-29 Tom Tromey <tromey@redhat.com>
7209 * gcj/javaprims.h: Updated.
7210 * scripts/classes.pl (scan): Removed stray semicolon.
7212 2002-12-30 Mark Wielaard <mark@klomp.org>
7214 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
7217 2002-12-30 Mark Wielaard <mark@klomp.org>
7219 * java/util/Properties (formatForOutput): Don't fall through to
7220 default case after escaping character.
7222 2002-12-30 Mark Wielaard <mark@klomp.org>
7224 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
7227 2002-12-27 Mark Mitchell <mark@codesourcery.com>
7229 * boehm.cc: Remove stray semicolon.
7230 * interpret.cc: Likewise.
7231 * prims.cc: Likewise.
7232 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
7233 earlier to ensure default arguments are processed.
7234 * gcj/array.h (JArray): Add forward declaration.
7235 (elements): Likewise.
7236 * gcj/javaprim.h: Remove stray semicolons.
7237 * include/bohm-gc.h: Likewise.
7238 * include/jni.h: Likewise.
7239 * include/jvm.h: Likewise.
7240 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
7242 2002-12-23 Jeff Sturm <jsturm@one-point.com>
7244 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
7246 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
7247 idt tables after initializing superclass.
7248 * java/lang/natClassLoader.cc (uaddr): New typedef.
7249 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
7250 if they are constant pool indicies. Don't link vtable, otable yet.
7252 2002-12-21 Anthony Green <green@redhat.com>
7254 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
7256 * Makefile.in: Rebuilt.
7258 2002-12-19 Anthony Green <green@redhat.com>
7260 * Makefile.am (ordinary_java_source_files): Add
7261 org/xml/sax/helpers/NewInstance.java.
7262 * Makefile.in: Rebuilt.
7263 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
7264 org/xml/sax/helpers/package.html: New files.
7265 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
7266 http://www.saxproject.org.
7268 2002-12-19 Andrew Haley <aph@redhat.com>
7270 * java/util/natResourceBundle.cc: Include
7271 ArrayIndexOutOfBoundsException.h.
7272 (getCallingClassLoader): Don't put upper bound on stack search.
7273 Catch ArrayIndexOutOfBoundsException.
7275 2002-12-19 Tom Tromey <tromey@redhat.com>
7277 * libtool-version: Increased `current'.
7279 2002-12-19 Tom Tromey <tromey@redhat.com>
7281 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
7283 * java/lang/ClassLoader.java (defineClass): Use chained
7284 exception when rethrowing.
7285 * defineclass.cc (handleClassBegin): Mark class as interpreted.
7286 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
7288 * resolve.cc (_Jv_PrepareMissingMethods): New function.
7289 (_Jv_PrepareClass): Use it.
7290 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
7291 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
7292 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
7293 (Class): _Jv_PrepareMissingMethods now friend.
7294 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
7295 Record `NULL' for system class loader.
7296 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
7297 system class loader.
7298 (_Jv_FindClassInCache): Likewise.
7299 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
7300 (_Jv_FindClass): Special case system class loader.
7301 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
7302 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
7304 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
7306 (_getDeclaredMethod): Don't return synthetic methods.
7307 (getDeclaredMethods): Likewise.
7308 (_getMethod): Likewise.
7309 (_getMethods): Likewise.
7311 2002-12-18 Raif Naffah <raif@fl.net.au>
7313 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
7314 canonical form after divide().
7315 (modInverse): Likewise.
7317 2002-12-13 Casey Marshall <rsdio@metastatic.org>
7318 Mark Wielaard <mark@klomp.org>
7320 * java/security/SecurityRandom (digest): Removed field.
7321 (SecureRandom): Check all providers for case-insensitive SecureRandom
7322 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
7324 (getInstance(String,Provider,boolean): New method.
7325 (getInstance(String)): Use new method.
7326 (getInstance(String,String)): Likewise.
7327 (getInstance(String,Provider)): Likewise.
7329 2002-12-13 Casey Marshall <rsdio@metastatic.org>
7331 * java/security/Security.java (loadProviders): Increment i only once.
7333 2002-12-12 Mark Wielaard <mark@klomp.org>
7335 * java/lang/ClassLoader.java (resolveClass0): Transform
7336 ClassNotFoundException to NoClassDefFoundError. Transform all other
7337 throwables to LinkageError.
7339 2002-12-11 Tom Tromey <tromey@redhat.com>
7341 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
7343 * java/lang/ClassLoader.java (loadedClasses): New field.
7344 (defineClass): Fixed indentation. Put new class in
7346 (findLoadedClass): Implement here.
7347 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
7349 2002-12-10 Tom Tromey <tromey@redhat.com>
7351 * Makefile.in: Rebuilt.
7352 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
7353 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
7354 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
7355 * java/lang/natClassLoader.cc
7356 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
7358 2002-12-10 Mark Wielaard <mark@klomp.org>
7359 Tom Tromey <tromey@redhat.com>
7361 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
7362 (JarURLLoader): Use it.
7363 (FileURLLoader): Likewise.
7364 (JarURLResource.getURL): Use chained exception.
7365 (FileResource.getURL): Likewise.
7366 (FileURLLoader.getResource): Use canonical file name.
7367 (addURL): Indentation fix.
7369 2002-12-10 Tom Tromey <tromey@redhat.com>
7371 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
7372 From Laurent Bardet <l.bardet@magic.fr>.
7374 2002-12-09 Tom Tromey <tromey@redhat.com>
7376 * include/win32.h (_Jv_platform_solib_prefix): New define.
7377 (_Jv_platform_solib_suffix): Likewise.
7378 * include/posix.h (_Jv_platform_solib_prefix): New define.
7379 (_Jv_platform_solib_suffix): Likewise.
7380 * java/lang/natRuntime.cc: Include StackTrace.h.
7381 (_load): Use findLibrary and new platform defines.
7382 (nativeGetLibname): Use new platform defines.
7384 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
7387 2002-12-08 Mark Wielaard <mark@klomp.org>
7389 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
7390 cache remote jar files.
7391 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
7392 add File.separator to URL when it is a directory.
7393 * java/lang/ClassLoader.java: Add Classpath javadoc.
7395 (getParent): Add (disabled) security check.
7396 (findLibrary): New default method.
7397 * java/net/JarURLConnection.java (getManifest): Implement.
7398 (getInputStream): Only create InputStream when entry exists.
7399 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
7401 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
7403 2002-12-08 Mark Wielaard <mark@klomp.org>
7405 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
7406 (lastDefaultLocale): New field.
7407 (getBundle): When Locale.getDefault != lastDefaultLocale reset
7408 resourceBundleCache.
7410 2002-12-06 Mark Wielaard <mark@klomp.org>
7412 * java/net/InetAddress.java (toString): Use hostname when not null,
7413 don't do an explicit reverse getHostName() lookup.
7414 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
7415 NullPointerException.
7417 2002-12-06 Tom Tromey <tromey@redhat.com>
7419 * include/java-interp.h (class _Jv_InterpMethod): Added
7421 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
7422 mark `prepared' field of interpreted method.
7423 * interpret.cc (compile): Use _Jv_AllocBytes.
7425 2002-12-05 Andrew Haley <aph@redhat.com>
7427 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
7428 #ifdef (HAVE_BACKTRACE) around the whole function body.
7430 2002-12-05 Tom Tromey <tromey@redhat.com>
7432 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
7433 * resolve.cc: Don't include AbstractMethodError.h.
7434 (_Jv_abstractMethodError): Removed.
7435 * defineclass.cc (handleMethodsBegin): Initialize method index to
7437 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
7438 method index for "new" final method.
7439 (_Jv_SetVTableEntries): Compare index against -1 instead of using
7440 isVirtualMethod. Added `flags' argument.
7441 (_Jv_MakeVTable): Throw exception for abstract method in concrete
7444 2002-12-04 Tom Tromey <tromey@redhat.com>
7446 * java/net/SocketPermission.java (hashCode): Rewrote.
7448 2002-12-04 Tom Tromey <tromey@redhat.com>
7450 * Makefile.in: Rebuilt.
7451 * Makefile.am (nat_source_files): Added natVMSecurityManager,
7453 * java/util/ResourceBundle.java (Security): Removed.
7454 (getCallingClassLoader): Now native.
7455 * java/util/natResourceBundle.cc: New file.
7456 * java/lang/natVMSecurityManager.cc: New file.
7457 * java/lang/VMSecurityManager.java (getClassContext): Now native.
7459 2002-12-03 Mark Wielaard <mark@klomp.org>
7461 * java/util/jar/JarFile.java (manifest): Not final.
7462 (manifestRead): New field.
7463 (JarFile): Don't read Manifest in constructor.
7464 (getManifest): New method.
7465 (JarEnumeration.nextElement): Use new method.
7466 (getEntry): Likewise.
7467 * java/util/zip/ZipFile.java (name): Final.
7469 (entries): Change type to Hashtable.
7470 (closed): New field.
7471 (ZipFile): Don't read enties in constructor.
7472 (readEntries): Use Hashtable.
7473 (close): Set new close flag and set entries to null inside
7475 (entries): Contruct enumeration using new getEntries() method and
7477 (getEntryIndex): Removed.
7478 (getEntries): New method.
7479 (getEntry): Use new getEntries() method and entries Hastable.
7480 (getInputStream): Likewise.
7481 (size): Return getEntries().size().
7482 (ZipEntryEnumeration): Wrap entries Hashtable elements.
7483 * java/util/zip/ZipEntry.java (cal): Don't initialize.
7485 (dostime): New field.
7486 (zipFileIndex): Removed.
7487 (ZipEntry(ZipEntry)): Copy dostime.
7488 (setDOSTime): Now final and doesn't convert dos time.
7489 (getDOSTime): Likewise.
7490 (setTime): Convert dos time.
7491 (getTime): Likewise.
7492 (getCalendar): New method.
7493 (setExtra): Use setTime().
7494 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
7496 2002-12-03 Tom Tromey <tromey@redhat.com>
7498 * java/lang/Character.java (forDigit): Formatting fix.
7500 2002-12-03 Raif Naffah <raif@fl.net.au>
7502 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
7503 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
7504 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
7506 2002-12-03 Andrew Haley <aph@redhat.com>
7508 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
7510 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
7511 (_Jv_PopClass): New.
7512 (_Jv_PushClass): New.
7513 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
7514 discover the ClassLoader of our caller.
7515 (_Jv_CheckArrayStore): Don't check that a class is assignment
7516 compatible with Object.
7517 * java/lang/natVMTHrowable.cc: Delete.
7518 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
7519 java.lang.VMThrowable.
7520 (StackTrace(), StackTrace(int)): New constructors.
7521 (classAt, methodAt, update, methodAtAddress): New methods.
7523 * java/lang/VMThrowable.java: Use StackTrace instead of
7525 * java/lang/Class.h (getClassLoaderInternal): New.
7526 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
7527 Be friendly with gnu::gcj::runtime::StackTrace.
7528 (Object.chain): New field.
7529 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
7530 gnu::gcj::runtime::StackTrace.
7531 * gnu/gcj/runtime/natStackTrace.cc: New file.
7532 * gnu/gcj/runtime/MethodRef.java: New file.
7533 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
7534 instead of getClassLoader().
7535 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
7536 java::lang::VMThrowable.
7537 * Makefile.am (core_java_source_files): Add MethodRef.java,
7539 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
7540 * Makefile.in: Rebuild.
7542 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
7544 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
7545 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
7546 yes also for sh-linux* and sh[34]*-linux*.
7547 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
7548 set SIGNAL_HANDLER to use DWARF2 exception for them.
7549 * configure: Regenerate.
7551 2002-12-02 Tom Tromey <tromey@redhat.com>
7553 * jni.cc: Added `name' argument.
7554 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
7555 `const char *' argument.
7556 (class _Jv_JNIEnv) [DefineClass]: Likewise.
7558 2002-12-01 Tom Tromey <tromey@redhat.com>
7560 Bug compatibility, for PR libgcj/8738:
7561 * java/io/CharArrayWriter.java (close): Do nothing.
7563 (reset): Don't touch `closed'.
7564 (write(int)): Don't throw IOException.
7565 (write(char[],int,int)): Likewise.
7566 (write(String,int,int)): Likewise.
7569 2002-12-01 Mark Wielaard <mark@klomp.org>
7571 * java/lang/SecurityManager.java: Remerge comments, indenting and
7572 checkXXX methods with Classpath.
7574 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
7576 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
7577 getNormalizedComponents): Fix calculation which was using one too
7578 many bits in the unnormalized format.
7580 2002-11-29 Gary Benson <gbenson@redhat.com>
7583 * java/beans/Introspector.java (flushCaches): New method.
7584 (flushFromCaches): Likewise.
7586 2002-11-29 Michael Koch <konqueror@gmx.de>
7588 * java/nio/channels/DatagramChannel.java
7589 (open): Added exception documentation.
7590 (write): Added exception documentation.
7591 (connect): Added exception documentation.
7592 (disconnect): Added exception documentation.
7593 (isConnected): Added exception documentation.
7594 (read): Added exception documentation.
7595 (receive): Added exception documentation.
7596 (send): Added exception documentation.
7597 (validOps): Added exception documentation.
7598 * java/nio/channels/SocketChannel.java
7599 (open): Added exception documentation.
7600 (read): Added exception documentation.
7601 (write): Added exception documentation.
7602 (connect): Added exception documentation.
7603 (finishConnect): Added exception documentation.
7605 2002-11-29 Michael Koch <konqueror@gmx.de>
7607 * gnu/java/nio/DatagramChannelImpl:
7608 (fd): New member variable to store file descriptor of socket.
7609 * gnu/java/nio/SelectionKeyImpl.java:
7611 (readyOps): New member variable.
7612 (interestOps): New member variable.
7613 (readyOps): Implemented.
7614 (readyOps): New method to set member variable readyOps.
7615 (interestOps): Replaced ops by interestOps.
7616 * gnu/java/nio/SelectorImpl.java:
7617 (SelectorImpl): Initialize key sets.
7618 (select): Call select with -1 instead of Long.MAX_VALUE).
7619 (java_do_select): Make it a native method.
7620 (getFDsAsArray): New helper method.
7621 (select): Remove canceled keys, give only interested file discriptors
7622 to java_do_select, set ready ops.
7623 (add): No need to initialize keys set here.
7624 (add_selected): No need to initialize selected set here.
7625 (deregisterCanceledKeys): New helper method.
7626 (register): Set interest ops, set attachments, added handling of datagram
7628 * gnu/java/nio/ServerSocketChannelImpl:
7629 (SocketAccept): Renamed from NioSocketAccept.
7630 (implConfigureBlocking): Implemented.
7631 (accept): Use SocketAccept instead of NioSocketAccept.
7632 * gnu/java/nio/SocketChannelImpl:
7633 Reactivate native methods.
7635 2002-11-29 Michael Koch <konqueror@gmx.de>
7637 * gnu/java/nio/natByteBufferImpl.cc,
7638 gnu/java/nio/natCharBufferImpl.cc,
7639 gnu/java/nio/natDoubleBufferImpl.cc,
7640 gnu/java/nio/natFloatBufferImpl.cc,
7641 gnu/java/nio/natIntBufferImpl.cc,
7642 gnu/java/nio/natLongBufferImpl.cc,
7643 gnu/java/nio/natSelectorImpl.cc,
7644 gnu/java/nio/natServerSocketChannelImpl.cc,
7645 gnu/java/nio/natShortBufferImpl.cc,
7646 gnu/java/nio/natSocketChannelImpl.cc:
7647 New files that implement native functionalities.
7649 2002-11-29 Michael Koch <konqueror@gmx.de>
7651 * gnu/java/nio/ByteBufferImpl.java
7652 (ByteBufferImpl): Moved position() after limit.
7653 (nio_*): Use native implementation.
7654 * gnu/java/nio/CharBufferImpl.java:
7656 (endian): New member variable string endianess of buffer.
7657 (CharBufferImpl): Moved position() after limit.
7658 (nio_*): Use native implementation.
7659 (subSequence): Implemented.
7660 * gnu/java/nio/DoubleBufferImpl.java
7661 (DoubleBufferImpl): Moved position() after limit.
7662 (nio_*): Use native implementation.
7663 * gnu/java/nio/FloatBufferImpl.java
7665 (FloatBufferImpl): Moved position() after limit.
7666 (nio_*): Use native implementation.
7667 * gnu/java/nio/IntBufferImpl.java
7668 Added needed imports, Reformated.
7669 (IntBufferImpl): Moved position() after limit.
7670 (nio_*): Use native implementation.
7671 * gnu/java/nio/LongBufferImpl.java
7673 (LongBufferImpl): Moved position() after limit.
7674 (nio_*): Use native implementation.
7675 * gnu/java/nio/ShortBufferImpl.java
7677 (ShortBufferImpl): Moved position() after limit.
7678 (nio_*): Use native implementation.
7680 2002-11-27 Julian Dolby <dolby@us.ibm.com>
7682 * java/util/Locale.java (toString): Improve efficiency if country
7683 and variant are both empty.
7685 2002-11-26 Tom Tromey <tromey@redhat.com>
7687 * verify.cc (pop_init_ref): New method.
7688 (verify_instructions_0) [op_iaload, op_laload, op_faload,
7689 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7690 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7691 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7692 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7693 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7694 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
7695 let `this' argument be uninitialized. Don't let `null' be passed
7696 as `this' to construtor.
7698 2002-11-26 Mark Wielaard <mark@klomp.org>
7700 * javax/transaction/HeuristicCommitException.java: Classpath merge.
7701 * javax/transaction/HeuristicMixedException.java: Likewise.
7702 * javax/transaction/HeuristicRollbackException.java: Likewise.
7703 * javax/transaction/InvalidTransactionException.java: Likewise.
7704 * javax/transaction/NotSupportedException.java: Likewise.
7705 * javax/transaction/RollbackException.java: Likewise.
7706 * javax/transaction/Status.java: Likewise.
7707 * javax/transaction/Synchronization.java: Likewise.
7708 * javax/transaction/SystemException.java: Likewise.
7709 * javax/transaction/Transaction.java: Likewise.
7710 * javax/transaction/TransactionManager.java: Likewise.
7711 * javax/transaction/TransactionRequiredException.java: Likewise.
7712 * javax/transaction/TransactionRolledbackException.java: Likewise.
7713 * javax/transaction/UserTransaction.java: Likewise.
7714 * javax/transaction/xa/XAException.java: Likewise.
7715 * javax/transaction/xa/XAResource.java: Likewise.
7716 * javax/transaction/xa/Xid.java: Likewise.
7718 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
7720 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7722 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7723 * include/posix.h (socklen_t): Define if not already defined.
7725 2002-11-25 Tom Tromey <tromey@redhat.com>
7727 * verify.cc (type::compatible): Backed out broken change.
7729 * verify.cc (type::compatible): Check initialization status
7731 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7732 Don't use NULLCHECK.
7734 2002-11-23 H.J. Lu <hjl@gnu.org>
7736 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7737 Include ../config/accross.m4.
7738 * aclocal.m4; Rebuild.
7739 * configure: Likewise.
7741 2002-11-23 Mark Wielaard <mark@klomp.org>
7743 * javax/naming/AuthenticationException.java: Update copyright header.
7744 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7745 * javax/naming/Binding.java: Likewise.
7746 * javax/naming/CannotProceedException.java: Likewise.
7747 * javax/naming/CommunicationException.java: Likewise.
7748 * javax/naming/CompositeName.java: Likewise.
7749 * javax/naming/CompoundName.java: Likewise.
7750 * javax/naming/ConfigurationException.java: Likewise.
7751 * javax/naming/Context.java: Likewise.
7752 * javax/naming/ContextNotEmptyException.java: Likewise.
7753 * javax/naming/InitialContext.java: Likewise.
7754 * javax/naming/InsufficientResourcesException.java: Likewise.
7755 * javax/naming/InterruptedNamingException.java: Likewise.
7756 * javax/naming/LimitExceededException.java: Likewise.
7757 * javax/naming/LinkException.java: Likewise.
7758 * javax/naming/LinkLoopException.java: Likewise.
7759 * javax/naming/LinkRef.java: Likewise.
7760 * javax/naming/MalformedLinkException.java: Likewise.
7761 * javax/naming/NameAlreadyBoundException.java: Likewise.
7762 * javax/naming/NameClassPair.java: Likewise.
7763 * javax/naming/NameNotFoundException.java: Likewise.
7764 * javax/naming/NameParser.java: Likewise.
7765 * javax/naming/NamingEnumeration.java: Likewise.
7766 * javax/naming/NamingSecurityException.java: Likewise.
7767 * javax/naming/NoInitialContextException.java: Likewise.
7768 * javax/naming/NoPermissionException.java: Likewise.
7769 * javax/naming/NotContextException.java: Likewise.
7770 * javax/naming/OperationNotSupportedException.java: Likewise.
7771 * javax/naming/PartialResultException.java: Likewise.
7772 * javax/naming/Reference.java: Likewise.
7773 * javax/naming/Referenceable.java: Likewise.
7774 * javax/naming/ReferralException.java: Likewise.
7775 * javax/naming/ServiceUnavailableException.java: Likewise.
7776 * javax/naming/SizeLimitExceededException.java: Likewise.
7777 * javax/naming/TimeLimitExceededException.java: Likewise.
7778 * javax/naming/directory/Attribute.java: Likewise.
7779 * javax/naming/directory/AttributeInUseException.java: Likewise.
7780 * javax/naming/directory/AttributeModificationException.java: Likewise.
7781 * javax/naming/directory/Attributes.java: Likewise.
7782 * javax/naming/directory/BasicAttribute.java: Likewise.
7783 * javax/naming/directory/BasicAttributes.java: Likewise.
7784 * javax/naming/directory/DirContext.java: Likewise.
7785 * javax/naming/directory/InitialDirContext.java: Likewise.
7786 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7788 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7789 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7790 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7791 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7792 * javax/naming/directory/ModificationItem.java: Likewise.
7793 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7794 * javax/naming/directory/SchemaViolationException.java: Likewise.
7795 * javax/naming/directory/SearchControls.java: Likewise.
7796 * javax/naming/directory/SearchResult.java: Likewise.
7797 * javax/naming/event/EventContext.java: Likewise.
7798 * javax/naming/event/EventDirContext.java: Likewise.
7799 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7800 * javax/naming/event/NamingEvent.java: Likewise.
7801 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7802 * javax/naming/event/NamingListener.java: Likewise.
7803 * javax/naming/event/ObjectChangeListener.java: Likewise.
7804 * javax/naming/ldap/Control.java: Likewise.
7805 * javax/naming/ldap/ControlFactory.java: Likewise.
7806 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7807 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7808 * javax/naming/ldap/HasControls.java: Likewise.
7809 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7810 * javax/naming/ldap/LdapContext.java: Likewise.
7811 * javax/naming/ldap/LdapReferralException.java: Likewise.
7812 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7813 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7814 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7815 * javax/naming/spi/DirObjectFactory.java: Likewise.
7816 * javax/naming/spi/DirStateFactory.java: Likewise.
7817 * javax/naming/spi/DirectoryManager.java: Likewise.
7818 * javax/naming/spi/InitialContextFactory.java: Likewise.
7819 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7820 * javax/naming/spi/NamingManager.java: Likewise.
7821 * javax/naming/spi/ObjectFactory.java: Likewise.
7822 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7823 * javax/naming/spi/ResolveResult.java: Likewise.
7824 * javax/naming/spi/Resolver.java: Likewise.
7825 * javax/naming/spi/StateFactory.java: Likewise.
7827 * javax/naming/spi/NamingManager.java (ofb): Package private.
7829 2002-11-21 Mark Wielaard <mark@klomp.org>
7831 * java/net/URL.java: Merge with Classpath (partly).
7832 * java/net/URLStreamHandler: Merge with Classpath.
7834 2002-11-22 Michael Koch <konqueror@gmx.de>
7837 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7839 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7840 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7842 2002-11-21 Michael Koch <konqueror@gmx.de>
7844 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7845 Only the new network functions should be in it.
7847 2002-11-21 Michael Koch <konqueror@gmx.de>
7849 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7850 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7852 2002-11-21 Michael Koch <konqueror@gmx.de>
7854 * java/nio/channels/AsynchronousCloseException.java,
7855 java/nio/channels/CancelledKeyException.java,
7856 java/nio/channels/ClosedByInterruptException.java,
7857 java/nio/channels/ConnectionPendingException.java,
7858 java/nio/channels/FileLockInterruptionException.java,
7859 java/nio/channels/IllegalSelectorException.java,
7860 java/nio/channels/NoConnectionPendingException.java,
7861 java/nio/channels/NonReadableChannelException.java,
7862 java/nio/channels/NonWritableChannelException.java,
7863 java/nio/channels/NotYetBoundException.java,
7864 java/nio/channels/NotYetConnectedException.java,
7865 java/nio/channels/OverlappingFileLockException.java,
7866 java/nio/channels/UnresolvedAddressException.java,
7867 java/nio/channels/UnsupportedAddressTypeException.java:
7869 * Makefile.am (ordinary_java_source_files): Added new files.
7870 * Makefile.in: Regenerated.
7872 2002-11-21 Michael Koch <konqueror@gmx.de>
7875 (_Jv_socket): New method.
7876 (_Jv_connect): New method.
7877 (_Jv_close): New method.
7878 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7879 (_Jv_bind): New method.
7880 (_Jv_listen): New method.
7881 (_Jv_write): New method.
7882 (_Jv_read): New method.
7884 (_Jv_socket): New method.
7885 (_Jv_connect): New method.
7886 (_Jv_close): New method.
7887 (_Jv_bind): New method.
7888 (_Jv_listen): New method.
7889 (_Jv_write): New method.
7890 (_Jv_read): New method.
7891 * java/net/natNetworkInterface.cc:
7892 Include platform.h, removed inclusion of socket.h
7893 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7894 ::close() by _Jv_close().
7895 * java/net/natPlainDatagramSocketImpl.cc:
7896 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7897 added some new lines to make code more readable.
7898 (create): Replaced ::socket() by _Jv_socket().
7899 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7900 * java/net/natPlainSocketImpl.cc:
7901 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7902 removed include of socket.h, removed some windows defines
7903 (now in include/win32.h).
7904 (create): Replaced ::socket() by _Jv_socket().
7905 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7906 (write): Replaced ::read by _Jv_write().
7907 (read): Replaced ::read by _Jv_read().
7909 2002-11-20 Michael Koch <konqueror@gmx.de>
7911 * Makefile.am (ordinary_java_source_files):
7912 Added java/nio/channels/FileChannel.java.
7913 * Makefile.in: Regenerated.
7915 2002-11-20 Michael Koch <konqueror@gmx.de>
7917 * java/io/FileInputStream.java
7918 (getChannel): New method.
7919 * java/io/FileOutputStream.java
7920 (getChannel): New method.
7921 * java/net/ServerSocket.java
7922 (bind): Removed duplicate code and called another bind method instead.
7923 * java/nio/channels/SelectionKey.java
7924 (isValid): Removed wrong exception documentation.
7925 * java/nio/channels/ServerSocketChannel.java
7926 (accept): Added exception documentation.
7927 (open): Fixed typo, added exception documentation.
7928 * java/nio/channels/spi/AbstractSelectableChannel.java
7929 (implCloseChannel): Added exception documentation.
7931 (register): Added exception documentation.
7933 2002-11-20 Andreas Jaeger <aj@suse.de>
7935 * configure: Regenerated with new libtool.m4.
7937 2002-11-19 Tom Tromey <tromey@redhat.com>
7939 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7941 (finalize_referred_to_object): Don't modify `referent' or `copy'
7943 (add_to_hash): Correctly set `n->next' when updating list.
7944 * java/lang/ref/Reference.java (enqueue): Return false if already
7947 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7949 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7950 to function and function pointer declarations in accordance with
7951 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7952 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7953 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7954 JNI function definitions.
7956 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7958 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7959 that was causing CoderResults to be cached, not WeakReferences
7962 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7964 * java/security/KeyStore.java (getInstance): Fix
7965 comment and throw IllegalArgumentException if
7966 given provider is null.
7967 (getInstance): New method for jdk1.4 compatibility.
7969 2002-11-18 Michael Koch <konqueror@gmx.de>
7971 * java/net/PlainSocketImpl.java: Fix imports.
7973 2002-11-18 Michael Koch <konqueror@gmx.de>
7975 * java/nio/channels/SelectionKey.java
7976 (isValid): Added exception documentation.
7977 * java/nio/channels/Selector.java
7978 (open): Declare "throws IOException".
7980 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7982 * java/nio/charset/Charset.java
7983 (<clinit>): New method.
7984 (encode): Synchronize use of cached encoder object.
7985 (decode): Synchronize use of cached encoder object.
7987 2002-11-18 Michael Koch <konqueror@gmx.de>
7989 * gnu/java/nio/ByteBufferImpl.java,
7990 gnu/java/nio/CharBufferImpl.java,
7991 gnu/java/nio/DatagramChannelImpl.java,
7992 gnu/java/nio/DoubleBufferImpl.java,
7993 gnu/java/nio/FileChannelImpl.java,
7994 gnu/java/nio/FloatBufferImpl.java,
7995 gnu/java/nio/IntBufferImpl.java,
7996 gnu/java/nio/LongBufferImpl.java,
7997 gnu/java/nio/PipeImpl.java,
7998 gnu/java/nio/SelectionKeyImpl.java,
7999 gnu/java/nio/SelectorImpl.java,
8000 gnu/java/nio/SelectorProviderImpl.java,
8001 gnu/java/nio/ServerSocketChannelImpl.java,
8002 gnu/java/nio/ShortBufferImpl.java,
8003 gnu/java/nio/SocketChannelImpl.java,
8004 java/nio/DoubleBuffer.java,
8005 java/nio/FloatBuffer.java,
8006 java/nio/IntBuffer.java,
8007 java/nio/LongBuffer.java,
8008 java/nio/ShortBuffer.java,
8009 java/nio/channels/FileChannel.java: New files.
8011 2002-11-18 Michael Koch <konqueror@gmx.de>
8013 * Makefile.am (ordinary_java_source_files):
8014 Added java/nio/ReadOnlyBufferException.java and
8015 java/nio/channels/ClosedSelectorException.java.
8016 * Makefile.in: Regenerated.
8018 2002-11-18 Michael Koch <konqueror@gmx.de>
8020 * java/net/PlainSocketImpl.java: Reworked imports.
8021 * java/net/ServerSocket.java
8022 (ServerSocket): Create socket.
8023 * java/net/SocketAddress.java: Documentation added.
8024 * java/net/natPlainSocketImpl.cc: Reindented.
8025 * java/nio/ReadOnlyBufferException.java: New file
8026 * java/nio/channels/ClosedChannelException.java: Documentation added.
8027 * java/nio/channels/ClosedSelectorException.java: New file.
8029 2002-11-17 Mark Wielaard <mark@klomp.org>
8031 * java/net/HttpURLConnection.java ((getPermission): Take port
8033 (getErrorStream): Implement.
8035 2002-11-17 Mark Wielaard <mark@klomp.org>
8037 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
8039 2002-11-16 Mark Wielaard <mark@klomp.org>
8041 Integrate work by Raif S. Naffah (raif@fl.net.au)
8042 * java/security/DummyKeyPairGenerator.java (clone): New method.
8043 * java/security/DummyMessageDigest.java (clone): New method.
8044 (engineUpdate): Now public.
8045 (engineReset): Likewise.
8046 (engineDigest): Likewise.
8047 (engineGetDigestLength): New method.
8048 * java/security/DummySignature.java (clone): New method.
8049 * java/security/KeyPairGenerator.java (provider): Now package private.
8050 (getInstance(String)): Use getInstance(String,Provider).
8051 (getInstance(String,String): Use getInstance(String,Provider)
8052 (getInstance(String,Provider): New method.
8053 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
8054 * java/security/KeyPairGeneratorSpi.java (clone): New method.
8055 * java/security/MessageDigest.java (provider): Now package private.
8056 (getInstance(String): Use getInstance(String,Provider).
8057 (getInstance(String,String): Use getInstance(String,Provider)
8058 (getInstance(String,Provider): New method.
8059 * java/security/Provider.java (toCanonicalKey): New method.
8060 (get): New method that uses toCanonicalKey().
8061 (put): Use toCanonicalKey().
8063 * java/security/Security.java (insertProviderAt): Provider index is one
8064 based, not zero based.
8065 (addProvider): Likewise.
8066 (removeProvider): Likewise.
8067 * java/security/Signature.java (provider): Now package private.
8068 (getInstance(String)): Use getInstance(String,Provider).
8069 (getInstance(String,String): Use getInstance(String,Provider)
8070 (getInstance(String,Provider): New method.
8071 (getInstance(String,String,Provider): Don't cast DummySignature.
8073 2002-11-15 Tom Tromey <tromey@redhat.com>
8076 * java/util/zip/GZIPInputStream.java (read): Check file size.
8077 Look in inflater for remaining input bytes.
8078 (read4): Added buf and offset arguments.
8080 2002-11-12 Eric Blake <ebb9@email.byu.edu>
8082 * java/applet/AppletContext.java: Fix typo and remove redundant
8085 2002-11-14 Tom Tromey <tromey@redhat.com>
8087 * java/lang/natRuntime.cc (insertSystemProperties): Set
8090 2002-11-13 Michael Koch <konqueror@gmx.de>
8092 * java/nio/ByteBuffer.java
8093 (allocate): New method.
8098 2002-11-13 Michael Koch <konqueror@gmx.de>
8100 * java/nio/channels/AlreadyConnectedException.java:
8101 Removed unneeded import.
8102 (AlreadyConnectedException): Documentation added.
8103 * java/nio/channels/Pipe.java
8104 (SinkChannel.SinkChannel): Documentation added.
8105 (SinkChannel.validOps): New method.
8106 (SourceChannel.SourceChannel): Documentation added.
8107 (SourceChannel.validOps): New method.
8108 (Pipe): Documentation added.
8109 (open): Documentation added.
8110 (SinkChannel.channel): Documentation added.
8111 (SourceChannel.channel): Documentation added.
8112 * java/nio/channel/SelectableChannel.java
8113 (SelectableChannel): Documentation added.
8114 (blockingLock): Documentation added.
8115 (configureBlocking):Documentation added.
8116 (isBlocking):Documentation added.
8117 (isRegistered):Documentation added.
8118 (keyFor):Documentation added.
8119 (provider):Documentation added.
8120 (register): Documentation added.
8121 (validOps): Documentation added.
8122 * jaba/nio/channels/SelectionKey.java
8123 (SelectionKey): Documentation added.
8124 (attach): Documentation added.
8125 (attachment): Documentation added.
8126 (isAcceptable): Documentation added.
8127 (isConnetable): Documentation added.
8128 (isReadable): Documentation added.
8129 (isWritable): Documentation added.
8130 (cancel): Documentation added.
8131 (channel): Documentation added.
8132 (interestOps): Documentation added.
8133 (isValid): Documentation added.
8134 (readyOps): Documentation added.
8135 (selector): Documentation added.
8136 * jaba/nio/channels/Selector.java
8137 (Selector): Documentation added.
8138 (open): Documentation added.
8139 (close): Documentation added.
8140 (isOpen): Documentation added.
8141 (keys): Documentation added.
8142 (provider): Documentation added.
8143 (select): Documentation added.
8144 (selectedKeys): Documentation added.
8145 (selectNow): Documentation added.
8146 (wakeup): Documentation added.
8147 * java/nio/channels/spi/AbstractInterruptibleChannel.java
8148 (AbstractInterruptibleChannel): Documentation added.
8149 (opened): Default to true;
8150 (begin): Documentation added.
8151 (close): Set opened to false, documentation added.
8152 (isOpen): Documentation added.
8153 * java/nio/channels/spi/AbstractSelectionKey.java
8154 (AbstractSelectionKey): Documentation added.
8155 (cancel): Documentation added.
8156 (isValid): Documentation added.
8157 * java/nio/channels/spi/AbstractSelector.java
8158 (AbstractSelector): Documentation added.
8159 (begin): Documentation added.
8160 (close): Documentation added.
8161 (isOpen): Documentation added.
8162 (deregister): Documentation added.
8163 (end): Documentation added.
8164 (provider): Documentation added.
8165 (implCloseSelector): Documentation added.
8166 (register): Documentation added.
8167 * java/nio/channels/spi/SelectorProvider.java
8168 (SelectorProvider): Documentation added.
8169 (openDatagramChannel): Documentation added.
8170 (openPipe): Documentation added.
8171 (openSelector): Documentation added.
8172 (openServerSocketChannel): Documentation added.
8173 (openSocketChannel): Documentation added.
8174 (provider): Documentation added.
8176 2002-11-12 Michael Koch <konqueror@gmx.de>
8178 * java/nio/Buffer.java: Implemented.
8179 * java/nio/CharBuffer.java: New file.
8180 * java/nio/InvalidMarkException.java: New file.
8181 * java/nio/channels/DatagramChannel.java: Implemented.
8182 * java/nio/channels/ServerSocketChannel.java: Implemented.
8183 * java/nio/channels/SocketChannel.java: Implemented.
8184 * java/nio/channels/spi/AbstractChannel.java: Removed.
8185 * java/nio/channels/spi/AbstractSelectableChannel.java:
8187 * java/nio/charset/Charset.java:
8188 Merge from Classpath.
8189 * java/nio/charset/CharsetDecoder.java: New file.
8190 * java/nio/charset/CharsetEncoder.java: New file.
8191 * java/nio/charset/CoderResult.java: New file.
8192 * Makefile.am (ordinary_java_source_files): Added new files.
8193 * Makefile.in: Regenerated.
8195 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8197 * gnu/java/nio/charset/ISO_8859_1.java,
8198 gnu/java/nio/charset/Provider.java,
8199 gnu/java/nio/charset/US_ASCII.java,
8200 gnu/java/nio/charset/UTF_16.java,
8201 gnu/java/nio/charset/UTF_16BE.java,
8202 gnu/java/nio/charset/UTF_16Decoder.java,
8203 gnu/java/nio/charset/UTF_16Encoder.java,
8204 gnu/java/nio/charset/UTF_16LE.java,
8205 gnu/java/nio/charset/UTF_8.java: New files.
8207 2002-11-11 Michael Koch <konqueror@gmx.de>
8209 * java/nio/charset/CharacterCodingException.java:
8210 This class must be public.
8211 * java/nio/charset/CoderMalfunctionError.java:
8212 This class must be public.
8213 * java/nio/charset/CodingErrorAction.java:
8214 This class must be public.
8215 * java/nio/charset/IllegalCharsetNameException.java:
8216 This class must be public, better implementation.
8217 * java/nio/charset/MalformedInputException.java:
8218 This class must be public, better implementation.
8219 * java/nio/charset/UnmappableCharacterException.java:
8220 This class must be public, better implementation.
8221 * java/nio/charset/UnsupportedCharsetException.java:
8222 This class must be public, better implementation.
8224 2002-11-11 Michael Koch <konqueror@gmx.de>
8226 * java/nio/BufferOverflowException.java,
8227 java/nio/BufferUnderflowException.java: New file.
8228 * Makefile.am (ordinary_java_source_files):
8230 * Makefile.in: Regenerated.
8232 2002-11-10 Tom Tromey <tromey@redhat.com>
8234 * java/awt/Container.java (validate): Use tree lock.
8235 (getComponent): Likewise.
8236 (getComponents): Likewise.
8237 (addImpl): Likewise.
8239 (removeAll): Likewise.
8240 (processEvent): Fixed indentation.
8241 (getComponentAt): Use tree lock.
8242 (findComponentAt): Likewise.
8243 (removeNotify): Likewise.
8244 (isAncestorOf): Likewise.
8246 (visitChildren): Likewise.
8247 (findNextFocusComponent): Likewise.
8248 (addNotifyContainerChildren): Likewise.
8249 (getAccessibleChildrenCount): Likewise.
8250 (getAccessibleChild): Likewise.
8252 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
8253 (getSize): Likewise.
8254 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
8255 (getSize): Likewise.
8256 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
8257 (calcSize): Likewise.
8258 * java/awt/CardLayout.java (getSize): Use tree lock.
8259 (gotoComponent): Likewise.
8260 (layoutContainer): Likewise.
8262 * java/io/natFileDescriptorWin32.cc (read): Handle case where
8264 * java/io/natFileDescriptorPosix.cc (read): Handle case where
8267 * java/io/Externalizable.java, java/io/FilePermission.java,
8268 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
8269 java/io/SerializablePermission.java, java/text/Format.java,
8270 java/util/AbstractMap.java, java/util/HashMap.java,
8271 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
8272 versions from Classpath.
8274 2002-11-10 Anthony Green <green@redhat.com>
8276 * java/util/jar/Attributes.java (Name): Fix name check.
8278 2002-11-10 Mark Wielaard <mark@klomp.org>
8280 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
8281 with getName() as message.
8282 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
8285 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
8288 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
8290 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
8291 for Win32. JNICALL has been defined to __stdcall to be compatible
8294 2002-11-10 Tom Tromey <tromey@redhat.com>
8296 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
8297 (setRows): Check newRows, not rows.
8299 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
8301 2002-11-09 Tom Tromey <tromey@redhat.com>
8303 * java/applet/Applet.java, java/applet/AppletContext.java,
8304 java/applet/AppletStub.java, java/applet/AudioClip.java,
8305 java/awt/CardLayout.java,
8306 java/awt/ContainerOrderFocusTraversalPolicy.java,
8307 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
8308 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
8309 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
8310 java/awt/color/ICC_ColorSpace.java,
8311 java/awt/color/ICC_Profile.java,
8312 java/awt/color/ICC_ProfileGray.java,
8313 java/awt/color/ICC_ProfileRGB.java,
8314 java/awt/datatransfer/DataFlavor.java,
8315 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
8316 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
8317 New versions from Classpath.
8318 * Makefile.in: Rebuilt.
8319 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
8322 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
8325 * java/awt/List.java (processEvent): Added missing `else's.
8327 * java/awt/Window.java (show): validate() before showing. Make
8329 (isDisplayable): New method.
8331 2002-11-07 Mark Wielaard <mark@klomp.org>
8333 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
8334 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
8336 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
8338 (loadClass): Take String as codebases.
8339 (getClassAnnotation): Use MyClassLoader annotations.
8340 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
8341 call exportObject(this).
8343 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
8344 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
8345 (setAnnotation): Don't set locBytesStream and locStream.
8346 (replaceObject): Removed.
8347 (flush): Don't test locStream.
8348 (getLocBytes): LikeWise.
8349 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
8350 (leaseCache): New field.
8351 (dirty): Use leaseCache.
8352 (LeaseRecord): New inner class.
8353 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
8354 explicitly call exportObject().
8355 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
8356 false to communicate with Sun JDK130.
8357 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
8358 * gnu/java/rmi/server/RMIObjectInputStream.java
8359 (UnicastConnectionManager): Removed field.
8360 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
8361 Use UnicastServer.getExportedRef().
8362 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
8363 (expireTime): Likewise.
8364 (CONNECTION_TIMEOUT): Likewise.
8365 (disconnect): Call sock.close().
8366 (isExpired): New method.
8367 (resetTime): Likewise.
8368 (run): Use do while loop and catch Exception for discardConnection().
8369 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
8370 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
8371 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
8372 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
8373 (exportObject): Use refcache.
8374 (unexportObject): Likewise.
8375 (getExportedRef): New method.
8376 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
8378 (exportObject): Save manager.serverobj.
8379 (getStub): New method.
8381 2002-11-07 Mark Wielaard <mark@klomp.org>
8383 * java/lang/reflect/natField.cc (getBoolean): Use getType().
8384 (getByte): Likewise.
8385 (getShort): Likewise.
8387 (getLong): Likewise.
8388 (getFloat): Likewise.
8389 (getDouble): Likewise.
8391 (setChar): Likewise.
8392 (setByte): Likewise.
8393 (setShort): Likewise.
8395 (setLong): Likewise.
8396 (setFloat): Likewise.
8397 (setDouble): Likewise.
8399 2002-11-07 Michael Koch <konqueror@gmx.de>
8401 * java/awt/Choice.java,
8402 java/awt/Container.java,
8403 java/awt/GridBagLayout.java:
8404 Fixed documentation.
8405 * java/awt/peer/ContainerPeer.java:
8408 2002-11-07 Michael Koch <konqueror@gmx.de>
8410 * java/awt/color/ICC_Profile.java:
8411 Added missing constants.
8412 * java/awt/color/ICC_ColorSpace.java
8413 (getMinValue): Added dummy implementation.
8414 (getMaxValue): Added dummy implementation.
8415 * java/awt/datatransfer/DataFlavor.java
8416 (imageFlavor): Added.
8417 (isMimeTypeEqual): Must be final.
8418 (getDefaultRepresentationClass): Must be non-static.
8419 (getDefaultRepresentationClassAsString): Must be non-static.
8420 * java/awt/dnd/DragSourceContext.java
8421 (dragExit): Corrected argument.
8422 (dragDropEnd): Corrected argument.
8423 * java/awt/dnd/DragSourceListener.java.java
8424 (dragExit): Corrected argument.
8425 (dragDropEnd): Corrected argument.
8426 * java/awt/font/TextHitInfo.java
8427 (toString): Added stubbed implementation.
8428 * java/awt/geom/PathIterator.java:
8429 The constants must be static.
8430 * java/awt/image/VolatileImage.java
8431 (IMAGE_INCOMPATIBLE): Fixed typo.
8432 * java/awt/image/renderable/RenderableImage.java
8433 (HINTS_OBSERVED): Must be static.
8434 * java/beans/BeanInfo.java:
8435 Constants must be final.
8437 2002-11-06 Tom Tromey <tromey@redhat.com>
8439 From svens@it.uu.se. For PR libgcj/8481.
8440 * java/util/Random.java (nextInt(int)): Only use 31 bits.
8442 2002-11-06 Tom Tromey <tromey@redhat.com>
8444 * jni.cc (array_from_valist): Assume that jlong won't be
8447 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
8449 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
8451 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
8454 2002-11-03 Tom Tromey <tromey@redhat.com>
8456 * java/lang/ClassLoader.java (loadClass): Call loadClass on
8457 VMClassLoader, not findClass.
8459 2002-11-03 Jeff Sturm <jsturm@one-point.com>
8461 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
8462 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
8463 _Jv_DetermineVTableIndex, to determine vtable offset.
8464 (_Jv_DetermineVTableIndex): Remove.
8465 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
8467 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
8469 2002-11-03 Tom Tromey <tromey@redhat.com>
8471 * java/nio/channels/AlreadyConnectedException.java: Extend
8472 IllegalStateException, per spec.
8474 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
8476 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
8478 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
8480 * java/util/ArrayList.java (readObject, writeObject): Only read/write
8483 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
8485 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
8486 initial estimated size to avoid enlarge buffer frequently.
8488 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
8490 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
8491 ClassLoader when null.
8492 (ProxyType.hashCode): Loader null check no longer needed.
8493 (ProxyType.sameTypes): New method.
8494 (ProxyType.equals): Use new method.
8496 2002-10-31 Mark Wielaard <mark@klomp.org>
8498 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
8500 * java/net/URLEncoder.java (encode): Likewise.
8502 2002-10-31 Mark Wielaard <mark@klomp.org>
8504 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
8505 when stream is closed.
8506 (closeEntry): Likewise.
8508 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
8509 ZipException when no entry active.
8510 (closeEntry): Likewise.
8513 2002-11-02 Tom Tromey <tromey@redhat.com>
8515 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
8516 * java/lang/natClass.cc (initializeClass): Don't return just
8517 because self==thread.
8520 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
8521 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
8523 2002-11-02 Andreas Schwab <schwab@suse.de>
8525 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
8527 (FLAGS_TO_PASS): Define.
8528 * Makefile.in: Regenerated.
8530 2002-11-01 Michael Koch <konqueror@gmx.de>
8532 * java/nio/ByteOrder.java: New file.
8533 * java/nio/channels/DatagramChannel.java:
8534 (DatagramChannel): New constructor.
8535 * java/nio/channels/Pipe.java: New file.
8536 * java/nio/channels/SelectableChannel.java: New file.
8537 * java/nio/channels/SelectionKey.java: New file.
8538 * java/nio/channels/Selector.java: New file.
8539 * java/nio/channels/ServerSocketChannel.java
8540 (ServerSocketChannel): New constructor.
8541 * java/nio/channels/SocketChannel.java
8542 (SocketChannel): New constructor.
8543 * java/nio/channels/Pipe.java: New file.
8544 * java/nio/channels/spi/AbstractChannel.java: New file.
8545 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
8546 * java/nio/channels/spi/AbstractSelectableChannel.java:
8548 (AbstractSelectableChannel): New stubbed method.
8549 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
8550 * java/nio/channels/spi/AbstractSelector.java: New file.
8551 * java/nio/channels/spi/SelectorProvider.java: New file.
8552 * java/nio/charset/Charset.java: New file.
8553 * java/nio/charset/CoderMalfunctionError.java: New file.
8554 * java/nio/charset/CodingErrorAction.java: New file.
8555 * java/nio/charset/spi/CharsetProvider.java
8556 (charsetForName): Uncommented.
8557 * Makefile.am (java_native_source_files): Added new files.
8558 * Makefile.in: Regenerated.
8560 2002-11-01 Michael Koch <konqueror@gmx.de>
8562 * java/net/InetAddress.java:
8563 (isAnyLocalAddress): Implemented.
8564 (isLoopbackAddress): Implemented, comment added.
8565 (isLinkLocalAddress): Implemented, documentation added.
8566 (isSiteLocalAddress): Implemented, documentation added.
8567 (isMCGlobal): Implemented, documentation added.
8568 (isMCNodeLocal): Implemented, documentation added.
8569 (isMCLinkLocal): Implemented, documentation added.
8570 (isMCSiteLocal): Implemented, documentation added.
8571 (isMCOrgLocal): Implemented, documentation added.
8572 (getHostName): Documentation added.
8573 (getCanonicalHostName): Implemented, documentation added.
8574 (getAddress): Documentation added.
8575 (hashCode): Documentation added.
8576 (equals): Documentation added.
8577 (toString): Fixed implementation.
8578 (getByAddress): Use Inet4Address and Inet6Address.
8579 (lookup): New linewrap.
8580 (getByName): SecurityManager check added, support Inet4Address and
8581 Inet6address, comments added.
8582 (getAllByName): SecurityManager check added, comments added.
8583 * java/net/Inet6Address.java:
8584 (Inet6Address): Initialize parent class with addr instead of null.
8586 (equals): Documentation added.
8587 (getFile): Documentation added.
8588 (hashCode): Documentation added.
8589 * java/net/natInetAddress.cc:
8590 (aton): Fix IPv6 support.
8591 * java/net/natPlainDatagramSocketImpl.cc:
8592 (peek): Throw PortUnreachableException when suitable.
8593 (peekData): Throw PortUnreachableException when suitable.
8594 (send): Throw PortUnreachableException when suitable.
8595 (receive): Throw PortUnreachableException when suitable.
8597 2002-10-27 Mark Wielaard <mark@klomp.org>
8599 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8601 (readLeShort): Likewise and use byte[].
8602 (readLeInt): Likewise.
8603 (readEntries): Use new versions of methods and use byte[] for reading
8604 a complete zip entry. Add ZipFile name to exceptions.
8605 (entries): Add ZipFile name to exceptions.
8606 (getEntry): Likewise.
8607 (checkLocalHeader): Use new versions of methods and add ZipFile name
8610 2002-10-31 Mark Anderson <mark@panonet.net>
8612 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8615 2002-10-25 Krister Walfridsson <cato@df.lth.se>
8617 * configure.in: Disable hash sync when not using threads.
8618 * configure: Regenerated.
8620 2002-10-24 Tom Tromey <tromey@redhat.com>
8622 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8623 (_Jv_FindSymbolInExecutable): Removed argument name.
8624 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8625 java.library.path is set.
8627 * gij.cc (help): Document --showversion.
8628 (version): Don't exit.
8629 (main): Handle --showversion. Exit if --version given.
8631 2002-10-23 Tom Tromey <tromey@redhat.com>
8633 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8634 (array_from_valist): Correctly handle promotion for jint, jlong,
8635 jfloat, and jdouble.
8637 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
8639 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8640 GetFileAttributesEx( ) to find file length and modification times,
8641 as the latter is not present on Windows 95.
8643 2002-10-21 Michael Koch <konqueror@gmx.de>
8646 (URL): Activate SecurityManager checks.
8647 (equals): Use URLStreamHandler implementation instead of doing it
8648 alone. This allows special protocol stream handlers to change default
8650 (hashCode): Use URLStreamHandler implementation instead of doing it
8651 alone. This allows special protocol stream handlers to change default
8653 * java/net/URLStreamHandler.java
8654 (equals): Implemented default URL equality check.
8655 (hostsEqual): Implemented default URL equality check.
8656 (hashCode): Implemented default URL hashCode algorithm.
8657 * java/net/natPlainDatagramSocketImpl.cc:
8658 No lines longer then 80 characters.
8660 2002-10-20 Adam Megacz <adam@xwt.org>
8662 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8663 * configure.in: enabled hash sync on Win32
8664 * include/win32-threads.h (_Jv_ThreadId_t): added.
8665 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8666 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8667 removed some posix-isms, use Thread::sleep() instead of usleep,
8668 added code to clear bottom three bits if platform has a broken
8670 * include/win32-threads.h (_Jv_ThreadId_t): added.
8672 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
8674 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8675 runtime property "gnu.gcj.progname" containing the name used to
8676 invoke the current Java program (similar to argv[0] for C
8679 2002-10-15 Tom Tromey <tromey@redhat.com>
8681 Fix for PR libgcj/8234:
8682 * java/util/zip/natInflater.cc (reset): Reset avail_in.
8683 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8685 2002-10-13 Mark Wielaard <mark@klomp.org>
8687 * mauve-libgcj: Enable Mauve tests that compile now.
8689 2002-10-11 Mark Wielaard <mark@klomp.org>
8691 Fix for PR libgcj/8142
8692 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8693 loading native modules.
8695 2002-10-10 Michael Koch <konqueror@gmx.de>
8697 * javax/swing/AbstractListModel.java
8698 (getListDataListeners): New stubbed method.
8699 javax/swing/DefaultBoundedRangeModel.java
8700 (getChangeListeners): New stubbed method.
8701 javax/swing/DefaultSingleSelectionModel.java
8702 (getChangeListeners): New stubbed method.
8704 2002-10-10 Michael Koch <konqueror@gmx.de>
8706 * gcj/.cvsignore: New file to ignore files generated during build.
8707 * include/.cvsignore: New file to ignore files generated during build.
8709 2002-10-10 Michael Koch <konqueror@gmx.de>
8711 * java/net/HttpURLConnection.java
8712 (getPermission): New method.
8713 (getErrorStream): New stub method.
8714 (getHeaderFieldDate): New stub method.
8715 * java/net/Inet4Address.java:
8716 (isLinkLocalAddress): Typo fixed.
8717 * java/net/InetAddress.java:
8718 (readResolve): New stubbed method (for serialization).
8719 (isAnyLocalAddress): New stubbed method.
8720 (isLoopbackAddress): New stubbed method.
8721 (isLinkLocalAddress): New stubbed method.
8722 (isSiteLocalAddress): New stubbed method.
8723 (isMCGlobal): New stubbed method.
8724 (isMCNodeGlobal): New stubbed method.
8725 (isMCLinkLocal): New stubbed method.
8726 (isMCSiteLocal): New stubbed method.
8727 (isMCOrgLocal): New stubbed method.
8728 (getCanonicalHostName): New stubbed method.
8729 (getByAddress): Create instances of Inet4Address/Inet6Address,
8730 instead of InetAddress, documentation added.
8731 * java/net/MulticastSocket.java
8732 (getInterface): Removed FIXME.
8733 (getNetworkInterface): New method.
8734 (setNetworkInterface): New method.
8735 * java/net/NetworkInterface.java:
8736 (toString): Use property "line.separator" instead of "\n".
8737 * java/net/URLConnection.java
8738 (getContent): New stubbed method.
8739 * java/net/URLStreamHandler.java:
8740 (equals): New stubbed method.
8741 (hostsEqual): New stubbed method.
8742 (hashCode): New stubbed method.
8743 * java/net/natNetworkInterface.cc:
8744 (getRealNetworkInterfaces): Create Inet4Address object
8745 instead of InetAddress.
8747 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8749 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8750 unsigned long temporary to implement insn_iushr shifts.
8752 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8754 * configure.host [s390*-*]: Enable Java interpreter.
8755 Enable hash synchronization. Add sysdeps dir.
8756 * sysdep/s390/locks.h: New file.
8758 2002-10-06 Mark Wielaard <mark@klomp.org>
8760 * java/lang/Thread.java (setDaemon): Check startable_flag,
8763 2002-10-07 Michael Koch <konqueror@gmx.de>
8765 * java/nio/Buffer.java: New stub file.
8766 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8768 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8769 * Makefile.in: Regenerated.
8771 2002-10-07 Michael Koch <konqueror@gmx.de>
8773 * java/nio/ByteBuffer.java:
8774 removed import of not commited class.
8776 2002-10-07 Michael Koch <konqueror@gmx.de>
8778 * java/nio/ByteBuffer.java,
8779 java/nio/MappedByteBuffer.java:
8780 New files, forgot to add these dummies.
8781 * Makefile.am (java_native_source_files): Added new files.
8782 * Makefile.in: Regenerated.
8784 2002-10-07 Michael Koch <konqueror@gmx.de>
8786 * java/nio/channels/AlreadyConnectedException.java,
8787 java/nio/channels/ClosedChannelException.java,
8788 java/nio/channels/ReadableByteChannel.java,
8789 java/nio/channels/InterruptibleChannel.java,
8790 java/nio/channels/Channel.java,
8791 java/nio/channels/ByteChannel.java,
8792 java/nio/channels/GatheringByteChannel.java,
8793 java/nio/channels/ScatteringByteChannel.java,
8794 java/nio/channels/WritableByteChannel.java,
8795 java/nio/charset/CharacterCodingException.java,
8796 java/nio/charset/IllegalCharsetNameException.java,
8797 java/nio/charset/MalformedInputException.java,
8798 java/nio/charset/UnmappableCharacterException.java,
8799 java/nio/charset/UnsupportedCharsetException.java,
8800 java/nio/charset/spi/CharsetProvider.java: New file.
8801 These files are exceptions or interfaces,
8802 no real or abstract classes.
8803 * Makefile.am (java_native_source_files): Added new files.
8804 * Makefile.in: Regenerated.
8806 2002-10-05 Michael Koch <konqueror@gmx.de>
8808 * java/net/InetAddress.java
8809 (getByAddress): Fixed documentation.
8810 (getByAddress): New method.
8811 * java/net/Inet4Address.java: New file.
8813 (URL): Documentation added.
8814 (getContent): Documentation added.
8815 (getContent): New stubbed method.
8816 (getQuery): New method.
8817 (openConnection): Documentation added.
8818 (openStream): Documentation added.
8819 (setURLStreamHandlerFactory): Documentation added.
8820 * java/net/URI.java: New stub file.
8822 (java_native_source_files): Added java/net/Inet4Address.java,
8823 java/net/Inet6Address.java and java/net/URI.java.
8824 * Makefile.in: Regenerated.
8826 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8828 * java/lang/ProtectionDomain.java (linesep): Remove field.
8829 (toString): Use System.getProperty("line.separator").
8831 2002-10-04 Michael Koch <konqueror@gmx.de>
8833 * java/security/Identity.java: Added serialVersionUID.
8834 * java/security/KeyPair.java: Added serialVersionUID.
8835 * java/security/Provider.java: Added serialVersionUID.
8836 * java/security/SecureRandom.java: Added serialVersionUID.
8837 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8838 * java/security/SignedObject.java: Added serialVersionUID.
8839 * java/security/cert/Certificate.java: Added serialVersionUID.
8841 2002-10-04 Mark Wielaard <mark@klomp.org>
8843 * java/security/Security.java: Use java.home or gnu.classpath.home
8845 (loadProviders): Extra dir argument.
8846 (getProvider): Return null when not found.
8848 2002-10-04 Mark Wielaard <mark@klomp.org>
8850 * java/lang/Throwable.java: Remerge with Classpath.
8852 2002-10-04 Michael Koch <konqueror@gmx.de>
8854 * java/net/InetAddress.java:
8855 (isMulticastAddress): Added documentation.
8856 (getHostAddress): Added documentation.
8857 (toString): Added documentation.
8858 (getByAddress): Fixed documentation.
8859 (getByName): Added documentation.
8860 (getAllByName): Added documentation.
8861 (getLocalHost): Added documentation.
8863 2002-10-04 Michael Koch <konqueror@gmx.de>
8865 * java/beans/beancontext/BeanContextChildSupport.java:
8866 Added serialVersionUID.
8867 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8868 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8869 * javax/naming/Name.java: Added serialVersionUID.
8871 2002-10-03 Adam Megacz <adam@xwt.org>
8873 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8874 some functionality that isn't supported yet on WIN32.
8876 2002-10-03 Tom Tromey <tromey@redhat.com>
8878 * Makefile.in: Rebuilt.
8879 * Makefile.am (awt_java_source_files): Added new files.
8881 2002-10-03 Michael Koch <konqueror@gmx.de>
8883 * java/net/InetAddress.java
8884 (class InetAddress): Removed final keyword.
8885 (equals): Fixed typo.
8886 (getByAddress): New method.
8888 2002-10-03 Michael Koch <konqueror@gmx.de>
8890 * java/awt/dnd/Autoscroll.java:
8891 New file, merge from Classpath.
8892 * java/awt/dnd/DragSourceAdapter.java:
8893 (dragExit): Fixed typos in argument type.
8894 (dragDropEnd): Fixed typos in argument type.
8895 * java/awt/dnd/DragSourceDropEvent.java:
8896 New file, merge from Classpath.
8897 * java/awt/dnd/DropTarget.java:
8898 Added stubs, merge from Classpath.
8899 * java/awt/dnd/DropTargetAdapter.java:
8900 New file, merge from Classpath.
8901 * java/awt/dnd/DropTargetContext.java:
8902 New file, merge from Classpath.
8903 * java/awt/dnd/DropTargetDragEvent.java:
8904 New file, merge from Classpath.
8905 * java/awt/dnd/DropTargetDropEvent.java:
8906 New file, merge from Classpath.
8907 * java/awt/dnd/DropTargetEvent.java:
8908 New file, merge from Classpath.
8909 * java/awt/dnd/DropTargetListener.java:
8910 New file, merge from Classpath.
8911 * java/awt/dnd/MouseDragGestureRecognizer.java:
8912 New file, merge from Classpath.
8913 * java/awt/dnd/peer/DropTargetContextPeer.java:
8914 New file, merge from Classpath.
8916 2002-10-03 Michael Koch <konqueror@gmx.de>
8918 * java/net/DatagramPacket.java
8919 (setLength): Fixed typo and be HTML-aware.
8920 * java/net/InetSocketAddress.java
8921 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8922 (equals): Added comment about equality of InetSocketAddress objects.
8923 * java/net/ServerSocket.java
8924 (accept): Added checks.
8925 (isClosed): New stubbed method.
8926 * java/net/SocketOptions.java: Reindention.
8927 * java/net/SocketPermission
8928 (SocketPermission): Documentation fixed.
8930 2002-10-03 Michael Koch <konqueror@gmx.de>
8932 * java/net/DatagramSocket.java
8933 (receive): Check with SecurityManager AFTER the packet is received,
8934 check if connected to multicast address, documentation added.
8935 (send): Only check SecurityManager if connected, check address of
8937 (connect): Implemented, documentation added.
8938 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8939 * java/net/InetSocketAddress.java
8940 (whole file): Reindented.
8941 (hostname): New attribute.
8942 (InetSocketAddress): Initialize new attribute.
8943 (getAddress): Documentation added.
8944 (getHostName): Documentation added.
8945 (getPort): Documentation added.
8946 (hashCode): Documentation added.
8947 (isUnresolved): Documentation added.
8948 (toString): Conform to output of JDK 1.4.1, documentation added.
8949 * java/net/MulticastSocket.java
8950 (joinGroup): Removed FIXME, documentation added.
8951 (leaveGroup): Removed FIXME, documentation added.
8952 (send): Documentation added.
8953 * java/net/Socket.java
8954 (inputShutdown): New variable.
8955 (outputShutdown): New variable.
8956 (Socket): Initialize new variables.
8957 (getRemoteSocketAddress): Check if connected.
8958 (shutdownInput): Set new variable.
8959 (shutdownOutput): Set new variable.
8960 (isConnected): New method.
8961 (isClosed): New method.
8962 (isInputShutdown): New method.
8963 (isOutputShutdown): New method.
8964 * java/net/URLStreamHandler.java
8965 (URLStreamHandler): New method.
8966 (openConnection): Added documentation.
8967 (parseURL): Added documentation.
8968 (getHostAddress): New method.
8969 (getDefaultPort): New method.
8971 2002-10-02 Tom Tromey <tromey@redhat.com>
8973 * java/rmi/activation/ActivationDesc.java,
8974 java/rmi/activation/ActivationGroupDesc.java,
8975 java/rmi/activation/ActivationGroupID.java,
8976 java/rmi/activation/ActivationID.java: New versions from
8979 2002-09-30 Bo Thorsen <bo@suse.de>
8981 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8983 2002-09-30 Tom Tromey <tromey@redhat.com>
8985 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8987 * Makefile.in: Rebuilt.
8988 * Makefile.am (rmi_java_source_files): Added new files.
8989 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8990 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8991 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8993 * gnu/java/rmi/dgc/DGCImpl.java,
8994 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8995 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8996 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8997 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8998 gnu/java/rmi/server/RMIHashes.java,
8999 gnu/java/rmi/server/RMIObjectInputStream.java,
9000 gnu/java/rmi/server/RMIObjectOutputStream.java,
9001 gnu/java/rmi/server/UnicastConnection.java,
9002 gnu/java/rmi/server/UnicastConnectionManager.java,
9003 gnu/java/rmi/server/UnicastRef.java,
9004 gnu/java/rmi/server/UnicastServer.java,
9005 gnu/java/rmi/server/UnicastServerRef.java,
9006 java/rmi/MarshalledObject.java,
9007 java/rmi/server/RMIClassLoader.java,
9008 java/rmi/server/RemoteObject.java,
9009 java/rmi/server/UnicastRemoteObject.java,
9010 java/security/SecureClassLoader.java: Merged from Classpath.
9012 2002-09-29 Anthony Green <green@redhat.com>
9014 * java/lang/reflect/UndeclaredThrowableException.java: New file.
9015 Imported from GNU Classpath.
9016 * java/lang/reflect/natProxy.cc: New file.
9017 * java/lang/reflect/InvocationHandler.java: New file. Imported
9019 * java/lang/reflect/Proxy.java: New file. Imported from GNU
9021 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
9023 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
9024 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
9026 * gcj/javaprims.h ("Java"): Add new classes.
9027 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
9028 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
9029 java/lang/reflect/Proxy$$ProxyType.h): And this.
9030 (inner_nat_headers): Add these new headers.
9031 (ordinary_java_source_files): Add new files.
9032 (nat_source_files): Add new file.
9033 * Makefile.in: Rebuilt.
9035 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
9037 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
9038 a single configuration.
9040 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9042 * java/util/TimeZone.java (getDSTSavings): New method.
9043 Fixes PR libgcj/7786.
9045 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9047 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
9048 to see if `the_method == 0' before looking up vtable index.
9049 Fixes PR libgcj/7709.
9051 2002-09-25 Tom Tromey <tromey@redhat.com>
9053 * java/lang/natClassLoader.cc:
9054 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
9055 * resolve.cc: Include NoClassDefFoundError.h, not
9056 ClassNotFoundException.h.
9057 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
9059 * defineclass.cc: Don't include ClassNotFoundException.h.
9061 * resolve.cc: Include StringBuffer.
9062 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
9064 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
9065 allocated but not initialized.
9067 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9069 Fix for PR libgcj/7766:
9070 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
9071 (getNextEntry): Set it.
9072 (closeEntry): Likewise.
9075 (available): Use it.
9077 2002-09-25 Michael Koch <konqueror@gmx.de>
9079 * java/net/DatagramSocket.java
9080 (DatagramSocket): Initialize new instance variables.
9081 (close): Reset new instance variables.
9082 (getLocalAddress): Remove unneeded SecurityManager usage.
9083 (getLocalPort): Check if socket is already bound.
9084 (isConnected): New method.
9085 (getInetAddress): Implemented.
9086 (getPort): Better Implementation, documentation fixed.
9087 (getRemoteSocketAddress): New method.
9088 * java/net/JarURLConnection.java
9089 (element): Typo fixed.
9090 (getMainAttributes): New method.
9091 (getAttributes): New method (stub only).
9092 (getManifest): New method (stub only).
9093 * java/net/NetPermission.java: Added serialVersionsUID.
9094 * java/net/Socket.java
9095 (connect): Check blocking mode of associated channel,
9096 documentation added.
9097 (getLocalSocketAddress): Better implementation.
9098 (getRemoteSocketAddress): Implemented.
9099 (isBound): New method.
9100 (setSendBufferSize): Documentation added.
9101 * java/net/SocketAddress.java: Added serialVersionsUID.
9102 * java/net/SocketPermission.java: Added serialVersionsUID.
9104 (URL): Wrap for shorter lines, initialize new instance variables,
9105 documentation added.
9106 (equals): Check new instance variables too.
9107 (getContent): Documentation added.
9108 (getPath): Documentation added.
9109 (getAuthority): New method.
9110 (getHost): Documentation added.
9111 (getPort): Documentation added.
9112 (getDefaultPort): New method.
9113 (getProtocol): Documentation added.
9114 (getUserInfo): Documentation added.
9115 (set): Initialize new instance variables, documentation added.
9116 * java/net/URLStreamHandler.java
9117 (setURL): New method.
9118 * java/net/natPlainDatagramSocketImpl.cc
9119 (connect): Fix exception name.
9120 (disconnect): Fix exception name.
9122 2002-09-25 Michael Koch <konqueror@gmx.de>
9124 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
9125 * java/nio/channels/DatagramChannel.java:
9126 extends AbstractSelectableChannel
9127 * java/nio/channels/ServerSocketChannel.java:
9128 extends AbstractSelectableChannel
9129 * java/nio/channels/SocketChannel.java:
9130 extends AbstractSelectableChannel
9131 * Makefile.am (ordinary_java_source_files):
9132 java/nio/channels/spi/AbstractSelectableChannel.java added.
9133 * Makefile.in: Regenerated.
9135 2002-09-25 Michael Koch <konqueror@gmx.de>
9137 * java/net/DatagramSocket.java
9138 (DatagramSocket): Exception documentation added.
9139 (bind): Exception documentation added, addded SecurityManager check,
9140 added SocketAddress type check.
9141 (getSoTimeout): Check impl.
9142 (receive): Fix SecurityManager check, check impl, documentation added.
9143 (send): Check channel mode, documentation added.
9144 (connect): New method.
9145 (disconnect): Implemented.
9146 (getLocalSocketAddress): New method.
9147 (getReceiveBufferSize): Check impl.
9148 (setReuseAddress): Check impl.
9149 (getReuseAddress): Check impl.
9150 (setBroadcast): Check impl.
9151 (getBroadcast): Check impl.
9152 (setTrafficClass): Check impl, Documentation cleared.
9153 (getTrafficClass): Check impl.
9154 (getSendBufferSize): Check impl.
9155 (setReceiveBufferSize): Check impl, documentation added.
9156 (setSendBufferSize): Documentation added.
9157 (setDatagramSocketImplFactory): New method.
9158 * java/net/HttpURLConnection.java
9159 (HTTP_INTERNAL_ERROR): The correct code is 500.
9160 (HTTP_NOT_IMPLEMENTED): Added new constant.
9161 (setFollowRedirects): Documentation added.
9162 (getInstanceFollowRedirects): New method.
9163 (setInstanceFollowRedirects): New method.
9164 (setRequestMethod): Documentation added.
9165 (getResponseCode): Documentation added.
9166 (getResponseMessage): Documentation added.
9167 * java/net/JarURLConnection.java
9168 (JarURLConnection): protected since JDK 1.4.
9169 (getJarEntry): java.io.IOException to IOException, documentation added.
9170 (getJarFile): Documentation added.
9171 * java/net/ServerSocket.java
9172 (ServerSocket): Private to public, exception added.
9173 (ServerSocket): java.io.IOException to IOException, documentation added.
9174 (bind): Check socket address type, documentation added.
9175 (bind): java.io.IOException to IOException, documentation added.
9176 (accept): Documentation added.
9177 (implAccept): Check ch is not non-blocking, documentation added.
9178 (setSoTimeout): Documentation fixed.
9179 (setReceiveBufferSize): Documentation added.
9180 * java/net/Socket.java
9181 (Socket): Documentation added.
9182 (bind): Documentation added.
9183 (connect): Check socket address type, documentation added.
9184 (getRemoteSocketAddress): New method.
9185 (getLocalSocketAddress): New method.
9186 (setSoLinger): Documentation added.
9187 (getReuseAddress): New method.
9188 (setReuseAddress): New method.
9189 (getTrafficClass): New method.
9190 (setTrafficClass): New method.
9191 * java/net/URLStreamHandler.java
9192 (openConnection): java.io.IOException to IOException.
9193 (parseURL): Documentation added.
9194 (sameFile): public to protected, documentation added.
9195 (setURL): Documentation added.
9196 * java/nio/IllegalBlockingModeException.java: New file.
9197 * Makefile.am (ordinary_java_source_files):
9198 added java/nio/IllegalBlockingModeException.java
9199 * Makefile.in: Regenerated.
9201 2002-09-25 Michael Koch <konqueror@gmx.de>
9203 * java/net/DatagramPacket
9204 (DatagramPacket): Exception documentation added.
9205 (setData): Likewise.
9206 (setSocketAddress): Likewise.
9207 * java/net/DatagramSocketImpl.java
9208 (peek): Documentation addded.
9209 (peekData): Documentation addded.
9210 (send): Documentation addded.
9211 (receive): Documentation addded.
9212 (connect): New method.
9213 (disconnect): New method.
9214 (joinGroup): New abstract method.
9215 (leaveGroup): New abstract method.
9216 * java/net/InetSocketAddress.java
9217 (InetSocketAddress): Documentation added.
9218 (equals): final keyword added.
9219 (getAddress): final keyword added.
9220 (getHostName): final keyword added.
9221 (getPort): final keyword added.
9222 (hashCode): final keyword added.
9223 (isUnresolved): final keyword added.
9224 * java/net/MulticastSocket.java
9225 (MulticastSocket): Documentation added.
9226 (MulticastSocket): New method.
9227 (joinGroup): Documentation added.
9228 (joinGroup): New method.
9229 (leaveGroup): Documentation added.
9230 (leaveGroup): New method.
9231 (send): Documentation added.
9232 * java/net/NetworkInterface.java
9233 (getByName): Documentation added.
9234 (getByInetAddress): Documentation added.
9235 (getNetworkInterfaces): Documentation added.
9236 * java/net/PlainDatagramSocketImpl.java
9237 (connect): New method.
9238 (disconnect): New method.
9239 * java/net/SocketImpl.java
9240 (create): Documentation added.
9241 (shutdownInput): Convert public to protected, as it always was.
9242 (shutdownOutput): Convert public to protected, as it always was.
9243 * java/net/SocketOptions.java
9244 (whole file): Reintented.
9245 * java/net/URLClassLoader.java
9246 (URLClassLoader): SecurityManager check added, documentation added.
9247 (findResources): Documentation added.
9248 (findClass): Documentation added.
9249 (newInstance): More correct method arguments.
9250 * java/net/URLConnection.java
9251 (connect): Documentation added.
9252 (getContent): Documentation added.
9253 (getPermission): Documentation added.
9254 (getInputStream): Documentation added.
9255 (getOutputStream): Documentation added.
9256 (setDoInput): Throw correct exception, documentation added.
9257 (setDoOutput): Throw correct exception, documentation added.
9258 (setAllowUserInteraction): Throw correct exception, documentation added.
9259 (setUseCaches): Throw correct exception, documentation added.
9260 (setIfModifiedSince): Throw correct exception, documentation added.
9261 (setRequestProperty): Throw exception, documentation added.
9262 (addRequestProperty): Throw exception, documentation added.
9263 (getRequestProperty): Throw exception, documentation added.
9264 (getRequestProperties): Documentation added.
9265 (setContentHandlerFactory): Documentation added.
9266 (guessContentTypeFromName): protected to public.
9267 (setFileNameMap): Documentation added.
9268 * java/net/URLDecoder.java
9269 (URLDecoder): New method.
9270 (decode): Documentation added.
9271 (whole file): Reindented.
9272 * java/net/URLEncoder.java
9273 (encode): Documentation added.
9274 * java/net/natPlainDatagramSocketImpl.cc
9275 (connect): New method.
9276 (disconnect): New method.
9277 * javax/naming/RefAddr:
9278 (addrType): addrType was never final.
9279 (equals): Fix typo in method name.
9280 * javax/naming/BinaryRefAddr:
9281 (equals): Fix typo in method name.
9283 2002-09-22 Tom Tromey <tromey@redhat.com>
9285 Fix for PR libgcj/6576:
9286 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
9287 didn't find a given bundle.
9288 (getBundle): Don't require base bundle.
9289 (setParent): Removed old comment.
9290 (tryLocalBundle): Try components even if preceding components were
9293 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9295 * Makefile.am (all-multi): Fix multilib parallel build.
9297 2002-09-21 Michael Koch <konqueror@gmx.de>
9299 * java/net/Socket.java
9300 (sendUrgentData): New method.
9301 (getChannel): New method.
9302 * java/net/ServerSocket.java
9303 (getChannel): New method.
9304 (isBound): New method.
9305 * java/net/DatagramSocket.java
9306 (DatagramSocket): Two new methods.
9308 (getChannel): New method.
9309 (isBound): New method.
9310 (send): Added newline to to make shorter lines.
9311 * java/net/PlainDatagramSocketImpl.java
9312 (mcastGrp): Added argument.
9313 (join): Use new mcastGrp.
9314 (leave): Use new mcastGrp.
9315 (joinGroup): New method.
9316 (leaveGroup): New method.
9317 * java/net/natPlainDatagramSocketImpl.cc
9318 (mcastGrp): Added argument, no yet really implemented.
9319 (getOption): Added newline for shorter lines.
9320 * java/net/natPlainSocketImpl.cc
9321 (read, setOption, getOption): Added newline for shorter lines.
9323 2002-09-19 Tom Tromey <tromey@redhat.com>
9325 * java/lang/ClassLoader.java (resolveClass0): Set cause for
9326 newly-created exception.
9328 2002-09-18 Michael Koch <konqueror@gmx.de>
9330 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9331 java/util/regex/PatternSyntaxException.java:
9332 Merge with classpath, new files.
9333 * Makefile.am (core_java_source_files):
9334 Added java/util/regex/Matcher.java,
9335 java/util/regex/Pattern.java,
9336 java/util/regex/PatternSyntaxException.java
9337 * Makefile.in: Regenerated.
9338 * include/config.h.in: Added HAVE_NET_IF_H.
9339 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
9340 Removed #if 0 ... #endif.
9342 2002-09-17 Michael Koch <konqueror@gmx.de>
9344 * java/net/natNetworkInterface.cc:
9345 Removed unneed and yet wrong includes.
9347 2002-09-17 Michael Koch <konqueror@gmx.de>
9349 * java/net/NetworkInterface.java: New file.
9350 * java/net/natNetworkInterface.java: New file.
9351 * configure.in: Added check for net/if.h.
9352 * configure: Regenerated.
9354 (ordinary_java_source_files): Added NetworkInterface.java.
9355 (nat_source_files): Added natNetworkInterface.cc.
9356 * Makefile.in: Regenerated.
9358 2002-09-16 Tom Tromey <tromey@redhat.com>
9360 * java/net/URLClassLoader.java (findClass): Code source for a
9361 class from a jar is not necessarily a jar: URL.
9363 2002-09-16 Michael Koch <konqueror@gmx.de>
9365 * java/lang/AssertionError.java:
9366 Merge with classpath, fixes HTML.
9367 * java/rmi/server/LogStream.java:
9368 Merge with classpath, fixes some constants.
9369 * java/net/server/RemoteServer.java:
9370 Merge with classpath, adds serialVersionUID.
9371 * javax/naming/BinaryRefAddr.java:
9372 Merge with classpath, s/equal/equals/.
9373 * javax/naming/NamingException.java:
9374 Merge with classpath, fixed typo.
9375 * javax/naming/RefAddr.java:
9376 Merge with classpath, s/equal/equals/.
9377 * java/awt/Toolkit.java:
9378 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
9381 2002-09-15 Adam Megacz <adam@xwt.org>
9383 * java/net/natPlainSocketImpl.cc: fixed typo.
9385 2002-09-15 Adam Megacz <adam@xwt.org>
9387 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
9388 which don't work on Win32 (yet).
9390 2002-09-14 Adam Megacz <adam@xwt.org>
9392 * java/net/natPlainDatagramSocket.cc: removed #include
9393 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
9394 * include/win32.h: included definition for IP_TOS to satisfy
9395 natPlainDatagramSocket.cc
9397 2002-09-13 Michael Koch <konqueror@gmx.de>
9399 * java/net/DatagramPacket.java (DatagramPacket):
9400 Added linebreak for 80 chars per line.
9401 * java/net/JarURLConection.java
9402 (getInputStreami, getJarEntry): Likewise.
9403 * java/net/SocketPErmission.java
9404 (SocketPermission class docu, implies): Likewise.
9405 * java/net/URLClassLoader.java (findResources): Likewise.
9406 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
9408 2002-09-13 Michael Koch <konqueror@gmx.de>
9410 * java/nio/channels/DatagramChannel.java,
9411 java/nio/channels/ServerSocketChannel.java
9412 java/nio/channels/SocketChannel.java:
9413 New dummy files to make java.net fully JDK 1.4 compatible
9414 * Makefile.am (ordinary_java_source_files): Added
9415 java/net/DatagramSocketImplFactory.java (long forgotten),
9416 java/nio/SocketChannel.java,
9417 java/nio/ServerSocketChannel.java,
9418 java/nio/DatagramChannel.java
9419 * Makefile.in: Regenrated.
9421 2002-09-12 Michael Koch <konqueror@gmx.de>
9423 * java/net/DatagramSocketImpl.java
9424 (peekData): New method.
9425 * java/net/PlainDatagramSocketImpl.java
9426 (peekData): New method.
9427 * java/net/natPlainDatagramSocketImpl.cc
9428 (peekData): New method.
9429 * java/net/URLConnection
9430 (getPermission): New method.
9431 (addRequestProperty): New method.
9432 (getRequestProperties): New method.
9433 (guessContentTypeFromStream): New method, not really implemented.
9434 (URLConnection): Added/updated documentation.
9435 (connect): Added/updated documentation.
9436 (getURL): Added/updated documentation.
9437 (getContentLength): Added/updated documentation.
9438 (getContentType: Added/updated documentation.
9439 (getContentEncoding): Added/updated documentation.
9440 (getExpiration): Added/updated documentation.
9441 (getDate): Added/updated documentation.
9442 (getLastModified): Added/updated documentation.
9443 (getHeaderField): Added/updated documentation.
9444 (getHeaderFields): Added/updated documentation.
9445 (getHeaderFieldInt): Added/updated documentation.
9446 (getHeaderFieldDate): Added/updated documentation.
9447 (getHeaderFieldKey): Added/updated documentation.
9448 (getContent): Added/updated documentation.
9449 (getInputStream): Added/updated documentation.
9450 (getOutputStream): Added/updated documentation.
9451 (toString): Added/updated documentation.
9452 (setDoInput): Added/updated documentation.
9453 (getDoInput): Added/updated documentation.
9454 (setDoOutput): Added/updated documentation.
9455 (getDoOutput): Added/updated documentation.
9456 (setAllowUserInteraction): Added/updated documentation.
9457 (getAllowUserInteraction): Added/updated documentation.
9458 (setDefaultAllowUserInteraction): Added/updated documentation.
9459 (getDefaultAllowUserInteraction): Added/updated documentation.
9460 (setUseCaches): Added/updated documentation.
9461 (getUseCaches): Added/updated documentation.
9462 (setIfModifiedSince): Added/updated documentation.
9463 (getIfModifiedSince): Added/updated documentation.
9464 (getDefaultUseCaches): Added/updated documentation.
9465 (setDefaultUseCaches): Added/updated documentation.
9466 (setRequestProperty): Added/updated documentation.
9467 (getRequestProperty): Added/updated documentation.
9468 (setDefaultRequestProperty): Added/updated documentation.
9469 (getDefaultRequestProperty): Added/updated documentation.
9470 (setContentHandlerFactory): Added/updated documentation.
9471 (guessContentTypeFromName): Added/updated documentation.
9472 (getFileNameMap): Added/updated documentation.
9473 (setFileNameMap): Added/updated documentation.
9475 2002-09-11 Michael Koch <konqueror@gmx.de>
9477 * java/net/Socket.java
9478 (Socket): protected to public (since JDK 1.4). Added @specnote.
9480 (connect): Two new methods.
9481 (getKeepalive): Get correct socket option.
9482 (setKeepalive): Set correct socket option.
9483 (getOOBInline): New method.
9484 (setOOBInline): New method.
9485 * java/net/ServerSocket.java
9486 (bind): Two new methods.
9487 (getInetAddress): Reimplemented, catch exception.
9488 (getLocalSocketAddress): New method.
9489 (setReuseAddress): New method.
9490 (getReuseAdress): New method.
9491 (setReceiveBufferSize): New method.
9492 (getReceiveBufferSize): New method.
9493 (toString): Made string JDK 1.4 compliant.
9495 2002-09-10 Michael Koch <konqueror@gmx.de>
9497 * java/net/SocketImpl.java
9498 (connect): New method.
9499 (supportsUrgentData): New method.
9500 (sendUrgentData): New method.
9501 * java/net/PlainSocketImpl.java
9502 (connect): One new method and two new implementation.
9503 (sendUrgentData): New method.
9504 * java/natPlainSocketImpl.cc
9505 (connect): Arguments changed, added support for timeouts.
9506 (getOption): Another __java_boolean to jboolean.
9508 2002-09-07 Adam Megacz <adam@xwt.org>
9510 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
9511 definition of IP_TOS.
9513 2002-09-04 Michael Koch <konqueror@gmx.de>
9515 * java/net/DatagramSocket.java
9516 (DatagramSocket): Added documentation.
9518 (getLocalAddress): Likewise.
9519 (getLocalPort): Likewise.
9520 (receive): Likewise.
9522 (setSoTimeout): Likewise.
9523 (connect): New method.
9524 (disconnect): New method.
9525 (getInetAddress): New method (FIXME)
9526 (getPort): New method.
9527 (setReuseAddress): New method.
9528 (getReuseAddress): New method.
9529 (setBroadcast): New method.
9530 (getBroadcast): New method.
9531 (setTrafficClass): New method.
9532 (getTrafficClass): New method.
9533 * java/net/MulticastSocket.java):
9534 (getTTL): Added @see in documentation.
9535 (setTTL): Added @see in documentation.
9536 (setLoopbackMode): New method.
9537 (getLoopbackMode): New method.
9538 * java/net/PlainSocketImpl.java:
9539 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9540 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9541 * java/net/PlainDatagramSocketImpl.java
9542 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9543 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9544 * java/net/natPlainSocketImpl.cc
9545 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9546 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9547 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9548 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9549 This should also fix SO_KEEPALIVE
9550 * java/net/natPlainDatagramSocketImpl.cc
9551 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9552 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9553 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9554 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9556 2002-09-04 Michael Koch <konqueror@gmx.de>
9558 * java/net/SocketOptions.java: added static variables to be JDK 1.4
9559 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
9560 IP_MULTICAST_LOOP, IP_TOS
9562 2002-09-03 Tom Tromey <tromey@redhat.com>
9564 * java/lang/Class.h (_getDeclaredMethod): Declare.
9565 (_getMethod): Now private.
9566 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
9567 getDeclaredMethod. Now returns NULL on failure.
9568 * java/lang/Class.java (_getDeclaredMethod): Declare.
9569 (getDeclaredMethod): No longer native; implements access checks.
9571 2002-09-01 Mark Wielaard <mark@klomp.org>
9573 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
9574 (sanitizeStack): Correctly reset unknown and interpreter counters,
9575 detect interpreter runtime frames.
9576 (demangleInterpreterMethod): New method.
9577 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
9578 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
9581 2002-09-02 Michael Koch <konqueror@gmx.de>
9583 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
9584 re-indented documentation.
9586 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9588 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
9589 public, per 1.4 spec. Fixes PR libgcj/7785.
9591 2002-08-30 Jeff Sturm <jsturm@one-point.com>
9593 * Makefile.in: Rebuilt.
9594 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
9596 2002-08-29 Tom Tromey <tromey@redhat.com>
9598 * java/net/JarURLConnection.java (getCertificates): New method
9600 * java/net/URLClassLoader.java (URLClassLoader): Extends
9602 (definePackage): New method from Classpath.
9603 (getPermissions): Likewise.
9604 (newInstance): Likewise.
9605 (findClass): Construct CodeSource for new class (from Classpath).
9606 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9608 * java/net/URL.java (getUserInfo): New method.
9609 (set(String,String,int,String,String,String,String,String)): New
9611 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9612 (shutdownInput, shutdownOutput): Declare.
9613 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9615 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9616 (getOption): Likewise.
9617 (shutdownInput): New method.
9618 (shutdownOutput): Likewise.
9619 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9621 (getOption): Likewise.
9622 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9623 * java/net/Socket.java (setKeepAlive): New method.
9624 (getKeepAlive): Likewise.
9625 (shutdownInput, shutdownOutput): New methods.
9627 2002-08-29 Michael Koch <konqueror@gmx.de>
9629 * java/net/DatagramPacket.java: updated to JDK 1.4 API
9631 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9633 DatagramPacket(byte[] buf, int length, SocketAddress address),
9634 void setSocketAddress(SocketAddress address)
9635 public SocketAddress getSocketAddress()
9637 2002-08-29 Tom Tromey <tromey@redhat.com>
9639 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9640 ftruncate is missing.
9641 * configure, include/config.h.in: Rebuilt.
9642 * acconfig.h (HAVE_FTRUNCATE): Mention.
9643 * configure.in: Check for ftruncate.
9645 2002-08-29 Tom Tromey <tromey@redhat.com>
9647 * include/jvm.h (struct _Jv_frame_info): New structure.
9648 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9650 (lookupInterp): New method.
9651 (getAddrAsString): Use _Jv_frame_info.
9652 (dladdrLookup): Likewise.
9653 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9655 (lookupInterp): Declare.
9656 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9657 (fillInStackTrace): Collect information on interpreted frames.
9659 * interpret.cc: Include Thread.h.
9660 (run): Create and push _Jv_MethodChain object.
9661 (_Jv_EndOfInterpreter): New global.
9662 * java/lang/Thread.java (interp_frame): New field.
9663 * include/java-interp.h (struct _Jv_MethodChain): New structure.
9664 Include NameFinder.h.
9666 2002-08-28 Tom Tromey <tromey@redhat.com>
9668 * java/lang/Class.h: Include Package.h.
9669 (Class::getProtectionDomain): Declare.
9670 (Class::getPackage): Declare.
9672 2002-08-28 Michael Koch <konqueror@gmx.de>
9674 * java/net/InetSocketAddress.java: Added some documentation and argument
9675 checks for the port numbers.
9676 * java/net/DatagramSocketImplFactory.java: New file.
9678 2002-08-28 Michael Koch <konqueror@gmx.de>
9680 * java/net/Authenticator.java: added some documentation.
9682 2002-08-27 Tom Tromey <tromey@redhat.com>
9684 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9686 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9688 2002-08-27 Michael Koch <konqueror@gmx.de>
9690 * java/net/BindException.java,
9691 java/net/JarURLConnection.java,
9692 java/net/FileNameMap.java,
9693 java/net/HttpURLConnection.java,
9694 java/net/InetSocketAddress.java,
9695 java/net/DatagramPacket.java,
9696 java/net/DatagramSocket.java,
9697 java/net/DatagramSocketImpl.java,
9698 java/net/MulticastSocket.java,
9699 java/net/PasswordAuthentication.java,
9700 java/net/ServerSocket.java,
9701 java/net/Socket.java,
9702 java/net/URLClassLoader.java,
9703 java/net/URLConnection.java: add/update of some @since/@deprecated
9705 2002-08-27 Tony Kimball <alk@pobox.com>
9706 Tom Tromey <tromey@redhat.com>
9708 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9711 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9712 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9714 (PlainSocketImpl::close): Use NATIVE_CLOSE.
9715 * include/win32.h (getcwd): Removed declaration. Include io.h.
9717 2002-08-25 Adam Megacz <adam@xwt.org>
9719 * include/win32.h (getcwd): copied function declaration as
9720 temporary fix for header confusion.
9722 2002-08-24 Mark Wielaard <mark@klomp.org>
9724 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9725 (core_java_source_files): Add VMThrowable.java and NameFinder.java
9726 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9727 and natNameFinder.cc.
9728 * Makefile.in: Regenerate.
9729 * prims.cc: Use trace_enabled from VMThrowable.
9730 * name-finder.cc: Removed.
9731 * gcj/javaprims.h: Add class VMThrowable.
9732 * gnu/gcj/runtime/NameFinder.java: New file.
9733 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9734 * include/name-finder.h: Removed.
9735 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9736 method stackTraceString().
9737 (printStackTrace (PrintWriter)): Likewise.
9738 (stackTraceString): Complete rewrite of old printStackTrace using
9740 (stackTraceStringBuffer): New helper method for stackTraceString().
9741 (fillInStackTrace): Delegate to VMTrowable.
9742 (getStackTrace): Likewise.
9743 (getStackTrace0): Removed.
9744 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9745 (setStackTrace): Copy given array.
9746 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9747 * java/lang/VMThrowable.java: New class.
9748 * java/lang/natVMThrowable.cc: New file.
9750 2003-08-23 Michael Koch <konqueror@gmx.de>
9752 * java/net/URLConnection.java,
9753 java/netJarURLConnection.java,
9754 gnu/gcj/protocol/core/Connection.java,
9755 gnu/gcj/protocol/file/Connection.java,
9756 gnu/gcj/protocol/http/Connection.java: Added implementation of
9759 2002-08-22 Tom Tromey <tromey@redhat.com>
9761 * gij.cc (help): Document -cp and -classpath.
9762 (main): Handle -classpath.
9764 2002-08-21 Tom Tromey <tromey@redhat.com>
9766 * Makefile.in: Rebuilt.
9767 * Makefile.am (ordinary_java_source_files): Added
9768 SocketAddress.java, InetSocketAddress.java.
9769 * java/net/PortUnreachableException.java: Merged with Classpath.
9770 * java/net/SocketTimeoutException.java: Likewise.
9771 * java/net/URISyntaxException.java: Likewise.
9772 * java/net/SocketAddress.java: New class from Classpath.
9773 * java/net/InetSocketAddress.java: Likewise.
9775 2003-08-21 Michael Koch <konqueror@gmx.de>
9777 * java/net/Authenticator.java: updated JDK 1.4
9778 * java/net/ContentHandler.java: updated JDK 1.4
9780 2002-08-20 Michael Koch <konqueror@gmx.de>
9782 * java/net/URISyntaxException.java: New file.
9783 * java/net/SocketTimeoutException.java: New file.
9784 * java/net/PortUnreachableException.java: New file.
9785 * Makefile.am: Updated.
9786 * Makefile.in: Rebuilt.
9788 2002-08-18 Mark Wielaard <mark@klomp.org>
9790 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9791 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9792 MessageDigestSpi (fixes Classpath bug #783).
9794 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9796 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9797 (startProcess): Allocate path for chdir in async-signal-safe way.
9799 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9801 Fix for PR libgcj/7570 and PR libgcj/7578:
9802 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9803 (startProcess): Handle new `dir' argument.
9804 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9806 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9808 (startProcess): Likewise.
9809 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9811 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9812 (exec): Don't create new environment if ENV==null. Pass DIR to
9814 * java/lang/natRuntime.cc: Include java/io/File.h.
9815 (execInternal): Added `dir' argument.
9817 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9819 * java/io/RandomAccessFile.java (skipBytes): Return number of
9822 2002-08-01 Mark Wielaard <mark@klomp.org>
9824 Reenable patch since shared library troubles on powerpc are solved:
9825 * gnu/java/security/provider/Gnu.java: Reference all implementation
9826 classes by using Class.getName().
9827 * gnu/java/security/der/DEREncodingException.java,
9828 gnu/java/security/provider/DERReader.java,
9829 gnu/java/security/provider/DERWriter.java,
9830 gnu/java/security/provider/DSAKeyPairGenerator.java,
9831 gnu/java/security/provider/DSAParameterGenerator.java,
9832 gnu/java/security/provider/DSAParameters.java,
9833 gnu/java/security/provider/DSASignature.java,
9834 gnu/java/security/provider/GnuDSAPrivateKey.java,
9835 gnu/java/security/provider/GnuDSAPublicKey.java,
9836 gnu/java/security/provider/MD5.java,
9837 gnu/java/security/util/Prime.java: New classes
9838 * Makefile.am (ordinary_java_source_files): Add above files.
9839 * Makefile.in: Regenerate.
9840 * gnu/java/security/provider/DefaultPolicy.java
9841 (getPermissions): Don't maintain static class variable of Permissions.
9842 * gnu/java/security/provider/SHA.java
9843 (engineUpdate): algorithm change.
9844 (engineDigest): algorithm change.
9846 2002-08-09 Mark Wielaard <mark@klomp.org>
9848 * java/awt/image/MemoryImageSource.java: Change constructor to take
9850 * java/awt/Graphics2D.java: Uncomment methods that can now be
9852 * java/awt/GridBagLayout.java: New stub implementation.
9853 * javax/swing/text/html/HTML.java: Stub implementation.
9854 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9857 * Makefile.am: Add new files.
9858 * Makefile.in: Rebuilt.
9860 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9862 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9863 methods in Graphics2D.
9865 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9867 AWT/Swing merge from GNU Classpath.
9869 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9870 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9871 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9872 java/awt/color/ProfileDataException.java,
9873 java/awt/CompositeContext.java, java/awt/Composite.java,
9874 java/awt/ContainerOrderFocusTraversalPolicy.java,
9875 java/awt/datatransfer/FlavorTable.java,
9876 java/awt/DefaultFocusTraversalPolicy.java,
9877 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9878 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9879 java/awt/dnd/DragGestureListener.java,
9880 java/awt/dnd/DragGestureRecognizer.java,
9881 java/awt/dnd/DragSourceAdapter.java,
9882 java/awt/dnd/DragSourceContext.java,
9883 java/awt/dnd/DragSourceDragEvent.java,
9884 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9885 java/awt/dnd/DragSourceListener.java,
9886 java/awt/dnd/DragSourceMotionListener.java,
9887 java/awt/dnd/DropTarget.java,
9888 java/awt/dnd/InvalidDnDOperationException.java,
9889 java/awt/dnd/peer/DragSourceContextPeer.java,
9890 java/awt/event/AWTEventListenerProxy.java,
9891 java/awt/event/MouseWheelEvent.java,
9892 java/awt/event/MouseWheelListener.java,
9893 java/awt/event/WindowFocusListener.java,
9894 java/awt/event/WindowStateListener.java,
9895 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9896 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9897 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9898 java/awt/geom/FlatteningPathIterator.java,
9899 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9900 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9901 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9902 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9903 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9904 java/awt/image/ImagingOpException.java,
9905 java/awt/image/RasterFormatException.java,
9906 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9907 java/awt/image/VolatileImage.java,
9908 java/awt/image/WritableRenderedImage.java,
9909 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9910 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9911 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9912 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9913 java/awt/PageAttributes.java, java/awt/print/Book.java,
9914 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9915 java/awt/print/Paper.java, java/awt/print/Printable.java,
9916 java/awt/print/PrinterAbortException.java,
9917 java/awt/print/PrinterException.java,
9918 java/awt/print/PrinterGraphics.java,
9919 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9920 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9921 java/awt/Stroke.java, java/awt/TexturePaint.java,
9922 javax/accessibility/AccessibleAction.java,
9923 javax/accessibility/AccessibleBundle.java,
9924 javax/accessibility/AccessibleComponent.java,
9925 javax/accessibility/AccessibleContext.java,
9926 javax/accessibility/AccessibleEditableText.java,
9927 javax/accessibility/AccessibleExtendedComponent.java,
9928 javax/accessibility/AccessibleExtendedTable.java,
9929 javax/accessibility/AccessibleHyperlink.java,
9930 javax/accessibility/AccessibleHypertext.java,
9931 javax/accessibility/AccessibleIcon.java,
9932 javax/accessibility/Accessible.java,
9933 javax/accessibility/AccessibleKeyBinding.java,
9934 javax/accessibility/AccessibleRelation.java,
9935 javax/accessibility/AccessibleRelationSet.java,
9936 javax/accessibility/AccessibleResourceBundle.java,
9937 javax/accessibility/AccessibleRole.java,
9938 javax/accessibility/AccessibleSelection.java,
9939 javax/accessibility/AccessibleState.java,
9940 javax/accessibility/AccessibleStateSet.java,
9941 javax/accessibility/AccessibleTable.java,
9942 javax/accessibility/AccessibleTableModelChange.java,
9943 javax/accessibility/AccessibleText.java,
9944 javax/accessibility/AccessibleValue.java,
9945 javax/swing/AbstractAction.java,
9946 javax/swing/AbstractButton.java,
9947 javax/swing/AbstractCellEditor.java,
9948 javax/swing/AbstractListModel.java,
9949 javax/swing/AbstractSet.java, javax/swing/Action.java,
9950 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9951 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9952 javax/swing/border/CompoundBorder.java,
9953 javax/swing/border/EmptyBorder.java,
9954 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9955 javax/swing/border/LineBorder.java,
9956 javax/swing/border/MatteBorder.java,
9957 javax/swing/border/TitledBorder.java,
9958 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9959 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9960 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9961 javax/swing/CellRendererPane.java,
9962 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9963 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9964 javax/swing/colorchooser/ColorSelectionModel.java,
9965 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9966 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9967 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9968 javax/swing/DefaultBoundedRangeModel.java,
9969 javax/swing/DefaultButtonModel.java,
9970 javax/swing/DefaultCellEditor.java,
9971 javax/swing/DefaultCellRenderer.java,
9972 javax/swing/DefaultComboBoxModel.java,
9973 javax/swing/DefaultDesktopManager.java,
9974 javax/swing/DefaultFocusManager.java,
9975 javax/swing/DefaultListCellRenderer.java,
9976 javax/swing/DefaultListModel.java,
9977 javax/swing/DefaultListSelectionModel.java,
9978 javax/swing/DefaultSingleSelectionModel.java,
9979 javax/swing/DesktopManager.java,
9980 javax/swing/event/AncestorEvent.java,
9981 javax/swing/event/AncestorListener.java,
9982 javax/swing/event/CaretEvent.java,
9983 javax/swing/event/CaretListener.java,
9984 javax/swing/event/CellEditorListener.java,
9985 javax/swing/event/ChangeEvent.java,
9986 javax/swing/event/ChangeListener.java,
9987 javax/swing/event/DocumentEvent.java,
9988 javax/swing/event/DocumentListener.java,
9989 javax/swing/event/EventListenerList.java,
9990 javax/swing/event/HyperlinkEvent.java,
9991 javax/swing/event/HyperlinkListener.java,
9992 javax/swing/event/InternalFrameAdapter.java,
9993 javax/swing/event/InternalFrameEvent.java,
9994 javax/swing/event/InternalFrameListener.java,
9995 javax/swing/event/ListDataEvent.java,
9996 javax/swing/event/ListDataListener.java,
9997 javax/swing/event/ListSelectionEvent.java,
9998 javax/swing/event/ListSelectionListener.java,
9999 javax/swing/event/MenuDragMouseEvent.java,
10000 javax/swing/event/MenuDragMouseListener.java,
10001 javax/swing/event/MenuEvent.java,
10002 javax/swing/event/MenuKeyEvent.java,
10003 javax/swing/event/MenuKeyListener.java,
10004 javax/swing/event/MenuListener.java,
10005 javax/swing/event/MouseInputAdapter.java,
10006 javax/swing/event/MouseInputListener.java,
10007 javax/swing/event/PopupMenuEvent.java,
10008 javax/swing/event/PopupMenuListener.java,
10009 javax/swing/event/SwingPropertyChangeSupport.java,
10010 javax/swing/event/TableColumnModelEvent.java,
10011 javax/swing/event/TableColumnModelListener.java,
10012 javax/swing/event/TableModelEvent.java,
10013 javax/swing/event/TableModelListener.java,
10014 javax/swing/event/TreeExpansionEvent.java,
10015 javax/swing/event/TreeExpansionListener.java,
10016 javax/swing/event/TreeModelEvent.java,
10017 javax/swing/event/TreeModelListener.java,
10018 javax/swing/event/TreeSelectionEvent.java,
10019 javax/swing/event/TreeSelectionListener.java,
10020 javax/swing/event/TreeWillExpandListener.java,
10021 javax/swing/event/UndoableEditEvent.java,
10022 javax/swing/event/UndoableEditListener.java,
10023 javax/swing/filechooser/FileFilter.java,
10024 javax/swing/filechooser/FileSystemView.java,
10025 javax/swing/filechooser/FileView.java,
10026 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
10027 javax/swing/Icon.java, javax/swing/ImageIcon.java,
10028 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
10029 javax/swing/JApplet.java, javax/swing/JButton.java,
10030 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
10031 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
10032 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
10033 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
10034 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
10035 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
10036 javax/swing/JLayeredPane.java, javax/swing/JList.java,
10037 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
10038 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
10039 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
10040 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
10041 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
10042 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
10043 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
10044 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
10045 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
10046 javax/swing/JTextField.java, javax/swing/JTextPane.java,
10047 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
10048 javax/swing/JToolTip.java, javax/swing/JTree.java,
10049 javax/swing/JViewport.java, javax/swing/JWindow.java,
10050 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
10051 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
10052 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
10053 javax/swing/MenuSelectionManager.java,
10054 javax/swing/MutableComboBoxModel.java,
10055 javax/swing/OverlayLayout.java,
10056 javax/swing/plaf/ActionMapUIResource.java,
10057 javax/swing/plaf/basic/BasicBorders.java,
10058 javax/swing/plaf/basic/BasicButtonUI.java,
10059 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10060 javax/swing/plaf/basic/BasicDefaults.java,
10061 javax/swing/plaf/basic/BasicGraphicsUtils.java,
10062 javax/swing/plaf/basic/BasicIconFactory.java,
10063 javax/swing/plaf/basic/BasicLabelUI.java,
10064 javax/swing/plaf/basic/BasicListUI.java,
10065 javax/swing/plaf/basic/BasicLookAndFeel.java,
10066 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10067 javax/swing/plaf/basic/BasicPanelUI.java,
10068 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10069 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10070 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10071 javax/swing/plaf/basic/BasicTextUI.java,
10072 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10073 javax/swing/plaf/basic/BasicTreeUI.java,
10074 javax/swing/plaf/basic/BasicViewportUI.java,
10075 javax/swing/plaf/BorderUIResource.java,
10076 javax/swing/plaf/ButtonUI.java,
10077 javax/swing/plaf/ColorChooserUI.java,
10078 javax/swing/plaf/ColorUIResource.java,
10079 javax/swing/plaf/ComboBoxUI.java,
10080 javax/swing/plaf/ComponentInputMapUIResource.java,
10081 javax/swing/plaf/ComponentUI.java,
10082 javax/swing/plaf/DesktopIconUI.java,
10083 javax/swing/plaf/DesktopPaneUI.java,
10084 javax/swing/plaf/DimensionUIResource.java,
10085 javax/swing/plaf/FileChooserUI.java,
10086 javax/swing/plaf/FontUIResource.java,
10087 javax/swing/plaf/IconUIResource.java,
10088 javax/swing/plaf/InputMapUIResource.java,
10089 javax/swing/plaf/InsetsUIResource.java,
10090 javax/swing/plaf/InternalFrameUI.java,
10091 javax/swing/plaf/LabelUI.java,
10092 javax/swing/plaf/ListUI.java,
10093 javax/swing/plaf/MenuBarUI.java,
10094 javax/swing/plaf/MenuItemUI.java,
10095 javax/swing/plaf/OptionPaneUI.java,
10096 javax/swing/plaf/PanelUI.java,
10097 javax/swing/plaf/PopupMenuUI.java,
10098 javax/swing/plaf/ProgressBarUI.java,
10099 javax/swing/plaf/RootPaneUI.java,
10100 javax/swing/plaf/ScrollBarUI.java,
10101 javax/swing/plaf/ScrollPaneUI.java,
10102 javax/swing/plaf/SeparatorUI.java,
10103 javax/swing/plaf/SliderUI.java,
10104 javax/swing/plaf/SplitPaneUI.java,
10105 javax/swing/plaf/TabbedPaneUI.java,
10106 javax/swing/plaf/TableHeaderUI.java,
10107 javax/swing/plaf/TableUI.java,
10108 javax/swing/plaf/TextUI.java,
10109 javax/swing/plaf/ToolBarUI.java,
10110 javax/swing/plaf/ToolTipUI.java,
10111 javax/swing/plaf/TreeUI.java,
10112 javax/swing/plaf/UIResource.java,
10113 javax/swing/plaf/ViewportUI.java,
10114 javax/swing/ProgressMonitorInputStream.java,
10115 javax/swing/ProgressMonitor.java,
10116 javax/swing/Renderer.java,
10117 javax/swing/RepaintManager.java,
10118 javax/swing/RootPaneContainer.java,
10119 javax/swing/Scrollable.java,
10120 javax/swing/ScrollPaneConstants.java,
10121 javax/swing/ScrollPaneLayout.java,
10122 javax/swing/SingleSelectionModel.java,
10123 javax/swing/SizeRequirements.java,
10124 javax/swing/SizeSequence.java,
10125 javax/swing/SwingConstants.java,
10126 javax/swing/SwingUtilities.java,
10127 javax/swing/table/AbstractTableModel.java,
10128 javax/swing/table/DefaultTableCellRenderer.java,
10129 javax/swing/table/DefaultTableColumnModel.java,
10130 javax/swing/table/DefaultTableModel.java,
10131 javax/swing/table/TableCellEditor.java,
10132 javax/swing/table/TableCellRenderer.java,
10133 javax/swing/table/TableColumn.java,
10134 javax/swing/table/TableColumnModel.java,
10135 javax/swing/table/TableModel.java,
10136 javax/swing/text/AbstractDocument.java,
10137 javax/swing/text/AttributeSet.java,
10138 javax/swing/text/BadLocationException.java,
10139 javax/swing/text/Caret.java,
10140 javax/swing/text/CharacterIterator.java,
10141 javax/swing/text/ComponentView.java,
10142 javax/swing/text/DefaultCaret.java,
10143 javax/swing/text/DefaultEditorKit.java,
10144 javax/swing/text/Document.java,
10145 javax/swing/text/EditorKit.java,
10146 javax/swing/text/Element.java,
10147 javax/swing/text/GapContent.java,
10148 javax/swing/text/JTextComponent.java,
10149 javax/swing/text/Keymap.java,
10150 javax/swing/text/MutableAttributeSet.java,
10151 javax/swing/text/PlainDocument.java,
10152 javax/swing/text/PlainEditorKit.java,
10153 javax/swing/text/Position.java,
10154 javax/swing/text/Segment.java,
10155 javax/swing/text/StyledDocument.java,
10156 javax/swing/text/StyledEditorKit.java,
10157 javax/swing/text/Style.java,
10158 javax/swing/text/TextAction.java,
10159 javax/swing/text/ViewFactory.java,
10160 javax/swing/text/View.java,
10161 javax/swing/Timer.java,
10162 javax/swing/ToggleButtonModel.java,
10163 javax/swing/ToolTipManager.java,
10164 javax/swing/tree/AbstractLayoutCache.java,
10165 javax/swing/tree/DefaultMutableTreeNode.java,
10166 javax/swing/tree/DefaultTreeCellEditor.java,
10167 javax/swing/tree/DefaultTreeCellRenderer.java,
10168 javax/swing/tree/DefaultTreeModel.java,
10169 javax/swing/tree/DefaultTreeSelectionModel.java,
10170 javax/swing/tree/ExpandVetoException.java,
10171 javax/swing/tree/FixedHeightLayoutCache.java,
10172 javax/swing/tree/MutableTreeNode.java,
10173 javax/swing/tree/RowMapper.java,
10174 javax/swing/tree/TreeCellEditor.java,
10175 javax/swing/tree/TreeCellRenderer.java,
10176 javax/swing/tree/TreeModel.java,
10177 javax/swing/tree/TreeNode.java,
10178 javax/swing/tree/TreePath.java,
10179 javax/swing/tree/TreeSelectionModel.java,
10180 javax/swing/tree/VariableHeightLayoutCache.java,
10181 javax/swing/UIDefaults.java,
10182 javax/swing/UIManager.java,
10183 javax/swing/undo/AbstractUndoableEdit.java,
10184 javax/swing/undo/CannotRedoException.java,
10185 javax/swing/undo/CannotUndoException.java,
10186 javax/swing/undo/CompoundEdit.java,
10187 javax/swing/undo/StateEditable.java,
10188 javax/swing/undo/StateEdit.java,
10189 javax/swing/undo/UndoableEdit.java,
10190 javax/swing/undo/UndoableEditSupport.java,
10191 javax/swing/undo/UndoManager.java,
10192 javax/swing/UnsupportedLookAndFeelException.java,
10193 javax/swing/ViewportLayout.java,
10194 javax/swing/WindowConstants.java: New files, from GNU Classpath.
10196 * java/awt/ActiveEvent.java,
10197 java/awt/Adjustable.java, java/awt/AWTError.java,
10198 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
10199 java/awt/AWTException.java, java/awt/AWTPermission.java,
10200 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
10201 java/awt/Color.java, java/awt/Component.java,
10202 java/awt/ComponentOrientation.java, java/awt/Container.java,
10203 java/awt/datatransfer/MimeTypeParseException.java,
10204 java/awt/datatransfer/Transferable.java,
10205 java/awt/datatransfer/UnsupportedFlavorException.java,
10206 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
10207 java/awt/event/ActionListener.java,
10208 java/awt/event/AdjustmentEvent.java,
10209 java/awt/event/AdjustmentListener.java,
10210 java/awt/event/AWTEventListener.java,
10211 java/awt/event/ComponentAdapter.java,
10212 java/awt/event/ComponentEvent.java,
10213 java/awt/event/ComponentListener.java,
10214 java/awt/event/ContainerAdapter.java,
10215 java/awt/event/ContainerEvent.java,
10216 java/awt/event/ContainerListener.java,
10217 java/awt/event/FocusAdapter.java,
10218 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
10219 java/awt/event/HierarchyBoundsAdapter.java,
10220 java/awt/event/HierarchyBoundsListener.java,
10221 java/awt/event/HierarchyEvent.java,
10222 java/awt/event/HierarchyListener.java,
10223 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
10224 java/awt/event/InputMethodListener.java,
10225 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
10226 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
10227 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
10228 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
10229 java/awt/event/MouseListener.java,
10230 java/awt/event/MouseMotionAdapter.java,
10231 java/awt/event/MouseMotionListener.java,
10232 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
10233 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
10234 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
10235 java/awt/event/WindowListener.java, java/awt/Font.java,
10236 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
10237 java/awt/geom/Ellipse2D.java,
10238 java/awt/geom/IllegalPathStateException.java,
10239 java/awt/geom/Line2D.java,
10240 java/awt/geom/NoninvertibleTransformException.java,
10241 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
10242 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
10243 java/awt/geom/RoundRectangle2D.java,
10244 java/awt/GraphicsConfiguration.java,
10245 java/awt/IllegalComponentStateException.java,
10246 java/awt/image/IndexColorModel.java,
10247 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
10248 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
10249 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
10250 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
10251 java/awt/MenuItem.java, java/awt/PaintContext.java,
10252 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
10253 java/awt/Polygon.java, java/awt/PrintGraphics.java,
10254 java/awt/PrintJob.java, java/awt/Rectangle.java,
10255 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
10256 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
10257 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
10259 * java/awt/im/spi/InputMethod.java,
10260 java/awt/im/spi/InputMethodContext.java,
10261 java/awt/im/spi/InputMethodDescriptor.java,
10262 java/awt/image/renderable/ContextualRenderedImageFactory.java,
10263 java/awt/image/renderable/ParameterBlock.java,
10264 java/awt/image/renderable/RenderContext.java,
10265 java/awt/image/renderable/RenderableImage.java,
10266 java/awt/image/renderable/RenderableImageOp.java,
10267 java/awt/image/renderable/RenderableImageProducer.java,
10268 java/awt/image/renderable/RenderedImageFactory.java: New files from
10271 * gnu/java/awt/EventModifier.java,
10272 gnu/java/awt/image/ImageDecoder.java,
10273 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
10275 * gnu/awt/xlib/XGraphicsConfiguration.java,
10276 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
10279 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
10282 * Makefile.am: Add new files.
10283 * Makefile.in: Rebuilt.
10285 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10287 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
10288 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
10289 findResource, getResources, findResources): Add javadoc from classpath.
10290 (getSystemResources): Implemented.
10292 2002-08-01 Mark Wielaard <mark@klomp.org>
10294 Revert patch that breaks libgcj shared library on powerpc:
10295 * gnu/java/security/provider/Gnu.java: Reverse referencing all
10296 implementation classes by using Class.getName(). Uses Strings again.
10297 * gnu/java/security/der/DEREncodingException.java,
10298 gnu/java/security/provider/DERReader.java,
10299 gnu/java/security/provider/DERWriter.java,
10300 gnu/java/security/provider/DSAKeyPairGenerator.java,
10301 gnu/java/security/provider/DSAParameterGenerator.java,
10302 gnu/java/security/provider/DSAParameters.java,
10303 gnu/java/security/provider/DSASignature.java,
10304 gnu/java/security/provider/GnuDSAPrivateKey.java,
10305 gnu/java/security/provider/GnuDSAPublicKey.java,
10306 gnu/java/security/provider/MD5.java,
10307 gnu/java/security/util/Prime.java: Removed.
10308 * Makefile.am (ordinary_java_source_files): Remove above files.
10309 * Makefile.in: Regenerate.
10310 * gnu/java/security/provider/DefaultPolicy.java
10311 (getPermissions): Revert to maintaining static class variable of
10313 * gnu/java/security/provider/SHA.java
10314 (engineUpdate): Revert algorithm change.
10315 (engineDigest): Revert algorithm change.
10317 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
10319 * configure.host: Add SH support.
10320 * sysdep/sh/locks.h: New file.
10322 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10324 * java/awt/Frame.java (Frame): Remove println calls.
10326 2002-07-30 Jeff Sturm <jsturm@one-point.com>
10328 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
10329 * configure: Rebuilt.
10331 2002-07-27 Alan Modra <amodra@bigpond.net.au>
10333 * sysdep/powerpc/locks.h: Formatting.
10336 (compare_and_swap): Use _LARX and _STCX.
10337 (compare_and_swap_release): Likewise.
10339 2002-07-26 Tom Tromey <tromey@redhat.com>
10341 * java/net/Authenticator.java: New version from Classpath.
10342 * java/net/DatagramSocketImpl.java: New version from Classpath.
10344 2002-07-27 Alan Modra <amodra@bigpond.net.au>
10346 * configure.host: Add powerpc64*-* entry.
10348 2002-07-26 Tom Tromey <tromey@redhat.com>
10350 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
10353 2002-07-24 Tom Tromey <tromey@redhat.com>
10355 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
10358 2002-07-24 Tom Tromey <tromey@redhat.com>
10359 Tony Kimball <alk@pobox.com>
10361 * java/io/natFileDescriptorWin32.cc (setLength): New method.
10362 * java/io/natFileDescriptorPosix.cc (setLength): New method.
10363 * java/io/RandomAccessFile.java (setLength): New method.
10364 * java/io/natFileDescriptorEcos.cc (setLength): New method.
10365 * java/io/FileDescriptor.java (setLength): New method.
10367 2002-07-24 Mark Wielaard <mark@klomp.org>
10369 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
10370 * java/io/ObjectInputStream.java (setBooleanField): Before setting
10371 field call setAccessible(true).
10372 (setByteField): Likewise.
10373 (setCharField): Likewise.
10374 (setDoubleField): Likewise.
10375 (setFloatField): Likewise.
10376 (setIntField): Likewise.
10377 (setLongField): Likewise.
10378 (setShortField): Likewise.
10379 (setObjectField): Likewise.
10381 2002-07-24 Tom Tromey <tromey@redhat.com>
10383 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
10384 use toString() to format array element.
10386 2002-07-23 Mark Wielaard <mark@klomp.org>
10388 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10389 MessageDigestSpi (fixes Classpath bug #783).
10391 2002-07-21 Mark Wielaard <mark@klomp.org>
10393 * gnu/java/security/provider/Gnu.java: Reference all implementation
10394 classes by using Class.getName().
10396 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
10398 * java/lang/ieeefp.h: Add x86-64 support.
10399 * configure.in: Likewise.
10400 * configure.host: Likewise.
10401 * configure: Regenerated.
10402 * sysdep/x86-64/locks.h: New file with x86-64 locks.
10404 2002-07-16 Mark Wielaard <mark@klomp.org>
10406 * java/io/StreamTokenizer.java (pushBack): Update documentation.
10407 (whitespaceChars): call resetChar().
10409 2002-07-15 Tom Tromey <tromey@redhat.com>
10411 * Makefile.in: Rebuilt.
10412 * Makefile.am (awt_java_source_files): Added new files.
10413 * java/beans/ExceptionListener.java: Merged with Classpath.
10414 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
10415 * java/beans/PropertyChangeListener.java: Merged with Classpath.
10416 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
10417 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
10418 * java/beans/VetoableChangeListener.java: Merged with Classpath.
10419 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
10420 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
10422 2002-07-14 Mark Wielaard <mark@klomp.org>
10424 * gnu/java/security/der/DEREncodingException.java,
10425 gnu/java/security/provider/DERReader.java,
10426 gnu/java/security/provider/DERWriter.java,
10427 gnu/java/security/provider/DSAKeyPairGenerator.java,
10428 gnu/java/security/provider/DSAParameterGenerator.java,
10429 gnu/java/security/provider/DSAParameters.java,
10430 gnu/java/security/provider/DSASignature.java,
10431 gnu/java/security/provider/GnuDSAPrivateKey.java,
10432 gnu/java/security/provider/GnuDSAPublicKey.java,
10433 gnu/java/security/provider/MD5.java,
10434 gnu/java/security/util/Prime.java: New files from Classpath.
10435 * Makefile.am (ordinary_java_source_files): Add new files.
10436 * Makefile.in: Regenerate.
10438 2002-07-14 C. Brian Jones <cbj@gnu.org>
10440 * gnu/java/security/provider/DefaultPolicy.java
10441 (getPermissions): do not maintain static class variable of
10443 * gnu/java/security/provider/SHA.java
10444 (engineUpdate): algorithm change
10445 (engineDigest): algorithm change
10447 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
10449 For PR libgcj/7292:
10450 * java/lang/Character.java (toString(char)): Now static.
10452 2002-07-12 Mark Wielaard <mark@klomp.org>
10454 * java/lang/natThrowable.cc (printRawStackTrace): removed.
10455 (getStackTrace0): new method.
10456 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
10457 (printStackTrace(PrintWriter)): replace with pure java implementation.
10458 (printRawStackTrace): removed.
10459 (getStackTrace0): new method.
10460 * java/lang/StackTraceElement.java (toString): add extra whitespace.
10461 * gcj/javaprims.h: regenerate class list.
10462 * include/name-finder.h (lookup): new returns StackTraceElement*.
10463 (method_name, file_name): fields removed.
10464 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
10465 (~_Jv_name_finder): close new descriptors.
10466 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
10467 (createStackTraceElement): new method.
10468 (lookup): returns StackTraceElement*, uses createStackTraceElement().
10470 2002-07-10 Tom Tromey <tromey@redhat.com>
10472 * configure: Rebuilt.
10473 * configure.in: Use `test' after `&&'. From Chris Faylor.
10475 2002-07-08 Mark Wielaard <mark@klomp.org>
10477 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
10478 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
10479 java.sql.DatabaseMetaData.TestJdbc20
10481 2002-07-05 Tony Kimball <alk@pobox.com>
10483 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
10485 2002-07-04 Tom Tromey <tromey@redhat.com>
10486 Jeff Sturm <jsturm@one-point.com>
10488 Fix for PR libgcj/7060:
10489 * java/lang/Class.h (_getMethod): Renamed from getMethod.
10490 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
10491 Recurse into superinterfaces. Don't throw NoSuchMethodException.
10492 * java/lang/Class.java (getMethod): New Java implementation;
10493 complies with spec.
10494 (_getMethod): New native method.
10496 2002-07-02 Tom Tromey <tromey@redhat.com>
10497 David Hovemeyer <daveho@cs.umd.edu>
10499 * java/text/ChoiceFormat.java
10500 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
10502 * java/text/MessageFormat.java
10503 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
10506 2002-07-01 Tom Tromey <tromey@redhat.com>
10508 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
10509 StringTokenizer on null string. For PR libgcj/7180.
10510 From daveho@cs.umd.edu.
10512 2002-06-24 Tom Tromey <tromey@redhat.com>
10514 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
10515 (IntegerClass): Likewise.
10516 * java/lang/natClass.cc (CloneableClass): Removed.
10517 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
10518 ConstructorClass): Likewise.
10519 * java/lang/natClassLoader.cc (CloneableClass): Removed.
10520 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
10521 SerializableClass): Likewise.
10522 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
10523 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
10524 LongClass, FloatClass, DoubleClass): Likewise.
10526 * verify.cc (branch_prepass): Updated for change to exception
10528 (verify_instructions_0): Likewise.
10529 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
10530 (handleExceptionTableEntry): Updated for change to exception
10532 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
10533 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
10534 (union _Jv_InterpPC): New.
10535 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
10536 (class _Jv_InterpMethod): Added new `prepared' field.
10537 (class _Jv_InterpMethod): Added `compile' method. Removed
10538 `continue1' and `find_exception'. Changed arguments to `run'.
10539 * interpret.cc (union insn_slot): New.
10540 (find_exception): Removed.
10541 (run_normal): Removed most logic.
10542 (run_synch_object): Likewise; also, use JvSynchronize.
10543 (run_synch_class): Likewise.
10545 (continue1): Renamed as `run'. Compile bytecode if required.
10546 Add new code to allow refinement of direct-threaded code at
10547 runtime. Handle exceptions.
10548 (SAVE_PC): Removed.
10549 (compile): New method.
10550 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
10551 (NULLARRAYCHECK): Don't use SAVE_PC.
10552 (pc_t): New typedef.
10553 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
10554 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
10556 2002-06-23 Tom Tromey <tromey@redhat.com>
10558 * configure: Rebuilt.
10559 * configure.in (INTERPRETER): New subst.
10560 (AM_RUNTESTFLAGS): Don't subst.
10562 * Makefile.in: Rebuilt.
10563 * Makefile.am ($(srcdir)/java/lang/Object.h,
10564 $(srcdir)/java/lang/Class.h): Added dummy targets.
10566 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10568 Reformat JDBC classes and add new JDK 1.4 classes and methods.
10570 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
10571 java/sql/Savepoint.java: New files.
10572 * java/sql/Array.java, java/sql/BatchUpdateException.java,
10573 java/sql/Blob.java, java/sql/CallableStatement.java,
10574 java/sql/Clob.java, java/sql/Connection.java,
10575 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
10576 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
10577 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
10578 java/sql/Ref.java, java/sql/ResultSet.java,
10579 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
10580 java/sql/SQLException.java, java/sql/SQLInput.java,
10581 java/sql/SQLOutput.java, java/sql/SQLWarning.java
10582 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
10583 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
10584 (JDK 1.4) specification.
10585 * javax/sql/ConnectionEvent.java,
10586 javax/sql/ConnectionEventListener.java,
10587 javax/sql/ConnectionPoolDataSource.java,
10588 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
10589 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
10590 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
10591 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
10592 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
10593 javax/sql/XADataSource.java: New files.
10594 * Makefile.am: Add new files.
10595 * Makefile.in: Rebuilt.
10597 2002-06-20 Tom Tromey <tromey@redhat.com>
10599 For PR libgcj/7073:
10600 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10602 * defineclass.cc (handleClassBegin): Superclass for interface is
10605 2002-06-18 Tom Tromey <tromey@redhat.com>
10607 * gcj/javaprims.h: Updated class declaration list.
10608 * Makefile.in: Rebuilt.
10609 * Makefile.am (core_java_source_files): Removed
10610 BasicMapEntry.java.
10611 * java/util/BasicMapEntry.java: Removed.
10613 2002-06-18 Jeff Sturm <jsturm@one-point.com>
10615 * java/net/natPlainDatagramSocketImpl.cc (receive):
10616 Check bounds of argument to FD_SET.
10617 (setOption): Throw exception if socket is closed.
10619 * java/net/natPlainSocketImpl.cc (accept, read):
10620 Check bounds of argument to FD_SET.
10621 (setOption): Throw exception if socket is closed.
10623 2002-06-18 Tom Tromey <tromey@redhat.com>
10625 * gcj/javaprims.h: Updated class declaration list.
10626 * Makefile.in: Rebuilt.
10627 * Makefile.am (core_java_source_files): Added
10628 PropertyPermissionCollection.java.
10629 * java/lang/Thread.java (group, name): Now package-private.
10630 * java/lang/ThreadGroup.java: Re-merge with Classpath.
10631 * java/util/AbstractList.java: Likewise.
10632 * java/util/AbstractMap.java: Likewise.
10633 * java/util/Calendar.java: Likewise.
10634 * java/util/Collections.java: Likewise.
10635 * java/util/HashMap.java: Likewise.
10636 * java/util/Hashtable.java: Likewise.
10637 * java/util/LinkedHashMap.java: Likewise.
10638 * java/util/LinkedList.java: Likewise.
10639 * java/util/List.java: Likewise.
10640 * java/util/ListResourceBundle.java: Likewise.
10641 * java/util/Map.java: Likewise.
10642 * java/util/Observable.java: Likewise.
10643 * java/util/Properties.java: Likewise.
10644 * java/util/PropertyPermission.java: Likewise.
10645 * java/util/PropertyPermissionCollection.java: Likewise.
10646 * java/util/PropertyResourceBundle.java: Likewise.
10647 * java/util/Random.java: Likewise.
10648 * java/util/SimpleTimeZone.java: Likewise.
10649 * java/util/StringTokenizer.java: Likewise.
10650 * java/util/TimerTask.java: Likewise.
10651 * java/util/TreeMap.java: Likewise.
10652 * java/util/WeakHashMap.java: Likewise.
10653 * java/util/jar/Attributes.java: Likewise.
10654 * java/util/jar/JarException.java: Likewise.
10655 * java/util/jar/Manifest.java: Likewise.
10657 2002-06-17 Tom Tromey <tromey@redhat.com>
10659 * gcj/javaprims.h: Updated class declaration list.
10660 * Makefile.in: Rebuilt.
10661 * Makefile.am (core_java_source_files): Added new file.
10662 * java/util/EventListenerProxy.java: New file.
10663 * java/util/EventListener.java: Re-merge with Classpath.
10664 * java/util/EventObject.java: Re-merge with Classpath.
10666 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10668 * java/lang/ClassNotFoundException.java: New Classpath version.
10670 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10672 * java/rmi/activation/ActivateFailedException.java: Remerge from
10674 * java/rmi/activation/ActivationException.java: Ditto.
10675 * java/rmi/activation/UnknownGroupException.java: Ditto.
10676 * java/rmi/activation/UnknownObjectException.java: Ditto.
10677 * java/rmi/server/ExportException: Ditto.
10678 * java/rmi/server/ServerCloneException: Ditto.
10679 * java/rmi/server/ServerNotActiveException: Ditto.
10680 * java/rmi/server/SkeletonMismatchException: Ditto.
10681 * java/rmi/server/SkeletonNotFoundException: Ditto.
10682 * java/rmi/server/SocketSecurityException: Ditto.
10684 2002-06-16 Tom Tromey <tromey@redhat.com>
10686 * gcj/javaprims.h: Updated class declaration list.
10688 * java/io/LineNumberInputStream.java: Merged with Classpath.
10690 * java/lang/RuntimeException.java: Re-merge with Classpath.
10691 * java/util/ArrayList.java: Likewise.
10692 * java/util/Arrays.java: Likewise.
10693 * java/util/BitSet.java: Likewise.
10694 * java/util/Dictionary.java: Likewise.
10695 * java/util/IdentityHashMap.java: Likewise.
10696 * java/util/MissingResourceException.java: Likewise.
10697 * java/util/Observer.java: Likewise.
10698 * java/util/TooManyListenersException.java: Likewise.
10699 * java/util/zip/DataFormatException.java: Likewise.
10700 * java/util/zip/ZipException.java: Likewise.
10702 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
10704 * java/rmi/AccessException.java: Remerge from Classpath.
10705 * java/rmi/AlreadyBoundException.java: Ditto.
10706 * java/rmi/ConnectException.java: Ditto.
10707 * java/rmi/ConnectIOException.java: Ditto.
10708 * java/rmi/MarshalException.java: Ditto.
10709 * java/rmi/NoSuchObjectException.java: Ditto.
10710 * java/rmi/NotBoundException.java: Ditto.
10711 * java/rmi/RemoteException.java: Ditto.
10712 * java/rmi/RMISecurityException.java: Ditto.
10713 * java/rmi/ServerError.java: Ditto.
10714 * java/rmi/ServerException.java: Ditto.
10715 * java/rmi/ServerRuntimeException.java: Ditto.
10716 * java/rmi/StubNotFoundException.java: Ditto.
10717 * java/rmi/UnexpectedExcpetion.java: Ditto.
10718 * java/rmi/UnknownHostException.java: Ditto.
10719 * java/rmi/UnmarshalException.java: Ditto.
10721 2002-06-15 Tom Tromey <tromey@redhat.com>
10723 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10724 * java/lang/ArithmeticException.java: Likewise.
10725 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10726 * java/lang/ArrayStoreException.java: Likewise.
10727 * java/lang/Byte.java: Likewise.
10728 * java/lang/CharSequence.java: Likewise.
10729 * java/lang/ClassCastException.java: Likewise.
10730 * java/lang/ClassCircularityError.java: Likewise.
10731 * java/lang/ClassFormatError.java: Likewise.
10732 * java/lang/CloneNotSupportedException.java: Likewise.
10733 * java/lang/Cloneable.java: Likewise.
10734 * java/lang/Comparable.java: Likewise.
10735 * java/lang/Compiler.java: Likewise.
10736 * java/lang/Error.java: Likewise.
10737 * java/lang/ExceptionInInitializerError.java: Likewise.
10738 * java/lang/IllegalAccessError.java: Likewise.
10739 * java/lang/IllegalAccessException.java: Likewise.
10740 * java/lang/IllegalArgumentException.java: Likewise.
10741 * java/lang/IllegalMonitorStateException.java: Likewise.
10742 * java/lang/IllegalStateException.java: Likewise.
10743 * java/lang/IllegalThreadStateException.java: Likewise.
10744 * java/lang/IncompatibleClassChangeError.java: Likewise.
10745 * java/lang/IndexOutOfBoundsException.java: Likewise.
10746 * java/lang/InheritableThreadLocal.java: Likewise.
10747 * java/lang/InstantiationError.java: Likewise.
10748 * java/lang/InstantiationException.java: Likewise.
10749 * java/lang/InternalError.java: Likewise.
10750 * java/lang/InterruptedException.java: Likewise.
10751 * java/lang/LinkageError.java: Likewise.
10752 * java/lang/NegativeArraySizeException.java: Likewise.
10753 * java/lang/NoClassDefFoundError.java: Likewise.
10754 * java/lang/NoSuchFieldError.java: Likewise.
10755 * java/lang/NoSuchFieldException.java: Likewise.
10756 * java/lang/NoSuchMethodError.java: Likewise.
10757 * java/lang/NoSuchMethodException.java: Likewise.
10758 * java/lang/NullPointerException.java: Likewise.
10759 * java/lang/NumberFormatException.java: Likewise.
10760 * java/lang/OutOfMemoryError.java: Likewise.
10761 * java/lang/Process.java: Likewise.
10762 * java/lang/Runnable.java: Likewise.
10763 * java/lang/RuntimePermission.java: Likewise.
10764 * java/lang/SecurityException.java: Likewise.
10765 * java/lang/Short.java: Likewise.
10766 * java/lang/StackOverflowError.java: Likewise.
10767 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10768 * java/lang/ThreadDeath.java: Likewise.
10769 * java/lang/ThreadLocal.java: Likewise.
10770 * java/lang/UnknownError.java: Likewise.
10771 * java/lang/UnsatisfiedLinkError.java: Likewise.
10772 * java/lang/UnsupportedClassVersionError.java: Likewise.
10773 * java/lang/UnsupportedOperationException.java: Likewise.
10774 * java/lang/VerifyError.java: Likewise.
10775 * java/lang/VirtualMachineError.java: Likewise.
10776 * java/lang/reflect/InvocationTargetException.java: Likewise.
10777 * java/net/BindException.java: Likewise.
10778 * java/net/ConnectException.java: Likewise.
10779 * java/net/MalformedURLException.java: Likewise.
10780 * java/net/NoRouteToHostException.java: Likewise.
10781 * java/net/ProtocolException.java: Likewise.
10782 * java/net/SocketException.java: Likewise.
10783 * java/net/UnknownHostException.java: Likewise.
10784 * java/net/UnknownServiceException.java: Likewise.
10786 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10787 * java/io/CharConversionException.java: Likewise.
10788 * java/io/EOFException.java: Likewise.
10789 * java/io/FileNotFoundException.java: Likewise.
10790 * java/io/IOException.java: Likewise.
10791 * java/io/InterruptedIOException.java: Likewise.
10792 * java/io/InvalidClassException.java: Likewise.
10793 * java/io/InvalidObjectException.java: Likewise.
10794 * java/io/NotActiveException.java: Likewise.
10795 * java/io/NotSerializableException.java: Likewise.
10796 * java/io/ObjectStreamException.java: Likewise.
10797 * java/io/ObjectStreamConstants.java: Likewise.
10798 * java/io/OptionalDataException.java: Likewise.
10799 * java/io/PipedInputStream.java: Likewise.
10800 * java/io/PushbackInputStream.java: Likewise.
10801 * java/io/StreamCorruptedException.java: Likewise.
10802 * java/io/SyncFailedException.java: Likewise.
10803 * java/io/UTFDataFormatException.java: Likewise.
10804 * java/io/UnsupportedEncodingException.java: Likewise.
10805 * java/io/WriteAbortedException.java: Likewise.
10807 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10809 * java/text/ChoiceFormat.java: Update comments from Classpath.
10810 * java/text/ParseException.java (serialVersionUID): New
10811 field from Classpath.
10812 * java/text/ParseException.java: Update formatting & comments
10815 2002-06-15 Tom Tromey <tromey@redhat.com>
10817 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10818 been read but none output by inflater.
10819 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10820 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10822 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10824 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10825 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10826 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10828 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10830 2002-06-13 Tom Tromey <tromey@redhat.com>
10832 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10833 true and OFFSET!=0.
10834 * java/lang/String.java (String(char[],int,int,boolean): New
10836 * java/lang/Long.java: Imported new version from Classpath.
10837 * java/lang/Number.java: Likewise.
10838 * java/lang/Integer.java: Likewise.
10839 * java/lang/Long.java: Likewise.
10840 * java/lang/Float.java: Likewise.
10841 * java/lang/Boolean.java: Likewise.
10842 * java/lang/Double.java: Likewise.
10843 * java/lang/Void.java: Likewise.
10845 2002-06-12 Tom Tromey <tromey@redhat.com>
10847 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10848 Fixes PR libgcj/6652.
10850 2002-06-10 Tom Tromey <tromey@redhat.com>
10852 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10853 (Class::getPackagePortion): Likewise.
10854 * java/lang/Class.java (desiredAssertionStatus): New method from
10856 (getPackagePortion): Likewise.
10857 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10858 packageAssertionStatus, classAssertionStatus): New methods from
10860 * java/lang/ClassLoader.java (defaultAssertionStatus,
10861 systemPackageAssertionStatus, packageAssertionStatus,
10862 systemClassAssertionStatus, classAssertionStatus): New fields from
10864 (setDefaultAssertionStatus, setPackageAssertionStatus,
10865 setClassAssertionStatus, clearAssertionStatus): New methods from
10867 * Makefile.in: Rebuilt.
10868 * Makefile.am (core_java_source_files): Added AssertionError.java.
10869 * java/lang/AssertionError.java: New from Classpath.
10871 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10873 * configure.host: Disable hash synchronization and slow_pthread_self
10876 2002-06-06 Adam Megacz <adam@xwt.org>
10878 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10879 locking, just like the Sun JVM does.
10881 2002-06-05 H.J. Lu (hjl@gnu.org)
10883 * Makefile.am (libgcj_convenience.la): Revert the last change.
10884 (libgcj.la): Likewise.
10885 * Makefile.in: Regenerated.
10887 2002-06-04 H.J. Lu (hjl@gnu.org)
10889 * Makefile.am (libgcj_convenience.la): New target.
10890 (libgcj.la): Depend on libgcj_convenience.la.
10891 * Makefile.in: Regenerated.
10893 2002-06-04 H.J. Lu (hjl@gnu.org)
10895 * configure.in (--with-newlib): New option:
10896 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10897 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10899 * configure: Regenerated.
10901 2002-06-04 Tom Tromey <tromey@redhat.com>
10903 * java/util/natTimeZone.cc: Include <stdio.h>.
10905 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10907 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10908 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10909 Set SIGNAL_HANDLER=include/s390-linux.h.
10910 * configure: Regenerate.
10911 * include/s390-linux.h: New file.
10913 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10915 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10918 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10920 Merge JDK 1.4 java.security changes from classpath.
10922 * java/security/AccessControlException.java: Merge from Classpath.
10923 * java/security/AccessController.java: Likewise.
10924 * java/security/AllPermission.java: Likewise.
10925 * java/security/BasicPermission.java: Likewise.
10926 * java/security/Certificate.java: Likewise.
10927 * java/security/CodeSource.java: Likewise.
10928 * java/security/DigestException.java: Likewise.
10929 * java/security/DigestOutputStream.java: Likewise.
10930 * java/security/DomainCombiner.java: Likewise.
10931 * java/security/GeneralSecurityException.java: Likewise.
10932 * java/security/Guard.java: Likewise.
10933 * java/security/GuardedObject.java: Likewise.
10934 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10935 * java/security/InvalidKeyException.java: Likewise.
10936 * java/security/InvalidParameterException.java: Likewise.
10937 * java/security/Key.java: Likewise.
10938 * java/security/KeyException.java: Likewise.
10939 * java/security/KeyManagementException.java: Likewise.
10940 * java/security/KeyStoreException.java: Likewise.
10941 * java/security/MessageDigest.java: Likewise.
10942 * java/security/NoSuchAlgorithmException.java: Likewise.
10943 * java/security/NoSuchProviderException.java: Likewise.
10944 * java/security/Permission.java: Likewise.
10945 * java/security/PermissionCollection.java: Likewise.
10946 * java/security/Permissions.java: Likewise.
10947 * java/security/Policy.java: Likewise.
10948 * java/security/Principal.java: Likewise.
10949 * java/security/PrivateKey.java: Likewise.
10950 * java/security/PrivilegedAction.java: Likewise.
10951 * java/security/PrivilegedActionException.java: Likewise.
10952 * java/security/PrivilegedExceptionAction.java: Likewise.
10953 * java/security/ProtectionDomain.java: Likewise.
10954 * java/security/ProviderException.java: Likewise.
10955 * java/security/PublicKey.java: Likewise.
10956 * java/security/SecureClassLoader.java: Likewise.
10957 * java/security/SecurityPermission.java: Likewise.
10958 * java/security/SignatureException.java: Likewise.
10959 * java/security/UnrecoverableKeyException.java: Likewise.
10960 * java/security/UnresolvedPermission.java: Likewise.
10961 * java/security/acl/AclNotFoundException.java: Likewise.
10962 * java/security/acl/LastOwnerException.java: Likewise.
10963 * java/security/acl/NotOwnerException.java: Likewise.
10964 * java/security/cert/CRLException.java: Likewise.
10965 * java/security/cert/CertificateEncodingException.java: Likewise.
10966 * java/security/cert/CertificateException.java: Likewise.
10967 * java/security/cert/CertificateExpiredException.java: Likewise.
10968 * java/security/cert/CertificateFactory.java: Likewise.
10969 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10970 * java/security/cert/CertificateParsingException.java: Likewise.
10971 * java/security/spec/InvalidKeySpecException.java: Likewise.
10972 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10974 * java/security/cert/CertPath.java: New file.
10975 * java/security/cert/CertPathBuilderException.java: New file.
10976 * java/security/cert/CertPathValidatorException.java: New file.
10977 * java/security/cert/CertStoreException.java: New file.
10979 * Makefile.am: Add new CertPath classes.
10980 * Makefile.in: Rebuilt.
10982 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10984 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10986 Merge JDK 1.4 exception chaining support from classpath.
10988 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10989 (stackTraceBytes): Rename from stackTrace.
10990 * java/lang/Exception.java: Merge from classpath.
10991 * java/lang/StackTraceElement: New file from classpath.
10992 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10993 * Makefile.am: Add StackTraceElement.
10994 * Makefile.in: Rebuilt.
10996 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10998 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
11000 * Makefile.in: Rebuilt.
11002 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11004 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
11005 * configure.in: Likewise.
11006 * aclocal.m4: Regenerate.
11007 * configure: Regenerate.
11009 2002-05-13 Tom Tromey <tromey@redhat.com>
11011 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
11012 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
11013 Include platform.h.
11015 Fixes PR libgcj/6389:
11016 * Makefile.in: Rebuilt.
11017 * Makefile.am (nat_source_files): Added natTimeZone.cc.
11018 * java/util/natTimeZone.cc: New file.
11019 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
11020 * java/lang/System.java: Merged with Classpath.
11021 * java/lang/Runtime.java: Merged with Classpath.
11022 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
11024 (setIn0): Renamed from setIn; don't run security check.
11025 (setOut0): Renamed from setOut; don't run security check.
11026 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
11027 init_properties): Moved to natRuntime.cc.
11028 Moved many includes to natRuntime.cc.
11029 (isWordsBigEndian): New method.
11030 * java/lang/natRuntime.cc: Include Long.h, also other includes
11031 previously in natSystem.cc.
11032 (maxMemory): New function.
11033 (exitInternal): Renamed from `_exit'.
11035 (init): Don't set finalize_on_exit.
11036 (exitInternal): Use `finalizeOnExit'.
11037 (file_encoding, getpwuid_adaptor): New functions from
11039 (insertSystemProperties): New method, renamed from
11040 System::init_properties. Don't set user.timezone.
11041 (_load): Don't call checkLink.
11042 (execInternal): New method.
11043 (availableProcessors): Likewise.
11044 (nativeGetLibname): Likewise.
11046 2002-05-11 Mark Wielaard <mark@klomp.org>
11048 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
11050 (previous_internal): Likewise.
11052 2002-05-09 Tom Tromey <tromey@redhat.com>
11054 * jni.cc (_Jv_JNIFunctions): Fixed typo.
11056 * java/util/ResourceBundle.java: New version from Classpath.
11057 * java/util/Locale.java: Likewise.
11059 2002-05-09 Jakub Jelinek <jakub@redhat.com>
11061 * testsuite/lib/libjava.exp (libjava_arguments): Append all
11062 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
11065 2002-05-08 Mark Mitchell <mark@codesourcery.com>
11067 * libjava/Makefile.am (all_java_source_files): New variable.
11068 (all_java_class_files): Likewise.
11069 .java.class: New rule.
11070 (CLEANFILES): Remove tmp-list.
11071 * libjava/Makefile.in: Regenerated.
11073 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
11075 * testsuite/lib/libjava.exp (test_libjava_from_javac):
11076 Append .exe to executable names. Fix for cygwin.
11078 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
11080 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
11081 script entry, and set LD to it when configuring multilibs.
11082 * configure: Rebuilt.
11084 2002-05-07 Tom Tromey <tromey@redhat.com>
11086 * java/lang/natString.cc (unintern): Fixed typo.
11088 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
11090 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
11091 with -no-install on *-*-cygwin*.
11093 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
11095 * testsuite/lib/libjava.exp (test_libjava_from_source):
11096 Add comment explaining last patch
11098 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
11100 * testsuite/lib/libjava.exp (test_libjava_from_source):
11101 Append .exe to executable names. If no suffix is present,
11102 then ".exe" is added by default on win32. Harmless
11103 elsewhere so always do it.
11105 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
11106 Tom Tromey <tromey@redhat.com>
11108 * java/lang/natSystem.cc (getSystemTimeZone): Use
11109 HAVE_UNDERSCORE_TIMEZONE.
11110 * include/config.h.in: Rebuilt.
11111 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
11112 * aclocal.m4, configure: Rebuilt.
11113 * acinclude.m4: Run AC_EXEEXT.
11114 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
11115 Add test for `_timezone'.
11117 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
11119 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11120 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
11121 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11122 * Makefile.in: Rebuilt.
11124 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
11126 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
11127 use sigaction instead of __libc_sigaction.
11129 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11131 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
11132 (libjava_init): Use it to find libgcj.spec.
11133 (libjava_arguments): Likewise.
11135 2002-05-02 David S. Miller <davem@redhat.com>
11138 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
11139 __libc_sigaction on Sparc.
11141 2002-05-02 Jerome Marc <marcjero@yahoo.com>
11143 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
11144 sys/filio.h, if present.
11146 2002-04-30 Tom Tromey <tromey@redhat.com>
11148 * java/io/BufferedReader.java (fill): Handle case where markPos
11149 point to ignored \n. Fixes PR libgcj/6301.
11151 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
11153 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
11155 2002-04-29 Adam King <aking@dreammechanics.com>
11157 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
11158 of file in APPEND mode.
11160 2002-04-25 David S. Miller <davem@redhat.com>
11163 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
11164 program counter to next program counter minus 8. Update
11165 comments in this macro to explain why.
11167 2002-04-26 Tom Tromey <tromey@redhat.com>
11169 * verify.cc (construct_primitive_array_type) [void_type]: New
11171 (branch_prepass): Added dummy entries for unused instruction
11173 (verify_instructions_0): Likewise.
11174 * interpret.cc (continue1): Comment fix.
11175 * include/java-insns.h (op_xxxunusedxxx1): Removed.
11176 * Makefile.in: Rebuilt.
11177 * Makefile.am: Added -Wswitch-enum.
11179 2002-04-24 Tom Tromey <tromey@redhat.com>
11181 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
11182 correct length of UTF-8 encoded name. Strip leading `/'.
11183 (_Jv_RegisterResource): Use _Jv_Malloc.
11185 2002-04-23 Adam Megacz <adam@xwt.org>
11187 * win32.cc, include/win32.cc (backtrace): Added this function
11188 because Win32 does not supply it.
11190 2002-04-21 David S. Miller <davem@redhat.com>
11192 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
11193 magic instruction reading sequence.
11195 2002-04-21 Mark Wielaard <mark@klomp.org>
11197 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
11199 2002-04-19 David S. Miller <davem@redhat.com>
11201 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
11203 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
11204 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
11206 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
11208 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
11209 * sysdeps/sparc/locks.h: New file.
11210 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
11211 on all sparc Solaris configurations. Set to
11212 include/dwarf2-signal.h on sparc Linux.
11213 * configure: Regenerate
11214 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
11216 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
11218 * configure: Rebuilt.
11219 * configure.in (backtrace): Function doesn't work on IA-64.
11221 2002-04-17 Adam King <aking@dreammechanics.com>
11223 * java/io/File.java (normalizePath): Add Win32 support for auto
11224 conversion of a '/' path separator to Win32's '\' separator.
11226 2002-04-16 Tom Tromey <tromey@redhat.com>
11228 Fix for PR libgcj/6081:
11229 * Makefile.in: Rebuilt.
11230 * Makefile.am (install-data-local): Use GNU make trick to avoid
11233 2002-04-16 Adam King <aking@dreammechanics.com>
11234 Tom Tromey <tromey@redhat.com>
11236 * java/io/natFileWin32.cc (performList): Return the correct array
11237 type. Don't duplicate the creation of a File since it's already
11238 done earlier in the method and the existing code would cause a
11239 ArrayStoreException. Don't use fixed-size array.
11240 (_access, _stat, attr, getCanonicalPath, performMkdir,
11241 performRenameTo): Don't use fixed-size array.
11242 (getCanonicalPath): Use throw, not _Jv_Throw.
11244 2002-04-15 DJ Delorie <dj@redhat.com>
11246 * configure.in: Allow building in $srcdir.
11247 * configure: Regenerated.
11249 2002-04-14 Mark Wielaard <mark@klomp.org>
11251 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
11252 * java/net/natSocketImpl.cc (close): Likewise.
11254 2002-04-14 Mark Wielaard <mark@klomp.org>
11256 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
11258 2002-04-13 Adam King <aking@dreammechanics.com>
11260 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
11261 the f/F/d/D modifiers.
11263 2002-04-12 Anthony Green <green@redhat.com>
11265 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
11266 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
11267 * Makefile.in: Rebuilt.
11268 * configure.in: Substitute gcc_version.
11269 * configure: Rebuilt.
11271 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11273 * configure.host: Set can_unwind_signal on hosts which support it.
11274 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
11275 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
11276 exceptions and can_unwind_signal isn't set.
11277 * configure: Rebuilt.
11279 2002-04-11 Tom Tromey <tromey@redhat.com>
11281 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
11283 2002-04-11 Adam King <aking@dreammechanics.com>
11284 Tom Tromey <tromey@redhat.com>
11286 * include/jvm.h (_Jv_ThrowBadArrayIndex,
11287 _Jv_ThrowNullPointerException): Mark as noreturn.
11288 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
11289 and _Jv_free. Correctly invoke GetTempPath(). Indentation
11292 2002-04-10 Tom Tromey <tromey@redhat.com>
11294 * Makefile.in: Rebuilt.
11295 * Makefile.am (java/lang/Thread.h): Mark
11296 _Jv_AttachCurrentThreadAsDaemon as friend.
11297 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
11298 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
11299 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
11301 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
11302 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
11303 (_Jv_JNI_InvokeFunctions): Added
11304 _Jv_JNI_AttachCurrentThreadAsDaemon.
11305 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
11306 (JNI_GetDefaultJavaVMInitArgs): Likewise.
11307 (JNI_CreateJavaVM): Likewise.
11308 (_Jv_JNI_AttachCurrentThread): Likewise.
11309 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
11310 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
11311 (_Jv_JNIFunctions): Initialize new fields.
11312 (_Jv_JNI_NewDirectByteBuffer): New function.
11313 (_Jv_JNI_GetDirectBufferAddress): Likewise.
11314 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
11315 * include/jni.h (JNI_VERSION_1_4): New macro.
11316 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
11317 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
11318 (JNINativeInterface::NewDirectByteBuffer): New field.
11319 (JNINativeInterface::GetDirectBufferAddress): New field.
11320 (JNINativeInterface::GetDirectBufferCapacity): New field.
11321 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
11322 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
11323 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
11325 2002-04-09 Tom Tromey <tromey@redhat.com>
11327 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
11329 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
11331 Fix for PR libgcj/6187:
11332 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
11335 2002-04-07 Mark Wielaard <mark@klomp.org>
11337 * java/util/AbstractMap.java (putAll): Use entrySet size.
11338 (toString): Explicitly use getKey() and getValue().
11340 2002-04-07 Mark Wielaard <mark@klomp.org>
11342 * java/util/Hashtable.java (contains): Remove NullPointer check.
11343 (containsValue): Add NullPointer check.
11344 (remove): Always throw NullPointerException when key
11347 2002-04-07 Adam King <aking@dreammechanics.com>
11349 * java/lang/natSystem.cc (init_properties): Call new function
11350 _Jv_platform_initProperties.
11351 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
11352 support for the System properties os.name, os.arch, os.version,
11353 user.name, user.home, and user.dir.
11354 * include/posix.h, include/win32.h, posix.cc: New function
11355 _Jv_platform_initProperties.
11357 2002-04-06 Mark Wielaard <mark@klomp.org>
11359 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
11361 2002-04-06 Mark Wielaard <mark@klomp.org>
11363 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
11364 all of the remaining elements.
11365 * java/util/Vector.java (addAll(int,Collection)): Likewise.
11366 (removeRange): If toIndex == fromIndex do
11367 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
11368 (removeAll): Always throw NullPointerException when collection is
11370 (retrainAll): Likewise.
11372 2002-04-05 Mark Wielaard <mark@klomp.org>
11374 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
11375 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
11377 2002-04-05 Adam Megacz <adam@xwt.org>
11379 * exception.cc (abort): added static modifier
11381 2002-04-04 Adam Megacz <adam@xwt.org>
11383 * include/win32.h (_Jv_platform_close_on_exec): added inline
11386 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
11388 * configure.host: Add case statement to support generic port
11389 properties. Add *-*-freebsd* section.
11391 2002-04-04 Mark Wielaard <mark@klomp.org>
11393 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
11395 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
11396 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
11397 that depend on awt code and BufferedByteOutputStream.interrupt.
11399 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11401 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
11402 incorrect "hi" value when count > 40.
11404 2002-04-03 Mark Wielaard <mark@klomp.org>
11406 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
11409 2002-04-02 Tom Tromey <tromey@redhat.com>
11411 * java/lang/natClassLoader.cc (findClass): Compare against `3',
11414 2002-04-02 Mark Wielaard <mark@klomp.org>
11416 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
11417 list of testsuite crashers.
11419 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11421 * java/util/IdentityHashMap.java (put): Set new threshold correctly
11422 when resizing table.
11424 2002-04-01 Mark Wielaard <mark@klomp.org>
11426 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
11427 NegativeArraySizeException
11428 (clear(int)): Use sign extended shift.
11429 (flip(int)): Likewise.
11430 (get(int)): Likewise.
11431 (nextClearBit(int)): Likewise.
11432 (nextSetBit(int)): Likewise.
11433 (set(int)): Likewise.
11435 2002-04-01 Mark Wielaard <mark@klomp.org>
11437 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
11438 that can be compiled now and add testsuite crashers to ignore list.
11440 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
11442 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
11444 * libgcj.spec.in: Override libgcc, not lib.
11445 * libgcj-test.spec.in: Likewise.
11447 2002-03-29 Tom Tromey <tromey@redhat.com>
11449 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
11450 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
11452 2002-03-27 Jeff Sturm <jsturm@one-point.com>
11454 * java/net/PlainDatagramSocketImpl.java
11455 (close): Use native implementation.
11456 (finalize): New method.
11458 * java/net/PlainSocketImpl.java (finalize): New method.
11460 * java/net/natPlainDatagramSocketImpl.cc
11461 (java/io/FileDescriptor.h): Don't include.
11462 (close): Implement method here.
11463 (create): Don't assign fd.
11465 * java/net/natPlainSocketImpl.cc
11466 (java/io/FileDescriptor.h): Don't include.
11467 (create): Don't assign fd.
11468 (accept): Likewise.
11469 (close): Synchronize.
11471 2002-03-27 Richard Henderson <rth@redhat.com>
11473 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
11475 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11477 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11478 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
11479 instead of syscall on IA-64.
11482 2002-03-27 Anthony Green <green@redhat.com>
11484 * libgcj.spec.in: Add CHECKREFSPEC.
11485 * configure.in: Ditto.
11486 * configure.host: Ditto. Check references for xscale-elf.
11487 * configure: Rebuilt.
11489 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
11491 * include/dwarf2-signal.h: Temporarily back out last change.
11493 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
11495 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
11497 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11499 * configure.in, configure: enable dwarf2-exception-style
11500 exception handling on IA-64.
11501 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11502 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
11505 2002-03-25 Tom Tromey <tromey@redhat.com>
11507 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
11508 (jv_convert_LDFLAGS): Likewise.
11509 (gij_LDFLAGS): Likewise.
11510 (rmic_LDFLAGS): Likewise.
11511 (rmiregistry_LDFLAGS): Likewise.
11512 * configure.in (THREADLDFLAGS): New subst; set correctly for
11515 2002-03-25 Tom Tromey <tromey@redhat.com>
11517 For PR libgcj/5303:
11518 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
11520 (help): New method.
11521 (version): Likewise.
11522 * gnu/gcj/convert/Convert.java (version): Removed extraneous
11524 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
11527 2002-03-25 Tom Tromey <tromey@redhat.com>
11529 * java/awt/Component.java (processEvent): Check ComponentEvent
11532 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11534 * java/io/PushbackReader.java: Reformat.
11536 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
11537 calculate correct number of bytes skipped.
11539 Based on patch from Intel's ORP team:
11540 * java/io/PushbackInputStream.java (available): Calculate correct
11541 number of bytes in buffer.
11542 (read): Remove redundant bound check. Return bytes from both the
11543 buffer and the stream.
11545 2002-03-24 Tom Tromey <tromey@redhat.com>
11547 * java/awt/TextComponent.java (TextComponent): Editable by
11550 * java/awt/MenuItem.java (eventMask): No longer private.
11551 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
11552 superclass if we didn't handle event.
11553 * java/awt/Checkbox.java (dispatchEventImpl): New method.
11554 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
11555 * java/awt/Choice.java (dispatchEventImpl): New method.
11556 * java/awt/List.java (dispatchEventImpl): New method.
11557 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
11558 * java/awt/TextComponent.java (dispatchEventImpl): New method.
11559 * java/awt/TextField.java (dispatchEventImpl): New method.
11561 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11563 * java/beans/IntrospectionException.java: Update to 1.4.
11564 * java/beans/PropertyVetoException.java: Ditto.
11566 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11568 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
11569 Arrays.equals instead of ArrayHelper.equalsArray.
11571 2002-03-24 C. Brian Jones <cbj@gnu.org>
11573 * java/beans/Introspector.java: added new static final fields
11574 introduced in 1.2, lots of other updates remain to be done
11576 2002-03-24 C. Brian Jones <cbj@gnu.org>
11578 * java/beans/Introspector.java: reformatting
11580 2002-03-24 C. Brian Jones <cbj@gnu.org>
11582 * java/beans/Introspector.java: default beanInfoSearchPath will
11583 not include sun.beans.infos given we provide no such package and
11584 the API doesn't really require it; gnu.java.beans.info is the
11587 2002-03-24 Mark Wielaard <mark@klomp.org>
11589 Thanks to Orp developers
11590 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
11591 switch TRUE and FALSE return values.
11593 2002-03-23 Tom Tromey <tromey@redhat.com>
11595 * include/name-finder.h (_Jv_name_finder::myclose): New method.
11596 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
11598 2002-03-23 Michael Smith <msmith@spinnakernet.com>
11600 * java/util/GregorianCalendar.java (minimums, maximums): Correct
11601 MONTH entry. Fixes PR libgcj/6045.
11603 2002-03-23 Jeff Sturm <jsturm@one-point.com>
11605 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11607 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11609 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11611 * sysdep/powerpc/locks.h (write_barrier): New function.
11612 * sysdep/i386/locks.h (write_barrier): New function.
11614 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
11616 * include/jni.h Use correct C comments.
11618 2002-03-18 Tom Tromey <tromey@redhat.com>
11620 * include/jni.h (JNIIMPORT): New macro.
11621 (JNIEXPORT): Likewise.
11622 (JNICALL): Likewise.
11624 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11626 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11629 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
11631 * include/i386-signal.h (old_i386_kernel_sigaction): New.
11632 INIT_SEGV: Use old_i386_kernel_sigaction.
11635 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11637 * java/lang/natSystem.cc (init_properties): Update VM version
11639 * configure.in: Set GCJVERSION.
11640 * acconfig.h: Add GCJVERSION.
11641 * configure: Rebuilt.
11642 * include/config.h.in: Rebuilt.
11644 2002-03-17 Anthony Green <green@redhat.com>
11646 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11648 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11650 Build a single libgcj.so, without separate gc and zlib libraries.
11651 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11652 SYS_ZLIBS if system zlib is used.
11653 * configure: Rebuilt.
11654 * Makefile.am: Use boehm-gc and zlib convenience libraries.
11655 * Makefile.in: Rebuilt.
11656 * libtool-version: Increment .so version number.
11658 * Makefile.am: Escape quotes in echo.
11659 * Makefile.in: Rebuilt.
11661 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11663 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11664 * Makefile.in: Rebuilt.
11666 2002-03-15 Anthony Green <green@redhat.com>
11668 * configure.host (FILE): New macro for specifing File
11670 * configure: Rebuilt.
11671 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
11673 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
11675 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11676 already implicitly brought in from libgcj.la.
11677 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11678 * Makefile.in: Rebuilt.
11680 2002-03-15 Eric Blake <ebb9@email.byu.edu>
11682 * THANKS: Fix punctuation, alphabetization.
11684 2002-03-15 Tom Tromey <tromey@redhat.com>
11685 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11687 Fix for PR libgcj/5944.
11688 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11690 2002-03-15 Anthony Green <green@redhat.com>
11692 * configure.in (tool_include_dir): Define.
11693 * configure: Rebuilt.
11694 * gcj/Makefile.am: Install libgcj-config.h relative to
11696 * gcj/Makefile: Rebuilt.
11697 * gcj/libgcj-config.h: Add warning comment.
11699 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
11701 * configure.host (powerpc*-darwin*): Enable interpreter.
11703 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11705 * include/posix.h: Add multiple include header protection.
11706 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11708 2002-03-10 Adam Megacz <adam@xwt.org>
11710 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11712 2002-03-10 Tom Tromey <tromey@redhat.com>
11714 * java/awt/GridLayout.java (layoutContainer): Handle case where
11715 there are no items in container.
11717 * java/lang/Win32Process.java: Added comment.
11718 * include/posix.h (_Jv_platform_close_on_exec): New function.
11720 * include/win32.h (_Jv_platform_close_on_exec): New function.
11721 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11723 (accept): Likewise.
11724 * java/net/natPlainDatagramSocketImpl.cc (create): Set
11725 close-on-exec flag.
11726 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11729 2002-03-09 Tom Tromey <tromey@redhat.com>
11731 * verify.cc (state::NO_STACK): New constant.
11732 (state::is_unmerged_ret_state): Handle case where stacktop is
11734 (state::merge): Handle NO_STACK merges.
11735 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11736 for instruction following jsr.
11737 (stacktop, stackdepth): Removed unused variables.
11738 (pop_jump): Ignore case where all remaining states are skipped.
11740 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11742 * java/awt/ImageMediaEntry: Removed.
11743 * java/awt/MediaEntry: Removed.
11745 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11747 Hashtable synchronization for PowerPC.
11748 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11749 slow_pthread_self. Set up symlink for sysdeps directory.
11750 * configure: Rebuild.
11751 * configure.host: Document more shell variables. Set sysdeps_dir
11752 for most platforms. Set slow_pthread_self for i686. Set
11753 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11754 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11755 that memory barrier is emitted where required.
11756 * prims.cc: 64-bit align static primitive class instances.
11757 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11758 read_barrier() to enforce ordering of reads.
11759 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11760 primitives for PowerPC.
11761 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11762 moved from natObject.cc.
11763 * sysdep/alpha/locks.h: Likewise.
11764 * sysdep/ia64/locks.h: Likewise.
11765 * sysdep/generic/locks.h: Likewise.
11766 * java/lang/natObject.cc: Move thread synchronization primitives to
11767 system-dependent headers.
11769 2002-03-09 Adam Megacz <adam@xwt.org>
11771 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11772 bytes read and no failure code returned.
11774 2002-03-09 Adam Megacz <adam@xwt.org>
11776 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11777 definitions to simulate -mthreads.
11779 2002-03-09 Adam Megacz <adam@xwt.org>
11781 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11782 avoid precision loss.
11784 2002-03-09 Per Bothner <per@bothner.com>
11786 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11787 * gnu/gcj/xlib/XImage.java: Likewise.
11788 * gnu/gcj/xlib/XColor.java: Likewise.
11790 2002-03-09 Adam Megacz <adam@xwt.org>
11792 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11793 IOException so that Throwable.printStackTrace fails correctly.
11795 2002-03-08 Adam Megacz <adam@xwt.org>
11797 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11800 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11802 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11805 2002-03-08 Tom Tromey <tromey@redhat.com>
11807 * include/jni.h: Include stdio.h.
11809 2002-03-08 Tom Tromey <tromey@redhat.com>
11811 * posix.cc (internal_gettimeofday): New function.
11812 (_Jv_select): Use it.
11814 2002-03-07 Adam Megacz <adam@xwt.org>
11816 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11817 WIN32, and added thunks for read(), write(), and close().
11818 * java/net/natPlainSocketImpl.cc (accept, read, read):
11819 Disabled timeouts on WIN32 pending discussion.
11821 2002-03-07 Adam Megacz <adam@xwt.org>
11823 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11824 returns jlong. Added implementation
11825 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11827 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11829 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11831 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11832 _Jv_platform_gettimeofday signature.
11834 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11836 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11837 (read): Call recv() directly, not _Jv_recv().
11839 2002-03-06 Tom Tromey <tromey@redhat.com>
11841 * java/io/natFileDescriptorEcos.cc (init): Don't use
11843 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11845 (init): Don't use GetStdHandle.
11847 * include/config.h.in: Rebuilt.
11848 * configure: Rebuilt.
11849 * Makefile.in: Rebuilt.
11851 2002-03-06 Adam Megacz <adam@xwt.org>
11853 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11854 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11855 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11856 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11858 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11860 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11861 the code for generating include/java-chartables.h.
11862 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11863 merge with Classpath.
11864 * scripts/unicode-muncher.pl: Copy from Classpath.
11865 * scritps/MakeCharTables.java: New file.
11866 * gnu/gcj/convert/Blocks-3.txt: New file.
11867 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11868 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11869 * gnu/java/lang/CharData.java: Copy from Classpath.
11870 * Makefile.am (ordinary_java_source_files): Add
11871 gnu/java/lang/CharData.java.
11872 * configure.in: Remove --enable-fast-character option.
11873 * java/lang/Character.java: Merge algorithms and Javadoc with
11875 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11877 * include/java-chardecomp.h: Regenerate.
11878 * include/java-chartables.h: Regenerate.
11880 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11882 * java/awt/MediaTracker.java: Implemented.
11883 * Makefile.am: Add MediaTracker.
11884 * Makefile.in: Rebuilt.
11886 2002-03-05 Tom Tromey <tromey@redhat.com>
11888 * java/lang/natPosixProcess.cc (fail): Removed.
11889 (startProcess): Simplified error-handling. Preserve
11890 LD_LIBRARY_PATH across exec.
11892 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11893 AbstractMethodError.
11895 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11897 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11898 * Makefile.in: Rebuilt.
11900 2002-03-03 Mark Wielaard <mark@klomp.org>
11902 * java/util/Timer (TaskQueue.stop): set elements to zero.
11904 2002-02-28 Anthony Green <green@redhat.com>
11906 * java/lang/reflect/natMethod.cc (result): Add void* element.
11907 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11910 2002-02-27 Adam Megacz <adam@xwt.org>
11912 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11915 2002-02-26 Tom Tromey <tromey@redhat.com>
11917 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11918 * gij.cc (version): Use __VERSION__.
11919 * include/config.h.in: Rebuilt.
11920 * acconfig.h (GCJVERSION): Removed.
11921 * configure: Rebuilt.
11922 * configure.in (GCJVERSION): Removed.
11924 2002-02-26 Andreas Schwab <schwab@suse.de>
11926 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11927 glibcpp_CXX, since libjava uses even another CXX.
11928 * aclocal.m4, configure: Regenerated.
11930 2002-02-26 Tom Tromey <tromey@redhat.com>
11932 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11935 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11937 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11938 dependency tracking for .java files.
11939 * Makefile.in: Rebuilt.
11941 2002-02-24 Adam Megacz <adam@xwt.org>
11943 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11946 2002-02-24 Adam Megacz <adam@xwt.org>
11948 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11949 for Win32, changed #ifdefs to check WIN32 instead of the
11950 (now-obsolete) USE_WINSOCK, and removed support for socket
11951 timeouts on Win32 pending further discussion.
11953 2002-02-24 Adam Megacz <adam@xwt.org>
11955 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11956 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11959 2002-02-24 Adam Megacz <adam@xwt.org>
11961 * java/lang/Win32Process.java: Created a dummy class to allow
11962 build process to run to completion.
11964 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11966 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11967 Define ffi_result union for ffi_call result. Cast
11968 ffi_result members to jvalue.
11970 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11972 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11973 * testsuite/Makefile.in: Likewise.
11975 2002-02-20 Per Bothner <per@bothner.com>
11977 * java/net/URL.java (getPath): New JDK 1.3 method.
11979 * java/net/URLStreamHandler.java (parseURL):
11980 It is wrong to prepend '/' to the file part of a relative url.
11982 * java/net/URLStreamHandler.java (parseURL):
11983 Minor optizations - append '/' rather than "/".
11985 * java/net/URLStreamHandler.java (parseURL):
11986 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11987 We probably should canonicalize for a context-relative url, though.
11988 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11989 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11990 (sameFile): New method. Uses canonicalizeFilename.
11992 2002-02-22 Tom Tromey <tromey@redhat.com>
11994 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11995 java.vendor and java.vm.vendor.
11996 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11997 recent copyright date.
11998 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11999 * gij.cc (version): Print `Inc'.
12001 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
12003 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
12004 * aclocal.m4, configure: Rebuilt.
12006 2002-02-20 Per Bothner <per@bothner.com>
12008 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
12009 and/or output streams immediately here, instead of using File.exists.
12010 (inputStream, outputStream): New fields to save open streams.
12011 (getInputStream, getOutputStream): Use already-opened streams.
12013 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
12015 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
12017 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
12018 * aclocal.m4, configure, Makefile.in: Rebuilt.
12020 2002-02-19 Tom Tromey <tromey@redhat.com>
12022 Fix for PR libgcj/5696:
12023 * verify.cc (is_assignable_from_slow): Never call
12024 _Jv_IsAssignableFrom.
12025 (verify_instructions_0): Added new debug statement.
12026 (state::print): Print information about whether local has
12028 (state::merge): Don't call note_variable when merging locals.
12029 (state::set_exception): Removed old FIXME comment.
12031 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12033 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
12034 enable SO_BROADCAST.
12036 2002-02-18 Jason Merrill <jason@redhat.com>
12038 * name-finder.cc (toHex): Use word mode, not long long.
12040 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
12042 2002-02-15 Tom Tromey <tromey@redhat.com>
12044 Fix for PR libgcj/5695:
12045 * verify.cc (is_assignable_from_slow): Check to see if target is
12046 an Object before checking to see if source is an interface.
12047 (verify_instructions_0) [op_invokeinterface]: Handle case where
12048 we're making an interface call on Object.
12050 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12052 * Makefile.in: Rebuilt with Eric's change below.
12054 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
12055 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
12056 Removed functions which are now implemented in Math.java.
12058 2002-02-14 Eric Blake <ebb9@email.byu.edu>
12060 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
12061 * Makefile.am (core_java_source_files): Add
12062 java/lang/StrictMath.java.
12063 * java/lang/Math.java: Merge with Classpath.
12064 * java/lang/StrictMath.java: New file - merge with Classpath.
12066 2002-02-14 Mark Wielaard <mark@klomp.org>
12068 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
12069 package as a workaround for gcj 3.0.x
12071 2002-02-14 Mark Wielaard <mark@klomp.org>
12073 * java/security/BasicPermission.java: extends with fully qualified
12074 classname as workaround for gcj 3.0.4.
12076 2002-02-14 Eric Blake <ebb9@email.byu.edu>
12078 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
12079 around gcj bug of wrong emitted qualifier for inherited method.
12080 * java/net/SocketImpl.java (setOption, getOption): Ditto.
12081 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
12082 constructor to reduce amount of emitted bytecode. While this
12083 happens to work around a jikes 1.15 bug, it is still a useful
12084 patch even for correct compilers.
12085 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
12086 * gnu/java/rmi/server/UnicastRemoteCall.java
12087 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
12089 2002-02-14 Eric Blake <ebb9@email.byu.edu>
12091 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
12092 * java/net/SocketImpl.java: Ditto.
12093 * java/rmi/server/RMIClassLoader.java: Ditto.
12094 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
12096 2002-02-14 Mark Wielaard <mark@klomp.org>
12098 Thanks to Takashi Okamoto
12099 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
12100 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
12101 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
12103 2002-02-13 Todd Stock <toddastock@yahoo.com>
12105 Fix for PR libgcj/5670:
12106 * verify.cc (is_assignable_from_slow): If `source' is interface,
12107 recursively look for merge with `target'.
12109 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
12111 * include/jni.h: Fix typo.
12113 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
12115 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
12118 2002-02-13 Todd Stock <toddastock@yahoo.com>
12120 Fix for PR libgcj/5671:
12121 * verify.cc (state::merge): Handle case where we're merging
12122 against an interface.
12124 2002-02-12 Tom Tromey <tromey@redhat.com>
12126 * exception.cc (std::abort): Mark as noreturn.
12128 2002-02-12 Adam Megacz <adam@xwt.org>
12130 * java/lang/Win32Process.java: Filled in a placeholder
12131 implementation so Win32 will build.
12133 2002-02-12 Adam Megacz <adam@xwt.org>
12135 * java/io/natFilePosix.cc: Copied this from natFile.cc.
12136 * java/io/natFile.cc: Removed from repository.
12137 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
12139 2002-02-12 Adam Megacz <adam@xwt.org>
12141 * win32.cc: Added two #includes to make win32.cc compile.
12143 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12145 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
12147 (_Jv_InitGC): Don't bother locking, as this is always called from a
12148 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
12150 2002-02-11 Adam Megacz <adam@xwt.org>
12152 * include/win32.h: Added _Jv_platform_gettimeofday.
12153 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
12155 2002-02-11 Adam Megacz <adam@xwt.org>
12157 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
12158 Added #undef STRICT to make windows.h and
12159 java/lang/reflect/Modifier.h cooperate.
12161 2002-02-11 Adam Megacz <adam@xwt.org>
12163 * java/io/natFileWin32.cc: Created a placeholder class with lots
12166 2002-02-11 Adam Megacz <adam@xwt.org>
12168 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
12169 std::abort() to simply abort(). Also added "fake" std::abort() so
12170 we can #include unwind-pe.h without having to link against
12173 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
12175 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
12177 2002-02-08 Tom Tromey <tromey@redhat.com>
12179 * interpret.cc (convert): New function.
12180 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
12184 2002-02-08 Anthony Green <green@redhat.com>
12186 * configure.host: Add support for xscale-elf embedded target.
12188 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
12190 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
12192 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
12195 2002-02-07 Tom Tromey <tromey@redhat.com>
12197 * java/io/natFile.cc (_access): Use __builtin_alloca.
12200 (getCanonicalPath): Likewise.
12201 (performList): Likewise.
12202 (performMkdir): Likewise.
12203 (performSetReadOnly): Likewise.
12204 (performRenameTo): Likewise.
12205 (performSetLastModified): Likewise.
12206 (performCreate): Likewise.
12207 (performDelete): Likewise.
12209 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12211 * HACKING: Fix URL for the automake-gcj.
12213 2002-02-07 Tom Tromey <tromey@redhat.com>
12215 * java/lang/natThrowable.cc: Updated copyright.
12216 * java/io/natFileWin32.cc: Updated copyright.
12217 * java/io/natFileDescriptorWin32.cc: Updated copyright.
12218 * win32-threads.cc: Updated copyright.
12219 * name-finder.cc: Updated copyright.
12220 * include/name-finder.h: Updated copyright.
12222 * include/name-finder.h: Conditionally include sys/wait.h.
12223 * include/config.h.in: Rebuilt.
12225 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
12226 Size buffer based on real size of string.
12229 (getCanonicalPath): Likewise.
12230 (performList): Likewise.
12231 (performMkdir): Likewise.
12232 (performSetReadOnly): Likewise.
12233 (unixroot): Removed.
12234 (performRenameTo): Likewise.
12235 (performSetLastModified): Likewise.
12236 (performCreate): Likewise.
12237 (performDelete): Likewise.
12238 (performListRoots): Always return new array.
12240 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
12241 * win32.cc (win32_exception_handler): Now static.
12242 * include/win32.h (_Jv_platform_initialize): Declare.
12243 (win32_exception_handler): Don't declare.
12244 * java/lang/natSystem.cc (currentTimeMillis): Use
12245 _Jv_platform_gettimeofday.
12246 * posix.cc (_Jv_platform_gettimeofday): Renamed.
12247 (_Jv_select): Use new name.
12248 (_Jv_platform_initialize): New function.
12249 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
12251 (_Jv_platform_initialize): Declare.
12253 * configure: Rebuilt.
12254 * configure.in: Removed unnecessary parens.
12256 2002-02-06 Adam Megacz <adam@xwt.org>
12258 * configure.in: Changed mingw) to *mingw*).
12259 * win32.cc: Created this file.
12260 * win32.h: Created this file.
12261 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
12262 win32_exception_handler from prims.cc to win32.cc, added
12264 * prims.cc: removed some #ifdef-WIN32'd headers which are no
12265 longer needed now that we have platform.h
12267 2002-02-06 Adam Megacz <adam@xwt.org>
12269 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
12270 use uint<n>_t instead of LONG and BYTE
12272 2002-02-06 Adam Megacz <adam@xwt.org>
12274 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
12276 2002-02-06 Anthony Green <green@redhat.com>
12278 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
12279 Implement missing method stubs.
12280 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
12282 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
12283 concept of timezones.
12284 (init_properties): Don't refer to _Jv_Environment_Properties
12285 when this feature is not available.
12286 * include/config.h.in: Rebuilt.
12287 * acconfig.h: Add DISABLE_MAIN_ARGS.
12288 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
12289 * configure: Rebuilt.
12290 * configure.in: Add --disable-main-args option. Test for
12291 opendir function. Replace AC_CHECK_SIZEOF with
12292 AC_COMPILE_CHECK_SIZEOF.
12293 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
12294 * aclocal.m4: Rebuilt.
12295 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
12297 2002-02-06 Tom Tromey <tromey@redhat.com>
12299 * verify.cc (require_array_type): If argument is a null array of
12300 references, return null as the element type.
12302 2002-02-06 Mark Wielaard <mark@klomp.org>
12304 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
12305 duplicate of a wide type.
12307 2002-02-06 Tom Tromey <tromey@redhat.com>
12309 * verify.cc (type::isnull): New method.
12310 (require_array_type): Handle case where array is null.
12311 (verify_instructions_0) [op_arraylength]: Likewise.
12313 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12315 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
12316 Symlink PLATFORMH to platform.h.
12317 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
12319 * java/lang/natSystem.cc: #include platform.h not posix.h.
12320 * Makefile.in: Rebuilt with libgcj automake.
12321 * configure: Rebuilt.
12323 2002-02-05 Richard Henderson <rth@redhat.com>
12325 * Makefile.in: Undo munging last change.
12327 2002-02-04 Adam Megacz <adam@xwt.org>
12329 * win32.cc: Created it.
12330 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
12331 which is set to posix.cc or win32.cc.
12332 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
12334 2002-02-04 Adam Megacz <adam@xwt.org>
12336 * configure.in: Corrected mingw case branches; added * before
12339 2002-02-04 Adam Megacz <adam@xwt.org>
12341 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
12342 if compiling for win32
12344 2002-02-04 Adam Megacz <adam@xwt.org>
12346 * win32-threads.cc: #undef STRICT after gc.h inclusion
12348 2002-02-02 Tom Tromey <tromey@redhat.com>
12350 * Makefile.in: Rebuilt.
12352 2002-02-02 Jason Merrill <jason@redhat.com>
12354 * Makefile.am (clean-nat): New target.
12356 2002-02-02 Tom Tromey <tromey@redhat.com>
12358 * java/io/natFile.cc: Removed old "FIXME" comments.
12360 2002-02-01 Tom Tromey <tromey@redhat.com>
12362 * java/lang/natPosixProcess.cc (myclose): New function.
12364 (startProcess): Likewise.
12366 2002-02-01 Adam Megacz <adam@xwt.org>
12368 * prims.cc: Added #undef STRICT after #include<windows.h>.
12370 2002-02-01 Adam Megacz <adam@xwt.org>
12373 (_Jv_CreateJavaVM): We now use WIN32 instead of
12374 USE_WIN32_SIGNALLING and USE_WINSOCK.
12375 (win32_exception_handler): Now throws an exception out of
12376 the signal handler; assumes SJLJ.
12378 2002-02-01 Adam Megacz <adam@xwt.org>
12380 * win32-threads.cc:
12381 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
12382 wait() algorithm to make it safe.
12383 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
12384 Added lazy creation of Win32 Events for better performance
12385 (really_start): This now uses GC_CreateThread so boehm-gc
12386 knows about new threads even when statically linked.
12388 2002-02-01 Adam Megacz <adam@xwt.org>
12390 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
12391 enable safer wait() algorithm.
12392 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
12393 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
12394 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
12395 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
12397 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
12399 2002-02-01 Adam Megacz <adam@xwt.org>
12401 * configure.in: Added support for mingw.
12402 * java/lang/Win32Process.java: Created as empty file.
12403 * java/lang/natWin32Process.cc: Created as empty file.
12405 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
12408 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
12409 for libiconv in LIBICONV variable.
12410 * configure: Regenerated.
12412 2002-01-31 Tom Tromey <tromey@redhat.com>
12414 * verify.cc (state::enter_subroutine): New method.
12415 (handle_jsr_insn): Use it.
12416 (state::merge): When processing a `ret', correctly use
12417 subroutine's state to determine which local variables have
12419 (push_exception_jump): Don't let stack overflow.
12421 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
12423 * gnu/gcj/convert/Convert.java: Only include one copyright year in
12426 2002-01-30 Tom Tromey <tromey@redhat.com>
12428 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
12429 parameter for `recv' return type.
12431 * verify.cc (handle_ret_insn): Check for subroutine merge here...
12432 (state::merge): ... not here.
12433 (subr_entry_info): New structure.
12434 (entry_points): New field.
12435 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
12438 2002-01-29 Tom Tromey <tromey@redhat.com>
12440 * java/awt/List.java (addNotify): Correctly check to see if peer
12443 * java/awt/GridLayout.java (layoutContainer): Use number of rows
12444 to compute height of each cell, and number of columns to compute
12445 width of each cell.
12446 * java/awt/Window.java (getOwnedWindows): Don't return null.
12447 * java/awt/FlowLayout.java (layoutContainer): Set width and height
12448 of component. Increment x using horizontal gap, not vertical
12451 2002-01-28 Tom Tromey <tromey@redhat.com>
12453 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
12454 `nargs' byte is number of words, not number of arguments.
12456 2002-01-27 Tom Tromey <tromey@redhat.com>
12458 * java/awt/event/MouseEvent.java (modifiers): Removed field.
12460 * java/awt/event/InputEvent.java (modifiers, when): Now
12463 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
12465 (state::merge): Use current class' class loader.
12466 (state::print): Print subroutine.
12467 (state::merge): Don't look at subroutine of unmerged `ret'.
12469 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
12471 * nogc.cc: Remove warnings.
12472 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
12475 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12477 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
12478 int, int): Remove empty "if" statement to work around compiler bug.
12479 (newPixels(int[], ColorModel, int, int): Likewise.
12481 2002-01-25 Per Bothner <per@bothner.com>
12483 * verify.cc (verify_fail): Change from being a top-level function
12484 to e method of _Jv_BytecodeVerifier. Emit current method name.
12485 Pass the current verifier to type: and state: methods as needed,
12486 for better error messages, and for resolve.
12487 (resolve): Pass current class's loader for Class.forName and
12488 _Jv_FindClassFromSignature, rather than using the default loader.
12489 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
12490 (get_type_val_for_signature): Make non-static.
12491 (various methods): Pass start_PC implicitly, not explicitly.
12493 2002-01-25 Tom Tromey <tromey@redhat.com>
12495 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
12496 loop termination condition.
12497 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
12500 2002-01-24 Tom Tromey <tromey@redhat.com>
12502 * java/awt/Shape.java: Merged with Classpath.
12503 * java/awt/Scrollbar.java: Merged with Classpath.
12505 * java/awt/Container.java (addNotify): Unconditionally call
12506 addNotifyContainerChildren and superclass addNotify.
12508 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
12509 getAlpha, not getBlue.
12511 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12513 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
12515 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
12516 (grabPixels(long)): Wait to be notified that the ImageProducer has
12519 2002-01-24 Per Bothner <per@bothner.com>
12521 * verify.cc (is_assignable_from_slow): If target is an interface,
12522 we must still check the source's superclass before giving up.
12524 2002-01-24 Tom Tromey <tromey@redhat.com>
12526 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
12528 2002-01-23 Tom Tromey <tromey@redhat.com>
12530 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
12533 * Makefile.in: Rebuilt.
12534 * Makefile.am (awt_java_source_files): Added new files.
12535 * java/awt/Toolkit.java: Merged with Classpath.
12536 * java/awt/PrintGraphics.java: New file from Classpath.
12537 * java/awt/PrintJob.java: New file from Classpath.
12538 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
12539 * java/awt/datatransfer/ClipboardOwner.java: New file from
12541 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
12542 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
12543 * java/awt/datatransfer/MimeTypeParseException.java: New file from
12545 * java/awt/datatransfer/StringSelection.java: New file from
12547 * java/awt/datatransfer/SystemFlavorMap.java: New file from
12549 * java/awt/datatransfer/Transferable.java: New file from
12551 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
12554 * Makefile.in: Rebuilt.
12555 * Makefile.am (awt_java_source_files): Added new files.
12556 * java/awt/image/AreaAveragingScaleFilter.java: New file from
12558 * java/awt/image/CropImageFilter.java: New file from Classpath.
12559 * java/awt/image/FilteredImageSource.java: New file from
12561 * java/awt/image/ImageFilter.java: New file from Classpath.
12562 * java/awt/image/MemoryImageSource.java: New file from Classpath.
12563 * java/awt/image/PixelGrabber.java: New file from Classpath.
12564 * java/awt/image/RGBImageFilter.java: New file from Classpath.
12565 * java/awt/image/ReplicateScaleFilter.java: New file from
12567 * java/awt/image/ImageProducer.java: Replaced with Classpath
12569 * java/awt/image/ImageObserver.java: Replaced with Classpath
12571 * java/awt/image/ImageConsumer.java: Replaced with Classpath
12573 * java/awt/GridBagConstraints.java (clone): Catch
12574 CloneNotSupportedException.
12576 2002-01-23 Per Bothner <per@bothner.com>
12578 * java/lang/reflect/natField.cc (setAddr): New function.
12579 Calls getAddr and then checks that the field isn't final.
12580 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
12581 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
12582 (set): Call setAddr before check that new value has right type,
12583 to better match specified semantics.
12585 2002-01-22 Tom Tromey <tromey@redhat.com>
12587 * java/awt/TextField.java: Replaced with Classpath version.
12588 * java/awt/TextArea.java: Replaced with Classpath version.
12589 * java/awt/TextComponent.java: Replaced with Classpath version.
12591 * java/awt/GridBagConstraints.java: Updated copyright.
12593 2002-01-22 Mark Wielaard <mark@klomp.org>
12595 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
12596 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
12597 java/awt/Dialog.java java/awt/FileDialog.java
12598 java/awt/Font.java java/awt/FontMetrics.java
12599 java/awt/Image.java java/awt/ImageMediaEntry.java
12600 java/awt/Insets.java java/awt/List.java
12601 java/awt/MediaEntry.java java/awt/MediaTracker.java
12602 java/awt/Menu.java java/awt/MenuBar.java
12603 java/awt/MenuContainer.java java/awt/MenuShortcut.java
12604 java/awt/PaintContext.java java/awt/Panel.java
12605 java/awt/PopupMenu.java java/awt/SystemColor.java
12606 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12607 java/awt/peer/CheckboxMenuItemPeer.java
12608 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12609 java/awt/peer/ComponentPeer.java
12610 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12611 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12612 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12613 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12614 java/awt/peer/MenuBarPeer.java
12615 java/awt/peer/MenuComponentPeer.java
12616 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12617 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12618 java/awt/peer/ScrollPanePeer.java
12619 java/awt/peer/ScrollbarPeer.java
12620 java/awt/peer/TextAreaPeer.java
12621 java/awt/peer/TextComponentPeer.java
12622 java/awt/peer/TextFieldPeer.java
12623 java/awt/peer/WindowPeer.java: Add license clarification.
12625 2002-01-22 Mark Wielaard <mark@klomp.org>
12627 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12628 gnu/gcj/runtime/StringBuffer.java
12629 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12630 gnu/java/awt/ComponentDataBlitOp.java
12631 gnu/java/awt/GLightweightPeer.java
12632 gnu/java/beans/BeanInfoEmbryo.java
12633 gnu/java/beans/EmptyBeanInfo.java
12634 gnu/java/beans/ExplicitBeanInfo.java
12635 gnu/java/beans/IntrospectionIncubator.java
12636 gnu/java/beans/editors/ColorEditor.java
12637 gnu/java/beans/editors/FontEditor.java
12638 gnu/java/beans/editors/NativeBooleanEditor.java
12639 gnu/java/beans/editors/NativeByteEditor.java
12640 gnu/java/beans/editors/NativeDoubleEditor.java
12641 gnu/java/beans/editors/NativeFloatEditor.java
12642 gnu/java/beans/editors/NativeIntEditor.java
12643 gnu/java/beans/editors/NativeLongEditor.java
12644 gnu/java/beans/editors/NativeShortEditor.java
12645 gnu/java/beans/editors/StringEditor.java
12646 gnu/java/beans/info/ComponentBeanInfo.java
12647 gnu/java/io/ClassLoaderObjectInputStream.java
12648 gnu/java/io/NullOutputStream.java
12649 gnu/java/io/ObjectIdentityWrapper.java
12650 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12651 gnu/java/lang/reflect/TypeSignature.java
12652 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12653 gnu/java/locale/Calendar_en.java
12654 gnu/java/locale/Calendar_nl.java
12655 gnu/java/locale/LocaleInformation.java
12656 gnu/java/locale/LocaleInformation_de.java
12657 gnu/java/locale/LocaleInformation_en.java
12658 gnu/java/locale/LocaleInformation_nl.java
12659 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12660 gnu/java/rmi/registry/RegistryImpl.java
12661 gnu/java/rmi/rmic/Compile_gcj.java
12662 gnu/java/rmi/rmic/Compiler.java
12663 gnu/java/rmi/rmic/CompilerProcess.java
12664 gnu/java/rmi/rmic/RMIC.java
12665 gnu/java/rmi/rmic/TabbedWriter.java
12666 gnu/java/rmi/server/ProtocolConstants.java
12667 gnu/java/rmi/server/RMIDefaultSocketFactory.java
12668 gnu/java/rmi/server/RMIHashes.java
12669 gnu/java/rmi/server/RMIObjectInputStream.java
12670 gnu/java/rmi/server/RMIObjectOutputStream.java
12671 gnu/java/rmi/server/UnicastConnection.java
12672 gnu/java/rmi/server/UnicastConnectionManager.java
12673 gnu/java/rmi/server/UnicastRef.java
12674 gnu/java/rmi/server/UnicastRemoteCall.java
12675 gnu/java/rmi/server/UnicastRemoteStub.java
12676 gnu/java/rmi/server/UnicastServer.java
12677 gnu/java/rmi/server/UnicastServerRef.java
12678 gnu/java/security/provider/DefaultPolicy.java
12679 gnu/java/security/provider/Gnu.java
12680 gnu/java/security/provider/SHA.java
12681 gnu/java/security/provider/SHA1PRNG.java
12682 gnu/java/text/BaseBreakIterator.java
12683 gnu/java/text/CharacterBreakIterator.java
12684 gnu/java/text/LineBreakIterator.java
12685 gnu/java/text/SentenceBreakIterator.java
12686 gnu/java/text/WordBreakIterator.java
12687 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12688 java/applet/AppletContext.java java/applet/AppletStub.java
12689 java/applet/AudioClip.java java/awt/AWTError.java
12690 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12691 java/awt/AWTException.java java/awt/AWTPermission.java
12692 java/awt/ActiveEvent.java java/awt/BorderLayout.java
12693 java/awt/Button.java java/awt/Canvas.java
12694 java/awt/CardLayout.java java/awt/Checkbox.java
12695 java/awt/CheckboxGroup.java java/awt/Component.java
12696 java/awt/ComponentOrientation.java java/awt/Container.java
12697 java/awt/Dimension.java java/awt/Event.java
12698 java/awt/EventDispatchThread.java java/awt/EventQueue.java
12699 java/awt/FlowLayout.java java/awt/Frame.java
12700 java/awt/Graphics.java java/awt/Graphics2D.java
12701 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12702 java/awt/IllegalComponentStateException.java
12703 java/awt/ItemSelectable.java java/awt/Label.java
12704 java/awt/LayoutManager.java java/awt/LayoutManager2.java
12705 java/awt/MenuComponent.java java/awt/MenuItem.java
12706 java/awt/Paint.java java/awt/Point.java
12707 java/awt/Rectangle.java java/awt/RenderingHints.java
12708 java/awt/Transparency.java java/awt/Window.java
12709 java/awt/color/ColorSpace.java
12710 java/awt/color/ICC_ColorSpace.java
12711 java/awt/color/ICC_Profile.java
12712 java/awt/event/HierarchyBoundsAdapter.java
12713 java/awt/event/HierarchyBoundsListener.java
12714 java/awt/event/HierarchyEvent.java
12715 java/awt/event/HierarchyListener.java
12716 java/awt/geom/AffineTransform.java
12717 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12718 java/awt/geom/IllegalPathStateException.java
12719 java/awt/geom/Line2D.java
12720 java/awt/geom/NoninvertibleTransformException.java
12721 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12722 java/awt/geom/Rectangle2D.java
12723 java/awt/geom/RectangularShape.java
12724 java/awt/geom/RoundRectangle2D.java
12725 java/awt/image/BufferedImage.java
12726 java/awt/image/ColorModel.java
12727 java/awt/image/ComponentColorModel.java
12728 java/awt/image/ComponentSampleModel.java
12729 java/awt/image/DataBuffer.java
12730 java/awt/image/DataBufferByte.java
12731 java/awt/image/DataBufferInt.java
12732 java/awt/image/DataBufferUShort.java
12733 java/awt/image/DirectColorModel.java
12734 java/awt/image/PackedColorModel.java
12735 java/awt/image/Raster.java java/awt/image/RasterOp.java
12736 java/awt/image/SampleModel.java
12737 java/awt/image/SinglePixelPackedSampleModel.java
12738 java/awt/image/WritableRaster.java
12739 java/beans/AppletInitializer.java
12740 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12741 java/beans/Beans.java java/beans/Customizer.java
12742 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12743 java/beans/FeatureDescriptor.java
12744 java/beans/IndexedPropertyDescriptor.java
12745 java/beans/IntrospectionException.java
12746 java/beans/Introspector.java java/beans/MethodDescriptor.java
12747 java/beans/ParameterDescriptor.java
12748 java/beans/PropertyChangeEvent.java
12749 java/beans/PropertyChangeListener.java
12750 java/beans/PropertyChangeSupport.java
12751 java/beans/PropertyDescriptor.java
12752 java/beans/PropertyEditor.java
12753 java/beans/PropertyEditorManager.java
12754 java/beans/PropertyEditorSupport.java
12755 java/beans/PropertyVetoException.java
12756 java/beans/SimpleBeanInfo.java
12757 java/beans/VetoableChangeListener.java
12758 java/beans/VetoableChangeSupport.java
12759 java/beans/Visibility.java
12760 java/beans/beancontext/BeanContext.java
12761 java/beans/beancontext/BeanContextChild.java
12762 java/beans/beancontext/BeanContextChildComponentProxy.java
12763 java/beans/beancontext/BeanContextChildSupport.java
12764 java/beans/beancontext/BeanContextContainerProxy.java
12765 java/beans/beancontext/BeanContextEvent.java
12766 java/beans/beancontext/BeanContextMembershipEvent.java
12767 java/beans/beancontext/BeanContextMembershipListener.java
12768 java/beans/beancontext/BeanContextProxy.java
12769 java/beans/beancontext/BeanContextServiceAvailableEvent.java
12770 java/beans/beancontext/BeanContextServiceProvider.java
12771 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12772 java/beans/beancontext/BeanContextServiceRevokedEvent.java
12773 java/beans/beancontext/BeanContextServiceRevokedListener.java
12774 java/beans/beancontext/BeanContextServices.java
12775 java/beans/beancontext/BeanContextServicesListener.java
12776 java/io/BufferedInputStream.java
12777 java/io/BufferedOutputStream.java java/io/BufferedReader.java
12778 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12779 java/io/ByteArrayOutputStream.java
12780 java/io/CharArrayReader.java java/io/CharArrayWriter.java
12781 java/io/CharConversionException.java java/io/DataInput.java
12782 java/io/DataInputStream.java java/io/DataOutput.java
12783 java/io/EOFException.java java/io/Externalizable.java
12784 java/io/FileFilter.java java/io/FileNotFoundException.java
12785 java/io/FilePermission.java java/io/FileReader.java
12786 java/io/FileWriter.java java/io/FilenameFilter.java
12787 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12788 java/io/FilterReader.java java/io/FilterWriter.java
12789 java/io/IOException.java java/io/InputStream.java
12790 java/io/InterruptedIOException.java
12791 java/io/InvalidClassException.java
12792 java/io/InvalidObjectException.java
12793 java/io/NotActiveException.java
12794 java/io/NotSerializableException.java java/io/ObjectInput.java
12795 java/io/ObjectInputStream.java
12796 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12797 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12798 java/io/ObjectStreamConstants.java
12799 java/io/ObjectStreamException.java
12800 java/io/ObjectStreamField.java
12801 java/io/OptionalDataException.java java/io/OutputStream.java
12802 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12803 java/io/PipedReader.java java/io/PipedWriter.java
12804 java/io/PrintWriter.java java/io/PushbackInputStream.java
12805 java/io/PushbackReader.java java/io/Reader.java
12806 java/io/SequenceInputStream.java java/io/Serializable.java
12807 java/io/SerializablePermission.java
12808 java/io/StreamCorruptedException.java
12809 java/io/StreamTokenizer.java
12810 java/io/StringBufferInputStream.java java/io/StringReader.java
12811 java/io/StringWriter.java java/io/SyncFailedException.java
12812 java/io/UTFDataFormatException.java
12813 java/io/UnsupportedEncodingException.java
12814 java/io/WriteAbortedException.java java/io/Writer.java
12815 java/lang/AbstractMethodError.java
12816 java/lang/ArithmeticException.java
12817 java/lang/ArrayIndexOutOfBoundsException.java
12818 java/lang/ArrayStoreException.java java/lang/Boolean.java
12819 java/lang/Byte.java java/lang/CharSequence.java
12820 java/lang/ClassCastException.java
12821 java/lang/ClassCircularityError.java
12822 java/lang/ClassFormatError.java
12823 java/lang/ClassNotFoundException.java
12824 java/lang/CloneNotSupportedException.java
12825 java/lang/Cloneable.java java/lang/Comparable.java
12826 java/lang/Compiler.java java/lang/Double.java
12827 java/lang/Error.java java/lang/Exception.java
12828 java/lang/ExceptionInInitializerError.java
12829 java/lang/Float.java java/lang/IllegalAccessError.java
12830 java/lang/IllegalAccessException.java
12831 java/lang/IllegalArgumentException.java
12832 java/lang/IllegalMonitorStateException.java
12833 java/lang/IllegalStateException.java
12834 java/lang/IllegalThreadStateException.java
12835 java/lang/IncompatibleClassChangeError.java
12836 java/lang/IndexOutOfBoundsException.java
12837 java/lang/InheritableThreadLocal.java
12838 java/lang/InstantiationError.java
12839 java/lang/InstantiationException.java java/lang/Integer.java
12840 java/lang/InternalError.java
12841 java/lang/InterruptedException.java
12842 java/lang/LinkageError.java java/lang/Long.java
12843 java/lang/NegativeArraySizeException.java
12844 java/lang/NoClassDefFoundError.java
12845 java/lang/NoSuchFieldError.java
12846 java/lang/NoSuchFieldException.java
12847 java/lang/NoSuchMethodError.java
12848 java/lang/NoSuchMethodException.java
12849 java/lang/NullPointerException.java java/lang/Number.java
12850 java/lang/NumberFormatException.java
12851 java/lang/OutOfMemoryError.java java/lang/Package.java
12852 java/lang/Process.java java/lang/Runnable.java
12853 java/lang/RuntimeException.java
12854 java/lang/RuntimePermission.java
12855 java/lang/SecurityException.java
12856 java/lang/SecurityManager.java java/lang/Short.java
12857 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12858 java/lang/StringIndexOutOfBoundsException.java
12859 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12860 java/lang/ThreadLocal.java java/lang/UnknownError.java
12861 java/lang/UnsatisfiedLinkError.java
12862 java/lang/UnsupportedClassVersionError.java
12863 java/lang/UnsupportedOperationException.java
12864 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12865 java/lang/Void.java java/lang/ref/PhantomReference.java
12866 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12867 java/lang/ref/SoftReference.java
12868 java/lang/ref/WeakReference.java
12869 java/lang/reflect/AccessibleObject.java
12870 java/lang/reflect/InvocationTargetException.java
12871 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12872 java/lang/reflect/ReflectPermission.java
12873 java/math/BigDecimal.java java/math/BigInteger.java
12874 java/net/Authenticator.java java/net/BindException.java
12875 java/net/ConnectException.java java/net/ContentHandler.java
12876 java/net/ContentHandlerFactory.java
12877 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12878 java/net/FileNameMap.java java/net/MalformedURLException.java
12879 java/net/MulticastSocket.java java/net/NetPermission.java
12880 java/net/NoRouteToHostException.java
12881 java/net/PasswordAuthentication.java
12882 java/net/ProtocolException.java java/net/ServerSocket.java
12883 java/net/Socket.java java/net/SocketException.java
12884 java/net/SocketImpl.java java/net/SocketImplFactory.java
12885 java/net/SocketOptions.java java/net/SocketPermission.java
12886 java/net/URLDecoder.java java/net/URLEncoder.java
12887 java/net/URLStreamHandlerFactory.java
12888 java/net/UnknownHostException.java
12889 java/net/UnknownServiceException.java
12890 java/rmi/AccessException.java
12891 java/rmi/AlreadyBoundException.java
12892 java/rmi/ConnectException.java
12893 java/rmi/ConnectIOException.java
12894 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12895 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12896 java/rmi/NotBoundException.java
12897 java/rmi/RMISecurityException.java
12898 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12899 java/rmi/RemoteException.java java/rmi/ServerError.java
12900 java/rmi/ServerException.java
12901 java/rmi/ServerRuntimeException.java
12902 java/rmi/StubNotFoundException.java
12903 java/rmi/UnexpectedException.java
12904 java/rmi/UnknownHostException.java
12905 java/rmi/UnmarshalException.java
12906 java/rmi/activation/Activatable.java
12907 java/rmi/activation/ActivateFailedException.java
12908 java/rmi/activation/ActivationDesc.java
12909 java/rmi/activation/ActivationException.java
12910 java/rmi/activation/ActivationGroup.java
12911 java/rmi/activation/ActivationGroupDesc.java
12912 java/rmi/activation/ActivationGroupID.java
12913 java/rmi/activation/ActivationID.java
12914 java/rmi/activation/ActivationInstantiator.java
12915 java/rmi/activation/ActivationMonitor.java
12916 java/rmi/activation/ActivationSystem.java
12917 java/rmi/activation/Activator.java
12918 java/rmi/activation/UnknownGroupException.java
12919 java/rmi/activation/UnknownObjectException.java
12920 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12921 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12922 java/rmi/registry/Registry.java
12923 java/rmi/registry/RegistryHandler.java
12924 java/rmi/server/ExportException.java
12925 java/rmi/server/LoaderHandler.java
12926 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12927 java/rmi/server/Operation.java
12928 java/rmi/server/RMIClassLoader.java
12929 java/rmi/server/RMIClientSocketFactory.java
12930 java/rmi/server/RMIFailureHandler.java
12931 java/rmi/server/RMIServerSocketFactory.java
12932 java/rmi/server/RMISocketFactory.java
12933 java/rmi/server/RemoteCall.java
12934 java/rmi/server/RemoteObject.java
12935 java/rmi/server/RemoteRef.java
12936 java/rmi/server/RemoteServer.java
12937 java/rmi/server/RemoteStub.java
12938 java/rmi/server/ServerCloneException.java
12939 java/rmi/server/ServerNotActiveException.java
12940 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12941 java/rmi/server/SkeletonMismatchException.java
12942 java/rmi/server/SkeletonNotFoundException.java
12943 java/rmi/server/SocketSecurityException.java
12944 java/rmi/server/UID.java
12945 java/rmi/server/UnicastRemoteObject.java
12946 java/rmi/server/Unreferenced.java
12947 java/security/AccessControlContext.java
12948 java/security/AccessControlException.java
12949 java/security/AccessController.java
12950 java/security/AlgorithmParameterGenerator.java
12951 java/security/AlgorithmParameterGeneratorSpi.java
12952 java/security/AlgorithmParameters.java
12953 java/security/AlgorithmParametersSpi.java
12954 java/security/AllPermission.java
12955 java/security/BasicPermission.java
12956 java/security/Certificate.java java/security/CodeSource.java
12957 java/security/DigestException.java
12958 java/security/DigestInputStream.java
12959 java/security/DigestOutputStream.java
12960 java/security/DomainCombiner.java
12961 java/security/DummyKeyPairGenerator.java
12962 java/security/DummyMessageDigest.java
12963 java/security/DummySignature.java
12964 java/security/GeneralSecurityException.java
12965 java/security/Guard.java java/security/GuardedObject.java
12966 java/security/Identity.java java/security/IdentityScope.java
12967 java/security/InvalidAlgorithmParameterException.java
12968 java/security/InvalidKeyException.java
12969 java/security/InvalidParameterException.java
12970 java/security/Key.java java/security/KeyException.java
12971 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12972 java/security/KeyManagementException.java
12973 java/security/KeyPair.java java/security/KeyPairGenerator.java
12974 java/security/KeyPairGeneratorSpi.java
12975 java/security/KeyStore.java
12976 java/security/KeyStoreException.java
12977 java/security/KeyStoreSpi.java
12978 java/security/MessageDigest.java
12979 java/security/MessageDigestSpi.java
12980 java/security/NoSuchAlgorithmException.java
12981 java/security/NoSuchProviderException.java
12982 java/security/Permission.java
12983 java/security/PermissionCollection.java
12984 java/security/Permissions.java java/security/Policy.java
12985 java/security/Principal.java java/security/PrivateKey.java
12986 java/security/PrivilegedAction.java
12987 java/security/PrivilegedActionException.java
12988 java/security/PrivilegedExceptionAction.java
12989 java/security/ProtectionDomain.java
12990 java/security/Provider.java
12991 java/security/ProviderException.java
12992 java/security/PublicKey.java
12993 java/security/SecureClassLoader.java
12994 java/security/SecureRandom.java
12995 java/security/SecureRandomSpi.java java/security/Security.java
12996 java/security/SecurityPermission.java
12997 java/security/Signature.java
12998 java/security/SignatureException.java
12999 java/security/SignatureSpi.java
13000 java/security/SignedObject.java java/security/Signer.java
13001 java/security/UnrecoverableKeyException.java
13002 java/security/UnresolvedPermission.java
13003 java/security/acl/Acl.java java/security/acl/AclEntry.java
13004 java/security/acl/AclNotFoundException.java
13005 java/security/acl/Group.java
13006 java/security/acl/LastOwnerException.java
13007 java/security/acl/NotOwnerException.java
13008 java/security/acl/Owner.java java/security/acl/Permission.java
13009 java/security/cert/CRL.java
13010 java/security/cert/CRLException.java
13011 java/security/cert/Certificate.java
13012 java/security/cert/CertificateEncodingException.java
13013 java/security/cert/CertificateException.java
13014 java/security/cert/CertificateExpiredException.java
13015 java/security/cert/CertificateFactory.java
13016 java/security/cert/CertificateFactorySpi.java
13017 java/security/cert/CertificateNotYetValidException.java
13018 java/security/cert/CertificateParsingException.java
13019 java/security/cert/X509CRL.java
13020 java/security/cert/X509CRLEntry.java
13021 java/security/cert/X509Certificate.java
13022 java/security/cert/X509Extension.java
13023 java/security/interfaces/DSAKey.java
13024 java/security/interfaces/DSAKeyPairGenerator.java
13025 java/security/interfaces/DSAParams.java
13026 java/security/interfaces/DSAPrivateKey.java
13027 java/security/interfaces/DSAPublicKey.java
13028 java/security/interfaces/RSAKey.java
13029 java/security/interfaces/RSAPrivateCrtKey.java
13030 java/security/interfaces/RSAPrivateKey.java
13031 java/security/interfaces/RSAPublicKey.java
13032 java/security/spec/AlgorithmParameterSpec.java
13033 java/security/spec/DSAParameterSpec.java
13034 java/security/spec/DSAPrivateKeySpec.java
13035 java/security/spec/DSAPublicKeySpec.java
13036 java/security/spec/EncodedKeySpec.java
13037 java/security/spec/InvalidKeySpecException.java
13038 java/security/spec/InvalidParameterSpecException.java
13039 java/security/spec/KeySpec.java
13040 java/security/spec/PKCS8EncodedKeySpec.java
13041 java/security/spec/RSAKeyGenParameterSpec.java
13042 java/security/spec/RSAPrivateCrtKeySpec.java
13043 java/security/spec/RSAPrivateKeySpec.java
13044 java/security/spec/RSAPublicKeySpec.java
13045 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
13046 java/sql/BatchUpdateException.java java/sql/Blob.java
13047 java/sql/CallableStatement.java java/sql/Clob.java
13048 java/sql/Connection.java java/sql/DataTruncation.java
13049 java/sql/DatabaseMetaData.java java/sql/Date.java
13050 java/sql/Driver.java java/sql/DriverManager.java
13051 java/sql/DriverPropertyInfo.java
13052 java/sql/PreparedStatement.java java/sql/Ref.java
13053 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
13054 java/sql/SQLData.java java/sql/SQLException.java
13055 java/sql/SQLInput.java java/sql/SQLOutput.java
13056 java/sql/SQLWarning.java java/sql/Statement.java
13057 java/sql/Struct.java java/sql/Time.java
13058 java/sql/Timestamp.java java/sql/Types.java
13059 java/text/Annotation.java
13060 java/text/AttributedCharacterIterator.java
13061 java/text/AttributedString.java
13062 java/text/AttributedStringIterator.java
13063 java/text/BreakIterator.java java/text/CharacterIterator.java
13064 java/text/ChoiceFormat.java java/text/Collator.java
13065 java/text/DateFormat.java java/text/DateFormatSymbols.java
13066 java/text/DecimalFormat.java
13067 java/text/DecimalFormatSymbols.java
13068 java/text/FieldPosition.java java/text/Format.java
13069 java/text/MessageFormat.java java/text/NumberFormat.java
13070 java/text/ParseException.java java/text/ParsePosition.java
13071 java/text/SimpleDateFormat.java
13072 java/text/StringCharacterIterator.java
13073 java/util/AbstractCollection.java java/util/AbstractList.java
13074 java/util/AbstractMap.java
13075 java/util/AbstractSequentialList.java
13076 java/util/AbstractSet.java java/util/ArrayList.java
13077 java/util/Arrays.java java/util/BasicMapEntry.java
13078 java/util/BitSet.java java/util/Calendar.java
13079 java/util/Collection.java java/util/Collections.java
13080 java/util/Comparator.java
13081 java/util/ConcurrentModificationException.java
13082 java/util/Date.java java/util/Dictionary.java
13083 java/util/EmptyStackException.java java/util/Enumeration.java
13084 java/util/EventListener.java java/util/EventObject.java
13085 java/util/GregorianCalendar.java java/util/HashMap.java
13086 java/util/HashSet.java java/util/Hashtable.java
13087 java/util/IdentityHashMap.java java/util/Iterator.java
13088 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
13089 java/util/LinkedList.java java/util/List.java
13090 java/util/ListIterator.java java/util/ListResourceBundle.java
13091 java/util/Locale.java java/util/Map.java
13092 java/util/MissingResourceException.java
13093 java/util/NoSuchElementException.java
13094 java/util/Observable.java java/util/Observer.java
13095 java/util/Properties.java java/util/PropertyPermission.java
13096 java/util/PropertyResourceBundle.java java/util/Random.java
13097 java/util/RandomAccess.java java/util/ResourceBundle.java
13098 java/util/Set.java java/util/SimpleTimeZone.java
13099 java/util/SortedMap.java java/util/SortedSet.java
13100 java/util/Stack.java java/util/StringTokenizer.java
13101 java/util/TimeZone.java java/util/Timer.java
13102 java/util/TimerTask.java
13103 java/util/TooManyListenersException.java
13104 java/util/TreeMap.java java/util/TreeSet.java
13105 java/util/Vector.java java/util/WeakHashMap.java
13106 java/util/jar/Attributes.java java/util/jar/JarEntry.java
13107 java/util/jar/JarException.java java/util/jar/JarFile.java
13108 java/util/jar/JarInputStream.java
13109 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
13110 java/util/zip/Adler32.java java/util/zip/CRC32.java
13111 java/util/zip/CheckedInputStream.java
13112 java/util/zip/CheckedOutputStream.java
13113 java/util/zip/Checksum.java
13114 java/util/zip/DataFormatException.java
13115 java/util/zip/Deflater.java
13116 java/util/zip/DeflaterOutputStream.java
13117 java/util/zip/GZIPInputStream.java
13118 java/util/zip/GZIPOutputStream.java
13119 java/util/zip/Inflater.java
13120 java/util/zip/InflaterInputStream.java
13121 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
13122 java/util/zip/ZipException.java java/util/zip/ZipFile.java
13123 java/util/zip/ZipInputStream.java
13124 java/util/zip/ZipOutputStream.java
13125 javax/naming/BinaryRefAddr.java
13126 javax/naming/InvalidNameException.java javax/naming/Name.java
13127 javax/naming/NamingException.java javax/naming/RefAddr.java
13128 javax/naming/StringRefAddr.java: Add license clarification.
13130 2002-01-22 Tom Tromey <tromey@redhat.com>
13132 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
13133 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
13134 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
13136 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
13137 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
13138 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
13139 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
13140 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
13141 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
13142 * java/awt/peer/FontPeer.java: Replace with Classpath version.
13143 * java/awt/peer/FramePeer.java: Replace with Classpath version.
13144 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
13145 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
13146 * java/awt/peer/ListPeer.java: Replace with Classpath version.
13147 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
13148 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
13149 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
13150 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
13151 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
13152 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
13153 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
13154 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
13155 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
13156 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
13157 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
13158 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
13159 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
13160 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
13161 (minimumSize, preferredSize, reshape): Likewise.
13162 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
13163 getColorModel): New methods.
13164 * java/awt/PopupMenu.java: Merged with Classpath.
13165 * java/awt/MenuBar.java: Merged with Classpath.
13166 * java/awt/SystemColor.java: Replace with Classpath version.
13167 * java/awt/Panel.java: Merged with Classpath.
13168 * java/awt/PaintContext.java: Updated copyright.
13169 * java/awt/MenuShortcut.java: Merged with Classpath.
13170 * java/awt/MenuContainer.java: Merged with Classpath.
13171 * java/awt/Menu.java: Merged with Classpath.
13172 * java/awt/MediaEntry.java: New file from Classpath.
13173 * java/awt/MediaTracker.java: New file from Classpath.
13174 * java/awt/List.java: Merged with Classpath version.
13175 * java/awt/Insets.java: Merged with Classpath version.
13176 * java/awt/ImageMediaEntry.java: New file from Classpath.
13177 * java/awt/Image.java: Replaced with Classpath version.
13178 * java/awt/FontMetrics.java: Merged with Classpath version.
13179 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
13181 * java/awt/Font.java: Merged with Classpath version.
13182 * java/awt/Dialog.java: Merged with Classpath version.
13183 * java/awt/Color.java: Merged with Classpath version.
13184 * java/awt/Choice.java: Merged with Classpath version.
13185 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
13186 * java/awt/Adjustable.java: Replace with Classpath version.
13187 * java/awt/MenuItem.java (paramString): Don't include class name
13188 or brackets. Call superclass paramString.
13189 * java/awt/MenuComponent.java (toString): Call paramString.
13190 (paramString): Compute string; don't call toString.
13191 * java/awt/Label.java (paramString): Don't include class name
13192 or brackets. Call superclass paramString.
13193 * java/awt/Checkbox.java (paramString): Don't include class name
13194 or brackets. Call superclass paramString.
13195 * java/awt/Button.java (paramString): Don't include class name or
13196 brackets. Call superclass paramString.
13197 * java/awt/MenuComponent.java (getTreeLock): Now protected.
13199 2002-01-20 Andreas Schwab <schwab@suse.de>
13201 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
13202 function and of parameter recv_func to ssize_t, as specified by
13205 2002-01-19 Per Bothner <per@bothner.com>
13207 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
13208 uncompressed_size in readiness for next entry.
13210 2002-01-18 Tom Tromey <tromey@redhat.com>
13212 * java/net/natPlainSocketImpl.cc: Include
13213 IllegalArgumentException.h.
13214 (_Jv_recv): New template function.
13215 (BooleanClass): Removed.
13216 (read): Use _Jv_recv.
13217 (setOption): Use Boolean::class$. Throw exception if object is
13218 not Boolean or Integer.
13220 2002-01-17 Tom Tromey <tromey@redhat.com>
13222 * java/awt/MenuComponent.java: Merged with Classpath.
13223 * java/awt/MenuItem.java: Merged with Classpath.
13224 * java/awt/Button.java: Merged with Classpath.
13226 * java/awt/ActiveEvent.java: Updated copyright.
13228 * java/awt/AWTError.java: Replaced with Classpath version.
13229 * java/awt/AWTException.java: Replaced with Classpath version.
13230 * java/awt/IllegalComponentStateException.java: Replaced with
13233 2002-01-16 Tom Tromey <tromey@redhat.com>
13235 * java/awt/Canvas.java (serialVersionUID): New constant.
13236 Updated copyright. Added javadoc from Classpath.
13237 * java/awt/ItemSelectable.java: Replaced with Classpath version.
13239 * java/awt/CheckboxGroup.java: Merged with Classpath.
13240 * java/awt/Checkbox.java: Merged with Classpath.
13242 * java/awt/Dimension.java: Updated copyright. Added javadoc from
13244 * java/awt/Point.java: Updated copyright.
13246 * java/awt/Point.java (toString): Use getClass().getName().
13249 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
13251 (hash): Correctly compute initial value for `h'.
13253 * java/awt/Label.java: Merged with Classpath.
13255 2002-01-15 Tom Tromey <tromey@redhat.com>
13257 * java/awt/AWTPermission.java: Updated copyright.
13259 * java/awt/LayoutManager2.java: Merged with Classpath.
13260 * java/awt/LayoutManager.java: Merged with Classpath.
13261 * java/awt/GridLayout.java: Updated copyright and javadoc.
13262 (getSize): Use `parent.ncomponents'. Handle insets.
13263 (layoutContainer): Use `parent.ncomponents'. Handle case where
13264 there are fewer children than columns. Correctly compute size of
13265 each cell in the grid. Handle case where there isn't enough
13267 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
13269 (gotoComponent): Use parent.ncomponents. Ensure child exists
13270 before calling setVisible() on it. Last item is `num - 1', not
13272 (layoutContainer): Hoist invariants out of loop.
13274 Start of AWT merge with Classpath:
13275 * Makefile.in: Rebuilt.
13276 * Makefile.am (awt_java_source_files): Reference files in
13277 gnu/java/awt, not gnu/gcj/awt.
13278 * java/awt/image/BufferedImage.java: Updated copyright.
13279 * java/awt/image/ComponentColorModel.java: Updated copyright.
13280 * java/awt/image/ComponentSampleModel.java: Updated copyright.
13281 * java/awt/image/DataBuffer.java: Updated copyright.
13282 * java/awt/image/DataBufferByte.java: Updated copyright.
13283 * java/awt/image/DataBufferInt.java: Updated copyright.
13284 * java/awt/image/DataBufferUShort.java: Updated copyright.
13285 * java/awt/image/IndexColorModel.java: Updated copyright.
13286 * java/awt/image/PackedColorModel.java: Updated copyright.
13287 * java/awt/image/Raster.java: Updated copyright.
13288 * java/awt/image/RasterOp.java: Updated copyright.
13289 * java/awt/image/SampleModel.java: Updated copyright.
13290 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
13291 * java/awt/image/WritableRaster.java: Updated copyright.
13292 * java/awt/color/ColorSpace.java: Updated copyright.
13293 * java/awt/color/ICC_ColorSpace.java: Updated copyright
13294 * java/awt/color/ICC_Profile.java: Updated copyright.
13295 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
13296 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
13297 * java/awt/event/HierarchyEvent.java: Updated copyright.
13298 * java/awt/event/HierarchyListener.java: Updated copyright.
13299 * java/awt/geom/AffineTransform.java: Updated copyright.
13300 * java/awt/geom/Dimension2D.java: Updated copyright.
13301 * java/awt/geom/Ellipse2D.java: Updated copyright.
13302 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
13303 * java/awt/geom/Line2D.java: Updated copyright.
13304 * java/awt/geom/NoninvertibleTransformException.java: Updated
13306 * java/awt/geom/PathIterator.java: Updated copyright.
13307 * java/awt/geom/Point2D.java: Updated copyright.
13308 * java/awt/geom/Rectangle2D.java: Updated copyright.
13309 * java/awt/geom/RectangularShape.java: Updated copyright.
13310 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
13311 * java/awt/Toolkit.java: Updated import for file moves.
13312 * java/awt/Rectangle.java: Updated copyright; added javadoc from
13314 (hashCode): New method from Classpath.
13315 * java/awt/Graphics2D.java: Updated copyright.
13316 * java/awt/Transparency.java: Updated copyright.
13317 * java/awt/Paint.java: Updated copyright.
13318 * java/awt/Graphics.java: New version from Classpath.
13319 * java/awt/EventDispatchThread.java: Updated copyright.
13320 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
13322 (gotoComponent): Wrap around on next/previous.
13323 * gnu/gcj/awt/BitMaskExtent.java: Removed.
13324 * gnu/gcj/awt/Buffers.java: Removed.
13325 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
13326 * gnu/gcj/awt/GLightweightPeer.java: Removed.
13327 * gnu/java/awt/BitMaskExtent.java: Added.
13328 * gnu/java/awt/Buffers.java: Added.
13329 * gnu/java/awt/ComponentDataBlitOp.java: Added.
13330 * gnu/java/awt/GLightweightPeer.java: Added.
13331 * java/awt/geom/Line2D.java (clone): Ignore
13332 CloneNotSupportedException.
13333 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
13334 * java/awt/Frame.java: Merged with Classpath.
13335 * java/awt/RenderingHints.java: Copyright update.
13336 * java/awt/Paint.java: Copyright update.
13337 * java/awt/image/DirectColorModel.java: Merged with Classpath.
13338 * java/awt/image/ColorModel.java: Merged with Classpath.
13339 * java/awt/Window.java (show): New Implementation from Classpath.
13340 (isShowing): Use super.isShowing().
13341 * java/awt/EventQueue.java: Merged with Classpath.
13342 * java/awt/AWTEventMulticaster.java (save): Throw
13344 (saveInternal): Likewise.
13345 * java/awt/AWTEvent.java: Now implements Serializable.
13346 * java/awt/Event.java: Copyright update.
13347 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
13348 * java/awt/image/BufferedImage.java: Copyright update.
13349 * java/awt/GraphicsConfiguration.java: Copyright update.
13350 * java/awt/Component.java: (addNotify): Don't call
13351 addNotifyContainerChildren().
13352 (addNotifyContainerChildren): Removed.
13353 (setPeer): New method from Classpath.
13354 (setTreeLock): Likewise.
13355 (setVisible): Rewrote.
13358 (validate): Set `valid'.
13359 (checkImage(Image,ImageObserver)): Implementation from Classpath.
13360 (createImage(ImageProducer)): Likewise.
13361 (prepareImage): Likewise.
13362 * java/awt/Container.java (addImpl): Handle case where constraint
13363 is not a String. Post event via system event queue.
13364 (remove): Post event via system event queue.
13365 (validateTree): Only validate child if it is invalid.
13366 (getAlignmentX): Call super method as default.
13367 (getAlignmentY): Likewise.
13368 (addContainerListener): Now synchronized.
13369 (removeContainerListener): Likewise.
13370 (addNotifyContainerChildren): Now private.
13371 * java/awt/ComponentOrientation.java: Updated copyright. Added
13373 * java/awt/FlowLayout.java (serialVersionUID): New field.
13374 (setAlignment): Better exception message.
13375 (layoutContainer): Don't compute component's preferred size unless
13376 we're going to use it.
13377 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
13378 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
13379 (firstLine, lastLine, firstItem, lastItem): New fields.
13380 (addLayoutComponent): Handle case where constraints is null.
13381 Also, handle relative locations.
13382 (removeLayoutComponent): Handle relative locations.
13383 (MIN, MAX, PREF): New constants.
13384 (calcCompSize): New method.
13385 (calcSize): New method.
13386 (minimumLayoutSize): Use it.
13387 (preferredLayoutSize): Likewise.
13388 (maximumLayoutSize): Likewise.
13389 (toString): Include more information.
13390 (setBounds): New method.
13391 (layoutContainer): Use libgcj implementation; extended to handle
13392 relative locations.
13394 2002-01-15 Tom Tromey <tromey@redhat.com>
13396 * java/lang/Float.java (equals): Preserve old code.
13397 * java/lang/Double.java (equals): Preserve old code.
13399 2002-01-15 Eric Blake <ebb9@email.byu.edu>
13401 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
13402 * java/lang/Float.java (equals, compare): Ditto.
13404 2002-01-13 Mark Wielaard <mark@klomp.org>
13406 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
13407 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
13408 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
13409 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
13411 2002-01-11 Mark Wielaard <mark@klomp.org>
13413 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
13414 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
13416 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
13417 * java/net/Socket.java: Merge with Classpath.
13418 * java/net/ServerSocket.java: Likewise.
13420 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
13422 * interpret.cc (NULLARRAYCHECK): New macro.
13423 (SAVE_PC): Just store `pc'.
13424 (find_exception): Subtract one from `pc' here.
13425 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13426 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13427 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13428 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
13429 don't call SAVE_PC.
13430 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
13433 2002-01-11 Tom Tromey <tromey@redhat.com>
13435 * java/lang/natSystem.cc (init_properties): Only look for default
13436 locale if LC_MESSAGES is defined.
13437 * aclocal.m4, configure, include/config.h.in: Rebuilt.
13438 * configure.in: Call AM_LC_MESSAGES.
13439 * acinclude.m4 (AM_LC_MESSAGES): New macro.
13441 2002-01-10 Tom Tromey <tromey@redhat.com>
13443 For PR libgcj/5303:
13444 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
13445 --version. Recognize GNU-style long options. Print GNU-style
13447 (usage): Print GNU-style help. Exit with status 0.
13448 (error): New method.
13449 (run): Print error message if no class names found.
13450 (main): Don't print usage on error.
13452 2002-01-09 Tom Tromey <tromey@redhat.com>
13454 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
13456 (help, version): Use println(), not println("").
13458 For PR libgcj/5303:
13459 * gnu/gcj/convert/Convert.java (error): Program is called
13460 `jv-convert'. Print GNU-style message. Exit with status 1, not
13462 (main): Handle --help and --version.
13463 (help): New method.
13464 (version): Likewise.
13466 2002-01-08 Tom Tromey <tromey@redhat.com>
13468 * Makefile.in: Rebuilt.
13469 * Makefile.am (ordinary_java_source_files): Added new files.
13470 * gnu/java/locale/LocaleInformation.java: Extend
13471 LocaleInformation_en.
13472 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
13473 and time/date formats.
13474 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
13476 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
13477 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
13478 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
13479 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
13480 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
13481 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
13482 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
13483 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
13484 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
13485 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
13486 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
13487 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
13488 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
13489 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
13490 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
13491 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
13492 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
13493 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
13494 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
13495 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
13496 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
13497 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
13498 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
13499 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
13500 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
13501 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
13502 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
13503 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
13504 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
13505 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
13506 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
13507 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
13508 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
13509 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
13510 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
13511 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
13512 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
13513 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
13514 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
13515 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
13516 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
13517 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
13518 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
13519 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
13520 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
13521 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
13522 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
13523 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
13524 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
13525 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
13526 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
13527 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
13528 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
13529 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
13530 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
13531 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
13532 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
13533 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
13534 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
13535 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
13536 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
13537 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
13538 * gnu/java/locale/LocaleInformation_es_US.java: New file.
13539 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
13540 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
13541 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
13542 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
13543 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
13544 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
13545 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
13546 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
13547 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
13548 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
13549 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
13550 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
13551 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
13552 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
13553 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
13554 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
13555 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
13556 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
13557 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
13558 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
13559 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
13560 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
13561 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
13562 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
13563 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
13564 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
13565 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
13566 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
13567 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
13568 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
13569 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
13570 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
13571 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
13572 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
13573 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
13574 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
13575 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
13576 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
13577 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
13578 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
13579 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
13580 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
13581 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
13582 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
13583 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
13584 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
13585 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
13586 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
13587 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
13588 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
13589 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
13590 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
13591 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
13592 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
13593 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
13594 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
13595 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
13596 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
13597 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13598 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13599 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13600 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13601 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13602 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13603 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13604 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13605 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13607 For PR libgcj/5031:
13608 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13609 choose default locale.
13611 * Makefile.in: Rebuilt.
13612 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13614 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
13616 * java/net/natPlainSocketImpl.cc: Added timeout handling for
13618 (close): New function closes the socket.
13619 (write): New functions for output to socket.
13620 (read): New functions for reading from socket.
13621 * java/net/PlainSocketImpl.java: Glue for new timeout
13623 (write): Call the native impl.
13625 (getInputStream): Get a stream to read from the socket.
13626 (getOutputStream): Get a stream to write to the socket.
13628 2002-01-08 Tom Tromey <tromey@redhat.com>
13630 * resolve.cc (_Jv_PrepareClass): Enable verifier.
13632 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
13634 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13635 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13637 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
13639 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13640 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13641 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13642 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13643 insn_bastore, insn_castore, insn_sastore]: Use it.
13644 (continue1) [insn_arraylength]: Check for null array.
13646 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13648 * configure, include/config.h.in: Rebuilt.
13649 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13650 * configure.in: Call AC_STRUCT_TIMEZONE.
13652 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13654 * configure.host: Disable the interpreter for Darwin.
13656 2002-01-04 Tom Tromey <tromey@redhat.com>
13658 * java/lang/Thread.java (stop): No longer synchronized.
13661 2002-01-02 Tom Tromey <tromey@redhat.com>
13663 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13666 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
13668 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13669 PPC Darwin, not for all of Darwin.