For PR libgcj/7482:
[gcc.git] / libjava / ChangeLog
1 2003-07-24 Tom Tromey <tromey@redhat.com>
2
3 For PR libgcj/7482:
4 * verify.cc (ref_intersection): New class.
5 (type_val): Removed unresolved_reference_type,
6 uninitialized_unresolved_reference_type.
7 (is_assignable_from_slow): Rewrote.
8 (type::data): Removed.
9 (type::klass): New field.
10 (type::type): Added verifier argument.
11 (type::resolve): Removed.
12 (type::set_uninitialized): Updated for change to type_val.
13 (type::set_initialized): Likewise.
14 (type::isinitialized): Likewise.
15 (type::print): Likewise.
16 (construct_primitive_array_type): Likewise.
17 (type::compatible): Updated for change to type_val and to use
18 ref_intersection.
19 (type::isarray): Updated to use ref_intersection.
20 (type::isinterface): Likewise.
21 (type::element_type): Likewise.
22 (type::to_array): Likewise.
23 (type::verify_dimensions): Rewrote.
24 (type::merge): Likewise.
25 (check_class_constant): Updated for type constructor change.
26 (check_constant): Likewise.
27 (check_field_constant): Likewise.
28 (get_one_type): Likewise.
29 (initialize_stack): Likewise.
30 (verify_instructions_0): Likewise.
31 (verify_instructions_0) [op_invokeinterface]: Removed special
32 case.
33 (isect_list): New field.
34 (_Jv_BytecodeVerifier): Initialize it.
35 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
36
37 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
38
39 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
40 unless field size is 2.
41
42 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
43
44 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
45 (connectHooks): New method.
46 (handleEvent): Remove.
47 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
48 (createHooks): Remove declaration.
49 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
50 (generates_key_typed_event): Change to handle only certain
51 keyvals.
52 (awt_event_handler): Add special handling for GtkTextView.
53 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
54 (textcomponent_commit_cb): New function.
55 (textcomponent_changed_cb): Likewise.
56 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
57 (connectHooks): Remove.
58
59 2003-07-23 Tom Tromey <tromey@redhat.com>
60
61 * java/lang/natSystem.cc (arraycopy): Check for overflow.
62
63 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
64
65 2003-07-22 Tom Tromey <tromey@redhat.com>
66
67 * boehm.cc (_Jv_BuildGCDescr): Wrote.
68 Include limits.h.
69
70 2003-07-22 Tom Tromey <tromey@redhat.com>
71
72 * java/awt/Window.java (getWarningString): Just return the
73 string.
74 (Window): Set warningString; check with security manager.
75
76 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
77
78 * gnu/awt/xlib/XGraphicsConfiguration.java
79 (FontMetricsCache): Made static.
80
81 2003-07-22 Tom Tromey <tromey@redhat.com>
82
83 * java/net/URLEncoder.java (encode(String)): Use platform default
84 encoding.
85 (encode(String,String)): Convert to 2-digit upper-case hex
86 number.
87 (hex): New field.
88
89 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
90
91 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
92 (create): Remove unused method implementation.
93 (connectHooks): Remove debug messages.
94
95 2003-07-20 Anthony Green <green@redhat.com>
96
97 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
98 CloneNotSupportedException.
99 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
100 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
101 * gnu/gcj/xlib/GC.java (clone): Ditto.
102 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
103 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
104
105 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
106 handler.
107 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
108
109 2003-07-20 Steve Pribyl <steve@netfuel.com.>
110
111 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
112 String. Put dlerror() message into exception.
113 Include UnsatisfiedLinkError.
114 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
115 String. Now native.
116
117 2003-07-20 Tom Tromey <tromey@redhat.com>
118
119 * java/lang/Runtime.java: Comment fix.
120 * java/lang/ClassLoader.java (isAncestorOf): New method.
121 (getParent): Uncommented security check. Use isAncestorOf.
122 * include/jvm.h (_Jv_CheckAccess): Declare.
123 * java/lang/reflect/natConstructor.cc (newInstance): Perform
124 access check.
125 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
126 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
127 class loader to _Jv_GetArrayClass.
128 Include ArrayIndexOutOfBoundsException.h.
129 * java/lang/reflect/Field.java: Update comment to reflect status.
130 (equals): Fixed indentation.
131 * java/lang/Class.h (Class): Declare memberAccessCheck, not
132 checkMemberAccess. Make _Jv_CheckAccess a friend.
133 * java/lang/Class.java (memberAccessCheck): New method from
134 Classpath.
135 (checkMemberAccess): Removed.
136 (getDeclaredMethod): Use memberAccessCheck.
137 (getField): Likewise.
138 (getMethod): Likewise.
139 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
140 (_Jv_SearchMethodInClass): Likewise.
141 * prims.cc (_Jv_CheckAccess): New function.
142 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
143 (_Jv_JNI_GetAnyFieldID): Likewise.
144 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
145 (getClassLoader): Added security check.
146 (getConstructor): Call memberAccessCheck.
147 (getDeclaredClasses): Likewise.
148 (getDeclaredField): Likewise.
149 (getDeclaredFields): Likewise.
150 (_getConstructors): Likewise.
151 (getDeclaredConstructor): Likewise.
152 (getDeclaredMethods): Likewise.
153 (getFields): Likewise.
154 (getMethods): Likewise.
155 (newInstance): Likewise.
156 (_Jv_MakeVTable): Put method name in exception.
157 * java/lang/reflect/natMethod.cc (getType): Use
158 getClassLoaderInternal.
159 (_Jv_GetTypesFromSignature): Likewise.
160 (invoke): Perform access check.
161 (_Jv_CallAnyMethodA): Removed old FIXME comments.
162 Include ArrayIndexOutOfBoundsException.h.
163 * java/lang/reflect/natField.cc (getType): Use
164 getClassLoaderInternal.
165 (_Jv_CheckFieldAccessibility): Removed.
166 (getAddr): Use _Jv_CheckAccess; find caller.
167 Include ArrayIndexOutOfBoundsException.h.
168
169 2003-07-20 Michael Koch <konqueror@gmx.de>
170
171 * java/net/URL.java
172 (URL): Fixed documentation to name an argument correcty, Reformatted
173 one method declaration.
174 (getURLStreamHandler): Added documentation from classpath.
175
176 2003-07-19 Tom Tromey <tromey@redhat.com>
177
178 * mauve-libgcj: Don't run CollationElementIterator tests.
179
180 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
181
182 * java/net/URLClassLoader.java (addURL): Moved implementation to
183 private addURLImpl() to avoid calling addURL from the constructor.
184 (addURLImpl): Contains the code that was previously in addURL.
185 (addURLs): Call addURLImpl(), not addURL().
186
187 2003-07-18 Graydon Hoare <graydon@redhat.com>
188
189 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
190 Handle missing event cases, connect to "value-changed" signal.
191
192 2003-07-18 Graydon Hoare <graydon@redhat.com>
193
194 * java/awt/geom/CubicCurve2D.java,
195 java/awt/geom/Line2D.java,
196 java/awt/geom/QuadCurve2D.java,
197 java/awt/geom/Rectangle2D.java:
198 Fix path some calculations, make path iterators follow
199 a consistent style.
200
201 2003-07-18 Mark Wielaard <mark@klomp.org>
202
203 * java/util/logging/Handler.java (isLoggable): Check record level
204 smaller or equal.
205
206 2003-07-17 Michael Koch <konqueror@gmx.de>
207
208 * gnu/java/awt/peer/gtk/GtkToolkit.java:
209 Reworked imports.
210
211 2003-07-14 Michael Koch <konqueror@gmx.de>
212
213 * gnu/java/rmi/server/UnicastServerRef.java:
214 New version from classpath.
215
216 2003-07-14 Michael Koch <konqueror@gmx.de>
217
218 * java/awt/image/MemoryImageSource.java,
219 java/beans/PropertyEditorManager.java,
220 javax/naming/CompoundName.java,
221 javax/naming/spi/NamingManager.java,
222 javax/swing/AbstractButton.java,
223 javax/swing/ButtonModel.java,
224 javax/swing/SwingUtilities.java,
225 javax/swing/UIManager.java,
226 javax/swing/colorchooser/DefaultColorSelectionModel.java,
227 javax/swing/event/AncestorEvent.java,
228 javax/swing/event/InternalFrameEvent.java,
229 java/util/zip/ZipFile.java:
230 New versions from classpath.
231
232 2003-07-13 Michael Koch <konqueror@gmx.de>
233
234 * gnu/java/nio/FileChannelImpl.java,
235 gnu/java/nio/natFileChannelImpl.cc: Removed.
236 * java/io/FileInputStream.java,
237 java/io/FileOutputStream.java,
238 java/io/RandomAccessFile.java,
239 java/nio/MappedByteBufferImpl.java:
240 Import java.nio.channels.FileChannelImpl instead of
241 gnu.java.nio.FileChannelImpl.
242 * java/nio/channels/FileChannelImpl.java,
243 java/nio/channels/natFileChannelImpl.cc:
244 New files.
245 * Makefile.am
246 (ordinary_java_source_files):
247 Removed gnu/java/nio/FileChannelImpl.java and added
248 java/nio/channels/FileChannelImpl.java.
249 (nat source_files):
250 Removed gnu/java/nio/natFileChannelImpl.cc and added
251 java/nio/channels/natFileChannelImpl.cc.
252 * Makefile.in: Regenerated.
253
254 2003-07-13 Michael Koch <konqueror@gmx.de>
255
256 * javax/swing/plaf/basic/BasicBorders.java,
257 javax/swing/plaf/basic/BasicLabelUI.java,
258 javax/swing/plaf/basic/BasicLookAndFeel.java,
259 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
260 javax/swing/plaf/basic/BasicTextUI.java,
261 javax/swing/plaf/metal/MetalLookAndFeel.java:
262 New versions from classpath.
263
264 2003-07-13 Michael Koch <konqueror@gmx.de>
265
266 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
267 * gnu/java/awt/peer/gtk/GdkGraphics.java
268 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
269 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
270 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
271 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
272 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
273 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
274 * gnu/java/awt/peer/gtk/GtkClipboard.java
275 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
276 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
277 * gnu/java/awt/peer/gtk/GtkFramePeer.java
278 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
279 * gnu/java/awt/peer/gtk/GtkImage.java
280 * gnu/java/awt/peer/gtk/GtkImagePainter.java
281 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
282 * gnu/java/awt/peer/gtk/GtkListPeer.java
283 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
284 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
285 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
286 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
287 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
288 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
289 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
290 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
291 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
292 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
293 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
294 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
295
296 2003-07-13 Michael Koch <konqueror@gmx.de>
297
298 * gnu/java/locale/LocaleInformation_de.java
299 * gnu/java/locale/LocaleInformation_en.java
300 * gnu/java/locale/LocaleInformation_nl.java
301
302 2003-07-13 Michael Koch <konqueror@gmx.de>
303
304 * gnu/java/awt/EmbeddedWindow.java,
305 gnu/java/awt/EmbeddedWindowSupport.java,
306 gnu/java/awt/natEmbeddedWindow.cc:
307 New files.
308 * java/awt/Window.java
309 (Window): New constructor to support embedded windows.
310 * Makefile.am
311 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
312 gnu/java/awt/EmbeddedWindowSupport.java.
313 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
314 * Makefile.in: Regenerated.
315
316 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
317
318 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
319 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
320 * java/awt/im/InputContext.java: Remove a redundant
321 partial line.
322
323 2003-07-09 Tom Tromey <tromey@redhat.com>
324
325 * Makefile.in: Rebuilt.
326 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
327
328 2003-07-09 Mark Wielaard <mark@klomp.org>
329
330 * java/io/ObjectOutputStream.java (writeObject): break after
331 calling writeClassDescriptor().
332
333 2003-07-09 Mark Mitchell <mark@codesourcery.com>
334
335 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
336
337 2003-07-09 Michael Koch <konqueror@gmx.de>
338
339 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
340 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
341 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
342 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
343 Explicitly import used classes.
344 * java/awt/Container.java: New version from classpath.
345
346 2003-07-09 Michael Koch <konqueror@gmx.de>
347
348 * libgcj.pc.in: New file.
349 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
350 * Makefile.in: Regenerated.
351 * configure: Regenrated.
352 * configure.in: Create libgcj.pc from libgcj.pc.in.
353
354 2003-07-08 Mark Wielaard <mark@klomp.org>
355
356 * gcj/cni.h: CNI now expands to Compiled Native Interface.
357
358 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
359 * java/lang/fdlibm.h: Likewise.
360
361 2003-07-07 Adam Megacz <adam@xwt.org>
362
363 * posix.cc: added #include<stdio.h>
364
365 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
366
367 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
368 formatting.
369
370 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
371 (setCaretPosition, setEditable): Rely entirely on native
372 implementation.
373 (getArgs): Remove.
374 (postTextEvent): New method.
375 (handleEvent): New method.
376 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
377 method.
378 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
379 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
380 (keysym_to_awt_keycode): Fix range checks.
381 (generates_key_typed_event): New function.
382 (awt_event_handler): Post AWT_KEY_RELEASED events to event
383 queue.
384 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
385 (gtkInit): Store TextComponent's postTextEvent method ID.
386 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
387 (setText): Post TEXT_VALUE_CHANGED event to event queue.
388
389 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
390
391 * configure.in: Check for usleep declaration.
392 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
393 * configure: Regenerate.
394 * include/config.h.in: Likewise.
395 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
396
397 2003-07-01 Michael Koch <konqueror@gmx.de>
398
399 * gnu/gcj/convert/natIconv.cc
400 (iconv_init): Fixed possible memory leak by releasing allocated iconv
401 handle.
402
403 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
404
405 * glib-2.0.m4: New file.
406 * gtk-2.0.m4: New file.
407 * glib.m4: Remove.
408 * gtk.m4: Remove.
409 * configure.in: Update AM_PATH_GTK macro call to
410 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
411 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
412 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
413 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
414 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
415 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
416 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
417 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
418 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
419 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
420 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
421 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
422 jni/gtk-peer/gthread-jni.c,
423 jni/gtk-peer/gthread-jni.h:
424 New versions from classpath.
425 * aclocal.m4: Regenerate.
426 * configure: Regenerate.
427 * Makefile.in: Regenerate.
428 * gcj/Makefile.in: Regenerate.
429 * include/Makefile.in: Regenerate.
430 * testsuite/Makefile.in: Regenerate.
431
432 2003-06-30 Gary Benson <gbenson@redhat.com>
433
434 For PR libgcj/11349:
435 * javax/naming/spi/NamingManager.java (getURLContext): Use
436 correct name for factory class.
437
438 2003-06-28 Michael Koch <konqueror@gmx.de>
439
440 * java/io/PrintStream.java
441 (checkError): Call flush() instead of direct flushing of the Writer
442 object.
443 (print): Call print(String) instead of direct print method of the
444 Writer Object.
445 (println): Call println(String) instead of direct println method of the
446 Writer Object.
447 (write): Simplified.
448
449 2003-06-28 Michael Koch <konqueror@gmx.de>
450
451 * java/net/ServerSocket.java
452 (setChannel): New method.
453 * java/net/Socket.java
454 (setChannel): New method.
455
456 2003-06-27 Michael Koch <konqueror@gmx.de>
457
458 * java/beans/beancontext/BeanContextSupport.java:
459 New version from classpath.
460
461 2003-06-27 Michael Koch <konqueror@gmx.de>
462
463 * java/awt/Window.java,
464 java/awt/font/GraphicAttribute.java,
465 java/awt/font/ImageGraphicAttribute.java,
466 java/awt/image/DataBufferByte.java,
467 java/awt/image/DataBufferInt.java,
468 java/awt/image/DataBufferUShort.java,
469 java/awt/image/DirectColorModel.java,
470 java/awt/image/PixelGrabber.java:
471 New versions from classpath.
472
473 2003-06-27 Michael Koch <konqueror@gmx.de>
474
475 * java/security/Certificate.java
476 (getGuarantor): Removed wrong @deprecated tag.
477 (getPrincipal): Likewise.
478 (getPublicKey): Likewise.
479 (encode): Likewise.
480 (decode): Likewise.
481 (getFormat): Likewise.
482 (toString): Likewise.
483 * java/security/cert/PolicyQualifierInfo.java
484 (PolicyQualifierInfo): Made final.
485 * javax/security/auth/x500/X500Principal.java
486 (serialVersionUID): New member variable.
487
488 2003-06-27 Michael Koch <konqueror@gmx.de>
489
490 * java/text/Format.java
491 (serialVersionUID): Fixed value.
492
493 2003-06-27 Michael Koch <konqueror@gmx.de>
494
495 * java/net/Inet4Address.java
496 (Inet4Address): Made package-private.
497 * java/net/Inet6Address.java
498 (Inet4Address): Made package-private.
499
500 2003-06-27 Michael Koch <konqueror@gmx.de>
501
502 * java/io/RandomAccessFile.java
503 (readLine): Removed wrong @deprecated tag.
504 (getChannel): Made final.
505
506 2003-06-27 Michael Koch <konqueror@gmx.de>
507
508 * gnu/java/nio/FileChannelImpl.java
509 (write): Removed.
510
511 2003-06-27 Michael Koch <konqueror@gmx.de>
512
513 * java/nio/ByteBufferImpl.java
514 (ByteBufferImpl): Made it a package-private class
515 * java/nio/CharBufferImpl.java
516 (CharBufferImpl): Made it a package-private class
517 * java/nio/DirectByteBufferImpl.java
518 (DirectByteBufferImpl): Made it a package-private class
519 * java/nio/DoubleBufferImpl.java
520 (DoubleBufferImpl): Made it a package-private class
521 * java/nio/FloatBufferImpl.java
522 (FloatBufferImpl): Made it a package-private class
523 * java/nio/IntBufferImpl.java
524 (IntBufferImpl): Made it a package-private class
525 * java/nio/LongBufferImpl.java
526 (LongBufferImpl): Made it a package-private class
527 * java/nio/ShortBufferImpl.java
528 (ShortBufferImpl): Made it a package-private class
529 * java/nio/channels/FileChannel.java
530 (write): Made final.
531 * java/nio/channels/ServerSocketChannel.java
532 (ServerSocketChanne): Made protected.
533
534 2003-06-27 Michael Koch <konqueror@gmx.de>
535
536 * javax/naming/CompositeName.java
537 (serialVersionUID): New member variable.
538 * javax/naming/CompoundName.java
539 (serialVersionUID): New member variable.
540 * javax/naming/InitialContext.java
541 (InitialContext): Throws NamingException.
542 (init): Likewise.
543 * javax/naming/LinkRef.java
544 (serialVersionUID): New member variable.
545 (gteLinkName): Throws NamingException.
546 * javax/naming/NamingException.java
547 (serialVersionUID): New member variable.
548 * javax/naming/NamingSecurityException.java
549 (NamingSecurityException): Made abstract.
550 (serialVersionUID): New member variable.
551 * javax/naming/ReferralException.java
552 (serialVersionUID): New member variable.
553 * javax/naming/StringRefAddr.java
554 (serialVersionUID): New member variable.
555 * javax/naming/directory/BasicAttribute.java:
556 Reworked imports.
557 (serialVersionUID): New member variable.
558 (get): Throws NamingException.
559 (getAll): Throws NamingException.
560 * javax/naming/directory/BasicAttributes.java:
561 Reworked imports.
562 (serialVersionUID): New member variable.
563 * javax/naming/ldap/UnsolicitedNotificationEvent.java
564 (serialVersionUID): New member variable.
565
566 2003-06-27 Michael Koch <konqueror@gmx.de>
567
568 * Makefile.am
569 (awt_java_source_files): Added new files:
570 javax/swing/Popup.java,
571 javax/swing/PopupFactory.java
572 * Makefile.in: Regenerated.
573
574 2003-06-27 Michael Koch <konqueror@gmx.de>
575
576 * javax/swing/JWindow.java,
577 javax/swing/event/AncestorEvent.java,
578 javax/swing/event/HyperlinkEvent.java,
579 javax/swing/event/InternalFrameEvent.java,
580 javax/swing/event/ListDataEvent.java,
581 javax/swing/event/TableModelEvent.java,
582 javax/swing/plaf/PopupMenuUI.java,
583 javax/swing/plaf/SplitPaneUI.java,
584 javax/swing/plaf/TabbedPaneUI.java,
585 javax/swing/plaf/TextUI.java,
586 javax/swing/plaf/TreeUI.java,
587 javax/swing/plaf/basic/BasicTextUI.java,
588 javax/swing/plaf/basic/BasicTreeUI.java:
589 New versions from classpath.
590 * javax/swing/Popup.java,
591 javax/swing/PopupFactory.jav:
592 New source files from classpath.
593 * javax/swing/plaf/doc-files/TreeUI-1.png:
594 New binary files from classpath.
595
596 2003-06-25 Michael Koch <konqueror@gmx.de>
597
598 * Makefile.am
599 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
600 * Makefile.in: Regenerated.
601
602 2003-06-25 Michael Koch <konqueror@gmx.de>
603
604 * javax/swing/plaf/ActionMapUIResource.java,
605 javax/swing/plaf/BorderUIResource.java,
606 javax/swing/plaf/ButtonUI.java,
607 javax/swing/plaf/ColorChooserUI.java,
608 javax/swing/plaf/ColorUIResource.java,
609 javax/swing/plaf/ComboBoxUI.java,
610 javax/swing/plaf/ComponentInputMapUIResource.java,
611 javax/swing/plaf/ComponentUI.java,
612 javax/swing/plaf/DesktopIconUI.java,
613 javax/swing/plaf/DesktopPaneUI.java,
614 javax/swing/plaf/DimensionUIResource.java,
615 javax/swing/plaf/FileChooserUI.java,
616 javax/swing/plaf/FontUIResource.java,
617 javax/swing/plaf/IconUIResource.java,
618 javax/swing/plaf/InputMapUIResource.java,
619 javax/swing/plaf/InsetsUIResource.java,
620 javax/swing/plaf/InternalFrameUI.java,
621 javax/swing/plaf/LabelUI.java,
622 javax/swing/plaf/ListUI.java,
623 javax/swing/plaf/MenuBarUI.java,
624 javax/swing/plaf/MenuItemUI.java,
625 javax/swing/plaf/OptionPaneUI.java,
626 javax/swing/plaf/PanelUI.java,
627 javax/swing/plaf/ProgressBarUI.java,
628 javax/swing/plaf/RootPaneUI.java,
629 javax/swing/plaf/ScrollBarUI.java,
630 javax/swing/plaf/ScrollPaneUI.java,
631 javax/swing/plaf/SeparatorUI.java,
632 javax/swing/plaf/SliderUI.java,
633 javax/swing/plaf/TableHeaderUI.java,
634 javax/swing/plaf/TableUI.java,
635 javax/swing/plaf/ToolBarUI.java,
636 javax/swing/plaf/ToolTipUI.java,
637 javax/swing/plaf/ViewportUI.java:
638 New versions from classpath.
639 * javax/swing/plaf/SpinnerUI.java:
640 New file from classpath
641
642 2003-06-25 Michael Koch <konqueror@gmx.de>
643
644 * java/awt/image/ColorModel.java:
645 New version from classpath.
646
647 2003-06-25 Michael Koch <konqueror@gmx.de>
648
649 * java/net/PlainDatagramSocketImpl.java:
650 Partly merged with classpath, this mainly adds documentation.
651
652 2003-06-25 Michael Koch <konqueror@gmx.de>
653
654 * java/io/ObjectInputStream.java
655 (readClassDescriptor): New method.
656 (readObject): Moved functionality to readClassDescriptor().
657 * java/io/ObjectOutputStream.java
658 (writeClassDescriptor): New method.
659 (writeObject): Moved functionality to writeClassDescriptor().
660
661 2003-06-25 Michael Koch <konqueror@gmx.de>
662
663 * javax/swing/plaf/basic/BasicListUI.java,
664 javax/swing/plaf/basic/BasicOptionPaneUI.java:
665 Added missing methods.
666
667 2003-06-25 Michael Koch <konqueror@gmx.de>
668
669 * javax/swing/event/AncestorEvent.java
670 javax/swing/event/HyperlinkEvent.java
671 javax/swing/event/InternalFrameEvent.java
672 javax/swing/event/ListDataEvent.java
673 javax/swing/event/TableModelEvent.java:
674 Compile fixes.
675
676 2003-06-24 Michael Koch <konqueror@gmx.de>
677
678 * java/net/URL.java:
679 Renamed "handler" to "ph" in the whole file to match classpaths
680 version.
681 * java/net/URLStreamHandler.java:
682 (equals): Renamed "handler" to "ph".
683
684 2003-06-24 Michael Koch <konqueror@gmx.de>
685
686 * javax/swing/event/AncestorEvent.java,
687 javax/swing/event/HyperlinkEvent.java,
688 javax/swing/event/InternalFrameEvent.java,
689 javax/swing/event/ListDataEvent.java,
690 javax/swing/event/TableModelEvent.java,
691 javax/swing/event/TreeWillExpandListener.java,
692 javax/swing/plaf/ComponentUI.java,
693 javax/swing/plaf/DesktopIconUI.java,
694 javax/swing/plaf/DesktopPaneUI.java,
695 javax/swing/plaf/DimensionUIResource.java,
696 javax/swing/plaf/FileChooserUI.java,
697 javax/swing/plaf/FontUIResource.java,
698 javax/swing/plaf/IconUIResource.java,
699 javax/swing/plaf/InputMapUIResource.java,
700 javax/swing/plaf/InsetsUIResource.java,
701 javax/swing/plaf/InternalFrameUI.java,
702 javax/swing/plaf/LabelUI.java,
703 javax/swing/plaf/ListUI.java,
704 javax/swing/plaf/MenuBarUI.java,
705 javax/swing/plaf/MenuItemUI.java,
706 javax/swing/plaf/OptionPaneUI.java,
707 javax/swing/plaf/PanelUI.java,
708 javax/swing/plaf/ProgressBarUI.java,
709 javax/swing/plaf/doc-files/ComponentUI-1.dia,
710 javax/swing/plaf/doc-files/ComponentUI-1.png:
711 New versions from classpath.
712
713 2003-06-24 Michael Koch <konqueror@gmx.de>
714
715 * java/nio/Buffer.java
716 (cap): Made package-private.
717 (pos): Likewise.
718 (limit): Likewise.
719 (mark): Likewise.
720
721 2003-06-24 Michael Koch <konqueror@gmx.de>
722
723 * java/net/SocketImpl.java
724 (shutdownInput): Made it non-abstract method throwing an exception
725 like in SUNs JRE.
726 (shutdownOutput): Likewise.
727 * java/net/SocketInputStream.java,
728 java/net/SocketOutputStream.java:
729 New files from classpath.
730
731 2003-06-24 Michael Koch <konqueror@gmx.de>
732
733 * java/awt/Font.java,
734 java/awt/Window.java,
735 java/awt/color/ColorSpace.java,
736 java/awt/datatransfer/StringSelection.java,
737 java/awt/image/ColorModel.java:
738 New versions from classpath.
739
740 2003-06-24 Michael Koch <konqueror@gmx.de>
741
742 * Makefile.am
743 (awt_java_source_files): Added new files:
744 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
745 javax/swing/plaf/basic/BasicSplitPaneUI.java
746 * Makefile.in: Regenerated.
747
748 2003-06-24 Michael Koch <konqueror@gmx.de>
749
750 * javax/swing/text/JTextComponent.java:
751 New version from classpath.
752
753 2003-06-24 Michael Koch <konqueror@gmx.de>
754
755 * javax/swing/Timer.java,
756 javax/swing/plaf/ActionMapUIResource.java,
757 javax/swing/plaf/ButtonUI.java,
758 javax/swing/plaf/ColorChooserUI.java,
759 javax/swing/plaf/ColorUIResource.java,
760 javax/swing/plaf/ComboBoxUI.java,
761 javax/swing/plaf/ComponentInputMapUIResource.java,
762 javax/swing/plaf/basic/BasicBorders.java:
763 New versions from classpath.
764 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
765 javax/swing/plaf/basic/BasicSplitPaneUI.java:
766 New file from classpath.
767 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
768 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
769 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
770 javax/swing/plaf/doc-files/ComponentUI-1.dia,
771 javax/swing/plaf/doc-files/ComponentUI-1.png:
772 New binary files from classpath.
773
774 2003-06-24 Michael Koch <konqueror@gmx.de>
775
776 * java/io/LineNumberReader.java
777 (skip): Dont do line number accounting here as this is already done in
778 read(), simplified.
779
780 2003-06-21 Michael Koch <konqueror@gmx.de>
781
782 * java/io/File.java
783 (static): Load javaio lib if existing (only in classpath).
784 (File): Revised documentation to show the correct argument name.
785 (createTempFile): Partly merged with classpath.
786 (compareTo): Simplified.
787 (lastModified): Throw exception if time < 0.
788 (deleteOnExit): Revised documentation.
789
790 2003-06-21 Michael Koch <konqueror@gmx.de>
791
792 * java/net/PlainSocketImpl.java:
793 Reformatted.
794 (PlainSocketImpl): Merged class documentaion with classpath.
795 (in): Moved.
796 (out): Moved.
797 (PlainSocketImpl): New empty constructor.
798 (finalize): Moved.
799 (setOption): Merged documentation from classpath.
800 (getOption): Likewise.
801 (create): Likewise.
802 (connect): Likewise.
803 (bind): Likewise.
804 (listen): Likewise.
805 (accept): Likewise.
806 (available): Likewise.
807 (close): Likewise.
808 (read): Likewise.
809 (write): Likewise.
810 (getInputStream): Made synchronozed to get sure that only one stream
811 object can be created for this socket, merged documentation from
812 classpath.
813 (getOutputStream): Likewise.
814
815 2003-06-21 Michael Koch <konqueror@gmx.de>
816
817 * java/net/PlainSocketImpl.java:
818 Reformatting.
819 (static): New implicit method.
820 (read): Made package private.
821 (write): Likewise.
822
823 2003-06-21 Michael Koch <konqueror@gmx.de>
824
825 * java/util/SimpleTimeZone.java:
826 Removed unneeded import, reformatting.
827
828 2003-06-21 Michael Koch <konqueror@gmx.de>
829
830 * java/text/DateFormat.java,
831 java/text/SimpleDateFormat.java,
832 java/util/Locale.java:
833 New versions from classpath.
834
835 2003-06-21 Michael Koch <konqueror@gmx.de>
836
837 * javax/swing/SpinnerModel.java:
838 New file from classpath.
839 * javax/swing/border/LineBorder.java,
840 javax/swing/border/SoftBevelBorder.java,
841 javax/swing/plaf/BorderUIResource.java,
842 javax/swing/plaf/basic/BasicBorders.java:
843 New versions from classpath.
844 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
845 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
846 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
847 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
848 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
849 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
850 New binary files from classpath.
851
852 2003-06-21 Michael Koch <konqueror@gmx.de>
853
854 * java/util/logging/LogRecord.java,
855 java/util/logging/Logger.java,
856 java/util/logging/SocketHandler.java,
857 java/util/logging/SimpleFormatter.java,
858 java/util/logging/Formatter.java,
859 java/util/logging/ErrorManager.java,
860 java/util/logging/Handler.java,
861 java/util/logging/FileHandler.java,
862 java/util/logging/LogManager.java,
863 java/util/logging/Level.java,
864 java/util/logging/ConsoleHandler.java,
865 java/util/logging/StreamHandler.java,
866 java/util/logging/LoggingPermission.java,
867 java/util/logging/Filter.java,
868 java/util/logging/MemoryHandler.java,
869 java/util/logging/XMLFormatter.java:
870 New files from classpath.
871
872 2003-06-20 Michael Koch <konqueror@gmx.de>
873
874 * java/io/ObjectStreamField.java
875 (unshared): new member variable.
876 (ObjectStreamField): New constructor.
877 (isUnshared): New method.
878
879 2003-06-20 Michael Koch <konqueror@gmx.de>
880
881 * java/net/URLStreamHandler.java
882 (hostsEqual): Rewritten.
883
884 2003-06-20 Michael Koch <konqueror@gmx.de>
885
886 * gnu/java/nio/MappedByteFileBuffer.java,
887 gnu/java/nio/natMappedByteFileBuffer.cc:
888 Removed
889 * java/nio/MappedByteBufferImpl.java:
890 New file.
891 * gnu/java/nio/FileChannelImpl.java:
892 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
893 * Makefile.am
894 (ordinary_java_source_files): Removed
895 gnu/java/nio/MappedByteFileBuffer.java and added
896 java/nio/MappedByteBufferImpl.java.
897 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
898 * Makefile.in: Regenerated.
899
900 2003-06-19 Michael Koch <konqueror@gmx.de>
901
902 * gnu/java/nio/DatagramChannelImpl.java
903 (fd): Removed.
904 (blocking): New member variable.
905 (socket): Likewise.
906 (DatagramChannelImpl): Throws IOException, initialize socket.
907 (socket):Implemented.
908 (implCloseSelectableChannel): Throws IOException, implemented.
909 (implConfigureBlocking): Likewise.
910 (connect): Likewise.
911 (disconnect): Likewise.
912 (isConnected): Likewise.
913 (write): Likewise.
914 (read): Likewise.
915 (receive): Throws IOException.
916 (send): Likewise.
917 * gnu/java/nio/SocketChannelImpl.java
918 (read): Implemented.
919 (write): Implemented.
920
921 2003-06-19 Michael Koch <konqueror@gmx.de>
922
923 * javax/swing/JComponent.java,
924 javax/swing/JInternalFrame.java,
925 javax/swing/MenuSelectionManager.java,
926 javax/swing/SwingUtilities.java,
927 javax/swing/ToggleButtonModel.java:
928 New versions from classpath.
929
930 2003-06-19 Michael Koch <konqueror@gmx.de>
931
932 * java/text/CollationElementIterator.java
933 (NULLORDER): Initialize with -1 as JDK documentation says.
934
935 2003-06-19 Michael Koch <konqueror@gmx.de>
936
937 * java/net/HttpURLConnection.java,
938 java/net/Inet4Address.java,
939 java/net/Inet6Address.java,
940 java/net/SocketImpl.java,
941 java/net/URLClassLoader.java:
942 Reworked import statements.
943 * java/net/InetAddress.java
944 (getByAddress): Simplified.
945 * java/net/ServerSocket.java
946 (ServerSocket): Moved special handling during bind operation to
947 bind().
948 (bind): Handle different cases when trying to bind a socket.
949 * java/net/URLConnection.java
950 (getHeaderFieldDate): Merged with classpath.
951 (getHeaderFieldInt): Likewise.
952
953 2003-06-19 Michael Koch <konqueror@gmx.de>
954
955 * java/util/zip/InflaterInputStream.java
956 (InflaterInputStream): Throw NullPointerException if in is null (as
957 JDK does).
958
959 2003-06-19 Michael Koch <konqueror@gmx.de>
960
961 * java/awt/Font.java
962 javax/swing/UIManager.java
963 javax/swing/border/AbstractBorder.java
964 javax/swing/border/BevelBorder.java
965 javax/swing/border/Border.java
966 javax/swing/border/CompoundBorder.java
967 javax/swing/border/EmptyBorder.java
968 javax/swing/border/EtchedBorder.java
969 javax/swing/border/LineBorder.java
970 javax/swing/border/MatteBorder.java
971 javax/swing/border/TitledBorder.java
972 javax/swing/plaf/BorderUIResource.java
973 javax/swing/plaf/basic/BasicBorders.java
974 javax/swing/plaf/basic/BasicButtonUI.java
975 javax/swing/plaf/basic/BasicCheckBoxUI.java
976 javax/swing/plaf/basic/BasicGraphicsUtils.java
977 javax/swing/plaf/basic/BasicLabelUI.java
978 javax/swing/plaf/basic/BasicRadioButtonUI.java
979 javax/swing/plaf/basic/BasicToggleButtonUI.java:
980 New versions from classpath.
981 * javax/swing/border/SoftBevelBorder.java:
982 New file from classpath.
983 * javax/swing/border/doc-files/LineBorder-1.png,
984 javax/swing/border/doc-files/BevelBorder-1.png,
985 javax/swing/border/doc-files/BevelBorder-2.png,
986 javax/swing/border/doc-files/BevelBorder-3.png,
987 javax/swing/border/doc-files/EmptyBorder-1.png,
988 javax/swing/border/doc-files/EtchedBorder-1.png,
989 javax/swing/border/doc-files/EtchedBorder-2.png,
990 javax/swing/border/doc-files/MatteBorder-1.png,
991 javax/swing/border/doc-files/MatteBorder-2.png,
992 javax/swing/border/doc-files/MatteBorder-3.png,
993 javax/swing/border/doc-files/MatteBorder-4.png,
994 javax/swing/border/doc-files/MatteBorder-5.png,
995 javax/swing/border/doc-files/MatteBorder-6.png,
996 javax/swing/border/doc-files/SoftBevelBorder-1.png,
997 javax/swing/border/doc-files/SoftBevelBorder-2.png,
998 javax/swing/border/doc-files/SoftBevelBorder-3.png,
999 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1000 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1001 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1002 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1003 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1004 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1005 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1006 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1007 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1008 New binary files from classpath.
1009 * Makefile.am
1010 (awt_java_source_files): Added
1011 javax/swing/border/SoftBevelBorder.java.
1012 * Makefile.in: Regenerated.
1013
1014 2003-06-19 Michael Koch <konqueror@gmx.de>
1015
1016 * gnu/java/security/x509/X509Certificate.java
1017 (writeReplace): Merged from classpath.
1018
1019 2003-06-19 Michael Koch <konqueror@gmx.de>
1020
1021 * gnu/java/nio/FileChannelImpl.java
1022 (map_address): Made public.
1023 (FileChannelImpl): Merged with classpath.
1024 * gnu/java/nio/natFileChannelImpl.cc
1025 (nio_mmap_file): Commented out unused arguments.
1026 (nio_unmmap_file): Likewise.
1027 (niu_msync): Likewise.
1028
1029 2003-06-19 Michael Koch <konqueror@gmx.de>
1030
1031 * java/awt/image/IndexColorModel.java:
1032 New version from classpath.
1033
1034 2003-06-18 Tom Tromey <tromey@redhat.com>
1035
1036 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1037 on arrays.
1038 (isLoopbackAddress): Likewise.
1039 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1040 on arrays.
1041
1042 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1043
1044 * java/lang/natVMSecurityManager.cc (getClassContext):
1045 Use maxlen instead of len for loop bound.
1046
1047 2003-06-18 Michael Koch <konqueror@gmx.de>
1048
1049 * gnu/java/nio/SelectorImpl.java
1050 (register): Use fd with value 0 for now, will be fixed later.
1051 * gnu/java/nio/ServerSocketChannelImpl.java
1052 (fd): Removed.
1053 (local_port): Removed.
1054 (InetSocketAddress): Removed.
1055 (ServerSocketChannelImpl): Just initialize internal socket object.
1056 (implCloseSelectableChannel): Close internal socket object.
1057 (implConfigureBlocking): Added comment.
1058 (accept): Use jaba.net stuff to accept socket.
1059 * gnu/java/nio/SocketChannelImpl.java
1060 (fd): Removed.
1061 (local_port): Removed.
1062 (InetSocketAddress): Removed.
1063 (SocketCreate): Removed.
1064 (SocketConnect): Removed.
1065 (SocketBind): Removed.
1066 (SocketListen): Removed.
1067 (SocketAvailable): Removed.
1068 (SocketClose): Removed.
1069 (SocketRead): Removed.
1070 (SocketWrite): Removed.
1071 (SocketChannelImpl): Just initialize internal socket object.
1072 (implCloseSelectableChannel): Close internal socket object.
1073 (implConfigureBlocking): Fixed implementation, added comment.
1074 (connect): Use internal socket object to connect.
1075 (socket): No need for sanity checks.
1076 (read): Comment out some stuff, this will be reimplemented in the next
1077 commit.
1078 (write): Likewise.
1079 * gnu/java/nio/natFileChannelImpl.cc
1080 (nio_mmap_file): Line wrapped.
1081 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1082 * Makefile.am
1083 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1084 * Makefile.in: Regenerated.
1085
1086 2003-06-18 Michael Koch <konqueror@gmx.de>
1087
1088 * java/util/Locale.java
1089 (equals): Merged from classpath.
1090
1091 2003-06-18 Michael Koch <konqueror@gmx.de>
1092
1093 * java/net/InetAddress.java:
1094 Reformatted to better match classpath's version.
1095 * java/net/URL.java
1096 (equals): Simplified.
1097 * java/net/URLConnection.java
1098 (setDoInput): Revised documentation.
1099 (getDefaultUseCaches): Likewise.
1100 (setRequestProperty): Added @since tag.
1101
1102 2003-06-17 Michael Koch <konqueror@gmx.de>
1103
1104 * java/net/InetSocketAddress.java
1105 (InetSocketAddress): Use wildcard address if addr is null.
1106 (InetSocketAddress): Dont duplicate implementation.
1107 (InetSocketAddress): Throw exception when hostname is null.
1108 * java/net/Socket.java:
1109 Reworked imports.
1110 (Socket): Throw exception when raddr is null, handle case when laddr
1111 is null.
1112
1113 2003-06-17 Michael Koch <konqueror@gmx.de>
1114
1115 * java/nio/DirectByteBufferImpl.java
1116 (address): Made package private.
1117 (DirectByteBufferImpl): New constructor.
1118 * java/nio/natDirectByteBufferImpl.cc
1119 (allocateImpl): Moved to java.nio namespace, implemented.
1120 (freeImpl): Likewise.
1121 (getImpl): Likewise.
1122 (putImpl): Likewise.
1123 * jni.cc
1124 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1125 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1126 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1127
1128 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1129
1130 * include/powerpc-signal.h: New File.
1131 * configure.in: Use it.
1132 * configure: Regenerated.
1133
1134 2003-06-17 Michael Koch <konqueror@gmx.de>
1135
1136 * java/util/Locale.java
1137 (getDisplayLanguage): Made it final.
1138 (getDisplayCountry): Likewise.
1139 (getDisplayVariant): Likewise.
1140 (getDisplayName): Likewise.
1141
1142 2003-06-17 Michael Koch <konqueror@gmx.de>
1143
1144 * java/util/PropertyResourceBundle.java:
1145 Removed unneeded import.
1146
1147 2003-06-17 Michael Koch <konqueror@gmx.de>
1148
1149 * java/util/prefs/AbstractPreferences.java,
1150 java/util/prefs/PreferencesFactory.java:
1151 Reworked imports, removed unused imports.
1152 * java/util/prefs/Preferences.java
1153 (systemNodeForPackage): Method takes a Class not an Object.
1154 (userNodeForPackage): Likewise.
1155 (nodeForPackage): Likewise.
1156
1157 2003-06-17 Michael Koch <konqueror@gmx.de>
1158
1159 * gnu/java/security/x509/X509Certificate.java:
1160 Explicitely import used classes.
1161
1162 2003-06-17 Michael Koch <konqueror@gmx.de>
1163
1164 * java/util/zip/ZipEntry.java,
1165 java/util/zip/ZipFile.java,
1166 java/util/zip/ZipInputStream.java,
1167 java/util/zip/ZipOutputStream.java:
1168 Reworked imports, only import used classes.
1169
1170 2003-06-17 Michael Koch <konqueror@gmx.de>
1171
1172 * gnu/java/lang/ArrayHelper.java,
1173 gnu/java/lang/ClassHelper.java:
1174 Reformatted to match classpath's versions.
1175
1176 2003-06-14 Michael Koch <konqueror@gmx.de>
1177
1178 * gnu/java/nio/FileChannelImpl.java
1179 (map_address): Removed incorrect comment.
1180 * gnu/java/nio/SelectorImpl.java
1181 (register): Remove code duplication and code for file channel handling.
1182 * gnu/java/nio/ServerSocketChannelImpl.java
1183 (serverSocket): Renamed from sock_object.
1184 (ServerSocketChannel): Initialize serverSocket.
1185 (socket): Return serverSocket.
1186 * gnu/java/nio/SocketChannelImpl.java
1187 (socket): Renamed from sock_object.
1188 (isConnectionPenging): Simplified.
1189 (socket): Return socket.
1190 2003-06-14 Michael Koch <konqueror@gmx.de>
1191
1192 * java/security/BasicPermission.java:
1193 New version from classpath.
1194
1195 2003-06-14 Michael Koch <konqueror@gmx.de>
1196
1197 * javax/naming/directory/Attribute.java:
1198 New version from classpath.
1199
1200 2003-06-14 Michael Koch <konqueror@gmx.de>
1201
1202 * java/io/BufferedReader.java,
1203 java/io/FileOutputStream.java:
1204 New versions from classpath.
1205
1206 2003-06-12 Andrew Haley <aph@redhat.com>
1207
1208 * prims.cc (catch_segv): Create exception in handler.
1209 (catch_fpe): Likewise.
1210 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1211 (_Jv_ThrowSignal): Remove.
1212
1213 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1214 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1215 to nullp and arithexception.
1216 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1217 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1218 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1219 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1220 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1221
1222 2003-06-11 Andrew Haley <aph@redhat.com>
1223
1224 * jni.cc (_Jv_JNI_check_types): New.
1225 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1226 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1227 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1228 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1229
1230 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1231 infinite loop.
1232
1233 2003-06-11 Tom Tromey <tromey@redhat.com>
1234
1235 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1236 * java/io/PrintStream.java: Not deprecated.
1237
1238 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1239
1240 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1241 (fillOval): implemented
1242 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1243 (fillArc): implemented.
1244 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1245 (fillArc): added native method.
1246 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1247 (fillArc): added native method.
1248
1249 2003-06-11 Michael Koch <konqueror@gmx.de>
1250
1251 * java/awt/im/InputSubset.java:
1252 New version from classpath.
1253
1254 2003-06-11 Michael Koch <konqueror@gmx.de>
1255
1256 * javax/swing/AbstractAction.java,
1257 javax/swing/AbstractButton.java,
1258 javax/swing/AbstractCellEditor.java,
1259 javax/swing/AbstractListModel.java,
1260 javax/swing/BorderFactory.java,
1261 javax/swing/Box.java,
1262 javax/swing/BoxLayout.java,
1263 javax/swing/ButtonGroup.java,
1264 javax/swing/DefaultButtonModel.java,
1265 javax/swing/DefaultListModel.java,
1266 javax/swing/DefaultListSelectionModel.java,
1267 javax/swing/FocusManager.java,
1268 javax/swing/ImageIcon.java,
1269 javax/swing/InputMap.java,
1270 javax/swing/JApplet.java,
1271 javax/swing/JButton.java,
1272 javax/swing/JCheckBox.java,
1273 javax/swing/JCheckBoxMenuItem.java,
1274 javax/swing/JColorChooser.java,
1275 javax/swing/JComboBox.java,
1276 javax/swing/JComponent.java,
1277 javax/swing/JDesktopPane.java,
1278 javax/swing/JDialog.java,
1279 javax/swing/JEditorPane.java,
1280 javax/swing/JFileChooser.java,
1281 javax/swing/JFormattedTextField.java,
1282 javax/swing/JFrame.java,
1283 javax/swing/JLabel.java,
1284 javax/swing/JLayeredPane.java,
1285 javax/swing/JList.java,
1286 javax/swing/JMenuBar.java,
1287 javax/swing/JMenuItem.java,
1288 javax/swing/JOptionPane.java,
1289 javax/swing/JPanel.java,
1290 javax/swing/JPasswordField.java,
1291 javax/swing/JPopupMenu.java,
1292 javax/swing/JProgressBar.java,
1293 javax/swing/JRadioButton.java,
1294 javax/swing/JRadioButtonMenuItem.java,
1295 javax/swing/JRootPane.java,
1296 javax/swing/JScrollBar.java,
1297 javax/swing/JScrollPane.java,
1298 javax/swing/JSeparator.java,
1299 javax/swing/JSlider.java,
1300 javax/swing/JTabbedPane.java,
1301 javax/swing/JTable.java,
1302 javax/swing/JTextField.java,
1303 javax/swing/JToggleButton.java,
1304 javax/swing/JToolBar.java,
1305 javax/swing/JToolTip.java,
1306 javax/swing/JTree.java,
1307 javax/swing/JViewport.java,
1308 javax/swing/JWindow.java,
1309 javax/swing/KeyStroke.java,
1310 javax/swing/ListSelectionModel.java,
1311 javax/swing/LookAndFeel.java,
1312 javax/swing/RepaintManager.java,
1313 javax/swing/ScrollPaneLayout.java,
1314 javax/swing/SizeRequirements.java,
1315 javax/swing/SwingConstants.java,
1316 javax/swing/Timer.java,
1317 javax/swing/UIDefaults.java,
1318 javax/swing/UIManager.java,
1319 javax/swing/border/AbstractBorder.java,
1320 javax/swing/border/CompoundBorder.java,
1321 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1322 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1323 javax/swing/colorchooser/ColorSelectionModel.java,
1324 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1325 javax/swing/event/AncestorEvent.java,
1326 javax/swing/event/HyperlinkEvent.java,
1327 javax/swing/event/InternalFrameAdapter.java,
1328 javax/swing/event/InternalFrameEvent.java,
1329 javax/swing/event/ListDataEvent.java,
1330 javax/swing/event/MouseInputAdapter.java,
1331 javax/swing/event/SwingPropertyChangeSupport.java,
1332 javax/swing/event/TableModelEvent.java,
1333 javax/swing/event/TreeWillExpandListener.java,
1334 javax/swing/event/UndoableEditEvent.java,
1335 javax/swing/filechooser/FileFilter.java,
1336 javax/swing/filechooser/FileSystemView.java,
1337 javax/swing/filechooser/FileView.java,
1338 javax/swing/plaf/BorderUIResource.java,
1339 javax/swing/plaf/basic/BasicDefaults.java,
1340 javax/swing/table/AbstractTableModel.java,
1341 javax/swing/table/DefaultTableCellRenderer.java,
1342 javax/swing/table/DefaultTableColumnModel.java,
1343 javax/swing/table/DefaultTableModel.java,
1344 javax/swing/table/TableColumn.java,
1345 javax/swing/text/JTextComponent.java,
1346 javax/swing/tree/AbstractLayoutCache.java,
1347 javax/swing/tree/DefaultMutableTreeNode.java,
1348 javax/swing/tree/DefaultTreeCellEditor.java,
1349 javax/swing/tree/DefaultTreeCellRenderer.java,
1350 javax/swing/tree/DefaultTreeModel.java,
1351 javax/swing/tree/DefaultTreeSelectionModel.java,
1352 javax/swing/tree/FixedHeightLayoutCache.java,
1353 javax/swing/tree/TreeCellEditor.java,
1354 javax/swing/tree/TreeModel.java,
1355 javax/swing/tree/TreeNode.java,
1356 javax/swing/tree/TreePath.java,
1357 javax/swing/tree/TreeSelectionModel.java,
1358 javax/swing/tree/VariableHeightLayoutCache.java,
1359 javax/swing/undo/AbstractUndoableEdit.java,
1360 javax/swing/undo/CompoundEdit.java,
1361 javax/swing/undo/StateEdit.java,
1362 javax/swing/undo/UndoManager.java,
1363 javax/swing/undo/UndoableEditSupport.java:
1364 New versions from classpath.
1365 * javax/swing/table/JTableHeader.java:
1366 New file from classpath.
1367 * Makefile.am
1368 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1369 * Makefile.in: Regenerated.
1370
1371 2003-06-11 Michael Koch <konqueror@gmx.de>
1372
1373 * java/nio/MappedByteBuffer.java,
1374 java/nio/channels/Channels.java,
1375 java/nio/channels/ServerSocketChannel.java,
1376 java/nio/channels/spi/AbstractSelector.java:
1377 Removed unneeded imports.
1378
1379 2003-06-11 Michael Koch <konqueror@gmx.de>
1380
1381 * java/net/DatagramSocket.java:
1382 Partly merged with classpath.
1383
1384 2003-06-11 Michael Koch <konqueror@gmx.de>
1385
1386 * java/awt/Frame.java,
1387 java/awt/Graphics.java,
1388 java/awt/Menu.java,
1389 java/awt/Robot.java,
1390 java/awt/image/ColorModel.java:
1391 New versions from classpath.
1392
1393 2003-06-10 Michael Koch <konqueror@gmx.de>
1394
1395 * java/io/PrintStream.java:
1396 Merged version from classpath.
1397 (close): Removed sychronized keyword. This class is not garantied to
1398 be thread-safe.
1399 (write): Likewise.
1400
1401 2003-06-09 Tom Tromey <tromey@redhat.com>
1402
1403 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1404 field.
1405 (getDescent): Likewise, for "descent".
1406
1407 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1408
1409 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1410 (getMaxDescent): adjusted return value.
1411 (getAscent): modified to use metrics for 'O'.
1412 (getDescent): modified to use metrics for 'y'.
1413
1414 2003-06-08 Anthony Green <green@redhat.com>
1415
1416 * java/net/URLStreamHandler.java (sameFile): Fix port value
1417 comparison.
1418 * java/net/URL.java (handler): Make package private.
1419 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1420
1421 2003-06-07 Tom Tromey <tromey@redhat.com>
1422
1423 For PR libgcj/11085:
1424 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1425 Limit number of characters in numeric field when required.
1426 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1427 Respect maximumIntegerDigits.
1428
1429 2003-06-08 Michael Koch <konqueror@gmx.de>
1430
1431 * java/net/Socket.java
1432 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1433 call bind() and connect() to actually do the bind and connect tasks.
1434 (bind): Connect to canonical address if bindpoint is null, create
1435 socket and bind it to bindpoint.
1436 (connect): Check for exceptions.
1437
1438 2003-06-08 Michael Koch <konqueror@gmx.de>
1439
1440 * java/net/DatagramSocket.java
1441 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1442 into the Multicast constructors.
1443 * java/net/DatagramSocketImpl.java
1444 (getOption): Removed.
1445 (setOption): Removed.
1446 * java/net/MulticastSocket.java
1447 (MulticastSocket): Call setReuseAddress (true).
1448 * java/net/SocketImpl.java
1449 (getOption): Removed.
1450 (setOption): Removed.
1451
1452 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1453
1454 PR libgcj/10886:
1455 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1456 Test for empty vector.
1457
1458 2003-06-06 Mark Wielaard <mark@klomp.org>
1459
1460 * java/security/Security.java (secprops): Initialize.
1461 (loadProviders): Return boolean.
1462 (static): Check result of loadProvider calls. If necessary
1463 display WARNING and fallback to Gnu provider.
1464
1465 2002-06-06 James Clark <jjc@jclark.com>
1466
1467 Fix for PR libgcj/8738:
1468 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1469 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1470 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1471 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1472 (write): Always decrease avail when count is increased.
1473 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1474 and whether output buffer is full before increasing size.
1475
1476 2002-06-06 Mark Wielaard <mark@klomp dot org>
1477
1478 * java/io/PrintStream.java (writeChars(char[],int, int)):
1479 Check converter.havePendingBytes().
1480 (writeChars(String,int,int)): Likewise.
1481 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1482 Check converter.havePendingBytes() and flush buffer when stalled.
1483
1484 2003-06-07 Michael Koch <konqueror@gmx.de>
1485
1486 * include/posix.h
1487 (O_DSYNC): Define O_DSYNC on platforms not
1488 supporting O_FSYNC (newlib).
1489
1490 2003-06-06 Mark Wielaard <mark@klomp.org>
1491
1492 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1493 AWTError.
1494
1495 2003-06-06 Michael Koch <konqueror@gmx.de>
1496
1497 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1498 More compile fixes from my stupid work yesterday.
1499
1500 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1501
1502 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1503 if _IEEE_LIBM is undefined.
1504
1505 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1506
1507 * libjava/include/posix.h (O_SYNC): Define if not available
1508 and a reasonable, perhaps more conservative, replacement exists.
1509 (O_DSYNC): Likewise.
1510 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1511
1512 2003-06-05 Michael Koch <konqueror@gmx.de>
1513
1514 * javax/swing/plaf/BorderUIResource.java,
1515 javax/swing/plaf/basic/BasicDefaults.java,
1516 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1517 More compile fixes for latest Border commit. I should not commit
1518 something in this heat here ...
1519
1520 2003-06-05 Michael Koch <konqueror@gmx.de>
1521
1522 * javax/swing/border/BevelBorder.java
1523 (BevelBorder): Removed.
1524 * javax/swing/border/EmptyBorder.java:
1525 Reformatted.
1526 (EmptyBorder): Removed.
1527 (getBorderInsets): Dont use l, r, t and b.
1528 * javax/swing/border/EtchedBorder.java
1529 (EtchedBorder): Removed.
1530 * javax/swing/border/LineBorder.java
1531 (LineBorder): Removed.
1532 * javax/swing/border/MatteBorder.java
1533 (MatteBorder): Removed.
1534 * javax/swing/border/TitledBorder.java
1535 (defaultBorder): Use other default for now.
1536 (defaultFont): Likewise.
1537 (defaultColor): Likewise.
1538
1539 2003-06-05 Michael Koch <konqueror@gmx.de>
1540
1541 * javax/swing/border/Border.java:
1542 New version from classpath.
1543
1544 2003-06-05 Michael Koch <konqueror@gmx.de>
1545
1546 * javax/swing/border/AbstractBorder.java,
1547 javax/swing/border/BevelBorder.java,
1548 javax/swing/border/CompoundBorder.java,
1549 javax/swing/border/EmptyBorder.java,
1550 javax/swing/border/EtchedBorder.java,
1551 javax/swing/border/LineBorder.java,
1552 javax/swing/border/MatteBorder.java,
1553 javax/swing/border/TitledBorder.java:
1554 New versions from Classpath.
1555
1556 2003-06-05 Michael Koch <konqueror@gmx.de>
1557
1558 * java/awt/Button.java,
1559 java/awt/Checkbox.java,
1560 java/awt/CheckboxMenuItem.java,
1561 java/awt/Choice.java,
1562 java/awt/Container.java,
1563 java/awt/Dialog.java,
1564 java/awt/EventQueue.java,
1565 java/awt/FileDialog.java,
1566 java/awt/Frame.java,
1567 java/awt/Label.java,
1568 java/awt/List.java,
1569 java/awt/Menu.java,
1570 java/awt/MenuItem.java,
1571 java/awt/Panel.java,
1572 java/awt/PopupMenu.java,
1573 java/awt/Rectangle.java,
1574 java/awt/ScrollPane.java,
1575 java/awt/Scrollbar.java,
1576 java/awt/TextArea.java,
1577 java/awt/TextField.java,
1578 java/awt/Window.java,
1579 java/awt/datatransfer/DataFlavor.java,
1580 java/awt/dnd/DragSource.java,
1581 java/awt/dnd/DragSourceContext.java,
1582 java/awt/event/HierarchyEvent.java,
1583 java/awt/event/MouseWheelEvent.java,
1584 java/awt/im/InputContext.java,
1585 java/awt/image/BufferedImage.java,
1586 java/awt/image/ComponentColorModel.java,
1587 java/awt/image/Raster.java,
1588 java/awt/image/WritableRaster.java,
1589 java/awt/peer/ComponentPeer.java,
1590 java/awt/print/PageFormat.java,
1591 java/awt/print/PrinterJob.java:
1592 New versions from Classpath.
1593
1594 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1595
1596 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1597 numberFormat.setParseIntegerOnly(true).
1598
1599 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1600
1601 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1602
1603 2003-06-03 Andrew Haley <aph@redhat.com>
1604
1605 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1606 stack volatile to prevent optimization from removing it.
1607
1608 2003-05-27 Michael Koch <konqueror@gmx.de>
1609
1610 * java/util/zip/Deflater.java
1611 (FILTERED): Merged documentation from classpath.
1612 * java/util/zip/DeflaterOutputStream.java
1613 (DeflaterOutputStream): Merged documentation and argument validity
1614 check from classpath.
1615 (deflate): Merged documentation from classpath.
1616 (finish): Likewise.
1617 * java/util/zip/Inflater.java
1618 (Inflater): Merged class documentation from classpath.
1619 (zstream): Reordered.
1620 (is_finished): Reordered.
1621 (dict_needed): Reordered.
1622 (Inflater): Reordered, merged documentation from classpath.
1623 (end): Likewise.
1624 (finalize): Merged documentation from classpath.
1625 (finished): Likewise.
1626 (getAdler): Likewise.
1627 (getRemaining): Likewise.
1628 (getTotalIn): Likewise.
1629 (getTotalOut): Likewise.
1630 (inflate): Likewise.
1631 (needsDictionary): Likewise.
1632 (needsInput): Likewise.
1633 (reset): Likewise.
1634 (setDictionary): Likewise.
1635 (setInput): Likewise.
1636
1637 2003-05-27 Michael Koch <konqueror@gmx.de>
1638
1639 * java/net/URLConnection.java
1640 (getHeaderFieldInt): Merged with classpath.
1641
1642 2003-05-27 Michael Koch <konqueror@gmx.de>
1643
1644 * java/io/PrintStream.java
1645 (PrintStream): Reformatted.
1646 (PrintStream): New method, merged from classpath.
1647 (write): Reformatted.
1648
1649 2003-05-27 Michael Koch <konqueror@gmx.de>
1650
1651 * java/lang/System.java:
1652 Explicitely import needed classes.
1653
1654 2003-05-26 Michael Koch <konqueror@gmx.de>
1655
1656 * java/net/NetPermission.java,
1657 java/net/NetworkInterface.java,
1658 java/net/PasswordAuthentication.java,
1659 java/net/SocketPermission.java:
1660 New versions from classpath.
1661
1662 2003-05-25 Michael Koch <konqueror@gmx.de>
1663
1664 * java/io/PushbackInputStream.java,
1665 java/net/Authenticator.java,
1666 java/net/ContentHandler.java,
1667 java/net/ContentHandlerFactory.java,
1668 java/net/DatagramSocket.java,
1669 java/net/DatagramSocketImpl.java,
1670 java/net/DatagramSocketImplFactory.java,
1671 java/net/FileNameMap.java,
1672 java/net/SocketImplFactory.java,
1673 java/net/SocketOptions.java,
1674 java/net/URLStreamHandlerFactory.java:
1675 Merged new versions from classpath.
1676
1677 2003-05-25 Michael Koch <konqueror@gmx.de>
1678
1679 * java/awt/Checkbox.java,
1680 java/awt/Dialog.java,
1681 java/awt/Font.java,
1682 java/awt/Frame.java,
1683 java/awt/ScrollPaneAdjustable.java,
1684 java/awt/Scrollbar.java,
1685 java/awt/Window.java:
1686 New versions from classpath.
1687
1688 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1689
1690 PR libgcj/10838:
1691 * java/io/ObjectInputStream (enableResolveObject):
1692 Fixed spelling of permission name.
1693
1694 2003-05-20 Michael Koch <konqueror@gmx.de>
1695
1696 * java/io/DataInputStream.java
1697 (convertFromUTF): Merged comment from classpath.
1698 * java/io/PrintStream.java
1699 (error_occured): Renamed from error, merged comment from classpath.
1700 (PrintStream): No need to initialized error.
1701 (checkError): Replace error with error_occurred.
1702 (setError): Likewise.
1703
1704 2003-05-20 Michael Koch <konqueror@gmx.de>
1705
1706 * java/io/DataInputStream.java:
1707 Reformatted, Replaced < and & with html entitites in documentation.
1708 * java/io/File.java:
1709 Reformatted.
1710 * java/io/PrintWriter.java:
1711 Moved class documentation.
1712
1713 2003-05-20 Michael Koch <konqueror@gmx.de>
1714
1715 * gnu/java/nio/ByteBufferImpl.java,
1716 gnu/java/nio/CharBufferImpl.java,
1717 gnu/java/nio/CharViewBufferImpl.java,
1718 gnu/java/nio/DirectByteBufferImpl.java,
1719 gnu/java/nio/DoubleBufferImpl.java,
1720 gnu/java/nio/DoubleViewBufferImpl.java,
1721 gnu/java/nio/FloatBufferImpl.java,
1722 gnu/java/nio/FloatViewBufferImpl.java,
1723 gnu/java/nio/IntBufferImpl.java,
1724 gnu/java/nio/IntViewBufferImpl.java,
1725 gnu/java/nio/LongBufferImpl.java,
1726 gnu/java/nio/LongViewBufferImpl.java,
1727 gnu/java/nio/natDirectByteBufferImpl.cc,
1728 gnu/java/nio/ShortBufferImpl.java,
1729 gnu/java/nio/ShortViewBufferImpl.java:
1730 Moved files to java/nio.
1731 * gnu/java/nio/SocketChannelImpl.java
1732
1733 * java/nio/ByteBuffer.java,
1734 java/nio/CharBuffer.java,
1735 java/nio/DoubleBuffer.java,
1736 java/nio/FloatBuffer.java,
1737 java/nio/IntBuffer.java,
1738 java/nio/LongBuffer.java,
1739 java/nio/ShortBuffer.java:
1740 Dont import anything.
1741 * java/nio/ByteBufferImpl.java,
1742 java/nio/CharBufferImpl.java,
1743 java/nio/CharViewBufferImpl.java,
1744 java/nio/DirectByteBufferImpl.java,
1745 java/nio/DoubleBufferImpl.java,
1746 java/nio/DoubleViewBufferImpl.java,
1747 java/nio/FloatBufferImpl.java,
1748 java/nio/FloatViewBufferImpl.java,
1749 java/nio/IntBufferImpl.java,
1750 java/nio/IntViewBufferImpl.java,
1751 java/nio/LongBufferImpl.java,
1752 java/nio/LongViewBufferImpl.java,
1753 java/nio/natDirectByteBufferImpl.cc,
1754 java/nio/ShortBufferImpl.java,
1755 java/nio/ShortViewBufferImpl.java:
1756 Moved from gnu/java/nio.
1757 * Makefile.am
1758 (ordinary_java_source_files): Moved files from gnu/java/nio to
1759 java/nio.
1760 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1761 to java/nio.
1762 * Makefile.in: Regenerated.
1763
1764 2003-05-19 Michael Koch <konqueror@gmx.de>
1765
1766 * java/util/Calendar.java
1767 (get): Not final anymore since JDK 1.4
1768 (set): Likewise.
1769
1770 2003-05-19 Michael Koch <konqueror@gmx.de>
1771
1772 * java/text/CollationKey.java:
1773 Merged copyright and dat from classpath.
1774 * java/text/RuleBasedCollator.java:
1775 Merged class documentation from classpath.
1776
1777 2003-05-19 Michael Koch <konqueror@gmx.de>
1778
1779 * java/nio/CharBuffer.java
1780 (toString): Compile fix.
1781
1782 2003-05-19 Michael Koch <konqueror@gmx.de>
1783
1784 * gnu/java/nio/ByteBufferImpl.java
1785 (putLong): Fixed conversion to bytes.
1786 (putDouble): Fixed conversion to bytes.
1787 * gnu/java/nio/DirectByteBufferImpl.java
1788 (putLong): Fixed conversion to bytes.
1789 (putDouble): Fixed conversion to bytes.
1790 * gnu/java/nio/FileLockImpl.java
1791 (isValid): Reformatted.
1792 * java/nio/Buffer.java
1793 (Buffer): Fixed off-by-one bug in handling mark.
1794 * java/nio/ByteBuffer.java:
1795 Added newline.
1796 * java/nio/CharBuffer.java
1797 (toString): Don't use relative get to get string data.
1798
1799 2003-05-16 Michael Koch <konqueror@gmx.de>
1800
1801 * java/io/natFileDescriptorPosix.cc
1802 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1803 tested.
1804
1805 2003-05-14 Michael Koch <konqueror@gmx.de>
1806
1807 * gnu/java/nio/FileLockImpl.java
1808 (released): New member variable.
1809 (FileLockImpl): Initialize released.
1810 (releaseImpl): New native method.
1811 (release): Implemented.
1812 * gnu/java/nio/SelectorImpl.java: Reformatted.
1813 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1814 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1815 (accept): Throws IOException.
1816 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1817 (implConfigureBlocking): Throws IOException.
1818 (connect): Likewise.
1819 (read): Likewise.
1820 (write): Likewise.
1821 * gnu/java/nio/natFileLockImpl.cc: New file.
1822 * java/nio/channels/FileLock.java: Reformatted.
1823 * Makefile.am:
1824 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1825 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1826 * Makefile.in: Regenerated.
1827
1828 2003-05-13 Michael Koch <konqueror@gmx.de>
1829
1830 * gnu/java/nio/CharViewBufferImpl.java
1831 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1832 (get): Shift bits to the right direction.
1833 (put): Likewise.
1834 * gnu/java/nio/DoubleViewBufferImpl.java
1835 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1836 (get): Shift bits to the right direction.
1837 (put): Likewise.
1838 * gnu/java/nio/FloatViewBufferImpl.java
1839 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1840 (get): Shift bits to the right direction.
1841 (put): Likewise.
1842 * gnu/java/nio/IntViewBufferImpl.java
1843 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1844 (get): Shift bits to the right direction.
1845 (put): Likewise.
1846 * gnu/java/nio/LongViewBufferImpl.java
1847 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1848 (get): Shift bits to the right direction.
1849 (put): Likewise.
1850 * gnu/java/nio/ShortViewBufferImpl.java
1851 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1852 (get): Shift bits to the right direction.
1853 (put): Likewise.
1854
1855 2003-05-13 Michael Koch <konqueror@gmx.de>
1856
1857 * gnu/java/nio/natDirectByteBufferImpl.cc
1858 (allocateImpl): jlong -> RawData*.
1859 (freeImpl): Likewise.
1860
1861 2003-05-13 Michael Koch <konqueror@gmx.de>
1862
1863 * java/nio/channels/FileChannel.java
1864 (MapMode.m): Made it package-private to match JDK 1.4.
1865 * java/nio/charset/Charset.java
1866 (decode): Made it final to match JDK 1.4.
1867
1868 2003-05-13 Michael Koch <konqueror@gmx.de>
1869
1870 * java/io/FileDescriptor.java
1871 (SYNC): New constant.
1872 (DSYNC): Likewise.
1873 (getLength): Renamed from lenght() to match classpath's
1874 FileDescriptor.java.
1875 * java/io/RandomAccessFile.java
1876 (RandomAccessFile): Removed unneeded mode check, implemented mode
1877 "rws" and "rwd", merged documentation from classpath.
1878 (setLength): Reformatted.
1879 (length): Use new getLength() of FileDescriptor.
1880 * java/io/natFileDescriptorEcos.cc
1881 (getLength): Renamed from length().
1882 * java/io/natFileDescriptorPosix.cc
1883 (open): Implemented support for SYNC and DSYNC.
1884 (seek): Use getLength() instead of length().
1885 (getLength): Renamed from length().
1886 * java/io/natFileDescriptorWin32.cc
1887 (getLength): Renamed from length().
1888 (seek): Use getLength() instead of length().
1889 (available): Likewise.
1890 * gnu/java/nio/natFileChannelImpl.cc
1891 (size): Use getLength() instead of length().
1892
1893 2003-05-13 Michael Koch <konqueror@gmx.de>
1894
1895 * gnu/java/nio/ByteBufferImpl.java
1896 (ByteBufferImpl): All constructors revised.
1897 (slice): Reimplemented.
1898 (duplicate): Reimplemented.
1899 (asReadOnlyBuffer): Reimplemented.
1900 * java/nio/ByteBuffer.java:
1901 Reformatted.
1902 (array_offset): Renamed from "offset" to match all other buffer
1903 classes.
1904 (ByteBuffer): All constructors revised.
1905 (allocateDirect): Implemented.
1906 (allocate): New implementation, documentation reworked.
1907 (wrap): Likewise.
1908 (get): Documentation reworked.
1909 (put): New implementation, documentation reworked.
1910 (hasArray): Documentation reworked.
1911 (arrayOffset): Likewise.
1912 (hashCode): Likewise.
1913 (equals): Likewise.
1914 (compareTo): Likewise.
1915 (order): Likewise.
1916 (compact): Likewise.
1917 (isDirect): Likewise.
1918 (slice): Likewise.
1919 (duplicate): Likewise.
1920 (asReadOnlyBuffer): Likewise.
1921 * Makefile.am
1922 (ordinary_java_source_files):
1923 Added gnu/java/nio/DirectByteBufferImpl.java.
1924 (nat_source_files):
1925 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1926 * Makefile.in: Regenerated.
1927
1928 2003-05-12 Michael Koch <konqueror@gmx.de>
1929
1930 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1931 (nio_get_*): Removed.
1932 (nio_put_*): Removed.
1933 (as*Buffer): Implemented.
1934 (compact): Implemented.
1935 (get): Documentation added.
1936 (put): Documentation added.
1937 (get*): Newly implemented.
1938 (put*): Newly implemented.
1939 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1940 (CharBufferImpl): Revised.
1941 (slice): New implementation.
1942 (duplicate): New implementation.
1943 (compact): New implementation.
1944 (asReadOnlyBuffer): New implementation.
1945 (get): Documentation revised.
1946 (order): Return native byte order.
1947 * gnu/java/nio/DirectByteBufferImpl.java
1948 (allocateDirect): objects can be null not 0.
1949 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1950 (DoubleBufferImpl): Revised.
1951 (slice): New implementation.
1952 (duplicate): New implementation.
1953 (compact): New implementation.
1954 (asReadOnlyBuffer): New implementation.
1955 (get): Documentation revised.
1956 (order): Return native byte order.
1957 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1958 (FloatBufferImpl): Revised.
1959 (slice): New implementation.
1960 (duplicate): New implementation.
1961 (compact): New implementation.
1962 (asReadOnlyBuffer): New implementation.
1963 (get): Documentation revised.
1964 (order): Return native byte order.
1965 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1966 (IntBufferImpl): Revised.
1967 (slice): New implementation.
1968 (duplicate): New implementation.
1969 (compact): New implementation.
1970 (asReadOnlyBuffer): New implementation.
1971 (get): Documentation revised.
1972 (order): Return native byte order.
1973 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1974 (LongBufferImpl): Revised.
1975 (slice): New implementation.
1976 (duplicate): New implementation.
1977 (compact): New implementation.
1978 (asReadOnlyBuffer): New implementation.
1979 (get): Documentation revised.
1980 (order): Return native byte order.
1981 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1982 (ShortBufferImpl): Revised.
1983 (slice): New implementation.
1984 (duplicate): New implementation.
1985 (compact): New implementation.
1986 (asReadOnlyBuffer): New implementation.
1987 (get): Documentation revised.
1988 (order): Return native byte order.
1989 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1990 (CharBuffer): Revised.
1991 (order): Removed.
1992 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1993 (DoubleBuffer): Revised.
1994 (allocateDirect): Removed.
1995 (order): Removed.
1996 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1997 (FloatBuffer): Revised.
1998 (allocateDirect): Removed.
1999 (order): Removed.
2000 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2001 (IntBuffer): Revised.
2002 (allocateDirect): Removed.
2003 (order): Removed.
2004 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2005 (LongBuffer): Revised.
2006 (allocateDirect): Removed.
2007 (order): Removed.
2008 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2009 (ShortBuffer): Revised.
2010 (allocateDirect): Removed.
2011 (order): Removed.
2012 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2013 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2014 * Makefile.am
2015 (ordinary_java_source_files): Added the following files:
2016 gnu/java/nio/CharViewBufferImpl.java,
2017 gnu/java/nio/DoubleViewBufferImpl.java,
2018 gnu/java/nio/FloatViewBufferImpl.java,
2019 gnu/java/nio/IntViewBufferImpl.java,
2020 gnu/java/nio/LongViewBufferImpl.java,
2021 gnu/java/nio/ShortViewBufferImpl.java
2022 (nat_source_files): Removed the following files:
2023 gnu/java/nio/natByteBufferImpl.cc,
2024 gnu/java/nio/natCharBufferImpl.cc
2025 * Makefile.in: Regenerated.
2026
2027 2003-05-12 Michael Koch <konqueror@gmx.de>
2028
2029 * gnu/java/nio/CharViewBufferImpl.java,
2030 gnu/java/nio/DirectByteBufferImpl.java,
2031 gnu/java/nio/DoubleViewBufferImpl.java,
2032 gnu/java/nio/FloatViewBufferImpl.java,
2033 gnu/java/nio/IntViewBufferImpl.java,
2034 gnu/java/nio/LongViewBufferImpl.java,
2035 gnu/java/nio/ShortViewBufferImpl.java,
2036 gnu/java/nio/natDirectByteBufferImpl.cc:
2037 New files, not yet to be compiled.
2038
2039 2003-05-10 Michael Koch <konqueror@gmx.de>
2040
2041 * javax/swing/plaf/ButtonUI.java,
2042 javax/swing/plaf/ColorUIResource.java,
2043 javax/swing/plaf/ComponentUI.java,
2044 javax/swing/plaf/DimensionUIResource.java,
2045 javax/swing/plaf/FontUIResource.java,
2046 javax/swing/plaf/IconUIResource.java,
2047 javax/swing/plaf/InsetsUIResource.java,
2048 javax/swing/plaf/LabelUI.java,
2049 javax/swing/plaf/ListUI.java,
2050 javax/swing/plaf/OptionPaneUI.java,
2051 javax/swing/plaf/PanelUI.java,
2052 javax/swing/plaf/TabbedPaneUI.java,
2053 javax/swing/plaf/TextUI.java,
2054 javax/swing/plaf/TreeUI.java,
2055 javax/swing/plaf/ViewportUI.java,
2056 javax/swing/plaf/basic/BasicBorders.java,
2057 javax/swing/plaf/basic/BasicButtonUI.java,
2058 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2059 javax/swing/plaf/basic/BasicDefaults.java,
2060 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2061 javax/swing/plaf/basic/BasicIconFactory.java,
2062 javax/swing/plaf/basic/BasicLabelUI.java,
2063 javax/swing/plaf/basic/BasicListUI.java,
2064 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2065 javax/swing/plaf/basic/BasicPanelUI.java,
2066 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2067 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2068 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2069 javax/swing/plaf/basic/BasicTextUI.java,
2070 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2071 javax/swing/plaf/basic/BasicTreeUI.java,
2072 javax/swing/plaf/basic/BasicViewportUI.java,
2073 javax/swing/plaf/metal/MetalLookAndFeel.java:
2074 New versions from classpath. This adds copyrights to all files and
2075 some serialVersionUIDs.
2076
2077 2003-05-10 Michael Koch <konqueror@gmx.de>
2078
2079 * java/nio/CharBuffer.java
2080 (offset): Make it package-private.
2081 (backing_buffer): Likewise.
2082 * java/nio/DoubleBuffer.java
2083 (offset): Make it package-private.
2084 (backing_buffer): Likewise.
2085 (put): Reformatted.
2086 * java/nio/FloatBuffer.java
2087 (offset): Make it package-private.
2088 (backing_buffer): Likewise.
2089 * java/nio/IntBuffer.java
2090 (offset): Make it package-private.
2091 (backing_buffer): Likewise.
2092 * java/nio/LongBuffer.java
2093 (offset): Make it package-private.
2094 (backing_buffer): Likewise.
2095 * java/nio/ShortBuffer.java
2096 (offset): Make it package-private.
2097 (backing_buffer): Likewise.
2098
2099 2003-05-10 Michael Koch <konqueror@gmx.de>
2100
2101 * java/nio/CharBuffer.java
2102 (put): Fixed precondtion check.
2103 (toString): Make it work without backing array.
2104 (put): Skip one level of method calling.
2105
2106 2003-05-10 Michael Koch <konqueror@gmx.de>
2107
2108 * java/security/Identity.java,
2109 java/security/IdentityScope.java,
2110 java/security/Key.java,
2111 java/security/KeyPair.java,
2112 java/security/PrivateKey.java,
2113 java/security/Provider.java,
2114 java/security/PublicKey.java,
2115 java/security/SecureRandom.java,
2116 java/security/SecureRandomSpi.java,
2117 java/security/SignedObject.java,
2118 java/security/Signer.java,
2119 java/security/cert/Certificate.java,
2120 java/security/cert/PKIXCertPathBuilderResult.java,
2121 java/security/cert/X509Certificate.java:
2122 New versions from classpath.
2123
2124 2003-05-09 Tom Tromey <tromey@redhat.com>
2125
2126 * Makefile.in: Rebuilt.
2127 * Makefile.am (nat_source_files): Removed old files.
2128 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2129 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2130 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2131 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2132 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2133
2134 2003-05-09 Michael Koch <konqueror@gmx.de>
2135
2136 * gnu/java/nio/ByteBufferImpl.java
2137 (nio_cast): Removed.
2138 (ByteBufferImpl): Removed.
2139 (nio_get_Byte): Removed.
2140 (nio_put_Byte): Removed.
2141 (asByteBuffer): Removed.
2142 (asCharBuffer): Removed implementation and throw exception.
2143 (asShortBuffer): Likewise.
2144 (asIntBuffer): Likewise.
2145 (asLongBuffer): Likewise.
2146 (asFloatBuffer): Likewise.
2147 (asDoubleBuffer): Likewise.
2148 * gnu/java/nio/CharBufferImpl.java
2149 (CharBufferImpl): Removed.
2150 (nio_get_Byte): Removed.
2151 (nio_put_Byte): Removed.
2152 (asByteBuffer): Removed.
2153 * gnu/java/nio/DoubleBufferImpl.java
2154 (DoubleBufferImpl): Removed.
2155 (nio_get_Byte): Removed.
2156 (nio_put_Byte): Removed.
2157 (asByteBuffer): Removed.
2158 * gnu/java/nio/FloatBufferImpl.java
2159 (FloatBufferImpl): Removed.
2160 (nio_get_Byte): Removed.
2161 (nio_put_Byte): Removed.
2162 (asByteBuffer): Removed.
2163 * gnu/java/nio/IntBufferImpl.java
2164 (IntBufferImpl): Removed.
2165 (nio_get_Byte): Removed.
2166 (nio_put_Byte): Removed.
2167 (asByteBuffer): Removed.
2168 * gnu/java/nio/LongBufferImpl.java
2169 (LongBufferImpl): Removed.
2170 (nio_get_Byte): Removed.
2171 (nio_put_Byte): Removed.
2172 (asByteBuffer): Removed.
2173 * gnu/java/nio/ShortBufferImpl.java
2174 (ShortBufferImpl): Removed.
2175 (nio_get_Byte): Removed.
2176 (nio_put_Byte): Removed.
2177 (asByteBuffer): Removed.
2178 * gnu/java/nio/natByteBufferImpl.cc
2179 (nio_cast): Removed.
2180 (nio_get_Byte): Removed.
2181 (nio_put_Byte): Removed.
2182 * gnu/java/nio/natCharBufferImpl.cc
2183 (nio_get_Byte): Removed.
2184 (nio_put_Byte): Removed.
2185
2186 2003-05-09 Michael Koch <konqueror@gmx.de>
2187
2188 * java/net/JarURLConnection.java
2189 (getJarEntry): Merged documentation from classpath.
2190 (getJarFile): Likewise.
2191 (getMainAttributes): Likewise.
2192 (getAttributes): Likewise.
2193 (getManifest): Likewise.
2194 (getCertificates): Reformatted.
2195 * java/net/URLConnection.java:
2196 Little classpath merge.
2197
2198 2003-05-09 Michael Koch <konqueror@gmx.de>
2199
2200 * java/io/DataOutputStream.java
2201 (writeShort): Made it synchronized.
2202 (writeChar): Likewise.
2203 (writeInt): Likewise.
2204 (writeLong): Liekwise.
2205 (writeUTF): Made it synchronized, renamed argument to match classpath.
2206 * java/io/InputStreamReader.java
2207 (converter): Added documentation.
2208 (read): Merged documentation from classpath.
2209 * java/io/OutputStreamWriter.java
2210 (OutputStreamWriter): Merged documentation from classpath.
2211 (close): Reformatted.
2212 (getEncoding): Likewise.
2213 (flush): Likewise.
2214 (write): Merged documentation from classpath, reformatted.
2215
2216 2003-05-08 Tom Tromey <tromey@redhat.com>
2217
2218 * configure.host <powerpc64*-*>: Set with_libffi_default and
2219 libgcj_interpreter to "yes".
2220
2221 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2222
2223 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2224
2225 2003-05-06 Tom Tromey <tromey@redhat.com>
2226
2227 * verify.cc: Reverted previous patch.
2228
2229 2003-05-06 Michael Koch <konqueror@gmx.de>
2230
2231 * java/io/DataOutputStream.java
2232 (write): Renamed argument to "value", merged documentation from
2233 classpath.
2234 (writeBoolean): Likewise.
2235 (writeByte): Likewise.
2236 (writeShort): Likewise.
2237 (writeChar): Likewise.
2238 (writeInt): Likewise.
2239 (writeLong): Likewise.
2240 (writeFloat): Likewise.
2241 (writeDouble): Likewise.
2242 (writeBytes): Likewise.
2243 (writeChars): Likewise.
2244 (writeUTF): Likewise.
2245 * java/io/File.java
2246 (performDelete): Added documentation.
2247 (performList): Likewise.
2248 (performMkdir): Likewise.
2249 (performSetReadOnly): Likewise.
2250 (performRenameTo): Likewise.
2251 (performSetLastModified): Likewise.
2252 (delete): Made it sychronized.
2253 (renameTo): Made it sychronized.
2254 (equals): Reformatted.
2255 (isHidden): Likewise.
2256 (listFiles): Likewise.
2257 (setReadOnly): Likewise.
2258 (listRoots): Likewise.
2259 (setLastModified): Likewise.
2260 (checkRead): Likewise.
2261 (checkWrite): Likewise.
2262 * java/io/FileInputStream.java
2263 (skip): Made it sychronized, merged from classpath.
2264 * java/io/FileOutputStream.java
2265 (write): Merged from classpath.
2266 * java/io/InputStreamReader.java:
2267 (InputStreamReader): Merged documentation from classpath.
2268
2269 2003-05-05 Michael Koch <konqueror@gmx.de>
2270
2271 * java/net/NetworkInterface.java
2272 (networkInterfaces): Removed.
2273 (getByName): Use getRealNetworkInterfaces() instead of
2274 networkInterfaces.
2275 (getByInetAddress): Likewise.
2276 (getNetworkInterfaces): Likewise.
2277 (toString): Fix output of addresses of an interface.
2278
2279 2003-05-05 Michael Koch <konqueror@gmx.de>
2280
2281 * java/io/DataInputStream.java:
2282 Merged new documentation from classpath.
2283
2284 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2285
2286 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2287 "version".
2288 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2289 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2290 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2291 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2292 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2293 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2294 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2295 * java/security/Key.java: Likewise.
2296 * java/security/PrivateKey.java: Likewise.
2297 * java/security/Provider.java: Likewise.
2298 * java/security/PublicKey.java: Likewise.
2299
2300 2003-05-02 Michael Koch <konqueror@gmx.de>
2301
2302 * java/net/URI.java
2303 (create): Doesnt throws any exceptions.
2304 * java/net/URLConnection.java
2305 (URLConnection): Commend added.
2306 (getExpiration): The header field is called "expires" not
2307 "expiration".
2308 (getHeaderField): Merged documentation with classpath.
2309 (getHeaderFieldInt): Likewise.
2310 (getHeaderFieldDate): Likewise.
2311 (getHeaderFieldKey): Likewise.
2312 (getPermission): Likewise.
2313 (setDefaultUseCaches): Likewise.
2314 (setRequestProperty): Likewise.
2315 (addRequestProperty): Likewise.
2316 (getRequestProperty): Likewise.
2317 (getRequestProperties): Likewise.
2318 (setDefaultRequestProperty): Likewise.
2319 (getDefaultRequestProperty): Likewise.
2320 (guessContentTypeFromStream): Likewise.
2321 (getFileNameMap): Likewise.
2322 (setFileNameMap): Likewise.
2323 (setDoInput): Merged implementation and documentation with classpath.
2324 (setDoOutput): Likewise.
2325 (setAllowUserInteraction): Likewise.
2326 (setDefaultAllowUserInteraction): Likewise.
2327 (setContentHandlerFactory): Made it synchronized, merged documentation
2328 with classpath.
2329 (guessContentTypeFromName): Renamed argument fname to filename to
2330 match classpath, merged documentation with classpath.
2331
2332 2003-05-02 Michael Koch <konqueror@gmx.de>
2333
2334 * java/net/JarURLConnection.java
2335 (JarURLConnection): Class documentation merged with classpath.
2336 (getJarFileURL): Moved and documentation merged with classpath.
2337 (getEntryName): Likewise.
2338 (JarURLConnection): Documentation merged with classpath.
2339 (getJarEntry): Likewise.
2340 (getJarFile): Likewise.
2341 * java/net/PlainDatagramSocketImpl.java:
2342 Class documentation moved.
2343 * java/net/URLConnection.java
2344 (fileNameMap): Moved and documentation merged with classpath.
2345 (factory): Likewise.
2346 (defaultAllowUserInteraction): Likewis.
2347 (defaultUseCaches): Likewise.
2348 (allowUserInteraction): Likewise.
2349 (connected): Likewise.
2350 (url): Likewise.
2351 (connect): Documentation merged with classpath.
2352 (getURL): Likewise.
2353 (getContentLength): Likewise.
2354 (getContentType): Likewise.
2355 (getContentEncoding): Likewise.
2356 (getExpiration): Likewise.
2357 (getDate): Likewise.
2358 (getLastModified): Likewise.
2359 (getHeaderField): Likewise.
2360 (getContent): Likewise.
2361 (getPermission): Likewise.
2362 (getInputStream): Likewise.
2363 (getOutputStream): Likewise.
2364 (toString): Likewise.
2365 (getDoInput): Likewise.
2366 (getDoOutput): Likewise.
2367 (setAllowUserInteraction): Likewise.
2368 (getAllowUserInteraction): Likewise.
2369 (setDefaultAllowUserInteraction): Likewise.
2370 (getDefaultAllowUserInteraction): Likewise.
2371 (setUseCaches): Likewise.
2372 (getUseCaches): Likewise.
2373 (setIfModifiedSince): Likewise.
2374 (getIfModifiedSince): Likewise.
2375 (setDefaultRequestProperty): Likewise.
2376 (getDefaultRequestProperty): Likewise.
2377 (setContentHandlerFactory): Likewise.
2378 (setFileNameMap): Likewise.
2379
2380 2003-05-02 Michael Koch <konqueror@gmx.de>
2381
2382 * java/net/InetAddress.java:
2383 Merged class documentation with classpath.
2384 * java/net/JarURLConnection.java:
2385 Explicitely import all used classes.
2386 * java/net/URL.java:
2387 Reformatting.
2388 * java/net/ServerSocket.java,
2389 java/net/Socket.java:
2390 New versions from classpath.
2391
2392 2003-05-02 Michael Koch <konqueror@gmx.de>
2393
2394 * gnu/java/nio/FileChannelImpl.java
2395 (read): New implementation.
2396 (implRead): New methods.
2397 (write): New implementation, call other write insteal of read method.
2398 (implWrite): New methods.
2399 (map): Added comment.
2400 (transferFrom): Implemented.
2401 (transferTo): Implemented.
2402 (lock): Added checks to throw exceptions.
2403 (truncate): Added check to throw exception.
2404 * gnu/java/nio/natFileChannelImpl.cc
2405 (implRead): New method.
2406 (implWrite): New method.
2407 * java/nio/ByteBuffer.java
2408 (hashCode): Fixed comment.
2409 (get): Fixed exception documentation.
2410 (put): Fixed exception documentation.
2411 * java/nio/CharBuffer.java:
2412 Added comment for later optimizations.
2413
2414 2003-04-30 Tom Tromey <tromey@redhat.com>
2415
2416 PR libgcj/10582:
2417 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2418 Removed.
2419 (type::compatible): Use _Jv_IsAssignableFrom.
2420 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2421 (_Jv_IsAssignableFrom): Work even when source or target class is
2422 not prepared.
2423
2424 2003-04-30 Michael Koch <konqueror@gmx.de>
2425
2426 * java/text/BreakIterator.java
2427 (clone): New method.
2428
2429 2003-04-30 Michael Koch <konqueror@gmx.de>
2430
2431 * java/text/CollationElementIterator.java,
2432 java/text/CollationKey.java,
2433 java/text/RuleBasedCollator.java:
2434 Merged copyright and documentation from classpath and
2435 rearranged some code. No code changes done.
2436
2437 2003-04-30 Michael Koch <konqueror@gmx.de>
2438
2439 * java/util/regex/Matcher.java
2440 (pattern): New member variable.
2441 (appendReplacement): New method.
2442 (appendTail): New method.
2443 (end): New method.
2444 (find): New method.
2445 (group): New method.
2446 (replaceFirst): Added documentation.
2447 (replaceAll): Added documentation.
2448 (groupCount): New method.
2449 (lookingAt): New method.
2450 (matches): New method.
2451 (reset): New method.
2452 (start): New method.
2453 * java/util/regex/Pattern.java
2454 (serialVersionUID): New constant.
2455 (CANON_EQ): New constant.
2456 (CASE_INSENSITIVE): New constant.
2457 (COMMENTS): New constant.
2458 (DOTALL): New constant.
2459 (MULTILINE): New constant.
2460 (UNICODE_CASE): New constant.
2461 (UNIX_LINES): New constant.
2462 (regex): New member variable.
2463 (flags): New member variable.
2464 (Pattern): New method.
2465 (compile): Documentation added.
2466 (flags): New method.
2467 (matches): Documentation added.
2468 (matcher): Documentation added.
2469 (split): Documentation added.
2470 (pattern): New method.
2471
2472 2003-04-30 Michael Koch <konqueror@gmx.de>
2473
2474 * gnu/java/security/Engine.java,
2475 gnu/java/security/OID.java,
2476 gnu/java/security/der/BitString.java,
2477 gnu/java/security/der/DER.java,
2478 gnu/java/security/der/DERReader.java,
2479 gnu/java/security/der/DERValue.java,
2480 gnu/java/security/der/DERWriter.java,
2481 gnu/java/security/provider/DSAKeyFactory.java,
2482 gnu/java/security/provider/X509CertificateFactory.java,
2483 gnu/java/security/x509/X500DistinguishedName.java,
2484 gnu/java/security/x509/X509CRL.java,
2485 gnu/java/security/x509/X509CRLEntry.java,
2486 gnu/java/security/x509/X509Certificate.java,
2487 java/security/cert/CRLSelector.java,
2488 java/security/cert/CertPathBuilder.java,
2489 java/security/cert/CertPathBuilderResult.java,
2490 java/security/cert/CertPathBuilderSpi.java,
2491 java/security/cert/CertPathParameters.java,
2492 java/security/cert/CertPathValidator.java,
2493 java/security/cert/CertPathValidatorResult.java,
2494 java/security/cert/CertPathValidatorSpi.java,
2495 java/security/cert/CertSelector.java,
2496 java/security/cert/CertStore.java,
2497 java/security/cert/CertStoreParameters.java,
2498 java/security/cert/CertStoreSpi.java,
2499 java/security/cert/CollectionCertStoreParameters.java,
2500 java/security/cert/LDAPCertStoreParameters.java,
2501 java/security/cert/PKIXBuilderParameters.java,
2502 java/security/cert/PKIXCertPathBuilderResult.java,
2503 java/security/cert/PKIXCertPathChecker.java,
2504 java/security/cert/PKIXCertPathValidatorResult.java,
2505 java/security/cert/PKIXParameters.java,
2506 java/security/cert/PolicyNode.java,
2507 java/security/cert/PolicyQualifierInfo.java,
2508 java/security/cert/TrustAnchor.java,
2509 javax/security/auth/x500/X500Principal.java:
2510 New files from classpath.
2511 * gnu/java/io/ASN1ParsingException.java,
2512 gnu/java/io/Base64InputStream.java,
2513 gnu/java/security/der/DEREncodingException.java,
2514 gnu/java/security/provider/DSAParameters.java,
2515 gnu/java/security/provider/DSASignature.java,
2516 gnu/java/security/provider/Gnu.java,
2517 gnu/java/security/provider/GnuDSAPrivateKey.java,
2518 gnu/java/security/provider/GnuDSAPublicKey.java,
2519 java/security/AlgorithmParameterGenerator.java,
2520 java/security/AlgorithmParameters.java,
2521 java/security/KeyFactory.java,
2522 java/security/KeyPairGenerator.java,
2523 java/security/KeyStore.java,
2524 java/security/MessageDigest.java,
2525 java/security/SecureClassLoader.java,
2526 java/security/SecureRandom.java,
2527 java/security/Security.java,
2528 java/security/Signature.java,
2529 java/security/cert/Certificate.java,
2530 java/security/cert/CertificateFactory.java,
2531 java/security/cert/CertificateFactorySpi.java,
2532 java/security/cert/X509CRL.java,
2533 java/security/cert/X509Certificate.java,
2534 java/security/spec/DSAPublicKeySpec.java:
2535 New versions from classpath.
2536 * gnu/java/security/provider/DERReader.java,
2537 gnu/java/security/provider/DERWriter.java,
2538 java/security/Engine.java: Removed.
2539 * Makefile.am
2540 (java_source_files, javax_source_files): Added new files.
2541 * Makefile.in: Regenerated.
2542
2543 2003-04-29 Michael Koch <konqueror@gmx.de>
2544
2545 * javax/swing/JTable.java
2546 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2547 (AUTO_RESIZE_LAST_COLUMN): New constant.
2548 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2549 (AUTO_RESIZE_OFF): New constant.
2550 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2551 (JTable): New method.
2552 (columnAdded): New method.
2553 (columnMarginChanged): New method.
2554 (columnMoved): New method.
2555 (columnRemoved): New method.
2556 (columnSelectionChanged): New method.
2557 (editingCanceled): New method.
2558 (editingStopped): New method.
2559 (getColumnModel): New method.
2560 (getPreferredScrollableViewportSize): New method.
2561 (getScrollableBlockIncrement): New method.
2562 (getScrollableTracksViewportHeight): New method.
2563 (getScrollableTracksViewportWidth): New method.
2564 (getScrollableUnitIncrement): New method.
2565 (getSelectedRow): New method.
2566 (getSelectionModel): New method.
2567 (tableChanged): New method.
2568 (setModel): New method.
2569 (setSelectionMode): New method.
2570 (setSelectionModel): New method.
2571 (setShowGrid): New method.
2572 (valueChanged): New method.
2573 * javax/swing/text/DefaultEditorKit.java
2574 (backwardAction): New constant.
2575 (beepAction): New constant.
2576 (beginAction): New constant.
2577 (beginLineAction): New constant.
2578 (beginParagraphAction): New constant.
2579 (beginWordAction): New constant.
2580 (copyAction): New constant.
2581 (cutAction): New constant.
2582 (defaultKeyTypedAction): New constant.
2583 (deleteNextCharAction): New constant.
2584 (deletePrevCharAction): New constant.
2585 (downAction): New constant.
2586 (endAction): New constant.
2587 (endLineAction): New constant.
2588 (endOfLineStringProperty): New constant.
2589 (endParagraphAction): New constant.
2590 (endWordAction): New constant.
2591 (forwardAction): New constant.
2592 (insertBreakAction): New constant.
2593 (insertContentAction): New constant.
2594 (insertTabAction): New constant.
2595 (nextWordAction): New constant.
2596 (pageDownAction): New constant.
2597 (pageUpAction): New constant.
2598 (pasteAction): New constant.
2599 (previousWordAction): New constant.
2600 (readOnlyAction): New constant.
2601 (selectAllAction): New constant.
2602 (selectionBackwardAction): New constant.
2603 (selectionBeginAction): New constant.
2604 (selectionBeginLineAction): New constant.
2605 (selectionBeginParagraphAction): New constant.
2606 (selectionBeginWordAction): New constant.
2607 (selectionDownAction): New constant.
2608 (selectionEndAction): New constant.
2609 (selectionEndLineAction): New constant.
2610 (selectionEndParagraphAction): New constant.
2611 (selectionEndWordAction): New constant.
2612 (selectionForwardAction): New constant.
2613 (selectionNextWordAction): New constant.
2614 (selectionPreviousWordAction): New constant.
2615 (selectionUpAction): New constant.
2616 (selectLineAction): New constant.
2617 (selectParagraphAction): New constant.
2618 (selectWordAction): New constant.
2619 (upAction): New constant.
2620 (writableAction): New constant.
2621
2622 2003-04-29 Michael Koch <konqueror@gmx.de>
2623
2624 * java/util/PropertyPermission.java:
2625 New version from classpath
2626 * java/util/ResourceBundle.java:
2627 Partly merged from classpath
2628 (getObject): Reformated.
2629 (tryBundle): Set foundBundle = null if no bundle found.
2630
2631 2003-04-29 Michael Koch <konqueror@gmx.de>
2632
2633 * javax/swing/AbstractListModel.java,
2634 javax/swing/DefaultBoundedRangeModel.java,
2635 javax/swing/DefaultSingleSelectionModel.java:
2636 New Versions from classpath.
2637
2638 2003-04-29 Michael Koch <konqueror@gmx.de>
2639
2640 * java/awt/Window.java
2641 (show): Call super.show() instead of setVisible() to avoid endless
2642 loop.
2643 (hide): Call super.hide() instead of setVisible() to avoid endless
2644 loop.
2645
2646 2003-04-29 Michael Koch <konqueror@gmx.de>
2647
2648 * java/util/zip/Deflater.java,
2649 java/util/zip/DeflaterOutputStream.java:
2650 Partly merged with classpath.
2651
2652 2003-04-27 Tom Tromey <tromey@redhat.com>
2653
2654 * java/lang/natString.cc (_Jv_AllocString): Initialize
2655 cachedHashCode.
2656 (init): Likewise.
2657 (_Jv_NewStringUtf8Const): Likewise.
2658
2659 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2660
2661 * include/jvm.h: (_Jv_GetNbArgs) added
2662 (_Jv_GetSafeArg) added
2663 (_Jv_SetArgs) added
2664 * prims.cc: (_Jv_GetNbArgs) implemented
2665 (_Jv_GetSafeArg) implemented
2666 (_Jv_SetArgs) implemented
2667 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2668 setting _Jv_argc and _Jv_argv
2669 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2670 instead of _Jv_argv
2671 * java/lang/natRuntime.cc: (insertSystemProperties) use
2672 _Jv_GetSafeArg() instead of _Jv_argv
2673
2674 2003-04-23 Tom Tromey <tromey@redhat.com>
2675
2676 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2677 required by this object. Search superclasses to find required
2678 alignment.
2679 (get_alignment_from_class): Use alignment of type as it appears
2680 in a struct.
2681 (ALIGNOF): New macro.
2682 (struct aligner): New helper structure.
2683
2684 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2685
2686 * java/awt/Container.java (addImpl): Enable paint events if adding
2687 a lightweight to a heavyweight.
2688 (addNotify): Ensure that peer is created before
2689 addNotifyContainerChildren.
2690 (addNotifyContainerChildren): Enable paint events if a heavyweight
2691 container contains a lightweight.
2692
2693 2003-04-20 Tom Tromey <tromey@redhat.com>
2694
2695 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2696 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2697 Classpath.
2698
2699 2003-04-19 Tom Tromey <tromey@redhat.com>
2700
2701 * java/sql/Date.java, java/sql/DriverManager.java,
2702 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2703 Classpath.
2704
2705 * Makefile.in: Rebuilt.
2706 * Makefile.am (ordinary_java_source_files): Added new files.
2707 * java/security/AlgorithmParameterGenerator.java,
2708 java/security/AlgorithmParameters.java, java/security/Engine.java,
2709 java/security/Identity.java, java/security/IdentityScope.java,
2710 java/security/KeyFactory.java,
2711 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2712 java/security/MessageDigest.java, java/security/Policy.java,
2713 java/security/ProtectionDomain.java,
2714 java/security/SecureRandom.java, java/security/Security.java,
2715 java/security/Signature.java, java/security/SignatureSpi.java,
2716 java/security/SignedObject.java, java/security/Signer.java,
2717 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2718 java/security/spec/PSSParameterSpec.java,
2719 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2720 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2721 Classpath.
2722
2723 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2724
2725 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2726 (dispose): Null metrics.
2727 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2728 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2729 finalize.
2730 (finalize): Call dispose.
2731 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2732 (gcCachedCount): New field.
2733 (finalize): New method.
2734 (putGCInCache): New method.
2735 (getGCFromCache): New method.
2736 * gnu/gcj/xlib/GC.java (GC): Make protected.
2737 (clone): Get new GC from cache if possible.
2738 (create): New static method.
2739 (dispose): Save old GC in cache.
2740 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2741 deleting.
2742 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2743 is null.
2744 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2745 * java/awt/Container.java (visitChild): Dispose gfx2 when
2746 finished.
2747
2748 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2749
2750 * java/math/BigInteger.java (probablePrime): New.
2751 * java/math/BigDecimal.java (unscaledValue): New.
2752
2753 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2754
2755 * java/io/File.java (getAbsolutePath): On Windows, take care
2756 of paths like "C:", "G:foo\bar", etc.
2757 (getName): Make it work correctly on Windows.
2758 (getParent): Make it work correctly on Windows. For UNIX,
2759 fix bug that causes "/" to be returned as the parent of "/",
2760 instead of null as returned by Sun's JRE.
2761
2762 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2763
2764 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2765
2766 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2767 inner class.
2768 (CACHE_SIZE_PER_DISPLAY): New field
2769 (fontMetricsCache): New field
2770 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2771 loading ISO10646-1 fonts.
2772
2773 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2774
2775 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2776 characters.
2777 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2778 characters.
2779
2780 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2781
2782 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2783 floating point.
2784
2785 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2786
2787 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2788 installed libpthread is either linuxthreads with floating stacks or
2789 NPTL.
2790
2791 2003-04-14 Tom Tromey <tromey@redhat.com>
2792
2793 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2794 of alignment.
2795
2796 2003-04-10 Tom Tromey <tromey@redhat.com>
2797
2798 * verify.cc (pop64): Removed.
2799 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2800 exception if top-of-stack is narrow.
2801 (initialize_stack): Check to ensure that <init> is not static and
2802 <clinit> is.
2803
2804 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2805
2806 * java/io/ObjectStreamException
2807 * java/io/FileFilter
2808 * java/io/FilenameFilter
2809 * java/io/ObjectInput
2810 * java/io/ObjectOutput
2811 * java/io/ObjectStreamConstants
2812 Minor doc fixes, format fixes, spelling corrections, etc.
2813 * java/io/DataInput
2814 Corrected code samples in Javadocs to match reality
2815 * java/io/DataOutput
2816 * java/io/ObjectInputValidation
2817 Major documentation fixes - all Javadocs re-written or updated
2818
2819 2003-04-06 Michael Koch <konqueror@gmx.de>
2820
2821 * java/net/URLConnection.java:
2822 Import classes directly.
2823 (URLConnection): Merged class documentation with classpath.
2824 (url): Moved, documentation from classpath added.
2825 (doInput): Moved, documentation from classpath added.
2826 (doOutput): Moved, documentation from classpath added.
2827 (allowUserInteraction): Moved.
2828 (useCaches): Moved, documentation from classpath added.
2829 (ifModifiedSince): Moved, documentation from classpath added.
2830 (connected): Moved, documentation from classpath added.
2831
2832 2003-04-06 Michael Koch <konqueror@gmx.de>
2833
2834 * java/io/FileInputStream.java
2835 (skip): Renamed some variables to match classpath, added
2836 checks from classpath.
2837
2838 2003-03-31 Michael Koch <konqueror@gmx.de>
2839
2840 * javax/swing/AbstractAction.java
2841 (AbstractAction): Reformatted.
2842 (serialVersionUID): New private member variable.
2843 * javax/swing/plaf/BorderUIResource.java
2844 (serialVersionUID): New private member variable.
2845 * javax/swing/plaf/basic/BasicLookAndFeel.java
2846 (serialVersionUID): New private member variable.
2847
2848 2003-03-31 Michael Koch <konqueror@gmx.de>
2849
2850 * java/sql/Date.java
2851 (valueOf): Deprecated, reformatted.
2852 (toString): Deprecated, reformatted.
2853 * java/sql/Time.java
2854 (valueOf): Deprecated, reformatted.
2855 (toString): Deprecated, reformatted.
2856
2857 2003-03-31 Michael Koch <konqueror@gmx.de>
2858
2859 * java/rmi/dgc/VMID.java
2860 (isUnique): Deprecated.
2861
2862 2003-03-31 Michael Koch <konqueror@gmx.de>
2863
2864 * java/io/File.java
2865 (separator): Merged documentation from classpath.
2866 (separatorChar): Merged documentation from classpath.
2867 (pathSeparator): Merged documentation from classpath.
2868 (pathSeparatorChar): Merged documentation from classpath.
2869 (path): Merged documentation from classpath.
2870 (canRead): Merged documentation from classpath.
2871 (canWrite): Merged documentation from classpath.
2872 (createNewFile): Merged documentation from classpath.
2873 (delete): Merged documentation from classpath.
2874 (equals): Merged documentation from classpath.
2875 (exists): Merged documentation from classpath.
2876 (File): Renamed p to name to match classpath, merged documentation
2877 from classpath.
2878 (getAbsolutePath): Merged documentation from classpath.
2879 (getCanonicalPath): Merged documentation from classpath.
2880 (getCanonicalFile): Merged documentation from classpath.
2881 (getName): Merged documentation from classpath.
2882 (getParent): Merged documentation from classpath.
2883 (getParentFile): Merged documentation from classpath.
2884 (getPath): Merged documentation from classpath.
2885 (hashCode): Merged documentation from classpath.
2886 (isAbsolute): Merged documentation from classpath.
2887 (isDirectory): Merged documentation from classpath.
2888 (isFile): Merged documentation from classpath.
2889 (isHidden): Merged documentation from classpath.
2890 (lastModified): Merged documentation from classpath.
2891 (length): Merged documentation from classpath.
2892 (list): Merged documentation from classpath.
2893 (listFiles): Merged documentation from classpath.
2894 (toString): Merged documentation from classpath.
2895 (toURL): Merged documentation from classpath.
2896 (mkdir): Merged documentation from classpath.
2897 (mkdirs): Merged documentation from classpath.
2898 (createTempFile): Merged documentation from classpath.
2899 (setReadOnly): Merged documentation from classpath.
2900 (listRoots): Merged documentation from classpath.
2901 (compareTo): Merged documentation from classpath.
2902 (renameTo): Merged documentation from classpath.
2903 (setLastModified): Merged documentation from classpath.
2904 * java/io/PrintStream.java
2905 (auto_flush): Merged documentation from classpath.
2906 (PrintStream): Merged documentation from classpath.
2907 (checkError): Merged documentation from classpath.
2908 (setError): Merged documentation from classpath.
2909 (close): Merged documentation from classpath.
2910 (flush): Merged documentation from classpath.
2911 (print): Merged documentation from classpath.
2912 (println): Merged documentation from classpath.
2913 (write): Renamed count to len to match classpath,
2914 merged documentation from classpath.
2915 * java/io/RandomAccessFile.java
2916 (readShort): Merged documentation from classpath.
2917 (readUnsignedByte): Merged documentation from classpath.
2918 (readUnsignedShort): Merged documentation from classpath.
2919 (readUTF): Merged documentation from classpath.
2920 (seek): Reformatted, merged documentation from classpath.
2921 (skipBytes): Renamed some variables to match classpath, reformatted,
2922 merged documentation from classpath.
2923 (write): Merged documentation from classpath.
2924 (writeBoolean): Merged documentation from classpath.
2925 (writeByte): Merged documentation from classpath.
2926 (writeShort): Merged documentation from classpath.
2927 (writeChar): Merged documentation from classpath.
2928 (writeInt): Merged documentation from classpath.
2929 (writeLong): Merged documentation from classpath.
2930 (writeFloat): Merged documentation from classpath.
2931 (writeDouble): Merged documentation from classpath.
2932 (writeBytes): Merged documentation from classpath.
2933 (writeChars): Merged documentation from classpath.
2934 (writeUTF): Reformatted.
2935 (getChannel): Reformatted.
2936
2937 2003-03-31 Michael Koch <konqueror@gmx.de>
2938
2939 * java/awt/font/TextAttribute.java
2940 (readResolve): Throws java.io.InvalidObjectException.
2941
2942 2003-03-31 Michael Koch <konqueror@gmx.de>
2943
2944 * java/rmi/server/LoaderHandler.java
2945 (loadClass): Deprecated.
2946 (getSecurityContext): Deprecated.
2947 * java/rmi/server/LogStream.java
2948 (getDefaultStream): Deprecated.
2949 (setDefaultStream): Deprecated.
2950 (getOutputStream): Deprecated.
2951 (setOutputStream): Deprecated.
2952 (write): Deprecated.
2953 (toString): Deprecated.
2954 (parseLevel): Deprecated.
2955 * java/rmi/server/Operation.java
2956 (Operation): Deprecated.
2957 (getOperation): Deprecated.
2958 (toString): Deprecated.
2959 * java/rmi/server/RemoteCall.java
2960 (getOutputStream): Deprecated.
2961 (releaseOutputStream): Deprecated.
2962 (getInputStream): Deprecated.
2963 (releaseInputStream): Deprecated.
2964 (getResultStream): Deprecated.
2965 (executeCall): Deprecated.
2966 (done): Deprecated.
2967 * java/rmi/server/RemoteRef.java
2968 (invoke): Deprecated.
2969 (newCall): Deprecated.
2970 (done): Deprecated.
2971 * java/rmi/server/RemoteStub.java
2972 (setRef): Deprecated.
2973 * java/rmi/server/Skeleton.java:
2974 No need to import java.lang.Exception explicitly.
2975 (dispatch): Deprecated.
2976 (getOperations): Deprecated.
2977
2978 2003-03-31 Michael Koch <konqueror@gmx.de>
2979
2980 * java/rmi/dgc/VMID.java,
2981 java/rmi/registry/RegistryHandler.java,
2982 java/rmi/server/LogStream.java,
2983 java/rmi/server/Operation.java,
2984 java/rmi/server/RemoteCall.java,
2985 java/rmi/server/RemoteRef.java,
2986 java/rmi/server/RemoteStub.java:
2987 Reformatted.
2988
2989 2003-03-31 Michael Koch <konqueror@gmx.de>
2990
2991 * javax/swing/AbstractCellEditor.java,
2992 javax/swing/AbstractListModel.java,
2993 javax/swing/ActionMap.java,
2994 javax/swing/BorderFactory.java,
2995 javax/swing/ButtonGroup.java,
2996 javax/swing/DefaultBoundedRangeModel.java,
2997 javax/swing/DefaultButtonModel.java,
2998 javax/swing/DefaultCellEditor.java,
2999 javax/swing/DefaultComboBoxModel.java,
3000 javax/swing/DefaultDesktopManager.java,
3001 javax/swing/DefaultListCellRenderer.java,
3002 javax/swing/DefaultSingleSelectionModel.java,
3003 javax/swing/InputMap.java,
3004 javax/swing/JComponent.java,
3005 javax/swing/JMenu.java,
3006 javax/swing/JSlider.java,
3007 javax/swing/KeyStroke.java,
3008 javax/swing/OverlayLayout.java,
3009 javax/swing/ScrollPaneLayout.java,
3010 javax/swing/SizeRequirements.java,
3011 javax/swing/UIManager.java,
3012 javax/swing/ViewportLayout.java,
3013 javax/swing/border/AbstractBorder.java,
3014 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3015 javax/swing/event/EventListenerList.java,
3016 javax/swing/table/AbstractTableModel.java,
3017 javax/swing/table/DefaultTableCellRenderer.java,
3018 javax/swing/table/DefaultTableColumnModel.java,
3019 javax/swing/table/DefaultTableModel.java,
3020 javax/swing/table/TableColumn.java,
3021 javax/swing/text/StyledEditorKit.java,
3022 javax/swing/tree/DefaultMutableTreeNode.java,
3023 javax/swing/tree/DefaultTreeModel.java,
3024 javax/swing/tree/DefaultTreeSelectionModel.java,
3025 javax/swing/tree/TreePath.java,
3026 javax/swing/undo/AbstractUndoableEdit.java,
3027 javax/swing/undo/StateEdit.java,
3028 javax/swing/undo/StateEditable.java,
3029 javax/swing/undo/UndoableEditSupport.java:
3030 Merges from classpath.
3031
3032 2003-03-30 Tom Tromey <tromey@redhat.com>
3033
3034 * java/lang/String.java (data, boffset, count): Documented.
3035 (String(byte[],String)): Reformatted.
3036 (String(byte[])): Likewise.
3037 (lastIndexOf(int)): Likewise.
3038 (lastIndexOf(String)): Likewise.
3039 (substring(int)): Renamed argument to match Classpath.
3040 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3041
3042 * java/lang/String.java: Miscellaneous minor formatting changes
3043 to match Classpath more closely.
3044
3045 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3046 Tom Tromey <tromey@redhat.com>
3047
3048 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3049 (init()): Removed.
3050 (charAt): Put index in exception.
3051 (contentEquals): New method.
3052 Include StringBuffer.h.
3053 * java/lang/String.java (cachedHashCode): New field.
3054 (String()): Follow classpath implementation.
3055 (init()): Removed.
3056 (contentEquals): Declare.
3057 (subSequence): Don't declare IndexOutIfBoundsException in throws
3058 clause.
3059 (matches, replaceFirst, replaceAll, split): New methods from
3060 Classpath.
3061
3062 2003-03-29 Tom Tromey <tromey@redhat.com>
3063
3064 * java/lang/String.java: Reordered to follow Classpath; merged in
3065 javadoc.
3066
3067 * java/text/MessageFormat.java: Removed some whitespace.
3068
3069 * Makefile.in: Rebuilt.
3070 * Makefile.am (awt_java_source_files): Added new files.
3071 * gnu/javax/rmi/PortableServer.java,
3072 gnu/javax/rmi/CORBA/DelegateFactory.java,
3073 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3074 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3075 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3076 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3077 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3078 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3079 javax/rmi/PortableRemoteObject.java,
3080 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3081 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3082 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3083 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3084 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3085 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3086
3087 * java/lang/natClass.cc (newInstance): Put method name in
3088 exception.
3089 (getConstructor): Likewise.
3090 (getDeclaredConstructor): Likewise.
3091 (getPrivateMethod): Likewise.
3092
3093 2003-03-28 Tom Tromey <tromey@redhat.com>
3094
3095 * java/lang/reflect/Proxy.java: New version from Classpath.
3096 * java/lang/Package.java: New version from Classpath.
3097
3098 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3099
3100 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3101 * configure: Regenerate.
3102
3103 2003-03-28 Michael Koch <konqueror@gmx.de>
3104
3105 * java/io/File.java:
3106 Import needed classes instead of whole packages, merged class
3107 documentation with classpath, moved constants and variables to top of
3108 class.
3109 * java/io/PrintStream.java:
3110 Merged class documentation with classpath, moved constants and
3111 variables to top of class.
3112 * java/io/RandomAccessFile.java
3113 (RandomAccessFile): Merged with classpath.
3114 (read): Merged with classpath).
3115 (read*): Reformatted.
3116
3117 2003-03-28 Michael Koch <konqueror@gmx.de>
3118
3119 * java/io/FileDescriptor.java
3120 (finalize): Throws Throwable, not IOException.
3121 * java/io/ObjectOutputStream.java
3122 (PutField.put): Doesnt throws anything.
3123
3124 2003­03-28 Michael Koch <konqueror@gmx.de>
3125
3126 * java/io/FileOutputStream.java:
3127 Merged class documentation and authors with classpath.
3128 (FileOutputStream): Partly merged with classpath.
3129 (write): Merged with classpath.
3130 (getChannel): Make it synchronized instead of explicit block in this
3131 method.
3132 * java/io/RandomAccessFile.java:
3133 Merged class documentation and authors with classpath.
3134
3135 2003-03-26 Tom Tromey <tromey@redhat.com>
3136
3137 * java/lang/natRuntime.cc (insertSystemProperties): Set
3138 gnu.classpath.home.url.
3139 * Makefile.in: Rebuilt.
3140 * Makefile.am: Define LIBDIR.
3141
3142 2003-03-25 Michael Koch <konqueror@gmx.de>
3143
3144 * java/io/FileInputStream.java
3145 (read): Renamed b to buf and off to offset.
3146 * java/io/FileOutputStream.java
3147 (ch): Documentation added.
3148 (FileOutputStream): Documentation added.
3149 (getFD): Documentation added.
3150 (write): Documentation added.
3151 (close): Documentation added.
3152 (getChannel): Documentation added.
3153
3154 2003-03-24 Michael Koch <konqueror@gmx.de>
3155
3156 * java/io/DataOutputStream.java
3157 (write): Merged from classpath.
3158 * java/io/File.java:
3159 Merged copyrigth with classpath.
3160 * java/io/FileInputStream.java
3161 (getChannel): Made it synchronized instead of using a synchronized
3162 block.
3163 * java/io/FileOutputStream.java: Reformatted.
3164 * java/io/InputStreamReader.java
3165 (InputStreamReader): Renamed enc to encoding_name.
3166 (close): Merged documentation from classpath.
3167 (getEncoding): Merged documentation from classpath.
3168 (ready): Merged documentation from classpath.
3169 (read): Merged documentation from classpath.
3170 * java/io/LineNumberReader.java
3171 (lineNumber): Made it private.
3172 (LineNumberReader): Use Constant instead of a direct value.
3173 * java/io/OutputStreamWriter.java
3174 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3175 documentation from classpath.
3176 (close): Merged documentation from classpath.
3177 (flush): Merged documentation from classpath.
3178 (write): Merged documentation from classpath.
3179 * java/io/PrintStream.java: Reformatted.
3180
3181 2003-03-24 Michael Koch <konqueror@gmx.de>
3182
3183 * javax/swing/text/ComponentView.java
3184 (getComponent): Must be final.
3185 * javax/swing/tree/DefaultTreeCellRenderer.java:
3186 Reformatted.
3187 * javax/swing/undo/StateEditable.java:
3188 Reformatted.
3189
3190 2003-03-24 Michael Koch <konqueror@gmx.de>
3191
3192 * java/rmi/activation/ActivationInstantiator.java:
3193 Reformatted.
3194 * java/rmi/activation/Activator.java:
3195 Reformatted.
3196 * java/rmi/registry/RegistryHandler.java:
3197 Remerged from classpath.
3198
3199 2003-03-24 Michael Koch <konqueror@gmx.de>
3200
3201 * java/util/Date.java:
3202 Fixed documentation starting tag to make javadoc happy.
3203 * java/util/regex/Pattern.java
3204 (Pattern): Implements Serializable.
3205 * java/util/PatternSyntaxException.java
3206 (serialVersionUID): New member variable.
3207
3208 2003-03-24 Michael Koch <koqnueror@gmx.de>
3209
3210 * java/awt/ContainerOrderFocusTraversalPolicy.java
3211 (getFirstComponent): Implemented.
3212 (getLastComponent): Implemented.
3213 (getDefaultComponent): Implemented.
3214 (setImplicitDownCycleTraversal): Fixed implementation.
3215 * java/awt/Robot.java
3216 (Robot): Added documentation.
3217 * java/awt/Toolkit.java
3218 (getFontList): Deprecated.
3219 (getFontMetrics): Deprecated.
3220 (getPrintJob): Added documentation.
3221 (getSystemSelection): Added documentation.
3222 (getLockingKeyState): Added documentation.
3223 (setLockingKeyState): Added documentation.
3224 (createCustomCursor): Added documentation.
3225 (getBestCursorSize): Added documentation.
3226 (getMaximumCursorColors): Added documentation.
3227 (isFrameStateSupported): Added documentation.
3228
3229 2003-03-24 Michael Koch <konqueror@gmx.de>
3230
3231 * java/io/RandomAccessFile.java:
3232 More little merges with classpath. No code changes.
3233
3234 2003-03-24 Michael Koch <konqueror@gmx.de>
3235
3236 * java/net/natInetAddressNoNet.cc:
3237 Include stddef.h.
3238 * java/net/natPlainDatagramSocketImplNoNet.cc:
3239 Fixed inlcude of java/net/DatagramPacket.h.
3240 * java/net/natPlainSocketImplNoNet.cc:
3241 Include some missing classes.
3242
3243 2003-03-24 Michael Koch <konqueror@gmx.de>
3244
3245 * java/awt/dnd/DropTarget.java
3246 (DropTargetAutoScroller): According to the online documentation, this
3247 is protected, but in reality it is public.
3248 * java/awt/dnd/DropTargetContext.java
3249 (TransferableProxy): According to the online documentation, this
3250 is protected, but in reality it is public.
3251
3252 2003-03-24 Michael Koch <konqueror@gmx.de>
3253
3254 * java/io/DataInputStream.java
3255 (): Wrapped documentation line.
3256 (): Fixed @return tag.
3257 * java/io/DataOutputStream.java
3258 (written): Moved to top of class.
3259 (all methods): Merged documentation from classpath.
3260 * java/io/File.java:
3261 Merged copyright year with classpath.
3262 * java/io/FileInputStream.java
3263 (all methods): Merged documentation from classpath.
3264 * java/io/LineNumberReader.java
3265 (getLineNumber): Fixed @return tag.
3266 * java/io/ObjectInputStream.java.
3267 Reformatted.
3268 * java/io/ObjectOutputStream.java:
3269 Reformatted, fixed some @see tags.
3270 * java/io/OutputStreamWriter.java:
3271 Deleted empty line.
3272 * java/io/Writer.java:
3273 Reformatted.
3274
3275 2003-03-24 Michael Koch <konqueror@gmx.de>
3276
3277 * java/awt/Frame.java
3278 (DEFAULT_CURSOR): Fixed @deprecated tag.
3279 (setCursor): Fixed @deprecated tag.
3280
3281 2003-03-24 Michael Koch <konqueror@gmx.de>
3282
3283 * java/beans/beancontext/BeanContextEvent.java:
3284 Reformated.
3285
3286 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3287
3288 * java/lang/natStringBuffer.cc (regionMatches): New function.
3289 * java/lang/String.java (count): Now package-private.
3290 * java/lang/StringBuffer.java: Merged with Classpath.
3291
3292 2003-03-23 Michael Koch <konqueror@gmx.de>
3293
3294 * java/io/BufferedOutputStream.java:
3295 Reformated.
3296 * java/io/BufferedReader.java:
3297 Reformated.
3298 * java/io/ByteArrayOutputStream.java
3299 (size): Fixed @see tag.
3300 * java/io/CharArrayWriter.java
3301 (size): Fixed @see tag.
3302 * java/io/DataInput.java:
3303 Reformated.
3304 * java/io/DataOutput.java:
3305 Reformated.
3306 * java/io/DataOutputStream.java:
3307 Merged copyright years with classpath.
3308 * java/io/Externalizable.java:
3309 Reformated.
3310 * java/io/FileFilter.java:
3311 Reformated.
3312 * java/io/FileInputStream.java:
3313 Merged copyright years with classpath.
3314 * java/io/FileOutputStream.java:
3315 Merged copyright years with classpath.
3316 * java/io/FilePermission.java
3317 (FilePermission): Replaced @XXX with FIXME:.
3318 * java/io/FileWriter.java:
3319 Reformated.
3320 * java/io/FilenameFilter.java:
3321 Reformated.
3322 * java/io/FilterInputStream.java:
3323 Reformated.
3324 * java/io/FilterOutputStream.java:
3325 Reformated.
3326 * java/io/FilterReader.java:
3327 Reformated.
3328 * java/io/FilterWriter.java:
3329 Reformated.
3330 * java/io/LineNumberInputStream.java
3331 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3332 happy.
3333 (getLineNumber): Fixed @return tag.
3334 * java/io/ObjectInput.java:
3335 Reformated.
3336 * java/io/ObjectOutput.java:
3337 Reformated.
3338 * java/io/ObjectStreamClass.java:
3339 Reformated.
3340 * java/io/PrintStream.java:
3341 Merged copyright years with classpath.
3342 * java/io/PushbackReader.java
3343 (PushbackReader): Replaced @code with @param.
3344 * java/io/SerializablePermission.java:
3345 Reformated.
3346 * java/io/StreamTokenizer.java
3347 (resetSyntax): Fixed @see tag.
3348
3349 2003-03-22 Richard Henderson <rth@redhat.com>
3350
3351 * sysdep/ia64/locks.h: Include ia64intrin.h.
3352 (compare_and_swap): Use __sync_bool_compare_and_swap.
3353 (compare_and_swap_release): Expose ar.ccv assignment.
3354
3355 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3356
3357 * include/posix.h: Add suffix for darwin dynamic libraries.
3358
3359 2003-03-21 Michael Koch <konqueror@gmx.de>
3360
3361 * javax/swing/Action.java
3362 (ACCELERATOR_KEY): New constant.
3363 (ACTION_COMMAND_KEY): Likewise.
3364 (MNEMONIC_KEY): Likewise.
3365 * javax/swing/UnsupportedLookAndFeelException.java
3366 (UnsupportedLookAndFeelException): Must be public.
3367 * javax/swing/WindowConstants.java
3368 (EXIT_ON_CLOSE): New constant.
3369 * javax/swing/text/BadLocationException.java
3370 (offset): New member variable.
3371 (BadLocationException): New implementation, documentation added.
3372 (offsetRequested): New method.
3373 * javax/swing/text/Caret.java:
3374 Reformated.
3375 * javax/swing/text/Document.java:
3376 Reformated.
3377
3378 2003-03-21 Michael Koch <konqueror@gmx.de>
3379
3380 * java/rmi/activation/Activatable.java
3381 (serialVersionUID): New member variable.
3382 * java/rmi/activation/ActivationGroup.java
3383 (serialVersionUID): New member variable.
3384 * java/rmi/activation/ActivationGroupDesc.java
3385 (serialVersionUID): New member variable.
3386 * java/rmi/registry/Registry.java:
3387 Reformated.
3388 (Registry): Deprecated.
3389 * java/rmi/server/LoaderHandler.java
3390 Reformated.
3391 (LoaderHandler): Deprecated.
3392 * java/rmi/server/LogStream.java
3393 Reformated.
3394 (LogStream): Deprecated.
3395 * java/rmi/server/Operation.java
3396 (Operation): Deprecated.
3397 * java/rmi/server/RMIFailureHandler.java:
3398 Reformated.
3399 * java/rmi/server/RMISocketFactory.java:
3400 Reformated.
3401 * java/rmi/server/RemoteCall.java
3402 (RemoteCall): Deprecated.
3403 * java/rmi/server/RemoteStub.java:
3404 Reformated.
3405 * java/rmi/server/Skeleton.java
3406 Reformated.
3407 (Skeleton): Deprecated.
3408
3409 2003-03-21 Michael Koch <konqueror@gmx.de>
3410
3411 * java/io/LineNumberReader.java
3412 (LineNumberReader): Merged documentation with classpath.
3413 (getLineNumber): Likewise.
3414 (setLineNumber): Likewise.
3415 (mark): Likewise.
3416 (reset): Likewise.
3417 (read): Likewise.
3418 (readLine): Likewise.
3419 (skip): Likewise.
3420
3421 2003-03-21 Michael Koch <konqueror@gmx.de>
3422
3423 * java/rmi/RMISecurityManager.java
3424 (checkAccept): Removed.
3425 (checkAccess): Likewise.
3426 (checkAccess): Likewise.
3427 (checkAwtEventQueueAccess): Likewise.
3428 (checkConnect): Likewise.
3429 (checkCreateClassLoader): Likewise.
3430 (checkDelete): Likewise.
3431 (checkExec): Likewise.
3432 (checkExit): Likewise.
3433 (checkLink): Likewise.
3434 (checkListen): Likewise.
3435 (checkMemberAccess): Likewise.
3436 (checkMulticast): Likewise.
3437 (checkPackageAccess): Likewise.
3438 (checkPackageDefinition): Likewise.
3439 (checkPermission): Likewise.
3440 (checkPrintJobAccess): Likewise.
3441 (checkPropertiesAccess): Likewise.
3442 (checkPropertyAccess): Likewise.
3443 (checkRead): Likewise.
3444 (checkSecurityAccess): Likewise.
3445 (checkSetFactory): Likewise.
3446 (checkSystemClipboardAccess): Likewise.
3447 (checkTopLevelWindow): Likewise.
3448 (checkWrite): Likewise.
3449
3450 2003-03-20 Michael Koch <konqueror@gmx.de>
3451
3452 * gnu/java/nio/FileChannelImpl.java
3453 (address): Removed.
3454 (map_address): New member variable.
3455 (length): Make it package private.
3456 (fd): Make it package private.
3457 (buf): Make it package private.
3458 (file_obj): Make it package private.
3459 (FileChannelImpl): New constructor.
3460 (nio_mmap_file): Use RawData instead of long.
3461 (nio_munmap_file): Use RawData instead of long.
3462 (nio_msync): Use RawData instead of long.
3463 (implCloseChannel): New implementation using map_address.
3464 (read): Reformated.
3465 (map): Implemented.
3466 (create_direct_mapped_buffer): Implemented, use RawData, throws
3467 IOException.
3468 (force): Use map_address instead of address.
3469 * gnu/java/nio/MappedByteFileBuffer.java
3470 (address): Removed.
3471 (map_address): New member variable.
3472 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3473 (several methods): Use map_address instead of address, replaced long
3474 with RawData where appropriate.
3475 * gnu/java/nio/natFileChannelImpl.cc
3476 (nio_mmap_file): Replaced long with RawData.
3477 (nio_munmap_file): Replaced long with RawData.
3478 (nio_msync): Replaced long with RawData.
3479 * gnu/java/nio/natMappedByteFileBuffer.cc
3480 (several methods): Replaced long with RawData where appropriate.
3481
3482 2003-03-20 Michael Koch <konqueror@gmx.de>
3483
3484 * java/net/InetAddress.java,
3485 java/net/JarURLConnection.java,
3486 java/net/PlainDatagramSocketImpl.java,
3487 java/net/PlainSocketImpl.java,
3488 java/net/URLConnection.java:
3489 Merged copyright statements with classpath for easier merging.
3490
3491 2003-03-20 Michael Koch <konqueror@gmx.de>
3492
3493 * java/io/FileInputStream.java
3494 (getChannel): New implementation.
3495 * java/io/FileOutputStream.java
3496 (ch): New member variable.
3497 (getChannel): Implemented.
3498 * java/io/RandomAccessFile.java
3499 (RandomAccessFile): Throws FileNotFoundException instead of
3500 IOException.
3501 (getChannel): New method.
3502 (ch): New member variable.
3503
3504 2003-03-20 Michael Koch <konqueror@gmx.de>
3505
3506 * java/io/DataOutputStream.java,
3507 java/io/File.java,
3508 java/io/FileInputStream.java,
3509 java/io/FileOutputStream.java,
3510 java/io/InputStreamReader.java,
3511 java/io/LineNumberReader.java,
3512 java/io/OutputStreamWriter.java,
3513 java/io/PrintStream.java,
3514 java/io/RandomAccessFile.java:
3515 Merged copyright statements with classpath for easier merging.
3516
3517 2003-03-19 Michael Koch <konqueror@gmx.de>
3518
3519 * java/lang/Process.java:
3520 Merged from classpath.
3521
3522 2003-03-19 Michael Koch <konqueror@gmx.de>
3523
3524 * java/io/FileOutputStream.java
3525 (FileOutputStream): New constructor, merged from classpath.
3526 * java/io/FileWriter.java
3527 (FileWriter): New constructor, merged from classpath.
3528
3529 2003-03-18 Michael Koch <konqueror@gmx.de>
3530
3531 * java/awt/ScrollPane.java
3532 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3533 (getViewportSize): Likewise.
3534 (addNotify): Likewise.
3535 (removeNotify): Likewise.
3536 * java/awt/ScrollPaneAdjustable.java
3537 (ScrollPaneAdjustable): No longer extends Scrollbar.
3538 * java/beans/beancontext/BeanContextServices.java:
3539 Reformated.
3540 (getService): Added throws TooManyListenersException;
3541 * java/beans/beancontext/BeanContextServicesSupport.java:
3542 Reformated.
3543
3544 2003-03-18 Michael Koch <konqueror@gmx.de>
3545
3546 * java/io/BufferedOutputStream.java,
3547 java/io/DataInput.java,
3548 java/io/DataInputStream.java,
3549 java/io/DataOutput.java,
3550 java/io/Externalizable.java:
3551 More merges from classpath.
3552
3553 2003-03-18 Michael Koch <konqueror@gmx.de>
3554
3555 * configure.in: Fixed links to platform dependant java.net files.
3556 * configure: Regenerated.
3557 * java/net/natInetAddress.cc,
3558 java/net/natNetworkInterface.cc,
3559 java/net/natPlainDatagramSocketImpl.cc,
3560 java/net/natPlainSocketImpl.cc:
3561 Removed.
3562
3563 2003-03-18 Michael Koch <konqueror@gmx.de>
3564
3565 * configure.in: Create links to architecture dependent files,
3566 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3567 * configure: Regenerated.
3568 * java/net/natInetAddressNoNet.cc,
3569 java/net/natInetAddressPosix.cc,
3570 java/net/natInetAddressWin32.cc,
3571 java/net/natNetworkInterfaceNoNet.cc,
3572 java/net/natNetworkInterfacePosix.cc,
3573 java/net/natNetworkInterfaceWin32.cc,
3574 java/net/natPlainDatagramSocketImplNoNet.cc,
3575 java/net/natPlainDatagramSocketImplPosix.cc,
3576 java/net/natPlainDatagramSocketImplWin32.cc,
3577 java/net/natPlainSocketImplNoNet.cc,
3578 java/net/natPlainSocketImplPosix.cc,
3579 java/net/natPlainSocketImplWin32.cc: New files.
3580
3581 2003-03-18 Michael Koch <konqueror@gmx.de>
3582
3583 * java/io/BufferedReader.java,
3584 java/io/BufferedWriter.java,
3585 java/io/ByteArrayOutputStream.java,
3586 java/io/FileFilter.java,
3587 java/io/FilePermission.java,
3588 java/io/FileReader.java,
3589 java/io/FileWriter.java,
3590 java/io/FilenameFilter.java,
3591 java/io/FilterInputStream.java,
3592 java/io/FilterOutputStream.java,
3593 java/io/FilterReader.java,
3594 java/io/FilterWriter.java,
3595 java/io/ObjectInput.java,
3596 java/io/ObjectInputValidation.java,
3597 java/io/ObjectOutput.java,
3598 java/io/ObjectStreamField.java,
3599 java/io/PipedInputStream.java,
3600 java/io/PipedReader.java,
3601 java/io/PrintWriter.java,
3602 java/io/PushbackReader.java,
3603 java/io/Reader.java,
3604 java/io/SerializablePermission.java,
3605 java/io/StringReader.java,
3606 java/io/Writer.java:
3607 Merged from classpath.
3608
3609 2003-03-17 Michael Koch <konqueror@gmx.de>
3610
3611 * java/awt/ScrollPaneAdjustable.java:
3612 Compile fixes.
3613
3614 2003-03-17 Michael Koch <konqueror@gmx.de>
3615
3616 * java/net/DatagramSocket.java
3617 (connect): Fixed comment.
3618 * java/nio/ByteBuffer.java
3619 (hasArray): Fixed comment.
3620
3621 2003-03-17 Michael Koch <konqueror@gmx.de>
3622
3623 * java/beans/Beans.java:
3624 Explicitely import classes not packages.
3625 * java/beans/FeatureDescriptor.java
3626 (preferred): New member variable.
3627 (isPreferred): New method.
3628 (setPreferred): New method.
3629 * java/beans/PropertyEditorManager.java:
3630 Explicitely import used classes.
3631 * java/beans/beancontext/BeanContextChild.java:
3632 Added line wrapping.
3633 * java/beans/beancontext/BeanContextChildSupport.java:
3634 Reindented.
3635 * java/beans/beancontext/BeanContextEvent.java:
3636 Reindented.
3637
3638 2003-03-17 Michael Koch <konqueror@gmx.de>
3639
3640 * java/awt/Dialog.java
3641 (Dialog): New constructor, changed implementations, added
3642 documentation.
3643 * java/awt/ScrollPaneAdjustable.java
3644 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3645 Serializable.
3646 (serialVersionUID): New member variable.
3647 (sp): New member variable.
3648 (orientation): New member variable.
3649 (value): New member variable.
3650 (minimum): New member variable.
3651 (maximum): New member variable.
3652 (visibleAmount): New member variable.
3653 (unitIncrement): New member variable.
3654 (blockIncrement): New member variable.
3655 (AdjustmentListener): New member variable.
3656 (ScrollPaneAdjustable): New implementation.
3657 (addAdjustmentListener): New method.
3658 (removeAdjustmentListener): New method.
3659 (getAdjustmentListeners): New method.
3660 (getBlockIncrement): New method.
3661 (getMaximum): New method.
3662 (getMinimum): New method.
3663 (getOrientation): New method.
3664 (getUnitIncrement): New method.
3665 (getValue): New method.
3666 (getVisibleAmount): New method.
3667 (setBlockIncrement): New method.
3668 (setMaximum): Implemented.
3669 (setMinimum): Implemented.
3670 (setUnitIncrement): New method.
3671 (setValue): New method.
3672 (setVisibleAmount): Implemented.
3673 (paramString): New stubbed method.
3674 * java/awt/Window.java
3675 (show): Call setVisible().
3676 (hide): Call setVisible().
3677 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3678 and WINDOW_STATE_CHANGED.
3679 (processWindowFocusEvent): New method.
3680 (processWindowStateEvent): New method.
3681 (postEvent): Deprecated.
3682 (applyResourceBundle): Deprecated.
3683 * java/awt/datatransfer/DataFlavor.java
3684 (DataFlavor): Doesn't thow ClassNotFoundException.
3685
3686 2003-03-17 Michael Koch
3687
3688 * javax/print/attribute/Attribute.java,
3689 javax/print/attribute/AttributeSet.java,
3690 javax/print/attribute/PrintRequestAttributeSet.java:
3691 New files.
3692 * Makefile.am
3693 (javax_source_files): Added new files:
3694 javax/print/attribute/Attribute.java
3695 javax/print/attribute/AttributeSet.java
3696 javax/print/attribute/PrintRequestAttributeSet.java
3697 * Makefile.in: Regenerated.
3698
3699 2003-03-17 Michael Koch
3700
3701 * javax/print/attribute/Attribute.java,
3702 javax/print/attribute/AttributeSet.java,
3703 javax/print/attribute/PrintRequestAttributeSet.java:
3704 New files.
3705 * Makefile.am
3706 (awt_java_source_files): Added new files:
3707 javax/print/attribute/Attribute.java
3708 javax/print/attribute/AttributeSet.java
3709 javax/print/attribute/PrintRequestAttributeSet.java
3710 * Makefile.in: Regenerated.
3711
3712 2003-03-16 Tom Tromey <tromey@redhat.com>
3713
3714 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3715 Include platform.h.
3716 * java/lang/natRuntime.cc (insertSystemProperties): Use
3717 _Jv_platform_path_separator.
3718 (nativeGetLibname): Use _Jv_platform_file_separator.
3719 (_load): Use _Jv_platform_onload_names.
3720 (onload_names): New global.
3721 * include/win32.h (_Jv_platform_file_separator): New define.
3722 (_Jv_platform_path_separator): Likewise.
3723 (_Jv_platform_onload_names): Likewise.
3724 (_Jv_platform_ffi_abi): Likewise.
3725 * include/posix.h (_Jv_platform_file_separator): New define.
3726 (_Jv_platform_path_separator): Likewise.
3727 (_Jv_platform_onload_names): Likewise.
3728 (_Jv_platform_ffi_abi): Likewise.
3729
3730 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3731
3732 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3733
3734 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3735
3736 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3737 hierarchy loop.
3738 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3739 list to Object,ObjectStreamClass, moved callReadMethod code up into
3740 readObject and added Class argument to all setXxxField calls.
3741 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3742 consistent with ObjectOutputStream and to facilitate caching the
3743 Method in the future.
3744 (setBooleanField): Added Class argument.
3745 (setByteField): Likewise.
3746 (setCharField): Likewise.
3747 (setDoubleField): Likewise.
3748 (setFloatField): Likewise.
3749 (setIntField): Likewise.
3750 (setLongField): Likewise.
3751 (setShortField): Likewise.
3752 (setObjectField): Likewise.
3753 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3754 class hierarchy loop.
3755 (defaultWriteObject): Call writeFields with new argument list.
3756 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3757 list to Object,ObjectStreamClass, moved callWriteMethod up into
3758 writeObject and added Class argument to all getXxxField calls.
3759 (callWriteMethod): Added ObjectStreamClass argument to be able to
3760 get the proper class to call getMethod on (each class can have (or
3761 not have) its own writeObject method).
3762 (getBooleanField): Added Class argument.
3763 (getByteField): Likewise.
3764 (getCharField): Likewise.
3765 (getDoubleField): Likewise.
3766 (getFloatField): Likewise.
3767 (getIntField): Likewise.
3768 (getLongField): Likewise.
3769 (getShortField): Likewise.
3770 (getObjectField): Likewise.
3771 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3772 facilitate caching the Method object in the future.
3773
3774 2003-03-12 Andreas Schwab <schwab@suse.de>
3775
3776 * configure.in: Avoid trailing /. in toolexeclibdir.
3777 * configure: Rebuilt.
3778
3779 2003-03-11 Michael Koch <konqueror@gmx.de>
3780
3781 * gnu/java/nio/ByteBufferImpl.java
3782 (putInt): Use limit() instead of limit.
3783 * gnu/java/nio/CharBufferImpl.java
3784 (slice): Fixed implementation.
3785 (subSequence): Better bounds checking.
3786 * gnu/java/nio/MappedByteFileBuffer.java:
3787 Import all needed classes directly.
3788 * java/nio/ByteBuffer.java
3789 (hashCode): New dummy method.
3790 * java/nio/CharBuffer.java
3791 (array_offset): New member variable.
3792 (hasArray): Fixed documentation.
3793 (arrayOffset): Return array_offset.
3794
3795 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3796
3797 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3798 setter; made return value of getter const char* instead of char*
3799 * prims.cc: removed all references to _Jv_ThisExecutable().
3800 These are in the platform-specific sections now.
3801 * posix.cc: define platform-specific _Jv_ThisExecutable().
3802 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3803 * win32.cc: define platform-specific _Jv_ThisExecutable()
3804 using GetModuleFilename()
3805 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3806 to argv[0] instead of _Jv_ThisExecutable()
3807
3808 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3809
3810 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3811 that is set if we are using addr2name.awk instead of addr2line.
3812 (NameFinder): Set usingAddr2name if using addr2name.awk.
3813 (getExternalLabel): New native method to convert a method
3814 name to an external label.
3815 (lookup): Convert name given by addr2line to an external label
3816 before demangling.
3817
3818 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3819 constant representing the prefix attached to method names to
3820 convert them to an external label.
3821 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3822 using LABEL_PREFIX.
3823
3824 2003-03-10 Tom Tromey <tromey@redhat.com>
3825
3826 * Makefile.in: Rebuilt.
3827 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3828 (JC1FLAGS): Removed -Wno-deprecated.
3829
3830 2003-03-10 Michael Koch <konqueror@gmx.de>
3831
3832 * java/nio/ByteOrder.java
3833 (nativeOrder): Working implementation, added documentation.
3834 (toString): Added documentation.
3835
3836 2003-03-10 Michael Koch <konqueror@gmx.de>
3837
3838 * java/net/DatagramSocket.java,
3839 java/net/MulticastSocket.java,
3840 java/net/Socket.java,
3841 java/net/URL.java,
3842 java/net/URLConnection.java:
3843 Fixed some documentation tags to make javadoc and friends happy.
3844
3845 2003-03-10 Michael Koch <koqnueror@gmx.de>
3846
3847 * java/beans/beancontext/BeanContextServicesSupport.java,
3848 java/beans/beancontext/BeanContextSupport.java: New files.
3849 * Makefile.am
3850 (awt_source_files): Added new files.
3851 * Makefile.in: Regenerated.
3852
3853 2003-03-10 Michael Koch <konqueror@gmx.de>
3854
3855 * java/awt/FocusTraversalPolicy.java
3856 (FocusTraversalPolicy): Documentation added.
3857 (getComponentAfter): Documentation added.
3858 (getComponentBefore): Documentation added.
3859 (getFirstComponent): Documentation added.
3860 (getLastComponent): Documentation added.
3861 (getDefaultComponent): Documentation added.
3862 (getInitialComponent): Documentation added.
3863 * java/awt/ScrollPaneAdjustable.java
3864 (sp): New member variable.
3865 (orientation): New member variable.
3866 (value): New member variable.
3867 (minimum): New member variable.
3868 (maximum): New member variable.
3869 (visibleAmount): New member variable.
3870 (unitIncrement): New member variable.
3871 (blockIncrement): New member variable.
3872 (adjustmentListener): New member variable.
3873 (ScrollPaneAdjustable): Rewrote.
3874 (addAdjustmentListener): New method.
3875 (removeAdjustmentListener): New method.
3876 (getAdjustmentListeners): New method.
3877 (getBlockIncrement): New method.
3878 (getMaximum): New method.
3879 (getMinimum): New method.
3880 (getOrientation): New method.
3881 (getUnitIncrement): New method.
3882 (getValue): New method.
3883 (getVisibleAmount): New method.
3884 (setBlockIncrement): New method.
3885 (setUnitIncrement): New method.
3886 (setMaximum): Implemented.
3887 (setMinimum): Implemented.
3888 (setValue): New method.
3889 (setVisibleAmount): Implemented.
3890 (paramString): New method.
3891 * java/awt/Window.java
3892 (show): Use setVisible(true) instead of super.show().
3893 (hide): Use sevVisible(false) instead of super.hide().
3894 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3895 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3896 (postEvent): Deprecated.
3897 (applyResourceBundle): Deprecated.
3898 (processWindowFocusEvent): New method.
3899 (processWindowStateEvent): New method.
3900 * java/awt/datatransfer/DataFlavor.java: Reindented.
3901 * java/awt/font/TextHitInfo.java
3902 (charIndex): New member variable.
3903 (leadingEdge): New member variable.
3904 (TextHitInfo): New constructor.
3905 (getCharIndex): Implemented.
3906 (isLeadingEdge): Implemented.
3907 (getInsertionIndex): Implemented.
3908 (hashCode): Access charIndex directly.
3909 (equals): Reformated.
3910 (leading): Implemented.
3911 (trailing): Implemented.
3912 (beforeOffset): Implemented.
3913 (afterOffset): Implemented.
3914 (getOtherHit): Implemented.
3915 (getOffsetHit): Implemented.
3916 (toString): Implemented.
3917 * java/awt/image/BufferedImage.java
3918 (BufferedImage): Implements WritableRenderedImage.
3919 (observers): New member variable.
3920 (addTileObserver): New method.
3921 (removeTileObserver): New method.
3922
3923 2003-03-09 Tom Tromey <tromey@redhat.com>
3924
3925 PR libgcj/9934:
3926 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3927 to lseek. Return 0 if we can't compute the value.
3928
3929 2003-03-03 Michael Koch <konqueror@gmx.de>
3930
3931 * java/net/NetworkInterface.java: Merged with classpath.
3932
3933 2003-03-03 Tom Tromey <tromey@redhat.com>
3934
3935 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3936 of bytecode.
3937 (handle_ret_insn): Fail if returning to jsr that appears at end of
3938 bytecode.
3939
3940 2003-03-03 Michael Koch <konqueror@gmx.de>
3941
3942 * Makefile.am
3943 (ordinary_java_source_files):
3944 Added gnu/java/nio/MappedByteFileBuffer.java.
3945 (nat_source_files):
3946 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3947 * Makefile.in: Regenerated.
3948
3949 2003-03-03 Michael Koch <konqueror@gmx.de>
3950
3951 * java/net/DatagramSocket.java
3952 (connect): Merged comment from classpath.
3953 (receive): Merged documentation from classpath.
3954 * java/net/Socket.java
3955 (setSoTimeout): Clarified documentation.
3956 * java/net/URL.java
3957 (getPath): Merged from classpath.
3958 (getUserInfo): Merged from classpath.
3959 (getQuery): Merged from classpath.
3960 * java/net/URLStreamHandler.java
3961 (toExternalForm): Merged from classpath.
3962
3963 2003-03-02 Mark Wielaard <mark@klomp.org>
3964
3965 * java/util/Properties.java (load): Only skip line if the first
3966 character is a comment, whitespaces don't count.
3967
3968 2003-03-02 Michael Koch <konqueror@gmx.de>
3969
3970 * java/net/NetPermission.java:
3971 Merged copyright with classpath.
3972
3973 2003-03-02 Michael Koch <konqueror@gmx.de>
3974
3975 * java/lang/Package.java:
3976 Remerged from classpath.
3977
3978 2003-03-02 Michael Koch <konqueror@gmx.de>
3979
3980 * java/net/HttpURLConnection.java
3981 (HTTP_SERVER_ERROR): Deprecated.
3982 * java/net/MulticastSocket.java
3983 (send): Replaced checkMulticast with appropriate checkPermission call,
3984 deprecated.
3985 * java/net/URLDecoder.java
3986 (decode): Deprecated.
3987 * java/net/URLEncoder.java
3988 (encode): Deprecated.
3989
3990 2003-03-02 Michael Koch <konqueror@gmx.de>
3991
3992 * javax/swing/text/Caret.java
3993 (getMagicCaretPosition): Fixed typo in method name.
3994 * javax/swing/text/DefaultCaret.java
3995 (getMagicCaretPosition): Fixed typo in method name.
3996
3997 2003-03-02 Michael Koch <konqueror@gmx.de>
3998
3999 * java/awt/List.java
4000 (setMultipleSelections): Deprecated.
4001 (delItem): Deprecated.
4002 * java/awt/MenuComponent.java
4003 (getPeer): Deprecated.
4004 * java/awt/ScrollPane.java
4005 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4006 * java/awt/dnd/MouseDragGestureRecognizer.java
4007 (mouseClicked): Added comment.
4008 (mousePressed): Added comment.
4009 (mouseReleased): Added comment.
4010 (mouseEntered): Added comment.
4011 (mouseExited): Added comment.
4012 (mouseDragged): Added comment.
4013 (mouseMoved): Added comment.
4014 * java/awt/event/KeyEvent.java
4015 (KeyEvent): Deprecated.
4016 (setModifiers): Deprecated.
4017
4018 2003-03-02 Michael Koch <konqueror@gmx.de>
4019
4020 * gnu/java/nio/FileChannelImpl.java
4021 (fd): Type FileDescriptor instead of int.
4022 (lengthInternal): Removed.
4023 (FileChannelImpl): Fixed arguments, check type of file object.
4024 (size): Made it native.
4025 (implPosition): New native method.
4026 (implTruncate): New native method.
4027 (position): Implemented.
4028 (truncate): Implemented.
4029 (nio_mmap_file): Changed arguments.
4030 (nio_munmap_file): Changed arguments.
4031 (nio_msync): Changed arguments.
4032 * gnu/java/nio/natFileChannelImpl.cc
4033 (lengthInternal): Removed.
4034 (size): New method.
4035 (implPosition): New method.
4036 (implTruncate): New method.
4037 (nio_mmap_file): Changed arguments.
4038 (nio_munmap_file): Changed arguments.
4039 (nio_msync): Changed arguments.
4040
4041 2003-03-02 Michael Koch <konqueror@gmx.de>
4042
4043 * java/awt/dnd/DropTargetContext.java:
4044 Compile fix: Forgot to commit import.
4045
4046 2003-03-02 Michael Koch <konqueror@gmx.de>
4047
4048 * java/awt/Component.java,
4049 java/awt/ScrollPane.java:
4050 Fixed typos.
4051
4052 2003-03-02 Michael Koch <konqueror@gmx.de>
4053
4054 * java/awt/dnd/DnDEventMulticaster.java: New file.
4055 * java/awt/dnd/DragSource.java
4056 (flavorMap): New member variable.
4057 (dragSourceListener): New member variable.
4058 (dragSourceMotionListener): New member variable.
4059 (getFlavorMap): Implemented.
4060 (createDragGestureRecognizer): Implemented.
4061 (addDragSourceListener): Implemented.
4062 (removeDragSourceListener): Implemented.
4063 (getDragSourceListeners): Implemented.
4064 (addDragSourceMotionListener): Implemented.
4065 (removeDragSourceMotionListener): Implemented.
4066 (getDragSourceMotionListeners): Implemented.
4067 (getListeners): Implemented.
4068 * java/awt/dnd/DragSourceContext.java
4069 (peer): New member variable.
4070 (cursor): New member variable.
4071 (transferable): New member variable.
4072 (trigger): New member variable.
4073 (dragSourceListener): New member variable.
4074 (image): New member variable.
4075 (offset): New member variable.
4076 (DragSourceContext): Implemented.
4077 (getDragSource): Implemented.
4078 (getComponent): Implemented.
4079 (getTrigger): Implemented.
4080 (getSourceActions): Implemented.
4081 (setCursor): Implemented.
4082 (getCursor): Implemented.
4083 (addDragSourceListener): Implemented.
4084 (removeDragSourceListener): Implemented.
4085 (getTransferable): Implemented.
4086 * java/awt/dnd/DropTarget.java
4087 (DropTargetAutoScroller.component): New member variable.
4088 (DropTargetAutoScroller.point): New member variable.
4089 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4090 (DropTargetAutoScroller.updateLocation): Implemented.
4091 (active): Renamed from isActive, defaults to true now.
4092 (component): New member variable.
4093 (flavorMap): New member variable.
4094 (actions): New member variable.
4095 (dropTargetContext): New member variable.
4096 (dropTargetListener): New member variable.
4097 (DropTarget): Implemented.
4098 (getComponent): Implemented.
4099 (setComponent): Implemented.
4100 (setDefaultActions): Implemented.
4101 (getDefaultActions): Implemented.
4102 (setActive): Use active instead of isActive.
4103 (isActive): Use active instead of isActive.
4104 (addDropTargetListener): Implemented.
4105 (removeDropTargetListener): Implemented.
4106 (getFlavorMap): Implemented.
4107 (setFlavorMap): Implemented.
4108 (getDropTargetContext): Implemented.
4109 (createDropTargetContext): Implemented.
4110 (createDropTargetAutoScroller): Implemented.
4111 * java/awt/dnd/DropTargetContext.java
4112 (TransferableProxy.getTransferDataFlavors): Implemented.
4113 (TransferableProxy.isDataFlavorSupported): Implemented.
4114 (TransferableProxy.getTransferData): Implemented.
4115 (dropTarget): New member variable.
4116 (dtcp): New member variable.
4117 (DropTargetContext): New package private constructor.
4118 (getDropTarget): Implemented.
4119 (getComponent): Implemented.
4120 (addNotify): Implemented.
4121 (removeNotify): Implemented.
4122 (getCurrentDataFlavorsAsList): Implemented.
4123 (isDataFlavorSupported): Implemented.
4124 * java/awt/dnd/MouseDragGestureRecognizer.java
4125 (registerListeners): Implemented.
4126 (unregisterListeners): Implemented.
4127 * Makefile.am
4128 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4129 * Makefile.in: Regenerated.
4130
4131 2003-03-02 Michael Koch <konqueror@gmx.de>
4132
4133 * java/awt/Component.java
4134 (eventTypeEnabled): New method.
4135 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4136 * java/awt/Container.java
4137 (changeSupport): New member variable.
4138 (addPropertyChangeListener): New methods.
4139 * java/awt/ContainerOrderFocusTraversalPolicy.java
4140 (ContainerOrderFocusTraversalPolicy): Added comment.
4141 (getComponentAfter): Throw exception, documentation added.
4142 (getComponentBefore): Throw exception, documentation added.
4143 (getFirstComponent): Throw exception, documentation added.
4144 (getLastComponent): Throw exception, documentation added.
4145 (getDefaultComponent): Throw exception, documentation added.
4146 * java/awt/EventQueue.java: Reindented.
4147 * java/awt/FocusTraversalPolicy.java:
4148 (FocusTraversalPolicy): Added comment.
4149 (getComponentAfter): Documentation added.
4150 (getComponentBefore): Documentation added.
4151 (getFirstComponent): Documentation added.
4152 (getLastComponent): Documentation added.
4153 (getDefaultComponent): Documentation added.
4154 (getInitialComponent): Documentation added.
4155 * java/awt/ScrollPane.java
4156 (wheelScrollingEnabled): New member variable.
4157 (ScrollPane): Initialize wheelScollingEnabled.
4158 (eventTypeEnabled): New method.
4159 (isWheelScrollingEnabled): New method.
4160 (setWheelScrollingEnabled): New method.
4161
4162 2003-03-02 Michael Koch <konqueror@gmx.de>
4163
4164 * java/net/DatagramSocket.java
4165 (closed): New member variable.
4166 (close): Use closed variable.
4167 (getInetAddress): No need to call isConnected().
4168 (getPort): No need to call isConnected().
4169 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4170 (isClosed): Reimplemented.
4171
4172 2003-03-02 Michael Koch <konqueror@gmx.de>
4173
4174 * configure.in: Added check for memory mapping of files.
4175 * configure: Regenerated.
4176 * config.h.in: Regenerated.
4177
4178 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4179
4180 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4181 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4182
4183 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4184
4185 * java/io/File.java (normalizePath): Remove trailing separator
4186 on Windows only if path is not of the form "x:\".
4187
4188 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4189 (java::io::File::attr): Change formatting a bit and use
4190 WIN32_EPOCH_MILLIS instead of magic numbers.
4191 (java::io::File::isAbsolute): Path must have at least 3
4192 characters for a UNC network path.
4193 (java::io::File::init_native): Define.
4194 (java::io::File::performCreate): Likewise.
4195 (java::io::File::performSetReadOnly): Likewise.
4196 (java::io::File::performSetLastModified): Likewise.
4197 (java::io::File::performListRoots): Likewise.
4198
4199 2003-03-01 Tom Tromey <tromey@redhat.com>
4200
4201 * java/lang/natObject.cc: Don't include assert.h.
4202 (heavy_lock_obj_finalization_proc): Use JvAssert.
4203 (remove_all_heavy): Likewise.
4204 (_Jv_MonitorEnter): Likewise.
4205 (_Jv_MonitorExit): Likewise.
4206 (wait): Likewise.
4207
4208 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4209
4210 * java/io/File (getAbsolutePath): Prefix drive specifier on
4211 Windows for paths starting with a '\'.
4212 (toURL): Make URL more consistent with what Sun's JDK returns.
4213
4214 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4215 true only if the path is a UNC network path or it starts with a
4216 drive specifier.
4217
4218 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4219 Be prepared to handle either '/' or '\\' in the file path for
4220 Windows if using the "file" protocol.
4221 Canonicalise the file path if using a relative path in the given
4222 context and the "file" protocol.
4223
4224 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4225
4226 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4227 program array element passed to CreateProcess.
4228
4229 2003-03-01 Tom Tromey <tromey@redhat.com>
4230
4231 * java/rmi/registry/RegistryHandler.java: Deprecate.
4232
4233 2003-03-01 Tom Tromey <tromey@redhat.com>
4234
4235 * javax/accessibility/AccessibleEditableText.java,
4236 javax/accessibility/AccessibleHyperlink.java: New versions from
4237 Classpath.
4238
4239 * gnu/java/locale/LocaleInformation_af_ZA.java,
4240 gnu/java/locale/LocaleInformation_ar_AE.java,
4241 gnu/java/locale/LocaleInformation_ar_BH.java,
4242 gnu/java/locale/LocaleInformation_ar_DZ.java,
4243 gnu/java/locale/LocaleInformation_ar_EG.java,
4244 gnu/java/locale/LocaleInformation_ar_IN.java,
4245 gnu/java/locale/LocaleInformation_ar_IQ.java,
4246 gnu/java/locale/LocaleInformation_ar_JO.java,
4247 gnu/java/locale/LocaleInformation_ar_KW.java,
4248 gnu/java/locale/LocaleInformation_ar_LB.java,
4249 gnu/java/locale/LocaleInformation_ar_LY.java,
4250 gnu/java/locale/LocaleInformation_ar_MA.java,
4251 gnu/java/locale/LocaleInformation_ar_OM.java,
4252 gnu/java/locale/LocaleInformation_ar_QA.java,
4253 gnu/java/locale/LocaleInformation_ar_SD.java,
4254 gnu/java/locale/LocaleInformation_ar_SY.java,
4255 gnu/java/locale/LocaleInformation_ar_TN.java,
4256 gnu/java/locale/LocaleInformation_ar_YE.java,
4257 gnu/java/locale/LocaleInformation_be_BY.java,
4258 gnu/java/locale/LocaleInformation_bn_IN.java,
4259 gnu/java/locale/LocaleInformation_br_FR.java,
4260 gnu/java/locale/LocaleInformation_bs_BA.java,
4261 gnu/java/locale/LocaleInformation_ca_ES.java,
4262 gnu/java/locale/LocaleInformation_cs_CZ.java,
4263 gnu/java/locale/LocaleInformation_cy_GB.java,
4264 gnu/java/locale/LocaleInformation_da_DK.java,
4265 gnu/java/locale/LocaleInformation_de_AT.java,
4266 gnu/java/locale/LocaleInformation_de_BE.java,
4267 gnu/java/locale/LocaleInformation_de_CH.java,
4268 gnu/java/locale/LocaleInformation_de_DE.java,
4269 gnu/java/locale/LocaleInformation_de_LU.java,
4270 gnu/java/locale/LocaleInformation_el_GR.java,
4271 gnu/java/locale/LocaleInformation_en_AU.java,
4272 gnu/java/locale/LocaleInformation_en_BW.java,
4273 gnu/java/locale/LocaleInformation_en_CA.java,
4274 gnu/java/locale/LocaleInformation_en_DK.java,
4275 gnu/java/locale/LocaleInformation_en_GB.java,
4276 gnu/java/locale/LocaleInformation_en_HK.java,
4277 gnu/java/locale/LocaleInformation_en_IE.java,
4278 gnu/java/locale/LocaleInformation_en_IN.java,
4279 gnu/java/locale/LocaleInformation_en_NZ.java,
4280 gnu/java/locale/LocaleInformation_en_PH.java,
4281 gnu/java/locale/LocaleInformation_en_SG.java,
4282 gnu/java/locale/LocaleInformation_en_US.java,
4283 gnu/java/locale/LocaleInformation_en_ZA.java,
4284 gnu/java/locale/LocaleInformation_en_ZW.java,
4285 gnu/java/locale/LocaleInformation_es_AR.java,
4286 gnu/java/locale/LocaleInformation_es_BO.java,
4287 gnu/java/locale/LocaleInformation_es_CL.java,
4288 gnu/java/locale/LocaleInformation_es_CO.java,
4289 gnu/java/locale/LocaleInformation_es_CR.java,
4290 gnu/java/locale/LocaleInformation_es_DO.java,
4291 gnu/java/locale/LocaleInformation_es_EC.java,
4292 gnu/java/locale/LocaleInformation_es_ES.java,
4293 gnu/java/locale/LocaleInformation_es_GT.java,
4294 gnu/java/locale/LocaleInformation_es_HN.java,
4295 gnu/java/locale/LocaleInformation_es_MX.java,
4296 gnu/java/locale/LocaleInformation_es_NI.java,
4297 gnu/java/locale/LocaleInformation_es_PA.java,
4298 gnu/java/locale/LocaleInformation_es_PE.java,
4299 gnu/java/locale/LocaleInformation_es_PR.java,
4300 gnu/java/locale/LocaleInformation_es_PY.java,
4301 gnu/java/locale/LocaleInformation_es_SV.java,
4302 gnu/java/locale/LocaleInformation_es_US.java,
4303 gnu/java/locale/LocaleInformation_es_UY.java,
4304 gnu/java/locale/LocaleInformation_es_VE.java,
4305 gnu/java/locale/LocaleInformation_et_EE.java,
4306 gnu/java/locale/LocaleInformation_eu_ES.java,
4307 gnu/java/locale/LocaleInformation_fa_IR.java,
4308 gnu/java/locale/LocaleInformation_fi_FI.java,
4309 gnu/java/locale/LocaleInformation_fo_FO.java,
4310 gnu/java/locale/LocaleInformation_fr_BE.java,
4311 gnu/java/locale/LocaleInformation_fr_CA.java,
4312 gnu/java/locale/LocaleInformation_fr_CH.java,
4313 gnu/java/locale/LocaleInformation_fr_FR.java,
4314 gnu/java/locale/LocaleInformation_fr_LU.java,
4315 gnu/java/locale/LocaleInformation_ga_IE.java,
4316 gnu/java/locale/LocaleInformation_gd_GB.java,
4317 gnu/java/locale/LocaleInformation_gl_ES.java,
4318 gnu/java/locale/LocaleInformation_gv_GB.java,
4319 gnu/java/locale/LocaleInformation_he_IL.java,
4320 gnu/java/locale/LocaleInformation_hi_IN.java,
4321 gnu/java/locale/LocaleInformation_hr_HR.java,
4322 gnu/java/locale/LocaleInformation_hu_HU.java,
4323 gnu/java/locale/LocaleInformation_id_ID.java,
4324 gnu/java/locale/LocaleInformation_it_CH.java,
4325 gnu/java/locale/LocaleInformation_it_IT.java,
4326 gnu/java/locale/LocaleInformation_iw_IL.java,
4327 gnu/java/locale/LocaleInformation_ja_JP.java,
4328 gnu/java/locale/LocaleInformation_ka_GE.java,
4329 gnu/java/locale/LocaleInformation_kl_GL.java,
4330 gnu/java/locale/LocaleInformation_ko_KR.java,
4331 gnu/java/locale/LocaleInformation_kw_GB.java,
4332 gnu/java/locale/LocaleInformation_lt_LT.java,
4333 gnu/java/locale/LocaleInformation_lv_LV.java,
4334 gnu/java/locale/LocaleInformation_mi_NZ.java,
4335 gnu/java/locale/LocaleInformation_mk_MK.java,
4336 gnu/java/locale/LocaleInformation_mr_IN.java,
4337 gnu/java/locale/LocaleInformation_mt_MT.java,
4338 gnu/java/locale/LocaleInformation_nl_BE.java,
4339 gnu/java/locale/LocaleInformation_nl_NL.java,
4340 gnu/java/locale/LocaleInformation_nn_NO.java,
4341 gnu/java/locale/LocaleInformation_no_NO.java,
4342 gnu/java/locale/LocaleInformation_oc_FR.java,
4343 gnu/java/locale/LocaleInformation_pl_PL.java,
4344 gnu/java/locale/LocaleInformation_pt_BR.java,
4345 gnu/java/locale/LocaleInformation_pt_PT.java,
4346 gnu/java/locale/LocaleInformation_ro_RO.java,
4347 gnu/java/locale/LocaleInformation_ru_RU.java,
4348 gnu/java/locale/LocaleInformation_ru_UA.java,
4349 gnu/java/locale/LocaleInformation_se_NO.java,
4350 gnu/java/locale/LocaleInformation_sk_SK.java,
4351 gnu/java/locale/LocaleInformation_sl_SI.java,
4352 gnu/java/locale/LocaleInformation_sq_AL.java,
4353 gnu/java/locale/LocaleInformation_sr_YU.java,
4354 gnu/java/locale/LocaleInformation_sv_FI.java,
4355 gnu/java/locale/LocaleInformation_sv_SE.java,
4356 gnu/java/locale/LocaleInformation_ta_IN.java,
4357 gnu/java/locale/LocaleInformation_te_IN.java,
4358 gnu/java/locale/LocaleInformation_tg_TJ.java,
4359 gnu/java/locale/LocaleInformation_tl_PH.java,
4360 gnu/java/locale/LocaleInformation_tr_TR.java,
4361 gnu/java/locale/LocaleInformation_uk_UA.java,
4362 gnu/java/locale/LocaleInformation_ur_PK.java,
4363 gnu/java/locale/LocaleInformation_uz_UZ.java,
4364 gnu/java/locale/LocaleInformation_vi_VN.java,
4365 gnu/java/locale/LocaleInformation_yi_US.java,
4366 gnu/java/locale/LocaleInformation_zh_CN.java,
4367 gnu/java/locale/LocaleInformation_zh_HK.java,
4368 gnu/java/locale/LocaleInformation_zh_SG.java,
4369 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4370 info; from Classpath.
4371
4372 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4373 isPaintPending): New methods.
4374 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4375 setMaximizedBounds): New methods.
4376 (beginLayout, endLayout, isPaintPending): Likewise.
4377 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4378 (requestFocus): Likewise.
4379 (isObscured): Likewise.
4380 (canDetermineObscurity): Likewise.
4381 (coalescePaintEvent): Likewise.
4382 (updateCursorImmediately): Likewise.
4383 (createVolatileImage): Likewise.
4384 (handlesWheelScrolling): Likewise.
4385 (createBuffers): Likewise.
4386 (getBackBuffer): Likewise.
4387 (flip): Likewise.
4388 (destroyBuffers): Likewise.
4389
4390 * Makefile.in: Rebuilt.
4391 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4392 RobotPeer.java.
4393 * gnu/java/awt/GLightweightPeer.java,
4394 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4395 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4396 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4397 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4398 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4399 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4400 java/awt/dnd/peer/DragSourceContextPeer.java,
4401 java/awt/dnd/peer/DropTargetContextPeer.java,
4402 java/awt/peer/ButtonPeer.java,
4403 java/awt/peer/CheckboxMenuItemPeer.java,
4404 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4405 java/awt/peer/ComponentPeer.java,
4406 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4407 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4408 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4409 java/awt/peer/MenuBarPeer.java,
4410 java/awt/peer/MenuComponentPeer.java,
4411 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4412 java/awt/peer/PopupMenuPeer.java,
4413 java/awt/peer/ScrollPanePeer.java,
4414 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4415 java/awt/peer/TextComponentPeer.java,
4416 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4417 New versions from Classpath.
4418 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4419 * java/awt/peer/RobotPeer.java: Likewise.
4420
4421 2003-03-01 Mark Wielaard <mark@klomp.org>
4422
4423 * java/io/ObjectInputStream.java: Reindent.
4424 * java/io/ObjectOutputStream.java: Likewise.
4425
4426 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4427
4428 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4429 jvalue for each argument. Simplify.
4430 * testsuite/libjava.jni/calls.c (docall),
4431 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4432 misalignment.
4433
4434 2003-02-28 Mark Wielaard <mark@klomp.org>
4435
4436 * Makefile.am (nat_source_files): Remove
4437 java/io/natObjectOutputStream.cc.
4438 * Makefile.in: Regenerated.
4439 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4440 * java/io/ObjectStreamField.java (typename): New field.
4441 (ObjectStreamField(String, Class)): Initialize new field.
4442 (ObjectStreamField(String, String)): New Constructor.
4443 (getTypeCode): Use new field.
4444 (getTypeString): Use new field.
4445 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4446 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4447 Handle reading of Proxy classes. Never drain(), just write
4448 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4449 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4450 (flush): Call flush(), not just drain().
4451 (writeBoolean): Always use blockDataOutput.
4452 (writeByte): Likewise.
4453 (writeShort): Likewise.
4454 (writeChar): Likewise.
4455 (writeInt): Likewise.
4456 (writeLong): Likewise.
4457 (writeFloat): Likewise.
4458 (writeDouble): Likewise.
4459 (writeBytes): Likewise.
4460 (putfield (put(String,Object))): Throw IllegalArgumentException if
4461 field cannot be found.
4462 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4463 (writeArraySizeAndElements): Write byte[] in one go.
4464 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4465 set BlockDataMode to false.
4466 (annotateProxyClass): New method.
4467 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4468 (getField): No longer native.
4469 (getMethod): Likewise.
4470 (setBlockDataMode): Always drain() on switch, return old mode.
4471 (static): New static code block.
4472 * java/io/natObjectOutputStream.cc: Removed.
4473 * java/io/ObjectInputStream.java (getField): No longer native.
4474 (getMethod): Likewise.
4475 (readObject): Remember and reset old BlockDataMode. Track whether
4476 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4477 TC_LONGSTRING.
4478 (defaultReadObject): Set BlockDataMode to false during readFields.
4479 (resolveClass): Create new SecurityManager if necessary.
4480 Use Class.forName() if null ClassLoader found.
4481 (read(byte[],int,int): Copy remaining bytes to data before calling
4482 readNextBlock().
4483 (readFields): Set and reset BlockDataMode on call_read_method.
4484 Catch NoSuchFieldErrors.
4485 (setBlockDataMode): Return old mode.
4486 (static): New static code block.
4487 * java/io/natObjectInputStream.cc (getField): Removed.
4488 (getMethod): Likewise.
4489
4490 2003-02-27 Michael Koch <konqueror@gmx.de>
4491
4492 * java/beans/Beans.java,
4493 java/beans/FeatureDescriptor.java
4494 java/beans/PropertyEditorManager.java:
4495 Reformated to GNU style.
4496
4497 2003-02-25 Michael Koch <konqueror@gmx.de>
4498
4499 * gnu/java/nio/MappedByteFileBuffer.java,
4500 gnu/java/nio/natMappedByteFileBuffer.cc:
4501 New files, both are not compiled yet to get not noncompiling CVS.
4502
4503 2003-02-24 Tom Tromey <tromey@redhat.com>
4504
4505 * java/util/prefs/AbstractPreferences.java (isUserNode):
4506 Implemented.
4507
4508 2003-02-24 Tom Tromey <tromey@redhat.com>
4509
4510 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4511 Deprecate.
4512 * java/lang/Thread.java (resume): Deprecate.
4513 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4514 in @deprecated.
4515
4516 2003-02-23 Tom Tromey <tromey@redhat.com>
4517
4518 * Makefile.in: Rebuilt.
4519 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4520
4521 2003-02-23 Tom Tromey <tromey@redhat.com>
4522
4523 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4524 libraries): Removed.
4525 (add_library): Removed.
4526 (_load): Don't call add_library.
4527 (loadLibraryInternal): Likewise.
4528 (init): Likewise.
4529 (lookup_data): New struct.
4530 (find_symbol): New function.
4531 (_Jv_FindSymbolInExecutable): Use it.
4532
4533 2002-02-21 Anthony Green <green@redhat.com>
4534
4535 * java/lang/Thread.java (Thread): New constructor taking stack
4536 size parameter (ignored for now).
4537 * Many methods: Merged GNU Classpath documentation.
4538
4539 * java/lang/Class.java (finalize): throws a Throwable.
4540
4541 2003-02-21 Mark Wielaard <mark@klomp.org>
4542
4543 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4544 argument is null.
4545
4546 2003-02-21 Mark Wielaard <mark@klomp.org>
4547
4548 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4549 then 65535 chars throw IllegalArgumentException.
4550
4551 2003-02-21 Mark Wielaard <mark@klomp.org>
4552
4553 * java/util/zip/ZipFile.java (finalize): New method.
4554
4555 2003-02-21 Michael Koch <konqueror@gmx.de>
4556
4557 * gnu/java/nio/natSocketChannelImpl.cc:
4558 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4559 <cato@df.lth.se> for pointing to it.
4560
4561 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4562
4563 * java/math/BigInteger.java (euclidInv): Take result array as an
4564 argument. Updated all callers.
4565 (modInverse): Removed unused variables.
4566
4567 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4568
4569 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4570 config.status.
4571 * configure: Rebuilt.
4572
4573 2003-02-19 Michael Koch <konqueror@gmx.de>
4574
4575 * gnu/java/nio/natSocketChannelImpl.cc:
4576 Added support for platforms without network support.
4577
4578 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4579
4580 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4581 after config.h. Use <> for consistency.
4582 * java/lang/natObject.cc: Likewise.
4583 * java/lang/natRuntime.cc: Likewise.
4584 * java/lang/natSystem.cc: Likewise.
4585 * java/util/natTimeZone.cc: Likewise.
4586 * win32.cc: Likewise.
4587 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4588 listen, write, read): Undef to avoid interference from OS macros.
4589
4590 2003-02-19 Michael Koch <konqueror@gmx.de>
4591
4592 * gnu/java/nio/ByteBufferImpl.java
4593 (ByteBufferImpl): Renamed two variables.
4594 * gnu/java/nio/CharBufferImpl.java
4595 (CharBufferImpl): Renamed two variables.
4596 * gnu/java/nio/DoubleBufferImpl.java
4597 (DoubleBufferImpl): Renamed two variables.
4598 * gnu/java/nio/FloatBufferImpl.java
4599 (FloatBufferImpl): Renamed two variables.
4600 * gnu/java/nio/IntBufferImpl.java
4601 (IntBufferImpl): Renamed two variables.
4602 * gnu/java/nio/LongBufferImpl.java
4603 (LongBufferImpl): Renamed two variables.
4604 * gnu/java/nio/ShortBufferImpl.java
4605 (ShortBufferImpl): Renamed two variables.
4606 * java/nio/CharBuffer.java
4607 (wrap): Fixed arguments to CharBufferImpl constructor.
4608 (hasArray): Only not read-only buffers have backing arrays.
4609 (length): Documentation added.
4610 (subSequence): Documentation added.
4611 * java/nio/DoubleBuffer.java
4612 (hasArray): Only not read-only buffers have backing arrays.
4613 * java/nio/FloatBuffer.java
4614 (hasArray): Only not read-only buffers have backing arrays.
4615 * java/nio/IntBuffer.java
4616 (hasArray): Only not read-only buffers have backing arrays.
4617 * java/nio/LongBuffer.java
4618 (hasArray): Only not read-only buffers have backing arrays.
4619 * java/nio/ShortBuffer.java
4620 (hasArray): Only not read-only buffers have backing arrays.
4621
4622 2003-02-19 Michael Koch <konqueror@gmx.de>
4623
4624 * javax/accessibility/AccessibleContext.java
4625 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4626
4627 2003-02-19 Michael Koch <konqueror@gmx.de>
4628
4629 * java/awt/ScrollPaneAdjustable.java: Reformated.
4630
4631 2003-02-19 Michael Koch <konqueror@gmx.de>
4632
4633 * gnu/awt/j2d/Graphics2DImpl.java
4634 (getFontRenderContext): New method.
4635 (drawGlyphVector): New method.
4636 * java/awt/Graphics2D.java
4637 (getFontRenderContext): New abstract method.
4638 (drawGlyphVector): New abstract method.
4639
4640 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4641
4642 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4643 if necessary.
4644
4645 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4646 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4647 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4648 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4649 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4650 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4651 (setFont, gtkSetFont): add.
4652 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4653 Propagate font to peer. (setFont): add FIXME comment.
4654
4655 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4656 (gtkTextGetSize): fix height, width computation.
4657
4658 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4659 Make X font name a bit less bogus.
4660
4661 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4662 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4663
4664 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4665 (processAdjustmentEvent): Adjust value.
4666
4667 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4668 logic errors.
4669
4670 * java/awt/Component.java (setVisible, show, hide): Call show and
4671 hide methods in subclasses.
4672 (getPreferredSize): don't set prefSize before we have peer.
4673
4674 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4675 Guess (0,0) if we don't have peer.
4676
4677
4678 2003-02-18 Michael Koch <konqueror@gmx.de>
4679
4680 * java/nio/channels/FileChannel.java
4681 (toString): New implementation, added documentation.
4682 (map): Added exception documentation.
4683 (size): Added exception documentation.
4684 (write): New methods, documentation work.
4685 (read): New methods, documentation work.
4686 (implCloseChannel): Rewrote exception documentation.
4687 (force): Throws IOException, added documentation.
4688 (lock): New methods.
4689 (tryLock): New methods.
4690 (position): New methods.
4691 (transferTo): New method.
4692 (transferFrom): New method.
4693 (truncate): New method.
4694 * java/nio/channels/spi/SelectorProvider.java
4695 (provider): Implemented.
4696 * Makefile.am
4697 (ordinary_java_source_files): Added the following files:
4698 gnu/java/nio/DatagramChannelImpl.java
4699 gnu/java/nio/FileChannelImpl.java
4700 gnu/java/nio/PipeImpl.java
4701 gnu/java/nio/SelectionKeyImpl.java
4702 gnu/java/nio/SelectorImpl.java
4703 gnu/java/nio/SelectorProviderImpl.java
4704 gnu/java/nio/ServerSocketChannelImpl.java
4705 gnu/java/nio/SocketChannelImpl.java
4706 java/nio/channels/FileLock.java
4707 (nat_java_source_files): Added the following files:
4708 gnu/java/nio/natFileChannelImpl.cc
4709 gnu/java/nio/natSelectorImpl.cc
4710 gnu/java/nio/natSocketChannelImpl.cc
4711 * Makefile.in: Regenerated.
4712
4713 2003-02-17 Tom Tromey <tromey@redhat.com>
4714
4715 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4716 * java/awt/image/ImageFilter.java: Likewise.
4717
4718 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4719
4720 * java/math/BigInteger.java (euclidInv): Return array of
4721 `BigInteger's. Changed all callers.
4722
4723 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4724
4725 * java/util/Properties.java (store): Move the code formerly in
4726 list(), into this method.
4727 (list (PrintStream)): Just call list (PrintWriter) with a
4728 PrintWriter object constructed from the given PrintStream object.
4729 (list (PrintWriter)): Emulate the output of Properties.list()
4730 as found in JDK 1.3/1.4.
4731
4732 2003-02-17 Michael Koch <konqueror@gmx.de>
4733
4734 * java/net/DatagramSocket.java
4735 (connect): Merged with classpath.
4736 (disconnect): Merged documentation with classpath.
4737 (receice): Merged documentation with classpath.
4738 (send): Merged documentation with classpath.
4739
4740 2003-02-17 Michael Koch <konqueror@gmx.de>
4741
4742 * java/awt/dnd/DragSourceContext.java
4743 (addDragSourceListener): Added documentation.
4744 * java/awt/dnd/DragSourceDragEvent.java
4745 (serialVersionUID): New member variable.
4746 (getDropAction): Reformated.
4747 * java/awt/dnd/DragSourceDropEvent.java
4748 (serialVersionUID): New member variable.
4749 (dropSuccess): Renamed from success for serialization issues.
4750 * java/awt/dnd/DragSourceEvent.java
4751 (serialVersionUID): New member variable.
4752 * java/awt/dnd/DropTarget.java
4753 (serialVersionUID): New member variable.
4754 (DropTarget): Implemented, documentation reworked.
4755 (setComponent): Documentation added.
4756 (getComponent): Documentation added.
4757 (setDefaultActions): Documentation added.
4758 (getDefaultActions): Documentation added.
4759 (addDropTargetListener): Documentation added.
4760 * java/awt/dnd/DropTargetContext.java
4761 (DropTargetContext): Documentation added.
4762 (TransferableProxy.TransferableProxy): New method.
4763 (dropComplete): Fixed documentation.
4764 (getTransferable): Fixed documentation.
4765 (createTransferableProxy): Implemented.
4766 * java/awt/dnd/DropTargetDragEvent.java
4767 (DropTargetDragEvent): Documentation added.
4768 (serialVersionUID): New member variable.
4769 (DropTargetDragEvent): Throw exceptions, documentation added.
4770 (acceptDrag): Implemented.
4771 (getCurrentDataFlavors): Implemented.3yy
4772 (getCurrentDataFlavorsAsList): Implemented.
4773 (isDataFlavorSupported): Implemented.
4774 (rejectDrag): Implemented.
4775 * java/awt/dnd/DropTargetDropEvent.java
4776 (DropTargetDropEvent): Documentation added.
4777 (serialVersionUID): New member variable.
4778 (actions): Renamed from srcActions for serialization issues.
4779 (isLocalTx): Renamed from isLocalTx for serialization issues.
4780 (DropTargetDropEvent): New implementation, throw exceptions,
4781 documentation added.
4782 (getCurrentDataFlavors): Implemented.
4783 (getCurrentDataFlavorsAsList): Implemented.
4784 (isDataFlavorSupported): Implemented.
4785 (getSourceActions): Implemented.
4786 (getDropAction): Implemented.
4787 (getTransferable): Implemented.
4788 (acceptDrop): Implemented.
4789 (rejectDrop): Implemented.
4790 * java/awt/dnd/DropTargetListener.java
4791 (drop): Fixed documentation.
4792 * java/awt/dnd/MouseDragGestureRecognizer.java
4793 (MouseDragGestureRecognizer): Documentation added.
4794
4795 2003-02-17 Michael Koch <konqueror@gmx.de>
4796
4797 * java/awt/font/FontRenderContext.java,
4798 java/awt/font/ShapeGraphicAttribute.java,
4799 java/awt/font/MultipleMaster.java,
4800 java/awt/font/TransformAttribute.java,
4801 java/awt/font/GlyphJustificationInfo.java,
4802 java/awt/font/LineBreakMeasurer.java,
4803 java/awt/font/TextMeasurer.java,
4804 java/awt/font/TextLayout.java,
4805 java/awt/font/LineMetrics.java,
4806 java/awt/font/TextAttribute.java,
4807 java/awt/font/GlyphMetrics.java,
4808 java/awt/font/OpenType.java,
4809 java/awt/font/GlyphVector.java,
4810 java/awt/font/GraphicAttribute.java,
4811 java/awt/font/ImageGraphicAttribute.java,
4812 java/awt/font/NumericShaper.java: New files.
4813 * Makefile.am
4814 (awt_java_source_files): Added the following files:
4815 java/awt/font/FontRenderContext.java
4816 java/awt/font/ShapeGraphicAttribute.java
4817 java/awt/font/MultipleMaster.java
4818 java/awt/font/TransformAttribute.java
4819 java/awt/font/GlyphJustificationInfo.java
4820 java/awt/font/LineBreakMeasurer.java
4821 java/awt/font/TextMeasurer.java
4822 java/awt/font/TextLayout.java
4823 java/awt/font/LineMetrics.java
4824 java/awt/font/TextAttribute.java
4825 java/awt/font/GlyphMetrics.java
4826 java/awt/font/OpenType.java
4827 java/awt/font/GlyphVector.java
4828 java/awt/font/GraphicAttribute.java
4829 java/awt/font/ImageGraphicAttribute.java
4830 java/awt/font/NumericShaper.java
4831 * Makefile.in: Regenerated.
4832
4833 2003-02-17 Michael Koch <konqueror@gmx.de>
4834
4835 * java/awt/print/Paper.java
4836 (Paper): Implements Cloneable.
4837 * java/awt/print/PrinterJob.java
4838 (setJobName): Return value must be void.
4839 (print): Throws PrinterException.
4840
4841 2003-02-16 Tom Tromey <tromey@redhat.com>
4842
4843 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4844 variable.
4845
4846 2003-02-15 Michael Koch <konqueror@gmx.de>
4847
4848 * java/awt/datatransfer/DataFlavor.java
4849 (isRepresentationClassByteBuffer): Removed try-catch block.
4850 (isRepresentationClassCharBuffer): Removed try-catch block.
4851 (isRepresentationClassReader): Removed try-catch block.
4852
4853 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4854
4855 * java/nio/charset/Charset.java
4856 (isRegistered): Fixed method args and implementation.
4857 * java/nio/charset/CharsetEncoder.java
4858 (unmappableCharacterAction): New method.
4859
4860 2003-02-15 Michael Koch <konqueror@gmx.de>
4861
4862 * java/awt/CheckboxMenuItem.java
4863 (CheckBoxMenuItem): Dont implement Serializable.
4864 (getListeners): New method,
4865 (getItemListeners): New method.
4866 * java/awt/Choice.java
4867 (getListeners): New method,
4868 (getItemListeners): New method.
4869 * java/awt/Container.java
4870 (getListeners): Added exception documentation.
4871 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4872 (getFocusTraversalKeys): Added documentation.
4873 (areFocusTraversalKeysSet): Added documentation.
4874 (applyComponentOrientation): Added documentation.
4875 * java/awt/ContainerOrderFocusTraversalPolicy.java
4876 (implicitDownCycleTraversal): Renamed from downCycle for
4877 serialization.
4878 (ContainerOrderFocusTraversalPolicy): Added documentation.
4879 (accept): Reformated.
4880 * java/awt/Dialog.java
4881 (Dialog): Dont implement Serializable.
4882 (Dialog): Added documentation.
4883 * java/awt/Font.java
4884 (Font): Dont use absolute class name.
4885 * java/awt/Frame.java
4886 (Frame): Font implement Serializable.
4887 * java/awt/List.java
4888 (getListeners): New method,
4889 (getActionListeners): New method.
4890 (getItemListeners): New method.
4891 * java/awt/Menu.java
4892 (countItems): New deprecated method.
4893 * java/awt/Scrollbar.java
4894 (getListeners): New method,
4895 (getAdjustmentListeners): New method,
4896 * java/awt/TextComponent.java
4897 (getListeners): New method,
4898 (getTextListeners): New method,
4899 * java/awt/TextField.java
4900 (getListeners): New method,
4901 (getActionListeners): New method.
4902 * java/awt/Window.java
4903 (windowFocusListener): New member variable.
4904 (windowStateListener): New member variable.
4905 (getWindowFocusListeners): New method.
4906 (getWindowStateListeners): New method.
4907 (addWindowFocusListener): New method.
4908 (addWindowStateListener): New method.
4909 (removeWindowFocusListener): New method.
4910 (removeWindowStateListener): New method.
4911 * java/awt/datatransfer/DataFlavor.java
4912 (isRepresentationClassByteBuffer): New method.
4913 (isRepresentationClassCharBuffer): New method.
4914 (isRepresentationClassReader): New method.
4915
4916 2003-02-14 Mark Wielaard <mark@klomp.org>
4917
4918 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4919 zero when there is an exponent and the significant is zero.
4920 (divide): Always set scale to newScale even in special ZERO case.
4921
4922 2003-02-14 Tom Tromey <tromey@redhat.com>
4923
4924 * java/lang/System.java (properties): Use Properties.clone.
4925 (setProperties): Likewise.
4926
4927 2003-02-14 Michael Koch <konqueror@gmx.de>
4928
4929 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4930 * gnu/java/nio/ServerSocketChannelImpl.java
4931 (SocketAccept): Removed.
4932 (accept): Commented out use of SocketAccept.
4933
4934 2003-02-13 Tom Tromey <tromey@redhat.com>
4935
4936 * verify.cc (state::seen_subrs): New field.
4937 (state::state): Initialize it.
4938 (state::clean_subrs): New method.
4939 (state::~state): Call it.
4940 (state::copy): Copy subroutine list.
4941 (state::add_subr): New method.
4942 (state::merge): Only register a change if the current subroutine
4943 hasn't yet been noted.
4944
4945 2003-02-13 Mark Wielaard <mark@klomp.org>
4946
4947 * java/io/InputStreamReader.java (getEncoding): Return null when
4948 closed.
4949 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4950
4951 2003-02-13 Mark Wielaard <mark@klomp.org>
4952
4953 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4954 is zero.
4955
4956 2003-02-13 Mark Wielaard <mark@klomp.org>
4957
4958 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4959 next byte cannot be buffered.
4960
4961 2003-02-13 Michael Koch <konqueror@gmx.de>
4962
4963 * java/awt/Label.java
4964 (Label): Don't implement Serializable directly.
4965 (addNotify): Fixed typo in documentation.
4966 * java/awt/List.java
4967 (List): Don't implement Serializable directly.
4968 * java/awt/PopupMenu.java
4969 (PopupMenu): Don't implement Serializable directly.
4970 * java/awt/ScrollPane.java
4971 (ScrollPane): Don't implement Serializable directly.
4972 * java/awt/Scrollbar.java
4973 (Scrollbar): Don't implement Serializable directly.
4974 * java/awt/TextArea.java
4975 (preferredSize): Fixed method arguments.
4976 * java/awt/TextField.java
4977 (TextField): Don't implement Serializable directly.
4978 * java/awt/color/ICC_ColorSpace.java
4979 (fromCIOXYZ): Documentation added.
4980 (getMinValue): Documentation added.
4981 (getMaxValue): Documentation added.
4982 * java/awt/datatransfer/DataFlavor.java
4983 (isMimeTypeEqual): May not be final.
4984 (clone): Throws CloneNotSupportedException.
4985 (getReaderForText): Don't throws UnsupportedEncodingException.
4986
4987 2003-02-13 Michael Koch <konqueror@gmx.de>
4988
4989 * gnu/java/awt/peer/gtk/GdkGraphics.java
4990 (drawString): New stubbed method.
4991 * java/awt/Graphics.java
4992 (drawString): New method.
4993
4994 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4995
4996 PR libgcj/9271:
4997 * java/security/SecureRandom.java (next): Avoid bias in results.
4998
4999 2003-02-13 Michael <konqueror@gmx.de>
5000
5001 * gnu/java/nio/FileChannelImpl.java
5002 (lengthInternal): Must be native.
5003 (size): Check if channel is already closed.
5004 (implCloseChannel): Reformated.
5005 (read): w was unused, removed it.
5006 (read): Removed.
5007 (read): New method.
5008 (write): New method.
5009 (map): Check arguments.
5010 (force): Throws IOException, check if channel is closed.
5011 (transferTo): New method.
5012 (transferFrom): New method.
5013 (lock): New method.
5014 (tryLock): New method.
5015 (position): New method.
5016 (truncate): New method.
5017 (nio_mmap_file): Uncommented.
5018 (nio_munmap_file): Uncommented.
5019 (nio_msync): Uncommented.
5020 * gnu/java/nio/natFileChannelImpl.cc: New file.
5021
5022 2003-02-13 Michael Koch <konqueror@gmx.de>
5023
5024 * java/nio/ByteBuffer.java
5025 (endian): New member variable.
5026 (get): New methods.
5027 (equals): New method.
5028 (compareTo): New method.
5029 (order): New methods.
5030 (compact): New method.
5031 (isDirect): New method.
5032 (slice): New method.
5033 (duplicate): New method.
5034 (asReadOnlyBuffer): New method.
5035 (asCharBuffer): New method.
5036 (asDoubleBuffer): New method.
5037 (asFloatBuffer): New method.
5038 (asIntBuffer): New method.
5039 (asLongBuffer): New method.
5040 (asShortBuffer): New method.
5041 (get*): New methods.
5042 (put*): New methods.
5043 (toString): New method.
5044 * java/nio/CharBuffer.java
5045 (CharBuffer): Implement Comparable instead of Cloneable.
5046 (get): May not be final.
5047 (put): May not be final.
5048
5049 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5050
5051 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5052 lastIndexOf( ) instead of indexOf( ) to find the colon before
5053 the line number, because Win32 file names might contain a
5054 drive letter and a colon at the start of an absolute path.
5055
5056 2003-02-13 Michael Koch <konqueror@gmx.de>
5057
5058 * gnu/java/nio/natSocketChannelImpl.cc
5059 (SocketConnect): This is not implemented yet.
5060 (SocketBind): This is not implemented yet.
5061
5062 2003-02-13 Michael Koch <konqueror@gmx.de>
5063
5064 * gnu/java/nio/natByteBufferImpl.cc,
5065 gnu/java/nio/natCharBufferImpl.cc,
5066 gnu/java/nio/natDoubleBufferImpl.cc,
5067 gnu/java/nio/natFloatBufferImpl.cc,
5068 gnu/java/nio/natIntBufferImpl.cc,
5069 gnu/java/nio/natLongBufferImpl.cc,
5070 gnu/java/nio/natShortBufferImpl.cc:
5071 Added copyright and license.
5072 * java/nio/DoubleBuffer.java,
5073 java/nio/FloatBuffer.java,
5074 java/nio/IntBuffer.java,
5075 java/nio/LongBuffer.java,
5076 java/nio/ShortBuffer.java
5077 (array): Throw exceptions.
5078 (arrayOffset): Throw exceptions.
5079
5080 2003-02-13 Michael Koch <konqueror@gmx.de>
5081
5082 * gnu/java/util/prefs/FileBasedFactory.java,
5083 gnu/java/util/prefs/MemmoryBasedFactory.java,
5084 gnu/java/util/prefs/MemoryBasedPreferences.java,
5085 gnu/java/util/prefs/NodeReader.java,
5086 gnu/java/util/prefs/NodeWriter.java,
5087 java/util/prefs/AbstractPreferences.java,
5088 java/util/prefs/BackingStoreException.java,
5089 java/util/prefs/InvalidPreferencesFormatException.java,
5090 java/util/prefs/NodeChangeEvent.java,
5091 java/util/prefs/NodeChangeListener.java,
5092 java/util/prefs/PreferenceChangeEvent.java,
5093 java/util/prefs/PreferenceChangeListener.java,
5094 java/util/prefs/Preferences.java,
5095 java/util/prefs/PreferencesFactory.java:
5096 New files, all merged from classpath.
5097 * Makefile.am
5098 (ordinary_java_source_files): Added the following files:
5099 gnu/java/util/prefs/FileBasedFactory.java,
5100 gnu/java/util/prefs/MemmoryBasedFactory.java,
5101 gnu/java/util/prefs/MemoryBasedPreferences.java,
5102 gnu/java/util/prefs/NodeReader.java,
5103 gnu/java/util/prefs/NodeWriter.java,
5104 (core_java_source_files): Added the following files:
5105 java/util/prefs/AbstractPreferences.java,
5106 java/util/prefs/BackingStoreException.java,
5107 java/util/prefs/InvalidPreferencesFormatException.java,
5108 java/util/prefs/NodeChangeEvent.java,
5109 java/util/prefs/NodeChangeListener.java,
5110 java/util/prefs/PreferenceChangeEvent.java,
5111 java/util/prefs/PreferenceChangeListener.java,
5112 java/util/prefs/Preferences.java,
5113 java/util/prefs/PreferencesFactory.java
5114 * Makefile.in: Regenerated.
5115
5116 2003-02-13 Michael Koch <konqueror@gmx.de>
5117
5118 * java/net/NetPermission.java
5119 (NetPermission): Make doucmentation match the method declaration.
5120 * java/net/NetworkInterface.java
5121 (equals): Reformated for GNU coding style.
5122 * java/net/ServerSocket.java: Merged with classpath.
5123 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5124 * java/net/SocketImpl.java
5125 (localPort): Merged with classpath (initialize with -1).
5126 * java/net/SocketPermission.java: Merged with classpath (reindented).
5127 * java/net/URLDecoder.java: Merged with classpath (reindented).
5128
5129 2003-02-13 Michael Koch <konqueror@gmx.de>
5130
5131 * java/awt/GridBagConstraints.java
5132 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5133 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5134 * java/awt/KeyboardFocusManager.java
5135 (setGlobalCurrentFocusCycleRoot): Must be public.
5136 * java/awt/MenuComponent.java
5137 (MenuComponent): Must be public.
5138 * java/awt/Toolkit.java:
5139 Added some empty lines to make documentation more readable.
5140 (getFontPeer): Added @deprecated.
5141 (getColorModel): Added exception documentation.
5142 (getProperty): Fixed documentation.
5143
5144 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5145
5146 * configure.host (alpha*-*): Default to -mieee.
5147 * configure.in (IEEESPEC): New.
5148 * libgcj.spec.in (jc1): Add IEEESPEC.
5149 * configure: Rebuild.
5150
5151 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5152
5153 * include/win32.h: Include ws2tcpip.h instead of
5154 winsock.h to obtain definition of the socklen_t type.
5155 Remove IP_TOS definition - not needed with ws2tcpip.h
5156 (_Jv_connect): Correct slight formatting error.
5157
5158 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5159
5160 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5161 size of the arguments for a JNI function. For Win32,
5162 modify to search for all forms of possible exported
5163 names of an stdcall JNI function.
5164 (_Jv_JNIMethod::call): Modify to calculate the size
5165 of the arguments passed to a JNI function and pass
5166 it to _Jv_LookupJNIMethod.
5167
5168 2003-02-12 Michael Koch <konqueror@gmx.de>
5169
5170 * java/nio/channels/Channels.java: New file.
5171 * Makefile.am
5172 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5173 * Makefile.in: Regenerated.
5174
5175 2003-02-12 Michael Koch <konqueror@gmx.de>
5176
5177 * java/nio/ByteBuffer.java
5178 (allocate): Implemented.
5179 (wrap): Implemented.
5180 * java/nio/CharBuffer.java:
5181 Some documentation added and reworked.
5182 (endian): Removed.
5183 (allocate): Implemented.
5184 (wrap): Implemented.
5185 (array): Throw exceptions.
5186 (arrayOffset): Throw exceptions.
5187 (toString): Implemented.
5188 (length): Implemented.
5189 (put): Implemented.
5190 (charAt): Implemented.
5191
5192 2003-02-11 John Leuner <jewel@debian.org>
5193
5194 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5195 reads from end of file.
5196
5197 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5198
5199 * java/io/natFileDescriptorWin32.cc
5200 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5201 returns with Win32 error code ERROR_BROKEN_PIPE.
5202
5203 2003-02-11 Michael Koch <konqueror@gmx.de>
5204
5205 * Makefile.in
5206 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5207
5208 2003-02-11 Michael Koch <konqueror@gmx.de>
5209
5210 * gnu/java/nio/ByteBufferImpl.java:
5211 Reformated and removed some code.
5212 (backing_buffer): Removed.
5213 (array_offset): Removed.
5214 (ro): Renamed to readOnly.
5215 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5216 * gnu/java/nio/CharBufferImpl.java:
5217 Reformated and removed some code.
5218 (array_offset): Removed.
5219 (ro): Renamed to readOnly.
5220 (CharBufferImpl): Use parent constructor, initialize readOnly.
5221 (inc_pos): Removed.
5222 (order): New method.
5223 * gnu/java/nio/DoubleBufferImpl.java:
5224 Reformated and removed some code.
5225 (array_offset): Removed.
5226 (ro): Renamed to readOnly.
5227 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5228 (inc_pos): Removed.
5229 (order): New method.
5230 * gnu/java/nio/FloatBufferImpl.java:
5231 Reformated and removed some code.
5232 (array_offset): Removed.
5233 (ro): Renamed to readOnly.
5234 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5235 (inc_pos): Removed.
5236 (order): New method.
5237 * gnu/java/nio/IntBufferImpl.java:
5238 Reformated and removed some code.
5239 (array_offset): Removed.
5240 (ro): Renamed to readOnly.
5241 (IntBufferImpl): Use parent constructor, initialize readOnly.
5242 (inc_pos): Removed.
5243 (order): New method.
5244 * gnu/java/nio/LongBufferImpl.java:
5245 Reformated and removed some code.
5246 (array_offset): Removed.
5247 (ro): Renamed to readOnly.
5248 (LongBufferImpl): Use parent constructor, initialize readOnly.
5249 (inc_pos): Removed.
5250 (order): New method.
5251 * gnu/java/nio/ShortBufferImpl.java:
5252 Reformated and removed some code.
5253 (array_offset): Removed.
5254 (ro): Renamed to readOnly.
5255 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5256 (inc_pos): Removed.
5257 (order): New method.
5258 * Makefile.am
5259 (ordinary_java_source_files): Added the following files:
5260 gnu/java/nio/ByteBufferImpl.java
5261 gnu/java/nio/CharBufferImpl.java
5262 gnu/java/nio/DoubleBufferImpl.java
5263 gnu/java/nio/FloatBufferImpl.java
5264 gnu/java/nio/IntBufferImpl.java
5265 gnu/java/nio/LongBufferImpl.java
5266 gnu/java/nio/ShortBufferImpl.java
5267 java/nio/DoubleBuffer.java
5268 java/nio/FloatBuffer.java
5269 java/nio/IntBuffer.java
5270 java/nio/LongBuffer.java
5271 java/nio/ShortBuffer.java
5272 (nat_source_files): Added the following files:
5273 gnu/java/nio/natByteBufferImpl.cc
5274 gnu/java/nio/natCharBufferImpl.cc
5275 gnu/java/nio/natDoubleBufferImpl.cc
5276 gnu/java/nio/natFloatBufferImpl.cc
5277 gnu/java/nio/natIntBufferImpl.cc
5278 gnu/java/nio/natLongBufferImpl.cc
5279 gnu/java/nio/natShortBufferImpl.cc
5280 * Makefile.in: Regenerated.
5281
5282 2003-02-11 Michael Koch <konqueror@gmx.de>
5283
5284 * gnu/java/nio/natCharBufferImpl.cc
5285 (nio_cast): Removed.
5286 (nio_put_*): Removed.
5287 (nio_get_*): Removed.
5288 * gnu/java/nio/natDoubleBufferImpl.cc
5289 (nio_cast): Removed.
5290 (nio_put_*): Removed.
5291 (nio_get_*): Removed.
5292 * gnu/java/nio/natFloatBufferImpl.cc
5293 (nio_cast): Removed.
5294 (nio_put_*): Removed.
5295 (nio_get_*): Removed.
5296 * gnu/java/nio/natIntBufferImpl.cc
5297 (nio_cast): Removed.
5298 (nio_put_*): Removed.
5299 (nio_get_*): Removed.
5300 * gnu/java/nio/natLongBufferImpl.cc
5301 (nio_cast): Removed.
5302 (nio_put_*): Removed.
5303 (nio_get_*): Removed.
5304 * gnu/java/nio/natShortBufferImpl.cc
5305 (nio_cast): Removed.
5306 (nio_put_*): Removed.
5307 (nio_get_*): Removed.
5308 * gnu/java/nio/SelectorProviderImpl.java
5309 (openDatagramChannel): Throws IOException.
5310 (openPipe): Throws IOException.
5311 (openSelector): Throws IOException.
5312 (openServerSocketChannel): Throws IOException.
5313 (openSocketChannel): Throws IOException.
5314 * gnu/java/nio/ServerSocketChannelImpl.java
5315 (ServerSocketChannelImpl): Throws IOException.
5316 (implCloseSelectableChannel): Throws IOException.
5317 (implConfigureBlocking): Throws IOException.
5318 * java/nio/ByteBuffer.java
5319 (readOnly): Removed.
5320 (hasArray): Use isReadOnly() instead of readOnly.
5321 (array): Use isReadOnly() instead of readOnly.
5322 (arrayOffset): Use isReadOnly() instead of readOnly.
5323 * java/nio/CharBuffer.java
5324 (CharBuffer): Implements Cloneable and CharSequence.
5325
5326 2003-02-11 Michael Koch <konqueror@gmx.de>
5327
5328 * java/nio/DoubleBuffer.java
5329 (DoubleBuffer): Implements Comparable.
5330 (endian): Removed.
5331 (array_offset): New member variable.
5332 (DoubleBuffer): New constuctor.
5333 (get): May not be final.
5334 (put): May not be final.
5335 (arrayOffset): Implemented.
5336 (order): Made abstract.
5337 (order): Removed.
5338 (as*Buffer): Removed.
5339 (get*): Removed.
5340 (put*): Removed.
5341 * java/nio/FloatBuffer.java
5342 (FloatBuffer): Implements Comparable.
5343 (endian): Removed.
5344 (array_offset): New member variable.
5345 (FloatBuffer): New constuctor.
5346 (get): May not be final.
5347 (put): May not be final.
5348 (arrayOffset): Implemented.
5349 (order): Made abstract.
5350 (order): Removed.
5351 (as*Buffer): Removed.
5352 (get*): Removed.
5353 (put*): Removed.
5354 * java/nio/IntBuffer.java
5355 (IntBuffer): Implements Comparable.
5356 (endian): Removed.
5357 (array_offset): New member variable.
5358 (IntBuffer): New constuctor.
5359 (get): May not be final.
5360 (put): May not be final.
5361 (arrayOffset): Implemented.
5362 (order): Made abstract.
5363 (order): Removed.
5364 (as*Buffer): Removed.
5365 (get*): Removed.
5366 (put*): Removed.
5367 * java/nio/LongBuffer.java
5368 (LongBuffer): Implements Comparable.
5369 (endian): Removed.
5370 (array_offset): New member variable.
5371 (LongBuffer): New constuctor.
5372 (get): May not be final.
5373 (put): May not be final.
5374 (arrayOffset): Implemented.
5375 (order): Made abstract.
5376 (order): Removed.
5377 (as*Buffer): Removed.
5378 (get*): Removed.
5379 (put*): Removed.
5380 * java/nio/ShortBuffer.java
5381 (ShortBuffer): Implements Comparable.
5382 (endian): Removed.
5383 (array_offset): New member variable.
5384 (ShortBuffer): New constuctor.
5385 (get): May not be final.
5386 (put): May not be final.
5387 (arrayOffset): Implemented.
5388 (order): Made abstract.
5389 (order): Removed.
5390 (as*Buffer): Removed.
5391 (get*): Removed.
5392 (put*): Removed.
5393
5394 2003-02-11 Michael Koch <konqueror@gmx.de>
5395
5396 * java/nio/channels/SelectionKey.java
5397 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5398 values.
5399
5400 2003-02-11 Michael Koch <konqueror@gmx.de>
5401
5402 * java/nio/channels/DatagramChannel.java
5403 (write): Throws IOException.
5404 (connect): Throws IOException.
5405 (disconnect): Throws IOException.
5406 (read): Throws IOException.
5407 (receive): Throws IOException.
5408 (send): Throws IOException.
5409 * java/nio/channels/Pipe.java
5410 (open): Throws IOException.
5411 * java/nio/channels/SelectableChannel.java
5412 (configureBlocking): Throws IOException.
5413 * java/nio/channels/ServerSocketChannel.java
5414 (accept): Throws IOException.
5415 * java/nio/channels/SocketChannel.java
5416 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5417 GatheringByteChannel.
5418 (read): Throws IOException.
5419 (write): Throws IOException.
5420 (finishConnect): Throws IOException.
5421 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5422 (end): Throws AsynchronousCloseException.
5423 * java/nio/channels/spi/AbstractSelectableChannel.java
5424 (configureBlocking): Throws IOException.
5425 (implCloseChannel): Throws IOException.
5426 (implCloseSelectableChannel): Throws IOException.
5427 (implConfigureBlocking): Throws IOException.
5428 * java/nio/channels/spi/SelectorProvider.java
5429 (openDatagramChannel): Throws IOException.
5430 (openPipe): Throws IOException.
5431 (openSelector): Throws IOException.
5432 (openServerSocketChannel): Throws IOException.
5433 (openSocketChannel): Throws IOException.
5434
5435 2003-02-11 Michael Koch <konqueror@gmx.de>
5436
5437 * gnu/java/nio/FileLockImpl.java,
5438 java/nio/channels/FileLock.java: New files.
5439
5440 2003-02-11 Michael Koch <konqueror@gmx.de>
5441
5442 * java/nio/charset/IllegalCharsetNameException.java
5443 (serialVersionUID): New member variable.
5444 (charsetName): New member variable.
5445 (IllegalCharsetException): New implementation.
5446 (getCharsetName): New implementation.
5447 * java/nio/charset/UnsupportedCharsetException.java
5448 (serialVersionUID): New member variable.
5449 (charsetName): New member variable.
5450 (UnsupportedCharsetException): New implementation.
5451 (getCharsetName): New implementation.
5452
5453 2003-02-10 Tom Tromey <tromey@redhat.com>
5454
5455 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5456 (ex): Renamed from sqlException.
5457
5458 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5459
5460 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5461 method used to ensure seeding has occurred and that a specific
5462 seed can be set and used.
5463
5464 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5465
5466 * java/lang/Win32Process.java (destroy): Declare as native.
5467 (hasExited): New native method.
5468 (exitValue): Define.
5469 (getErrorStream): Likewise.
5470 (getInputStream): Likewise.
5471 (getOutputStream): Likewise.
5472 (waitFor): Declare as native.
5473 (startProcess): New native method.
5474 (cleanup): Likewise.
5475 (ConcreteProcess): Define.
5476 (outputStream, inputStream, errorStream): New members.
5477 (procHandle, exitCode): Likewise.
5478
5479 * java/lang/natWin32Process.cc
5480 (java::lang::ConcreteProcess::cleanup): Define.
5481 (java::lang::ConcreteProcess::destroy): Likewise.
5482 (java::lang::ConcreteProcess::hasExited): Likewise.
5483 (java::lang::ConcreteProcess::waitFor): Likewise.
5484 (new_string): Likewise.
5485 (java::lang::ConcreteProcess::startProcess): Likewise.
5486
5487 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5488
5489 * java/math/BigInteger.java:
5490 Updated notice to include years 2002 and 3.
5491 Added 2 private (int) arrays with values from the HAC (Handbook of
5492 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5493 and t[] that contains nbr. of tests --used in isProbablePrime().
5494
5495 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5496
5497 * java/math/BigInteger.java (make(int[],int), add(int,int),
5498 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5499 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5500 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5501 make(long).
5502
5503 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5504 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5505 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5506 BIs and returns void.
5507 (modInverse(BI)): Use new signatures of euclidInv().
5508
5509 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5510 static small primes instead of remainder().
5511 Use pre-computed max nbr of trials based on bitlength of BI to test.
5512 Use pre-computed small primes for the trial tests instead of random
5513 numbers.
5514
5515 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5516 not used.
5517
5518 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5519 invoacation of MPN.chars_per_word(). not used.
5520
5521 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5522 local var and used where needed.
5523
5524 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5525 Combined declaration with initialisation of locals.
5526 Removed unused var.
5527
5528 * java/math/BigInteger.java: Style changes
5529 (pow(int)): Removed 'else' keyword.
5530 (toString(int)): idem.
5531 (doubleValue()): idem.
5532 (bitLength()): idem.
5533 (equals(Object)): Use static methods name in same class w/o prepending
5534 class name.
5535 (doubleValue()): idem.
5536 (setNegative(BI)): idem.
5537 (negate()): idem.
5538 (and(BI,int)): idem.
5539 (and(BI)): idem.
5540 (gcd(BI)): idem.
5541 (byteArrayToIntArray()): Removed casting to (int). this is
5542 std. behaviour.
5543 (canonicalize()): idem.
5544 (alloc(int)): Always instantiate a new BI.
5545
5546 2003-02-10 Tom Tromey <tromey@redhat.com>
5547
5548 * java/sql/Timestamp.java (compareTo(Object)): New method.
5549 (compareTo(Timestamp)): Likewise.
5550 (serialVersionUID): Updated.
5551
5552 2003-02-07 Mark Wielaard <mark@klomp.org>
5553
5554 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5555 when verify is true.
5556 (JarFile(File, boolean)): Likewise.
5557 (manifestRead): Set manifestRead field correctly.
5558
5559 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5560
5561 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5562 tests; see patch #1016 on Savannah.
5563
5564 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5565
5566 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5567 (toString): do not return Strings starting with . and - erroneously.
5568 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5569 DiagBigDecimal.
5570
5571 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5572
5573 * java/beans/PropertyDescriptor.java
5574 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5575 methods.
5576 (PropertyDescriptor(String, Class, String, String)): Likewise.
5577 (PropertyDescriptor(String, Method, Method): Factor out getter and
5578 setter method sanity checks into new method.
5579 (findMethods): Don't do parameter sanity checking of get method here.
5580 (checkMethods): New method.
5581
5582 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5583
5584 * java/beans/PropertyDescriptor.java: Reformat.
5585
5586 2003-02-04 Tom Tromey <tromey@redhat.com>
5587
5588 * java/io/PipedOutputStream.java (flush): Declare as throwing
5589 IOException.
5590 (close): Likewise.
5591 * java/io/PipedWriter.java (close): Declare as throwing
5592 IOException.
5593 * java/io/StringWriter.java (close): Declare as throwing
5594 IOException.
5595
5596 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5597
5598 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5599 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5600 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5601 "_JNI_OnLoad@8" (MSVC).
5602
5603 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5604
5605 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5606 convention on Win32 to invoke native JNI methods.
5607
5608 2003-02-03 Andrew Haley <aph@redhat.com>
5609
5610 * configure.host (x86_64): Enable interpreter.
5611
5612 2003-02-03 Andrew Haley <aph@redhat.com>
5613
5614 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5615 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5616 * configure.in (BACKTRACESPEC): New.
5617 * configure: Regenerate.
5618
5619 2003-02-02 Tom Tromey <tromey@redhat.com>
5620
5621 * configure: Rebuilt.
5622 * configure.in (TOOLKIT) [xlib]: Set correctly.
5623
5624 * Makefile.in: Rebuilt.
5625 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5626 libstdc++.
5627
5628 2003-01-31 Mark WIelaard <mark@klomp.org>
5629
5630 * Makefile.in: Rebuilt.
5631 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5632
5633 2003-01-31 Tom Tromey <tromey@redhat.com>
5634
5635 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5636 cast to element type.
5637 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5638 (_Jv_JNI_GetObjectArrayElement): Likewise.
5639
5640 * Makefile.in: Rebuilt.
5641 * Makefile.am (cond_x_ltlibrary): Renamed library to
5642 lib-gnu-awt-xlib.la.
5643 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5644 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5645 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5646 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5647 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5648 (lib_gnu_awt_xlib_la_LINK): Likewise.
5649 (install-exec-hook): Removed.
5650 (lib-gnu-awt-xlib.la): Renamed.
5651
5652 2003-01-31 Tom Tromey <tromey@redhat.com>
5653
5654 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5655 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5656 aclocal.m4 and lost in some merge.
5657
5658 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5659 Don't try to find graphics configuration.
5660 * java/awt/Toolkit.java (default_toolkit_name): Use new
5661 Configuration entry.
5662 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5663 New global.
5664 * configure: Rebuilt.
5665 * configure.in (TOOLKIT): New subst.
5666 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5667 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5668 directory. Make output directories for .c files.
5669 * Makefile.in: Rebuilt.
5670 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5671 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5672 (all_java_source_files): Added new sources.
5673 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5674 (gtk_c_files): New macro.
5675 (gtk_c_source_files): New macro.
5676 (cond_gtk_ltlibrary): New macro.
5677 ($(gtk_c_files)): New target.
5678 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5679 (gtk_awt_peer_sources): New macro.
5680 (gtk_c_headers): New macro.
5681 ($(gtk_c_headers)): New target.
5682 (ACLOCAL_AMFLAGS): New macro.
5683 * gtk.m4, glib.m4, libart.m4: New files.
5684 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5685 gnu/java/awt/peer/gtk/GdkGraphics.java,
5686 gnu/java/awt/peer/gtk/GtkArg.java,
5687 gnu/java/awt/peer/gtk/GtkArgList.java,
5688 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5689 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5690 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5691 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5692 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5693 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5694 gnu/java/awt/peer/gtk/GtkClipboard.java,
5695 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5696 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5697 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5698 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5699 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5700 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5701 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5702 gnu/java/awt/peer/gtk/GtkImage.java,
5703 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5704 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5705 gnu/java/awt/peer/gtk/GtkListPeer.java,
5706 gnu/java/awt/peer/gtk/GtkMainThread.java,
5707 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5708 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5709 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5710 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5711 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5712 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5713 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5714 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5715 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5716 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5717 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5718 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5719 gnu/java/awt/peer/gtk/GtkToolkit.java,
5720 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5721 gnu/java/awt/peer/gtk/TestAWT.java,
5722 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5724 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5725 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5726 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5727 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5728 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5729 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5730 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5731 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5732 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5733 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5734 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5735 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5736 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5737 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5738 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5739 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5740 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5741 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5742 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5743 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5744 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5745 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5746 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5747 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5748 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5749 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5750 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5751 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5752 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5753 jni/classpath/native_state.c, jni/classpath/native_state.h,
5754 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5755
5756 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5757
5758 * java/util/Properties.java (load): Ignore backslash before EOF.
5759
5760 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5761
5762 * java/lang/natClass.cc (initializeClass): Check tables when
5763 (state == JV_STATE_IN_PROGRESS).
5764 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5765 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5766 interpreted classes.
5767 (linkClass0): Use _Jv_WaitForState.
5768
5769 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5770
5771 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5772 object when finished.
5773
5774 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5775
5776 * libjava/configure.host: Disable can_unwind_signal on darwin.
5777
5778 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5779
5780 Fixes PR java/9254:
5781 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5782 additionally containing id of the owner thread as well as
5783 the number of nested times the thread has acquired the mutex.
5784 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5785 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5786 (_Jv_MutexUnlock): Check if really the owner thread, reset
5787 owner thread id to 0 before leaving, if leaving for the last
5788 time.
5789 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5790 refcount.
5791 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5792 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5793 the passed mutex.
5794 Pass handle of the broadcast event, instead of a pointer to it
5795 in Win32 ResetEvent( ) call.
5796 Remove incorrect return values.
5797 (_Jv_CondDestroy): Close both event handles and delete
5798 critical section.
5799 (_Jv_CondNotify): Check if really the owner thread.
5800 (_Jv_CondNotifyAll): Check if really the owner thread.
5801 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5802 (really_start): Use SetEvent( ) to signal daemon_cond.
5803 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5804 WaitForSingleObject( ) instead to wait for daemon_cond to be
5805 signalled.
5806
5807 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5808
5809 * configure.in: Specifically define HAVE_BACKTRACE if building
5810 for MinGW.
5811 * include/win32.h: Remove HAVE_BACKTRACE definition.
5812 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5813 * configure: Rebuilt.
5814
5815 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5816
5817 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5818 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5819 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5820 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5821 * Makefile.in, configure: Rebuilt.
5822
5823 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5824
5825 Fixes PR java/9253:
5826 * java/io/natFileWin32.cc (performList): Append only "*.*"
5827 if the canonical file path already has a "\" at the end.
5828
5829 2003-01-24 Tom Tromey <tromey@redhat.com>
5830
5831 * defineclass.cc (handleMethodsEnd): Precompute code for static
5832 method.
5833 (handleCodeAttribute): Likewise.
5834 * resolve.cc (ncode): Use run_class for unsynchronized static
5835 methods.
5836 * include/java-interp.h (class _Jv_InterpMethod): Declare
5837 run_class.
5838 * interpret.cc (run_synch_class): Initialize class.
5839 (run) [insn_invokestatic]: Don't initialize class.
5840 [insn_anewarray]: Likewise.
5841 [insn_multianewarray]: Likewise.
5842 (run_class): New function.
5843
5844 2003-01-24 Tom Tromey <tromey@redhat.com>
5845
5846 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5847 comment.
5848
5849 2003-01-22 Andrew Haley <aph@redhat.com>
5850
5851 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5852 * configure.host (CHECKREFSPEC): Define for x86_64.
5853
5854 2003-01-21 Tom Tromey <tromey@redhat.com>
5855
5856 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5857 search at 2, not 3.
5858
5859 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5860
5861 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5862 looking at any characters.
5863 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5864 be used.
5865 (isAbsolute): Check path's length as well.
5866
5867 2003-01-17 Mark Wielaard <mark@klomp.org>
5868
5869 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5870 (nat_source_files): Add natVMObjectStreamClass.cc.
5871 * Makefile.in: Regenerated.
5872 * gcj/javaprims.h (namespace java): Regenerated.
5873 * java/io/ObjectStreamClass.java (getClassUID): Call
5874 VMObjectStreamClass.hasClassInitializer().
5875 (hasClassInitializer): Removed.
5876 * java/io/VMObjectStreamClass.java: New class.
5877 * java/io/natVMObjectStreamClass.cc: New file.
5878 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5879
5880 2003-01-16 Mark Wielaard <mark@klomp.org>
5881
5882 * java/net/SocketImpl.java (toString): Don't explicitly call
5883 toString() on possible null address.
5884
5885 2003-01-16 Michael Koch <konqueror@gmx.de>
5886
5887 * java/net/MulticastSocket.java
5888 (setInterface): Reindented.
5889
5890 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5891
5892 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5893 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5894 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5895 translateY arguments. Implement.
5896 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5897 down translation arguments.
5898 (drawPolyline, drawPolygon): Fix incorrect tests.
5899 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5900 translateX and translateY arguments.
5901
5902 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5903
5904 * Makefile.in: Rebuilt.
5905 * Makefile.am (xlib_includes): New macro.
5906 (INCLUDES): Use it.
5907
5908 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5909
5910 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5911 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5912 16-bit display mode.
5913
5914 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5915
5916 * java/awt/CardLayout.java (show): Rewrote.
5917 (gotoComponent): Removed `target' argument. Simplified code.
5918 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5919 Changed all callers.
5920 (NONE): Removed.
5921
5922 2003-01-14 Michael Koch <konqueror@gmx.de>
5923
5924 * java/net/InetSocketAddress.java
5925 (serialVersionUID): New member variable.
5926 * java/net/NetPermission.java
5927 (NetPermission): Dont implement java.io.Serialization directly.
5928 * java/net/SocketAddress.java:
5929 (serialVersionUID): Documentation added.
5930
5931 2003-01-14 Michael Koch <konqueror@gmx.de>
5932
5933 * java/awt/Label.java
5934 (Label): Implements javax.accessibility.Accessible;
5935 * java/awt/List.java
5936 (List): Implements javax.accessibility.Accessible;
5937 * java/awt/ScrollPane.java
5938 (ScrollPane): Implements javax.accessibility.Accessible;
5939 * java/awt/Scrollbar.java
5940 (Scrollbar): Implements javax.accessibility.Accessible;
5941 * java/awt/TextComponent.java
5942 (setCaretPosition): Throw exception, documentation added.
5943 * java/awt/Toolkit.java:
5944 Added some newlines in method documentations.
5945 (createButton): Exception documentation added.
5946 (createTextField): Exception documentation added.
5947 (createLabel): Exception documentation added.
5948 (createList): Exception documentation added.
5949 (createCheckbox): Exception documentation added.
5950 (createScrollbar): Exception documentation added.
5951 (createScrollPane): Exception documentation added.
5952 (createTextArea): Exception documentation added.
5953 (createChoice): Exception documentation added.
5954 (createFrame): Exception documentation added.
5955 (createWindow): Exception documentation added.
5956 (createDialog): Exception documentation added.
5957 (createMenuBar): Exception documentation added.
5958 (createMenu): Exception documentation added.
5959 (createMenuItem): Exception documentation added.
5960 (createFileDialog): Exception documentation added.
5961 (createCheckboxMenuItem): Exception documentation added.
5962 (loadSystemColors): Exception documentation added.
5963 (setDynamicLayout): Exception documentation added.
5964 (isDynamicLayoutSet): Exception documentation added.
5965 (isDynamicLayoutActive): Exception documentation added.
5966 (getScreenSize): Exception documentation added.
5967 (getScreenResolution): Exception documentation added.
5968 (getScreenInsets): Exception documentation added.
5969 (getColorModel): Exception documentation added.
5970 (getSystemClipboard): Exception documentation added.
5971 (getSystemSelection): Exception documentation added.
5972 (getMenuShortcutKeyMask): Exception documentation added.
5973 (getSystemEventQueue): Exception documentation added.
5974 * java/awt/Window.java:
5975 Reindented some code.
5976 (Window): Centralized implementation, documentation added.
5977 (finalize): Documentation added.
5978 (hide): Fixed typo in comment.
5979 (getWindowListeners): Documentation added.
5980 * java/awt/color/ColorSpace.java
5981 (toRGB): Documentation added.
5982 * java/awt/color/ICC_ColorSpace.java
5983 (ICC_ColorSpace): Documentation added.
5984 (toRGB): Throw exception, documentation added.
5985 (fromRGB): Throw exception, documentation added.
5986 (toCIEXYZ): Documentation added.
5987 (fromCIEXYZ): Documentation added.
5988 (getMinValue): Documentation added.
5989 (getMaxValue): Documentation added.
5990 * java/awt/geom/Dimension2D.java
5991 (clone): Documentation added.
5992 * java/awt/geom/GeneralPath.java
5993 (clone): Documentation added.
5994 * java/awt/geom/Line2D.java
5995 (clone): Documentation added.
5996 * java/awt/geom/QuadCurve2D.java
5997 (clone): Documentation added.
5998 * java/awt/image/ColorModel.java
5999 (ColorModel): Throw exception, documentation added.
6000 * java/awt/image/ImageFilter.java
6001 (clone): Doesnt throw CloneNotSupportedException.
6002
6003 2003-01-14 Andrew Haley <aph@redhat.com>
6004
6005 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6006 in a try block.
6007
6008 2003-01-10 Andrew Haley <aph@redhat.com>
6009
6010 * include/dwarf2-signal.h: Remove x86_64.
6011 * configure.host (x86_64 DIVIDESPEC): Remove.
6012 * include/x86_64-signal.h: New file.
6013 * configure.in: Regenerate.
6014
6015 2003-01-10 Michael Koch <konqueror@gmx.de>
6016
6017 * java/net/DatagramSocket.java
6018 (ch): Description added.
6019 (remotePort): Initialize with -1.
6020 (connect): Doesnt throws SocketException.
6021 * java/net/MulticastSocket.java
6022 (setInterface): Merge with Classpath.
6023 * java/net/ServerSocket.java
6024 (closed): New member variable.
6025 (bind): Check if socket is closed.
6026 (close): Close an associated channel too, set new value to closed.
6027 (isBound): Reindented.
6028 (isClosed): Implemented.
6029 * java/net/Socket.java
6030 (closed): New member variable.
6031 (bind): Check if socket is closed.
6032 (connect): Check if socket is closed.
6033 (close): Close an associated channel too, set new value to closed.
6034 (isClosed): Implemented.
6035
6036 2003-01-10 Michael Koch <konqueror@gmx.de>
6037
6038 * java/awt/DisplayMode.java
6039 (equals): Fixed argument type and implementation.
6040
6041 2003-01-07 Tom Tromey <tromey@redhat.com>
6042
6043 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6044 JV_HASH_SYNCHRONIZATION.
6045 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6046 JV_HASH_SYNCHRONIZATION.
6047
6048 2003-01-07 Michael Koch <konqueror@gmx.de>
6049
6050 * java/net/DatagramSocket.java:
6051 Added classpath license info.
6052 (DatagramSocket): Merged description with classpath.
6053 (close): Merged description with classpath.
6054 (getChannel): Merged description with classpath.
6055 (getInetAddress): Merged description with classpath.
6056 (getPort): Merged description with classpath.
6057 (getLocalAddress): Merged description with classpath.
6058 (getLocalPort): Merged description with classpath.
6059 (getSoTimeout): Merged description with classpath.
6060 (setSoTimeout): Merged description with classpath.
6061 (getSendBufferSize): Merged description with classpath.
6062 (setSendBufferSize): Merged description with classpath.
6063 (getReceiveBufferSize): Merged description with classpath.
6064 (setReceiveBufferSize): Merged description with classpath.
6065
6066 2003-01-04 Tom Tromey <tromey@redhat.com>
6067
6068 * java/awt/List.java: Merged with Classpath.
6069
6070 2003-01-03 Mark Wielaard <mark@klomp.org>
6071
6072 * java/io/FileDescriptor.java (position): New private field.
6073 * java/io/natFileDescriptorPosix.cc (write): Up position.
6074 (setLength): Use and set position.
6075 (seek): Set position.
6076 (getFilePointer): Return position.
6077 (read): Up position.
6078
6079 2003-01-03 Mark Wielaard <mark@klomp.org>
6080
6081 Merge with Classpath:
6082 * java/io/ObjectStreamClass.java (lookup): Split method and call
6083 lookupForClassObject().
6084 (lookupForClassObject): New method.
6085 (isProxyClass): New field.
6086 (setClass): Set isProxyClass, add object to classLookupTable, set
6087 superClass and calculateOffsets.
6088 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6089 and not a proxy class.
6090 (setFields): Set accessible true for serialPersistentFields.
6091 (getClassUID): Same for suid. And check if suid is of type long.
6092 (hasClassInitializer): Don't throw NoSuchMethodError.
6093
6094 2003-01-03 Mark Wielaard <mark@klomp.org>
6095
6096 * java/io/FileInputStream.java (finalize): Don't explicitly
6097 finalize FileDescriptor.
6098
6099 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6100
6101 * configure.host (sparc*-*): Enable bytecode interpreter.
6102
6103 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6104
6105 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6106 Don't throw RemoteException.
6107 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6108 throw RemoteException.
6109
6110 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6111
6112 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6113 proxyHost): New static fields.
6114 (<clinit>): Initialize new fields.
6115 (connect): Use proxy if necessary.
6116 (usingProxy): Implement.
6117
6118 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6119
6120 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6121 (TreeIterator.remove): Prefer IllegalStateException over
6122 ConcurrentModificationException, to match Sun.
6123
6124 2002-12-22 Anthony Green <green@redhat.com>
6125
6126 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6127
6128 2003-01-02 Mark Wielaard <mark@klomp.org>
6129
6130 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6131 public.
6132 (HTTP_USE_PROXY): Add field.
6133 (getResponseVals): Only set responseCode when not yet explicitly
6134 set by subclass.
6135
6136 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6137 Mark Wielaard <mark@klomp.org>
6138
6139 * java/util/zip/ZipFile.java (entries): Now HashMap.
6140 (readLeShort(DataInput, byte[])): Read from given byte array.
6141 (readLeInt(DataInput, byte[]): Likewise.
6142 (readLeShort(byte[] b, int off)): New method.
6143 (readLeInt(byte[] b, int off)): Likewise.
6144 (readEntries): Use byte arrays to read info in bigger chunks.
6145 (getEntries): Return HashMap.
6146 (getEntry): Use HashMap.
6147 (locBuf): New private field.
6148 (checkLocalHeader): Use locBuf to read info in one chunk.
6149 (getInputStream): Use entries HashMap, wrap PartialInputStream
6150 in BufferedInputStream.
6151 (ZipEntryEnumeration): Use HashMap and Interator.
6152
6153 2003-01-02 Mark Wielaard <mark@klomp.org>
6154 Jeroen Frijters <jeroen@sumatra.nl>
6155
6156 * java/net/URLClassLoader.java (Resource.getCodeSource):
6157 Fix check certs == null.
6158 (getCanonicalFileURL): Removed method.
6159 (JarURLLoader): Don't call removed method.
6160 (FileURLLoader): Likewise.
6161 (FileURLLoader.getResource): Don't canonicalize file name.
6162
6163 2003-01-01 Tom Tromey <tromey@redhat.com>
6164
6165 * Makefile.in: Rebuilt.
6166 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6167 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6168 java/awt/BufferCapabilities.java, java/awt/Button.java,
6169 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6170 java/awt/Container.java, java/awt/Cursor.java,
6171 java/awt/EventQueue.java, java/awt/FileDialog.java,
6172 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6173 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6174 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6175 java/awt/Scrollbar.java, java/awt/TextArea.java,
6176 java/awt/TextField.java, java/awt/color/CMMException.java,
6177 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6178 java/awt/color/ProfileDataException.java,
6179 java/awt/datatransfer/Clipboard.java,
6180 java/awt/datatransfer/DataFlavor.java,
6181 java/awt/datatransfer/FlavorMap.java,
6182 java/awt/datatransfer/SystemFlavorMap.java,
6183 java/awt/dnd/DragGestureEvent.java,
6184 java/awt/dnd/DragGestureRecognizer.java,
6185 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6186 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6187 java/awt/im/InputMethodHighlight.java,
6188 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6189 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6190
6191 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6192 `op' to BufferedImageOp.
6193
6194 2002-12-31 Tom Tromey <tromey@redhat.com>
6195
6196 Fix for PR libgcj/7416:
6197 * javax/naming/InitialContext.java (init): Use
6198 gnu.classpath.home.url.
6199 * java/security/Security.java: Use new properties.
6200 (loadProviders): Accept base url; use it.
6201 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6202 gnu.classpath.home.url.
6203 (gnu.classpath.home.url): Define.
6204 (gnu.classpath.vm.shortname): Likewise.
6205
6206 2002-12-31 Tom Tromey <tromey@redhat.com>
6207 Ranjit Mathew <rmathew@hotmail.com>
6208
6209 Fix for PR libgcj/8997:
6210 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6211 Include platform.h.
6212 * include/posix.h (_Jv_platform_usleep): New function.
6213 * include/win32.h (_Jv_platform_usleep): New function.
6214
6215 2002-12-29 Tom Tromey <tromey@redhat.com>
6216
6217 * gcj/javaprims.h: Updated.
6218 * scripts/classes.pl (scan): Removed stray semicolon.
6219
6220 2002-12-30 Mark Wielaard <mark@klomp.org>
6221
6222 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6223 if zero or smaller.
6224
6225 2002-12-30 Mark Wielaard <mark@klomp.org>
6226
6227 * java/util/Properties (formatForOutput): Don't fall through to
6228 default case after escaping character.
6229
6230 2002-12-30 Mark Wielaard <mark@klomp.org>
6231
6232 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6233 against count.
6234
6235 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6236
6237 * boehm.cc: Remove stray semicolon.
6238 * interpret.cc: Likewise.
6239 * prims.cc: Likewise.
6240 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6241 earlier to ensure default arguments are processed.
6242 * gcj/array.h (JArray): Add forward declaration.
6243 (elements): Likewise.
6244 * gcj/javaprim.h: Remove stray semicolons.
6245 * include/bohm-gc.h: Likewise.
6246 * include/jni.h: Likewise.
6247 * include/jvm.h: Likewise.
6248 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6249
6250 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6251
6252 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6253 of catch_type.
6254 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6255 idt tables after initializing superclass.
6256 * java/lang/natClassLoader.cc (uaddr): New typedef.
6257 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6258 if they are constant pool indicies. Don't link vtable, otable yet.
6259
6260 2002-12-21 Anthony Green <green@redhat.com>
6261
6262 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6263 libraries.
6264 * Makefile.in: Rebuilt.
6265
6266 2002-12-19 Anthony Green <green@redhat.com>
6267
6268 * Makefile.am (ordinary_java_source_files): Add
6269 org/xml/sax/helpers/NewInstance.java.
6270 * Makefile.in: Rebuilt.
6271 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6272 org/xml/sax/helpers/package.html: New files.
6273 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6274 http://www.saxproject.org.
6275
6276 2002-12-19 Andrew Haley <aph@redhat.com>
6277
6278 * java/util/natResourceBundle.cc: Include
6279 ArrayIndexOutOfBoundsException.h.
6280 (getCallingClassLoader): Don't put upper bound on stack search.
6281 Catch ArrayIndexOutOfBoundsException.
6282
6283 2002-12-19 Tom Tromey <tromey@redhat.com>
6284
6285 * libtool-version: Increased `current'.
6286
6287 2002-12-19 Tom Tromey <tromey@redhat.com>
6288
6289 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6290 comment.
6291 * java/lang/ClassLoader.java (defineClass): Use chained
6292 exception when rethrowing.
6293 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6294 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6295 constants.
6296 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6297 (_Jv_PrepareClass): Use it.
6298 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6299 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6300 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6301 (Class): _Jv_PrepareMissingMethods now friend.
6302 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6303 Record `NULL' for system class loader.
6304 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6305 system class loader.
6306 (_Jv_FindClassInCache): Likewise.
6307 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6308 (_Jv_FindClass): Special case system class loader.
6309 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6310 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6311 vtable slots.
6312 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6313 in a final class.
6314 (_getDeclaredMethod): Don't return synthetic methods.
6315 (getDeclaredMethods): Likewise.
6316 (_getMethod): Likewise.
6317 (_getMethods): Likewise.
6318
6319 2002-12-18 Raif Naffah <raif@fl.net.au>
6320
6321 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6322 canonical form after divide().
6323 (modInverse): Likewise.
6324
6325 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6326 Mark Wielaard <mark@klomp.org>
6327
6328 * java/security/SecurityRandom (digest): Removed field.
6329 (SecureRandom): Check all providers for case-insensitive SecureRandom
6330 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6331 if necessary.
6332 (getInstance(String,Provider,boolean): New method.
6333 (getInstance(String)): Use new method.
6334 (getInstance(String,String)): Likewise.
6335 (getInstance(String,Provider)): Likewise.
6336
6337 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6338
6339 * java/security/Security.java (loadProviders): Increment i only once.
6340
6341 2002-12-12 Mark Wielaard <mark@klomp.org>
6342
6343 * java/lang/ClassLoader.java (resolveClass0): Transform
6344 ClassNotFoundException to NoClassDefFoundError. Transform all other
6345 throwables to LinkageError.
6346
6347 2002-12-11 Tom Tromey <tromey@redhat.com>
6348
6349 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6350
6351 * java/lang/ClassLoader.java (loadedClasses): New field.
6352 (defineClass): Fixed indentation. Put new class in
6353 loadedClasses.
6354 (findLoadedClass): Implement here.
6355 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6356
6357 2002-12-10 Tom Tromey <tromey@redhat.com>
6358
6359 * Makefile.in: Rebuilt.
6360 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6361 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6362 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6363 * java/lang/natClassLoader.cc
6364 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6365
6366 2002-12-10 Mark Wielaard <mark@klomp.org>
6367 Tom Tromey <tromey@redhat.com>
6368
6369 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6370 (JarURLLoader): Use it.
6371 (FileURLLoader): Likewise.
6372 (JarURLResource.getURL): Use chained exception.
6373 (FileResource.getURL): Likewise.
6374 (FileURLLoader.getResource): Use canonical file name.
6375 (addURL): Indentation fix.
6376
6377 2002-12-10 Tom Tromey <tromey@redhat.com>
6378
6379 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6380 From Laurent Bardet <l.bardet@magic.fr>.
6381
6382 2002-12-09 Tom Tromey <tromey@redhat.com>
6383
6384 * include/win32.h (_Jv_platform_solib_prefix): New define.
6385 (_Jv_platform_solib_suffix): Likewise.
6386 * include/posix.h (_Jv_platform_solib_prefix): New define.
6387 (_Jv_platform_solib_suffix): Likewise.
6388 * java/lang/natRuntime.cc: Include StackTrace.h.
6389 (_load): Use findLibrary and new platform defines.
6390 (nativeGetLibname): Use new platform defines.
6391
6392 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6393 `t' won't be null.
6394
6395 2002-12-08 Mark Wielaard <mark@klomp.org>
6396
6397 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6398 cache remote jar files.
6399 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6400 add File.separator to URL when it is a directory.
6401 * java/lang/ClassLoader.java: Add Classpath javadoc.
6402 (parent): final.
6403 (getParent): Add (disabled) security check.
6404 (findLibrary): New default method.
6405 * java/net/JarURLConnection.java (getManifest): Implement.
6406 (getInputStream): Only create InputStream when entry exists.
6407 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6408 when they exist.
6409 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6410
6411 2002-12-08 Mark Wielaard <mark@klomp.org>
6412
6413 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6414 (lastDefaultLocale): New field.
6415 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6416 resourceBundleCache.
6417
6418 2002-12-06 Mark Wielaard <mark@klomp.org>
6419
6420 * java/net/InetAddress.java (toString): Use hostname when not null,
6421 don't do an explicit reverse getHostName() lookup.
6422 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6423 NullPointerException.
6424
6425 2002-12-06 Tom Tromey <tromey@redhat.com>
6426
6427 * include/java-interp.h (class _Jv_InterpMethod): Added
6428 JV_MARKOBJ_DECL.
6429 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6430 mark `prepared' field of interpreted method.
6431 * interpret.cc (compile): Use _Jv_AllocBytes.
6432
6433 2002-12-05 Andrew Haley <aph@redhat.com>
6434
6435 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6436 #ifdef (HAVE_BACKTRACE) around the whole function body.
6437
6438 2002-12-05 Tom Tromey <tromey@redhat.com>
6439
6440 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6441 * resolve.cc: Don't include AbstractMethodError.h.
6442 (_Jv_abstractMethodError): Removed.
6443 * defineclass.cc (handleMethodsBegin): Initialize method index to
6444 -1.
6445 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6446 method index for "new" final method.
6447 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6448 isVirtualMethod. Added `flags' argument.
6449 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6450 class.
6451
6452 2002-12-04 Tom Tromey <tromey@redhat.com>
6453
6454 * java/net/SocketPermission.java (hashCode): Rewrote.
6455
6456 2002-12-04 Tom Tromey <tromey@redhat.com>
6457
6458 * Makefile.in: Rebuilt.
6459 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6460 natResourceBundle.
6461 * java/util/ResourceBundle.java (Security): Removed.
6462 (getCallingClassLoader): Now native.
6463 * java/util/natResourceBundle.cc: New file.
6464 * java/lang/natVMSecurityManager.cc: New file.
6465 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6466
6467 2002-12-03 Mark Wielaard <mark@klomp.org>
6468
6469 * java/util/jar/JarFile.java (manifest): Not final.
6470 (manifestRead): New field.
6471 (JarFile): Don't read Manifest in constructor.
6472 (getManifest): New method.
6473 (JarEnumeration.nextElement): Use new method.
6474 (getEntry): Likewise.
6475 * java/util/zip/ZipFile.java (name): Final.
6476 (raf): Likewsie.
6477 (entries): Change type to Hashtable.
6478 (closed): New field.
6479 (ZipFile): Don't read enties in constructor.
6480 (readEntries): Use Hashtable.
6481 (close): Set new close flag and set entries to null inside
6482 synchronized block.
6483 (entries): Contruct enumeration using new getEntries() method and
6484 entries Hashtable.
6485 (getEntryIndex): Removed.
6486 (getEntries): New method.
6487 (getEntry): Use new getEntries() method and entries Hastable.
6488 (getInputStream): Likewise.
6489 (size): Return getEntries().size().
6490 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6491 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6492 (time): Removed
6493 (dostime): New field.
6494 (zipFileIndex): Removed.
6495 (ZipEntry(ZipEntry)): Copy dostime.
6496 (setDOSTime): Now final and doesn't convert dos time.
6497 (getDOSTime): Likewise.
6498 (setTime): Convert dos time.
6499 (getTime): Likewise.
6500 (getCalendar): New method.
6501 (setExtra): Use setTime().
6502 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6503
6504 2002-12-03 Tom Tromey <tromey@redhat.com>
6505
6506 * java/lang/Character.java (forDigit): Formatting fix.
6507
6508 2002-12-03 Raif Naffah <raif@fl.net.au>
6509
6510 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6511 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6512 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6513
6514 2002-12-03 Andrew Haley <aph@redhat.com>
6515
6516 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6517 _Jv_PushClass.
6518 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6519 (_Jv_PopClass): New.
6520 (_Jv_PushClass): New.
6521 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6522 discover the ClassLoader of our caller.
6523 (_Jv_CheckArrayStore): Don't check that a class is assignment
6524 compatible with Object.
6525 * java/lang/natVMTHrowable.cc: Delete.
6526 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6527 java.lang.VMThrowable.
6528 (StackTrace(), StackTrace(int)): New constructors.
6529 (classAt, methodAt, update, methodAtAddress): New methods.
6530 (map): New field.
6531 * java/lang/VMThrowable.java: Use StackTrace instead of
6532 natVMTHrowable.
6533 * java/lang/Class.h (getClassLoaderInternal): New.
6534 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6535 Be friendly with gnu::gcj::runtime::StackTrace.
6536 (Object.chain): New field.
6537 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6538 gnu::gcj::runtime::StackTrace.
6539 * gnu/gcj/runtime/natStackTrace.cc: New file.
6540 * gnu/gcj/runtime/MethodRef.java: New file.
6541 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6542 instead of getClassLoader().
6543 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6544 java::lang::VMThrowable.
6545 * Makefile.am (core_java_source_files): Add MethodRef.java,
6546 StackTrace.java.
6547 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6548 * Makefile.in: Rebuild.
6549
6550 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6551
6552 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6553 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6554 yes also for sh-linux* and sh[34]*-linux*.
6555 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6556 set SIGNAL_HANDLER to use DWARF2 exception for them.
6557 * configure: Regenerate.
6558
6559 2002-12-02 Tom Tromey <tromey@redhat.com>
6560
6561 * jni.cc: Added `name' argument.
6562 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6563 `const char *' argument.
6564 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6565
6566 2002-12-01 Tom Tromey <tromey@redhat.com>
6567
6568 Bug compatibility, for PR libgcj/8738:
6569 * java/io/CharArrayWriter.java (close): Do nothing.
6570 (flush): Likewise.
6571 (reset): Don't touch `closed'.
6572 (write(int)): Don't throw IOException.
6573 (write(char[],int,int)): Likewise.
6574 (write(String,int,int)): Likewise.
6575 (closed): Removed.
6576
6577 2002-12-01 Mark Wielaard <mark@klomp.org>
6578
6579 * java/lang/SecurityManager.java: Remerge comments, indenting and
6580 checkXXX methods with Classpath.
6581
6582 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6583
6584 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6585 getNormalizedComponents): Fix calculation which was using one too
6586 many bits in the unnormalized format.
6587
6588 2002-11-29 Gary Benson <gbenson@redhat.com>
6589
6590 For PR libgcj/8759:
6591 * java/beans/Introspector.java (flushCaches): New method.
6592 (flushFromCaches): Likewise.
6593
6594 2002-11-29 Michael Koch <konqueror@gmx.de>
6595
6596 * java/nio/channels/DatagramChannel.java
6597 (open): Added exception documentation.
6598 (write): Added exception documentation.
6599 (connect): Added exception documentation.
6600 (disconnect): Added exception documentation.
6601 (isConnected): Added exception documentation.
6602 (read): Added exception documentation.
6603 (receive): Added exception documentation.
6604 (send): Added exception documentation.
6605 (validOps): Added exception documentation.
6606 * java/nio/channels/SocketChannel.java
6607 (open): Added exception documentation.
6608 (read): Added exception documentation.
6609 (write): Added exception documentation.
6610 (connect): Added exception documentation.
6611 (finishConnect): Added exception documentation.
6612
6613 2002-11-29 Michael Koch <konqueror@gmx.de>
6614
6615 * gnu/java/nio/DatagramChannelImpl:
6616 (fd): New member variable to store file descriptor of socket.
6617 * gnu/java/nio/SelectionKeyImpl.java:
6618 (ops): Removed.
6619 (readyOps): New member variable.
6620 (interestOps): New member variable.
6621 (readyOps): Implemented.
6622 (readyOps): New method to set member variable readyOps.
6623 (interestOps): Replaced ops by interestOps.
6624 * gnu/java/nio/SelectorImpl.java:
6625 (SelectorImpl): Initialize key sets.
6626 (select): Call select with -1 instead of Long.MAX_VALUE).
6627 (java_do_select): Make it a native method.
6628 (getFDsAsArray): New helper method.
6629 (select): Remove canceled keys, give only interested file discriptors
6630 to java_do_select, set ready ops.
6631 (add): No need to initialize keys set here.
6632 (add_selected): No need to initialize selected set here.
6633 (deregisterCanceledKeys): New helper method.
6634 (register): Set interest ops, set attachments, added handling of datagram
6635 channels.
6636 * gnu/java/nio/ServerSocketChannelImpl:
6637 (SocketAccept): Renamed from NioSocketAccept.
6638 (implConfigureBlocking): Implemented.
6639 (accept): Use SocketAccept instead of NioSocketAccept.
6640 * gnu/java/nio/SocketChannelImpl:
6641 Reactivate native methods.
6642
6643 2002-11-29 Michael Koch <konqueror@gmx.de>
6644
6645 * gnu/java/nio/natByteBufferImpl.cc,
6646 gnu/java/nio/natCharBufferImpl.cc,
6647 gnu/java/nio/natDoubleBufferImpl.cc,
6648 gnu/java/nio/natFloatBufferImpl.cc,
6649 gnu/java/nio/natIntBufferImpl.cc,
6650 gnu/java/nio/natLongBufferImpl.cc,
6651 gnu/java/nio/natSelectorImpl.cc,
6652 gnu/java/nio/natServerSocketChannelImpl.cc,
6653 gnu/java/nio/natShortBufferImpl.cc,
6654 gnu/java/nio/natSocketChannelImpl.cc:
6655 New files that implement native functionalities.
6656
6657 2002-11-29 Michael Koch <konqueror@gmx.de>
6658
6659 * gnu/java/nio/ByteBufferImpl.java
6660 (ByteBufferImpl): Moved position() after limit.
6661 (nio_*): Use native implementation.
6662 * gnu/java/nio/CharBufferImpl.java:
6663 Reformated.
6664 (endian): New member variable string endianess of buffer.
6665 (CharBufferImpl): Moved position() after limit.
6666 (nio_*): Use native implementation.
6667 (subSequence): Implemented.
6668 * gnu/java/nio/DoubleBufferImpl.java
6669 (DoubleBufferImpl): Moved position() after limit.
6670 (nio_*): Use native implementation.
6671 * gnu/java/nio/FloatBufferImpl.java
6672 Reformated.
6673 (FloatBufferImpl): Moved position() after limit.
6674 (nio_*): Use native implementation.
6675 * gnu/java/nio/IntBufferImpl.java
6676 Added needed imports, Reformated.
6677 (IntBufferImpl): Moved position() after limit.
6678 (nio_*): Use native implementation.
6679 * gnu/java/nio/LongBufferImpl.java
6680 Reformated.
6681 (LongBufferImpl): Moved position() after limit.
6682 (nio_*): Use native implementation.
6683 * gnu/java/nio/ShortBufferImpl.java
6684 Reformated.
6685 (ShortBufferImpl): Moved position() after limit.
6686 (nio_*): Use native implementation.
6687
6688 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6689
6690 * java/util/Locale.java (toString): Improve efficiency if country
6691 and variant are both empty.
6692
6693 2002-11-26 Tom Tromey <tromey@redhat.com>
6694
6695 * verify.cc (pop_init_ref): New method.
6696 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6697 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6698 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6699 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6700 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6701 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6702 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6703 let `this' argument be uninitialized. Don't let `null' be passed
6704 as `this' to construtor.
6705
6706 2002-11-26 Mark Wielaard <mark@klomp.org>
6707
6708 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6709 * javax/transaction/HeuristicMixedException.java: Likewise.
6710 * javax/transaction/HeuristicRollbackException.java: Likewise.
6711 * javax/transaction/InvalidTransactionException.java: Likewise.
6712 * javax/transaction/NotSupportedException.java: Likewise.
6713 * javax/transaction/RollbackException.java: Likewise.
6714 * javax/transaction/Status.java: Likewise.
6715 * javax/transaction/Synchronization.java: Likewise.
6716 * javax/transaction/SystemException.java: Likewise.
6717 * javax/transaction/Transaction.java: Likewise.
6718 * javax/transaction/TransactionManager.java: Likewise.
6719 * javax/transaction/TransactionRequiredException.java: Likewise.
6720 * javax/transaction/TransactionRolledbackException.java: Likewise.
6721 * javax/transaction/UserTransaction.java: Likewise.
6722 * javax/transaction/xa/XAException.java: Likewise.
6723 * javax/transaction/xa/XAResource.java: Likewise.
6724 * javax/transaction/xa/Xid.java: Likewise.
6725
6726 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6727
6728 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6729 define.
6730 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6731 * include/posix.h (socklen_t): Define if not already defined.
6732
6733 2002-11-25 Tom Tromey <tromey@redhat.com>
6734
6735 * verify.cc (type::compatible): Backed out broken change.
6736
6737 * verify.cc (type::compatible): Check initialization status
6738 first.
6739 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6740 Don't use NULLCHECK.
6741
6742 2002-11-23 H.J. Lu <hjl@gnu.org>
6743
6744 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6745 Include ../config/accross.m4.
6746 * aclocal.m4; Rebuild.
6747 * configure: Likewise.
6748
6749 2002-11-23 Mark Wielaard <mark@klomp.org>
6750
6751 * javax/naming/AuthenticationException.java: Update copyright header.
6752 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6753 * javax/naming/Binding.java: Likewise.
6754 * javax/naming/CannotProceedException.java: Likewise.
6755 * javax/naming/CommunicationException.java: Likewise.
6756 * javax/naming/CompositeName.java: Likewise.
6757 * javax/naming/CompoundName.java: Likewise.
6758 * javax/naming/ConfigurationException.java: Likewise.
6759 * javax/naming/Context.java: Likewise.
6760 * javax/naming/ContextNotEmptyException.java: Likewise.
6761 * javax/naming/InitialContext.java: Likewise.
6762 * javax/naming/InsufficientResourcesException.java: Likewise.
6763 * javax/naming/InterruptedNamingException.java: Likewise.
6764 * javax/naming/LimitExceededException.java: Likewise.
6765 * javax/naming/LinkException.java: Likewise.
6766 * javax/naming/LinkLoopException.java: Likewise.
6767 * javax/naming/LinkRef.java: Likewise.
6768 * javax/naming/MalformedLinkException.java: Likewise.
6769 * javax/naming/NameAlreadyBoundException.java: Likewise.
6770 * javax/naming/NameClassPair.java: Likewise.
6771 * javax/naming/NameNotFoundException.java: Likewise.
6772 * javax/naming/NameParser.java: Likewise.
6773 * javax/naming/NamingEnumeration.java: Likewise.
6774 * javax/naming/NamingSecurityException.java: Likewise.
6775 * javax/naming/NoInitialContextException.java: Likewise.
6776 * javax/naming/NoPermissionException.java: Likewise.
6777 * javax/naming/NotContextException.java: Likewise.
6778 * javax/naming/OperationNotSupportedException.java: Likewise.
6779 * javax/naming/PartialResultException.java: Likewise.
6780 * javax/naming/Reference.java: Likewise.
6781 * javax/naming/Referenceable.java: Likewise.
6782 * javax/naming/ReferralException.java: Likewise.
6783 * javax/naming/ServiceUnavailableException.java: Likewise.
6784 * javax/naming/SizeLimitExceededException.java: Likewise.
6785 * javax/naming/TimeLimitExceededException.java: Likewise.
6786 * javax/naming/directory/Attribute.java: Likewise.
6787 * javax/naming/directory/AttributeInUseException.java: Likewise.
6788 * javax/naming/directory/AttributeModificationException.java: Likewise.
6789 * javax/naming/directory/Attributes.java: Likewise.
6790 * javax/naming/directory/BasicAttribute.java: Likewise.
6791 * javax/naming/directory/BasicAttributes.java: Likewise.
6792 * javax/naming/directory/DirContext.java: Likewise.
6793 * javax/naming/directory/InitialDirContext.java: Likewise.
6794 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6795 Likewise.
6796 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6797 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6798 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6799 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6800 * javax/naming/directory/ModificationItem.java: Likewise.
6801 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6802 * javax/naming/directory/SchemaViolationException.java: Likewise.
6803 * javax/naming/directory/SearchControls.java: Likewise.
6804 * javax/naming/directory/SearchResult.java: Likewise.
6805 * javax/naming/event/EventContext.java: Likewise.
6806 * javax/naming/event/EventDirContext.java: Likewise.
6807 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6808 * javax/naming/event/NamingEvent.java: Likewise.
6809 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6810 * javax/naming/event/NamingListener.java: Likewise.
6811 * javax/naming/event/ObjectChangeListener.java: Likewise.
6812 * javax/naming/ldap/Control.java: Likewise.
6813 * javax/naming/ldap/ControlFactory.java: Likewise.
6814 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6815 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6816 * javax/naming/ldap/HasControls.java: Likewise.
6817 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6818 * javax/naming/ldap/LdapContext.java: Likewise.
6819 * javax/naming/ldap/LdapReferralException.java: Likewise.
6820 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6821 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6822 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6823 * javax/naming/spi/DirObjectFactory.java: Likewise.
6824 * javax/naming/spi/DirStateFactory.java: Likewise.
6825 * javax/naming/spi/DirectoryManager.java: Likewise.
6826 * javax/naming/spi/InitialContextFactory.java: Likewise.
6827 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6828 * javax/naming/spi/NamingManager.java: Likewise.
6829 * javax/naming/spi/ObjectFactory.java: Likewise.
6830 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6831 * javax/naming/spi/ResolveResult.java: Likewise.
6832 * javax/naming/spi/Resolver.java: Likewise.
6833 * javax/naming/spi/StateFactory.java: Likewise.
6834
6835 * javax/naming/spi/NamingManager.java (ofb): Package private.
6836
6837 2002-11-21 Mark Wielaard <mark@klomp.org>
6838
6839 * java/net/URL.java: Merge with Classpath (partly).
6840 * java/net/URLStreamHandler: Merge with Classpath.
6841
6842 2002-11-22 Michael Koch <konqueror@gmx.de>
6843
6844 * include/posix.h:
6845 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6846 * include/win32.h:
6847 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6848 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6849
6850 2002-11-21 Michael Koch <konqueror@gmx.de>
6851
6852 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6853 Only the new network functions should be in it.
6854
6855 2002-11-21 Michael Koch <konqueror@gmx.de>
6856
6857 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6858 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6859
6860 2002-11-21 Michael Koch <konqueror@gmx.de>
6861
6862 * java/nio/channels/AsynchronousCloseException.java,
6863 java/nio/channels/CancelledKeyException.java,
6864 java/nio/channels/ClosedByInterruptException.java,
6865 java/nio/channels/ConnectionPendingException.java,
6866 java/nio/channels/FileLockInterruptionException.java,
6867 java/nio/channels/IllegalSelectorException.java,
6868 java/nio/channels/NoConnectionPendingException.java,
6869 java/nio/channels/NonReadableChannelException.java,
6870 java/nio/channels/NonWritableChannelException.java,
6871 java/nio/channels/NotYetBoundException.java,
6872 java/nio/channels/NotYetConnectedException.java,
6873 java/nio/channels/OverlappingFileLockException.java,
6874 java/nio/channels/UnresolvedAddressException.java,
6875 java/nio/channels/UnsupportedAddressTypeException.java:
6876 New files.
6877 * Makefile.am (ordinary_java_source_files): Added new files.
6878 * Makefile.in: Regenerated.
6879
6880 2002-11-21 Michael Koch <konqueror@gmx.de>
6881
6882 * include/posix.h
6883 (_Jv_socket): New method.
6884 (_Jv_connect): New method.
6885 (_Jv_close): New method.
6886 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6887 (_Jv_bind): New method.
6888 (_Jv_listen): New method.
6889 (_Jv_write): New method.
6890 (_Jv_read): New method.
6891 * include/win32.h
6892 (_Jv_socket): New method.
6893 (_Jv_connect): New method.
6894 (_Jv_close): New method.
6895 (_Jv_bind): New method.
6896 (_Jv_listen): New method.
6897 (_Jv_write): New method.
6898 (_Jv_read): New method.
6899 * java/net/natNetworkInterface.cc:
6900 Include platform.h, removed inclusion of socket.h
6901 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6902 ::close() by _Jv_close().
6903 * java/net/natPlainDatagramSocketImpl.cc:
6904 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6905 added some new lines to make code more readable.
6906 (create): Replaced ::socket() by _Jv_socket().
6907 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6908 * java/net/natPlainSocketImpl.cc:
6909 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6910 removed include of socket.h, removed some windows defines
6911 (now in include/win32.h).
6912 (create): Replaced ::socket() by _Jv_socket().
6913 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6914 (write): Replaced ::read by _Jv_write().
6915 (read): Replaced ::read by _Jv_read().
6916
6917 2002-11-20 Michael Koch <konqueror@gmx.de>
6918
6919 * Makefile.am (ordinary_java_source_files):
6920 Added java/nio/channels/FileChannel.java.
6921 * Makefile.in: Regenerated.
6922
6923 2002-11-20 Michael Koch <konqueror@gmx.de>
6924
6925 * java/io/FileInputStream.java
6926 (getChannel): New method.
6927 * java/io/FileOutputStream.java
6928 (getChannel): New method.
6929 * java/net/ServerSocket.java
6930 (bind): Removed duplicate code and called another bind method instead.
6931 * java/nio/channels/SelectionKey.java
6932 (isValid): Removed wrong exception documentation.
6933 * java/nio/channels/ServerSocketChannel.java
6934 (accept): Added exception documentation.
6935 (open): Fixed typo, added exception documentation.
6936 * java/nio/channels/spi/AbstractSelectableChannel.java
6937 (implCloseChannel): Added exception documentation.
6938 (add): Reformated.
6939 (register): Added exception documentation.
6940
6941 2002-11-20 Andreas Jaeger <aj@suse.de>
6942
6943 * configure: Regenerated with new libtool.m4.
6944
6945 2002-11-19 Tom Tromey <tromey@redhat.com>
6946
6947 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6948 `referent'.
6949 (finalize_referred_to_object): Don't modify `referent' or `copy'
6950 fields.
6951 (add_to_hash): Correctly set `n->next' when updating list.
6952 * java/lang/ref/Reference.java (enqueue): Return false if already
6953 enqueued.
6954
6955 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6956
6957 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6958 to function and function pointer declarations in accordance with
6959 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6960 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6961 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6962 JNI function definitions.
6963
6964 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6965
6966 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6967 that was causing CoderResults to be cached, not WeakReferences
6968 to CoderResults.
6969
6970 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6971
6972 * java/security/KeyStore.java (getInstance): Fix
6973 comment and throw IllegalArgumentException if
6974 given provider is null.
6975 (getInstance): New method for jdk1.4 compatibility.
6976
6977 2002-11-18 Michael Koch <konqueror@gmx.de>
6978
6979 * java/net/PlainSocketImpl.java: Fix imports.
6980
6981 2002-11-18 Michael Koch <konqueror@gmx.de>
6982
6983 * java/nio/channels/SelectionKey.java
6984 (isValid): Added exception documentation.
6985 * java/nio/channels/Selector.java
6986 (open): Declare "throws IOException".
6987
6988 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6989
6990 * java/nio/charset/Charset.java
6991 (<clinit>): New method.
6992 (encode): Synchronize use of cached encoder object.
6993 (decode): Synchronize use of cached encoder object.
6994
6995 2002-11-18 Michael Koch <konqueror@gmx.de>
6996
6997 * gnu/java/nio/ByteBufferImpl.java,
6998 gnu/java/nio/CharBufferImpl.java,
6999 gnu/java/nio/DatagramChannelImpl.java,
7000 gnu/java/nio/DoubleBufferImpl.java,
7001 gnu/java/nio/FileChannelImpl.java,
7002 gnu/java/nio/FloatBufferImpl.java,
7003 gnu/java/nio/IntBufferImpl.java,
7004 gnu/java/nio/LongBufferImpl.java,
7005 gnu/java/nio/PipeImpl.java,
7006 gnu/java/nio/SelectionKeyImpl.java,
7007 gnu/java/nio/SelectorImpl.java,
7008 gnu/java/nio/SelectorProviderImpl.java,
7009 gnu/java/nio/ServerSocketChannelImpl.java,
7010 gnu/java/nio/ShortBufferImpl.java,
7011 gnu/java/nio/SocketChannelImpl.java,
7012 java/nio/DoubleBuffer.java,
7013 java/nio/FloatBuffer.java,
7014 java/nio/IntBuffer.java,
7015 java/nio/LongBuffer.java,
7016 java/nio/ShortBuffer.java,
7017 java/nio/channels/FileChannel.java: New files.
7018
7019 2002-11-18 Michael Koch <konqueror@gmx.de>
7020
7021 * Makefile.am (ordinary_java_source_files):
7022 Added java/nio/ReadOnlyBufferException.java and
7023 java/nio/channels/ClosedSelectorException.java.
7024 * Makefile.in: Regenerated.
7025
7026 2002-11-18 Michael Koch <konqueror@gmx.de>
7027
7028 * java/net/PlainSocketImpl.java: Reworked imports.
7029 * java/net/ServerSocket.java
7030 (ServerSocket): Create socket.
7031 * java/net/SocketAddress.java: Documentation added.
7032 * java/net/natPlainSocketImpl.cc: Reindented.
7033 * java/nio/ReadOnlyBufferException.java: New file
7034 * java/nio/channels/ClosedChannelException.java: Documentation added.
7035 * java/nio/channels/ClosedSelectorException.java: New file.
7036
7037 2002-11-17 Mark Wielaard <mark@klomp.org>
7038
7039 * java/net/HttpURLConnection.java ((getPermission): Take port
7040 into consideration.
7041 (getErrorStream): Implement.
7042
7043 2002-11-17 Mark Wielaard <mark@klomp.org>
7044
7045 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7046
7047 2002-11-16 Mark Wielaard <mark@klomp.org>
7048
7049 Integrate work by Raif S. Naffah (raif@fl.net.au)
7050 * java/security/DummyKeyPairGenerator.java (clone): New method.
7051 * java/security/DummyMessageDigest.java (clone): New method.
7052 (engineUpdate): Now public.
7053 (engineReset): Likewise.
7054 (engineDigest): Likewise.
7055 (engineGetDigestLength): New method.
7056 * java/security/DummySignature.java (clone): New method.
7057 * java/security/KeyPairGenerator.java (provider): Now package private.
7058 (getInstance(String)): Use getInstance(String,Provider).
7059 (getInstance(String,String): Use getInstance(String,Provider)
7060 (getInstance(String,Provider): New method.
7061 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7062 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7063 * java/security/MessageDigest.java (provider): Now package private.
7064 (getInstance(String): Use getInstance(String,Provider).
7065 (getInstance(String,String): Use getInstance(String,Provider)
7066 (getInstance(String,Provider): New method.
7067 * java/security/Provider.java (toCanonicalKey): New method.
7068 (get): New method that uses toCanonicalKey().
7069 (put): Use toCanonicalKey().
7070 (remove): Likewise.
7071 * java/security/Security.java (insertProviderAt): Provider index is one
7072 based, not zero based.
7073 (addProvider): Likewise.
7074 (removeProvider): Likewise.
7075 * java/security/Signature.java (provider): Now package private.
7076 (getInstance(String)): Use getInstance(String,Provider).
7077 (getInstance(String,String): Use getInstance(String,Provider)
7078 (getInstance(String,Provider): New method.
7079 (getInstance(String,String,Provider): Don't cast DummySignature.
7080
7081 2002-11-15 Tom Tromey <tromey@redhat.com>
7082
7083 For PR libgcj/8593:
7084 * java/util/zip/GZIPInputStream.java (read): Check file size.
7085 Look in inflater for remaining input bytes.
7086 (read4): Added buf and offset arguments.
7087
7088 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7089
7090 * java/applet/AppletContext.java: Fix typo and remove redundant
7091 modifiers.
7092
7093 2002-11-14 Tom Tromey <tromey@redhat.com>
7094
7095 * java/lang/natRuntime.cc (insertSystemProperties): Set
7096 gnu.classpath.home.
7097
7098 2002-11-13 Michael Koch <konqueror@gmx.de>
7099
7100 * java/nio/ByteBuffer.java
7101 (allocate): New method.
7102 (wrap): New method.
7103 (put): New method.
7104 (get): New method.
7105
7106 2002-11-13 Michael Koch <konqueror@gmx.de>
7107
7108 * java/nio/channels/AlreadyConnectedException.java:
7109 Removed unneeded import.
7110 (AlreadyConnectedException): Documentation added.
7111 * java/nio/channels/Pipe.java
7112 (SinkChannel.SinkChannel): Documentation added.
7113 (SinkChannel.validOps): New method.
7114 (SourceChannel.SourceChannel): Documentation added.
7115 (SourceChannel.validOps): New method.
7116 (Pipe): Documentation added.
7117 (open): Documentation added.
7118 (SinkChannel.channel): Documentation added.
7119 (SourceChannel.channel): Documentation added.
7120 * java/nio/channel/SelectableChannel.java
7121 (SelectableChannel): Documentation added.
7122 (blockingLock): Documentation added.
7123 (configureBlocking):Documentation added.
7124 (isBlocking):Documentation added.
7125 (isRegistered):Documentation added.
7126 (keyFor):Documentation added.
7127 (provider):Documentation added.
7128 (register): Documentation added.
7129 (validOps): Documentation added.
7130 * jaba/nio/channels/SelectionKey.java
7131 (SelectionKey): Documentation added.
7132 (attach): Documentation added.
7133 (attachment): Documentation added.
7134 (isAcceptable): Documentation added.
7135 (isConnetable): Documentation added.
7136 (isReadable): Documentation added.
7137 (isWritable): Documentation added.
7138 (cancel): Documentation added.
7139 (channel): Documentation added.
7140 (interestOps): Documentation added.
7141 (isValid): Documentation added.
7142 (readyOps): Documentation added.
7143 (selector): Documentation added.
7144 * jaba/nio/channels/Selector.java
7145 (Selector): Documentation added.
7146 (open): Documentation added.
7147 (close): Documentation added.
7148 (isOpen): Documentation added.
7149 (keys): Documentation added.
7150 (provider): Documentation added.
7151 (select): Documentation added.
7152 (selectedKeys): Documentation added.
7153 (selectNow): Documentation added.
7154 (wakeup): Documentation added.
7155 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7156 (AbstractInterruptibleChannel): Documentation added.
7157 (opened): Default to true;
7158 (begin): Documentation added.
7159 (close): Set opened to false, documentation added.
7160 (isOpen): Documentation added.
7161 * java/nio/channels/spi/AbstractSelectionKey.java
7162 (AbstractSelectionKey): Documentation added.
7163 (cancel): Documentation added.
7164 (isValid): Documentation added.
7165 * java/nio/channels/spi/AbstractSelector.java
7166 (AbstractSelector): Documentation added.
7167 (begin): Documentation added.
7168 (close): Documentation added.
7169 (isOpen): Documentation added.
7170 (deregister): Documentation added.
7171 (end): Documentation added.
7172 (provider): Documentation added.
7173 (implCloseSelector): Documentation added.
7174 (register): Documentation added.
7175 * java/nio/channels/spi/SelectorProvider.java
7176 (SelectorProvider): Documentation added.
7177 (openDatagramChannel): Documentation added.
7178 (openPipe): Documentation added.
7179 (openSelector): Documentation added.
7180 (openServerSocketChannel): Documentation added.
7181 (openSocketChannel): Documentation added.
7182 (provider): Documentation added.
7183
7184 2002-11-12 Michael Koch <konqueror@gmx.de>
7185
7186 * java/nio/Buffer.java: Implemented.
7187 * java/nio/CharBuffer.java: New file.
7188 * java/nio/InvalidMarkException.java: New file.
7189 * java/nio/channels/DatagramChannel.java: Implemented.
7190 * java/nio/channels/ServerSocketChannel.java: Implemented.
7191 * java/nio/channels/SocketChannel.java: Implemented.
7192 * java/nio/channels/spi/AbstractChannel.java: Removed.
7193 * java/nio/channels/spi/AbstractSelectableChannel.java:
7194 Implemented.
7195 * java/nio/charset/Charset.java:
7196 Merge from Classpath.
7197 * java/nio/charset/CharsetDecoder.java: New file.
7198 * java/nio/charset/CharsetEncoder.java: New file.
7199 * java/nio/charset/CoderResult.java: New file.
7200 * Makefile.am (ordinary_java_source_files): Added new files.
7201 * Makefile.in: Regenerated.
7202
7203 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7204
7205 * gnu/java/nio/charset/ISO_8859_1.java,
7206 gnu/java/nio/charset/Provider.java,
7207 gnu/java/nio/charset/US_ASCII.java,
7208 gnu/java/nio/charset/UTF_16.java,
7209 gnu/java/nio/charset/UTF_16BE.java,
7210 gnu/java/nio/charset/UTF_16Decoder.java,
7211 gnu/java/nio/charset/UTF_16Encoder.java,
7212 gnu/java/nio/charset/UTF_16LE.java,
7213 gnu/java/nio/charset/UTF_8.java: New files.
7214
7215 2002-11-11 Michael Koch <konqueror@gmx.de>
7216
7217 * java/nio/charset/CharacterCodingException.java:
7218 This class must be public.
7219 * java/nio/charset/CoderMalfunctionError.java:
7220 This class must be public.
7221 * java/nio/charset/CodingErrorAction.java:
7222 This class must be public.
7223 * java/nio/charset/IllegalCharsetNameException.java:
7224 This class must be public, better implementation.
7225 * java/nio/charset/MalformedInputException.java:
7226 This class must be public, better implementation.
7227 * java/nio/charset/UnmappableCharacterException.java:
7228 This class must be public, better implementation.
7229 * java/nio/charset/UnsupportedCharsetException.java:
7230 This class must be public, better implementation.
7231
7232 2002-11-11 Michael Koch <konqueror@gmx.de>
7233
7234 * java/nio/BufferOverflowException.java,
7235 java/nio/BufferUnderflowException.java: New file.
7236 * Makefile.am (ordinary_java_source_files):
7237 Added new files.
7238 * Makefile.in: Regenerated.
7239
7240 2002-11-10 Tom Tromey <tromey@redhat.com>
7241
7242 * java/awt/Container.java (validate): Use tree lock.
7243 (getComponent): Likewise.
7244 (getComponents): Likewise.
7245 (addImpl): Likewise.
7246 (remove): Likewise.
7247 (removeAll): Likewise.
7248 (processEvent): Fixed indentation.
7249 (getComponentAt): Use tree lock.
7250 (findComponentAt): Likewise.
7251 (removeNotify): Likewise.
7252 (isAncestorOf): Likewise.
7253 (list): Likewise.
7254 (visitChildren): Likewise.
7255 (findNextFocusComponent): Likewise.
7256 (addNotifyContainerChildren): Likewise.
7257 (getAccessibleChildrenCount): Likewise.
7258 (getAccessibleChild): Likewise.
7259
7260 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7261 (getSize): Likewise.
7262 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7263 (getSize): Likewise.
7264 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7265 (calcSize): Likewise.
7266 * java/awt/CardLayout.java (getSize): Use tree lock.
7267 (gotoComponent): Likewise.
7268 (layoutContainer): Likewise.
7269
7270 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7271 count is 0.
7272 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7273 count is 0.
7274
7275 * java/io/Externalizable.java, java/io/FilePermission.java,
7276 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7277 java/io/SerializablePermission.java, java/text/Format.java,
7278 java/util/AbstractMap.java, java/util/HashMap.java,
7279 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7280 versions from Classpath.
7281
7282 2002-11-10 Anthony Green <green@redhat.com>
7283
7284 * java/util/jar/Attributes.java (Name): Fix name check.
7285
7286 2002-11-10 Mark Wielaard <mark@klomp.org>
7287
7288 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7289 with getName() as message.
7290 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7291 type as message.
7292
7293 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7294 unused.
7295
7296 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7297
7298 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7299 for Win32. JNICALL has been defined to __stdcall to be compatible
7300 with Sun's JDKs.
7301
7302 2002-11-10 Tom Tromey <tromey@redhat.com>
7303
7304 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7305 (setRows): Check newRows, not rows.
7306
7307 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7308
7309 2002-11-09 Tom Tromey <tromey@redhat.com>
7310
7311 * java/applet/Applet.java, java/applet/AppletContext.java,
7312 java/applet/AppletStub.java, java/applet/AudioClip.java,
7313 java/awt/CardLayout.java,
7314 java/awt/ContainerOrderFocusTraversalPolicy.java,
7315 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7316 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7317 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7318 java/awt/color/ICC_ColorSpace.java,
7319 java/awt/color/ICC_Profile.java,
7320 java/awt/color/ICC_ProfileGray.java,
7321 java/awt/color/ICC_ProfileRGB.java,
7322 java/awt/datatransfer/DataFlavor.java,
7323 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7324 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7325 New versions from Classpath.
7326 * Makefile.in: Rebuilt.
7327 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7328 ICC_ProfileRGB.
7329
7330 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7331 display policy.
7332
7333 * java/awt/List.java (processEvent): Added missing `else's.
7334
7335 * java/awt/Window.java (show): validate() before showing. Make
7336 parent displayable.
7337 (isDisplayable): New method.
7338
7339 2002-11-07 Mark Wielaard <mark@klomp.org>
7340
7341 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7342 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7343
7344 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7345 annotation.
7346 (loadClass): Take String as codebases.
7347 (getClassAnnotation): Use MyClassLoader annotations.
7348 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7349 call exportObject(this).
7350
7351 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7352 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7353 (setAnnotation): Don't set locBytesStream and locStream.
7354 (replaceObject): Removed.
7355 (flush): Don't test locStream.
7356 (getLocBytes): LikeWise.
7357 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7358 (leaseCache): New field.
7359 (dirty): Use leaseCache.
7360 (LeaseRecord): New inner class.
7361 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7362 explicitly call exportObject().
7363 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7364 false to communicate with Sun JDK130.
7365 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7366 * gnu/java/rmi/server/RMIObjectInputStream.java
7367 (UnicastConnectionManager): Removed field.
7368 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7369 Use UnicastServer.getExportedRef().
7370 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7371 (expireTime): Likewise.
7372 (CONNECTION_TIMEOUT): Likewise.
7373 (disconnect): Call sock.close().
7374 (isExpired): New method.
7375 (resetTime): Likewise.
7376 (run): Use do while loop and catch Exception for discardConnection().
7377 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7378 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7379 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7380 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7381 (exportObject): Use refcache.
7382 (unexportObject): Likewise.
7383 (getExportedRef): New method.
7384 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7385 constructor.
7386 (exportObject): Save manager.serverobj.
7387 (getStub): New method.
7388
7389 2002-11-07 Mark Wielaard <mark@klomp.org>
7390
7391 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7392 (getByte): Likewise.
7393 (getShort): Likewise.
7394 (getInt): Likewise.
7395 (getLong): Likewise.
7396 (getFloat): Likewise.
7397 (getDouble): Likewise.
7398 (get): Likewise.
7399 (setChar): Likewise.
7400 (setByte): Likewise.
7401 (setShort): Likewise.
7402 (setInt): Likewise.
7403 (setLong): Likewise.
7404 (setFloat): Likewise.
7405 (setDouble): Likewise.
7406
7407 2002-11-07 Michael Koch <konqueror@gmx.de>
7408
7409 * java/awt/Choice.java,
7410 java/awt/Container.java,
7411 java/awt/GridBagLayout.java:
7412 Fixed documentation.
7413 * java/awt/peer/ContainerPeer.java:
7414 Reindented.
7415
7416 2002-11-07 Michael Koch <konqueror@gmx.de>
7417
7418 * java/awt/color/ICC_Profile.java:
7419 Added missing constants.
7420 * java/awt/color/ICC_ColorSpace.java
7421 (getMinValue): Added dummy implementation.
7422 (getMaxValue): Added dummy implementation.
7423 * java/awt/datatransfer/DataFlavor.java
7424 (imageFlavor): Added.
7425 (isMimeTypeEqual): Must be final.
7426 (getDefaultRepresentationClass): Must be non-static.
7427 (getDefaultRepresentationClassAsString): Must be non-static.
7428 * java/awt/dnd/DragSourceContext.java
7429 (dragExit): Corrected argument.
7430 (dragDropEnd): Corrected argument.
7431 * java/awt/dnd/DragSourceListener.java.java
7432 (dragExit): Corrected argument.
7433 (dragDropEnd): Corrected argument.
7434 * java/awt/font/TextHitInfo.java
7435 (toString): Added stubbed implementation.
7436 * java/awt/geom/PathIterator.java:
7437 The constants must be static.
7438 * java/awt/image/VolatileImage.java
7439 (IMAGE_INCOMPATIBLE): Fixed typo.
7440 * java/awt/image/renderable/RenderableImage.java
7441 (HINTS_OBSERVED): Must be static.
7442 * java/beans/BeanInfo.java:
7443 Constants must be final.
7444
7445 2002-11-06 Tom Tromey <tromey@redhat.com>
7446
7447 From svens@it.uu.se. For PR libgcj/8481.
7448 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7449
7450 2002-11-06 Tom Tromey <tromey@redhat.com>
7451
7452 * jni.cc (array_from_valist): Assume that jlong won't be
7453 promoted.
7454
7455 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7456
7457 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7458 Return 20.
7459 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7460 Return 16.
7461
7462 2002-11-03 Tom Tromey <tromey@redhat.com>
7463
7464 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7465 VMClassLoader, not findClass.
7466
7467 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7468
7469 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7470 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7471 _Jv_DetermineVTableIndex, to determine vtable offset.
7472 (_Jv_DetermineVTableIndex): Remove.
7473 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7474
7475 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7476
7477 2002-11-03 Tom Tromey <tromey@redhat.com>
7478
7479 * java/nio/channels/AlreadyConnectedException.java: Extend
7480 IllegalStateException, per spec.
7481
7482 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7483
7484 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7485
7486 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7487
7488 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7489 size items.
7490
7491 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7492
7493 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7494 initial estimated size to avoid enlarge buffer frequently.
7495
7496 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7497
7498 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7499 ClassLoader when null.
7500 (ProxyType.hashCode): Loader null check no longer needed.
7501 (ProxyType.sameTypes): New method.
7502 (ProxyType.equals): Use new method.
7503
7504 2002-10-31 Mark Wielaard <mark@klomp.org>
7505
7506 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7507 length of String.
7508 * java/net/URLEncoder.java (encode): Likewise.
7509
7510 2002-10-31 Mark Wielaard <mark@klomp.org>
7511
7512 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7513 when stream is closed.
7514 (closeEntry): Likewise.
7515 (read): Likewise.
7516 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7517 ZipException when no entry active.
7518 (closeEntry): Likewise.
7519 (write): Likewise.
7520
7521 2002-11-02 Tom Tromey <tromey@redhat.com>
7522
7523 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7524 * java/lang/natClass.cc (initializeClass): Don't return just
7525 because self==thread.
7526
7527 For PR java/8415:
7528 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7529 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7530
7531 2002-11-02 Andreas Schwab <schwab@suse.de>
7532
7533 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7534 pass GCJFLAGS.
7535 (FLAGS_TO_PASS): Define.
7536 * Makefile.in: Regenerated.
7537
7538 2002-11-01 Michael Koch <konqueror@gmx.de>
7539
7540 * java/nio/ByteOrder.java: New file.
7541 * java/nio/channels/DatagramChannel.java:
7542 (DatagramChannel): New constructor.
7543 * java/nio/channels/Pipe.java: New file.
7544 * java/nio/channels/SelectableChannel.java: New file.
7545 * java/nio/channels/SelectionKey.java: New file.
7546 * java/nio/channels/Selector.java: New file.
7547 * java/nio/channels/ServerSocketChannel.java
7548 (ServerSocketChannel): New constructor.
7549 * java/nio/channels/SocketChannel.java
7550 (SocketChannel): New constructor.
7551 * java/nio/channels/Pipe.java: New file.
7552 * java/nio/channels/spi/AbstractChannel.java: New file.
7553 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7554 * java/nio/channels/spi/AbstractSelectableChannel.java:
7555 License added
7556 (AbstractSelectableChannel): New stubbed method.
7557 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7558 * java/nio/channels/spi/AbstractSelector.java: New file.
7559 * java/nio/channels/spi/SelectorProvider.java: New file.
7560 * java/nio/charset/Charset.java: New file.
7561 * java/nio/charset/CoderMalfunctionError.java: New file.
7562 * java/nio/charset/CodingErrorAction.java: New file.
7563 * java/nio/charset/spi/CharsetProvider.java
7564 (charsetForName): Uncommented.
7565 * Makefile.am (java_native_source_files): Added new files.
7566 * Makefile.in: Regenerated.
7567
7568 2002-11-01 Michael Koch <konqueror@gmx.de>
7569
7570 * java/net/InetAddress.java:
7571 (isAnyLocalAddress): Implemented.
7572 (isLoopbackAddress): Implemented, comment added.
7573 (isLinkLocalAddress): Implemented, documentation added.
7574 (isSiteLocalAddress): Implemented, documentation added.
7575 (isMCGlobal): Implemented, documentation added.
7576 (isMCNodeLocal): Implemented, documentation added.
7577 (isMCLinkLocal): Implemented, documentation added.
7578 (isMCSiteLocal): Implemented, documentation added.
7579 (isMCOrgLocal): Implemented, documentation added.
7580 (getHostName): Documentation added.
7581 (getCanonicalHostName): Implemented, documentation added.
7582 (getAddress): Documentation added.
7583 (hashCode): Documentation added.
7584 (equals): Documentation added.
7585 (toString): Fixed implementation.
7586 (getByAddress): Use Inet4Address and Inet6Address.
7587 (lookup): New linewrap.
7588 (getByName): SecurityManager check added, support Inet4Address and
7589 Inet6address, comments added.
7590 (getAllByName): SecurityManager check added, comments added.
7591 * java/net/Inet6Address.java:
7592 (Inet6Address): Initialize parent class with addr instead of null.
7593 * java/net/URL.java
7594 (equals): Documentation added.
7595 (getFile): Documentation added.
7596 (hashCode): Documentation added.
7597 * java/net/natInetAddress.cc:
7598 (aton): Fix IPv6 support.
7599 * java/net/natPlainDatagramSocketImpl.cc:
7600 (peek): Throw PortUnreachableException when suitable.
7601 (peekData): Throw PortUnreachableException when suitable.
7602 (send): Throw PortUnreachableException when suitable.
7603 (receive): Throw PortUnreachableException when suitable.
7604
7605 2002-10-27 Mark Wielaard <mark@klomp.org>
7606
7607 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7608 argument.
7609 (readLeShort): Likewise and use byte[].
7610 (readLeInt): Likewise.
7611 (readEntries): Use new versions of methods and use byte[] for reading
7612 a complete zip entry. Add ZipFile name to exceptions.
7613 (entries): Add ZipFile name to exceptions.
7614 (getEntry): Likewise.
7615 (checkLocalHeader): Use new versions of methods and add ZipFile name
7616 to exceptions.
7617
7618 2002-10-31 Mark Anderson <mark@panonet.net>
7619
7620 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7621 added
7622
7623 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7624
7625 * configure.in: Disable hash sync when not using threads.
7626 * configure: Regenerated.
7627
7628 2002-10-24 Tom Tromey <tromey@redhat.com>
7629
7630 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7631 (_Jv_FindSymbolInExecutable): Removed argument name.
7632 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7633 java.library.path is set.
7634
7635 * gij.cc (help): Document --showversion.
7636 (version): Don't exit.
7637 (main): Handle --showversion. Exit if --version given.
7638
7639 2002-10-23 Tom Tromey <tromey@redhat.com>
7640
7641 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7642 (array_from_valist): Correctly handle promotion for jint, jlong,
7643 jfloat, and jdouble.
7644
7645 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7646
7647 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7648 GetFileAttributesEx( ) to find file length and modification times,
7649 as the latter is not present on Windows 95.
7650
7651 2002-10-21 Michael Koch <konqueror@gmx.de>
7652
7653 * java/net/URL.java
7654 (URL): Activate SecurityManager checks.
7655 (equals): Use URLStreamHandler implementation instead of doing it
7656 alone. This allows special protocol stream handlers to change default
7657 behaviour.
7658 (hashCode): Use URLStreamHandler implementation instead of doing it
7659 alone. This allows special protocol stream handlers to change default
7660 behaviour.
7661 * java/net/URLStreamHandler.java
7662 (equals): Implemented default URL equality check.
7663 (hostsEqual): Implemented default URL equality check.
7664 (hashCode): Implemented default URL hashCode algorithm.
7665 * java/net/natPlainDatagramSocketImpl.cc:
7666 No lines longer then 80 characters.
7667
7668 2002-10-20 Adam Megacz <adam@xwt.org>
7669
7670 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7671 * configure.in: enabled hash sync on Win32
7672 * include/win32-threads.h (_Jv_ThreadId_t): added.
7673 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7674 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7675 removed some posix-isms, use Thread::sleep() instead of usleep,
7676 added code to clear bottom three bits if platform has a broken
7677 linker.
7678 * include/win32-threads.h (_Jv_ThreadId_t): added.
7679
7680 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7681
7682 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7683 runtime property "gnu.gcj.progname" containing the name used to
7684 invoke the current Java program (similar to argv[0] for C
7685 programs).
7686
7687 2002-10-15 Tom Tromey <tromey@redhat.com>
7688
7689 Fix for PR libgcj/8234:
7690 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7691 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7692
7693 2002-10-13 Mark Wielaard <mark@klomp.org>
7694
7695 * mauve-libgcj: Enable Mauve tests that compile now.
7696
7697 2002-10-11 Mark Wielaard <mark@klomp.org>
7698
7699 Fix for PR libgcj/8142
7700 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7701 loading native modules.
7702
7703 2002-10-10 Michael Koch <konqueror@gmx.de>
7704
7705 * javax/swing/AbstractListModel.java
7706 (getListDataListeners): New stubbed method.
7707 javax/swing/DefaultBoundedRangeModel.java
7708 (getChangeListeners): New stubbed method.
7709 javax/swing/DefaultSingleSelectionModel.java
7710 (getChangeListeners): New stubbed method.
7711
7712 2002-10-10 Michael Koch <konqueror@gmx.de>
7713
7714 * gcj/.cvsignore: New file to ignore files generated during build.
7715 * include/.cvsignore: New file to ignore files generated during build.
7716
7717 2002-10-10 Michael Koch <konqueror@gmx.de>
7718
7719 * java/net/HttpURLConnection.java
7720 (getPermission): New method.
7721 (getErrorStream): New stub method.
7722 (getHeaderFieldDate): New stub method.
7723 * java/net/Inet4Address.java:
7724 (isLinkLocalAddress): Typo fixed.
7725 * java/net/InetAddress.java:
7726 (readResolve): New stubbed method (for serialization).
7727 (isAnyLocalAddress): New stubbed method.
7728 (isLoopbackAddress): New stubbed method.
7729 (isLinkLocalAddress): New stubbed method.
7730 (isSiteLocalAddress): New stubbed method.
7731 (isMCGlobal): New stubbed method.
7732 (isMCNodeGlobal): New stubbed method.
7733 (isMCLinkLocal): New stubbed method.
7734 (isMCSiteLocal): New stubbed method.
7735 (isMCOrgLocal): New stubbed method.
7736 (getCanonicalHostName): New stubbed method.
7737 (getByAddress): Create instances of Inet4Address/Inet6Address,
7738 instead of InetAddress, documentation added.
7739 * java/net/MulticastSocket.java
7740 (getInterface): Removed FIXME.
7741 (getNetworkInterface): New method.
7742 (setNetworkInterface): New method.
7743 * java/net/NetworkInterface.java:
7744 (toString): Use property "line.separator" instead of "\n".
7745 * java/net/URLConnection.java
7746 (getContent): New stubbed method.
7747 * java/net/URLStreamHandler.java:
7748 (equals): New stubbed method.
7749 (hostsEqual): New stubbed method.
7750 (hashCode): New stubbed method.
7751 * java/net/natNetworkInterface.cc:
7752 (getRealNetworkInterfaces): Create Inet4Address object
7753 instead of InetAddress.
7754
7755 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7756
7757 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7758 unsigned long temporary to implement insn_iushr shifts.
7759
7760 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7761
7762 * configure.host [s390*-*]: Enable Java interpreter.
7763 Enable hash synchronization. Add sysdeps dir.
7764 * sysdep/s390/locks.h: New file.
7765
7766 2002-10-06 Mark Wielaard <mark@klomp.org>
7767
7768 * java/lang/Thread.java (setDaemon): Check startable_flag,
7769 not isAlive().
7770
7771 2002-10-07 Michael Koch <konqueror@gmx.de>
7772
7773 * java/nio/Buffer.java: New stub file.
7774 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7775 of class Charset.
7776 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7777 * Makefile.in: Regenerated.
7778
7779 2002-10-07 Michael Koch <konqueror@gmx.de>
7780
7781 * java/nio/ByteBuffer.java:
7782 removed import of not commited class.
7783
7784 2002-10-07 Michael Koch <konqueror@gmx.de>
7785
7786 * java/nio/ByteBuffer.java,
7787 java/nio/MappedByteBuffer.java:
7788 New files, forgot to add these dummies.
7789 * Makefile.am (java_native_source_files): Added new files.
7790 * Makefile.in: Regenerated.
7791
7792 2002-10-07 Michael Koch <konqueror@gmx.de>
7793
7794 * java/nio/channels/AlreadyConnectedException.java,
7795 java/nio/channels/ClosedChannelException.java,
7796 java/nio/channels/ReadableByteChannel.java,
7797 java/nio/channels/InterruptibleChannel.java,
7798 java/nio/channels/Channel.java,
7799 java/nio/channels/ByteChannel.java,
7800 java/nio/channels/GatheringByteChannel.java,
7801 java/nio/channels/ScatteringByteChannel.java,
7802 java/nio/channels/WritableByteChannel.java,
7803 java/nio/charset/CharacterCodingException.java,
7804 java/nio/charset/IllegalCharsetNameException.java,
7805 java/nio/charset/MalformedInputException.java,
7806 java/nio/charset/UnmappableCharacterException.java,
7807 java/nio/charset/UnsupportedCharsetException.java,
7808 java/nio/charset/spi/CharsetProvider.java: New file.
7809 These files are exceptions or interfaces,
7810 no real or abstract classes.
7811 * Makefile.am (java_native_source_files): Added new files.
7812 * Makefile.in: Regenerated.
7813
7814 2002-10-05 Michael Koch <konqueror@gmx.de>
7815
7816 * java/net/InetAddress.java
7817 (getByAddress): Fixed documentation.
7818 (getByAddress): New method.
7819 * java/net/Inet4Address.java: New file.
7820 * java/net/URL.java
7821 (URL): Documentation added.
7822 (getContent): Documentation added.
7823 (getContent): New stubbed method.
7824 (getQuery): New method.
7825 (openConnection): Documentation added.
7826 (openStream): Documentation added.
7827 (setURLStreamHandlerFactory): Documentation added.
7828 * java/net/URI.java: New stub file.
7829 * Makefile.am
7830 (java_native_source_files): Added java/net/Inet4Address.java,
7831 java/net/Inet6Address.java and java/net/URI.java.
7832 * Makefile.in: Regenerated.
7833
7834 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7835
7836 * java/lang/ProtectionDomain.java (linesep): Remove field.
7837 (toString): Use System.getProperty("line.separator").
7838
7839 2002-10-04 Michael Koch <konqueror@gmx.de>
7840
7841 * java/security/Identity.java: Added serialVersionUID.
7842 * java/security/KeyPair.java: Added serialVersionUID.
7843 * java/security/Provider.java: Added serialVersionUID.
7844 * java/security/SecureRandom.java: Added serialVersionUID.
7845 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7846 * java/security/SignedObject.java: Added serialVersionUID.
7847 * java/security/cert/Certificate.java: Added serialVersionUID.
7848
7849 2002-10-04 Mark Wielaard <mark@klomp.org>
7850
7851 * java/security/Security.java: Use java.home or gnu.classpath.home
7852 to load providers.
7853 (loadProviders): Extra dir argument.
7854 (getProvider): Return null when not found.
7855
7856 2002-10-04 Mark Wielaard <mark@klomp.org>
7857
7858 * java/lang/Throwable.java: Remerge with Classpath.
7859
7860 2002-10-04 Michael Koch <konqueror@gmx.de>
7861
7862 * java/net/InetAddress.java:
7863 (isMulticastAddress): Added documentation.
7864 (getHostAddress): Added documentation.
7865 (toString): Added documentation.
7866 (getByAddress): Fixed documentation.
7867 (getByName): Added documentation.
7868 (getAllByName): Added documentation.
7869 (getLocalHost): Added documentation.
7870
7871 2002-10-04 Michael Koch <konqueror@gmx.de>
7872
7873 * java/beans/beancontext/BeanContextChildSupport.java:
7874 Added serialVersionUID.
7875 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7876 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7877 * javax/naming/Name.java: Added serialVersionUID.
7878
7879 2002-10-03 Adam Megacz <adam@xwt.org>
7880
7881 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7882 some functionality that isn't supported yet on WIN32.
7883
7884 2002-10-03 Tom Tromey <tromey@redhat.com>
7885
7886 * Makefile.in: Rebuilt.
7887 * Makefile.am (awt_java_source_files): Added new files.
7888
7889 2002-10-03 Michael Koch <konqueror@gmx.de>
7890
7891 * java/net/InetAddress.java
7892 (class InetAddress): Removed final keyword.
7893 (equals): Fixed typo.
7894 (getByAddress): New method.
7895
7896 2002-10-03 Michael Koch <konqueror@gmx.de>
7897
7898 * java/awt/dnd/Autoscroll.java:
7899 New file, merge from Classpath.
7900 * java/awt/dnd/DragSourceAdapter.java:
7901 (dragExit): Fixed typos in argument type.
7902 (dragDropEnd): Fixed typos in argument type.
7903 * java/awt/dnd/DragSourceDropEvent.java:
7904 New file, merge from Classpath.
7905 * java/awt/dnd/DropTarget.java:
7906 Added stubs, merge from Classpath.
7907 * java/awt/dnd/DropTargetAdapter.java:
7908 New file, merge from Classpath.
7909 * java/awt/dnd/DropTargetContext.java:
7910 New file, merge from Classpath.
7911 * java/awt/dnd/DropTargetDragEvent.java:
7912 New file, merge from Classpath.
7913 * java/awt/dnd/DropTargetDropEvent.java:
7914 New file, merge from Classpath.
7915 * java/awt/dnd/DropTargetEvent.java:
7916 New file, merge from Classpath.
7917 * java/awt/dnd/DropTargetListener.java:
7918 New file, merge from Classpath.
7919 * java/awt/dnd/MouseDragGestureRecognizer.java:
7920 New file, merge from Classpath.
7921 * java/awt/dnd/peer/DropTargetContextPeer.java:
7922 New file, merge from Classpath.
7923
7924 2002-10-03 Michael Koch <konqueror@gmx.de>
7925
7926 * java/net/DatagramPacket.java
7927 (setLength): Fixed typo and be HTML-aware.
7928 * java/net/InetSocketAddress.java
7929 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7930 (equals): Added comment about equality of InetSocketAddress objects.
7931 * java/net/ServerSocket.java
7932 (accept): Added checks.
7933 (isClosed): New stubbed method.
7934 * java/net/SocketOptions.java: Reindention.
7935 * java/net/SocketPermission
7936 (SocketPermission): Documentation fixed.
7937
7938 2002-10-03 Michael Koch <konqueror@gmx.de>
7939
7940 * java/net/DatagramSocket.java
7941 (receive): Check with SecurityManager AFTER the packet is received,
7942 check if connected to multicast address, documentation added.
7943 (send): Only check SecurityManager if connected, check address of
7944 packet to send.
7945 (connect): Implemented, documentation added.
7946 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7947 * java/net/InetSocketAddress.java
7948 (whole file): Reindented.
7949 (hostname): New attribute.
7950 (InetSocketAddress): Initialize new attribute.
7951 (getAddress): Documentation added.
7952 (getHostName): Documentation added.
7953 (getPort): Documentation added.
7954 (hashCode): Documentation added.
7955 (isUnresolved): Documentation added.
7956 (toString): Conform to output of JDK 1.4.1, documentation added.
7957 * java/net/MulticastSocket.java
7958 (joinGroup): Removed FIXME, documentation added.
7959 (leaveGroup): Removed FIXME, documentation added.
7960 (send): Documentation added.
7961 * java/net/Socket.java
7962 (inputShutdown): New variable.
7963 (outputShutdown): New variable.
7964 (Socket): Initialize new variables.
7965 (getRemoteSocketAddress): Check if connected.
7966 (shutdownInput): Set new variable.
7967 (shutdownOutput): Set new variable.
7968 (isConnected): New method.
7969 (isClosed): New method.
7970 (isInputShutdown): New method.
7971 (isOutputShutdown): New method.
7972 * java/net/URLStreamHandler.java
7973 (URLStreamHandler): New method.
7974 (openConnection): Added documentation.
7975 (parseURL): Added documentation.
7976 (getHostAddress): New method.
7977 (getDefaultPort): New method.
7978
7979 2002-10-02 Tom Tromey <tromey@redhat.com>
7980
7981 * java/rmi/activation/ActivationDesc.java,
7982 java/rmi/activation/ActivationGroupDesc.java,
7983 java/rmi/activation/ActivationGroupID.java,
7984 java/rmi/activation/ActivationID.java: New versions from
7985 Classpath.
7986
7987 2002-09-30 Bo Thorsen <bo@suse.de>
7988
7989 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7990
7991 2002-09-30 Tom Tromey <tromey@redhat.com>
7992
7993 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7994 from Classpath.
7995 * Makefile.in: Rebuilt.
7996 * Makefile.am (rmi_java_source_files): Added new files.
7997 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7998 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7999 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8000 Classpath.
8001 * gnu/java/rmi/dgc/DGCImpl.java,
8002 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8003 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8004 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8005 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8006 gnu/java/rmi/server/RMIHashes.java,
8007 gnu/java/rmi/server/RMIObjectInputStream.java,
8008 gnu/java/rmi/server/RMIObjectOutputStream.java,
8009 gnu/java/rmi/server/UnicastConnection.java,
8010 gnu/java/rmi/server/UnicastConnectionManager.java,
8011 gnu/java/rmi/server/UnicastRef.java,
8012 gnu/java/rmi/server/UnicastServer.java,
8013 gnu/java/rmi/server/UnicastServerRef.java,
8014 java/rmi/MarshalledObject.java,
8015 java/rmi/server/RMIClassLoader.java,
8016 java/rmi/server/RemoteObject.java,
8017 java/rmi/server/UnicastRemoteObject.java,
8018 java/security/SecureClassLoader.java: Merged from Classpath.
8019
8020 2002-09-29 Anthony Green <green@redhat.com>
8021
8022 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8023 Imported from GNU Classpath.
8024 * java/lang/reflect/natProxy.cc: New file.
8025 * java/lang/reflect/InvocationHandler.java: New file. Imported
8026 from GNU Classpath.
8027 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8028 Classpath.
8029 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8030 Classpath.
8031 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8032 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8033 New statics.
8034 * gcj/javaprims.h ("Java"): Add new classes.
8035 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8036 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8037 java/lang/reflect/Proxy$$ProxyType.h): And this.
8038 (inner_nat_headers): Add these new headers.
8039 (ordinary_java_source_files): Add new files.
8040 (nat_source_files): Add new file.
8041 * Makefile.in: Rebuilt.
8042
8043 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8044
8045 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8046 a single configuration.
8047
8048 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8049
8050 * java/util/TimeZone.java (getDSTSavings): New method.
8051 Fixes PR libgcj/7786.
8052
8053 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8054
8055 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8056 to see if `the_method == 0' before looking up vtable index.
8057 Fixes PR libgcj/7709.
8058
8059 2002-09-25 Tom Tromey <tromey@redhat.com>
8060
8061 * java/lang/natClassLoader.cc:
8062 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8063 * resolve.cc: Include NoClassDefFoundError.h, not
8064 ClassNotFoundException.h.
8065 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8066
8067 * defineclass.cc: Don't include ClassNotFoundException.h.
8068
8069 * resolve.cc: Include StringBuffer.
8070 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8071
8072 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8073 allocated but not initialized.
8074
8075 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8076
8077 Fix for PR libgcj/7766:
8078 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8079 (getNextEntry): Set it.
8080 (closeEntry): Likewise.
8081 (read): Likewise.
8082 (close): Likewise.
8083 (available): Use it.
8084
8085 2002-09-25 Michael Koch <konqueror@gmx.de>
8086
8087 * java/net/DatagramSocket.java
8088 (DatagramSocket): Initialize new instance variables.
8089 (close): Reset new instance variables.
8090 (getLocalAddress): Remove unneeded SecurityManager usage.
8091 (getLocalPort): Check if socket is already bound.
8092 (isConnected): New method.
8093 (getInetAddress): Implemented.
8094 (getPort): Better Implementation, documentation fixed.
8095 (getRemoteSocketAddress): New method.
8096 * java/net/JarURLConnection.java
8097 (element): Typo fixed.
8098 (getMainAttributes): New method.
8099 (getAttributes): New method (stub only).
8100 (getManifest): New method (stub only).
8101 * java/net/NetPermission.java: Added serialVersionsUID.
8102 * java/net/Socket.java
8103 (connect): Check blocking mode of associated channel,
8104 documentation added.
8105 (getLocalSocketAddress): Better implementation.
8106 (getRemoteSocketAddress): Implemented.
8107 (isBound): New method.
8108 (setSendBufferSize): Documentation added.
8109 * java/net/SocketAddress.java: Added serialVersionsUID.
8110 * java/net/SocketPermission.java: Added serialVersionsUID.
8111 * java/net/URL.java
8112 (URL): Wrap for shorter lines, initialize new instance variables,
8113 documentation added.
8114 (equals): Check new instance variables too.
8115 (getContent): Documentation added.
8116 (getPath): Documentation added.
8117 (getAuthority): New method.
8118 (getHost): Documentation added.
8119 (getPort): Documentation added.
8120 (getDefaultPort): New method.
8121 (getProtocol): Documentation added.
8122 (getUserInfo): Documentation added.
8123 (set): Initialize new instance variables, documentation added.
8124 * java/net/URLStreamHandler.java
8125 (setURL): New method.
8126 * java/net/natPlainDatagramSocketImpl.cc
8127 (connect): Fix exception name.
8128 (disconnect): Fix exception name.
8129
8130 2002-09-25 Michael Koch <konqueror@gmx.de>
8131
8132 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8133 * java/nio/channels/DatagramChannel.java:
8134 extends AbstractSelectableChannel
8135 * java/nio/channels/ServerSocketChannel.java:
8136 extends AbstractSelectableChannel
8137 * java/nio/channels/SocketChannel.java:
8138 extends AbstractSelectableChannel
8139 * Makefile.am (ordinary_java_source_files):
8140 java/nio/channels/spi/AbstractSelectableChannel.java added.
8141 * Makefile.in: Regenerated.
8142
8143 2002-09-25 Michael Koch <konqueror@gmx.de>
8144
8145 * java/net/DatagramSocket.java
8146 (DatagramSocket): Exception documentation added.
8147 (bind): Exception documentation added, addded SecurityManager check,
8148 added SocketAddress type check.
8149 (getSoTimeout): Check impl.
8150 (receive): Fix SecurityManager check, check impl, documentation added.
8151 (send): Check channel mode, documentation added.
8152 (connect): New method.
8153 (disconnect): Implemented.
8154 (getLocalSocketAddress): New method.
8155 (getReceiveBufferSize): Check impl.
8156 (setReuseAddress): Check impl.
8157 (getReuseAddress): Check impl.
8158 (setBroadcast): Check impl.
8159 (getBroadcast): Check impl.
8160 (setTrafficClass): Check impl, Documentation cleared.
8161 (getTrafficClass): Check impl.
8162 (getSendBufferSize): Check impl.
8163 (setReceiveBufferSize): Check impl, documentation added.
8164 (setSendBufferSize): Documentation added.
8165 (setDatagramSocketImplFactory): New method.
8166 * java/net/HttpURLConnection.java
8167 (HTTP_INTERNAL_ERROR): The correct code is 500.
8168 (HTTP_NOT_IMPLEMENTED): Added new constant.
8169 (setFollowRedirects): Documentation added.
8170 (getInstanceFollowRedirects): New method.
8171 (setInstanceFollowRedirects): New method.
8172 (setRequestMethod): Documentation added.
8173 (getResponseCode): Documentation added.
8174 (getResponseMessage): Documentation added.
8175 * java/net/JarURLConnection.java
8176 (JarURLConnection): protected since JDK 1.4.
8177 (getJarEntry): java.io.IOException to IOException, documentation added.
8178 (getJarFile): Documentation added.
8179 * java/net/ServerSocket.java
8180 (ServerSocket): Private to public, exception added.
8181 (ServerSocket): java.io.IOException to IOException, documentation added.
8182 (bind): Check socket address type, documentation added.
8183 (bind): java.io.IOException to IOException, documentation added.
8184 (accept): Documentation added.
8185 (implAccept): Check ch is not non-blocking, documentation added.
8186 (setSoTimeout): Documentation fixed.
8187 (setReceiveBufferSize): Documentation added.
8188 * java/net/Socket.java
8189 (Socket): Documentation added.
8190 (bind): Documentation added.
8191 (connect): Check socket address type, documentation added.
8192 (getRemoteSocketAddress): New method.
8193 (getLocalSocketAddress): New method.
8194 (setSoLinger): Documentation added.
8195 (getReuseAddress): New method.
8196 (setReuseAddress): New method.
8197 (getTrafficClass): New method.
8198 (setTrafficClass): New method.
8199 * java/net/URLStreamHandler.java
8200 (openConnection): java.io.IOException to IOException.
8201 (parseURL): Documentation added.
8202 (sameFile): public to protected, documentation added.
8203 (setURL): Documentation added.
8204 * java/nio/IllegalBlockingModeException.java: New file.
8205 * Makefile.am (ordinary_java_source_files):
8206 added java/nio/IllegalBlockingModeException.java
8207 * Makefile.in: Regenerated.
8208
8209 2002-09-25 Michael Koch <konqueror@gmx.de>
8210
8211 * java/net/DatagramPacket
8212 (DatagramPacket): Exception documentation added.
8213 (setData): Likewise.
8214 (setSocketAddress): Likewise.
8215 * java/net/DatagramSocketImpl.java
8216 (peek): Documentation addded.
8217 (peekData): Documentation addded.
8218 (send): Documentation addded.
8219 (receive): Documentation addded.
8220 (connect): New method.
8221 (disconnect): New method.
8222 (joinGroup): New abstract method.
8223 (leaveGroup): New abstract method.
8224 * java/net/InetSocketAddress.java
8225 (InetSocketAddress): Documentation added.
8226 (equals): final keyword added.
8227 (getAddress): final keyword added.
8228 (getHostName): final keyword added.
8229 (getPort): final keyword added.
8230 (hashCode): final keyword added.
8231 (isUnresolved): final keyword added.
8232 * java/net/MulticastSocket.java
8233 (MulticastSocket): Documentation added.
8234 (MulticastSocket): New method.
8235 (joinGroup): Documentation added.
8236 (joinGroup): New method.
8237 (leaveGroup): Documentation added.
8238 (leaveGroup): New method.
8239 (send): Documentation added.
8240 * java/net/NetworkInterface.java
8241 (getByName): Documentation added.
8242 (getByInetAddress): Documentation added.
8243 (getNetworkInterfaces): Documentation added.
8244 * java/net/PlainDatagramSocketImpl.java
8245 (connect): New method.
8246 (disconnect): New method.
8247 * java/net/SocketImpl.java
8248 (create): Documentation added.
8249 (shutdownInput): Convert public to protected, as it always was.
8250 (shutdownOutput): Convert public to protected, as it always was.
8251 * java/net/SocketOptions.java
8252 (whole file): Reintented.
8253 * java/net/URLClassLoader.java
8254 (URLClassLoader): SecurityManager check added, documentation added.
8255 (findResources): Documentation added.
8256 (findClass): Documentation added.
8257 (newInstance): More correct method arguments.
8258 * java/net/URLConnection.java
8259 (connect): Documentation added.
8260 (getContent): Documentation added.
8261 (getPermission): Documentation added.
8262 (getInputStream): Documentation added.
8263 (getOutputStream): Documentation added.
8264 (setDoInput): Throw correct exception, documentation added.
8265 (setDoOutput): Throw correct exception, documentation added.
8266 (setAllowUserInteraction): Throw correct exception, documentation added.
8267 (setUseCaches): Throw correct exception, documentation added.
8268 (setIfModifiedSince): Throw correct exception, documentation added.
8269 (setRequestProperty): Throw exception, documentation added.
8270 (addRequestProperty): Throw exception, documentation added.
8271 (getRequestProperty): Throw exception, documentation added.
8272 (getRequestProperties): Documentation added.
8273 (setContentHandlerFactory): Documentation added.
8274 (guessContentTypeFromName): protected to public.
8275 (setFileNameMap): Documentation added.
8276 * java/net/URLDecoder.java
8277 (URLDecoder): New method.
8278 (decode): Documentation added.
8279 (whole file): Reindented.
8280 * java/net/URLEncoder.java
8281 (encode): Documentation added.
8282 * java/net/natPlainDatagramSocketImpl.cc
8283 (connect): New method.
8284 (disconnect): New method.
8285 * javax/naming/RefAddr:
8286 (addrType): addrType was never final.
8287 (equals): Fix typo in method name.
8288 * javax/naming/BinaryRefAddr:
8289 (equals): Fix typo in method name.
8290
8291 2002-09-22 Tom Tromey <tromey@redhat.com>
8292
8293 Fix for PR libgcj/6576:
8294 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8295 didn't find a given bundle.
8296 (getBundle): Don't require base bundle.
8297 (setParent): Removed old comment.
8298 (tryLocalBundle): Try components even if preceding components were
8299 empty.
8300
8301 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8302
8303 * Makefile.am (all-multi): Fix multilib parallel build.
8304
8305 2002-09-21 Michael Koch <konqueror@gmx.de>
8306
8307 * java/net/Socket.java
8308 (sendUrgentData): New method.
8309 (getChannel): New method.
8310 * java/net/ServerSocket.java
8311 (getChannel): New method.
8312 (isBound): New method.
8313 * java/net/DatagramSocket.java
8314 (DatagramSocket): Two new methods.
8315 (bind): New method.
8316 (getChannel): New method.
8317 (isBound): New method.
8318 (send): Added newline to to make shorter lines.
8319 * java/net/PlainDatagramSocketImpl.java
8320 (mcastGrp): Added argument.
8321 (join): Use new mcastGrp.
8322 (leave): Use new mcastGrp.
8323 (joinGroup): New method.
8324 (leaveGroup): New method.
8325 * java/net/natPlainDatagramSocketImpl.cc
8326 (mcastGrp): Added argument, no yet really implemented.
8327 (getOption): Added newline for shorter lines.
8328 * java/net/natPlainSocketImpl.cc
8329 (read, setOption, getOption): Added newline for shorter lines.
8330
8331 2002-09-19 Tom Tromey <tromey@redhat.com>
8332
8333 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8334 newly-created exception.
8335
8336 2002-09-18 Michael Koch <konqueror@gmx.de>
8337
8338 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8339 java/util/regex/PatternSyntaxException.java:
8340 Merge with classpath, new files.
8341 * Makefile.am (core_java_source_files):
8342 Added java/util/regex/Matcher.java,
8343 java/util/regex/Pattern.java,
8344 java/util/regex/PatternSyntaxException.java
8345 * Makefile.in: Regenerated.
8346 * include/config.h.in: Added HAVE_NET_IF_H.
8347 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8348 Removed #if 0 ... #endif.
8349
8350 2002-09-17 Michael Koch <konqueror@gmx.de>
8351
8352 * java/net/natNetworkInterface.cc:
8353 Removed unneed and yet wrong includes.
8354
8355 2002-09-17 Michael Koch <konqueror@gmx.de>
8356
8357 * java/net/NetworkInterface.java: New file.
8358 * java/net/natNetworkInterface.java: New file.
8359 * configure.in: Added check for net/if.h.
8360 * configure: Regenerated.
8361 * Makefile.am
8362 (ordinary_java_source_files): Added NetworkInterface.java.
8363 (nat_source_files): Added natNetworkInterface.cc.
8364 * Makefile.in: Regenerated.
8365
8366 2002-09-16 Tom Tromey <tromey@redhat.com>
8367
8368 * java/net/URLClassLoader.java (findClass): Code source for a
8369 class from a jar is not necessarily a jar: URL.
8370
8371 2002-09-16 Michael Koch <konqueror@gmx.de>
8372
8373 * java/lang/AssertionError.java:
8374 Merge with classpath, fixes HTML.
8375 * java/rmi/server/LogStream.java:
8376 Merge with classpath, fixes some constants.
8377 * java/net/server/RemoteServer.java:
8378 Merge with classpath, adds serialVersionUID.
8379 * javax/naming/BinaryRefAddr.java:
8380 Merge with classpath, s/equal/equals/.
8381 * javax/naming/NamingException.java:
8382 Merge with classpath, fixed typo.
8383 * javax/naming/RefAddr.java:
8384 Merge with classpath, s/equal/equals/.
8385 * java/awt/Toolkit.java:
8386 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8387 and typo fixed.
8388
8389 2002-09-15 Adam Megacz <adam@xwt.org>
8390
8391 * java/net/natPlainSocketImpl.cc: fixed typo.
8392
8393 2002-09-15 Adam Megacz <adam@xwt.org>
8394
8395 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8396 which don't work on Win32 (yet).
8397
8398 2002-09-14 Adam Megacz <adam@xwt.org>
8399
8400 * java/net/natPlainDatagramSocket.cc: removed #include
8401 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8402 * include/win32.h: included definition for IP_TOS to satisfy
8403 natPlainDatagramSocket.cc
8404
8405 2002-09-13 Michael Koch <konqueror@gmx.de>
8406
8407 * java/net/DatagramPacket.java (DatagramPacket):
8408 Added linebreak for 80 chars per line.
8409 * java/net/JarURLConection.java
8410 (getInputStreami, getJarEntry): Likewise.
8411 * java/net/SocketPErmission.java
8412 (SocketPermission class docu, implies): Likewise.
8413 * java/net/URLClassLoader.java (findResources): Likewise.
8414 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8415
8416 2002-09-13 Michael Koch <konqueror@gmx.de>
8417
8418 * java/nio/channels/DatagramChannel.java,
8419 java/nio/channels/ServerSocketChannel.java
8420 java/nio/channels/SocketChannel.java:
8421 New dummy files to make java.net fully JDK 1.4 compatible
8422 * Makefile.am (ordinary_java_source_files): Added
8423 java/net/DatagramSocketImplFactory.java (long forgotten),
8424 java/nio/SocketChannel.java,
8425 java/nio/ServerSocketChannel.java,
8426 java/nio/DatagramChannel.java
8427 * Makefile.in: Regenrated.
8428
8429 2002-09-12 Michael Koch <konqueror@gmx.de>
8430
8431 * java/net/DatagramSocketImpl.java
8432 (peekData): New method.
8433 * java/net/PlainDatagramSocketImpl.java
8434 (peekData): New method.
8435 * java/net/natPlainDatagramSocketImpl.cc
8436 (peekData): New method.
8437 * java/net/URLConnection
8438 (getPermission): New method.
8439 (addRequestProperty): New method.
8440 (getRequestProperties): New method.
8441 (guessContentTypeFromStream): New method, not really implemented.
8442 (URLConnection): Added/updated documentation.
8443 (connect): Added/updated documentation.
8444 (getURL): Added/updated documentation.
8445 (getContentLength): Added/updated documentation.
8446 (getContentType: Added/updated documentation.
8447 (getContentEncoding): Added/updated documentation.
8448 (getExpiration): Added/updated documentation.
8449 (getDate): Added/updated documentation.
8450 (getLastModified): Added/updated documentation.
8451 (getHeaderField): Added/updated documentation.
8452 (getHeaderFields): Added/updated documentation.
8453 (getHeaderFieldInt): Added/updated documentation.
8454 (getHeaderFieldDate): Added/updated documentation.
8455 (getHeaderFieldKey): Added/updated documentation.
8456 (getContent): Added/updated documentation.
8457 (getInputStream): Added/updated documentation.
8458 (getOutputStream): Added/updated documentation.
8459 (toString): Added/updated documentation.
8460 (setDoInput): Added/updated documentation.
8461 (getDoInput): Added/updated documentation.
8462 (setDoOutput): Added/updated documentation.
8463 (getDoOutput): Added/updated documentation.
8464 (setAllowUserInteraction): Added/updated documentation.
8465 (getAllowUserInteraction): Added/updated documentation.
8466 (setDefaultAllowUserInteraction): Added/updated documentation.
8467 (getDefaultAllowUserInteraction): Added/updated documentation.
8468 (setUseCaches): Added/updated documentation.
8469 (getUseCaches): Added/updated documentation.
8470 (setIfModifiedSince): Added/updated documentation.
8471 (getIfModifiedSince): Added/updated documentation.
8472 (getDefaultUseCaches): Added/updated documentation.
8473 (setDefaultUseCaches): Added/updated documentation.
8474 (setRequestProperty): Added/updated documentation.
8475 (getRequestProperty): Added/updated documentation.
8476 (setDefaultRequestProperty): Added/updated documentation.
8477 (getDefaultRequestProperty): Added/updated documentation.
8478 (setContentHandlerFactory): Added/updated documentation.
8479 (guessContentTypeFromName): Added/updated documentation.
8480 (getFileNameMap): Added/updated documentation.
8481 (setFileNameMap): Added/updated documentation.
8482
8483 2002-09-11 Michael Koch <konqueror@gmx.de>
8484
8485 * java/net/Socket.java
8486 (Socket): protected to public (since JDK 1.4). Added @specnote.
8487 (bind): New method.
8488 (connect): Two new methods.
8489 (getKeepalive): Get correct socket option.
8490 (setKeepalive): Set correct socket option.
8491 (getOOBInline): New method.
8492 (setOOBInline): New method.
8493 * java/net/ServerSocket.java
8494 (bind): Two new methods.
8495 (getInetAddress): Reimplemented, catch exception.
8496 (getLocalSocketAddress): New method.
8497 (setReuseAddress): New method.
8498 (getReuseAdress): New method.
8499 (setReceiveBufferSize): New method.
8500 (getReceiveBufferSize): New method.
8501 (toString): Made string JDK 1.4 compliant.
8502
8503 2002-09-10 Michael Koch <konqueror@gmx.de>
8504
8505 * java/net/SocketImpl.java
8506 (connect): New method.
8507 (supportsUrgentData): New method.
8508 (sendUrgentData): New method.
8509 * java/net/PlainSocketImpl.java
8510 (connect): One new method and two new implementation.
8511 (sendUrgentData): New method.
8512 * java/natPlainSocketImpl.cc
8513 (connect): Arguments changed, added support for timeouts.
8514 (getOption): Another __java_boolean to jboolean.
8515
8516 2002-09-07 Adam Megacz <adam@xwt.org>
8517
8518 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8519 definition of IP_TOS.
8520
8521 2002-09-04 Michael Koch <konqueror@gmx.de>
8522
8523 * java/net/DatagramSocket.java
8524 (DatagramSocket): Added documentation.
8525 (close): Likewise.
8526 (getLocalAddress): Likewise.
8527 (getLocalPort): Likewise.
8528 (receive): Likewise.
8529 (send): Likewise.
8530 (setSoTimeout): Likewise.
8531 (connect): New method.
8532 (disconnect): New method.
8533 (getInetAddress): New method (FIXME)
8534 (getPort): New method.
8535 (setReuseAddress): New method.
8536 (getReuseAddress): New method.
8537 (setBroadcast): New method.
8538 (getBroadcast): New method.
8539 (setTrafficClass): New method.
8540 (getTrafficClass): New method.
8541 * java/net/MulticastSocket.java):
8542 (getTTL): Added @see in documentation.
8543 (setTTL): Added @see in documentation.
8544 (setLoopbackMode): New method.
8545 (getLoopbackMode): New method.
8546 * java/net/PlainSocketImpl.java:
8547 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8548 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8549 * java/net/PlainDatagramSocketImpl.java
8550 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8551 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8552 * java/net/natPlainSocketImpl.cc
8553 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8554 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8555 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8556 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8557 This should also fix SO_KEEPALIVE
8558 * java/net/natPlainDatagramSocketImpl.cc
8559 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8560 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8561 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8562 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8563
8564 2002-09-04 Michael Koch <konqueror@gmx.de>
8565
8566 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8567 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8568 IP_MULTICAST_LOOP, IP_TOS
8569
8570 2002-09-03 Tom Tromey <tromey@redhat.com>
8571
8572 * java/lang/Class.h (_getDeclaredMethod): Declare.
8573 (_getMethod): Now private.
8574 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8575 getDeclaredMethod. Now returns NULL on failure.
8576 * java/lang/Class.java (_getDeclaredMethod): Declare.
8577 (getDeclaredMethod): No longer native; implements access checks.
8578
8579 2002-09-01 Mark Wielaard <mark@klomp.org>
8580
8581 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8582 (sanitizeStack): Correctly reset unknown and interpreter counters,
8583 detect interpreter runtime frames.
8584 (demangleInterpreterMethod): New method.
8585 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8586 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8587 filling in addrs[].
8588
8589 2002-09-02 Michael Koch <konqueror@gmx.de>
8590
8591 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8592 re-indented documentation.
8593
8594 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8595
8596 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8597 public, per 1.4 spec. Fixes PR libgcj/7785.
8598
8599 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8600
8601 * Makefile.in: Rebuilt.
8602 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8603
8604 2002-08-29 Tom Tromey <tromey@redhat.com>
8605
8606 * java/net/JarURLConnection.java (getCertificates): New method
8607 from Classpath.
8608 * java/net/URLClassLoader.java (URLClassLoader): Extends
8609 SecureClassLoader.
8610 (definePackage): New method from Classpath.
8611 (getPermissions): Likewise.
8612 (newInstance): Likewise.
8613 (findClass): Construct CodeSource for new class (from Classpath).
8614 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8615 methods.
8616 * java/net/URL.java (getUserInfo): New method.
8617 (set(String,String,int,String,String,String,String,String)): New
8618 method.
8619 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8620 (shutdownInput, shutdownOutput): Declare.
8621 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8622 Define.
8623 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8624 (getOption): Likewise.
8625 (shutdownInput): New method.
8626 (shutdownOutput): Likewise.
8627 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8628 keepalive.
8629 (getOption): Likewise.
8630 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8631 * java/net/Socket.java (setKeepAlive): New method.
8632 (getKeepAlive): Likewise.
8633 (shutdownInput, shutdownOutput): New methods.
8634
8635 2002-08-29 Michael Koch <konqueror@gmx.de>
8636
8637 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8638 new methods are:
8639 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8640 address),
8641 DatagramPacket(byte[] buf, int length, SocketAddress address),
8642 void setSocketAddress(SocketAddress address)
8643 public SocketAddress getSocketAddress()
8644
8645 2002-08-29 Tom Tromey <tromey@redhat.com>
8646
8647 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8648 ftruncate is missing.
8649 * configure, include/config.h.in: Rebuilt.
8650 * acconfig.h (HAVE_FTRUNCATE): Mention.
8651 * configure.in: Check for ftruncate.
8652
8653 2002-08-29 Tom Tromey <tromey@redhat.com>
8654
8655 * include/jvm.h (struct _Jv_frame_info): New structure.
8656 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8657 java-interp.h.
8658 (lookupInterp): New method.
8659 (getAddrAsString): Use _Jv_frame_info.
8660 (dladdrLookup): Likewise.
8661 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8662 interpreted frame.
8663 (lookupInterp): Declare.
8664 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8665 (fillInStackTrace): Collect information on interpreted frames.
8666 Use _Jv_frame_info.
8667 * interpret.cc: Include Thread.h.
8668 (run): Create and push _Jv_MethodChain object.
8669 (_Jv_EndOfInterpreter): New global.
8670 * java/lang/Thread.java (interp_frame): New field.
8671 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8672 Include NameFinder.h.
8673
8674 2002-08-28 Tom Tromey <tromey@redhat.com>
8675
8676 * java/lang/Class.h: Include Package.h.
8677 (Class::getProtectionDomain): Declare.
8678 (Class::getPackage): Declare.
8679
8680 2002-08-28 Michael Koch <konqueror@gmx.de>
8681
8682 * java/net/InetSocketAddress.java: Added some documentation and argument
8683 checks for the port numbers.
8684 * java/net/DatagramSocketImplFactory.java: New file.
8685
8686 2002-08-28 Michael Koch <konqueror@gmx.de>
8687
8688 * java/net/Authenticator.java: added some documentation.
8689
8690 2002-08-27 Tom Tromey <tromey@redhat.com>
8691
8692 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8693 class.
8694 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8695
8696 2002-08-27 Michael Koch <konqueror@gmx.de>
8697
8698 * java/net/BindException.java,
8699 java/net/JarURLConnection.java,
8700 java/net/FileNameMap.java,
8701 java/net/HttpURLConnection.java,
8702 java/net/InetSocketAddress.java,
8703 java/net/DatagramPacket.java,
8704 java/net/DatagramSocket.java,
8705 java/net/DatagramSocketImpl.java,
8706 java/net/MulticastSocket.java,
8707 java/net/PasswordAuthentication.java,
8708 java/net/ServerSocket.java,
8709 java/net/Socket.java,
8710 java/net/URLClassLoader.java,
8711 java/net/URLConnection.java: add/update of some @since/@deprecated
8712
8713 2002-08-27 Tony Kimball <alk@pobox.com>
8714 Tom Tromey <tromey@redhat.com>
8715
8716 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8717 define.
8718 (::close): Removed.
8719 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8720 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8721 (::close): Removed.
8722 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8723 * include/win32.h (getcwd): Removed declaration. Include io.h.
8724
8725 2002-08-25 Adam Megacz <adam@xwt.org>
8726
8727 * include/win32.h (getcwd): copied function declaration as
8728 temporary fix for header confusion.
8729
8730 2002-08-24 Mark Wielaard <mark@klomp.org>
8731
8732 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8733 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8734 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8735 and natNameFinder.cc.
8736 * Makefile.in: Regenerate.
8737 * prims.cc: Use trace_enabled from VMThrowable.
8738 * name-finder.cc: Removed.
8739 * gcj/javaprims.h: Add class VMThrowable.
8740 * gnu/gcj/runtime/NameFinder.java: New file.
8741 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8742 * include/name-finder.h: Removed.
8743 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8744 method stackTraceString().
8745 (printStackTrace (PrintWriter)): Likewise.
8746 (stackTraceString): Complete rewrite of old printStackTrace using
8747 StringBuffer.
8748 (stackTraceStringBuffer): New helper method for stackTraceString().
8749 (fillInStackTrace): Delegate to VMTrowable.
8750 (getStackTrace): Likewise.
8751 (getStackTrace0): Removed.
8752 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8753 (setStackTrace): Copy given array.
8754 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8755 * java/lang/VMThrowable.java: New class.
8756 * java/lang/natVMThrowable.cc: New file.
8757
8758 2003-08-23 Michael Koch <konqueror@gmx.de>
8759
8760 * java/net/URLConnection.java,
8761 java/netJarURLConnection.java,
8762 gnu/gcj/protocol/core/Connection.java,
8763 gnu/gcj/protocol/file/Connection.java,
8764 gnu/gcj/protocol/http/Connection.java: Added implementation of
8765 getHeaderFields().
8766
8767 2002-08-22 Tom Tromey <tromey@redhat.com>
8768
8769 * gij.cc (help): Document -cp and -classpath.
8770 (main): Handle -classpath.
8771
8772 2002-08-21 Tom Tromey <tromey@redhat.com>
8773
8774 * Makefile.in: Rebuilt.
8775 * Makefile.am (ordinary_java_source_files): Added
8776 SocketAddress.java, InetSocketAddress.java.
8777 * java/net/PortUnreachableException.java: Merged with Classpath.
8778 * java/net/SocketTimeoutException.java: Likewise.
8779 * java/net/URISyntaxException.java: Likewise.
8780 * java/net/SocketAddress.java: New class from Classpath.
8781 * java/net/InetSocketAddress.java: Likewise.
8782
8783 2003-08-21 Michael Koch <konqueror@gmx.de>
8784
8785 * java/net/Authenticator.java: updated JDK 1.4
8786 * java/net/ContentHandler.java: updated JDK 1.4
8787
8788 2002-08-20 Michael Koch <konqueror@gmx.de>
8789
8790 * java/net/URISyntaxException.java: New file.
8791 * java/net/SocketTimeoutException.java: New file.
8792 * java/net/PortUnreachableException.java: New file.
8793 * Makefile.am: Updated.
8794 * Makefile.in: Rebuilt.
8795
8796 2002-08-18 Mark Wielaard <mark@klomp.org>
8797
8798 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8799 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8800 MessageDigestSpi (fixes Classpath bug #783).
8801
8802 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8803
8804 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8805 (startProcess): Allocate path for chdir in async-signal-safe way.
8806
8807 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8808
8809 Fix for PR libgcj/7570 and PR libgcj/7578:
8810 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8811 (startProcess): Handle new `dir' argument.
8812 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8813 argument.
8814 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8815 argument.
8816 (startProcess): Likewise.
8817 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8818 argument.
8819 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8820 (exec): Don't create new environment if ENV==null. Pass DIR to
8821 execInternal.
8822 * java/lang/natRuntime.cc: Include java/io/File.h.
8823 (execInternal): Added `dir' argument.
8824
8825 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8826
8827 * java/io/RandomAccessFile.java (skipBytes): Return number of
8828 bytes skipped.
8829
8830 2002-08-01 Mark Wielaard <mark@klomp.org>
8831
8832 Reenable patch since shared library troubles on powerpc are solved:
8833 * gnu/java/security/provider/Gnu.java: Reference all implementation
8834 classes by using Class.getName().
8835 * gnu/java/security/der/DEREncodingException.java,
8836 gnu/java/security/provider/DERReader.java,
8837 gnu/java/security/provider/DERWriter.java,
8838 gnu/java/security/provider/DSAKeyPairGenerator.java,
8839 gnu/java/security/provider/DSAParameterGenerator.java,
8840 gnu/java/security/provider/DSAParameters.java,
8841 gnu/java/security/provider/DSASignature.java,
8842 gnu/java/security/provider/GnuDSAPrivateKey.java,
8843 gnu/java/security/provider/GnuDSAPublicKey.java,
8844 gnu/java/security/provider/MD5.java,
8845 gnu/java/security/util/Prime.java: New classes
8846 * Makefile.am (ordinary_java_source_files): Add above files.
8847 * Makefile.in: Regenerate.
8848 * gnu/java/security/provider/DefaultPolicy.java
8849 (getPermissions): Don't maintain static class variable of Permissions.
8850 * gnu/java/security/provider/SHA.java
8851 (engineUpdate): algorithm change.
8852 (engineDigest): algorithm change.
8853
8854 2002-08-09 Mark Wielaard <mark@klomp.org>
8855
8856 * java/awt/image/MemoryImageSource.java: Change constructor to take
8857 int[] not byte[].
8858 * java/awt/Graphics2D.java: Uncomment methods that can now be
8859 compiled.
8860 * java/awt/GridBagLayout.java: New stub implementation.
8861 * javax/swing/text/html/HTML.java: Stub implementation.
8862 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8863 implementation.
8864
8865 * Makefile.am: Add new files.
8866 * Makefile.in: Rebuilt.
8867
8868 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8869
8870 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8871 methods in Graphics2D.
8872
8873 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8874
8875 AWT/Swing merge from GNU Classpath.
8876
8877 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8878 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8879 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8880 java/awt/color/ProfileDataException.java,
8881 java/awt/CompositeContext.java, java/awt/Composite.java,
8882 java/awt/ContainerOrderFocusTraversalPolicy.java,
8883 java/awt/datatransfer/FlavorTable.java,
8884 java/awt/DefaultFocusTraversalPolicy.java,
8885 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8886 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8887 java/awt/dnd/DragGestureListener.java,
8888 java/awt/dnd/DragGestureRecognizer.java,
8889 java/awt/dnd/DragSourceAdapter.java,
8890 java/awt/dnd/DragSourceContext.java,
8891 java/awt/dnd/DragSourceDragEvent.java,
8892 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8893 java/awt/dnd/DragSourceListener.java,
8894 java/awt/dnd/DragSourceMotionListener.java,
8895 java/awt/dnd/DropTarget.java,
8896 java/awt/dnd/InvalidDnDOperationException.java,
8897 java/awt/dnd/peer/DragSourceContextPeer.java,
8898 java/awt/event/AWTEventListenerProxy.java,
8899 java/awt/event/MouseWheelEvent.java,
8900 java/awt/event/MouseWheelListener.java,
8901 java/awt/event/WindowFocusListener.java,
8902 java/awt/event/WindowStateListener.java,
8903 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8904 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8905 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8906 java/awt/geom/FlatteningPathIterator.java,
8907 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8908 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8909 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8910 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8911 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8912 java/awt/image/ImagingOpException.java,
8913 java/awt/image/RasterFormatException.java,
8914 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8915 java/awt/image/VolatileImage.java,
8916 java/awt/image/WritableRenderedImage.java,
8917 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8918 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8919 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8920 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8921 java/awt/PageAttributes.java, java/awt/print/Book.java,
8922 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8923 java/awt/print/Paper.java, java/awt/print/Printable.java,
8924 java/awt/print/PrinterAbortException.java,
8925 java/awt/print/PrinterException.java,
8926 java/awt/print/PrinterGraphics.java,
8927 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8928 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8929 java/awt/Stroke.java, java/awt/TexturePaint.java,
8930 javax/accessibility/AccessibleAction.java,
8931 javax/accessibility/AccessibleBundle.java,
8932 javax/accessibility/AccessibleComponent.java,
8933 javax/accessibility/AccessibleContext.java,
8934 javax/accessibility/AccessibleEditableText.java,
8935 javax/accessibility/AccessibleExtendedComponent.java,
8936 javax/accessibility/AccessibleExtendedTable.java,
8937 javax/accessibility/AccessibleHyperlink.java,
8938 javax/accessibility/AccessibleHypertext.java,
8939 javax/accessibility/AccessibleIcon.java,
8940 javax/accessibility/Accessible.java,
8941 javax/accessibility/AccessibleKeyBinding.java,
8942 javax/accessibility/AccessibleRelation.java,
8943 javax/accessibility/AccessibleRelationSet.java,
8944 javax/accessibility/AccessibleResourceBundle.java,
8945 javax/accessibility/AccessibleRole.java,
8946 javax/accessibility/AccessibleSelection.java,
8947 javax/accessibility/AccessibleState.java,
8948 javax/accessibility/AccessibleStateSet.java,
8949 javax/accessibility/AccessibleTable.java,
8950 javax/accessibility/AccessibleTableModelChange.java,
8951 javax/accessibility/AccessibleText.java,
8952 javax/accessibility/AccessibleValue.java,
8953 javax/swing/AbstractAction.java,
8954 javax/swing/AbstractButton.java,
8955 javax/swing/AbstractCellEditor.java,
8956 javax/swing/AbstractListModel.java,
8957 javax/swing/AbstractSet.java, javax/swing/Action.java,
8958 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8959 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8960 javax/swing/border/CompoundBorder.java,
8961 javax/swing/border/EmptyBorder.java,
8962 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8963 javax/swing/border/LineBorder.java,
8964 javax/swing/border/MatteBorder.java,
8965 javax/swing/border/TitledBorder.java,
8966 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8967 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8968 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8969 javax/swing/CellRendererPane.java,
8970 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8971 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8972 javax/swing/colorchooser/ColorSelectionModel.java,
8973 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8974 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8975 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8976 javax/swing/DefaultBoundedRangeModel.java,
8977 javax/swing/DefaultButtonModel.java,
8978 javax/swing/DefaultCellEditor.java,
8979 javax/swing/DefaultCellRenderer.java,
8980 javax/swing/DefaultComboBoxModel.java,
8981 javax/swing/DefaultDesktopManager.java,
8982 javax/swing/DefaultFocusManager.java,
8983 javax/swing/DefaultListCellRenderer.java,
8984 javax/swing/DefaultListModel.java,
8985 javax/swing/DefaultListSelectionModel.java,
8986 javax/swing/DefaultSingleSelectionModel.java,
8987 javax/swing/DesktopManager.java,
8988 javax/swing/event/AncestorEvent.java,
8989 javax/swing/event/AncestorListener.java,
8990 javax/swing/event/CaretEvent.java,
8991 javax/swing/event/CaretListener.java,
8992 javax/swing/event/CellEditorListener.java,
8993 javax/swing/event/ChangeEvent.java,
8994 javax/swing/event/ChangeListener.java,
8995 javax/swing/event/DocumentEvent.java,
8996 javax/swing/event/DocumentListener.java,
8997 javax/swing/event/EventListenerList.java,
8998 javax/swing/event/HyperlinkEvent.java,
8999 javax/swing/event/HyperlinkListener.java,
9000 javax/swing/event/InternalFrameAdapter.java,
9001 javax/swing/event/InternalFrameEvent.java,
9002 javax/swing/event/InternalFrameListener.java,
9003 javax/swing/event/ListDataEvent.java,
9004 javax/swing/event/ListDataListener.java,
9005 javax/swing/event/ListSelectionEvent.java,
9006 javax/swing/event/ListSelectionListener.java,
9007 javax/swing/event/MenuDragMouseEvent.java,
9008 javax/swing/event/MenuDragMouseListener.java,
9009 javax/swing/event/MenuEvent.java,
9010 javax/swing/event/MenuKeyEvent.java,
9011 javax/swing/event/MenuKeyListener.java,
9012 javax/swing/event/MenuListener.java,
9013 javax/swing/event/MouseInputAdapter.java,
9014 javax/swing/event/MouseInputListener.java,
9015 javax/swing/event/PopupMenuEvent.java,
9016 javax/swing/event/PopupMenuListener.java,
9017 javax/swing/event/SwingPropertyChangeSupport.java,
9018 javax/swing/event/TableColumnModelEvent.java,
9019 javax/swing/event/TableColumnModelListener.java,
9020 javax/swing/event/TableModelEvent.java,
9021 javax/swing/event/TableModelListener.java,
9022 javax/swing/event/TreeExpansionEvent.java,
9023 javax/swing/event/TreeExpansionListener.java,
9024 javax/swing/event/TreeModelEvent.java,
9025 javax/swing/event/TreeModelListener.java,
9026 javax/swing/event/TreeSelectionEvent.java,
9027 javax/swing/event/TreeSelectionListener.java,
9028 javax/swing/event/TreeWillExpandListener.java,
9029 javax/swing/event/UndoableEditEvent.java,
9030 javax/swing/event/UndoableEditListener.java,
9031 javax/swing/filechooser/FileFilter.java,
9032 javax/swing/filechooser/FileSystemView.java,
9033 javax/swing/filechooser/FileView.java,
9034 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9035 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9036 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9037 javax/swing/JApplet.java, javax/swing/JButton.java,
9038 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9039 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9040 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9041 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9042 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9043 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9044 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9045 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9046 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9047 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9048 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9049 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9050 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9051 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9052 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9053 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9054 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9055 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9056 javax/swing/JToolTip.java, javax/swing/JTree.java,
9057 javax/swing/JViewport.java, javax/swing/JWindow.java,
9058 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9059 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9060 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9061 javax/swing/MenuSelectionManager.java,
9062 javax/swing/MutableComboBoxModel.java,
9063 javax/swing/OverlayLayout.java,
9064 javax/swing/plaf/ActionMapUIResource.java,
9065 javax/swing/plaf/basic/BasicBorders.java,
9066 javax/swing/plaf/basic/BasicButtonUI.java,
9067 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9068 javax/swing/plaf/basic/BasicDefaults.java,
9069 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9070 javax/swing/plaf/basic/BasicIconFactory.java,
9071 javax/swing/plaf/basic/BasicLabelUI.java,
9072 javax/swing/plaf/basic/BasicListUI.java,
9073 javax/swing/plaf/basic/BasicLookAndFeel.java,
9074 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9075 javax/swing/plaf/basic/BasicPanelUI.java,
9076 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9077 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9078 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9079 javax/swing/plaf/basic/BasicTextUI.java,
9080 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9081 javax/swing/plaf/basic/BasicTreeUI.java,
9082 javax/swing/plaf/basic/BasicViewportUI.java,
9083 javax/swing/plaf/BorderUIResource.java,
9084 javax/swing/plaf/ButtonUI.java,
9085 javax/swing/plaf/ColorChooserUI.java,
9086 javax/swing/plaf/ColorUIResource.java,
9087 javax/swing/plaf/ComboBoxUI.java,
9088 javax/swing/plaf/ComponentInputMapUIResource.java,
9089 javax/swing/plaf/ComponentUI.java,
9090 javax/swing/plaf/DesktopIconUI.java,
9091 javax/swing/plaf/DesktopPaneUI.java,
9092 javax/swing/plaf/DimensionUIResource.java,
9093 javax/swing/plaf/FileChooserUI.java,
9094 javax/swing/plaf/FontUIResource.java,
9095 javax/swing/plaf/IconUIResource.java,
9096 javax/swing/plaf/InputMapUIResource.java,
9097 javax/swing/plaf/InsetsUIResource.java,
9098 javax/swing/plaf/InternalFrameUI.java,
9099 javax/swing/plaf/LabelUI.java,
9100 javax/swing/plaf/ListUI.java,
9101 javax/swing/plaf/MenuBarUI.java,
9102 javax/swing/plaf/MenuItemUI.java,
9103 javax/swing/plaf/OptionPaneUI.java,
9104 javax/swing/plaf/PanelUI.java,
9105 javax/swing/plaf/PopupMenuUI.java,
9106 javax/swing/plaf/ProgressBarUI.java,
9107 javax/swing/plaf/RootPaneUI.java,
9108 javax/swing/plaf/ScrollBarUI.java,
9109 javax/swing/plaf/ScrollPaneUI.java,
9110 javax/swing/plaf/SeparatorUI.java,
9111 javax/swing/plaf/SliderUI.java,
9112 javax/swing/plaf/SplitPaneUI.java,
9113 javax/swing/plaf/TabbedPaneUI.java,
9114 javax/swing/plaf/TableHeaderUI.java,
9115 javax/swing/plaf/TableUI.java,
9116 javax/swing/plaf/TextUI.java,
9117 javax/swing/plaf/ToolBarUI.java,
9118 javax/swing/plaf/ToolTipUI.java,
9119 javax/swing/plaf/TreeUI.java,
9120 javax/swing/plaf/UIResource.java,
9121 javax/swing/plaf/ViewportUI.java,
9122 javax/swing/ProgressMonitorInputStream.java,
9123 javax/swing/ProgressMonitor.java,
9124 javax/swing/Renderer.java,
9125 javax/swing/RepaintManager.java,
9126 javax/swing/RootPaneContainer.java,
9127 javax/swing/Scrollable.java,
9128 javax/swing/ScrollPaneConstants.java,
9129 javax/swing/ScrollPaneLayout.java,
9130 javax/swing/SingleSelectionModel.java,
9131 javax/swing/SizeRequirements.java,
9132 javax/swing/SizeSequence.java,
9133 javax/swing/SwingConstants.java,
9134 javax/swing/SwingUtilities.java,
9135 javax/swing/table/AbstractTableModel.java,
9136 javax/swing/table/DefaultTableCellRenderer.java,
9137 javax/swing/table/DefaultTableColumnModel.java,
9138 javax/swing/table/DefaultTableModel.java,
9139 javax/swing/table/TableCellEditor.java,
9140 javax/swing/table/TableCellRenderer.java,
9141 javax/swing/table/TableColumn.java,
9142 javax/swing/table/TableColumnModel.java,
9143 javax/swing/table/TableModel.java,
9144 javax/swing/text/AbstractDocument.java,
9145 javax/swing/text/AttributeSet.java,
9146 javax/swing/text/BadLocationException.java,
9147 javax/swing/text/Caret.java,
9148 javax/swing/text/CharacterIterator.java,
9149 javax/swing/text/ComponentView.java,
9150 javax/swing/text/DefaultCaret.java,
9151 javax/swing/text/DefaultEditorKit.java,
9152 javax/swing/text/Document.java,
9153 javax/swing/text/EditorKit.java,
9154 javax/swing/text/Element.java,
9155 javax/swing/text/GapContent.java,
9156 javax/swing/text/JTextComponent.java,
9157 javax/swing/text/Keymap.java,
9158 javax/swing/text/MutableAttributeSet.java,
9159 javax/swing/text/PlainDocument.java,
9160 javax/swing/text/PlainEditorKit.java,
9161 javax/swing/text/Position.java,
9162 javax/swing/text/Segment.java,
9163 javax/swing/text/StyledDocument.java,
9164 javax/swing/text/StyledEditorKit.java,
9165 javax/swing/text/Style.java,
9166 javax/swing/text/TextAction.java,
9167 javax/swing/text/ViewFactory.java,
9168 javax/swing/text/View.java,
9169 javax/swing/Timer.java,
9170 javax/swing/ToggleButtonModel.java,
9171 javax/swing/ToolTipManager.java,
9172 javax/swing/tree/AbstractLayoutCache.java,
9173 javax/swing/tree/DefaultMutableTreeNode.java,
9174 javax/swing/tree/DefaultTreeCellEditor.java,
9175 javax/swing/tree/DefaultTreeCellRenderer.java,
9176 javax/swing/tree/DefaultTreeModel.java,
9177 javax/swing/tree/DefaultTreeSelectionModel.java,
9178 javax/swing/tree/ExpandVetoException.java,
9179 javax/swing/tree/FixedHeightLayoutCache.java,
9180 javax/swing/tree/MutableTreeNode.java,
9181 javax/swing/tree/RowMapper.java,
9182 javax/swing/tree/TreeCellEditor.java,
9183 javax/swing/tree/TreeCellRenderer.java,
9184 javax/swing/tree/TreeModel.java,
9185 javax/swing/tree/TreeNode.java,
9186 javax/swing/tree/TreePath.java,
9187 javax/swing/tree/TreeSelectionModel.java,
9188 javax/swing/tree/VariableHeightLayoutCache.java,
9189 javax/swing/UIDefaults.java,
9190 javax/swing/UIManager.java,
9191 javax/swing/undo/AbstractUndoableEdit.java,
9192 javax/swing/undo/CannotRedoException.java,
9193 javax/swing/undo/CannotUndoException.java,
9194 javax/swing/undo/CompoundEdit.java,
9195 javax/swing/undo/StateEditable.java,
9196 javax/swing/undo/StateEdit.java,
9197 javax/swing/undo/UndoableEdit.java,
9198 javax/swing/undo/UndoableEditSupport.java,
9199 javax/swing/undo/UndoManager.java,
9200 javax/swing/UnsupportedLookAndFeelException.java,
9201 javax/swing/ViewportLayout.java,
9202 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9203
9204 * java/awt/ActiveEvent.java,
9205 java/awt/Adjustable.java, java/awt/AWTError.java,
9206 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9207 java/awt/AWTException.java, java/awt/AWTPermission.java,
9208 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9209 java/awt/Color.java, java/awt/Component.java,
9210 java/awt/ComponentOrientation.java, java/awt/Container.java,
9211 java/awt/datatransfer/MimeTypeParseException.java,
9212 java/awt/datatransfer/Transferable.java,
9213 java/awt/datatransfer/UnsupportedFlavorException.java,
9214 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9215 java/awt/event/ActionListener.java,
9216 java/awt/event/AdjustmentEvent.java,
9217 java/awt/event/AdjustmentListener.java,
9218 java/awt/event/AWTEventListener.java,
9219 java/awt/event/ComponentAdapter.java,
9220 java/awt/event/ComponentEvent.java,
9221 java/awt/event/ComponentListener.java,
9222 java/awt/event/ContainerAdapter.java,
9223 java/awt/event/ContainerEvent.java,
9224 java/awt/event/ContainerListener.java,
9225 java/awt/event/FocusAdapter.java,
9226 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9227 java/awt/event/HierarchyBoundsAdapter.java,
9228 java/awt/event/HierarchyBoundsListener.java,
9229 java/awt/event/HierarchyEvent.java,
9230 java/awt/event/HierarchyListener.java,
9231 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9232 java/awt/event/InputMethodListener.java,
9233 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9234 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9235 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9236 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9237 java/awt/event/MouseListener.java,
9238 java/awt/event/MouseMotionAdapter.java,
9239 java/awt/event/MouseMotionListener.java,
9240 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9241 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9242 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9243 java/awt/event/WindowListener.java, java/awt/Font.java,
9244 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9245 java/awt/geom/Ellipse2D.java,
9246 java/awt/geom/IllegalPathStateException.java,
9247 java/awt/geom/Line2D.java,
9248 java/awt/geom/NoninvertibleTransformException.java,
9249 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9250 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9251 java/awt/geom/RoundRectangle2D.java,
9252 java/awt/GraphicsConfiguration.java,
9253 java/awt/IllegalComponentStateException.java,
9254 java/awt/image/IndexColorModel.java,
9255 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9256 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9257 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9258 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9259 java/awt/MenuItem.java, java/awt/PaintContext.java,
9260 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9261 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9262 java/awt/PrintJob.java, java/awt/Rectangle.java,
9263 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9264 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9265 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9266
9267 * java/awt/im/spi/InputMethod.java,
9268 java/awt/im/spi/InputMethodContext.java,
9269 java/awt/im/spi/InputMethodDescriptor.java,
9270 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9271 java/awt/image/renderable/ParameterBlock.java,
9272 java/awt/image/renderable/RenderContext.java,
9273 java/awt/image/renderable/RenderableImage.java,
9274 java/awt/image/renderable/RenderableImageOp.java,
9275 java/awt/image/renderable/RenderableImageProducer.java,
9276 java/awt/image/renderable/RenderedImageFactory.java: New files from
9277 classpath.
9278
9279 * gnu/java/awt/EventModifier.java,
9280 gnu/java/awt/image/ImageDecoder.java,
9281 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9282
9283 * gnu/awt/xlib/XGraphicsConfiguration.java,
9284 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9285 API.
9286
9287 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9288 GNU Classpath.
9289
9290 * Makefile.am: Add new files.
9291 * Makefile.in: Rebuilt.
9292
9293 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9294
9295 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9296 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9297 findResource, getResources, findResources): Add javadoc from classpath.
9298 (getSystemResources): Implemented.
9299
9300 2002-08-01 Mark Wielaard <mark@klomp.org>
9301
9302 Revert patch that breaks libgcj shared library on powerpc:
9303 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9304 implementation classes by using Class.getName(). Uses Strings again.
9305 * gnu/java/security/der/DEREncodingException.java,
9306 gnu/java/security/provider/DERReader.java,
9307 gnu/java/security/provider/DERWriter.java,
9308 gnu/java/security/provider/DSAKeyPairGenerator.java,
9309 gnu/java/security/provider/DSAParameterGenerator.java,
9310 gnu/java/security/provider/DSAParameters.java,
9311 gnu/java/security/provider/DSASignature.java,
9312 gnu/java/security/provider/GnuDSAPrivateKey.java,
9313 gnu/java/security/provider/GnuDSAPublicKey.java,
9314 gnu/java/security/provider/MD5.java,
9315 gnu/java/security/util/Prime.java: Removed.
9316 * Makefile.am (ordinary_java_source_files): Remove above files.
9317 * Makefile.in: Regenerate.
9318 * gnu/java/security/provider/DefaultPolicy.java
9319 (getPermissions): Revert to maintaining static class variable of
9320 Permissions.
9321 * gnu/java/security/provider/SHA.java
9322 (engineUpdate): Revert algorithm change.
9323 (engineDigest): Revert algorithm change.
9324
9325 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9326
9327 * configure.host: Add SH support.
9328 * sysdep/sh/locks.h: New file.
9329
9330 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9331
9332 * java/awt/Frame.java (Frame): Remove println calls.
9333
9334 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9335
9336 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9337 * configure: Rebuilt.
9338
9339 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9340
9341 * sysdep/powerpc/locks.h: Formatting.
9342 (_LARX): Define.
9343 (_STCX): Define.
9344 (compare_and_swap): Use _LARX and _STCX.
9345 (compare_and_swap_release): Likewise.
9346
9347 2002-07-26 Tom Tromey <tromey@redhat.com>
9348
9349 * java/net/Authenticator.java: New version from Classpath.
9350 * java/net/DatagramSocketImpl.java: New version from Classpath.
9351
9352 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9353
9354 * configure.host: Add powerpc64*-* entry.
9355
9356 2002-07-26 Tom Tromey <tromey@redhat.com>
9357
9358 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9359 fcntl.h.
9360
9361 2002-07-24 Tom Tromey <tromey@redhat.com>
9362
9363 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9364 argument to _load.
9365
9366 2002-07-24 Tom Tromey <tromey@redhat.com>
9367 Tony Kimball <alk@pobox.com>
9368
9369 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9370 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9371 * java/io/RandomAccessFile.java (setLength): New method.
9372 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9373 * java/io/FileDescriptor.java (setLength): New method.
9374
9375 2002-07-24 Mark Wielaard <mark@klomp.org>
9376
9377 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9378 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9379 field call setAccessible(true).
9380 (setByteField): Likewise.
9381 (setCharField): Likewise.
9382 (setDoubleField): Likewise.
9383 (setFloatField): Likewise.
9384 (setIntField): Likewise.
9385 (setLongField): Likewise.
9386 (setShortField): Likewise.
9387 (setObjectField): Likewise.
9388
9389 2002-07-24 Tom Tromey <tromey@redhat.com>
9390
9391 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9392 use toString() to format array element.
9393
9394 2002-07-23 Mark Wielaard <mark@klomp.org>
9395
9396 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9397 MessageDigestSpi (fixes Classpath bug #783).
9398
9399 2002-07-21 Mark Wielaard <mark@klomp.org>
9400
9401 * gnu/java/security/provider/Gnu.java: Reference all implementation
9402 classes by using Class.getName().
9403
9404 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9405
9406 * java/lang/ieeefp.h: Add x86-64 support.
9407 * configure.in: Likewise.
9408 * configure.host: Likewise.
9409 * configure: Regenerated.
9410 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9411
9412 2002-07-16 Mark Wielaard <mark@klomp.org>
9413
9414 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9415 (whitespaceChars): call resetChar().
9416
9417 2002-07-15 Tom Tromey <tromey@redhat.com>
9418
9419 * Makefile.in: Rebuilt.
9420 * Makefile.am (awt_java_source_files): Added new files.
9421 * java/beans/ExceptionListener.java: Merged with Classpath.
9422 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9423 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9424 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9425 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9426 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9427 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9428 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9429
9430 2002-07-14 Mark Wielaard <mark@klomp.org>
9431
9432 * gnu/java/security/der/DEREncodingException.java,
9433 gnu/java/security/provider/DERReader.java,
9434 gnu/java/security/provider/DERWriter.java,
9435 gnu/java/security/provider/DSAKeyPairGenerator.java,
9436 gnu/java/security/provider/DSAParameterGenerator.java,
9437 gnu/java/security/provider/DSAParameters.java,
9438 gnu/java/security/provider/DSASignature.java,
9439 gnu/java/security/provider/GnuDSAPrivateKey.java,
9440 gnu/java/security/provider/GnuDSAPublicKey.java,
9441 gnu/java/security/provider/MD5.java,
9442 gnu/java/security/util/Prime.java: New files from Classpath.
9443 * Makefile.am (ordinary_java_source_files): Add new files.
9444 * Makefile.in: Regenerate.
9445
9446 2002-07-14 C. Brian Jones <cbj@gnu.org>
9447
9448 * gnu/java/security/provider/DefaultPolicy.java
9449 (getPermissions): do not maintain static class variable of
9450 Permissions
9451 * gnu/java/security/provider/SHA.java
9452 (engineUpdate): algorithm change
9453 (engineDigest): algorithm change
9454
9455 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9456
9457 For PR libgcj/7292:
9458 * java/lang/Character.java (toString(char)): Now static.
9459
9460 2002-07-12 Mark Wielaard <mark@klomp.org>
9461
9462 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9463 (getStackTrace0): new method.
9464 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9465 (printStackTrace(PrintWriter)): replace with pure java implementation.
9466 (printRawStackTrace): removed.
9467 (getStackTrace0): new method.
9468 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9469 * gcj/javaprims.h: regenerate class list.
9470 * include/name-finder.h (lookup): new returns StackTraceElement*.
9471 (method_name, file_name): fields removed.
9472 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9473 (~_Jv_name_finder): close new descriptors.
9474 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9475 (createStackTraceElement): new method.
9476 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9477
9478 2002-07-10 Tom Tromey <tromey@redhat.com>
9479
9480 * configure: Rebuilt.
9481 * configure.in: Use `test' after `&&'. From Chris Faylor.
9482
9483 2002-07-08 Mark Wielaard <mark@klomp.org>
9484
9485 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9486 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9487 java.sql.DatabaseMetaData.TestJdbc20
9488
9489 2002-07-05 Tony Kimball <alk@pobox.com>
9490
9491 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9492
9493 2002-07-04 Tom Tromey <tromey@redhat.com>
9494 Jeff Sturm <jsturm@one-point.com>
9495
9496 Fix for PR libgcj/7060:
9497 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9498 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9499 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9500 * java/lang/Class.java (getMethod): New Java implementation;
9501 complies with spec.
9502 (_getMethod): New native method.
9503
9504 2002-07-02 Tom Tromey <tromey@redhat.com>
9505 David Hovemeyer <daveho@cs.umd.edu>
9506
9507 * java/text/ChoiceFormat.java
9508 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9509 in check loop.
9510 * java/text/MessageFormat.java
9511 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9512 to MessageFormat.
9513
9514 2002-07-01 Tom Tromey <tromey@redhat.com>
9515
9516 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9517 StringTokenizer on null string. For PR libgcj/7180.
9518 From daveho@cs.umd.edu.
9519
9520 2002-06-24 Tom Tromey <tromey@redhat.com>
9521
9522 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9523 (IntegerClass): Likewise.
9524 * java/lang/natClass.cc (CloneableClass): Removed.
9525 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9526 ConstructorClass): Likewise.
9527 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9528 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9529 SerializableClass): Likewise.
9530 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9531 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9532 LongClass, FloatClass, DoubleClass): Likewise.
9533
9534 * verify.cc (branch_prepass): Updated for change to exception
9535 handler type.
9536 (verify_instructions_0): Likewise.
9537 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9538 (handleExceptionTableEntry): Updated for change to exception
9539 handler type.
9540 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9541 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9542 (union _Jv_InterpPC): New.
9543 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9544 (class _Jv_InterpMethod): Added new `prepared' field.
9545 (class _Jv_InterpMethod): Added `compile' method. Removed
9546 `continue1' and `find_exception'. Changed arguments to `run'.
9547 * interpret.cc (union insn_slot): New.
9548 (find_exception): Removed.
9549 (run_normal): Removed most logic.
9550 (run_synch_object): Likewise; also, use JvSynchronize.
9551 (run_synch_class): Likewise.
9552 (run): Removed.
9553 (continue1): Renamed as `run'. Compile bytecode if required.
9554 Add new code to allow refinement of direct-threaded code at
9555 runtime. Handle exceptions.
9556 (SAVE_PC): Removed.
9557 (compile): New method.
9558 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9559 (NULLARRAYCHECK): Don't use SAVE_PC.
9560 (pc_t): New typedef.
9561 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9562 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9563
9564 2002-06-23 Tom Tromey <tromey@redhat.com>
9565
9566 * configure: Rebuilt.
9567 * configure.in (INTERPRETER): New subst.
9568 (AM_RUNTESTFLAGS): Don't subst.
9569
9570 * Makefile.in: Rebuilt.
9571 * Makefile.am ($(srcdir)/java/lang/Object.h,
9572 $(srcdir)/java/lang/Class.h): Added dummy targets.
9573
9574 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9575
9576 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9577
9578 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9579 java/sql/Savepoint.java: New files.
9580 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9581 java/sql/Blob.java, java/sql/CallableStatement.java,
9582 java/sql/Clob.java, java/sql/Connection.java,
9583 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9584 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9585 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9586 java/sql/Ref.java, java/sql/ResultSet.java,
9587 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9588 java/sql/SQLException.java, java/sql/SQLInput.java,
9589 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9590 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9591 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9592 (JDK 1.4) specification.
9593 * javax/sql/ConnectionEvent.java,
9594 javax/sql/ConnectionEventListener.java,
9595 javax/sql/ConnectionPoolDataSource.java,
9596 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9597 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9598 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9599 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9600 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9601 javax/sql/XADataSource.java: New files.
9602 * Makefile.am: Add new files.
9603 * Makefile.in: Rebuilt.
9604
9605 2002-06-20 Tom Tromey <tromey@redhat.com>
9606
9607 For PR libgcj/7073:
9608 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9609 exists.
9610 * defineclass.cc (handleClassBegin): Superclass for interface is
9611 `null'.
9612
9613 2002-06-18 Tom Tromey <tromey@redhat.com>
9614
9615 * gcj/javaprims.h: Updated class declaration list.
9616 * Makefile.in: Rebuilt.
9617 * Makefile.am (core_java_source_files): Removed
9618 BasicMapEntry.java.
9619 * java/util/BasicMapEntry.java: Removed.
9620
9621 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9622
9623 * java/net/natPlainDatagramSocketImpl.cc (receive):
9624 Check bounds of argument to FD_SET.
9625 (setOption): Throw exception if socket is closed.
9626
9627 * java/net/natPlainSocketImpl.cc (accept, read):
9628 Check bounds of argument to FD_SET.
9629 (setOption): Throw exception if socket is closed.
9630
9631 2002-06-18 Tom Tromey <tromey@redhat.com>
9632
9633 * gcj/javaprims.h: Updated class declaration list.
9634 * Makefile.in: Rebuilt.
9635 * Makefile.am (core_java_source_files): Added
9636 PropertyPermissionCollection.java.
9637 * java/lang/Thread.java (group, name): Now package-private.
9638 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9639 * java/util/AbstractList.java: Likewise.
9640 * java/util/AbstractMap.java: Likewise.
9641 * java/util/Calendar.java: Likewise.
9642 * java/util/Collections.java: Likewise.
9643 * java/util/HashMap.java: Likewise.
9644 * java/util/Hashtable.java: Likewise.
9645 * java/util/LinkedHashMap.java: Likewise.
9646 * java/util/LinkedList.java: Likewise.
9647 * java/util/List.java: Likewise.
9648 * java/util/ListResourceBundle.java: Likewise.
9649 * java/util/Map.java: Likewise.
9650 * java/util/Observable.java: Likewise.
9651 * java/util/Properties.java: Likewise.
9652 * java/util/PropertyPermission.java: Likewise.
9653 * java/util/PropertyPermissionCollection.java: Likewise.
9654 * java/util/PropertyResourceBundle.java: Likewise.
9655 * java/util/Random.java: Likewise.
9656 * java/util/SimpleTimeZone.java: Likewise.
9657 * java/util/StringTokenizer.java: Likewise.
9658 * java/util/TimerTask.java: Likewise.
9659 * java/util/TreeMap.java: Likewise.
9660 * java/util/WeakHashMap.java: Likewise.
9661 * java/util/jar/Attributes.java: Likewise.
9662 * java/util/jar/JarException.java: Likewise.
9663 * java/util/jar/Manifest.java: Likewise.
9664
9665 2002-06-17 Tom Tromey <tromey@redhat.com>
9666
9667 * gcj/javaprims.h: Updated class declaration list.
9668 * Makefile.in: Rebuilt.
9669 * Makefile.am (core_java_source_files): Added new file.
9670 * java/util/EventListenerProxy.java: New file.
9671 * java/util/EventListener.java: Re-merge with Classpath.
9672 * java/util/EventObject.java: Re-merge with Classpath.
9673
9674 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9675
9676 * java/lang/ClassNotFoundException.java: New Classpath version.
9677
9678 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9679
9680 * java/rmi/activation/ActivateFailedException.java: Remerge from
9681 Classpath version.
9682 * java/rmi/activation/ActivationException.java: Ditto.
9683 * java/rmi/activation/UnknownGroupException.java: Ditto.
9684 * java/rmi/activation/UnknownObjectException.java: Ditto.
9685 * java/rmi/server/ExportException: Ditto.
9686 * java/rmi/server/ServerCloneException: Ditto.
9687 * java/rmi/server/ServerNotActiveException: Ditto.
9688 * java/rmi/server/SkeletonMismatchException: Ditto.
9689 * java/rmi/server/SkeletonNotFoundException: Ditto.
9690 * java/rmi/server/SocketSecurityException: Ditto.
9691
9692 2002-06-16 Tom Tromey <tromey@redhat.com>
9693
9694 * gcj/javaprims.h: Updated class declaration list.
9695
9696 * java/io/LineNumberInputStream.java: Merged with Classpath.
9697
9698 * java/lang/RuntimeException.java: Re-merge with Classpath.
9699 * java/util/ArrayList.java: Likewise.
9700 * java/util/Arrays.java: Likewise.
9701 * java/util/BitSet.java: Likewise.
9702 * java/util/Dictionary.java: Likewise.
9703 * java/util/IdentityHashMap.java: Likewise.
9704 * java/util/MissingResourceException.java: Likewise.
9705 * java/util/Observer.java: Likewise.
9706 * java/util/TooManyListenersException.java: Likewise.
9707 * java/util/zip/DataFormatException.java: Likewise.
9708 * java/util/zip/ZipException.java: Likewise.
9709
9710 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9711
9712 * java/rmi/AccessException.java: Remerge from Classpath.
9713 * java/rmi/AlreadyBoundException.java: Ditto.
9714 * java/rmi/ConnectException.java: Ditto.
9715 * java/rmi/ConnectIOException.java: Ditto.
9716 * java/rmi/MarshalException.java: Ditto.
9717 * java/rmi/NoSuchObjectException.java: Ditto.
9718 * java/rmi/NotBoundException.java: Ditto.
9719 * java/rmi/RemoteException.java: Ditto.
9720 * java/rmi/RMISecurityException.java: Ditto.
9721 * java/rmi/ServerError.java: Ditto.
9722 * java/rmi/ServerException.java: Ditto.
9723 * java/rmi/ServerRuntimeException.java: Ditto.
9724 * java/rmi/StubNotFoundException.java: Ditto.
9725 * java/rmi/UnexpectedExcpetion.java: Ditto.
9726 * java/rmi/UnknownHostException.java: Ditto.
9727 * java/rmi/UnmarshalException.java: Ditto.
9728
9729 2002-06-15 Tom Tromey <tromey@redhat.com>
9730
9731 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9732 * java/lang/ArithmeticException.java: Likewise.
9733 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9734 * java/lang/ArrayStoreException.java: Likewise.
9735 * java/lang/Byte.java: Likewise.
9736 * java/lang/CharSequence.java: Likewise.
9737 * java/lang/ClassCastException.java: Likewise.
9738 * java/lang/ClassCircularityError.java: Likewise.
9739 * java/lang/ClassFormatError.java: Likewise.
9740 * java/lang/CloneNotSupportedException.java: Likewise.
9741 * java/lang/Cloneable.java: Likewise.
9742 * java/lang/Comparable.java: Likewise.
9743 * java/lang/Compiler.java: Likewise.
9744 * java/lang/Error.java: Likewise.
9745 * java/lang/ExceptionInInitializerError.java: Likewise.
9746 * java/lang/IllegalAccessError.java: Likewise.
9747 * java/lang/IllegalAccessException.java: Likewise.
9748 * java/lang/IllegalArgumentException.java: Likewise.
9749 * java/lang/IllegalMonitorStateException.java: Likewise.
9750 * java/lang/IllegalStateException.java: Likewise.
9751 * java/lang/IllegalThreadStateException.java: Likewise.
9752 * java/lang/IncompatibleClassChangeError.java: Likewise.
9753 * java/lang/IndexOutOfBoundsException.java: Likewise.
9754 * java/lang/InheritableThreadLocal.java: Likewise.
9755 * java/lang/InstantiationError.java: Likewise.
9756 * java/lang/InstantiationException.java: Likewise.
9757 * java/lang/InternalError.java: Likewise.
9758 * java/lang/InterruptedException.java: Likewise.
9759 * java/lang/LinkageError.java: Likewise.
9760 * java/lang/NegativeArraySizeException.java: Likewise.
9761 * java/lang/NoClassDefFoundError.java: Likewise.
9762 * java/lang/NoSuchFieldError.java: Likewise.
9763 * java/lang/NoSuchFieldException.java: Likewise.
9764 * java/lang/NoSuchMethodError.java: Likewise.
9765 * java/lang/NoSuchMethodException.java: Likewise.
9766 * java/lang/NullPointerException.java: Likewise.
9767 * java/lang/NumberFormatException.java: Likewise.
9768 * java/lang/OutOfMemoryError.java: Likewise.
9769 * java/lang/Process.java: Likewise.
9770 * java/lang/Runnable.java: Likewise.
9771 * java/lang/RuntimePermission.java: Likewise.
9772 * java/lang/SecurityException.java: Likewise.
9773 * java/lang/Short.java: Likewise.
9774 * java/lang/StackOverflowError.java: Likewise.
9775 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9776 * java/lang/ThreadDeath.java: Likewise.
9777 * java/lang/ThreadLocal.java: Likewise.
9778 * java/lang/UnknownError.java: Likewise.
9779 * java/lang/UnsatisfiedLinkError.java: Likewise.
9780 * java/lang/UnsupportedClassVersionError.java: Likewise.
9781 * java/lang/UnsupportedOperationException.java: Likewise.
9782 * java/lang/VerifyError.java: Likewise.
9783 * java/lang/VirtualMachineError.java: Likewise.
9784 * java/lang/reflect/InvocationTargetException.java: Likewise.
9785 * java/net/BindException.java: Likewise.
9786 * java/net/ConnectException.java: Likewise.
9787 * java/net/MalformedURLException.java: Likewise.
9788 * java/net/NoRouteToHostException.java: Likewise.
9789 * java/net/ProtocolException.java: Likewise.
9790 * java/net/SocketException.java: Likewise.
9791 * java/net/UnknownHostException.java: Likewise.
9792 * java/net/UnknownServiceException.java: Likewise.
9793
9794 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9795 * java/io/CharConversionException.java: Likewise.
9796 * java/io/EOFException.java: Likewise.
9797 * java/io/FileNotFoundException.java: Likewise.
9798 * java/io/IOException.java: Likewise.
9799 * java/io/InterruptedIOException.java: Likewise.
9800 * java/io/InvalidClassException.java: Likewise.
9801 * java/io/InvalidObjectException.java: Likewise.
9802 * java/io/NotActiveException.java: Likewise.
9803 * java/io/NotSerializableException.java: Likewise.
9804 * java/io/ObjectStreamException.java: Likewise.
9805 * java/io/ObjectStreamConstants.java: Likewise.
9806 * java/io/OptionalDataException.java: Likewise.
9807 * java/io/PipedInputStream.java: Likewise.
9808 * java/io/PushbackInputStream.java: Likewise.
9809 * java/io/StreamCorruptedException.java: Likewise.
9810 * java/io/SyncFailedException.java: Likewise.
9811 * java/io/UTFDataFormatException.java: Likewise.
9812 * java/io/UnsupportedEncodingException.java: Likewise.
9813 * java/io/WriteAbortedException.java: Likewise.
9814
9815 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9816
9817 * java/text/ChoiceFormat.java: Update comments from Classpath.
9818 * java/text/ParseException.java (serialVersionUID): New
9819 field from Classpath.
9820 * java/text/ParseException.java: Update formatting & comments
9821 from Classpath.
9822
9823 2002-06-15 Tom Tromey <tromey@redhat.com>
9824
9825 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9826 been read but none output by inflater.
9827 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9828 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9829 is_finished.
9830 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9831 version.
9832 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9833 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9834 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9835 version.
9836 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9837
9838 2002-06-13 Tom Tromey <tromey@redhat.com>
9839
9840 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9841 true and OFFSET!=0.
9842 * java/lang/String.java (String(char[],int,int,boolean): New
9843 constructor.
9844 * java/lang/Long.java: Imported new version from Classpath.
9845 * java/lang/Number.java: Likewise.
9846 * java/lang/Integer.java: Likewise.
9847 * java/lang/Long.java: Likewise.
9848 * java/lang/Float.java: Likewise.
9849 * java/lang/Boolean.java: Likewise.
9850 * java/lang/Double.java: Likewise.
9851 * java/lang/Void.java: Likewise.
9852
9853 2002-06-12 Tom Tromey <tromey@redhat.com>
9854
9855 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9856 Fixes PR libgcj/6652.
9857
9858 2002-06-10 Tom Tromey <tromey@redhat.com>
9859
9860 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9861 (Class::getPackagePortion): Likewise.
9862 * java/lang/Class.java (desiredAssertionStatus): New method from
9863 Classpath.
9864 (getPackagePortion): Likewise.
9865 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9866 packageAssertionStatus, classAssertionStatus): New methods from
9867 Classpath.
9868 * java/lang/ClassLoader.java (defaultAssertionStatus,
9869 systemPackageAssertionStatus, packageAssertionStatus,
9870 systemClassAssertionStatus, classAssertionStatus): New fields from
9871 Classpath.
9872 (setDefaultAssertionStatus, setPackageAssertionStatus,
9873 setClassAssertionStatus, clearAssertionStatus): New methods from
9874 Classpath.
9875 * Makefile.in: Rebuilt.
9876 * Makefile.am (core_java_source_files): Added AssertionError.java.
9877 * java/lang/AssertionError.java: New from Classpath.
9878
9879 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9880
9881 * configure.host: Disable hash synchronization and slow_pthread_self
9882 for cygwin.
9883
9884 2002-06-06 Adam Megacz <adam@xwt.org>
9885
9886 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9887 locking, just like the Sun JVM does.
9888
9889 2002-06-05 H.J. Lu (hjl@gnu.org)
9890
9891 * Makefile.am (libgcj_convenience.la): Revert the last change.
9892 (libgcj.la): Likewise.
9893 * Makefile.in: Regenerated.
9894
9895 2002-06-04 H.J. Lu (hjl@gnu.org)
9896
9897 * Makefile.am (libgcj_convenience.la): New target.
9898 (libgcj.la): Depend on libgcj_convenience.la.
9899 * Makefile.in: Regenerated.
9900
9901 2002-06-04 H.J. Lu (hjl@gnu.org)
9902
9903 * configure.in (--with-newlib): New option:
9904 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9905 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9906 Linux.
9907 * configure: Regenerated.
9908
9909 2002-06-04 Tom Tromey <tromey@redhat.com>
9910
9911 * java/util/natTimeZone.cc: Include <stdio.h>.
9912
9913 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9914
9915 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9916 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9917 Set SIGNAL_HANDLER=include/s390-linux.h.
9918 * configure: Regenerate.
9919 * include/s390-linux.h: New file.
9920
9921 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9922
9923 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9924 not "stackTrace".
9925
9926 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9927
9928 Merge JDK 1.4 java.security changes from classpath.
9929
9930 * java/security/AccessControlException.java: Merge from Classpath.
9931 * java/security/AccessController.java: Likewise.
9932 * java/security/AllPermission.java: Likewise.
9933 * java/security/BasicPermission.java: Likewise.
9934 * java/security/Certificate.java: Likewise.
9935 * java/security/CodeSource.java: Likewise.
9936 * java/security/DigestException.java: Likewise.
9937 * java/security/DigestOutputStream.java: Likewise.
9938 * java/security/DomainCombiner.java: Likewise.
9939 * java/security/GeneralSecurityException.java: Likewise.
9940 * java/security/Guard.java: Likewise.
9941 * java/security/GuardedObject.java: Likewise.
9942 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9943 * java/security/InvalidKeyException.java: Likewise.
9944 * java/security/InvalidParameterException.java: Likewise.
9945 * java/security/Key.java: Likewise.
9946 * java/security/KeyException.java: Likewise.
9947 * java/security/KeyManagementException.java: Likewise.
9948 * java/security/KeyStoreException.java: Likewise.
9949 * java/security/MessageDigest.java: Likewise.
9950 * java/security/NoSuchAlgorithmException.java: Likewise.
9951 * java/security/NoSuchProviderException.java: Likewise.
9952 * java/security/Permission.java: Likewise.
9953 * java/security/PermissionCollection.java: Likewise.
9954 * java/security/Permissions.java: Likewise.
9955 * java/security/Policy.java: Likewise.
9956 * java/security/Principal.java: Likewise.
9957 * java/security/PrivateKey.java: Likewise.
9958 * java/security/PrivilegedAction.java: Likewise.
9959 * java/security/PrivilegedActionException.java: Likewise.
9960 * java/security/PrivilegedExceptionAction.java: Likewise.
9961 * java/security/ProtectionDomain.java: Likewise.
9962 * java/security/ProviderException.java: Likewise.
9963 * java/security/PublicKey.java: Likewise.
9964 * java/security/SecureClassLoader.java: Likewise.
9965 * java/security/SecurityPermission.java: Likewise.
9966 * java/security/SignatureException.java: Likewise.
9967 * java/security/UnrecoverableKeyException.java: Likewise.
9968 * java/security/UnresolvedPermission.java: Likewise.
9969 * java/security/acl/AclNotFoundException.java: Likewise.
9970 * java/security/acl/LastOwnerException.java: Likewise.
9971 * java/security/acl/NotOwnerException.java: Likewise.
9972 * java/security/cert/CRLException.java: Likewise.
9973 * java/security/cert/CertificateEncodingException.java: Likewise.
9974 * java/security/cert/CertificateException.java: Likewise.
9975 * java/security/cert/CertificateExpiredException.java: Likewise.
9976 * java/security/cert/CertificateFactory.java: Likewise.
9977 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9978 * java/security/cert/CertificateParsingException.java: Likewise.
9979 * java/security/spec/InvalidKeySpecException.java: Likewise.
9980 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9981
9982 * java/security/cert/CertPath.java: New file.
9983 * java/security/cert/CertPathBuilderException.java: New file.
9984 * java/security/cert/CertPathValidatorException.java: New file.
9985 * java/security/cert/CertStoreException.java: New file.
9986
9987 * Makefile.am: Add new CertPath classes.
9988 * Makefile.in: Rebuilt.
9989
9990 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9991
9992 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9993
9994 Merge JDK 1.4 exception chaining support from classpath.
9995
9996 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9997 (stackTraceBytes): Rename from stackTrace.
9998 * java/lang/Exception.java: Merge from classpath.
9999 * java/lang/StackTraceElement: New file from classpath.
10000 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10001 * Makefile.am: Add StackTraceElement.
10002 * Makefile.in: Rebuilt.
10003
10004 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10005
10006 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10007 they build first.
10008 * Makefile.in: Rebuilt.
10009
10010 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10011
10012 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10013 * configure.in: Likewise.
10014 * aclocal.m4: Regenerate.
10015 * configure: Regenerate.
10016
10017 2002-05-13 Tom Tromey <tromey@redhat.com>
10018
10019 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10020 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10021 Include platform.h.
10022
10023 Fixes PR libgcj/6389:
10024 * Makefile.in: Rebuilt.
10025 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10026 * java/util/natTimeZone.cc: New file.
10027 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10028 * java/lang/System.java: Merged with Classpath.
10029 * java/lang/Runtime.java: Merged with Classpath.
10030 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10031 security check.
10032 (setIn0): Renamed from setIn; don't run security check.
10033 (setOut0): Renamed from setOut; don't run security check.
10034 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10035 init_properties): Moved to natRuntime.cc.
10036 Moved many includes to natRuntime.cc.
10037 (isWordsBigEndian): New method.
10038 * java/lang/natRuntime.cc: Include Long.h, also other includes
10039 previously in natSystem.cc.
10040 (maxMemory): New function.
10041 (exitInternal): Renamed from `_exit'.
10042 (exit): Removed.
10043 (init): Don't set finalize_on_exit.
10044 (exitInternal): Use `finalizeOnExit'.
10045 (file_encoding, getpwuid_adaptor): New functions from
10046 natSystem.cc.
10047 (insertSystemProperties): New method, renamed from
10048 System::init_properties. Don't set user.timezone.
10049 (_load): Don't call checkLink.
10050 (execInternal): New method.
10051 (availableProcessors): Likewise.
10052 (nativeGetLibname): Likewise.
10053
10054 2002-05-11 Mark Wielaard <mark@klomp.org>
10055
10056 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10057 space characters.
10058 (previous_internal): Likewise.
10059
10060 2002-05-09 Tom Tromey <tromey@redhat.com>
10061
10062 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10063
10064 * java/util/ResourceBundle.java: New version from Classpath.
10065 * java/util/Locale.java: Likewise.
10066
10067 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10068
10069 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10070 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10071 LD_LIBRARY_PATH.
10072
10073 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10074
10075 * libjava/Makefile.am (all_java_source_files): New variable.
10076 (all_java_class_files): Likewise.
10077 .java.class: New rule.
10078 (CLEANFILES): Remove tmp-list.
10079 * libjava/Makefile.in: Regenerated.
10080
10081 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10082
10083 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10084 Append .exe to executable names. Fix for cygwin.
10085
10086 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10087
10088 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10089 script entry, and set LD to it when configuring multilibs.
10090 * configure: Rebuilt.
10091
10092 2002-05-07 Tom Tromey <tromey@redhat.com>
10093
10094 * java/lang/natString.cc (unintern): Fixed typo.
10095
10096 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10097
10098 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10099 with -no-install on *-*-cygwin*.
10100
10101 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10102
10103 * testsuite/lib/libjava.exp (test_libjava_from_source):
10104 Add comment explaining last patch
10105
10106 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10107
10108 * testsuite/lib/libjava.exp (test_libjava_from_source):
10109 Append .exe to executable names. If no suffix is present,
10110 then ".exe" is added by default on win32. Harmless
10111 elsewhere so always do it.
10112
10113 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10114 Tom Tromey <tromey@redhat.com>
10115
10116 * java/lang/natSystem.cc (getSystemTimeZone): Use
10117 HAVE_UNDERSCORE_TIMEZONE.
10118 * include/config.h.in: Rebuilt.
10119 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10120 * aclocal.m4, configure: Rebuilt.
10121 * acinclude.m4: Run AC_EXEEXT.
10122 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10123 Add test for `_timezone'.
10124
10125 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10126
10127 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10128 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10129 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10130 * Makefile.in: Rebuilt.
10131
10132 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10133
10134 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10135 use sigaction instead of __libc_sigaction.
10136
10137 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10138
10139 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10140 (libjava_init): Use it to find libgcj.spec.
10141 (libjava_arguments): Likewise.
10142
10143 2002-05-02 David S. Miller <davem@redhat.com>
10144
10145 PR bootstrap/6525
10146 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10147 __libc_sigaction on Sparc.
10148
10149 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10150
10151 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10152 sys/filio.h, if present.
10153
10154 2002-04-30 Tom Tromey <tromey@redhat.com>
10155
10156 * java/io/BufferedReader.java (fill): Handle case where markPos
10157 point to ignored \n. Fixes PR libgcj/6301.
10158
10159 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10160
10161 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10162
10163 2002-04-29 Adam King <aking@dreammechanics.com>
10164
10165 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10166 of file in APPEND mode.
10167
10168 2002-04-25 David S. Miller <davem@redhat.com>
10169
10170 PR target/6422
10171 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10172 program counter to next program counter minus 8. Update
10173 comments in this macro to explain why.
10174
10175 2002-04-26 Tom Tromey <tromey@redhat.com>
10176
10177 * verify.cc (construct_primitive_array_type) [void_type]: New
10178 case.
10179 (branch_prepass): Added dummy entries for unused instruction
10180 values.
10181 (verify_instructions_0): Likewise.
10182 * interpret.cc (continue1): Comment fix.
10183 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10184 * Makefile.in: Rebuilt.
10185 * Makefile.am: Added -Wswitch-enum.
10186
10187 2002-04-24 Tom Tromey <tromey@redhat.com>
10188
10189 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10190 correct length of UTF-8 encoded name. Strip leading `/'.
10191 (_Jv_RegisterResource): Use _Jv_Malloc.
10192
10193 2002-04-23 Adam Megacz <adam@xwt.org>
10194
10195 * win32.cc, include/win32.cc (backtrace): Added this function
10196 because Win32 does not supply it.
10197
10198 2002-04-21 David S. Miller <davem@redhat.com>
10199
10200 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10201 magic instruction reading sequence.
10202
10203 2002-04-21 Mark Wielaard <mark@klomp.org>
10204
10205 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10206
10207 2002-04-19 David S. Miller <davem@redhat.com>
10208
10209 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10210 arg.
10211 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10212 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10213 on Sparc too.
10214 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10215 for 64-bit sparc.
10216 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10217 * sysdeps/sparc/locks.h: New file.
10218 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10219 on all sparc Solaris configurations. Set to
10220 include/dwarf2-signal.h on sparc Linux.
10221 * configure: Regenerate
10222 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10223
10224 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10225
10226 * configure: Rebuilt.
10227 * configure.in (backtrace): Function doesn't work on IA-64.
10228
10229 2002-04-17 Adam King <aking@dreammechanics.com>
10230
10231 * java/io/File.java (normalizePath): Add Win32 support for auto
10232 conversion of a '/' path separator to Win32's '\' separator.
10233
10234 2002-04-16 Tom Tromey <tromey@redhat.com>
10235
10236 Fix for PR libgcj/6081:
10237 * Makefile.in: Rebuilt.
10238 * Makefile.am (install-data-local): Use GNU make trick to avoid
10239 shell limit.
10240
10241 2002-04-16 Adam King <aking@dreammechanics.com>
10242 Tom Tromey <tromey@redhat.com>
10243
10244 * java/io/natFileWin32.cc (performList): Return the correct array
10245 type. Don't duplicate the creation of a File since it's already
10246 done earlier in the method and the existing code would cause a
10247 ArrayStoreException. Don't use fixed-size array.
10248 (_access, _stat, attr, getCanonicalPath, performMkdir,
10249 performRenameTo): Don't use fixed-size array.
10250 (getCanonicalPath): Use throw, not _Jv_Throw.
10251
10252 2002-04-15 DJ Delorie <dj@redhat.com>
10253
10254 * configure.in: Allow building in $srcdir.
10255 * configure: Regenerated.
10256
10257 2002-04-14 Mark Wielaard <mark@klomp.org>
10258
10259 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10260 * java/net/natSocketImpl.cc (close): Likewise.
10261
10262 2002-04-14 Mark Wielaard <mark@klomp.org>
10263
10264 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10265
10266 2002-04-13 Adam King <aking@dreammechanics.com>
10267
10268 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10269 the f/F/d/D modifiers.
10270
10271 2002-04-12 Anthony Green <green@redhat.com>
10272
10273 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10274 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10275 * Makefile.in: Rebuilt.
10276 * configure.in: Substitute gcc_version.
10277 * configure: Rebuilt.
10278
10279 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10280
10281 * configure.host: Set can_unwind_signal on hosts which support it.
10282 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10283 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10284 exceptions and can_unwind_signal isn't set.
10285 * configure: Rebuilt.
10286
10287 2002-04-11 Tom Tromey <tromey@redhat.com>
10288
10289 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10290
10291 2002-04-11 Adam King <aking@dreammechanics.com>
10292 Tom Tromey <tromey@redhat.com>
10293
10294 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10295 _Jv_ThrowNullPointerException): Mark as noreturn.
10296 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10297 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10298 fixes.
10299
10300 2002-04-10 Tom Tromey <tromey@redhat.com>
10301
10302 * Makefile.in: Rebuilt.
10303 * Makefile.am (java/lang/Thread.h): Mark
10304 _Jv_AttachCurrentThreadAsDaemon as friend.
10305 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10306 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10307 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10308 function.
10309 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10310 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10311 (_Jv_JNI_InvokeFunctions): Added
10312 _Jv_JNI_AttachCurrentThreadAsDaemon.
10313 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10314 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10315 (JNI_CreateJavaVM): Likewise.
10316 (_Jv_JNI_AttachCurrentThread): Likewise.
10317 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10318 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10319 (_Jv_JNIFunctions): Initialize new fields.
10320 (_Jv_JNI_NewDirectByteBuffer): New function.
10321 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10322 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10323 * include/jni.h (JNI_VERSION_1_4): New macro.
10324 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10325 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10326 (JNINativeInterface::NewDirectByteBuffer): New field.
10327 (JNINativeInterface::GetDirectBufferAddress): New field.
10328 (JNINativeInterface::GetDirectBufferCapacity): New field.
10329 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10330 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10331 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10332
10333 2002-04-09 Tom Tromey <tromey@redhat.com>
10334
10335 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10336
10337 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10338
10339 Fix for PR libgcj/6187:
10340 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10341 distance.
10342
10343 2002-04-07 Mark Wielaard <mark@klomp.org>
10344
10345 * java/util/AbstractMap.java (putAll): Use entrySet size.
10346 (toString): Explicitly use getKey() and getValue().
10347
10348 2002-04-07 Mark Wielaard <mark@klomp.org>
10349
10350 * java/util/Hashtable.java (contains): Remove NullPointer check.
10351 (containsValue): Add NullPointer check.
10352 (remove): Always throw NullPointerException when key
10353 is null.
10354
10355 2002-04-07 Adam King <aking@dreammechanics.com>
10356
10357 * java/lang/natSystem.cc (init_properties): Call new function
10358 _Jv_platform_initProperties.
10359 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10360 support for the System properties os.name, os.arch, os.version,
10361 user.name, user.home, and user.dir.
10362 * include/posix.h, include/win32.h, posix.cc: New function
10363 _Jv_platform_initProperties.
10364
10365 2002-04-06 Mark Wielaard <mark@klomp.org>
10366
10367 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10368
10369 2002-04-06 Mark Wielaard <mark@klomp.org>
10370
10371 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10372 all of the remaining elements.
10373 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10374 (removeRange): If toIndex == fromIndex do
10375 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10376 (removeAll): Always throw NullPointerException when collection is
10377 null.
10378 (retrainAll): Likewise.
10379
10380 2002-04-05 Mark Wielaard <mark@klomp.org>
10381
10382 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10383 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10384
10385 2002-04-05 Adam Megacz <adam@xwt.org>
10386
10387 * exception.cc (abort): added static modifier
10388
10389 2002-04-04 Adam Megacz <adam@xwt.org>
10390
10391 * include/win32.h (_Jv_platform_close_on_exec): added inline
10392 modifier.
10393
10394 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10395
10396 * configure.host: Add case statement to support generic port
10397 properties. Add *-*-freebsd* section.
10398
10399 2002-04-04 Mark Wielaard <mark@klomp.org>
10400
10401 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10402 test.
10403 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10404 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10405 that depend on awt code and BufferedByteOutputStream.interrupt.
10406
10407 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10408
10409 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10410 incorrect "hi" value when count > 40.
10411
10412 2002-04-03 Mark Wielaard <mark@klomp.org>
10413
10414 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10415 ordering.
10416
10417 2002-04-02 Tom Tromey <tromey@redhat.com>
10418
10419 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10420 not `0'.
10421
10422 2002-04-02 Mark Wielaard <mark@klomp.org>
10423
10424 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10425 list of testsuite crashers.
10426
10427 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10428
10429 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10430 when resizing table.
10431
10432 2002-04-01 Mark Wielaard <mark@klomp.org>
10433
10434 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10435 NegativeArraySizeException
10436 (clear(int)): Use sign extended shift.
10437 (flip(int)): Likewise.
10438 (get(int)): Likewise.
10439 (nextClearBit(int)): Likewise.
10440 (nextSetBit(int)): Likewise.
10441 (set(int)): Likewise.
10442
10443 2002-04-01 Mark Wielaard <mark@klomp.org>
10444
10445 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10446 that can be compiled now and add testsuite crashers to ignore list.
10447
10448 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10449
10450 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10451
10452 * libgcj.spec.in: Override libgcc, not lib.
10453 * libgcj-test.spec.in: Likewise.
10454
10455 2002-03-29 Tom Tromey <tromey@redhat.com>
10456
10457 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10458 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10459
10460 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10461
10462 * java/net/PlainDatagramSocketImpl.java
10463 (close): Use native implementation.
10464 (finalize): New method.
10465
10466 * java/net/PlainSocketImpl.java (finalize): New method.
10467
10468 * java/net/natPlainDatagramSocketImpl.cc
10469 (java/io/FileDescriptor.h): Don't include.
10470 (close): Implement method here.
10471 (create): Don't assign fd.
10472
10473 * java/net/natPlainSocketImpl.cc
10474 (java/io/FileDescriptor.h): Don't include.
10475 (create): Don't assign fd.
10476 (accept): Likewise.
10477 (close): Synchronize.
10478
10479 2002-03-27 Richard Henderson <rth@redhat.com>
10480
10481 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10482
10483 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10484
10485 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10486 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10487 instead of syscall on IA-64.
10488 Add FIXME comment.
10489
10490 2002-03-27 Anthony Green <green@redhat.com>
10491
10492 * libgcj.spec.in: Add CHECKREFSPEC.
10493 * configure.in: Ditto.
10494 * configure.host: Ditto. Check references for xscale-elf.
10495 * configure: Rebuilt.
10496
10497 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10498
10499 * include/dwarf2-signal.h: Temporarily back out last change.
10500
10501 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10502
10503 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10504
10505 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10506
10507 * configure.in, configure: enable dwarf2-exception-style
10508 exception handling on IA-64.
10509 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10510 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10511 Add FIXME comment.
10512
10513 2002-03-25 Tom Tromey <tromey@redhat.com>
10514
10515 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10516 (jv_convert_LDFLAGS): Likewise.
10517 (gij_LDFLAGS): Likewise.
10518 (rmic_LDFLAGS): Likewise.
10519 (rmiregistry_LDFLAGS): Likewise.
10520 * configure.in (THREADLDFLAGS): New subst; set correctly for
10521 *BSD.
10522
10523 2002-03-25 Tom Tromey <tromey@redhat.com>
10524
10525 For PR libgcj/5303:
10526 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10527 and --version.
10528 (help): New method.
10529 (version): Likewise.
10530 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10531 "GNU".
10532 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10533 "GNU".
10534
10535 2002-03-25 Tom Tromey <tromey@redhat.com>
10536
10537 * java/awt/Component.java (processEvent): Check ComponentEvent
10538 after KeyEvent.
10539
10540 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10541
10542 * java/io/PushbackReader.java: Reformat.
10543
10544 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10545 calculate correct number of bytes skipped.
10546
10547 Based on patch from Intel's ORP team:
10548 * java/io/PushbackInputStream.java (available): Calculate correct
10549 number of bytes in buffer.
10550 (read): Remove redundant bound check. Return bytes from both the
10551 buffer and the stream.
10552
10553 2002-03-24 Tom Tromey <tromey@redhat.com>
10554
10555 * java/awt/TextComponent.java (TextComponent): Editable by
10556 default.
10557
10558 * java/awt/MenuItem.java (eventMask): No longer private.
10559 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10560 superclass if we didn't handle event.
10561 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10562 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10563 * java/awt/Choice.java (dispatchEventImpl): New method.
10564 * java/awt/List.java (dispatchEventImpl): New method.
10565 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10566 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10567 * java/awt/TextField.java (dispatchEventImpl): New method.
10568
10569 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10570
10571 * java/beans/IntrospectionException.java: Update to 1.4.
10572 * java/beans/PropertyVetoException.java: Ditto.
10573
10574 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10575
10576 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10577 Arrays.equals instead of ArrayHelper.equalsArray.
10578
10579 2002-03-24 C. Brian Jones <cbj@gnu.org>
10580
10581 * java/beans/Introspector.java: added new static final fields
10582 introduced in 1.2, lots of other updates remain to be done
10583
10584 2002-03-24 C. Brian Jones <cbj@gnu.org>
10585
10586 * java/beans/Introspector.java: reformatting
10587
10588 2002-03-24 C. Brian Jones <cbj@gnu.org>
10589
10590 * java/beans/Introspector.java: default beanInfoSearchPath will
10591 not include sun.beans.infos given we provide no such package and
10592 the API doesn't really require it; gnu.java.beans.info is the
10593 default.
10594
10595 2002-03-24 Mark Wielaard <mark@klomp.org>
10596
10597 Thanks to Orp developers
10598 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10599 switch TRUE and FALSE return values.
10600
10601 2002-03-23 Tom Tromey <tromey@redhat.com>
10602
10603 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10604 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10605
10606 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10607
10608 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10609 MONTH entry. Fixes PR libgcj/6045.
10610
10611 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10612
10613 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10614
10615 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10616
10617 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10618 not release_set.
10619 * sysdep/powerpc/locks.h (write_barrier): New function.
10620 * sysdep/i386/locks.h (write_barrier): New function.
10621
10622 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10623
10624 * include/jni.h Use correct C comments.
10625
10626 2002-03-18 Tom Tromey <tromey@redhat.com>
10627
10628 * include/jni.h (JNIIMPORT): New macro.
10629 (JNIEXPORT): Likewise.
10630 (JNICALL): Likewise.
10631
10632 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10633
10634 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10635 systems.
10636
10637 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10638
10639 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10640 INIT_SEGV: Use old_i386_kernel_sigaction.
10641 INIT_FP: Likewise.
10642
10643 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10644
10645 * java/lang/natSystem.cc (init_properties): Update VM version
10646 properties.
10647 * configure.in: Set GCJVERSION.
10648 * acconfig.h: Add GCJVERSION.
10649 * configure: Rebuilt.
10650 * include/config.h.in: Rebuilt.
10651
10652 2002-03-17 Anthony Green <green@redhat.com>
10653
10654 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10655
10656 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10657
10658 Build a single libgcj.so, without separate gc and zlib libraries.
10659 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10660 SYS_ZLIBS if system zlib is used.
10661 * configure: Rebuilt.
10662 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10663 * Makefile.in: Rebuilt.
10664 * libtool-version: Increment .so version number.
10665
10666 * Makefile.am: Escape quotes in echo.
10667 * Makefile.in: Rebuilt.
10668
10669 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10670
10671 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10672 * Makefile.in: Rebuilt.
10673
10674 2002-03-15 Anthony Green <green@redhat.com>
10675
10676 * configure.host (FILE): New macro for specifing File
10677 implementation.
10678 * configure: Rebuilt.
10679 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10680
10681 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10682
10683 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10684 already implicitly brought in from libgcj.la.
10685 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10686 * Makefile.in: Rebuilt.
10687
10688 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10689
10690 * THANKS: Fix punctuation, alphabetization.
10691
10692 2002-03-15 Tom Tromey <tromey@redhat.com>
10693 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10694
10695 Fix for PR libgcj/5944.
10696 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10697
10698 2002-03-15 Anthony Green <green@redhat.com>
10699
10700 * configure.in (tool_include_dir): Define.
10701 * configure: Rebuilt.
10702 * gcj/Makefile.am: Install libgcj-config.h relative to
10703 tool_include_dir.
10704 * gcj/Makefile: Rebuilt.
10705 * gcj/libgcj-config.h: Add warning comment.
10706
10707 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10708
10709 * configure.host (powerpc*-darwin*): Enable interpreter.
10710
10711 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10712
10713 * include/posix.h: Add multiple include header protection.
10714 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10715
10716 2002-03-10 Adam Megacz <adam@xwt.org>
10717
10718 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10719
10720 2002-03-10 Tom Tromey <tromey@redhat.com>
10721
10722 * java/awt/GridLayout.java (layoutContainer): Handle case where
10723 there are no items in container.
10724
10725 * java/lang/Win32Process.java: Added comment.
10726 * include/posix.h (_Jv_platform_close_on_exec): New function.
10727 Include fcntl.h.
10728 * include/win32.h (_Jv_platform_close_on_exec): New function.
10729 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10730 flag.
10731 (accept): Likewise.
10732 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10733 close-on-exec flag.
10734 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10735 flag.
10736
10737 2002-03-09 Tom Tromey <tromey@redhat.com>
10738
10739 * verify.cc (state::NO_STACK): New constant.
10740 (state::is_unmerged_ret_state): Handle case where stacktop is
10741 NO_STACK.
10742 (state::merge): Handle NO_STACK merges.
10743 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10744 for instruction following jsr.
10745 (stacktop, stackdepth): Removed unused variables.
10746 (pop_jump): Ignore case where all remaining states are skipped.
10747
10748 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10749
10750 * java/awt/ImageMediaEntry: Removed.
10751 * java/awt/MediaEntry: Removed.
10752
10753 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10754
10755 Hashtable synchronization for PowerPC.
10756 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10757 slow_pthread_self. Set up symlink for sysdeps directory.
10758 * configure: Rebuild.
10759 * configure.host: Document more shell variables. Set sysdeps_dir
10760 for most platforms. Set slow_pthread_self for i686. Set
10761 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10762 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10763 that memory barrier is emitted where required.
10764 * prims.cc: 64-bit align static primitive class instances.
10765 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10766 read_barrier() to enforce ordering of reads.
10767 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10768 primitives for PowerPC.
10769 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10770 moved from natObject.cc.
10771 * sysdep/alpha/locks.h: Likewise.
10772 * sysdep/ia64/locks.h: Likewise.
10773 * sysdep/generic/locks.h: Likewise.
10774 * java/lang/natObject.cc: Move thread synchronization primitives to
10775 system-dependent headers.
10776
10777 2002-03-09 Adam Megacz <adam@xwt.org>
10778
10779 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10780 bytes read and no failure code returned.
10781
10782 2002-03-09 Adam Megacz <adam@xwt.org>
10783
10784 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10785 definitions to simulate -mthreads.
10786
10787 2002-03-09 Adam Megacz <adam@xwt.org>
10788
10789 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10790 avoid precision loss.
10791
10792 2002-03-09 Per Bothner <per@bothner.com>
10793
10794 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10795 * gnu/gcj/xlib/XImage.java: Likewise.
10796 * gnu/gcj/xlib/XColor.java: Likewise.
10797
10798 2002-03-09 Adam Megacz <adam@xwt.org>
10799
10800 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10801 IOException so that Throwable.printStackTrace fails correctly.
10802
10803 2002-03-08 Adam Megacz <adam@xwt.org>
10804
10805 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10806 fixed.
10807
10808 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10809
10810 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10811 truncated to int.
10812
10813 2002-03-08 Tom Tromey <tromey@redhat.com>
10814
10815 * include/jni.h: Include stdio.h.
10816
10817 2002-03-08 Tom Tromey <tromey@redhat.com>
10818
10819 * posix.cc (internal_gettimeofday): New function.
10820 (_Jv_select): Use it.
10821
10822 2002-03-07 Adam Megacz <adam@xwt.org>
10823
10824 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10825 WIN32, and added thunks for read(), write(), and close().
10826 * java/net/natPlainSocketImpl.cc (accept, read, read):
10827 Disabled timeouts on WIN32 pending discussion.
10828
10829 2002-03-07 Adam Megacz <adam@xwt.org>
10830
10831 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10832 returns jlong. Added implementation
10833 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10834 returns jlong.
10835 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10836 returns jlong.
10837 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10838 returns jlong.
10839 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10840 _Jv_platform_gettimeofday signature.
10841
10842 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10843
10844 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10845 (read): Call recv() directly, not _Jv_recv().
10846
10847 2002-03-06 Tom Tromey <tromey@redhat.com>
10848
10849 * java/io/natFileDescriptorEcos.cc (init): Don't use
10850 GetStdHandle.
10851 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10852 is negative.
10853 (init): Don't use GetStdHandle.
10854
10855 * include/config.h.in: Rebuilt.
10856 * configure: Rebuilt.
10857 * Makefile.in: Rebuilt.
10858
10859 2002-03-06 Adam Megacz <adam@xwt.org>
10860
10861 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10862 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10863 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10864 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10865
10866 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10867
10868 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10869 the code for generating include/java-chartables.h.
10870 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10871 merge with Classpath.
10872 * scripts/unicode-muncher.pl: Copy from Classpath.
10873 * scritps/MakeCharTables.java: New file.
10874 * gnu/gcj/convert/Blocks-3.txt: New file.
10875 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10876 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10877 * gnu/java/lang/CharData.java: Copy from Classpath.
10878 * Makefile.am (ordinary_java_source_files): Add
10879 gnu/java/lang/CharData.java.
10880 * configure.in: Remove --enable-fast-character option.
10881 * java/lang/Character.java: Merge algorithms and Javadoc with
10882 Classpath.
10883 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10884 efficiently.
10885 * include/java-chardecomp.h: Regenerate.
10886 * include/java-chartables.h: Regenerate.
10887
10888 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10889
10890 * java/awt/MediaTracker.java: Implemented.
10891 * Makefile.am: Add MediaTracker.
10892 * Makefile.in: Rebuilt.
10893
10894 2002-03-05 Tom Tromey <tromey@redhat.com>
10895
10896 * java/lang/natPosixProcess.cc (fail): Removed.
10897 (startProcess): Simplified error-handling. Preserve
10898 LD_LIBRARY_PATH across exec.
10899
10900 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10901 AbstractMethodError.
10902
10903 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10904
10905 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10906 * Makefile.in: Rebuilt.
10907
10908 2002-03-03 Mark Wielaard <mark@klomp.org>
10909
10910 * java/util/Timer (TaskQueue.stop): set elements to zero.
10911
10912 2002-02-28 Anthony Green <green@redhat.com>
10913
10914 * java/lang/reflect/natMethod.cc (result): Add void* element.
10915 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10916 constructor test.
10917
10918 2002-02-27 Adam Megacz <adam@xwt.org>
10919
10920 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10921 '#undef STRICT'.
10922
10923 2002-02-26 Tom Tromey <tromey@redhat.com>
10924
10925 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10926 * gij.cc (version): Use __VERSION__.
10927 * include/config.h.in: Rebuilt.
10928 * acconfig.h (GCJVERSION): Removed.
10929 * configure: Rebuilt.
10930 * configure.in (GCJVERSION): Removed.
10931
10932 2002-02-26 Andreas Schwab <schwab@suse.de>
10933
10934 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10935 glibcpp_CXX, since libjava uses even another CXX.
10936 * aclocal.m4, configure: Regenerated.
10937
10938 2002-02-26 Tom Tromey <tromey@redhat.com>
10939
10940 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10941 `1'.
10942
10943 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10944
10945 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10946 dependency tracking for .java files.
10947 * Makefile.in: Rebuilt.
10948
10949 2002-02-24 Adam Megacz <adam@xwt.org>
10950
10951 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10952 typo. Sorry.
10953
10954 2002-02-24 Adam Megacz <adam@xwt.org>
10955
10956 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10957 for Win32, changed #ifdefs to check WIN32 instead of the
10958 (now-obsolete) USE_WINSOCK, and removed support for socket
10959 timeouts on Win32 pending further discussion.
10960
10961 2002-02-24 Adam Megacz <adam@xwt.org>
10962
10963 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10964 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10965 delete
10966
10967 2002-02-24 Adam Megacz <adam@xwt.org>
10968
10969 * java/lang/Win32Process.java: Created a dummy class to allow
10970 build process to run to completion.
10971
10972 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10973
10974 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10975 Define ffi_result union for ffi_call result. Cast
10976 ffi_result members to jvalue.
10977
10978 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10979
10980 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10981 * testsuite/Makefile.in: Likewise.
10982
10983 2002-02-20 Per Bothner <per@bothner.com>
10984
10985 * java/net/URL.java (getPath): New JDK 1.3 method.
10986
10987 * java/net/URLStreamHandler.java (parseURL):
10988 It is wrong to prepend '/' to the file part of a relative url.
10989
10990 * java/net/URLStreamHandler.java (parseURL):
10991 Minor optizations - append '/' rather than "/".
10992
10993 * java/net/URLStreamHandler.java (parseURL):
10994 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10995 We probably should canonicalize for a context-relative url, though.
10996 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10997 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10998 (sameFile): New method. Uses canonicalizeFilename.
10999
11000 2002-02-22 Tom Tromey <tromey@redhat.com>
11001
11002 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11003 java.vendor and java.vm.vendor.
11004 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11005 recent copyright date.
11006 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11007 * gij.cc (version): Print `Inc'.
11008
11009 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11010
11011 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11012 * aclocal.m4, configure: Rebuilt.
11013
11014 2002-02-20 Per Bothner <per@bothner.com>
11015
11016 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11017 and/or output streams immediately here, instead of using File.exists.
11018 (inputStream, outputStream): New fields to save open streams.
11019 (getInputStream, getOutputStream): Use already-opened streams.
11020
11021 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11022
11023 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11024 Use it.
11025 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11026 * aclocal.m4, configure, Makefile.in: Rebuilt.
11027
11028 2002-02-19 Tom Tromey <tromey@redhat.com>
11029
11030 Fix for PR libgcj/5696:
11031 * verify.cc (is_assignable_from_slow): Never call
11032 _Jv_IsAssignableFrom.
11033 (verify_instructions_0): Added new debug statement.
11034 (state::print): Print information about whether local has
11035 changed.
11036 (state::merge): Don't call note_variable when merging locals.
11037 (state::set_exception): Removed old FIXME comment.
11038
11039 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11040
11041 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11042 enable SO_BROADCAST.
11043
11044 2002-02-18 Jason Merrill <jason@redhat.com>
11045
11046 * name-finder.cc (toHex): Use word mode, not long long.
11047
11048 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11049
11050 2002-02-15 Tom Tromey <tromey@redhat.com>
11051
11052 Fix for PR libgcj/5695:
11053 * verify.cc (is_assignable_from_slow): Check to see if target is
11054 an Object before checking to see if source is an interface.
11055 (verify_instructions_0) [op_invokeinterface]: Handle case where
11056 we're making an interface call on Object.
11057
11058 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11059
11060 * Makefile.in: Rebuilt with Eric's change below.
11061
11062 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11063 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11064 Removed functions which are now implemented in Math.java.
11065
11066 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11067
11068 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11069 * Makefile.am (core_java_source_files): Add
11070 java/lang/StrictMath.java.
11071 * java/lang/Math.java: Merge with Classpath.
11072 * java/lang/StrictMath.java: New file - merge with Classpath.
11073
11074 2002-02-14 Mark Wielaard <mark@klomp.org>
11075
11076 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11077 package as a workaround for gcj 3.0.x
11078
11079 2002-02-14 Mark Wielaard <mark@klomp.org>
11080
11081 * java/security/BasicPermission.java: extends with fully qualified
11082 classname as workaround for gcj 3.0.4.
11083
11084 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11085
11086 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11087 around gcj bug of wrong emitted qualifier for inherited method.
11088 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11089 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11090 constructor to reduce amount of emitted bytecode. While this
11091 happens to work around a jikes 1.15 bug, it is still a useful
11092 patch even for correct compilers.
11093 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11094 * gnu/java/rmi/server/UnicastRemoteCall.java
11095 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11096
11097 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11098
11099 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11100 * java/net/SocketImpl.java: Ditto.
11101 * java/rmi/server/RMIClassLoader.java: Ditto.
11102 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11103
11104 2002-02-14 Mark Wielaard <mark@klomp.org>
11105
11106 Thanks to Takashi Okamoto
11107 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11108 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11109 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11110
11111 2002-02-13 Todd Stock <toddastock@yahoo.com>
11112
11113 Fix for PR libgcj/5670:
11114 * verify.cc (is_assignable_from_slow): If `source' is interface,
11115 recursively look for merge with `target'.
11116
11117 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11118
11119 * include/jni.h: Fix typo.
11120
11121 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11122
11123 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11124 correctly.
11125
11126 2002-02-13 Todd Stock <toddastock@yahoo.com>
11127
11128 Fix for PR libgcj/5671:
11129 * verify.cc (state::merge): Handle case where we're merging
11130 against an interface.
11131
11132 2002-02-12 Tom Tromey <tromey@redhat.com>
11133
11134 * exception.cc (std::abort): Mark as noreturn.
11135
11136 2002-02-12 Adam Megacz <adam@xwt.org>
11137
11138 * java/lang/Win32Process.java: Filled in a placeholder
11139 implementation so Win32 will build.
11140
11141 2002-02-12 Adam Megacz <adam@xwt.org>
11142
11143 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11144 * java/io/natFile.cc: Removed from repository.
11145 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11146
11147 2002-02-12 Adam Megacz <adam@xwt.org>
11148
11149 * win32.cc: Added two #includes to make win32.cc compile.
11150
11151 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11152
11153 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11154 declarations.
11155 (_Jv_InitGC): Don't bother locking, as this is always called from a
11156 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11157
11158 2002-02-11 Adam Megacz <adam@xwt.org>
11159
11160 * include/win32.h: Added _Jv_platform_gettimeofday.
11161 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11162
11163 2002-02-11 Adam Megacz <adam@xwt.org>
11164
11165 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11166 Added #undef STRICT to make windows.h and
11167 java/lang/reflect/Modifier.h cooperate.
11168
11169 2002-02-11 Adam Megacz <adam@xwt.org>
11170
11171 * java/io/natFileWin32.cc: Created a placeholder class with lots
11172 of FIXMEs.
11173
11174 2002-02-11 Adam Megacz <adam@xwt.org>
11175
11176 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11177 std::abort() to simply abort(). Also added "fake" std::abort() so
11178 we can #include unwind-pe.h without having to link against
11179 libstdc++-v3.
11180
11181 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11182
11183 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11184
11185 2002-02-08 Tom Tromey <tromey@redhat.com>
11186
11187 * interpret.cc (convert): New function.
11188 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11189 convert.
11190 Include Long.h.
11191
11192 2002-02-08 Anthony Green <green@redhat.com>
11193
11194 * configure.host: Add support for xscale-elf embedded target.
11195
11196 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11197
11198 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11199 dereferenced.
11200 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11201 frame.
11202
11203 2002-02-07 Tom Tromey <tromey@redhat.com>
11204
11205 * java/io/natFile.cc (_access): Use __builtin_alloca.
11206 (_stat): Likewise.
11207 (attr): Likewise.
11208 (getCanonicalPath): Likewise.
11209 (performList): Likewise.
11210 (performMkdir): Likewise.
11211 (performSetReadOnly): Likewise.
11212 (performRenameTo): Likewise.
11213 (performSetLastModified): Likewise.
11214 (performCreate): Likewise.
11215 (performDelete): Likewise.
11216
11217 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11218
11219 * HACKING: Fix URL for the automake-gcj.
11220
11221 2002-02-07 Tom Tromey <tromey@redhat.com>
11222
11223 * java/lang/natThrowable.cc: Updated copyright.
11224 * java/io/natFileWin32.cc: Updated copyright.
11225 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11226 * win32-threads.cc: Updated copyright.
11227 * name-finder.cc: Updated copyright.
11228 * include/name-finder.h: Updated copyright.
11229
11230 * include/name-finder.h: Conditionally include sys/wait.h.
11231 * include/config.h.in: Rebuilt.
11232
11233 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11234 Size buffer based on real size of string.
11235 (_stat): Likewise.
11236 (attr): Likewise.
11237 (getCanonicalPath): Likewise.
11238 (performList): Likewise.
11239 (performMkdir): Likewise.
11240 (performSetReadOnly): Likewise.
11241 (unixroot): Removed.
11242 (performRenameTo): Likewise.
11243 (performSetLastModified): Likewise.
11244 (performCreate): Likewise.
11245 (performDelete): Likewise.
11246 (performListRoots): Always return new array.
11247
11248 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11249 * win32.cc (win32_exception_handler): Now static.
11250 * include/win32.h (_Jv_platform_initialize): Declare.
11251 (win32_exception_handler): Don't declare.
11252 * java/lang/natSystem.cc (currentTimeMillis): Use
11253 _Jv_platform_gettimeofday.
11254 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11255 (_Jv_select): Use new name.
11256 (_Jv_platform_initialize): New function.
11257 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11258 _Jv_gettimeofday.
11259 (_Jv_platform_initialize): Declare.
11260
11261 * configure: Rebuilt.
11262 * configure.in: Removed unnecessary parens.
11263
11264 2002-02-06 Adam Megacz <adam@xwt.org>
11265
11266 * configure.in: Changed mingw) to *mingw*).
11267 * win32.cc: Created this file.
11268 * win32.h: Created this file.
11269 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11270 win32_exception_handler from prims.cc to win32.cc, added
11271 header in win32.h.
11272 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11273 longer needed now that we have platform.h
11274
11275 2002-02-06 Adam Megacz <adam@xwt.org>
11276
11277 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11278 use uint<n>_t instead of LONG and BYTE
11279
11280 2002-02-06 Adam Megacz <adam@xwt.org>
11281
11282 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11283
11284 2002-02-06 Anthony Green <green@redhat.com>
11285
11286 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11287 Implement missing method stubs.
11288 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11289 targets.
11290 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11291 concept of timezones.
11292 (init_properties): Don't refer to _Jv_Environment_Properties
11293 when this feature is not available.
11294 * include/config.h.in: Rebuilt.
11295 * acconfig.h: Add DISABLE_MAIN_ARGS.
11296 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11297 * configure: Rebuilt.
11298 * configure.in: Add --disable-main-args option. Test for
11299 opendir function. Replace AC_CHECK_SIZEOF with
11300 AC_COMPILE_CHECK_SIZEOF.
11301 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11302 * aclocal.m4: Rebuilt.
11303 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11304
11305 2002-02-06 Tom Tromey <tromey@redhat.com>
11306
11307 * verify.cc (require_array_type): If argument is a null array of
11308 references, return null as the element type.
11309
11310 2002-02-06 Mark Wielaard <mark@klomp.org>
11311
11312 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11313 duplicate of a wide type.
11314
11315 2002-02-06 Tom Tromey <tromey@redhat.com>
11316
11317 * verify.cc (type::isnull): New method.
11318 (require_array_type): Handle case where array is null.
11319 (verify_instructions_0) [op_arraylength]: Likewise.
11320
11321 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11322
11323 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11324 Symlink PLATFORMH to platform.h.
11325 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11326 PLATFORMOBJS.
11327 * java/lang/natSystem.cc: #include platform.h not posix.h.
11328 * Makefile.in: Rebuilt with libgcj automake.
11329 * configure: Rebuilt.
11330
11331 2002-02-05 Richard Henderson <rth@redhat.com>
11332
11333 * Makefile.in: Undo munging last change.
11334
11335 2002-02-04 Adam Megacz <adam@xwt.org>
11336
11337 * win32.cc: Created it.
11338 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11339 which is set to posix.cc or win32.cc.
11340 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11341
11342 2002-02-04 Adam Megacz <adam@xwt.org>
11343
11344 * configure.in: Corrected mingw case branches; added * before
11345 and after.
11346
11347 2002-02-04 Adam Megacz <adam@xwt.org>
11348
11349 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11350 if compiling for win32
11351
11352 2002-02-04 Adam Megacz <adam@xwt.org>
11353
11354 * win32-threads.cc: #undef STRICT after gc.h inclusion
11355
11356 2002-02-02 Tom Tromey <tromey@redhat.com>
11357
11358 * Makefile.in: Rebuilt.
11359
11360 2002-02-02 Jason Merrill <jason@redhat.com>
11361
11362 * Makefile.am (clean-nat): New target.
11363
11364 2002-02-02 Tom Tromey <tromey@redhat.com>
11365
11366 * java/io/natFile.cc: Removed old "FIXME" comments.
11367
11368 2002-02-01 Tom Tromey <tromey@redhat.com>
11369
11370 * java/lang/natPosixProcess.cc (myclose): New function.
11371 (fail): Use it.
11372 (startProcess): Likewise.
11373
11374 2002-02-01 Adam Megacz <adam@xwt.org>
11375
11376 * prims.cc: Added #undef STRICT after #include<windows.h>.
11377
11378 2002-02-01 Adam Megacz <adam@xwt.org>
11379
11380 * prims.cc
11381 (_Jv_CreateJavaVM): We now use WIN32 instead of
11382 USE_WIN32_SIGNALLING and USE_WINSOCK.
11383 (win32_exception_handler): Now throws an exception out of
11384 the signal handler; assumes SJLJ.
11385
11386 2002-02-01 Adam Megacz <adam@xwt.org>
11387
11388 * win32-threads.cc:
11389 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11390 wait() algorithm to make it safe.
11391 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11392 Added lazy creation of Win32 Events for better performance
11393 (really_start): This now uses GC_CreateThread so boehm-gc
11394 knows about new threads even when statically linked.
11395
11396 2002-02-01 Adam Megacz <adam@xwt.org>
11397
11398 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11399 enable safer wait() algorithm.
11400 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11401 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11402 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11403 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11404 instead of mutex.
11405 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11406
11407 2002-02-01 Adam Megacz <adam@xwt.org>
11408
11409 * configure.in: Added support for mingw.
11410 * java/lang/Win32Process.java: Created as empty file.
11411 * java/lang/natWin32Process.cc: Created as empty file.
11412
11413 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11414
11415 PR java/4972
11416 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11417 for libiconv in LIBICONV variable.
11418 * configure: Regenerated.
11419
11420 2002-01-31 Tom Tromey <tromey@redhat.com>
11421
11422 * verify.cc (state::enter_subroutine): New method.
11423 (handle_jsr_insn): Use it.
11424 (state::merge): When processing a `ret', correctly use
11425 subroutine's state to determine which local variables have
11426 changed.
11427 (push_exception_jump): Don't let stack overflow.
11428
11429 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11430
11431 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11432 --version output.
11433
11434 2002-01-30 Tom Tromey <tromey@redhat.com>
11435
11436 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11437 parameter for `recv' return type.
11438
11439 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11440 (state::merge): ... not here.
11441 (subr_entry_info): New structure.
11442 (entry_points): New field.
11443 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11444 entry_points.
11445
11446 2002-01-29 Tom Tromey <tromey@redhat.com>
11447
11448 * java/awt/List.java (addNotify): Correctly check to see if peer
11449 does not exist.
11450
11451 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11452 to compute height of each cell, and number of columns to compute
11453 width of each cell.
11454 * java/awt/Window.java (getOwnedWindows): Don't return null.
11455 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11456 of component. Increment x using horizontal gap, not vertical
11457 gap.
11458
11459 2002-01-28 Tom Tromey <tromey@redhat.com>
11460
11461 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11462 `nargs' byte is number of words, not number of arguments.
11463
11464 2002-01-27 Tom Tromey <tromey@redhat.com>
11465
11466 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11467 (when): Likewise.
11468 * java/awt/event/InputEvent.java (modifiers, when): Now
11469 package-private.
11470
11471 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11472 and to-do list.
11473 (state::merge): Use current class' class loader.
11474 (state::print): Print subroutine.
11475 (state::merge): Don't look at subroutine of unmerged `ret'.
11476
11477 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11478
11479 * nogc.cc: Remove warnings.
11480 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11481 New functions.
11482
11483 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11484
11485 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11486 int, int): Remove empty "if" statement to work around compiler bug.
11487 (newPixels(int[], ColorModel, int, int): Likewise.
11488
11489 2002-01-25 Per Bothner <per@bothner.com>
11490
11491 * verify.cc (verify_fail): Change from being a top-level function
11492 to e method of _Jv_BytecodeVerifier. Emit current method name.
11493 Pass the current verifier to type: and state: methods as needed,
11494 for better error messages, and for resolve.
11495 (resolve): Pass current class's loader for Class.forName and
11496 _Jv_FindClassFromSignature, rather than using the default loader.
11497 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11498 (get_type_val_for_signature): Make non-static.
11499 (various methods): Pass start_PC implicitly, not explicitly.
11500
11501 2002-01-25 Tom Tromey <tromey@redhat.com>
11502
11503 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11504 loop termination condition.
11505 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11506 width.
11507
11508 2002-01-24 Tom Tromey <tromey@redhat.com>
11509
11510 * java/awt/Shape.java: Merged with Classpath.
11511 * java/awt/Scrollbar.java: Merged with Classpath.
11512
11513 * java/awt/Container.java (addNotify): Unconditionally call
11514 addNotifyContainerChildren and superclass addNotify.
11515
11516 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11517 getAlpha, not getBlue.
11518
11519 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11520
11521 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11522
11523 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11524 (grabPixels(long)): Wait to be notified that the ImageProducer has
11525 completed.
11526
11527 2002-01-24 Per Bothner <per@bothner.com>
11528
11529 * verify.cc (is_assignable_from_slow): If target is an interface,
11530 we must still check the source's superclass before giving up.
11531
11532 2002-01-24 Tom Tromey <tromey@redhat.com>
11533
11534 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11535
11536 2002-01-23 Tom Tromey <tromey@redhat.com>
11537
11538 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11539 `else'.
11540
11541 * Makefile.in: Rebuilt.
11542 * Makefile.am (awt_java_source_files): Added new files.
11543 * java/awt/Toolkit.java: Merged with Classpath.
11544 * java/awt/PrintGraphics.java: New file from Classpath.
11545 * java/awt/PrintJob.java: New file from Classpath.
11546 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11547 * java/awt/datatransfer/ClipboardOwner.java: New file from
11548 Classpath.
11549 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11550 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11551 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11552 Classpath.
11553 * java/awt/datatransfer/StringSelection.java: New file from
11554 Classpath.
11555 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11556 Classpath.
11557 * java/awt/datatransfer/Transferable.java: New file from
11558 Classpath.
11559 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11560 from Classpath.
11561
11562 * Makefile.in: Rebuilt.
11563 * Makefile.am (awt_java_source_files): Added new files.
11564 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11565 Classpath.
11566 * java/awt/image/CropImageFilter.java: New file from Classpath.
11567 * java/awt/image/FilteredImageSource.java: New file from
11568 Classpath.
11569 * java/awt/image/ImageFilter.java: New file from Classpath.
11570 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11571 * java/awt/image/PixelGrabber.java: New file from Classpath.
11572 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11573 * java/awt/image/ReplicateScaleFilter.java: New file from
11574 Classpath.
11575 * java/awt/image/ImageProducer.java: Replaced with Classpath
11576 version.
11577 * java/awt/image/ImageObserver.java: Replaced with Classpath
11578 version.
11579 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11580 version.
11581 * java/awt/GridBagConstraints.java (clone): Catch
11582 CloneNotSupportedException.
11583
11584 2002-01-23 Per Bothner <per@bothner.com>
11585
11586 * java/lang/reflect/natField.cc (setAddr): New function.
11587 Calls getAddr and then checks that the field isn't final.
11588 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11589 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11590 (set): Call setAddr before check that new value has right type,
11591 to better match specified semantics.
11592
11593 2002-01-22 Tom Tromey <tromey@redhat.com>
11594
11595 * java/awt/TextField.java: Replaced with Classpath version.
11596 * java/awt/TextArea.java: Replaced with Classpath version.
11597 * java/awt/TextComponent.java: Replaced with Classpath version.
11598
11599 * java/awt/GridBagConstraints.java: Updated copyright.
11600
11601 2002-01-22 Mark Wielaard <mark@klomp.org>
11602
11603 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11604 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11605 java/awt/Dialog.java java/awt/FileDialog.java
11606 java/awt/Font.java java/awt/FontMetrics.java
11607 java/awt/Image.java java/awt/ImageMediaEntry.java
11608 java/awt/Insets.java java/awt/List.java
11609 java/awt/MediaEntry.java java/awt/MediaTracker.java
11610 java/awt/Menu.java java/awt/MenuBar.java
11611 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11612 java/awt/PaintContext.java java/awt/Panel.java
11613 java/awt/PopupMenu.java java/awt/SystemColor.java
11614 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11615 java/awt/peer/CheckboxMenuItemPeer.java
11616 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11617 java/awt/peer/ComponentPeer.java
11618 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11619 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11620 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11621 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11622 java/awt/peer/MenuBarPeer.java
11623 java/awt/peer/MenuComponentPeer.java
11624 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11625 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11626 java/awt/peer/ScrollPanePeer.java
11627 java/awt/peer/ScrollbarPeer.java
11628 java/awt/peer/TextAreaPeer.java
11629 java/awt/peer/TextComponentPeer.java
11630 java/awt/peer/TextFieldPeer.java
11631 java/awt/peer/WindowPeer.java: Add license clarification.
11632
11633 2002-01-22 Mark Wielaard <mark@klomp.org>
11634
11635 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11636 gnu/gcj/runtime/StringBuffer.java
11637 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11638 gnu/java/awt/ComponentDataBlitOp.java
11639 gnu/java/awt/GLightweightPeer.java
11640 gnu/java/beans/BeanInfoEmbryo.java
11641 gnu/java/beans/EmptyBeanInfo.java
11642 gnu/java/beans/ExplicitBeanInfo.java
11643 gnu/java/beans/IntrospectionIncubator.java
11644 gnu/java/beans/editors/ColorEditor.java
11645 gnu/java/beans/editors/FontEditor.java
11646 gnu/java/beans/editors/NativeBooleanEditor.java
11647 gnu/java/beans/editors/NativeByteEditor.java
11648 gnu/java/beans/editors/NativeDoubleEditor.java
11649 gnu/java/beans/editors/NativeFloatEditor.java
11650 gnu/java/beans/editors/NativeIntEditor.java
11651 gnu/java/beans/editors/NativeLongEditor.java
11652 gnu/java/beans/editors/NativeShortEditor.java
11653 gnu/java/beans/editors/StringEditor.java
11654 gnu/java/beans/info/ComponentBeanInfo.java
11655 gnu/java/io/ClassLoaderObjectInputStream.java
11656 gnu/java/io/NullOutputStream.java
11657 gnu/java/io/ObjectIdentityWrapper.java
11658 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11659 gnu/java/lang/reflect/TypeSignature.java
11660 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11661 gnu/java/locale/Calendar_en.java
11662 gnu/java/locale/Calendar_nl.java
11663 gnu/java/locale/LocaleInformation.java
11664 gnu/java/locale/LocaleInformation_de.java
11665 gnu/java/locale/LocaleInformation_en.java
11666 gnu/java/locale/LocaleInformation_nl.java
11667 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11668 gnu/java/rmi/registry/RegistryImpl.java
11669 gnu/java/rmi/rmic/Compile_gcj.java
11670 gnu/java/rmi/rmic/Compiler.java
11671 gnu/java/rmi/rmic/CompilerProcess.java
11672 gnu/java/rmi/rmic/RMIC.java
11673 gnu/java/rmi/rmic/TabbedWriter.java
11674 gnu/java/rmi/server/ProtocolConstants.java
11675 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11676 gnu/java/rmi/server/RMIHashes.java
11677 gnu/java/rmi/server/RMIObjectInputStream.java
11678 gnu/java/rmi/server/RMIObjectOutputStream.java
11679 gnu/java/rmi/server/UnicastConnection.java
11680 gnu/java/rmi/server/UnicastConnectionManager.java
11681 gnu/java/rmi/server/UnicastRef.java
11682 gnu/java/rmi/server/UnicastRemoteCall.java
11683 gnu/java/rmi/server/UnicastRemoteStub.java
11684 gnu/java/rmi/server/UnicastServer.java
11685 gnu/java/rmi/server/UnicastServerRef.java
11686 gnu/java/security/provider/DefaultPolicy.java
11687 gnu/java/security/provider/Gnu.java
11688 gnu/java/security/provider/SHA.java
11689 gnu/java/security/provider/SHA1PRNG.java
11690 gnu/java/text/BaseBreakIterator.java
11691 gnu/java/text/CharacterBreakIterator.java
11692 gnu/java/text/LineBreakIterator.java
11693 gnu/java/text/SentenceBreakIterator.java
11694 gnu/java/text/WordBreakIterator.java
11695 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11696 java/applet/AppletContext.java java/applet/AppletStub.java
11697 java/applet/AudioClip.java java/awt/AWTError.java
11698 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11699 java/awt/AWTException.java java/awt/AWTPermission.java
11700 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11701 java/awt/Button.java java/awt/Canvas.java
11702 java/awt/CardLayout.java java/awt/Checkbox.java
11703 java/awt/CheckboxGroup.java java/awt/Component.java
11704 java/awt/ComponentOrientation.java java/awt/Container.java
11705 java/awt/Dimension.java java/awt/Event.java
11706 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11707 java/awt/FlowLayout.java java/awt/Frame.java
11708 java/awt/Graphics.java java/awt/Graphics2D.java
11709 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11710 java/awt/IllegalComponentStateException.java
11711 java/awt/ItemSelectable.java java/awt/Label.java
11712 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11713 java/awt/MenuComponent.java java/awt/MenuItem.java
11714 java/awt/Paint.java java/awt/Point.java
11715 java/awt/Rectangle.java java/awt/RenderingHints.java
11716 java/awt/Transparency.java java/awt/Window.java
11717 java/awt/color/ColorSpace.java
11718 java/awt/color/ICC_ColorSpace.java
11719 java/awt/color/ICC_Profile.java
11720 java/awt/event/HierarchyBoundsAdapter.java
11721 java/awt/event/HierarchyBoundsListener.java
11722 java/awt/event/HierarchyEvent.java
11723 java/awt/event/HierarchyListener.java
11724 java/awt/geom/AffineTransform.java
11725 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11726 java/awt/geom/IllegalPathStateException.java
11727 java/awt/geom/Line2D.java
11728 java/awt/geom/NoninvertibleTransformException.java
11729 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11730 java/awt/geom/Rectangle2D.java
11731 java/awt/geom/RectangularShape.java
11732 java/awt/geom/RoundRectangle2D.java
11733 java/awt/image/BufferedImage.java
11734 java/awt/image/ColorModel.java
11735 java/awt/image/ComponentColorModel.java
11736 java/awt/image/ComponentSampleModel.java
11737 java/awt/image/DataBuffer.java
11738 java/awt/image/DataBufferByte.java
11739 java/awt/image/DataBufferInt.java
11740 java/awt/image/DataBufferUShort.java
11741 java/awt/image/DirectColorModel.java
11742 java/awt/image/PackedColorModel.java
11743 java/awt/image/Raster.java java/awt/image/RasterOp.java
11744 java/awt/image/SampleModel.java
11745 java/awt/image/SinglePixelPackedSampleModel.java
11746 java/awt/image/WritableRaster.java
11747 java/beans/AppletInitializer.java
11748 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11749 java/beans/Beans.java java/beans/Customizer.java
11750 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11751 java/beans/FeatureDescriptor.java
11752 java/beans/IndexedPropertyDescriptor.java
11753 java/beans/IntrospectionException.java
11754 java/beans/Introspector.java java/beans/MethodDescriptor.java
11755 java/beans/ParameterDescriptor.java
11756 java/beans/PropertyChangeEvent.java
11757 java/beans/PropertyChangeListener.java
11758 java/beans/PropertyChangeSupport.java
11759 java/beans/PropertyDescriptor.java
11760 java/beans/PropertyEditor.java
11761 java/beans/PropertyEditorManager.java
11762 java/beans/PropertyEditorSupport.java
11763 java/beans/PropertyVetoException.java
11764 java/beans/SimpleBeanInfo.java
11765 java/beans/VetoableChangeListener.java
11766 java/beans/VetoableChangeSupport.java
11767 java/beans/Visibility.java
11768 java/beans/beancontext/BeanContext.java
11769 java/beans/beancontext/BeanContextChild.java
11770 java/beans/beancontext/BeanContextChildComponentProxy.java
11771 java/beans/beancontext/BeanContextChildSupport.java
11772 java/beans/beancontext/BeanContextContainerProxy.java
11773 java/beans/beancontext/BeanContextEvent.java
11774 java/beans/beancontext/BeanContextMembershipEvent.java
11775 java/beans/beancontext/BeanContextMembershipListener.java
11776 java/beans/beancontext/BeanContextProxy.java
11777 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11778 java/beans/beancontext/BeanContextServiceProvider.java
11779 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11780 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11781 java/beans/beancontext/BeanContextServiceRevokedListener.java
11782 java/beans/beancontext/BeanContextServices.java
11783 java/beans/beancontext/BeanContextServicesListener.java
11784 java/io/BufferedInputStream.java
11785 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11786 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11787 java/io/ByteArrayOutputStream.java
11788 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11789 java/io/CharConversionException.java java/io/DataInput.java
11790 java/io/DataInputStream.java java/io/DataOutput.java
11791 java/io/EOFException.java java/io/Externalizable.java
11792 java/io/FileFilter.java java/io/FileNotFoundException.java
11793 java/io/FilePermission.java java/io/FileReader.java
11794 java/io/FileWriter.java java/io/FilenameFilter.java
11795 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11796 java/io/FilterReader.java java/io/FilterWriter.java
11797 java/io/IOException.java java/io/InputStream.java
11798 java/io/InterruptedIOException.java
11799 java/io/InvalidClassException.java
11800 java/io/InvalidObjectException.java
11801 java/io/NotActiveException.java
11802 java/io/NotSerializableException.java java/io/ObjectInput.java
11803 java/io/ObjectInputStream.java
11804 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11805 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11806 java/io/ObjectStreamConstants.java
11807 java/io/ObjectStreamException.java
11808 java/io/ObjectStreamField.java
11809 java/io/OptionalDataException.java java/io/OutputStream.java
11810 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11811 java/io/PipedReader.java java/io/PipedWriter.java
11812 java/io/PrintWriter.java java/io/PushbackInputStream.java
11813 java/io/PushbackReader.java java/io/Reader.java
11814 java/io/SequenceInputStream.java java/io/Serializable.java
11815 java/io/SerializablePermission.java
11816 java/io/StreamCorruptedException.java
11817 java/io/StreamTokenizer.java
11818 java/io/StringBufferInputStream.java java/io/StringReader.java
11819 java/io/StringWriter.java java/io/SyncFailedException.java
11820 java/io/UTFDataFormatException.java
11821 java/io/UnsupportedEncodingException.java
11822 java/io/WriteAbortedException.java java/io/Writer.java
11823 java/lang/AbstractMethodError.java
11824 java/lang/ArithmeticException.java
11825 java/lang/ArrayIndexOutOfBoundsException.java
11826 java/lang/ArrayStoreException.java java/lang/Boolean.java
11827 java/lang/Byte.java java/lang/CharSequence.java
11828 java/lang/ClassCastException.java
11829 java/lang/ClassCircularityError.java
11830 java/lang/ClassFormatError.java
11831 java/lang/ClassNotFoundException.java
11832 java/lang/CloneNotSupportedException.java
11833 java/lang/Cloneable.java java/lang/Comparable.java
11834 java/lang/Compiler.java java/lang/Double.java
11835 java/lang/Error.java java/lang/Exception.java
11836 java/lang/ExceptionInInitializerError.java
11837 java/lang/Float.java java/lang/IllegalAccessError.java
11838 java/lang/IllegalAccessException.java
11839 java/lang/IllegalArgumentException.java
11840 java/lang/IllegalMonitorStateException.java
11841 java/lang/IllegalStateException.java
11842 java/lang/IllegalThreadStateException.java
11843 java/lang/IncompatibleClassChangeError.java
11844 java/lang/IndexOutOfBoundsException.java
11845 java/lang/InheritableThreadLocal.java
11846 java/lang/InstantiationError.java
11847 java/lang/InstantiationException.java java/lang/Integer.java
11848 java/lang/InternalError.java
11849 java/lang/InterruptedException.java
11850 java/lang/LinkageError.java java/lang/Long.java
11851 java/lang/NegativeArraySizeException.java
11852 java/lang/NoClassDefFoundError.java
11853 java/lang/NoSuchFieldError.java
11854 java/lang/NoSuchFieldException.java
11855 java/lang/NoSuchMethodError.java
11856 java/lang/NoSuchMethodException.java
11857 java/lang/NullPointerException.java java/lang/Number.java
11858 java/lang/NumberFormatException.java
11859 java/lang/OutOfMemoryError.java java/lang/Package.java
11860 java/lang/Process.java java/lang/Runnable.java
11861 java/lang/RuntimeException.java
11862 java/lang/RuntimePermission.java
11863 java/lang/SecurityException.java
11864 java/lang/SecurityManager.java java/lang/Short.java
11865 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11866 java/lang/StringIndexOutOfBoundsException.java
11867 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11868 java/lang/ThreadLocal.java java/lang/UnknownError.java
11869 java/lang/UnsatisfiedLinkError.java
11870 java/lang/UnsupportedClassVersionError.java
11871 java/lang/UnsupportedOperationException.java
11872 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11873 java/lang/Void.java java/lang/ref/PhantomReference.java
11874 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11875 java/lang/ref/SoftReference.java
11876 java/lang/ref/WeakReference.java
11877 java/lang/reflect/AccessibleObject.java
11878 java/lang/reflect/InvocationTargetException.java
11879 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11880 java/lang/reflect/ReflectPermission.java
11881 java/math/BigDecimal.java java/math/BigInteger.java
11882 java/net/Authenticator.java java/net/BindException.java
11883 java/net/ConnectException.java java/net/ContentHandler.java
11884 java/net/ContentHandlerFactory.java
11885 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11886 java/net/FileNameMap.java java/net/MalformedURLException.java
11887 java/net/MulticastSocket.java java/net/NetPermission.java
11888 java/net/NoRouteToHostException.java
11889 java/net/PasswordAuthentication.java
11890 java/net/ProtocolException.java java/net/ServerSocket.java
11891 java/net/Socket.java java/net/SocketException.java
11892 java/net/SocketImpl.java java/net/SocketImplFactory.java
11893 java/net/SocketOptions.java java/net/SocketPermission.java
11894 java/net/URLDecoder.java java/net/URLEncoder.java
11895 java/net/URLStreamHandlerFactory.java
11896 java/net/UnknownHostException.java
11897 java/net/UnknownServiceException.java
11898 java/rmi/AccessException.java
11899 java/rmi/AlreadyBoundException.java
11900 java/rmi/ConnectException.java
11901 java/rmi/ConnectIOException.java
11902 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11903 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11904 java/rmi/NotBoundException.java
11905 java/rmi/RMISecurityException.java
11906 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11907 java/rmi/RemoteException.java java/rmi/ServerError.java
11908 java/rmi/ServerException.java
11909 java/rmi/ServerRuntimeException.java
11910 java/rmi/StubNotFoundException.java
11911 java/rmi/UnexpectedException.java
11912 java/rmi/UnknownHostException.java
11913 java/rmi/UnmarshalException.java
11914 java/rmi/activation/Activatable.java
11915 java/rmi/activation/ActivateFailedException.java
11916 java/rmi/activation/ActivationDesc.java
11917 java/rmi/activation/ActivationException.java
11918 java/rmi/activation/ActivationGroup.java
11919 java/rmi/activation/ActivationGroupDesc.java
11920 java/rmi/activation/ActivationGroupID.java
11921 java/rmi/activation/ActivationID.java
11922 java/rmi/activation/ActivationInstantiator.java
11923 java/rmi/activation/ActivationMonitor.java
11924 java/rmi/activation/ActivationSystem.java
11925 java/rmi/activation/Activator.java
11926 java/rmi/activation/UnknownGroupException.java
11927 java/rmi/activation/UnknownObjectException.java
11928 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11929 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11930 java/rmi/registry/Registry.java
11931 java/rmi/registry/RegistryHandler.java
11932 java/rmi/server/ExportException.java
11933 java/rmi/server/LoaderHandler.java
11934 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11935 java/rmi/server/Operation.java
11936 java/rmi/server/RMIClassLoader.java
11937 java/rmi/server/RMIClientSocketFactory.java
11938 java/rmi/server/RMIFailureHandler.java
11939 java/rmi/server/RMIServerSocketFactory.java
11940 java/rmi/server/RMISocketFactory.java
11941 java/rmi/server/RemoteCall.java
11942 java/rmi/server/RemoteObject.java
11943 java/rmi/server/RemoteRef.java
11944 java/rmi/server/RemoteServer.java
11945 java/rmi/server/RemoteStub.java
11946 java/rmi/server/ServerCloneException.java
11947 java/rmi/server/ServerNotActiveException.java
11948 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11949 java/rmi/server/SkeletonMismatchException.java
11950 java/rmi/server/SkeletonNotFoundException.java
11951 java/rmi/server/SocketSecurityException.java
11952 java/rmi/server/UID.java
11953 java/rmi/server/UnicastRemoteObject.java
11954 java/rmi/server/Unreferenced.java
11955 java/security/AccessControlContext.java
11956 java/security/AccessControlException.java
11957 java/security/AccessController.java
11958 java/security/AlgorithmParameterGenerator.java
11959 java/security/AlgorithmParameterGeneratorSpi.java
11960 java/security/AlgorithmParameters.java
11961 java/security/AlgorithmParametersSpi.java
11962 java/security/AllPermission.java
11963 java/security/BasicPermission.java
11964 java/security/Certificate.java java/security/CodeSource.java
11965 java/security/DigestException.java
11966 java/security/DigestInputStream.java
11967 java/security/DigestOutputStream.java
11968 java/security/DomainCombiner.java
11969 java/security/DummyKeyPairGenerator.java
11970 java/security/DummyMessageDigest.java
11971 java/security/DummySignature.java
11972 java/security/GeneralSecurityException.java
11973 java/security/Guard.java java/security/GuardedObject.java
11974 java/security/Identity.java java/security/IdentityScope.java
11975 java/security/InvalidAlgorithmParameterException.java
11976 java/security/InvalidKeyException.java
11977 java/security/InvalidParameterException.java
11978 java/security/Key.java java/security/KeyException.java
11979 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11980 java/security/KeyManagementException.java
11981 java/security/KeyPair.java java/security/KeyPairGenerator.java
11982 java/security/KeyPairGeneratorSpi.java
11983 java/security/KeyStore.java
11984 java/security/KeyStoreException.java
11985 java/security/KeyStoreSpi.java
11986 java/security/MessageDigest.java
11987 java/security/MessageDigestSpi.java
11988 java/security/NoSuchAlgorithmException.java
11989 java/security/NoSuchProviderException.java
11990 java/security/Permission.java
11991 java/security/PermissionCollection.java
11992 java/security/Permissions.java java/security/Policy.java
11993 java/security/Principal.java java/security/PrivateKey.java
11994 java/security/PrivilegedAction.java
11995 java/security/PrivilegedActionException.java
11996 java/security/PrivilegedExceptionAction.java
11997 java/security/ProtectionDomain.java
11998 java/security/Provider.java
11999 java/security/ProviderException.java
12000 java/security/PublicKey.java
12001 java/security/SecureClassLoader.java
12002 java/security/SecureRandom.java
12003 java/security/SecureRandomSpi.java java/security/Security.java
12004 java/security/SecurityPermission.java
12005 java/security/Signature.java
12006 java/security/SignatureException.java
12007 java/security/SignatureSpi.java
12008 java/security/SignedObject.java java/security/Signer.java
12009 java/security/UnrecoverableKeyException.java
12010 java/security/UnresolvedPermission.java
12011 java/security/acl/Acl.java java/security/acl/AclEntry.java
12012 java/security/acl/AclNotFoundException.java
12013 java/security/acl/Group.java
12014 java/security/acl/LastOwnerException.java
12015 java/security/acl/NotOwnerException.java
12016 java/security/acl/Owner.java java/security/acl/Permission.java
12017 java/security/cert/CRL.java
12018 java/security/cert/CRLException.java
12019 java/security/cert/Certificate.java
12020 java/security/cert/CertificateEncodingException.java
12021 java/security/cert/CertificateException.java
12022 java/security/cert/CertificateExpiredException.java
12023 java/security/cert/CertificateFactory.java
12024 java/security/cert/CertificateFactorySpi.java
12025 java/security/cert/CertificateNotYetValidException.java
12026 java/security/cert/CertificateParsingException.java
12027 java/security/cert/X509CRL.java
12028 java/security/cert/X509CRLEntry.java
12029 java/security/cert/X509Certificate.java
12030 java/security/cert/X509Extension.java
12031 java/security/interfaces/DSAKey.java
12032 java/security/interfaces/DSAKeyPairGenerator.java
12033 java/security/interfaces/DSAParams.java
12034 java/security/interfaces/DSAPrivateKey.java
12035 java/security/interfaces/DSAPublicKey.java
12036 java/security/interfaces/RSAKey.java
12037 java/security/interfaces/RSAPrivateCrtKey.java
12038 java/security/interfaces/RSAPrivateKey.java
12039 java/security/interfaces/RSAPublicKey.java
12040 java/security/spec/AlgorithmParameterSpec.java
12041 java/security/spec/DSAParameterSpec.java
12042 java/security/spec/DSAPrivateKeySpec.java
12043 java/security/spec/DSAPublicKeySpec.java
12044 java/security/spec/EncodedKeySpec.java
12045 java/security/spec/InvalidKeySpecException.java
12046 java/security/spec/InvalidParameterSpecException.java
12047 java/security/spec/KeySpec.java
12048 java/security/spec/PKCS8EncodedKeySpec.java
12049 java/security/spec/RSAKeyGenParameterSpec.java
12050 java/security/spec/RSAPrivateCrtKeySpec.java
12051 java/security/spec/RSAPrivateKeySpec.java
12052 java/security/spec/RSAPublicKeySpec.java
12053 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12054 java/sql/BatchUpdateException.java java/sql/Blob.java
12055 java/sql/CallableStatement.java java/sql/Clob.java
12056 java/sql/Connection.java java/sql/DataTruncation.java
12057 java/sql/DatabaseMetaData.java java/sql/Date.java
12058 java/sql/Driver.java java/sql/DriverManager.java
12059 java/sql/DriverPropertyInfo.java
12060 java/sql/PreparedStatement.java java/sql/Ref.java
12061 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12062 java/sql/SQLData.java java/sql/SQLException.java
12063 java/sql/SQLInput.java java/sql/SQLOutput.java
12064 java/sql/SQLWarning.java java/sql/Statement.java
12065 java/sql/Struct.java java/sql/Time.java
12066 java/sql/Timestamp.java java/sql/Types.java
12067 java/text/Annotation.java
12068 java/text/AttributedCharacterIterator.java
12069 java/text/AttributedString.java
12070 java/text/AttributedStringIterator.java
12071 java/text/BreakIterator.java java/text/CharacterIterator.java
12072 java/text/ChoiceFormat.java java/text/Collator.java
12073 java/text/DateFormat.java java/text/DateFormatSymbols.java
12074 java/text/DecimalFormat.java
12075 java/text/DecimalFormatSymbols.java
12076 java/text/FieldPosition.java java/text/Format.java
12077 java/text/MessageFormat.java java/text/NumberFormat.java
12078 java/text/ParseException.java java/text/ParsePosition.java
12079 java/text/SimpleDateFormat.java
12080 java/text/StringCharacterIterator.java
12081 java/util/AbstractCollection.java java/util/AbstractList.java
12082 java/util/AbstractMap.java
12083 java/util/AbstractSequentialList.java
12084 java/util/AbstractSet.java java/util/ArrayList.java
12085 java/util/Arrays.java java/util/BasicMapEntry.java
12086 java/util/BitSet.java java/util/Calendar.java
12087 java/util/Collection.java java/util/Collections.java
12088 java/util/Comparator.java
12089 java/util/ConcurrentModificationException.java
12090 java/util/Date.java java/util/Dictionary.java
12091 java/util/EmptyStackException.java java/util/Enumeration.java
12092 java/util/EventListener.java java/util/EventObject.java
12093 java/util/GregorianCalendar.java java/util/HashMap.java
12094 java/util/HashSet.java java/util/Hashtable.java
12095 java/util/IdentityHashMap.java java/util/Iterator.java
12096 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12097 java/util/LinkedList.java java/util/List.java
12098 java/util/ListIterator.java java/util/ListResourceBundle.java
12099 java/util/Locale.java java/util/Map.java
12100 java/util/MissingResourceException.java
12101 java/util/NoSuchElementException.java
12102 java/util/Observable.java java/util/Observer.java
12103 java/util/Properties.java java/util/PropertyPermission.java
12104 java/util/PropertyResourceBundle.java java/util/Random.java
12105 java/util/RandomAccess.java java/util/ResourceBundle.java
12106 java/util/Set.java java/util/SimpleTimeZone.java
12107 java/util/SortedMap.java java/util/SortedSet.java
12108 java/util/Stack.java java/util/StringTokenizer.java
12109 java/util/TimeZone.java java/util/Timer.java
12110 java/util/TimerTask.java
12111 java/util/TooManyListenersException.java
12112 java/util/TreeMap.java java/util/TreeSet.java
12113 java/util/Vector.java java/util/WeakHashMap.java
12114 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12115 java/util/jar/JarException.java java/util/jar/JarFile.java
12116 java/util/jar/JarInputStream.java
12117 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12118 java/util/zip/Adler32.java java/util/zip/CRC32.java
12119 java/util/zip/CheckedInputStream.java
12120 java/util/zip/CheckedOutputStream.java
12121 java/util/zip/Checksum.java
12122 java/util/zip/DataFormatException.java
12123 java/util/zip/Deflater.java
12124 java/util/zip/DeflaterOutputStream.java
12125 java/util/zip/GZIPInputStream.java
12126 java/util/zip/GZIPOutputStream.java
12127 java/util/zip/Inflater.java
12128 java/util/zip/InflaterInputStream.java
12129 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12130 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12131 java/util/zip/ZipInputStream.java
12132 java/util/zip/ZipOutputStream.java
12133 javax/naming/BinaryRefAddr.java
12134 javax/naming/InvalidNameException.java javax/naming/Name.java
12135 javax/naming/NamingException.java javax/naming/RefAddr.java
12136 javax/naming/StringRefAddr.java: Add license clarification.
12137
12138 2002-01-22 Tom Tromey <tromey@redhat.com>
12139
12140 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12141 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12142 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12143 version.
12144 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12145 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12146 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12147 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12148 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12149 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12150 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12151 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12152 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12153 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12154 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12155 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12156 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12157 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12158 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12159 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12160 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12161 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12162 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12163 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12164 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12165 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12166 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12167 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12168 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12169 (minimumSize, preferredSize, reshape): Likewise.
12170 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12171 getColorModel): New methods.
12172 * java/awt/PopupMenu.java: Merged with Classpath.
12173 * java/awt/MenuBar.java: Merged with Classpath.
12174 * java/awt/SystemColor.java: Replace with Classpath version.
12175 * java/awt/Panel.java: Merged with Classpath.
12176 * java/awt/PaintContext.java: Updated copyright.
12177 * java/awt/MenuShortcut.java: Merged with Classpath.
12178 * java/awt/MenuContainer.java: Merged with Classpath.
12179 * java/awt/Menu.java: Merged with Classpath.
12180 * java/awt/MediaEntry.java: New file from Classpath.
12181 * java/awt/MediaTracker.java: New file from Classpath.
12182 * java/awt/List.java: Merged with Classpath version.
12183 * java/awt/Insets.java: Merged with Classpath version.
12184 * java/awt/ImageMediaEntry.java: New file from Classpath.
12185 * java/awt/Image.java: Replaced with Classpath version.
12186 * java/awt/FontMetrics.java: Merged with Classpath version.
12187 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12188 constant.
12189 * java/awt/Font.java: Merged with Classpath version.
12190 * java/awt/Dialog.java: Merged with Classpath version.
12191 * java/awt/Color.java: Merged with Classpath version.
12192 * java/awt/Choice.java: Merged with Classpath version.
12193 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12194 * java/awt/Adjustable.java: Replace with Classpath version.
12195 * java/awt/MenuItem.java (paramString): Don't include class name
12196 or brackets. Call superclass paramString.
12197 * java/awt/MenuComponent.java (toString): Call paramString.
12198 (paramString): Compute string; don't call toString.
12199 * java/awt/Label.java (paramString): Don't include class name
12200 or brackets. Call superclass paramString.
12201 * java/awt/Checkbox.java (paramString): Don't include class name
12202 or brackets. Call superclass paramString.
12203 * java/awt/Button.java (paramString): Don't include class name or
12204 brackets. Call superclass paramString.
12205 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12206
12207 2002-01-20 Andreas Schwab <schwab@suse.de>
12208
12209 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12210 function and of parameter recv_func to ssize_t, as specified by
12211 POSIX.
12212
12213 2002-01-19 Per Bothner <per@bothner.com>
12214
12215 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12216 uncompressed_size in readiness for next entry.
12217
12218 2002-01-18 Tom Tromey <tromey@redhat.com>
12219
12220 * java/net/natPlainSocketImpl.cc: Include
12221 IllegalArgumentException.h.
12222 (_Jv_recv): New template function.
12223 (BooleanClass): Removed.
12224 (read): Use _Jv_recv.
12225 (setOption): Use Boolean::class$. Throw exception if object is
12226 not Boolean or Integer.
12227
12228 2002-01-17 Tom Tromey <tromey@redhat.com>
12229
12230 * java/awt/MenuComponent.java: Merged with Classpath.
12231 * java/awt/MenuItem.java: Merged with Classpath.
12232 * java/awt/Button.java: Merged with Classpath.
12233
12234 * java/awt/ActiveEvent.java: Updated copyright.
12235
12236 * java/awt/AWTError.java: Replaced with Classpath version.
12237 * java/awt/AWTException.java: Replaced with Classpath version.
12238 * java/awt/IllegalComponentStateException.java: Replaced with
12239 Classpath version.
12240
12241 2002-01-16 Tom Tromey <tromey@redhat.com>
12242
12243 * java/awt/Canvas.java (serialVersionUID): New constant.
12244 Updated copyright. Added javadoc from Classpath.
12245 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12246
12247 * java/awt/CheckboxGroup.java: Merged with Classpath.
12248 * java/awt/Checkbox.java: Merged with Classpath.
12249
12250 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12251 Classpath.
12252 * java/awt/Point.java: Updated copyright.
12253
12254 * java/awt/Point.java (toString): Use getClass().getName().
12255 Added javadoc.
12256
12257 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12258 commented code.
12259 (hash): Correctly compute initial value for `h'.
12260
12261 * java/awt/Label.java: Merged with Classpath.
12262
12263 2002-01-15 Tom Tromey <tromey@redhat.com>
12264
12265 * java/awt/AWTPermission.java: Updated copyright.
12266
12267 * java/awt/LayoutManager2.java: Merged with Classpath.
12268 * java/awt/LayoutManager.java: Merged with Classpath.
12269 * java/awt/GridLayout.java: Updated copyright and javadoc.
12270 (getSize): Use `parent.ncomponents'. Handle insets.
12271 (layoutContainer): Use `parent.ncomponents'. Handle case where
12272 there are fewer children than columns. Correctly compute size of
12273 each cell in the grid. Handle case where there isn't enough
12274 space.
12275 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12276 all users.
12277 (gotoComponent): Use parent.ncomponents. Ensure child exists
12278 before calling setVisible() on it. Last item is `num - 1', not
12279 `num'.
12280 (layoutContainer): Hoist invariants out of loop.
12281
12282 Start of AWT merge with Classpath:
12283 * Makefile.in: Rebuilt.
12284 * Makefile.am (awt_java_source_files): Reference files in
12285 gnu/java/awt, not gnu/gcj/awt.
12286 * java/awt/image/BufferedImage.java: Updated copyright.
12287 * java/awt/image/ComponentColorModel.java: Updated copyright.
12288 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12289 * java/awt/image/DataBuffer.java: Updated copyright.
12290 * java/awt/image/DataBufferByte.java: Updated copyright.
12291 * java/awt/image/DataBufferInt.java: Updated copyright.
12292 * java/awt/image/DataBufferUShort.java: Updated copyright.
12293 * java/awt/image/IndexColorModel.java: Updated copyright.
12294 * java/awt/image/PackedColorModel.java: Updated copyright.
12295 * java/awt/image/Raster.java: Updated copyright.
12296 * java/awt/image/RasterOp.java: Updated copyright.
12297 * java/awt/image/SampleModel.java: Updated copyright.
12298 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12299 * java/awt/image/WritableRaster.java: Updated copyright.
12300 * java/awt/color/ColorSpace.java: Updated copyright.
12301 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12302 * java/awt/color/ICC_Profile.java: Updated copyright.
12303 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12304 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12305 * java/awt/event/HierarchyEvent.java: Updated copyright.
12306 * java/awt/event/HierarchyListener.java: Updated copyright.
12307 * java/awt/geom/AffineTransform.java: Updated copyright.
12308 * java/awt/geom/Dimension2D.java: Updated copyright.
12309 * java/awt/geom/Ellipse2D.java: Updated copyright.
12310 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12311 * java/awt/geom/Line2D.java: Updated copyright.
12312 * java/awt/geom/NoninvertibleTransformException.java: Updated
12313 copyright.
12314 * java/awt/geom/PathIterator.java: Updated copyright.
12315 * java/awt/geom/Point2D.java: Updated copyright.
12316 * java/awt/geom/Rectangle2D.java: Updated copyright.
12317 * java/awt/geom/RectangularShape.java: Updated copyright.
12318 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12319 * java/awt/Toolkit.java: Updated import for file moves.
12320 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12321 Classpath.
12322 (hashCode): New method from Classpath.
12323 * java/awt/Graphics2D.java: Updated copyright.
12324 * java/awt/Transparency.java: Updated copyright.
12325 * java/awt/Paint.java: Updated copyright.
12326 * java/awt/Graphics.java: New version from Classpath.
12327 * java/awt/EventDispatchThread.java: Updated copyright.
12328 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12329 children.
12330 (gotoComponent): Wrap around on next/previous.
12331 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12332 * gnu/gcj/awt/Buffers.java: Removed.
12333 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12334 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12335 * gnu/java/awt/BitMaskExtent.java: Added.
12336 * gnu/java/awt/Buffers.java: Added.
12337 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12338 * gnu/java/awt/GLightweightPeer.java: Added.
12339 * java/awt/geom/Line2D.java (clone): Ignore
12340 CloneNotSupportedException.
12341 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12342 * java/awt/Frame.java: Merged with Classpath.
12343 * java/awt/RenderingHints.java: Copyright update.
12344 * java/awt/Paint.java: Copyright update.
12345 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12346 * java/awt/image/ColorModel.java: Merged with Classpath.
12347 * java/awt/Window.java (show): New Implementation from Classpath.
12348 (isShowing): Use super.isShowing().
12349 * java/awt/EventQueue.java: Merged with Classpath.
12350 * java/awt/AWTEventMulticaster.java (save): Throw
12351 RuntimeException.
12352 (saveInternal): Likewise.
12353 * java/awt/AWTEvent.java: Now implements Serializable.
12354 * java/awt/Event.java: Copyright update.
12355 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12356 * java/awt/image/BufferedImage.java: Copyright update.
12357 * java/awt/GraphicsConfiguration.java: Copyright update.
12358 * java/awt/Component.java: (addNotify): Don't call
12359 addNotifyContainerChildren().
12360 (addNotifyContainerChildren): Removed.
12361 (setPeer): New method from Classpath.
12362 (setTreeLock): Likewise.
12363 (setVisible): Rewrote.
12364 (show): Use it.
12365 (hide): Likewise.
12366 (validate): Set `valid'.
12367 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12368 (createImage(ImageProducer)): Likewise.
12369 (prepareImage): Likewise.
12370 * java/awt/Container.java (addImpl): Handle case where constraint
12371 is not a String. Post event via system event queue.
12372 (remove): Post event via system event queue.
12373 (validateTree): Only validate child if it is invalid.
12374 (getAlignmentX): Call super method as default.
12375 (getAlignmentY): Likewise.
12376 (addContainerListener): Now synchronized.
12377 (removeContainerListener): Likewise.
12378 (addNotifyContainerChildren): Now private.
12379 * java/awt/ComponentOrientation.java: Updated copyright. Added
12380 @author.
12381 * java/awt/FlowLayout.java (serialVersionUID): New field.
12382 (setAlignment): Better exception message.
12383 (layoutContainer): Don't compute component's preferred size unless
12384 we're going to use it.
12385 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12386 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12387 (firstLine, lastLine, firstItem, lastItem): New fields.
12388 (addLayoutComponent): Handle case where constraints is null.
12389 Also, handle relative locations.
12390 (removeLayoutComponent): Handle relative locations.
12391 (MIN, MAX, PREF): New constants.
12392 (calcCompSize): New method.
12393 (calcSize): New method.
12394 (minimumLayoutSize): Use it.
12395 (preferredLayoutSize): Likewise.
12396 (maximumLayoutSize): Likewise.
12397 (toString): Include more information.
12398 (setBounds): New method.
12399 (layoutContainer): Use libgcj implementation; extended to handle
12400 relative locations.
12401
12402 2002-01-15 Tom Tromey <tromey@redhat.com>
12403
12404 * java/lang/Float.java (equals): Preserve old code.
12405 * java/lang/Double.java (equals): Preserve old code.
12406
12407 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12408
12409 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12410 * java/lang/Float.java (equals, compare): Ditto.
12411
12412 2002-01-13 Mark Wielaard <mark@klomp.org>
12413
12414 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12415 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12416 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12417 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12418
12419 2002-01-11 Mark Wielaard <mark@klomp.org>
12420
12421 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12422 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12423 InetAddress.
12424 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12425 * java/net/Socket.java: Merge with Classpath.
12426 * java/net/ServerSocket.java: Likewise.
12427
12428 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12429
12430 * interpret.cc (NULLARRAYCHECK): New macro.
12431 (SAVE_PC): Just store `pc'.
12432 (find_exception): Subtract one from `pc' here.
12433 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12434 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12435 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12436 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12437 don't call SAVE_PC.
12438 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12439 call SAVE_PC.
12440
12441 2002-01-11 Tom Tromey <tromey@redhat.com>
12442
12443 * java/lang/natSystem.cc (init_properties): Only look for default
12444 locale if LC_MESSAGES is defined.
12445 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12446 * configure.in: Call AM_LC_MESSAGES.
12447 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12448
12449 2002-01-10 Tom Tromey <tromey@redhat.com>
12450
12451 For PR libgcj/5303:
12452 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12453 --version. Recognize GNU-style long options. Print GNU-style
12454 error messages.
12455 (usage): Print GNU-style help. Exit with status 0.
12456 (error): New method.
12457 (run): Print error message if no class names found.
12458 (main): Don't print usage on error.
12459
12460 2002-01-09 Tom Tromey <tromey@redhat.com>
12461
12462 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12463 property.
12464 (help, version): Use println(), not println("").
12465
12466 For PR libgcj/5303:
12467 * gnu/gcj/convert/Convert.java (error): Program is called
12468 `jv-convert'. Print GNU-style message. Exit with status 1, not
12469 -1.
12470 (main): Handle --help and --version.
12471 (help): New method.
12472 (version): Likewise.
12473
12474 2002-01-08 Tom Tromey <tromey@redhat.com>
12475
12476 * Makefile.in: Rebuilt.
12477 * Makefile.am (ordinary_java_source_files): Added new files.
12478 * gnu/java/locale/LocaleInformation.java: Extend
12479 LocaleInformation_en.
12480 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12481 and time/date formats.
12482 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12483 generated.
12484 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12485 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12486 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12487 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12488 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12489 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12490 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12491 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12492 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12493 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12494 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12495 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12496 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12497 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12498 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12499 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12500 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12501 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12502 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12503 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12504 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12505 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12506 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12507 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12508 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12509 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12510 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12511 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12512 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12513 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12514 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12515 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12516 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12517 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12518 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12519 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12520 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12521 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12522 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12523 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12524 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12525 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12526 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12527 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12528 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12529 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12530 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12531 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12532 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12533 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12534 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12535 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12536 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12537 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12538 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12539 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12540 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12541 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12542 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12543 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12544 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12545 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12546 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12547 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12548 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12549 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12550 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12551 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12552 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12553 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12554 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12555 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12556 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12557 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12558 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12559 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12560 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12561 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12562 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12563 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12564 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12565 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12566 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12567 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12568 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12569 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12570 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12571 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12572 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12573 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12574 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12575 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12576 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12577 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12578 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12579 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12580 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12581 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12582 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12583 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12584 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12585 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12586 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12587 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12588 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12589 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12590 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12591 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12592 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12593 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12594 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12595 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12596 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12597 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12598 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12599 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12600 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12601 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12602 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12603 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12604 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12605 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12606 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12607 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12608 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12609 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12610 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12611 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12612 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12613 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12614
12615 For PR libgcj/5031:
12616 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12617 choose default locale.
12618
12619 * Makefile.in: Rebuilt.
12620 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12621
12622 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12623
12624 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12625 sockets.
12626 (close): New function closes the socket.
12627 (write): New functions for output to socket.
12628 (read): New functions for reading from socket.
12629 * java/net/PlainSocketImpl.java: Glue for new timeout
12630 implementation.
12631 (write): Call the native impl.
12632 (read): Likewise.
12633 (getInputStream): Get a stream to read from the socket.
12634 (getOutputStream): Get a stream to write to the socket.
12635
12636 2002-01-08 Tom Tromey <tromey@redhat.com>
12637
12638 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12639
12640 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12641
12642 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12643 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12644
12645 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12646
12647 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12648 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12649 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12650 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12651 insn_bastore, insn_castore, insn_sastore]: Use it.
12652 (continue1) [insn_arraylength]: Check for null array.
12653
12654 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12655
12656 * configure, include/config.h.in: Rebuilt.
12657 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12658 * configure.in: Call AC_STRUCT_TIMEZONE.
12659
12660 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12661
12662 * configure.host: Disable the interpreter for Darwin.
12663
12664 2002-01-04 Tom Tromey <tromey@redhat.com>
12665
12666 * java/lang/Thread.java (stop): No longer synchronized.
12667 (start): Likewise.
12668
12669 2002-01-02 Tom Tromey <tromey@redhat.com>
12670
12671 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12672 patch.
12673
12674 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12675
12676 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12677 PPC Darwin, not for all of Darwin.