]> gcc.gnu.org Git - gcc.git/blob - libjava/ChangeLog
configure.in: Fix detection of gcj when building with newlib.
[gcc.git] / libjava / ChangeLog
1 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
2
3 * configure.in: Fix detection of gcj when building with newlib.
4 * configure: Regenerated.
5
6 2003-08-20 Graydon Hoare <graydon@redhat.com>
7
8 * jni.cc: Replace "cheating" pointer-casting code with
9 extract_from_jvalue<> template.
10
11 2003-08-20 Andrew Haley <aph@redhat.com>
12
13 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
14 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
15 (classAt): Break out class lookup function into getClass().
16 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
17 handlers when using -fno-assume-compiled.
18
19 2003-08-20 Tom Tromey <tromey@redhat.com>
20
21 Fix for PR libgcj/9125:
22 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
23 object outside of loop. Respect lib_control setting.
24 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
25 field.
26 (lib_control): New field.
27 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
28 (VMClassLoader): Initialize new field.
29
30 * java/lang/ref/natReference.cc (finalize_referred_to_object):
31 Set `list->reference' to DELETED_REFERENCE when removing dead
32 object.
33 (find_slot): Added an assert.
34 (DELETED_REFERENCE): New define.
35 (add_to_hash): Check for DELETED_REFERENCE.
36 (remove_from_hash): Just return if found slot isn't ours.
37
38 2003-08-19 Andrew Haley <aph@redhat.com>
39
40 * prims.cc (unblock_signal): New function.
41 (catch_segv): Use it.
42 (catch_fpe): Likewise.
43
44 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
45
46 PR libgcj/11575
47 * java/io/natFileDescriptorWin32.cc (open): Set create
48 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
49 Honor EXCL when openning with WRITE flag.
50
51 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
52
53 * include/jvm.h: New class _Jv_TempUTFString (helper class for
54 getting a temporary C string from a jstring)
55 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
56 but uses a stack buffer if the string length is less than 256
57 bytes.
58
59 2003-08-18 Tom Tromey <tromey@redhat.com>
60
61 PR libgcj/11951:
62 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
63 void. Throw VirtualMachineError if ffi fails. Initialize return
64 value. Added is_jni_call argument; only wrap exception if not a
65 JNI call. Use descriptive message if operation not supported.
66 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
67 array class.
68 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
69 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
70 _Jv_CallAnyMethodA.
71 (_Jv_JNI_CallAnyMethodA): Likewise.
72 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
73 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
74
75 2003-08-13 Tom Tromey <tromey@redhat.com>
76
77 * gij.cc (help): Document -? and -X.
78
79 2003-08-12 Graydon Hoare <graydon@redhat.com>
80
81 * java/awt/Font.java:
82 Stub out more recent API.
83
84 2003-08-12 Graydon Hoare <graydon@redhat.com>
85
86 * java/awt/Color.java (getAlpha):
87 Prevent sign-extended alpha values.
88
89 2003-08-12 Tom Tromey <tromey@redhat.com>
90
91 * gij.cc (main): Handle -? and -X.
92
93 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
94
95 * java/awt/Container.java
96 (getPreferredSize): Call preferredSize.
97 (preferredSize): Moved body of getPreferredSize here.
98 (getMinimumSize): Call minimumSize.
99 (minimumSize): Moved body of getMinimumSize here.
100
101 2003-08-11 Tom Tromey <tromey@redhat.com>
102
103 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
104 (postEvent): Removed FIXME comment.
105 (isDispatchThread): Documented.
106 (getCurrentEvent): New method.
107 (dispatchEvent): Set currentEvent and lastWhen.
108 (getMostRecentEventTime): Rewrote.
109 (invokeLater): Documented.
110
111 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
112
113 * java/io/PrintStream.java (print): Always flush if auto_flush is
114 set. Don't check for newline characters.
115 (write (int)): Implement without using a temporary array.
116 (write (byte[], int, int): Always flush if auto_flush is set. Don't
117 check for newline characters.
118 Fixes PR libgcj/11778.
119
120 2003-08-08 Andrew Haley <aph@redhat.com>
121
122 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
123 * Makefile.in: Rebuild.
124 * java/lang/natRuntime.cc (insertSystemProperties): Add
125 "sun.boot.class.path".
126
127 2003-08-07 Andrew Haley <aph@redhat.com>
128
129 * java/io/PrintStream.java: Don't crash on a null string.
130
131 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
132
133 * configure.in: Don't initialize GCINCS to boehm-gc/include.
134 * configure: Regenerate.
135
136 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
137
138 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
139 SocketImpl. Update Javadoc.
140 (bind): Call close() not impl.close() in event of exception.
141 (connect): Likewise.
142 Remove superfluous null checks throughout.
143 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
144 Don't create an extra socket. Fix for PR libgcj/10868.
145 (bind): Clean up exception handling.
146 Remove superfluous null checks throughout.
147
148 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
149 Bryce McKinlay <bryce@mckinlay.net.nz>
150
151 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
152 ready-to-write argument to _Jv_Select. Reset the socket back to
153 non-blocking state after connecting.
154 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
155 Throw SocketTimeoutException not InterruptedIOException.
156 (read): Throw SocketTimeoutException not InterruptedIOException.
157
158 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
159
160 * java/lang/Thread.java (Thread): Check for null "name" from
161 start of private constructor, not after calling the private
162 constructor.
163
164 2003-08-06 Tom Tromey <tromey@redhat.com>
165
166 * java/io/FilePermission.java (equals): Use correct index for
167 last character of path.
168
169 2003-08-06 Alan Modra <amodra@bigpond.net.au>
170
171 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
172 * configure.in: Compare with_cross_host to build_alias, not build.
173 * aclocal.m4: Regenerate.
174 * configure: Regenerate.
175
176 2003-08-05 Tom Tromey <tromey@redhat.com>
177
178 Fix for PR libgcj/11779:
179 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
180 class.
181
182 * java/lang/reflect/Method.java: Updated status comment.
183 Imported javadoc from Classpath and re-ordered methods.
184 * java/lang/reflect/Constructor.java: Reindented. Updated
185 status comment. Imported javadoc from Classpath and re-ordered
186 methods.
187
188 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
189
190 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
191 Add keyLocation parameter.
192 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
193 string.
194 (paramString): Generate keyChar string according to keyChar, not
195 keyCode.
196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
197 (state_to_awt_mods): Handle ALT key.
198 (keyevent_state_to_awt_mods): New function.
199 (get_first_keyval_from_keymap): New function.
200 (keysym_to_awt_keycode): Get virtual key code from keymap.
201 Handle missing VK_ values.
202 (keysym_to_awt_keylocation): New function.
203 (keyevent_to_awt_keychar): New function.
204 (generates_key_typed_event): Handle non-text-component case.
205 Handle GDK_KP_Delete and GDK_KP_Enter.
206 (awt_event_handler): Call new functions to get postKeyEvent
207 parameters.
208 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
209 Update postKeyEvent method signature.
210 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
211 VK_ defines.
212
213 2003-08-05 Matthias Klose <doko@debian.org>
214
215 * aclocal.m4: check for libart-config binary
216 under the name libart2-config as well.
217 * configure: regenerated.
218
219 2003-08-04 David P Grove <groved@us.ibm.com>
220
221 * java/text/DecimalFormat.java (format): avoid ArithmeticException
222 when groupingSize is 0.
223 (parse): Likewise.
224
225 2003-08-04 Matthias Klose <doko@debian.org>
226
227 * libart.m4: check for libart-config binary
228 under the name libart2-config as well.
229 * configure, aclocal.m4: regenerated.
230
231 2003-08-02 Michael Koch <konqueror@gmx.de>
232
233 * java/nio/ByteBufferImpl.java
234 (getChar): Check remaining bytes, fixed comment about endianess.
235 (putChar): Likewise.
236 (getShort): Likewise.
237 (putShort): Likewise.
238 (getInt): Check remaining bytes, fixed conversion, fixed comment about
239 endianess.
240 (putInt): Likewise.
241 (getLong): Likewise.
242 (putLong): Likewise.
243 (getFloat): Likewise.
244 (putFloat): Likewise.
245 (getDouble): Likewise.
246 (putDouble): Likewise.
247 * java/nio/DirectByteBufferImpl.java
248 (getChar): Wrapped code, fixed comment about endianess.
249 (putchar): Likewise.
250 (getShort): Likewise.
251 (putShort): Likewise.
252 (getInt): Fixed conversion, fixed comment about endianess.
253 (putInt): Likewise.
254 (getLong): Likewise.
255 (putLong): Likewise.
256 (getFloat): Likewise.
257 (putFloat): Likewise.
258 (getDouble): Likewise.
259 (putDouble): Likewise.
260 * java/nio/MappedByteBufferImpl.java
261 (compact): Implemented.
262 (getChar): Implemented.
263 (putChar): Implemented.
264 (getDouble): Implemented.
265 (putdouble): Implemented.
266 (getFloat): Implemented.
267 (putFloat): Implemented.
268 (getInt): Implemented.
269 (putInt): Implemented.
270 (getLong): Implemented.
271 (putLong): Implemented.
272 (getShort): Implemented.
273 (putShort): Implemented.
274 * java/nio/channels/FileChannelImpl.java
275 (read): Set position where to access file.
276 (write): Likewise.
277 (transferTo): Flip buffer after read and before write.
278 (transferFrom): Likewise.
279
280 2003-08-02 Michael Koch <konqueror@gmx.de>
281
282 * gnu/java/lang/ArrayHelper.java
283 (equalsArray): Reformated, added method documentation.
284
285 2003-08-02 Michael Koch <konqueror@gmx.de>
286
287 * java/net/URL.java
288 (URL): Added paragraph about the
289 gnu.java.net.nocache_protocol_handlers property.
290 (ph_cache): Renamed from handlers to match classpath's implementation.
291 Reordered it with factory and serialVersionUID member variables.
292 (cache_handlers): New member variable.
293 (static): New static initializer to initialize cache_handlers from
294 gnu.java.net.nocache_protocol_handlers property.
295 (URL): Use ph_cache instead of handlers, reformatted some code to
296 match classpath's implementation.
297
298 2003-08-01 Tom Tromey <tromey@redhat.com>
299
300 Fix for PR libgcj/11241:
301 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
302 initialCapacity is 0, set it to 1.
303
304 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
305
306 * java/net/SocketImpl.java (toString): Display the remote address
307 of an unconnected server socket as "0.0.0.0/0.0.0.0".
308
309 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
310
311 * javax/swing/border/BevelBorder.java,
312 javax/swing/border/EtchedBorder.java,
313 javax/swing/border/LineBorder.java,
314 javax/swing/border/MatteBorder.java,
315 javax/swing/border/SoftBevelBorder.java,
316 javax/swing/plaf/BorderUIResource.java,
317 javax/swing/plaf/ComponentUI.java,
318 javax/swing/plaf/TreeUI.java,
319 javax/swing/plaf/basic/BasicBorders.java,
320 javax/swing/plaf/basic/BasicGraphicsUtils.java,
321 javax/swing/plaf/basic/BasicTreeUI.java:
322 Prepend "doc-files" to all paths to embedded Javadoc images, so
323 that the generated documentation contains the correct URL.
324
325 2003-08-01 Tom Tromey <tromey@redhat.com>
326
327 * configure: Rebuilt.
328 * configure.in (tool_include_dir): Redefine to match gcc.
329
330 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
331 Mark Wielaard <mark@klomp.org>
332
333 * java/math/BigDecimal (divide): Correctly handle
334 ROUND_HALF_EVEN when amount is greater than 0.5.
335 Simplify and optimize code.
336
337 2003-07-31 Tom Tromey <tromey@redhat.com>
338
339 More for PR libgcj/11737:
340 * java/io/ObjectInputStream.java (processResolution): Use
341 getMethod.
342 (getMethod): Make method accessible.
343 (getField): Make field accessible.
344 (setBooleanField): Don't call setAccessible here.
345 (setByteField, setCharField, setDoubleField, setFloatField,
346 setIntField, setLongField, setShortField, setObjectField):
347 Likewise.
348 (callReadMethod): Don't check whether method is null. Catch
349 NoSuchMethodException.
350 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
351 cause on thrown exceptions.
352
353 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
354
355 Fix for PR libgcj/11728:
356 * java/util/HashMap.java (readObject): Set size.
357
358 2003-07-31 Tom Tromey <tromey@redhat.com>
359
360 Fix for PR libgcj/11737:
361 * java/io/ObjectOutputStream.java (getMethod): Make method
362 accessible.
363 (getField): Likewise.
364 (writeObject): Use getMethod.
365 Import PrivilegedAction and AccessController.
366 (callWriteMethod): Don't check whether m is null. Catch
367 NoSuchMethodException.
368
369 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
370 (containsAngle): Likewise.
371 (getStartPoint): Rewrote.
372 (getEndPoint): Likewise.
373 (setAngleStart(Point2D)): Likewise.
374
375 2003-07-31 Roger Sayle <roger@eyesopen.com>
376 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
377
378 * configure.in: Add new THREADCXXFLAGS variable.
379 Handle POSIX threads on alpha*-dec-osf*.
380 * configure: Regenerate.
381 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
382 * Makefile.in: Regenerate.
383
384 2003-07-08 Andrew Haley <aph@redhat.com>
385
386 * include/i386-signal.h (RESTORE): New.
387 (INIT_SEGV): Set restorer.
388 (INIT_FPE): Likewise.
389
390 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
391
392 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
393 than getXLFD.
394 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
395 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
396 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
397 (gtkSetFont): Scale size parameter by PANGO_SCALE.
398 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
399 Likewise.
400 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
401 Likewise.
402
403 2003-07-29 Tom Tromey <tromey@redhat.com>
404
405 * defineclass.cc (handleField): Throw exception if field name is
406 duplicated.
407 (handleMethod): Throw exception for duplicate method.
408
409 2003-07-29 Tom Tromey <tromey@redhat.com>
410
411 * gnu/gcj/convert/natIconv.cc (write): Handle case where
412 output buffer is too small.
413
414 2003-07-28 Tom Tromey <tromey@redhat.com>
415
416 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
417 New method.
418 Include gnu/gcj/runtime/StringBuffer.h.
419 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
420 native method.
421 (String(gnu.gcj.runtime.StringBuffer)): Use it.
422
423 2003-07-27 Anthony Green <green@redhat.com>
424
425 * configure.in: Fix newlib check.
426 * configure: Rebuilt.
427
428 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
429
430 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
431 Create vbox and layout for GtkPlug.
432
433 2003-07-27 Michael Koch <konqueror@gmx.de>
434
435 * java/awt/Window.java
436 (Window): Removed now unused constructor. It became oboslete with the
437 new embedded window patch.
438
439 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
440 Michael Koch <konqueror@gmx.de>
441
442 * gnu/java/awt/EmbeddedWindow.java
443 (EmbeddedWindow): Extends Frame instead of Window.
444 (window_id): New member variable to store the native window handle.
445 (create): Removed.
446 (EmbeddedWindow): New constructor.
447 (addNotify): New method.
448 (getHandler): Likewise.
449 (setWindowPeer): New native method.
450 * gnu/java/awt/EmbeddedWindowSupport.java
451 (EmbeddedWindowSupport): Fixed documentation.
452 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
453 WindowPeer, give it an EmbeddedWindow instance instead of the raw
454 window data.
455 * gnu/java/awt/natEmbeddedWindow.cc
456 (create): Removed.
457 (setWindowPeer): New method.
458 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
459 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
460 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
461 New files
462 * gnu/java/awt/peer/gtk/GtkToolkit.java
463 (GtkToolkit): Implements EmbeddedWindowSupport.
464 (createEmbeddedWindow): New method.
465 * java/awt/Window.java
466 (Window): Removed.
467 * Makefile.am
468 (java_source_files): Added EmbeddedWindowPeer.java.
469 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
470 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
471 * Makefile.in: Regenerated.
472
473 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
474
475 * java/lang/Win32Process.java (ConcreteProcess): Surround
476 a command line element with quotes if it contains an
477 embedded space or tab.
478 * java/lang/natWin32Process.cc (startProcess): Do not
479 surround command line elements with quotes here.
480
481 * configure.host: Use -fcheck-references and
482 -fuse-divide-subroutine for MinGW until we fix
483 win32_exception_handler( ) in win32.cc w.r.t. Win32
484 Structured Exception Handling (SEH).
485
486 * win32.cc (_Jv_platform_initProperties): Use generic names
487 like "x86" for the "os.arch" property to be consistent with
488 what Sun's JDK produces. Use the wProcessorArchitecture
489 member of the Win32 SYSTEM_INFO structure, filled in a call
490 to GetSystemInfo( ), instead of dwProcessorType.
491
492 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
493 Ranjit Mathew <rmathew@hotmail.com>
494
495 * Makefile.am: Use cross-compiling gcjh from the path for
496 a crossed-native build.
497 * Makefile.in: Rebuilt.
498 * configure.in: Include libltdl in non-newlib builds.
499 Moved determination of gcj used to build libraries to
500 its own section. Fixed cross-compilation issues for
501 non-newlib builds.
502 * configure: Rebuilt.
503
504 2003-07-25 Tom Tromey <tromey@redhat.com>
505
506 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
507 (write): Likewise.
508 (read): Likewise.
509 (read): Likewise.
510
511 2003-07-25 Mark Wielaard <mark@klomp.org>
512
513 * java/lang/natRuntime.cc (_load): Add library name to
514 UnsatisfiedLinkError when thrown.
515
516 2003-07-25 Mark Wielaard <mark@klomp.org>
517
518 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
519 added.
520 * Makefile.in: Likewise.
521
522 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
523
524 * java/awt/Component.java
525 (getPreferredSize): Call preferredSize.
526 (preferredSize): Moved body of getPreferredSize here.
527 (getMinimumSize): Call minimumSize.
528 (minimumSize): Moved body of getMinimumSize here.
529 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
530 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
531 pass -1
532 * java/awt/Container.java
533 (validate): Don't validate if there is no peer.
534 (update): Clear background before calling paint.
535 * java/awt/GridBagLayout.java
536 Completed the implementation and fixed several bugs.
537 * java/awt/MediaTracker.java
538 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
539 combine flags.
540 * java/awt/Window.java
541 (Window): Don't call setVisible(false). Windows are invisible by
542 default and calling virtual methods from constructor causes
543 compatibility problems (e.g. subclasses may assume that the peer
544 already exists).
545
546 2003-07-25 Michael Koch <konqueror@gmx.de>
547
548 * java/awt/GridBagLayout.java:
549 Totally reworked and partly implemented.
550 * java/awt/GridBagLayoutInfo.java:
551 New file.
552
553 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
554
555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
556 Don't pack label in an event box.
557
558 2003-07-24 Tom Tromey <tromey@redhat.com>
559
560 For PR libgcj/7482:
561 * verify.cc (ref_intersection): New class.
562 (type_val): Removed unresolved_reference_type,
563 uninitialized_unresolved_reference_type.
564 (is_assignable_from_slow): Rewrote.
565 (type::data): Removed.
566 (type::klass): New field.
567 (type::type): Added verifier argument.
568 (type::resolve): Removed.
569 (type::set_uninitialized): Updated for change to type_val.
570 (type::set_initialized): Likewise.
571 (type::isinitialized): Likewise.
572 (type::print): Likewise.
573 (construct_primitive_array_type): Likewise.
574 (type::compatible): Updated for change to type_val and to use
575 ref_intersection.
576 (type::isarray): Updated to use ref_intersection.
577 (type::isinterface): Likewise.
578 (type::element_type): Likewise.
579 (type::to_array): Likewise.
580 (type::verify_dimensions): Rewrote.
581 (type::merge): Likewise.
582 (check_class_constant): Updated for type constructor change.
583 (check_constant): Likewise.
584 (check_field_constant): Likewise.
585 (get_one_type): Likewise.
586 (initialize_stack): Likewise.
587 (verify_instructions_0): Likewise.
588 (verify_instructions_0) [op_invokeinterface]: Removed special
589 case.
590 (isect_list): New field.
591 (_Jv_BytecodeVerifier): Initialize it.
592 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
593
594 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
595
596 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
597 unless field size is 2.
598
599 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
600
601 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
602 (connectHooks): New method.
603 (handleEvent): Remove.
604 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
605 (createHooks): Remove declaration.
606 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
607 (generates_key_typed_event): Change to handle only certain
608 keyvals.
609 (awt_event_handler): Add special handling for GtkTextView.
610 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
611 (textcomponent_commit_cb): New function.
612 (textcomponent_changed_cb): Likewise.
613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
614 (connectHooks): Remove.
615
616 2003-07-23 Tom Tromey <tromey@redhat.com>
617
618 * java/lang/natSystem.cc (arraycopy): Check for overflow.
619
620 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
621
622 2003-07-22 Tom Tromey <tromey@redhat.com>
623
624 * boehm.cc (_Jv_BuildGCDescr): Wrote.
625 Include limits.h.
626
627 2003-07-22 Tom Tromey <tromey@redhat.com>
628
629 * java/awt/Window.java (getWarningString): Just return the
630 string.
631 (Window): Set warningString; check with security manager.
632
633 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
634
635 * gnu/awt/xlib/XGraphicsConfiguration.java
636 (FontMetricsCache): Made static.
637
638 2003-07-22 Tom Tromey <tromey@redhat.com>
639
640 * java/net/URLEncoder.java (encode(String)): Use platform default
641 encoding.
642 (encode(String,String)): Convert to 2-digit upper-case hex
643 number.
644 (hex): New field.
645
646 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
647
648 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
649 (create): Remove unused method implementation.
650 (connectHooks): Remove debug messages.
651
652 2003-07-20 Anthony Green <green@redhat.com>
653
654 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
655 CloneNotSupportedException.
656 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
657 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
658 * gnu/gcj/xlib/GC.java (clone): Ditto.
659 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
660 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
661
662 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
663 handler.
664 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
665
666 2003-07-20 Steve Pribyl <steve@netfuel.com.>
667
668 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
669 String. Put dlerror() message into exception.
670 Include UnsatisfiedLinkError.
671 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
672 String. Now native.
673
674 2003-07-20 Tom Tromey <tromey@redhat.com>
675
676 * java/lang/Runtime.java: Comment fix.
677 * java/lang/ClassLoader.java (isAncestorOf): New method.
678 (getParent): Uncommented security check. Use isAncestorOf.
679 * include/jvm.h (_Jv_CheckAccess): Declare.
680 * java/lang/reflect/natConstructor.cc (newInstance): Perform
681 access check.
682 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
683 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
684 class loader to _Jv_GetArrayClass.
685 Include ArrayIndexOutOfBoundsException.h.
686 * java/lang/reflect/Field.java: Update comment to reflect status.
687 (equals): Fixed indentation.
688 * java/lang/Class.h (Class): Declare memberAccessCheck, not
689 checkMemberAccess. Make _Jv_CheckAccess a friend.
690 * java/lang/Class.java (memberAccessCheck): New method from
691 Classpath.
692 (checkMemberAccess): Removed.
693 (getDeclaredMethod): Use memberAccessCheck.
694 (getField): Likewise.
695 (getMethod): Likewise.
696 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
697 (_Jv_SearchMethodInClass): Likewise.
698 * prims.cc (_Jv_CheckAccess): New function.
699 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
700 (_Jv_JNI_GetAnyFieldID): Likewise.
701 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
702 (getClassLoader): Added security check.
703 (getConstructor): Call memberAccessCheck.
704 (getDeclaredClasses): Likewise.
705 (getDeclaredField): Likewise.
706 (getDeclaredFields): Likewise.
707 (_getConstructors): Likewise.
708 (getDeclaredConstructor): Likewise.
709 (getDeclaredMethods): Likewise.
710 (getFields): Likewise.
711 (getMethods): Likewise.
712 (newInstance): Likewise.
713 (_Jv_MakeVTable): Put method name in exception.
714 * java/lang/reflect/natMethod.cc (getType): Use
715 getClassLoaderInternal.
716 (_Jv_GetTypesFromSignature): Likewise.
717 (invoke): Perform access check.
718 (_Jv_CallAnyMethodA): Removed old FIXME comments.
719 Include ArrayIndexOutOfBoundsException.h.
720 * java/lang/reflect/natField.cc (getType): Use
721 getClassLoaderInternal.
722 (_Jv_CheckFieldAccessibility): Removed.
723 (getAddr): Use _Jv_CheckAccess; find caller.
724 Include ArrayIndexOutOfBoundsException.h.
725
726 2003-07-20 Michael Koch <konqueror@gmx.de>
727
728 * java/net/URL.java
729 (URL): Fixed documentation to name an argument correcty, Reformatted
730 one method declaration.
731 (getURLStreamHandler): Added documentation from classpath.
732
733 2003-07-19 Tom Tromey <tromey@redhat.com>
734
735 * mauve-libgcj: Don't run CollationElementIterator tests.
736
737 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
738
739 * java/net/URLClassLoader.java (addURL): Moved implementation to
740 private addURLImpl() to avoid calling addURL from the constructor.
741 (addURLImpl): Contains the code that was previously in addURL.
742 (addURLs): Call addURLImpl(), not addURL().
743
744 2003-07-18 Graydon Hoare <graydon@redhat.com>
745
746 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
747 Handle missing event cases, connect to "value-changed" signal.
748
749 2003-07-18 Graydon Hoare <graydon@redhat.com>
750
751 * java/awt/geom/CubicCurve2D.java,
752 java/awt/geom/Line2D.java,
753 java/awt/geom/QuadCurve2D.java,
754 java/awt/geom/Rectangle2D.java:
755 Fix path some calculations, make path iterators follow
756 a consistent style.
757
758 2003-07-18 Mark Wielaard <mark@klomp.org>
759
760 * java/util/logging/Handler.java (isLoggable): Check record level
761 smaller or equal.
762
763 2003-07-17 Michael Koch <konqueror@gmx.de>
764
765 * gnu/java/awt/peer/gtk/GtkToolkit.java:
766 Reworked imports.
767
768 2003-07-14 Michael Koch <konqueror@gmx.de>
769
770 * gnu/java/rmi/server/UnicastServerRef.java:
771 New version from classpath.
772
773 2003-07-14 Michael Koch <konqueror@gmx.de>
774
775 * java/awt/image/MemoryImageSource.java,
776 java/beans/PropertyEditorManager.java,
777 javax/naming/CompoundName.java,
778 javax/naming/spi/NamingManager.java,
779 javax/swing/AbstractButton.java,
780 javax/swing/ButtonModel.java,
781 javax/swing/SwingUtilities.java,
782 javax/swing/UIManager.java,
783 javax/swing/colorchooser/DefaultColorSelectionModel.java,
784 javax/swing/event/AncestorEvent.java,
785 javax/swing/event/InternalFrameEvent.java,
786 java/util/zip/ZipFile.java:
787 New versions from classpath.
788
789 2003-07-13 Michael Koch <konqueror@gmx.de>
790
791 * gnu/java/nio/FileChannelImpl.java,
792 gnu/java/nio/natFileChannelImpl.cc: Removed.
793 * java/io/FileInputStream.java,
794 java/io/FileOutputStream.java,
795 java/io/RandomAccessFile.java,
796 java/nio/MappedByteBufferImpl.java:
797 Import java.nio.channels.FileChannelImpl instead of
798 gnu.java.nio.FileChannelImpl.
799 * java/nio/channels/FileChannelImpl.java,
800 java/nio/channels/natFileChannelImpl.cc:
801 New files.
802 * Makefile.am
803 (ordinary_java_source_files):
804 Removed gnu/java/nio/FileChannelImpl.java and added
805 java/nio/channels/FileChannelImpl.java.
806 (nat source_files):
807 Removed gnu/java/nio/natFileChannelImpl.cc and added
808 java/nio/channels/natFileChannelImpl.cc.
809 * Makefile.in: Regenerated.
810
811 2003-07-13 Michael Koch <konqueror@gmx.de>
812
813 * javax/swing/plaf/basic/BasicBorders.java,
814 javax/swing/plaf/basic/BasicLabelUI.java,
815 javax/swing/plaf/basic/BasicLookAndFeel.java,
816 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
817 javax/swing/plaf/basic/BasicTextUI.java,
818 javax/swing/plaf/metal/MetalLookAndFeel.java:
819 New versions from classpath.
820
821 2003-07-13 Michael Koch <konqueror@gmx.de>
822
823 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
824 * gnu/java/awt/peer/gtk/GdkGraphics.java
825 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
826 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
827 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
828 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
829 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
830 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
831 * gnu/java/awt/peer/gtk/GtkClipboard.java
832 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
833 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
834 * gnu/java/awt/peer/gtk/GtkFramePeer.java
835 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
836 * gnu/java/awt/peer/gtk/GtkImage.java
837 * gnu/java/awt/peer/gtk/GtkImagePainter.java
838 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
839 * gnu/java/awt/peer/gtk/GtkListPeer.java
840 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
841 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
842 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
843 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
844 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
845 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
846 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
847 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
848 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
849 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
850 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
851 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
852
853 2003-07-13 Michael Koch <konqueror@gmx.de>
854
855 * gnu/java/locale/LocaleInformation_de.java
856 * gnu/java/locale/LocaleInformation_en.java
857 * gnu/java/locale/LocaleInformation_nl.java
858
859 2003-07-13 Michael Koch <konqueror@gmx.de>
860
861 * gnu/java/awt/EmbeddedWindow.java,
862 gnu/java/awt/EmbeddedWindowSupport.java,
863 gnu/java/awt/natEmbeddedWindow.cc:
864 New files.
865 * java/awt/Window.java
866 (Window): New constructor to support embedded windows.
867 * Makefile.am
868 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
869 gnu/java/awt/EmbeddedWindowSupport.java.
870 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
871 * Makefile.in: Regenerated.
872
873 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
874
875 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
876 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
877 * java/awt/im/InputContext.java: Remove a redundant
878 partial line.
879
880 2003-07-09 Tom Tromey <tromey@redhat.com>
881
882 * Makefile.in: Rebuilt.
883 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
884
885 2003-07-09 Mark Wielaard <mark@klomp.org>
886
887 * java/io/ObjectOutputStream.java (writeObject): break after
888 calling writeClassDescriptor().
889
890 2003-07-09 Mark Mitchell <mark@codesourcery.com>
891
892 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
893
894 2003-07-09 Michael Koch <konqueror@gmx.de>
895
896 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
897 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
898 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
899 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
900 Explicitly import used classes.
901 * java/awt/Container.java: New version from classpath.
902
903 2003-07-09 Michael Koch <konqueror@gmx.de>
904
905 * libgcj.pc.in: New file.
906 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
907 * Makefile.in: Regenerated.
908 * configure: Regenrated.
909 * configure.in: Create libgcj.pc from libgcj.pc.in.
910
911 2003-07-08 Mark Wielaard <mark@klomp.org>
912
913 * gcj/cni.h: CNI now expands to Compiled Native Interface.
914
915 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
916 * java/lang/fdlibm.h: Likewise.
917
918 2003-07-07 Adam Megacz <adam@xwt.org>
919
920 * posix.cc: added #include<stdio.h>
921
922 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
923
924 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
925 formatting.
926
927 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
928 (setCaretPosition, setEditable): Rely entirely on native
929 implementation.
930 (getArgs): Remove.
931 (postTextEvent): New method.
932 (handleEvent): New method.
933 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
934 method.
935 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
937 (keysym_to_awt_keycode): Fix range checks.
938 (generates_key_typed_event): New function.
939 (awt_event_handler): Post AWT_KEY_RELEASED events to event
940 queue.
941 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
942 (gtkInit): Store TextComponent's postTextEvent method ID.
943 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
944 (setText): Post TEXT_VALUE_CHANGED event to event queue.
945
946 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
947
948 * configure.in: Check for usleep declaration.
949 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
950 * configure: Regenerate.
951 * include/config.h.in: Likewise.
952 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
953
954 2003-07-01 Michael Koch <konqueror@gmx.de>
955
956 * gnu/gcj/convert/natIconv.cc
957 (iconv_init): Fixed possible memory leak by releasing allocated iconv
958 handle.
959
960 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
961
962 * glib-2.0.m4: New file.
963 * gtk-2.0.m4: New file.
964 * glib.m4: Remove.
965 * gtk.m4: Remove.
966 * configure.in: Update AM_PATH_GTK macro call to
967 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
968 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
969 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
970 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
971 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
972 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
973 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
974 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
975 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
976 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
977 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
978 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
979 jni/gtk-peer/gthread-jni.c,
980 jni/gtk-peer/gthread-jni.h:
981 New versions from classpath.
982 * aclocal.m4: Regenerate.
983 * configure: Regenerate.
984 * Makefile.in: Regenerate.
985 * gcj/Makefile.in: Regenerate.
986 * include/Makefile.in: Regenerate.
987 * testsuite/Makefile.in: Regenerate.
988
989 2003-06-30 Gary Benson <gbenson@redhat.com>
990
991 For PR libgcj/11349:
992 * javax/naming/spi/NamingManager.java (getURLContext): Use
993 correct name for factory class.
994
995 2003-06-28 Michael Koch <konqueror@gmx.de>
996
997 * java/io/PrintStream.java
998 (checkError): Call flush() instead of direct flushing of the Writer
999 object.
1000 (print): Call print(String) instead of direct print method of the
1001 Writer Object.
1002 (println): Call println(String) instead of direct println method of the
1003 Writer Object.
1004 (write): Simplified.
1005
1006 2003-06-28 Michael Koch <konqueror@gmx.de>
1007
1008 * java/net/ServerSocket.java
1009 (setChannel): New method.
1010 * java/net/Socket.java
1011 (setChannel): New method.
1012
1013 2003-06-27 Michael Koch <konqueror@gmx.de>
1014
1015 * java/beans/beancontext/BeanContextSupport.java:
1016 New version from classpath.
1017
1018 2003-06-27 Michael Koch <konqueror@gmx.de>
1019
1020 * java/awt/Window.java,
1021 java/awt/font/GraphicAttribute.java,
1022 java/awt/font/ImageGraphicAttribute.java,
1023 java/awt/image/DataBufferByte.java,
1024 java/awt/image/DataBufferInt.java,
1025 java/awt/image/DataBufferUShort.java,
1026 java/awt/image/DirectColorModel.java,
1027 java/awt/image/PixelGrabber.java:
1028 New versions from classpath.
1029
1030 2003-06-27 Michael Koch <konqueror@gmx.de>
1031
1032 * java/security/Certificate.java
1033 (getGuarantor): Removed wrong @deprecated tag.
1034 (getPrincipal): Likewise.
1035 (getPublicKey): Likewise.
1036 (encode): Likewise.
1037 (decode): Likewise.
1038 (getFormat): Likewise.
1039 (toString): Likewise.
1040 * java/security/cert/PolicyQualifierInfo.java
1041 (PolicyQualifierInfo): Made final.
1042 * javax/security/auth/x500/X500Principal.java
1043 (serialVersionUID): New member variable.
1044
1045 2003-06-27 Michael Koch <konqueror@gmx.de>
1046
1047 * java/text/Format.java
1048 (serialVersionUID): Fixed value.
1049
1050 2003-06-27 Michael Koch <konqueror@gmx.de>
1051
1052 * java/net/Inet4Address.java
1053 (Inet4Address): Made package-private.
1054 * java/net/Inet6Address.java
1055 (Inet4Address): Made package-private.
1056
1057 2003-06-27 Michael Koch <konqueror@gmx.de>
1058
1059 * java/io/RandomAccessFile.java
1060 (readLine): Removed wrong @deprecated tag.
1061 (getChannel): Made final.
1062
1063 2003-06-27 Michael Koch <konqueror@gmx.de>
1064
1065 * gnu/java/nio/FileChannelImpl.java
1066 (write): Removed.
1067
1068 2003-06-27 Michael Koch <konqueror@gmx.de>
1069
1070 * java/nio/ByteBufferImpl.java
1071 (ByteBufferImpl): Made it a package-private class
1072 * java/nio/CharBufferImpl.java
1073 (CharBufferImpl): Made it a package-private class
1074 * java/nio/DirectByteBufferImpl.java
1075 (DirectByteBufferImpl): Made it a package-private class
1076 * java/nio/DoubleBufferImpl.java
1077 (DoubleBufferImpl): Made it a package-private class
1078 * java/nio/FloatBufferImpl.java
1079 (FloatBufferImpl): Made it a package-private class
1080 * java/nio/IntBufferImpl.java
1081 (IntBufferImpl): Made it a package-private class
1082 * java/nio/LongBufferImpl.java
1083 (LongBufferImpl): Made it a package-private class
1084 * java/nio/ShortBufferImpl.java
1085 (ShortBufferImpl): Made it a package-private class
1086 * java/nio/channels/FileChannel.java
1087 (write): Made final.
1088 * java/nio/channels/ServerSocketChannel.java
1089 (ServerSocketChanne): Made protected.
1090
1091 2003-06-27 Michael Koch <konqueror@gmx.de>
1092
1093 * javax/naming/CompositeName.java
1094 (serialVersionUID): New member variable.
1095 * javax/naming/CompoundName.java
1096 (serialVersionUID): New member variable.
1097 * javax/naming/InitialContext.java
1098 (InitialContext): Throws NamingException.
1099 (init): Likewise.
1100 * javax/naming/LinkRef.java
1101 (serialVersionUID): New member variable.
1102 (gteLinkName): Throws NamingException.
1103 * javax/naming/NamingException.java
1104 (serialVersionUID): New member variable.
1105 * javax/naming/NamingSecurityException.java
1106 (NamingSecurityException): Made abstract.
1107 (serialVersionUID): New member variable.
1108 * javax/naming/ReferralException.java
1109 (serialVersionUID): New member variable.
1110 * javax/naming/StringRefAddr.java
1111 (serialVersionUID): New member variable.
1112 * javax/naming/directory/BasicAttribute.java:
1113 Reworked imports.
1114 (serialVersionUID): New member variable.
1115 (get): Throws NamingException.
1116 (getAll): Throws NamingException.
1117 * javax/naming/directory/BasicAttributes.java:
1118 Reworked imports.
1119 (serialVersionUID): New member variable.
1120 * javax/naming/ldap/UnsolicitedNotificationEvent.java
1121 (serialVersionUID): New member variable.
1122
1123 2003-06-27 Michael Koch <konqueror@gmx.de>
1124
1125 * Makefile.am
1126 (awt_java_source_files): Added new files:
1127 javax/swing/Popup.java,
1128 javax/swing/PopupFactory.java
1129 * Makefile.in: Regenerated.
1130
1131 2003-06-27 Michael Koch <konqueror@gmx.de>
1132
1133 * javax/swing/JWindow.java,
1134 javax/swing/event/AncestorEvent.java,
1135 javax/swing/event/HyperlinkEvent.java,
1136 javax/swing/event/InternalFrameEvent.java,
1137 javax/swing/event/ListDataEvent.java,
1138 javax/swing/event/TableModelEvent.java,
1139 javax/swing/plaf/PopupMenuUI.java,
1140 javax/swing/plaf/SplitPaneUI.java,
1141 javax/swing/plaf/TabbedPaneUI.java,
1142 javax/swing/plaf/TextUI.java,
1143 javax/swing/plaf/TreeUI.java,
1144 javax/swing/plaf/basic/BasicTextUI.java,
1145 javax/swing/plaf/basic/BasicTreeUI.java:
1146 New versions from classpath.
1147 * javax/swing/Popup.java,
1148 javax/swing/PopupFactory.jav:
1149 New source files from classpath.
1150 * javax/swing/plaf/doc-files/TreeUI-1.png:
1151 New binary files from classpath.
1152
1153 2003-06-25 Michael Koch <konqueror@gmx.de>
1154
1155 * Makefile.am
1156 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1157 * Makefile.in: Regenerated.
1158
1159 2003-06-25 Michael Koch <konqueror@gmx.de>
1160
1161 * javax/swing/plaf/ActionMapUIResource.java,
1162 javax/swing/plaf/BorderUIResource.java,
1163 javax/swing/plaf/ButtonUI.java,
1164 javax/swing/plaf/ColorChooserUI.java,
1165 javax/swing/plaf/ColorUIResource.java,
1166 javax/swing/plaf/ComboBoxUI.java,
1167 javax/swing/plaf/ComponentInputMapUIResource.java,
1168 javax/swing/plaf/ComponentUI.java,
1169 javax/swing/plaf/DesktopIconUI.java,
1170 javax/swing/plaf/DesktopPaneUI.java,
1171 javax/swing/plaf/DimensionUIResource.java,
1172 javax/swing/plaf/FileChooserUI.java,
1173 javax/swing/plaf/FontUIResource.java,
1174 javax/swing/plaf/IconUIResource.java,
1175 javax/swing/plaf/InputMapUIResource.java,
1176 javax/swing/plaf/InsetsUIResource.java,
1177 javax/swing/plaf/InternalFrameUI.java,
1178 javax/swing/plaf/LabelUI.java,
1179 javax/swing/plaf/ListUI.java,
1180 javax/swing/plaf/MenuBarUI.java,
1181 javax/swing/plaf/MenuItemUI.java,
1182 javax/swing/plaf/OptionPaneUI.java,
1183 javax/swing/plaf/PanelUI.java,
1184 javax/swing/plaf/ProgressBarUI.java,
1185 javax/swing/plaf/RootPaneUI.java,
1186 javax/swing/plaf/ScrollBarUI.java,
1187 javax/swing/plaf/ScrollPaneUI.java,
1188 javax/swing/plaf/SeparatorUI.java,
1189 javax/swing/plaf/SliderUI.java,
1190 javax/swing/plaf/TableHeaderUI.java,
1191 javax/swing/plaf/TableUI.java,
1192 javax/swing/plaf/ToolBarUI.java,
1193 javax/swing/plaf/ToolTipUI.java,
1194 javax/swing/plaf/ViewportUI.java:
1195 New versions from classpath.
1196 * javax/swing/plaf/SpinnerUI.java:
1197 New file from classpath
1198
1199 2003-06-25 Michael Koch <konqueror@gmx.de>
1200
1201 * java/awt/image/ColorModel.java:
1202 New version from classpath.
1203
1204 2003-06-25 Michael Koch <konqueror@gmx.de>
1205
1206 * java/net/PlainDatagramSocketImpl.java:
1207 Partly merged with classpath, this mainly adds documentation.
1208
1209 2003-06-25 Michael Koch <konqueror@gmx.de>
1210
1211 * java/io/ObjectInputStream.java
1212 (readClassDescriptor): New method.
1213 (readObject): Moved functionality to readClassDescriptor().
1214 * java/io/ObjectOutputStream.java
1215 (writeClassDescriptor): New method.
1216 (writeObject): Moved functionality to writeClassDescriptor().
1217
1218 2003-06-25 Michael Koch <konqueror@gmx.de>
1219
1220 * javax/swing/plaf/basic/BasicListUI.java,
1221 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1222 Added missing methods.
1223
1224 2003-06-25 Michael Koch <konqueror@gmx.de>
1225
1226 * javax/swing/event/AncestorEvent.java
1227 javax/swing/event/HyperlinkEvent.java
1228 javax/swing/event/InternalFrameEvent.java
1229 javax/swing/event/ListDataEvent.java
1230 javax/swing/event/TableModelEvent.java:
1231 Compile fixes.
1232
1233 2003-06-24 Michael Koch <konqueror@gmx.de>
1234
1235 * java/net/URL.java:
1236 Renamed "handler" to "ph" in the whole file to match classpaths
1237 version.
1238 * java/net/URLStreamHandler.java:
1239 (equals): Renamed "handler" to "ph".
1240
1241 2003-06-24 Michael Koch <konqueror@gmx.de>
1242
1243 * javax/swing/event/AncestorEvent.java,
1244 javax/swing/event/HyperlinkEvent.java,
1245 javax/swing/event/InternalFrameEvent.java,
1246 javax/swing/event/ListDataEvent.java,
1247 javax/swing/event/TableModelEvent.java,
1248 javax/swing/event/TreeWillExpandListener.java,
1249 javax/swing/plaf/ComponentUI.java,
1250 javax/swing/plaf/DesktopIconUI.java,
1251 javax/swing/plaf/DesktopPaneUI.java,
1252 javax/swing/plaf/DimensionUIResource.java,
1253 javax/swing/plaf/FileChooserUI.java,
1254 javax/swing/plaf/FontUIResource.java,
1255 javax/swing/plaf/IconUIResource.java,
1256 javax/swing/plaf/InputMapUIResource.java,
1257 javax/swing/plaf/InsetsUIResource.java,
1258 javax/swing/plaf/InternalFrameUI.java,
1259 javax/swing/plaf/LabelUI.java,
1260 javax/swing/plaf/ListUI.java,
1261 javax/swing/plaf/MenuBarUI.java,
1262 javax/swing/plaf/MenuItemUI.java,
1263 javax/swing/plaf/OptionPaneUI.java,
1264 javax/swing/plaf/PanelUI.java,
1265 javax/swing/plaf/ProgressBarUI.java,
1266 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1267 javax/swing/plaf/doc-files/ComponentUI-1.png:
1268 New versions from classpath.
1269
1270 2003-06-24 Michael Koch <konqueror@gmx.de>
1271
1272 * java/nio/Buffer.java
1273 (cap): Made package-private.
1274 (pos): Likewise.
1275 (limit): Likewise.
1276 (mark): Likewise.
1277
1278 2003-06-24 Michael Koch <konqueror@gmx.de>
1279
1280 * java/net/SocketImpl.java
1281 (shutdownInput): Made it non-abstract method throwing an exception
1282 like in SUNs JRE.
1283 (shutdownOutput): Likewise.
1284 * java/net/SocketInputStream.java,
1285 java/net/SocketOutputStream.java:
1286 New files from classpath.
1287
1288 2003-06-24 Michael Koch <konqueror@gmx.de>
1289
1290 * java/awt/Font.java,
1291 java/awt/Window.java,
1292 java/awt/color/ColorSpace.java,
1293 java/awt/datatransfer/StringSelection.java,
1294 java/awt/image/ColorModel.java:
1295 New versions from classpath.
1296
1297 2003-06-24 Michael Koch <konqueror@gmx.de>
1298
1299 * Makefile.am
1300 (awt_java_source_files): Added new files:
1301 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1302 javax/swing/plaf/basic/BasicSplitPaneUI.java
1303 * Makefile.in: Regenerated.
1304
1305 2003-06-24 Michael Koch <konqueror@gmx.de>
1306
1307 * javax/swing/text/JTextComponent.java:
1308 New version from classpath.
1309
1310 2003-06-24 Michael Koch <konqueror@gmx.de>
1311
1312 * javax/swing/Timer.java,
1313 javax/swing/plaf/ActionMapUIResource.java,
1314 javax/swing/plaf/ButtonUI.java,
1315 javax/swing/plaf/ColorChooserUI.java,
1316 javax/swing/plaf/ColorUIResource.java,
1317 javax/swing/plaf/ComboBoxUI.java,
1318 javax/swing/plaf/ComponentInputMapUIResource.java,
1319 javax/swing/plaf/basic/BasicBorders.java:
1320 New versions from classpath.
1321 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1322 javax/swing/plaf/basic/BasicSplitPaneUI.java:
1323 New file from classpath.
1324 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1325 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1326 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1327 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1328 javax/swing/plaf/doc-files/ComponentUI-1.png:
1329 New binary files from classpath.
1330
1331 2003-06-24 Michael Koch <konqueror@gmx.de>
1332
1333 * java/io/LineNumberReader.java
1334 (skip): Dont do line number accounting here as this is already done in
1335 read(), simplified.
1336
1337 2003-06-21 Michael Koch <konqueror@gmx.de>
1338
1339 * java/io/File.java
1340 (static): Load javaio lib if existing (only in classpath).
1341 (File): Revised documentation to show the correct argument name.
1342 (createTempFile): Partly merged with classpath.
1343 (compareTo): Simplified.
1344 (lastModified): Throw exception if time < 0.
1345 (deleteOnExit): Revised documentation.
1346
1347 2003-06-21 Michael Koch <konqueror@gmx.de>
1348
1349 * java/net/PlainSocketImpl.java:
1350 Reformatted.
1351 (PlainSocketImpl): Merged class documentaion with classpath.
1352 (in): Moved.
1353 (out): Moved.
1354 (PlainSocketImpl): New empty constructor.
1355 (finalize): Moved.
1356 (setOption): Merged documentation from classpath.
1357 (getOption): Likewise.
1358 (create): Likewise.
1359 (connect): Likewise.
1360 (bind): Likewise.
1361 (listen): Likewise.
1362 (accept): Likewise.
1363 (available): Likewise.
1364 (close): Likewise.
1365 (read): Likewise.
1366 (write): Likewise.
1367 (getInputStream): Made synchronozed to get sure that only one stream
1368 object can be created for this socket, merged documentation from
1369 classpath.
1370 (getOutputStream): Likewise.
1371
1372 2003-06-21 Michael Koch <konqueror@gmx.de>
1373
1374 * java/net/PlainSocketImpl.java:
1375 Reformatting.
1376 (static): New implicit method.
1377 (read): Made package private.
1378 (write): Likewise.
1379
1380 2003-06-21 Michael Koch <konqueror@gmx.de>
1381
1382 * java/util/SimpleTimeZone.java:
1383 Removed unneeded import, reformatting.
1384
1385 2003-06-21 Michael Koch <konqueror@gmx.de>
1386
1387 * java/text/DateFormat.java,
1388 java/text/SimpleDateFormat.java,
1389 java/util/Locale.java:
1390 New versions from classpath.
1391
1392 2003-06-21 Michael Koch <konqueror@gmx.de>
1393
1394 * javax/swing/SpinnerModel.java:
1395 New file from classpath.
1396 * javax/swing/border/LineBorder.java,
1397 javax/swing/border/SoftBevelBorder.java,
1398 javax/swing/plaf/BorderUIResource.java,
1399 javax/swing/plaf/basic/BasicBorders.java:
1400 New versions from classpath.
1401 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1402 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1403 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1404 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1405 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1406 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1407 New binary files from classpath.
1408
1409 2003-06-21 Michael Koch <konqueror@gmx.de>
1410
1411 * java/util/logging/LogRecord.java,
1412 java/util/logging/Logger.java,
1413 java/util/logging/SocketHandler.java,
1414 java/util/logging/SimpleFormatter.java,
1415 java/util/logging/Formatter.java,
1416 java/util/logging/ErrorManager.java,
1417 java/util/logging/Handler.java,
1418 java/util/logging/FileHandler.java,
1419 java/util/logging/LogManager.java,
1420 java/util/logging/Level.java,
1421 java/util/logging/ConsoleHandler.java,
1422 java/util/logging/StreamHandler.java,
1423 java/util/logging/LoggingPermission.java,
1424 java/util/logging/Filter.java,
1425 java/util/logging/MemoryHandler.java,
1426 java/util/logging/XMLFormatter.java:
1427 New files from classpath.
1428
1429 2003-06-20 Michael Koch <konqueror@gmx.de>
1430
1431 * java/io/ObjectStreamField.java
1432 (unshared): new member variable.
1433 (ObjectStreamField): New constructor.
1434 (isUnshared): New method.
1435
1436 2003-06-20 Michael Koch <konqueror@gmx.de>
1437
1438 * java/net/URLStreamHandler.java
1439 (hostsEqual): Rewritten.
1440
1441 2003-06-20 Michael Koch <konqueror@gmx.de>
1442
1443 * gnu/java/nio/MappedByteFileBuffer.java,
1444 gnu/java/nio/natMappedByteFileBuffer.cc:
1445 Removed
1446 * java/nio/MappedByteBufferImpl.java:
1447 New file.
1448 * gnu/java/nio/FileChannelImpl.java:
1449 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1450 * Makefile.am
1451 (ordinary_java_source_files): Removed
1452 gnu/java/nio/MappedByteFileBuffer.java and added
1453 java/nio/MappedByteBufferImpl.java.
1454 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1455 * Makefile.in: Regenerated.
1456
1457 2003-06-19 Michael Koch <konqueror@gmx.de>
1458
1459 * gnu/java/nio/DatagramChannelImpl.java
1460 (fd): Removed.
1461 (blocking): New member variable.
1462 (socket): Likewise.
1463 (DatagramChannelImpl): Throws IOException, initialize socket.
1464 (socket):Implemented.
1465 (implCloseSelectableChannel): Throws IOException, implemented.
1466 (implConfigureBlocking): Likewise.
1467 (connect): Likewise.
1468 (disconnect): Likewise.
1469 (isConnected): Likewise.
1470 (write): Likewise.
1471 (read): Likewise.
1472 (receive): Throws IOException.
1473 (send): Likewise.
1474 * gnu/java/nio/SocketChannelImpl.java
1475 (read): Implemented.
1476 (write): Implemented.
1477
1478 2003-06-19 Michael Koch <konqueror@gmx.de>
1479
1480 * javax/swing/JComponent.java,
1481 javax/swing/JInternalFrame.java,
1482 javax/swing/MenuSelectionManager.java,
1483 javax/swing/SwingUtilities.java,
1484 javax/swing/ToggleButtonModel.java:
1485 New versions from classpath.
1486
1487 2003-06-19 Michael Koch <konqueror@gmx.de>
1488
1489 * java/text/CollationElementIterator.java
1490 (NULLORDER): Initialize with -1 as JDK documentation says.
1491
1492 2003-06-19 Michael Koch <konqueror@gmx.de>
1493
1494 * java/net/HttpURLConnection.java,
1495 java/net/Inet4Address.java,
1496 java/net/Inet6Address.java,
1497 java/net/SocketImpl.java,
1498 java/net/URLClassLoader.java:
1499 Reworked import statements.
1500 * java/net/InetAddress.java
1501 (getByAddress): Simplified.
1502 * java/net/ServerSocket.java
1503 (ServerSocket): Moved special handling during bind operation to
1504 bind().
1505 (bind): Handle different cases when trying to bind a socket.
1506 * java/net/URLConnection.java
1507 (getHeaderFieldDate): Merged with classpath.
1508 (getHeaderFieldInt): Likewise.
1509
1510 2003-06-19 Michael Koch <konqueror@gmx.de>
1511
1512 * java/util/zip/InflaterInputStream.java
1513 (InflaterInputStream): Throw NullPointerException if in is null (as
1514 JDK does).
1515
1516 2003-06-19 Michael Koch <konqueror@gmx.de>
1517
1518 * java/awt/Font.java
1519 javax/swing/UIManager.java
1520 javax/swing/border/AbstractBorder.java
1521 javax/swing/border/BevelBorder.java
1522 javax/swing/border/Border.java
1523 javax/swing/border/CompoundBorder.java
1524 javax/swing/border/EmptyBorder.java
1525 javax/swing/border/EtchedBorder.java
1526 javax/swing/border/LineBorder.java
1527 javax/swing/border/MatteBorder.java
1528 javax/swing/border/TitledBorder.java
1529 javax/swing/plaf/BorderUIResource.java
1530 javax/swing/plaf/basic/BasicBorders.java
1531 javax/swing/plaf/basic/BasicButtonUI.java
1532 javax/swing/plaf/basic/BasicCheckBoxUI.java
1533 javax/swing/plaf/basic/BasicGraphicsUtils.java
1534 javax/swing/plaf/basic/BasicLabelUI.java
1535 javax/swing/plaf/basic/BasicRadioButtonUI.java
1536 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1537 New versions from classpath.
1538 * javax/swing/border/SoftBevelBorder.java:
1539 New file from classpath.
1540 * javax/swing/border/doc-files/LineBorder-1.png,
1541 javax/swing/border/doc-files/BevelBorder-1.png,
1542 javax/swing/border/doc-files/BevelBorder-2.png,
1543 javax/swing/border/doc-files/BevelBorder-3.png,
1544 javax/swing/border/doc-files/EmptyBorder-1.png,
1545 javax/swing/border/doc-files/EtchedBorder-1.png,
1546 javax/swing/border/doc-files/EtchedBorder-2.png,
1547 javax/swing/border/doc-files/MatteBorder-1.png,
1548 javax/swing/border/doc-files/MatteBorder-2.png,
1549 javax/swing/border/doc-files/MatteBorder-3.png,
1550 javax/swing/border/doc-files/MatteBorder-4.png,
1551 javax/swing/border/doc-files/MatteBorder-5.png,
1552 javax/swing/border/doc-files/MatteBorder-6.png,
1553 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1554 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1555 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1556 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1557 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1558 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1559 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1560 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1561 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1562 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1563 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1564 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1565 New binary files from classpath.
1566 * Makefile.am
1567 (awt_java_source_files): Added
1568 javax/swing/border/SoftBevelBorder.java.
1569 * Makefile.in: Regenerated.
1570
1571 2003-06-19 Michael Koch <konqueror@gmx.de>
1572
1573 * gnu/java/security/x509/X509Certificate.java
1574 (writeReplace): Merged from classpath.
1575
1576 2003-06-19 Michael Koch <konqueror@gmx.de>
1577
1578 * gnu/java/nio/FileChannelImpl.java
1579 (map_address): Made public.
1580 (FileChannelImpl): Merged with classpath.
1581 * gnu/java/nio/natFileChannelImpl.cc
1582 (nio_mmap_file): Commented out unused arguments.
1583 (nio_unmmap_file): Likewise.
1584 (niu_msync): Likewise.
1585
1586 2003-06-19 Michael Koch <konqueror@gmx.de>
1587
1588 * java/awt/image/IndexColorModel.java:
1589 New version from classpath.
1590
1591 2003-06-18 Tom Tromey <tromey@redhat.com>
1592
1593 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1594 on arrays.
1595 (isLoopbackAddress): Likewise.
1596 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1597 on arrays.
1598
1599 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1600
1601 * java/lang/natVMSecurityManager.cc (getClassContext):
1602 Use maxlen instead of len for loop bound.
1603
1604 2003-06-18 Michael Koch <konqueror@gmx.de>
1605
1606 * gnu/java/nio/SelectorImpl.java
1607 (register): Use fd with value 0 for now, will be fixed later.
1608 * gnu/java/nio/ServerSocketChannelImpl.java
1609 (fd): Removed.
1610 (local_port): Removed.
1611 (InetSocketAddress): Removed.
1612 (ServerSocketChannelImpl): Just initialize internal socket object.
1613 (implCloseSelectableChannel): Close internal socket object.
1614 (implConfigureBlocking): Added comment.
1615 (accept): Use jaba.net stuff to accept socket.
1616 * gnu/java/nio/SocketChannelImpl.java
1617 (fd): Removed.
1618 (local_port): Removed.
1619 (InetSocketAddress): Removed.
1620 (SocketCreate): Removed.
1621 (SocketConnect): Removed.
1622 (SocketBind): Removed.
1623 (SocketListen): Removed.
1624 (SocketAvailable): Removed.
1625 (SocketClose): Removed.
1626 (SocketRead): Removed.
1627 (SocketWrite): Removed.
1628 (SocketChannelImpl): Just initialize internal socket object.
1629 (implCloseSelectableChannel): Close internal socket object.
1630 (implConfigureBlocking): Fixed implementation, added comment.
1631 (connect): Use internal socket object to connect.
1632 (socket): No need for sanity checks.
1633 (read): Comment out some stuff, this will be reimplemented in the next
1634 commit.
1635 (write): Likewise.
1636 * gnu/java/nio/natFileChannelImpl.cc
1637 (nio_mmap_file): Line wrapped.
1638 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1639 * Makefile.am
1640 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1641 * Makefile.in: Regenerated.
1642
1643 2003-06-18 Michael Koch <konqueror@gmx.de>
1644
1645 * java/util/Locale.java
1646 (equals): Merged from classpath.
1647
1648 2003-06-18 Michael Koch <konqueror@gmx.de>
1649
1650 * java/net/InetAddress.java:
1651 Reformatted to better match classpath's version.
1652 * java/net/URL.java
1653 (equals): Simplified.
1654 * java/net/URLConnection.java
1655 (setDoInput): Revised documentation.
1656 (getDefaultUseCaches): Likewise.
1657 (setRequestProperty): Added @since tag.
1658
1659 2003-06-17 Michael Koch <konqueror@gmx.de>
1660
1661 * java/net/InetSocketAddress.java
1662 (InetSocketAddress): Use wildcard address if addr is null.
1663 (InetSocketAddress): Dont duplicate implementation.
1664 (InetSocketAddress): Throw exception when hostname is null.
1665 * java/net/Socket.java:
1666 Reworked imports.
1667 (Socket): Throw exception when raddr is null, handle case when laddr
1668 is null.
1669
1670 2003-06-17 Michael Koch <konqueror@gmx.de>
1671
1672 * java/nio/DirectByteBufferImpl.java
1673 (address): Made package private.
1674 (DirectByteBufferImpl): New constructor.
1675 * java/nio/natDirectByteBufferImpl.cc
1676 (allocateImpl): Moved to java.nio namespace, implemented.
1677 (freeImpl): Likewise.
1678 (getImpl): Likewise.
1679 (putImpl): Likewise.
1680 * jni.cc
1681 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1682 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1683 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1684
1685 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1686
1687 * include/powerpc-signal.h: New File.
1688 * configure.in: Use it.
1689 * configure: Regenerated.
1690
1691 2003-06-17 Michael Koch <konqueror@gmx.de>
1692
1693 * java/util/Locale.java
1694 (getDisplayLanguage): Made it final.
1695 (getDisplayCountry): Likewise.
1696 (getDisplayVariant): Likewise.
1697 (getDisplayName): Likewise.
1698
1699 2003-06-17 Michael Koch <konqueror@gmx.de>
1700
1701 * java/util/PropertyResourceBundle.java:
1702 Removed unneeded import.
1703
1704 2003-06-17 Michael Koch <konqueror@gmx.de>
1705
1706 * java/util/prefs/AbstractPreferences.java,
1707 java/util/prefs/PreferencesFactory.java:
1708 Reworked imports, removed unused imports.
1709 * java/util/prefs/Preferences.java
1710 (systemNodeForPackage): Method takes a Class not an Object.
1711 (userNodeForPackage): Likewise.
1712 (nodeForPackage): Likewise.
1713
1714 2003-06-17 Michael Koch <konqueror@gmx.de>
1715
1716 * gnu/java/security/x509/X509Certificate.java:
1717 Explicitely import used classes.
1718
1719 2003-06-17 Michael Koch <konqueror@gmx.de>
1720
1721 * java/util/zip/ZipEntry.java,
1722 java/util/zip/ZipFile.java,
1723 java/util/zip/ZipInputStream.java,
1724 java/util/zip/ZipOutputStream.java:
1725 Reworked imports, only import used classes.
1726
1727 2003-06-17 Michael Koch <konqueror@gmx.de>
1728
1729 * gnu/java/lang/ArrayHelper.java,
1730 gnu/java/lang/ClassHelper.java:
1731 Reformatted to match classpath's versions.
1732
1733 2003-06-14 Michael Koch <konqueror@gmx.de>
1734
1735 * gnu/java/nio/FileChannelImpl.java
1736 (map_address): Removed incorrect comment.
1737 * gnu/java/nio/SelectorImpl.java
1738 (register): Remove code duplication and code for file channel handling.
1739 * gnu/java/nio/ServerSocketChannelImpl.java
1740 (serverSocket): Renamed from sock_object.
1741 (ServerSocketChannel): Initialize serverSocket.
1742 (socket): Return serverSocket.
1743 * gnu/java/nio/SocketChannelImpl.java
1744 (socket): Renamed from sock_object.
1745 (isConnectionPenging): Simplified.
1746 (socket): Return socket.
1747 2003-06-14 Michael Koch <konqueror@gmx.de>
1748
1749 * java/security/BasicPermission.java:
1750 New version from classpath.
1751
1752 2003-06-14 Michael Koch <konqueror@gmx.de>
1753
1754 * javax/naming/directory/Attribute.java:
1755 New version from classpath.
1756
1757 2003-06-14 Michael Koch <konqueror@gmx.de>
1758
1759 * java/io/BufferedReader.java,
1760 java/io/FileOutputStream.java:
1761 New versions from classpath.
1762
1763 2003-06-12 Andrew Haley <aph@redhat.com>
1764
1765 * prims.cc (catch_segv): Create exception in handler.
1766 (catch_fpe): Likewise.
1767 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1768 (_Jv_ThrowSignal): Remove.
1769
1770 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1771 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1772 to nullp and arithexception.
1773 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1774 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1775 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1776 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1777 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1778
1779 2003-06-11 Andrew Haley <aph@redhat.com>
1780
1781 * jni.cc (_Jv_JNI_check_types): New.
1782 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1783 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1784 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1785 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1786
1787 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1788 infinite loop.
1789
1790 2003-06-11 Tom Tromey <tromey@redhat.com>
1791
1792 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1793 * java/io/PrintStream.java: Not deprecated.
1794
1795 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1796
1797 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1798 (fillOval): implemented
1799 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1800 (fillArc): implemented.
1801 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1802 (fillArc): added native method.
1803 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1804 (fillArc): added native method.
1805
1806 2003-06-11 Michael Koch <konqueror@gmx.de>
1807
1808 * java/awt/im/InputSubset.java:
1809 New version from classpath.
1810
1811 2003-06-11 Michael Koch <konqueror@gmx.de>
1812
1813 * javax/swing/AbstractAction.java,
1814 javax/swing/AbstractButton.java,
1815 javax/swing/AbstractCellEditor.java,
1816 javax/swing/AbstractListModel.java,
1817 javax/swing/BorderFactory.java,
1818 javax/swing/Box.java,
1819 javax/swing/BoxLayout.java,
1820 javax/swing/ButtonGroup.java,
1821 javax/swing/DefaultButtonModel.java,
1822 javax/swing/DefaultListModel.java,
1823 javax/swing/DefaultListSelectionModel.java,
1824 javax/swing/FocusManager.java,
1825 javax/swing/ImageIcon.java,
1826 javax/swing/InputMap.java,
1827 javax/swing/JApplet.java,
1828 javax/swing/JButton.java,
1829 javax/swing/JCheckBox.java,
1830 javax/swing/JCheckBoxMenuItem.java,
1831 javax/swing/JColorChooser.java,
1832 javax/swing/JComboBox.java,
1833 javax/swing/JComponent.java,
1834 javax/swing/JDesktopPane.java,
1835 javax/swing/JDialog.java,
1836 javax/swing/JEditorPane.java,
1837 javax/swing/JFileChooser.java,
1838 javax/swing/JFormattedTextField.java,
1839 javax/swing/JFrame.java,
1840 javax/swing/JLabel.java,
1841 javax/swing/JLayeredPane.java,
1842 javax/swing/JList.java,
1843 javax/swing/JMenuBar.java,
1844 javax/swing/JMenuItem.java,
1845 javax/swing/JOptionPane.java,
1846 javax/swing/JPanel.java,
1847 javax/swing/JPasswordField.java,
1848 javax/swing/JPopupMenu.java,
1849 javax/swing/JProgressBar.java,
1850 javax/swing/JRadioButton.java,
1851 javax/swing/JRadioButtonMenuItem.java,
1852 javax/swing/JRootPane.java,
1853 javax/swing/JScrollBar.java,
1854 javax/swing/JScrollPane.java,
1855 javax/swing/JSeparator.java,
1856 javax/swing/JSlider.java,
1857 javax/swing/JTabbedPane.java,
1858 javax/swing/JTable.java,
1859 javax/swing/JTextField.java,
1860 javax/swing/JToggleButton.java,
1861 javax/swing/JToolBar.java,
1862 javax/swing/JToolTip.java,
1863 javax/swing/JTree.java,
1864 javax/swing/JViewport.java,
1865 javax/swing/JWindow.java,
1866 javax/swing/KeyStroke.java,
1867 javax/swing/ListSelectionModel.java,
1868 javax/swing/LookAndFeel.java,
1869 javax/swing/RepaintManager.java,
1870 javax/swing/ScrollPaneLayout.java,
1871 javax/swing/SizeRequirements.java,
1872 javax/swing/SwingConstants.java,
1873 javax/swing/Timer.java,
1874 javax/swing/UIDefaults.java,
1875 javax/swing/UIManager.java,
1876 javax/swing/border/AbstractBorder.java,
1877 javax/swing/border/CompoundBorder.java,
1878 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1879 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1880 javax/swing/colorchooser/ColorSelectionModel.java,
1881 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1882 javax/swing/event/AncestorEvent.java,
1883 javax/swing/event/HyperlinkEvent.java,
1884 javax/swing/event/InternalFrameAdapter.java,
1885 javax/swing/event/InternalFrameEvent.java,
1886 javax/swing/event/ListDataEvent.java,
1887 javax/swing/event/MouseInputAdapter.java,
1888 javax/swing/event/SwingPropertyChangeSupport.java,
1889 javax/swing/event/TableModelEvent.java,
1890 javax/swing/event/TreeWillExpandListener.java,
1891 javax/swing/event/UndoableEditEvent.java,
1892 javax/swing/filechooser/FileFilter.java,
1893 javax/swing/filechooser/FileSystemView.java,
1894 javax/swing/filechooser/FileView.java,
1895 javax/swing/plaf/BorderUIResource.java,
1896 javax/swing/plaf/basic/BasicDefaults.java,
1897 javax/swing/table/AbstractTableModel.java,
1898 javax/swing/table/DefaultTableCellRenderer.java,
1899 javax/swing/table/DefaultTableColumnModel.java,
1900 javax/swing/table/DefaultTableModel.java,
1901 javax/swing/table/TableColumn.java,
1902 javax/swing/text/JTextComponent.java,
1903 javax/swing/tree/AbstractLayoutCache.java,
1904 javax/swing/tree/DefaultMutableTreeNode.java,
1905 javax/swing/tree/DefaultTreeCellEditor.java,
1906 javax/swing/tree/DefaultTreeCellRenderer.java,
1907 javax/swing/tree/DefaultTreeModel.java,
1908 javax/swing/tree/DefaultTreeSelectionModel.java,
1909 javax/swing/tree/FixedHeightLayoutCache.java,
1910 javax/swing/tree/TreeCellEditor.java,
1911 javax/swing/tree/TreeModel.java,
1912 javax/swing/tree/TreeNode.java,
1913 javax/swing/tree/TreePath.java,
1914 javax/swing/tree/TreeSelectionModel.java,
1915 javax/swing/tree/VariableHeightLayoutCache.java,
1916 javax/swing/undo/AbstractUndoableEdit.java,
1917 javax/swing/undo/CompoundEdit.java,
1918 javax/swing/undo/StateEdit.java,
1919 javax/swing/undo/UndoManager.java,
1920 javax/swing/undo/UndoableEditSupport.java:
1921 New versions from classpath.
1922 * javax/swing/table/JTableHeader.java:
1923 New file from classpath.
1924 * Makefile.am
1925 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1926 * Makefile.in: Regenerated.
1927
1928 2003-06-11 Michael Koch <konqueror@gmx.de>
1929
1930 * java/nio/MappedByteBuffer.java,
1931 java/nio/channels/Channels.java,
1932 java/nio/channels/ServerSocketChannel.java,
1933 java/nio/channels/spi/AbstractSelector.java:
1934 Removed unneeded imports.
1935
1936 2003-06-11 Michael Koch <konqueror@gmx.de>
1937
1938 * java/net/DatagramSocket.java:
1939 Partly merged with classpath.
1940
1941 2003-06-11 Michael Koch <konqueror@gmx.de>
1942
1943 * java/awt/Frame.java,
1944 java/awt/Graphics.java,
1945 java/awt/Menu.java,
1946 java/awt/Robot.java,
1947 java/awt/image/ColorModel.java:
1948 New versions from classpath.
1949
1950 2003-06-10 Michael Koch <konqueror@gmx.de>
1951
1952 * java/io/PrintStream.java:
1953 Merged version from classpath.
1954 (close): Removed sychronized keyword. This class is not garantied to
1955 be thread-safe.
1956 (write): Likewise.
1957
1958 2003-06-09 Tom Tromey <tromey@redhat.com>
1959
1960 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1961 field.
1962 (getDescent): Likewise, for "descent".
1963
1964 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1965
1966 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1967 (getMaxDescent): adjusted return value.
1968 (getAscent): modified to use metrics for 'O'.
1969 (getDescent): modified to use metrics for 'y'.
1970
1971 2003-06-08 Anthony Green <green@redhat.com>
1972
1973 * java/net/URLStreamHandler.java (sameFile): Fix port value
1974 comparison.
1975 * java/net/URL.java (handler): Make package private.
1976 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1977
1978 2003-06-07 Tom Tromey <tromey@redhat.com>
1979
1980 For PR libgcj/11085:
1981 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1982 Limit number of characters in numeric field when required.
1983 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1984 Respect maximumIntegerDigits.
1985
1986 2003-06-08 Michael Koch <konqueror@gmx.de>
1987
1988 * java/net/Socket.java
1989 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1990 call bind() and connect() to actually do the bind and connect tasks.
1991 (bind): Connect to canonical address if bindpoint is null, create
1992 socket and bind it to bindpoint.
1993 (connect): Check for exceptions.
1994
1995 2003-06-08 Michael Koch <konqueror@gmx.de>
1996
1997 * java/net/DatagramSocket.java
1998 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1999 into the Multicast constructors.
2000 * java/net/DatagramSocketImpl.java
2001 (getOption): Removed.
2002 (setOption): Removed.
2003 * java/net/MulticastSocket.java
2004 (MulticastSocket): Call setReuseAddress (true).
2005 * java/net/SocketImpl.java
2006 (getOption): Removed.
2007 (setOption): Removed.
2008
2009 2003-06-07 Jeff Sturm <jsturm@one-point.com>
2010
2011 PR libgcj/10886:
2012 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
2013 Test for empty vector.
2014
2015 2003-06-06 Mark Wielaard <mark@klomp.org>
2016
2017 * java/security/Security.java (secprops): Initialize.
2018 (loadProviders): Return boolean.
2019 (static): Check result of loadProvider calls. If necessary
2020 display WARNING and fallback to Gnu provider.
2021
2022 2002-06-06 James Clark <jjc@jclark.com>
2023
2024 Fix for PR libgcj/8738:
2025 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
2026 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
2027 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
2028 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
2029 (write): Always decrease avail when count is increased.
2030 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
2031 and whether output buffer is full before increasing size.
2032
2033 2002-06-06 Mark Wielaard <mark@klomp dot org>
2034
2035 * java/io/PrintStream.java (writeChars(char[],int, int)):
2036 Check converter.havePendingBytes().
2037 (writeChars(String,int,int)): Likewise.
2038 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
2039 Check converter.havePendingBytes() and flush buffer when stalled.
2040
2041 2003-06-07 Michael Koch <konqueror@gmx.de>
2042
2043 * include/posix.h
2044 (O_DSYNC): Define O_DSYNC on platforms not
2045 supporting O_FSYNC (newlib).
2046
2047 2003-06-06 Mark Wielaard <mark@klomp.org>
2048
2049 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
2050 AWTError.
2051
2052 2003-06-06 Michael Koch <konqueror@gmx.de>
2053
2054 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2055 More compile fixes from my stupid work yesterday.
2056
2057 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
2058
2059 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
2060 if _IEEE_LIBM is undefined.
2061
2062 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
2063
2064 * libjava/include/posix.h (O_SYNC): Define if not available
2065 and a reasonable, perhaps more conservative, replacement exists.
2066 (O_DSYNC): Likewise.
2067 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
2068
2069 2003-06-05 Michael Koch <konqueror@gmx.de>
2070
2071 * javax/swing/plaf/BorderUIResource.java,
2072 javax/swing/plaf/basic/BasicDefaults.java,
2073 javax/swing/plaf/basic/BasicOptionPaneUI.java:
2074 More compile fixes for latest Border commit. I should not commit
2075 something in this heat here ...
2076
2077 2003-06-05 Michael Koch <konqueror@gmx.de>
2078
2079 * javax/swing/border/BevelBorder.java
2080 (BevelBorder): Removed.
2081 * javax/swing/border/EmptyBorder.java:
2082 Reformatted.
2083 (EmptyBorder): Removed.
2084 (getBorderInsets): Dont use l, r, t and b.
2085 * javax/swing/border/EtchedBorder.java
2086 (EtchedBorder): Removed.
2087 * javax/swing/border/LineBorder.java
2088 (LineBorder): Removed.
2089 * javax/swing/border/MatteBorder.java
2090 (MatteBorder): Removed.
2091 * javax/swing/border/TitledBorder.java
2092 (defaultBorder): Use other default for now.
2093 (defaultFont): Likewise.
2094 (defaultColor): Likewise.
2095
2096 2003-06-05 Michael Koch <konqueror@gmx.de>
2097
2098 * javax/swing/border/Border.java:
2099 New version from classpath.
2100
2101 2003-06-05 Michael Koch <konqueror@gmx.de>
2102
2103 * javax/swing/border/AbstractBorder.java,
2104 javax/swing/border/BevelBorder.java,
2105 javax/swing/border/CompoundBorder.java,
2106 javax/swing/border/EmptyBorder.java,
2107 javax/swing/border/EtchedBorder.java,
2108 javax/swing/border/LineBorder.java,
2109 javax/swing/border/MatteBorder.java,
2110 javax/swing/border/TitledBorder.java:
2111 New versions from Classpath.
2112
2113 2003-06-05 Michael Koch <konqueror@gmx.de>
2114
2115 * java/awt/Button.java,
2116 java/awt/Checkbox.java,
2117 java/awt/CheckboxMenuItem.java,
2118 java/awt/Choice.java,
2119 java/awt/Container.java,
2120 java/awt/Dialog.java,
2121 java/awt/EventQueue.java,
2122 java/awt/FileDialog.java,
2123 java/awt/Frame.java,
2124 java/awt/Label.java,
2125 java/awt/List.java,
2126 java/awt/Menu.java,
2127 java/awt/MenuItem.java,
2128 java/awt/Panel.java,
2129 java/awt/PopupMenu.java,
2130 java/awt/Rectangle.java,
2131 java/awt/ScrollPane.java,
2132 java/awt/Scrollbar.java,
2133 java/awt/TextArea.java,
2134 java/awt/TextField.java,
2135 java/awt/Window.java,
2136 java/awt/datatransfer/DataFlavor.java,
2137 java/awt/dnd/DragSource.java,
2138 java/awt/dnd/DragSourceContext.java,
2139 java/awt/event/HierarchyEvent.java,
2140 java/awt/event/MouseWheelEvent.java,
2141 java/awt/im/InputContext.java,
2142 java/awt/image/BufferedImage.java,
2143 java/awt/image/ComponentColorModel.java,
2144 java/awt/image/Raster.java,
2145 java/awt/image/WritableRaster.java,
2146 java/awt/peer/ComponentPeer.java,
2147 java/awt/print/PageFormat.java,
2148 java/awt/print/PrinterJob.java:
2149 New versions from Classpath.
2150
2151 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
2152
2153 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2154 numberFormat.setParseIntegerOnly(true).
2155
2156 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2157
2158 * include/posix-threads.h: Include <machine/pal.h> on OSF.
2159
2160 2003-06-03 Andrew Haley <aph@redhat.com>
2161
2162 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2163 stack volatile to prevent optimization from removing it.
2164
2165 2003-05-27 Michael Koch <konqueror@gmx.de>
2166
2167 * java/util/zip/Deflater.java
2168 (FILTERED): Merged documentation from classpath.
2169 * java/util/zip/DeflaterOutputStream.java
2170 (DeflaterOutputStream): Merged documentation and argument validity
2171 check from classpath.
2172 (deflate): Merged documentation from classpath.
2173 (finish): Likewise.
2174 * java/util/zip/Inflater.java
2175 (Inflater): Merged class documentation from classpath.
2176 (zstream): Reordered.
2177 (is_finished): Reordered.
2178 (dict_needed): Reordered.
2179 (Inflater): Reordered, merged documentation from classpath.
2180 (end): Likewise.
2181 (finalize): Merged documentation from classpath.
2182 (finished): Likewise.
2183 (getAdler): Likewise.
2184 (getRemaining): Likewise.
2185 (getTotalIn): Likewise.
2186 (getTotalOut): Likewise.
2187 (inflate): Likewise.
2188 (needsDictionary): Likewise.
2189 (needsInput): Likewise.
2190 (reset): Likewise.
2191 (setDictionary): Likewise.
2192 (setInput): Likewise.
2193
2194 2003-05-27 Michael Koch <konqueror@gmx.de>
2195
2196 * java/net/URLConnection.java
2197 (getHeaderFieldInt): Merged with classpath.
2198
2199 2003-05-27 Michael Koch <konqueror@gmx.de>
2200
2201 * java/io/PrintStream.java
2202 (PrintStream): Reformatted.
2203 (PrintStream): New method, merged from classpath.
2204 (write): Reformatted.
2205
2206 2003-05-27 Michael Koch <konqueror@gmx.de>
2207
2208 * java/lang/System.java:
2209 Explicitely import needed classes.
2210
2211 2003-05-26 Michael Koch <konqueror@gmx.de>
2212
2213 * java/net/NetPermission.java,
2214 java/net/NetworkInterface.java,
2215 java/net/PasswordAuthentication.java,
2216 java/net/SocketPermission.java:
2217 New versions from classpath.
2218
2219 2003-05-25 Michael Koch <konqueror@gmx.de>
2220
2221 * java/io/PushbackInputStream.java,
2222 java/net/Authenticator.java,
2223 java/net/ContentHandler.java,
2224 java/net/ContentHandlerFactory.java,
2225 java/net/DatagramSocket.java,
2226 java/net/DatagramSocketImpl.java,
2227 java/net/DatagramSocketImplFactory.java,
2228 java/net/FileNameMap.java,
2229 java/net/SocketImplFactory.java,
2230 java/net/SocketOptions.java,
2231 java/net/URLStreamHandlerFactory.java:
2232 Merged new versions from classpath.
2233
2234 2003-05-25 Michael Koch <konqueror@gmx.de>
2235
2236 * java/awt/Checkbox.java,
2237 java/awt/Dialog.java,
2238 java/awt/Font.java,
2239 java/awt/Frame.java,
2240 java/awt/ScrollPaneAdjustable.java,
2241 java/awt/Scrollbar.java,
2242 java/awt/Window.java:
2243 New versions from classpath.
2244
2245 2003-05-22 Jeff Sturm <jsturm@one-point.com>
2246
2247 PR libgcj/10838:
2248 * java/io/ObjectInputStream (enableResolveObject):
2249 Fixed spelling of permission name.
2250
2251 2003-05-20 Michael Koch <konqueror@gmx.de>
2252
2253 * java/io/DataInputStream.java
2254 (convertFromUTF): Merged comment from classpath.
2255 * java/io/PrintStream.java
2256 (error_occured): Renamed from error, merged comment from classpath.
2257 (PrintStream): No need to initialized error.
2258 (checkError): Replace error with error_occurred.
2259 (setError): Likewise.
2260
2261 2003-05-20 Michael Koch <konqueror@gmx.de>
2262
2263 * java/io/DataInputStream.java:
2264 Reformatted, Replaced < and & with html entitites in documentation.
2265 * java/io/File.java:
2266 Reformatted.
2267 * java/io/PrintWriter.java:
2268 Moved class documentation.
2269
2270 2003-05-20 Michael Koch <konqueror@gmx.de>
2271
2272 * gnu/java/nio/ByteBufferImpl.java,
2273 gnu/java/nio/CharBufferImpl.java,
2274 gnu/java/nio/CharViewBufferImpl.java,
2275 gnu/java/nio/DirectByteBufferImpl.java,
2276 gnu/java/nio/DoubleBufferImpl.java,
2277 gnu/java/nio/DoubleViewBufferImpl.java,
2278 gnu/java/nio/FloatBufferImpl.java,
2279 gnu/java/nio/FloatViewBufferImpl.java,
2280 gnu/java/nio/IntBufferImpl.java,
2281 gnu/java/nio/IntViewBufferImpl.java,
2282 gnu/java/nio/LongBufferImpl.java,
2283 gnu/java/nio/LongViewBufferImpl.java,
2284 gnu/java/nio/natDirectByteBufferImpl.cc,
2285 gnu/java/nio/ShortBufferImpl.java,
2286 gnu/java/nio/ShortViewBufferImpl.java:
2287 Moved files to java/nio.
2288 * gnu/java/nio/SocketChannelImpl.java
2289
2290 * java/nio/ByteBuffer.java,
2291 java/nio/CharBuffer.java,
2292 java/nio/DoubleBuffer.java,
2293 java/nio/FloatBuffer.java,
2294 java/nio/IntBuffer.java,
2295 java/nio/LongBuffer.java,
2296 java/nio/ShortBuffer.java:
2297 Dont import anything.
2298 * java/nio/ByteBufferImpl.java,
2299 java/nio/CharBufferImpl.java,
2300 java/nio/CharViewBufferImpl.java,
2301 java/nio/DirectByteBufferImpl.java,
2302 java/nio/DoubleBufferImpl.java,
2303 java/nio/DoubleViewBufferImpl.java,
2304 java/nio/FloatBufferImpl.java,
2305 java/nio/FloatViewBufferImpl.java,
2306 java/nio/IntBufferImpl.java,
2307 java/nio/IntViewBufferImpl.java,
2308 java/nio/LongBufferImpl.java,
2309 java/nio/LongViewBufferImpl.java,
2310 java/nio/natDirectByteBufferImpl.cc,
2311 java/nio/ShortBufferImpl.java,
2312 java/nio/ShortViewBufferImpl.java:
2313 Moved from gnu/java/nio.
2314 * Makefile.am
2315 (ordinary_java_source_files): Moved files from gnu/java/nio to
2316 java/nio.
2317 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2318 to java/nio.
2319 * Makefile.in: Regenerated.
2320
2321 2003-05-19 Michael Koch <konqueror@gmx.de>
2322
2323 * java/util/Calendar.java
2324 (get): Not final anymore since JDK 1.4
2325 (set): Likewise.
2326
2327 2003-05-19 Michael Koch <konqueror@gmx.de>
2328
2329 * java/text/CollationKey.java:
2330 Merged copyright and dat from classpath.
2331 * java/text/RuleBasedCollator.java:
2332 Merged class documentation from classpath.
2333
2334 2003-05-19 Michael Koch <konqueror@gmx.de>
2335
2336 * java/nio/CharBuffer.java
2337 (toString): Compile fix.
2338
2339 2003-05-19 Michael Koch <konqueror@gmx.de>
2340
2341 * gnu/java/nio/ByteBufferImpl.java
2342 (putLong): Fixed conversion to bytes.
2343 (putDouble): Fixed conversion to bytes.
2344 * gnu/java/nio/DirectByteBufferImpl.java
2345 (putLong): Fixed conversion to bytes.
2346 (putDouble): Fixed conversion to bytes.
2347 * gnu/java/nio/FileLockImpl.java
2348 (isValid): Reformatted.
2349 * java/nio/Buffer.java
2350 (Buffer): Fixed off-by-one bug in handling mark.
2351 * java/nio/ByteBuffer.java:
2352 Added newline.
2353 * java/nio/CharBuffer.java
2354 (toString): Don't use relative get to get string data.
2355
2356 2003-05-16 Michael Koch <konqueror@gmx.de>
2357
2358 * java/io/natFileDescriptorPosix.cc
2359 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2360 tested.
2361
2362 2003-05-14 Michael Koch <konqueror@gmx.de>
2363
2364 * gnu/java/nio/FileLockImpl.java
2365 (released): New member variable.
2366 (FileLockImpl): Initialize released.
2367 (releaseImpl): New native method.
2368 (release): Implemented.
2369 * gnu/java/nio/SelectorImpl.java: Reformatted.
2370 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2371 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2372 (accept): Throws IOException.
2373 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2374 (implConfigureBlocking): Throws IOException.
2375 (connect): Likewise.
2376 (read): Likewise.
2377 (write): Likewise.
2378 * gnu/java/nio/natFileLockImpl.cc: New file.
2379 * java/nio/channels/FileLock.java: Reformatted.
2380 * Makefile.am:
2381 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2382 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2383 * Makefile.in: Regenerated.
2384
2385 2003-05-13 Michael Koch <konqueror@gmx.de>
2386
2387 * gnu/java/nio/CharViewBufferImpl.java
2388 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2389 (get): Shift bits to the right direction.
2390 (put): Likewise.
2391 * gnu/java/nio/DoubleViewBufferImpl.java
2392 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2393 (get): Shift bits to the right direction.
2394 (put): Likewise.
2395 * gnu/java/nio/FloatViewBufferImpl.java
2396 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2397 (get): Shift bits to the right direction.
2398 (put): Likewise.
2399 * gnu/java/nio/IntViewBufferImpl.java
2400 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2401 (get): Shift bits to the right direction.
2402 (put): Likewise.
2403 * gnu/java/nio/LongViewBufferImpl.java
2404 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2405 (get): Shift bits to the right direction.
2406 (put): Likewise.
2407 * gnu/java/nio/ShortViewBufferImpl.java
2408 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2409 (get): Shift bits to the right direction.
2410 (put): Likewise.
2411
2412 2003-05-13 Michael Koch <konqueror@gmx.de>
2413
2414 * gnu/java/nio/natDirectByteBufferImpl.cc
2415 (allocateImpl): jlong -> RawData*.
2416 (freeImpl): Likewise.
2417
2418 2003-05-13 Michael Koch <konqueror@gmx.de>
2419
2420 * java/nio/channels/FileChannel.java
2421 (MapMode.m): Made it package-private to match JDK 1.4.
2422 * java/nio/charset/Charset.java
2423 (decode): Made it final to match JDK 1.4.
2424
2425 2003-05-13 Michael Koch <konqueror@gmx.de>
2426
2427 * java/io/FileDescriptor.java
2428 (SYNC): New constant.
2429 (DSYNC): Likewise.
2430 (getLength): Renamed from lenght() to match classpath's
2431 FileDescriptor.java.
2432 * java/io/RandomAccessFile.java
2433 (RandomAccessFile): Removed unneeded mode check, implemented mode
2434 "rws" and "rwd", merged documentation from classpath.
2435 (setLength): Reformatted.
2436 (length): Use new getLength() of FileDescriptor.
2437 * java/io/natFileDescriptorEcos.cc
2438 (getLength): Renamed from length().
2439 * java/io/natFileDescriptorPosix.cc
2440 (open): Implemented support for SYNC and DSYNC.
2441 (seek): Use getLength() instead of length().
2442 (getLength): Renamed from length().
2443 * java/io/natFileDescriptorWin32.cc
2444 (getLength): Renamed from length().
2445 (seek): Use getLength() instead of length().
2446 (available): Likewise.
2447 * gnu/java/nio/natFileChannelImpl.cc
2448 (size): Use getLength() instead of length().
2449
2450 2003-05-13 Michael Koch <konqueror@gmx.de>
2451
2452 * gnu/java/nio/ByteBufferImpl.java
2453 (ByteBufferImpl): All constructors revised.
2454 (slice): Reimplemented.
2455 (duplicate): Reimplemented.
2456 (asReadOnlyBuffer): Reimplemented.
2457 * java/nio/ByteBuffer.java:
2458 Reformatted.
2459 (array_offset): Renamed from "offset" to match all other buffer
2460 classes.
2461 (ByteBuffer): All constructors revised.
2462 (allocateDirect): Implemented.
2463 (allocate): New implementation, documentation reworked.
2464 (wrap): Likewise.
2465 (get): Documentation reworked.
2466 (put): New implementation, documentation reworked.
2467 (hasArray): Documentation reworked.
2468 (arrayOffset): Likewise.
2469 (hashCode): Likewise.
2470 (equals): Likewise.
2471 (compareTo): Likewise.
2472 (order): Likewise.
2473 (compact): Likewise.
2474 (isDirect): Likewise.
2475 (slice): Likewise.
2476 (duplicate): Likewise.
2477 (asReadOnlyBuffer): Likewise.
2478 * Makefile.am
2479 (ordinary_java_source_files):
2480 Added gnu/java/nio/DirectByteBufferImpl.java.
2481 (nat_source_files):
2482 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2483 * Makefile.in: Regenerated.
2484
2485 2003-05-12 Michael Koch <konqueror@gmx.de>
2486
2487 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2488 (nio_get_*): Removed.
2489 (nio_put_*): Removed.
2490 (as*Buffer): Implemented.
2491 (compact): Implemented.
2492 (get): Documentation added.
2493 (put): Documentation added.
2494 (get*): Newly implemented.
2495 (put*): Newly implemented.
2496 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2497 (CharBufferImpl): Revised.
2498 (slice): New implementation.
2499 (duplicate): New implementation.
2500 (compact): New implementation.
2501 (asReadOnlyBuffer): New implementation.
2502 (get): Documentation revised.
2503 (order): Return native byte order.
2504 * gnu/java/nio/DirectByteBufferImpl.java
2505 (allocateDirect): objects can be null not 0.
2506 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2507 (DoubleBufferImpl): Revised.
2508 (slice): New implementation.
2509 (duplicate): New implementation.
2510 (compact): New implementation.
2511 (asReadOnlyBuffer): New implementation.
2512 (get): Documentation revised.
2513 (order): Return native byte order.
2514 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2515 (FloatBufferImpl): Revised.
2516 (slice): New implementation.
2517 (duplicate): New implementation.
2518 (compact): New implementation.
2519 (asReadOnlyBuffer): New implementation.
2520 (get): Documentation revised.
2521 (order): Return native byte order.
2522 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2523 (IntBufferImpl): Revised.
2524 (slice): New implementation.
2525 (duplicate): New implementation.
2526 (compact): New implementation.
2527 (asReadOnlyBuffer): New implementation.
2528 (get): Documentation revised.
2529 (order): Return native byte order.
2530 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2531 (LongBufferImpl): Revised.
2532 (slice): New implementation.
2533 (duplicate): New implementation.
2534 (compact): New implementation.
2535 (asReadOnlyBuffer): New implementation.
2536 (get): Documentation revised.
2537 (order): Return native byte order.
2538 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2539 (ShortBufferImpl): Revised.
2540 (slice): New implementation.
2541 (duplicate): New implementation.
2542 (compact): New implementation.
2543 (asReadOnlyBuffer): New implementation.
2544 (get): Documentation revised.
2545 (order): Return native byte order.
2546 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2547 (CharBuffer): Revised.
2548 (order): Removed.
2549 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2550 (DoubleBuffer): Revised.
2551 (allocateDirect): Removed.
2552 (order): Removed.
2553 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2554 (FloatBuffer): Revised.
2555 (allocateDirect): Removed.
2556 (order): Removed.
2557 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2558 (IntBuffer): Revised.
2559 (allocateDirect): Removed.
2560 (order): Removed.
2561 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2562 (LongBuffer): Revised.
2563 (allocateDirect): Removed.
2564 (order): Removed.
2565 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2566 (ShortBuffer): Revised.
2567 (allocateDirect): Removed.
2568 (order): Removed.
2569 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2570 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2571 * Makefile.am
2572 (ordinary_java_source_files): Added the following files:
2573 gnu/java/nio/CharViewBufferImpl.java,
2574 gnu/java/nio/DoubleViewBufferImpl.java,
2575 gnu/java/nio/FloatViewBufferImpl.java,
2576 gnu/java/nio/IntViewBufferImpl.java,
2577 gnu/java/nio/LongViewBufferImpl.java,
2578 gnu/java/nio/ShortViewBufferImpl.java
2579 (nat_source_files): Removed the following files:
2580 gnu/java/nio/natByteBufferImpl.cc,
2581 gnu/java/nio/natCharBufferImpl.cc
2582 * Makefile.in: Regenerated.
2583
2584 2003-05-12 Michael Koch <konqueror@gmx.de>
2585
2586 * gnu/java/nio/CharViewBufferImpl.java,
2587 gnu/java/nio/DirectByteBufferImpl.java,
2588 gnu/java/nio/DoubleViewBufferImpl.java,
2589 gnu/java/nio/FloatViewBufferImpl.java,
2590 gnu/java/nio/IntViewBufferImpl.java,
2591 gnu/java/nio/LongViewBufferImpl.java,
2592 gnu/java/nio/ShortViewBufferImpl.java,
2593 gnu/java/nio/natDirectByteBufferImpl.cc:
2594 New files, not yet to be compiled.
2595
2596 2003-05-10 Michael Koch <konqueror@gmx.de>
2597
2598 * javax/swing/plaf/ButtonUI.java,
2599 javax/swing/plaf/ColorUIResource.java,
2600 javax/swing/plaf/ComponentUI.java,
2601 javax/swing/plaf/DimensionUIResource.java,
2602 javax/swing/plaf/FontUIResource.java,
2603 javax/swing/plaf/IconUIResource.java,
2604 javax/swing/plaf/InsetsUIResource.java,
2605 javax/swing/plaf/LabelUI.java,
2606 javax/swing/plaf/ListUI.java,
2607 javax/swing/plaf/OptionPaneUI.java,
2608 javax/swing/plaf/PanelUI.java,
2609 javax/swing/plaf/TabbedPaneUI.java,
2610 javax/swing/plaf/TextUI.java,
2611 javax/swing/plaf/TreeUI.java,
2612 javax/swing/plaf/ViewportUI.java,
2613 javax/swing/plaf/basic/BasicBorders.java,
2614 javax/swing/plaf/basic/BasicButtonUI.java,
2615 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2616 javax/swing/plaf/basic/BasicDefaults.java,
2617 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2618 javax/swing/plaf/basic/BasicIconFactory.java,
2619 javax/swing/plaf/basic/BasicLabelUI.java,
2620 javax/swing/plaf/basic/BasicListUI.java,
2621 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2622 javax/swing/plaf/basic/BasicPanelUI.java,
2623 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2624 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2625 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2626 javax/swing/plaf/basic/BasicTextUI.java,
2627 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2628 javax/swing/plaf/basic/BasicTreeUI.java,
2629 javax/swing/plaf/basic/BasicViewportUI.java,
2630 javax/swing/plaf/metal/MetalLookAndFeel.java:
2631 New versions from classpath. This adds copyrights to all files and
2632 some serialVersionUIDs.
2633
2634 2003-05-10 Michael Koch <konqueror@gmx.de>
2635
2636 * java/nio/CharBuffer.java
2637 (offset): Make it package-private.
2638 (backing_buffer): Likewise.
2639 * java/nio/DoubleBuffer.java
2640 (offset): Make it package-private.
2641 (backing_buffer): Likewise.
2642 (put): Reformatted.
2643 * java/nio/FloatBuffer.java
2644 (offset): Make it package-private.
2645 (backing_buffer): Likewise.
2646 * java/nio/IntBuffer.java
2647 (offset): Make it package-private.
2648 (backing_buffer): Likewise.
2649 * java/nio/LongBuffer.java
2650 (offset): Make it package-private.
2651 (backing_buffer): Likewise.
2652 * java/nio/ShortBuffer.java
2653 (offset): Make it package-private.
2654 (backing_buffer): Likewise.
2655
2656 2003-05-10 Michael Koch <konqueror@gmx.de>
2657
2658 * java/nio/CharBuffer.java
2659 (put): Fixed precondtion check.
2660 (toString): Make it work without backing array.
2661 (put): Skip one level of method calling.
2662
2663 2003-05-10 Michael Koch <konqueror@gmx.de>
2664
2665 * java/security/Identity.java,
2666 java/security/IdentityScope.java,
2667 java/security/Key.java,
2668 java/security/KeyPair.java,
2669 java/security/PrivateKey.java,
2670 java/security/Provider.java,
2671 java/security/PublicKey.java,
2672 java/security/SecureRandom.java,
2673 java/security/SecureRandomSpi.java,
2674 java/security/SignedObject.java,
2675 java/security/Signer.java,
2676 java/security/cert/Certificate.java,
2677 java/security/cert/PKIXCertPathBuilderResult.java,
2678 java/security/cert/X509Certificate.java:
2679 New versions from classpath.
2680
2681 2003-05-09 Tom Tromey <tromey@redhat.com>
2682
2683 * Makefile.in: Rebuilt.
2684 * Makefile.am (nat_source_files): Removed old files.
2685 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2686 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2687 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2688 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2689 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2690
2691 2003-05-09 Michael Koch <konqueror@gmx.de>
2692
2693 * gnu/java/nio/ByteBufferImpl.java
2694 (nio_cast): Removed.
2695 (ByteBufferImpl): Removed.
2696 (nio_get_Byte): Removed.
2697 (nio_put_Byte): Removed.
2698 (asByteBuffer): Removed.
2699 (asCharBuffer): Removed implementation and throw exception.
2700 (asShortBuffer): Likewise.
2701 (asIntBuffer): Likewise.
2702 (asLongBuffer): Likewise.
2703 (asFloatBuffer): Likewise.
2704 (asDoubleBuffer): Likewise.
2705 * gnu/java/nio/CharBufferImpl.java
2706 (CharBufferImpl): Removed.
2707 (nio_get_Byte): Removed.
2708 (nio_put_Byte): Removed.
2709 (asByteBuffer): Removed.
2710 * gnu/java/nio/DoubleBufferImpl.java
2711 (DoubleBufferImpl): Removed.
2712 (nio_get_Byte): Removed.
2713 (nio_put_Byte): Removed.
2714 (asByteBuffer): Removed.
2715 * gnu/java/nio/FloatBufferImpl.java
2716 (FloatBufferImpl): Removed.
2717 (nio_get_Byte): Removed.
2718 (nio_put_Byte): Removed.
2719 (asByteBuffer): Removed.
2720 * gnu/java/nio/IntBufferImpl.java
2721 (IntBufferImpl): Removed.
2722 (nio_get_Byte): Removed.
2723 (nio_put_Byte): Removed.
2724 (asByteBuffer): Removed.
2725 * gnu/java/nio/LongBufferImpl.java
2726 (LongBufferImpl): Removed.
2727 (nio_get_Byte): Removed.
2728 (nio_put_Byte): Removed.
2729 (asByteBuffer): Removed.
2730 * gnu/java/nio/ShortBufferImpl.java
2731 (ShortBufferImpl): Removed.
2732 (nio_get_Byte): Removed.
2733 (nio_put_Byte): Removed.
2734 (asByteBuffer): Removed.
2735 * gnu/java/nio/natByteBufferImpl.cc
2736 (nio_cast): Removed.
2737 (nio_get_Byte): Removed.
2738 (nio_put_Byte): Removed.
2739 * gnu/java/nio/natCharBufferImpl.cc
2740 (nio_get_Byte): Removed.
2741 (nio_put_Byte): Removed.
2742
2743 2003-05-09 Michael Koch <konqueror@gmx.de>
2744
2745 * java/net/JarURLConnection.java
2746 (getJarEntry): Merged documentation from classpath.
2747 (getJarFile): Likewise.
2748 (getMainAttributes): Likewise.
2749 (getAttributes): Likewise.
2750 (getManifest): Likewise.
2751 (getCertificates): Reformatted.
2752 * java/net/URLConnection.java:
2753 Little classpath merge.
2754
2755 2003-05-09 Michael Koch <konqueror@gmx.de>
2756
2757 * java/io/DataOutputStream.java
2758 (writeShort): Made it synchronized.
2759 (writeChar): Likewise.
2760 (writeInt): Likewise.
2761 (writeLong): Liekwise.
2762 (writeUTF): Made it synchronized, renamed argument to match classpath.
2763 * java/io/InputStreamReader.java
2764 (converter): Added documentation.
2765 (read): Merged documentation from classpath.
2766 * java/io/OutputStreamWriter.java
2767 (OutputStreamWriter): Merged documentation from classpath.
2768 (close): Reformatted.
2769 (getEncoding): Likewise.
2770 (flush): Likewise.
2771 (write): Merged documentation from classpath, reformatted.
2772
2773 2003-05-08 Tom Tromey <tromey@redhat.com>
2774
2775 * configure.host <powerpc64*-*>: Set with_libffi_default and
2776 libgcj_interpreter to "yes".
2777
2778 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2779
2780 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2781
2782 2003-05-06 Tom Tromey <tromey@redhat.com>
2783
2784 * verify.cc: Reverted previous patch.
2785
2786 2003-05-06 Michael Koch <konqueror@gmx.de>
2787
2788 * java/io/DataOutputStream.java
2789 (write): Renamed argument to "value", merged documentation from
2790 classpath.
2791 (writeBoolean): Likewise.
2792 (writeByte): Likewise.
2793 (writeShort): Likewise.
2794 (writeChar): Likewise.
2795 (writeInt): Likewise.
2796 (writeLong): Likewise.
2797 (writeFloat): Likewise.
2798 (writeDouble): Likewise.
2799 (writeBytes): Likewise.
2800 (writeChars): Likewise.
2801 (writeUTF): Likewise.
2802 * java/io/File.java
2803 (performDelete): Added documentation.
2804 (performList): Likewise.
2805 (performMkdir): Likewise.
2806 (performSetReadOnly): Likewise.
2807 (performRenameTo): Likewise.
2808 (performSetLastModified): Likewise.
2809 (delete): Made it sychronized.
2810 (renameTo): Made it sychronized.
2811 (equals): Reformatted.
2812 (isHidden): Likewise.
2813 (listFiles): Likewise.
2814 (setReadOnly): Likewise.
2815 (listRoots): Likewise.
2816 (setLastModified): Likewise.
2817 (checkRead): Likewise.
2818 (checkWrite): Likewise.
2819 * java/io/FileInputStream.java
2820 (skip): Made it sychronized, merged from classpath.
2821 * java/io/FileOutputStream.java
2822 (write): Merged from classpath.
2823 * java/io/InputStreamReader.java:
2824 (InputStreamReader): Merged documentation from classpath.
2825
2826 2003-05-05 Michael Koch <konqueror@gmx.de>
2827
2828 * java/net/NetworkInterface.java
2829 (networkInterfaces): Removed.
2830 (getByName): Use getRealNetworkInterfaces() instead of
2831 networkInterfaces.
2832 (getByInetAddress): Likewise.
2833 (getNetworkInterfaces): Likewise.
2834 (toString): Fix output of addresses of an interface.
2835
2836 2003-05-05 Michael Koch <konqueror@gmx.de>
2837
2838 * java/io/DataInputStream.java:
2839 Merged new documentation from classpath.
2840
2841 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2842
2843 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2844 "version".
2845 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2846 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2847 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2848 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2849 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2850 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2851 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2852 * java/security/Key.java: Likewise.
2853 * java/security/PrivateKey.java: Likewise.
2854 * java/security/Provider.java: Likewise.
2855 * java/security/PublicKey.java: Likewise.
2856
2857 2003-05-02 Michael Koch <konqueror@gmx.de>
2858
2859 * java/net/URI.java
2860 (create): Doesnt throws any exceptions.
2861 * java/net/URLConnection.java
2862 (URLConnection): Commend added.
2863 (getExpiration): The header field is called "expires" not
2864 "expiration".
2865 (getHeaderField): Merged documentation with classpath.
2866 (getHeaderFieldInt): Likewise.
2867 (getHeaderFieldDate): Likewise.
2868 (getHeaderFieldKey): Likewise.
2869 (getPermission): Likewise.
2870 (setDefaultUseCaches): Likewise.
2871 (setRequestProperty): Likewise.
2872 (addRequestProperty): Likewise.
2873 (getRequestProperty): Likewise.
2874 (getRequestProperties): Likewise.
2875 (setDefaultRequestProperty): Likewise.
2876 (getDefaultRequestProperty): Likewise.
2877 (guessContentTypeFromStream): Likewise.
2878 (getFileNameMap): Likewise.
2879 (setFileNameMap): Likewise.
2880 (setDoInput): Merged implementation and documentation with classpath.
2881 (setDoOutput): Likewise.
2882 (setAllowUserInteraction): Likewise.
2883 (setDefaultAllowUserInteraction): Likewise.
2884 (setContentHandlerFactory): Made it synchronized, merged documentation
2885 with classpath.
2886 (guessContentTypeFromName): Renamed argument fname to filename to
2887 match classpath, merged documentation with classpath.
2888
2889 2003-05-02 Michael Koch <konqueror@gmx.de>
2890
2891 * java/net/JarURLConnection.java
2892 (JarURLConnection): Class documentation merged with classpath.
2893 (getJarFileURL): Moved and documentation merged with classpath.
2894 (getEntryName): Likewise.
2895 (JarURLConnection): Documentation merged with classpath.
2896 (getJarEntry): Likewise.
2897 (getJarFile): Likewise.
2898 * java/net/PlainDatagramSocketImpl.java:
2899 Class documentation moved.
2900 * java/net/URLConnection.java
2901 (fileNameMap): Moved and documentation merged with classpath.
2902 (factory): Likewise.
2903 (defaultAllowUserInteraction): Likewis.
2904 (defaultUseCaches): Likewise.
2905 (allowUserInteraction): Likewise.
2906 (connected): Likewise.
2907 (url): Likewise.
2908 (connect): Documentation merged with classpath.
2909 (getURL): Likewise.
2910 (getContentLength): Likewise.
2911 (getContentType): Likewise.
2912 (getContentEncoding): Likewise.
2913 (getExpiration): Likewise.
2914 (getDate): Likewise.
2915 (getLastModified): Likewise.
2916 (getHeaderField): Likewise.
2917 (getContent): Likewise.
2918 (getPermission): Likewise.
2919 (getInputStream): Likewise.
2920 (getOutputStream): Likewise.
2921 (toString): Likewise.
2922 (getDoInput): Likewise.
2923 (getDoOutput): Likewise.
2924 (setAllowUserInteraction): Likewise.
2925 (getAllowUserInteraction): Likewise.
2926 (setDefaultAllowUserInteraction): Likewise.
2927 (getDefaultAllowUserInteraction): Likewise.
2928 (setUseCaches): Likewise.
2929 (getUseCaches): Likewise.
2930 (setIfModifiedSince): Likewise.
2931 (getIfModifiedSince): Likewise.
2932 (setDefaultRequestProperty): Likewise.
2933 (getDefaultRequestProperty): Likewise.
2934 (setContentHandlerFactory): Likewise.
2935 (setFileNameMap): Likewise.
2936
2937 2003-05-02 Michael Koch <konqueror@gmx.de>
2938
2939 * java/net/InetAddress.java:
2940 Merged class documentation with classpath.
2941 * java/net/JarURLConnection.java:
2942 Explicitely import all used classes.
2943 * java/net/URL.java:
2944 Reformatting.
2945 * java/net/ServerSocket.java,
2946 java/net/Socket.java:
2947 New versions from classpath.
2948
2949 2003-05-02 Michael Koch <konqueror@gmx.de>
2950
2951 * gnu/java/nio/FileChannelImpl.java
2952 (read): New implementation.
2953 (implRead): New methods.
2954 (write): New implementation, call other write insteal of read method.
2955 (implWrite): New methods.
2956 (map): Added comment.
2957 (transferFrom): Implemented.
2958 (transferTo): Implemented.
2959 (lock): Added checks to throw exceptions.
2960 (truncate): Added check to throw exception.
2961 * gnu/java/nio/natFileChannelImpl.cc
2962 (implRead): New method.
2963 (implWrite): New method.
2964 * java/nio/ByteBuffer.java
2965 (hashCode): Fixed comment.
2966 (get): Fixed exception documentation.
2967 (put): Fixed exception documentation.
2968 * java/nio/CharBuffer.java:
2969 Added comment for later optimizations.
2970
2971 2003-04-30 Tom Tromey <tromey@redhat.com>
2972
2973 PR libgcj/10582:
2974 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2975 Removed.
2976 (type::compatible): Use _Jv_IsAssignableFrom.
2977 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2978 (_Jv_IsAssignableFrom): Work even when source or target class is
2979 not prepared.
2980
2981 2003-04-30 Michael Koch <konqueror@gmx.de>
2982
2983 * java/text/BreakIterator.java
2984 (clone): New method.
2985
2986 2003-04-30 Michael Koch <konqueror@gmx.de>
2987
2988 * java/text/CollationElementIterator.java,
2989 java/text/CollationKey.java,
2990 java/text/RuleBasedCollator.java:
2991 Merged copyright and documentation from classpath and
2992 rearranged some code. No code changes done.
2993
2994 2003-04-30 Michael Koch <konqueror@gmx.de>
2995
2996 * java/util/regex/Matcher.java
2997 (pattern): New member variable.
2998 (appendReplacement): New method.
2999 (appendTail): New method.
3000 (end): New method.
3001 (find): New method.
3002 (group): New method.
3003 (replaceFirst): Added documentation.
3004 (replaceAll): Added documentation.
3005 (groupCount): New method.
3006 (lookingAt): New method.
3007 (matches): New method.
3008 (reset): New method.
3009 (start): New method.
3010 * java/util/regex/Pattern.java
3011 (serialVersionUID): New constant.
3012 (CANON_EQ): New constant.
3013 (CASE_INSENSITIVE): New constant.
3014 (COMMENTS): New constant.
3015 (DOTALL): New constant.
3016 (MULTILINE): New constant.
3017 (UNICODE_CASE): New constant.
3018 (UNIX_LINES): New constant.
3019 (regex): New member variable.
3020 (flags): New member variable.
3021 (Pattern): New method.
3022 (compile): Documentation added.
3023 (flags): New method.
3024 (matches): Documentation added.
3025 (matcher): Documentation added.
3026 (split): Documentation added.
3027 (pattern): New method.
3028
3029 2003-04-30 Michael Koch <konqueror@gmx.de>
3030
3031 * gnu/java/security/Engine.java,
3032 gnu/java/security/OID.java,
3033 gnu/java/security/der/BitString.java,
3034 gnu/java/security/der/DER.java,
3035 gnu/java/security/der/DERReader.java,
3036 gnu/java/security/der/DERValue.java,
3037 gnu/java/security/der/DERWriter.java,
3038 gnu/java/security/provider/DSAKeyFactory.java,
3039 gnu/java/security/provider/X509CertificateFactory.java,
3040 gnu/java/security/x509/X500DistinguishedName.java,
3041 gnu/java/security/x509/X509CRL.java,
3042 gnu/java/security/x509/X509CRLEntry.java,
3043 gnu/java/security/x509/X509Certificate.java,
3044 java/security/cert/CRLSelector.java,
3045 java/security/cert/CertPathBuilder.java,
3046 java/security/cert/CertPathBuilderResult.java,
3047 java/security/cert/CertPathBuilderSpi.java,
3048 java/security/cert/CertPathParameters.java,
3049 java/security/cert/CertPathValidator.java,
3050 java/security/cert/CertPathValidatorResult.java,
3051 java/security/cert/CertPathValidatorSpi.java,
3052 java/security/cert/CertSelector.java,
3053 java/security/cert/CertStore.java,
3054 java/security/cert/CertStoreParameters.java,
3055 java/security/cert/CertStoreSpi.java,
3056 java/security/cert/CollectionCertStoreParameters.java,
3057 java/security/cert/LDAPCertStoreParameters.java,
3058 java/security/cert/PKIXBuilderParameters.java,
3059 java/security/cert/PKIXCertPathBuilderResult.java,
3060 java/security/cert/PKIXCertPathChecker.java,
3061 java/security/cert/PKIXCertPathValidatorResult.java,
3062 java/security/cert/PKIXParameters.java,
3063 java/security/cert/PolicyNode.java,
3064 java/security/cert/PolicyQualifierInfo.java,
3065 java/security/cert/TrustAnchor.java,
3066 javax/security/auth/x500/X500Principal.java:
3067 New files from classpath.
3068 * gnu/java/io/ASN1ParsingException.java,
3069 gnu/java/io/Base64InputStream.java,
3070 gnu/java/security/der/DEREncodingException.java,
3071 gnu/java/security/provider/DSAParameters.java,
3072 gnu/java/security/provider/DSASignature.java,
3073 gnu/java/security/provider/Gnu.java,
3074 gnu/java/security/provider/GnuDSAPrivateKey.java,
3075 gnu/java/security/provider/GnuDSAPublicKey.java,
3076 java/security/AlgorithmParameterGenerator.java,
3077 java/security/AlgorithmParameters.java,
3078 java/security/KeyFactory.java,
3079 java/security/KeyPairGenerator.java,
3080 java/security/KeyStore.java,
3081 java/security/MessageDigest.java,
3082 java/security/SecureClassLoader.java,
3083 java/security/SecureRandom.java,
3084 java/security/Security.java,
3085 java/security/Signature.java,
3086 java/security/cert/Certificate.java,
3087 java/security/cert/CertificateFactory.java,
3088 java/security/cert/CertificateFactorySpi.java,
3089 java/security/cert/X509CRL.java,
3090 java/security/cert/X509Certificate.java,
3091 java/security/spec/DSAPublicKeySpec.java:
3092 New versions from classpath.
3093 * gnu/java/security/provider/DERReader.java,
3094 gnu/java/security/provider/DERWriter.java,
3095 java/security/Engine.java: Removed.
3096 * Makefile.am
3097 (java_source_files, javax_source_files): Added new files.
3098 * Makefile.in: Regenerated.
3099
3100 2003-04-29 Michael Koch <konqueror@gmx.de>
3101
3102 * javax/swing/JTable.java
3103 (AUTO_RESIZE_ALL_COLUMNS): New constant.
3104 (AUTO_RESIZE_LAST_COLUMN): New constant.
3105 (AUTO_RESIZE_NEXT_COLUMN): New constant.
3106 (AUTO_RESIZE_OFF): New constant.
3107 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
3108 (JTable): New method.
3109 (columnAdded): New method.
3110 (columnMarginChanged): New method.
3111 (columnMoved): New method.
3112 (columnRemoved): New method.
3113 (columnSelectionChanged): New method.
3114 (editingCanceled): New method.
3115 (editingStopped): New method.
3116 (getColumnModel): New method.
3117 (getPreferredScrollableViewportSize): New method.
3118 (getScrollableBlockIncrement): New method.
3119 (getScrollableTracksViewportHeight): New method.
3120 (getScrollableTracksViewportWidth): New method.
3121 (getScrollableUnitIncrement): New method.
3122 (getSelectedRow): New method.
3123 (getSelectionModel): New method.
3124 (tableChanged): New method.
3125 (setModel): New method.
3126 (setSelectionMode): New method.
3127 (setSelectionModel): New method.
3128 (setShowGrid): New method.
3129 (valueChanged): New method.
3130 * javax/swing/text/DefaultEditorKit.java
3131 (backwardAction): New constant.
3132 (beepAction): New constant.
3133 (beginAction): New constant.
3134 (beginLineAction): New constant.
3135 (beginParagraphAction): New constant.
3136 (beginWordAction): New constant.
3137 (copyAction): New constant.
3138 (cutAction): New constant.
3139 (defaultKeyTypedAction): New constant.
3140 (deleteNextCharAction): New constant.
3141 (deletePrevCharAction): New constant.
3142 (downAction): New constant.
3143 (endAction): New constant.
3144 (endLineAction): New constant.
3145 (endOfLineStringProperty): New constant.
3146 (endParagraphAction): New constant.
3147 (endWordAction): New constant.
3148 (forwardAction): New constant.
3149 (insertBreakAction): New constant.
3150 (insertContentAction): New constant.
3151 (insertTabAction): New constant.
3152 (nextWordAction): New constant.
3153 (pageDownAction): New constant.
3154 (pageUpAction): New constant.
3155 (pasteAction): New constant.
3156 (previousWordAction): New constant.
3157 (readOnlyAction): New constant.
3158 (selectAllAction): New constant.
3159 (selectionBackwardAction): New constant.
3160 (selectionBeginAction): New constant.
3161 (selectionBeginLineAction): New constant.
3162 (selectionBeginParagraphAction): New constant.
3163 (selectionBeginWordAction): New constant.
3164 (selectionDownAction): New constant.
3165 (selectionEndAction): New constant.
3166 (selectionEndLineAction): New constant.
3167 (selectionEndParagraphAction): New constant.
3168 (selectionEndWordAction): New constant.
3169 (selectionForwardAction): New constant.
3170 (selectionNextWordAction): New constant.
3171 (selectionPreviousWordAction): New constant.
3172 (selectionUpAction): New constant.
3173 (selectLineAction): New constant.
3174 (selectParagraphAction): New constant.
3175 (selectWordAction): New constant.
3176 (upAction): New constant.
3177 (writableAction): New constant.
3178
3179 2003-04-29 Michael Koch <konqueror@gmx.de>
3180
3181 * java/util/PropertyPermission.java:
3182 New version from classpath
3183 * java/util/ResourceBundle.java:
3184 Partly merged from classpath
3185 (getObject): Reformated.
3186 (tryBundle): Set foundBundle = null if no bundle found.
3187
3188 2003-04-29 Michael Koch <konqueror@gmx.de>
3189
3190 * javax/swing/AbstractListModel.java,
3191 javax/swing/DefaultBoundedRangeModel.java,
3192 javax/swing/DefaultSingleSelectionModel.java:
3193 New Versions from classpath.
3194
3195 2003-04-29 Michael Koch <konqueror@gmx.de>
3196
3197 * java/awt/Window.java
3198 (show): Call super.show() instead of setVisible() to avoid endless
3199 loop.
3200 (hide): Call super.hide() instead of setVisible() to avoid endless
3201 loop.
3202
3203 2003-04-29 Michael Koch <konqueror@gmx.de>
3204
3205 * java/util/zip/Deflater.java,
3206 java/util/zip/DeflaterOutputStream.java:
3207 Partly merged with classpath.
3208
3209 2003-04-27 Tom Tromey <tromey@redhat.com>
3210
3211 * java/lang/natString.cc (_Jv_AllocString): Initialize
3212 cachedHashCode.
3213 (init): Likewise.
3214 (_Jv_NewStringUtf8Const): Likewise.
3215
3216 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
3217
3218 * include/jvm.h: (_Jv_GetNbArgs) added
3219 (_Jv_GetSafeArg) added
3220 (_Jv_SetArgs) added
3221 * prims.cc: (_Jv_GetNbArgs) implemented
3222 (_Jv_GetSafeArg) implemented
3223 (_Jv_SetArgs) implemented
3224 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3225 setting _Jv_argc and _Jv_argv
3226 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3227 instead of _Jv_argv
3228 * java/lang/natRuntime.cc: (insertSystemProperties) use
3229 _Jv_GetSafeArg() instead of _Jv_argv
3230
3231 2003-04-23 Tom Tromey <tromey@redhat.com>
3232
3233 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3234 required by this object. Search superclasses to find required
3235 alignment.
3236 (get_alignment_from_class): Use alignment of type as it appears
3237 in a struct.
3238 (ALIGNOF): New macro.
3239 (struct aligner): New helper structure.
3240
3241 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
3242
3243 * java/awt/Container.java (addImpl): Enable paint events if adding
3244 a lightweight to a heavyweight.
3245 (addNotify): Ensure that peer is created before
3246 addNotifyContainerChildren.
3247 (addNotifyContainerChildren): Enable paint events if a heavyweight
3248 container contains a lightweight.
3249
3250 2003-04-20 Tom Tromey <tromey@redhat.com>
3251
3252 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3253 java/io/DataInput.java, java/io/DataOutput.java: Imports from
3254 Classpath.
3255
3256 2003-04-19 Tom Tromey <tromey@redhat.com>
3257
3258 * java/sql/Date.java, java/sql/DriverManager.java,
3259 java/sql/Time.java, java/sql/Timestamp.java: New versions from
3260 Classpath.
3261
3262 * Makefile.in: Rebuilt.
3263 * Makefile.am (ordinary_java_source_files): Added new files.
3264 * java/security/AlgorithmParameterGenerator.java,
3265 java/security/AlgorithmParameters.java, java/security/Engine.java,
3266 java/security/Identity.java, java/security/IdentityScope.java,
3267 java/security/KeyFactory.java,
3268 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3269 java/security/MessageDigest.java, java/security/Policy.java,
3270 java/security/ProtectionDomain.java,
3271 java/security/SecureRandom.java, java/security/Security.java,
3272 java/security/Signature.java, java/security/SignatureSpi.java,
3273 java/security/SignedObject.java, java/security/Signer.java,
3274 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3275 java/security/spec/PSSParameterSpec.java,
3276 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3277 java/security/spec/RSAOtherPrimeInfo.java: New versions from
3278 Classpath.
3279
3280 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3281
3282 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3283 (dispose): Null metrics.
3284 * gnu/awt/xlib/XToolkit.java (sync): Implement.
3285 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3286 finalize.
3287 (finalize): Call dispose.
3288 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3289 (gcCachedCount): New field.
3290 (finalize): New method.
3291 (putGCInCache): New method.
3292 (getGCFromCache): New method.
3293 * gnu/gcj/xlib/GC.java (GC): Make protected.
3294 (clone): Get new GC from cache if possible.
3295 (create): New static method.
3296 (dispose): Save old GC in cache.
3297 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3298 deleting.
3299 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3300 is null.
3301 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3302 * java/awt/Container.java (visitChild): Dispose gfx2 when
3303 finished.
3304
3305 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
3306
3307 * java/math/BigInteger.java (probablePrime): New.
3308 * java/math/BigDecimal.java (unscaledValue): New.
3309
3310 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
3311
3312 * java/io/File.java (getAbsolutePath): On Windows, take care
3313 of paths like "C:", "G:foo\bar", etc.
3314 (getName): Make it work correctly on Windows.
3315 (getParent): Make it work correctly on Windows. For UNIX,
3316 fix bug that causes "/" to be returned as the parent of "/",
3317 instead of null as returned by Sun's JRE.
3318
3319 * java/io/natFileWin32.cc: Change copyright owner to FSF.
3320
3321 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3322
3323 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3324 inner class.
3325 (CACHE_SIZE_PER_DISPLAY): New field
3326 (fontMetricsCache): New field
3327 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3328 loading ISO10646-1 fonts.
3329
3330 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3331
3332 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3333 characters.
3334 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3335 characters.
3336
3337 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
3338
3339 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3340 floating point.
3341
3342 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3343
3344 * configure.host (*-linux*): Don't set slow_pthread_self if primary
3345 installed libpthread is either linuxthreads with floating stacks or
3346 NPTL.
3347
3348 2003-04-14 Tom Tromey <tromey@redhat.com>
3349
3350 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3351 of alignment.
3352
3353 2003-04-10 Tom Tromey <tromey@redhat.com>
3354
3355 * verify.cc (pop64): Removed.
3356 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3357 exception if top-of-stack is narrow.
3358 (initialize_stack): Check to ensure that <init> is not static and
3359 <clinit> is.
3360
3361 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3362
3363 * java/io/ObjectStreamException
3364 * java/io/FileFilter
3365 * java/io/FilenameFilter
3366 * java/io/ObjectInput
3367 * java/io/ObjectOutput
3368 * java/io/ObjectStreamConstants
3369 Minor doc fixes, format fixes, spelling corrections, etc.
3370 * java/io/DataInput
3371 Corrected code samples in Javadocs to match reality
3372 * java/io/DataOutput
3373 * java/io/ObjectInputValidation
3374 Major documentation fixes - all Javadocs re-written or updated
3375
3376 2003-04-06 Michael Koch <konqueror@gmx.de>
3377
3378 * java/net/URLConnection.java:
3379 Import classes directly.
3380 (URLConnection): Merged class documentation with classpath.
3381 (url): Moved, documentation from classpath added.
3382 (doInput): Moved, documentation from classpath added.
3383 (doOutput): Moved, documentation from classpath added.
3384 (allowUserInteraction): Moved.
3385 (useCaches): Moved, documentation from classpath added.
3386 (ifModifiedSince): Moved, documentation from classpath added.
3387 (connected): Moved, documentation from classpath added.
3388
3389 2003-04-06 Michael Koch <konqueror@gmx.de>
3390
3391 * java/io/FileInputStream.java
3392 (skip): Renamed some variables to match classpath, added
3393 checks from classpath.
3394
3395 2003-03-31 Michael Koch <konqueror@gmx.de>
3396
3397 * javax/swing/AbstractAction.java
3398 (AbstractAction): Reformatted.
3399 (serialVersionUID): New private member variable.
3400 * javax/swing/plaf/BorderUIResource.java
3401 (serialVersionUID): New private member variable.
3402 * javax/swing/plaf/basic/BasicLookAndFeel.java
3403 (serialVersionUID): New private member variable.
3404
3405 2003-03-31 Michael Koch <konqueror@gmx.de>
3406
3407 * java/sql/Date.java
3408 (valueOf): Deprecated, reformatted.
3409 (toString): Deprecated, reformatted.
3410 * java/sql/Time.java
3411 (valueOf): Deprecated, reformatted.
3412 (toString): Deprecated, reformatted.
3413
3414 2003-03-31 Michael Koch <konqueror@gmx.de>
3415
3416 * java/rmi/dgc/VMID.java
3417 (isUnique): Deprecated.
3418
3419 2003-03-31 Michael Koch <konqueror@gmx.de>
3420
3421 * java/io/File.java
3422 (separator): Merged documentation from classpath.
3423 (separatorChar): Merged documentation from classpath.
3424 (pathSeparator): Merged documentation from classpath.
3425 (pathSeparatorChar): Merged documentation from classpath.
3426 (path): Merged documentation from classpath.
3427 (canRead): Merged documentation from classpath.
3428 (canWrite): Merged documentation from classpath.
3429 (createNewFile): Merged documentation from classpath.
3430 (delete): Merged documentation from classpath.
3431 (equals): Merged documentation from classpath.
3432 (exists): Merged documentation from classpath.
3433 (File): Renamed p to name to match classpath, merged documentation
3434 from classpath.
3435 (getAbsolutePath): Merged documentation from classpath.
3436 (getCanonicalPath): Merged documentation from classpath.
3437 (getCanonicalFile): Merged documentation from classpath.
3438 (getName): Merged documentation from classpath.
3439 (getParent): Merged documentation from classpath.
3440 (getParentFile): Merged documentation from classpath.
3441 (getPath): Merged documentation from classpath.
3442 (hashCode): Merged documentation from classpath.
3443 (isAbsolute): Merged documentation from classpath.
3444 (isDirectory): Merged documentation from classpath.
3445 (isFile): Merged documentation from classpath.
3446 (isHidden): Merged documentation from classpath.
3447 (lastModified): Merged documentation from classpath.
3448 (length): Merged documentation from classpath.
3449 (list): Merged documentation from classpath.
3450 (listFiles): Merged documentation from classpath.
3451 (toString): Merged documentation from classpath.
3452 (toURL): Merged documentation from classpath.
3453 (mkdir): Merged documentation from classpath.
3454 (mkdirs): Merged documentation from classpath.
3455 (createTempFile): Merged documentation from classpath.
3456 (setReadOnly): Merged documentation from classpath.
3457 (listRoots): Merged documentation from classpath.
3458 (compareTo): Merged documentation from classpath.
3459 (renameTo): Merged documentation from classpath.
3460 (setLastModified): Merged documentation from classpath.
3461 * java/io/PrintStream.java
3462 (auto_flush): Merged documentation from classpath.
3463 (PrintStream): Merged documentation from classpath.
3464 (checkError): Merged documentation from classpath.
3465 (setError): Merged documentation from classpath.
3466 (close): Merged documentation from classpath.
3467 (flush): Merged documentation from classpath.
3468 (print): Merged documentation from classpath.
3469 (println): Merged documentation from classpath.
3470 (write): Renamed count to len to match classpath,
3471 merged documentation from classpath.
3472 * java/io/RandomAccessFile.java
3473 (readShort): Merged documentation from classpath.
3474 (readUnsignedByte): Merged documentation from classpath.
3475 (readUnsignedShort): Merged documentation from classpath.
3476 (readUTF): Merged documentation from classpath.
3477 (seek): Reformatted, merged documentation from classpath.
3478 (skipBytes): Renamed some variables to match classpath, reformatted,
3479 merged documentation from classpath.
3480 (write): Merged documentation from classpath.
3481 (writeBoolean): Merged documentation from classpath.
3482 (writeByte): Merged documentation from classpath.
3483 (writeShort): Merged documentation from classpath.
3484 (writeChar): Merged documentation from classpath.
3485 (writeInt): Merged documentation from classpath.
3486 (writeLong): Merged documentation from classpath.
3487 (writeFloat): Merged documentation from classpath.
3488 (writeDouble): Merged documentation from classpath.
3489 (writeBytes): Merged documentation from classpath.
3490 (writeChars): Merged documentation from classpath.
3491 (writeUTF): Reformatted.
3492 (getChannel): Reformatted.
3493
3494 2003-03-31 Michael Koch <konqueror@gmx.de>
3495
3496 * java/awt/font/TextAttribute.java
3497 (readResolve): Throws java.io.InvalidObjectException.
3498
3499 2003-03-31 Michael Koch <konqueror@gmx.de>
3500
3501 * java/rmi/server/LoaderHandler.java
3502 (loadClass): Deprecated.
3503 (getSecurityContext): Deprecated.
3504 * java/rmi/server/LogStream.java
3505 (getDefaultStream): Deprecated.
3506 (setDefaultStream): Deprecated.
3507 (getOutputStream): Deprecated.
3508 (setOutputStream): Deprecated.
3509 (write): Deprecated.
3510 (toString): Deprecated.
3511 (parseLevel): Deprecated.
3512 * java/rmi/server/Operation.java
3513 (Operation): Deprecated.
3514 (getOperation): Deprecated.
3515 (toString): Deprecated.
3516 * java/rmi/server/RemoteCall.java
3517 (getOutputStream): Deprecated.
3518 (releaseOutputStream): Deprecated.
3519 (getInputStream): Deprecated.
3520 (releaseInputStream): Deprecated.
3521 (getResultStream): Deprecated.
3522 (executeCall): Deprecated.
3523 (done): Deprecated.
3524 * java/rmi/server/RemoteRef.java
3525 (invoke): Deprecated.
3526 (newCall): Deprecated.
3527 (done): Deprecated.
3528 * java/rmi/server/RemoteStub.java
3529 (setRef): Deprecated.
3530 * java/rmi/server/Skeleton.java:
3531 No need to import java.lang.Exception explicitly.
3532 (dispatch): Deprecated.
3533 (getOperations): Deprecated.
3534
3535 2003-03-31 Michael Koch <konqueror@gmx.de>
3536
3537 * java/rmi/dgc/VMID.java,
3538 java/rmi/registry/RegistryHandler.java,
3539 java/rmi/server/LogStream.java,
3540 java/rmi/server/Operation.java,
3541 java/rmi/server/RemoteCall.java,
3542 java/rmi/server/RemoteRef.java,
3543 java/rmi/server/RemoteStub.java:
3544 Reformatted.
3545
3546 2003-03-31 Michael Koch <konqueror@gmx.de>
3547
3548 * javax/swing/AbstractCellEditor.java,
3549 javax/swing/AbstractListModel.java,
3550 javax/swing/ActionMap.java,
3551 javax/swing/BorderFactory.java,
3552 javax/swing/ButtonGroup.java,
3553 javax/swing/DefaultBoundedRangeModel.java,
3554 javax/swing/DefaultButtonModel.java,
3555 javax/swing/DefaultCellEditor.java,
3556 javax/swing/DefaultComboBoxModel.java,
3557 javax/swing/DefaultDesktopManager.java,
3558 javax/swing/DefaultListCellRenderer.java,
3559 javax/swing/DefaultSingleSelectionModel.java,
3560 javax/swing/InputMap.java,
3561 javax/swing/JComponent.java,
3562 javax/swing/JMenu.java,
3563 javax/swing/JSlider.java,
3564 javax/swing/KeyStroke.java,
3565 javax/swing/OverlayLayout.java,
3566 javax/swing/ScrollPaneLayout.java,
3567 javax/swing/SizeRequirements.java,
3568 javax/swing/UIManager.java,
3569 javax/swing/ViewportLayout.java,
3570 javax/swing/border/AbstractBorder.java,
3571 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3572 javax/swing/event/EventListenerList.java,
3573 javax/swing/table/AbstractTableModel.java,
3574 javax/swing/table/DefaultTableCellRenderer.java,
3575 javax/swing/table/DefaultTableColumnModel.java,
3576 javax/swing/table/DefaultTableModel.java,
3577 javax/swing/table/TableColumn.java,
3578 javax/swing/text/StyledEditorKit.java,
3579 javax/swing/tree/DefaultMutableTreeNode.java,
3580 javax/swing/tree/DefaultTreeModel.java,
3581 javax/swing/tree/DefaultTreeSelectionModel.java,
3582 javax/swing/tree/TreePath.java,
3583 javax/swing/undo/AbstractUndoableEdit.java,
3584 javax/swing/undo/StateEdit.java,
3585 javax/swing/undo/StateEditable.java,
3586 javax/swing/undo/UndoableEditSupport.java:
3587 Merges from classpath.
3588
3589 2003-03-30 Tom Tromey <tromey@redhat.com>
3590
3591 * java/lang/String.java (data, boffset, count): Documented.
3592 (String(byte[],String)): Reformatted.
3593 (String(byte[])): Likewise.
3594 (lastIndexOf(int)): Likewise.
3595 (lastIndexOf(String)): Likewise.
3596 (substring(int)): Renamed argument to match Classpath.
3597 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3598
3599 * java/lang/String.java: Miscellaneous minor formatting changes
3600 to match Classpath more closely.
3601
3602 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3603 Tom Tromey <tromey@redhat.com>
3604
3605 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3606 (init()): Removed.
3607 (charAt): Put index in exception.
3608 (contentEquals): New method.
3609 Include StringBuffer.h.
3610 * java/lang/String.java (cachedHashCode): New field.
3611 (String()): Follow classpath implementation.
3612 (init()): Removed.
3613 (contentEquals): Declare.
3614 (subSequence): Don't declare IndexOutIfBoundsException in throws
3615 clause.
3616 (matches, replaceFirst, replaceAll, split): New methods from
3617 Classpath.
3618
3619 2003-03-29 Tom Tromey <tromey@redhat.com>
3620
3621 * java/lang/String.java: Reordered to follow Classpath; merged in
3622 javadoc.
3623
3624 * java/text/MessageFormat.java: Removed some whitespace.
3625
3626 * Makefile.in: Rebuilt.
3627 * Makefile.am (awt_java_source_files): Added new files.
3628 * gnu/javax/rmi/PortableServer.java,
3629 gnu/javax/rmi/CORBA/DelegateFactory.java,
3630 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3631 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3632 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3633 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3634 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3635 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3636 javax/rmi/PortableRemoteObject.java,
3637 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3638 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3639 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3640 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3641 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3642 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3643
3644 * java/lang/natClass.cc (newInstance): Put method name in
3645 exception.
3646 (getConstructor): Likewise.
3647 (getDeclaredConstructor): Likewise.
3648 (getPrivateMethod): Likewise.
3649
3650 2003-03-28 Tom Tromey <tromey@redhat.com>
3651
3652 * java/lang/reflect/Proxy.java: New version from Classpath.
3653 * java/lang/Package.java: New version from Classpath.
3654
3655 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3656
3657 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3658 * configure: Regenerate.
3659
3660 2003-03-28 Michael Koch <konqueror@gmx.de>
3661
3662 * java/io/File.java:
3663 Import needed classes instead of whole packages, merged class
3664 documentation with classpath, moved constants and variables to top of
3665 class.
3666 * java/io/PrintStream.java:
3667 Merged class documentation with classpath, moved constants and
3668 variables to top of class.
3669 * java/io/RandomAccessFile.java
3670 (RandomAccessFile): Merged with classpath.
3671 (read): Merged with classpath).
3672 (read*): Reformatted.
3673
3674 2003-03-28 Michael Koch <konqueror@gmx.de>
3675
3676 * java/io/FileDescriptor.java
3677 (finalize): Throws Throwable, not IOException.
3678 * java/io/ObjectOutputStream.java
3679 (PutField.put): Doesnt throws anything.
3680
3681 2003­03-28 Michael Koch <konqueror@gmx.de>
3682
3683 * java/io/FileOutputStream.java:
3684 Merged class documentation and authors with classpath.
3685 (FileOutputStream): Partly merged with classpath.
3686 (write): Merged with classpath.
3687 (getChannel): Make it synchronized instead of explicit block in this
3688 method.
3689 * java/io/RandomAccessFile.java:
3690 Merged class documentation and authors with classpath.
3691
3692 2003-03-26 Tom Tromey <tromey@redhat.com>
3693
3694 * java/lang/natRuntime.cc (insertSystemProperties): Set
3695 gnu.classpath.home.url.
3696 * Makefile.in: Rebuilt.
3697 * Makefile.am: Define LIBDIR.
3698
3699 2003-03-25 Michael Koch <konqueror@gmx.de>
3700
3701 * java/io/FileInputStream.java
3702 (read): Renamed b to buf and off to offset.
3703 * java/io/FileOutputStream.java
3704 (ch): Documentation added.
3705 (FileOutputStream): Documentation added.
3706 (getFD): Documentation added.
3707 (write): Documentation added.
3708 (close): Documentation added.
3709 (getChannel): Documentation added.
3710
3711 2003-03-24 Michael Koch <konqueror@gmx.de>
3712
3713 * java/io/DataOutputStream.java
3714 (write): Merged from classpath.
3715 * java/io/File.java:
3716 Merged copyrigth with classpath.
3717 * java/io/FileInputStream.java
3718 (getChannel): Made it synchronized instead of using a synchronized
3719 block.
3720 * java/io/FileOutputStream.java: Reformatted.
3721 * java/io/InputStreamReader.java
3722 (InputStreamReader): Renamed enc to encoding_name.
3723 (close): Merged documentation from classpath.
3724 (getEncoding): Merged documentation from classpath.
3725 (ready): Merged documentation from classpath.
3726 (read): Merged documentation from classpath.
3727 * java/io/LineNumberReader.java
3728 (lineNumber): Made it private.
3729 (LineNumberReader): Use Constant instead of a direct value.
3730 * java/io/OutputStreamWriter.java
3731 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3732 documentation from classpath.
3733 (close): Merged documentation from classpath.
3734 (flush): Merged documentation from classpath.
3735 (write): Merged documentation from classpath.
3736 * java/io/PrintStream.java: Reformatted.
3737
3738 2003-03-24 Michael Koch <konqueror@gmx.de>
3739
3740 * javax/swing/text/ComponentView.java
3741 (getComponent): Must be final.
3742 * javax/swing/tree/DefaultTreeCellRenderer.java:
3743 Reformatted.
3744 * javax/swing/undo/StateEditable.java:
3745 Reformatted.
3746
3747 2003-03-24 Michael Koch <konqueror@gmx.de>
3748
3749 * java/rmi/activation/ActivationInstantiator.java:
3750 Reformatted.
3751 * java/rmi/activation/Activator.java:
3752 Reformatted.
3753 * java/rmi/registry/RegistryHandler.java:
3754 Remerged from classpath.
3755
3756 2003-03-24 Michael Koch <konqueror@gmx.de>
3757
3758 * java/util/Date.java:
3759 Fixed documentation starting tag to make javadoc happy.
3760 * java/util/regex/Pattern.java
3761 (Pattern): Implements Serializable.
3762 * java/util/PatternSyntaxException.java
3763 (serialVersionUID): New member variable.
3764
3765 2003-03-24 Michael Koch <koqnueror@gmx.de>
3766
3767 * java/awt/ContainerOrderFocusTraversalPolicy.java
3768 (getFirstComponent): Implemented.
3769 (getLastComponent): Implemented.
3770 (getDefaultComponent): Implemented.
3771 (setImplicitDownCycleTraversal): Fixed implementation.
3772 * java/awt/Robot.java
3773 (Robot): Added documentation.
3774 * java/awt/Toolkit.java
3775 (getFontList): Deprecated.
3776 (getFontMetrics): Deprecated.
3777 (getPrintJob): Added documentation.
3778 (getSystemSelection): Added documentation.
3779 (getLockingKeyState): Added documentation.
3780 (setLockingKeyState): Added documentation.
3781 (createCustomCursor): Added documentation.
3782 (getBestCursorSize): Added documentation.
3783 (getMaximumCursorColors): Added documentation.
3784 (isFrameStateSupported): Added documentation.
3785
3786 2003-03-24 Michael Koch <konqueror@gmx.de>
3787
3788 * java/io/RandomAccessFile.java:
3789 More little merges with classpath. No code changes.
3790
3791 2003-03-24 Michael Koch <konqueror@gmx.de>
3792
3793 * java/net/natInetAddressNoNet.cc:
3794 Include stddef.h.
3795 * java/net/natPlainDatagramSocketImplNoNet.cc:
3796 Fixed inlcude of java/net/DatagramPacket.h.
3797 * java/net/natPlainSocketImplNoNet.cc:
3798 Include some missing classes.
3799
3800 2003-03-24 Michael Koch <konqueror@gmx.de>
3801
3802 * java/awt/dnd/DropTarget.java
3803 (DropTargetAutoScroller): According to the online documentation, this
3804 is protected, but in reality it is public.
3805 * java/awt/dnd/DropTargetContext.java
3806 (TransferableProxy): According to the online documentation, this
3807 is protected, but in reality it is public.
3808
3809 2003-03-24 Michael Koch <konqueror@gmx.de>
3810
3811 * java/io/DataInputStream.java
3812 (): Wrapped documentation line.
3813 (): Fixed @return tag.
3814 * java/io/DataOutputStream.java
3815 (written): Moved to top of class.
3816 (all methods): Merged documentation from classpath.
3817 * java/io/File.java:
3818 Merged copyright year with classpath.
3819 * java/io/FileInputStream.java
3820 (all methods): Merged documentation from classpath.
3821 * java/io/LineNumberReader.java
3822 (getLineNumber): Fixed @return tag.
3823 * java/io/ObjectInputStream.java.
3824 Reformatted.
3825 * java/io/ObjectOutputStream.java:
3826 Reformatted, fixed some @see tags.
3827 * java/io/OutputStreamWriter.java:
3828 Deleted empty line.
3829 * java/io/Writer.java:
3830 Reformatted.
3831
3832 2003-03-24 Michael Koch <konqueror@gmx.de>
3833
3834 * java/awt/Frame.java
3835 (DEFAULT_CURSOR): Fixed @deprecated tag.
3836 (setCursor): Fixed @deprecated tag.
3837
3838 2003-03-24 Michael Koch <konqueror@gmx.de>
3839
3840 * java/beans/beancontext/BeanContextEvent.java:
3841 Reformated.
3842
3843 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3844
3845 * java/lang/natStringBuffer.cc (regionMatches): New function.
3846 * java/lang/String.java (count): Now package-private.
3847 * java/lang/StringBuffer.java: Merged with Classpath.
3848
3849 2003-03-23 Michael Koch <konqueror@gmx.de>
3850
3851 * java/io/BufferedOutputStream.java:
3852 Reformated.
3853 * java/io/BufferedReader.java:
3854 Reformated.
3855 * java/io/ByteArrayOutputStream.java
3856 (size): Fixed @see tag.
3857 * java/io/CharArrayWriter.java
3858 (size): Fixed @see tag.
3859 * java/io/DataInput.java:
3860 Reformated.
3861 * java/io/DataOutput.java:
3862 Reformated.
3863 * java/io/DataOutputStream.java:
3864 Merged copyright years with classpath.
3865 * java/io/Externalizable.java:
3866 Reformated.
3867 * java/io/FileFilter.java:
3868 Reformated.
3869 * java/io/FileInputStream.java:
3870 Merged copyright years with classpath.
3871 * java/io/FileOutputStream.java:
3872 Merged copyright years with classpath.
3873 * java/io/FilePermission.java
3874 (FilePermission): Replaced @XXX with FIXME:.
3875 * java/io/FileWriter.java:
3876 Reformated.
3877 * java/io/FilenameFilter.java:
3878 Reformated.
3879 * java/io/FilterInputStream.java:
3880 Reformated.
3881 * java/io/FilterOutputStream.java:
3882 Reformated.
3883 * java/io/FilterReader.java:
3884 Reformated.
3885 * java/io/FilterWriter.java:
3886 Reformated.
3887 * java/io/LineNumberInputStream.java
3888 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3889 happy.
3890 (getLineNumber): Fixed @return tag.
3891 * java/io/ObjectInput.java:
3892 Reformated.
3893 * java/io/ObjectOutput.java:
3894 Reformated.
3895 * java/io/ObjectStreamClass.java:
3896 Reformated.
3897 * java/io/PrintStream.java:
3898 Merged copyright years with classpath.
3899 * java/io/PushbackReader.java
3900 (PushbackReader): Replaced @code with @param.
3901 * java/io/SerializablePermission.java:
3902 Reformated.
3903 * java/io/StreamTokenizer.java
3904 (resetSyntax): Fixed @see tag.
3905
3906 2003-03-22 Richard Henderson <rth@redhat.com>
3907
3908 * sysdep/ia64/locks.h: Include ia64intrin.h.
3909 (compare_and_swap): Use __sync_bool_compare_and_swap.
3910 (compare_and_swap_release): Expose ar.ccv assignment.
3911
3912 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3913
3914 * include/posix.h: Add suffix for darwin dynamic libraries.
3915
3916 2003-03-21 Michael Koch <konqueror@gmx.de>
3917
3918 * javax/swing/Action.java
3919 (ACCELERATOR_KEY): New constant.
3920 (ACTION_COMMAND_KEY): Likewise.
3921 (MNEMONIC_KEY): Likewise.
3922 * javax/swing/UnsupportedLookAndFeelException.java
3923 (UnsupportedLookAndFeelException): Must be public.
3924 * javax/swing/WindowConstants.java
3925 (EXIT_ON_CLOSE): New constant.
3926 * javax/swing/text/BadLocationException.java
3927 (offset): New member variable.
3928 (BadLocationException): New implementation, documentation added.
3929 (offsetRequested): New method.
3930 * javax/swing/text/Caret.java:
3931 Reformated.
3932 * javax/swing/text/Document.java:
3933 Reformated.
3934
3935 2003-03-21 Michael Koch <konqueror@gmx.de>
3936
3937 * java/rmi/activation/Activatable.java
3938 (serialVersionUID): New member variable.
3939 * java/rmi/activation/ActivationGroup.java
3940 (serialVersionUID): New member variable.
3941 * java/rmi/activation/ActivationGroupDesc.java
3942 (serialVersionUID): New member variable.
3943 * java/rmi/registry/Registry.java:
3944 Reformated.
3945 (Registry): Deprecated.
3946 * java/rmi/server/LoaderHandler.java
3947 Reformated.
3948 (LoaderHandler): Deprecated.
3949 * java/rmi/server/LogStream.java
3950 Reformated.
3951 (LogStream): Deprecated.
3952 * java/rmi/server/Operation.java
3953 (Operation): Deprecated.
3954 * java/rmi/server/RMIFailureHandler.java:
3955 Reformated.
3956 * java/rmi/server/RMISocketFactory.java:
3957 Reformated.
3958 * java/rmi/server/RemoteCall.java
3959 (RemoteCall): Deprecated.
3960 * java/rmi/server/RemoteStub.java:
3961 Reformated.
3962 * java/rmi/server/Skeleton.java
3963 Reformated.
3964 (Skeleton): Deprecated.
3965
3966 2003-03-21 Michael Koch <konqueror@gmx.de>
3967
3968 * java/io/LineNumberReader.java
3969 (LineNumberReader): Merged documentation with classpath.
3970 (getLineNumber): Likewise.
3971 (setLineNumber): Likewise.
3972 (mark): Likewise.
3973 (reset): Likewise.
3974 (read): Likewise.
3975 (readLine): Likewise.
3976 (skip): Likewise.
3977
3978 2003-03-21 Michael Koch <konqueror@gmx.de>
3979
3980 * java/rmi/RMISecurityManager.java
3981 (checkAccept): Removed.
3982 (checkAccess): Likewise.
3983 (checkAccess): Likewise.
3984 (checkAwtEventQueueAccess): Likewise.
3985 (checkConnect): Likewise.
3986 (checkCreateClassLoader): Likewise.
3987 (checkDelete): Likewise.
3988 (checkExec): Likewise.
3989 (checkExit): Likewise.
3990 (checkLink): Likewise.
3991 (checkListen): Likewise.
3992 (checkMemberAccess): Likewise.
3993 (checkMulticast): Likewise.
3994 (checkPackageAccess): Likewise.
3995 (checkPackageDefinition): Likewise.
3996 (checkPermission): Likewise.
3997 (checkPrintJobAccess): Likewise.
3998 (checkPropertiesAccess): Likewise.
3999 (checkPropertyAccess): Likewise.
4000 (checkRead): Likewise.
4001 (checkSecurityAccess): Likewise.
4002 (checkSetFactory): Likewise.
4003 (checkSystemClipboardAccess): Likewise.
4004 (checkTopLevelWindow): Likewise.
4005 (checkWrite): Likewise.
4006
4007 2003-03-20 Michael Koch <konqueror@gmx.de>
4008
4009 * gnu/java/nio/FileChannelImpl.java
4010 (address): Removed.
4011 (map_address): New member variable.
4012 (length): Make it package private.
4013 (fd): Make it package private.
4014 (buf): Make it package private.
4015 (file_obj): Make it package private.
4016 (FileChannelImpl): New constructor.
4017 (nio_mmap_file): Use RawData instead of long.
4018 (nio_munmap_file): Use RawData instead of long.
4019 (nio_msync): Use RawData instead of long.
4020 (implCloseChannel): New implementation using map_address.
4021 (read): Reformated.
4022 (map): Implemented.
4023 (create_direct_mapped_buffer): Implemented, use RawData, throws
4024 IOException.
4025 (force): Use map_address instead of address.
4026 * gnu/java/nio/MappedByteFileBuffer.java
4027 (address): Removed.
4028 (map_address): New member variable.
4029 (MappedByteFileBuffer): Use map_address instead of address, reformated.
4030 (several methods): Use map_address instead of address, replaced long
4031 with RawData where appropriate.
4032 * gnu/java/nio/natFileChannelImpl.cc
4033 (nio_mmap_file): Replaced long with RawData.
4034 (nio_munmap_file): Replaced long with RawData.
4035 (nio_msync): Replaced long with RawData.
4036 * gnu/java/nio/natMappedByteFileBuffer.cc
4037 (several methods): Replaced long with RawData where appropriate.
4038
4039 2003-03-20 Michael Koch <konqueror@gmx.de>
4040
4041 * java/net/InetAddress.java,
4042 java/net/JarURLConnection.java,
4043 java/net/PlainDatagramSocketImpl.java,
4044 java/net/PlainSocketImpl.java,
4045 java/net/URLConnection.java:
4046 Merged copyright statements with classpath for easier merging.
4047
4048 2003-03-20 Michael Koch <konqueror@gmx.de>
4049
4050 * java/io/FileInputStream.java
4051 (getChannel): New implementation.
4052 * java/io/FileOutputStream.java
4053 (ch): New member variable.
4054 (getChannel): Implemented.
4055 * java/io/RandomAccessFile.java
4056 (RandomAccessFile): Throws FileNotFoundException instead of
4057 IOException.
4058 (getChannel): New method.
4059 (ch): New member variable.
4060
4061 2003-03-20 Michael Koch <konqueror@gmx.de>
4062
4063 * java/io/DataOutputStream.java,
4064 java/io/File.java,
4065 java/io/FileInputStream.java,
4066 java/io/FileOutputStream.java,
4067 java/io/InputStreamReader.java,
4068 java/io/LineNumberReader.java,
4069 java/io/OutputStreamWriter.java,
4070 java/io/PrintStream.java,
4071 java/io/RandomAccessFile.java:
4072 Merged copyright statements with classpath for easier merging.
4073
4074 2003-03-19 Michael Koch <konqueror@gmx.de>
4075
4076 * java/lang/Process.java:
4077 Merged from classpath.
4078
4079 2003-03-19 Michael Koch <konqueror@gmx.de>
4080
4081 * java/io/FileOutputStream.java
4082 (FileOutputStream): New constructor, merged from classpath.
4083 * java/io/FileWriter.java
4084 (FileWriter): New constructor, merged from classpath.
4085
4086 2003-03-18 Michael Koch <konqueror@gmx.de>
4087
4088 * java/awt/ScrollPane.java
4089 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
4090 (getViewportSize): Likewise.
4091 (addNotify): Likewise.
4092 (removeNotify): Likewise.
4093 * java/awt/ScrollPaneAdjustable.java
4094 (ScrollPaneAdjustable): No longer extends Scrollbar.
4095 * java/beans/beancontext/BeanContextServices.java:
4096 Reformated.
4097 (getService): Added throws TooManyListenersException;
4098 * java/beans/beancontext/BeanContextServicesSupport.java:
4099 Reformated.
4100
4101 2003-03-18 Michael Koch <konqueror@gmx.de>
4102
4103 * java/io/BufferedOutputStream.java,
4104 java/io/DataInput.java,
4105 java/io/DataInputStream.java,
4106 java/io/DataOutput.java,
4107 java/io/Externalizable.java:
4108 More merges from classpath.
4109
4110 2003-03-18 Michael Koch <konqueror@gmx.de>
4111
4112 * configure.in: Fixed links to platform dependant java.net files.
4113 * configure: Regenerated.
4114 * java/net/natInetAddress.cc,
4115 java/net/natNetworkInterface.cc,
4116 java/net/natPlainDatagramSocketImpl.cc,
4117 java/net/natPlainSocketImpl.cc:
4118 Removed.
4119
4120 2003-03-18 Michael Koch <konqueror@gmx.de>
4121
4122 * configure.in: Create links to architecture dependent files,
4123 introduced PLATFORMNET variable (set to NoNet for newlib usage).
4124 * configure: Regenerated.
4125 * java/net/natInetAddressNoNet.cc,
4126 java/net/natInetAddressPosix.cc,
4127 java/net/natInetAddressWin32.cc,
4128 java/net/natNetworkInterfaceNoNet.cc,
4129 java/net/natNetworkInterfacePosix.cc,
4130 java/net/natNetworkInterfaceWin32.cc,
4131 java/net/natPlainDatagramSocketImplNoNet.cc,
4132 java/net/natPlainDatagramSocketImplPosix.cc,
4133 java/net/natPlainDatagramSocketImplWin32.cc,
4134 java/net/natPlainSocketImplNoNet.cc,
4135 java/net/natPlainSocketImplPosix.cc,
4136 java/net/natPlainSocketImplWin32.cc: New files.
4137
4138 2003-03-18 Michael Koch <konqueror@gmx.de>
4139
4140 * java/io/BufferedReader.java,
4141 java/io/BufferedWriter.java,
4142 java/io/ByteArrayOutputStream.java,
4143 java/io/FileFilter.java,
4144 java/io/FilePermission.java,
4145 java/io/FileReader.java,
4146 java/io/FileWriter.java,
4147 java/io/FilenameFilter.java,
4148 java/io/FilterInputStream.java,
4149 java/io/FilterOutputStream.java,
4150 java/io/FilterReader.java,
4151 java/io/FilterWriter.java,
4152 java/io/ObjectInput.java,
4153 java/io/ObjectInputValidation.java,
4154 java/io/ObjectOutput.java,
4155 java/io/ObjectStreamField.java,
4156 java/io/PipedInputStream.java,
4157 java/io/PipedReader.java,
4158 java/io/PrintWriter.java,
4159 java/io/PushbackReader.java,
4160 java/io/Reader.java,
4161 java/io/SerializablePermission.java,
4162 java/io/StringReader.java,
4163 java/io/Writer.java:
4164 Merged from classpath.
4165
4166 2003-03-17 Michael Koch <konqueror@gmx.de>
4167
4168 * java/awt/ScrollPaneAdjustable.java:
4169 Compile fixes.
4170
4171 2003-03-17 Michael Koch <konqueror@gmx.de>
4172
4173 * java/net/DatagramSocket.java
4174 (connect): Fixed comment.
4175 * java/nio/ByteBuffer.java
4176 (hasArray): Fixed comment.
4177
4178 2003-03-17 Michael Koch <konqueror@gmx.de>
4179
4180 * java/beans/Beans.java:
4181 Explicitely import classes not packages.
4182 * java/beans/FeatureDescriptor.java
4183 (preferred): New member variable.
4184 (isPreferred): New method.
4185 (setPreferred): New method.
4186 * java/beans/PropertyEditorManager.java:
4187 Explicitely import used classes.
4188 * java/beans/beancontext/BeanContextChild.java:
4189 Added line wrapping.
4190 * java/beans/beancontext/BeanContextChildSupport.java:
4191 Reindented.
4192 * java/beans/beancontext/BeanContextEvent.java:
4193 Reindented.
4194
4195 2003-03-17 Michael Koch <konqueror@gmx.de>
4196
4197 * java/awt/Dialog.java
4198 (Dialog): New constructor, changed implementations, added
4199 documentation.
4200 * java/awt/ScrollPaneAdjustable.java
4201 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4202 Serializable.
4203 (serialVersionUID): New member variable.
4204 (sp): New member variable.
4205 (orientation): New member variable.
4206 (value): New member variable.
4207 (minimum): New member variable.
4208 (maximum): New member variable.
4209 (visibleAmount): New member variable.
4210 (unitIncrement): New member variable.
4211 (blockIncrement): New member variable.
4212 (AdjustmentListener): New member variable.
4213 (ScrollPaneAdjustable): New implementation.
4214 (addAdjustmentListener): New method.
4215 (removeAdjustmentListener): New method.
4216 (getAdjustmentListeners): New method.
4217 (getBlockIncrement): New method.
4218 (getMaximum): New method.
4219 (getMinimum): New method.
4220 (getOrientation): New method.
4221 (getUnitIncrement): New method.
4222 (getValue): New method.
4223 (getVisibleAmount): New method.
4224 (setBlockIncrement): New method.
4225 (setMaximum): Implemented.
4226 (setMinimum): Implemented.
4227 (setUnitIncrement): New method.
4228 (setValue): New method.
4229 (setVisibleAmount): Implemented.
4230 (paramString): New stubbed method.
4231 * java/awt/Window.java
4232 (show): Call setVisible().
4233 (hide): Call setVisible().
4234 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4235 and WINDOW_STATE_CHANGED.
4236 (processWindowFocusEvent): New method.
4237 (processWindowStateEvent): New method.
4238 (postEvent): Deprecated.
4239 (applyResourceBundle): Deprecated.
4240 * java/awt/datatransfer/DataFlavor.java
4241 (DataFlavor): Doesn't thow ClassNotFoundException.
4242
4243 2003-03-17 Michael Koch
4244
4245 * javax/print/attribute/Attribute.java,
4246 javax/print/attribute/AttributeSet.java,
4247 javax/print/attribute/PrintRequestAttributeSet.java:
4248 New files.
4249 * Makefile.am
4250 (javax_source_files): Added new files:
4251 javax/print/attribute/Attribute.java
4252 javax/print/attribute/AttributeSet.java
4253 javax/print/attribute/PrintRequestAttributeSet.java
4254 * Makefile.in: Regenerated.
4255
4256 2003-03-17 Michael Koch
4257
4258 * javax/print/attribute/Attribute.java,
4259 javax/print/attribute/AttributeSet.java,
4260 javax/print/attribute/PrintRequestAttributeSet.java:
4261 New files.
4262 * Makefile.am
4263 (awt_java_source_files): Added new files:
4264 javax/print/attribute/Attribute.java
4265 javax/print/attribute/AttributeSet.java
4266 javax/print/attribute/PrintRequestAttributeSet.java
4267 * Makefile.in: Regenerated.
4268
4269 2003-03-16 Tom Tromey <tromey@redhat.com>
4270
4271 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4272 Include platform.h.
4273 * java/lang/natRuntime.cc (insertSystemProperties): Use
4274 _Jv_platform_path_separator.
4275 (nativeGetLibname): Use _Jv_platform_file_separator.
4276 (_load): Use _Jv_platform_onload_names.
4277 (onload_names): New global.
4278 * include/win32.h (_Jv_platform_file_separator): New define.
4279 (_Jv_platform_path_separator): Likewise.
4280 (_Jv_platform_onload_names): Likewise.
4281 (_Jv_platform_ffi_abi): Likewise.
4282 * include/posix.h (_Jv_platform_file_separator): New define.
4283 (_Jv_platform_path_separator): Likewise.
4284 (_Jv_platform_onload_names): Likewise.
4285 (_Jv_platform_ffi_abi): Likewise.
4286
4287 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
4288
4289 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4290
4291 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
4292
4293 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4294 hierarchy loop.
4295 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4296 list to Object,ObjectStreamClass, moved callReadMethod code up into
4297 readObject and added Class argument to all setXxxField calls.
4298 (callReadMethod): Changed Class argument to ObjectStreamClass to be
4299 consistent with ObjectOutputStream and to facilitate caching the
4300 Method in the future.
4301 (setBooleanField): Added Class argument.
4302 (setByteField): Likewise.
4303 (setCharField): Likewise.
4304 (setDoubleField): Likewise.
4305 (setFloatField): Likewise.
4306 (setIntField): Likewise.
4307 (setLongField): Likewise.
4308 (setShortField): Likewise.
4309 (setObjectField): Likewise.
4310 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4311 class hierarchy loop.
4312 (defaultWriteObject): Call writeFields with new argument list.
4313 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4314 list to Object,ObjectStreamClass, moved callWriteMethod up into
4315 writeObject and added Class argument to all getXxxField calls.
4316 (callWriteMethod): Added ObjectStreamClass argument to be able to
4317 get the proper class to call getMethod on (each class can have (or
4318 not have) its own writeObject method).
4319 (getBooleanField): Added Class argument.
4320 (getByteField): Likewise.
4321 (getCharField): Likewise.
4322 (getDoubleField): Likewise.
4323 (getFloatField): Likewise.
4324 (getIntField): Likewise.
4325 (getLongField): Likewise.
4326 (getShortField): Likewise.
4327 (getObjectField): Likewise.
4328 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4329 facilitate caching the Method object in the future.
4330
4331 2003-03-12 Andreas Schwab <schwab@suse.de>
4332
4333 * configure.in: Avoid trailing /. in toolexeclibdir.
4334 * configure: Rebuilt.
4335
4336 2003-03-11 Michael Koch <konqueror@gmx.de>
4337
4338 * gnu/java/nio/ByteBufferImpl.java
4339 (putInt): Use limit() instead of limit.
4340 * gnu/java/nio/CharBufferImpl.java
4341 (slice): Fixed implementation.
4342 (subSequence): Better bounds checking.
4343 * gnu/java/nio/MappedByteFileBuffer.java:
4344 Import all needed classes directly.
4345 * java/nio/ByteBuffer.java
4346 (hashCode): New dummy method.
4347 * java/nio/CharBuffer.java
4348 (array_offset): New member variable.
4349 (hasArray): Fixed documentation.
4350 (arrayOffset): Return array_offset.
4351
4352 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4353
4354 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4355 setter; made return value of getter const char* instead of char*
4356 * prims.cc: removed all references to _Jv_ThisExecutable().
4357 These are in the platform-specific sections now.
4358 * posix.cc: define platform-specific _Jv_ThisExecutable().
4359 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4360 * win32.cc: define platform-specific _Jv_ThisExecutable()
4361 using GetModuleFilename()
4362 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4363 to argv[0] instead of _Jv_ThisExecutable()
4364
4365 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4366
4367 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4368 that is set if we are using addr2name.awk instead of addr2line.
4369 (NameFinder): Set usingAddr2name if using addr2name.awk.
4370 (getExternalLabel): New native method to convert a method
4371 name to an external label.
4372 (lookup): Convert name given by addr2line to an external label
4373 before demangling.
4374
4375 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4376 constant representing the prefix attached to method names to
4377 convert them to an external label.
4378 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4379 using LABEL_PREFIX.
4380
4381 2003-03-10 Tom Tromey <tromey@redhat.com>
4382
4383 * Makefile.in: Rebuilt.
4384 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4385 (JC1FLAGS): Removed -Wno-deprecated.
4386
4387 2003-03-10 Michael Koch <konqueror@gmx.de>
4388
4389 * java/nio/ByteOrder.java
4390 (nativeOrder): Working implementation, added documentation.
4391 (toString): Added documentation.
4392
4393 2003-03-10 Michael Koch <konqueror@gmx.de>
4394
4395 * java/net/DatagramSocket.java,
4396 java/net/MulticastSocket.java,
4397 java/net/Socket.java,
4398 java/net/URL.java,
4399 java/net/URLConnection.java:
4400 Fixed some documentation tags to make javadoc and friends happy.
4401
4402 2003-03-10 Michael Koch <koqnueror@gmx.de>
4403
4404 * java/beans/beancontext/BeanContextServicesSupport.java,
4405 java/beans/beancontext/BeanContextSupport.java: New files.
4406 * Makefile.am
4407 (awt_source_files): Added new files.
4408 * Makefile.in: Regenerated.
4409
4410 2003-03-10 Michael Koch <konqueror@gmx.de>
4411
4412 * java/awt/FocusTraversalPolicy.java
4413 (FocusTraversalPolicy): Documentation added.
4414 (getComponentAfter): Documentation added.
4415 (getComponentBefore): Documentation added.
4416 (getFirstComponent): Documentation added.
4417 (getLastComponent): Documentation added.
4418 (getDefaultComponent): Documentation added.
4419 (getInitialComponent): Documentation added.
4420 * java/awt/ScrollPaneAdjustable.java
4421 (sp): New member variable.
4422 (orientation): New member variable.
4423 (value): New member variable.
4424 (minimum): New member variable.
4425 (maximum): New member variable.
4426 (visibleAmount): New member variable.
4427 (unitIncrement): New member variable.
4428 (blockIncrement): New member variable.
4429 (adjustmentListener): New member variable.
4430 (ScrollPaneAdjustable): Rewrote.
4431 (addAdjustmentListener): New method.
4432 (removeAdjustmentListener): New method.
4433 (getAdjustmentListeners): New method.
4434 (getBlockIncrement): New method.
4435 (getMaximum): New method.
4436 (getMinimum): New method.
4437 (getOrientation): New method.
4438 (getUnitIncrement): New method.
4439 (getValue): New method.
4440 (getVisibleAmount): New method.
4441 (setBlockIncrement): New method.
4442 (setUnitIncrement): New method.
4443 (setMaximum): Implemented.
4444 (setMinimum): Implemented.
4445 (setValue): New method.
4446 (setVisibleAmount): Implemented.
4447 (paramString): New method.
4448 * java/awt/Window.java
4449 (show): Use setVisible(true) instead of super.show().
4450 (hide): Use sevVisible(false) instead of super.hide().
4451 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4452 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4453 (postEvent): Deprecated.
4454 (applyResourceBundle): Deprecated.
4455 (processWindowFocusEvent): New method.
4456 (processWindowStateEvent): New method.
4457 * java/awt/datatransfer/DataFlavor.java: Reindented.
4458 * java/awt/font/TextHitInfo.java
4459 (charIndex): New member variable.
4460 (leadingEdge): New member variable.
4461 (TextHitInfo): New constructor.
4462 (getCharIndex): Implemented.
4463 (isLeadingEdge): Implemented.
4464 (getInsertionIndex): Implemented.
4465 (hashCode): Access charIndex directly.
4466 (equals): Reformated.
4467 (leading): Implemented.
4468 (trailing): Implemented.
4469 (beforeOffset): Implemented.
4470 (afterOffset): Implemented.
4471 (getOtherHit): Implemented.
4472 (getOffsetHit): Implemented.
4473 (toString): Implemented.
4474 * java/awt/image/BufferedImage.java
4475 (BufferedImage): Implements WritableRenderedImage.
4476 (observers): New member variable.
4477 (addTileObserver): New method.
4478 (removeTileObserver): New method.
4479
4480 2003-03-09 Tom Tromey <tromey@redhat.com>
4481
4482 PR libgcj/9934:
4483 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4484 to lseek. Return 0 if we can't compute the value.
4485
4486 2003-03-03 Michael Koch <konqueror@gmx.de>
4487
4488 * java/net/NetworkInterface.java: Merged with classpath.
4489
4490 2003-03-03 Tom Tromey <tromey@redhat.com>
4491
4492 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4493 of bytecode.
4494 (handle_ret_insn): Fail if returning to jsr that appears at end of
4495 bytecode.
4496
4497 2003-03-03 Michael Koch <konqueror@gmx.de>
4498
4499 * Makefile.am
4500 (ordinary_java_source_files):
4501 Added gnu/java/nio/MappedByteFileBuffer.java.
4502 (nat_source_files):
4503 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4504 * Makefile.in: Regenerated.
4505
4506 2003-03-03 Michael Koch <konqueror@gmx.de>
4507
4508 * java/net/DatagramSocket.java
4509 (connect): Merged comment from classpath.
4510 (receive): Merged documentation from classpath.
4511 * java/net/Socket.java
4512 (setSoTimeout): Clarified documentation.
4513 * java/net/URL.java
4514 (getPath): Merged from classpath.
4515 (getUserInfo): Merged from classpath.
4516 (getQuery): Merged from classpath.
4517 * java/net/URLStreamHandler.java
4518 (toExternalForm): Merged from classpath.
4519
4520 2003-03-02 Mark Wielaard <mark@klomp.org>
4521
4522 * java/util/Properties.java (load): Only skip line if the first
4523 character is a comment, whitespaces don't count.
4524
4525 2003-03-02 Michael Koch <konqueror@gmx.de>
4526
4527 * java/net/NetPermission.java:
4528 Merged copyright with classpath.
4529
4530 2003-03-02 Michael Koch <konqueror@gmx.de>
4531
4532 * java/lang/Package.java:
4533 Remerged from classpath.
4534
4535 2003-03-02 Michael Koch <konqueror@gmx.de>
4536
4537 * java/net/HttpURLConnection.java
4538 (HTTP_SERVER_ERROR): Deprecated.
4539 * java/net/MulticastSocket.java
4540 (send): Replaced checkMulticast with appropriate checkPermission call,
4541 deprecated.
4542 * java/net/URLDecoder.java
4543 (decode): Deprecated.
4544 * java/net/URLEncoder.java
4545 (encode): Deprecated.
4546
4547 2003-03-02 Michael Koch <konqueror@gmx.de>
4548
4549 * javax/swing/text/Caret.java
4550 (getMagicCaretPosition): Fixed typo in method name.
4551 * javax/swing/text/DefaultCaret.java
4552 (getMagicCaretPosition): Fixed typo in method name.
4553
4554 2003-03-02 Michael Koch <konqueror@gmx.de>
4555
4556 * java/awt/List.java
4557 (setMultipleSelections): Deprecated.
4558 (delItem): Deprecated.
4559 * java/awt/MenuComponent.java
4560 (getPeer): Deprecated.
4561 * java/awt/ScrollPane.java
4562 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4563 * java/awt/dnd/MouseDragGestureRecognizer.java
4564 (mouseClicked): Added comment.
4565 (mousePressed): Added comment.
4566 (mouseReleased): Added comment.
4567 (mouseEntered): Added comment.
4568 (mouseExited): Added comment.
4569 (mouseDragged): Added comment.
4570 (mouseMoved): Added comment.
4571 * java/awt/event/KeyEvent.java
4572 (KeyEvent): Deprecated.
4573 (setModifiers): Deprecated.
4574
4575 2003-03-02 Michael Koch <konqueror@gmx.de>
4576
4577 * gnu/java/nio/FileChannelImpl.java
4578 (fd): Type FileDescriptor instead of int.
4579 (lengthInternal): Removed.
4580 (FileChannelImpl): Fixed arguments, check type of file object.
4581 (size): Made it native.
4582 (implPosition): New native method.
4583 (implTruncate): New native method.
4584 (position): Implemented.
4585 (truncate): Implemented.
4586 (nio_mmap_file): Changed arguments.
4587 (nio_munmap_file): Changed arguments.
4588 (nio_msync): Changed arguments.
4589 * gnu/java/nio/natFileChannelImpl.cc
4590 (lengthInternal): Removed.
4591 (size): New method.
4592 (implPosition): New method.
4593 (implTruncate): New method.
4594 (nio_mmap_file): Changed arguments.
4595 (nio_munmap_file): Changed arguments.
4596 (nio_msync): Changed arguments.
4597
4598 2003-03-02 Michael Koch <konqueror@gmx.de>
4599
4600 * java/awt/dnd/DropTargetContext.java:
4601 Compile fix: Forgot to commit import.
4602
4603 2003-03-02 Michael Koch <konqueror@gmx.de>
4604
4605 * java/awt/Component.java,
4606 java/awt/ScrollPane.java:
4607 Fixed typos.
4608
4609 2003-03-02 Michael Koch <konqueror@gmx.de>
4610
4611 * java/awt/dnd/DnDEventMulticaster.java: New file.
4612 * java/awt/dnd/DragSource.java
4613 (flavorMap): New member variable.
4614 (dragSourceListener): New member variable.
4615 (dragSourceMotionListener): New member variable.
4616 (getFlavorMap): Implemented.
4617 (createDragGestureRecognizer): Implemented.
4618 (addDragSourceListener): Implemented.
4619 (removeDragSourceListener): Implemented.
4620 (getDragSourceListeners): Implemented.
4621 (addDragSourceMotionListener): Implemented.
4622 (removeDragSourceMotionListener): Implemented.
4623 (getDragSourceMotionListeners): Implemented.
4624 (getListeners): Implemented.
4625 * java/awt/dnd/DragSourceContext.java
4626 (peer): New member variable.
4627 (cursor): New member variable.
4628 (transferable): New member variable.
4629 (trigger): New member variable.
4630 (dragSourceListener): New member variable.
4631 (image): New member variable.
4632 (offset): New member variable.
4633 (DragSourceContext): Implemented.
4634 (getDragSource): Implemented.
4635 (getComponent): Implemented.
4636 (getTrigger): Implemented.
4637 (getSourceActions): Implemented.
4638 (setCursor): Implemented.
4639 (getCursor): Implemented.
4640 (addDragSourceListener): Implemented.
4641 (removeDragSourceListener): Implemented.
4642 (getTransferable): Implemented.
4643 * java/awt/dnd/DropTarget.java
4644 (DropTargetAutoScroller.component): New member variable.
4645 (DropTargetAutoScroller.point): New member variable.
4646 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4647 (DropTargetAutoScroller.updateLocation): Implemented.
4648 (active): Renamed from isActive, defaults to true now.
4649 (component): New member variable.
4650 (flavorMap): New member variable.
4651 (actions): New member variable.
4652 (dropTargetContext): New member variable.
4653 (dropTargetListener): New member variable.
4654 (DropTarget): Implemented.
4655 (getComponent): Implemented.
4656 (setComponent): Implemented.
4657 (setDefaultActions): Implemented.
4658 (getDefaultActions): Implemented.
4659 (setActive): Use active instead of isActive.
4660 (isActive): Use active instead of isActive.
4661 (addDropTargetListener): Implemented.
4662 (removeDropTargetListener): Implemented.
4663 (getFlavorMap): Implemented.
4664 (setFlavorMap): Implemented.
4665 (getDropTargetContext): Implemented.
4666 (createDropTargetContext): Implemented.
4667 (createDropTargetAutoScroller): Implemented.
4668 * java/awt/dnd/DropTargetContext.java
4669 (TransferableProxy.getTransferDataFlavors): Implemented.
4670 (TransferableProxy.isDataFlavorSupported): Implemented.
4671 (TransferableProxy.getTransferData): Implemented.
4672 (dropTarget): New member variable.
4673 (dtcp): New member variable.
4674 (DropTargetContext): New package private constructor.
4675 (getDropTarget): Implemented.
4676 (getComponent): Implemented.
4677 (addNotify): Implemented.
4678 (removeNotify): Implemented.
4679 (getCurrentDataFlavorsAsList): Implemented.
4680 (isDataFlavorSupported): Implemented.
4681 * java/awt/dnd/MouseDragGestureRecognizer.java
4682 (registerListeners): Implemented.
4683 (unregisterListeners): Implemented.
4684 * Makefile.am
4685 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4686 * Makefile.in: Regenerated.
4687
4688 2003-03-02 Michael Koch <konqueror@gmx.de>
4689
4690 * java/awt/Component.java
4691 (eventTypeEnabled): New method.
4692 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4693 * java/awt/Container.java
4694 (changeSupport): New member variable.
4695 (addPropertyChangeListener): New methods.
4696 * java/awt/ContainerOrderFocusTraversalPolicy.java
4697 (ContainerOrderFocusTraversalPolicy): Added comment.
4698 (getComponentAfter): Throw exception, documentation added.
4699 (getComponentBefore): Throw exception, documentation added.
4700 (getFirstComponent): Throw exception, documentation added.
4701 (getLastComponent): Throw exception, documentation added.
4702 (getDefaultComponent): Throw exception, documentation added.
4703 * java/awt/EventQueue.java: Reindented.
4704 * java/awt/FocusTraversalPolicy.java:
4705 (FocusTraversalPolicy): Added comment.
4706 (getComponentAfter): Documentation added.
4707 (getComponentBefore): Documentation added.
4708 (getFirstComponent): Documentation added.
4709 (getLastComponent): Documentation added.
4710 (getDefaultComponent): Documentation added.
4711 (getInitialComponent): Documentation added.
4712 * java/awt/ScrollPane.java
4713 (wheelScrollingEnabled): New member variable.
4714 (ScrollPane): Initialize wheelScollingEnabled.
4715 (eventTypeEnabled): New method.
4716 (isWheelScrollingEnabled): New method.
4717 (setWheelScrollingEnabled): New method.
4718
4719 2003-03-02 Michael Koch <konqueror@gmx.de>
4720
4721 * java/net/DatagramSocket.java
4722 (closed): New member variable.
4723 (close): Use closed variable.
4724 (getInetAddress): No need to call isConnected().
4725 (getPort): No need to call isConnected().
4726 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4727 (isClosed): Reimplemented.
4728
4729 2003-03-02 Michael Koch <konqueror@gmx.de>
4730
4731 * configure.in: Added check for memory mapping of files.
4732 * configure: Regenerated.
4733 * config.h.in: Regenerated.
4734
4735 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4736
4737 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4738 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4739
4740 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4741
4742 * java/io/File.java (normalizePath): Remove trailing separator
4743 on Windows only if path is not of the form "x:\".
4744
4745 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4746 (java::io::File::attr): Change formatting a bit and use
4747 WIN32_EPOCH_MILLIS instead of magic numbers.
4748 (java::io::File::isAbsolute): Path must have at least 3
4749 characters for a UNC network path.
4750 (java::io::File::init_native): Define.
4751 (java::io::File::performCreate): Likewise.
4752 (java::io::File::performSetReadOnly): Likewise.
4753 (java::io::File::performSetLastModified): Likewise.
4754 (java::io::File::performListRoots): Likewise.
4755
4756 2003-03-01 Tom Tromey <tromey@redhat.com>
4757
4758 * java/lang/natObject.cc: Don't include assert.h.
4759 (heavy_lock_obj_finalization_proc): Use JvAssert.
4760 (remove_all_heavy): Likewise.
4761 (_Jv_MonitorEnter): Likewise.
4762 (_Jv_MonitorExit): Likewise.
4763 (wait): Likewise.
4764
4765 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4766
4767 * java/io/File (getAbsolutePath): Prefix drive specifier on
4768 Windows for paths starting with a '\'.
4769 (toURL): Make URL more consistent with what Sun's JDK returns.
4770
4771 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4772 true only if the path is a UNC network path or it starts with a
4773 drive specifier.
4774
4775 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4776 Be prepared to handle either '/' or '\\' in the file path for
4777 Windows if using the "file" protocol.
4778 Canonicalise the file path if using a relative path in the given
4779 context and the "file" protocol.
4780
4781 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4782
4783 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4784 program array element passed to CreateProcess.
4785
4786 2003-03-01 Tom Tromey <tromey@redhat.com>
4787
4788 * java/rmi/registry/RegistryHandler.java: Deprecate.
4789
4790 2003-03-01 Tom Tromey <tromey@redhat.com>
4791
4792 * javax/accessibility/AccessibleEditableText.java,
4793 javax/accessibility/AccessibleHyperlink.java: New versions from
4794 Classpath.
4795
4796 * gnu/java/locale/LocaleInformation_af_ZA.java,
4797 gnu/java/locale/LocaleInformation_ar_AE.java,
4798 gnu/java/locale/LocaleInformation_ar_BH.java,
4799 gnu/java/locale/LocaleInformation_ar_DZ.java,
4800 gnu/java/locale/LocaleInformation_ar_EG.java,
4801 gnu/java/locale/LocaleInformation_ar_IN.java,
4802 gnu/java/locale/LocaleInformation_ar_IQ.java,
4803 gnu/java/locale/LocaleInformation_ar_JO.java,
4804 gnu/java/locale/LocaleInformation_ar_KW.java,
4805 gnu/java/locale/LocaleInformation_ar_LB.java,
4806 gnu/java/locale/LocaleInformation_ar_LY.java,
4807 gnu/java/locale/LocaleInformation_ar_MA.java,
4808 gnu/java/locale/LocaleInformation_ar_OM.java,
4809 gnu/java/locale/LocaleInformation_ar_QA.java,
4810 gnu/java/locale/LocaleInformation_ar_SD.java,
4811 gnu/java/locale/LocaleInformation_ar_SY.java,
4812 gnu/java/locale/LocaleInformation_ar_TN.java,
4813 gnu/java/locale/LocaleInformation_ar_YE.java,
4814 gnu/java/locale/LocaleInformation_be_BY.java,
4815 gnu/java/locale/LocaleInformation_bn_IN.java,
4816 gnu/java/locale/LocaleInformation_br_FR.java,
4817 gnu/java/locale/LocaleInformation_bs_BA.java,
4818 gnu/java/locale/LocaleInformation_ca_ES.java,
4819 gnu/java/locale/LocaleInformation_cs_CZ.java,
4820 gnu/java/locale/LocaleInformation_cy_GB.java,
4821 gnu/java/locale/LocaleInformation_da_DK.java,
4822 gnu/java/locale/LocaleInformation_de_AT.java,
4823 gnu/java/locale/LocaleInformation_de_BE.java,
4824 gnu/java/locale/LocaleInformation_de_CH.java,
4825 gnu/java/locale/LocaleInformation_de_DE.java,
4826 gnu/java/locale/LocaleInformation_de_LU.java,
4827 gnu/java/locale/LocaleInformation_el_GR.java,
4828 gnu/java/locale/LocaleInformation_en_AU.java,
4829 gnu/java/locale/LocaleInformation_en_BW.java,
4830 gnu/java/locale/LocaleInformation_en_CA.java,
4831 gnu/java/locale/LocaleInformation_en_DK.java,
4832 gnu/java/locale/LocaleInformation_en_GB.java,
4833 gnu/java/locale/LocaleInformation_en_HK.java,
4834 gnu/java/locale/LocaleInformation_en_IE.java,
4835 gnu/java/locale/LocaleInformation_en_IN.java,
4836 gnu/java/locale/LocaleInformation_en_NZ.java,
4837 gnu/java/locale/LocaleInformation_en_PH.java,
4838 gnu/java/locale/LocaleInformation_en_SG.java,
4839 gnu/java/locale/LocaleInformation_en_US.java,
4840 gnu/java/locale/LocaleInformation_en_ZA.java,
4841 gnu/java/locale/LocaleInformation_en_ZW.java,
4842 gnu/java/locale/LocaleInformation_es_AR.java,
4843 gnu/java/locale/LocaleInformation_es_BO.java,
4844 gnu/java/locale/LocaleInformation_es_CL.java,
4845 gnu/java/locale/LocaleInformation_es_CO.java,
4846 gnu/java/locale/LocaleInformation_es_CR.java,
4847 gnu/java/locale/LocaleInformation_es_DO.java,
4848 gnu/java/locale/LocaleInformation_es_EC.java,
4849 gnu/java/locale/LocaleInformation_es_ES.java,
4850 gnu/java/locale/LocaleInformation_es_GT.java,
4851 gnu/java/locale/LocaleInformation_es_HN.java,
4852 gnu/java/locale/LocaleInformation_es_MX.java,
4853 gnu/java/locale/LocaleInformation_es_NI.java,
4854 gnu/java/locale/LocaleInformation_es_PA.java,
4855 gnu/java/locale/LocaleInformation_es_PE.java,
4856 gnu/java/locale/LocaleInformation_es_PR.java,
4857 gnu/java/locale/LocaleInformation_es_PY.java,
4858 gnu/java/locale/LocaleInformation_es_SV.java,
4859 gnu/java/locale/LocaleInformation_es_US.java,
4860 gnu/java/locale/LocaleInformation_es_UY.java,
4861 gnu/java/locale/LocaleInformation_es_VE.java,
4862 gnu/java/locale/LocaleInformation_et_EE.java,
4863 gnu/java/locale/LocaleInformation_eu_ES.java,
4864 gnu/java/locale/LocaleInformation_fa_IR.java,
4865 gnu/java/locale/LocaleInformation_fi_FI.java,
4866 gnu/java/locale/LocaleInformation_fo_FO.java,
4867 gnu/java/locale/LocaleInformation_fr_BE.java,
4868 gnu/java/locale/LocaleInformation_fr_CA.java,
4869 gnu/java/locale/LocaleInformation_fr_CH.java,
4870 gnu/java/locale/LocaleInformation_fr_FR.java,
4871 gnu/java/locale/LocaleInformation_fr_LU.java,
4872 gnu/java/locale/LocaleInformation_ga_IE.java,
4873 gnu/java/locale/LocaleInformation_gd_GB.java,
4874 gnu/java/locale/LocaleInformation_gl_ES.java,
4875 gnu/java/locale/LocaleInformation_gv_GB.java,
4876 gnu/java/locale/LocaleInformation_he_IL.java,
4877 gnu/java/locale/LocaleInformation_hi_IN.java,
4878 gnu/java/locale/LocaleInformation_hr_HR.java,
4879 gnu/java/locale/LocaleInformation_hu_HU.java,
4880 gnu/java/locale/LocaleInformation_id_ID.java,
4881 gnu/java/locale/LocaleInformation_it_CH.java,
4882 gnu/java/locale/LocaleInformation_it_IT.java,
4883 gnu/java/locale/LocaleInformation_iw_IL.java,
4884 gnu/java/locale/LocaleInformation_ja_JP.java,
4885 gnu/java/locale/LocaleInformation_ka_GE.java,
4886 gnu/java/locale/LocaleInformation_kl_GL.java,
4887 gnu/java/locale/LocaleInformation_ko_KR.java,
4888 gnu/java/locale/LocaleInformation_kw_GB.java,
4889 gnu/java/locale/LocaleInformation_lt_LT.java,
4890 gnu/java/locale/LocaleInformation_lv_LV.java,
4891 gnu/java/locale/LocaleInformation_mi_NZ.java,
4892 gnu/java/locale/LocaleInformation_mk_MK.java,
4893 gnu/java/locale/LocaleInformation_mr_IN.java,
4894 gnu/java/locale/LocaleInformation_mt_MT.java,
4895 gnu/java/locale/LocaleInformation_nl_BE.java,
4896 gnu/java/locale/LocaleInformation_nl_NL.java,
4897 gnu/java/locale/LocaleInformation_nn_NO.java,
4898 gnu/java/locale/LocaleInformation_no_NO.java,
4899 gnu/java/locale/LocaleInformation_oc_FR.java,
4900 gnu/java/locale/LocaleInformation_pl_PL.java,
4901 gnu/java/locale/LocaleInformation_pt_BR.java,
4902 gnu/java/locale/LocaleInformation_pt_PT.java,
4903 gnu/java/locale/LocaleInformation_ro_RO.java,
4904 gnu/java/locale/LocaleInformation_ru_RU.java,
4905 gnu/java/locale/LocaleInformation_ru_UA.java,
4906 gnu/java/locale/LocaleInformation_se_NO.java,
4907 gnu/java/locale/LocaleInformation_sk_SK.java,
4908 gnu/java/locale/LocaleInformation_sl_SI.java,
4909 gnu/java/locale/LocaleInformation_sq_AL.java,
4910 gnu/java/locale/LocaleInformation_sr_YU.java,
4911 gnu/java/locale/LocaleInformation_sv_FI.java,
4912 gnu/java/locale/LocaleInformation_sv_SE.java,
4913 gnu/java/locale/LocaleInformation_ta_IN.java,
4914 gnu/java/locale/LocaleInformation_te_IN.java,
4915 gnu/java/locale/LocaleInformation_tg_TJ.java,
4916 gnu/java/locale/LocaleInformation_tl_PH.java,
4917 gnu/java/locale/LocaleInformation_tr_TR.java,
4918 gnu/java/locale/LocaleInformation_uk_UA.java,
4919 gnu/java/locale/LocaleInformation_ur_PK.java,
4920 gnu/java/locale/LocaleInformation_uz_UZ.java,
4921 gnu/java/locale/LocaleInformation_vi_VN.java,
4922 gnu/java/locale/LocaleInformation_yi_US.java,
4923 gnu/java/locale/LocaleInformation_zh_CN.java,
4924 gnu/java/locale/LocaleInformation_zh_HK.java,
4925 gnu/java/locale/LocaleInformation_zh_SG.java,
4926 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4927 info; from Classpath.
4928
4929 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4930 isPaintPending): New methods.
4931 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4932 setMaximizedBounds): New methods.
4933 (beginLayout, endLayout, isPaintPending): Likewise.
4934 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4935 (requestFocus): Likewise.
4936 (isObscured): Likewise.
4937 (canDetermineObscurity): Likewise.
4938 (coalescePaintEvent): Likewise.
4939 (updateCursorImmediately): Likewise.
4940 (createVolatileImage): Likewise.
4941 (handlesWheelScrolling): Likewise.
4942 (createBuffers): Likewise.
4943 (getBackBuffer): Likewise.
4944 (flip): Likewise.
4945 (destroyBuffers): Likewise.
4946
4947 * Makefile.in: Rebuilt.
4948 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4949 RobotPeer.java.
4950 * gnu/java/awt/GLightweightPeer.java,
4951 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4952 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4953 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4954 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4955 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4956 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4957 java/awt/dnd/peer/DragSourceContextPeer.java,
4958 java/awt/dnd/peer/DropTargetContextPeer.java,
4959 java/awt/peer/ButtonPeer.java,
4960 java/awt/peer/CheckboxMenuItemPeer.java,
4961 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4962 java/awt/peer/ComponentPeer.java,
4963 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4964 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4965 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4966 java/awt/peer/MenuBarPeer.java,
4967 java/awt/peer/MenuComponentPeer.java,
4968 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4969 java/awt/peer/PopupMenuPeer.java,
4970 java/awt/peer/ScrollPanePeer.java,
4971 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4972 java/awt/peer/TextComponentPeer.java,
4973 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4974 New versions from Classpath.
4975 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4976 * java/awt/peer/RobotPeer.java: Likewise.
4977
4978 2003-03-01 Mark Wielaard <mark@klomp.org>
4979
4980 * java/io/ObjectInputStream.java: Reindent.
4981 * java/io/ObjectOutputStream.java: Likewise.
4982
4983 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4984
4985 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4986 jvalue for each argument. Simplify.
4987 * testsuite/libjava.jni/calls.c (docall),
4988 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4989 misalignment.
4990
4991 2003-02-28 Mark Wielaard <mark@klomp.org>
4992
4993 * Makefile.am (nat_source_files): Remove
4994 java/io/natObjectOutputStream.cc.
4995 * Makefile.in: Regenerated.
4996 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4997 * java/io/ObjectStreamField.java (typename): New field.
4998 (ObjectStreamField(String, Class)): Initialize new field.
4999 (ObjectStreamField(String, String)): New Constructor.
5000 (getTypeCode): Use new field.
5001 (getTypeString): Use new field.
5002 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
5003 ObjectStreamExceptions. Remember and reset old BlockDataMode.
5004 Handle reading of Proxy classes. Never drain(), just write
5005 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
5006 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
5007 (flush): Call flush(), not just drain().
5008 (writeBoolean): Always use blockDataOutput.
5009 (writeByte): Likewise.
5010 (writeShort): Likewise.
5011 (writeChar): Likewise.
5012 (writeInt): Likewise.
5013 (writeLong): Likewise.
5014 (writeFloat): Likewise.
5015 (writeDouble): Likewise.
5016 (writeBytes): Likewise.
5017 (putfield (put(String,Object))): Throw IllegalArgumentException if
5018 field cannot be found.
5019 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
5020 (writeArraySizeAndElements): Write byte[] in one go.
5021 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
5022 set BlockDataMode to false.
5023 (annotateProxyClass): New method.
5024 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
5025 (getField): No longer native.
5026 (getMethod): Likewise.
5027 (setBlockDataMode): Always drain() on switch, return old mode.
5028 (static): New static code block.
5029 * java/io/natObjectOutputStream.cc: Removed.
5030 * java/io/ObjectInputStream.java (getField): No longer native.
5031 (getMethod): Likewise.
5032 (readObject): Remember and reset old BlockDataMode. Track whether
5033 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
5034 TC_LONGSTRING.
5035 (defaultReadObject): Set BlockDataMode to false during readFields.
5036 (resolveClass): Create new SecurityManager if necessary.
5037 Use Class.forName() if null ClassLoader found.
5038 (read(byte[],int,int): Copy remaining bytes to data before calling
5039 readNextBlock().
5040 (readFields): Set and reset BlockDataMode on call_read_method.
5041 Catch NoSuchFieldErrors.
5042 (setBlockDataMode): Return old mode.
5043 (static): New static code block.
5044 * java/io/natObjectInputStream.cc (getField): Removed.
5045 (getMethod): Likewise.
5046
5047 2003-02-27 Michael Koch <konqueror@gmx.de>
5048
5049 * java/beans/Beans.java,
5050 java/beans/FeatureDescriptor.java
5051 java/beans/PropertyEditorManager.java:
5052 Reformated to GNU style.
5053
5054 2003-02-25 Michael Koch <konqueror@gmx.de>
5055
5056 * gnu/java/nio/MappedByteFileBuffer.java,
5057 gnu/java/nio/natMappedByteFileBuffer.cc:
5058 New files, both are not compiled yet to get not noncompiling CVS.
5059
5060 2003-02-24 Tom Tromey <tromey@redhat.com>
5061
5062 * java/util/prefs/AbstractPreferences.java (isUserNode):
5063 Implemented.
5064
5065 2003-02-24 Tom Tromey <tromey@redhat.com>
5066
5067 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
5068 Deprecate.
5069 * java/lang/Thread.java (resume): Deprecate.
5070 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
5071 in @deprecated.
5072
5073 2003-02-23 Tom Tromey <tromey@redhat.com>
5074
5075 * Makefile.in: Rebuilt.
5076 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
5077
5078 2003-02-23 Tom Tromey <tromey@redhat.com>
5079
5080 * java/lang/natRuntime.cc (libraries_size, libraries_count,
5081 libraries): Removed.
5082 (add_library): Removed.
5083 (_load): Don't call add_library.
5084 (loadLibraryInternal): Likewise.
5085 (init): Likewise.
5086 (lookup_data): New struct.
5087 (find_symbol): New function.
5088 (_Jv_FindSymbolInExecutable): Use it.
5089
5090 2002-02-21 Anthony Green <green@redhat.com>
5091
5092 * java/lang/Thread.java (Thread): New constructor taking stack
5093 size parameter (ignored for now).
5094 * Many methods: Merged GNU Classpath documentation.
5095
5096 * java/lang/Class.java (finalize): throws a Throwable.
5097
5098 2003-02-21 Mark Wielaard <mark@klomp.org>
5099
5100 * java/util/zip/ZipEntry.java (setComment): Don't check length when
5101 argument is null.
5102
5103 2003-02-21 Mark Wielaard <mark@klomp.org>
5104
5105 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
5106 then 65535 chars throw IllegalArgumentException.
5107
5108 2003-02-21 Mark Wielaard <mark@klomp.org>
5109
5110 * java/util/zip/ZipFile.java (finalize): New method.
5111
5112 2003-02-21 Michael Koch <konqueror@gmx.de>
5113
5114 * gnu/java/nio/natSocketChannelImpl.cc:
5115 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
5116 <cato@df.lth.se> for pointing to it.
5117
5118 2003-02-20 Raif S. Naffah <raif@fl.net.au>
5119
5120 * java/math/BigInteger.java (euclidInv): Take result array as an
5121 argument. Updated all callers.
5122 (modInverse): Removed unused variables.
5123
5124 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5125
5126 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5127 config.status.
5128 * configure: Rebuilt.
5129
5130 2003-02-19 Michael Koch <konqueror@gmx.de>
5131
5132 * gnu/java/nio/natSocketChannelImpl.cc:
5133 Added support for platforms without network support.
5134
5135 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5136
5137 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
5138 after config.h. Use <> for consistency.
5139 * java/lang/natObject.cc: Likewise.
5140 * java/lang/natRuntime.cc: Likewise.
5141 * java/lang/natSystem.cc: Likewise.
5142 * java/util/natTimeZone.cc: Likewise.
5143 * win32.cc: Likewise.
5144 * include/posix.h (fcntl, socket, connect, close, bind, accept,
5145 listen, write, read): Undef to avoid interference from OS macros.
5146
5147 2003-02-19 Michael Koch <konqueror@gmx.de>
5148
5149 * gnu/java/nio/ByteBufferImpl.java
5150 (ByteBufferImpl): Renamed two variables.
5151 * gnu/java/nio/CharBufferImpl.java
5152 (CharBufferImpl): Renamed two variables.
5153 * gnu/java/nio/DoubleBufferImpl.java
5154 (DoubleBufferImpl): Renamed two variables.
5155 * gnu/java/nio/FloatBufferImpl.java
5156 (FloatBufferImpl): Renamed two variables.
5157 * gnu/java/nio/IntBufferImpl.java
5158 (IntBufferImpl): Renamed two variables.
5159 * gnu/java/nio/LongBufferImpl.java
5160 (LongBufferImpl): Renamed two variables.
5161 * gnu/java/nio/ShortBufferImpl.java
5162 (ShortBufferImpl): Renamed two variables.
5163 * java/nio/CharBuffer.java
5164 (wrap): Fixed arguments to CharBufferImpl constructor.
5165 (hasArray): Only not read-only buffers have backing arrays.
5166 (length): Documentation added.
5167 (subSequence): Documentation added.
5168 * java/nio/DoubleBuffer.java
5169 (hasArray): Only not read-only buffers have backing arrays.
5170 * java/nio/FloatBuffer.java
5171 (hasArray): Only not read-only buffers have backing arrays.
5172 * java/nio/IntBuffer.java
5173 (hasArray): Only not read-only buffers have backing arrays.
5174 * java/nio/LongBuffer.java
5175 (hasArray): Only not read-only buffers have backing arrays.
5176 * java/nio/ShortBuffer.java
5177 (hasArray): Only not read-only buffers have backing arrays.
5178
5179 2003-02-19 Michael Koch <konqueror@gmx.de>
5180
5181 * javax/accessibility/AccessibleContext.java
5182 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5183
5184 2003-02-19 Michael Koch <konqueror@gmx.de>
5185
5186 * java/awt/ScrollPaneAdjustable.java: Reformated.
5187
5188 2003-02-19 Michael Koch <konqueror@gmx.de>
5189
5190 * gnu/awt/j2d/Graphics2DImpl.java
5191 (getFontRenderContext): New method.
5192 (drawGlyphVector): New method.
5193 * java/awt/Graphics2D.java
5194 (getFontRenderContext): New abstract method.
5195 (drawGlyphVector): New abstract method.
5196
5197 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
5198
5199 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5200 if necessary.
5201
5202 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5203 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5204 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5205 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5206 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5207 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5208 (setFont, gtkSetFont): add.
5209 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5210 Propagate font to peer. (setFont): add FIXME comment.
5211
5212 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5213 (gtkTextGetSize): fix height, width computation.
5214
5215 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5216 Make X font name a bit less bogus.
5217
5218 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5219 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5220
5221 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5222 (processAdjustmentEvent): Adjust value.
5223
5224 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5225 logic errors.
5226
5227 * java/awt/Component.java (setVisible, show, hide): Call show and
5228 hide methods in subclasses.
5229 (getPreferredSize): don't set prefSize before we have peer.
5230
5231 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5232 Guess (0,0) if we don't have peer.
5233
5234
5235 2003-02-18 Michael Koch <konqueror@gmx.de>
5236
5237 * java/nio/channels/FileChannel.java
5238 (toString): New implementation, added documentation.
5239 (map): Added exception documentation.
5240 (size): Added exception documentation.
5241 (write): New methods, documentation work.
5242 (read): New methods, documentation work.
5243 (implCloseChannel): Rewrote exception documentation.
5244 (force): Throws IOException, added documentation.
5245 (lock): New methods.
5246 (tryLock): New methods.
5247 (position): New methods.
5248 (transferTo): New method.
5249 (transferFrom): New method.
5250 (truncate): New method.
5251 * java/nio/channels/spi/SelectorProvider.java
5252 (provider): Implemented.
5253 * Makefile.am
5254 (ordinary_java_source_files): Added the following files:
5255 gnu/java/nio/DatagramChannelImpl.java
5256 gnu/java/nio/FileChannelImpl.java
5257 gnu/java/nio/PipeImpl.java
5258 gnu/java/nio/SelectionKeyImpl.java
5259 gnu/java/nio/SelectorImpl.java
5260 gnu/java/nio/SelectorProviderImpl.java
5261 gnu/java/nio/ServerSocketChannelImpl.java
5262 gnu/java/nio/SocketChannelImpl.java
5263 java/nio/channels/FileLock.java
5264 (nat_java_source_files): Added the following files:
5265 gnu/java/nio/natFileChannelImpl.cc
5266 gnu/java/nio/natSelectorImpl.cc
5267 gnu/java/nio/natSocketChannelImpl.cc
5268 * Makefile.in: Regenerated.
5269
5270 2003-02-17 Tom Tromey <tromey@redhat.com>
5271
5272 * java/awt/image/ColorModel.java: Re-merged with Classpath.
5273 * java/awt/image/ImageFilter.java: Likewise.
5274
5275 2003-02-17 Raif S. Naffah <raif@fl.net.au>
5276
5277 * java/math/BigInteger.java (euclidInv): Return array of
5278 `BigInteger's. Changed all callers.
5279
5280 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
5281
5282 * java/util/Properties.java (store): Move the code formerly in
5283 list(), into this method.
5284 (list (PrintStream)): Just call list (PrintWriter) with a
5285 PrintWriter object constructed from the given PrintStream object.
5286 (list (PrintWriter)): Emulate the output of Properties.list()
5287 as found in JDK 1.3/1.4.
5288
5289 2003-02-17 Michael Koch <konqueror@gmx.de>
5290
5291 * java/net/DatagramSocket.java
5292 (connect): Merged with classpath.
5293 (disconnect): Merged documentation with classpath.
5294 (receice): Merged documentation with classpath.
5295 (send): Merged documentation with classpath.
5296
5297 2003-02-17 Michael Koch <konqueror@gmx.de>
5298
5299 * java/awt/dnd/DragSourceContext.java
5300 (addDragSourceListener): Added documentation.
5301 * java/awt/dnd/DragSourceDragEvent.java
5302 (serialVersionUID): New member variable.
5303 (getDropAction): Reformated.
5304 * java/awt/dnd/DragSourceDropEvent.java
5305 (serialVersionUID): New member variable.
5306 (dropSuccess): Renamed from success for serialization issues.
5307 * java/awt/dnd/DragSourceEvent.java
5308 (serialVersionUID): New member variable.
5309 * java/awt/dnd/DropTarget.java
5310 (serialVersionUID): New member variable.
5311 (DropTarget): Implemented, documentation reworked.
5312 (setComponent): Documentation added.
5313 (getComponent): Documentation added.
5314 (setDefaultActions): Documentation added.
5315 (getDefaultActions): Documentation added.
5316 (addDropTargetListener): Documentation added.
5317 * java/awt/dnd/DropTargetContext.java
5318 (DropTargetContext): Documentation added.
5319 (TransferableProxy.TransferableProxy): New method.
5320 (dropComplete): Fixed documentation.
5321 (getTransferable): Fixed documentation.
5322 (createTransferableProxy): Implemented.
5323 * java/awt/dnd/DropTargetDragEvent.java
5324 (DropTargetDragEvent): Documentation added.
5325 (serialVersionUID): New member variable.
5326 (DropTargetDragEvent): Throw exceptions, documentation added.
5327 (acceptDrag): Implemented.
5328 (getCurrentDataFlavors): Implemented.3yy
5329 (getCurrentDataFlavorsAsList): Implemented.
5330 (isDataFlavorSupported): Implemented.
5331 (rejectDrag): Implemented.
5332 * java/awt/dnd/DropTargetDropEvent.java
5333 (DropTargetDropEvent): Documentation added.
5334 (serialVersionUID): New member variable.
5335 (actions): Renamed from srcActions for serialization issues.
5336 (isLocalTx): Renamed from isLocalTx for serialization issues.
5337 (DropTargetDropEvent): New implementation, throw exceptions,
5338 documentation added.
5339 (getCurrentDataFlavors): Implemented.
5340 (getCurrentDataFlavorsAsList): Implemented.
5341 (isDataFlavorSupported): Implemented.
5342 (getSourceActions): Implemented.
5343 (getDropAction): Implemented.
5344 (getTransferable): Implemented.
5345 (acceptDrop): Implemented.
5346 (rejectDrop): Implemented.
5347 * java/awt/dnd/DropTargetListener.java
5348 (drop): Fixed documentation.
5349 * java/awt/dnd/MouseDragGestureRecognizer.java
5350 (MouseDragGestureRecognizer): Documentation added.
5351
5352 2003-02-17 Michael Koch <konqueror@gmx.de>
5353
5354 * java/awt/font/FontRenderContext.java,
5355 java/awt/font/ShapeGraphicAttribute.java,
5356 java/awt/font/MultipleMaster.java,
5357 java/awt/font/TransformAttribute.java,
5358 java/awt/font/GlyphJustificationInfo.java,
5359 java/awt/font/LineBreakMeasurer.java,
5360 java/awt/font/TextMeasurer.java,
5361 java/awt/font/TextLayout.java,
5362 java/awt/font/LineMetrics.java,
5363 java/awt/font/TextAttribute.java,
5364 java/awt/font/GlyphMetrics.java,
5365 java/awt/font/OpenType.java,
5366 java/awt/font/GlyphVector.java,
5367 java/awt/font/GraphicAttribute.java,
5368 java/awt/font/ImageGraphicAttribute.java,
5369 java/awt/font/NumericShaper.java: New files.
5370 * Makefile.am
5371 (awt_java_source_files): Added the following files:
5372 java/awt/font/FontRenderContext.java
5373 java/awt/font/ShapeGraphicAttribute.java
5374 java/awt/font/MultipleMaster.java
5375 java/awt/font/TransformAttribute.java
5376 java/awt/font/GlyphJustificationInfo.java
5377 java/awt/font/LineBreakMeasurer.java
5378 java/awt/font/TextMeasurer.java
5379 java/awt/font/TextLayout.java
5380 java/awt/font/LineMetrics.java
5381 java/awt/font/TextAttribute.java
5382 java/awt/font/GlyphMetrics.java
5383 java/awt/font/OpenType.java
5384 java/awt/font/GlyphVector.java
5385 java/awt/font/GraphicAttribute.java
5386 java/awt/font/ImageGraphicAttribute.java
5387 java/awt/font/NumericShaper.java
5388 * Makefile.in: Regenerated.
5389
5390 2003-02-17 Michael Koch <konqueror@gmx.de>
5391
5392 * java/awt/print/Paper.java
5393 (Paper): Implements Cloneable.
5394 * java/awt/print/PrinterJob.java
5395 (setJobName): Return value must be void.
5396 (print): Throws PrinterException.
5397
5398 2003-02-16 Tom Tromey <tromey@redhat.com>
5399
5400 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5401 variable.
5402
5403 2003-02-15 Michael Koch <konqueror@gmx.de>
5404
5405 * java/awt/datatransfer/DataFlavor.java
5406 (isRepresentationClassByteBuffer): Removed try-catch block.
5407 (isRepresentationClassCharBuffer): Removed try-catch block.
5408 (isRepresentationClassReader): Removed try-catch block.
5409
5410 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5411
5412 * java/nio/charset/Charset.java
5413 (isRegistered): Fixed method args and implementation.
5414 * java/nio/charset/CharsetEncoder.java
5415 (unmappableCharacterAction): New method.
5416
5417 2003-02-15 Michael Koch <konqueror@gmx.de>
5418
5419 * java/awt/CheckboxMenuItem.java
5420 (CheckBoxMenuItem): Dont implement Serializable.
5421 (getListeners): New method,
5422 (getItemListeners): New method.
5423 * java/awt/Choice.java
5424 (getListeners): New method,
5425 (getItemListeners): New method.
5426 * java/awt/Container.java
5427 (getListeners): Added exception documentation.
5428 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5429 (getFocusTraversalKeys): Added documentation.
5430 (areFocusTraversalKeysSet): Added documentation.
5431 (applyComponentOrientation): Added documentation.
5432 * java/awt/ContainerOrderFocusTraversalPolicy.java
5433 (implicitDownCycleTraversal): Renamed from downCycle for
5434 serialization.
5435 (ContainerOrderFocusTraversalPolicy): Added documentation.
5436 (accept): Reformated.
5437 * java/awt/Dialog.java
5438 (Dialog): Dont implement Serializable.
5439 (Dialog): Added documentation.
5440 * java/awt/Font.java
5441 (Font): Dont use absolute class name.
5442 * java/awt/Frame.java
5443 (Frame): Font implement Serializable.
5444 * java/awt/List.java
5445 (getListeners): New method,
5446 (getActionListeners): New method.
5447 (getItemListeners): New method.
5448 * java/awt/Menu.java
5449 (countItems): New deprecated method.
5450 * java/awt/Scrollbar.java
5451 (getListeners): New method,
5452 (getAdjustmentListeners): New method,
5453 * java/awt/TextComponent.java
5454 (getListeners): New method,
5455 (getTextListeners): New method,
5456 * java/awt/TextField.java
5457 (getListeners): New method,
5458 (getActionListeners): New method.
5459 * java/awt/Window.java
5460 (windowFocusListener): New member variable.
5461 (windowStateListener): New member variable.
5462 (getWindowFocusListeners): New method.
5463 (getWindowStateListeners): New method.
5464 (addWindowFocusListener): New method.
5465 (addWindowStateListener): New method.
5466 (removeWindowFocusListener): New method.
5467 (removeWindowStateListener): New method.
5468 * java/awt/datatransfer/DataFlavor.java
5469 (isRepresentationClassByteBuffer): New method.
5470 (isRepresentationClassCharBuffer): New method.
5471 (isRepresentationClassReader): New method.
5472
5473 2003-02-14 Mark Wielaard <mark@klomp.org>
5474
5475 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5476 zero when there is an exponent and the significant is zero.
5477 (divide): Always set scale to newScale even in special ZERO case.
5478
5479 2003-02-14 Tom Tromey <tromey@redhat.com>
5480
5481 * java/lang/System.java (properties): Use Properties.clone.
5482 (setProperties): Likewise.
5483
5484 2003-02-14 Michael Koch <konqueror@gmx.de>
5485
5486 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5487 * gnu/java/nio/ServerSocketChannelImpl.java
5488 (SocketAccept): Removed.
5489 (accept): Commented out use of SocketAccept.
5490
5491 2003-02-13 Tom Tromey <tromey@redhat.com>
5492
5493 * verify.cc (state::seen_subrs): New field.
5494 (state::state): Initialize it.
5495 (state::clean_subrs): New method.
5496 (state::~state): Call it.
5497 (state::copy): Copy subroutine list.
5498 (state::add_subr): New method.
5499 (state::merge): Only register a change if the current subroutine
5500 hasn't yet been noted.
5501
5502 2003-02-13 Mark Wielaard <mark@klomp.org>
5503
5504 * java/io/InputStreamReader.java (getEncoding): Return null when
5505 closed.
5506 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5507
5508 2003-02-13 Mark Wielaard <mark@klomp.org>
5509
5510 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5511 is zero.
5512
5513 2003-02-13 Mark Wielaard <mark@klomp.org>
5514
5515 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5516 next byte cannot be buffered.
5517
5518 2003-02-13 Michael Koch <konqueror@gmx.de>
5519
5520 * java/awt/Label.java
5521 (Label): Don't implement Serializable directly.
5522 (addNotify): Fixed typo in documentation.
5523 * java/awt/List.java
5524 (List): Don't implement Serializable directly.
5525 * java/awt/PopupMenu.java
5526 (PopupMenu): Don't implement Serializable directly.
5527 * java/awt/ScrollPane.java
5528 (ScrollPane): Don't implement Serializable directly.
5529 * java/awt/Scrollbar.java
5530 (Scrollbar): Don't implement Serializable directly.
5531 * java/awt/TextArea.java
5532 (preferredSize): Fixed method arguments.
5533 * java/awt/TextField.java
5534 (TextField): Don't implement Serializable directly.
5535 * java/awt/color/ICC_ColorSpace.java
5536 (fromCIOXYZ): Documentation added.
5537 (getMinValue): Documentation added.
5538 (getMaxValue): Documentation added.
5539 * java/awt/datatransfer/DataFlavor.java
5540 (isMimeTypeEqual): May not be final.
5541 (clone): Throws CloneNotSupportedException.
5542 (getReaderForText): Don't throws UnsupportedEncodingException.
5543
5544 2003-02-13 Michael Koch <konqueror@gmx.de>
5545
5546 * gnu/java/awt/peer/gtk/GdkGraphics.java
5547 (drawString): New stubbed method.
5548 * java/awt/Graphics.java
5549 (drawString): New method.
5550
5551 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5552
5553 PR libgcj/9271:
5554 * java/security/SecureRandom.java (next): Avoid bias in results.
5555
5556 2003-02-13 Michael <konqueror@gmx.de>
5557
5558 * gnu/java/nio/FileChannelImpl.java
5559 (lengthInternal): Must be native.
5560 (size): Check if channel is already closed.
5561 (implCloseChannel): Reformated.
5562 (read): w was unused, removed it.
5563 (read): Removed.
5564 (read): New method.
5565 (write): New method.
5566 (map): Check arguments.
5567 (force): Throws IOException, check if channel is closed.
5568 (transferTo): New method.
5569 (transferFrom): New method.
5570 (lock): New method.
5571 (tryLock): New method.
5572 (position): New method.
5573 (truncate): New method.
5574 (nio_mmap_file): Uncommented.
5575 (nio_munmap_file): Uncommented.
5576 (nio_msync): Uncommented.
5577 * gnu/java/nio/natFileChannelImpl.cc: New file.
5578
5579 2003-02-13 Michael Koch <konqueror@gmx.de>
5580
5581 * java/nio/ByteBuffer.java
5582 (endian): New member variable.
5583 (get): New methods.
5584 (equals): New method.
5585 (compareTo): New method.
5586 (order): New methods.
5587 (compact): New method.
5588 (isDirect): New method.
5589 (slice): New method.
5590 (duplicate): New method.
5591 (asReadOnlyBuffer): New method.
5592 (asCharBuffer): New method.
5593 (asDoubleBuffer): New method.
5594 (asFloatBuffer): New method.
5595 (asIntBuffer): New method.
5596 (asLongBuffer): New method.
5597 (asShortBuffer): New method.
5598 (get*): New methods.
5599 (put*): New methods.
5600 (toString): New method.
5601 * java/nio/CharBuffer.java
5602 (CharBuffer): Implement Comparable instead of Cloneable.
5603 (get): May not be final.
5604 (put): May not be final.
5605
5606 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5607
5608 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5609 lastIndexOf( ) instead of indexOf( ) to find the colon before
5610 the line number, because Win32 file names might contain a
5611 drive letter and a colon at the start of an absolute path.
5612
5613 2003-02-13 Michael Koch <konqueror@gmx.de>
5614
5615 * gnu/java/nio/natSocketChannelImpl.cc
5616 (SocketConnect): This is not implemented yet.
5617 (SocketBind): This is not implemented yet.
5618
5619 2003-02-13 Michael Koch <konqueror@gmx.de>
5620
5621 * gnu/java/nio/natByteBufferImpl.cc,
5622 gnu/java/nio/natCharBufferImpl.cc,
5623 gnu/java/nio/natDoubleBufferImpl.cc,
5624 gnu/java/nio/natFloatBufferImpl.cc,
5625 gnu/java/nio/natIntBufferImpl.cc,
5626 gnu/java/nio/natLongBufferImpl.cc,
5627 gnu/java/nio/natShortBufferImpl.cc:
5628 Added copyright and license.
5629 * java/nio/DoubleBuffer.java,
5630 java/nio/FloatBuffer.java,
5631 java/nio/IntBuffer.java,
5632 java/nio/LongBuffer.java,
5633 java/nio/ShortBuffer.java
5634 (array): Throw exceptions.
5635 (arrayOffset): Throw exceptions.
5636
5637 2003-02-13 Michael Koch <konqueror@gmx.de>
5638
5639 * gnu/java/util/prefs/FileBasedFactory.java,
5640 gnu/java/util/prefs/MemmoryBasedFactory.java,
5641 gnu/java/util/prefs/MemoryBasedPreferences.java,
5642 gnu/java/util/prefs/NodeReader.java,
5643 gnu/java/util/prefs/NodeWriter.java,
5644 java/util/prefs/AbstractPreferences.java,
5645 java/util/prefs/BackingStoreException.java,
5646 java/util/prefs/InvalidPreferencesFormatException.java,
5647 java/util/prefs/NodeChangeEvent.java,
5648 java/util/prefs/NodeChangeListener.java,
5649 java/util/prefs/PreferenceChangeEvent.java,
5650 java/util/prefs/PreferenceChangeListener.java,
5651 java/util/prefs/Preferences.java,
5652 java/util/prefs/PreferencesFactory.java:
5653 New files, all merged from classpath.
5654 * Makefile.am
5655 (ordinary_java_source_files): Added the following files:
5656 gnu/java/util/prefs/FileBasedFactory.java,
5657 gnu/java/util/prefs/MemmoryBasedFactory.java,
5658 gnu/java/util/prefs/MemoryBasedPreferences.java,
5659 gnu/java/util/prefs/NodeReader.java,
5660 gnu/java/util/prefs/NodeWriter.java,
5661 (core_java_source_files): Added the following files:
5662 java/util/prefs/AbstractPreferences.java,
5663 java/util/prefs/BackingStoreException.java,
5664 java/util/prefs/InvalidPreferencesFormatException.java,
5665 java/util/prefs/NodeChangeEvent.java,
5666 java/util/prefs/NodeChangeListener.java,
5667 java/util/prefs/PreferenceChangeEvent.java,
5668 java/util/prefs/PreferenceChangeListener.java,
5669 java/util/prefs/Preferences.java,
5670 java/util/prefs/PreferencesFactory.java
5671 * Makefile.in: Regenerated.
5672
5673 2003-02-13 Michael Koch <konqueror@gmx.de>
5674
5675 * java/net/NetPermission.java
5676 (NetPermission): Make doucmentation match the method declaration.
5677 * java/net/NetworkInterface.java
5678 (equals): Reformated for GNU coding style.
5679 * java/net/ServerSocket.java: Merged with classpath.
5680 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5681 * java/net/SocketImpl.java
5682 (localPort): Merged with classpath (initialize with -1).
5683 * java/net/SocketPermission.java: Merged with classpath (reindented).
5684 * java/net/URLDecoder.java: Merged with classpath (reindented).
5685
5686 2003-02-13 Michael Koch <konqueror@gmx.de>
5687
5688 * java/awt/GridBagConstraints.java
5689 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5690 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5691 * java/awt/KeyboardFocusManager.java
5692 (setGlobalCurrentFocusCycleRoot): Must be public.
5693 * java/awt/MenuComponent.java
5694 (MenuComponent): Must be public.
5695 * java/awt/Toolkit.java:
5696 Added some empty lines to make documentation more readable.
5697 (getFontPeer): Added @deprecated.
5698 (getColorModel): Added exception documentation.
5699 (getProperty): Fixed documentation.
5700
5701 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5702
5703 * configure.host (alpha*-*): Default to -mieee.
5704 * configure.in (IEEESPEC): New.
5705 * libgcj.spec.in (jc1): Add IEEESPEC.
5706 * configure: Rebuild.
5707
5708 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5709
5710 * include/win32.h: Include ws2tcpip.h instead of
5711 winsock.h to obtain definition of the socklen_t type.
5712 Remove IP_TOS definition - not needed with ws2tcpip.h
5713 (_Jv_connect): Correct slight formatting error.
5714
5715 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5716
5717 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5718 size of the arguments for a JNI function. For Win32,
5719 modify to search for all forms of possible exported
5720 names of an stdcall JNI function.
5721 (_Jv_JNIMethod::call): Modify to calculate the size
5722 of the arguments passed to a JNI function and pass
5723 it to _Jv_LookupJNIMethod.
5724
5725 2003-02-12 Michael Koch <konqueror@gmx.de>
5726
5727 * java/nio/channels/Channels.java: New file.
5728 * Makefile.am
5729 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5730 * Makefile.in: Regenerated.
5731
5732 2003-02-12 Michael Koch <konqueror@gmx.de>
5733
5734 * java/nio/ByteBuffer.java
5735 (allocate): Implemented.
5736 (wrap): Implemented.
5737 * java/nio/CharBuffer.java:
5738 Some documentation added and reworked.
5739 (endian): Removed.
5740 (allocate): Implemented.
5741 (wrap): Implemented.
5742 (array): Throw exceptions.
5743 (arrayOffset): Throw exceptions.
5744 (toString): Implemented.
5745 (length): Implemented.
5746 (put): Implemented.
5747 (charAt): Implemented.
5748
5749 2003-02-11 John Leuner <jewel@debian.org>
5750
5751 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5752 reads from end of file.
5753
5754 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5755
5756 * java/io/natFileDescriptorWin32.cc
5757 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5758 returns with Win32 error code ERROR_BROKEN_PIPE.
5759
5760 2003-02-11 Michael Koch <konqueror@gmx.de>
5761
5762 * Makefile.in
5763 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5764
5765 2003-02-11 Michael Koch <konqueror@gmx.de>
5766
5767 * gnu/java/nio/ByteBufferImpl.java:
5768 Reformated and removed some code.
5769 (backing_buffer): Removed.
5770 (array_offset): Removed.
5771 (ro): Renamed to readOnly.
5772 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5773 * gnu/java/nio/CharBufferImpl.java:
5774 Reformated and removed some code.
5775 (array_offset): Removed.
5776 (ro): Renamed to readOnly.
5777 (CharBufferImpl): Use parent constructor, initialize readOnly.
5778 (inc_pos): Removed.
5779 (order): New method.
5780 * gnu/java/nio/DoubleBufferImpl.java:
5781 Reformated and removed some code.
5782 (array_offset): Removed.
5783 (ro): Renamed to readOnly.
5784 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5785 (inc_pos): Removed.
5786 (order): New method.
5787 * gnu/java/nio/FloatBufferImpl.java:
5788 Reformated and removed some code.
5789 (array_offset): Removed.
5790 (ro): Renamed to readOnly.
5791 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5792 (inc_pos): Removed.
5793 (order): New method.
5794 * gnu/java/nio/IntBufferImpl.java:
5795 Reformated and removed some code.
5796 (array_offset): Removed.
5797 (ro): Renamed to readOnly.
5798 (IntBufferImpl): Use parent constructor, initialize readOnly.
5799 (inc_pos): Removed.
5800 (order): New method.
5801 * gnu/java/nio/LongBufferImpl.java:
5802 Reformated and removed some code.
5803 (array_offset): Removed.
5804 (ro): Renamed to readOnly.
5805 (LongBufferImpl): Use parent constructor, initialize readOnly.
5806 (inc_pos): Removed.
5807 (order): New method.
5808 * gnu/java/nio/ShortBufferImpl.java:
5809 Reformated and removed some code.
5810 (array_offset): Removed.
5811 (ro): Renamed to readOnly.
5812 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5813 (inc_pos): Removed.
5814 (order): New method.
5815 * Makefile.am
5816 (ordinary_java_source_files): Added the following files:
5817 gnu/java/nio/ByteBufferImpl.java
5818 gnu/java/nio/CharBufferImpl.java
5819 gnu/java/nio/DoubleBufferImpl.java
5820 gnu/java/nio/FloatBufferImpl.java
5821 gnu/java/nio/IntBufferImpl.java
5822 gnu/java/nio/LongBufferImpl.java
5823 gnu/java/nio/ShortBufferImpl.java
5824 java/nio/DoubleBuffer.java
5825 java/nio/FloatBuffer.java
5826 java/nio/IntBuffer.java
5827 java/nio/LongBuffer.java
5828 java/nio/ShortBuffer.java
5829 (nat_source_files): Added the following files:
5830 gnu/java/nio/natByteBufferImpl.cc
5831 gnu/java/nio/natCharBufferImpl.cc
5832 gnu/java/nio/natDoubleBufferImpl.cc
5833 gnu/java/nio/natFloatBufferImpl.cc
5834 gnu/java/nio/natIntBufferImpl.cc
5835 gnu/java/nio/natLongBufferImpl.cc
5836 gnu/java/nio/natShortBufferImpl.cc
5837 * Makefile.in: Regenerated.
5838
5839 2003-02-11 Michael Koch <konqueror@gmx.de>
5840
5841 * gnu/java/nio/natCharBufferImpl.cc
5842 (nio_cast): Removed.
5843 (nio_put_*): Removed.
5844 (nio_get_*): Removed.
5845 * gnu/java/nio/natDoubleBufferImpl.cc
5846 (nio_cast): Removed.
5847 (nio_put_*): Removed.
5848 (nio_get_*): Removed.
5849 * gnu/java/nio/natFloatBufferImpl.cc
5850 (nio_cast): Removed.
5851 (nio_put_*): Removed.
5852 (nio_get_*): Removed.
5853 * gnu/java/nio/natIntBufferImpl.cc
5854 (nio_cast): Removed.
5855 (nio_put_*): Removed.
5856 (nio_get_*): Removed.
5857 * gnu/java/nio/natLongBufferImpl.cc
5858 (nio_cast): Removed.
5859 (nio_put_*): Removed.
5860 (nio_get_*): Removed.
5861 * gnu/java/nio/natShortBufferImpl.cc
5862 (nio_cast): Removed.
5863 (nio_put_*): Removed.
5864 (nio_get_*): Removed.
5865 * gnu/java/nio/SelectorProviderImpl.java
5866 (openDatagramChannel): Throws IOException.
5867 (openPipe): Throws IOException.
5868 (openSelector): Throws IOException.
5869 (openServerSocketChannel): Throws IOException.
5870 (openSocketChannel): Throws IOException.
5871 * gnu/java/nio/ServerSocketChannelImpl.java
5872 (ServerSocketChannelImpl): Throws IOException.
5873 (implCloseSelectableChannel): Throws IOException.
5874 (implConfigureBlocking): Throws IOException.
5875 * java/nio/ByteBuffer.java
5876 (readOnly): Removed.
5877 (hasArray): Use isReadOnly() instead of readOnly.
5878 (array): Use isReadOnly() instead of readOnly.
5879 (arrayOffset): Use isReadOnly() instead of readOnly.
5880 * java/nio/CharBuffer.java
5881 (CharBuffer): Implements Cloneable and CharSequence.
5882
5883 2003-02-11 Michael Koch <konqueror@gmx.de>
5884
5885 * java/nio/DoubleBuffer.java
5886 (DoubleBuffer): Implements Comparable.
5887 (endian): Removed.
5888 (array_offset): New member variable.
5889 (DoubleBuffer): New constuctor.
5890 (get): May not be final.
5891 (put): May not be final.
5892 (arrayOffset): Implemented.
5893 (order): Made abstract.
5894 (order): Removed.
5895 (as*Buffer): Removed.
5896 (get*): Removed.
5897 (put*): Removed.
5898 * java/nio/FloatBuffer.java
5899 (FloatBuffer): Implements Comparable.
5900 (endian): Removed.
5901 (array_offset): New member variable.
5902 (FloatBuffer): New constuctor.
5903 (get): May not be final.
5904 (put): May not be final.
5905 (arrayOffset): Implemented.
5906 (order): Made abstract.
5907 (order): Removed.
5908 (as*Buffer): Removed.
5909 (get*): Removed.
5910 (put*): Removed.
5911 * java/nio/IntBuffer.java
5912 (IntBuffer): Implements Comparable.
5913 (endian): Removed.
5914 (array_offset): New member variable.
5915 (IntBuffer): New constuctor.
5916 (get): May not be final.
5917 (put): May not be final.
5918 (arrayOffset): Implemented.
5919 (order): Made abstract.
5920 (order): Removed.
5921 (as*Buffer): Removed.
5922 (get*): Removed.
5923 (put*): Removed.
5924 * java/nio/LongBuffer.java
5925 (LongBuffer): Implements Comparable.
5926 (endian): Removed.
5927 (array_offset): New member variable.
5928 (LongBuffer): New constuctor.
5929 (get): May not be final.
5930 (put): May not be final.
5931 (arrayOffset): Implemented.
5932 (order): Made abstract.
5933 (order): Removed.
5934 (as*Buffer): Removed.
5935 (get*): Removed.
5936 (put*): Removed.
5937 * java/nio/ShortBuffer.java
5938 (ShortBuffer): Implements Comparable.
5939 (endian): Removed.
5940 (array_offset): New member variable.
5941 (ShortBuffer): New constuctor.
5942 (get): May not be final.
5943 (put): May not be final.
5944 (arrayOffset): Implemented.
5945 (order): Made abstract.
5946 (order): Removed.
5947 (as*Buffer): Removed.
5948 (get*): Removed.
5949 (put*): Removed.
5950
5951 2003-02-11 Michael Koch <konqueror@gmx.de>
5952
5953 * java/nio/channels/SelectionKey.java
5954 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5955 values.
5956
5957 2003-02-11 Michael Koch <konqueror@gmx.de>
5958
5959 * java/nio/channels/DatagramChannel.java
5960 (write): Throws IOException.
5961 (connect): Throws IOException.
5962 (disconnect): Throws IOException.
5963 (read): Throws IOException.
5964 (receive): Throws IOException.
5965 (send): Throws IOException.
5966 * java/nio/channels/Pipe.java
5967 (open): Throws IOException.
5968 * java/nio/channels/SelectableChannel.java
5969 (configureBlocking): Throws IOException.
5970 * java/nio/channels/ServerSocketChannel.java
5971 (accept): Throws IOException.
5972 * java/nio/channels/SocketChannel.java
5973 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5974 GatheringByteChannel.
5975 (read): Throws IOException.
5976 (write): Throws IOException.
5977 (finishConnect): Throws IOException.
5978 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5979 (end): Throws AsynchronousCloseException.
5980 * java/nio/channels/spi/AbstractSelectableChannel.java
5981 (configureBlocking): Throws IOException.
5982 (implCloseChannel): Throws IOException.
5983 (implCloseSelectableChannel): Throws IOException.
5984 (implConfigureBlocking): Throws IOException.
5985 * java/nio/channels/spi/SelectorProvider.java
5986 (openDatagramChannel): Throws IOException.
5987 (openPipe): Throws IOException.
5988 (openSelector): Throws IOException.
5989 (openServerSocketChannel): Throws IOException.
5990 (openSocketChannel): Throws IOException.
5991
5992 2003-02-11 Michael Koch <konqueror@gmx.de>
5993
5994 * gnu/java/nio/FileLockImpl.java,
5995 java/nio/channels/FileLock.java: New files.
5996
5997 2003-02-11 Michael Koch <konqueror@gmx.de>
5998
5999 * java/nio/charset/IllegalCharsetNameException.java
6000 (serialVersionUID): New member variable.
6001 (charsetName): New member variable.
6002 (IllegalCharsetException): New implementation.
6003 (getCharsetName): New implementation.
6004 * java/nio/charset/UnsupportedCharsetException.java
6005 (serialVersionUID): New member variable.
6006 (charsetName): New member variable.
6007 (UnsupportedCharsetException): New implementation.
6008 (getCharsetName): New implementation.
6009
6010 2003-02-10 Tom Tromey <tromey@redhat.com>
6011
6012 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
6013 (ex): Renamed from sqlException.
6014
6015 2003-02-10 Raif S. Naffah <raif@fl.net.au>
6016
6017 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
6018 method used to ensure seeding has occurred and that a specific
6019 seed can be set and used.
6020
6021 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
6022
6023 * java/lang/Win32Process.java (destroy): Declare as native.
6024 (hasExited): New native method.
6025 (exitValue): Define.
6026 (getErrorStream): Likewise.
6027 (getInputStream): Likewise.
6028 (getOutputStream): Likewise.
6029 (waitFor): Declare as native.
6030 (startProcess): New native method.
6031 (cleanup): Likewise.
6032 (ConcreteProcess): Define.
6033 (outputStream, inputStream, errorStream): New members.
6034 (procHandle, exitCode): Likewise.
6035
6036 * java/lang/natWin32Process.cc
6037 (java::lang::ConcreteProcess::cleanup): Define.
6038 (java::lang::ConcreteProcess::destroy): Likewise.
6039 (java::lang::ConcreteProcess::hasExited): Likewise.
6040 (java::lang::ConcreteProcess::waitFor): Likewise.
6041 (new_string): Likewise.
6042 (java::lang::ConcreteProcess::startProcess): Likewise.
6043
6044 2003-02-10 Raif S. Naffah <raif@fl.net.au>
6045
6046 * java/math/BigInteger.java:
6047 Updated notice to include years 2002 and 3.
6048 Added 2 private (int) arrays with values from the HAC (Handbook of
6049 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
6050 and t[] that contains nbr. of tests --used in isProbablePrime().
6051
6052 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
6053
6054 * java/math/BigInteger.java (make(int[],int), add(int,int),
6055 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
6056 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
6057 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
6058 make(long).
6059
6060 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
6061 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
6062 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
6063 BIs and returns void.
6064 (modInverse(BI)): Use new signatures of euclidInv().
6065
6066 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
6067 static small primes instead of remainder().
6068 Use pre-computed max nbr of trials based on bitlength of BI to test.
6069 Use pre-computed small primes for the trial tests instead of random
6070 numbers.
6071
6072 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
6073 not used.
6074
6075 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
6076 invoacation of MPN.chars_per_word(). not used.
6077
6078 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
6079 local var and used where needed.
6080
6081 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
6082 Combined declaration with initialisation of locals.
6083 Removed unused var.
6084
6085 * java/math/BigInteger.java: Style changes
6086 (pow(int)): Removed 'else' keyword.
6087 (toString(int)): idem.
6088 (doubleValue()): idem.
6089 (bitLength()): idem.
6090 (equals(Object)): Use static methods name in same class w/o prepending
6091 class name.
6092 (doubleValue()): idem.
6093 (setNegative(BI)): idem.
6094 (negate()): idem.
6095 (and(BI,int)): idem.
6096 (and(BI)): idem.
6097 (gcd(BI)): idem.
6098 (byteArrayToIntArray()): Removed casting to (int). this is
6099 std. behaviour.
6100 (canonicalize()): idem.
6101 (alloc(int)): Always instantiate a new BI.
6102
6103 2003-02-10 Tom Tromey <tromey@redhat.com>
6104
6105 * java/sql/Timestamp.java (compareTo(Object)): New method.
6106 (compareTo(Timestamp)): Likewise.
6107 (serialVersionUID): Updated.
6108
6109 2003-02-07 Mark Wielaard <mark@klomp.org>
6110
6111 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
6112 when verify is true.
6113 (JarFile(File, boolean)): Likewise.
6114 (manifestRead): Set manifestRead field correctly.
6115
6116 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6117
6118 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
6119 tests; see patch #1016 on Savannah.
6120
6121 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6122
6123 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
6124 (toString): do not return Strings starting with . and - erroneously.
6125 Improves Mauve results to 12 of 600 instead of 16 of 338 on
6126 DiagBigDecimal.
6127
6128 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6129
6130 * java/beans/PropertyDescriptor.java
6131 (PropertyDescriptor(String, Class)): Sanity check getter and setter
6132 methods.
6133 (PropertyDescriptor(String, Class, String, String)): Likewise.
6134 (PropertyDescriptor(String, Method, Method): Factor out getter and
6135 setter method sanity checks into new method.
6136 (findMethods): Don't do parameter sanity checking of get method here.
6137 (checkMethods): New method.
6138
6139 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6140
6141 * java/beans/PropertyDescriptor.java: Reformat.
6142
6143 2003-02-04 Tom Tromey <tromey@redhat.com>
6144
6145 * java/io/PipedOutputStream.java (flush): Declare as throwing
6146 IOException.
6147 (close): Likewise.
6148 * java/io/PipedWriter.java (close): Declare as throwing
6149 IOException.
6150 * java/io/StringWriter.java (close): Declare as throwing
6151 IOException.
6152
6153 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6154
6155 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
6156 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
6157 could also have been exported as "JNI_OnLoad@8" (MinGW) or
6158 "_JNI_OnLoad@8" (MSVC).
6159
6160 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6161
6162 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6163 convention on Win32 to invoke native JNI methods.
6164
6165 2003-02-03 Andrew Haley <aph@redhat.com>
6166
6167 * configure.host (x86_64): Enable interpreter.
6168
6169 2003-02-03 Andrew Haley <aph@redhat.com>
6170
6171 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6172 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6173 * configure.in (BACKTRACESPEC): New.
6174 * configure: Regenerate.
6175
6176 2003-02-02 Tom Tromey <tromey@redhat.com>
6177
6178 * configure: Rebuilt.
6179 * configure.in (TOOLKIT) [xlib]: Set correctly.
6180
6181 * Makefile.in: Rebuilt.
6182 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6183 libstdc++.
6184
6185 2003-01-31 Mark WIelaard <mark@klomp.org>
6186
6187 * Makefile.in: Rebuilt.
6188 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6189
6190 2003-01-31 Tom Tromey <tromey@redhat.com>
6191
6192 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6193 cast to element type.
6194 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6195 (_Jv_JNI_GetObjectArrayElement): Likewise.
6196
6197 * Makefile.in: Rebuilt.
6198 * Makefile.am (cond_x_ltlibrary): Renamed library to
6199 lib-gnu-awt-xlib.la.
6200 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6201 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6202 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6203 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6204 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6205 (lib_gnu_awt_xlib_la_LINK): Likewise.
6206 (install-exec-hook): Removed.
6207 (lib-gnu-awt-xlib.la): Renamed.
6208
6209 2003-01-31 Tom Tromey <tromey@redhat.com>
6210
6211 * aclocal.m4, configure, include/config.h.in: Rebuilt.
6212 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6213 aclocal.m4 and lost in some merge.
6214
6215 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6216 Don't try to find graphics configuration.
6217 * java/awt/Toolkit.java (default_toolkit_name): Use new
6218 Configuration entry.
6219 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6220 New global.
6221 * configure: Rebuilt.
6222 * configure.in (TOOLKIT): New subst.
6223 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6224 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
6225 directory. Make output directories for .c files.
6226 * Makefile.in: Rebuilt.
6227 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6228 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6229 (all_java_source_files): Added new sources.
6230 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6231 (gtk_c_files): New macro.
6232 (gtk_c_source_files): New macro.
6233 (cond_gtk_ltlibrary): New macro.
6234 ($(gtk_c_files)): New target.
6235 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6236 (gtk_awt_peer_sources): New macro.
6237 (gtk_c_headers): New macro.
6238 ($(gtk_c_headers)): New target.
6239 (ACLOCAL_AMFLAGS): New macro.
6240 * gtk.m4, glib.m4, libart.m4: New files.
6241 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6242 gnu/java/awt/peer/gtk/GdkGraphics.java,
6243 gnu/java/awt/peer/gtk/GtkArg.java,
6244 gnu/java/awt/peer/gtk/GtkArgList.java,
6245 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6246 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6247 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6248 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6249 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6250 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6251 gnu/java/awt/peer/gtk/GtkClipboard.java,
6252 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6253 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6254 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6255 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6256 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6257 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6258 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6259 gnu/java/awt/peer/gtk/GtkImage.java,
6260 gnu/java/awt/peer/gtk/GtkImagePainter.java,
6261 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6262 gnu/java/awt/peer/gtk/GtkListPeer.java,
6263 gnu/java/awt/peer/gtk/GtkMainThread.java,
6264 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6265 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6266 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6267 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6268 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6269 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6270 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6271 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6272 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6273 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6274 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6275 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6276 gnu/java/awt/peer/gtk/GtkToolkit.java,
6277 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6278 gnu/java/awt/peer/gtk/TestAWT.java,
6279 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6280 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6281 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6282 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6283 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6284 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6285 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6286 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6287 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6288 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6289 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6290 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6291 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6292 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6293 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6294 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6295 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6296 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6297 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6298 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6299 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6300 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6301 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6302 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6303 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6304 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6305 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6306 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6307 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6308 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6309 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6310 jni/classpath/native_state.c, jni/classpath/native_state.h,
6311 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6312
6313 2003-01-31 Julian Dolby <dolby@us.ibm.com>
6314
6315 * java/util/Properties.java (load): Ignore backslash before EOF.
6316
6317 2003-01-30 Jeff Sturm <jsturm@one-point.com>
6318
6319 * java/lang/natClass.cc (initializeClass): Check tables when
6320 (state == JV_STATE_IN_PROGRESS).
6321 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6322 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6323 interpreted classes.
6324 (linkClass0): Use _Jv_WaitForState.
6325
6326 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
6327
6328 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6329 object when finished.
6330
6331 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
6332
6333 * libjava/configure.host: Disable can_unwind_signal on darwin.
6334
6335 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
6336
6337 Fixes PR java/9254:
6338 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6339 additionally containing id of the owner thread as well as
6340 the number of nested times the thread has acquired the mutex.
6341 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6342 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6343 (_Jv_MutexUnlock): Check if really the owner thread, reset
6344 owner thread id to 0 before leaving, if leaving for the last
6345 time.
6346 (_Jv_MutexLock): Set owner thread id in the mutex and increment
6347 refcount.
6348 (_Jv_ThreadYield): Yield using a call to Sleep(0).
6349 * win32-threads.cc (_Jv_CondWait): Check if really owner of
6350 the passed mutex.
6351 Pass handle of the broadcast event, instead of a pointer to it
6352 in Win32 ResetEvent( ) call.
6353 Remove incorrect return values.
6354 (_Jv_CondDestroy): Close both event handles and delete
6355 critical section.
6356 (_Jv_CondNotify): Check if really the owner thread.
6357 (_Jv_CondNotifyAll): Check if really the owner thread.
6358 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6359 (really_start): Use SetEvent( ) to signal daemon_cond.
6360 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6361 WaitForSingleObject( ) instead to wait for daemon_cond to be
6362 signalled.
6363
6364 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6365
6366 * configure.in: Specifically define HAVE_BACKTRACE if building
6367 for MinGW.
6368 * include/win32.h: Remove HAVE_BACKTRACE definition.
6369 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6370 * configure: Rebuilt.
6371
6372 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6373
6374 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6375 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6376 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6377 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6378 * Makefile.in, configure: Rebuilt.
6379
6380 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6381
6382 Fixes PR java/9253:
6383 * java/io/natFileWin32.cc (performList): Append only "*.*"
6384 if the canonical file path already has a "\" at the end.
6385
6386 2003-01-24 Tom Tromey <tromey@redhat.com>
6387
6388 * defineclass.cc (handleMethodsEnd): Precompute code for static
6389 method.
6390 (handleCodeAttribute): Likewise.
6391 * resolve.cc (ncode): Use run_class for unsynchronized static
6392 methods.
6393 * include/java-interp.h (class _Jv_InterpMethod): Declare
6394 run_class.
6395 * interpret.cc (run_synch_class): Initialize class.
6396 (run) [insn_invokestatic]: Don't initialize class.
6397 [insn_anewarray]: Likewise.
6398 [insn_multianewarray]: Likewise.
6399 (run_class): New function.
6400
6401 2003-01-24 Tom Tromey <tromey@redhat.com>
6402
6403 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6404 comment.
6405
6406 2003-01-22 Andrew Haley <aph@redhat.com>
6407
6408 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6409 * configure.host (CHECKREFSPEC): Define for x86_64.
6410
6411 2003-01-21 Tom Tromey <tromey@redhat.com>
6412
6413 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6414 search at 2, not 3.
6415
6416 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6417
6418 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6419 looking at any characters.
6420 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6421 be used.
6422 (isAbsolute): Check path's length as well.
6423
6424 2003-01-17 Mark Wielaard <mark@klomp.org>
6425
6426 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6427 (nat_source_files): Add natVMObjectStreamClass.cc.
6428 * Makefile.in: Regenerated.
6429 * gcj/javaprims.h (namespace java): Regenerated.
6430 * java/io/ObjectStreamClass.java (getClassUID): Call
6431 VMObjectStreamClass.hasClassInitializer().
6432 (hasClassInitializer): Removed.
6433 * java/io/VMObjectStreamClass.java: New class.
6434 * java/io/natVMObjectStreamClass.cc: New file.
6435 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6436
6437 2003-01-16 Mark Wielaard <mark@klomp.org>
6438
6439 * java/net/SocketImpl.java (toString): Don't explicitly call
6440 toString() on possible null address.
6441
6442 2003-01-16 Michael Koch <konqueror@gmx.de>
6443
6444 * java/net/MulticastSocket.java
6445 (setInterface): Reindented.
6446
6447 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6448
6449 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6450 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6451 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6452 translateY arguments. Implement.
6453 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6454 down translation arguments.
6455 (drawPolyline, drawPolygon): Fix incorrect tests.
6456 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6457 translateX and translateY arguments.
6458
6459 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6460
6461 * Makefile.in: Rebuilt.
6462 * Makefile.am (xlib_includes): New macro.
6463 (INCLUDES): Use it.
6464
6465 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6466
6467 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6468 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6469 16-bit display mode.
6470
6471 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6472
6473 * java/awt/CardLayout.java (show): Rewrote.
6474 (gotoComponent): Removed `target' argument. Simplified code.
6475 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6476 Changed all callers.
6477 (NONE): Removed.
6478
6479 2003-01-14 Michael Koch <konqueror@gmx.de>
6480
6481 * java/net/InetSocketAddress.java
6482 (serialVersionUID): New member variable.
6483 * java/net/NetPermission.java
6484 (NetPermission): Dont implement java.io.Serialization directly.
6485 * java/net/SocketAddress.java:
6486 (serialVersionUID): Documentation added.
6487
6488 2003-01-14 Michael Koch <konqueror@gmx.de>
6489
6490 * java/awt/Label.java
6491 (Label): Implements javax.accessibility.Accessible;
6492 * java/awt/List.java
6493 (List): Implements javax.accessibility.Accessible;
6494 * java/awt/ScrollPane.java
6495 (ScrollPane): Implements javax.accessibility.Accessible;
6496 * java/awt/Scrollbar.java
6497 (Scrollbar): Implements javax.accessibility.Accessible;
6498 * java/awt/TextComponent.java
6499 (setCaretPosition): Throw exception, documentation added.
6500 * java/awt/Toolkit.java:
6501 Added some newlines in method documentations.
6502 (createButton): Exception documentation added.
6503 (createTextField): Exception documentation added.
6504 (createLabel): Exception documentation added.
6505 (createList): Exception documentation added.
6506 (createCheckbox): Exception documentation added.
6507 (createScrollbar): Exception documentation added.
6508 (createScrollPane): Exception documentation added.
6509 (createTextArea): Exception documentation added.
6510 (createChoice): Exception documentation added.
6511 (createFrame): Exception documentation added.
6512 (createWindow): Exception documentation added.
6513 (createDialog): Exception documentation added.
6514 (createMenuBar): Exception documentation added.
6515 (createMenu): Exception documentation added.
6516 (createMenuItem): Exception documentation added.
6517 (createFileDialog): Exception documentation added.
6518 (createCheckboxMenuItem): Exception documentation added.
6519 (loadSystemColors): Exception documentation added.
6520 (setDynamicLayout): Exception documentation added.
6521 (isDynamicLayoutSet): Exception documentation added.
6522 (isDynamicLayoutActive): Exception documentation added.
6523 (getScreenSize): Exception documentation added.
6524 (getScreenResolution): Exception documentation added.
6525 (getScreenInsets): Exception documentation added.
6526 (getColorModel): Exception documentation added.
6527 (getSystemClipboard): Exception documentation added.
6528 (getSystemSelection): Exception documentation added.
6529 (getMenuShortcutKeyMask): Exception documentation added.
6530 (getSystemEventQueue): Exception documentation added.
6531 * java/awt/Window.java:
6532 Reindented some code.
6533 (Window): Centralized implementation, documentation added.
6534 (finalize): Documentation added.
6535 (hide): Fixed typo in comment.
6536 (getWindowListeners): Documentation added.
6537 * java/awt/color/ColorSpace.java
6538 (toRGB): Documentation added.
6539 * java/awt/color/ICC_ColorSpace.java
6540 (ICC_ColorSpace): Documentation added.
6541 (toRGB): Throw exception, documentation added.
6542 (fromRGB): Throw exception, documentation added.
6543 (toCIEXYZ): Documentation added.
6544 (fromCIEXYZ): Documentation added.
6545 (getMinValue): Documentation added.
6546 (getMaxValue): Documentation added.
6547 * java/awt/geom/Dimension2D.java
6548 (clone): Documentation added.
6549 * java/awt/geom/GeneralPath.java
6550 (clone): Documentation added.
6551 * java/awt/geom/Line2D.java
6552 (clone): Documentation added.
6553 * java/awt/geom/QuadCurve2D.java
6554 (clone): Documentation added.
6555 * java/awt/image/ColorModel.java
6556 (ColorModel): Throw exception, documentation added.
6557 * java/awt/image/ImageFilter.java
6558 (clone): Doesnt throw CloneNotSupportedException.
6559
6560 2003-01-14 Andrew Haley <aph@redhat.com>
6561
6562 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6563 in a try block.
6564
6565 2003-01-10 Andrew Haley <aph@redhat.com>
6566
6567 * include/dwarf2-signal.h: Remove x86_64.
6568 * configure.host (x86_64 DIVIDESPEC): Remove.
6569 * include/x86_64-signal.h: New file.
6570 * configure.in: Regenerate.
6571
6572 2003-01-10 Michael Koch <konqueror@gmx.de>
6573
6574 * java/net/DatagramSocket.java
6575 (ch): Description added.
6576 (remotePort): Initialize with -1.
6577 (connect): Doesnt throws SocketException.
6578 * java/net/MulticastSocket.java
6579 (setInterface): Merge with Classpath.
6580 * java/net/ServerSocket.java
6581 (closed): New member variable.
6582 (bind): Check if socket is closed.
6583 (close): Close an associated channel too, set new value to closed.
6584 (isBound): Reindented.
6585 (isClosed): Implemented.
6586 * java/net/Socket.java
6587 (closed): New member variable.
6588 (bind): Check if socket is closed.
6589 (connect): Check if socket is closed.
6590 (close): Close an associated channel too, set new value to closed.
6591 (isClosed): Implemented.
6592
6593 2003-01-10 Michael Koch <konqueror@gmx.de>
6594
6595 * java/awt/DisplayMode.java
6596 (equals): Fixed argument type and implementation.
6597
6598 2003-01-07 Tom Tromey <tromey@redhat.com>
6599
6600 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6601 JV_HASH_SYNCHRONIZATION.
6602 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6603 JV_HASH_SYNCHRONIZATION.
6604
6605 2003-01-07 Michael Koch <konqueror@gmx.de>
6606
6607 * java/net/DatagramSocket.java:
6608 Added classpath license info.
6609 (DatagramSocket): Merged description with classpath.
6610 (close): Merged description with classpath.
6611 (getChannel): Merged description with classpath.
6612 (getInetAddress): Merged description with classpath.
6613 (getPort): Merged description with classpath.
6614 (getLocalAddress): Merged description with classpath.
6615 (getLocalPort): Merged description with classpath.
6616 (getSoTimeout): Merged description with classpath.
6617 (setSoTimeout): Merged description with classpath.
6618 (getSendBufferSize): Merged description with classpath.
6619 (setSendBufferSize): Merged description with classpath.
6620 (getReceiveBufferSize): Merged description with classpath.
6621 (setReceiveBufferSize): Merged description with classpath.
6622
6623 2003-01-04 Tom Tromey <tromey@redhat.com>
6624
6625 * java/awt/List.java: Merged with Classpath.
6626
6627 2003-01-03 Mark Wielaard <mark@klomp.org>
6628
6629 * java/io/FileDescriptor.java (position): New private field.
6630 * java/io/natFileDescriptorPosix.cc (write): Up position.
6631 (setLength): Use and set position.
6632 (seek): Set position.
6633 (getFilePointer): Return position.
6634 (read): Up position.
6635
6636 2003-01-03 Mark Wielaard <mark@klomp.org>
6637
6638 Merge with Classpath:
6639 * java/io/ObjectStreamClass.java (lookup): Split method and call
6640 lookupForClassObject().
6641 (lookupForClassObject): New method.
6642 (isProxyClass): New field.
6643 (setClass): Set isProxyClass, add object to classLookupTable, set
6644 superClass and calculateOffsets.
6645 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6646 and not a proxy class.
6647 (setFields): Set accessible true for serialPersistentFields.
6648 (getClassUID): Same for suid. And check if suid is of type long.
6649 (hasClassInitializer): Don't throw NoSuchMethodError.
6650
6651 2003-01-03 Mark Wielaard <mark@klomp.org>
6652
6653 * java/io/FileInputStream.java (finalize): Don't explicitly
6654 finalize FileDescriptor.
6655
6656 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6657
6658 * configure.host (sparc*-*): Enable bytecode interpreter.
6659
6660 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6661
6662 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6663 Don't throw RemoteException.
6664 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6665 throw RemoteException.
6666
6667 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6668
6669 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6670 proxyHost): New static fields.
6671 (<clinit>): Initialize new fields.
6672 (connect): Use proxy if necessary.
6673 (usingProxy): Implement.
6674
6675 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6676
6677 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6678 (TreeIterator.remove): Prefer IllegalStateException over
6679 ConcurrentModificationException, to match Sun.
6680
6681 2002-12-22 Anthony Green <green@redhat.com>
6682
6683 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6684
6685 2003-01-02 Mark Wielaard <mark@klomp.org>
6686
6687 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6688 public.
6689 (HTTP_USE_PROXY): Add field.
6690 (getResponseVals): Only set responseCode when not yet explicitly
6691 set by subclass.
6692
6693 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6694 Mark Wielaard <mark@klomp.org>
6695
6696 * java/util/zip/ZipFile.java (entries): Now HashMap.
6697 (readLeShort(DataInput, byte[])): Read from given byte array.
6698 (readLeInt(DataInput, byte[]): Likewise.
6699 (readLeShort(byte[] b, int off)): New method.
6700 (readLeInt(byte[] b, int off)): Likewise.
6701 (readEntries): Use byte arrays to read info in bigger chunks.
6702 (getEntries): Return HashMap.
6703 (getEntry): Use HashMap.
6704 (locBuf): New private field.
6705 (checkLocalHeader): Use locBuf to read info in one chunk.
6706 (getInputStream): Use entries HashMap, wrap PartialInputStream
6707 in BufferedInputStream.
6708 (ZipEntryEnumeration): Use HashMap and Interator.
6709
6710 2003-01-02 Mark Wielaard <mark@klomp.org>
6711 Jeroen Frijters <jeroen@sumatra.nl>
6712
6713 * java/net/URLClassLoader.java (Resource.getCodeSource):
6714 Fix check certs == null.
6715 (getCanonicalFileURL): Removed method.
6716 (JarURLLoader): Don't call removed method.
6717 (FileURLLoader): Likewise.
6718 (FileURLLoader.getResource): Don't canonicalize file name.
6719
6720 2003-01-01 Tom Tromey <tromey@redhat.com>
6721
6722 * Makefile.in: Rebuilt.
6723 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6724 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6725 java/awt/BufferCapabilities.java, java/awt/Button.java,
6726 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6727 java/awt/Container.java, java/awt/Cursor.java,
6728 java/awt/EventQueue.java, java/awt/FileDialog.java,
6729 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6730 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6731 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6732 java/awt/Scrollbar.java, java/awt/TextArea.java,
6733 java/awt/TextField.java, java/awt/color/CMMException.java,
6734 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6735 java/awt/color/ProfileDataException.java,
6736 java/awt/datatransfer/Clipboard.java,
6737 java/awt/datatransfer/DataFlavor.java,
6738 java/awt/datatransfer/FlavorMap.java,
6739 java/awt/datatransfer/SystemFlavorMap.java,
6740 java/awt/dnd/DragGestureEvent.java,
6741 java/awt/dnd/DragGestureRecognizer.java,
6742 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6743 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6744 java/awt/im/InputMethodHighlight.java,
6745 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6746 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6747
6748 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6749 `op' to BufferedImageOp.
6750
6751 2002-12-31 Tom Tromey <tromey@redhat.com>
6752
6753 Fix for PR libgcj/7416:
6754 * javax/naming/InitialContext.java (init): Use
6755 gnu.classpath.home.url.
6756 * java/security/Security.java: Use new properties.
6757 (loadProviders): Accept base url; use it.
6758 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6759 gnu.classpath.home.url.
6760 (gnu.classpath.home.url): Define.
6761 (gnu.classpath.vm.shortname): Likewise.
6762
6763 2002-12-31 Tom Tromey <tromey@redhat.com>
6764 Ranjit Mathew <rmathew@hotmail.com>
6765
6766 Fix for PR libgcj/8997:
6767 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6768 Include platform.h.
6769 * include/posix.h (_Jv_platform_usleep): New function.
6770 * include/win32.h (_Jv_platform_usleep): New function.
6771
6772 2002-12-29 Tom Tromey <tromey@redhat.com>
6773
6774 * gcj/javaprims.h: Updated.
6775 * scripts/classes.pl (scan): Removed stray semicolon.
6776
6777 2002-12-30 Mark Wielaard <mark@klomp.org>
6778
6779 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6780 if zero or smaller.
6781
6782 2002-12-30 Mark Wielaard <mark@klomp.org>
6783
6784 * java/util/Properties (formatForOutput): Don't fall through to
6785 default case after escaping character.
6786
6787 2002-12-30 Mark Wielaard <mark@klomp.org>
6788
6789 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6790 against count.
6791
6792 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6793
6794 * boehm.cc: Remove stray semicolon.
6795 * interpret.cc: Likewise.
6796 * prims.cc: Likewise.
6797 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6798 earlier to ensure default arguments are processed.
6799 * gcj/array.h (JArray): Add forward declaration.
6800 (elements): Likewise.
6801 * gcj/javaprim.h: Remove stray semicolons.
6802 * include/bohm-gc.h: Likewise.
6803 * include/jni.h: Likewise.
6804 * include/jvm.h: Likewise.
6805 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6806
6807 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6808
6809 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6810 of catch_type.
6811 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6812 idt tables after initializing superclass.
6813 * java/lang/natClassLoader.cc (uaddr): New typedef.
6814 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6815 if they are constant pool indicies. Don't link vtable, otable yet.
6816
6817 2002-12-21 Anthony Green <green@redhat.com>
6818
6819 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6820 libraries.
6821 * Makefile.in: Rebuilt.
6822
6823 2002-12-19 Anthony Green <green@redhat.com>
6824
6825 * Makefile.am (ordinary_java_source_files): Add
6826 org/xml/sax/helpers/NewInstance.java.
6827 * Makefile.in: Rebuilt.
6828 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6829 org/xml/sax/helpers/package.html: New files.
6830 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6831 http://www.saxproject.org.
6832
6833 2002-12-19 Andrew Haley <aph@redhat.com>
6834
6835 * java/util/natResourceBundle.cc: Include
6836 ArrayIndexOutOfBoundsException.h.
6837 (getCallingClassLoader): Don't put upper bound on stack search.
6838 Catch ArrayIndexOutOfBoundsException.
6839
6840 2002-12-19 Tom Tromey <tromey@redhat.com>
6841
6842 * libtool-version: Increased `current'.
6843
6844 2002-12-19 Tom Tromey <tromey@redhat.com>
6845
6846 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6847 comment.
6848 * java/lang/ClassLoader.java (defineClass): Use chained
6849 exception when rethrowing.
6850 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6851 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6852 constants.
6853 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6854 (_Jv_PrepareClass): Use it.
6855 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6856 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6857 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6858 (Class): _Jv_PrepareMissingMethods now friend.
6859 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6860 Record `NULL' for system class loader.
6861 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6862 system class loader.
6863 (_Jv_FindClassInCache): Likewise.
6864 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6865 (_Jv_FindClass): Special case system class loader.
6866 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6867 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6868 vtable slots.
6869 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6870 in a final class.
6871 (_getDeclaredMethod): Don't return synthetic methods.
6872 (getDeclaredMethods): Likewise.
6873 (_getMethod): Likewise.
6874 (_getMethods): Likewise.
6875
6876 2002-12-18 Raif Naffah <raif@fl.net.au>
6877
6878 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6879 canonical form after divide().
6880 (modInverse): Likewise.
6881
6882 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6883 Mark Wielaard <mark@klomp.org>
6884
6885 * java/security/SecurityRandom (digest): Removed field.
6886 (SecureRandom): Check all providers for case-insensitive SecureRandom
6887 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6888 if necessary.
6889 (getInstance(String,Provider,boolean): New method.
6890 (getInstance(String)): Use new method.
6891 (getInstance(String,String)): Likewise.
6892 (getInstance(String,Provider)): Likewise.
6893
6894 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6895
6896 * java/security/Security.java (loadProviders): Increment i only once.
6897
6898 2002-12-12 Mark Wielaard <mark@klomp.org>
6899
6900 * java/lang/ClassLoader.java (resolveClass0): Transform
6901 ClassNotFoundException to NoClassDefFoundError. Transform all other
6902 throwables to LinkageError.
6903
6904 2002-12-11 Tom Tromey <tromey@redhat.com>
6905
6906 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6907
6908 * java/lang/ClassLoader.java (loadedClasses): New field.
6909 (defineClass): Fixed indentation. Put new class in
6910 loadedClasses.
6911 (findLoadedClass): Implement here.
6912 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6913
6914 2002-12-10 Tom Tromey <tromey@redhat.com>
6915
6916 * Makefile.in: Rebuilt.
6917 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6918 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6919 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6920 * java/lang/natClassLoader.cc
6921 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6922
6923 2002-12-10 Mark Wielaard <mark@klomp.org>
6924 Tom Tromey <tromey@redhat.com>
6925
6926 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6927 (JarURLLoader): Use it.
6928 (FileURLLoader): Likewise.
6929 (JarURLResource.getURL): Use chained exception.
6930 (FileResource.getURL): Likewise.
6931 (FileURLLoader.getResource): Use canonical file name.
6932 (addURL): Indentation fix.
6933
6934 2002-12-10 Tom Tromey <tromey@redhat.com>
6935
6936 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6937 From Laurent Bardet <l.bardet@magic.fr>.
6938
6939 2002-12-09 Tom Tromey <tromey@redhat.com>
6940
6941 * include/win32.h (_Jv_platform_solib_prefix): New define.
6942 (_Jv_platform_solib_suffix): Likewise.
6943 * include/posix.h (_Jv_platform_solib_prefix): New define.
6944 (_Jv_platform_solib_suffix): Likewise.
6945 * java/lang/natRuntime.cc: Include StackTrace.h.
6946 (_load): Use findLibrary and new platform defines.
6947 (nativeGetLibname): Use new platform defines.
6948
6949 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6950 `t' won't be null.
6951
6952 2002-12-08 Mark Wielaard <mark@klomp.org>
6953
6954 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6955 cache remote jar files.
6956 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6957 add File.separator to URL when it is a directory.
6958 * java/lang/ClassLoader.java: Add Classpath javadoc.
6959 (parent): final.
6960 (getParent): Add (disabled) security check.
6961 (findLibrary): New default method.
6962 * java/net/JarURLConnection.java (getManifest): Implement.
6963 (getInputStream): Only create InputStream when entry exists.
6964 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6965 when they exist.
6966 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6967
6968 2002-12-08 Mark Wielaard <mark@klomp.org>
6969
6970 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6971 (lastDefaultLocale): New field.
6972 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6973 resourceBundleCache.
6974
6975 2002-12-06 Mark Wielaard <mark@klomp.org>
6976
6977 * java/net/InetAddress.java (toString): Use hostname when not null,
6978 don't do an explicit reverse getHostName() lookup.
6979 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6980 NullPointerException.
6981
6982 2002-12-06 Tom Tromey <tromey@redhat.com>
6983
6984 * include/java-interp.h (class _Jv_InterpMethod): Added
6985 JV_MARKOBJ_DECL.
6986 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6987 mark `prepared' field of interpreted method.
6988 * interpret.cc (compile): Use _Jv_AllocBytes.
6989
6990 2002-12-05 Andrew Haley <aph@redhat.com>
6991
6992 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6993 #ifdef (HAVE_BACKTRACE) around the whole function body.
6994
6995 2002-12-05 Tom Tromey <tromey@redhat.com>
6996
6997 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6998 * resolve.cc: Don't include AbstractMethodError.h.
6999 (_Jv_abstractMethodError): Removed.
7000 * defineclass.cc (handleMethodsBegin): Initialize method index to
7001 -1.
7002 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
7003 method index for "new" final method.
7004 (_Jv_SetVTableEntries): Compare index against -1 instead of using
7005 isVirtualMethod. Added `flags' argument.
7006 (_Jv_MakeVTable): Throw exception for abstract method in concrete
7007 class.
7008
7009 2002-12-04 Tom Tromey <tromey@redhat.com>
7010
7011 * java/net/SocketPermission.java (hashCode): Rewrote.
7012
7013 2002-12-04 Tom Tromey <tromey@redhat.com>
7014
7015 * Makefile.in: Rebuilt.
7016 * Makefile.am (nat_source_files): Added natVMSecurityManager,
7017 natResourceBundle.
7018 * java/util/ResourceBundle.java (Security): Removed.
7019 (getCallingClassLoader): Now native.
7020 * java/util/natResourceBundle.cc: New file.
7021 * java/lang/natVMSecurityManager.cc: New file.
7022 * java/lang/VMSecurityManager.java (getClassContext): Now native.
7023
7024 2002-12-03 Mark Wielaard <mark@klomp.org>
7025
7026 * java/util/jar/JarFile.java (manifest): Not final.
7027 (manifestRead): New field.
7028 (JarFile): Don't read Manifest in constructor.
7029 (getManifest): New method.
7030 (JarEnumeration.nextElement): Use new method.
7031 (getEntry): Likewise.
7032 * java/util/zip/ZipFile.java (name): Final.
7033 (raf): Likewsie.
7034 (entries): Change type to Hashtable.
7035 (closed): New field.
7036 (ZipFile): Don't read enties in constructor.
7037 (readEntries): Use Hashtable.
7038 (close): Set new close flag and set entries to null inside
7039 synchronized block.
7040 (entries): Contruct enumeration using new getEntries() method and
7041 entries Hashtable.
7042 (getEntryIndex): Removed.
7043 (getEntries): New method.
7044 (getEntry): Use new getEntries() method and entries Hastable.
7045 (getInputStream): Likewise.
7046 (size): Return getEntries().size().
7047 (ZipEntryEnumeration): Wrap entries Hashtable elements.
7048 * java/util/zip/ZipEntry.java (cal): Don't initialize.
7049 (time): Removed
7050 (dostime): New field.
7051 (zipFileIndex): Removed.
7052 (ZipEntry(ZipEntry)): Copy dostime.
7053 (setDOSTime): Now final and doesn't convert dos time.
7054 (getDOSTime): Likewise.
7055 (setTime): Convert dos time.
7056 (getTime): Likewise.
7057 (getCalendar): New method.
7058 (setExtra): Use setTime().
7059 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
7060
7061 2002-12-03 Tom Tromey <tromey@redhat.com>
7062
7063 * java/lang/Character.java (forDigit): Formatting fix.
7064
7065 2002-12-03 Raif Naffah <raif@fl.net.au>
7066
7067 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
7068 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
7069 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
7070
7071 2002-12-03 Andrew Haley <aph@redhat.com>
7072
7073 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
7074 _Jv_PushClass.
7075 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
7076 (_Jv_PopClass): New.
7077 (_Jv_PushClass): New.
7078 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
7079 discover the ClassLoader of our caller.
7080 (_Jv_CheckArrayStore): Don't check that a class is assignment
7081 compatible with Object.
7082 * java/lang/natVMTHrowable.cc: Delete.
7083 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
7084 java.lang.VMThrowable.
7085 (StackTrace(), StackTrace(int)): New constructors.
7086 (classAt, methodAt, update, methodAtAddress): New methods.
7087 (map): New field.
7088 * java/lang/VMThrowable.java: Use StackTrace instead of
7089 natVMTHrowable.
7090 * java/lang/Class.h (getClassLoaderInternal): New.
7091 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
7092 Be friendly with gnu::gcj::runtime::StackTrace.
7093 (Object.chain): New field.
7094 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
7095 gnu::gcj::runtime::StackTrace.
7096 * gnu/gcj/runtime/natStackTrace.cc: New file.
7097 * gnu/gcj/runtime/MethodRef.java: New file.
7098 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
7099 instead of getClassLoader().
7100 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
7101 java::lang::VMThrowable.
7102 * Makefile.am (core_java_source_files): Add MethodRef.java,
7103 StackTrace.java.
7104 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
7105 * Makefile.in: Rebuild.
7106
7107 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
7108
7109 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
7110 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
7111 yes also for sh-linux* and sh[34]*-linux*.
7112 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
7113 set SIGNAL_HANDLER to use DWARF2 exception for them.
7114 * configure: Regenerate.
7115
7116 2002-12-02 Tom Tromey <tromey@redhat.com>
7117
7118 * jni.cc: Added `name' argument.
7119 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
7120 `const char *' argument.
7121 (class _Jv_JNIEnv) [DefineClass]: Likewise.
7122
7123 2002-12-01 Tom Tromey <tromey@redhat.com>
7124
7125 Bug compatibility, for PR libgcj/8738:
7126 * java/io/CharArrayWriter.java (close): Do nothing.
7127 (flush): Likewise.
7128 (reset): Don't touch `closed'.
7129 (write(int)): Don't throw IOException.
7130 (write(char[],int,int)): Likewise.
7131 (write(String,int,int)): Likewise.
7132 (closed): Removed.
7133
7134 2002-12-01 Mark Wielaard <mark@klomp.org>
7135
7136 * java/lang/SecurityManager.java: Remerge comments, indenting and
7137 checkXXX methods with Classpath.
7138
7139 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
7140
7141 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
7142 getNormalizedComponents): Fix calculation which was using one too
7143 many bits in the unnormalized format.
7144
7145 2002-11-29 Gary Benson <gbenson@redhat.com>
7146
7147 For PR libgcj/8759:
7148 * java/beans/Introspector.java (flushCaches): New method.
7149 (flushFromCaches): Likewise.
7150
7151 2002-11-29 Michael Koch <konqueror@gmx.de>
7152
7153 * java/nio/channels/DatagramChannel.java
7154 (open): Added exception documentation.
7155 (write): Added exception documentation.
7156 (connect): Added exception documentation.
7157 (disconnect): Added exception documentation.
7158 (isConnected): Added exception documentation.
7159 (read): Added exception documentation.
7160 (receive): Added exception documentation.
7161 (send): Added exception documentation.
7162 (validOps): Added exception documentation.
7163 * java/nio/channels/SocketChannel.java
7164 (open): Added exception documentation.
7165 (read): Added exception documentation.
7166 (write): Added exception documentation.
7167 (connect): Added exception documentation.
7168 (finishConnect): Added exception documentation.
7169
7170 2002-11-29 Michael Koch <konqueror@gmx.de>
7171
7172 * gnu/java/nio/DatagramChannelImpl:
7173 (fd): New member variable to store file descriptor of socket.
7174 * gnu/java/nio/SelectionKeyImpl.java:
7175 (ops): Removed.
7176 (readyOps): New member variable.
7177 (interestOps): New member variable.
7178 (readyOps): Implemented.
7179 (readyOps): New method to set member variable readyOps.
7180 (interestOps): Replaced ops by interestOps.
7181 * gnu/java/nio/SelectorImpl.java:
7182 (SelectorImpl): Initialize key sets.
7183 (select): Call select with -1 instead of Long.MAX_VALUE).
7184 (java_do_select): Make it a native method.
7185 (getFDsAsArray): New helper method.
7186 (select): Remove canceled keys, give only interested file discriptors
7187 to java_do_select, set ready ops.
7188 (add): No need to initialize keys set here.
7189 (add_selected): No need to initialize selected set here.
7190 (deregisterCanceledKeys): New helper method.
7191 (register): Set interest ops, set attachments, added handling of datagram
7192 channels.
7193 * gnu/java/nio/ServerSocketChannelImpl:
7194 (SocketAccept): Renamed from NioSocketAccept.
7195 (implConfigureBlocking): Implemented.
7196 (accept): Use SocketAccept instead of NioSocketAccept.
7197 * gnu/java/nio/SocketChannelImpl:
7198 Reactivate native methods.
7199
7200 2002-11-29 Michael Koch <konqueror@gmx.de>
7201
7202 * gnu/java/nio/natByteBufferImpl.cc,
7203 gnu/java/nio/natCharBufferImpl.cc,
7204 gnu/java/nio/natDoubleBufferImpl.cc,
7205 gnu/java/nio/natFloatBufferImpl.cc,
7206 gnu/java/nio/natIntBufferImpl.cc,
7207 gnu/java/nio/natLongBufferImpl.cc,
7208 gnu/java/nio/natSelectorImpl.cc,
7209 gnu/java/nio/natServerSocketChannelImpl.cc,
7210 gnu/java/nio/natShortBufferImpl.cc,
7211 gnu/java/nio/natSocketChannelImpl.cc:
7212 New files that implement native functionalities.
7213
7214 2002-11-29 Michael Koch <konqueror@gmx.de>
7215
7216 * gnu/java/nio/ByteBufferImpl.java
7217 (ByteBufferImpl): Moved position() after limit.
7218 (nio_*): Use native implementation.
7219 * gnu/java/nio/CharBufferImpl.java:
7220 Reformated.
7221 (endian): New member variable string endianess of buffer.
7222 (CharBufferImpl): Moved position() after limit.
7223 (nio_*): Use native implementation.
7224 (subSequence): Implemented.
7225 * gnu/java/nio/DoubleBufferImpl.java
7226 (DoubleBufferImpl): Moved position() after limit.
7227 (nio_*): Use native implementation.
7228 * gnu/java/nio/FloatBufferImpl.java
7229 Reformated.
7230 (FloatBufferImpl): Moved position() after limit.
7231 (nio_*): Use native implementation.
7232 * gnu/java/nio/IntBufferImpl.java
7233 Added needed imports, Reformated.
7234 (IntBufferImpl): Moved position() after limit.
7235 (nio_*): Use native implementation.
7236 * gnu/java/nio/LongBufferImpl.java
7237 Reformated.
7238 (LongBufferImpl): Moved position() after limit.
7239 (nio_*): Use native implementation.
7240 * gnu/java/nio/ShortBufferImpl.java
7241 Reformated.
7242 (ShortBufferImpl): Moved position() after limit.
7243 (nio_*): Use native implementation.
7244
7245 2002-11-27 Julian Dolby <dolby@us.ibm.com>
7246
7247 * java/util/Locale.java (toString): Improve efficiency if country
7248 and variant are both empty.
7249
7250 2002-11-26 Tom Tromey <tromey@redhat.com>
7251
7252 * verify.cc (pop_init_ref): New method.
7253 (verify_instructions_0) [op_iaload, op_laload, op_faload,
7254 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7255 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7256 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7257 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7258 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7259 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
7260 let `this' argument be uninitialized. Don't let `null' be passed
7261 as `this' to construtor.
7262
7263 2002-11-26 Mark Wielaard <mark@klomp.org>
7264
7265 * javax/transaction/HeuristicCommitException.java: Classpath merge.
7266 * javax/transaction/HeuristicMixedException.java: Likewise.
7267 * javax/transaction/HeuristicRollbackException.java: Likewise.
7268 * javax/transaction/InvalidTransactionException.java: Likewise.
7269 * javax/transaction/NotSupportedException.java: Likewise.
7270 * javax/transaction/RollbackException.java: Likewise.
7271 * javax/transaction/Status.java: Likewise.
7272 * javax/transaction/Synchronization.java: Likewise.
7273 * javax/transaction/SystemException.java: Likewise.
7274 * javax/transaction/Transaction.java: Likewise.
7275 * javax/transaction/TransactionManager.java: Likewise.
7276 * javax/transaction/TransactionRequiredException.java: Likewise.
7277 * javax/transaction/TransactionRolledbackException.java: Likewise.
7278 * javax/transaction/UserTransaction.java: Likewise.
7279 * javax/transaction/xa/XAException.java: Likewise.
7280 * javax/transaction/xa/XAResource.java: Likewise.
7281 * javax/transaction/xa/Xid.java: Likewise.
7282
7283 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
7284
7285 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7286 define.
7287 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7288 * include/posix.h (socklen_t): Define if not already defined.
7289
7290 2002-11-25 Tom Tromey <tromey@redhat.com>
7291
7292 * verify.cc (type::compatible): Backed out broken change.
7293
7294 * verify.cc (type::compatible): Check initialization status
7295 first.
7296 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7297 Don't use NULLCHECK.
7298
7299 2002-11-23 H.J. Lu <hjl@gnu.org>
7300
7301 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7302 Include ../config/accross.m4.
7303 * aclocal.m4; Rebuild.
7304 * configure: Likewise.
7305
7306 2002-11-23 Mark Wielaard <mark@klomp.org>
7307
7308 * javax/naming/AuthenticationException.java: Update copyright header.
7309 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7310 * javax/naming/Binding.java: Likewise.
7311 * javax/naming/CannotProceedException.java: Likewise.
7312 * javax/naming/CommunicationException.java: Likewise.
7313 * javax/naming/CompositeName.java: Likewise.
7314 * javax/naming/CompoundName.java: Likewise.
7315 * javax/naming/ConfigurationException.java: Likewise.
7316 * javax/naming/Context.java: Likewise.
7317 * javax/naming/ContextNotEmptyException.java: Likewise.
7318 * javax/naming/InitialContext.java: Likewise.
7319 * javax/naming/InsufficientResourcesException.java: Likewise.
7320 * javax/naming/InterruptedNamingException.java: Likewise.
7321 * javax/naming/LimitExceededException.java: Likewise.
7322 * javax/naming/LinkException.java: Likewise.
7323 * javax/naming/LinkLoopException.java: Likewise.
7324 * javax/naming/LinkRef.java: Likewise.
7325 * javax/naming/MalformedLinkException.java: Likewise.
7326 * javax/naming/NameAlreadyBoundException.java: Likewise.
7327 * javax/naming/NameClassPair.java: Likewise.
7328 * javax/naming/NameNotFoundException.java: Likewise.
7329 * javax/naming/NameParser.java: Likewise.
7330 * javax/naming/NamingEnumeration.java: Likewise.
7331 * javax/naming/NamingSecurityException.java: Likewise.
7332 * javax/naming/NoInitialContextException.java: Likewise.
7333 * javax/naming/NoPermissionException.java: Likewise.
7334 * javax/naming/NotContextException.java: Likewise.
7335 * javax/naming/OperationNotSupportedException.java: Likewise.
7336 * javax/naming/PartialResultException.java: Likewise.
7337 * javax/naming/Reference.java: Likewise.
7338 * javax/naming/Referenceable.java: Likewise.
7339 * javax/naming/ReferralException.java: Likewise.
7340 * javax/naming/ServiceUnavailableException.java: Likewise.
7341 * javax/naming/SizeLimitExceededException.java: Likewise.
7342 * javax/naming/TimeLimitExceededException.java: Likewise.
7343 * javax/naming/directory/Attribute.java: Likewise.
7344 * javax/naming/directory/AttributeInUseException.java: Likewise.
7345 * javax/naming/directory/AttributeModificationException.java: Likewise.
7346 * javax/naming/directory/Attributes.java: Likewise.
7347 * javax/naming/directory/BasicAttribute.java: Likewise.
7348 * javax/naming/directory/BasicAttributes.java: Likewise.
7349 * javax/naming/directory/DirContext.java: Likewise.
7350 * javax/naming/directory/InitialDirContext.java: Likewise.
7351 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7352 Likewise.
7353 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7354 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7355 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7356 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7357 * javax/naming/directory/ModificationItem.java: Likewise.
7358 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7359 * javax/naming/directory/SchemaViolationException.java: Likewise.
7360 * javax/naming/directory/SearchControls.java: Likewise.
7361 * javax/naming/directory/SearchResult.java: Likewise.
7362 * javax/naming/event/EventContext.java: Likewise.
7363 * javax/naming/event/EventDirContext.java: Likewise.
7364 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7365 * javax/naming/event/NamingEvent.java: Likewise.
7366 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7367 * javax/naming/event/NamingListener.java: Likewise.
7368 * javax/naming/event/ObjectChangeListener.java: Likewise.
7369 * javax/naming/ldap/Control.java: Likewise.
7370 * javax/naming/ldap/ControlFactory.java: Likewise.
7371 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7372 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7373 * javax/naming/ldap/HasControls.java: Likewise.
7374 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7375 * javax/naming/ldap/LdapContext.java: Likewise.
7376 * javax/naming/ldap/LdapReferralException.java: Likewise.
7377 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7378 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7379 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7380 * javax/naming/spi/DirObjectFactory.java: Likewise.
7381 * javax/naming/spi/DirStateFactory.java: Likewise.
7382 * javax/naming/spi/DirectoryManager.java: Likewise.
7383 * javax/naming/spi/InitialContextFactory.java: Likewise.
7384 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7385 * javax/naming/spi/NamingManager.java: Likewise.
7386 * javax/naming/spi/ObjectFactory.java: Likewise.
7387 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7388 * javax/naming/spi/ResolveResult.java: Likewise.
7389 * javax/naming/spi/Resolver.java: Likewise.
7390 * javax/naming/spi/StateFactory.java: Likewise.
7391
7392 * javax/naming/spi/NamingManager.java (ofb): Package private.
7393
7394 2002-11-21 Mark Wielaard <mark@klomp.org>
7395
7396 * java/net/URL.java: Merge with Classpath (partly).
7397 * java/net/URLStreamHandler: Merge with Classpath.
7398
7399 2002-11-22 Michael Koch <konqueror@gmx.de>
7400
7401 * include/posix.h:
7402 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7403 * include/win32.h:
7404 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7405 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7406
7407 2002-11-21 Michael Koch <konqueror@gmx.de>
7408
7409 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7410 Only the new network functions should be in it.
7411
7412 2002-11-21 Michael Koch <konqueror@gmx.de>
7413
7414 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7415 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7416
7417 2002-11-21 Michael Koch <konqueror@gmx.de>
7418
7419 * java/nio/channels/AsynchronousCloseException.java,
7420 java/nio/channels/CancelledKeyException.java,
7421 java/nio/channels/ClosedByInterruptException.java,
7422 java/nio/channels/ConnectionPendingException.java,
7423 java/nio/channels/FileLockInterruptionException.java,
7424 java/nio/channels/IllegalSelectorException.java,
7425 java/nio/channels/NoConnectionPendingException.java,
7426 java/nio/channels/NonReadableChannelException.java,
7427 java/nio/channels/NonWritableChannelException.java,
7428 java/nio/channels/NotYetBoundException.java,
7429 java/nio/channels/NotYetConnectedException.java,
7430 java/nio/channels/OverlappingFileLockException.java,
7431 java/nio/channels/UnresolvedAddressException.java,
7432 java/nio/channels/UnsupportedAddressTypeException.java:
7433 New files.
7434 * Makefile.am (ordinary_java_source_files): Added new files.
7435 * Makefile.in: Regenerated.
7436
7437 2002-11-21 Michael Koch <konqueror@gmx.de>
7438
7439 * include/posix.h
7440 (_Jv_socket): New method.
7441 (_Jv_connect): New method.
7442 (_Jv_close): New method.
7443 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7444 (_Jv_bind): New method.
7445 (_Jv_listen): New method.
7446 (_Jv_write): New method.
7447 (_Jv_read): New method.
7448 * include/win32.h
7449 (_Jv_socket): New method.
7450 (_Jv_connect): New method.
7451 (_Jv_close): New method.
7452 (_Jv_bind): New method.
7453 (_Jv_listen): New method.
7454 (_Jv_write): New method.
7455 (_Jv_read): New method.
7456 * java/net/natNetworkInterface.cc:
7457 Include platform.h, removed inclusion of socket.h
7458 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7459 ::close() by _Jv_close().
7460 * java/net/natPlainDatagramSocketImpl.cc:
7461 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7462 added some new lines to make code more readable.
7463 (create): Replaced ::socket() by _Jv_socket().
7464 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7465 * java/net/natPlainSocketImpl.cc:
7466 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7467 removed include of socket.h, removed some windows defines
7468 (now in include/win32.h).
7469 (create): Replaced ::socket() by _Jv_socket().
7470 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7471 (write): Replaced ::read by _Jv_write().
7472 (read): Replaced ::read by _Jv_read().
7473
7474 2002-11-20 Michael Koch <konqueror@gmx.de>
7475
7476 * Makefile.am (ordinary_java_source_files):
7477 Added java/nio/channels/FileChannel.java.
7478 * Makefile.in: Regenerated.
7479
7480 2002-11-20 Michael Koch <konqueror@gmx.de>
7481
7482 * java/io/FileInputStream.java
7483 (getChannel): New method.
7484 * java/io/FileOutputStream.java
7485 (getChannel): New method.
7486 * java/net/ServerSocket.java
7487 (bind): Removed duplicate code and called another bind method instead.
7488 * java/nio/channels/SelectionKey.java
7489 (isValid): Removed wrong exception documentation.
7490 * java/nio/channels/ServerSocketChannel.java
7491 (accept): Added exception documentation.
7492 (open): Fixed typo, added exception documentation.
7493 * java/nio/channels/spi/AbstractSelectableChannel.java
7494 (implCloseChannel): Added exception documentation.
7495 (add): Reformated.
7496 (register): Added exception documentation.
7497
7498 2002-11-20 Andreas Jaeger <aj@suse.de>
7499
7500 * configure: Regenerated with new libtool.m4.
7501
7502 2002-11-19 Tom Tromey <tromey@redhat.com>
7503
7504 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7505 `referent'.
7506 (finalize_referred_to_object): Don't modify `referent' or `copy'
7507 fields.
7508 (add_to_hash): Correctly set `n->next' when updating list.
7509 * java/lang/ref/Reference.java (enqueue): Return false if already
7510 enqueued.
7511
7512 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7513
7514 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7515 to function and function pointer declarations in accordance with
7516 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7517 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7518 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7519 JNI function definitions.
7520
7521 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7522
7523 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7524 that was causing CoderResults to be cached, not WeakReferences
7525 to CoderResults.
7526
7527 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7528
7529 * java/security/KeyStore.java (getInstance): Fix
7530 comment and throw IllegalArgumentException if
7531 given provider is null.
7532 (getInstance): New method for jdk1.4 compatibility.
7533
7534 2002-11-18 Michael Koch <konqueror@gmx.de>
7535
7536 * java/net/PlainSocketImpl.java: Fix imports.
7537
7538 2002-11-18 Michael Koch <konqueror@gmx.de>
7539
7540 * java/nio/channels/SelectionKey.java
7541 (isValid): Added exception documentation.
7542 * java/nio/channels/Selector.java
7543 (open): Declare "throws IOException".
7544
7545 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7546
7547 * java/nio/charset/Charset.java
7548 (<clinit>): New method.
7549 (encode): Synchronize use of cached encoder object.
7550 (decode): Synchronize use of cached encoder object.
7551
7552 2002-11-18 Michael Koch <konqueror@gmx.de>
7553
7554 * gnu/java/nio/ByteBufferImpl.java,
7555 gnu/java/nio/CharBufferImpl.java,
7556 gnu/java/nio/DatagramChannelImpl.java,
7557 gnu/java/nio/DoubleBufferImpl.java,
7558 gnu/java/nio/FileChannelImpl.java,
7559 gnu/java/nio/FloatBufferImpl.java,
7560 gnu/java/nio/IntBufferImpl.java,
7561 gnu/java/nio/LongBufferImpl.java,
7562 gnu/java/nio/PipeImpl.java,
7563 gnu/java/nio/SelectionKeyImpl.java,
7564 gnu/java/nio/SelectorImpl.java,
7565 gnu/java/nio/SelectorProviderImpl.java,
7566 gnu/java/nio/ServerSocketChannelImpl.java,
7567 gnu/java/nio/ShortBufferImpl.java,
7568 gnu/java/nio/SocketChannelImpl.java,
7569 java/nio/DoubleBuffer.java,
7570 java/nio/FloatBuffer.java,
7571 java/nio/IntBuffer.java,
7572 java/nio/LongBuffer.java,
7573 java/nio/ShortBuffer.java,
7574 java/nio/channels/FileChannel.java: New files.
7575
7576 2002-11-18 Michael Koch <konqueror@gmx.de>
7577
7578 * Makefile.am (ordinary_java_source_files):
7579 Added java/nio/ReadOnlyBufferException.java and
7580 java/nio/channels/ClosedSelectorException.java.
7581 * Makefile.in: Regenerated.
7582
7583 2002-11-18 Michael Koch <konqueror@gmx.de>
7584
7585 * java/net/PlainSocketImpl.java: Reworked imports.
7586 * java/net/ServerSocket.java
7587 (ServerSocket): Create socket.
7588 * java/net/SocketAddress.java: Documentation added.
7589 * java/net/natPlainSocketImpl.cc: Reindented.
7590 * java/nio/ReadOnlyBufferException.java: New file
7591 * java/nio/channels/ClosedChannelException.java: Documentation added.
7592 * java/nio/channels/ClosedSelectorException.java: New file.
7593
7594 2002-11-17 Mark Wielaard <mark@klomp.org>
7595
7596 * java/net/HttpURLConnection.java ((getPermission): Take port
7597 into consideration.
7598 (getErrorStream): Implement.
7599
7600 2002-11-17 Mark Wielaard <mark@klomp.org>
7601
7602 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7603
7604 2002-11-16 Mark Wielaard <mark@klomp.org>
7605
7606 Integrate work by Raif S. Naffah (raif@fl.net.au)
7607 * java/security/DummyKeyPairGenerator.java (clone): New method.
7608 * java/security/DummyMessageDigest.java (clone): New method.
7609 (engineUpdate): Now public.
7610 (engineReset): Likewise.
7611 (engineDigest): Likewise.
7612 (engineGetDigestLength): New method.
7613 * java/security/DummySignature.java (clone): New method.
7614 * java/security/KeyPairGenerator.java (provider): Now package private.
7615 (getInstance(String)): Use getInstance(String,Provider).
7616 (getInstance(String,String): Use getInstance(String,Provider)
7617 (getInstance(String,Provider): New method.
7618 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7619 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7620 * java/security/MessageDigest.java (provider): Now package private.
7621 (getInstance(String): Use getInstance(String,Provider).
7622 (getInstance(String,String): Use getInstance(String,Provider)
7623 (getInstance(String,Provider): New method.
7624 * java/security/Provider.java (toCanonicalKey): New method.
7625 (get): New method that uses toCanonicalKey().
7626 (put): Use toCanonicalKey().
7627 (remove): Likewise.
7628 * java/security/Security.java (insertProviderAt): Provider index is one
7629 based, not zero based.
7630 (addProvider): Likewise.
7631 (removeProvider): Likewise.
7632 * java/security/Signature.java (provider): Now package private.
7633 (getInstance(String)): Use getInstance(String,Provider).
7634 (getInstance(String,String): Use getInstance(String,Provider)
7635 (getInstance(String,Provider): New method.
7636 (getInstance(String,String,Provider): Don't cast DummySignature.
7637
7638 2002-11-15 Tom Tromey <tromey@redhat.com>
7639
7640 For PR libgcj/8593:
7641 * java/util/zip/GZIPInputStream.java (read): Check file size.
7642 Look in inflater for remaining input bytes.
7643 (read4): Added buf and offset arguments.
7644
7645 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7646
7647 * java/applet/AppletContext.java: Fix typo and remove redundant
7648 modifiers.
7649
7650 2002-11-14 Tom Tromey <tromey@redhat.com>
7651
7652 * java/lang/natRuntime.cc (insertSystemProperties): Set
7653 gnu.classpath.home.
7654
7655 2002-11-13 Michael Koch <konqueror@gmx.de>
7656
7657 * java/nio/ByteBuffer.java
7658 (allocate): New method.
7659 (wrap): New method.
7660 (put): New method.
7661 (get): New method.
7662
7663 2002-11-13 Michael Koch <konqueror@gmx.de>
7664
7665 * java/nio/channels/AlreadyConnectedException.java:
7666 Removed unneeded import.
7667 (AlreadyConnectedException): Documentation added.
7668 * java/nio/channels/Pipe.java
7669 (SinkChannel.SinkChannel): Documentation added.
7670 (SinkChannel.validOps): New method.
7671 (SourceChannel.SourceChannel): Documentation added.
7672 (SourceChannel.validOps): New method.
7673 (Pipe): Documentation added.
7674 (open): Documentation added.
7675 (SinkChannel.channel): Documentation added.
7676 (SourceChannel.channel): Documentation added.
7677 * java/nio/channel/SelectableChannel.java
7678 (SelectableChannel): Documentation added.
7679 (blockingLock): Documentation added.
7680 (configureBlocking):Documentation added.
7681 (isBlocking):Documentation added.
7682 (isRegistered):Documentation added.
7683 (keyFor):Documentation added.
7684 (provider):Documentation added.
7685 (register): Documentation added.
7686 (validOps): Documentation added.
7687 * jaba/nio/channels/SelectionKey.java
7688 (SelectionKey): Documentation added.
7689 (attach): Documentation added.
7690 (attachment): Documentation added.
7691 (isAcceptable): Documentation added.
7692 (isConnetable): Documentation added.
7693 (isReadable): Documentation added.
7694 (isWritable): Documentation added.
7695 (cancel): Documentation added.
7696 (channel): Documentation added.
7697 (interestOps): Documentation added.
7698 (isValid): Documentation added.
7699 (readyOps): Documentation added.
7700 (selector): Documentation added.
7701 * jaba/nio/channels/Selector.java
7702 (Selector): Documentation added.
7703 (open): Documentation added.
7704 (close): Documentation added.
7705 (isOpen): Documentation added.
7706 (keys): Documentation added.
7707 (provider): Documentation added.
7708 (select): Documentation added.
7709 (selectedKeys): Documentation added.
7710 (selectNow): Documentation added.
7711 (wakeup): Documentation added.
7712 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7713 (AbstractInterruptibleChannel): Documentation added.
7714 (opened): Default to true;
7715 (begin): Documentation added.
7716 (close): Set opened to false, documentation added.
7717 (isOpen): Documentation added.
7718 * java/nio/channels/spi/AbstractSelectionKey.java
7719 (AbstractSelectionKey): Documentation added.
7720 (cancel): Documentation added.
7721 (isValid): Documentation added.
7722 * java/nio/channels/spi/AbstractSelector.java
7723 (AbstractSelector): Documentation added.
7724 (begin): Documentation added.
7725 (close): Documentation added.
7726 (isOpen): Documentation added.
7727 (deregister): Documentation added.
7728 (end): Documentation added.
7729 (provider): Documentation added.
7730 (implCloseSelector): Documentation added.
7731 (register): Documentation added.
7732 * java/nio/channels/spi/SelectorProvider.java
7733 (SelectorProvider): Documentation added.
7734 (openDatagramChannel): Documentation added.
7735 (openPipe): Documentation added.
7736 (openSelector): Documentation added.
7737 (openServerSocketChannel): Documentation added.
7738 (openSocketChannel): Documentation added.
7739 (provider): Documentation added.
7740
7741 2002-11-12 Michael Koch <konqueror@gmx.de>
7742
7743 * java/nio/Buffer.java: Implemented.
7744 * java/nio/CharBuffer.java: New file.
7745 * java/nio/InvalidMarkException.java: New file.
7746 * java/nio/channels/DatagramChannel.java: Implemented.
7747 * java/nio/channels/ServerSocketChannel.java: Implemented.
7748 * java/nio/channels/SocketChannel.java: Implemented.
7749 * java/nio/channels/spi/AbstractChannel.java: Removed.
7750 * java/nio/channels/spi/AbstractSelectableChannel.java:
7751 Implemented.
7752 * java/nio/charset/Charset.java:
7753 Merge from Classpath.
7754 * java/nio/charset/CharsetDecoder.java: New file.
7755 * java/nio/charset/CharsetEncoder.java: New file.
7756 * java/nio/charset/CoderResult.java: New file.
7757 * Makefile.am (ordinary_java_source_files): Added new files.
7758 * Makefile.in: Regenerated.
7759
7760 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7761
7762 * gnu/java/nio/charset/ISO_8859_1.java,
7763 gnu/java/nio/charset/Provider.java,
7764 gnu/java/nio/charset/US_ASCII.java,
7765 gnu/java/nio/charset/UTF_16.java,
7766 gnu/java/nio/charset/UTF_16BE.java,
7767 gnu/java/nio/charset/UTF_16Decoder.java,
7768 gnu/java/nio/charset/UTF_16Encoder.java,
7769 gnu/java/nio/charset/UTF_16LE.java,
7770 gnu/java/nio/charset/UTF_8.java: New files.
7771
7772 2002-11-11 Michael Koch <konqueror@gmx.de>
7773
7774 * java/nio/charset/CharacterCodingException.java:
7775 This class must be public.
7776 * java/nio/charset/CoderMalfunctionError.java:
7777 This class must be public.
7778 * java/nio/charset/CodingErrorAction.java:
7779 This class must be public.
7780 * java/nio/charset/IllegalCharsetNameException.java:
7781 This class must be public, better implementation.
7782 * java/nio/charset/MalformedInputException.java:
7783 This class must be public, better implementation.
7784 * java/nio/charset/UnmappableCharacterException.java:
7785 This class must be public, better implementation.
7786 * java/nio/charset/UnsupportedCharsetException.java:
7787 This class must be public, better implementation.
7788
7789 2002-11-11 Michael Koch <konqueror@gmx.de>
7790
7791 * java/nio/BufferOverflowException.java,
7792 java/nio/BufferUnderflowException.java: New file.
7793 * Makefile.am (ordinary_java_source_files):
7794 Added new files.
7795 * Makefile.in: Regenerated.
7796
7797 2002-11-10 Tom Tromey <tromey@redhat.com>
7798
7799 * java/awt/Container.java (validate): Use tree lock.
7800 (getComponent): Likewise.
7801 (getComponents): Likewise.
7802 (addImpl): Likewise.
7803 (remove): Likewise.
7804 (removeAll): Likewise.
7805 (processEvent): Fixed indentation.
7806 (getComponentAt): Use tree lock.
7807 (findComponentAt): Likewise.
7808 (removeNotify): Likewise.
7809 (isAncestorOf): Likewise.
7810 (list): Likewise.
7811 (visitChildren): Likewise.
7812 (findNextFocusComponent): Likewise.
7813 (addNotifyContainerChildren): Likewise.
7814 (getAccessibleChildrenCount): Likewise.
7815 (getAccessibleChild): Likewise.
7816
7817 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7818 (getSize): Likewise.
7819 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7820 (getSize): Likewise.
7821 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7822 (calcSize): Likewise.
7823 * java/awt/CardLayout.java (getSize): Use tree lock.
7824 (gotoComponent): Likewise.
7825 (layoutContainer): Likewise.
7826
7827 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7828 count is 0.
7829 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7830 count is 0.
7831
7832 * java/io/Externalizable.java, java/io/FilePermission.java,
7833 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7834 java/io/SerializablePermission.java, java/text/Format.java,
7835 java/util/AbstractMap.java, java/util/HashMap.java,
7836 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7837 versions from Classpath.
7838
7839 2002-11-10 Anthony Green <green@redhat.com>
7840
7841 * java/util/jar/Attributes.java (Name): Fix name check.
7842
7843 2002-11-10 Mark Wielaard <mark@klomp.org>
7844
7845 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7846 with getName() as message.
7847 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7848 type as message.
7849
7850 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7851 unused.
7852
7853 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7854
7855 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7856 for Win32. JNICALL has been defined to __stdcall to be compatible
7857 with Sun's JDKs.
7858
7859 2002-11-10 Tom Tromey <tromey@redhat.com>
7860
7861 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7862 (setRows): Check newRows, not rows.
7863
7864 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7865
7866 2002-11-09 Tom Tromey <tromey@redhat.com>
7867
7868 * java/applet/Applet.java, java/applet/AppletContext.java,
7869 java/applet/AppletStub.java, java/applet/AudioClip.java,
7870 java/awt/CardLayout.java,
7871 java/awt/ContainerOrderFocusTraversalPolicy.java,
7872 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7873 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7874 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7875 java/awt/color/ICC_ColorSpace.java,
7876 java/awt/color/ICC_Profile.java,
7877 java/awt/color/ICC_ProfileGray.java,
7878 java/awt/color/ICC_ProfileRGB.java,
7879 java/awt/datatransfer/DataFlavor.java,
7880 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7881 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7882 New versions from Classpath.
7883 * Makefile.in: Rebuilt.
7884 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7885 ICC_ProfileRGB.
7886
7887 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7888 display policy.
7889
7890 * java/awt/List.java (processEvent): Added missing `else's.
7891
7892 * java/awt/Window.java (show): validate() before showing. Make
7893 parent displayable.
7894 (isDisplayable): New method.
7895
7896 2002-11-07 Mark Wielaard <mark@klomp.org>
7897
7898 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7899 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7900
7901 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7902 annotation.
7903 (loadClass): Take String as codebases.
7904 (getClassAnnotation): Use MyClassLoader annotations.
7905 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7906 call exportObject(this).
7907
7908 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7909 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7910 (setAnnotation): Don't set locBytesStream and locStream.
7911 (replaceObject): Removed.
7912 (flush): Don't test locStream.
7913 (getLocBytes): LikeWise.
7914 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7915 (leaseCache): New field.
7916 (dirty): Use leaseCache.
7917 (LeaseRecord): New inner class.
7918 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7919 explicitly call exportObject().
7920 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7921 false to communicate with Sun JDK130.
7922 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7923 * gnu/java/rmi/server/RMIObjectInputStream.java
7924 (UnicastConnectionManager): Removed field.
7925 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7926 Use UnicastServer.getExportedRef().
7927 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7928 (expireTime): Likewise.
7929 (CONNECTION_TIMEOUT): Likewise.
7930 (disconnect): Call sock.close().
7931 (isExpired): New method.
7932 (resetTime): Likewise.
7933 (run): Use do while loop and catch Exception for discardConnection().
7934 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7935 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7936 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7937 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7938 (exportObject): Use refcache.
7939 (unexportObject): Likewise.
7940 (getExportedRef): New method.
7941 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7942 constructor.
7943 (exportObject): Save manager.serverobj.
7944 (getStub): New method.
7945
7946 2002-11-07 Mark Wielaard <mark@klomp.org>
7947
7948 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7949 (getByte): Likewise.
7950 (getShort): Likewise.
7951 (getInt): Likewise.
7952 (getLong): Likewise.
7953 (getFloat): Likewise.
7954 (getDouble): Likewise.
7955 (get): Likewise.
7956 (setChar): Likewise.
7957 (setByte): Likewise.
7958 (setShort): Likewise.
7959 (setInt): Likewise.
7960 (setLong): Likewise.
7961 (setFloat): Likewise.
7962 (setDouble): Likewise.
7963
7964 2002-11-07 Michael Koch <konqueror@gmx.de>
7965
7966 * java/awt/Choice.java,
7967 java/awt/Container.java,
7968 java/awt/GridBagLayout.java:
7969 Fixed documentation.
7970 * java/awt/peer/ContainerPeer.java:
7971 Reindented.
7972
7973 2002-11-07 Michael Koch <konqueror@gmx.de>
7974
7975 * java/awt/color/ICC_Profile.java:
7976 Added missing constants.
7977 * java/awt/color/ICC_ColorSpace.java
7978 (getMinValue): Added dummy implementation.
7979 (getMaxValue): Added dummy implementation.
7980 * java/awt/datatransfer/DataFlavor.java
7981 (imageFlavor): Added.
7982 (isMimeTypeEqual): Must be final.
7983 (getDefaultRepresentationClass): Must be non-static.
7984 (getDefaultRepresentationClassAsString): Must be non-static.
7985 * java/awt/dnd/DragSourceContext.java
7986 (dragExit): Corrected argument.
7987 (dragDropEnd): Corrected argument.
7988 * java/awt/dnd/DragSourceListener.java.java
7989 (dragExit): Corrected argument.
7990 (dragDropEnd): Corrected argument.
7991 * java/awt/font/TextHitInfo.java
7992 (toString): Added stubbed implementation.
7993 * java/awt/geom/PathIterator.java:
7994 The constants must be static.
7995 * java/awt/image/VolatileImage.java
7996 (IMAGE_INCOMPATIBLE): Fixed typo.
7997 * java/awt/image/renderable/RenderableImage.java
7998 (HINTS_OBSERVED): Must be static.
7999 * java/beans/BeanInfo.java:
8000 Constants must be final.
8001
8002 2002-11-06 Tom Tromey <tromey@redhat.com>
8003
8004 From svens@it.uu.se. For PR libgcj/8481.
8005 * java/util/Random.java (nextInt(int)): Only use 31 bits.
8006
8007 2002-11-06 Tom Tromey <tromey@redhat.com>
8008
8009 * jni.cc (array_from_valist): Assume that jlong won't be
8010 promoted.
8011
8012 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
8013
8014 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
8015 Return 20.
8016 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
8017 Return 16.
8018
8019 2002-11-03 Tom Tromey <tromey@redhat.com>
8020
8021 * java/lang/ClassLoader.java (loadClass): Call loadClass on
8022 VMClassLoader, not findClass.
8023
8024 2002-11-03 Jeff Sturm <jsturm@one-point.com>
8025
8026 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
8027 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
8028 _Jv_DetermineVTableIndex, to determine vtable offset.
8029 (_Jv_DetermineVTableIndex): Remove.
8030 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
8031
8032 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
8033
8034 2002-11-03 Tom Tromey <tromey@redhat.com>
8035
8036 * java/nio/channels/AlreadyConnectedException.java: Extend
8037 IllegalStateException, per spec.
8038
8039 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
8040
8041 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
8042
8043 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
8044
8045 * java/util/ArrayList.java (readObject, writeObject): Only read/write
8046 size items.
8047
8048 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
8049
8050 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
8051 initial estimated size to avoid enlarge buffer frequently.
8052
8053 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
8054
8055 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
8056 ClassLoader when null.
8057 (ProxyType.hashCode): Loader null check no longer needed.
8058 (ProxyType.sameTypes): New method.
8059 (ProxyType.equals): Use new method.
8060
8061 2002-10-31 Mark Wielaard <mark@klomp.org>
8062
8063 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
8064 length of String.
8065 * java/net/URLEncoder.java (encode): Likewise.
8066
8067 2002-10-31 Mark Wielaard <mark@klomp.org>
8068
8069 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
8070 when stream is closed.
8071 (closeEntry): Likewise.
8072 (read): Likewise.
8073 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
8074 ZipException when no entry active.
8075 (closeEntry): Likewise.
8076 (write): Likewise.
8077
8078 2002-11-02 Tom Tromey <tromey@redhat.com>
8079
8080 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
8081 * java/lang/natClass.cc (initializeClass): Don't return just
8082 because self==thread.
8083
8084 For PR java/8415:
8085 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
8086 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
8087
8088 2002-11-02 Andreas Schwab <schwab@suse.de>
8089
8090 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
8091 pass GCJFLAGS.
8092 (FLAGS_TO_PASS): Define.
8093 * Makefile.in: Regenerated.
8094
8095 2002-11-01 Michael Koch <konqueror@gmx.de>
8096
8097 * java/nio/ByteOrder.java: New file.
8098 * java/nio/channels/DatagramChannel.java:
8099 (DatagramChannel): New constructor.
8100 * java/nio/channels/Pipe.java: New file.
8101 * java/nio/channels/SelectableChannel.java: New file.
8102 * java/nio/channels/SelectionKey.java: New file.
8103 * java/nio/channels/Selector.java: New file.
8104 * java/nio/channels/ServerSocketChannel.java
8105 (ServerSocketChannel): New constructor.
8106 * java/nio/channels/SocketChannel.java
8107 (SocketChannel): New constructor.
8108 * java/nio/channels/Pipe.java: New file.
8109 * java/nio/channels/spi/AbstractChannel.java: New file.
8110 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
8111 * java/nio/channels/spi/AbstractSelectableChannel.java:
8112 License added
8113 (AbstractSelectableChannel): New stubbed method.
8114 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
8115 * java/nio/channels/spi/AbstractSelector.java: New file.
8116 * java/nio/channels/spi/SelectorProvider.java: New file.
8117 * java/nio/charset/Charset.java: New file.
8118 * java/nio/charset/CoderMalfunctionError.java: New file.
8119 * java/nio/charset/CodingErrorAction.java: New file.
8120 * java/nio/charset/spi/CharsetProvider.java
8121 (charsetForName): Uncommented.
8122 * Makefile.am (java_native_source_files): Added new files.
8123 * Makefile.in: Regenerated.
8124
8125 2002-11-01 Michael Koch <konqueror@gmx.de>
8126
8127 * java/net/InetAddress.java:
8128 (isAnyLocalAddress): Implemented.
8129 (isLoopbackAddress): Implemented, comment added.
8130 (isLinkLocalAddress): Implemented, documentation added.
8131 (isSiteLocalAddress): Implemented, documentation added.
8132 (isMCGlobal): Implemented, documentation added.
8133 (isMCNodeLocal): Implemented, documentation added.
8134 (isMCLinkLocal): Implemented, documentation added.
8135 (isMCSiteLocal): Implemented, documentation added.
8136 (isMCOrgLocal): Implemented, documentation added.
8137 (getHostName): Documentation added.
8138 (getCanonicalHostName): Implemented, documentation added.
8139 (getAddress): Documentation added.
8140 (hashCode): Documentation added.
8141 (equals): Documentation added.
8142 (toString): Fixed implementation.
8143 (getByAddress): Use Inet4Address and Inet6Address.
8144 (lookup): New linewrap.
8145 (getByName): SecurityManager check added, support Inet4Address and
8146 Inet6address, comments added.
8147 (getAllByName): SecurityManager check added, comments added.
8148 * java/net/Inet6Address.java:
8149 (Inet6Address): Initialize parent class with addr instead of null.
8150 * java/net/URL.java
8151 (equals): Documentation added.
8152 (getFile): Documentation added.
8153 (hashCode): Documentation added.
8154 * java/net/natInetAddress.cc:
8155 (aton): Fix IPv6 support.
8156 * java/net/natPlainDatagramSocketImpl.cc:
8157 (peek): Throw PortUnreachableException when suitable.
8158 (peekData): Throw PortUnreachableException when suitable.
8159 (send): Throw PortUnreachableException when suitable.
8160 (receive): Throw PortUnreachableException when suitable.
8161
8162 2002-10-27 Mark Wielaard <mark@klomp.org>
8163
8164 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8165 argument.
8166 (readLeShort): Likewise and use byte[].
8167 (readLeInt): Likewise.
8168 (readEntries): Use new versions of methods and use byte[] for reading
8169 a complete zip entry. Add ZipFile name to exceptions.
8170 (entries): Add ZipFile name to exceptions.
8171 (getEntry): Likewise.
8172 (checkLocalHeader): Use new versions of methods and add ZipFile name
8173 to exceptions.
8174
8175 2002-10-31 Mark Anderson <mark@panonet.net>
8176
8177 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8178 added
8179
8180 2002-10-25 Krister Walfridsson <cato@df.lth.se>
8181
8182 * configure.in: Disable hash sync when not using threads.
8183 * configure: Regenerated.
8184
8185 2002-10-24 Tom Tromey <tromey@redhat.com>
8186
8187 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8188 (_Jv_FindSymbolInExecutable): Removed argument name.
8189 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8190 java.library.path is set.
8191
8192 * gij.cc (help): Document --showversion.
8193 (version): Don't exit.
8194 (main): Handle --showversion. Exit if --version given.
8195
8196 2002-10-23 Tom Tromey <tromey@redhat.com>
8197
8198 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8199 (array_from_valist): Correctly handle promotion for jint, jlong,
8200 jfloat, and jdouble.
8201
8202 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
8203
8204 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8205 GetFileAttributesEx( ) to find file length and modification times,
8206 as the latter is not present on Windows 95.
8207
8208 2002-10-21 Michael Koch <konqueror@gmx.de>
8209
8210 * java/net/URL.java
8211 (URL): Activate SecurityManager checks.
8212 (equals): Use URLStreamHandler implementation instead of doing it
8213 alone. This allows special protocol stream handlers to change default
8214 behaviour.
8215 (hashCode): Use URLStreamHandler implementation instead of doing it
8216 alone. This allows special protocol stream handlers to change default
8217 behaviour.
8218 * java/net/URLStreamHandler.java
8219 (equals): Implemented default URL equality check.
8220 (hostsEqual): Implemented default URL equality check.
8221 (hashCode): Implemented default URL hashCode algorithm.
8222 * java/net/natPlainDatagramSocketImpl.cc:
8223 No lines longer then 80 characters.
8224
8225 2002-10-20 Adam Megacz <adam@xwt.org>
8226
8227 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8228 * configure.in: enabled hash sync on Win32
8229 * include/win32-threads.h (_Jv_ThreadId_t): added.
8230 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8231 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8232 removed some posix-isms, use Thread::sleep() instead of usleep,
8233 added code to clear bottom three bits if platform has a broken
8234 linker.
8235 * include/win32-threads.h (_Jv_ThreadId_t): added.
8236
8237 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
8238
8239 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8240 runtime property "gnu.gcj.progname" containing the name used to
8241 invoke the current Java program (similar to argv[0] for C
8242 programs).
8243
8244 2002-10-15 Tom Tromey <tromey@redhat.com>
8245
8246 Fix for PR libgcj/8234:
8247 * java/util/zip/natInflater.cc (reset): Reset avail_in.
8248 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8249
8250 2002-10-13 Mark Wielaard <mark@klomp.org>
8251
8252 * mauve-libgcj: Enable Mauve tests that compile now.
8253
8254 2002-10-11 Mark Wielaard <mark@klomp.org>
8255
8256 Fix for PR libgcj/8142
8257 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8258 loading native modules.
8259
8260 2002-10-10 Michael Koch <konqueror@gmx.de>
8261
8262 * javax/swing/AbstractListModel.java
8263 (getListDataListeners): New stubbed method.
8264 javax/swing/DefaultBoundedRangeModel.java
8265 (getChangeListeners): New stubbed method.
8266 javax/swing/DefaultSingleSelectionModel.java
8267 (getChangeListeners): New stubbed method.
8268
8269 2002-10-10 Michael Koch <konqueror@gmx.de>
8270
8271 * gcj/.cvsignore: New file to ignore files generated during build.
8272 * include/.cvsignore: New file to ignore files generated during build.
8273
8274 2002-10-10 Michael Koch <konqueror@gmx.de>
8275
8276 * java/net/HttpURLConnection.java
8277 (getPermission): New method.
8278 (getErrorStream): New stub method.
8279 (getHeaderFieldDate): New stub method.
8280 * java/net/Inet4Address.java:
8281 (isLinkLocalAddress): Typo fixed.
8282 * java/net/InetAddress.java:
8283 (readResolve): New stubbed method (for serialization).
8284 (isAnyLocalAddress): New stubbed method.
8285 (isLoopbackAddress): New stubbed method.
8286 (isLinkLocalAddress): New stubbed method.
8287 (isSiteLocalAddress): New stubbed method.
8288 (isMCGlobal): New stubbed method.
8289 (isMCNodeGlobal): New stubbed method.
8290 (isMCLinkLocal): New stubbed method.
8291 (isMCSiteLocal): New stubbed method.
8292 (isMCOrgLocal): New stubbed method.
8293 (getCanonicalHostName): New stubbed method.
8294 (getByAddress): Create instances of Inet4Address/Inet6Address,
8295 instead of InetAddress, documentation added.
8296 * java/net/MulticastSocket.java
8297 (getInterface): Removed FIXME.
8298 (getNetworkInterface): New method.
8299 (setNetworkInterface): New method.
8300 * java/net/NetworkInterface.java:
8301 (toString): Use property "line.separator" instead of "\n".
8302 * java/net/URLConnection.java
8303 (getContent): New stubbed method.
8304 * java/net/URLStreamHandler.java:
8305 (equals): New stubbed method.
8306 (hostsEqual): New stubbed method.
8307 (hashCode): New stubbed method.
8308 * java/net/natNetworkInterface.cc:
8309 (getRealNetworkInterfaces): Create Inet4Address object
8310 instead of InetAddress.
8311
8312 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8313
8314 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8315 unsigned long temporary to implement insn_iushr shifts.
8316
8317 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8318
8319 * configure.host [s390*-*]: Enable Java interpreter.
8320 Enable hash synchronization. Add sysdeps dir.
8321 * sysdep/s390/locks.h: New file.
8322
8323 2002-10-06 Mark Wielaard <mark@klomp.org>
8324
8325 * java/lang/Thread.java (setDaemon): Check startable_flag,
8326 not isAlive().
8327
8328 2002-10-07 Michael Koch <konqueror@gmx.de>
8329
8330 * java/nio/Buffer.java: New stub file.
8331 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8332 of class Charset.
8333 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8334 * Makefile.in: Regenerated.
8335
8336 2002-10-07 Michael Koch <konqueror@gmx.de>
8337
8338 * java/nio/ByteBuffer.java:
8339 removed import of not commited class.
8340
8341 2002-10-07 Michael Koch <konqueror@gmx.de>
8342
8343 * java/nio/ByteBuffer.java,
8344 java/nio/MappedByteBuffer.java:
8345 New files, forgot to add these dummies.
8346 * Makefile.am (java_native_source_files): Added new files.
8347 * Makefile.in: Regenerated.
8348
8349 2002-10-07 Michael Koch <konqueror@gmx.de>
8350
8351 * java/nio/channels/AlreadyConnectedException.java,
8352 java/nio/channels/ClosedChannelException.java,
8353 java/nio/channels/ReadableByteChannel.java,
8354 java/nio/channels/InterruptibleChannel.java,
8355 java/nio/channels/Channel.java,
8356 java/nio/channels/ByteChannel.java,
8357 java/nio/channels/GatheringByteChannel.java,
8358 java/nio/channels/ScatteringByteChannel.java,
8359 java/nio/channels/WritableByteChannel.java,
8360 java/nio/charset/CharacterCodingException.java,
8361 java/nio/charset/IllegalCharsetNameException.java,
8362 java/nio/charset/MalformedInputException.java,
8363 java/nio/charset/UnmappableCharacterException.java,
8364 java/nio/charset/UnsupportedCharsetException.java,
8365 java/nio/charset/spi/CharsetProvider.java: New file.
8366 These files are exceptions or interfaces,
8367 no real or abstract classes.
8368 * Makefile.am (java_native_source_files): Added new files.
8369 * Makefile.in: Regenerated.
8370
8371 2002-10-05 Michael Koch <konqueror@gmx.de>
8372
8373 * java/net/InetAddress.java
8374 (getByAddress): Fixed documentation.
8375 (getByAddress): New method.
8376 * java/net/Inet4Address.java: New file.
8377 * java/net/URL.java
8378 (URL): Documentation added.
8379 (getContent): Documentation added.
8380 (getContent): New stubbed method.
8381 (getQuery): New method.
8382 (openConnection): Documentation added.
8383 (openStream): Documentation added.
8384 (setURLStreamHandlerFactory): Documentation added.
8385 * java/net/URI.java: New stub file.
8386 * Makefile.am
8387 (java_native_source_files): Added java/net/Inet4Address.java,
8388 java/net/Inet6Address.java and java/net/URI.java.
8389 * Makefile.in: Regenerated.
8390
8391 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8392
8393 * java/lang/ProtectionDomain.java (linesep): Remove field.
8394 (toString): Use System.getProperty("line.separator").
8395
8396 2002-10-04 Michael Koch <konqueror@gmx.de>
8397
8398 * java/security/Identity.java: Added serialVersionUID.
8399 * java/security/KeyPair.java: Added serialVersionUID.
8400 * java/security/Provider.java: Added serialVersionUID.
8401 * java/security/SecureRandom.java: Added serialVersionUID.
8402 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8403 * java/security/SignedObject.java: Added serialVersionUID.
8404 * java/security/cert/Certificate.java: Added serialVersionUID.
8405
8406 2002-10-04 Mark Wielaard <mark@klomp.org>
8407
8408 * java/security/Security.java: Use java.home or gnu.classpath.home
8409 to load providers.
8410 (loadProviders): Extra dir argument.
8411 (getProvider): Return null when not found.
8412
8413 2002-10-04 Mark Wielaard <mark@klomp.org>
8414
8415 * java/lang/Throwable.java: Remerge with Classpath.
8416
8417 2002-10-04 Michael Koch <konqueror@gmx.de>
8418
8419 * java/net/InetAddress.java:
8420 (isMulticastAddress): Added documentation.
8421 (getHostAddress): Added documentation.
8422 (toString): Added documentation.
8423 (getByAddress): Fixed documentation.
8424 (getByName): Added documentation.
8425 (getAllByName): Added documentation.
8426 (getLocalHost): Added documentation.
8427
8428 2002-10-04 Michael Koch <konqueror@gmx.de>
8429
8430 * java/beans/beancontext/BeanContextChildSupport.java:
8431 Added serialVersionUID.
8432 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8433 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8434 * javax/naming/Name.java: Added serialVersionUID.
8435
8436 2002-10-03 Adam Megacz <adam@xwt.org>
8437
8438 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8439 some functionality that isn't supported yet on WIN32.
8440
8441 2002-10-03 Tom Tromey <tromey@redhat.com>
8442
8443 * Makefile.in: Rebuilt.
8444 * Makefile.am (awt_java_source_files): Added new files.
8445
8446 2002-10-03 Michael Koch <konqueror@gmx.de>
8447
8448 * java/net/InetAddress.java
8449 (class InetAddress): Removed final keyword.
8450 (equals): Fixed typo.
8451 (getByAddress): New method.
8452
8453 2002-10-03 Michael Koch <konqueror@gmx.de>
8454
8455 * java/awt/dnd/Autoscroll.java:
8456 New file, merge from Classpath.
8457 * java/awt/dnd/DragSourceAdapter.java:
8458 (dragExit): Fixed typos in argument type.
8459 (dragDropEnd): Fixed typos in argument type.
8460 * java/awt/dnd/DragSourceDropEvent.java:
8461 New file, merge from Classpath.
8462 * java/awt/dnd/DropTarget.java:
8463 Added stubs, merge from Classpath.
8464 * java/awt/dnd/DropTargetAdapter.java:
8465 New file, merge from Classpath.
8466 * java/awt/dnd/DropTargetContext.java:
8467 New file, merge from Classpath.
8468 * java/awt/dnd/DropTargetDragEvent.java:
8469 New file, merge from Classpath.
8470 * java/awt/dnd/DropTargetDropEvent.java:
8471 New file, merge from Classpath.
8472 * java/awt/dnd/DropTargetEvent.java:
8473 New file, merge from Classpath.
8474 * java/awt/dnd/DropTargetListener.java:
8475 New file, merge from Classpath.
8476 * java/awt/dnd/MouseDragGestureRecognizer.java:
8477 New file, merge from Classpath.
8478 * java/awt/dnd/peer/DropTargetContextPeer.java:
8479 New file, merge from Classpath.
8480
8481 2002-10-03 Michael Koch <konqueror@gmx.de>
8482
8483 * java/net/DatagramPacket.java
8484 (setLength): Fixed typo and be HTML-aware.
8485 * java/net/InetSocketAddress.java
8486 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8487 (equals): Added comment about equality of InetSocketAddress objects.
8488 * java/net/ServerSocket.java
8489 (accept): Added checks.
8490 (isClosed): New stubbed method.
8491 * java/net/SocketOptions.java: Reindention.
8492 * java/net/SocketPermission
8493 (SocketPermission): Documentation fixed.
8494
8495 2002-10-03 Michael Koch <konqueror@gmx.de>
8496
8497 * java/net/DatagramSocket.java
8498 (receive): Check with SecurityManager AFTER the packet is received,
8499 check if connected to multicast address, documentation added.
8500 (send): Only check SecurityManager if connected, check address of
8501 packet to send.
8502 (connect): Implemented, documentation added.
8503 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8504 * java/net/InetSocketAddress.java
8505 (whole file): Reindented.
8506 (hostname): New attribute.
8507 (InetSocketAddress): Initialize new attribute.
8508 (getAddress): Documentation added.
8509 (getHostName): Documentation added.
8510 (getPort): Documentation added.
8511 (hashCode): Documentation added.
8512 (isUnresolved): Documentation added.
8513 (toString): Conform to output of JDK 1.4.1, documentation added.
8514 * java/net/MulticastSocket.java
8515 (joinGroup): Removed FIXME, documentation added.
8516 (leaveGroup): Removed FIXME, documentation added.
8517 (send): Documentation added.
8518 * java/net/Socket.java
8519 (inputShutdown): New variable.
8520 (outputShutdown): New variable.
8521 (Socket): Initialize new variables.
8522 (getRemoteSocketAddress): Check if connected.
8523 (shutdownInput): Set new variable.
8524 (shutdownOutput): Set new variable.
8525 (isConnected): New method.
8526 (isClosed): New method.
8527 (isInputShutdown): New method.
8528 (isOutputShutdown): New method.
8529 * java/net/URLStreamHandler.java
8530 (URLStreamHandler): New method.
8531 (openConnection): Added documentation.
8532 (parseURL): Added documentation.
8533 (getHostAddress): New method.
8534 (getDefaultPort): New method.
8535
8536 2002-10-02 Tom Tromey <tromey@redhat.com>
8537
8538 * java/rmi/activation/ActivationDesc.java,
8539 java/rmi/activation/ActivationGroupDesc.java,
8540 java/rmi/activation/ActivationGroupID.java,
8541 java/rmi/activation/ActivationID.java: New versions from
8542 Classpath.
8543
8544 2002-09-30 Bo Thorsen <bo@suse.de>
8545
8546 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8547
8548 2002-09-30 Tom Tromey <tromey@redhat.com>
8549
8550 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8551 from Classpath.
8552 * Makefile.in: Rebuilt.
8553 * Makefile.am (rmi_java_source_files): Added new files.
8554 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8555 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8556 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8557 Classpath.
8558 * gnu/java/rmi/dgc/DGCImpl.java,
8559 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8560 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8561 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8562 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8563 gnu/java/rmi/server/RMIHashes.java,
8564 gnu/java/rmi/server/RMIObjectInputStream.java,
8565 gnu/java/rmi/server/RMIObjectOutputStream.java,
8566 gnu/java/rmi/server/UnicastConnection.java,
8567 gnu/java/rmi/server/UnicastConnectionManager.java,
8568 gnu/java/rmi/server/UnicastRef.java,
8569 gnu/java/rmi/server/UnicastServer.java,
8570 gnu/java/rmi/server/UnicastServerRef.java,
8571 java/rmi/MarshalledObject.java,
8572 java/rmi/server/RMIClassLoader.java,
8573 java/rmi/server/RemoteObject.java,
8574 java/rmi/server/UnicastRemoteObject.java,
8575 java/security/SecureClassLoader.java: Merged from Classpath.
8576
8577 2002-09-29 Anthony Green <green@redhat.com>
8578
8579 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8580 Imported from GNU Classpath.
8581 * java/lang/reflect/natProxy.cc: New file.
8582 * java/lang/reflect/InvocationHandler.java: New file. Imported
8583 from GNU Classpath.
8584 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8585 Classpath.
8586 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8587 Classpath.
8588 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8589 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8590 New statics.
8591 * gcj/javaprims.h ("Java"): Add new classes.
8592 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8593 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8594 java/lang/reflect/Proxy$$ProxyType.h): And this.
8595 (inner_nat_headers): Add these new headers.
8596 (ordinary_java_source_files): Add new files.
8597 (nat_source_files): Add new file.
8598 * Makefile.in: Rebuilt.
8599
8600 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8601
8602 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8603 a single configuration.
8604
8605 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8606
8607 * java/util/TimeZone.java (getDSTSavings): New method.
8608 Fixes PR libgcj/7786.
8609
8610 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8611
8612 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8613 to see if `the_method == 0' before looking up vtable index.
8614 Fixes PR libgcj/7709.
8615
8616 2002-09-25 Tom Tromey <tromey@redhat.com>
8617
8618 * java/lang/natClassLoader.cc:
8619 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8620 * resolve.cc: Include NoClassDefFoundError.h, not
8621 ClassNotFoundException.h.
8622 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8623
8624 * defineclass.cc: Don't include ClassNotFoundException.h.
8625
8626 * resolve.cc: Include StringBuffer.
8627 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8628
8629 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8630 allocated but not initialized.
8631
8632 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8633
8634 Fix for PR libgcj/7766:
8635 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8636 (getNextEntry): Set it.
8637 (closeEntry): Likewise.
8638 (read): Likewise.
8639 (close): Likewise.
8640 (available): Use it.
8641
8642 2002-09-25 Michael Koch <konqueror@gmx.de>
8643
8644 * java/net/DatagramSocket.java
8645 (DatagramSocket): Initialize new instance variables.
8646 (close): Reset new instance variables.
8647 (getLocalAddress): Remove unneeded SecurityManager usage.
8648 (getLocalPort): Check if socket is already bound.
8649 (isConnected): New method.
8650 (getInetAddress): Implemented.
8651 (getPort): Better Implementation, documentation fixed.
8652 (getRemoteSocketAddress): New method.
8653 * java/net/JarURLConnection.java
8654 (element): Typo fixed.
8655 (getMainAttributes): New method.
8656 (getAttributes): New method (stub only).
8657 (getManifest): New method (stub only).
8658 * java/net/NetPermission.java: Added serialVersionsUID.
8659 * java/net/Socket.java
8660 (connect): Check blocking mode of associated channel,
8661 documentation added.
8662 (getLocalSocketAddress): Better implementation.
8663 (getRemoteSocketAddress): Implemented.
8664 (isBound): New method.
8665 (setSendBufferSize): Documentation added.
8666 * java/net/SocketAddress.java: Added serialVersionsUID.
8667 * java/net/SocketPermission.java: Added serialVersionsUID.
8668 * java/net/URL.java
8669 (URL): Wrap for shorter lines, initialize new instance variables,
8670 documentation added.
8671 (equals): Check new instance variables too.
8672 (getContent): Documentation added.
8673 (getPath): Documentation added.
8674 (getAuthority): New method.
8675 (getHost): Documentation added.
8676 (getPort): Documentation added.
8677 (getDefaultPort): New method.
8678 (getProtocol): Documentation added.
8679 (getUserInfo): Documentation added.
8680 (set): Initialize new instance variables, documentation added.
8681 * java/net/URLStreamHandler.java
8682 (setURL): New method.
8683 * java/net/natPlainDatagramSocketImpl.cc
8684 (connect): Fix exception name.
8685 (disconnect): Fix exception name.
8686
8687 2002-09-25 Michael Koch <konqueror@gmx.de>
8688
8689 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8690 * java/nio/channels/DatagramChannel.java:
8691 extends AbstractSelectableChannel
8692 * java/nio/channels/ServerSocketChannel.java:
8693 extends AbstractSelectableChannel
8694 * java/nio/channels/SocketChannel.java:
8695 extends AbstractSelectableChannel
8696 * Makefile.am (ordinary_java_source_files):
8697 java/nio/channels/spi/AbstractSelectableChannel.java added.
8698 * Makefile.in: Regenerated.
8699
8700 2002-09-25 Michael Koch <konqueror@gmx.de>
8701
8702 * java/net/DatagramSocket.java
8703 (DatagramSocket): Exception documentation added.
8704 (bind): Exception documentation added, addded SecurityManager check,
8705 added SocketAddress type check.
8706 (getSoTimeout): Check impl.
8707 (receive): Fix SecurityManager check, check impl, documentation added.
8708 (send): Check channel mode, documentation added.
8709 (connect): New method.
8710 (disconnect): Implemented.
8711 (getLocalSocketAddress): New method.
8712 (getReceiveBufferSize): Check impl.
8713 (setReuseAddress): Check impl.
8714 (getReuseAddress): Check impl.
8715 (setBroadcast): Check impl.
8716 (getBroadcast): Check impl.
8717 (setTrafficClass): Check impl, Documentation cleared.
8718 (getTrafficClass): Check impl.
8719 (getSendBufferSize): Check impl.
8720 (setReceiveBufferSize): Check impl, documentation added.
8721 (setSendBufferSize): Documentation added.
8722 (setDatagramSocketImplFactory): New method.
8723 * java/net/HttpURLConnection.java
8724 (HTTP_INTERNAL_ERROR): The correct code is 500.
8725 (HTTP_NOT_IMPLEMENTED): Added new constant.
8726 (setFollowRedirects): Documentation added.
8727 (getInstanceFollowRedirects): New method.
8728 (setInstanceFollowRedirects): New method.
8729 (setRequestMethod): Documentation added.
8730 (getResponseCode): Documentation added.
8731 (getResponseMessage): Documentation added.
8732 * java/net/JarURLConnection.java
8733 (JarURLConnection): protected since JDK 1.4.
8734 (getJarEntry): java.io.IOException to IOException, documentation added.
8735 (getJarFile): Documentation added.
8736 * java/net/ServerSocket.java
8737 (ServerSocket): Private to public, exception added.
8738 (ServerSocket): java.io.IOException to IOException, documentation added.
8739 (bind): Check socket address type, documentation added.
8740 (bind): java.io.IOException to IOException, documentation added.
8741 (accept): Documentation added.
8742 (implAccept): Check ch is not non-blocking, documentation added.
8743 (setSoTimeout): Documentation fixed.
8744 (setReceiveBufferSize): Documentation added.
8745 * java/net/Socket.java
8746 (Socket): Documentation added.
8747 (bind): Documentation added.
8748 (connect): Check socket address type, documentation added.
8749 (getRemoteSocketAddress): New method.
8750 (getLocalSocketAddress): New method.
8751 (setSoLinger): Documentation added.
8752 (getReuseAddress): New method.
8753 (setReuseAddress): New method.
8754 (getTrafficClass): New method.
8755 (setTrafficClass): New method.
8756 * java/net/URLStreamHandler.java
8757 (openConnection): java.io.IOException to IOException.
8758 (parseURL): Documentation added.
8759 (sameFile): public to protected, documentation added.
8760 (setURL): Documentation added.
8761 * java/nio/IllegalBlockingModeException.java: New file.
8762 * Makefile.am (ordinary_java_source_files):
8763 added java/nio/IllegalBlockingModeException.java
8764 * Makefile.in: Regenerated.
8765
8766 2002-09-25 Michael Koch <konqueror@gmx.de>
8767
8768 * java/net/DatagramPacket
8769 (DatagramPacket): Exception documentation added.
8770 (setData): Likewise.
8771 (setSocketAddress): Likewise.
8772 * java/net/DatagramSocketImpl.java
8773 (peek): Documentation addded.
8774 (peekData): Documentation addded.
8775 (send): Documentation addded.
8776 (receive): Documentation addded.
8777 (connect): New method.
8778 (disconnect): New method.
8779 (joinGroup): New abstract method.
8780 (leaveGroup): New abstract method.
8781 * java/net/InetSocketAddress.java
8782 (InetSocketAddress): Documentation added.
8783 (equals): final keyword added.
8784 (getAddress): final keyword added.
8785 (getHostName): final keyword added.
8786 (getPort): final keyword added.
8787 (hashCode): final keyword added.
8788 (isUnresolved): final keyword added.
8789 * java/net/MulticastSocket.java
8790 (MulticastSocket): Documentation added.
8791 (MulticastSocket): New method.
8792 (joinGroup): Documentation added.
8793 (joinGroup): New method.
8794 (leaveGroup): Documentation added.
8795 (leaveGroup): New method.
8796 (send): Documentation added.
8797 * java/net/NetworkInterface.java
8798 (getByName): Documentation added.
8799 (getByInetAddress): Documentation added.
8800 (getNetworkInterfaces): Documentation added.
8801 * java/net/PlainDatagramSocketImpl.java
8802 (connect): New method.
8803 (disconnect): New method.
8804 * java/net/SocketImpl.java
8805 (create): Documentation added.
8806 (shutdownInput): Convert public to protected, as it always was.
8807 (shutdownOutput): Convert public to protected, as it always was.
8808 * java/net/SocketOptions.java
8809 (whole file): Reintented.
8810 * java/net/URLClassLoader.java
8811 (URLClassLoader): SecurityManager check added, documentation added.
8812 (findResources): Documentation added.
8813 (findClass): Documentation added.
8814 (newInstance): More correct method arguments.
8815 * java/net/URLConnection.java
8816 (connect): Documentation added.
8817 (getContent): Documentation added.
8818 (getPermission): Documentation added.
8819 (getInputStream): Documentation added.
8820 (getOutputStream): Documentation added.
8821 (setDoInput): Throw correct exception, documentation added.
8822 (setDoOutput): Throw correct exception, documentation added.
8823 (setAllowUserInteraction): Throw correct exception, documentation added.
8824 (setUseCaches): Throw correct exception, documentation added.
8825 (setIfModifiedSince): Throw correct exception, documentation added.
8826 (setRequestProperty): Throw exception, documentation added.
8827 (addRequestProperty): Throw exception, documentation added.
8828 (getRequestProperty): Throw exception, documentation added.
8829 (getRequestProperties): Documentation added.
8830 (setContentHandlerFactory): Documentation added.
8831 (guessContentTypeFromName): protected to public.
8832 (setFileNameMap): Documentation added.
8833 * java/net/URLDecoder.java
8834 (URLDecoder): New method.
8835 (decode): Documentation added.
8836 (whole file): Reindented.
8837 * java/net/URLEncoder.java
8838 (encode): Documentation added.
8839 * java/net/natPlainDatagramSocketImpl.cc
8840 (connect): New method.
8841 (disconnect): New method.
8842 * javax/naming/RefAddr:
8843 (addrType): addrType was never final.
8844 (equals): Fix typo in method name.
8845 * javax/naming/BinaryRefAddr:
8846 (equals): Fix typo in method name.
8847
8848 2002-09-22 Tom Tromey <tromey@redhat.com>
8849
8850 Fix for PR libgcj/6576:
8851 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8852 didn't find a given bundle.
8853 (getBundle): Don't require base bundle.
8854 (setParent): Removed old comment.
8855 (tryLocalBundle): Try components even if preceding components were
8856 empty.
8857
8858 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8859
8860 * Makefile.am (all-multi): Fix multilib parallel build.
8861
8862 2002-09-21 Michael Koch <konqueror@gmx.de>
8863
8864 * java/net/Socket.java
8865 (sendUrgentData): New method.
8866 (getChannel): New method.
8867 * java/net/ServerSocket.java
8868 (getChannel): New method.
8869 (isBound): New method.
8870 * java/net/DatagramSocket.java
8871 (DatagramSocket): Two new methods.
8872 (bind): New method.
8873 (getChannel): New method.
8874 (isBound): New method.
8875 (send): Added newline to to make shorter lines.
8876 * java/net/PlainDatagramSocketImpl.java
8877 (mcastGrp): Added argument.
8878 (join): Use new mcastGrp.
8879 (leave): Use new mcastGrp.
8880 (joinGroup): New method.
8881 (leaveGroup): New method.
8882 * java/net/natPlainDatagramSocketImpl.cc
8883 (mcastGrp): Added argument, no yet really implemented.
8884 (getOption): Added newline for shorter lines.
8885 * java/net/natPlainSocketImpl.cc
8886 (read, setOption, getOption): Added newline for shorter lines.
8887
8888 2002-09-19 Tom Tromey <tromey@redhat.com>
8889
8890 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8891 newly-created exception.
8892
8893 2002-09-18 Michael Koch <konqueror@gmx.de>
8894
8895 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8896 java/util/regex/PatternSyntaxException.java:
8897 Merge with classpath, new files.
8898 * Makefile.am (core_java_source_files):
8899 Added java/util/regex/Matcher.java,
8900 java/util/regex/Pattern.java,
8901 java/util/regex/PatternSyntaxException.java
8902 * Makefile.in: Regenerated.
8903 * include/config.h.in: Added HAVE_NET_IF_H.
8904 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8905 Removed #if 0 ... #endif.
8906
8907 2002-09-17 Michael Koch <konqueror@gmx.de>
8908
8909 * java/net/natNetworkInterface.cc:
8910 Removed unneed and yet wrong includes.
8911
8912 2002-09-17 Michael Koch <konqueror@gmx.de>
8913
8914 * java/net/NetworkInterface.java: New file.
8915 * java/net/natNetworkInterface.java: New file.
8916 * configure.in: Added check for net/if.h.
8917 * configure: Regenerated.
8918 * Makefile.am
8919 (ordinary_java_source_files): Added NetworkInterface.java.
8920 (nat_source_files): Added natNetworkInterface.cc.
8921 * Makefile.in: Regenerated.
8922
8923 2002-09-16 Tom Tromey <tromey@redhat.com>
8924
8925 * java/net/URLClassLoader.java (findClass): Code source for a
8926 class from a jar is not necessarily a jar: URL.
8927
8928 2002-09-16 Michael Koch <konqueror@gmx.de>
8929
8930 * java/lang/AssertionError.java:
8931 Merge with classpath, fixes HTML.
8932 * java/rmi/server/LogStream.java:
8933 Merge with classpath, fixes some constants.
8934 * java/net/server/RemoteServer.java:
8935 Merge with classpath, adds serialVersionUID.
8936 * javax/naming/BinaryRefAddr.java:
8937 Merge with classpath, s/equal/equals/.
8938 * javax/naming/NamingException.java:
8939 Merge with classpath, fixed typo.
8940 * javax/naming/RefAddr.java:
8941 Merge with classpath, s/equal/equals/.
8942 * java/awt/Toolkit.java:
8943 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8944 and typo fixed.
8945
8946 2002-09-15 Adam Megacz <adam@xwt.org>
8947
8948 * java/net/natPlainSocketImpl.cc: fixed typo.
8949
8950 2002-09-15 Adam Megacz <adam@xwt.org>
8951
8952 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8953 which don't work on Win32 (yet).
8954
8955 2002-09-14 Adam Megacz <adam@xwt.org>
8956
8957 * java/net/natPlainDatagramSocket.cc: removed #include
8958 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8959 * include/win32.h: included definition for IP_TOS to satisfy
8960 natPlainDatagramSocket.cc
8961
8962 2002-09-13 Michael Koch <konqueror@gmx.de>
8963
8964 * java/net/DatagramPacket.java (DatagramPacket):
8965 Added linebreak for 80 chars per line.
8966 * java/net/JarURLConection.java
8967 (getInputStreami, getJarEntry): Likewise.
8968 * java/net/SocketPErmission.java
8969 (SocketPermission class docu, implies): Likewise.
8970 * java/net/URLClassLoader.java (findResources): Likewise.
8971 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8972
8973 2002-09-13 Michael Koch <konqueror@gmx.de>
8974
8975 * java/nio/channels/DatagramChannel.java,
8976 java/nio/channels/ServerSocketChannel.java
8977 java/nio/channels/SocketChannel.java:
8978 New dummy files to make java.net fully JDK 1.4 compatible
8979 * Makefile.am (ordinary_java_source_files): Added
8980 java/net/DatagramSocketImplFactory.java (long forgotten),
8981 java/nio/SocketChannel.java,
8982 java/nio/ServerSocketChannel.java,
8983 java/nio/DatagramChannel.java
8984 * Makefile.in: Regenrated.
8985
8986 2002-09-12 Michael Koch <konqueror@gmx.de>
8987
8988 * java/net/DatagramSocketImpl.java
8989 (peekData): New method.
8990 * java/net/PlainDatagramSocketImpl.java
8991 (peekData): New method.
8992 * java/net/natPlainDatagramSocketImpl.cc
8993 (peekData): New method.
8994 * java/net/URLConnection
8995 (getPermission): New method.
8996 (addRequestProperty): New method.
8997 (getRequestProperties): New method.
8998 (guessContentTypeFromStream): New method, not really implemented.
8999 (URLConnection): Added/updated documentation.
9000 (connect): Added/updated documentation.
9001 (getURL): Added/updated documentation.
9002 (getContentLength): Added/updated documentation.
9003 (getContentType: Added/updated documentation.
9004 (getContentEncoding): Added/updated documentation.
9005 (getExpiration): Added/updated documentation.
9006 (getDate): Added/updated documentation.
9007 (getLastModified): Added/updated documentation.
9008 (getHeaderField): Added/updated documentation.
9009 (getHeaderFields): Added/updated documentation.
9010 (getHeaderFieldInt): Added/updated documentation.
9011 (getHeaderFieldDate): Added/updated documentation.
9012 (getHeaderFieldKey): Added/updated documentation.
9013 (getContent): Added/updated documentation.
9014 (getInputStream): Added/updated documentation.
9015 (getOutputStream): Added/updated documentation.
9016 (toString): Added/updated documentation.
9017 (setDoInput): Added/updated documentation.
9018 (getDoInput): Added/updated documentation.
9019 (setDoOutput): Added/updated documentation.
9020 (getDoOutput): Added/updated documentation.
9021 (setAllowUserInteraction): Added/updated documentation.
9022 (getAllowUserInteraction): Added/updated documentation.
9023 (setDefaultAllowUserInteraction): Added/updated documentation.
9024 (getDefaultAllowUserInteraction): Added/updated documentation.
9025 (setUseCaches): Added/updated documentation.
9026 (getUseCaches): Added/updated documentation.
9027 (setIfModifiedSince): Added/updated documentation.
9028 (getIfModifiedSince): Added/updated documentation.
9029 (getDefaultUseCaches): Added/updated documentation.
9030 (setDefaultUseCaches): Added/updated documentation.
9031 (setRequestProperty): Added/updated documentation.
9032 (getRequestProperty): Added/updated documentation.
9033 (setDefaultRequestProperty): Added/updated documentation.
9034 (getDefaultRequestProperty): Added/updated documentation.
9035 (setContentHandlerFactory): Added/updated documentation.
9036 (guessContentTypeFromName): Added/updated documentation.
9037 (getFileNameMap): Added/updated documentation.
9038 (setFileNameMap): Added/updated documentation.
9039
9040 2002-09-11 Michael Koch <konqueror@gmx.de>
9041
9042 * java/net/Socket.java
9043 (Socket): protected to public (since JDK 1.4). Added @specnote.
9044 (bind): New method.
9045 (connect): Two new methods.
9046 (getKeepalive): Get correct socket option.
9047 (setKeepalive): Set correct socket option.
9048 (getOOBInline): New method.
9049 (setOOBInline): New method.
9050 * java/net/ServerSocket.java
9051 (bind): Two new methods.
9052 (getInetAddress): Reimplemented, catch exception.
9053 (getLocalSocketAddress): New method.
9054 (setReuseAddress): New method.
9055 (getReuseAdress): New method.
9056 (setReceiveBufferSize): New method.
9057 (getReceiveBufferSize): New method.
9058 (toString): Made string JDK 1.4 compliant.
9059
9060 2002-09-10 Michael Koch <konqueror@gmx.de>
9061
9062 * java/net/SocketImpl.java
9063 (connect): New method.
9064 (supportsUrgentData): New method.
9065 (sendUrgentData): New method.
9066 * java/net/PlainSocketImpl.java
9067 (connect): One new method and two new implementation.
9068 (sendUrgentData): New method.
9069 * java/natPlainSocketImpl.cc
9070 (connect): Arguments changed, added support for timeouts.
9071 (getOption): Another __java_boolean to jboolean.
9072
9073 2002-09-07 Adam Megacz <adam@xwt.org>
9074
9075 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
9076 definition of IP_TOS.
9077
9078 2002-09-04 Michael Koch <konqueror@gmx.de>
9079
9080 * java/net/DatagramSocket.java
9081 (DatagramSocket): Added documentation.
9082 (close): Likewise.
9083 (getLocalAddress): Likewise.
9084 (getLocalPort): Likewise.
9085 (receive): Likewise.
9086 (send): Likewise.
9087 (setSoTimeout): Likewise.
9088 (connect): New method.
9089 (disconnect): New method.
9090 (getInetAddress): New method (FIXME)
9091 (getPort): New method.
9092 (setReuseAddress): New method.
9093 (getReuseAddress): New method.
9094 (setBroadcast): New method.
9095 (getBroadcast): New method.
9096 (setTrafficClass): New method.
9097 (getTrafficClass): New method.
9098 * java/net/MulticastSocket.java):
9099 (getTTL): Added @see in documentation.
9100 (setTTL): Added @see in documentation.
9101 (setLoopbackMode): New method.
9102 (getLoopbackMode): New method.
9103 * java/net/PlainSocketImpl.java:
9104 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9105 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9106 * java/net/PlainDatagramSocketImpl.java
9107 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9108 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9109 * java/net/natPlainSocketImpl.cc
9110 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9111 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9112 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9113 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9114 This should also fix SO_KEEPALIVE
9115 * java/net/natPlainDatagramSocketImpl.cc
9116 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9117 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9118 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9119 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9120
9121 2002-09-04 Michael Koch <konqueror@gmx.de>
9122
9123 * java/net/SocketOptions.java: added static variables to be JDK 1.4
9124 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
9125 IP_MULTICAST_LOOP, IP_TOS
9126
9127 2002-09-03 Tom Tromey <tromey@redhat.com>
9128
9129 * java/lang/Class.h (_getDeclaredMethod): Declare.
9130 (_getMethod): Now private.
9131 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
9132 getDeclaredMethod. Now returns NULL on failure.
9133 * java/lang/Class.java (_getDeclaredMethod): Declare.
9134 (getDeclaredMethod): No longer native; implements access checks.
9135
9136 2002-09-01 Mark Wielaard <mark@klomp.org>
9137
9138 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
9139 (sanitizeStack): Correctly reset unknown and interpreter counters,
9140 detect interpreter runtime frames.
9141 (demangleInterpreterMethod): New method.
9142 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
9143 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
9144 filling in addrs[].
9145
9146 2002-09-02 Michael Koch <konqueror@gmx.de>
9147
9148 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
9149 re-indented documentation.
9150
9151 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9152
9153 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
9154 public, per 1.4 spec. Fixes PR libgcj/7785.
9155
9156 2002-08-30 Jeff Sturm <jsturm@one-point.com>
9157
9158 * Makefile.in: Rebuilt.
9159 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
9160
9161 2002-08-29 Tom Tromey <tromey@redhat.com>
9162
9163 * java/net/JarURLConnection.java (getCertificates): New method
9164 from Classpath.
9165 * java/net/URLClassLoader.java (URLClassLoader): Extends
9166 SecureClassLoader.
9167 (definePackage): New method from Classpath.
9168 (getPermissions): Likewise.
9169 (newInstance): Likewise.
9170 (findClass): Construct CodeSource for new class (from Classpath).
9171 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9172 methods.
9173 * java/net/URL.java (getUserInfo): New method.
9174 (set(String,String,int,String,String,String,String,String)): New
9175 method.
9176 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9177 (shutdownInput, shutdownOutput): Declare.
9178 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9179 Define.
9180 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9181 (getOption): Likewise.
9182 (shutdownInput): New method.
9183 (shutdownOutput): Likewise.
9184 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9185 keepalive.
9186 (getOption): Likewise.
9187 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9188 * java/net/Socket.java (setKeepAlive): New method.
9189 (getKeepAlive): Likewise.
9190 (shutdownInput, shutdownOutput): New methods.
9191
9192 2002-08-29 Michael Koch <konqueror@gmx.de>
9193
9194 * java/net/DatagramPacket.java: updated to JDK 1.4 API
9195 new methods are:
9196 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9197 address),
9198 DatagramPacket(byte[] buf, int length, SocketAddress address),
9199 void setSocketAddress(SocketAddress address)
9200 public SocketAddress getSocketAddress()
9201
9202 2002-08-29 Tom Tromey <tromey@redhat.com>
9203
9204 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9205 ftruncate is missing.
9206 * configure, include/config.h.in: Rebuilt.
9207 * acconfig.h (HAVE_FTRUNCATE): Mention.
9208 * configure.in: Check for ftruncate.
9209
9210 2002-08-29 Tom Tromey <tromey@redhat.com>
9211
9212 * include/jvm.h (struct _Jv_frame_info): New structure.
9213 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9214 java-interp.h.
9215 (lookupInterp): New method.
9216 (getAddrAsString): Use _Jv_frame_info.
9217 (dladdrLookup): Likewise.
9218 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9219 interpreted frame.
9220 (lookupInterp): Declare.
9221 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9222 (fillInStackTrace): Collect information on interpreted frames.
9223 Use _Jv_frame_info.
9224 * interpret.cc: Include Thread.h.
9225 (run): Create and push _Jv_MethodChain object.
9226 (_Jv_EndOfInterpreter): New global.
9227 * java/lang/Thread.java (interp_frame): New field.
9228 * include/java-interp.h (struct _Jv_MethodChain): New structure.
9229 Include NameFinder.h.
9230
9231 2002-08-28 Tom Tromey <tromey@redhat.com>
9232
9233 * java/lang/Class.h: Include Package.h.
9234 (Class::getProtectionDomain): Declare.
9235 (Class::getPackage): Declare.
9236
9237 2002-08-28 Michael Koch <konqueror@gmx.de>
9238
9239 * java/net/InetSocketAddress.java: Added some documentation and argument
9240 checks for the port numbers.
9241 * java/net/DatagramSocketImplFactory.java: New file.
9242
9243 2002-08-28 Michael Koch <konqueror@gmx.de>
9244
9245 * java/net/Authenticator.java: added some documentation.
9246
9247 2002-08-27 Tom Tromey <tromey@redhat.com>
9248
9249 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9250 class.
9251 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9252
9253 2002-08-27 Michael Koch <konqueror@gmx.de>
9254
9255 * java/net/BindException.java,
9256 java/net/JarURLConnection.java,
9257 java/net/FileNameMap.java,
9258 java/net/HttpURLConnection.java,
9259 java/net/InetSocketAddress.java,
9260 java/net/DatagramPacket.java,
9261 java/net/DatagramSocket.java,
9262 java/net/DatagramSocketImpl.java,
9263 java/net/MulticastSocket.java,
9264 java/net/PasswordAuthentication.java,
9265 java/net/ServerSocket.java,
9266 java/net/Socket.java,
9267 java/net/URLClassLoader.java,
9268 java/net/URLConnection.java: add/update of some @since/@deprecated
9269
9270 2002-08-27 Tony Kimball <alk@pobox.com>
9271 Tom Tromey <tromey@redhat.com>
9272
9273 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9274 define.
9275 (::close): Removed.
9276 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9277 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9278 (::close): Removed.
9279 (PlainSocketImpl::close): Use NATIVE_CLOSE.
9280 * include/win32.h (getcwd): Removed declaration. Include io.h.
9281
9282 2002-08-25 Adam Megacz <adam@xwt.org>
9283
9284 * include/win32.h (getcwd): copied function declaration as
9285 temporary fix for header confusion.
9286
9287 2002-08-24 Mark Wielaard <mark@klomp.org>
9288
9289 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9290 (core_java_source_files): Add VMThrowable.java and NameFinder.java
9291 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9292 and natNameFinder.cc.
9293 * Makefile.in: Regenerate.
9294 * prims.cc: Use trace_enabled from VMThrowable.
9295 * name-finder.cc: Removed.
9296 * gcj/javaprims.h: Add class VMThrowable.
9297 * gnu/gcj/runtime/NameFinder.java: New file.
9298 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9299 * include/name-finder.h: Removed.
9300 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9301 method stackTraceString().
9302 (printStackTrace (PrintWriter)): Likewise.
9303 (stackTraceString): Complete rewrite of old printStackTrace using
9304 StringBuffer.
9305 (stackTraceStringBuffer): New helper method for stackTraceString().
9306 (fillInStackTrace): Delegate to VMTrowable.
9307 (getStackTrace): Likewise.
9308 (getStackTrace0): Removed.
9309 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9310 (setStackTrace): Copy given array.
9311 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9312 * java/lang/VMThrowable.java: New class.
9313 * java/lang/natVMThrowable.cc: New file.
9314
9315 2003-08-23 Michael Koch <konqueror@gmx.de>
9316
9317 * java/net/URLConnection.java,
9318 java/netJarURLConnection.java,
9319 gnu/gcj/protocol/core/Connection.java,
9320 gnu/gcj/protocol/file/Connection.java,
9321 gnu/gcj/protocol/http/Connection.java: Added implementation of
9322 getHeaderFields().
9323
9324 2002-08-22 Tom Tromey <tromey@redhat.com>
9325
9326 * gij.cc (help): Document -cp and -classpath.
9327 (main): Handle -classpath.
9328
9329 2002-08-21 Tom Tromey <tromey@redhat.com>
9330
9331 * Makefile.in: Rebuilt.
9332 * Makefile.am (ordinary_java_source_files): Added
9333 SocketAddress.java, InetSocketAddress.java.
9334 * java/net/PortUnreachableException.java: Merged with Classpath.
9335 * java/net/SocketTimeoutException.java: Likewise.
9336 * java/net/URISyntaxException.java: Likewise.
9337 * java/net/SocketAddress.java: New class from Classpath.
9338 * java/net/InetSocketAddress.java: Likewise.
9339
9340 2003-08-21 Michael Koch <konqueror@gmx.de>
9341
9342 * java/net/Authenticator.java: updated JDK 1.4
9343 * java/net/ContentHandler.java: updated JDK 1.4
9344
9345 2002-08-20 Michael Koch <konqueror@gmx.de>
9346
9347 * java/net/URISyntaxException.java: New file.
9348 * java/net/SocketTimeoutException.java: New file.
9349 * java/net/PortUnreachableException.java: New file.
9350 * Makefile.am: Updated.
9351 * Makefile.in: Rebuilt.
9352
9353 2002-08-18 Mark Wielaard <mark@klomp.org>
9354
9355 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9356 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9357 MessageDigestSpi (fixes Classpath bug #783).
9358
9359 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9360
9361 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9362 (startProcess): Allocate path for chdir in async-signal-safe way.
9363
9364 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9365
9366 Fix for PR libgcj/7570 and PR libgcj/7578:
9367 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9368 (startProcess): Handle new `dir' argument.
9369 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9370 argument.
9371 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9372 argument.
9373 (startProcess): Likewise.
9374 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9375 argument.
9376 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9377 (exec): Don't create new environment if ENV==null. Pass DIR to
9378 execInternal.
9379 * java/lang/natRuntime.cc: Include java/io/File.h.
9380 (execInternal): Added `dir' argument.
9381
9382 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9383
9384 * java/io/RandomAccessFile.java (skipBytes): Return number of
9385 bytes skipped.
9386
9387 2002-08-01 Mark Wielaard <mark@klomp.org>
9388
9389 Reenable patch since shared library troubles on powerpc are solved:
9390 * gnu/java/security/provider/Gnu.java: Reference all implementation
9391 classes by using Class.getName().
9392 * gnu/java/security/der/DEREncodingException.java,
9393 gnu/java/security/provider/DERReader.java,
9394 gnu/java/security/provider/DERWriter.java,
9395 gnu/java/security/provider/DSAKeyPairGenerator.java,
9396 gnu/java/security/provider/DSAParameterGenerator.java,
9397 gnu/java/security/provider/DSAParameters.java,
9398 gnu/java/security/provider/DSASignature.java,
9399 gnu/java/security/provider/GnuDSAPrivateKey.java,
9400 gnu/java/security/provider/GnuDSAPublicKey.java,
9401 gnu/java/security/provider/MD5.java,
9402 gnu/java/security/util/Prime.java: New classes
9403 * Makefile.am (ordinary_java_source_files): Add above files.
9404 * Makefile.in: Regenerate.
9405 * gnu/java/security/provider/DefaultPolicy.java
9406 (getPermissions): Don't maintain static class variable of Permissions.
9407 * gnu/java/security/provider/SHA.java
9408 (engineUpdate): algorithm change.
9409 (engineDigest): algorithm change.
9410
9411 2002-08-09 Mark Wielaard <mark@klomp.org>
9412
9413 * java/awt/image/MemoryImageSource.java: Change constructor to take
9414 int[] not byte[].
9415 * java/awt/Graphics2D.java: Uncomment methods that can now be
9416 compiled.
9417 * java/awt/GridBagLayout.java: New stub implementation.
9418 * javax/swing/text/html/HTML.java: Stub implementation.
9419 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9420 implementation.
9421
9422 * Makefile.am: Add new files.
9423 * Makefile.in: Rebuilt.
9424
9425 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9426
9427 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9428 methods in Graphics2D.
9429
9430 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9431
9432 AWT/Swing merge from GNU Classpath.
9433
9434 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9435 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9436 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9437 java/awt/color/ProfileDataException.java,
9438 java/awt/CompositeContext.java, java/awt/Composite.java,
9439 java/awt/ContainerOrderFocusTraversalPolicy.java,
9440 java/awt/datatransfer/FlavorTable.java,
9441 java/awt/DefaultFocusTraversalPolicy.java,
9442 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9443 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9444 java/awt/dnd/DragGestureListener.java,
9445 java/awt/dnd/DragGestureRecognizer.java,
9446 java/awt/dnd/DragSourceAdapter.java,
9447 java/awt/dnd/DragSourceContext.java,
9448 java/awt/dnd/DragSourceDragEvent.java,
9449 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9450 java/awt/dnd/DragSourceListener.java,
9451 java/awt/dnd/DragSourceMotionListener.java,
9452 java/awt/dnd/DropTarget.java,
9453 java/awt/dnd/InvalidDnDOperationException.java,
9454 java/awt/dnd/peer/DragSourceContextPeer.java,
9455 java/awt/event/AWTEventListenerProxy.java,
9456 java/awt/event/MouseWheelEvent.java,
9457 java/awt/event/MouseWheelListener.java,
9458 java/awt/event/WindowFocusListener.java,
9459 java/awt/event/WindowStateListener.java,
9460 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9461 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9462 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9463 java/awt/geom/FlatteningPathIterator.java,
9464 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9465 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9466 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9467 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9468 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9469 java/awt/image/ImagingOpException.java,
9470 java/awt/image/RasterFormatException.java,
9471 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9472 java/awt/image/VolatileImage.java,
9473 java/awt/image/WritableRenderedImage.java,
9474 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9475 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9476 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9477 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9478 java/awt/PageAttributes.java, java/awt/print/Book.java,
9479 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9480 java/awt/print/Paper.java, java/awt/print/Printable.java,
9481 java/awt/print/PrinterAbortException.java,
9482 java/awt/print/PrinterException.java,
9483 java/awt/print/PrinterGraphics.java,
9484 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9485 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9486 java/awt/Stroke.java, java/awt/TexturePaint.java,
9487 javax/accessibility/AccessibleAction.java,
9488 javax/accessibility/AccessibleBundle.java,
9489 javax/accessibility/AccessibleComponent.java,
9490 javax/accessibility/AccessibleContext.java,
9491 javax/accessibility/AccessibleEditableText.java,
9492 javax/accessibility/AccessibleExtendedComponent.java,
9493 javax/accessibility/AccessibleExtendedTable.java,
9494 javax/accessibility/AccessibleHyperlink.java,
9495 javax/accessibility/AccessibleHypertext.java,
9496 javax/accessibility/AccessibleIcon.java,
9497 javax/accessibility/Accessible.java,
9498 javax/accessibility/AccessibleKeyBinding.java,
9499 javax/accessibility/AccessibleRelation.java,
9500 javax/accessibility/AccessibleRelationSet.java,
9501 javax/accessibility/AccessibleResourceBundle.java,
9502 javax/accessibility/AccessibleRole.java,
9503 javax/accessibility/AccessibleSelection.java,
9504 javax/accessibility/AccessibleState.java,
9505 javax/accessibility/AccessibleStateSet.java,
9506 javax/accessibility/AccessibleTable.java,
9507 javax/accessibility/AccessibleTableModelChange.java,
9508 javax/accessibility/AccessibleText.java,
9509 javax/accessibility/AccessibleValue.java,
9510 javax/swing/AbstractAction.java,
9511 javax/swing/AbstractButton.java,
9512 javax/swing/AbstractCellEditor.java,
9513 javax/swing/AbstractListModel.java,
9514 javax/swing/AbstractSet.java, javax/swing/Action.java,
9515 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9516 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9517 javax/swing/border/CompoundBorder.java,
9518 javax/swing/border/EmptyBorder.java,
9519 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9520 javax/swing/border/LineBorder.java,
9521 javax/swing/border/MatteBorder.java,
9522 javax/swing/border/TitledBorder.java,
9523 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9524 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9525 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9526 javax/swing/CellRendererPane.java,
9527 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9528 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9529 javax/swing/colorchooser/ColorSelectionModel.java,
9530 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9531 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9532 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9533 javax/swing/DefaultBoundedRangeModel.java,
9534 javax/swing/DefaultButtonModel.java,
9535 javax/swing/DefaultCellEditor.java,
9536 javax/swing/DefaultCellRenderer.java,
9537 javax/swing/DefaultComboBoxModel.java,
9538 javax/swing/DefaultDesktopManager.java,
9539 javax/swing/DefaultFocusManager.java,
9540 javax/swing/DefaultListCellRenderer.java,
9541 javax/swing/DefaultListModel.java,
9542 javax/swing/DefaultListSelectionModel.java,
9543 javax/swing/DefaultSingleSelectionModel.java,
9544 javax/swing/DesktopManager.java,
9545 javax/swing/event/AncestorEvent.java,
9546 javax/swing/event/AncestorListener.java,
9547 javax/swing/event/CaretEvent.java,
9548 javax/swing/event/CaretListener.java,
9549 javax/swing/event/CellEditorListener.java,
9550 javax/swing/event/ChangeEvent.java,
9551 javax/swing/event/ChangeListener.java,
9552 javax/swing/event/DocumentEvent.java,
9553 javax/swing/event/DocumentListener.java,
9554 javax/swing/event/EventListenerList.java,
9555 javax/swing/event/HyperlinkEvent.java,
9556 javax/swing/event/HyperlinkListener.java,
9557 javax/swing/event/InternalFrameAdapter.java,
9558 javax/swing/event/InternalFrameEvent.java,
9559 javax/swing/event/InternalFrameListener.java,
9560 javax/swing/event/ListDataEvent.java,
9561 javax/swing/event/ListDataListener.java,
9562 javax/swing/event/ListSelectionEvent.java,
9563 javax/swing/event/ListSelectionListener.java,
9564 javax/swing/event/MenuDragMouseEvent.java,
9565 javax/swing/event/MenuDragMouseListener.java,
9566 javax/swing/event/MenuEvent.java,
9567 javax/swing/event/MenuKeyEvent.java,
9568 javax/swing/event/MenuKeyListener.java,
9569 javax/swing/event/MenuListener.java,
9570 javax/swing/event/MouseInputAdapter.java,
9571 javax/swing/event/MouseInputListener.java,
9572 javax/swing/event/PopupMenuEvent.java,
9573 javax/swing/event/PopupMenuListener.java,
9574 javax/swing/event/SwingPropertyChangeSupport.java,
9575 javax/swing/event/TableColumnModelEvent.java,
9576 javax/swing/event/TableColumnModelListener.java,
9577 javax/swing/event/TableModelEvent.java,
9578 javax/swing/event/TableModelListener.java,
9579 javax/swing/event/TreeExpansionEvent.java,
9580 javax/swing/event/TreeExpansionListener.java,
9581 javax/swing/event/TreeModelEvent.java,
9582 javax/swing/event/TreeModelListener.java,
9583 javax/swing/event/TreeSelectionEvent.java,
9584 javax/swing/event/TreeSelectionListener.java,
9585 javax/swing/event/TreeWillExpandListener.java,
9586 javax/swing/event/UndoableEditEvent.java,
9587 javax/swing/event/UndoableEditListener.java,
9588 javax/swing/filechooser/FileFilter.java,
9589 javax/swing/filechooser/FileSystemView.java,
9590 javax/swing/filechooser/FileView.java,
9591 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9592 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9593 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9594 javax/swing/JApplet.java, javax/swing/JButton.java,
9595 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9596 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9597 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9598 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9599 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9600 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9601 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9602 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9603 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9604 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9605 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9606 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9607 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9608 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9609 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9610 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9611 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9612 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9613 javax/swing/JToolTip.java, javax/swing/JTree.java,
9614 javax/swing/JViewport.java, javax/swing/JWindow.java,
9615 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9616 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9617 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9618 javax/swing/MenuSelectionManager.java,
9619 javax/swing/MutableComboBoxModel.java,
9620 javax/swing/OverlayLayout.java,
9621 javax/swing/plaf/ActionMapUIResource.java,
9622 javax/swing/plaf/basic/BasicBorders.java,
9623 javax/swing/plaf/basic/BasicButtonUI.java,
9624 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9625 javax/swing/plaf/basic/BasicDefaults.java,
9626 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9627 javax/swing/plaf/basic/BasicIconFactory.java,
9628 javax/swing/plaf/basic/BasicLabelUI.java,
9629 javax/swing/plaf/basic/BasicListUI.java,
9630 javax/swing/plaf/basic/BasicLookAndFeel.java,
9631 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9632 javax/swing/plaf/basic/BasicPanelUI.java,
9633 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9634 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9635 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9636 javax/swing/plaf/basic/BasicTextUI.java,
9637 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9638 javax/swing/plaf/basic/BasicTreeUI.java,
9639 javax/swing/plaf/basic/BasicViewportUI.java,
9640 javax/swing/plaf/BorderUIResource.java,
9641 javax/swing/plaf/ButtonUI.java,
9642 javax/swing/plaf/ColorChooserUI.java,
9643 javax/swing/plaf/ColorUIResource.java,
9644 javax/swing/plaf/ComboBoxUI.java,
9645 javax/swing/plaf/ComponentInputMapUIResource.java,
9646 javax/swing/plaf/ComponentUI.java,
9647 javax/swing/plaf/DesktopIconUI.java,
9648 javax/swing/plaf/DesktopPaneUI.java,
9649 javax/swing/plaf/DimensionUIResource.java,
9650 javax/swing/plaf/FileChooserUI.java,
9651 javax/swing/plaf/FontUIResource.java,
9652 javax/swing/plaf/IconUIResource.java,
9653 javax/swing/plaf/InputMapUIResource.java,
9654 javax/swing/plaf/InsetsUIResource.java,
9655 javax/swing/plaf/InternalFrameUI.java,
9656 javax/swing/plaf/LabelUI.java,
9657 javax/swing/plaf/ListUI.java,
9658 javax/swing/plaf/MenuBarUI.java,
9659 javax/swing/plaf/MenuItemUI.java,
9660 javax/swing/plaf/OptionPaneUI.java,
9661 javax/swing/plaf/PanelUI.java,
9662 javax/swing/plaf/PopupMenuUI.java,
9663 javax/swing/plaf/ProgressBarUI.java,
9664 javax/swing/plaf/RootPaneUI.java,
9665 javax/swing/plaf/ScrollBarUI.java,
9666 javax/swing/plaf/ScrollPaneUI.java,
9667 javax/swing/plaf/SeparatorUI.java,
9668 javax/swing/plaf/SliderUI.java,
9669 javax/swing/plaf/SplitPaneUI.java,
9670 javax/swing/plaf/TabbedPaneUI.java,
9671 javax/swing/plaf/TableHeaderUI.java,
9672 javax/swing/plaf/TableUI.java,
9673 javax/swing/plaf/TextUI.java,
9674 javax/swing/plaf/ToolBarUI.java,
9675 javax/swing/plaf/ToolTipUI.java,
9676 javax/swing/plaf/TreeUI.java,
9677 javax/swing/plaf/UIResource.java,
9678 javax/swing/plaf/ViewportUI.java,
9679 javax/swing/ProgressMonitorInputStream.java,
9680 javax/swing/ProgressMonitor.java,
9681 javax/swing/Renderer.java,
9682 javax/swing/RepaintManager.java,
9683 javax/swing/RootPaneContainer.java,
9684 javax/swing/Scrollable.java,
9685 javax/swing/ScrollPaneConstants.java,
9686 javax/swing/ScrollPaneLayout.java,
9687 javax/swing/SingleSelectionModel.java,
9688 javax/swing/SizeRequirements.java,
9689 javax/swing/SizeSequence.java,
9690 javax/swing/SwingConstants.java,
9691 javax/swing/SwingUtilities.java,
9692 javax/swing/table/AbstractTableModel.java,
9693 javax/swing/table/DefaultTableCellRenderer.java,
9694 javax/swing/table/DefaultTableColumnModel.java,
9695 javax/swing/table/DefaultTableModel.java,
9696 javax/swing/table/TableCellEditor.java,
9697 javax/swing/table/TableCellRenderer.java,
9698 javax/swing/table/TableColumn.java,
9699 javax/swing/table/TableColumnModel.java,
9700 javax/swing/table/TableModel.java,
9701 javax/swing/text/AbstractDocument.java,
9702 javax/swing/text/AttributeSet.java,
9703 javax/swing/text/BadLocationException.java,
9704 javax/swing/text/Caret.java,
9705 javax/swing/text/CharacterIterator.java,
9706 javax/swing/text/ComponentView.java,
9707 javax/swing/text/DefaultCaret.java,
9708 javax/swing/text/DefaultEditorKit.java,
9709 javax/swing/text/Document.java,
9710 javax/swing/text/EditorKit.java,
9711 javax/swing/text/Element.java,
9712 javax/swing/text/GapContent.java,
9713 javax/swing/text/JTextComponent.java,
9714 javax/swing/text/Keymap.java,
9715 javax/swing/text/MutableAttributeSet.java,
9716 javax/swing/text/PlainDocument.java,
9717 javax/swing/text/PlainEditorKit.java,
9718 javax/swing/text/Position.java,
9719 javax/swing/text/Segment.java,
9720 javax/swing/text/StyledDocument.java,
9721 javax/swing/text/StyledEditorKit.java,
9722 javax/swing/text/Style.java,
9723 javax/swing/text/TextAction.java,
9724 javax/swing/text/ViewFactory.java,
9725 javax/swing/text/View.java,
9726 javax/swing/Timer.java,
9727 javax/swing/ToggleButtonModel.java,
9728 javax/swing/ToolTipManager.java,
9729 javax/swing/tree/AbstractLayoutCache.java,
9730 javax/swing/tree/DefaultMutableTreeNode.java,
9731 javax/swing/tree/DefaultTreeCellEditor.java,
9732 javax/swing/tree/DefaultTreeCellRenderer.java,
9733 javax/swing/tree/DefaultTreeModel.java,
9734 javax/swing/tree/DefaultTreeSelectionModel.java,
9735 javax/swing/tree/ExpandVetoException.java,
9736 javax/swing/tree/FixedHeightLayoutCache.java,
9737 javax/swing/tree/MutableTreeNode.java,
9738 javax/swing/tree/RowMapper.java,
9739 javax/swing/tree/TreeCellEditor.java,
9740 javax/swing/tree/TreeCellRenderer.java,
9741 javax/swing/tree/TreeModel.java,
9742 javax/swing/tree/TreeNode.java,
9743 javax/swing/tree/TreePath.java,
9744 javax/swing/tree/TreeSelectionModel.java,
9745 javax/swing/tree/VariableHeightLayoutCache.java,
9746 javax/swing/UIDefaults.java,
9747 javax/swing/UIManager.java,
9748 javax/swing/undo/AbstractUndoableEdit.java,
9749 javax/swing/undo/CannotRedoException.java,
9750 javax/swing/undo/CannotUndoException.java,
9751 javax/swing/undo/CompoundEdit.java,
9752 javax/swing/undo/StateEditable.java,
9753 javax/swing/undo/StateEdit.java,
9754 javax/swing/undo/UndoableEdit.java,
9755 javax/swing/undo/UndoableEditSupport.java,
9756 javax/swing/undo/UndoManager.java,
9757 javax/swing/UnsupportedLookAndFeelException.java,
9758 javax/swing/ViewportLayout.java,
9759 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9760
9761 * java/awt/ActiveEvent.java,
9762 java/awt/Adjustable.java, java/awt/AWTError.java,
9763 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9764 java/awt/AWTException.java, java/awt/AWTPermission.java,
9765 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9766 java/awt/Color.java, java/awt/Component.java,
9767 java/awt/ComponentOrientation.java, java/awt/Container.java,
9768 java/awt/datatransfer/MimeTypeParseException.java,
9769 java/awt/datatransfer/Transferable.java,
9770 java/awt/datatransfer/UnsupportedFlavorException.java,
9771 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9772 java/awt/event/ActionListener.java,
9773 java/awt/event/AdjustmentEvent.java,
9774 java/awt/event/AdjustmentListener.java,
9775 java/awt/event/AWTEventListener.java,
9776 java/awt/event/ComponentAdapter.java,
9777 java/awt/event/ComponentEvent.java,
9778 java/awt/event/ComponentListener.java,
9779 java/awt/event/ContainerAdapter.java,
9780 java/awt/event/ContainerEvent.java,
9781 java/awt/event/ContainerListener.java,
9782 java/awt/event/FocusAdapter.java,
9783 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9784 java/awt/event/HierarchyBoundsAdapter.java,
9785 java/awt/event/HierarchyBoundsListener.java,
9786 java/awt/event/HierarchyEvent.java,
9787 java/awt/event/HierarchyListener.java,
9788 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9789 java/awt/event/InputMethodListener.java,
9790 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9791 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9792 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9793 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9794 java/awt/event/MouseListener.java,
9795 java/awt/event/MouseMotionAdapter.java,
9796 java/awt/event/MouseMotionListener.java,
9797 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9798 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9799 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9800 java/awt/event/WindowListener.java, java/awt/Font.java,
9801 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9802 java/awt/geom/Ellipse2D.java,
9803 java/awt/geom/IllegalPathStateException.java,
9804 java/awt/geom/Line2D.java,
9805 java/awt/geom/NoninvertibleTransformException.java,
9806 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9807 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9808 java/awt/geom/RoundRectangle2D.java,
9809 java/awt/GraphicsConfiguration.java,
9810 java/awt/IllegalComponentStateException.java,
9811 java/awt/image/IndexColorModel.java,
9812 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9813 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9814 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9815 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9816 java/awt/MenuItem.java, java/awt/PaintContext.java,
9817 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9818 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9819 java/awt/PrintJob.java, java/awt/Rectangle.java,
9820 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9821 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9822 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9823
9824 * java/awt/im/spi/InputMethod.java,
9825 java/awt/im/spi/InputMethodContext.java,
9826 java/awt/im/spi/InputMethodDescriptor.java,
9827 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9828 java/awt/image/renderable/ParameterBlock.java,
9829 java/awt/image/renderable/RenderContext.java,
9830 java/awt/image/renderable/RenderableImage.java,
9831 java/awt/image/renderable/RenderableImageOp.java,
9832 java/awt/image/renderable/RenderableImageProducer.java,
9833 java/awt/image/renderable/RenderedImageFactory.java: New files from
9834 classpath.
9835
9836 * gnu/java/awt/EventModifier.java,
9837 gnu/java/awt/image/ImageDecoder.java,
9838 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9839
9840 * gnu/awt/xlib/XGraphicsConfiguration.java,
9841 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9842 API.
9843
9844 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9845 GNU Classpath.
9846
9847 * Makefile.am: Add new files.
9848 * Makefile.in: Rebuilt.
9849
9850 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9851
9852 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9853 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9854 findResource, getResources, findResources): Add javadoc from classpath.
9855 (getSystemResources): Implemented.
9856
9857 2002-08-01 Mark Wielaard <mark@klomp.org>
9858
9859 Revert patch that breaks libgcj shared library on powerpc:
9860 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9861 implementation classes by using Class.getName(). Uses Strings again.
9862 * gnu/java/security/der/DEREncodingException.java,
9863 gnu/java/security/provider/DERReader.java,
9864 gnu/java/security/provider/DERWriter.java,
9865 gnu/java/security/provider/DSAKeyPairGenerator.java,
9866 gnu/java/security/provider/DSAParameterGenerator.java,
9867 gnu/java/security/provider/DSAParameters.java,
9868 gnu/java/security/provider/DSASignature.java,
9869 gnu/java/security/provider/GnuDSAPrivateKey.java,
9870 gnu/java/security/provider/GnuDSAPublicKey.java,
9871 gnu/java/security/provider/MD5.java,
9872 gnu/java/security/util/Prime.java: Removed.
9873 * Makefile.am (ordinary_java_source_files): Remove above files.
9874 * Makefile.in: Regenerate.
9875 * gnu/java/security/provider/DefaultPolicy.java
9876 (getPermissions): Revert to maintaining static class variable of
9877 Permissions.
9878 * gnu/java/security/provider/SHA.java
9879 (engineUpdate): Revert algorithm change.
9880 (engineDigest): Revert algorithm change.
9881
9882 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9883
9884 * configure.host: Add SH support.
9885 * sysdep/sh/locks.h: New file.
9886
9887 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9888
9889 * java/awt/Frame.java (Frame): Remove println calls.
9890
9891 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9892
9893 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9894 * configure: Rebuilt.
9895
9896 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9897
9898 * sysdep/powerpc/locks.h: Formatting.
9899 (_LARX): Define.
9900 (_STCX): Define.
9901 (compare_and_swap): Use _LARX and _STCX.
9902 (compare_and_swap_release): Likewise.
9903
9904 2002-07-26 Tom Tromey <tromey@redhat.com>
9905
9906 * java/net/Authenticator.java: New version from Classpath.
9907 * java/net/DatagramSocketImpl.java: New version from Classpath.
9908
9909 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9910
9911 * configure.host: Add powerpc64*-* entry.
9912
9913 2002-07-26 Tom Tromey <tromey@redhat.com>
9914
9915 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9916 fcntl.h.
9917
9918 2002-07-24 Tom Tromey <tromey@redhat.com>
9919
9920 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9921 argument to _load.
9922
9923 2002-07-24 Tom Tromey <tromey@redhat.com>
9924 Tony Kimball <alk@pobox.com>
9925
9926 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9927 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9928 * java/io/RandomAccessFile.java (setLength): New method.
9929 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9930 * java/io/FileDescriptor.java (setLength): New method.
9931
9932 2002-07-24 Mark Wielaard <mark@klomp.org>
9933
9934 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9935 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9936 field call setAccessible(true).
9937 (setByteField): Likewise.
9938 (setCharField): Likewise.
9939 (setDoubleField): Likewise.
9940 (setFloatField): Likewise.
9941 (setIntField): Likewise.
9942 (setLongField): Likewise.
9943 (setShortField): Likewise.
9944 (setObjectField): Likewise.
9945
9946 2002-07-24 Tom Tromey <tromey@redhat.com>
9947
9948 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9949 use toString() to format array element.
9950
9951 2002-07-23 Mark Wielaard <mark@klomp.org>
9952
9953 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9954 MessageDigestSpi (fixes Classpath bug #783).
9955
9956 2002-07-21 Mark Wielaard <mark@klomp.org>
9957
9958 * gnu/java/security/provider/Gnu.java: Reference all implementation
9959 classes by using Class.getName().
9960
9961 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9962
9963 * java/lang/ieeefp.h: Add x86-64 support.
9964 * configure.in: Likewise.
9965 * configure.host: Likewise.
9966 * configure: Regenerated.
9967 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9968
9969 2002-07-16 Mark Wielaard <mark@klomp.org>
9970
9971 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9972 (whitespaceChars): call resetChar().
9973
9974 2002-07-15 Tom Tromey <tromey@redhat.com>
9975
9976 * Makefile.in: Rebuilt.
9977 * Makefile.am (awt_java_source_files): Added new files.
9978 * java/beans/ExceptionListener.java: Merged with Classpath.
9979 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9980 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9981 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9982 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9983 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9984 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9985 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9986
9987 2002-07-14 Mark Wielaard <mark@klomp.org>
9988
9989 * gnu/java/security/der/DEREncodingException.java,
9990 gnu/java/security/provider/DERReader.java,
9991 gnu/java/security/provider/DERWriter.java,
9992 gnu/java/security/provider/DSAKeyPairGenerator.java,
9993 gnu/java/security/provider/DSAParameterGenerator.java,
9994 gnu/java/security/provider/DSAParameters.java,
9995 gnu/java/security/provider/DSASignature.java,
9996 gnu/java/security/provider/GnuDSAPrivateKey.java,
9997 gnu/java/security/provider/GnuDSAPublicKey.java,
9998 gnu/java/security/provider/MD5.java,
9999 gnu/java/security/util/Prime.java: New files from Classpath.
10000 * Makefile.am (ordinary_java_source_files): Add new files.
10001 * Makefile.in: Regenerate.
10002
10003 2002-07-14 C. Brian Jones <cbj@gnu.org>
10004
10005 * gnu/java/security/provider/DefaultPolicy.java
10006 (getPermissions): do not maintain static class variable of
10007 Permissions
10008 * gnu/java/security/provider/SHA.java
10009 (engineUpdate): algorithm change
10010 (engineDigest): algorithm change
10011
10012 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
10013
10014 For PR libgcj/7292:
10015 * java/lang/Character.java (toString(char)): Now static.
10016
10017 2002-07-12 Mark Wielaard <mark@klomp.org>
10018
10019 * java/lang/natThrowable.cc (printRawStackTrace): removed.
10020 (getStackTrace0): new method.
10021 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
10022 (printStackTrace(PrintWriter)): replace with pure java implementation.
10023 (printRawStackTrace): removed.
10024 (getStackTrace0): new method.
10025 * java/lang/StackTraceElement.java (toString): add extra whitespace.
10026 * gcj/javaprims.h: regenerate class list.
10027 * include/name-finder.h (lookup): new returns StackTraceElement*.
10028 (method_name, file_name): fields removed.
10029 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
10030 (~_Jv_name_finder): close new descriptors.
10031 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
10032 (createStackTraceElement): new method.
10033 (lookup): returns StackTraceElement*, uses createStackTraceElement().
10034
10035 2002-07-10 Tom Tromey <tromey@redhat.com>
10036
10037 * configure: Rebuilt.
10038 * configure.in: Use `test' after `&&'. From Chris Faylor.
10039
10040 2002-07-08 Mark Wielaard <mark@klomp.org>
10041
10042 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
10043 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
10044 java.sql.DatabaseMetaData.TestJdbc20
10045
10046 2002-07-05 Tony Kimball <alk@pobox.com>
10047
10048 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
10049
10050 2002-07-04 Tom Tromey <tromey@redhat.com>
10051 Jeff Sturm <jsturm@one-point.com>
10052
10053 Fix for PR libgcj/7060:
10054 * java/lang/Class.h (_getMethod): Renamed from getMethod.
10055 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
10056 Recurse into superinterfaces. Don't throw NoSuchMethodException.
10057 * java/lang/Class.java (getMethod): New Java implementation;
10058 complies with spec.
10059 (_getMethod): New native method.
10060
10061 2002-07-02 Tom Tromey <tromey@redhat.com>
10062 David Hovemeyer <daveho@cs.umd.edu>
10063
10064 * java/text/ChoiceFormat.java
10065 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
10066 in check loop.
10067 * java/text/MessageFormat.java
10068 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
10069 to MessageFormat.
10070
10071 2002-07-01 Tom Tromey <tromey@redhat.com>
10072
10073 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
10074 StringTokenizer on null string. For PR libgcj/7180.
10075 From daveho@cs.umd.edu.
10076
10077 2002-06-24 Tom Tromey <tromey@redhat.com>
10078
10079 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
10080 (IntegerClass): Likewise.
10081 * java/lang/natClass.cc (CloneableClass): Removed.
10082 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
10083 ConstructorClass): Likewise.
10084 * java/lang/natClassLoader.cc (CloneableClass): Removed.
10085 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
10086 SerializableClass): Likewise.
10087 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
10088 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
10089 LongClass, FloatClass, DoubleClass): Likewise.
10090
10091 * verify.cc (branch_prepass): Updated for change to exception
10092 handler type.
10093 (verify_instructions_0): Likewise.
10094 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
10095 (handleExceptionTableEntry): Updated for change to exception
10096 handler type.
10097 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
10098 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
10099 (union _Jv_InterpPC): New.
10100 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
10101 (class _Jv_InterpMethod): Added new `prepared' field.
10102 (class _Jv_InterpMethod): Added `compile' method. Removed
10103 `continue1' and `find_exception'. Changed arguments to `run'.
10104 * interpret.cc (union insn_slot): New.
10105 (find_exception): Removed.
10106 (run_normal): Removed most logic.
10107 (run_synch_object): Likewise; also, use JvSynchronize.
10108 (run_synch_class): Likewise.
10109 (run): Removed.
10110 (continue1): Renamed as `run'. Compile bytecode if required.
10111 Add new code to allow refinement of direct-threaded code at
10112 runtime. Handle exceptions.
10113 (SAVE_PC): Removed.
10114 (compile): New method.
10115 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
10116 (NULLARRAYCHECK): Don't use SAVE_PC.
10117 (pc_t): New typedef.
10118 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
10119 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
10120
10121 2002-06-23 Tom Tromey <tromey@redhat.com>
10122
10123 * configure: Rebuilt.
10124 * configure.in (INTERPRETER): New subst.
10125 (AM_RUNTESTFLAGS): Don't subst.
10126
10127 * Makefile.in: Rebuilt.
10128 * Makefile.am ($(srcdir)/java/lang/Object.h,
10129 $(srcdir)/java/lang/Class.h): Added dummy targets.
10130
10131 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10132
10133 Reformat JDBC classes and add new JDK 1.4 classes and methods.
10134
10135 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
10136 java/sql/Savepoint.java: New files.
10137 * java/sql/Array.java, java/sql/BatchUpdateException.java,
10138 java/sql/Blob.java, java/sql/CallableStatement.java,
10139 java/sql/Clob.java, java/sql/Connection.java,
10140 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
10141 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
10142 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
10143 java/sql/Ref.java, java/sql/ResultSet.java,
10144 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
10145 java/sql/SQLException.java, java/sql/SQLInput.java,
10146 java/sql/SQLOutput.java, java/sql/SQLWarning.java
10147 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
10148 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
10149 (JDK 1.4) specification.
10150 * javax/sql/ConnectionEvent.java,
10151 javax/sql/ConnectionEventListener.java,
10152 javax/sql/ConnectionPoolDataSource.java,
10153 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
10154 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
10155 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
10156 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
10157 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
10158 javax/sql/XADataSource.java: New files.
10159 * Makefile.am: Add new files.
10160 * Makefile.in: Rebuilt.
10161
10162 2002-06-20 Tom Tromey <tromey@redhat.com>
10163
10164 For PR libgcj/7073:
10165 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10166 exists.
10167 * defineclass.cc (handleClassBegin): Superclass for interface is
10168 `null'.
10169
10170 2002-06-18 Tom Tromey <tromey@redhat.com>
10171
10172 * gcj/javaprims.h: Updated class declaration list.
10173 * Makefile.in: Rebuilt.
10174 * Makefile.am (core_java_source_files): Removed
10175 BasicMapEntry.java.
10176 * java/util/BasicMapEntry.java: Removed.
10177
10178 2002-06-18 Jeff Sturm <jsturm@one-point.com>
10179
10180 * java/net/natPlainDatagramSocketImpl.cc (receive):
10181 Check bounds of argument to FD_SET.
10182 (setOption): Throw exception if socket is closed.
10183
10184 * java/net/natPlainSocketImpl.cc (accept, read):
10185 Check bounds of argument to FD_SET.
10186 (setOption): Throw exception if socket is closed.
10187
10188 2002-06-18 Tom Tromey <tromey@redhat.com>
10189
10190 * gcj/javaprims.h: Updated class declaration list.
10191 * Makefile.in: Rebuilt.
10192 * Makefile.am (core_java_source_files): Added
10193 PropertyPermissionCollection.java.
10194 * java/lang/Thread.java (group, name): Now package-private.
10195 * java/lang/ThreadGroup.java: Re-merge with Classpath.
10196 * java/util/AbstractList.java: Likewise.
10197 * java/util/AbstractMap.java: Likewise.
10198 * java/util/Calendar.java: Likewise.
10199 * java/util/Collections.java: Likewise.
10200 * java/util/HashMap.java: Likewise.
10201 * java/util/Hashtable.java: Likewise.
10202 * java/util/LinkedHashMap.java: Likewise.
10203 * java/util/LinkedList.java: Likewise.
10204 * java/util/List.java: Likewise.
10205 * java/util/ListResourceBundle.java: Likewise.
10206 * java/util/Map.java: Likewise.
10207 * java/util/Observable.java: Likewise.
10208 * java/util/Properties.java: Likewise.
10209 * java/util/PropertyPermission.java: Likewise.
10210 * java/util/PropertyPermissionCollection.java: Likewise.
10211 * java/util/PropertyResourceBundle.java: Likewise.
10212 * java/util/Random.java: Likewise.
10213 * java/util/SimpleTimeZone.java: Likewise.
10214 * java/util/StringTokenizer.java: Likewise.
10215 * java/util/TimerTask.java: Likewise.
10216 * java/util/TreeMap.java: Likewise.
10217 * java/util/WeakHashMap.java: Likewise.
10218 * java/util/jar/Attributes.java: Likewise.
10219 * java/util/jar/JarException.java: Likewise.
10220 * java/util/jar/Manifest.java: Likewise.
10221
10222 2002-06-17 Tom Tromey <tromey@redhat.com>
10223
10224 * gcj/javaprims.h: Updated class declaration list.
10225 * Makefile.in: Rebuilt.
10226 * Makefile.am (core_java_source_files): Added new file.
10227 * java/util/EventListenerProxy.java: New file.
10228 * java/util/EventListener.java: Re-merge with Classpath.
10229 * java/util/EventObject.java: Re-merge with Classpath.
10230
10231 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10232
10233 * java/lang/ClassNotFoundException.java: New Classpath version.
10234
10235 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10236
10237 * java/rmi/activation/ActivateFailedException.java: Remerge from
10238 Classpath version.
10239 * java/rmi/activation/ActivationException.java: Ditto.
10240 * java/rmi/activation/UnknownGroupException.java: Ditto.
10241 * java/rmi/activation/UnknownObjectException.java: Ditto.
10242 * java/rmi/server/ExportException: Ditto.
10243 * java/rmi/server/ServerCloneException: Ditto.
10244 * java/rmi/server/ServerNotActiveException: Ditto.
10245 * java/rmi/server/SkeletonMismatchException: Ditto.
10246 * java/rmi/server/SkeletonNotFoundException: Ditto.
10247 * java/rmi/server/SocketSecurityException: Ditto.
10248
10249 2002-06-16 Tom Tromey <tromey@redhat.com>
10250
10251 * gcj/javaprims.h: Updated class declaration list.
10252
10253 * java/io/LineNumberInputStream.java: Merged with Classpath.
10254
10255 * java/lang/RuntimeException.java: Re-merge with Classpath.
10256 * java/util/ArrayList.java: Likewise.
10257 * java/util/Arrays.java: Likewise.
10258 * java/util/BitSet.java: Likewise.
10259 * java/util/Dictionary.java: Likewise.
10260 * java/util/IdentityHashMap.java: Likewise.
10261 * java/util/MissingResourceException.java: Likewise.
10262 * java/util/Observer.java: Likewise.
10263 * java/util/TooManyListenersException.java: Likewise.
10264 * java/util/zip/DataFormatException.java: Likewise.
10265 * java/util/zip/ZipException.java: Likewise.
10266
10267 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
10268
10269 * java/rmi/AccessException.java: Remerge from Classpath.
10270 * java/rmi/AlreadyBoundException.java: Ditto.
10271 * java/rmi/ConnectException.java: Ditto.
10272 * java/rmi/ConnectIOException.java: Ditto.
10273 * java/rmi/MarshalException.java: Ditto.
10274 * java/rmi/NoSuchObjectException.java: Ditto.
10275 * java/rmi/NotBoundException.java: Ditto.
10276 * java/rmi/RemoteException.java: Ditto.
10277 * java/rmi/RMISecurityException.java: Ditto.
10278 * java/rmi/ServerError.java: Ditto.
10279 * java/rmi/ServerException.java: Ditto.
10280 * java/rmi/ServerRuntimeException.java: Ditto.
10281 * java/rmi/StubNotFoundException.java: Ditto.
10282 * java/rmi/UnexpectedExcpetion.java: Ditto.
10283 * java/rmi/UnknownHostException.java: Ditto.
10284 * java/rmi/UnmarshalException.java: Ditto.
10285
10286 2002-06-15 Tom Tromey <tromey@redhat.com>
10287
10288 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10289 * java/lang/ArithmeticException.java: Likewise.
10290 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10291 * java/lang/ArrayStoreException.java: Likewise.
10292 * java/lang/Byte.java: Likewise.
10293 * java/lang/CharSequence.java: Likewise.
10294 * java/lang/ClassCastException.java: Likewise.
10295 * java/lang/ClassCircularityError.java: Likewise.
10296 * java/lang/ClassFormatError.java: Likewise.
10297 * java/lang/CloneNotSupportedException.java: Likewise.
10298 * java/lang/Cloneable.java: Likewise.
10299 * java/lang/Comparable.java: Likewise.
10300 * java/lang/Compiler.java: Likewise.
10301 * java/lang/Error.java: Likewise.
10302 * java/lang/ExceptionInInitializerError.java: Likewise.
10303 * java/lang/IllegalAccessError.java: Likewise.
10304 * java/lang/IllegalAccessException.java: Likewise.
10305 * java/lang/IllegalArgumentException.java: Likewise.
10306 * java/lang/IllegalMonitorStateException.java: Likewise.
10307 * java/lang/IllegalStateException.java: Likewise.
10308 * java/lang/IllegalThreadStateException.java: Likewise.
10309 * java/lang/IncompatibleClassChangeError.java: Likewise.
10310 * java/lang/IndexOutOfBoundsException.java: Likewise.
10311 * java/lang/InheritableThreadLocal.java: Likewise.
10312 * java/lang/InstantiationError.java: Likewise.
10313 * java/lang/InstantiationException.java: Likewise.
10314 * java/lang/InternalError.java: Likewise.
10315 * java/lang/InterruptedException.java: Likewise.
10316 * java/lang/LinkageError.java: Likewise.
10317 * java/lang/NegativeArraySizeException.java: Likewise.
10318 * java/lang/NoClassDefFoundError.java: Likewise.
10319 * java/lang/NoSuchFieldError.java: Likewise.
10320 * java/lang/NoSuchFieldException.java: Likewise.
10321 * java/lang/NoSuchMethodError.java: Likewise.
10322 * java/lang/NoSuchMethodException.java: Likewise.
10323 * java/lang/NullPointerException.java: Likewise.
10324 * java/lang/NumberFormatException.java: Likewise.
10325 * java/lang/OutOfMemoryError.java: Likewise.
10326 * java/lang/Process.java: Likewise.
10327 * java/lang/Runnable.java: Likewise.
10328 * java/lang/RuntimePermission.java: Likewise.
10329 * java/lang/SecurityException.java: Likewise.
10330 * java/lang/Short.java: Likewise.
10331 * java/lang/StackOverflowError.java: Likewise.
10332 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10333 * java/lang/ThreadDeath.java: Likewise.
10334 * java/lang/ThreadLocal.java: Likewise.
10335 * java/lang/UnknownError.java: Likewise.
10336 * java/lang/UnsatisfiedLinkError.java: Likewise.
10337 * java/lang/UnsupportedClassVersionError.java: Likewise.
10338 * java/lang/UnsupportedOperationException.java: Likewise.
10339 * java/lang/VerifyError.java: Likewise.
10340 * java/lang/VirtualMachineError.java: Likewise.
10341 * java/lang/reflect/InvocationTargetException.java: Likewise.
10342 * java/net/BindException.java: Likewise.
10343 * java/net/ConnectException.java: Likewise.
10344 * java/net/MalformedURLException.java: Likewise.
10345 * java/net/NoRouteToHostException.java: Likewise.
10346 * java/net/ProtocolException.java: Likewise.
10347 * java/net/SocketException.java: Likewise.
10348 * java/net/UnknownHostException.java: Likewise.
10349 * java/net/UnknownServiceException.java: Likewise.
10350
10351 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10352 * java/io/CharConversionException.java: Likewise.
10353 * java/io/EOFException.java: Likewise.
10354 * java/io/FileNotFoundException.java: Likewise.
10355 * java/io/IOException.java: Likewise.
10356 * java/io/InterruptedIOException.java: Likewise.
10357 * java/io/InvalidClassException.java: Likewise.
10358 * java/io/InvalidObjectException.java: Likewise.
10359 * java/io/NotActiveException.java: Likewise.
10360 * java/io/NotSerializableException.java: Likewise.
10361 * java/io/ObjectStreamException.java: Likewise.
10362 * java/io/ObjectStreamConstants.java: Likewise.
10363 * java/io/OptionalDataException.java: Likewise.
10364 * java/io/PipedInputStream.java: Likewise.
10365 * java/io/PushbackInputStream.java: Likewise.
10366 * java/io/StreamCorruptedException.java: Likewise.
10367 * java/io/SyncFailedException.java: Likewise.
10368 * java/io/UTFDataFormatException.java: Likewise.
10369 * java/io/UnsupportedEncodingException.java: Likewise.
10370 * java/io/WriteAbortedException.java: Likewise.
10371
10372 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10373
10374 * java/text/ChoiceFormat.java: Update comments from Classpath.
10375 * java/text/ParseException.java (serialVersionUID): New
10376 field from Classpath.
10377 * java/text/ParseException.java: Update formatting & comments
10378 from Classpath.
10379
10380 2002-06-15 Tom Tromey <tromey@redhat.com>
10381
10382 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10383 been read but none output by inflater.
10384 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10385 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10386 is_finished.
10387 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10388 version.
10389 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10390 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10391 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10392 version.
10393 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10394
10395 2002-06-13 Tom Tromey <tromey@redhat.com>
10396
10397 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10398 true and OFFSET!=0.
10399 * java/lang/String.java (String(char[],int,int,boolean): New
10400 constructor.
10401 * java/lang/Long.java: Imported new version from Classpath.
10402 * java/lang/Number.java: Likewise.
10403 * java/lang/Integer.java: Likewise.
10404 * java/lang/Long.java: Likewise.
10405 * java/lang/Float.java: Likewise.
10406 * java/lang/Boolean.java: Likewise.
10407 * java/lang/Double.java: Likewise.
10408 * java/lang/Void.java: Likewise.
10409
10410 2002-06-12 Tom Tromey <tromey@redhat.com>
10411
10412 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10413 Fixes PR libgcj/6652.
10414
10415 2002-06-10 Tom Tromey <tromey@redhat.com>
10416
10417 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10418 (Class::getPackagePortion): Likewise.
10419 * java/lang/Class.java (desiredAssertionStatus): New method from
10420 Classpath.
10421 (getPackagePortion): Likewise.
10422 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10423 packageAssertionStatus, classAssertionStatus): New methods from
10424 Classpath.
10425 * java/lang/ClassLoader.java (defaultAssertionStatus,
10426 systemPackageAssertionStatus, packageAssertionStatus,
10427 systemClassAssertionStatus, classAssertionStatus): New fields from
10428 Classpath.
10429 (setDefaultAssertionStatus, setPackageAssertionStatus,
10430 setClassAssertionStatus, clearAssertionStatus): New methods from
10431 Classpath.
10432 * Makefile.in: Rebuilt.
10433 * Makefile.am (core_java_source_files): Added AssertionError.java.
10434 * java/lang/AssertionError.java: New from Classpath.
10435
10436 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10437
10438 * configure.host: Disable hash synchronization and slow_pthread_self
10439 for cygwin.
10440
10441 2002-06-06 Adam Megacz <adam@xwt.org>
10442
10443 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10444 locking, just like the Sun JVM does.
10445
10446 2002-06-05 H.J. Lu (hjl@gnu.org)
10447
10448 * Makefile.am (libgcj_convenience.la): Revert the last change.
10449 (libgcj.la): Likewise.
10450 * Makefile.in: Regenerated.
10451
10452 2002-06-04 H.J. Lu (hjl@gnu.org)
10453
10454 * Makefile.am (libgcj_convenience.la): New target.
10455 (libgcj.la): Depend on libgcj_convenience.la.
10456 * Makefile.in: Regenerated.
10457
10458 2002-06-04 H.J. Lu (hjl@gnu.org)
10459
10460 * configure.in (--with-newlib): New option:
10461 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10462 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10463 Linux.
10464 * configure: Regenerated.
10465
10466 2002-06-04 Tom Tromey <tromey@redhat.com>
10467
10468 * java/util/natTimeZone.cc: Include <stdio.h>.
10469
10470 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10471
10472 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10473 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10474 Set SIGNAL_HANDLER=include/s390-linux.h.
10475 * configure: Regenerate.
10476 * include/s390-linux.h: New file.
10477
10478 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10479
10480 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10481 not "stackTrace".
10482
10483 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10484
10485 Merge JDK 1.4 java.security changes from classpath.
10486
10487 * java/security/AccessControlException.java: Merge from Classpath.
10488 * java/security/AccessController.java: Likewise.
10489 * java/security/AllPermission.java: Likewise.
10490 * java/security/BasicPermission.java: Likewise.
10491 * java/security/Certificate.java: Likewise.
10492 * java/security/CodeSource.java: Likewise.
10493 * java/security/DigestException.java: Likewise.
10494 * java/security/DigestOutputStream.java: Likewise.
10495 * java/security/DomainCombiner.java: Likewise.
10496 * java/security/GeneralSecurityException.java: Likewise.
10497 * java/security/Guard.java: Likewise.
10498 * java/security/GuardedObject.java: Likewise.
10499 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10500 * java/security/InvalidKeyException.java: Likewise.
10501 * java/security/InvalidParameterException.java: Likewise.
10502 * java/security/Key.java: Likewise.
10503 * java/security/KeyException.java: Likewise.
10504 * java/security/KeyManagementException.java: Likewise.
10505 * java/security/KeyStoreException.java: Likewise.
10506 * java/security/MessageDigest.java: Likewise.
10507 * java/security/NoSuchAlgorithmException.java: Likewise.
10508 * java/security/NoSuchProviderException.java: Likewise.
10509 * java/security/Permission.java: Likewise.
10510 * java/security/PermissionCollection.java: Likewise.
10511 * java/security/Permissions.java: Likewise.
10512 * java/security/Policy.java: Likewise.
10513 * java/security/Principal.java: Likewise.
10514 * java/security/PrivateKey.java: Likewise.
10515 * java/security/PrivilegedAction.java: Likewise.
10516 * java/security/PrivilegedActionException.java: Likewise.
10517 * java/security/PrivilegedExceptionAction.java: Likewise.
10518 * java/security/ProtectionDomain.java: Likewise.
10519 * java/security/ProviderException.java: Likewise.
10520 * java/security/PublicKey.java: Likewise.
10521 * java/security/SecureClassLoader.java: Likewise.
10522 * java/security/SecurityPermission.java: Likewise.
10523 * java/security/SignatureException.java: Likewise.
10524 * java/security/UnrecoverableKeyException.java: Likewise.
10525 * java/security/UnresolvedPermission.java: Likewise.
10526 * java/security/acl/AclNotFoundException.java: Likewise.
10527 * java/security/acl/LastOwnerException.java: Likewise.
10528 * java/security/acl/NotOwnerException.java: Likewise.
10529 * java/security/cert/CRLException.java: Likewise.
10530 * java/security/cert/CertificateEncodingException.java: Likewise.
10531 * java/security/cert/CertificateException.java: Likewise.
10532 * java/security/cert/CertificateExpiredException.java: Likewise.
10533 * java/security/cert/CertificateFactory.java: Likewise.
10534 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10535 * java/security/cert/CertificateParsingException.java: Likewise.
10536 * java/security/spec/InvalidKeySpecException.java: Likewise.
10537 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10538
10539 * java/security/cert/CertPath.java: New file.
10540 * java/security/cert/CertPathBuilderException.java: New file.
10541 * java/security/cert/CertPathValidatorException.java: New file.
10542 * java/security/cert/CertStoreException.java: New file.
10543
10544 * Makefile.am: Add new CertPath classes.
10545 * Makefile.in: Rebuilt.
10546
10547 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10548
10549 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10550
10551 Merge JDK 1.4 exception chaining support from classpath.
10552
10553 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10554 (stackTraceBytes): Rename from stackTrace.
10555 * java/lang/Exception.java: Merge from classpath.
10556 * java/lang/StackTraceElement: New file from classpath.
10557 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10558 * Makefile.am: Add StackTraceElement.
10559 * Makefile.in: Rebuilt.
10560
10561 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10562
10563 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10564 they build first.
10565 * Makefile.in: Rebuilt.
10566
10567 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10568
10569 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10570 * configure.in: Likewise.
10571 * aclocal.m4: Regenerate.
10572 * configure: Regenerate.
10573
10574 2002-05-13 Tom Tromey <tromey@redhat.com>
10575
10576 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10577 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10578 Include platform.h.
10579
10580 Fixes PR libgcj/6389:
10581 * Makefile.in: Rebuilt.
10582 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10583 * java/util/natTimeZone.cc: New file.
10584 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10585 * java/lang/System.java: Merged with Classpath.
10586 * java/lang/Runtime.java: Merged with Classpath.
10587 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10588 security check.
10589 (setIn0): Renamed from setIn; don't run security check.
10590 (setOut0): Renamed from setOut; don't run security check.
10591 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10592 init_properties): Moved to natRuntime.cc.
10593 Moved many includes to natRuntime.cc.
10594 (isWordsBigEndian): New method.
10595 * java/lang/natRuntime.cc: Include Long.h, also other includes
10596 previously in natSystem.cc.
10597 (maxMemory): New function.
10598 (exitInternal): Renamed from `_exit'.
10599 (exit): Removed.
10600 (init): Don't set finalize_on_exit.
10601 (exitInternal): Use `finalizeOnExit'.
10602 (file_encoding, getpwuid_adaptor): New functions from
10603 natSystem.cc.
10604 (insertSystemProperties): New method, renamed from
10605 System::init_properties. Don't set user.timezone.
10606 (_load): Don't call checkLink.
10607 (execInternal): New method.
10608 (availableProcessors): Likewise.
10609 (nativeGetLibname): Likewise.
10610
10611 2002-05-11 Mark Wielaard <mark@klomp.org>
10612
10613 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10614 space characters.
10615 (previous_internal): Likewise.
10616
10617 2002-05-09 Tom Tromey <tromey@redhat.com>
10618
10619 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10620
10621 * java/util/ResourceBundle.java: New version from Classpath.
10622 * java/util/Locale.java: Likewise.
10623
10624 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10625
10626 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10627 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10628 LD_LIBRARY_PATH.
10629
10630 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10631
10632 * libjava/Makefile.am (all_java_source_files): New variable.
10633 (all_java_class_files): Likewise.
10634 .java.class: New rule.
10635 (CLEANFILES): Remove tmp-list.
10636 * libjava/Makefile.in: Regenerated.
10637
10638 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10639
10640 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10641 Append .exe to executable names. Fix for cygwin.
10642
10643 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10644
10645 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10646 script entry, and set LD to it when configuring multilibs.
10647 * configure: Rebuilt.
10648
10649 2002-05-07 Tom Tromey <tromey@redhat.com>
10650
10651 * java/lang/natString.cc (unintern): Fixed typo.
10652
10653 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10654
10655 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10656 with -no-install on *-*-cygwin*.
10657
10658 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10659
10660 * testsuite/lib/libjava.exp (test_libjava_from_source):
10661 Add comment explaining last patch
10662
10663 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10664
10665 * testsuite/lib/libjava.exp (test_libjava_from_source):
10666 Append .exe to executable names. If no suffix is present,
10667 then ".exe" is added by default on win32. Harmless
10668 elsewhere so always do it.
10669
10670 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10671 Tom Tromey <tromey@redhat.com>
10672
10673 * java/lang/natSystem.cc (getSystemTimeZone): Use
10674 HAVE_UNDERSCORE_TIMEZONE.
10675 * include/config.h.in: Rebuilt.
10676 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10677 * aclocal.m4, configure: Rebuilt.
10678 * acinclude.m4: Run AC_EXEEXT.
10679 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10680 Add test for `_timezone'.
10681
10682 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10683
10684 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10685 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10686 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10687 * Makefile.in: Rebuilt.
10688
10689 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10690
10691 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10692 use sigaction instead of __libc_sigaction.
10693
10694 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10695
10696 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10697 (libjava_init): Use it to find libgcj.spec.
10698 (libjava_arguments): Likewise.
10699
10700 2002-05-02 David S. Miller <davem@redhat.com>
10701
10702 PR bootstrap/6525
10703 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10704 __libc_sigaction on Sparc.
10705
10706 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10707
10708 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10709 sys/filio.h, if present.
10710
10711 2002-04-30 Tom Tromey <tromey@redhat.com>
10712
10713 * java/io/BufferedReader.java (fill): Handle case where markPos
10714 point to ignored \n. Fixes PR libgcj/6301.
10715
10716 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10717
10718 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10719
10720 2002-04-29 Adam King <aking@dreammechanics.com>
10721
10722 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10723 of file in APPEND mode.
10724
10725 2002-04-25 David S. Miller <davem@redhat.com>
10726
10727 PR target/6422
10728 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10729 program counter to next program counter minus 8. Update
10730 comments in this macro to explain why.
10731
10732 2002-04-26 Tom Tromey <tromey@redhat.com>
10733
10734 * verify.cc (construct_primitive_array_type) [void_type]: New
10735 case.
10736 (branch_prepass): Added dummy entries for unused instruction
10737 values.
10738 (verify_instructions_0): Likewise.
10739 * interpret.cc (continue1): Comment fix.
10740 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10741 * Makefile.in: Rebuilt.
10742 * Makefile.am: Added -Wswitch-enum.
10743
10744 2002-04-24 Tom Tromey <tromey@redhat.com>
10745
10746 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10747 correct length of UTF-8 encoded name. Strip leading `/'.
10748 (_Jv_RegisterResource): Use _Jv_Malloc.
10749
10750 2002-04-23 Adam Megacz <adam@xwt.org>
10751
10752 * win32.cc, include/win32.cc (backtrace): Added this function
10753 because Win32 does not supply it.
10754
10755 2002-04-21 David S. Miller <davem@redhat.com>
10756
10757 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10758 magic instruction reading sequence.
10759
10760 2002-04-21 Mark Wielaard <mark@klomp.org>
10761
10762 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10763
10764 2002-04-19 David S. Miller <davem@redhat.com>
10765
10766 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10767 arg.
10768 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10769 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10770 on Sparc too.
10771 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10772 for 64-bit sparc.
10773 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10774 * sysdeps/sparc/locks.h: New file.
10775 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10776 on all sparc Solaris configurations. Set to
10777 include/dwarf2-signal.h on sparc Linux.
10778 * configure: Regenerate
10779 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10780
10781 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10782
10783 * configure: Rebuilt.
10784 * configure.in (backtrace): Function doesn't work on IA-64.
10785
10786 2002-04-17 Adam King <aking@dreammechanics.com>
10787
10788 * java/io/File.java (normalizePath): Add Win32 support for auto
10789 conversion of a '/' path separator to Win32's '\' separator.
10790
10791 2002-04-16 Tom Tromey <tromey@redhat.com>
10792
10793 Fix for PR libgcj/6081:
10794 * Makefile.in: Rebuilt.
10795 * Makefile.am (install-data-local): Use GNU make trick to avoid
10796 shell limit.
10797
10798 2002-04-16 Adam King <aking@dreammechanics.com>
10799 Tom Tromey <tromey@redhat.com>
10800
10801 * java/io/natFileWin32.cc (performList): Return the correct array
10802 type. Don't duplicate the creation of a File since it's already
10803 done earlier in the method and the existing code would cause a
10804 ArrayStoreException. Don't use fixed-size array.
10805 (_access, _stat, attr, getCanonicalPath, performMkdir,
10806 performRenameTo): Don't use fixed-size array.
10807 (getCanonicalPath): Use throw, not _Jv_Throw.
10808
10809 2002-04-15 DJ Delorie <dj@redhat.com>
10810
10811 * configure.in: Allow building in $srcdir.
10812 * configure: Regenerated.
10813
10814 2002-04-14 Mark Wielaard <mark@klomp.org>
10815
10816 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10817 * java/net/natSocketImpl.cc (close): Likewise.
10818
10819 2002-04-14 Mark Wielaard <mark@klomp.org>
10820
10821 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10822
10823 2002-04-13 Adam King <aking@dreammechanics.com>
10824
10825 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10826 the f/F/d/D modifiers.
10827
10828 2002-04-12 Anthony Green <green@redhat.com>
10829
10830 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10831 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10832 * Makefile.in: Rebuilt.
10833 * configure.in: Substitute gcc_version.
10834 * configure: Rebuilt.
10835
10836 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10837
10838 * configure.host: Set can_unwind_signal on hosts which support it.
10839 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10840 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10841 exceptions and can_unwind_signal isn't set.
10842 * configure: Rebuilt.
10843
10844 2002-04-11 Tom Tromey <tromey@redhat.com>
10845
10846 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10847
10848 2002-04-11 Adam King <aking@dreammechanics.com>
10849 Tom Tromey <tromey@redhat.com>
10850
10851 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10852 _Jv_ThrowNullPointerException): Mark as noreturn.
10853 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10854 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10855 fixes.
10856
10857 2002-04-10 Tom Tromey <tromey@redhat.com>
10858
10859 * Makefile.in: Rebuilt.
10860 * Makefile.am (java/lang/Thread.h): Mark
10861 _Jv_AttachCurrentThreadAsDaemon as friend.
10862 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10863 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10864 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10865 function.
10866 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10867 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10868 (_Jv_JNI_InvokeFunctions): Added
10869 _Jv_JNI_AttachCurrentThreadAsDaemon.
10870 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10871 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10872 (JNI_CreateJavaVM): Likewise.
10873 (_Jv_JNI_AttachCurrentThread): Likewise.
10874 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10875 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10876 (_Jv_JNIFunctions): Initialize new fields.
10877 (_Jv_JNI_NewDirectByteBuffer): New function.
10878 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10879 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10880 * include/jni.h (JNI_VERSION_1_4): New macro.
10881 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10882 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10883 (JNINativeInterface::NewDirectByteBuffer): New field.
10884 (JNINativeInterface::GetDirectBufferAddress): New field.
10885 (JNINativeInterface::GetDirectBufferCapacity): New field.
10886 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10887 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10888 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10889
10890 2002-04-09 Tom Tromey <tromey@redhat.com>
10891
10892 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10893
10894 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10895
10896 Fix for PR libgcj/6187:
10897 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10898 distance.
10899
10900 2002-04-07 Mark Wielaard <mark@klomp.org>
10901
10902 * java/util/AbstractMap.java (putAll): Use entrySet size.
10903 (toString): Explicitly use getKey() and getValue().
10904
10905 2002-04-07 Mark Wielaard <mark@klomp.org>
10906
10907 * java/util/Hashtable.java (contains): Remove NullPointer check.
10908 (containsValue): Add NullPointer check.
10909 (remove): Always throw NullPointerException when key
10910 is null.
10911
10912 2002-04-07 Adam King <aking@dreammechanics.com>
10913
10914 * java/lang/natSystem.cc (init_properties): Call new function
10915 _Jv_platform_initProperties.
10916 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10917 support for the System properties os.name, os.arch, os.version,
10918 user.name, user.home, and user.dir.
10919 * include/posix.h, include/win32.h, posix.cc: New function
10920 _Jv_platform_initProperties.
10921
10922 2002-04-06 Mark Wielaard <mark@klomp.org>
10923
10924 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10925
10926 2002-04-06 Mark Wielaard <mark@klomp.org>
10927
10928 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10929 all of the remaining elements.
10930 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10931 (removeRange): If toIndex == fromIndex do
10932 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10933 (removeAll): Always throw NullPointerException when collection is
10934 null.
10935 (retrainAll): Likewise.
10936
10937 2002-04-05 Mark Wielaard <mark@klomp.org>
10938
10939 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10940 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10941
10942 2002-04-05 Adam Megacz <adam@xwt.org>
10943
10944 * exception.cc (abort): added static modifier
10945
10946 2002-04-04 Adam Megacz <adam@xwt.org>
10947
10948 * include/win32.h (_Jv_platform_close_on_exec): added inline
10949 modifier.
10950
10951 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10952
10953 * configure.host: Add case statement to support generic port
10954 properties. Add *-*-freebsd* section.
10955
10956 2002-04-04 Mark Wielaard <mark@klomp.org>
10957
10958 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10959 test.
10960 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10961 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10962 that depend on awt code and BufferedByteOutputStream.interrupt.
10963
10964 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10965
10966 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10967 incorrect "hi" value when count > 40.
10968
10969 2002-04-03 Mark Wielaard <mark@klomp.org>
10970
10971 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10972 ordering.
10973
10974 2002-04-02 Tom Tromey <tromey@redhat.com>
10975
10976 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10977 not `0'.
10978
10979 2002-04-02 Mark Wielaard <mark@klomp.org>
10980
10981 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10982 list of testsuite crashers.
10983
10984 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10985
10986 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10987 when resizing table.
10988
10989 2002-04-01 Mark Wielaard <mark@klomp.org>
10990
10991 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10992 NegativeArraySizeException
10993 (clear(int)): Use sign extended shift.
10994 (flip(int)): Likewise.
10995 (get(int)): Likewise.
10996 (nextClearBit(int)): Likewise.
10997 (nextSetBit(int)): Likewise.
10998 (set(int)): Likewise.
10999
11000 2002-04-01 Mark Wielaard <mark@klomp.org>
11001
11002 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
11003 that can be compiled now and add testsuite crashers to ignore list.
11004
11005 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
11006
11007 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
11008
11009 * libgcj.spec.in: Override libgcc, not lib.
11010 * libgcj-test.spec.in: Likewise.
11011
11012 2002-03-29 Tom Tromey <tromey@redhat.com>
11013
11014 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
11015 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
11016
11017 2002-03-27 Jeff Sturm <jsturm@one-point.com>
11018
11019 * java/net/PlainDatagramSocketImpl.java
11020 (close): Use native implementation.
11021 (finalize): New method.
11022
11023 * java/net/PlainSocketImpl.java (finalize): New method.
11024
11025 * java/net/natPlainDatagramSocketImpl.cc
11026 (java/io/FileDescriptor.h): Don't include.
11027 (close): Implement method here.
11028 (create): Don't assign fd.
11029
11030 * java/net/natPlainSocketImpl.cc
11031 (java/io/FileDescriptor.h): Don't include.
11032 (create): Don't assign fd.
11033 (accept): Likewise.
11034 (close): Synchronize.
11035
11036 2002-03-27 Richard Henderson <rth@redhat.com>
11037
11038 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
11039
11040 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11041
11042 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11043 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
11044 instead of syscall on IA-64.
11045 Add FIXME comment.
11046
11047 2002-03-27 Anthony Green <green@redhat.com>
11048
11049 * libgcj.spec.in: Add CHECKREFSPEC.
11050 * configure.in: Ditto.
11051 * configure.host: Ditto. Check references for xscale-elf.
11052 * configure: Rebuilt.
11053
11054 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
11055
11056 * include/dwarf2-signal.h: Temporarily back out last change.
11057
11058 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
11059
11060 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
11061
11062 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
11063
11064 * configure.in, configure: enable dwarf2-exception-style
11065 exception handling on IA-64.
11066 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
11067 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
11068 Add FIXME comment.
11069
11070 2002-03-25 Tom Tromey <tromey@redhat.com>
11071
11072 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
11073 (jv_convert_LDFLAGS): Likewise.
11074 (gij_LDFLAGS): Likewise.
11075 (rmic_LDFLAGS): Likewise.
11076 (rmiregistry_LDFLAGS): Likewise.
11077 * configure.in (THREADLDFLAGS): New subst; set correctly for
11078 *BSD.
11079
11080 2002-03-25 Tom Tromey <tromey@redhat.com>
11081
11082 For PR libgcj/5303:
11083 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
11084 and --version.
11085 (help): New method.
11086 (version): Likewise.
11087 * gnu/gcj/convert/Convert.java (version): Removed extraneous
11088 "GNU".
11089 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
11090 "GNU".
11091
11092 2002-03-25 Tom Tromey <tromey@redhat.com>
11093
11094 * java/awt/Component.java (processEvent): Check ComponentEvent
11095 after KeyEvent.
11096
11097 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11098
11099 * java/io/PushbackReader.java: Reformat.
11100
11101 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
11102 calculate correct number of bytes skipped.
11103
11104 Based on patch from Intel's ORP team:
11105 * java/io/PushbackInputStream.java (available): Calculate correct
11106 number of bytes in buffer.
11107 (read): Remove redundant bound check. Return bytes from both the
11108 buffer and the stream.
11109
11110 2002-03-24 Tom Tromey <tromey@redhat.com>
11111
11112 * java/awt/TextComponent.java (TextComponent): Editable by
11113 default.
11114
11115 * java/awt/MenuItem.java (eventMask): No longer private.
11116 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
11117 superclass if we didn't handle event.
11118 * java/awt/Checkbox.java (dispatchEventImpl): New method.
11119 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
11120 * java/awt/Choice.java (dispatchEventImpl): New method.
11121 * java/awt/List.java (dispatchEventImpl): New method.
11122 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
11123 * java/awt/TextComponent.java (dispatchEventImpl): New method.
11124 * java/awt/TextField.java (dispatchEventImpl): New method.
11125
11126 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11127
11128 * java/beans/IntrospectionException.java: Update to 1.4.
11129 * java/beans/PropertyVetoException.java: Ditto.
11130
11131 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11132
11133 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
11134 Arrays.equals instead of ArrayHelper.equalsArray.
11135
11136 2002-03-24 C. Brian Jones <cbj@gnu.org>
11137
11138 * java/beans/Introspector.java: added new static final fields
11139 introduced in 1.2, lots of other updates remain to be done
11140
11141 2002-03-24 C. Brian Jones <cbj@gnu.org>
11142
11143 * java/beans/Introspector.java: reformatting
11144
11145 2002-03-24 C. Brian Jones <cbj@gnu.org>
11146
11147 * java/beans/Introspector.java: default beanInfoSearchPath will
11148 not include sun.beans.infos given we provide no such package and
11149 the API doesn't really require it; gnu.java.beans.info is the
11150 default.
11151
11152 2002-03-24 Mark Wielaard <mark@klomp.org>
11153
11154 Thanks to Orp developers
11155 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
11156 switch TRUE and FALSE return values.
11157
11158 2002-03-23 Tom Tromey <tromey@redhat.com>
11159
11160 * include/name-finder.h (_Jv_name_finder::myclose): New method.
11161 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
11162
11163 2002-03-23 Michael Smith <msmith@spinnakernet.com>
11164
11165 * java/util/GregorianCalendar.java (minimums, maximums): Correct
11166 MONTH entry. Fixes PR libgcj/6045.
11167
11168 2002-03-23 Jeff Sturm <jsturm@one-point.com>
11169
11170 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11171
11172 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11173
11174 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11175 not release_set.
11176 * sysdep/powerpc/locks.h (write_barrier): New function.
11177 * sysdep/i386/locks.h (write_barrier): New function.
11178
11179 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
11180
11181 * include/jni.h Use correct C comments.
11182
11183 2002-03-18 Tom Tromey <tromey@redhat.com>
11184
11185 * include/jni.h (JNIIMPORT): New macro.
11186 (JNIEXPORT): Likewise.
11187 (JNICALL): Likewise.
11188
11189 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11190
11191 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11192 systems.
11193
11194 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
11195
11196 * include/i386-signal.h (old_i386_kernel_sigaction): New.
11197 INIT_SEGV: Use old_i386_kernel_sigaction.
11198 INIT_FP: Likewise.
11199
11200 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11201
11202 * java/lang/natSystem.cc (init_properties): Update VM version
11203 properties.
11204 * configure.in: Set GCJVERSION.
11205 * acconfig.h: Add GCJVERSION.
11206 * configure: Rebuilt.
11207 * include/config.h.in: Rebuilt.
11208
11209 2002-03-17 Anthony Green <green@redhat.com>
11210
11211 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11212
11213 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11214
11215 Build a single libgcj.so, without separate gc and zlib libraries.
11216 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11217 SYS_ZLIBS if system zlib is used.
11218 * configure: Rebuilt.
11219 * Makefile.am: Use boehm-gc and zlib convenience libraries.
11220 * Makefile.in: Rebuilt.
11221 * libtool-version: Increment .so version number.
11222
11223 * Makefile.am: Escape quotes in echo.
11224 * Makefile.in: Rebuilt.
11225
11226 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11227
11228 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11229 * Makefile.in: Rebuilt.
11230
11231 2002-03-15 Anthony Green <green@redhat.com>
11232
11233 * configure.host (FILE): New macro for specifing File
11234 implementation.
11235 * configure: Rebuilt.
11236 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
11237
11238 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
11239
11240 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11241 already implicitly brought in from libgcj.la.
11242 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11243 * Makefile.in: Rebuilt.
11244
11245 2002-03-15 Eric Blake <ebb9@email.byu.edu>
11246
11247 * THANKS: Fix punctuation, alphabetization.
11248
11249 2002-03-15 Tom Tromey <tromey@redhat.com>
11250 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11251
11252 Fix for PR libgcj/5944.
11253 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11254
11255 2002-03-15 Anthony Green <green@redhat.com>
11256
11257 * configure.in (tool_include_dir): Define.
11258 * configure: Rebuilt.
11259 * gcj/Makefile.am: Install libgcj-config.h relative to
11260 tool_include_dir.
11261 * gcj/Makefile: Rebuilt.
11262 * gcj/libgcj-config.h: Add warning comment.
11263
11264 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
11265
11266 * configure.host (powerpc*-darwin*): Enable interpreter.
11267
11268 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11269
11270 * include/posix.h: Add multiple include header protection.
11271 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11272
11273 2002-03-10 Adam Megacz <adam@xwt.org>
11274
11275 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11276
11277 2002-03-10 Tom Tromey <tromey@redhat.com>
11278
11279 * java/awt/GridLayout.java (layoutContainer): Handle case where
11280 there are no items in container.
11281
11282 * java/lang/Win32Process.java: Added comment.
11283 * include/posix.h (_Jv_platform_close_on_exec): New function.
11284 Include fcntl.h.
11285 * include/win32.h (_Jv_platform_close_on_exec): New function.
11286 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11287 flag.
11288 (accept): Likewise.
11289 * java/net/natPlainDatagramSocketImpl.cc (create): Set
11290 close-on-exec flag.
11291 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11292 flag.
11293
11294 2002-03-09 Tom Tromey <tromey@redhat.com>
11295
11296 * verify.cc (state::NO_STACK): New constant.
11297 (state::is_unmerged_ret_state): Handle case where stacktop is
11298 NO_STACK.
11299 (state::merge): Handle NO_STACK merges.
11300 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11301 for instruction following jsr.
11302 (stacktop, stackdepth): Removed unused variables.
11303 (pop_jump): Ignore case where all remaining states are skipped.
11304
11305 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11306
11307 * java/awt/ImageMediaEntry: Removed.
11308 * java/awt/MediaEntry: Removed.
11309
11310 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11311
11312 Hashtable synchronization for PowerPC.
11313 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11314 slow_pthread_self. Set up symlink for sysdeps directory.
11315 * configure: Rebuild.
11316 * configure.host: Document more shell variables. Set sysdeps_dir
11317 for most platforms. Set slow_pthread_self for i686. Set
11318 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11319 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11320 that memory barrier is emitted where required.
11321 * prims.cc: 64-bit align static primitive class instances.
11322 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11323 read_barrier() to enforce ordering of reads.
11324 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11325 primitives for PowerPC.
11326 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11327 moved from natObject.cc.
11328 * sysdep/alpha/locks.h: Likewise.
11329 * sysdep/ia64/locks.h: Likewise.
11330 * sysdep/generic/locks.h: Likewise.
11331 * java/lang/natObject.cc: Move thread synchronization primitives to
11332 system-dependent headers.
11333
11334 2002-03-09 Adam Megacz <adam@xwt.org>
11335
11336 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11337 bytes read and no failure code returned.
11338
11339 2002-03-09 Adam Megacz <adam@xwt.org>
11340
11341 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11342 definitions to simulate -mthreads.
11343
11344 2002-03-09 Adam Megacz <adam@xwt.org>
11345
11346 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11347 avoid precision loss.
11348
11349 2002-03-09 Per Bothner <per@bothner.com>
11350
11351 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11352 * gnu/gcj/xlib/XImage.java: Likewise.
11353 * gnu/gcj/xlib/XColor.java: Likewise.
11354
11355 2002-03-09 Adam Megacz <adam@xwt.org>
11356
11357 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11358 IOException so that Throwable.printStackTrace fails correctly.
11359
11360 2002-03-08 Adam Megacz <adam@xwt.org>
11361
11362 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11363 fixed.
11364
11365 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11366
11367 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11368 truncated to int.
11369
11370 2002-03-08 Tom Tromey <tromey@redhat.com>
11371
11372 * include/jni.h: Include stdio.h.
11373
11374 2002-03-08 Tom Tromey <tromey@redhat.com>
11375
11376 * posix.cc (internal_gettimeofday): New function.
11377 (_Jv_select): Use it.
11378
11379 2002-03-07 Adam Megacz <adam@xwt.org>
11380
11381 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11382 WIN32, and added thunks for read(), write(), and close().
11383 * java/net/natPlainSocketImpl.cc (accept, read, read):
11384 Disabled timeouts on WIN32 pending discussion.
11385
11386 2002-03-07 Adam Megacz <adam@xwt.org>
11387
11388 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11389 returns jlong. Added implementation
11390 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11391 returns jlong.
11392 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11393 returns jlong.
11394 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11395 returns jlong.
11396 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11397 _Jv_platform_gettimeofday signature.
11398
11399 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11400
11401 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11402 (read): Call recv() directly, not _Jv_recv().
11403
11404 2002-03-06 Tom Tromey <tromey@redhat.com>
11405
11406 * java/io/natFileDescriptorEcos.cc (init): Don't use
11407 GetStdHandle.
11408 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11409 is negative.
11410 (init): Don't use GetStdHandle.
11411
11412 * include/config.h.in: Rebuilt.
11413 * configure: Rebuilt.
11414 * Makefile.in: Rebuilt.
11415
11416 2002-03-06 Adam Megacz <adam@xwt.org>
11417
11418 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11419 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11420 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11421 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11422
11423 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11424
11425 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11426 the code for generating include/java-chartables.h.
11427 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11428 merge with Classpath.
11429 * scripts/unicode-muncher.pl: Copy from Classpath.
11430 * scritps/MakeCharTables.java: New file.
11431 * gnu/gcj/convert/Blocks-3.txt: New file.
11432 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11433 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11434 * gnu/java/lang/CharData.java: Copy from Classpath.
11435 * Makefile.am (ordinary_java_source_files): Add
11436 gnu/java/lang/CharData.java.
11437 * configure.in: Remove --enable-fast-character option.
11438 * java/lang/Character.java: Merge algorithms and Javadoc with
11439 Classpath.
11440 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11441 efficiently.
11442 * include/java-chardecomp.h: Regenerate.
11443 * include/java-chartables.h: Regenerate.
11444
11445 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11446
11447 * java/awt/MediaTracker.java: Implemented.
11448 * Makefile.am: Add MediaTracker.
11449 * Makefile.in: Rebuilt.
11450
11451 2002-03-05 Tom Tromey <tromey@redhat.com>
11452
11453 * java/lang/natPosixProcess.cc (fail): Removed.
11454 (startProcess): Simplified error-handling. Preserve
11455 LD_LIBRARY_PATH across exec.
11456
11457 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11458 AbstractMethodError.
11459
11460 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11461
11462 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11463 * Makefile.in: Rebuilt.
11464
11465 2002-03-03 Mark Wielaard <mark@klomp.org>
11466
11467 * java/util/Timer (TaskQueue.stop): set elements to zero.
11468
11469 2002-02-28 Anthony Green <green@redhat.com>
11470
11471 * java/lang/reflect/natMethod.cc (result): Add void* element.
11472 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11473 constructor test.
11474
11475 2002-02-27 Adam Megacz <adam@xwt.org>
11476
11477 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11478 '#undef STRICT'.
11479
11480 2002-02-26 Tom Tromey <tromey@redhat.com>
11481
11482 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11483 * gij.cc (version): Use __VERSION__.
11484 * include/config.h.in: Rebuilt.
11485 * acconfig.h (GCJVERSION): Removed.
11486 * configure: Rebuilt.
11487 * configure.in (GCJVERSION): Removed.
11488
11489 2002-02-26 Andreas Schwab <schwab@suse.de>
11490
11491 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11492 glibcpp_CXX, since libjava uses even another CXX.
11493 * aclocal.m4, configure: Regenerated.
11494
11495 2002-02-26 Tom Tromey <tromey@redhat.com>
11496
11497 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11498 `1'.
11499
11500 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11501
11502 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11503 dependency tracking for .java files.
11504 * Makefile.in: Rebuilt.
11505
11506 2002-02-24 Adam Megacz <adam@xwt.org>
11507
11508 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11509 typo. Sorry.
11510
11511 2002-02-24 Adam Megacz <adam@xwt.org>
11512
11513 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11514 for Win32, changed #ifdefs to check WIN32 instead of the
11515 (now-obsolete) USE_WINSOCK, and removed support for socket
11516 timeouts on Win32 pending further discussion.
11517
11518 2002-02-24 Adam Megacz <adam@xwt.org>
11519
11520 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11521 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11522 delete
11523
11524 2002-02-24 Adam Megacz <adam@xwt.org>
11525
11526 * java/lang/Win32Process.java: Created a dummy class to allow
11527 build process to run to completion.
11528
11529 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11530
11531 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11532 Define ffi_result union for ffi_call result. Cast
11533 ffi_result members to jvalue.
11534
11535 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11536
11537 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11538 * testsuite/Makefile.in: Likewise.
11539
11540 2002-02-20 Per Bothner <per@bothner.com>
11541
11542 * java/net/URL.java (getPath): New JDK 1.3 method.
11543
11544 * java/net/URLStreamHandler.java (parseURL):
11545 It is wrong to prepend '/' to the file part of a relative url.
11546
11547 * java/net/URLStreamHandler.java (parseURL):
11548 Minor optizations - append '/' rather than "/".
11549
11550 * java/net/URLStreamHandler.java (parseURL):
11551 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11552 We probably should canonicalize for a context-relative url, though.
11553 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11554 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11555 (sameFile): New method. Uses canonicalizeFilename.
11556
11557 2002-02-22 Tom Tromey <tromey@redhat.com>
11558
11559 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11560 java.vendor and java.vm.vendor.
11561 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11562 recent copyright date.
11563 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11564 * gij.cc (version): Print `Inc'.
11565
11566 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11567
11568 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11569 * aclocal.m4, configure: Rebuilt.
11570
11571 2002-02-20 Per Bothner <per@bothner.com>
11572
11573 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11574 and/or output streams immediately here, instead of using File.exists.
11575 (inputStream, outputStream): New fields to save open streams.
11576 (getInputStream, getOutputStream): Use already-opened streams.
11577
11578 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11579
11580 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11581 Use it.
11582 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11583 * aclocal.m4, configure, Makefile.in: Rebuilt.
11584
11585 2002-02-19 Tom Tromey <tromey@redhat.com>
11586
11587 Fix for PR libgcj/5696:
11588 * verify.cc (is_assignable_from_slow): Never call
11589 _Jv_IsAssignableFrom.
11590 (verify_instructions_0): Added new debug statement.
11591 (state::print): Print information about whether local has
11592 changed.
11593 (state::merge): Don't call note_variable when merging locals.
11594 (state::set_exception): Removed old FIXME comment.
11595
11596 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11597
11598 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11599 enable SO_BROADCAST.
11600
11601 2002-02-18 Jason Merrill <jason@redhat.com>
11602
11603 * name-finder.cc (toHex): Use word mode, not long long.
11604
11605 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11606
11607 2002-02-15 Tom Tromey <tromey@redhat.com>
11608
11609 Fix for PR libgcj/5695:
11610 * verify.cc (is_assignable_from_slow): Check to see if target is
11611 an Object before checking to see if source is an interface.
11612 (verify_instructions_0) [op_invokeinterface]: Handle case where
11613 we're making an interface call on Object.
11614
11615 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11616
11617 * Makefile.in: Rebuilt with Eric's change below.
11618
11619 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11620 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11621 Removed functions which are now implemented in Math.java.
11622
11623 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11624
11625 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11626 * Makefile.am (core_java_source_files): Add
11627 java/lang/StrictMath.java.
11628 * java/lang/Math.java: Merge with Classpath.
11629 * java/lang/StrictMath.java: New file - merge with Classpath.
11630
11631 2002-02-14 Mark Wielaard <mark@klomp.org>
11632
11633 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11634 package as a workaround for gcj 3.0.x
11635
11636 2002-02-14 Mark Wielaard <mark@klomp.org>
11637
11638 * java/security/BasicPermission.java: extends with fully qualified
11639 classname as workaround for gcj 3.0.4.
11640
11641 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11642
11643 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11644 around gcj bug of wrong emitted qualifier for inherited method.
11645 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11646 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11647 constructor to reduce amount of emitted bytecode. While this
11648 happens to work around a jikes 1.15 bug, it is still a useful
11649 patch even for correct compilers.
11650 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11651 * gnu/java/rmi/server/UnicastRemoteCall.java
11652 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11653
11654 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11655
11656 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11657 * java/net/SocketImpl.java: Ditto.
11658 * java/rmi/server/RMIClassLoader.java: Ditto.
11659 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11660
11661 2002-02-14 Mark Wielaard <mark@klomp.org>
11662
11663 Thanks to Takashi Okamoto
11664 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11665 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11666 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11667
11668 2002-02-13 Todd Stock <toddastock@yahoo.com>
11669
11670 Fix for PR libgcj/5670:
11671 * verify.cc (is_assignable_from_slow): If `source' is interface,
11672 recursively look for merge with `target'.
11673
11674 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11675
11676 * include/jni.h: Fix typo.
11677
11678 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11679
11680 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11681 correctly.
11682
11683 2002-02-13 Todd Stock <toddastock@yahoo.com>
11684
11685 Fix for PR libgcj/5671:
11686 * verify.cc (state::merge): Handle case where we're merging
11687 against an interface.
11688
11689 2002-02-12 Tom Tromey <tromey@redhat.com>
11690
11691 * exception.cc (std::abort): Mark as noreturn.
11692
11693 2002-02-12 Adam Megacz <adam@xwt.org>
11694
11695 * java/lang/Win32Process.java: Filled in a placeholder
11696 implementation so Win32 will build.
11697
11698 2002-02-12 Adam Megacz <adam@xwt.org>
11699
11700 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11701 * java/io/natFile.cc: Removed from repository.
11702 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11703
11704 2002-02-12 Adam Megacz <adam@xwt.org>
11705
11706 * win32.cc: Added two #includes to make win32.cc compile.
11707
11708 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11709
11710 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11711 declarations.
11712 (_Jv_InitGC): Don't bother locking, as this is always called from a
11713 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11714
11715 2002-02-11 Adam Megacz <adam@xwt.org>
11716
11717 * include/win32.h: Added _Jv_platform_gettimeofday.
11718 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11719
11720 2002-02-11 Adam Megacz <adam@xwt.org>
11721
11722 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11723 Added #undef STRICT to make windows.h and
11724 java/lang/reflect/Modifier.h cooperate.
11725
11726 2002-02-11 Adam Megacz <adam@xwt.org>
11727
11728 * java/io/natFileWin32.cc: Created a placeholder class with lots
11729 of FIXMEs.
11730
11731 2002-02-11 Adam Megacz <adam@xwt.org>
11732
11733 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11734 std::abort() to simply abort(). Also added "fake" std::abort() so
11735 we can #include unwind-pe.h without having to link against
11736 libstdc++-v3.
11737
11738 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11739
11740 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11741
11742 2002-02-08 Tom Tromey <tromey@redhat.com>
11743
11744 * interpret.cc (convert): New function.
11745 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11746 convert.
11747 Include Long.h.
11748
11749 2002-02-08 Anthony Green <green@redhat.com>
11750
11751 * configure.host: Add support for xscale-elf embedded target.
11752
11753 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11754
11755 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11756 dereferenced.
11757 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11758 frame.
11759
11760 2002-02-07 Tom Tromey <tromey@redhat.com>
11761
11762 * java/io/natFile.cc (_access): Use __builtin_alloca.
11763 (_stat): Likewise.
11764 (attr): Likewise.
11765 (getCanonicalPath): Likewise.
11766 (performList): Likewise.
11767 (performMkdir): Likewise.
11768 (performSetReadOnly): Likewise.
11769 (performRenameTo): Likewise.
11770 (performSetLastModified): Likewise.
11771 (performCreate): Likewise.
11772 (performDelete): Likewise.
11773
11774 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11775
11776 * HACKING: Fix URL for the automake-gcj.
11777
11778 2002-02-07 Tom Tromey <tromey@redhat.com>
11779
11780 * java/lang/natThrowable.cc: Updated copyright.
11781 * java/io/natFileWin32.cc: Updated copyright.
11782 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11783 * win32-threads.cc: Updated copyright.
11784 * name-finder.cc: Updated copyright.
11785 * include/name-finder.h: Updated copyright.
11786
11787 * include/name-finder.h: Conditionally include sys/wait.h.
11788 * include/config.h.in: Rebuilt.
11789
11790 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11791 Size buffer based on real size of string.
11792 (_stat): Likewise.
11793 (attr): Likewise.
11794 (getCanonicalPath): Likewise.
11795 (performList): Likewise.
11796 (performMkdir): Likewise.
11797 (performSetReadOnly): Likewise.
11798 (unixroot): Removed.
11799 (performRenameTo): Likewise.
11800 (performSetLastModified): Likewise.
11801 (performCreate): Likewise.
11802 (performDelete): Likewise.
11803 (performListRoots): Always return new array.
11804
11805 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11806 * win32.cc (win32_exception_handler): Now static.
11807 * include/win32.h (_Jv_platform_initialize): Declare.
11808 (win32_exception_handler): Don't declare.
11809 * java/lang/natSystem.cc (currentTimeMillis): Use
11810 _Jv_platform_gettimeofday.
11811 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11812 (_Jv_select): Use new name.
11813 (_Jv_platform_initialize): New function.
11814 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11815 _Jv_gettimeofday.
11816 (_Jv_platform_initialize): Declare.
11817
11818 * configure: Rebuilt.
11819 * configure.in: Removed unnecessary parens.
11820
11821 2002-02-06 Adam Megacz <adam@xwt.org>
11822
11823 * configure.in: Changed mingw) to *mingw*).
11824 * win32.cc: Created this file.
11825 * win32.h: Created this file.
11826 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11827 win32_exception_handler from prims.cc to win32.cc, added
11828 header in win32.h.
11829 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11830 longer needed now that we have platform.h
11831
11832 2002-02-06 Adam Megacz <adam@xwt.org>
11833
11834 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11835 use uint<n>_t instead of LONG and BYTE
11836
11837 2002-02-06 Adam Megacz <adam@xwt.org>
11838
11839 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11840
11841 2002-02-06 Anthony Green <green@redhat.com>
11842
11843 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11844 Implement missing method stubs.
11845 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11846 targets.
11847 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11848 concept of timezones.
11849 (init_properties): Don't refer to _Jv_Environment_Properties
11850 when this feature is not available.
11851 * include/config.h.in: Rebuilt.
11852 * acconfig.h: Add DISABLE_MAIN_ARGS.
11853 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11854 * configure: Rebuilt.
11855 * configure.in: Add --disable-main-args option. Test for
11856 opendir function. Replace AC_CHECK_SIZEOF with
11857 AC_COMPILE_CHECK_SIZEOF.
11858 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11859 * aclocal.m4: Rebuilt.
11860 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11861
11862 2002-02-06 Tom Tromey <tromey@redhat.com>
11863
11864 * verify.cc (require_array_type): If argument is a null array of
11865 references, return null as the element type.
11866
11867 2002-02-06 Mark Wielaard <mark@klomp.org>
11868
11869 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11870 duplicate of a wide type.
11871
11872 2002-02-06 Tom Tromey <tromey@redhat.com>
11873
11874 * verify.cc (type::isnull): New method.
11875 (require_array_type): Handle case where array is null.
11876 (verify_instructions_0) [op_arraylength]: Likewise.
11877
11878 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11879
11880 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11881 Symlink PLATFORMH to platform.h.
11882 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11883 PLATFORMOBJS.
11884 * java/lang/natSystem.cc: #include platform.h not posix.h.
11885 * Makefile.in: Rebuilt with libgcj automake.
11886 * configure: Rebuilt.
11887
11888 2002-02-05 Richard Henderson <rth@redhat.com>
11889
11890 * Makefile.in: Undo munging last change.
11891
11892 2002-02-04 Adam Megacz <adam@xwt.org>
11893
11894 * win32.cc: Created it.
11895 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11896 which is set to posix.cc or win32.cc.
11897 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11898
11899 2002-02-04 Adam Megacz <adam@xwt.org>
11900
11901 * configure.in: Corrected mingw case branches; added * before
11902 and after.
11903
11904 2002-02-04 Adam Megacz <adam@xwt.org>
11905
11906 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11907 if compiling for win32
11908
11909 2002-02-04 Adam Megacz <adam@xwt.org>
11910
11911 * win32-threads.cc: #undef STRICT after gc.h inclusion
11912
11913 2002-02-02 Tom Tromey <tromey@redhat.com>
11914
11915 * Makefile.in: Rebuilt.
11916
11917 2002-02-02 Jason Merrill <jason@redhat.com>
11918
11919 * Makefile.am (clean-nat): New target.
11920
11921 2002-02-02 Tom Tromey <tromey@redhat.com>
11922
11923 * java/io/natFile.cc: Removed old "FIXME" comments.
11924
11925 2002-02-01 Tom Tromey <tromey@redhat.com>
11926
11927 * java/lang/natPosixProcess.cc (myclose): New function.
11928 (fail): Use it.
11929 (startProcess): Likewise.
11930
11931 2002-02-01 Adam Megacz <adam@xwt.org>
11932
11933 * prims.cc: Added #undef STRICT after #include<windows.h>.
11934
11935 2002-02-01 Adam Megacz <adam@xwt.org>
11936
11937 * prims.cc
11938 (_Jv_CreateJavaVM): We now use WIN32 instead of
11939 USE_WIN32_SIGNALLING and USE_WINSOCK.
11940 (win32_exception_handler): Now throws an exception out of
11941 the signal handler; assumes SJLJ.
11942
11943 2002-02-01 Adam Megacz <adam@xwt.org>
11944
11945 * win32-threads.cc:
11946 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11947 wait() algorithm to make it safe.
11948 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11949 Added lazy creation of Win32 Events for better performance
11950 (really_start): This now uses GC_CreateThread so boehm-gc
11951 knows about new threads even when statically linked.
11952
11953 2002-02-01 Adam Megacz <adam@xwt.org>
11954
11955 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11956 enable safer wait() algorithm.
11957 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11958 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11959 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11960 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11961 instead of mutex.
11962 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11963
11964 2002-02-01 Adam Megacz <adam@xwt.org>
11965
11966 * configure.in: Added support for mingw.
11967 * java/lang/Win32Process.java: Created as empty file.
11968 * java/lang/natWin32Process.cc: Created as empty file.
11969
11970 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11971
11972 PR java/4972
11973 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11974 for libiconv in LIBICONV variable.
11975 * configure: Regenerated.
11976
11977 2002-01-31 Tom Tromey <tromey@redhat.com>
11978
11979 * verify.cc (state::enter_subroutine): New method.
11980 (handle_jsr_insn): Use it.
11981 (state::merge): When processing a `ret', correctly use
11982 subroutine's state to determine which local variables have
11983 changed.
11984 (push_exception_jump): Don't let stack overflow.
11985
11986 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11987
11988 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11989 --version output.
11990
11991 2002-01-30 Tom Tromey <tromey@redhat.com>
11992
11993 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11994 parameter for `recv' return type.
11995
11996 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11997 (state::merge): ... not here.
11998 (subr_entry_info): New structure.
11999 (entry_points): New field.
12000 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
12001 entry_points.
12002
12003 2002-01-29 Tom Tromey <tromey@redhat.com>
12004
12005 * java/awt/List.java (addNotify): Correctly check to see if peer
12006 does not exist.
12007
12008 * java/awt/GridLayout.java (layoutContainer): Use number of rows
12009 to compute height of each cell, and number of columns to compute
12010 width of each cell.
12011 * java/awt/Window.java (getOwnedWindows): Don't return null.
12012 * java/awt/FlowLayout.java (layoutContainer): Set width and height
12013 of component. Increment x using horizontal gap, not vertical
12014 gap.
12015
12016 2002-01-28 Tom Tromey <tromey@redhat.com>
12017
12018 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
12019 `nargs' byte is number of words, not number of arguments.
12020
12021 2002-01-27 Tom Tromey <tromey@redhat.com>
12022
12023 * java/awt/event/MouseEvent.java (modifiers): Removed field.
12024 (when): Likewise.
12025 * java/awt/event/InputEvent.java (modifiers, when): Now
12026 package-private.
12027
12028 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
12029 and to-do list.
12030 (state::merge): Use current class' class loader.
12031 (state::print): Print subroutine.
12032 (state::merge): Don't look at subroutine of unmerged `ret'.
12033
12034 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
12035
12036 * nogc.cc: Remove warnings.
12037 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
12038 New functions.
12039
12040 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12041
12042 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
12043 int, int): Remove empty "if" statement to work around compiler bug.
12044 (newPixels(int[], ColorModel, int, int): Likewise.
12045
12046 2002-01-25 Per Bothner <per@bothner.com>
12047
12048 * verify.cc (verify_fail): Change from being a top-level function
12049 to e method of _Jv_BytecodeVerifier. Emit current method name.
12050 Pass the current verifier to type: and state: methods as needed,
12051 for better error messages, and for resolve.
12052 (resolve): Pass current class's loader for Class.forName and
12053 _Jv_FindClassFromSignature, rather than using the default loader.
12054 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
12055 (get_type_val_for_signature): Make non-static.
12056 (various methods): Pass start_PC implicitly, not explicitly.
12057
12058 2002-01-25 Tom Tromey <tromey@redhat.com>
12059
12060 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
12061 loop termination condition.
12062 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
12063 width.
12064
12065 2002-01-24 Tom Tromey <tromey@redhat.com>
12066
12067 * java/awt/Shape.java: Merged with Classpath.
12068 * java/awt/Scrollbar.java: Merged with Classpath.
12069
12070 * java/awt/Container.java (addNotify): Unconditionally call
12071 addNotifyContainerChildren and superclass addNotify.
12072
12073 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
12074 getAlpha, not getBlue.
12075
12076 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12077
12078 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
12079
12080 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
12081 (grabPixels(long)): Wait to be notified that the ImageProducer has
12082 completed.
12083
12084 2002-01-24 Per Bothner <per@bothner.com>
12085
12086 * verify.cc (is_assignable_from_slow): If target is an interface,
12087 we must still check the source's superclass before giving up.
12088
12089 2002-01-24 Tom Tromey <tromey@redhat.com>
12090
12091 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
12092
12093 2002-01-23 Tom Tromey <tromey@redhat.com>
12094
12095 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
12096 `else'.
12097
12098 * Makefile.in: Rebuilt.
12099 * Makefile.am (awt_java_source_files): Added new files.
12100 * java/awt/Toolkit.java: Merged with Classpath.
12101 * java/awt/PrintGraphics.java: New file from Classpath.
12102 * java/awt/PrintJob.java: New file from Classpath.
12103 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
12104 * java/awt/datatransfer/ClipboardOwner.java: New file from
12105 Classpath.
12106 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
12107 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
12108 * java/awt/datatransfer/MimeTypeParseException.java: New file from
12109 Classpath.
12110 * java/awt/datatransfer/StringSelection.java: New file from
12111 Classpath.
12112 * java/awt/datatransfer/SystemFlavorMap.java: New file from
12113 Classpath.
12114 * java/awt/datatransfer/Transferable.java: New file from
12115 Classpath.
12116 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
12117 from Classpath.
12118
12119 * Makefile.in: Rebuilt.
12120 * Makefile.am (awt_java_source_files): Added new files.
12121 * java/awt/image/AreaAveragingScaleFilter.java: New file from
12122 Classpath.
12123 * java/awt/image/CropImageFilter.java: New file from Classpath.
12124 * java/awt/image/FilteredImageSource.java: New file from
12125 Classpath.
12126 * java/awt/image/ImageFilter.java: New file from Classpath.
12127 * java/awt/image/MemoryImageSource.java: New file from Classpath.
12128 * java/awt/image/PixelGrabber.java: New file from Classpath.
12129 * java/awt/image/RGBImageFilter.java: New file from Classpath.
12130 * java/awt/image/ReplicateScaleFilter.java: New file from
12131 Classpath.
12132 * java/awt/image/ImageProducer.java: Replaced with Classpath
12133 version.
12134 * java/awt/image/ImageObserver.java: Replaced with Classpath
12135 version.
12136 * java/awt/image/ImageConsumer.java: Replaced with Classpath
12137 version.
12138 * java/awt/GridBagConstraints.java (clone): Catch
12139 CloneNotSupportedException.
12140
12141 2002-01-23 Per Bothner <per@bothner.com>
12142
12143 * java/lang/reflect/natField.cc (setAddr): New function.
12144 Calls getAddr and then checks that the field isn't final.
12145 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
12146 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
12147 (set): Call setAddr before check that new value has right type,
12148 to better match specified semantics.
12149
12150 2002-01-22 Tom Tromey <tromey@redhat.com>
12151
12152 * java/awt/TextField.java: Replaced with Classpath version.
12153 * java/awt/TextArea.java: Replaced with Classpath version.
12154 * java/awt/TextComponent.java: Replaced with Classpath version.
12155
12156 * java/awt/GridBagConstraints.java: Updated copyright.
12157
12158 2002-01-22 Mark Wielaard <mark@klomp.org>
12159
12160 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
12161 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
12162 java/awt/Dialog.java java/awt/FileDialog.java
12163 java/awt/Font.java java/awt/FontMetrics.java
12164 java/awt/Image.java java/awt/ImageMediaEntry.java
12165 java/awt/Insets.java java/awt/List.java
12166 java/awt/MediaEntry.java java/awt/MediaTracker.java
12167 java/awt/Menu.java java/awt/MenuBar.java
12168 java/awt/MenuContainer.java java/awt/MenuShortcut.java
12169 java/awt/PaintContext.java java/awt/Panel.java
12170 java/awt/PopupMenu.java java/awt/SystemColor.java
12171 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12172 java/awt/peer/CheckboxMenuItemPeer.java
12173 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12174 java/awt/peer/ComponentPeer.java
12175 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12176 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12177 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12178 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12179 java/awt/peer/MenuBarPeer.java
12180 java/awt/peer/MenuComponentPeer.java
12181 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12182 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12183 java/awt/peer/ScrollPanePeer.java
12184 java/awt/peer/ScrollbarPeer.java
12185 java/awt/peer/TextAreaPeer.java
12186 java/awt/peer/TextComponentPeer.java
12187 java/awt/peer/TextFieldPeer.java
12188 java/awt/peer/WindowPeer.java: Add license clarification.
12189
12190 2002-01-22 Mark Wielaard <mark@klomp.org>
12191
12192 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12193 gnu/gcj/runtime/StringBuffer.java
12194 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12195 gnu/java/awt/ComponentDataBlitOp.java
12196 gnu/java/awt/GLightweightPeer.java
12197 gnu/java/beans/BeanInfoEmbryo.java
12198 gnu/java/beans/EmptyBeanInfo.java
12199 gnu/java/beans/ExplicitBeanInfo.java
12200 gnu/java/beans/IntrospectionIncubator.java
12201 gnu/java/beans/editors/ColorEditor.java
12202 gnu/java/beans/editors/FontEditor.java
12203 gnu/java/beans/editors/NativeBooleanEditor.java
12204 gnu/java/beans/editors/NativeByteEditor.java
12205 gnu/java/beans/editors/NativeDoubleEditor.java
12206 gnu/java/beans/editors/NativeFloatEditor.java
12207 gnu/java/beans/editors/NativeIntEditor.java
12208 gnu/java/beans/editors/NativeLongEditor.java
12209 gnu/java/beans/editors/NativeShortEditor.java
12210 gnu/java/beans/editors/StringEditor.java
12211 gnu/java/beans/info/ComponentBeanInfo.java
12212 gnu/java/io/ClassLoaderObjectInputStream.java
12213 gnu/java/io/NullOutputStream.java
12214 gnu/java/io/ObjectIdentityWrapper.java
12215 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12216 gnu/java/lang/reflect/TypeSignature.java
12217 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12218 gnu/java/locale/Calendar_en.java
12219 gnu/java/locale/Calendar_nl.java
12220 gnu/java/locale/LocaleInformation.java
12221 gnu/java/locale/LocaleInformation_de.java
12222 gnu/java/locale/LocaleInformation_en.java
12223 gnu/java/locale/LocaleInformation_nl.java
12224 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12225 gnu/java/rmi/registry/RegistryImpl.java
12226 gnu/java/rmi/rmic/Compile_gcj.java
12227 gnu/java/rmi/rmic/Compiler.java
12228 gnu/java/rmi/rmic/CompilerProcess.java
12229 gnu/java/rmi/rmic/RMIC.java
12230 gnu/java/rmi/rmic/TabbedWriter.java
12231 gnu/java/rmi/server/ProtocolConstants.java
12232 gnu/java/rmi/server/RMIDefaultSocketFactory.java
12233 gnu/java/rmi/server/RMIHashes.java
12234 gnu/java/rmi/server/RMIObjectInputStream.java
12235 gnu/java/rmi/server/RMIObjectOutputStream.java
12236 gnu/java/rmi/server/UnicastConnection.java
12237 gnu/java/rmi/server/UnicastConnectionManager.java
12238 gnu/java/rmi/server/UnicastRef.java
12239 gnu/java/rmi/server/UnicastRemoteCall.java
12240 gnu/java/rmi/server/UnicastRemoteStub.java
12241 gnu/java/rmi/server/UnicastServer.java
12242 gnu/java/rmi/server/UnicastServerRef.java
12243 gnu/java/security/provider/DefaultPolicy.java
12244 gnu/java/security/provider/Gnu.java
12245 gnu/java/security/provider/SHA.java
12246 gnu/java/security/provider/SHA1PRNG.java
12247 gnu/java/text/BaseBreakIterator.java
12248 gnu/java/text/CharacterBreakIterator.java
12249 gnu/java/text/LineBreakIterator.java
12250 gnu/java/text/SentenceBreakIterator.java
12251 gnu/java/text/WordBreakIterator.java
12252 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12253 java/applet/AppletContext.java java/applet/AppletStub.java
12254 java/applet/AudioClip.java java/awt/AWTError.java
12255 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12256 java/awt/AWTException.java java/awt/AWTPermission.java
12257 java/awt/ActiveEvent.java java/awt/BorderLayout.java
12258 java/awt/Button.java java/awt/Canvas.java
12259 java/awt/CardLayout.java java/awt/Checkbox.java
12260 java/awt/CheckboxGroup.java java/awt/Component.java
12261 java/awt/ComponentOrientation.java java/awt/Container.java
12262 java/awt/Dimension.java java/awt/Event.java
12263 java/awt/EventDispatchThread.java java/awt/EventQueue.java
12264 java/awt/FlowLayout.java java/awt/Frame.java
12265 java/awt/Graphics.java java/awt/Graphics2D.java
12266 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12267 java/awt/IllegalComponentStateException.java
12268 java/awt/ItemSelectable.java java/awt/Label.java
12269 java/awt/LayoutManager.java java/awt/LayoutManager2.java
12270 java/awt/MenuComponent.java java/awt/MenuItem.java
12271 java/awt/Paint.java java/awt/Point.java
12272 java/awt/Rectangle.java java/awt/RenderingHints.java
12273 java/awt/Transparency.java java/awt/Window.java
12274 java/awt/color/ColorSpace.java
12275 java/awt/color/ICC_ColorSpace.java
12276 java/awt/color/ICC_Profile.java
12277 java/awt/event/HierarchyBoundsAdapter.java
12278 java/awt/event/HierarchyBoundsListener.java
12279 java/awt/event/HierarchyEvent.java
12280 java/awt/event/HierarchyListener.java
12281 java/awt/geom/AffineTransform.java
12282 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12283 java/awt/geom/IllegalPathStateException.java
12284 java/awt/geom/Line2D.java
12285 java/awt/geom/NoninvertibleTransformException.java
12286 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12287 java/awt/geom/Rectangle2D.java
12288 java/awt/geom/RectangularShape.java
12289 java/awt/geom/RoundRectangle2D.java
12290 java/awt/image/BufferedImage.java
12291 java/awt/image/ColorModel.java
12292 java/awt/image/ComponentColorModel.java
12293 java/awt/image/ComponentSampleModel.java
12294 java/awt/image/DataBuffer.java
12295 java/awt/image/DataBufferByte.java
12296 java/awt/image/DataBufferInt.java
12297 java/awt/image/DataBufferUShort.java
12298 java/awt/image/DirectColorModel.java
12299 java/awt/image/PackedColorModel.java
12300 java/awt/image/Raster.java java/awt/image/RasterOp.java
12301 java/awt/image/SampleModel.java
12302 java/awt/image/SinglePixelPackedSampleModel.java
12303 java/awt/image/WritableRaster.java
12304 java/beans/AppletInitializer.java
12305 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12306 java/beans/Beans.java java/beans/Customizer.java
12307 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12308 java/beans/FeatureDescriptor.java
12309 java/beans/IndexedPropertyDescriptor.java
12310 java/beans/IntrospectionException.java
12311 java/beans/Introspector.java java/beans/MethodDescriptor.java
12312 java/beans/ParameterDescriptor.java
12313 java/beans/PropertyChangeEvent.java
12314 java/beans/PropertyChangeListener.java
12315 java/beans/PropertyChangeSupport.java
12316 java/beans/PropertyDescriptor.java
12317 java/beans/PropertyEditor.java
12318 java/beans/PropertyEditorManager.java
12319 java/beans/PropertyEditorSupport.java
12320 java/beans/PropertyVetoException.java
12321 java/beans/SimpleBeanInfo.java
12322 java/beans/VetoableChangeListener.java
12323 java/beans/VetoableChangeSupport.java
12324 java/beans/Visibility.java
12325 java/beans/beancontext/BeanContext.java
12326 java/beans/beancontext/BeanContextChild.java
12327 java/beans/beancontext/BeanContextChildComponentProxy.java
12328 java/beans/beancontext/BeanContextChildSupport.java
12329 java/beans/beancontext/BeanContextContainerProxy.java
12330 java/beans/beancontext/BeanContextEvent.java
12331 java/beans/beancontext/BeanContextMembershipEvent.java
12332 java/beans/beancontext/BeanContextMembershipListener.java
12333 java/beans/beancontext/BeanContextProxy.java
12334 java/beans/beancontext/BeanContextServiceAvailableEvent.java
12335 java/beans/beancontext/BeanContextServiceProvider.java
12336 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12337 java/beans/beancontext/BeanContextServiceRevokedEvent.java
12338 java/beans/beancontext/BeanContextServiceRevokedListener.java
12339 java/beans/beancontext/BeanContextServices.java
12340 java/beans/beancontext/BeanContextServicesListener.java
12341 java/io/BufferedInputStream.java
12342 java/io/BufferedOutputStream.java java/io/BufferedReader.java
12343 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12344 java/io/ByteArrayOutputStream.java
12345 java/io/CharArrayReader.java java/io/CharArrayWriter.java
12346 java/io/CharConversionException.java java/io/DataInput.java
12347 java/io/DataInputStream.java java/io/DataOutput.java
12348 java/io/EOFException.java java/io/Externalizable.java
12349 java/io/FileFilter.java java/io/FileNotFoundException.java
12350 java/io/FilePermission.java java/io/FileReader.java
12351 java/io/FileWriter.java java/io/FilenameFilter.java
12352 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12353 java/io/FilterReader.java java/io/FilterWriter.java
12354 java/io/IOException.java java/io/InputStream.java
12355 java/io/InterruptedIOException.java
12356 java/io/InvalidClassException.java
12357 java/io/InvalidObjectException.java
12358 java/io/NotActiveException.java
12359 java/io/NotSerializableException.java java/io/ObjectInput.java
12360 java/io/ObjectInputStream.java
12361 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12362 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12363 java/io/ObjectStreamConstants.java
12364 java/io/ObjectStreamException.java
12365 java/io/ObjectStreamField.java
12366 java/io/OptionalDataException.java java/io/OutputStream.java
12367 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12368 java/io/PipedReader.java java/io/PipedWriter.java
12369 java/io/PrintWriter.java java/io/PushbackInputStream.java
12370 java/io/PushbackReader.java java/io/Reader.java
12371 java/io/SequenceInputStream.java java/io/Serializable.java
12372 java/io/SerializablePermission.java
12373 java/io/StreamCorruptedException.java
12374 java/io/StreamTokenizer.java
12375 java/io/StringBufferInputStream.java java/io/StringReader.java
12376 java/io/StringWriter.java java/io/SyncFailedException.java
12377 java/io/UTFDataFormatException.java
12378 java/io/UnsupportedEncodingException.java
12379 java/io/WriteAbortedException.java java/io/Writer.java
12380 java/lang/AbstractMethodError.java
12381 java/lang/ArithmeticException.java
12382 java/lang/ArrayIndexOutOfBoundsException.java
12383 java/lang/ArrayStoreException.java java/lang/Boolean.java
12384 java/lang/Byte.java java/lang/CharSequence.java
12385 java/lang/ClassCastException.java
12386 java/lang/ClassCircularityError.java
12387 java/lang/ClassFormatError.java
12388 java/lang/ClassNotFoundException.java
12389 java/lang/CloneNotSupportedException.java
12390 java/lang/Cloneable.java java/lang/Comparable.java
12391 java/lang/Compiler.java java/lang/Double.java
12392 java/lang/Error.java java/lang/Exception.java
12393 java/lang/ExceptionInInitializerError.java
12394 java/lang/Float.java java/lang/IllegalAccessError.java
12395 java/lang/IllegalAccessException.java
12396 java/lang/IllegalArgumentException.java
12397 java/lang/IllegalMonitorStateException.java
12398 java/lang/IllegalStateException.java
12399 java/lang/IllegalThreadStateException.java
12400 java/lang/IncompatibleClassChangeError.java
12401 java/lang/IndexOutOfBoundsException.java
12402 java/lang/InheritableThreadLocal.java
12403 java/lang/InstantiationError.java
12404 java/lang/InstantiationException.java java/lang/Integer.java
12405 java/lang/InternalError.java
12406 java/lang/InterruptedException.java
12407 java/lang/LinkageError.java java/lang/Long.java
12408 java/lang/NegativeArraySizeException.java
12409 java/lang/NoClassDefFoundError.java
12410 java/lang/NoSuchFieldError.java
12411 java/lang/NoSuchFieldException.java
12412 java/lang/NoSuchMethodError.java
12413 java/lang/NoSuchMethodException.java
12414 java/lang/NullPointerException.java java/lang/Number.java
12415 java/lang/NumberFormatException.java
12416 java/lang/OutOfMemoryError.java java/lang/Package.java
12417 java/lang/Process.java java/lang/Runnable.java
12418 java/lang/RuntimeException.java
12419 java/lang/RuntimePermission.java
12420 java/lang/SecurityException.java
12421 java/lang/SecurityManager.java java/lang/Short.java
12422 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12423 java/lang/StringIndexOutOfBoundsException.java
12424 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12425 java/lang/ThreadLocal.java java/lang/UnknownError.java
12426 java/lang/UnsatisfiedLinkError.java
12427 java/lang/UnsupportedClassVersionError.java
12428 java/lang/UnsupportedOperationException.java
12429 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12430 java/lang/Void.java java/lang/ref/PhantomReference.java
12431 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12432 java/lang/ref/SoftReference.java
12433 java/lang/ref/WeakReference.java
12434 java/lang/reflect/AccessibleObject.java
12435 java/lang/reflect/InvocationTargetException.java
12436 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12437 java/lang/reflect/ReflectPermission.java
12438 java/math/BigDecimal.java java/math/BigInteger.java
12439 java/net/Authenticator.java java/net/BindException.java
12440 java/net/ConnectException.java java/net/ContentHandler.java
12441 java/net/ContentHandlerFactory.java
12442 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12443 java/net/FileNameMap.java java/net/MalformedURLException.java
12444 java/net/MulticastSocket.java java/net/NetPermission.java
12445 java/net/NoRouteToHostException.java
12446 java/net/PasswordAuthentication.java
12447 java/net/ProtocolException.java java/net/ServerSocket.java
12448 java/net/Socket.java java/net/SocketException.java
12449 java/net/SocketImpl.java java/net/SocketImplFactory.java
12450 java/net/SocketOptions.java java/net/SocketPermission.java
12451 java/net/URLDecoder.java java/net/URLEncoder.java
12452 java/net/URLStreamHandlerFactory.java
12453 java/net/UnknownHostException.java
12454 java/net/UnknownServiceException.java
12455 java/rmi/AccessException.java
12456 java/rmi/AlreadyBoundException.java
12457 java/rmi/ConnectException.java
12458 java/rmi/ConnectIOException.java
12459 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12460 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12461 java/rmi/NotBoundException.java
12462 java/rmi/RMISecurityException.java
12463 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12464 java/rmi/RemoteException.java java/rmi/ServerError.java
12465 java/rmi/ServerException.java
12466 java/rmi/ServerRuntimeException.java
12467 java/rmi/StubNotFoundException.java
12468 java/rmi/UnexpectedException.java
12469 java/rmi/UnknownHostException.java
12470 java/rmi/UnmarshalException.java
12471 java/rmi/activation/Activatable.java
12472 java/rmi/activation/ActivateFailedException.java
12473 java/rmi/activation/ActivationDesc.java
12474 java/rmi/activation/ActivationException.java
12475 java/rmi/activation/ActivationGroup.java
12476 java/rmi/activation/ActivationGroupDesc.java
12477 java/rmi/activation/ActivationGroupID.java
12478 java/rmi/activation/ActivationID.java
12479 java/rmi/activation/ActivationInstantiator.java
12480 java/rmi/activation/ActivationMonitor.java
12481 java/rmi/activation/ActivationSystem.java
12482 java/rmi/activation/Activator.java
12483 java/rmi/activation/UnknownGroupException.java
12484 java/rmi/activation/UnknownObjectException.java
12485 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12486 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12487 java/rmi/registry/Registry.java
12488 java/rmi/registry/RegistryHandler.java
12489 java/rmi/server/ExportException.java
12490 java/rmi/server/LoaderHandler.java
12491 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12492 java/rmi/server/Operation.java
12493 java/rmi/server/RMIClassLoader.java
12494 java/rmi/server/RMIClientSocketFactory.java
12495 java/rmi/server/RMIFailureHandler.java
12496 java/rmi/server/RMIServerSocketFactory.java
12497 java/rmi/server/RMISocketFactory.java
12498 java/rmi/server/RemoteCall.java
12499 java/rmi/server/RemoteObject.java
12500 java/rmi/server/RemoteRef.java
12501 java/rmi/server/RemoteServer.java
12502 java/rmi/server/RemoteStub.java
12503 java/rmi/server/ServerCloneException.java
12504 java/rmi/server/ServerNotActiveException.java
12505 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12506 java/rmi/server/SkeletonMismatchException.java
12507 java/rmi/server/SkeletonNotFoundException.java
12508 java/rmi/server/SocketSecurityException.java
12509 java/rmi/server/UID.java
12510 java/rmi/server/UnicastRemoteObject.java
12511 java/rmi/server/Unreferenced.java
12512 java/security/AccessControlContext.java
12513 java/security/AccessControlException.java
12514 java/security/AccessController.java
12515 java/security/AlgorithmParameterGenerator.java
12516 java/security/AlgorithmParameterGeneratorSpi.java
12517 java/security/AlgorithmParameters.java
12518 java/security/AlgorithmParametersSpi.java
12519 java/security/AllPermission.java
12520 java/security/BasicPermission.java
12521 java/security/Certificate.java java/security/CodeSource.java
12522 java/security/DigestException.java
12523 java/security/DigestInputStream.java
12524 java/security/DigestOutputStream.java
12525 java/security/DomainCombiner.java
12526 java/security/DummyKeyPairGenerator.java
12527 java/security/DummyMessageDigest.java
12528 java/security/DummySignature.java
12529 java/security/GeneralSecurityException.java
12530 java/security/Guard.java java/security/GuardedObject.java
12531 java/security/Identity.java java/security/IdentityScope.java
12532 java/security/InvalidAlgorithmParameterException.java
12533 java/security/InvalidKeyException.java
12534 java/security/InvalidParameterException.java
12535 java/security/Key.java java/security/KeyException.java
12536 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12537 java/security/KeyManagementException.java
12538 java/security/KeyPair.java java/security/KeyPairGenerator.java
12539 java/security/KeyPairGeneratorSpi.java
12540 java/security/KeyStore.java
12541 java/security/KeyStoreException.java
12542 java/security/KeyStoreSpi.java
12543 java/security/MessageDigest.java
12544 java/security/MessageDigestSpi.java
12545 java/security/NoSuchAlgorithmException.java
12546 java/security/NoSuchProviderException.java
12547 java/security/Permission.java
12548 java/security/PermissionCollection.java
12549 java/security/Permissions.java java/security/Policy.java
12550 java/security/Principal.java java/security/PrivateKey.java
12551 java/security/PrivilegedAction.java
12552 java/security/PrivilegedActionException.java
12553 java/security/PrivilegedExceptionAction.java
12554 java/security/ProtectionDomain.java
12555 java/security/Provider.java
12556 java/security/ProviderException.java
12557 java/security/PublicKey.java
12558 java/security/SecureClassLoader.java
12559 java/security/SecureRandom.java
12560 java/security/SecureRandomSpi.java java/security/Security.java
12561 java/security/SecurityPermission.java
12562 java/security/Signature.java
12563 java/security/SignatureException.java
12564 java/security/SignatureSpi.java
12565 java/security/SignedObject.java java/security/Signer.java
12566 java/security/UnrecoverableKeyException.java
12567 java/security/UnresolvedPermission.java
12568 java/security/acl/Acl.java java/security/acl/AclEntry.java
12569 java/security/acl/AclNotFoundException.java
12570 java/security/acl/Group.java
12571 java/security/acl/LastOwnerException.java
12572 java/security/acl/NotOwnerException.java
12573 java/security/acl/Owner.java java/security/acl/Permission.java
12574 java/security/cert/CRL.java
12575 java/security/cert/CRLException.java
12576 java/security/cert/Certificate.java
12577 java/security/cert/CertificateEncodingException.java
12578 java/security/cert/CertificateException.java
12579 java/security/cert/CertificateExpiredException.java
12580 java/security/cert/CertificateFactory.java
12581 java/security/cert/CertificateFactorySpi.java
12582 java/security/cert/CertificateNotYetValidException.java
12583 java/security/cert/CertificateParsingException.java
12584 java/security/cert/X509CRL.java
12585 java/security/cert/X509CRLEntry.java
12586 java/security/cert/X509Certificate.java
12587 java/security/cert/X509Extension.java
12588 java/security/interfaces/DSAKey.java
12589 java/security/interfaces/DSAKeyPairGenerator.java
12590 java/security/interfaces/DSAParams.java
12591 java/security/interfaces/DSAPrivateKey.java
12592 java/security/interfaces/DSAPublicKey.java
12593 java/security/interfaces/RSAKey.java
12594 java/security/interfaces/RSAPrivateCrtKey.java
12595 java/security/interfaces/RSAPrivateKey.java
12596 java/security/interfaces/RSAPublicKey.java
12597 java/security/spec/AlgorithmParameterSpec.java
12598 java/security/spec/DSAParameterSpec.java
12599 java/security/spec/DSAPrivateKeySpec.java
12600 java/security/spec/DSAPublicKeySpec.java
12601 java/security/spec/EncodedKeySpec.java
12602 java/security/spec/InvalidKeySpecException.java
12603 java/security/spec/InvalidParameterSpecException.java
12604 java/security/spec/KeySpec.java
12605 java/security/spec/PKCS8EncodedKeySpec.java
12606 java/security/spec/RSAKeyGenParameterSpec.java
12607 java/security/spec/RSAPrivateCrtKeySpec.java
12608 java/security/spec/RSAPrivateKeySpec.java
12609 java/security/spec/RSAPublicKeySpec.java
12610 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12611 java/sql/BatchUpdateException.java java/sql/Blob.java
12612 java/sql/CallableStatement.java java/sql/Clob.java
12613 java/sql/Connection.java java/sql/DataTruncation.java
12614 java/sql/DatabaseMetaData.java java/sql/Date.java
12615 java/sql/Driver.java java/sql/DriverManager.java
12616 java/sql/DriverPropertyInfo.java
12617 java/sql/PreparedStatement.java java/sql/Ref.java
12618 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12619 java/sql/SQLData.java java/sql/SQLException.java
12620 java/sql/SQLInput.java java/sql/SQLOutput.java
12621 java/sql/SQLWarning.java java/sql/Statement.java
12622 java/sql/Struct.java java/sql/Time.java
12623 java/sql/Timestamp.java java/sql/Types.java
12624 java/text/Annotation.java
12625 java/text/AttributedCharacterIterator.java
12626 java/text/AttributedString.java
12627 java/text/AttributedStringIterator.java
12628 java/text/BreakIterator.java java/text/CharacterIterator.java
12629 java/text/ChoiceFormat.java java/text/Collator.java
12630 java/text/DateFormat.java java/text/DateFormatSymbols.java
12631 java/text/DecimalFormat.java
12632 java/text/DecimalFormatSymbols.java
12633 java/text/FieldPosition.java java/text/Format.java
12634 java/text/MessageFormat.java java/text/NumberFormat.java
12635 java/text/ParseException.java java/text/ParsePosition.java
12636 java/text/SimpleDateFormat.java
12637 java/text/StringCharacterIterator.java
12638 java/util/AbstractCollection.java java/util/AbstractList.java
12639 java/util/AbstractMap.java
12640 java/util/AbstractSequentialList.java
12641 java/util/AbstractSet.java java/util/ArrayList.java
12642 java/util/Arrays.java java/util/BasicMapEntry.java
12643 java/util/BitSet.java java/util/Calendar.java
12644 java/util/Collection.java java/util/Collections.java
12645 java/util/Comparator.java
12646 java/util/ConcurrentModificationException.java
12647 java/util/Date.java java/util/Dictionary.java
12648 java/util/EmptyStackException.java java/util/Enumeration.java
12649 java/util/EventListener.java java/util/EventObject.java
12650 java/util/GregorianCalendar.java java/util/HashMap.java
12651 java/util/HashSet.java java/util/Hashtable.java
12652 java/util/IdentityHashMap.java java/util/Iterator.java
12653 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12654 java/util/LinkedList.java java/util/List.java
12655 java/util/ListIterator.java java/util/ListResourceBundle.java
12656 java/util/Locale.java java/util/Map.java
12657 java/util/MissingResourceException.java
12658 java/util/NoSuchElementException.java
12659 java/util/Observable.java java/util/Observer.java
12660 java/util/Properties.java java/util/PropertyPermission.java
12661 java/util/PropertyResourceBundle.java java/util/Random.java
12662 java/util/RandomAccess.java java/util/ResourceBundle.java
12663 java/util/Set.java java/util/SimpleTimeZone.java
12664 java/util/SortedMap.java java/util/SortedSet.java
12665 java/util/Stack.java java/util/StringTokenizer.java
12666 java/util/TimeZone.java java/util/Timer.java
12667 java/util/TimerTask.java
12668 java/util/TooManyListenersException.java
12669 java/util/TreeMap.java java/util/TreeSet.java
12670 java/util/Vector.java java/util/WeakHashMap.java
12671 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12672 java/util/jar/JarException.java java/util/jar/JarFile.java
12673 java/util/jar/JarInputStream.java
12674 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12675 java/util/zip/Adler32.java java/util/zip/CRC32.java
12676 java/util/zip/CheckedInputStream.java
12677 java/util/zip/CheckedOutputStream.java
12678 java/util/zip/Checksum.java
12679 java/util/zip/DataFormatException.java
12680 java/util/zip/Deflater.java
12681 java/util/zip/DeflaterOutputStream.java
12682 java/util/zip/GZIPInputStream.java
12683 java/util/zip/GZIPOutputStream.java
12684 java/util/zip/Inflater.java
12685 java/util/zip/InflaterInputStream.java
12686 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12687 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12688 java/util/zip/ZipInputStream.java
12689 java/util/zip/ZipOutputStream.java
12690 javax/naming/BinaryRefAddr.java
12691 javax/naming/InvalidNameException.java javax/naming/Name.java
12692 javax/naming/NamingException.java javax/naming/RefAddr.java
12693 javax/naming/StringRefAddr.java: Add license clarification.
12694
12695 2002-01-22 Tom Tromey <tromey@redhat.com>
12696
12697 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12698 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12699 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12700 version.
12701 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12702 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12703 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12704 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12705 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12706 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12707 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12708 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12709 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12710 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12711 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12712 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12713 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12714 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12715 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12716 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12717 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12718 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12719 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12720 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12721 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12722 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12723 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12724 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12725 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12726 (minimumSize, preferredSize, reshape): Likewise.
12727 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12728 getColorModel): New methods.
12729 * java/awt/PopupMenu.java: Merged with Classpath.
12730 * java/awt/MenuBar.java: Merged with Classpath.
12731 * java/awt/SystemColor.java: Replace with Classpath version.
12732 * java/awt/Panel.java: Merged with Classpath.
12733 * java/awt/PaintContext.java: Updated copyright.
12734 * java/awt/MenuShortcut.java: Merged with Classpath.
12735 * java/awt/MenuContainer.java: Merged with Classpath.
12736 * java/awt/Menu.java: Merged with Classpath.
12737 * java/awt/MediaEntry.java: New file from Classpath.
12738 * java/awt/MediaTracker.java: New file from Classpath.
12739 * java/awt/List.java: Merged with Classpath version.
12740 * java/awt/Insets.java: Merged with Classpath version.
12741 * java/awt/ImageMediaEntry.java: New file from Classpath.
12742 * java/awt/Image.java: Replaced with Classpath version.
12743 * java/awt/FontMetrics.java: Merged with Classpath version.
12744 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12745 constant.
12746 * java/awt/Font.java: Merged with Classpath version.
12747 * java/awt/Dialog.java: Merged with Classpath version.
12748 * java/awt/Color.java: Merged with Classpath version.
12749 * java/awt/Choice.java: Merged with Classpath version.
12750 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12751 * java/awt/Adjustable.java: Replace with Classpath version.
12752 * java/awt/MenuItem.java (paramString): Don't include class name
12753 or brackets. Call superclass paramString.
12754 * java/awt/MenuComponent.java (toString): Call paramString.
12755 (paramString): Compute string; don't call toString.
12756 * java/awt/Label.java (paramString): Don't include class name
12757 or brackets. Call superclass paramString.
12758 * java/awt/Checkbox.java (paramString): Don't include class name
12759 or brackets. Call superclass paramString.
12760 * java/awt/Button.java (paramString): Don't include class name or
12761 brackets. Call superclass paramString.
12762 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12763
12764 2002-01-20 Andreas Schwab <schwab@suse.de>
12765
12766 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12767 function and of parameter recv_func to ssize_t, as specified by
12768 POSIX.
12769
12770 2002-01-19 Per Bothner <per@bothner.com>
12771
12772 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12773 uncompressed_size in readiness for next entry.
12774
12775 2002-01-18 Tom Tromey <tromey@redhat.com>
12776
12777 * java/net/natPlainSocketImpl.cc: Include
12778 IllegalArgumentException.h.
12779 (_Jv_recv): New template function.
12780 (BooleanClass): Removed.
12781 (read): Use _Jv_recv.
12782 (setOption): Use Boolean::class$. Throw exception if object is
12783 not Boolean or Integer.
12784
12785 2002-01-17 Tom Tromey <tromey@redhat.com>
12786
12787 * java/awt/MenuComponent.java: Merged with Classpath.
12788 * java/awt/MenuItem.java: Merged with Classpath.
12789 * java/awt/Button.java: Merged with Classpath.
12790
12791 * java/awt/ActiveEvent.java: Updated copyright.
12792
12793 * java/awt/AWTError.java: Replaced with Classpath version.
12794 * java/awt/AWTException.java: Replaced with Classpath version.
12795 * java/awt/IllegalComponentStateException.java: Replaced with
12796 Classpath version.
12797
12798 2002-01-16 Tom Tromey <tromey@redhat.com>
12799
12800 * java/awt/Canvas.java (serialVersionUID): New constant.
12801 Updated copyright. Added javadoc from Classpath.
12802 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12803
12804 * java/awt/CheckboxGroup.java: Merged with Classpath.
12805 * java/awt/Checkbox.java: Merged with Classpath.
12806
12807 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12808 Classpath.
12809 * java/awt/Point.java: Updated copyright.
12810
12811 * java/awt/Point.java (toString): Use getClass().getName().
12812 Added javadoc.
12813
12814 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12815 commented code.
12816 (hash): Correctly compute initial value for `h'.
12817
12818 * java/awt/Label.java: Merged with Classpath.
12819
12820 2002-01-15 Tom Tromey <tromey@redhat.com>
12821
12822 * java/awt/AWTPermission.java: Updated copyright.
12823
12824 * java/awt/LayoutManager2.java: Merged with Classpath.
12825 * java/awt/LayoutManager.java: Merged with Classpath.
12826 * java/awt/GridLayout.java: Updated copyright and javadoc.
12827 (getSize): Use `parent.ncomponents'. Handle insets.
12828 (layoutContainer): Use `parent.ncomponents'. Handle case where
12829 there are fewer children than columns. Correctly compute size of
12830 each cell in the grid. Handle case where there isn't enough
12831 space.
12832 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12833 all users.
12834 (gotoComponent): Use parent.ncomponents. Ensure child exists
12835 before calling setVisible() on it. Last item is `num - 1', not
12836 `num'.
12837 (layoutContainer): Hoist invariants out of loop.
12838
12839 Start of AWT merge with Classpath:
12840 * Makefile.in: Rebuilt.
12841 * Makefile.am (awt_java_source_files): Reference files in
12842 gnu/java/awt, not gnu/gcj/awt.
12843 * java/awt/image/BufferedImage.java: Updated copyright.
12844 * java/awt/image/ComponentColorModel.java: Updated copyright.
12845 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12846 * java/awt/image/DataBuffer.java: Updated copyright.
12847 * java/awt/image/DataBufferByte.java: Updated copyright.
12848 * java/awt/image/DataBufferInt.java: Updated copyright.
12849 * java/awt/image/DataBufferUShort.java: Updated copyright.
12850 * java/awt/image/IndexColorModel.java: Updated copyright.
12851 * java/awt/image/PackedColorModel.java: Updated copyright.
12852 * java/awt/image/Raster.java: Updated copyright.
12853 * java/awt/image/RasterOp.java: Updated copyright.
12854 * java/awt/image/SampleModel.java: Updated copyright.
12855 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12856 * java/awt/image/WritableRaster.java: Updated copyright.
12857 * java/awt/color/ColorSpace.java: Updated copyright.
12858 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12859 * java/awt/color/ICC_Profile.java: Updated copyright.
12860 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12861 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12862 * java/awt/event/HierarchyEvent.java: Updated copyright.
12863 * java/awt/event/HierarchyListener.java: Updated copyright.
12864 * java/awt/geom/AffineTransform.java: Updated copyright.
12865 * java/awt/geom/Dimension2D.java: Updated copyright.
12866 * java/awt/geom/Ellipse2D.java: Updated copyright.
12867 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12868 * java/awt/geom/Line2D.java: Updated copyright.
12869 * java/awt/geom/NoninvertibleTransformException.java: Updated
12870 copyright.
12871 * java/awt/geom/PathIterator.java: Updated copyright.
12872 * java/awt/geom/Point2D.java: Updated copyright.
12873 * java/awt/geom/Rectangle2D.java: Updated copyright.
12874 * java/awt/geom/RectangularShape.java: Updated copyright.
12875 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12876 * java/awt/Toolkit.java: Updated import for file moves.
12877 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12878 Classpath.
12879 (hashCode): New method from Classpath.
12880 * java/awt/Graphics2D.java: Updated copyright.
12881 * java/awt/Transparency.java: Updated copyright.
12882 * java/awt/Paint.java: Updated copyright.
12883 * java/awt/Graphics.java: New version from Classpath.
12884 * java/awt/EventDispatchThread.java: Updated copyright.
12885 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12886 children.
12887 (gotoComponent): Wrap around on next/previous.
12888 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12889 * gnu/gcj/awt/Buffers.java: Removed.
12890 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12891 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12892 * gnu/java/awt/BitMaskExtent.java: Added.
12893 * gnu/java/awt/Buffers.java: Added.
12894 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12895 * gnu/java/awt/GLightweightPeer.java: Added.
12896 * java/awt/geom/Line2D.java (clone): Ignore
12897 CloneNotSupportedException.
12898 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12899 * java/awt/Frame.java: Merged with Classpath.
12900 * java/awt/RenderingHints.java: Copyright update.
12901 * java/awt/Paint.java: Copyright update.
12902 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12903 * java/awt/image/ColorModel.java: Merged with Classpath.
12904 * java/awt/Window.java (show): New Implementation from Classpath.
12905 (isShowing): Use super.isShowing().
12906 * java/awt/EventQueue.java: Merged with Classpath.
12907 * java/awt/AWTEventMulticaster.java (save): Throw
12908 RuntimeException.
12909 (saveInternal): Likewise.
12910 * java/awt/AWTEvent.java: Now implements Serializable.
12911 * java/awt/Event.java: Copyright update.
12912 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12913 * java/awt/image/BufferedImage.java: Copyright update.
12914 * java/awt/GraphicsConfiguration.java: Copyright update.
12915 * java/awt/Component.java: (addNotify): Don't call
12916 addNotifyContainerChildren().
12917 (addNotifyContainerChildren): Removed.
12918 (setPeer): New method from Classpath.
12919 (setTreeLock): Likewise.
12920 (setVisible): Rewrote.
12921 (show): Use it.
12922 (hide): Likewise.
12923 (validate): Set `valid'.
12924 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12925 (createImage(ImageProducer)): Likewise.
12926 (prepareImage): Likewise.
12927 * java/awt/Container.java (addImpl): Handle case where constraint
12928 is not a String. Post event via system event queue.
12929 (remove): Post event via system event queue.
12930 (validateTree): Only validate child if it is invalid.
12931 (getAlignmentX): Call super method as default.
12932 (getAlignmentY): Likewise.
12933 (addContainerListener): Now synchronized.
12934 (removeContainerListener): Likewise.
12935 (addNotifyContainerChildren): Now private.
12936 * java/awt/ComponentOrientation.java: Updated copyright. Added
12937 @author.
12938 * java/awt/FlowLayout.java (serialVersionUID): New field.
12939 (setAlignment): Better exception message.
12940 (layoutContainer): Don't compute component's preferred size unless
12941 we're going to use it.
12942 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12943 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12944 (firstLine, lastLine, firstItem, lastItem): New fields.
12945 (addLayoutComponent): Handle case where constraints is null.
12946 Also, handle relative locations.
12947 (removeLayoutComponent): Handle relative locations.
12948 (MIN, MAX, PREF): New constants.
12949 (calcCompSize): New method.
12950 (calcSize): New method.
12951 (minimumLayoutSize): Use it.
12952 (preferredLayoutSize): Likewise.
12953 (maximumLayoutSize): Likewise.
12954 (toString): Include more information.
12955 (setBounds): New method.
12956 (layoutContainer): Use libgcj implementation; extended to handle
12957 relative locations.
12958
12959 2002-01-15 Tom Tromey <tromey@redhat.com>
12960
12961 * java/lang/Float.java (equals): Preserve old code.
12962 * java/lang/Double.java (equals): Preserve old code.
12963
12964 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12965
12966 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12967 * java/lang/Float.java (equals, compare): Ditto.
12968
12969 2002-01-13 Mark Wielaard <mark@klomp.org>
12970
12971 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12972 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12973 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12974 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12975
12976 2002-01-11 Mark Wielaard <mark@klomp.org>
12977
12978 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12979 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12980 InetAddress.
12981 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12982 * java/net/Socket.java: Merge with Classpath.
12983 * java/net/ServerSocket.java: Likewise.
12984
12985 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12986
12987 * interpret.cc (NULLARRAYCHECK): New macro.
12988 (SAVE_PC): Just store `pc'.
12989 (find_exception): Subtract one from `pc' here.
12990 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12991 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12992 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12993 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12994 don't call SAVE_PC.
12995 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12996 call SAVE_PC.
12997
12998 2002-01-11 Tom Tromey <tromey@redhat.com>
12999
13000 * java/lang/natSystem.cc (init_properties): Only look for default
13001 locale if LC_MESSAGES is defined.
13002 * aclocal.m4, configure, include/config.h.in: Rebuilt.
13003 * configure.in: Call AM_LC_MESSAGES.
13004 * acinclude.m4 (AM_LC_MESSAGES): New macro.
13005
13006 2002-01-10 Tom Tromey <tromey@redhat.com>
13007
13008 For PR libgcj/5303:
13009 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
13010 --version. Recognize GNU-style long options. Print GNU-style
13011 error messages.
13012 (usage): Print GNU-style help. Exit with status 0.
13013 (error): New method.
13014 (run): Print error message if no class names found.
13015 (main): Don't print usage on error.
13016
13017 2002-01-09 Tom Tromey <tromey@redhat.com>
13018
13019 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
13020 property.
13021 (help, version): Use println(), not println("").
13022
13023 For PR libgcj/5303:
13024 * gnu/gcj/convert/Convert.java (error): Program is called
13025 `jv-convert'. Print GNU-style message. Exit with status 1, not
13026 -1.
13027 (main): Handle --help and --version.
13028 (help): New method.
13029 (version): Likewise.
13030
13031 2002-01-08 Tom Tromey <tromey@redhat.com>
13032
13033 * Makefile.in: Rebuilt.
13034 * Makefile.am (ordinary_java_source_files): Added new files.
13035 * gnu/java/locale/LocaleInformation.java: Extend
13036 LocaleInformation_en.
13037 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
13038 and time/date formats.
13039 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
13040 generated.
13041 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
13042 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
13043 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
13044 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
13045 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
13046 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
13047 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
13048 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
13049 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
13050 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
13051 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
13052 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
13053 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
13054 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
13055 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
13056 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
13057 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
13058 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
13059 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
13060 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
13061 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
13062 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
13063 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
13064 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
13065 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
13066 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
13067 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
13068 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
13069 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
13070 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
13071 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
13072 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
13073 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
13074 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
13075 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
13076 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
13077 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
13078 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
13079 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
13080 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
13081 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
13082 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
13083 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
13084 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
13085 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
13086 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
13087 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
13088 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
13089 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
13090 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
13091 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
13092 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
13093 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
13094 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
13095 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
13096 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
13097 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
13098 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
13099 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
13100 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
13101 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
13102 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
13103 * gnu/java/locale/LocaleInformation_es_US.java: New file.
13104 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
13105 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
13106 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
13107 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
13108 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
13109 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
13110 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
13111 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
13112 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
13113 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
13114 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
13115 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
13116 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
13117 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
13118 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
13119 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
13120 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
13121 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
13122 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
13123 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
13124 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
13125 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
13126 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
13127 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
13128 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
13129 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
13130 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
13131 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
13132 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
13133 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
13134 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
13135 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
13136 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
13137 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
13138 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
13139 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
13140 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
13141 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
13142 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
13143 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
13144 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
13145 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
13146 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
13147 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
13148 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
13149 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
13150 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
13151 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
13152 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
13153 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
13154 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
13155 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
13156 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
13157 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
13158 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
13159 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
13160 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
13161 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
13162 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13163 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13164 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13165 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13166 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13167 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13168 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13169 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13170 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13171
13172 For PR libgcj/5031:
13173 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13174 choose default locale.
13175
13176 * Makefile.in: Rebuilt.
13177 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13178
13179 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
13180
13181 * java/net/natPlainSocketImpl.cc: Added timeout handling for
13182 sockets.
13183 (close): New function closes the socket.
13184 (write): New functions for output to socket.
13185 (read): New functions for reading from socket.
13186 * java/net/PlainSocketImpl.java: Glue for new timeout
13187 implementation.
13188 (write): Call the native impl.
13189 (read): Likewise.
13190 (getInputStream): Get a stream to read from the socket.
13191 (getOutputStream): Get a stream to write to the socket.
13192
13193 2002-01-08 Tom Tromey <tromey@redhat.com>
13194
13195 * resolve.cc (_Jv_PrepareClass): Enable verifier.
13196
13197 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
13198
13199 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13200 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13201
13202 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
13203
13204 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13205 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13206 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13207 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13208 insn_bastore, insn_castore, insn_sastore]: Use it.
13209 (continue1) [insn_arraylength]: Check for null array.
13210
13211 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13212
13213 * configure, include/config.h.in: Rebuilt.
13214 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13215 * configure.in: Call AC_STRUCT_TIMEZONE.
13216
13217 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13218
13219 * configure.host: Disable the interpreter for Darwin.
13220
13221 2002-01-04 Tom Tromey <tromey@redhat.com>
13222
13223 * java/lang/Thread.java (stop): No longer synchronized.
13224 (start): Likewise.
13225
13226 2002-01-02 Tom Tromey <tromey@redhat.com>
13227
13228 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13229 patch.
13230
13231 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
13232
13233 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13234 PPC Darwin, not for all of Darwin.
This page took 0.593581 seconds and 5 git commands to generate.