* boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
[gcc.git] / libjava / ChangeLog
1 2003-07-23 Tom Tromey <tromey@redhat.com>
2
3 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
4
5 2003-07-22 Tom Tromey <tromey@redhat.com>
6
7 * boehm.cc (_Jv_BuildGCDescr): Wrote.
8 Include limits.h.
9
10 2003-07-22 Tom Tromey <tromey@redhat.com>
11
12 * java/awt/Window.java (getWarningString): Just return the
13 string.
14 (Window): Set warningString; check with security manager.
15
16 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
17
18 * gnu/awt/xlib/XGraphicsConfiguration.java
19 (FontMetricsCache): Made static.
20
21 2003-07-22 Tom Tromey <tromey@redhat.com>
22
23 * java/net/URLEncoder.java (encode(String)): Use platform default
24 encoding.
25 (encode(String,String)): Convert to 2-digit upper-case hex
26 number.
27 (hex): New field.
28
29 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
30
31 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
32 (create): Remove unused method implementation.
33 (connectHooks): Remove debug messages.
34
35 2003-07-20 Anthony Green <green@redhat.com>
36
37 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
38 CloneNotSupportedException.
39 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
40 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
41 * gnu/gcj/xlib/GC.java (clone): Ditto.
42 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
43 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
44
45 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
46 handler.
47 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
48
49 2003-07-20 Steve Pribyl <steve@netfuel.com.>
50
51 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
52 String. Put dlerror() message into exception.
53 Include UnsatisfiedLinkError.
54 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
55 String. Now native.
56
57 2003-07-20 Tom Tromey <tromey@redhat.com>
58
59 * java/lang/Runtime.java: Comment fix.
60 * java/lang/ClassLoader.java (isAncestorOf): New method.
61 (getParent): Uncommented security check. Use isAncestorOf.
62 * include/jvm.h (_Jv_CheckAccess): Declare.
63 * java/lang/reflect/natConstructor.cc (newInstance): Perform
64 access check.
65 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
66 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
67 class loader to _Jv_GetArrayClass.
68 Include ArrayIndexOutOfBoundsException.h.
69 * java/lang/reflect/Field.java: Update comment to reflect status.
70 (equals): Fixed indentation.
71 * java/lang/Class.h (Class): Declare memberAccessCheck, not
72 checkMemberAccess. Make _Jv_CheckAccess a friend.
73 * java/lang/Class.java (memberAccessCheck): New method from
74 Classpath.
75 (checkMemberAccess): Removed.
76 (getDeclaredMethod): Use memberAccessCheck.
77 (getField): Likewise.
78 (getMethod): Likewise.
79 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
80 (_Jv_SearchMethodInClass): Likewise.
81 * prims.cc (_Jv_CheckAccess): New function.
82 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
83 (_Jv_JNI_GetAnyFieldID): Likewise.
84 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
85 (getClassLoader): Added security check.
86 (getConstructor): Call memberAccessCheck.
87 (getDeclaredClasses): Likewise.
88 (getDeclaredField): Likewise.
89 (getDeclaredFields): Likewise.
90 (_getConstructors): Likewise.
91 (getDeclaredConstructor): Likewise.
92 (getDeclaredMethods): Likewise.
93 (getFields): Likewise.
94 (getMethods): Likewise.
95 (newInstance): Likewise.
96 (_Jv_MakeVTable): Put method name in exception.
97 * java/lang/reflect/natMethod.cc (getType): Use
98 getClassLoaderInternal.
99 (_Jv_GetTypesFromSignature): Likewise.
100 (invoke): Perform access check.
101 (_Jv_CallAnyMethodA): Removed old FIXME comments.
102 Include ArrayIndexOutOfBoundsException.h.
103 * java/lang/reflect/natField.cc (getType): Use
104 getClassLoaderInternal.
105 (_Jv_CheckFieldAccessibility): Removed.
106 (getAddr): Use _Jv_CheckAccess; find caller.
107 Include ArrayIndexOutOfBoundsException.h.
108
109 2003-07-20 Michael Koch <konqueror@gmx.de>
110
111 * java/net/URL.java
112 (URL): Fixed documentation to name an argument correcty, Reformatted
113 one method declaration.
114 (getURLStreamHandler): Added documentation from classpath.
115
116 2003-07-19 Tom Tromey <tromey@redhat.com>
117
118 * mauve-libgcj: Don't run CollationElementIterator tests.
119
120 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
121
122 * java/net/URLClassLoader.java (addURL): Moved implementation to
123 private addURLImpl() to avoid calling addURL from the constructor.
124 (addURLImpl): Contains the code that was previously in addURL.
125 (addURLs): Call addURLImpl(), not addURL().
126
127 2003-07-18 Graydon Hoare <graydon@redhat.com>
128
129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
130 Handle missing event cases, connect to "value-changed" signal.
131
132 2003-07-18 Graydon Hoare <graydon@redhat.com>
133
134 * java/awt/geom/CubicCurve2D.java,
135 java/awt/geom/Line2D.java,
136 java/awt/geom/QuadCurve2D.java,
137 java/awt/geom/Rectangle2D.java:
138 Fix path some calculations, make path iterators follow
139 a consistent style.
140
141 2003-07-18 Mark Wielaard <mark@klomp.org>
142
143 * java/util/logging/Handler.java (isLoggable): Check record level
144 smaller or equal.
145
146 2003-07-17 Michael Koch <konqueror@gmx.de>
147
148 * gnu/java/awt/peer/gtk/GtkToolkit.java:
149 Reworked imports.
150
151 2003-07-14 Michael Koch <konqueror@gmx.de>
152
153 * gnu/java/rmi/server/UnicastServerRef.java:
154 New version from classpath.
155
156 2003-07-14 Michael Koch <konqueror@gmx.de>
157
158 * java/awt/image/MemoryImageSource.java,
159 java/beans/PropertyEditorManager.java,
160 javax/naming/CompoundName.java,
161 javax/naming/spi/NamingManager.java,
162 javax/swing/AbstractButton.java,
163 javax/swing/ButtonModel.java,
164 javax/swing/SwingUtilities.java,
165 javax/swing/UIManager.java,
166 javax/swing/colorchooser/DefaultColorSelectionModel.java,
167 javax/swing/event/AncestorEvent.java,
168 javax/swing/event/InternalFrameEvent.java,
169 java/util/zip/ZipFile.java:
170 New versions from classpath.
171
172 2003-07-13 Michael Koch <konqueror@gmx.de>
173
174 * gnu/java/nio/FileChannelImpl.java,
175 gnu/java/nio/natFileChannelImpl.cc: Removed.
176 * java/io/FileInputStream.java,
177 java/io/FileOutputStream.java,
178 java/io/RandomAccessFile.java,
179 java/nio/MappedByteBufferImpl.java:
180 Import java.nio.channels.FileChannelImpl instead of
181 gnu.java.nio.FileChannelImpl.
182 * java/nio/channels/FileChannelImpl.java,
183 java/nio/channels/natFileChannelImpl.cc:
184 New files.
185 * Makefile.am
186 (ordinary_java_source_files):
187 Removed gnu/java/nio/FileChannelImpl.java and added
188 java/nio/channels/FileChannelImpl.java.
189 (nat source_files):
190 Removed gnu/java/nio/natFileChannelImpl.cc and added
191 java/nio/channels/natFileChannelImpl.cc.
192 * Makefile.in: Regenerated.
193
194 2003-07-13 Michael Koch <konqueror@gmx.de>
195
196 * javax/swing/plaf/basic/BasicBorders.java,
197 javax/swing/plaf/basic/BasicLabelUI.java,
198 javax/swing/plaf/basic/BasicLookAndFeel.java,
199 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
200 javax/swing/plaf/basic/BasicTextUI.java,
201 javax/swing/plaf/metal/MetalLookAndFeel.java:
202 New versions from classpath.
203
204 2003-07-13 Michael Koch <konqueror@gmx.de>
205
206 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
207 * gnu/java/awt/peer/gtk/GdkGraphics.java
208 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
209 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
210 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
211 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
212 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
213 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
214 * gnu/java/awt/peer/gtk/GtkClipboard.java
215 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
216 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
217 * gnu/java/awt/peer/gtk/GtkFramePeer.java
218 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
219 * gnu/java/awt/peer/gtk/GtkImage.java
220 * gnu/java/awt/peer/gtk/GtkImagePainter.java
221 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
222 * gnu/java/awt/peer/gtk/GtkListPeer.java
223 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
224 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
225 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
226 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
227 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
228 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
229 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
230 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
231 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
232 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
233 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
234 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
235
236 2003-07-13 Michael Koch <konqueror@gmx.de>
237
238 * gnu/java/locale/LocaleInformation_de.java
239 * gnu/java/locale/LocaleInformation_en.java
240 * gnu/java/locale/LocaleInformation_nl.java
241
242 2003-07-13 Michael Koch <konqueror@gmx.de>
243
244 * gnu/java/awt/EmbeddedWindow.java,
245 gnu/java/awt/EmbeddedWindowSupport.java,
246 gnu/java/awt/natEmbeddedWindow.cc:
247 New files.
248 * java/awt/Window.java
249 (Window): New constructor to support embedded windows.
250 * Makefile.am
251 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
252 gnu/java/awt/EmbeddedWindowSupport.java.
253 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
254 * Makefile.in: Regenerated.
255
256 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
257
258 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
259 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
260 * java/awt/im/InputContext.java: Remove a redundant
261 partial line.
262
263 2003-07-09 Tom Tromey <tromey@redhat.com>
264
265 * Makefile.in: Rebuilt.
266 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
267
268 2003-07-09 Mark Wielaard <mark@klomp.org>
269
270 * java/io/ObjectOutputStream.java (writeObject): break after
271 calling writeClassDescriptor().
272
273 2003-07-09 Mark Mitchell <mark@codesourcery.com>
274
275 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
276
277 2003-07-09 Michael Koch <konqueror@gmx.de>
278
279 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
280 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
281 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
282 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
283 Explicitly import used classes.
284 * java/awt/Container.java: New version from classpath.
285
286 2003-07-09 Michael Koch <konqueror@gmx.de>
287
288 * libgcj.pc.in: New file.
289 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
290 * Makefile.in: Regenerated.
291 * configure: Regenrated.
292 * configure.in: Create libgcj.pc from libgcj.pc.in.
293
294 2003-07-08 Mark Wielaard <mark@klomp.org>
295
296 * gcj/cni.h: CNI now expands to Compiled Native Interface.
297
298 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
299 * java/lang/fdlibm.h: Likewise.
300
301 2003-07-07 Adam Megacz <adam@xwt.org>
302
303 * posix.cc: added #include<stdio.h>
304
305 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
306
307 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
308 formatting.
309
310 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
311 (setCaretPosition, setEditable): Rely entirely on native
312 implementation.
313 (getArgs): Remove.
314 (postTextEvent): New method.
315 (handleEvent): New method.
316 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
317 method.
318 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
319 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
320 (keysym_to_awt_keycode): Fix range checks.
321 (generates_key_typed_event): New function.
322 (awt_event_handler): Post AWT_KEY_RELEASED events to event
323 queue.
324 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
325 (gtkInit): Store TextComponent's postTextEvent method ID.
326 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
327 (setText): Post TEXT_VALUE_CHANGED event to event queue.
328
329 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
330
331 * configure.in: Check for usleep declaration.
332 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
333 * configure: Regenerate.
334 * include/config.h.in: Likewise.
335 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
336
337 2003-07-01 Michael Koch <konqueror@gmx.de>
338
339 * gnu/gcj/convert/natIconv.cc
340 (iconv_init): Fixed possible memory leak by releasing allocated iconv
341 handle.
342
343 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
344
345 * glib-2.0.m4: New file.
346 * gtk-2.0.m4: New file.
347 * glib.m4: Remove.
348 * gtk.m4: Remove.
349 * configure.in: Update AM_PATH_GTK macro call to
350 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
351 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
352 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
353 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
354 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
355 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
356 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
357 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
358 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
359 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
360 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
361 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
362 jni/gtk-peer/gthread-jni.c,
363 jni/gtk-peer/gthread-jni.h:
364 New versions from classpath.
365 * aclocal.m4: Regenerate.
366 * configure: Regenerate.
367 * Makefile.in: Regenerate.
368 * gcj/Makefile.in: Regenerate.
369 * include/Makefile.in: Regenerate.
370 * testsuite/Makefile.in: Regenerate.
371
372 2003-06-30 Gary Benson <gbenson@redhat.com>
373
374 For PR libgcj/11349:
375 * javax/naming/spi/NamingManager.java (getURLContext): Use
376 correct name for factory class.
377
378 2003-06-28 Michael Koch <konqueror@gmx.de>
379
380 * java/io/PrintStream.java
381 (checkError): Call flush() instead of direct flushing of the Writer
382 object.
383 (print): Call print(String) instead of direct print method of the
384 Writer Object.
385 (println): Call println(String) instead of direct println method of the
386 Writer Object.
387 (write): Simplified.
388
389 2003-06-28 Michael Koch <konqueror@gmx.de>
390
391 * java/net/ServerSocket.java
392 (setChannel): New method.
393 * java/net/Socket.java
394 (setChannel): New method.
395
396 2003-06-27 Michael Koch <konqueror@gmx.de>
397
398 * java/beans/beancontext/BeanContextSupport.java:
399 New version from classpath.
400
401 2003-06-27 Michael Koch <konqueror@gmx.de>
402
403 * java/awt/Window.java,
404 java/awt/font/GraphicAttribute.java,
405 java/awt/font/ImageGraphicAttribute.java,
406 java/awt/image/DataBufferByte.java,
407 java/awt/image/DataBufferInt.java,
408 java/awt/image/DataBufferUShort.java,
409 java/awt/image/DirectColorModel.java,
410 java/awt/image/PixelGrabber.java:
411 New versions from classpath.
412
413 2003-06-27 Michael Koch <konqueror@gmx.de>
414
415 * java/security/Certificate.java
416 (getGuarantor): Removed wrong @deprecated tag.
417 (getPrincipal): Likewise.
418 (getPublicKey): Likewise.
419 (encode): Likewise.
420 (decode): Likewise.
421 (getFormat): Likewise.
422 (toString): Likewise.
423 * java/security/cert/PolicyQualifierInfo.java
424 (PolicyQualifierInfo): Made final.
425 * javax/security/auth/x500/X500Principal.java
426 (serialVersionUID): New member variable.
427
428 2003-06-27 Michael Koch <konqueror@gmx.de>
429
430 * java/text/Format.java
431 (serialVersionUID): Fixed value.
432
433 2003-06-27 Michael Koch <konqueror@gmx.de>
434
435 * java/net/Inet4Address.java
436 (Inet4Address): Made package-private.
437 * java/net/Inet6Address.java
438 (Inet4Address): Made package-private.
439
440 2003-06-27 Michael Koch <konqueror@gmx.de>
441
442 * java/io/RandomAccessFile.java
443 (readLine): Removed wrong @deprecated tag.
444 (getChannel): Made final.
445
446 2003-06-27 Michael Koch <konqueror@gmx.de>
447
448 * gnu/java/nio/FileChannelImpl.java
449 (write): Removed.
450
451 2003-06-27 Michael Koch <konqueror@gmx.de>
452
453 * java/nio/ByteBufferImpl.java
454 (ByteBufferImpl): Made it a package-private class
455 * java/nio/CharBufferImpl.java
456 (CharBufferImpl): Made it a package-private class
457 * java/nio/DirectByteBufferImpl.java
458 (DirectByteBufferImpl): Made it a package-private class
459 * java/nio/DoubleBufferImpl.java
460 (DoubleBufferImpl): Made it a package-private class
461 * java/nio/FloatBufferImpl.java
462 (FloatBufferImpl): Made it a package-private class
463 * java/nio/IntBufferImpl.java
464 (IntBufferImpl): Made it a package-private class
465 * java/nio/LongBufferImpl.java
466 (LongBufferImpl): Made it a package-private class
467 * java/nio/ShortBufferImpl.java
468 (ShortBufferImpl): Made it a package-private class
469 * java/nio/channels/FileChannel.java
470 (write): Made final.
471 * java/nio/channels/ServerSocketChannel.java
472 (ServerSocketChanne): Made protected.
473
474 2003-06-27 Michael Koch <konqueror@gmx.de>
475
476 * javax/naming/CompositeName.java
477 (serialVersionUID): New member variable.
478 * javax/naming/CompoundName.java
479 (serialVersionUID): New member variable.
480 * javax/naming/InitialContext.java
481 (InitialContext): Throws NamingException.
482 (init): Likewise.
483 * javax/naming/LinkRef.java
484 (serialVersionUID): New member variable.
485 (gteLinkName): Throws NamingException.
486 * javax/naming/NamingException.java
487 (serialVersionUID): New member variable.
488 * javax/naming/NamingSecurityException.java
489 (NamingSecurityException): Made abstract.
490 (serialVersionUID): New member variable.
491 * javax/naming/ReferralException.java
492 (serialVersionUID): New member variable.
493 * javax/naming/StringRefAddr.java
494 (serialVersionUID): New member variable.
495 * javax/naming/directory/BasicAttribute.java:
496 Reworked imports.
497 (serialVersionUID): New member variable.
498 (get): Throws NamingException.
499 (getAll): Throws NamingException.
500 * javax/naming/directory/BasicAttributes.java:
501 Reworked imports.
502 (serialVersionUID): New member variable.
503 * javax/naming/ldap/UnsolicitedNotificationEvent.java
504 (serialVersionUID): New member variable.
505
506 2003-06-27 Michael Koch <konqueror@gmx.de>
507
508 * Makefile.am
509 (awt_java_source_files): Added new files:
510 javax/swing/Popup.java,
511 javax/swing/PopupFactory.java
512 * Makefile.in: Regenerated.
513
514 2003-06-27 Michael Koch <konqueror@gmx.de>
515
516 * javax/swing/JWindow.java,
517 javax/swing/event/AncestorEvent.java,
518 javax/swing/event/HyperlinkEvent.java,
519 javax/swing/event/InternalFrameEvent.java,
520 javax/swing/event/ListDataEvent.java,
521 javax/swing/event/TableModelEvent.java,
522 javax/swing/plaf/PopupMenuUI.java,
523 javax/swing/plaf/SplitPaneUI.java,
524 javax/swing/plaf/TabbedPaneUI.java,
525 javax/swing/plaf/TextUI.java,
526 javax/swing/plaf/TreeUI.java,
527 javax/swing/plaf/basic/BasicTextUI.java,
528 javax/swing/plaf/basic/BasicTreeUI.java:
529 New versions from classpath.
530 * javax/swing/Popup.java,
531 javax/swing/PopupFactory.jav:
532 New source files from classpath.
533 * javax/swing/plaf/doc-files/TreeUI-1.png:
534 New binary files from classpath.
535
536 2003-06-25 Michael Koch <konqueror@gmx.de>
537
538 * Makefile.am
539 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
540 * Makefile.in: Regenerated.
541
542 2003-06-25 Michael Koch <konqueror@gmx.de>
543
544 * javax/swing/plaf/ActionMapUIResource.java,
545 javax/swing/plaf/BorderUIResource.java,
546 javax/swing/plaf/ButtonUI.java,
547 javax/swing/plaf/ColorChooserUI.java,
548 javax/swing/plaf/ColorUIResource.java,
549 javax/swing/plaf/ComboBoxUI.java,
550 javax/swing/plaf/ComponentInputMapUIResource.java,
551 javax/swing/plaf/ComponentUI.java,
552 javax/swing/plaf/DesktopIconUI.java,
553 javax/swing/plaf/DesktopPaneUI.java,
554 javax/swing/plaf/DimensionUIResource.java,
555 javax/swing/plaf/FileChooserUI.java,
556 javax/swing/plaf/FontUIResource.java,
557 javax/swing/plaf/IconUIResource.java,
558 javax/swing/plaf/InputMapUIResource.java,
559 javax/swing/plaf/InsetsUIResource.java,
560 javax/swing/plaf/InternalFrameUI.java,
561 javax/swing/plaf/LabelUI.java,
562 javax/swing/plaf/ListUI.java,
563 javax/swing/plaf/MenuBarUI.java,
564 javax/swing/plaf/MenuItemUI.java,
565 javax/swing/plaf/OptionPaneUI.java,
566 javax/swing/plaf/PanelUI.java,
567 javax/swing/plaf/ProgressBarUI.java,
568 javax/swing/plaf/RootPaneUI.java,
569 javax/swing/plaf/ScrollBarUI.java,
570 javax/swing/plaf/ScrollPaneUI.java,
571 javax/swing/plaf/SeparatorUI.java,
572 javax/swing/plaf/SliderUI.java,
573 javax/swing/plaf/TableHeaderUI.java,
574 javax/swing/plaf/TableUI.java,
575 javax/swing/plaf/ToolBarUI.java,
576 javax/swing/plaf/ToolTipUI.java,
577 javax/swing/plaf/ViewportUI.java:
578 New versions from classpath.
579 * javax/swing/plaf/SpinnerUI.java:
580 New file from classpath
581
582 2003-06-25 Michael Koch <konqueror@gmx.de>
583
584 * java/awt/image/ColorModel.java:
585 New version from classpath.
586
587 2003-06-25 Michael Koch <konqueror@gmx.de>
588
589 * java/net/PlainDatagramSocketImpl.java:
590 Partly merged with classpath, this mainly adds documentation.
591
592 2003-06-25 Michael Koch <konqueror@gmx.de>
593
594 * java/io/ObjectInputStream.java
595 (readClassDescriptor): New method.
596 (readObject): Moved functionality to readClassDescriptor().
597 * java/io/ObjectOutputStream.java
598 (writeClassDescriptor): New method.
599 (writeObject): Moved functionality to writeClassDescriptor().
600
601 2003-06-25 Michael Koch <konqueror@gmx.de>
602
603 * javax/swing/plaf/basic/BasicListUI.java,
604 javax/swing/plaf/basic/BasicOptionPaneUI.java:
605 Added missing methods.
606
607 2003-06-25 Michael Koch <konqueror@gmx.de>
608
609 * javax/swing/event/AncestorEvent.java
610 javax/swing/event/HyperlinkEvent.java
611 javax/swing/event/InternalFrameEvent.java
612 javax/swing/event/ListDataEvent.java
613 javax/swing/event/TableModelEvent.java:
614 Compile fixes.
615
616 2003-06-24 Michael Koch <konqueror@gmx.de>
617
618 * java/net/URL.java:
619 Renamed "handler" to "ph" in the whole file to match classpaths
620 version.
621 * java/net/URLStreamHandler.java:
622 (equals): Renamed "handler" to "ph".
623
624 2003-06-24 Michael Koch <konqueror@gmx.de>
625
626 * javax/swing/event/AncestorEvent.java,
627 javax/swing/event/HyperlinkEvent.java,
628 javax/swing/event/InternalFrameEvent.java,
629 javax/swing/event/ListDataEvent.java,
630 javax/swing/event/TableModelEvent.java,
631 javax/swing/event/TreeWillExpandListener.java,
632 javax/swing/plaf/ComponentUI.java,
633 javax/swing/plaf/DesktopIconUI.java,
634 javax/swing/plaf/DesktopPaneUI.java,
635 javax/swing/plaf/DimensionUIResource.java,
636 javax/swing/plaf/FileChooserUI.java,
637 javax/swing/plaf/FontUIResource.java,
638 javax/swing/plaf/IconUIResource.java,
639 javax/swing/plaf/InputMapUIResource.java,
640 javax/swing/plaf/InsetsUIResource.java,
641 javax/swing/plaf/InternalFrameUI.java,
642 javax/swing/plaf/LabelUI.java,
643 javax/swing/plaf/ListUI.java,
644 javax/swing/plaf/MenuBarUI.java,
645 javax/swing/plaf/MenuItemUI.java,
646 javax/swing/plaf/OptionPaneUI.java,
647 javax/swing/plaf/PanelUI.java,
648 javax/swing/plaf/ProgressBarUI.java,
649 javax/swing/plaf/doc-files/ComponentUI-1.dia,
650 javax/swing/plaf/doc-files/ComponentUI-1.png:
651 New versions from classpath.
652
653 2003-06-24 Michael Koch <konqueror@gmx.de>
654
655 * java/nio/Buffer.java
656 (cap): Made package-private.
657 (pos): Likewise.
658 (limit): Likewise.
659 (mark): Likewise.
660
661 2003-06-24 Michael Koch <konqueror@gmx.de>
662
663 * java/net/SocketImpl.java
664 (shutdownInput): Made it non-abstract method throwing an exception
665 like in SUNs JRE.
666 (shutdownOutput): Likewise.
667 * java/net/SocketInputStream.java,
668 java/net/SocketOutputStream.java:
669 New files from classpath.
670
671 2003-06-24 Michael Koch <konqueror@gmx.de>
672
673 * java/awt/Font.java,
674 java/awt/Window.java,
675 java/awt/color/ColorSpace.java,
676 java/awt/datatransfer/StringSelection.java,
677 java/awt/image/ColorModel.java:
678 New versions from classpath.
679
680 2003-06-24 Michael Koch <konqueror@gmx.de>
681
682 * Makefile.am
683 (awt_java_source_files): Added new files:
684 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
685 javax/swing/plaf/basic/BasicSplitPaneUI.java
686 * Makefile.in: Regenerated.
687
688 2003-06-24 Michael Koch <konqueror@gmx.de>
689
690 * javax/swing/text/JTextComponent.java:
691 New version from classpath.
692
693 2003-06-24 Michael Koch <konqueror@gmx.de>
694
695 * javax/swing/Timer.java,
696 javax/swing/plaf/ActionMapUIResource.java,
697 javax/swing/plaf/ButtonUI.java,
698 javax/swing/plaf/ColorChooserUI.java,
699 javax/swing/plaf/ColorUIResource.java,
700 javax/swing/plaf/ComboBoxUI.java,
701 javax/swing/plaf/ComponentInputMapUIResource.java,
702 javax/swing/plaf/basic/BasicBorders.java:
703 New versions from classpath.
704 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
705 javax/swing/plaf/basic/BasicSplitPaneUI.java:
706 New file from classpath.
707 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
708 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
709 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
710 javax/swing/plaf/doc-files/ComponentUI-1.dia,
711 javax/swing/plaf/doc-files/ComponentUI-1.png:
712 New binary files from classpath.
713
714 2003-06-24 Michael Koch <konqueror@gmx.de>
715
716 * java/io/LineNumberReader.java
717 (skip): Dont do line number accounting here as this is already done in
718 read(), simplified.
719
720 2003-06-21 Michael Koch <konqueror@gmx.de>
721
722 * java/io/File.java
723 (static): Load javaio lib if existing (only in classpath).
724 (File): Revised documentation to show the correct argument name.
725 (createTempFile): Partly merged with classpath.
726 (compareTo): Simplified.
727 (lastModified): Throw exception if time < 0.
728 (deleteOnExit): Revised documentation.
729
730 2003-06-21 Michael Koch <konqueror@gmx.de>
731
732 * java/net/PlainSocketImpl.java:
733 Reformatted.
734 (PlainSocketImpl): Merged class documentaion with classpath.
735 (in): Moved.
736 (out): Moved.
737 (PlainSocketImpl): New empty constructor.
738 (finalize): Moved.
739 (setOption): Merged documentation from classpath.
740 (getOption): Likewise.
741 (create): Likewise.
742 (connect): Likewise.
743 (bind): Likewise.
744 (listen): Likewise.
745 (accept): Likewise.
746 (available): Likewise.
747 (close): Likewise.
748 (read): Likewise.
749 (write): Likewise.
750 (getInputStream): Made synchronozed to get sure that only one stream
751 object can be created for this socket, merged documentation from
752 classpath.
753 (getOutputStream): Likewise.
754
755 2003-06-21 Michael Koch <konqueror@gmx.de>
756
757 * java/net/PlainSocketImpl.java:
758 Reformatting.
759 (static): New implicit method.
760 (read): Made package private.
761 (write): Likewise.
762
763 2003-06-21 Michael Koch <konqueror@gmx.de>
764
765 * java/util/SimpleTimeZone.java:
766 Removed unneeded import, reformatting.
767
768 2003-06-21 Michael Koch <konqueror@gmx.de>
769
770 * java/text/DateFormat.java,
771 java/text/SimpleDateFormat.java,
772 java/util/Locale.java:
773 New versions from classpath.
774
775 2003-06-21 Michael Koch <konqueror@gmx.de>
776
777 * javax/swing/SpinnerModel.java:
778 New file from classpath.
779 * javax/swing/border/LineBorder.java,
780 javax/swing/border/SoftBevelBorder.java,
781 javax/swing/plaf/BorderUIResource.java,
782 javax/swing/plaf/basic/BasicBorders.java:
783 New versions from classpath.
784 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
785 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
786 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
787 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
788 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
789 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
790 New binary files from classpath.
791
792 2003-06-21 Michael Koch <konqueror@gmx.de>
793
794 * java/util/logging/LogRecord.java,
795 java/util/logging/Logger.java,
796 java/util/logging/SocketHandler.java,
797 java/util/logging/SimpleFormatter.java,
798 java/util/logging/Formatter.java,
799 java/util/logging/ErrorManager.java,
800 java/util/logging/Handler.java,
801 java/util/logging/FileHandler.java,
802 java/util/logging/LogManager.java,
803 java/util/logging/Level.java,
804 java/util/logging/ConsoleHandler.java,
805 java/util/logging/StreamHandler.java,
806 java/util/logging/LoggingPermission.java,
807 java/util/logging/Filter.java,
808 java/util/logging/MemoryHandler.java,
809 java/util/logging/XMLFormatter.java:
810 New files from classpath.
811
812 2003-06-20 Michael Koch <konqueror@gmx.de>
813
814 * java/io/ObjectStreamField.java
815 (unshared): new member variable.
816 (ObjectStreamField): New constructor.
817 (isUnshared): New method.
818
819 2003-06-20 Michael Koch <konqueror@gmx.de>
820
821 * java/net/URLStreamHandler.java
822 (hostsEqual): Rewritten.
823
824 2003-06-20 Michael Koch <konqueror@gmx.de>
825
826 * gnu/java/nio/MappedByteFileBuffer.java,
827 gnu/java/nio/natMappedByteFileBuffer.cc:
828 Removed
829 * java/nio/MappedByteBufferImpl.java:
830 New file.
831 * gnu/java/nio/FileChannelImpl.java:
832 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
833 * Makefile.am
834 (ordinary_java_source_files): Removed
835 gnu/java/nio/MappedByteFileBuffer.java and added
836 java/nio/MappedByteBufferImpl.java.
837 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
838 * Makefile.in: Regenerated.
839
840 2003-06-19 Michael Koch <konqueror@gmx.de>
841
842 * gnu/java/nio/DatagramChannelImpl.java
843 (fd): Removed.
844 (blocking): New member variable.
845 (socket): Likewise.
846 (DatagramChannelImpl): Throws IOException, initialize socket.
847 (socket):Implemented.
848 (implCloseSelectableChannel): Throws IOException, implemented.
849 (implConfigureBlocking): Likewise.
850 (connect): Likewise.
851 (disconnect): Likewise.
852 (isConnected): Likewise.
853 (write): Likewise.
854 (read): Likewise.
855 (receive): Throws IOException.
856 (send): Likewise.
857 * gnu/java/nio/SocketChannelImpl.java
858 (read): Implemented.
859 (write): Implemented.
860
861 2003-06-19 Michael Koch <konqueror@gmx.de>
862
863 * javax/swing/JComponent.java,
864 javax/swing/JInternalFrame.java,
865 javax/swing/MenuSelectionManager.java,
866 javax/swing/SwingUtilities.java,
867 javax/swing/ToggleButtonModel.java:
868 New versions from classpath.
869
870 2003-06-19 Michael Koch <konqueror@gmx.de>
871
872 * java/text/CollationElementIterator.java
873 (NULLORDER): Initialize with -1 as JDK documentation says.
874
875 2003-06-19 Michael Koch <konqueror@gmx.de>
876
877 * java/net/HttpURLConnection.java,
878 java/net/Inet4Address.java,
879 java/net/Inet6Address.java,
880 java/net/SocketImpl.java,
881 java/net/URLClassLoader.java:
882 Reworked import statements.
883 * java/net/InetAddress.java
884 (getByAddress): Simplified.
885 * java/net/ServerSocket.java
886 (ServerSocket): Moved special handling during bind operation to
887 bind().
888 (bind): Handle different cases when trying to bind a socket.
889 * java/net/URLConnection.java
890 (getHeaderFieldDate): Merged with classpath.
891 (getHeaderFieldInt): Likewise.
892
893 2003-06-19 Michael Koch <konqueror@gmx.de>
894
895 * java/util/zip/InflaterInputStream.java
896 (InflaterInputStream): Throw NullPointerException if in is null (as
897 JDK does).
898
899 2003-06-19 Michael Koch <konqueror@gmx.de>
900
901 * java/awt/Font.java
902 javax/swing/UIManager.java
903 javax/swing/border/AbstractBorder.java
904 javax/swing/border/BevelBorder.java
905 javax/swing/border/Border.java
906 javax/swing/border/CompoundBorder.java
907 javax/swing/border/EmptyBorder.java
908 javax/swing/border/EtchedBorder.java
909 javax/swing/border/LineBorder.java
910 javax/swing/border/MatteBorder.java
911 javax/swing/border/TitledBorder.java
912 javax/swing/plaf/BorderUIResource.java
913 javax/swing/plaf/basic/BasicBorders.java
914 javax/swing/plaf/basic/BasicButtonUI.java
915 javax/swing/plaf/basic/BasicCheckBoxUI.java
916 javax/swing/plaf/basic/BasicGraphicsUtils.java
917 javax/swing/plaf/basic/BasicLabelUI.java
918 javax/swing/plaf/basic/BasicRadioButtonUI.java
919 javax/swing/plaf/basic/BasicToggleButtonUI.java:
920 New versions from classpath.
921 * javax/swing/border/SoftBevelBorder.java:
922 New file from classpath.
923 * javax/swing/border/doc-files/LineBorder-1.png,
924 javax/swing/border/doc-files/BevelBorder-1.png,
925 javax/swing/border/doc-files/BevelBorder-2.png,
926 javax/swing/border/doc-files/BevelBorder-3.png,
927 javax/swing/border/doc-files/EmptyBorder-1.png,
928 javax/swing/border/doc-files/EtchedBorder-1.png,
929 javax/swing/border/doc-files/EtchedBorder-2.png,
930 javax/swing/border/doc-files/MatteBorder-1.png,
931 javax/swing/border/doc-files/MatteBorder-2.png,
932 javax/swing/border/doc-files/MatteBorder-3.png,
933 javax/swing/border/doc-files/MatteBorder-4.png,
934 javax/swing/border/doc-files/MatteBorder-5.png,
935 javax/swing/border/doc-files/MatteBorder-6.png,
936 javax/swing/border/doc-files/SoftBevelBorder-1.png,
937 javax/swing/border/doc-files/SoftBevelBorder-2.png,
938 javax/swing/border/doc-files/SoftBevelBorder-3.png,
939 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
940 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
941 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
942 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
943 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
944 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
945 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
946 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
947 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
948 New binary files from classpath.
949 * Makefile.am
950 (awt_java_source_files): Added
951 javax/swing/border/SoftBevelBorder.java.
952 * Makefile.in: Regenerated.
953
954 2003-06-19 Michael Koch <konqueror@gmx.de>
955
956 * gnu/java/security/x509/X509Certificate.java
957 (writeReplace): Merged from classpath.
958
959 2003-06-19 Michael Koch <konqueror@gmx.de>
960
961 * gnu/java/nio/FileChannelImpl.java
962 (map_address): Made public.
963 (FileChannelImpl): Merged with classpath.
964 * gnu/java/nio/natFileChannelImpl.cc
965 (nio_mmap_file): Commented out unused arguments.
966 (nio_unmmap_file): Likewise.
967 (niu_msync): Likewise.
968
969 2003-06-19 Michael Koch <konqueror@gmx.de>
970
971 * java/awt/image/IndexColorModel.java:
972 New version from classpath.
973
974 2003-06-18 Tom Tromey <tromey@redhat.com>
975
976 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
977 on arrays.
978 (isLoopbackAddress): Likewise.
979 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
980 on arrays.
981
982 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
983
984 * java/lang/natVMSecurityManager.cc (getClassContext):
985 Use maxlen instead of len for loop bound.
986
987 2003-06-18 Michael Koch <konqueror@gmx.de>
988
989 * gnu/java/nio/SelectorImpl.java
990 (register): Use fd with value 0 for now, will be fixed later.
991 * gnu/java/nio/ServerSocketChannelImpl.java
992 (fd): Removed.
993 (local_port): Removed.
994 (InetSocketAddress): Removed.
995 (ServerSocketChannelImpl): Just initialize internal socket object.
996 (implCloseSelectableChannel): Close internal socket object.
997 (implConfigureBlocking): Added comment.
998 (accept): Use jaba.net stuff to accept socket.
999 * gnu/java/nio/SocketChannelImpl.java
1000 (fd): Removed.
1001 (local_port): Removed.
1002 (InetSocketAddress): Removed.
1003 (SocketCreate): Removed.
1004 (SocketConnect): Removed.
1005 (SocketBind): Removed.
1006 (SocketListen): Removed.
1007 (SocketAvailable): Removed.
1008 (SocketClose): Removed.
1009 (SocketRead): Removed.
1010 (SocketWrite): Removed.
1011 (SocketChannelImpl): Just initialize internal socket object.
1012 (implCloseSelectableChannel): Close internal socket object.
1013 (implConfigureBlocking): Fixed implementation, added comment.
1014 (connect): Use internal socket object to connect.
1015 (socket): No need for sanity checks.
1016 (read): Comment out some stuff, this will be reimplemented in the next
1017 commit.
1018 (write): Likewise.
1019 * gnu/java/nio/natFileChannelImpl.cc
1020 (nio_mmap_file): Line wrapped.
1021 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1022 * Makefile.am
1023 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1024 * Makefile.in: Regenerated.
1025
1026 2003-06-18 Michael Koch <konqueror@gmx.de>
1027
1028 * java/util/Locale.java
1029 (equals): Merged from classpath.
1030
1031 2003-06-18 Michael Koch <konqueror@gmx.de>
1032
1033 * java/net/InetAddress.java:
1034 Reformatted to better match classpath's version.
1035 * java/net/URL.java
1036 (equals): Simplified.
1037 * java/net/URLConnection.java
1038 (setDoInput): Revised documentation.
1039 (getDefaultUseCaches): Likewise.
1040 (setRequestProperty): Added @since tag.
1041
1042 2003-06-17 Michael Koch <konqueror@gmx.de>
1043
1044 * java/net/InetSocketAddress.java
1045 (InetSocketAddress): Use wildcard address if addr is null.
1046 (InetSocketAddress): Dont duplicate implementation.
1047 (InetSocketAddress): Throw exception when hostname is null.
1048 * java/net/Socket.java:
1049 Reworked imports.
1050 (Socket): Throw exception when raddr is null, handle case when laddr
1051 is null.
1052
1053 2003-06-17 Michael Koch <konqueror@gmx.de>
1054
1055 * java/nio/DirectByteBufferImpl.java
1056 (address): Made package private.
1057 (DirectByteBufferImpl): New constructor.
1058 * java/nio/natDirectByteBufferImpl.cc
1059 (allocateImpl): Moved to java.nio namespace, implemented.
1060 (freeImpl): Likewise.
1061 (getImpl): Likewise.
1062 (putImpl): Likewise.
1063 * jni.cc
1064 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1065 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1066 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1067
1068 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1069
1070 * include/powerpc-signal.h: New File.
1071 * configure.in: Use it.
1072 * configure: Regenerated.
1073
1074 2003-06-17 Michael Koch <konqueror@gmx.de>
1075
1076 * java/util/Locale.java
1077 (getDisplayLanguage): Made it final.
1078 (getDisplayCountry): Likewise.
1079 (getDisplayVariant): Likewise.
1080 (getDisplayName): Likewise.
1081
1082 2003-06-17 Michael Koch <konqueror@gmx.de>
1083
1084 * java/util/PropertyResourceBundle.java:
1085 Removed unneeded import.
1086
1087 2003-06-17 Michael Koch <konqueror@gmx.de>
1088
1089 * java/util/prefs/AbstractPreferences.java,
1090 java/util/prefs/PreferencesFactory.java:
1091 Reworked imports, removed unused imports.
1092 * java/util/prefs/Preferences.java
1093 (systemNodeForPackage): Method takes a Class not an Object.
1094 (userNodeForPackage): Likewise.
1095 (nodeForPackage): Likewise.
1096
1097 2003-06-17 Michael Koch <konqueror@gmx.de>
1098
1099 * gnu/java/security/x509/X509Certificate.java:
1100 Explicitely import used classes.
1101
1102 2003-06-17 Michael Koch <konqueror@gmx.de>
1103
1104 * java/util/zip/ZipEntry.java,
1105 java/util/zip/ZipFile.java,
1106 java/util/zip/ZipInputStream.java,
1107 java/util/zip/ZipOutputStream.java:
1108 Reworked imports, only import used classes.
1109
1110 2003-06-17 Michael Koch <konqueror@gmx.de>
1111
1112 * gnu/java/lang/ArrayHelper.java,
1113 gnu/java/lang/ClassHelper.java:
1114 Reformatted to match classpath's versions.
1115
1116 2003-06-14 Michael Koch <konqueror@gmx.de>
1117
1118 * gnu/java/nio/FileChannelImpl.java
1119 (map_address): Removed incorrect comment.
1120 * gnu/java/nio/SelectorImpl.java
1121 (register): Remove code duplication and code for file channel handling.
1122 * gnu/java/nio/ServerSocketChannelImpl.java
1123 (serverSocket): Renamed from sock_object.
1124 (ServerSocketChannel): Initialize serverSocket.
1125 (socket): Return serverSocket.
1126 * gnu/java/nio/SocketChannelImpl.java
1127 (socket): Renamed from sock_object.
1128 (isConnectionPenging): Simplified.
1129 (socket): Return socket.
1130 2003-06-14 Michael Koch <konqueror@gmx.de>
1131
1132 * java/security/BasicPermission.java:
1133 New version from classpath.
1134
1135 2003-06-14 Michael Koch <konqueror@gmx.de>
1136
1137 * javax/naming/directory/Attribute.java:
1138 New version from classpath.
1139
1140 2003-06-14 Michael Koch <konqueror@gmx.de>
1141
1142 * java/io/BufferedReader.java,
1143 java/io/FileOutputStream.java:
1144 New versions from classpath.
1145
1146 2003-06-12 Andrew Haley <aph@redhat.com>
1147
1148 * prims.cc (catch_segv): Create exception in handler.
1149 (catch_fpe): Likewise.
1150 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1151 (_Jv_ThrowSignal): Remove.
1152
1153 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1154 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1155 to nullp and arithexception.
1156 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1157 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1158 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1159 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1160 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1161
1162 2003-06-11 Andrew Haley <aph@redhat.com>
1163
1164 * jni.cc (_Jv_JNI_check_types): New.
1165 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1166 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1167 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1168 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1169
1170 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1171 infinite loop.
1172
1173 2003-06-11 Tom Tromey <tromey@redhat.com>
1174
1175 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1176 * java/io/PrintStream.java: Not deprecated.
1177
1178 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1179
1180 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1181 (fillOval): implemented
1182 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1183 (fillArc): implemented.
1184 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1185 (fillArc): added native method.
1186 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1187 (fillArc): added native method.
1188
1189 2003-06-11 Michael Koch <konqueror@gmx.de>
1190
1191 * java/awt/im/InputSubset.java:
1192 New version from classpath.
1193
1194 2003-06-11 Michael Koch <konqueror@gmx.de>
1195
1196 * javax/swing/AbstractAction.java,
1197 javax/swing/AbstractButton.java,
1198 javax/swing/AbstractCellEditor.java,
1199 javax/swing/AbstractListModel.java,
1200 javax/swing/BorderFactory.java,
1201 javax/swing/Box.java,
1202 javax/swing/BoxLayout.java,
1203 javax/swing/ButtonGroup.java,
1204 javax/swing/DefaultButtonModel.java,
1205 javax/swing/DefaultListModel.java,
1206 javax/swing/DefaultListSelectionModel.java,
1207 javax/swing/FocusManager.java,
1208 javax/swing/ImageIcon.java,
1209 javax/swing/InputMap.java,
1210 javax/swing/JApplet.java,
1211 javax/swing/JButton.java,
1212 javax/swing/JCheckBox.java,
1213 javax/swing/JCheckBoxMenuItem.java,
1214 javax/swing/JColorChooser.java,
1215 javax/swing/JComboBox.java,
1216 javax/swing/JComponent.java,
1217 javax/swing/JDesktopPane.java,
1218 javax/swing/JDialog.java,
1219 javax/swing/JEditorPane.java,
1220 javax/swing/JFileChooser.java,
1221 javax/swing/JFormattedTextField.java,
1222 javax/swing/JFrame.java,
1223 javax/swing/JLabel.java,
1224 javax/swing/JLayeredPane.java,
1225 javax/swing/JList.java,
1226 javax/swing/JMenuBar.java,
1227 javax/swing/JMenuItem.java,
1228 javax/swing/JOptionPane.java,
1229 javax/swing/JPanel.java,
1230 javax/swing/JPasswordField.java,
1231 javax/swing/JPopupMenu.java,
1232 javax/swing/JProgressBar.java,
1233 javax/swing/JRadioButton.java,
1234 javax/swing/JRadioButtonMenuItem.java,
1235 javax/swing/JRootPane.java,
1236 javax/swing/JScrollBar.java,
1237 javax/swing/JScrollPane.java,
1238 javax/swing/JSeparator.java,
1239 javax/swing/JSlider.java,
1240 javax/swing/JTabbedPane.java,
1241 javax/swing/JTable.java,
1242 javax/swing/JTextField.java,
1243 javax/swing/JToggleButton.java,
1244 javax/swing/JToolBar.java,
1245 javax/swing/JToolTip.java,
1246 javax/swing/JTree.java,
1247 javax/swing/JViewport.java,
1248 javax/swing/JWindow.java,
1249 javax/swing/KeyStroke.java,
1250 javax/swing/ListSelectionModel.java,
1251 javax/swing/LookAndFeel.java,
1252 javax/swing/RepaintManager.java,
1253 javax/swing/ScrollPaneLayout.java,
1254 javax/swing/SizeRequirements.java,
1255 javax/swing/SwingConstants.java,
1256 javax/swing/Timer.java,
1257 javax/swing/UIDefaults.java,
1258 javax/swing/UIManager.java,
1259 javax/swing/border/AbstractBorder.java,
1260 javax/swing/border/CompoundBorder.java,
1261 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1262 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1263 javax/swing/colorchooser/ColorSelectionModel.java,
1264 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1265 javax/swing/event/AncestorEvent.java,
1266 javax/swing/event/HyperlinkEvent.java,
1267 javax/swing/event/InternalFrameAdapter.java,
1268 javax/swing/event/InternalFrameEvent.java,
1269 javax/swing/event/ListDataEvent.java,
1270 javax/swing/event/MouseInputAdapter.java,
1271 javax/swing/event/SwingPropertyChangeSupport.java,
1272 javax/swing/event/TableModelEvent.java,
1273 javax/swing/event/TreeWillExpandListener.java,
1274 javax/swing/event/UndoableEditEvent.java,
1275 javax/swing/filechooser/FileFilter.java,
1276 javax/swing/filechooser/FileSystemView.java,
1277 javax/swing/filechooser/FileView.java,
1278 javax/swing/plaf/BorderUIResource.java,
1279 javax/swing/plaf/basic/BasicDefaults.java,
1280 javax/swing/table/AbstractTableModel.java,
1281 javax/swing/table/DefaultTableCellRenderer.java,
1282 javax/swing/table/DefaultTableColumnModel.java,
1283 javax/swing/table/DefaultTableModel.java,
1284 javax/swing/table/TableColumn.java,
1285 javax/swing/text/JTextComponent.java,
1286 javax/swing/tree/AbstractLayoutCache.java,
1287 javax/swing/tree/DefaultMutableTreeNode.java,
1288 javax/swing/tree/DefaultTreeCellEditor.java,
1289 javax/swing/tree/DefaultTreeCellRenderer.java,
1290 javax/swing/tree/DefaultTreeModel.java,
1291 javax/swing/tree/DefaultTreeSelectionModel.java,
1292 javax/swing/tree/FixedHeightLayoutCache.java,
1293 javax/swing/tree/TreeCellEditor.java,
1294 javax/swing/tree/TreeModel.java,
1295 javax/swing/tree/TreeNode.java,
1296 javax/swing/tree/TreePath.java,
1297 javax/swing/tree/TreeSelectionModel.java,
1298 javax/swing/tree/VariableHeightLayoutCache.java,
1299 javax/swing/undo/AbstractUndoableEdit.java,
1300 javax/swing/undo/CompoundEdit.java,
1301 javax/swing/undo/StateEdit.java,
1302 javax/swing/undo/UndoManager.java,
1303 javax/swing/undo/UndoableEditSupport.java:
1304 New versions from classpath.
1305 * javax/swing/table/JTableHeader.java:
1306 New file from classpath.
1307 * Makefile.am
1308 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1309 * Makefile.in: Regenerated.
1310
1311 2003-06-11 Michael Koch <konqueror@gmx.de>
1312
1313 * java/nio/MappedByteBuffer.java,
1314 java/nio/channels/Channels.java,
1315 java/nio/channels/ServerSocketChannel.java,
1316 java/nio/channels/spi/AbstractSelector.java:
1317 Removed unneeded imports.
1318
1319 2003-06-11 Michael Koch <konqueror@gmx.de>
1320
1321 * java/net/DatagramSocket.java:
1322 Partly merged with classpath.
1323
1324 2003-06-11 Michael Koch <konqueror@gmx.de>
1325
1326 * java/awt/Frame.java,
1327 java/awt/Graphics.java,
1328 java/awt/Menu.java,
1329 java/awt/Robot.java,
1330 java/awt/image/ColorModel.java:
1331 New versions from classpath.
1332
1333 2003-06-10 Michael Koch <konqueror@gmx.de>
1334
1335 * java/io/PrintStream.java:
1336 Merged version from classpath.
1337 (close): Removed sychronized keyword. This class is not garantied to
1338 be thread-safe.
1339 (write): Likewise.
1340
1341 2003-06-09 Tom Tromey <tromey@redhat.com>
1342
1343 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1344 field.
1345 (getDescent): Likewise, for "descent".
1346
1347 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1348
1349 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1350 (getMaxDescent): adjusted return value.
1351 (getAscent): modified to use metrics for 'O'.
1352 (getDescent): modified to use metrics for 'y'.
1353
1354 2003-06-08 Anthony Green <green@redhat.com>
1355
1356 * java/net/URLStreamHandler.java (sameFile): Fix port value
1357 comparison.
1358 * java/net/URL.java (handler): Make package private.
1359 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1360
1361 2003-06-07 Tom Tromey <tromey@redhat.com>
1362
1363 For PR libgcj/11085:
1364 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1365 Limit number of characters in numeric field when required.
1366 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1367 Respect maximumIntegerDigits.
1368
1369 2003-06-08 Michael Koch <konqueror@gmx.de>
1370
1371 * java/net/Socket.java
1372 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1373 call bind() and connect() to actually do the bind and connect tasks.
1374 (bind): Connect to canonical address if bindpoint is null, create
1375 socket and bind it to bindpoint.
1376 (connect): Check for exceptions.
1377
1378 2003-06-08 Michael Koch <konqueror@gmx.de>
1379
1380 * java/net/DatagramSocket.java
1381 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1382 into the Multicast constructors.
1383 * java/net/DatagramSocketImpl.java
1384 (getOption): Removed.
1385 (setOption): Removed.
1386 * java/net/MulticastSocket.java
1387 (MulticastSocket): Call setReuseAddress (true).
1388 * java/net/SocketImpl.java
1389 (getOption): Removed.
1390 (setOption): Removed.
1391
1392 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1393
1394 PR libgcj/10886:
1395 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1396 Test for empty vector.
1397
1398 2003-06-06 Mark Wielaard <mark@klomp.org>
1399
1400 * java/security/Security.java (secprops): Initialize.
1401 (loadProviders): Return boolean.
1402 (static): Check result of loadProvider calls. If necessary
1403 display WARNING and fallback to Gnu provider.
1404
1405 2002-06-06 James Clark <jjc@jclark.com>
1406
1407 Fix for PR libgcj/8738:
1408 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1409 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1410 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1411 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1412 (write): Always decrease avail when count is increased.
1413 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1414 and whether output buffer is full before increasing size.
1415
1416 2002-06-06 Mark Wielaard <mark@klomp dot org>
1417
1418 * java/io/PrintStream.java (writeChars(char[],int, int)):
1419 Check converter.havePendingBytes().
1420 (writeChars(String,int,int)): Likewise.
1421 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1422 Check converter.havePendingBytes() and flush buffer when stalled.
1423
1424 2003-06-07 Michael Koch <konqueror@gmx.de>
1425
1426 * include/posix.h
1427 (O_DSYNC): Define O_DSYNC on platforms not
1428 supporting O_FSYNC (newlib).
1429
1430 2003-06-06 Mark Wielaard <mark@klomp.org>
1431
1432 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1433 AWTError.
1434
1435 2003-06-06 Michael Koch <konqueror@gmx.de>
1436
1437 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1438 More compile fixes from my stupid work yesterday.
1439
1440 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1441
1442 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1443 if _IEEE_LIBM is undefined.
1444
1445 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1446
1447 * libjava/include/posix.h (O_SYNC): Define if not available
1448 and a reasonable, perhaps more conservative, replacement exists.
1449 (O_DSYNC): Likewise.
1450 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1451
1452 2003-06-05 Michael Koch <konqueror@gmx.de>
1453
1454 * javax/swing/plaf/BorderUIResource.java,
1455 javax/swing/plaf/basic/BasicDefaults.java,
1456 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1457 More compile fixes for latest Border commit. I should not commit
1458 something in this heat here ...
1459
1460 2003-06-05 Michael Koch <konqueror@gmx.de>
1461
1462 * javax/swing/border/BevelBorder.java
1463 (BevelBorder): Removed.
1464 * javax/swing/border/EmptyBorder.java:
1465 Reformatted.
1466 (EmptyBorder): Removed.
1467 (getBorderInsets): Dont use l, r, t and b.
1468 * javax/swing/border/EtchedBorder.java
1469 (EtchedBorder): Removed.
1470 * javax/swing/border/LineBorder.java
1471 (LineBorder): Removed.
1472 * javax/swing/border/MatteBorder.java
1473 (MatteBorder): Removed.
1474 * javax/swing/border/TitledBorder.java
1475 (defaultBorder): Use other default for now.
1476 (defaultFont): Likewise.
1477 (defaultColor): Likewise.
1478
1479 2003-06-05 Michael Koch <konqueror@gmx.de>
1480
1481 * javax/swing/border/Border.java:
1482 New version from classpath.
1483
1484 2003-06-05 Michael Koch <konqueror@gmx.de>
1485
1486 * javax/swing/border/AbstractBorder.java,
1487 javax/swing/border/BevelBorder.java,
1488 javax/swing/border/CompoundBorder.java,
1489 javax/swing/border/EmptyBorder.java,
1490 javax/swing/border/EtchedBorder.java,
1491 javax/swing/border/LineBorder.java,
1492 javax/swing/border/MatteBorder.java,
1493 javax/swing/border/TitledBorder.java:
1494 New versions from Classpath.
1495
1496 2003-06-05 Michael Koch <konqueror@gmx.de>
1497
1498 * java/awt/Button.java,
1499 java/awt/Checkbox.java,
1500 java/awt/CheckboxMenuItem.java,
1501 java/awt/Choice.java,
1502 java/awt/Container.java,
1503 java/awt/Dialog.java,
1504 java/awt/EventQueue.java,
1505 java/awt/FileDialog.java,
1506 java/awt/Frame.java,
1507 java/awt/Label.java,
1508 java/awt/List.java,
1509 java/awt/Menu.java,
1510 java/awt/MenuItem.java,
1511 java/awt/Panel.java,
1512 java/awt/PopupMenu.java,
1513 java/awt/Rectangle.java,
1514 java/awt/ScrollPane.java,
1515 java/awt/Scrollbar.java,
1516 java/awt/TextArea.java,
1517 java/awt/TextField.java,
1518 java/awt/Window.java,
1519 java/awt/datatransfer/DataFlavor.java,
1520 java/awt/dnd/DragSource.java,
1521 java/awt/dnd/DragSourceContext.java,
1522 java/awt/event/HierarchyEvent.java,
1523 java/awt/event/MouseWheelEvent.java,
1524 java/awt/im/InputContext.java,
1525 java/awt/image/BufferedImage.java,
1526 java/awt/image/ComponentColorModel.java,
1527 java/awt/image/Raster.java,
1528 java/awt/image/WritableRaster.java,
1529 java/awt/peer/ComponentPeer.java,
1530 java/awt/print/PageFormat.java,
1531 java/awt/print/PrinterJob.java:
1532 New versions from Classpath.
1533
1534 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1535
1536 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1537 numberFormat.setParseIntegerOnly(true).
1538
1539 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1540
1541 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1542
1543 2003-06-03 Andrew Haley <aph@redhat.com>
1544
1545 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1546 stack volatile to prevent optimization from removing it.
1547
1548 2003-05-27 Michael Koch <konqueror@gmx.de>
1549
1550 * java/util/zip/Deflater.java
1551 (FILTERED): Merged documentation from classpath.
1552 * java/util/zip/DeflaterOutputStream.java
1553 (DeflaterOutputStream): Merged documentation and argument validity
1554 check from classpath.
1555 (deflate): Merged documentation from classpath.
1556 (finish): Likewise.
1557 * java/util/zip/Inflater.java
1558 (Inflater): Merged class documentation from classpath.
1559 (zstream): Reordered.
1560 (is_finished): Reordered.
1561 (dict_needed): Reordered.
1562 (Inflater): Reordered, merged documentation from classpath.
1563 (end): Likewise.
1564 (finalize): Merged documentation from classpath.
1565 (finished): Likewise.
1566 (getAdler): Likewise.
1567 (getRemaining): Likewise.
1568 (getTotalIn): Likewise.
1569 (getTotalOut): Likewise.
1570 (inflate): Likewise.
1571 (needsDictionary): Likewise.
1572 (needsInput): Likewise.
1573 (reset): Likewise.
1574 (setDictionary): Likewise.
1575 (setInput): Likewise.
1576
1577 2003-05-27 Michael Koch <konqueror@gmx.de>
1578
1579 * java/net/URLConnection.java
1580 (getHeaderFieldInt): Merged with classpath.
1581
1582 2003-05-27 Michael Koch <konqueror@gmx.de>
1583
1584 * java/io/PrintStream.java
1585 (PrintStream): Reformatted.
1586 (PrintStream): New method, merged from classpath.
1587 (write): Reformatted.
1588
1589 2003-05-27 Michael Koch <konqueror@gmx.de>
1590
1591 * java/lang/System.java:
1592 Explicitely import needed classes.
1593
1594 2003-05-26 Michael Koch <konqueror@gmx.de>
1595
1596 * java/net/NetPermission.java,
1597 java/net/NetworkInterface.java,
1598 java/net/PasswordAuthentication.java,
1599 java/net/SocketPermission.java:
1600 New versions from classpath.
1601
1602 2003-05-25 Michael Koch <konqueror@gmx.de>
1603
1604 * java/io/PushbackInputStream.java,
1605 java/net/Authenticator.java,
1606 java/net/ContentHandler.java,
1607 java/net/ContentHandlerFactory.java,
1608 java/net/DatagramSocket.java,
1609 java/net/DatagramSocketImpl.java,
1610 java/net/DatagramSocketImplFactory.java,
1611 java/net/FileNameMap.java,
1612 java/net/SocketImplFactory.java,
1613 java/net/SocketOptions.java,
1614 java/net/URLStreamHandlerFactory.java:
1615 Merged new versions from classpath.
1616
1617 2003-05-25 Michael Koch <konqueror@gmx.de>
1618
1619 * java/awt/Checkbox.java,
1620 java/awt/Dialog.java,
1621 java/awt/Font.java,
1622 java/awt/Frame.java,
1623 java/awt/ScrollPaneAdjustable.java,
1624 java/awt/Scrollbar.java,
1625 java/awt/Window.java:
1626 New versions from classpath.
1627
1628 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1629
1630 PR libgcj/10838:
1631 * java/io/ObjectInputStream (enableResolveObject):
1632 Fixed spelling of permission name.
1633
1634 2003-05-20 Michael Koch <konqueror@gmx.de>
1635
1636 * java/io/DataInputStream.java
1637 (convertFromUTF): Merged comment from classpath.
1638 * java/io/PrintStream.java
1639 (error_occured): Renamed from error, merged comment from classpath.
1640 (PrintStream): No need to initialized error.
1641 (checkError): Replace error with error_occurred.
1642 (setError): Likewise.
1643
1644 2003-05-20 Michael Koch <konqueror@gmx.de>
1645
1646 * java/io/DataInputStream.java:
1647 Reformatted, Replaced < and & with html entitites in documentation.
1648 * java/io/File.java:
1649 Reformatted.
1650 * java/io/PrintWriter.java:
1651 Moved class documentation.
1652
1653 2003-05-20 Michael Koch <konqueror@gmx.de>
1654
1655 * gnu/java/nio/ByteBufferImpl.java,
1656 gnu/java/nio/CharBufferImpl.java,
1657 gnu/java/nio/CharViewBufferImpl.java,
1658 gnu/java/nio/DirectByteBufferImpl.java,
1659 gnu/java/nio/DoubleBufferImpl.java,
1660 gnu/java/nio/DoubleViewBufferImpl.java,
1661 gnu/java/nio/FloatBufferImpl.java,
1662 gnu/java/nio/FloatViewBufferImpl.java,
1663 gnu/java/nio/IntBufferImpl.java,
1664 gnu/java/nio/IntViewBufferImpl.java,
1665 gnu/java/nio/LongBufferImpl.java,
1666 gnu/java/nio/LongViewBufferImpl.java,
1667 gnu/java/nio/natDirectByteBufferImpl.cc,
1668 gnu/java/nio/ShortBufferImpl.java,
1669 gnu/java/nio/ShortViewBufferImpl.java:
1670 Moved files to java/nio.
1671 * gnu/java/nio/SocketChannelImpl.java
1672
1673 * java/nio/ByteBuffer.java,
1674 java/nio/CharBuffer.java,
1675 java/nio/DoubleBuffer.java,
1676 java/nio/FloatBuffer.java,
1677 java/nio/IntBuffer.java,
1678 java/nio/LongBuffer.java,
1679 java/nio/ShortBuffer.java:
1680 Dont import anything.
1681 * java/nio/ByteBufferImpl.java,
1682 java/nio/CharBufferImpl.java,
1683 java/nio/CharViewBufferImpl.java,
1684 java/nio/DirectByteBufferImpl.java,
1685 java/nio/DoubleBufferImpl.java,
1686 java/nio/DoubleViewBufferImpl.java,
1687 java/nio/FloatBufferImpl.java,
1688 java/nio/FloatViewBufferImpl.java,
1689 java/nio/IntBufferImpl.java,
1690 java/nio/IntViewBufferImpl.java,
1691 java/nio/LongBufferImpl.java,
1692 java/nio/LongViewBufferImpl.java,
1693 java/nio/natDirectByteBufferImpl.cc,
1694 java/nio/ShortBufferImpl.java,
1695 java/nio/ShortViewBufferImpl.java:
1696 Moved from gnu/java/nio.
1697 * Makefile.am
1698 (ordinary_java_source_files): Moved files from gnu/java/nio to
1699 java/nio.
1700 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1701 to java/nio.
1702 * Makefile.in: Regenerated.
1703
1704 2003-05-19 Michael Koch <konqueror@gmx.de>
1705
1706 * java/util/Calendar.java
1707 (get): Not final anymore since JDK 1.4
1708 (set): Likewise.
1709
1710 2003-05-19 Michael Koch <konqueror@gmx.de>
1711
1712 * java/text/CollationKey.java:
1713 Merged copyright and dat from classpath.
1714 * java/text/RuleBasedCollator.java:
1715 Merged class documentation from classpath.
1716
1717 2003-05-19 Michael Koch <konqueror@gmx.de>
1718
1719 * java/nio/CharBuffer.java
1720 (toString): Compile fix.
1721
1722 2003-05-19 Michael Koch <konqueror@gmx.de>
1723
1724 * gnu/java/nio/ByteBufferImpl.java
1725 (putLong): Fixed conversion to bytes.
1726 (putDouble): Fixed conversion to bytes.
1727 * gnu/java/nio/DirectByteBufferImpl.java
1728 (putLong): Fixed conversion to bytes.
1729 (putDouble): Fixed conversion to bytes.
1730 * gnu/java/nio/FileLockImpl.java
1731 (isValid): Reformatted.
1732 * java/nio/Buffer.java
1733 (Buffer): Fixed off-by-one bug in handling mark.
1734 * java/nio/ByteBuffer.java:
1735 Added newline.
1736 * java/nio/CharBuffer.java
1737 (toString): Don't use relative get to get string data.
1738
1739 2003-05-16 Michael Koch <konqueror@gmx.de>
1740
1741 * java/io/natFileDescriptorPosix.cc
1742 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1743 tested.
1744
1745 2003-05-14 Michael Koch <konqueror@gmx.de>
1746
1747 * gnu/java/nio/FileLockImpl.java
1748 (released): New member variable.
1749 (FileLockImpl): Initialize released.
1750 (releaseImpl): New native method.
1751 (release): Implemented.
1752 * gnu/java/nio/SelectorImpl.java: Reformatted.
1753 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1754 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1755 (accept): Throws IOException.
1756 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1757 (implConfigureBlocking): Throws IOException.
1758 (connect): Likewise.
1759 (read): Likewise.
1760 (write): Likewise.
1761 * gnu/java/nio/natFileLockImpl.cc: New file.
1762 * java/nio/channels/FileLock.java: Reformatted.
1763 * Makefile.am:
1764 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1765 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1766 * Makefile.in: Regenerated.
1767
1768 2003-05-13 Michael Koch <konqueror@gmx.de>
1769
1770 * gnu/java/nio/CharViewBufferImpl.java
1771 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1772 (get): Shift bits to the right direction.
1773 (put): Likewise.
1774 * gnu/java/nio/DoubleViewBufferImpl.java
1775 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1776 (get): Shift bits to the right direction.
1777 (put): Likewise.
1778 * gnu/java/nio/FloatViewBufferImpl.java
1779 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1780 (get): Shift bits to the right direction.
1781 (put): Likewise.
1782 * gnu/java/nio/IntViewBufferImpl.java
1783 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1784 (get): Shift bits to the right direction.
1785 (put): Likewise.
1786 * gnu/java/nio/LongViewBufferImpl.java
1787 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1788 (get): Shift bits to the right direction.
1789 (put): Likewise.
1790 * gnu/java/nio/ShortViewBufferImpl.java
1791 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1792 (get): Shift bits to the right direction.
1793 (put): Likewise.
1794
1795 2003-05-13 Michael Koch <konqueror@gmx.de>
1796
1797 * gnu/java/nio/natDirectByteBufferImpl.cc
1798 (allocateImpl): jlong -> RawData*.
1799 (freeImpl): Likewise.
1800
1801 2003-05-13 Michael Koch <konqueror@gmx.de>
1802
1803 * java/nio/channels/FileChannel.java
1804 (MapMode.m): Made it package-private to match JDK 1.4.
1805 * java/nio/charset/Charset.java
1806 (decode): Made it final to match JDK 1.4.
1807
1808 2003-05-13 Michael Koch <konqueror@gmx.de>
1809
1810 * java/io/FileDescriptor.java
1811 (SYNC): New constant.
1812 (DSYNC): Likewise.
1813 (getLength): Renamed from lenght() to match classpath's
1814 FileDescriptor.java.
1815 * java/io/RandomAccessFile.java
1816 (RandomAccessFile): Removed unneeded mode check, implemented mode
1817 "rws" and "rwd", merged documentation from classpath.
1818 (setLength): Reformatted.
1819 (length): Use new getLength() of FileDescriptor.
1820 * java/io/natFileDescriptorEcos.cc
1821 (getLength): Renamed from length().
1822 * java/io/natFileDescriptorPosix.cc
1823 (open): Implemented support for SYNC and DSYNC.
1824 (seek): Use getLength() instead of length().
1825 (getLength): Renamed from length().
1826 * java/io/natFileDescriptorWin32.cc
1827 (getLength): Renamed from length().
1828 (seek): Use getLength() instead of length().
1829 (available): Likewise.
1830 * gnu/java/nio/natFileChannelImpl.cc
1831 (size): Use getLength() instead of length().
1832
1833 2003-05-13 Michael Koch <konqueror@gmx.de>
1834
1835 * gnu/java/nio/ByteBufferImpl.java
1836 (ByteBufferImpl): All constructors revised.
1837 (slice): Reimplemented.
1838 (duplicate): Reimplemented.
1839 (asReadOnlyBuffer): Reimplemented.
1840 * java/nio/ByteBuffer.java:
1841 Reformatted.
1842 (array_offset): Renamed from "offset" to match all other buffer
1843 classes.
1844 (ByteBuffer): All constructors revised.
1845 (allocateDirect): Implemented.
1846 (allocate): New implementation, documentation reworked.
1847 (wrap): Likewise.
1848 (get): Documentation reworked.
1849 (put): New implementation, documentation reworked.
1850 (hasArray): Documentation reworked.
1851 (arrayOffset): Likewise.
1852 (hashCode): Likewise.
1853 (equals): Likewise.
1854 (compareTo): Likewise.
1855 (order): Likewise.
1856 (compact): Likewise.
1857 (isDirect): Likewise.
1858 (slice): Likewise.
1859 (duplicate): Likewise.
1860 (asReadOnlyBuffer): Likewise.
1861 * Makefile.am
1862 (ordinary_java_source_files):
1863 Added gnu/java/nio/DirectByteBufferImpl.java.
1864 (nat_source_files):
1865 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1866 * Makefile.in: Regenerated.
1867
1868 2003-05-12 Michael Koch <konqueror@gmx.de>
1869
1870 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1871 (nio_get_*): Removed.
1872 (nio_put_*): Removed.
1873 (as*Buffer): Implemented.
1874 (compact): Implemented.
1875 (get): Documentation added.
1876 (put): Documentation added.
1877 (get*): Newly implemented.
1878 (put*): Newly implemented.
1879 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1880 (CharBufferImpl): Revised.
1881 (slice): New implementation.
1882 (duplicate): New implementation.
1883 (compact): New implementation.
1884 (asReadOnlyBuffer): New implementation.
1885 (get): Documentation revised.
1886 (order): Return native byte order.
1887 * gnu/java/nio/DirectByteBufferImpl.java
1888 (allocateDirect): objects can be null not 0.
1889 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1890 (DoubleBufferImpl): Revised.
1891 (slice): New implementation.
1892 (duplicate): New implementation.
1893 (compact): New implementation.
1894 (asReadOnlyBuffer): New implementation.
1895 (get): Documentation revised.
1896 (order): Return native byte order.
1897 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1898 (FloatBufferImpl): Revised.
1899 (slice): New implementation.
1900 (duplicate): New implementation.
1901 (compact): New implementation.
1902 (asReadOnlyBuffer): New implementation.
1903 (get): Documentation revised.
1904 (order): Return native byte order.
1905 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1906 (IntBufferImpl): Revised.
1907 (slice): New implementation.
1908 (duplicate): New implementation.
1909 (compact): New implementation.
1910 (asReadOnlyBuffer): New implementation.
1911 (get): Documentation revised.
1912 (order): Return native byte order.
1913 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1914 (LongBufferImpl): Revised.
1915 (slice): New implementation.
1916 (duplicate): New implementation.
1917 (compact): New implementation.
1918 (asReadOnlyBuffer): New implementation.
1919 (get): Documentation revised.
1920 (order): Return native byte order.
1921 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1922 (ShortBufferImpl): Revised.
1923 (slice): New implementation.
1924 (duplicate): New implementation.
1925 (compact): New implementation.
1926 (asReadOnlyBuffer): New implementation.
1927 (get): Documentation revised.
1928 (order): Return native byte order.
1929 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1930 (CharBuffer): Revised.
1931 (order): Removed.
1932 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1933 (DoubleBuffer): Revised.
1934 (allocateDirect): Removed.
1935 (order): Removed.
1936 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1937 (FloatBuffer): Revised.
1938 (allocateDirect): Removed.
1939 (order): Removed.
1940 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1941 (IntBuffer): Revised.
1942 (allocateDirect): Removed.
1943 (order): Removed.
1944 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1945 (LongBuffer): Revised.
1946 (allocateDirect): Removed.
1947 (order): Removed.
1948 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1949 (ShortBuffer): Revised.
1950 (allocateDirect): Removed.
1951 (order): Removed.
1952 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1953 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1954 * Makefile.am
1955 (ordinary_java_source_files): Added the following files:
1956 gnu/java/nio/CharViewBufferImpl.java,
1957 gnu/java/nio/DoubleViewBufferImpl.java,
1958 gnu/java/nio/FloatViewBufferImpl.java,
1959 gnu/java/nio/IntViewBufferImpl.java,
1960 gnu/java/nio/LongViewBufferImpl.java,
1961 gnu/java/nio/ShortViewBufferImpl.java
1962 (nat_source_files): Removed the following files:
1963 gnu/java/nio/natByteBufferImpl.cc,
1964 gnu/java/nio/natCharBufferImpl.cc
1965 * Makefile.in: Regenerated.
1966
1967 2003-05-12 Michael Koch <konqueror@gmx.de>
1968
1969 * gnu/java/nio/CharViewBufferImpl.java,
1970 gnu/java/nio/DirectByteBufferImpl.java,
1971 gnu/java/nio/DoubleViewBufferImpl.java,
1972 gnu/java/nio/FloatViewBufferImpl.java,
1973 gnu/java/nio/IntViewBufferImpl.java,
1974 gnu/java/nio/LongViewBufferImpl.java,
1975 gnu/java/nio/ShortViewBufferImpl.java,
1976 gnu/java/nio/natDirectByteBufferImpl.cc:
1977 New files, not yet to be compiled.
1978
1979 2003-05-10 Michael Koch <konqueror@gmx.de>
1980
1981 * javax/swing/plaf/ButtonUI.java,
1982 javax/swing/plaf/ColorUIResource.java,
1983 javax/swing/plaf/ComponentUI.java,
1984 javax/swing/plaf/DimensionUIResource.java,
1985 javax/swing/plaf/FontUIResource.java,
1986 javax/swing/plaf/IconUIResource.java,
1987 javax/swing/plaf/InsetsUIResource.java,
1988 javax/swing/plaf/LabelUI.java,
1989 javax/swing/plaf/ListUI.java,
1990 javax/swing/plaf/OptionPaneUI.java,
1991 javax/swing/plaf/PanelUI.java,
1992 javax/swing/plaf/TabbedPaneUI.java,
1993 javax/swing/plaf/TextUI.java,
1994 javax/swing/plaf/TreeUI.java,
1995 javax/swing/plaf/ViewportUI.java,
1996 javax/swing/plaf/basic/BasicBorders.java,
1997 javax/swing/plaf/basic/BasicButtonUI.java,
1998 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1999 javax/swing/plaf/basic/BasicDefaults.java,
2000 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2001 javax/swing/plaf/basic/BasicIconFactory.java,
2002 javax/swing/plaf/basic/BasicLabelUI.java,
2003 javax/swing/plaf/basic/BasicListUI.java,
2004 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2005 javax/swing/plaf/basic/BasicPanelUI.java,
2006 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2007 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2008 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2009 javax/swing/plaf/basic/BasicTextUI.java,
2010 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2011 javax/swing/plaf/basic/BasicTreeUI.java,
2012 javax/swing/plaf/basic/BasicViewportUI.java,
2013 javax/swing/plaf/metal/MetalLookAndFeel.java:
2014 New versions from classpath. This adds copyrights to all files and
2015 some serialVersionUIDs.
2016
2017 2003-05-10 Michael Koch <konqueror@gmx.de>
2018
2019 * java/nio/CharBuffer.java
2020 (offset): Make it package-private.
2021 (backing_buffer): Likewise.
2022 * java/nio/DoubleBuffer.java
2023 (offset): Make it package-private.
2024 (backing_buffer): Likewise.
2025 (put): Reformatted.
2026 * java/nio/FloatBuffer.java
2027 (offset): Make it package-private.
2028 (backing_buffer): Likewise.
2029 * java/nio/IntBuffer.java
2030 (offset): Make it package-private.
2031 (backing_buffer): Likewise.
2032 * java/nio/LongBuffer.java
2033 (offset): Make it package-private.
2034 (backing_buffer): Likewise.
2035 * java/nio/ShortBuffer.java
2036 (offset): Make it package-private.
2037 (backing_buffer): Likewise.
2038
2039 2003-05-10 Michael Koch <konqueror@gmx.de>
2040
2041 * java/nio/CharBuffer.java
2042 (put): Fixed precondtion check.
2043 (toString): Make it work without backing array.
2044 (put): Skip one level of method calling.
2045
2046 2003-05-10 Michael Koch <konqueror@gmx.de>
2047
2048 * java/security/Identity.java,
2049 java/security/IdentityScope.java,
2050 java/security/Key.java,
2051 java/security/KeyPair.java,
2052 java/security/PrivateKey.java,
2053 java/security/Provider.java,
2054 java/security/PublicKey.java,
2055 java/security/SecureRandom.java,
2056 java/security/SecureRandomSpi.java,
2057 java/security/SignedObject.java,
2058 java/security/Signer.java,
2059 java/security/cert/Certificate.java,
2060 java/security/cert/PKIXCertPathBuilderResult.java,
2061 java/security/cert/X509Certificate.java:
2062 New versions from classpath.
2063
2064 2003-05-09 Tom Tromey <tromey@redhat.com>
2065
2066 * Makefile.in: Rebuilt.
2067 * Makefile.am (nat_source_files): Removed old files.
2068 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2069 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2070 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2071 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2072 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2073
2074 2003-05-09 Michael Koch <konqueror@gmx.de>
2075
2076 * gnu/java/nio/ByteBufferImpl.java
2077 (nio_cast): Removed.
2078 (ByteBufferImpl): Removed.
2079 (nio_get_Byte): Removed.
2080 (nio_put_Byte): Removed.
2081 (asByteBuffer): Removed.
2082 (asCharBuffer): Removed implementation and throw exception.
2083 (asShortBuffer): Likewise.
2084 (asIntBuffer): Likewise.
2085 (asLongBuffer): Likewise.
2086 (asFloatBuffer): Likewise.
2087 (asDoubleBuffer): Likewise.
2088 * gnu/java/nio/CharBufferImpl.java
2089 (CharBufferImpl): Removed.
2090 (nio_get_Byte): Removed.
2091 (nio_put_Byte): Removed.
2092 (asByteBuffer): Removed.
2093 * gnu/java/nio/DoubleBufferImpl.java
2094 (DoubleBufferImpl): Removed.
2095 (nio_get_Byte): Removed.
2096 (nio_put_Byte): Removed.
2097 (asByteBuffer): Removed.
2098 * gnu/java/nio/FloatBufferImpl.java
2099 (FloatBufferImpl): Removed.
2100 (nio_get_Byte): Removed.
2101 (nio_put_Byte): Removed.
2102 (asByteBuffer): Removed.
2103 * gnu/java/nio/IntBufferImpl.java
2104 (IntBufferImpl): Removed.
2105 (nio_get_Byte): Removed.
2106 (nio_put_Byte): Removed.
2107 (asByteBuffer): Removed.
2108 * gnu/java/nio/LongBufferImpl.java
2109 (LongBufferImpl): Removed.
2110 (nio_get_Byte): Removed.
2111 (nio_put_Byte): Removed.
2112 (asByteBuffer): Removed.
2113 * gnu/java/nio/ShortBufferImpl.java
2114 (ShortBufferImpl): Removed.
2115 (nio_get_Byte): Removed.
2116 (nio_put_Byte): Removed.
2117 (asByteBuffer): Removed.
2118 * gnu/java/nio/natByteBufferImpl.cc
2119 (nio_cast): Removed.
2120 (nio_get_Byte): Removed.
2121 (nio_put_Byte): Removed.
2122 * gnu/java/nio/natCharBufferImpl.cc
2123 (nio_get_Byte): Removed.
2124 (nio_put_Byte): Removed.
2125
2126 2003-05-09 Michael Koch <konqueror@gmx.de>
2127
2128 * java/net/JarURLConnection.java
2129 (getJarEntry): Merged documentation from classpath.
2130 (getJarFile): Likewise.
2131 (getMainAttributes): Likewise.
2132 (getAttributes): Likewise.
2133 (getManifest): Likewise.
2134 (getCertificates): Reformatted.
2135 * java/net/URLConnection.java:
2136 Little classpath merge.
2137
2138 2003-05-09 Michael Koch <konqueror@gmx.de>
2139
2140 * java/io/DataOutputStream.java
2141 (writeShort): Made it synchronized.
2142 (writeChar): Likewise.
2143 (writeInt): Likewise.
2144 (writeLong): Liekwise.
2145 (writeUTF): Made it synchronized, renamed argument to match classpath.
2146 * java/io/InputStreamReader.java
2147 (converter): Added documentation.
2148 (read): Merged documentation from classpath.
2149 * java/io/OutputStreamWriter.java
2150 (OutputStreamWriter): Merged documentation from classpath.
2151 (close): Reformatted.
2152 (getEncoding): Likewise.
2153 (flush): Likewise.
2154 (write): Merged documentation from classpath, reformatted.
2155
2156 2003-05-08 Tom Tromey <tromey@redhat.com>
2157
2158 * configure.host <powerpc64*-*>: Set with_libffi_default and
2159 libgcj_interpreter to "yes".
2160
2161 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2162
2163 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2164
2165 2003-05-06 Tom Tromey <tromey@redhat.com>
2166
2167 * verify.cc: Reverted previous patch.
2168
2169 2003-05-06 Michael Koch <konqueror@gmx.de>
2170
2171 * java/io/DataOutputStream.java
2172 (write): Renamed argument to "value", merged documentation from
2173 classpath.
2174 (writeBoolean): Likewise.
2175 (writeByte): Likewise.
2176 (writeShort): Likewise.
2177 (writeChar): Likewise.
2178 (writeInt): Likewise.
2179 (writeLong): Likewise.
2180 (writeFloat): Likewise.
2181 (writeDouble): Likewise.
2182 (writeBytes): Likewise.
2183 (writeChars): Likewise.
2184 (writeUTF): Likewise.
2185 * java/io/File.java
2186 (performDelete): Added documentation.
2187 (performList): Likewise.
2188 (performMkdir): Likewise.
2189 (performSetReadOnly): Likewise.
2190 (performRenameTo): Likewise.
2191 (performSetLastModified): Likewise.
2192 (delete): Made it sychronized.
2193 (renameTo): Made it sychronized.
2194 (equals): Reformatted.
2195 (isHidden): Likewise.
2196 (listFiles): Likewise.
2197 (setReadOnly): Likewise.
2198 (listRoots): Likewise.
2199 (setLastModified): Likewise.
2200 (checkRead): Likewise.
2201 (checkWrite): Likewise.
2202 * java/io/FileInputStream.java
2203 (skip): Made it sychronized, merged from classpath.
2204 * java/io/FileOutputStream.java
2205 (write): Merged from classpath.
2206 * java/io/InputStreamReader.java:
2207 (InputStreamReader): Merged documentation from classpath.
2208
2209 2003-05-05 Michael Koch <konqueror@gmx.de>
2210
2211 * java/net/NetworkInterface.java
2212 (networkInterfaces): Removed.
2213 (getByName): Use getRealNetworkInterfaces() instead of
2214 networkInterfaces.
2215 (getByInetAddress): Likewise.
2216 (getNetworkInterfaces): Likewise.
2217 (toString): Fix output of addresses of an interface.
2218
2219 2003-05-05 Michael Koch <konqueror@gmx.de>
2220
2221 * java/io/DataInputStream.java:
2222 Merged new documentation from classpath.
2223
2224 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2225
2226 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2227 "version".
2228 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2229 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2230 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2231 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2232 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2233 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2234 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2235 * java/security/Key.java: Likewise.
2236 * java/security/PrivateKey.java: Likewise.
2237 * java/security/Provider.java: Likewise.
2238 * java/security/PublicKey.java: Likewise.
2239
2240 2003-05-02 Michael Koch <konqueror@gmx.de>
2241
2242 * java/net/URI.java
2243 (create): Doesnt throws any exceptions.
2244 * java/net/URLConnection.java
2245 (URLConnection): Commend added.
2246 (getExpiration): The header field is called "expires" not
2247 "expiration".
2248 (getHeaderField): Merged documentation with classpath.
2249 (getHeaderFieldInt): Likewise.
2250 (getHeaderFieldDate): Likewise.
2251 (getHeaderFieldKey): Likewise.
2252 (getPermission): Likewise.
2253 (setDefaultUseCaches): Likewise.
2254 (setRequestProperty): Likewise.
2255 (addRequestProperty): Likewise.
2256 (getRequestProperty): Likewise.
2257 (getRequestProperties): Likewise.
2258 (setDefaultRequestProperty): Likewise.
2259 (getDefaultRequestProperty): Likewise.
2260 (guessContentTypeFromStream): Likewise.
2261 (getFileNameMap): Likewise.
2262 (setFileNameMap): Likewise.
2263 (setDoInput): Merged implementation and documentation with classpath.
2264 (setDoOutput): Likewise.
2265 (setAllowUserInteraction): Likewise.
2266 (setDefaultAllowUserInteraction): Likewise.
2267 (setContentHandlerFactory): Made it synchronized, merged documentation
2268 with classpath.
2269 (guessContentTypeFromName): Renamed argument fname to filename to
2270 match classpath, merged documentation with classpath.
2271
2272 2003-05-02 Michael Koch <konqueror@gmx.de>
2273
2274 * java/net/JarURLConnection.java
2275 (JarURLConnection): Class documentation merged with classpath.
2276 (getJarFileURL): Moved and documentation merged with classpath.
2277 (getEntryName): Likewise.
2278 (JarURLConnection): Documentation merged with classpath.
2279 (getJarEntry): Likewise.
2280 (getJarFile): Likewise.
2281 * java/net/PlainDatagramSocketImpl.java:
2282 Class documentation moved.
2283 * java/net/URLConnection.java
2284 (fileNameMap): Moved and documentation merged with classpath.
2285 (factory): Likewise.
2286 (defaultAllowUserInteraction): Likewis.
2287 (defaultUseCaches): Likewise.
2288 (allowUserInteraction): Likewise.
2289 (connected): Likewise.
2290 (url): Likewise.
2291 (connect): Documentation merged with classpath.
2292 (getURL): Likewise.
2293 (getContentLength): Likewise.
2294 (getContentType): Likewise.
2295 (getContentEncoding): Likewise.
2296 (getExpiration): Likewise.
2297 (getDate): Likewise.
2298 (getLastModified): Likewise.
2299 (getHeaderField): Likewise.
2300 (getContent): Likewise.
2301 (getPermission): Likewise.
2302 (getInputStream): Likewise.
2303 (getOutputStream): Likewise.
2304 (toString): Likewise.
2305 (getDoInput): Likewise.
2306 (getDoOutput): Likewise.
2307 (setAllowUserInteraction): Likewise.
2308 (getAllowUserInteraction): Likewise.
2309 (setDefaultAllowUserInteraction): Likewise.
2310 (getDefaultAllowUserInteraction): Likewise.
2311 (setUseCaches): Likewise.
2312 (getUseCaches): Likewise.
2313 (setIfModifiedSince): Likewise.
2314 (getIfModifiedSince): Likewise.
2315 (setDefaultRequestProperty): Likewise.
2316 (getDefaultRequestProperty): Likewise.
2317 (setContentHandlerFactory): Likewise.
2318 (setFileNameMap): Likewise.
2319
2320 2003-05-02 Michael Koch <konqueror@gmx.de>
2321
2322 * java/net/InetAddress.java:
2323 Merged class documentation with classpath.
2324 * java/net/JarURLConnection.java:
2325 Explicitely import all used classes.
2326 * java/net/URL.java:
2327 Reformatting.
2328 * java/net/ServerSocket.java,
2329 java/net/Socket.java:
2330 New versions from classpath.
2331
2332 2003-05-02 Michael Koch <konqueror@gmx.de>
2333
2334 * gnu/java/nio/FileChannelImpl.java
2335 (read): New implementation.
2336 (implRead): New methods.
2337 (write): New implementation, call other write insteal of read method.
2338 (implWrite): New methods.
2339 (map): Added comment.
2340 (transferFrom): Implemented.
2341 (transferTo): Implemented.
2342 (lock): Added checks to throw exceptions.
2343 (truncate): Added check to throw exception.
2344 * gnu/java/nio/natFileChannelImpl.cc
2345 (implRead): New method.
2346 (implWrite): New method.
2347 * java/nio/ByteBuffer.java
2348 (hashCode): Fixed comment.
2349 (get): Fixed exception documentation.
2350 (put): Fixed exception documentation.
2351 * java/nio/CharBuffer.java:
2352 Added comment for later optimizations.
2353
2354 2003-04-30 Tom Tromey <tromey@redhat.com>
2355
2356 PR libgcj/10582:
2357 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2358 Removed.
2359 (type::compatible): Use _Jv_IsAssignableFrom.
2360 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2361 (_Jv_IsAssignableFrom): Work even when source or target class is
2362 not prepared.
2363
2364 2003-04-30 Michael Koch <konqueror@gmx.de>
2365
2366 * java/text/BreakIterator.java
2367 (clone): New method.
2368
2369 2003-04-30 Michael Koch <konqueror@gmx.de>
2370
2371 * java/text/CollationElementIterator.java,
2372 java/text/CollationKey.java,
2373 java/text/RuleBasedCollator.java:
2374 Merged copyright and documentation from classpath and
2375 rearranged some code. No code changes done.
2376
2377 2003-04-30 Michael Koch <konqueror@gmx.de>
2378
2379 * java/util/regex/Matcher.java
2380 (pattern): New member variable.
2381 (appendReplacement): New method.
2382 (appendTail): New method.
2383 (end): New method.
2384 (find): New method.
2385 (group): New method.
2386 (replaceFirst): Added documentation.
2387 (replaceAll): Added documentation.
2388 (groupCount): New method.
2389 (lookingAt): New method.
2390 (matches): New method.
2391 (reset): New method.
2392 (start): New method.
2393 * java/util/regex/Pattern.java
2394 (serialVersionUID): New constant.
2395 (CANON_EQ): New constant.
2396 (CASE_INSENSITIVE): New constant.
2397 (COMMENTS): New constant.
2398 (DOTALL): New constant.
2399 (MULTILINE): New constant.
2400 (UNICODE_CASE): New constant.
2401 (UNIX_LINES): New constant.
2402 (regex): New member variable.
2403 (flags): New member variable.
2404 (Pattern): New method.
2405 (compile): Documentation added.
2406 (flags): New method.
2407 (matches): Documentation added.
2408 (matcher): Documentation added.
2409 (split): Documentation added.
2410 (pattern): New method.
2411
2412 2003-04-30 Michael Koch <konqueror@gmx.de>
2413
2414 * gnu/java/security/Engine.java,
2415 gnu/java/security/OID.java,
2416 gnu/java/security/der/BitString.java,
2417 gnu/java/security/der/DER.java,
2418 gnu/java/security/der/DERReader.java,
2419 gnu/java/security/der/DERValue.java,
2420 gnu/java/security/der/DERWriter.java,
2421 gnu/java/security/provider/DSAKeyFactory.java,
2422 gnu/java/security/provider/X509CertificateFactory.java,
2423 gnu/java/security/x509/X500DistinguishedName.java,
2424 gnu/java/security/x509/X509CRL.java,
2425 gnu/java/security/x509/X509CRLEntry.java,
2426 gnu/java/security/x509/X509Certificate.java,
2427 java/security/cert/CRLSelector.java,
2428 java/security/cert/CertPathBuilder.java,
2429 java/security/cert/CertPathBuilderResult.java,
2430 java/security/cert/CertPathBuilderSpi.java,
2431 java/security/cert/CertPathParameters.java,
2432 java/security/cert/CertPathValidator.java,
2433 java/security/cert/CertPathValidatorResult.java,
2434 java/security/cert/CertPathValidatorSpi.java,
2435 java/security/cert/CertSelector.java,
2436 java/security/cert/CertStore.java,
2437 java/security/cert/CertStoreParameters.java,
2438 java/security/cert/CertStoreSpi.java,
2439 java/security/cert/CollectionCertStoreParameters.java,
2440 java/security/cert/LDAPCertStoreParameters.java,
2441 java/security/cert/PKIXBuilderParameters.java,
2442 java/security/cert/PKIXCertPathBuilderResult.java,
2443 java/security/cert/PKIXCertPathChecker.java,
2444 java/security/cert/PKIXCertPathValidatorResult.java,
2445 java/security/cert/PKIXParameters.java,
2446 java/security/cert/PolicyNode.java,
2447 java/security/cert/PolicyQualifierInfo.java,
2448 java/security/cert/TrustAnchor.java,
2449 javax/security/auth/x500/X500Principal.java:
2450 New files from classpath.
2451 * gnu/java/io/ASN1ParsingException.java,
2452 gnu/java/io/Base64InputStream.java,
2453 gnu/java/security/der/DEREncodingException.java,
2454 gnu/java/security/provider/DSAParameters.java,
2455 gnu/java/security/provider/DSASignature.java,
2456 gnu/java/security/provider/Gnu.java,
2457 gnu/java/security/provider/GnuDSAPrivateKey.java,
2458 gnu/java/security/provider/GnuDSAPublicKey.java,
2459 java/security/AlgorithmParameterGenerator.java,
2460 java/security/AlgorithmParameters.java,
2461 java/security/KeyFactory.java,
2462 java/security/KeyPairGenerator.java,
2463 java/security/KeyStore.java,
2464 java/security/MessageDigest.java,
2465 java/security/SecureClassLoader.java,
2466 java/security/SecureRandom.java,
2467 java/security/Security.java,
2468 java/security/Signature.java,
2469 java/security/cert/Certificate.java,
2470 java/security/cert/CertificateFactory.java,
2471 java/security/cert/CertificateFactorySpi.java,
2472 java/security/cert/X509CRL.java,
2473 java/security/cert/X509Certificate.java,
2474 java/security/spec/DSAPublicKeySpec.java:
2475 New versions from classpath.
2476 * gnu/java/security/provider/DERReader.java,
2477 gnu/java/security/provider/DERWriter.java,
2478 java/security/Engine.java: Removed.
2479 * Makefile.am
2480 (java_source_files, javax_source_files): Added new files.
2481 * Makefile.in: Regenerated.
2482
2483 2003-04-29 Michael Koch <konqueror@gmx.de>
2484
2485 * javax/swing/JTable.java
2486 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2487 (AUTO_RESIZE_LAST_COLUMN): New constant.
2488 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2489 (AUTO_RESIZE_OFF): New constant.
2490 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2491 (JTable): New method.
2492 (columnAdded): New method.
2493 (columnMarginChanged): New method.
2494 (columnMoved): New method.
2495 (columnRemoved): New method.
2496 (columnSelectionChanged): New method.
2497 (editingCanceled): New method.
2498 (editingStopped): New method.
2499 (getColumnModel): New method.
2500 (getPreferredScrollableViewportSize): New method.
2501 (getScrollableBlockIncrement): New method.
2502 (getScrollableTracksViewportHeight): New method.
2503 (getScrollableTracksViewportWidth): New method.
2504 (getScrollableUnitIncrement): New method.
2505 (getSelectedRow): New method.
2506 (getSelectionModel): New method.
2507 (tableChanged): New method.
2508 (setModel): New method.
2509 (setSelectionMode): New method.
2510 (setSelectionModel): New method.
2511 (setShowGrid): New method.
2512 (valueChanged): New method.
2513 * javax/swing/text/DefaultEditorKit.java
2514 (backwardAction): New constant.
2515 (beepAction): New constant.
2516 (beginAction): New constant.
2517 (beginLineAction): New constant.
2518 (beginParagraphAction): New constant.
2519 (beginWordAction): New constant.
2520 (copyAction): New constant.
2521 (cutAction): New constant.
2522 (defaultKeyTypedAction): New constant.
2523 (deleteNextCharAction): New constant.
2524 (deletePrevCharAction): New constant.
2525 (downAction): New constant.
2526 (endAction): New constant.
2527 (endLineAction): New constant.
2528 (endOfLineStringProperty): New constant.
2529 (endParagraphAction): New constant.
2530 (endWordAction): New constant.
2531 (forwardAction): New constant.
2532 (insertBreakAction): New constant.
2533 (insertContentAction): New constant.
2534 (insertTabAction): New constant.
2535 (nextWordAction): New constant.
2536 (pageDownAction): New constant.
2537 (pageUpAction): New constant.
2538 (pasteAction): New constant.
2539 (previousWordAction): New constant.
2540 (readOnlyAction): New constant.
2541 (selectAllAction): New constant.
2542 (selectionBackwardAction): New constant.
2543 (selectionBeginAction): New constant.
2544 (selectionBeginLineAction): New constant.
2545 (selectionBeginParagraphAction): New constant.
2546 (selectionBeginWordAction): New constant.
2547 (selectionDownAction): New constant.
2548 (selectionEndAction): New constant.
2549 (selectionEndLineAction): New constant.
2550 (selectionEndParagraphAction): New constant.
2551 (selectionEndWordAction): New constant.
2552 (selectionForwardAction): New constant.
2553 (selectionNextWordAction): New constant.
2554 (selectionPreviousWordAction): New constant.
2555 (selectionUpAction): New constant.
2556 (selectLineAction): New constant.
2557 (selectParagraphAction): New constant.
2558 (selectWordAction): New constant.
2559 (upAction): New constant.
2560 (writableAction): New constant.
2561
2562 2003-04-29 Michael Koch <konqueror@gmx.de>
2563
2564 * java/util/PropertyPermission.java:
2565 New version from classpath
2566 * java/util/ResourceBundle.java:
2567 Partly merged from classpath
2568 (getObject): Reformated.
2569 (tryBundle): Set foundBundle = null if no bundle found.
2570
2571 2003-04-29 Michael Koch <konqueror@gmx.de>
2572
2573 * javax/swing/AbstractListModel.java,
2574 javax/swing/DefaultBoundedRangeModel.java,
2575 javax/swing/DefaultSingleSelectionModel.java:
2576 New Versions from classpath.
2577
2578 2003-04-29 Michael Koch <konqueror@gmx.de>
2579
2580 * java/awt/Window.java
2581 (show): Call super.show() instead of setVisible() to avoid endless
2582 loop.
2583 (hide): Call super.hide() instead of setVisible() to avoid endless
2584 loop.
2585
2586 2003-04-29 Michael Koch <konqueror@gmx.de>
2587
2588 * java/util/zip/Deflater.java,
2589 java/util/zip/DeflaterOutputStream.java:
2590 Partly merged with classpath.
2591
2592 2003-04-27 Tom Tromey <tromey@redhat.com>
2593
2594 * java/lang/natString.cc (_Jv_AllocString): Initialize
2595 cachedHashCode.
2596 (init): Likewise.
2597 (_Jv_NewStringUtf8Const): Likewise.
2598
2599 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2600
2601 * include/jvm.h: (_Jv_GetNbArgs) added
2602 (_Jv_GetSafeArg) added
2603 (_Jv_SetArgs) added
2604 * prims.cc: (_Jv_GetNbArgs) implemented
2605 (_Jv_GetSafeArg) implemented
2606 (_Jv_SetArgs) implemented
2607 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2608 setting _Jv_argc and _Jv_argv
2609 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2610 instead of _Jv_argv
2611 * java/lang/natRuntime.cc: (insertSystemProperties) use
2612 _Jv_GetSafeArg() instead of _Jv_argv
2613
2614 2003-04-23 Tom Tromey <tromey@redhat.com>
2615
2616 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2617 required by this object. Search superclasses to find required
2618 alignment.
2619 (get_alignment_from_class): Use alignment of type as it appears
2620 in a struct.
2621 (ALIGNOF): New macro.
2622 (struct aligner): New helper structure.
2623
2624 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2625
2626 * java/awt/Container.java (addImpl): Enable paint events if adding
2627 a lightweight to a heavyweight.
2628 (addNotify): Ensure that peer is created before
2629 addNotifyContainerChildren.
2630 (addNotifyContainerChildren): Enable paint events if a heavyweight
2631 container contains a lightweight.
2632
2633 2003-04-20 Tom Tromey <tromey@redhat.com>
2634
2635 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2636 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2637 Classpath.
2638
2639 2003-04-19 Tom Tromey <tromey@redhat.com>
2640
2641 * java/sql/Date.java, java/sql/DriverManager.java,
2642 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2643 Classpath.
2644
2645 * Makefile.in: Rebuilt.
2646 * Makefile.am (ordinary_java_source_files): Added new files.
2647 * java/security/AlgorithmParameterGenerator.java,
2648 java/security/AlgorithmParameters.java, java/security/Engine.java,
2649 java/security/Identity.java, java/security/IdentityScope.java,
2650 java/security/KeyFactory.java,
2651 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2652 java/security/MessageDigest.java, java/security/Policy.java,
2653 java/security/ProtectionDomain.java,
2654 java/security/SecureRandom.java, java/security/Security.java,
2655 java/security/Signature.java, java/security/SignatureSpi.java,
2656 java/security/SignedObject.java, java/security/Signer.java,
2657 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2658 java/security/spec/PSSParameterSpec.java,
2659 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2660 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2661 Classpath.
2662
2663 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2664
2665 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2666 (dispose): Null metrics.
2667 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2668 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2669 finalize.
2670 (finalize): Call dispose.
2671 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2672 (gcCachedCount): New field.
2673 (finalize): New method.
2674 (putGCInCache): New method.
2675 (getGCFromCache): New method.
2676 * gnu/gcj/xlib/GC.java (GC): Make protected.
2677 (clone): Get new GC from cache if possible.
2678 (create): New static method.
2679 (dispose): Save old GC in cache.
2680 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2681 deleting.
2682 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2683 is null.
2684 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2685 * java/awt/Container.java (visitChild): Dispose gfx2 when
2686 finished.
2687
2688 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2689
2690 * java/math/BigInteger.java (probablePrime): New.
2691 * java/math/BigDecimal.java (unscaledValue): New.
2692
2693 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2694
2695 * java/io/File.java (getAbsolutePath): On Windows, take care
2696 of paths like "C:", "G:foo\bar", etc.
2697 (getName): Make it work correctly on Windows.
2698 (getParent): Make it work correctly on Windows. For UNIX,
2699 fix bug that causes "/" to be returned as the parent of "/",
2700 instead of null as returned by Sun's JRE.
2701
2702 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2703
2704 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2705
2706 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2707 inner class.
2708 (CACHE_SIZE_PER_DISPLAY): New field
2709 (fontMetricsCache): New field
2710 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2711 loading ISO10646-1 fonts.
2712
2713 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2714
2715 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2716 characters.
2717 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2718 characters.
2719
2720 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2721
2722 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2723 floating point.
2724
2725 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2726
2727 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2728 installed libpthread is either linuxthreads with floating stacks or
2729 NPTL.
2730
2731 2003-04-14 Tom Tromey <tromey@redhat.com>
2732
2733 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2734 of alignment.
2735
2736 2003-04-10 Tom Tromey <tromey@redhat.com>
2737
2738 * verify.cc (pop64): Removed.
2739 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2740 exception if top-of-stack is narrow.
2741 (initialize_stack): Check to ensure that <init> is not static and
2742 <clinit> is.
2743
2744 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2745
2746 * java/io/ObjectStreamException
2747 * java/io/FileFilter
2748 * java/io/FilenameFilter
2749 * java/io/ObjectInput
2750 * java/io/ObjectOutput
2751 * java/io/ObjectStreamConstants
2752 Minor doc fixes, format fixes, spelling corrections, etc.
2753 * java/io/DataInput
2754 Corrected code samples in Javadocs to match reality
2755 * java/io/DataOutput
2756 * java/io/ObjectInputValidation
2757 Major documentation fixes - all Javadocs re-written or updated
2758
2759 2003-04-06 Michael Koch <konqueror@gmx.de>
2760
2761 * java/net/URLConnection.java:
2762 Import classes directly.
2763 (URLConnection): Merged class documentation with classpath.
2764 (url): Moved, documentation from classpath added.
2765 (doInput): Moved, documentation from classpath added.
2766 (doOutput): Moved, documentation from classpath added.
2767 (allowUserInteraction): Moved.
2768 (useCaches): Moved, documentation from classpath added.
2769 (ifModifiedSince): Moved, documentation from classpath added.
2770 (connected): Moved, documentation from classpath added.
2771
2772 2003-04-06 Michael Koch <konqueror@gmx.de>
2773
2774 * java/io/FileInputStream.java
2775 (skip): Renamed some variables to match classpath, added
2776 checks from classpath.
2777
2778 2003-03-31 Michael Koch <konqueror@gmx.de>
2779
2780 * javax/swing/AbstractAction.java
2781 (AbstractAction): Reformatted.
2782 (serialVersionUID): New private member variable.
2783 * javax/swing/plaf/BorderUIResource.java
2784 (serialVersionUID): New private member variable.
2785 * javax/swing/plaf/basic/BasicLookAndFeel.java
2786 (serialVersionUID): New private member variable.
2787
2788 2003-03-31 Michael Koch <konqueror@gmx.de>
2789
2790 * java/sql/Date.java
2791 (valueOf): Deprecated, reformatted.
2792 (toString): Deprecated, reformatted.
2793 * java/sql/Time.java
2794 (valueOf): Deprecated, reformatted.
2795 (toString): Deprecated, reformatted.
2796
2797 2003-03-31 Michael Koch <konqueror@gmx.de>
2798
2799 * java/rmi/dgc/VMID.java
2800 (isUnique): Deprecated.
2801
2802 2003-03-31 Michael Koch <konqueror@gmx.de>
2803
2804 * java/io/File.java
2805 (separator): Merged documentation from classpath.
2806 (separatorChar): Merged documentation from classpath.
2807 (pathSeparator): Merged documentation from classpath.
2808 (pathSeparatorChar): Merged documentation from classpath.
2809 (path): Merged documentation from classpath.
2810 (canRead): Merged documentation from classpath.
2811 (canWrite): Merged documentation from classpath.
2812 (createNewFile): Merged documentation from classpath.
2813 (delete): Merged documentation from classpath.
2814 (equals): Merged documentation from classpath.
2815 (exists): Merged documentation from classpath.
2816 (File): Renamed p to name to match classpath, merged documentation
2817 from classpath.
2818 (getAbsolutePath): Merged documentation from classpath.
2819 (getCanonicalPath): Merged documentation from classpath.
2820 (getCanonicalFile): Merged documentation from classpath.
2821 (getName): Merged documentation from classpath.
2822 (getParent): Merged documentation from classpath.
2823 (getParentFile): Merged documentation from classpath.
2824 (getPath): Merged documentation from classpath.
2825 (hashCode): Merged documentation from classpath.
2826 (isAbsolute): Merged documentation from classpath.
2827 (isDirectory): Merged documentation from classpath.
2828 (isFile): Merged documentation from classpath.
2829 (isHidden): Merged documentation from classpath.
2830 (lastModified): Merged documentation from classpath.
2831 (length): Merged documentation from classpath.
2832 (list): Merged documentation from classpath.
2833 (listFiles): Merged documentation from classpath.
2834 (toString): Merged documentation from classpath.
2835 (toURL): Merged documentation from classpath.
2836 (mkdir): Merged documentation from classpath.
2837 (mkdirs): Merged documentation from classpath.
2838 (createTempFile): Merged documentation from classpath.
2839 (setReadOnly): Merged documentation from classpath.
2840 (listRoots): Merged documentation from classpath.
2841 (compareTo): Merged documentation from classpath.
2842 (renameTo): Merged documentation from classpath.
2843 (setLastModified): Merged documentation from classpath.
2844 * java/io/PrintStream.java
2845 (auto_flush): Merged documentation from classpath.
2846 (PrintStream): Merged documentation from classpath.
2847 (checkError): Merged documentation from classpath.
2848 (setError): Merged documentation from classpath.
2849 (close): Merged documentation from classpath.
2850 (flush): Merged documentation from classpath.
2851 (print): Merged documentation from classpath.
2852 (println): Merged documentation from classpath.
2853 (write): Renamed count to len to match classpath,
2854 merged documentation from classpath.
2855 * java/io/RandomAccessFile.java
2856 (readShort): Merged documentation from classpath.
2857 (readUnsignedByte): Merged documentation from classpath.
2858 (readUnsignedShort): Merged documentation from classpath.
2859 (readUTF): Merged documentation from classpath.
2860 (seek): Reformatted, merged documentation from classpath.
2861 (skipBytes): Renamed some variables to match classpath, reformatted,
2862 merged documentation from classpath.
2863 (write): Merged documentation from classpath.
2864 (writeBoolean): Merged documentation from classpath.
2865 (writeByte): Merged documentation from classpath.
2866 (writeShort): Merged documentation from classpath.
2867 (writeChar): Merged documentation from classpath.
2868 (writeInt): Merged documentation from classpath.
2869 (writeLong): Merged documentation from classpath.
2870 (writeFloat): Merged documentation from classpath.
2871 (writeDouble): Merged documentation from classpath.
2872 (writeBytes): Merged documentation from classpath.
2873 (writeChars): Merged documentation from classpath.
2874 (writeUTF): Reformatted.
2875 (getChannel): Reformatted.
2876
2877 2003-03-31 Michael Koch <konqueror@gmx.de>
2878
2879 * java/awt/font/TextAttribute.java
2880 (readResolve): Throws java.io.InvalidObjectException.
2881
2882 2003-03-31 Michael Koch <konqueror@gmx.de>
2883
2884 * java/rmi/server/LoaderHandler.java
2885 (loadClass): Deprecated.
2886 (getSecurityContext): Deprecated.
2887 * java/rmi/server/LogStream.java
2888 (getDefaultStream): Deprecated.
2889 (setDefaultStream): Deprecated.
2890 (getOutputStream): Deprecated.
2891 (setOutputStream): Deprecated.
2892 (write): Deprecated.
2893 (toString): Deprecated.
2894 (parseLevel): Deprecated.
2895 * java/rmi/server/Operation.java
2896 (Operation): Deprecated.
2897 (getOperation): Deprecated.
2898 (toString): Deprecated.
2899 * java/rmi/server/RemoteCall.java
2900 (getOutputStream): Deprecated.
2901 (releaseOutputStream): Deprecated.
2902 (getInputStream): Deprecated.
2903 (releaseInputStream): Deprecated.
2904 (getResultStream): Deprecated.
2905 (executeCall): Deprecated.
2906 (done): Deprecated.
2907 * java/rmi/server/RemoteRef.java
2908 (invoke): Deprecated.
2909 (newCall): Deprecated.
2910 (done): Deprecated.
2911 * java/rmi/server/RemoteStub.java
2912 (setRef): Deprecated.
2913 * java/rmi/server/Skeleton.java:
2914 No need to import java.lang.Exception explicitly.
2915 (dispatch): Deprecated.
2916 (getOperations): Deprecated.
2917
2918 2003-03-31 Michael Koch <konqueror@gmx.de>
2919
2920 * java/rmi/dgc/VMID.java,
2921 java/rmi/registry/RegistryHandler.java,
2922 java/rmi/server/LogStream.java,
2923 java/rmi/server/Operation.java,
2924 java/rmi/server/RemoteCall.java,
2925 java/rmi/server/RemoteRef.java,
2926 java/rmi/server/RemoteStub.java:
2927 Reformatted.
2928
2929 2003-03-31 Michael Koch <konqueror@gmx.de>
2930
2931 * javax/swing/AbstractCellEditor.java,
2932 javax/swing/AbstractListModel.java,
2933 javax/swing/ActionMap.java,
2934 javax/swing/BorderFactory.java,
2935 javax/swing/ButtonGroup.java,
2936 javax/swing/DefaultBoundedRangeModel.java,
2937 javax/swing/DefaultButtonModel.java,
2938 javax/swing/DefaultCellEditor.java,
2939 javax/swing/DefaultComboBoxModel.java,
2940 javax/swing/DefaultDesktopManager.java,
2941 javax/swing/DefaultListCellRenderer.java,
2942 javax/swing/DefaultSingleSelectionModel.java,
2943 javax/swing/InputMap.java,
2944 javax/swing/JComponent.java,
2945 javax/swing/JMenu.java,
2946 javax/swing/JSlider.java,
2947 javax/swing/KeyStroke.java,
2948 javax/swing/OverlayLayout.java,
2949 javax/swing/ScrollPaneLayout.java,
2950 javax/swing/SizeRequirements.java,
2951 javax/swing/UIManager.java,
2952 javax/swing/ViewportLayout.java,
2953 javax/swing/border/AbstractBorder.java,
2954 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2955 javax/swing/event/EventListenerList.java,
2956 javax/swing/table/AbstractTableModel.java,
2957 javax/swing/table/DefaultTableCellRenderer.java,
2958 javax/swing/table/DefaultTableColumnModel.java,
2959 javax/swing/table/DefaultTableModel.java,
2960 javax/swing/table/TableColumn.java,
2961 javax/swing/text/StyledEditorKit.java,
2962 javax/swing/tree/DefaultMutableTreeNode.java,
2963 javax/swing/tree/DefaultTreeModel.java,
2964 javax/swing/tree/DefaultTreeSelectionModel.java,
2965 javax/swing/tree/TreePath.java,
2966 javax/swing/undo/AbstractUndoableEdit.java,
2967 javax/swing/undo/StateEdit.java,
2968 javax/swing/undo/StateEditable.java,
2969 javax/swing/undo/UndoableEditSupport.java:
2970 Merges from classpath.
2971
2972 2003-03-30 Tom Tromey <tromey@redhat.com>
2973
2974 * java/lang/String.java (data, boffset, count): Documented.
2975 (String(byte[],String)): Reformatted.
2976 (String(byte[])): Likewise.
2977 (lastIndexOf(int)): Likewise.
2978 (lastIndexOf(String)): Likewise.
2979 (substring(int)): Renamed argument to match Classpath.
2980 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2981
2982 * java/lang/String.java: Miscellaneous minor formatting changes
2983 to match Classpath more closely.
2984
2985 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2986 Tom Tromey <tromey@redhat.com>
2987
2988 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2989 (init()): Removed.
2990 (charAt): Put index in exception.
2991 (contentEquals): New method.
2992 Include StringBuffer.h.
2993 * java/lang/String.java (cachedHashCode): New field.
2994 (String()): Follow classpath implementation.
2995 (init()): Removed.
2996 (contentEquals): Declare.
2997 (subSequence): Don't declare IndexOutIfBoundsException in throws
2998 clause.
2999 (matches, replaceFirst, replaceAll, split): New methods from
3000 Classpath.
3001
3002 2003-03-29 Tom Tromey <tromey@redhat.com>
3003
3004 * java/lang/String.java: Reordered to follow Classpath; merged in
3005 javadoc.
3006
3007 * java/text/MessageFormat.java: Removed some whitespace.
3008
3009 * Makefile.in: Rebuilt.
3010 * Makefile.am (awt_java_source_files): Added new files.
3011 * gnu/javax/rmi/PortableServer.java,
3012 gnu/javax/rmi/CORBA/DelegateFactory.java,
3013 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3014 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3015 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3016 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3017 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3018 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3019 javax/rmi/PortableRemoteObject.java,
3020 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3021 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3022 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3023 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3024 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3025 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3026
3027 * java/lang/natClass.cc (newInstance): Put method name in
3028 exception.
3029 (getConstructor): Likewise.
3030 (getDeclaredConstructor): Likewise.
3031 (getPrivateMethod): Likewise.
3032
3033 2003-03-28 Tom Tromey <tromey@redhat.com>
3034
3035 * java/lang/reflect/Proxy.java: New version from Classpath.
3036 * java/lang/Package.java: New version from Classpath.
3037
3038 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3039
3040 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3041 * configure: Regenerate.
3042
3043 2003-03-28 Michael Koch <konqueror@gmx.de>
3044
3045 * java/io/File.java:
3046 Import needed classes instead of whole packages, merged class
3047 documentation with classpath, moved constants and variables to top of
3048 class.
3049 * java/io/PrintStream.java:
3050 Merged class documentation with classpath, moved constants and
3051 variables to top of class.
3052 * java/io/RandomAccessFile.java
3053 (RandomAccessFile): Merged with classpath.
3054 (read): Merged with classpath).
3055 (read*): Reformatted.
3056
3057 2003-03-28 Michael Koch <konqueror@gmx.de>
3058
3059 * java/io/FileDescriptor.java
3060 (finalize): Throws Throwable, not IOException.
3061 * java/io/ObjectOutputStream.java
3062 (PutField.put): Doesnt throws anything.
3063
3064 2003­03-28 Michael Koch <konqueror@gmx.de>
3065
3066 * java/io/FileOutputStream.java:
3067 Merged class documentation and authors with classpath.
3068 (FileOutputStream): Partly merged with classpath.
3069 (write): Merged with classpath.
3070 (getChannel): Make it synchronized instead of explicit block in this
3071 method.
3072 * java/io/RandomAccessFile.java:
3073 Merged class documentation and authors with classpath.
3074
3075 2003-03-26 Tom Tromey <tromey@redhat.com>
3076
3077 * java/lang/natRuntime.cc (insertSystemProperties): Set
3078 gnu.classpath.home.url.
3079 * Makefile.in: Rebuilt.
3080 * Makefile.am: Define LIBDIR.
3081
3082 2003-03-25 Michael Koch <konqueror@gmx.de>
3083
3084 * java/io/FileInputStream.java
3085 (read): Renamed b to buf and off to offset.
3086 * java/io/FileOutputStream.java
3087 (ch): Documentation added.
3088 (FileOutputStream): Documentation added.
3089 (getFD): Documentation added.
3090 (write): Documentation added.
3091 (close): Documentation added.
3092 (getChannel): Documentation added.
3093
3094 2003-03-24 Michael Koch <konqueror@gmx.de>
3095
3096 * java/io/DataOutputStream.java
3097 (write): Merged from classpath.
3098 * java/io/File.java:
3099 Merged copyrigth with classpath.
3100 * java/io/FileInputStream.java
3101 (getChannel): Made it synchronized instead of using a synchronized
3102 block.
3103 * java/io/FileOutputStream.java: Reformatted.
3104 * java/io/InputStreamReader.java
3105 (InputStreamReader): Renamed enc to encoding_name.
3106 (close): Merged documentation from classpath.
3107 (getEncoding): Merged documentation from classpath.
3108 (ready): Merged documentation from classpath.
3109 (read): Merged documentation from classpath.
3110 * java/io/LineNumberReader.java
3111 (lineNumber): Made it private.
3112 (LineNumberReader): Use Constant instead of a direct value.
3113 * java/io/OutputStreamWriter.java
3114 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3115 documentation from classpath.
3116 (close): Merged documentation from classpath.
3117 (flush): Merged documentation from classpath.
3118 (write): Merged documentation from classpath.
3119 * java/io/PrintStream.java: Reformatted.
3120
3121 2003-03-24 Michael Koch <konqueror@gmx.de>
3122
3123 * javax/swing/text/ComponentView.java
3124 (getComponent): Must be final.
3125 * javax/swing/tree/DefaultTreeCellRenderer.java:
3126 Reformatted.
3127 * javax/swing/undo/StateEditable.java:
3128 Reformatted.
3129
3130 2003-03-24 Michael Koch <konqueror@gmx.de>
3131
3132 * java/rmi/activation/ActivationInstantiator.java:
3133 Reformatted.
3134 * java/rmi/activation/Activator.java:
3135 Reformatted.
3136 * java/rmi/registry/RegistryHandler.java:
3137 Remerged from classpath.
3138
3139 2003-03-24 Michael Koch <konqueror@gmx.de>
3140
3141 * java/util/Date.java:
3142 Fixed documentation starting tag to make javadoc happy.
3143 * java/util/regex/Pattern.java
3144 (Pattern): Implements Serializable.
3145 * java/util/PatternSyntaxException.java
3146 (serialVersionUID): New member variable.
3147
3148 2003-03-24 Michael Koch <koqnueror@gmx.de>
3149
3150 * java/awt/ContainerOrderFocusTraversalPolicy.java
3151 (getFirstComponent): Implemented.
3152 (getLastComponent): Implemented.
3153 (getDefaultComponent): Implemented.
3154 (setImplicitDownCycleTraversal): Fixed implementation.
3155 * java/awt/Robot.java
3156 (Robot): Added documentation.
3157 * java/awt/Toolkit.java
3158 (getFontList): Deprecated.
3159 (getFontMetrics): Deprecated.
3160 (getPrintJob): Added documentation.
3161 (getSystemSelection): Added documentation.
3162 (getLockingKeyState): Added documentation.
3163 (setLockingKeyState): Added documentation.
3164 (createCustomCursor): Added documentation.
3165 (getBestCursorSize): Added documentation.
3166 (getMaximumCursorColors): Added documentation.
3167 (isFrameStateSupported): Added documentation.
3168
3169 2003-03-24 Michael Koch <konqueror@gmx.de>
3170
3171 * java/io/RandomAccessFile.java:
3172 More little merges with classpath. No code changes.
3173
3174 2003-03-24 Michael Koch <konqueror@gmx.de>
3175
3176 * java/net/natInetAddressNoNet.cc:
3177 Include stddef.h.
3178 * java/net/natPlainDatagramSocketImplNoNet.cc:
3179 Fixed inlcude of java/net/DatagramPacket.h.
3180 * java/net/natPlainSocketImplNoNet.cc:
3181 Include some missing classes.
3182
3183 2003-03-24 Michael Koch <konqueror@gmx.de>
3184
3185 * java/awt/dnd/DropTarget.java
3186 (DropTargetAutoScroller): According to the online documentation, this
3187 is protected, but in reality it is public.
3188 * java/awt/dnd/DropTargetContext.java
3189 (TransferableProxy): According to the online documentation, this
3190 is protected, but in reality it is public.
3191
3192 2003-03-24 Michael Koch <konqueror@gmx.de>
3193
3194 * java/io/DataInputStream.java
3195 (): Wrapped documentation line.
3196 (): Fixed @return tag.
3197 * java/io/DataOutputStream.java
3198 (written): Moved to top of class.
3199 (all methods): Merged documentation from classpath.
3200 * java/io/File.java:
3201 Merged copyright year with classpath.
3202 * java/io/FileInputStream.java
3203 (all methods): Merged documentation from classpath.
3204 * java/io/LineNumberReader.java
3205 (getLineNumber): Fixed @return tag.
3206 * java/io/ObjectInputStream.java.
3207 Reformatted.
3208 * java/io/ObjectOutputStream.java:
3209 Reformatted, fixed some @see tags.
3210 * java/io/OutputStreamWriter.java:
3211 Deleted empty line.
3212 * java/io/Writer.java:
3213 Reformatted.
3214
3215 2003-03-24 Michael Koch <konqueror@gmx.de>
3216
3217 * java/awt/Frame.java
3218 (DEFAULT_CURSOR): Fixed @deprecated tag.
3219 (setCursor): Fixed @deprecated tag.
3220
3221 2003-03-24 Michael Koch <konqueror@gmx.de>
3222
3223 * java/beans/beancontext/BeanContextEvent.java:
3224 Reformated.
3225
3226 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3227
3228 * java/lang/natStringBuffer.cc (regionMatches): New function.
3229 * java/lang/String.java (count): Now package-private.
3230 * java/lang/StringBuffer.java: Merged with Classpath.
3231
3232 2003-03-23 Michael Koch <konqueror@gmx.de>
3233
3234 * java/io/BufferedOutputStream.java:
3235 Reformated.
3236 * java/io/BufferedReader.java:
3237 Reformated.
3238 * java/io/ByteArrayOutputStream.java
3239 (size): Fixed @see tag.
3240 * java/io/CharArrayWriter.java
3241 (size): Fixed @see tag.
3242 * java/io/DataInput.java:
3243 Reformated.
3244 * java/io/DataOutput.java:
3245 Reformated.
3246 * java/io/DataOutputStream.java:
3247 Merged copyright years with classpath.
3248 * java/io/Externalizable.java:
3249 Reformated.
3250 * java/io/FileFilter.java:
3251 Reformated.
3252 * java/io/FileInputStream.java:
3253 Merged copyright years with classpath.
3254 * java/io/FileOutputStream.java:
3255 Merged copyright years with classpath.
3256 * java/io/FilePermission.java
3257 (FilePermission): Replaced @XXX with FIXME:.
3258 * java/io/FileWriter.java:
3259 Reformated.
3260 * java/io/FilenameFilter.java:
3261 Reformated.
3262 * java/io/FilterInputStream.java:
3263 Reformated.
3264 * java/io/FilterOutputStream.java:
3265 Reformated.
3266 * java/io/FilterReader.java:
3267 Reformated.
3268 * java/io/FilterWriter.java:
3269 Reformated.
3270 * java/io/LineNumberInputStream.java
3271 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3272 happy.
3273 (getLineNumber): Fixed @return tag.
3274 * java/io/ObjectInput.java:
3275 Reformated.
3276 * java/io/ObjectOutput.java:
3277 Reformated.
3278 * java/io/ObjectStreamClass.java:
3279 Reformated.
3280 * java/io/PrintStream.java:
3281 Merged copyright years with classpath.
3282 * java/io/PushbackReader.java
3283 (PushbackReader): Replaced @code with @param.
3284 * java/io/SerializablePermission.java:
3285 Reformated.
3286 * java/io/StreamTokenizer.java
3287 (resetSyntax): Fixed @see tag.
3288
3289 2003-03-22 Richard Henderson <rth@redhat.com>
3290
3291 * sysdep/ia64/locks.h: Include ia64intrin.h.
3292 (compare_and_swap): Use __sync_bool_compare_and_swap.
3293 (compare_and_swap_release): Expose ar.ccv assignment.
3294
3295 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3296
3297 * include/posix.h: Add suffix for darwin dynamic libraries.
3298
3299 2003-03-21 Michael Koch <konqueror@gmx.de>
3300
3301 * javax/swing/Action.java
3302 (ACCELERATOR_KEY): New constant.
3303 (ACTION_COMMAND_KEY): Likewise.
3304 (MNEMONIC_KEY): Likewise.
3305 * javax/swing/UnsupportedLookAndFeelException.java
3306 (UnsupportedLookAndFeelException): Must be public.
3307 * javax/swing/WindowConstants.java
3308 (EXIT_ON_CLOSE): New constant.
3309 * javax/swing/text/BadLocationException.java
3310 (offset): New member variable.
3311 (BadLocationException): New implementation, documentation added.
3312 (offsetRequested): New method.
3313 * javax/swing/text/Caret.java:
3314 Reformated.
3315 * javax/swing/text/Document.java:
3316 Reformated.
3317
3318 2003-03-21 Michael Koch <konqueror@gmx.de>
3319
3320 * java/rmi/activation/Activatable.java
3321 (serialVersionUID): New member variable.
3322 * java/rmi/activation/ActivationGroup.java
3323 (serialVersionUID): New member variable.
3324 * java/rmi/activation/ActivationGroupDesc.java
3325 (serialVersionUID): New member variable.
3326 * java/rmi/registry/Registry.java:
3327 Reformated.
3328 (Registry): Deprecated.
3329 * java/rmi/server/LoaderHandler.java
3330 Reformated.
3331 (LoaderHandler): Deprecated.
3332 * java/rmi/server/LogStream.java
3333 Reformated.
3334 (LogStream): Deprecated.
3335 * java/rmi/server/Operation.java
3336 (Operation): Deprecated.
3337 * java/rmi/server/RMIFailureHandler.java:
3338 Reformated.
3339 * java/rmi/server/RMISocketFactory.java:
3340 Reformated.
3341 * java/rmi/server/RemoteCall.java
3342 (RemoteCall): Deprecated.
3343 * java/rmi/server/RemoteStub.java:
3344 Reformated.
3345 * java/rmi/server/Skeleton.java
3346 Reformated.
3347 (Skeleton): Deprecated.
3348
3349 2003-03-21 Michael Koch <konqueror@gmx.de>
3350
3351 * java/io/LineNumberReader.java
3352 (LineNumberReader): Merged documentation with classpath.
3353 (getLineNumber): Likewise.
3354 (setLineNumber): Likewise.
3355 (mark): Likewise.
3356 (reset): Likewise.
3357 (read): Likewise.
3358 (readLine): Likewise.
3359 (skip): Likewise.
3360
3361 2003-03-21 Michael Koch <konqueror@gmx.de>
3362
3363 * java/rmi/RMISecurityManager.java
3364 (checkAccept): Removed.
3365 (checkAccess): Likewise.
3366 (checkAccess): Likewise.
3367 (checkAwtEventQueueAccess): Likewise.
3368 (checkConnect): Likewise.
3369 (checkCreateClassLoader): Likewise.
3370 (checkDelete): Likewise.
3371 (checkExec): Likewise.
3372 (checkExit): Likewise.
3373 (checkLink): Likewise.
3374 (checkListen): Likewise.
3375 (checkMemberAccess): Likewise.
3376 (checkMulticast): Likewise.
3377 (checkPackageAccess): Likewise.
3378 (checkPackageDefinition): Likewise.
3379 (checkPermission): Likewise.
3380 (checkPrintJobAccess): Likewise.
3381 (checkPropertiesAccess): Likewise.
3382 (checkPropertyAccess): Likewise.
3383 (checkRead): Likewise.
3384 (checkSecurityAccess): Likewise.
3385 (checkSetFactory): Likewise.
3386 (checkSystemClipboardAccess): Likewise.
3387 (checkTopLevelWindow): Likewise.
3388 (checkWrite): Likewise.
3389
3390 2003-03-20 Michael Koch <konqueror@gmx.de>
3391
3392 * gnu/java/nio/FileChannelImpl.java
3393 (address): Removed.
3394 (map_address): New member variable.
3395 (length): Make it package private.
3396 (fd): Make it package private.
3397 (buf): Make it package private.
3398 (file_obj): Make it package private.
3399 (FileChannelImpl): New constructor.
3400 (nio_mmap_file): Use RawData instead of long.
3401 (nio_munmap_file): Use RawData instead of long.
3402 (nio_msync): Use RawData instead of long.
3403 (implCloseChannel): New implementation using map_address.
3404 (read): Reformated.
3405 (map): Implemented.
3406 (create_direct_mapped_buffer): Implemented, use RawData, throws
3407 IOException.
3408 (force): Use map_address instead of address.
3409 * gnu/java/nio/MappedByteFileBuffer.java
3410 (address): Removed.
3411 (map_address): New member variable.
3412 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3413 (several methods): Use map_address instead of address, replaced long
3414 with RawData where appropriate.
3415 * gnu/java/nio/natFileChannelImpl.cc
3416 (nio_mmap_file): Replaced long with RawData.
3417 (nio_munmap_file): Replaced long with RawData.
3418 (nio_msync): Replaced long with RawData.
3419 * gnu/java/nio/natMappedByteFileBuffer.cc
3420 (several methods): Replaced long with RawData where appropriate.
3421
3422 2003-03-20 Michael Koch <konqueror@gmx.de>
3423
3424 * java/net/InetAddress.java,
3425 java/net/JarURLConnection.java,
3426 java/net/PlainDatagramSocketImpl.java,
3427 java/net/PlainSocketImpl.java,
3428 java/net/URLConnection.java:
3429 Merged copyright statements with classpath for easier merging.
3430
3431 2003-03-20 Michael Koch <konqueror@gmx.de>
3432
3433 * java/io/FileInputStream.java
3434 (getChannel): New implementation.
3435 * java/io/FileOutputStream.java
3436 (ch): New member variable.
3437 (getChannel): Implemented.
3438 * java/io/RandomAccessFile.java
3439 (RandomAccessFile): Throws FileNotFoundException instead of
3440 IOException.
3441 (getChannel): New method.
3442 (ch): New member variable.
3443
3444 2003-03-20 Michael Koch <konqueror@gmx.de>
3445
3446 * java/io/DataOutputStream.java,
3447 java/io/File.java,
3448 java/io/FileInputStream.java,
3449 java/io/FileOutputStream.java,
3450 java/io/InputStreamReader.java,
3451 java/io/LineNumberReader.java,
3452 java/io/OutputStreamWriter.java,
3453 java/io/PrintStream.java,
3454 java/io/RandomAccessFile.java:
3455 Merged copyright statements with classpath for easier merging.
3456
3457 2003-03-19 Michael Koch <konqueror@gmx.de>
3458
3459 * java/lang/Process.java:
3460 Merged from classpath.
3461
3462 2003-03-19 Michael Koch <konqueror@gmx.de>
3463
3464 * java/io/FileOutputStream.java
3465 (FileOutputStream): New constructor, merged from classpath.
3466 * java/io/FileWriter.java
3467 (FileWriter): New constructor, merged from classpath.
3468
3469 2003-03-18 Michael Koch <konqueror@gmx.de>
3470
3471 * java/awt/ScrollPane.java
3472 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3473 (getViewportSize): Likewise.
3474 (addNotify): Likewise.
3475 (removeNotify): Likewise.
3476 * java/awt/ScrollPaneAdjustable.java
3477 (ScrollPaneAdjustable): No longer extends Scrollbar.
3478 * java/beans/beancontext/BeanContextServices.java:
3479 Reformated.
3480 (getService): Added throws TooManyListenersException;
3481 * java/beans/beancontext/BeanContextServicesSupport.java:
3482 Reformated.
3483
3484 2003-03-18 Michael Koch <konqueror@gmx.de>
3485
3486 * java/io/BufferedOutputStream.java,
3487 java/io/DataInput.java,
3488 java/io/DataInputStream.java,
3489 java/io/DataOutput.java,
3490 java/io/Externalizable.java:
3491 More merges from classpath.
3492
3493 2003-03-18 Michael Koch <konqueror@gmx.de>
3494
3495 * configure.in: Fixed links to platform dependant java.net files.
3496 * configure: Regenerated.
3497 * java/net/natInetAddress.cc,
3498 java/net/natNetworkInterface.cc,
3499 java/net/natPlainDatagramSocketImpl.cc,
3500 java/net/natPlainSocketImpl.cc:
3501 Removed.
3502
3503 2003-03-18 Michael Koch <konqueror@gmx.de>
3504
3505 * configure.in: Create links to architecture dependent files,
3506 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3507 * configure: Regenerated.
3508 * java/net/natInetAddressNoNet.cc,
3509 java/net/natInetAddressPosix.cc,
3510 java/net/natInetAddressWin32.cc,
3511 java/net/natNetworkInterfaceNoNet.cc,
3512 java/net/natNetworkInterfacePosix.cc,
3513 java/net/natNetworkInterfaceWin32.cc,
3514 java/net/natPlainDatagramSocketImplNoNet.cc,
3515 java/net/natPlainDatagramSocketImplPosix.cc,
3516 java/net/natPlainDatagramSocketImplWin32.cc,
3517 java/net/natPlainSocketImplNoNet.cc,
3518 java/net/natPlainSocketImplPosix.cc,
3519 java/net/natPlainSocketImplWin32.cc: New files.
3520
3521 2003-03-18 Michael Koch <konqueror@gmx.de>
3522
3523 * java/io/BufferedReader.java,
3524 java/io/BufferedWriter.java,
3525 java/io/ByteArrayOutputStream.java,
3526 java/io/FileFilter.java,
3527 java/io/FilePermission.java,
3528 java/io/FileReader.java,
3529 java/io/FileWriter.java,
3530 java/io/FilenameFilter.java,
3531 java/io/FilterInputStream.java,
3532 java/io/FilterOutputStream.java,
3533 java/io/FilterReader.java,
3534 java/io/FilterWriter.java,
3535 java/io/ObjectInput.java,
3536 java/io/ObjectInputValidation.java,
3537 java/io/ObjectOutput.java,
3538 java/io/ObjectStreamField.java,
3539 java/io/PipedInputStream.java,
3540 java/io/PipedReader.java,
3541 java/io/PrintWriter.java,
3542 java/io/PushbackReader.java,
3543 java/io/Reader.java,
3544 java/io/SerializablePermission.java,
3545 java/io/StringReader.java,
3546 java/io/Writer.java:
3547 Merged from classpath.
3548
3549 2003-03-17 Michael Koch <konqueror@gmx.de>
3550
3551 * java/awt/ScrollPaneAdjustable.java:
3552 Compile fixes.
3553
3554 2003-03-17 Michael Koch <konqueror@gmx.de>
3555
3556 * java/net/DatagramSocket.java
3557 (connect): Fixed comment.
3558 * java/nio/ByteBuffer.java
3559 (hasArray): Fixed comment.
3560
3561 2003-03-17 Michael Koch <konqueror@gmx.de>
3562
3563 * java/beans/Beans.java:
3564 Explicitely import classes not packages.
3565 * java/beans/FeatureDescriptor.java
3566 (preferred): New member variable.
3567 (isPreferred): New method.
3568 (setPreferred): New method.
3569 * java/beans/PropertyEditorManager.java:
3570 Explicitely import used classes.
3571 * java/beans/beancontext/BeanContextChild.java:
3572 Added line wrapping.
3573 * java/beans/beancontext/BeanContextChildSupport.java:
3574 Reindented.
3575 * java/beans/beancontext/BeanContextEvent.java:
3576 Reindented.
3577
3578 2003-03-17 Michael Koch <konqueror@gmx.de>
3579
3580 * java/awt/Dialog.java
3581 (Dialog): New constructor, changed implementations, added
3582 documentation.
3583 * java/awt/ScrollPaneAdjustable.java
3584 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3585 Serializable.
3586 (serialVersionUID): New member variable.
3587 (sp): New member variable.
3588 (orientation): New member variable.
3589 (value): New member variable.
3590 (minimum): New member variable.
3591 (maximum): New member variable.
3592 (visibleAmount): New member variable.
3593 (unitIncrement): New member variable.
3594 (blockIncrement): New member variable.
3595 (AdjustmentListener): New member variable.
3596 (ScrollPaneAdjustable): New implementation.
3597 (addAdjustmentListener): New method.
3598 (removeAdjustmentListener): New method.
3599 (getAdjustmentListeners): New method.
3600 (getBlockIncrement): New method.
3601 (getMaximum): New method.
3602 (getMinimum): New method.
3603 (getOrientation): New method.
3604 (getUnitIncrement): New method.
3605 (getValue): New method.
3606 (getVisibleAmount): New method.
3607 (setBlockIncrement): New method.
3608 (setMaximum): Implemented.
3609 (setMinimum): Implemented.
3610 (setUnitIncrement): New method.
3611 (setValue): New method.
3612 (setVisibleAmount): Implemented.
3613 (paramString): New stubbed method.
3614 * java/awt/Window.java
3615 (show): Call setVisible().
3616 (hide): Call setVisible().
3617 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3618 and WINDOW_STATE_CHANGED.
3619 (processWindowFocusEvent): New method.
3620 (processWindowStateEvent): New method.
3621 (postEvent): Deprecated.
3622 (applyResourceBundle): Deprecated.
3623 * java/awt/datatransfer/DataFlavor.java
3624 (DataFlavor): Doesn't thow ClassNotFoundException.
3625
3626 2003-03-17 Michael Koch
3627
3628 * javax/print/attribute/Attribute.java,
3629 javax/print/attribute/AttributeSet.java,
3630 javax/print/attribute/PrintRequestAttributeSet.java:
3631 New files.
3632 * Makefile.am
3633 (javax_source_files): Added new files:
3634 javax/print/attribute/Attribute.java
3635 javax/print/attribute/AttributeSet.java
3636 javax/print/attribute/PrintRequestAttributeSet.java
3637 * Makefile.in: Regenerated.
3638
3639 2003-03-17 Michael Koch
3640
3641 * javax/print/attribute/Attribute.java,
3642 javax/print/attribute/AttributeSet.java,
3643 javax/print/attribute/PrintRequestAttributeSet.java:
3644 New files.
3645 * Makefile.am
3646 (awt_java_source_files): Added new files:
3647 javax/print/attribute/Attribute.java
3648 javax/print/attribute/AttributeSet.java
3649 javax/print/attribute/PrintRequestAttributeSet.java
3650 * Makefile.in: Regenerated.
3651
3652 2003-03-16 Tom Tromey <tromey@redhat.com>
3653
3654 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3655 Include platform.h.
3656 * java/lang/natRuntime.cc (insertSystemProperties): Use
3657 _Jv_platform_path_separator.
3658 (nativeGetLibname): Use _Jv_platform_file_separator.
3659 (_load): Use _Jv_platform_onload_names.
3660 (onload_names): New global.
3661 * include/win32.h (_Jv_platform_file_separator): New define.
3662 (_Jv_platform_path_separator): Likewise.
3663 (_Jv_platform_onload_names): Likewise.
3664 (_Jv_platform_ffi_abi): Likewise.
3665 * include/posix.h (_Jv_platform_file_separator): New define.
3666 (_Jv_platform_path_separator): Likewise.
3667 (_Jv_platform_onload_names): Likewise.
3668 (_Jv_platform_ffi_abi): Likewise.
3669
3670 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3671
3672 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3673
3674 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3675
3676 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3677 hierarchy loop.
3678 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3679 list to Object,ObjectStreamClass, moved callReadMethod code up into
3680 readObject and added Class argument to all setXxxField calls.
3681 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3682 consistent with ObjectOutputStream and to facilitate caching the
3683 Method in the future.
3684 (setBooleanField): Added Class argument.
3685 (setByteField): Likewise.
3686 (setCharField): Likewise.
3687 (setDoubleField): Likewise.
3688 (setFloatField): Likewise.
3689 (setIntField): Likewise.
3690 (setLongField): Likewise.
3691 (setShortField): Likewise.
3692 (setObjectField): Likewise.
3693 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3694 class hierarchy loop.
3695 (defaultWriteObject): Call writeFields with new argument list.
3696 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3697 list to Object,ObjectStreamClass, moved callWriteMethod up into
3698 writeObject and added Class argument to all getXxxField calls.
3699 (callWriteMethod): Added ObjectStreamClass argument to be able to
3700 get the proper class to call getMethod on (each class can have (or
3701 not have) its own writeObject method).
3702 (getBooleanField): Added Class argument.
3703 (getByteField): Likewise.
3704 (getCharField): Likewise.
3705 (getDoubleField): Likewise.
3706 (getFloatField): Likewise.
3707 (getIntField): Likewise.
3708 (getLongField): Likewise.
3709 (getShortField): Likewise.
3710 (getObjectField): Likewise.
3711 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3712 facilitate caching the Method object in the future.
3713
3714 2003-03-12 Andreas Schwab <schwab@suse.de>
3715
3716 * configure.in: Avoid trailing /. in toolexeclibdir.
3717 * configure: Rebuilt.
3718
3719 2003-03-11 Michael Koch <konqueror@gmx.de>
3720
3721 * gnu/java/nio/ByteBufferImpl.java
3722 (putInt): Use limit() instead of limit.
3723 * gnu/java/nio/CharBufferImpl.java
3724 (slice): Fixed implementation.
3725 (subSequence): Better bounds checking.
3726 * gnu/java/nio/MappedByteFileBuffer.java:
3727 Import all needed classes directly.
3728 * java/nio/ByteBuffer.java
3729 (hashCode): New dummy method.
3730 * java/nio/CharBuffer.java
3731 (array_offset): New member variable.
3732 (hasArray): Fixed documentation.
3733 (arrayOffset): Return array_offset.
3734
3735 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3736
3737 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3738 setter; made return value of getter const char* instead of char*
3739 * prims.cc: removed all references to _Jv_ThisExecutable().
3740 These are in the platform-specific sections now.
3741 * posix.cc: define platform-specific _Jv_ThisExecutable().
3742 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3743 * win32.cc: define platform-specific _Jv_ThisExecutable()
3744 using GetModuleFilename()
3745 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3746 to argv[0] instead of _Jv_ThisExecutable()
3747
3748 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3749
3750 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3751 that is set if we are using addr2name.awk instead of addr2line.
3752 (NameFinder): Set usingAddr2name if using addr2name.awk.
3753 (getExternalLabel): New native method to convert a method
3754 name to an external label.
3755 (lookup): Convert name given by addr2line to an external label
3756 before demangling.
3757
3758 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3759 constant representing the prefix attached to method names to
3760 convert them to an external label.
3761 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3762 using LABEL_PREFIX.
3763
3764 2003-03-10 Tom Tromey <tromey@redhat.com>
3765
3766 * Makefile.in: Rebuilt.
3767 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3768 (JC1FLAGS): Removed -Wno-deprecated.
3769
3770 2003-03-10 Michael Koch <konqueror@gmx.de>
3771
3772 * java/nio/ByteOrder.java
3773 (nativeOrder): Working implementation, added documentation.
3774 (toString): Added documentation.
3775
3776 2003-03-10 Michael Koch <konqueror@gmx.de>
3777
3778 * java/net/DatagramSocket.java,
3779 java/net/MulticastSocket.java,
3780 java/net/Socket.java,
3781 java/net/URL.java,
3782 java/net/URLConnection.java:
3783 Fixed some documentation tags to make javadoc and friends happy.
3784
3785 2003-03-10 Michael Koch <koqnueror@gmx.de>
3786
3787 * java/beans/beancontext/BeanContextServicesSupport.java,
3788 java/beans/beancontext/BeanContextSupport.java: New files.
3789 * Makefile.am
3790 (awt_source_files): Added new files.
3791 * Makefile.in: Regenerated.
3792
3793 2003-03-10 Michael Koch <konqueror@gmx.de>
3794
3795 * java/awt/FocusTraversalPolicy.java
3796 (FocusTraversalPolicy): Documentation added.
3797 (getComponentAfter): Documentation added.
3798 (getComponentBefore): Documentation added.
3799 (getFirstComponent): Documentation added.
3800 (getLastComponent): Documentation added.
3801 (getDefaultComponent): Documentation added.
3802 (getInitialComponent): Documentation added.
3803 * java/awt/ScrollPaneAdjustable.java
3804 (sp): New member variable.
3805 (orientation): New member variable.
3806 (value): New member variable.
3807 (minimum): New member variable.
3808 (maximum): New member variable.
3809 (visibleAmount): New member variable.
3810 (unitIncrement): New member variable.
3811 (blockIncrement): New member variable.
3812 (adjustmentListener): New member variable.
3813 (ScrollPaneAdjustable): Rewrote.
3814 (addAdjustmentListener): New method.
3815 (removeAdjustmentListener): New method.
3816 (getAdjustmentListeners): New method.
3817 (getBlockIncrement): New method.
3818 (getMaximum): New method.
3819 (getMinimum): New method.
3820 (getOrientation): New method.
3821 (getUnitIncrement): New method.
3822 (getValue): New method.
3823 (getVisibleAmount): New method.
3824 (setBlockIncrement): New method.
3825 (setUnitIncrement): New method.
3826 (setMaximum): Implemented.
3827 (setMinimum): Implemented.
3828 (setValue): New method.
3829 (setVisibleAmount): Implemented.
3830 (paramString): New method.
3831 * java/awt/Window.java
3832 (show): Use setVisible(true) instead of super.show().
3833 (hide): Use sevVisible(false) instead of super.hide().
3834 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3835 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3836 (postEvent): Deprecated.
3837 (applyResourceBundle): Deprecated.
3838 (processWindowFocusEvent): New method.
3839 (processWindowStateEvent): New method.
3840 * java/awt/datatransfer/DataFlavor.java: Reindented.
3841 * java/awt/font/TextHitInfo.java
3842 (charIndex): New member variable.
3843 (leadingEdge): New member variable.
3844 (TextHitInfo): New constructor.
3845 (getCharIndex): Implemented.
3846 (isLeadingEdge): Implemented.
3847 (getInsertionIndex): Implemented.
3848 (hashCode): Access charIndex directly.
3849 (equals): Reformated.
3850 (leading): Implemented.
3851 (trailing): Implemented.
3852 (beforeOffset): Implemented.
3853 (afterOffset): Implemented.
3854 (getOtherHit): Implemented.
3855 (getOffsetHit): Implemented.
3856 (toString): Implemented.
3857 * java/awt/image/BufferedImage.java
3858 (BufferedImage): Implements WritableRenderedImage.
3859 (observers): New member variable.
3860 (addTileObserver): New method.
3861 (removeTileObserver): New method.
3862
3863 2003-03-09 Tom Tromey <tromey@redhat.com>
3864
3865 PR libgcj/9934:
3866 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3867 to lseek. Return 0 if we can't compute the value.
3868
3869 2003-03-03 Michael Koch <konqueror@gmx.de>
3870
3871 * java/net/NetworkInterface.java: Merged with classpath.
3872
3873 2003-03-03 Tom Tromey <tromey@redhat.com>
3874
3875 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3876 of bytecode.
3877 (handle_ret_insn): Fail if returning to jsr that appears at end of
3878 bytecode.
3879
3880 2003-03-03 Michael Koch <konqueror@gmx.de>
3881
3882 * Makefile.am
3883 (ordinary_java_source_files):
3884 Added gnu/java/nio/MappedByteFileBuffer.java.
3885 (nat_source_files):
3886 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3887 * Makefile.in: Regenerated.
3888
3889 2003-03-03 Michael Koch <konqueror@gmx.de>
3890
3891 * java/net/DatagramSocket.java
3892 (connect): Merged comment from classpath.
3893 (receive): Merged documentation from classpath.
3894 * java/net/Socket.java
3895 (setSoTimeout): Clarified documentation.
3896 * java/net/URL.java
3897 (getPath): Merged from classpath.
3898 (getUserInfo): Merged from classpath.
3899 (getQuery): Merged from classpath.
3900 * java/net/URLStreamHandler.java
3901 (toExternalForm): Merged from classpath.
3902
3903 2003-03-02 Mark Wielaard <mark@klomp.org>
3904
3905 * java/util/Properties.java (load): Only skip line if the first
3906 character is a comment, whitespaces don't count.
3907
3908 2003-03-02 Michael Koch <konqueror@gmx.de>
3909
3910 * java/net/NetPermission.java:
3911 Merged copyright with classpath.
3912
3913 2003-03-02 Michael Koch <konqueror@gmx.de>
3914
3915 * java/lang/Package.java:
3916 Remerged from classpath.
3917
3918 2003-03-02 Michael Koch <konqueror@gmx.de>
3919
3920 * java/net/HttpURLConnection.java
3921 (HTTP_SERVER_ERROR): Deprecated.
3922 * java/net/MulticastSocket.java
3923 (send): Replaced checkMulticast with appropriate checkPermission call,
3924 deprecated.
3925 * java/net/URLDecoder.java
3926 (decode): Deprecated.
3927 * java/net/URLEncoder.java
3928 (encode): Deprecated.
3929
3930 2003-03-02 Michael Koch <konqueror@gmx.de>
3931
3932 * javax/swing/text/Caret.java
3933 (getMagicCaretPosition): Fixed typo in method name.
3934 * javax/swing/text/DefaultCaret.java
3935 (getMagicCaretPosition): Fixed typo in method name.
3936
3937 2003-03-02 Michael Koch <konqueror@gmx.de>
3938
3939 * java/awt/List.java
3940 (setMultipleSelections): Deprecated.
3941 (delItem): Deprecated.
3942 * java/awt/MenuComponent.java
3943 (getPeer): Deprecated.
3944 * java/awt/ScrollPane.java
3945 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3946 * java/awt/dnd/MouseDragGestureRecognizer.java
3947 (mouseClicked): Added comment.
3948 (mousePressed): Added comment.
3949 (mouseReleased): Added comment.
3950 (mouseEntered): Added comment.
3951 (mouseExited): Added comment.
3952 (mouseDragged): Added comment.
3953 (mouseMoved): Added comment.
3954 * java/awt/event/KeyEvent.java
3955 (KeyEvent): Deprecated.
3956 (setModifiers): Deprecated.
3957
3958 2003-03-02 Michael Koch <konqueror@gmx.de>
3959
3960 * gnu/java/nio/FileChannelImpl.java
3961 (fd): Type FileDescriptor instead of int.
3962 (lengthInternal): Removed.
3963 (FileChannelImpl): Fixed arguments, check type of file object.
3964 (size): Made it native.
3965 (implPosition): New native method.
3966 (implTruncate): New native method.
3967 (position): Implemented.
3968 (truncate): Implemented.
3969 (nio_mmap_file): Changed arguments.
3970 (nio_munmap_file): Changed arguments.
3971 (nio_msync): Changed arguments.
3972 * gnu/java/nio/natFileChannelImpl.cc
3973 (lengthInternal): Removed.
3974 (size): New method.
3975 (implPosition): New method.
3976 (implTruncate): New method.
3977 (nio_mmap_file): Changed arguments.
3978 (nio_munmap_file): Changed arguments.
3979 (nio_msync): Changed arguments.
3980
3981 2003-03-02 Michael Koch <konqueror@gmx.de>
3982
3983 * java/awt/dnd/DropTargetContext.java:
3984 Compile fix: Forgot to commit import.
3985
3986 2003-03-02 Michael Koch <konqueror@gmx.de>
3987
3988 * java/awt/Component.java,
3989 java/awt/ScrollPane.java:
3990 Fixed typos.
3991
3992 2003-03-02 Michael Koch <konqueror@gmx.de>
3993
3994 * java/awt/dnd/DnDEventMulticaster.java: New file.
3995 * java/awt/dnd/DragSource.java
3996 (flavorMap): New member variable.
3997 (dragSourceListener): New member variable.
3998 (dragSourceMotionListener): New member variable.
3999 (getFlavorMap): Implemented.
4000 (createDragGestureRecognizer): Implemented.
4001 (addDragSourceListener): Implemented.
4002 (removeDragSourceListener): Implemented.
4003 (getDragSourceListeners): Implemented.
4004 (addDragSourceMotionListener): Implemented.
4005 (removeDragSourceMotionListener): Implemented.
4006 (getDragSourceMotionListeners): Implemented.
4007 (getListeners): Implemented.
4008 * java/awt/dnd/DragSourceContext.java
4009 (peer): New member variable.
4010 (cursor): New member variable.
4011 (transferable): New member variable.
4012 (trigger): New member variable.
4013 (dragSourceListener): New member variable.
4014 (image): New member variable.
4015 (offset): New member variable.
4016 (DragSourceContext): Implemented.
4017 (getDragSource): Implemented.
4018 (getComponent): Implemented.
4019 (getTrigger): Implemented.
4020 (getSourceActions): Implemented.
4021 (setCursor): Implemented.
4022 (getCursor): Implemented.
4023 (addDragSourceListener): Implemented.
4024 (removeDragSourceListener): Implemented.
4025 (getTransferable): Implemented.
4026 * java/awt/dnd/DropTarget.java
4027 (DropTargetAutoScroller.component): New member variable.
4028 (DropTargetAutoScroller.point): New member variable.
4029 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4030 (DropTargetAutoScroller.updateLocation): Implemented.
4031 (active): Renamed from isActive, defaults to true now.
4032 (component): New member variable.
4033 (flavorMap): New member variable.
4034 (actions): New member variable.
4035 (dropTargetContext): New member variable.
4036 (dropTargetListener): New member variable.
4037 (DropTarget): Implemented.
4038 (getComponent): Implemented.
4039 (setComponent): Implemented.
4040 (setDefaultActions): Implemented.
4041 (getDefaultActions): Implemented.
4042 (setActive): Use active instead of isActive.
4043 (isActive): Use active instead of isActive.
4044 (addDropTargetListener): Implemented.
4045 (removeDropTargetListener): Implemented.
4046 (getFlavorMap): Implemented.
4047 (setFlavorMap): Implemented.
4048 (getDropTargetContext): Implemented.
4049 (createDropTargetContext): Implemented.
4050 (createDropTargetAutoScroller): Implemented.
4051 * java/awt/dnd/DropTargetContext.java
4052 (TransferableProxy.getTransferDataFlavors): Implemented.
4053 (TransferableProxy.isDataFlavorSupported): Implemented.
4054 (TransferableProxy.getTransferData): Implemented.
4055 (dropTarget): New member variable.
4056 (dtcp): New member variable.
4057 (DropTargetContext): New package private constructor.
4058 (getDropTarget): Implemented.
4059 (getComponent): Implemented.
4060 (addNotify): Implemented.
4061 (removeNotify): Implemented.
4062 (getCurrentDataFlavorsAsList): Implemented.
4063 (isDataFlavorSupported): Implemented.
4064 * java/awt/dnd/MouseDragGestureRecognizer.java
4065 (registerListeners): Implemented.
4066 (unregisterListeners): Implemented.
4067 * Makefile.am
4068 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4069 * Makefile.in: Regenerated.
4070
4071 2003-03-02 Michael Koch <konqueror@gmx.de>
4072
4073 * java/awt/Component.java
4074 (eventTypeEnabled): New method.
4075 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4076 * java/awt/Container.java
4077 (changeSupport): New member variable.
4078 (addPropertyChangeListener): New methods.
4079 * java/awt/ContainerOrderFocusTraversalPolicy.java
4080 (ContainerOrderFocusTraversalPolicy): Added comment.
4081 (getComponentAfter): Throw exception, documentation added.
4082 (getComponentBefore): Throw exception, documentation added.
4083 (getFirstComponent): Throw exception, documentation added.
4084 (getLastComponent): Throw exception, documentation added.
4085 (getDefaultComponent): Throw exception, documentation added.
4086 * java/awt/EventQueue.java: Reindented.
4087 * java/awt/FocusTraversalPolicy.java:
4088 (FocusTraversalPolicy): Added comment.
4089 (getComponentAfter): Documentation added.
4090 (getComponentBefore): Documentation added.
4091 (getFirstComponent): Documentation added.
4092 (getLastComponent): Documentation added.
4093 (getDefaultComponent): Documentation added.
4094 (getInitialComponent): Documentation added.
4095 * java/awt/ScrollPane.java
4096 (wheelScrollingEnabled): New member variable.
4097 (ScrollPane): Initialize wheelScollingEnabled.
4098 (eventTypeEnabled): New method.
4099 (isWheelScrollingEnabled): New method.
4100 (setWheelScrollingEnabled): New method.
4101
4102 2003-03-02 Michael Koch <konqueror@gmx.de>
4103
4104 * java/net/DatagramSocket.java
4105 (closed): New member variable.
4106 (close): Use closed variable.
4107 (getInetAddress): No need to call isConnected().
4108 (getPort): No need to call isConnected().
4109 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4110 (isClosed): Reimplemented.
4111
4112 2003-03-02 Michael Koch <konqueror@gmx.de>
4113
4114 * configure.in: Added check for memory mapping of files.
4115 * configure: Regenerated.
4116 * config.h.in: Regenerated.
4117
4118 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4119
4120 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4121 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4122
4123 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4124
4125 * java/io/File.java (normalizePath): Remove trailing separator
4126 on Windows only if path is not of the form "x:\".
4127
4128 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4129 (java::io::File::attr): Change formatting a bit and use
4130 WIN32_EPOCH_MILLIS instead of magic numbers.
4131 (java::io::File::isAbsolute): Path must have at least 3
4132 characters for a UNC network path.
4133 (java::io::File::init_native): Define.
4134 (java::io::File::performCreate): Likewise.
4135 (java::io::File::performSetReadOnly): Likewise.
4136 (java::io::File::performSetLastModified): Likewise.
4137 (java::io::File::performListRoots): Likewise.
4138
4139 2003-03-01 Tom Tromey <tromey@redhat.com>
4140
4141 * java/lang/natObject.cc: Don't include assert.h.
4142 (heavy_lock_obj_finalization_proc): Use JvAssert.
4143 (remove_all_heavy): Likewise.
4144 (_Jv_MonitorEnter): Likewise.
4145 (_Jv_MonitorExit): Likewise.
4146 (wait): Likewise.
4147
4148 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4149
4150 * java/io/File (getAbsolutePath): Prefix drive specifier on
4151 Windows for paths starting with a '\'.
4152 (toURL): Make URL more consistent with what Sun's JDK returns.
4153
4154 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4155 true only if the path is a UNC network path or it starts with a
4156 drive specifier.
4157
4158 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4159 Be prepared to handle either '/' or '\\' in the file path for
4160 Windows if using the "file" protocol.
4161 Canonicalise the file path if using a relative path in the given
4162 context and the "file" protocol.
4163
4164 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4165
4166 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4167 program array element passed to CreateProcess.
4168
4169 2003-03-01 Tom Tromey <tromey@redhat.com>
4170
4171 * java/rmi/registry/RegistryHandler.java: Deprecate.
4172
4173 2003-03-01 Tom Tromey <tromey@redhat.com>
4174
4175 * javax/accessibility/AccessibleEditableText.java,
4176 javax/accessibility/AccessibleHyperlink.java: New versions from
4177 Classpath.
4178
4179 * gnu/java/locale/LocaleInformation_af_ZA.java,
4180 gnu/java/locale/LocaleInformation_ar_AE.java,
4181 gnu/java/locale/LocaleInformation_ar_BH.java,
4182 gnu/java/locale/LocaleInformation_ar_DZ.java,
4183 gnu/java/locale/LocaleInformation_ar_EG.java,
4184 gnu/java/locale/LocaleInformation_ar_IN.java,
4185 gnu/java/locale/LocaleInformation_ar_IQ.java,
4186 gnu/java/locale/LocaleInformation_ar_JO.java,
4187 gnu/java/locale/LocaleInformation_ar_KW.java,
4188 gnu/java/locale/LocaleInformation_ar_LB.java,
4189 gnu/java/locale/LocaleInformation_ar_LY.java,
4190 gnu/java/locale/LocaleInformation_ar_MA.java,
4191 gnu/java/locale/LocaleInformation_ar_OM.java,
4192 gnu/java/locale/LocaleInformation_ar_QA.java,
4193 gnu/java/locale/LocaleInformation_ar_SD.java,
4194 gnu/java/locale/LocaleInformation_ar_SY.java,
4195 gnu/java/locale/LocaleInformation_ar_TN.java,
4196 gnu/java/locale/LocaleInformation_ar_YE.java,
4197 gnu/java/locale/LocaleInformation_be_BY.java,
4198 gnu/java/locale/LocaleInformation_bn_IN.java,
4199 gnu/java/locale/LocaleInformation_br_FR.java,
4200 gnu/java/locale/LocaleInformation_bs_BA.java,
4201 gnu/java/locale/LocaleInformation_ca_ES.java,
4202 gnu/java/locale/LocaleInformation_cs_CZ.java,
4203 gnu/java/locale/LocaleInformation_cy_GB.java,
4204 gnu/java/locale/LocaleInformation_da_DK.java,
4205 gnu/java/locale/LocaleInformation_de_AT.java,
4206 gnu/java/locale/LocaleInformation_de_BE.java,
4207 gnu/java/locale/LocaleInformation_de_CH.java,
4208 gnu/java/locale/LocaleInformation_de_DE.java,
4209 gnu/java/locale/LocaleInformation_de_LU.java,
4210 gnu/java/locale/LocaleInformation_el_GR.java,
4211 gnu/java/locale/LocaleInformation_en_AU.java,
4212 gnu/java/locale/LocaleInformation_en_BW.java,
4213 gnu/java/locale/LocaleInformation_en_CA.java,
4214 gnu/java/locale/LocaleInformation_en_DK.java,
4215 gnu/java/locale/LocaleInformation_en_GB.java,
4216 gnu/java/locale/LocaleInformation_en_HK.java,
4217 gnu/java/locale/LocaleInformation_en_IE.java,
4218 gnu/java/locale/LocaleInformation_en_IN.java,
4219 gnu/java/locale/LocaleInformation_en_NZ.java,
4220 gnu/java/locale/LocaleInformation_en_PH.java,
4221 gnu/java/locale/LocaleInformation_en_SG.java,
4222 gnu/java/locale/LocaleInformation_en_US.java,
4223 gnu/java/locale/LocaleInformation_en_ZA.java,
4224 gnu/java/locale/LocaleInformation_en_ZW.java,
4225 gnu/java/locale/LocaleInformation_es_AR.java,
4226 gnu/java/locale/LocaleInformation_es_BO.java,
4227 gnu/java/locale/LocaleInformation_es_CL.java,
4228 gnu/java/locale/LocaleInformation_es_CO.java,
4229 gnu/java/locale/LocaleInformation_es_CR.java,
4230 gnu/java/locale/LocaleInformation_es_DO.java,
4231 gnu/java/locale/LocaleInformation_es_EC.java,
4232 gnu/java/locale/LocaleInformation_es_ES.java,
4233 gnu/java/locale/LocaleInformation_es_GT.java,
4234 gnu/java/locale/LocaleInformation_es_HN.java,
4235 gnu/java/locale/LocaleInformation_es_MX.java,
4236 gnu/java/locale/LocaleInformation_es_NI.java,
4237 gnu/java/locale/LocaleInformation_es_PA.java,
4238 gnu/java/locale/LocaleInformation_es_PE.java,
4239 gnu/java/locale/LocaleInformation_es_PR.java,
4240 gnu/java/locale/LocaleInformation_es_PY.java,
4241 gnu/java/locale/LocaleInformation_es_SV.java,
4242 gnu/java/locale/LocaleInformation_es_US.java,
4243 gnu/java/locale/LocaleInformation_es_UY.java,
4244 gnu/java/locale/LocaleInformation_es_VE.java,
4245 gnu/java/locale/LocaleInformation_et_EE.java,
4246 gnu/java/locale/LocaleInformation_eu_ES.java,
4247 gnu/java/locale/LocaleInformation_fa_IR.java,
4248 gnu/java/locale/LocaleInformation_fi_FI.java,
4249 gnu/java/locale/LocaleInformation_fo_FO.java,
4250 gnu/java/locale/LocaleInformation_fr_BE.java,
4251 gnu/java/locale/LocaleInformation_fr_CA.java,
4252 gnu/java/locale/LocaleInformation_fr_CH.java,
4253 gnu/java/locale/LocaleInformation_fr_FR.java,
4254 gnu/java/locale/LocaleInformation_fr_LU.java,
4255 gnu/java/locale/LocaleInformation_ga_IE.java,
4256 gnu/java/locale/LocaleInformation_gd_GB.java,
4257 gnu/java/locale/LocaleInformation_gl_ES.java,
4258 gnu/java/locale/LocaleInformation_gv_GB.java,
4259 gnu/java/locale/LocaleInformation_he_IL.java,
4260 gnu/java/locale/LocaleInformation_hi_IN.java,
4261 gnu/java/locale/LocaleInformation_hr_HR.java,
4262 gnu/java/locale/LocaleInformation_hu_HU.java,
4263 gnu/java/locale/LocaleInformation_id_ID.java,
4264 gnu/java/locale/LocaleInformation_it_CH.java,
4265 gnu/java/locale/LocaleInformation_it_IT.java,
4266 gnu/java/locale/LocaleInformation_iw_IL.java,
4267 gnu/java/locale/LocaleInformation_ja_JP.java,
4268 gnu/java/locale/LocaleInformation_ka_GE.java,
4269 gnu/java/locale/LocaleInformation_kl_GL.java,
4270 gnu/java/locale/LocaleInformation_ko_KR.java,
4271 gnu/java/locale/LocaleInformation_kw_GB.java,
4272 gnu/java/locale/LocaleInformation_lt_LT.java,
4273 gnu/java/locale/LocaleInformation_lv_LV.java,
4274 gnu/java/locale/LocaleInformation_mi_NZ.java,
4275 gnu/java/locale/LocaleInformation_mk_MK.java,
4276 gnu/java/locale/LocaleInformation_mr_IN.java,
4277 gnu/java/locale/LocaleInformation_mt_MT.java,
4278 gnu/java/locale/LocaleInformation_nl_BE.java,
4279 gnu/java/locale/LocaleInformation_nl_NL.java,
4280 gnu/java/locale/LocaleInformation_nn_NO.java,
4281 gnu/java/locale/LocaleInformation_no_NO.java,
4282 gnu/java/locale/LocaleInformation_oc_FR.java,
4283 gnu/java/locale/LocaleInformation_pl_PL.java,
4284 gnu/java/locale/LocaleInformation_pt_BR.java,
4285 gnu/java/locale/LocaleInformation_pt_PT.java,
4286 gnu/java/locale/LocaleInformation_ro_RO.java,
4287 gnu/java/locale/LocaleInformation_ru_RU.java,
4288 gnu/java/locale/LocaleInformation_ru_UA.java,
4289 gnu/java/locale/LocaleInformation_se_NO.java,
4290 gnu/java/locale/LocaleInformation_sk_SK.java,
4291 gnu/java/locale/LocaleInformation_sl_SI.java,
4292 gnu/java/locale/LocaleInformation_sq_AL.java,
4293 gnu/java/locale/LocaleInformation_sr_YU.java,
4294 gnu/java/locale/LocaleInformation_sv_FI.java,
4295 gnu/java/locale/LocaleInformation_sv_SE.java,
4296 gnu/java/locale/LocaleInformation_ta_IN.java,
4297 gnu/java/locale/LocaleInformation_te_IN.java,
4298 gnu/java/locale/LocaleInformation_tg_TJ.java,
4299 gnu/java/locale/LocaleInformation_tl_PH.java,
4300 gnu/java/locale/LocaleInformation_tr_TR.java,
4301 gnu/java/locale/LocaleInformation_uk_UA.java,
4302 gnu/java/locale/LocaleInformation_ur_PK.java,
4303 gnu/java/locale/LocaleInformation_uz_UZ.java,
4304 gnu/java/locale/LocaleInformation_vi_VN.java,
4305 gnu/java/locale/LocaleInformation_yi_US.java,
4306 gnu/java/locale/LocaleInformation_zh_CN.java,
4307 gnu/java/locale/LocaleInformation_zh_HK.java,
4308 gnu/java/locale/LocaleInformation_zh_SG.java,
4309 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4310 info; from Classpath.
4311
4312 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4313 isPaintPending): New methods.
4314 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4315 setMaximizedBounds): New methods.
4316 (beginLayout, endLayout, isPaintPending): Likewise.
4317 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4318 (requestFocus): Likewise.
4319 (isObscured): Likewise.
4320 (canDetermineObscurity): Likewise.
4321 (coalescePaintEvent): Likewise.
4322 (updateCursorImmediately): Likewise.
4323 (createVolatileImage): Likewise.
4324 (handlesWheelScrolling): Likewise.
4325 (createBuffers): Likewise.
4326 (getBackBuffer): Likewise.
4327 (flip): Likewise.
4328 (destroyBuffers): Likewise.
4329
4330 * Makefile.in: Rebuilt.
4331 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4332 RobotPeer.java.
4333 * gnu/java/awt/GLightweightPeer.java,
4334 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4335 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4336 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4337 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4338 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4339 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4340 java/awt/dnd/peer/DragSourceContextPeer.java,
4341 java/awt/dnd/peer/DropTargetContextPeer.java,
4342 java/awt/peer/ButtonPeer.java,
4343 java/awt/peer/CheckboxMenuItemPeer.java,
4344 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4345 java/awt/peer/ComponentPeer.java,
4346 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4347 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4348 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4349 java/awt/peer/MenuBarPeer.java,
4350 java/awt/peer/MenuComponentPeer.java,
4351 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4352 java/awt/peer/PopupMenuPeer.java,
4353 java/awt/peer/ScrollPanePeer.java,
4354 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4355 java/awt/peer/TextComponentPeer.java,
4356 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4357 New versions from Classpath.
4358 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4359 * java/awt/peer/RobotPeer.java: Likewise.
4360
4361 2003-03-01 Mark Wielaard <mark@klomp.org>
4362
4363 * java/io/ObjectInputStream.java: Reindent.
4364 * java/io/ObjectOutputStream.java: Likewise.
4365
4366 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4367
4368 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4369 jvalue for each argument. Simplify.
4370 * testsuite/libjava.jni/calls.c (docall),
4371 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4372 misalignment.
4373
4374 2003-02-28 Mark Wielaard <mark@klomp.org>
4375
4376 * Makefile.am (nat_source_files): Remove
4377 java/io/natObjectOutputStream.cc.
4378 * Makefile.in: Regenerated.
4379 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4380 * java/io/ObjectStreamField.java (typename): New field.
4381 (ObjectStreamField(String, Class)): Initialize new field.
4382 (ObjectStreamField(String, String)): New Constructor.
4383 (getTypeCode): Use new field.
4384 (getTypeString): Use new field.
4385 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4386 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4387 Handle reading of Proxy classes. Never drain(), just write
4388 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4389 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4390 (flush): Call flush(), not just drain().
4391 (writeBoolean): Always use blockDataOutput.
4392 (writeByte): Likewise.
4393 (writeShort): Likewise.
4394 (writeChar): Likewise.
4395 (writeInt): Likewise.
4396 (writeLong): Likewise.
4397 (writeFloat): Likewise.
4398 (writeDouble): Likewise.
4399 (writeBytes): Likewise.
4400 (putfield (put(String,Object))): Throw IllegalArgumentException if
4401 field cannot be found.
4402 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4403 (writeArraySizeAndElements): Write byte[] in one go.
4404 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4405 set BlockDataMode to false.
4406 (annotateProxyClass): New method.
4407 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4408 (getField): No longer native.
4409 (getMethod): Likewise.
4410 (setBlockDataMode): Always drain() on switch, return old mode.
4411 (static): New static code block.
4412 * java/io/natObjectOutputStream.cc: Removed.
4413 * java/io/ObjectInputStream.java (getField): No longer native.
4414 (getMethod): Likewise.
4415 (readObject): Remember and reset old BlockDataMode. Track whether
4416 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4417 TC_LONGSTRING.
4418 (defaultReadObject): Set BlockDataMode to false during readFields.
4419 (resolveClass): Create new SecurityManager if necessary.
4420 Use Class.forName() if null ClassLoader found.
4421 (read(byte[],int,int): Copy remaining bytes to data before calling
4422 readNextBlock().
4423 (readFields): Set and reset BlockDataMode on call_read_method.
4424 Catch NoSuchFieldErrors.
4425 (setBlockDataMode): Return old mode.
4426 (static): New static code block.
4427 * java/io/natObjectInputStream.cc (getField): Removed.
4428 (getMethod): Likewise.
4429
4430 2003-02-27 Michael Koch <konqueror@gmx.de>
4431
4432 * java/beans/Beans.java,
4433 java/beans/FeatureDescriptor.java
4434 java/beans/PropertyEditorManager.java:
4435 Reformated to GNU style.
4436
4437 2003-02-25 Michael Koch <konqueror@gmx.de>
4438
4439 * gnu/java/nio/MappedByteFileBuffer.java,
4440 gnu/java/nio/natMappedByteFileBuffer.cc:
4441 New files, both are not compiled yet to get not noncompiling CVS.
4442
4443 2003-02-24 Tom Tromey <tromey@redhat.com>
4444
4445 * java/util/prefs/AbstractPreferences.java (isUserNode):
4446 Implemented.
4447
4448 2003-02-24 Tom Tromey <tromey@redhat.com>
4449
4450 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4451 Deprecate.
4452 * java/lang/Thread.java (resume): Deprecate.
4453 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4454 in @deprecated.
4455
4456 2003-02-23 Tom Tromey <tromey@redhat.com>
4457
4458 * Makefile.in: Rebuilt.
4459 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4460
4461 2003-02-23 Tom Tromey <tromey@redhat.com>
4462
4463 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4464 libraries): Removed.
4465 (add_library): Removed.
4466 (_load): Don't call add_library.
4467 (loadLibraryInternal): Likewise.
4468 (init): Likewise.
4469 (lookup_data): New struct.
4470 (find_symbol): New function.
4471 (_Jv_FindSymbolInExecutable): Use it.
4472
4473 2002-02-21 Anthony Green <green@redhat.com>
4474
4475 * java/lang/Thread.java (Thread): New constructor taking stack
4476 size parameter (ignored for now).
4477 * Many methods: Merged GNU Classpath documentation.
4478
4479 * java/lang/Class.java (finalize): throws a Throwable.
4480
4481 2003-02-21 Mark Wielaard <mark@klomp.org>
4482
4483 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4484 argument is null.
4485
4486 2003-02-21 Mark Wielaard <mark@klomp.org>
4487
4488 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4489 then 65535 chars throw IllegalArgumentException.
4490
4491 2003-02-21 Mark Wielaard <mark@klomp.org>
4492
4493 * java/util/zip/ZipFile.java (finalize): New method.
4494
4495 2003-02-21 Michael Koch <konqueror@gmx.de>
4496
4497 * gnu/java/nio/natSocketChannelImpl.cc:
4498 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4499 <cato@df.lth.se> for pointing to it.
4500
4501 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4502
4503 * java/math/BigInteger.java (euclidInv): Take result array as an
4504 argument. Updated all callers.
4505 (modInverse): Removed unused variables.
4506
4507 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4508
4509 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4510 config.status.
4511 * configure: Rebuilt.
4512
4513 2003-02-19 Michael Koch <konqueror@gmx.de>
4514
4515 * gnu/java/nio/natSocketChannelImpl.cc:
4516 Added support for platforms without network support.
4517
4518 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4519
4520 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4521 after config.h. Use <> for consistency.
4522 * java/lang/natObject.cc: Likewise.
4523 * java/lang/natRuntime.cc: Likewise.
4524 * java/lang/natSystem.cc: Likewise.
4525 * java/util/natTimeZone.cc: Likewise.
4526 * win32.cc: Likewise.
4527 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4528 listen, write, read): Undef to avoid interference from OS macros.
4529
4530 2003-02-19 Michael Koch <konqueror@gmx.de>
4531
4532 * gnu/java/nio/ByteBufferImpl.java
4533 (ByteBufferImpl): Renamed two variables.
4534 * gnu/java/nio/CharBufferImpl.java
4535 (CharBufferImpl): Renamed two variables.
4536 * gnu/java/nio/DoubleBufferImpl.java
4537 (DoubleBufferImpl): Renamed two variables.
4538 * gnu/java/nio/FloatBufferImpl.java
4539 (FloatBufferImpl): Renamed two variables.
4540 * gnu/java/nio/IntBufferImpl.java
4541 (IntBufferImpl): Renamed two variables.
4542 * gnu/java/nio/LongBufferImpl.java
4543 (LongBufferImpl): Renamed two variables.
4544 * gnu/java/nio/ShortBufferImpl.java
4545 (ShortBufferImpl): Renamed two variables.
4546 * java/nio/CharBuffer.java
4547 (wrap): Fixed arguments to CharBufferImpl constructor.
4548 (hasArray): Only not read-only buffers have backing arrays.
4549 (length): Documentation added.
4550 (subSequence): Documentation added.
4551 * java/nio/DoubleBuffer.java
4552 (hasArray): Only not read-only buffers have backing arrays.
4553 * java/nio/FloatBuffer.java
4554 (hasArray): Only not read-only buffers have backing arrays.
4555 * java/nio/IntBuffer.java
4556 (hasArray): Only not read-only buffers have backing arrays.
4557 * java/nio/LongBuffer.java
4558 (hasArray): Only not read-only buffers have backing arrays.
4559 * java/nio/ShortBuffer.java
4560 (hasArray): Only not read-only buffers have backing arrays.
4561
4562 2003-02-19 Michael Koch <konqueror@gmx.de>
4563
4564 * javax/accessibility/AccessibleContext.java
4565 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4566
4567 2003-02-19 Michael Koch <konqueror@gmx.de>
4568
4569 * java/awt/ScrollPaneAdjustable.java: Reformated.
4570
4571 2003-02-19 Michael Koch <konqueror@gmx.de>
4572
4573 * gnu/awt/j2d/Graphics2DImpl.java
4574 (getFontRenderContext): New method.
4575 (drawGlyphVector): New method.
4576 * java/awt/Graphics2D.java
4577 (getFontRenderContext): New abstract method.
4578 (drawGlyphVector): New abstract method.
4579
4580 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4581
4582 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4583 if necessary.
4584
4585 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4586 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4587 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4588 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4589 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4590 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4591 (setFont, gtkSetFont): add.
4592 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4593 Propagate font to peer. (setFont): add FIXME comment.
4594
4595 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4596 (gtkTextGetSize): fix height, width computation.
4597
4598 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4599 Make X font name a bit less bogus.
4600
4601 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4602 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4603
4604 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4605 (processAdjustmentEvent): Adjust value.
4606
4607 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4608 logic errors.
4609
4610 * java/awt/Component.java (setVisible, show, hide): Call show and
4611 hide methods in subclasses.
4612 (getPreferredSize): don't set prefSize before we have peer.
4613
4614 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4615 Guess (0,0) if we don't have peer.
4616
4617
4618 2003-02-18 Michael Koch <konqueror@gmx.de>
4619
4620 * java/nio/channels/FileChannel.java
4621 (toString): New implementation, added documentation.
4622 (map): Added exception documentation.
4623 (size): Added exception documentation.
4624 (write): New methods, documentation work.
4625 (read): New methods, documentation work.
4626 (implCloseChannel): Rewrote exception documentation.
4627 (force): Throws IOException, added documentation.
4628 (lock): New methods.
4629 (tryLock): New methods.
4630 (position): New methods.
4631 (transferTo): New method.
4632 (transferFrom): New method.
4633 (truncate): New method.
4634 * java/nio/channels/spi/SelectorProvider.java
4635 (provider): Implemented.
4636 * Makefile.am
4637 (ordinary_java_source_files): Added the following files:
4638 gnu/java/nio/DatagramChannelImpl.java
4639 gnu/java/nio/FileChannelImpl.java
4640 gnu/java/nio/PipeImpl.java
4641 gnu/java/nio/SelectionKeyImpl.java
4642 gnu/java/nio/SelectorImpl.java
4643 gnu/java/nio/SelectorProviderImpl.java
4644 gnu/java/nio/ServerSocketChannelImpl.java
4645 gnu/java/nio/SocketChannelImpl.java
4646 java/nio/channels/FileLock.java
4647 (nat_java_source_files): Added the following files:
4648 gnu/java/nio/natFileChannelImpl.cc
4649 gnu/java/nio/natSelectorImpl.cc
4650 gnu/java/nio/natSocketChannelImpl.cc
4651 * Makefile.in: Regenerated.
4652
4653 2003-02-17 Tom Tromey <tromey@redhat.com>
4654
4655 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4656 * java/awt/image/ImageFilter.java: Likewise.
4657
4658 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4659
4660 * java/math/BigInteger.java (euclidInv): Return array of
4661 `BigInteger's. Changed all callers.
4662
4663 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4664
4665 * java/util/Properties.java (store): Move the code formerly in
4666 list(), into this method.
4667 (list (PrintStream)): Just call list (PrintWriter) with a
4668 PrintWriter object constructed from the given PrintStream object.
4669 (list (PrintWriter)): Emulate the output of Properties.list()
4670 as found in JDK 1.3/1.4.
4671
4672 2003-02-17 Michael Koch <konqueror@gmx.de>
4673
4674 * java/net/DatagramSocket.java
4675 (connect): Merged with classpath.
4676 (disconnect): Merged documentation with classpath.
4677 (receice): Merged documentation with classpath.
4678 (send): Merged documentation with classpath.
4679
4680 2003-02-17 Michael Koch <konqueror@gmx.de>
4681
4682 * java/awt/dnd/DragSourceContext.java
4683 (addDragSourceListener): Added documentation.
4684 * java/awt/dnd/DragSourceDragEvent.java
4685 (serialVersionUID): New member variable.
4686 (getDropAction): Reformated.
4687 * java/awt/dnd/DragSourceDropEvent.java
4688 (serialVersionUID): New member variable.
4689 (dropSuccess): Renamed from success for serialization issues.
4690 * java/awt/dnd/DragSourceEvent.java
4691 (serialVersionUID): New member variable.
4692 * java/awt/dnd/DropTarget.java
4693 (serialVersionUID): New member variable.
4694 (DropTarget): Implemented, documentation reworked.
4695 (setComponent): Documentation added.
4696 (getComponent): Documentation added.
4697 (setDefaultActions): Documentation added.
4698 (getDefaultActions): Documentation added.
4699 (addDropTargetListener): Documentation added.
4700 * java/awt/dnd/DropTargetContext.java
4701 (DropTargetContext): Documentation added.
4702 (TransferableProxy.TransferableProxy): New method.
4703 (dropComplete): Fixed documentation.
4704 (getTransferable): Fixed documentation.
4705 (createTransferableProxy): Implemented.
4706 * java/awt/dnd/DropTargetDragEvent.java
4707 (DropTargetDragEvent): Documentation added.
4708 (serialVersionUID): New member variable.
4709 (DropTargetDragEvent): Throw exceptions, documentation added.
4710 (acceptDrag): Implemented.
4711 (getCurrentDataFlavors): Implemented.3yy
4712 (getCurrentDataFlavorsAsList): Implemented.
4713 (isDataFlavorSupported): Implemented.
4714 (rejectDrag): Implemented.
4715 * java/awt/dnd/DropTargetDropEvent.java
4716 (DropTargetDropEvent): Documentation added.
4717 (serialVersionUID): New member variable.
4718 (actions): Renamed from srcActions for serialization issues.
4719 (isLocalTx): Renamed from isLocalTx for serialization issues.
4720 (DropTargetDropEvent): New implementation, throw exceptions,
4721 documentation added.
4722 (getCurrentDataFlavors): Implemented.
4723 (getCurrentDataFlavorsAsList): Implemented.
4724 (isDataFlavorSupported): Implemented.
4725 (getSourceActions): Implemented.
4726 (getDropAction): Implemented.
4727 (getTransferable): Implemented.
4728 (acceptDrop): Implemented.
4729 (rejectDrop): Implemented.
4730 * java/awt/dnd/DropTargetListener.java
4731 (drop): Fixed documentation.
4732 * java/awt/dnd/MouseDragGestureRecognizer.java
4733 (MouseDragGestureRecognizer): Documentation added.
4734
4735 2003-02-17 Michael Koch <konqueror@gmx.de>
4736
4737 * java/awt/font/FontRenderContext.java,
4738 java/awt/font/ShapeGraphicAttribute.java,
4739 java/awt/font/MultipleMaster.java,
4740 java/awt/font/TransformAttribute.java,
4741 java/awt/font/GlyphJustificationInfo.java,
4742 java/awt/font/LineBreakMeasurer.java,
4743 java/awt/font/TextMeasurer.java,
4744 java/awt/font/TextLayout.java,
4745 java/awt/font/LineMetrics.java,
4746 java/awt/font/TextAttribute.java,
4747 java/awt/font/GlyphMetrics.java,
4748 java/awt/font/OpenType.java,
4749 java/awt/font/GlyphVector.java,
4750 java/awt/font/GraphicAttribute.java,
4751 java/awt/font/ImageGraphicAttribute.java,
4752 java/awt/font/NumericShaper.java: New files.
4753 * Makefile.am
4754 (awt_java_source_files): Added the following files:
4755 java/awt/font/FontRenderContext.java
4756 java/awt/font/ShapeGraphicAttribute.java
4757 java/awt/font/MultipleMaster.java
4758 java/awt/font/TransformAttribute.java
4759 java/awt/font/GlyphJustificationInfo.java
4760 java/awt/font/LineBreakMeasurer.java
4761 java/awt/font/TextMeasurer.java
4762 java/awt/font/TextLayout.java
4763 java/awt/font/LineMetrics.java
4764 java/awt/font/TextAttribute.java
4765 java/awt/font/GlyphMetrics.java
4766 java/awt/font/OpenType.java
4767 java/awt/font/GlyphVector.java
4768 java/awt/font/GraphicAttribute.java
4769 java/awt/font/ImageGraphicAttribute.java
4770 java/awt/font/NumericShaper.java
4771 * Makefile.in: Regenerated.
4772
4773 2003-02-17 Michael Koch <konqueror@gmx.de>
4774
4775 * java/awt/print/Paper.java
4776 (Paper): Implements Cloneable.
4777 * java/awt/print/PrinterJob.java
4778 (setJobName): Return value must be void.
4779 (print): Throws PrinterException.
4780
4781 2003-02-16 Tom Tromey <tromey@redhat.com>
4782
4783 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4784 variable.
4785
4786 2003-02-15 Michael Koch <konqueror@gmx.de>
4787
4788 * java/awt/datatransfer/DataFlavor.java
4789 (isRepresentationClassByteBuffer): Removed try-catch block.
4790 (isRepresentationClassCharBuffer): Removed try-catch block.
4791 (isRepresentationClassReader): Removed try-catch block.
4792
4793 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4794
4795 * java/nio/charset/Charset.java
4796 (isRegistered): Fixed method args and implementation.
4797 * java/nio/charset/CharsetEncoder.java
4798 (unmappableCharacterAction): New method.
4799
4800 2003-02-15 Michael Koch <konqueror@gmx.de>
4801
4802 * java/awt/CheckboxMenuItem.java
4803 (CheckBoxMenuItem): Dont implement Serializable.
4804 (getListeners): New method,
4805 (getItemListeners): New method.
4806 * java/awt/Choice.java
4807 (getListeners): New method,
4808 (getItemListeners): New method.
4809 * java/awt/Container.java
4810 (getListeners): Added exception documentation.
4811 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4812 (getFocusTraversalKeys): Added documentation.
4813 (areFocusTraversalKeysSet): Added documentation.
4814 (applyComponentOrientation): Added documentation.
4815 * java/awt/ContainerOrderFocusTraversalPolicy.java
4816 (implicitDownCycleTraversal): Renamed from downCycle for
4817 serialization.
4818 (ContainerOrderFocusTraversalPolicy): Added documentation.
4819 (accept): Reformated.
4820 * java/awt/Dialog.java
4821 (Dialog): Dont implement Serializable.
4822 (Dialog): Added documentation.
4823 * java/awt/Font.java
4824 (Font): Dont use absolute class name.
4825 * java/awt/Frame.java
4826 (Frame): Font implement Serializable.
4827 * java/awt/List.java
4828 (getListeners): New method,
4829 (getActionListeners): New method.
4830 (getItemListeners): New method.
4831 * java/awt/Menu.java
4832 (countItems): New deprecated method.
4833 * java/awt/Scrollbar.java
4834 (getListeners): New method,
4835 (getAdjustmentListeners): New method,
4836 * java/awt/TextComponent.java
4837 (getListeners): New method,
4838 (getTextListeners): New method,
4839 * java/awt/TextField.java
4840 (getListeners): New method,
4841 (getActionListeners): New method.
4842 * java/awt/Window.java
4843 (windowFocusListener): New member variable.
4844 (windowStateListener): New member variable.
4845 (getWindowFocusListeners): New method.
4846 (getWindowStateListeners): New method.
4847 (addWindowFocusListener): New method.
4848 (addWindowStateListener): New method.
4849 (removeWindowFocusListener): New method.
4850 (removeWindowStateListener): New method.
4851 * java/awt/datatransfer/DataFlavor.java
4852 (isRepresentationClassByteBuffer): New method.
4853 (isRepresentationClassCharBuffer): New method.
4854 (isRepresentationClassReader): New method.
4855
4856 2003-02-14 Mark Wielaard <mark@klomp.org>
4857
4858 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4859 zero when there is an exponent and the significant is zero.
4860 (divide): Always set scale to newScale even in special ZERO case.
4861
4862 2003-02-14 Tom Tromey <tromey@redhat.com>
4863
4864 * java/lang/System.java (properties): Use Properties.clone.
4865 (setProperties): Likewise.
4866
4867 2003-02-14 Michael Koch <konqueror@gmx.de>
4868
4869 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4870 * gnu/java/nio/ServerSocketChannelImpl.java
4871 (SocketAccept): Removed.
4872 (accept): Commented out use of SocketAccept.
4873
4874 2003-02-13 Tom Tromey <tromey@redhat.com>
4875
4876 * verify.cc (state::seen_subrs): New field.
4877 (state::state): Initialize it.
4878 (state::clean_subrs): New method.
4879 (state::~state): Call it.
4880 (state::copy): Copy subroutine list.
4881 (state::add_subr): New method.
4882 (state::merge): Only register a change if the current subroutine
4883 hasn't yet been noted.
4884
4885 2003-02-13 Mark Wielaard <mark@klomp.org>
4886
4887 * java/io/InputStreamReader.java (getEncoding): Return null when
4888 closed.
4889 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4890
4891 2003-02-13 Mark Wielaard <mark@klomp.org>
4892
4893 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4894 is zero.
4895
4896 2003-02-13 Mark Wielaard <mark@klomp.org>
4897
4898 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4899 next byte cannot be buffered.
4900
4901 2003-02-13 Michael Koch <konqueror@gmx.de>
4902
4903 * java/awt/Label.java
4904 (Label): Don't implement Serializable directly.
4905 (addNotify): Fixed typo in documentation.
4906 * java/awt/List.java
4907 (List): Don't implement Serializable directly.
4908 * java/awt/PopupMenu.java
4909 (PopupMenu): Don't implement Serializable directly.
4910 * java/awt/ScrollPane.java
4911 (ScrollPane): Don't implement Serializable directly.
4912 * java/awt/Scrollbar.java
4913 (Scrollbar): Don't implement Serializable directly.
4914 * java/awt/TextArea.java
4915 (preferredSize): Fixed method arguments.
4916 * java/awt/TextField.java
4917 (TextField): Don't implement Serializable directly.
4918 * java/awt/color/ICC_ColorSpace.java
4919 (fromCIOXYZ): Documentation added.
4920 (getMinValue): Documentation added.
4921 (getMaxValue): Documentation added.
4922 * java/awt/datatransfer/DataFlavor.java
4923 (isMimeTypeEqual): May not be final.
4924 (clone): Throws CloneNotSupportedException.
4925 (getReaderForText): Don't throws UnsupportedEncodingException.
4926
4927 2003-02-13 Michael Koch <konqueror@gmx.de>
4928
4929 * gnu/java/awt/peer/gtk/GdkGraphics.java
4930 (drawString): New stubbed method.
4931 * java/awt/Graphics.java
4932 (drawString): New method.
4933
4934 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4935
4936 PR libgcj/9271:
4937 * java/security/SecureRandom.java (next): Avoid bias in results.
4938
4939 2003-02-13 Michael <konqueror@gmx.de>
4940
4941 * gnu/java/nio/FileChannelImpl.java
4942 (lengthInternal): Must be native.
4943 (size): Check if channel is already closed.
4944 (implCloseChannel): Reformated.
4945 (read): w was unused, removed it.
4946 (read): Removed.
4947 (read): New method.
4948 (write): New method.
4949 (map): Check arguments.
4950 (force): Throws IOException, check if channel is closed.
4951 (transferTo): New method.
4952 (transferFrom): New method.
4953 (lock): New method.
4954 (tryLock): New method.
4955 (position): New method.
4956 (truncate): New method.
4957 (nio_mmap_file): Uncommented.
4958 (nio_munmap_file): Uncommented.
4959 (nio_msync): Uncommented.
4960 * gnu/java/nio/natFileChannelImpl.cc: New file.
4961
4962 2003-02-13 Michael Koch <konqueror@gmx.de>
4963
4964 * java/nio/ByteBuffer.java
4965 (endian): New member variable.
4966 (get): New methods.
4967 (equals): New method.
4968 (compareTo): New method.
4969 (order): New methods.
4970 (compact): New method.
4971 (isDirect): New method.
4972 (slice): New method.
4973 (duplicate): New method.
4974 (asReadOnlyBuffer): New method.
4975 (asCharBuffer): New method.
4976 (asDoubleBuffer): New method.
4977 (asFloatBuffer): New method.
4978 (asIntBuffer): New method.
4979 (asLongBuffer): New method.
4980 (asShortBuffer): New method.
4981 (get*): New methods.
4982 (put*): New methods.
4983 (toString): New method.
4984 * java/nio/CharBuffer.java
4985 (CharBuffer): Implement Comparable instead of Cloneable.
4986 (get): May not be final.
4987 (put): May not be final.
4988
4989 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4990
4991 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4992 lastIndexOf( ) instead of indexOf( ) to find the colon before
4993 the line number, because Win32 file names might contain a
4994 drive letter and a colon at the start of an absolute path.
4995
4996 2003-02-13 Michael Koch <konqueror@gmx.de>
4997
4998 * gnu/java/nio/natSocketChannelImpl.cc
4999 (SocketConnect): This is not implemented yet.
5000 (SocketBind): This is not implemented yet.
5001
5002 2003-02-13 Michael Koch <konqueror@gmx.de>
5003
5004 * gnu/java/nio/natByteBufferImpl.cc,
5005 gnu/java/nio/natCharBufferImpl.cc,
5006 gnu/java/nio/natDoubleBufferImpl.cc,
5007 gnu/java/nio/natFloatBufferImpl.cc,
5008 gnu/java/nio/natIntBufferImpl.cc,
5009 gnu/java/nio/natLongBufferImpl.cc,
5010 gnu/java/nio/natShortBufferImpl.cc:
5011 Added copyright and license.
5012 * java/nio/DoubleBuffer.java,
5013 java/nio/FloatBuffer.java,
5014 java/nio/IntBuffer.java,
5015 java/nio/LongBuffer.java,
5016 java/nio/ShortBuffer.java
5017 (array): Throw exceptions.
5018 (arrayOffset): Throw exceptions.
5019
5020 2003-02-13 Michael Koch <konqueror@gmx.de>
5021
5022 * gnu/java/util/prefs/FileBasedFactory.java,
5023 gnu/java/util/prefs/MemmoryBasedFactory.java,
5024 gnu/java/util/prefs/MemoryBasedPreferences.java,
5025 gnu/java/util/prefs/NodeReader.java,
5026 gnu/java/util/prefs/NodeWriter.java,
5027 java/util/prefs/AbstractPreferences.java,
5028 java/util/prefs/BackingStoreException.java,
5029 java/util/prefs/InvalidPreferencesFormatException.java,
5030 java/util/prefs/NodeChangeEvent.java,
5031 java/util/prefs/NodeChangeListener.java,
5032 java/util/prefs/PreferenceChangeEvent.java,
5033 java/util/prefs/PreferenceChangeListener.java,
5034 java/util/prefs/Preferences.java,
5035 java/util/prefs/PreferencesFactory.java:
5036 New files, all merged from classpath.
5037 * Makefile.am
5038 (ordinary_java_source_files): Added the following files:
5039 gnu/java/util/prefs/FileBasedFactory.java,
5040 gnu/java/util/prefs/MemmoryBasedFactory.java,
5041 gnu/java/util/prefs/MemoryBasedPreferences.java,
5042 gnu/java/util/prefs/NodeReader.java,
5043 gnu/java/util/prefs/NodeWriter.java,
5044 (core_java_source_files): Added the following files:
5045 java/util/prefs/AbstractPreferences.java,
5046 java/util/prefs/BackingStoreException.java,
5047 java/util/prefs/InvalidPreferencesFormatException.java,
5048 java/util/prefs/NodeChangeEvent.java,
5049 java/util/prefs/NodeChangeListener.java,
5050 java/util/prefs/PreferenceChangeEvent.java,
5051 java/util/prefs/PreferenceChangeListener.java,
5052 java/util/prefs/Preferences.java,
5053 java/util/prefs/PreferencesFactory.java
5054 * Makefile.in: Regenerated.
5055
5056 2003-02-13 Michael Koch <konqueror@gmx.de>
5057
5058 * java/net/NetPermission.java
5059 (NetPermission): Make doucmentation match the method declaration.
5060 * java/net/NetworkInterface.java
5061 (equals): Reformated for GNU coding style.
5062 * java/net/ServerSocket.java: Merged with classpath.
5063 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5064 * java/net/SocketImpl.java
5065 (localPort): Merged with classpath (initialize with -1).
5066 * java/net/SocketPermission.java: Merged with classpath (reindented).
5067 * java/net/URLDecoder.java: Merged with classpath (reindented).
5068
5069 2003-02-13 Michael Koch <konqueror@gmx.de>
5070
5071 * java/awt/GridBagConstraints.java
5072 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5073 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5074 * java/awt/KeyboardFocusManager.java
5075 (setGlobalCurrentFocusCycleRoot): Must be public.
5076 * java/awt/MenuComponent.java
5077 (MenuComponent): Must be public.
5078 * java/awt/Toolkit.java:
5079 Added some empty lines to make documentation more readable.
5080 (getFontPeer): Added @deprecated.
5081 (getColorModel): Added exception documentation.
5082 (getProperty): Fixed documentation.
5083
5084 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5085
5086 * configure.host (alpha*-*): Default to -mieee.
5087 * configure.in (IEEESPEC): New.
5088 * libgcj.spec.in (jc1): Add IEEESPEC.
5089 * configure: Rebuild.
5090
5091 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5092
5093 * include/win32.h: Include ws2tcpip.h instead of
5094 winsock.h to obtain definition of the socklen_t type.
5095 Remove IP_TOS definition - not needed with ws2tcpip.h
5096 (_Jv_connect): Correct slight formatting error.
5097
5098 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5099
5100 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5101 size of the arguments for a JNI function. For Win32,
5102 modify to search for all forms of possible exported
5103 names of an stdcall JNI function.
5104 (_Jv_JNIMethod::call): Modify to calculate the size
5105 of the arguments passed to a JNI function and pass
5106 it to _Jv_LookupJNIMethod.
5107
5108 2003-02-12 Michael Koch <konqueror@gmx.de>
5109
5110 * java/nio/channels/Channels.java: New file.
5111 * Makefile.am
5112 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5113 * Makefile.in: Regenerated.
5114
5115 2003-02-12 Michael Koch <konqueror@gmx.de>
5116
5117 * java/nio/ByteBuffer.java
5118 (allocate): Implemented.
5119 (wrap): Implemented.
5120 * java/nio/CharBuffer.java:
5121 Some documentation added and reworked.
5122 (endian): Removed.
5123 (allocate): Implemented.
5124 (wrap): Implemented.
5125 (array): Throw exceptions.
5126 (arrayOffset): Throw exceptions.
5127 (toString): Implemented.
5128 (length): Implemented.
5129 (put): Implemented.
5130 (charAt): Implemented.
5131
5132 2003-02-11 John Leuner <jewel@debian.org>
5133
5134 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5135 reads from end of file.
5136
5137 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5138
5139 * java/io/natFileDescriptorWin32.cc
5140 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5141 returns with Win32 error code ERROR_BROKEN_PIPE.
5142
5143 2003-02-11 Michael Koch <konqueror@gmx.de>
5144
5145 * Makefile.in
5146 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5147
5148 2003-02-11 Michael Koch <konqueror@gmx.de>
5149
5150 * gnu/java/nio/ByteBufferImpl.java:
5151 Reformated and removed some code.
5152 (backing_buffer): Removed.
5153 (array_offset): Removed.
5154 (ro): Renamed to readOnly.
5155 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5156 * gnu/java/nio/CharBufferImpl.java:
5157 Reformated and removed some code.
5158 (array_offset): Removed.
5159 (ro): Renamed to readOnly.
5160 (CharBufferImpl): Use parent constructor, initialize readOnly.
5161 (inc_pos): Removed.
5162 (order): New method.
5163 * gnu/java/nio/DoubleBufferImpl.java:
5164 Reformated and removed some code.
5165 (array_offset): Removed.
5166 (ro): Renamed to readOnly.
5167 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5168 (inc_pos): Removed.
5169 (order): New method.
5170 * gnu/java/nio/FloatBufferImpl.java:
5171 Reformated and removed some code.
5172 (array_offset): Removed.
5173 (ro): Renamed to readOnly.
5174 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5175 (inc_pos): Removed.
5176 (order): New method.
5177 * gnu/java/nio/IntBufferImpl.java:
5178 Reformated and removed some code.
5179 (array_offset): Removed.
5180 (ro): Renamed to readOnly.
5181 (IntBufferImpl): Use parent constructor, initialize readOnly.
5182 (inc_pos): Removed.
5183 (order): New method.
5184 * gnu/java/nio/LongBufferImpl.java:
5185 Reformated and removed some code.
5186 (array_offset): Removed.
5187 (ro): Renamed to readOnly.
5188 (LongBufferImpl): Use parent constructor, initialize readOnly.
5189 (inc_pos): Removed.
5190 (order): New method.
5191 * gnu/java/nio/ShortBufferImpl.java:
5192 Reformated and removed some code.
5193 (array_offset): Removed.
5194 (ro): Renamed to readOnly.
5195 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5196 (inc_pos): Removed.
5197 (order): New method.
5198 * Makefile.am
5199 (ordinary_java_source_files): Added the following files:
5200 gnu/java/nio/ByteBufferImpl.java
5201 gnu/java/nio/CharBufferImpl.java
5202 gnu/java/nio/DoubleBufferImpl.java
5203 gnu/java/nio/FloatBufferImpl.java
5204 gnu/java/nio/IntBufferImpl.java
5205 gnu/java/nio/LongBufferImpl.java
5206 gnu/java/nio/ShortBufferImpl.java
5207 java/nio/DoubleBuffer.java
5208 java/nio/FloatBuffer.java
5209 java/nio/IntBuffer.java
5210 java/nio/LongBuffer.java
5211 java/nio/ShortBuffer.java
5212 (nat_source_files): Added the following files:
5213 gnu/java/nio/natByteBufferImpl.cc
5214 gnu/java/nio/natCharBufferImpl.cc
5215 gnu/java/nio/natDoubleBufferImpl.cc
5216 gnu/java/nio/natFloatBufferImpl.cc
5217 gnu/java/nio/natIntBufferImpl.cc
5218 gnu/java/nio/natLongBufferImpl.cc
5219 gnu/java/nio/natShortBufferImpl.cc
5220 * Makefile.in: Regenerated.
5221
5222 2003-02-11 Michael Koch <konqueror@gmx.de>
5223
5224 * gnu/java/nio/natCharBufferImpl.cc
5225 (nio_cast): Removed.
5226 (nio_put_*): Removed.
5227 (nio_get_*): Removed.
5228 * gnu/java/nio/natDoubleBufferImpl.cc
5229 (nio_cast): Removed.
5230 (nio_put_*): Removed.
5231 (nio_get_*): Removed.
5232 * gnu/java/nio/natFloatBufferImpl.cc
5233 (nio_cast): Removed.
5234 (nio_put_*): Removed.
5235 (nio_get_*): Removed.
5236 * gnu/java/nio/natIntBufferImpl.cc
5237 (nio_cast): Removed.
5238 (nio_put_*): Removed.
5239 (nio_get_*): Removed.
5240 * gnu/java/nio/natLongBufferImpl.cc
5241 (nio_cast): Removed.
5242 (nio_put_*): Removed.
5243 (nio_get_*): Removed.
5244 * gnu/java/nio/natShortBufferImpl.cc
5245 (nio_cast): Removed.
5246 (nio_put_*): Removed.
5247 (nio_get_*): Removed.
5248 * gnu/java/nio/SelectorProviderImpl.java
5249 (openDatagramChannel): Throws IOException.
5250 (openPipe): Throws IOException.
5251 (openSelector): Throws IOException.
5252 (openServerSocketChannel): Throws IOException.
5253 (openSocketChannel): Throws IOException.
5254 * gnu/java/nio/ServerSocketChannelImpl.java
5255 (ServerSocketChannelImpl): Throws IOException.
5256 (implCloseSelectableChannel): Throws IOException.
5257 (implConfigureBlocking): Throws IOException.
5258 * java/nio/ByteBuffer.java
5259 (readOnly): Removed.
5260 (hasArray): Use isReadOnly() instead of readOnly.
5261 (array): Use isReadOnly() instead of readOnly.
5262 (arrayOffset): Use isReadOnly() instead of readOnly.
5263 * java/nio/CharBuffer.java
5264 (CharBuffer): Implements Cloneable and CharSequence.
5265
5266 2003-02-11 Michael Koch <konqueror@gmx.de>
5267
5268 * java/nio/DoubleBuffer.java
5269 (DoubleBuffer): Implements Comparable.
5270 (endian): Removed.
5271 (array_offset): New member variable.
5272 (DoubleBuffer): New constuctor.
5273 (get): May not be final.
5274 (put): May not be final.
5275 (arrayOffset): Implemented.
5276 (order): Made abstract.
5277 (order): Removed.
5278 (as*Buffer): Removed.
5279 (get*): Removed.
5280 (put*): Removed.
5281 * java/nio/FloatBuffer.java
5282 (FloatBuffer): Implements Comparable.
5283 (endian): Removed.
5284 (array_offset): New member variable.
5285 (FloatBuffer): New constuctor.
5286 (get): May not be final.
5287 (put): May not be final.
5288 (arrayOffset): Implemented.
5289 (order): Made abstract.
5290 (order): Removed.
5291 (as*Buffer): Removed.
5292 (get*): Removed.
5293 (put*): Removed.
5294 * java/nio/IntBuffer.java
5295 (IntBuffer): Implements Comparable.
5296 (endian): Removed.
5297 (array_offset): New member variable.
5298 (IntBuffer): New constuctor.
5299 (get): May not be final.
5300 (put): May not be final.
5301 (arrayOffset): Implemented.
5302 (order): Made abstract.
5303 (order): Removed.
5304 (as*Buffer): Removed.
5305 (get*): Removed.
5306 (put*): Removed.
5307 * java/nio/LongBuffer.java
5308 (LongBuffer): Implements Comparable.
5309 (endian): Removed.
5310 (array_offset): New member variable.
5311 (LongBuffer): New constuctor.
5312 (get): May not be final.
5313 (put): May not be final.
5314 (arrayOffset): Implemented.
5315 (order): Made abstract.
5316 (order): Removed.
5317 (as*Buffer): Removed.
5318 (get*): Removed.
5319 (put*): Removed.
5320 * java/nio/ShortBuffer.java
5321 (ShortBuffer): Implements Comparable.
5322 (endian): Removed.
5323 (array_offset): New member variable.
5324 (ShortBuffer): New constuctor.
5325 (get): May not be final.
5326 (put): May not be final.
5327 (arrayOffset): Implemented.
5328 (order): Made abstract.
5329 (order): Removed.
5330 (as*Buffer): Removed.
5331 (get*): Removed.
5332 (put*): Removed.
5333
5334 2003-02-11 Michael Koch <konqueror@gmx.de>
5335
5336 * java/nio/channels/SelectionKey.java
5337 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5338 values.
5339
5340 2003-02-11 Michael Koch <konqueror@gmx.de>
5341
5342 * java/nio/channels/DatagramChannel.java
5343 (write): Throws IOException.
5344 (connect): Throws IOException.
5345 (disconnect): Throws IOException.
5346 (read): Throws IOException.
5347 (receive): Throws IOException.
5348 (send): Throws IOException.
5349 * java/nio/channels/Pipe.java
5350 (open): Throws IOException.
5351 * java/nio/channels/SelectableChannel.java
5352 (configureBlocking): Throws IOException.
5353 * java/nio/channels/ServerSocketChannel.java
5354 (accept): Throws IOException.
5355 * java/nio/channels/SocketChannel.java
5356 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5357 GatheringByteChannel.
5358 (read): Throws IOException.
5359 (write): Throws IOException.
5360 (finishConnect): Throws IOException.
5361 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5362 (end): Throws AsynchronousCloseException.
5363 * java/nio/channels/spi/AbstractSelectableChannel.java
5364 (configureBlocking): Throws IOException.
5365 (implCloseChannel): Throws IOException.
5366 (implCloseSelectableChannel): Throws IOException.
5367 (implConfigureBlocking): Throws IOException.
5368 * java/nio/channels/spi/SelectorProvider.java
5369 (openDatagramChannel): Throws IOException.
5370 (openPipe): Throws IOException.
5371 (openSelector): Throws IOException.
5372 (openServerSocketChannel): Throws IOException.
5373 (openSocketChannel): Throws IOException.
5374
5375 2003-02-11 Michael Koch <konqueror@gmx.de>
5376
5377 * gnu/java/nio/FileLockImpl.java,
5378 java/nio/channels/FileLock.java: New files.
5379
5380 2003-02-11 Michael Koch <konqueror@gmx.de>
5381
5382 * java/nio/charset/IllegalCharsetNameException.java
5383 (serialVersionUID): New member variable.
5384 (charsetName): New member variable.
5385 (IllegalCharsetException): New implementation.
5386 (getCharsetName): New implementation.
5387 * java/nio/charset/UnsupportedCharsetException.java
5388 (serialVersionUID): New member variable.
5389 (charsetName): New member variable.
5390 (UnsupportedCharsetException): New implementation.
5391 (getCharsetName): New implementation.
5392
5393 2003-02-10 Tom Tromey <tromey@redhat.com>
5394
5395 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5396 (ex): Renamed from sqlException.
5397
5398 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5399
5400 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5401 method used to ensure seeding has occurred and that a specific
5402 seed can be set and used.
5403
5404 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5405
5406 * java/lang/Win32Process.java (destroy): Declare as native.
5407 (hasExited): New native method.
5408 (exitValue): Define.
5409 (getErrorStream): Likewise.
5410 (getInputStream): Likewise.
5411 (getOutputStream): Likewise.
5412 (waitFor): Declare as native.
5413 (startProcess): New native method.
5414 (cleanup): Likewise.
5415 (ConcreteProcess): Define.
5416 (outputStream, inputStream, errorStream): New members.
5417 (procHandle, exitCode): Likewise.
5418
5419 * java/lang/natWin32Process.cc
5420 (java::lang::ConcreteProcess::cleanup): Define.
5421 (java::lang::ConcreteProcess::destroy): Likewise.
5422 (java::lang::ConcreteProcess::hasExited): Likewise.
5423 (java::lang::ConcreteProcess::waitFor): Likewise.
5424 (new_string): Likewise.
5425 (java::lang::ConcreteProcess::startProcess): Likewise.
5426
5427 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5428
5429 * java/math/BigInteger.java:
5430 Updated notice to include years 2002 and 3.
5431 Added 2 private (int) arrays with values from the HAC (Handbook of
5432 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5433 and t[] that contains nbr. of tests --used in isProbablePrime().
5434
5435 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5436
5437 * java/math/BigInteger.java (make(int[],int), add(int,int),
5438 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5439 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5440 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5441 make(long).
5442
5443 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5444 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5445 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5446 BIs and returns void.
5447 (modInverse(BI)): Use new signatures of euclidInv().
5448
5449 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5450 static small primes instead of remainder().
5451 Use pre-computed max nbr of trials based on bitlength of BI to test.
5452 Use pre-computed small primes for the trial tests instead of random
5453 numbers.
5454
5455 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5456 not used.
5457
5458 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5459 invoacation of MPN.chars_per_word(). not used.
5460
5461 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5462 local var and used where needed.
5463
5464 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5465 Combined declaration with initialisation of locals.
5466 Removed unused var.
5467
5468 * java/math/BigInteger.java: Style changes
5469 (pow(int)): Removed 'else' keyword.
5470 (toString(int)): idem.
5471 (doubleValue()): idem.
5472 (bitLength()): idem.
5473 (equals(Object)): Use static methods name in same class w/o prepending
5474 class name.
5475 (doubleValue()): idem.
5476 (setNegative(BI)): idem.
5477 (negate()): idem.
5478 (and(BI,int)): idem.
5479 (and(BI)): idem.
5480 (gcd(BI)): idem.
5481 (byteArrayToIntArray()): Removed casting to (int). this is
5482 std. behaviour.
5483 (canonicalize()): idem.
5484 (alloc(int)): Always instantiate a new BI.
5485
5486 2003-02-10 Tom Tromey <tromey@redhat.com>
5487
5488 * java/sql/Timestamp.java (compareTo(Object)): New method.
5489 (compareTo(Timestamp)): Likewise.
5490 (serialVersionUID): Updated.
5491
5492 2003-02-07 Mark Wielaard <mark@klomp.org>
5493
5494 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5495 when verify is true.
5496 (JarFile(File, boolean)): Likewise.
5497 (manifestRead): Set manifestRead field correctly.
5498
5499 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5500
5501 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5502 tests; see patch #1016 on Savannah.
5503
5504 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5505
5506 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5507 (toString): do not return Strings starting with . and - erroneously.
5508 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5509 DiagBigDecimal.
5510
5511 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5512
5513 * java/beans/PropertyDescriptor.java
5514 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5515 methods.
5516 (PropertyDescriptor(String, Class, String, String)): Likewise.
5517 (PropertyDescriptor(String, Method, Method): Factor out getter and
5518 setter method sanity checks into new method.
5519 (findMethods): Don't do parameter sanity checking of get method here.
5520 (checkMethods): New method.
5521
5522 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5523
5524 * java/beans/PropertyDescriptor.java: Reformat.
5525
5526 2003-02-04 Tom Tromey <tromey@redhat.com>
5527
5528 * java/io/PipedOutputStream.java (flush): Declare as throwing
5529 IOException.
5530 (close): Likewise.
5531 * java/io/PipedWriter.java (close): Declare as throwing
5532 IOException.
5533 * java/io/StringWriter.java (close): Declare as throwing
5534 IOException.
5535
5536 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5537
5538 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5539 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5540 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5541 "_JNI_OnLoad@8" (MSVC).
5542
5543 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5544
5545 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5546 convention on Win32 to invoke native JNI methods.
5547
5548 2003-02-03 Andrew Haley <aph@redhat.com>
5549
5550 * configure.host (x86_64): Enable interpreter.
5551
5552 2003-02-03 Andrew Haley <aph@redhat.com>
5553
5554 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5555 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5556 * configure.in (BACKTRACESPEC): New.
5557 * configure: Regenerate.
5558
5559 2003-02-02 Tom Tromey <tromey@redhat.com>
5560
5561 * configure: Rebuilt.
5562 * configure.in (TOOLKIT) [xlib]: Set correctly.
5563
5564 * Makefile.in: Rebuilt.
5565 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5566 libstdc++.
5567
5568 2003-01-31 Mark WIelaard <mark@klomp.org>
5569
5570 * Makefile.in: Rebuilt.
5571 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5572
5573 2003-01-31 Tom Tromey <tromey@redhat.com>
5574
5575 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5576 cast to element type.
5577 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5578 (_Jv_JNI_GetObjectArrayElement): Likewise.
5579
5580 * Makefile.in: Rebuilt.
5581 * Makefile.am (cond_x_ltlibrary): Renamed library to
5582 lib-gnu-awt-xlib.la.
5583 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5584 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5585 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5586 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5587 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5588 (lib_gnu_awt_xlib_la_LINK): Likewise.
5589 (install-exec-hook): Removed.
5590 (lib-gnu-awt-xlib.la): Renamed.
5591
5592 2003-01-31 Tom Tromey <tromey@redhat.com>
5593
5594 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5595 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5596 aclocal.m4 and lost in some merge.
5597
5598 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5599 Don't try to find graphics configuration.
5600 * java/awt/Toolkit.java (default_toolkit_name): Use new
5601 Configuration entry.
5602 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5603 New global.
5604 * configure: Rebuilt.
5605 * configure.in (TOOLKIT): New subst.
5606 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5607 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5608 directory. Make output directories for .c files.
5609 * Makefile.in: Rebuilt.
5610 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5611 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5612 (all_java_source_files): Added new sources.
5613 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5614 (gtk_c_files): New macro.
5615 (gtk_c_source_files): New macro.
5616 (cond_gtk_ltlibrary): New macro.
5617 ($(gtk_c_files)): New target.
5618 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5619 (gtk_awt_peer_sources): New macro.
5620 (gtk_c_headers): New macro.
5621 ($(gtk_c_headers)): New target.
5622 (ACLOCAL_AMFLAGS): New macro.
5623 * gtk.m4, glib.m4, libart.m4: New files.
5624 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5625 gnu/java/awt/peer/gtk/GdkGraphics.java,
5626 gnu/java/awt/peer/gtk/GtkArg.java,
5627 gnu/java/awt/peer/gtk/GtkArgList.java,
5628 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5629 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5630 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5631 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5632 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5633 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5634 gnu/java/awt/peer/gtk/GtkClipboard.java,
5635 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5636 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5637 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5638 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5639 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5640 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5641 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5642 gnu/java/awt/peer/gtk/GtkImage.java,
5643 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5644 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5645 gnu/java/awt/peer/gtk/GtkListPeer.java,
5646 gnu/java/awt/peer/gtk/GtkMainThread.java,
5647 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5648 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5649 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5650 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5651 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5652 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5653 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5654 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5655 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5656 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5657 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5658 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5659 gnu/java/awt/peer/gtk/GtkToolkit.java,
5660 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5661 gnu/java/awt/peer/gtk/TestAWT.java,
5662 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5663 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5664 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5665 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5666 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5667 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5668 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5669 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5670 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5671 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5672 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5673 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5674 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5675 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5676 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5677 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5678 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5679 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5680 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5681 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5682 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5683 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5684 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5685 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5686 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5687 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5688 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5689 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5690 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5691 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5692 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5693 jni/classpath/native_state.c, jni/classpath/native_state.h,
5694 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5695
5696 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5697
5698 * java/util/Properties.java (load): Ignore backslash before EOF.
5699
5700 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5701
5702 * java/lang/natClass.cc (initializeClass): Check tables when
5703 (state == JV_STATE_IN_PROGRESS).
5704 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5705 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5706 interpreted classes.
5707 (linkClass0): Use _Jv_WaitForState.
5708
5709 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5710
5711 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5712 object when finished.
5713
5714 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5715
5716 * libjava/configure.host: Disable can_unwind_signal on darwin.
5717
5718 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5719
5720 Fixes PR java/9254:
5721 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5722 additionally containing id of the owner thread as well as
5723 the number of nested times the thread has acquired the mutex.
5724 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5725 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5726 (_Jv_MutexUnlock): Check if really the owner thread, reset
5727 owner thread id to 0 before leaving, if leaving for the last
5728 time.
5729 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5730 refcount.
5731 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5732 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5733 the passed mutex.
5734 Pass handle of the broadcast event, instead of a pointer to it
5735 in Win32 ResetEvent( ) call.
5736 Remove incorrect return values.
5737 (_Jv_CondDestroy): Close both event handles and delete
5738 critical section.
5739 (_Jv_CondNotify): Check if really the owner thread.
5740 (_Jv_CondNotifyAll): Check if really the owner thread.
5741 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5742 (really_start): Use SetEvent( ) to signal daemon_cond.
5743 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5744 WaitForSingleObject( ) instead to wait for daemon_cond to be
5745 signalled.
5746
5747 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5748
5749 * configure.in: Specifically define HAVE_BACKTRACE if building
5750 for MinGW.
5751 * include/win32.h: Remove HAVE_BACKTRACE definition.
5752 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5753 * configure: Rebuilt.
5754
5755 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5756
5757 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5758 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5759 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5760 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5761 * Makefile.in, configure: Rebuilt.
5762
5763 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5764
5765 Fixes PR java/9253:
5766 * java/io/natFileWin32.cc (performList): Append only "*.*"
5767 if the canonical file path already has a "\" at the end.
5768
5769 2003-01-24 Tom Tromey <tromey@redhat.com>
5770
5771 * defineclass.cc (handleMethodsEnd): Precompute code for static
5772 method.
5773 (handleCodeAttribute): Likewise.
5774 * resolve.cc (ncode): Use run_class for unsynchronized static
5775 methods.
5776 * include/java-interp.h (class _Jv_InterpMethod): Declare
5777 run_class.
5778 * interpret.cc (run_synch_class): Initialize class.
5779 (run) [insn_invokestatic]: Don't initialize class.
5780 [insn_anewarray]: Likewise.
5781 [insn_multianewarray]: Likewise.
5782 (run_class): New function.
5783
5784 2003-01-24 Tom Tromey <tromey@redhat.com>
5785
5786 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5787 comment.
5788
5789 2003-01-22 Andrew Haley <aph@redhat.com>
5790
5791 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5792 * configure.host (CHECKREFSPEC): Define for x86_64.
5793
5794 2003-01-21 Tom Tromey <tromey@redhat.com>
5795
5796 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5797 search at 2, not 3.
5798
5799 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5800
5801 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5802 looking at any characters.
5803 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5804 be used.
5805 (isAbsolute): Check path's length as well.
5806
5807 2003-01-17 Mark Wielaard <mark@klomp.org>
5808
5809 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5810 (nat_source_files): Add natVMObjectStreamClass.cc.
5811 * Makefile.in: Regenerated.
5812 * gcj/javaprims.h (namespace java): Regenerated.
5813 * java/io/ObjectStreamClass.java (getClassUID): Call
5814 VMObjectStreamClass.hasClassInitializer().
5815 (hasClassInitializer): Removed.
5816 * java/io/VMObjectStreamClass.java: New class.
5817 * java/io/natVMObjectStreamClass.cc: New file.
5818 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5819
5820 2003-01-16 Mark Wielaard <mark@klomp.org>
5821
5822 * java/net/SocketImpl.java (toString): Don't explicitly call
5823 toString() on possible null address.
5824
5825 2003-01-16 Michael Koch <konqueror@gmx.de>
5826
5827 * java/net/MulticastSocket.java
5828 (setInterface): Reindented.
5829
5830 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5831
5832 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5833 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5834 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5835 translateY arguments. Implement.
5836 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5837 down translation arguments.
5838 (drawPolyline, drawPolygon): Fix incorrect tests.
5839 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5840 translateX and translateY arguments.
5841
5842 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5843
5844 * Makefile.in: Rebuilt.
5845 * Makefile.am (xlib_includes): New macro.
5846 (INCLUDES): Use it.
5847
5848 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5849
5850 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5851 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5852 16-bit display mode.
5853
5854 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5855
5856 * java/awt/CardLayout.java (show): Rewrote.
5857 (gotoComponent): Removed `target' argument. Simplified code.
5858 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5859 Changed all callers.
5860 (NONE): Removed.
5861
5862 2003-01-14 Michael Koch <konqueror@gmx.de>
5863
5864 * java/net/InetSocketAddress.java
5865 (serialVersionUID): New member variable.
5866 * java/net/NetPermission.java
5867 (NetPermission): Dont implement java.io.Serialization directly.
5868 * java/net/SocketAddress.java:
5869 (serialVersionUID): Documentation added.
5870
5871 2003-01-14 Michael Koch <konqueror@gmx.de>
5872
5873 * java/awt/Label.java
5874 (Label): Implements javax.accessibility.Accessible;
5875 * java/awt/List.java
5876 (List): Implements javax.accessibility.Accessible;
5877 * java/awt/ScrollPane.java
5878 (ScrollPane): Implements javax.accessibility.Accessible;
5879 * java/awt/Scrollbar.java
5880 (Scrollbar): Implements javax.accessibility.Accessible;
5881 * java/awt/TextComponent.java
5882 (setCaretPosition): Throw exception, documentation added.
5883 * java/awt/Toolkit.java:
5884 Added some newlines in method documentations.
5885 (createButton): Exception documentation added.
5886 (createTextField): Exception documentation added.
5887 (createLabel): Exception documentation added.
5888 (createList): Exception documentation added.
5889 (createCheckbox): Exception documentation added.
5890 (createScrollbar): Exception documentation added.
5891 (createScrollPane): Exception documentation added.
5892 (createTextArea): Exception documentation added.
5893 (createChoice): Exception documentation added.
5894 (createFrame): Exception documentation added.
5895 (createWindow): Exception documentation added.
5896 (createDialog): Exception documentation added.
5897 (createMenuBar): Exception documentation added.
5898 (createMenu): Exception documentation added.
5899 (createMenuItem): Exception documentation added.
5900 (createFileDialog): Exception documentation added.
5901 (createCheckboxMenuItem): Exception documentation added.
5902 (loadSystemColors): Exception documentation added.
5903 (setDynamicLayout): Exception documentation added.
5904 (isDynamicLayoutSet): Exception documentation added.
5905 (isDynamicLayoutActive): Exception documentation added.
5906 (getScreenSize): Exception documentation added.
5907 (getScreenResolution): Exception documentation added.
5908 (getScreenInsets): Exception documentation added.
5909 (getColorModel): Exception documentation added.
5910 (getSystemClipboard): Exception documentation added.
5911 (getSystemSelection): Exception documentation added.
5912 (getMenuShortcutKeyMask): Exception documentation added.
5913 (getSystemEventQueue): Exception documentation added.
5914 * java/awt/Window.java:
5915 Reindented some code.
5916 (Window): Centralized implementation, documentation added.
5917 (finalize): Documentation added.
5918 (hide): Fixed typo in comment.
5919 (getWindowListeners): Documentation added.
5920 * java/awt/color/ColorSpace.java
5921 (toRGB): Documentation added.
5922 * java/awt/color/ICC_ColorSpace.java
5923 (ICC_ColorSpace): Documentation added.
5924 (toRGB): Throw exception, documentation added.
5925 (fromRGB): Throw exception, documentation added.
5926 (toCIEXYZ): Documentation added.
5927 (fromCIEXYZ): Documentation added.
5928 (getMinValue): Documentation added.
5929 (getMaxValue): Documentation added.
5930 * java/awt/geom/Dimension2D.java
5931 (clone): Documentation added.
5932 * java/awt/geom/GeneralPath.java
5933 (clone): Documentation added.
5934 * java/awt/geom/Line2D.java
5935 (clone): Documentation added.
5936 * java/awt/geom/QuadCurve2D.java
5937 (clone): Documentation added.
5938 * java/awt/image/ColorModel.java
5939 (ColorModel): Throw exception, documentation added.
5940 * java/awt/image/ImageFilter.java
5941 (clone): Doesnt throw CloneNotSupportedException.
5942
5943 2003-01-14 Andrew Haley <aph@redhat.com>
5944
5945 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5946 in a try block.
5947
5948 2003-01-10 Andrew Haley <aph@redhat.com>
5949
5950 * include/dwarf2-signal.h: Remove x86_64.
5951 * configure.host (x86_64 DIVIDESPEC): Remove.
5952 * include/x86_64-signal.h: New file.
5953 * configure.in: Regenerate.
5954
5955 2003-01-10 Michael Koch <konqueror@gmx.de>
5956
5957 * java/net/DatagramSocket.java
5958 (ch): Description added.
5959 (remotePort): Initialize with -1.
5960 (connect): Doesnt throws SocketException.
5961 * java/net/MulticastSocket.java
5962 (setInterface): Merge with Classpath.
5963 * java/net/ServerSocket.java
5964 (closed): New member variable.
5965 (bind): Check if socket is closed.
5966 (close): Close an associated channel too, set new value to closed.
5967 (isBound): Reindented.
5968 (isClosed): Implemented.
5969 * java/net/Socket.java
5970 (closed): New member variable.
5971 (bind): Check if socket is closed.
5972 (connect): Check if socket is closed.
5973 (close): Close an associated channel too, set new value to closed.
5974 (isClosed): Implemented.
5975
5976 2003-01-10 Michael Koch <konqueror@gmx.de>
5977
5978 * java/awt/DisplayMode.java
5979 (equals): Fixed argument type and implementation.
5980
5981 2003-01-07 Tom Tromey <tromey@redhat.com>
5982
5983 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5984 JV_HASH_SYNCHRONIZATION.
5985 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5986 JV_HASH_SYNCHRONIZATION.
5987
5988 2003-01-07 Michael Koch <konqueror@gmx.de>
5989
5990 * java/net/DatagramSocket.java:
5991 Added classpath license info.
5992 (DatagramSocket): Merged description with classpath.
5993 (close): Merged description with classpath.
5994 (getChannel): Merged description with classpath.
5995 (getInetAddress): Merged description with classpath.
5996 (getPort): Merged description with classpath.
5997 (getLocalAddress): Merged description with classpath.
5998 (getLocalPort): Merged description with classpath.
5999 (getSoTimeout): Merged description with classpath.
6000 (setSoTimeout): Merged description with classpath.
6001 (getSendBufferSize): Merged description with classpath.
6002 (setSendBufferSize): Merged description with classpath.
6003 (getReceiveBufferSize): Merged description with classpath.
6004 (setReceiveBufferSize): Merged description with classpath.
6005
6006 2003-01-04 Tom Tromey <tromey@redhat.com>
6007
6008 * java/awt/List.java: Merged with Classpath.
6009
6010 2003-01-03 Mark Wielaard <mark@klomp.org>
6011
6012 * java/io/FileDescriptor.java (position): New private field.
6013 * java/io/natFileDescriptorPosix.cc (write): Up position.
6014 (setLength): Use and set position.
6015 (seek): Set position.
6016 (getFilePointer): Return position.
6017 (read): Up position.
6018
6019 2003-01-03 Mark Wielaard <mark@klomp.org>
6020
6021 Merge with Classpath:
6022 * java/io/ObjectStreamClass.java (lookup): Split method and call
6023 lookupForClassObject().
6024 (lookupForClassObject): New method.
6025 (isProxyClass): New field.
6026 (setClass): Set isProxyClass, add object to classLookupTable, set
6027 superClass and calculateOffsets.
6028 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6029 and not a proxy class.
6030 (setFields): Set accessible true for serialPersistentFields.
6031 (getClassUID): Same for suid. And check if suid is of type long.
6032 (hasClassInitializer): Don't throw NoSuchMethodError.
6033
6034 2003-01-03 Mark Wielaard <mark@klomp.org>
6035
6036 * java/io/FileInputStream.java (finalize): Don't explicitly
6037 finalize FileDescriptor.
6038
6039 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6040
6041 * configure.host (sparc*-*): Enable bytecode interpreter.
6042
6043 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6044
6045 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6046 Don't throw RemoteException.
6047 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6048 throw RemoteException.
6049
6050 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6051
6052 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6053 proxyHost): New static fields.
6054 (<clinit>): Initialize new fields.
6055 (connect): Use proxy if necessary.
6056 (usingProxy): Implement.
6057
6058 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6059
6060 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6061 (TreeIterator.remove): Prefer IllegalStateException over
6062 ConcurrentModificationException, to match Sun.
6063
6064 2002-12-22 Anthony Green <green@redhat.com>
6065
6066 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6067
6068 2003-01-02 Mark Wielaard <mark@klomp.org>
6069
6070 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6071 public.
6072 (HTTP_USE_PROXY): Add field.
6073 (getResponseVals): Only set responseCode when not yet explicitly
6074 set by subclass.
6075
6076 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6077 Mark Wielaard <mark@klomp.org>
6078
6079 * java/util/zip/ZipFile.java (entries): Now HashMap.
6080 (readLeShort(DataInput, byte[])): Read from given byte array.
6081 (readLeInt(DataInput, byte[]): Likewise.
6082 (readLeShort(byte[] b, int off)): New method.
6083 (readLeInt(byte[] b, int off)): Likewise.
6084 (readEntries): Use byte arrays to read info in bigger chunks.
6085 (getEntries): Return HashMap.
6086 (getEntry): Use HashMap.
6087 (locBuf): New private field.
6088 (checkLocalHeader): Use locBuf to read info in one chunk.
6089 (getInputStream): Use entries HashMap, wrap PartialInputStream
6090 in BufferedInputStream.
6091 (ZipEntryEnumeration): Use HashMap and Interator.
6092
6093 2003-01-02 Mark Wielaard <mark@klomp.org>
6094 Jeroen Frijters <jeroen@sumatra.nl>
6095
6096 * java/net/URLClassLoader.java (Resource.getCodeSource):
6097 Fix check certs == null.
6098 (getCanonicalFileURL): Removed method.
6099 (JarURLLoader): Don't call removed method.
6100 (FileURLLoader): Likewise.
6101 (FileURLLoader.getResource): Don't canonicalize file name.
6102
6103 2003-01-01 Tom Tromey <tromey@redhat.com>
6104
6105 * Makefile.in: Rebuilt.
6106 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6107 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6108 java/awt/BufferCapabilities.java, java/awt/Button.java,
6109 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6110 java/awt/Container.java, java/awt/Cursor.java,
6111 java/awt/EventQueue.java, java/awt/FileDialog.java,
6112 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6113 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6114 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6115 java/awt/Scrollbar.java, java/awt/TextArea.java,
6116 java/awt/TextField.java, java/awt/color/CMMException.java,
6117 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6118 java/awt/color/ProfileDataException.java,
6119 java/awt/datatransfer/Clipboard.java,
6120 java/awt/datatransfer/DataFlavor.java,
6121 java/awt/datatransfer/FlavorMap.java,
6122 java/awt/datatransfer/SystemFlavorMap.java,
6123 java/awt/dnd/DragGestureEvent.java,
6124 java/awt/dnd/DragGestureRecognizer.java,
6125 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6126 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6127 java/awt/im/InputMethodHighlight.java,
6128 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6129 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6130
6131 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6132 `op' to BufferedImageOp.
6133
6134 2002-12-31 Tom Tromey <tromey@redhat.com>
6135
6136 Fix for PR libgcj/7416:
6137 * javax/naming/InitialContext.java (init): Use
6138 gnu.classpath.home.url.
6139 * java/security/Security.java: Use new properties.
6140 (loadProviders): Accept base url; use it.
6141 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6142 gnu.classpath.home.url.
6143 (gnu.classpath.home.url): Define.
6144 (gnu.classpath.vm.shortname): Likewise.
6145
6146 2002-12-31 Tom Tromey <tromey@redhat.com>
6147 Ranjit Mathew <rmathew@hotmail.com>
6148
6149 Fix for PR libgcj/8997:
6150 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6151 Include platform.h.
6152 * include/posix.h (_Jv_platform_usleep): New function.
6153 * include/win32.h (_Jv_platform_usleep): New function.
6154
6155 2002-12-29 Tom Tromey <tromey@redhat.com>
6156
6157 * gcj/javaprims.h: Updated.
6158 * scripts/classes.pl (scan): Removed stray semicolon.
6159
6160 2002-12-30 Mark Wielaard <mark@klomp.org>
6161
6162 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6163 if zero or smaller.
6164
6165 2002-12-30 Mark Wielaard <mark@klomp.org>
6166
6167 * java/util/Properties (formatForOutput): Don't fall through to
6168 default case after escaping character.
6169
6170 2002-12-30 Mark Wielaard <mark@klomp.org>
6171
6172 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6173 against count.
6174
6175 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6176
6177 * boehm.cc: Remove stray semicolon.
6178 * interpret.cc: Likewise.
6179 * prims.cc: Likewise.
6180 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6181 earlier to ensure default arguments are processed.
6182 * gcj/array.h (JArray): Add forward declaration.
6183 (elements): Likewise.
6184 * gcj/javaprim.h: Remove stray semicolons.
6185 * include/bohm-gc.h: Likewise.
6186 * include/jni.h: Likewise.
6187 * include/jvm.h: Likewise.
6188 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6189
6190 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6191
6192 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6193 of catch_type.
6194 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6195 idt tables after initializing superclass.
6196 * java/lang/natClassLoader.cc (uaddr): New typedef.
6197 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6198 if they are constant pool indicies. Don't link vtable, otable yet.
6199
6200 2002-12-21 Anthony Green <green@redhat.com>
6201
6202 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6203 libraries.
6204 * Makefile.in: Rebuilt.
6205
6206 2002-12-19 Anthony Green <green@redhat.com>
6207
6208 * Makefile.am (ordinary_java_source_files): Add
6209 org/xml/sax/helpers/NewInstance.java.
6210 * Makefile.in: Rebuilt.
6211 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6212 org/xml/sax/helpers/package.html: New files.
6213 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6214 http://www.saxproject.org.
6215
6216 2002-12-19 Andrew Haley <aph@redhat.com>
6217
6218 * java/util/natResourceBundle.cc: Include
6219 ArrayIndexOutOfBoundsException.h.
6220 (getCallingClassLoader): Don't put upper bound on stack search.
6221 Catch ArrayIndexOutOfBoundsException.
6222
6223 2002-12-19 Tom Tromey <tromey@redhat.com>
6224
6225 * libtool-version: Increased `current'.
6226
6227 2002-12-19 Tom Tromey <tromey@redhat.com>
6228
6229 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6230 comment.
6231 * java/lang/ClassLoader.java (defineClass): Use chained
6232 exception when rethrowing.
6233 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6234 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6235 constants.
6236 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6237 (_Jv_PrepareClass): Use it.
6238 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6239 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6240 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6241 (Class): _Jv_PrepareMissingMethods now friend.
6242 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6243 Record `NULL' for system class loader.
6244 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6245 system class loader.
6246 (_Jv_FindClassInCache): Likewise.
6247 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6248 (_Jv_FindClass): Special case system class loader.
6249 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6250 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6251 vtable slots.
6252 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6253 in a final class.
6254 (_getDeclaredMethod): Don't return synthetic methods.
6255 (getDeclaredMethods): Likewise.
6256 (_getMethod): Likewise.
6257 (_getMethods): Likewise.
6258
6259 2002-12-18 Raif Naffah <raif@fl.net.au>
6260
6261 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6262 canonical form after divide().
6263 (modInverse): Likewise.
6264
6265 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6266 Mark Wielaard <mark@klomp.org>
6267
6268 * java/security/SecurityRandom (digest): Removed field.
6269 (SecureRandom): Check all providers for case-insensitive SecureRandom
6270 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6271 if necessary.
6272 (getInstance(String,Provider,boolean): New method.
6273 (getInstance(String)): Use new method.
6274 (getInstance(String,String)): Likewise.
6275 (getInstance(String,Provider)): Likewise.
6276
6277 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6278
6279 * java/security/Security.java (loadProviders): Increment i only once.
6280
6281 2002-12-12 Mark Wielaard <mark@klomp.org>
6282
6283 * java/lang/ClassLoader.java (resolveClass0): Transform
6284 ClassNotFoundException to NoClassDefFoundError. Transform all other
6285 throwables to LinkageError.
6286
6287 2002-12-11 Tom Tromey <tromey@redhat.com>
6288
6289 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6290
6291 * java/lang/ClassLoader.java (loadedClasses): New field.
6292 (defineClass): Fixed indentation. Put new class in
6293 loadedClasses.
6294 (findLoadedClass): Implement here.
6295 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6296
6297 2002-12-10 Tom Tromey <tromey@redhat.com>
6298
6299 * Makefile.in: Rebuilt.
6300 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6301 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6302 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6303 * java/lang/natClassLoader.cc
6304 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6305
6306 2002-12-10 Mark Wielaard <mark@klomp.org>
6307 Tom Tromey <tromey@redhat.com>
6308
6309 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6310 (JarURLLoader): Use it.
6311 (FileURLLoader): Likewise.
6312 (JarURLResource.getURL): Use chained exception.
6313 (FileResource.getURL): Likewise.
6314 (FileURLLoader.getResource): Use canonical file name.
6315 (addURL): Indentation fix.
6316
6317 2002-12-10 Tom Tromey <tromey@redhat.com>
6318
6319 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6320 From Laurent Bardet <l.bardet@magic.fr>.
6321
6322 2002-12-09 Tom Tromey <tromey@redhat.com>
6323
6324 * include/win32.h (_Jv_platform_solib_prefix): New define.
6325 (_Jv_platform_solib_suffix): Likewise.
6326 * include/posix.h (_Jv_platform_solib_prefix): New define.
6327 (_Jv_platform_solib_suffix): Likewise.
6328 * java/lang/natRuntime.cc: Include StackTrace.h.
6329 (_load): Use findLibrary and new platform defines.
6330 (nativeGetLibname): Use new platform defines.
6331
6332 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6333 `t' won't be null.
6334
6335 2002-12-08 Mark Wielaard <mark@klomp.org>
6336
6337 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6338 cache remote jar files.
6339 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6340 add File.separator to URL when it is a directory.
6341 * java/lang/ClassLoader.java: Add Classpath javadoc.
6342 (parent): final.
6343 (getParent): Add (disabled) security check.
6344 (findLibrary): New default method.
6345 * java/net/JarURLConnection.java (getManifest): Implement.
6346 (getInputStream): Only create InputStream when entry exists.
6347 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6348 when they exist.
6349 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6350
6351 2002-12-08 Mark Wielaard <mark@klomp.org>
6352
6353 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6354 (lastDefaultLocale): New field.
6355 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6356 resourceBundleCache.
6357
6358 2002-12-06 Mark Wielaard <mark@klomp.org>
6359
6360 * java/net/InetAddress.java (toString): Use hostname when not null,
6361 don't do an explicit reverse getHostName() lookup.
6362 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6363 NullPointerException.
6364
6365 2002-12-06 Tom Tromey <tromey@redhat.com>
6366
6367 * include/java-interp.h (class _Jv_InterpMethod): Added
6368 JV_MARKOBJ_DECL.
6369 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6370 mark `prepared' field of interpreted method.
6371 * interpret.cc (compile): Use _Jv_AllocBytes.
6372
6373 2002-12-05 Andrew Haley <aph@redhat.com>
6374
6375 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6376 #ifdef (HAVE_BACKTRACE) around the whole function body.
6377
6378 2002-12-05 Tom Tromey <tromey@redhat.com>
6379
6380 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6381 * resolve.cc: Don't include AbstractMethodError.h.
6382 (_Jv_abstractMethodError): Removed.
6383 * defineclass.cc (handleMethodsBegin): Initialize method index to
6384 -1.
6385 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6386 method index for "new" final method.
6387 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6388 isVirtualMethod. Added `flags' argument.
6389 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6390 class.
6391
6392 2002-12-04 Tom Tromey <tromey@redhat.com>
6393
6394 * java/net/SocketPermission.java (hashCode): Rewrote.
6395
6396 2002-12-04 Tom Tromey <tromey@redhat.com>
6397
6398 * Makefile.in: Rebuilt.
6399 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6400 natResourceBundle.
6401 * java/util/ResourceBundle.java (Security): Removed.
6402 (getCallingClassLoader): Now native.
6403 * java/util/natResourceBundle.cc: New file.
6404 * java/lang/natVMSecurityManager.cc: New file.
6405 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6406
6407 2002-12-03 Mark Wielaard <mark@klomp.org>
6408
6409 * java/util/jar/JarFile.java (manifest): Not final.
6410 (manifestRead): New field.
6411 (JarFile): Don't read Manifest in constructor.
6412 (getManifest): New method.
6413 (JarEnumeration.nextElement): Use new method.
6414 (getEntry): Likewise.
6415 * java/util/zip/ZipFile.java (name): Final.
6416 (raf): Likewsie.
6417 (entries): Change type to Hashtable.
6418 (closed): New field.
6419 (ZipFile): Don't read enties in constructor.
6420 (readEntries): Use Hashtable.
6421 (close): Set new close flag and set entries to null inside
6422 synchronized block.
6423 (entries): Contruct enumeration using new getEntries() method and
6424 entries Hashtable.
6425 (getEntryIndex): Removed.
6426 (getEntries): New method.
6427 (getEntry): Use new getEntries() method and entries Hastable.
6428 (getInputStream): Likewise.
6429 (size): Return getEntries().size().
6430 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6431 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6432 (time): Removed
6433 (dostime): New field.
6434 (zipFileIndex): Removed.
6435 (ZipEntry(ZipEntry)): Copy dostime.
6436 (setDOSTime): Now final and doesn't convert dos time.
6437 (getDOSTime): Likewise.
6438 (setTime): Convert dos time.
6439 (getTime): Likewise.
6440 (getCalendar): New method.
6441 (setExtra): Use setTime().
6442 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6443
6444 2002-12-03 Tom Tromey <tromey@redhat.com>
6445
6446 * java/lang/Character.java (forDigit): Formatting fix.
6447
6448 2002-12-03 Raif Naffah <raif@fl.net.au>
6449
6450 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6451 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6452 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6453
6454 2002-12-03 Andrew Haley <aph@redhat.com>
6455
6456 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6457 _Jv_PushClass.
6458 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6459 (_Jv_PopClass): New.
6460 (_Jv_PushClass): New.
6461 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6462 discover the ClassLoader of our caller.
6463 (_Jv_CheckArrayStore): Don't check that a class is assignment
6464 compatible with Object.
6465 * java/lang/natVMTHrowable.cc: Delete.
6466 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6467 java.lang.VMThrowable.
6468 (StackTrace(), StackTrace(int)): New constructors.
6469 (classAt, methodAt, update, methodAtAddress): New methods.
6470 (map): New field.
6471 * java/lang/VMThrowable.java: Use StackTrace instead of
6472 natVMTHrowable.
6473 * java/lang/Class.h (getClassLoaderInternal): New.
6474 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6475 Be friendly with gnu::gcj::runtime::StackTrace.
6476 (Object.chain): New field.
6477 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6478 gnu::gcj::runtime::StackTrace.
6479 * gnu/gcj/runtime/natStackTrace.cc: New file.
6480 * gnu/gcj/runtime/MethodRef.java: New file.
6481 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6482 instead of getClassLoader().
6483 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6484 java::lang::VMThrowable.
6485 * Makefile.am (core_java_source_files): Add MethodRef.java,
6486 StackTrace.java.
6487 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6488 * Makefile.in: Rebuild.
6489
6490 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6491
6492 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6493 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6494 yes also for sh-linux* and sh[34]*-linux*.
6495 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6496 set SIGNAL_HANDLER to use DWARF2 exception for them.
6497 * configure: Regenerate.
6498
6499 2002-12-02 Tom Tromey <tromey@redhat.com>
6500
6501 * jni.cc: Added `name' argument.
6502 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6503 `const char *' argument.
6504 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6505
6506 2002-12-01 Tom Tromey <tromey@redhat.com>
6507
6508 Bug compatibility, for PR libgcj/8738:
6509 * java/io/CharArrayWriter.java (close): Do nothing.
6510 (flush): Likewise.
6511 (reset): Don't touch `closed'.
6512 (write(int)): Don't throw IOException.
6513 (write(char[],int,int)): Likewise.
6514 (write(String,int,int)): Likewise.
6515 (closed): Removed.
6516
6517 2002-12-01 Mark Wielaard <mark@klomp.org>
6518
6519 * java/lang/SecurityManager.java: Remerge comments, indenting and
6520 checkXXX methods with Classpath.
6521
6522 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6523
6524 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6525 getNormalizedComponents): Fix calculation which was using one too
6526 many bits in the unnormalized format.
6527
6528 2002-11-29 Gary Benson <gbenson@redhat.com>
6529
6530 For PR libgcj/8759:
6531 * java/beans/Introspector.java (flushCaches): New method.
6532 (flushFromCaches): Likewise.
6533
6534 2002-11-29 Michael Koch <konqueror@gmx.de>
6535
6536 * java/nio/channels/DatagramChannel.java
6537 (open): Added exception documentation.
6538 (write): Added exception documentation.
6539 (connect): Added exception documentation.
6540 (disconnect): Added exception documentation.
6541 (isConnected): Added exception documentation.
6542 (read): Added exception documentation.
6543 (receive): Added exception documentation.
6544 (send): Added exception documentation.
6545 (validOps): Added exception documentation.
6546 * java/nio/channels/SocketChannel.java
6547 (open): Added exception documentation.
6548 (read): Added exception documentation.
6549 (write): Added exception documentation.
6550 (connect): Added exception documentation.
6551 (finishConnect): Added exception documentation.
6552
6553 2002-11-29 Michael Koch <konqueror@gmx.de>
6554
6555 * gnu/java/nio/DatagramChannelImpl:
6556 (fd): New member variable to store file descriptor of socket.
6557 * gnu/java/nio/SelectionKeyImpl.java:
6558 (ops): Removed.
6559 (readyOps): New member variable.
6560 (interestOps): New member variable.
6561 (readyOps): Implemented.
6562 (readyOps): New method to set member variable readyOps.
6563 (interestOps): Replaced ops by interestOps.
6564 * gnu/java/nio/SelectorImpl.java:
6565 (SelectorImpl): Initialize key sets.
6566 (select): Call select with -1 instead of Long.MAX_VALUE).
6567 (java_do_select): Make it a native method.
6568 (getFDsAsArray): New helper method.
6569 (select): Remove canceled keys, give only interested file discriptors
6570 to java_do_select, set ready ops.
6571 (add): No need to initialize keys set here.
6572 (add_selected): No need to initialize selected set here.
6573 (deregisterCanceledKeys): New helper method.
6574 (register): Set interest ops, set attachments, added handling of datagram
6575 channels.
6576 * gnu/java/nio/ServerSocketChannelImpl:
6577 (SocketAccept): Renamed from NioSocketAccept.
6578 (implConfigureBlocking): Implemented.
6579 (accept): Use SocketAccept instead of NioSocketAccept.
6580 * gnu/java/nio/SocketChannelImpl:
6581 Reactivate native methods.
6582
6583 2002-11-29 Michael Koch <konqueror@gmx.de>
6584
6585 * gnu/java/nio/natByteBufferImpl.cc,
6586 gnu/java/nio/natCharBufferImpl.cc,
6587 gnu/java/nio/natDoubleBufferImpl.cc,
6588 gnu/java/nio/natFloatBufferImpl.cc,
6589 gnu/java/nio/natIntBufferImpl.cc,
6590 gnu/java/nio/natLongBufferImpl.cc,
6591 gnu/java/nio/natSelectorImpl.cc,
6592 gnu/java/nio/natServerSocketChannelImpl.cc,
6593 gnu/java/nio/natShortBufferImpl.cc,
6594 gnu/java/nio/natSocketChannelImpl.cc:
6595 New files that implement native functionalities.
6596
6597 2002-11-29 Michael Koch <konqueror@gmx.de>
6598
6599 * gnu/java/nio/ByteBufferImpl.java
6600 (ByteBufferImpl): Moved position() after limit.
6601 (nio_*): Use native implementation.
6602 * gnu/java/nio/CharBufferImpl.java:
6603 Reformated.
6604 (endian): New member variable string endianess of buffer.
6605 (CharBufferImpl): Moved position() after limit.
6606 (nio_*): Use native implementation.
6607 (subSequence): Implemented.
6608 * gnu/java/nio/DoubleBufferImpl.java
6609 (DoubleBufferImpl): Moved position() after limit.
6610 (nio_*): Use native implementation.
6611 * gnu/java/nio/FloatBufferImpl.java
6612 Reformated.
6613 (FloatBufferImpl): Moved position() after limit.
6614 (nio_*): Use native implementation.
6615 * gnu/java/nio/IntBufferImpl.java
6616 Added needed imports, Reformated.
6617 (IntBufferImpl): Moved position() after limit.
6618 (nio_*): Use native implementation.
6619 * gnu/java/nio/LongBufferImpl.java
6620 Reformated.
6621 (LongBufferImpl): Moved position() after limit.
6622 (nio_*): Use native implementation.
6623 * gnu/java/nio/ShortBufferImpl.java
6624 Reformated.
6625 (ShortBufferImpl): Moved position() after limit.
6626 (nio_*): Use native implementation.
6627
6628 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6629
6630 * java/util/Locale.java (toString): Improve efficiency if country
6631 and variant are both empty.
6632
6633 2002-11-26 Tom Tromey <tromey@redhat.com>
6634
6635 * verify.cc (pop_init_ref): New method.
6636 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6637 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6638 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6639 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6640 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6641 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6642 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6643 let `this' argument be uninitialized. Don't let `null' be passed
6644 as `this' to construtor.
6645
6646 2002-11-26 Mark Wielaard <mark@klomp.org>
6647
6648 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6649 * javax/transaction/HeuristicMixedException.java: Likewise.
6650 * javax/transaction/HeuristicRollbackException.java: Likewise.
6651 * javax/transaction/InvalidTransactionException.java: Likewise.
6652 * javax/transaction/NotSupportedException.java: Likewise.
6653 * javax/transaction/RollbackException.java: Likewise.
6654 * javax/transaction/Status.java: Likewise.
6655 * javax/transaction/Synchronization.java: Likewise.
6656 * javax/transaction/SystemException.java: Likewise.
6657 * javax/transaction/Transaction.java: Likewise.
6658 * javax/transaction/TransactionManager.java: Likewise.
6659 * javax/transaction/TransactionRequiredException.java: Likewise.
6660 * javax/transaction/TransactionRolledbackException.java: Likewise.
6661 * javax/transaction/UserTransaction.java: Likewise.
6662 * javax/transaction/xa/XAException.java: Likewise.
6663 * javax/transaction/xa/XAResource.java: Likewise.
6664 * javax/transaction/xa/Xid.java: Likewise.
6665
6666 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6667
6668 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6669 define.
6670 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6671 * include/posix.h (socklen_t): Define if not already defined.
6672
6673 2002-11-25 Tom Tromey <tromey@redhat.com>
6674
6675 * verify.cc (type::compatible): Backed out broken change.
6676
6677 * verify.cc (type::compatible): Check initialization status
6678 first.
6679 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6680 Don't use NULLCHECK.
6681
6682 2002-11-23 H.J. Lu <hjl@gnu.org>
6683
6684 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6685 Include ../config/accross.m4.
6686 * aclocal.m4; Rebuild.
6687 * configure: Likewise.
6688
6689 2002-11-23 Mark Wielaard <mark@klomp.org>
6690
6691 * javax/naming/AuthenticationException.java: Update copyright header.
6692 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6693 * javax/naming/Binding.java: Likewise.
6694 * javax/naming/CannotProceedException.java: Likewise.
6695 * javax/naming/CommunicationException.java: Likewise.
6696 * javax/naming/CompositeName.java: Likewise.
6697 * javax/naming/CompoundName.java: Likewise.
6698 * javax/naming/ConfigurationException.java: Likewise.
6699 * javax/naming/Context.java: Likewise.
6700 * javax/naming/ContextNotEmptyException.java: Likewise.
6701 * javax/naming/InitialContext.java: Likewise.
6702 * javax/naming/InsufficientResourcesException.java: Likewise.
6703 * javax/naming/InterruptedNamingException.java: Likewise.
6704 * javax/naming/LimitExceededException.java: Likewise.
6705 * javax/naming/LinkException.java: Likewise.
6706 * javax/naming/LinkLoopException.java: Likewise.
6707 * javax/naming/LinkRef.java: Likewise.
6708 * javax/naming/MalformedLinkException.java: Likewise.
6709 * javax/naming/NameAlreadyBoundException.java: Likewise.
6710 * javax/naming/NameClassPair.java: Likewise.
6711 * javax/naming/NameNotFoundException.java: Likewise.
6712 * javax/naming/NameParser.java: Likewise.
6713 * javax/naming/NamingEnumeration.java: Likewise.
6714 * javax/naming/NamingSecurityException.java: Likewise.
6715 * javax/naming/NoInitialContextException.java: Likewise.
6716 * javax/naming/NoPermissionException.java: Likewise.
6717 * javax/naming/NotContextException.java: Likewise.
6718 * javax/naming/OperationNotSupportedException.java: Likewise.
6719 * javax/naming/PartialResultException.java: Likewise.
6720 * javax/naming/Reference.java: Likewise.
6721 * javax/naming/Referenceable.java: Likewise.
6722 * javax/naming/ReferralException.java: Likewise.
6723 * javax/naming/ServiceUnavailableException.java: Likewise.
6724 * javax/naming/SizeLimitExceededException.java: Likewise.
6725 * javax/naming/TimeLimitExceededException.java: Likewise.
6726 * javax/naming/directory/Attribute.java: Likewise.
6727 * javax/naming/directory/AttributeInUseException.java: Likewise.
6728 * javax/naming/directory/AttributeModificationException.java: Likewise.
6729 * javax/naming/directory/Attributes.java: Likewise.
6730 * javax/naming/directory/BasicAttribute.java: Likewise.
6731 * javax/naming/directory/BasicAttributes.java: Likewise.
6732 * javax/naming/directory/DirContext.java: Likewise.
6733 * javax/naming/directory/InitialDirContext.java: Likewise.
6734 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6735 Likewise.
6736 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6737 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6738 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6739 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6740 * javax/naming/directory/ModificationItem.java: Likewise.
6741 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6742 * javax/naming/directory/SchemaViolationException.java: Likewise.
6743 * javax/naming/directory/SearchControls.java: Likewise.
6744 * javax/naming/directory/SearchResult.java: Likewise.
6745 * javax/naming/event/EventContext.java: Likewise.
6746 * javax/naming/event/EventDirContext.java: Likewise.
6747 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6748 * javax/naming/event/NamingEvent.java: Likewise.
6749 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6750 * javax/naming/event/NamingListener.java: Likewise.
6751 * javax/naming/event/ObjectChangeListener.java: Likewise.
6752 * javax/naming/ldap/Control.java: Likewise.
6753 * javax/naming/ldap/ControlFactory.java: Likewise.
6754 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6755 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6756 * javax/naming/ldap/HasControls.java: Likewise.
6757 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6758 * javax/naming/ldap/LdapContext.java: Likewise.
6759 * javax/naming/ldap/LdapReferralException.java: Likewise.
6760 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6761 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6762 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6763 * javax/naming/spi/DirObjectFactory.java: Likewise.
6764 * javax/naming/spi/DirStateFactory.java: Likewise.
6765 * javax/naming/spi/DirectoryManager.java: Likewise.
6766 * javax/naming/spi/InitialContextFactory.java: Likewise.
6767 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6768 * javax/naming/spi/NamingManager.java: Likewise.
6769 * javax/naming/spi/ObjectFactory.java: Likewise.
6770 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6771 * javax/naming/spi/ResolveResult.java: Likewise.
6772 * javax/naming/spi/Resolver.java: Likewise.
6773 * javax/naming/spi/StateFactory.java: Likewise.
6774
6775 * javax/naming/spi/NamingManager.java (ofb): Package private.
6776
6777 2002-11-21 Mark Wielaard <mark@klomp.org>
6778
6779 * java/net/URL.java: Merge with Classpath (partly).
6780 * java/net/URLStreamHandler: Merge with Classpath.
6781
6782 2002-11-22 Michael Koch <konqueror@gmx.de>
6783
6784 * include/posix.h:
6785 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6786 * include/win32.h:
6787 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6788 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6789
6790 2002-11-21 Michael Koch <konqueror@gmx.de>
6791
6792 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6793 Only the new network functions should be in it.
6794
6795 2002-11-21 Michael Koch <konqueror@gmx.de>
6796
6797 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6798 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6799
6800 2002-11-21 Michael Koch <konqueror@gmx.de>
6801
6802 * java/nio/channels/AsynchronousCloseException.java,
6803 java/nio/channels/CancelledKeyException.java,
6804 java/nio/channels/ClosedByInterruptException.java,
6805 java/nio/channels/ConnectionPendingException.java,
6806 java/nio/channels/FileLockInterruptionException.java,
6807 java/nio/channels/IllegalSelectorException.java,
6808 java/nio/channels/NoConnectionPendingException.java,
6809 java/nio/channels/NonReadableChannelException.java,
6810 java/nio/channels/NonWritableChannelException.java,
6811 java/nio/channels/NotYetBoundException.java,
6812 java/nio/channels/NotYetConnectedException.java,
6813 java/nio/channels/OverlappingFileLockException.java,
6814 java/nio/channels/UnresolvedAddressException.java,
6815 java/nio/channels/UnsupportedAddressTypeException.java:
6816 New files.
6817 * Makefile.am (ordinary_java_source_files): Added new files.
6818 * Makefile.in: Regenerated.
6819
6820 2002-11-21 Michael Koch <konqueror@gmx.de>
6821
6822 * include/posix.h
6823 (_Jv_socket): New method.
6824 (_Jv_connect): New method.
6825 (_Jv_close): New method.
6826 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6827 (_Jv_bind): New method.
6828 (_Jv_listen): New method.
6829 (_Jv_write): New method.
6830 (_Jv_read): New method.
6831 * include/win32.h
6832 (_Jv_socket): New method.
6833 (_Jv_connect): New method.
6834 (_Jv_close): New method.
6835 (_Jv_bind): New method.
6836 (_Jv_listen): New method.
6837 (_Jv_write): New method.
6838 (_Jv_read): New method.
6839 * java/net/natNetworkInterface.cc:
6840 Include platform.h, removed inclusion of socket.h
6841 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6842 ::close() by _Jv_close().
6843 * java/net/natPlainDatagramSocketImpl.cc:
6844 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6845 added some new lines to make code more readable.
6846 (create): Replaced ::socket() by _Jv_socket().
6847 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6848 * java/net/natPlainSocketImpl.cc:
6849 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6850 removed include of socket.h, removed some windows defines
6851 (now in include/win32.h).
6852 (create): Replaced ::socket() by _Jv_socket().
6853 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6854 (write): Replaced ::read by _Jv_write().
6855 (read): Replaced ::read by _Jv_read().
6856
6857 2002-11-20 Michael Koch <konqueror@gmx.de>
6858
6859 * Makefile.am (ordinary_java_source_files):
6860 Added java/nio/channels/FileChannel.java.
6861 * Makefile.in: Regenerated.
6862
6863 2002-11-20 Michael Koch <konqueror@gmx.de>
6864
6865 * java/io/FileInputStream.java
6866 (getChannel): New method.
6867 * java/io/FileOutputStream.java
6868 (getChannel): New method.
6869 * java/net/ServerSocket.java
6870 (bind): Removed duplicate code and called another bind method instead.
6871 * java/nio/channels/SelectionKey.java
6872 (isValid): Removed wrong exception documentation.
6873 * java/nio/channels/ServerSocketChannel.java
6874 (accept): Added exception documentation.
6875 (open): Fixed typo, added exception documentation.
6876 * java/nio/channels/spi/AbstractSelectableChannel.java
6877 (implCloseChannel): Added exception documentation.
6878 (add): Reformated.
6879 (register): Added exception documentation.
6880
6881 2002-11-20 Andreas Jaeger <aj@suse.de>
6882
6883 * configure: Regenerated with new libtool.m4.
6884
6885 2002-11-19 Tom Tromey <tromey@redhat.com>
6886
6887 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6888 `referent'.
6889 (finalize_referred_to_object): Don't modify `referent' or `copy'
6890 fields.
6891 (add_to_hash): Correctly set `n->next' when updating list.
6892 * java/lang/ref/Reference.java (enqueue): Return false if already
6893 enqueued.
6894
6895 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6896
6897 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6898 to function and function pointer declarations in accordance with
6899 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6900 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6901 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6902 JNI function definitions.
6903
6904 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6905
6906 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6907 that was causing CoderResults to be cached, not WeakReferences
6908 to CoderResults.
6909
6910 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6911
6912 * java/security/KeyStore.java (getInstance): Fix
6913 comment and throw IllegalArgumentException if
6914 given provider is null.
6915 (getInstance): New method for jdk1.4 compatibility.
6916
6917 2002-11-18 Michael Koch <konqueror@gmx.de>
6918
6919 * java/net/PlainSocketImpl.java: Fix imports.
6920
6921 2002-11-18 Michael Koch <konqueror@gmx.de>
6922
6923 * java/nio/channels/SelectionKey.java
6924 (isValid): Added exception documentation.
6925 * java/nio/channels/Selector.java
6926 (open): Declare "throws IOException".
6927
6928 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6929
6930 * java/nio/charset/Charset.java
6931 (<clinit>): New method.
6932 (encode): Synchronize use of cached encoder object.
6933 (decode): Synchronize use of cached encoder object.
6934
6935 2002-11-18 Michael Koch <konqueror@gmx.de>
6936
6937 * gnu/java/nio/ByteBufferImpl.java,
6938 gnu/java/nio/CharBufferImpl.java,
6939 gnu/java/nio/DatagramChannelImpl.java,
6940 gnu/java/nio/DoubleBufferImpl.java,
6941 gnu/java/nio/FileChannelImpl.java,
6942 gnu/java/nio/FloatBufferImpl.java,
6943 gnu/java/nio/IntBufferImpl.java,
6944 gnu/java/nio/LongBufferImpl.java,
6945 gnu/java/nio/PipeImpl.java,
6946 gnu/java/nio/SelectionKeyImpl.java,
6947 gnu/java/nio/SelectorImpl.java,
6948 gnu/java/nio/SelectorProviderImpl.java,
6949 gnu/java/nio/ServerSocketChannelImpl.java,
6950 gnu/java/nio/ShortBufferImpl.java,
6951 gnu/java/nio/SocketChannelImpl.java,
6952 java/nio/DoubleBuffer.java,
6953 java/nio/FloatBuffer.java,
6954 java/nio/IntBuffer.java,
6955 java/nio/LongBuffer.java,
6956 java/nio/ShortBuffer.java,
6957 java/nio/channels/FileChannel.java: New files.
6958
6959 2002-11-18 Michael Koch <konqueror@gmx.de>
6960
6961 * Makefile.am (ordinary_java_source_files):
6962 Added java/nio/ReadOnlyBufferException.java and
6963 java/nio/channels/ClosedSelectorException.java.
6964 * Makefile.in: Regenerated.
6965
6966 2002-11-18 Michael Koch <konqueror@gmx.de>
6967
6968 * java/net/PlainSocketImpl.java: Reworked imports.
6969 * java/net/ServerSocket.java
6970 (ServerSocket): Create socket.
6971 * java/net/SocketAddress.java: Documentation added.
6972 * java/net/natPlainSocketImpl.cc: Reindented.
6973 * java/nio/ReadOnlyBufferException.java: New file
6974 * java/nio/channels/ClosedChannelException.java: Documentation added.
6975 * java/nio/channels/ClosedSelectorException.java: New file.
6976
6977 2002-11-17 Mark Wielaard <mark@klomp.org>
6978
6979 * java/net/HttpURLConnection.java ((getPermission): Take port
6980 into consideration.
6981 (getErrorStream): Implement.
6982
6983 2002-11-17 Mark Wielaard <mark@klomp.org>
6984
6985 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6986
6987 2002-11-16 Mark Wielaard <mark@klomp.org>
6988
6989 Integrate work by Raif S. Naffah (raif@fl.net.au)
6990 * java/security/DummyKeyPairGenerator.java (clone): New method.
6991 * java/security/DummyMessageDigest.java (clone): New method.
6992 (engineUpdate): Now public.
6993 (engineReset): Likewise.
6994 (engineDigest): Likewise.
6995 (engineGetDigestLength): New method.
6996 * java/security/DummySignature.java (clone): New method.
6997 * java/security/KeyPairGenerator.java (provider): Now package private.
6998 (getInstance(String)): Use getInstance(String,Provider).
6999 (getInstance(String,String): Use getInstance(String,Provider)
7000 (getInstance(String,Provider): New method.
7001 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7002 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7003 * java/security/MessageDigest.java (provider): Now package private.
7004 (getInstance(String): Use getInstance(String,Provider).
7005 (getInstance(String,String): Use getInstance(String,Provider)
7006 (getInstance(String,Provider): New method.
7007 * java/security/Provider.java (toCanonicalKey): New method.
7008 (get): New method that uses toCanonicalKey().
7009 (put): Use toCanonicalKey().
7010 (remove): Likewise.
7011 * java/security/Security.java (insertProviderAt): Provider index is one
7012 based, not zero based.
7013 (addProvider): Likewise.
7014 (removeProvider): Likewise.
7015 * java/security/Signature.java (provider): Now package private.
7016 (getInstance(String)): Use getInstance(String,Provider).
7017 (getInstance(String,String): Use getInstance(String,Provider)
7018 (getInstance(String,Provider): New method.
7019 (getInstance(String,String,Provider): Don't cast DummySignature.
7020
7021 2002-11-15 Tom Tromey <tromey@redhat.com>
7022
7023 For PR libgcj/8593:
7024 * java/util/zip/GZIPInputStream.java (read): Check file size.
7025 Look in inflater for remaining input bytes.
7026 (read4): Added buf and offset arguments.
7027
7028 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7029
7030 * java/applet/AppletContext.java: Fix typo and remove redundant
7031 modifiers.
7032
7033 2002-11-14 Tom Tromey <tromey@redhat.com>
7034
7035 * java/lang/natRuntime.cc (insertSystemProperties): Set
7036 gnu.classpath.home.
7037
7038 2002-11-13 Michael Koch <konqueror@gmx.de>
7039
7040 * java/nio/ByteBuffer.java
7041 (allocate): New method.
7042 (wrap): New method.
7043 (put): New method.
7044 (get): New method.
7045
7046 2002-11-13 Michael Koch <konqueror@gmx.de>
7047
7048 * java/nio/channels/AlreadyConnectedException.java:
7049 Removed unneeded import.
7050 (AlreadyConnectedException): Documentation added.
7051 * java/nio/channels/Pipe.java
7052 (SinkChannel.SinkChannel): Documentation added.
7053 (SinkChannel.validOps): New method.
7054 (SourceChannel.SourceChannel): Documentation added.
7055 (SourceChannel.validOps): New method.
7056 (Pipe): Documentation added.
7057 (open): Documentation added.
7058 (SinkChannel.channel): Documentation added.
7059 (SourceChannel.channel): Documentation added.
7060 * java/nio/channel/SelectableChannel.java
7061 (SelectableChannel): Documentation added.
7062 (blockingLock): Documentation added.
7063 (configureBlocking):Documentation added.
7064 (isBlocking):Documentation added.
7065 (isRegistered):Documentation added.
7066 (keyFor):Documentation added.
7067 (provider):Documentation added.
7068 (register): Documentation added.
7069 (validOps): Documentation added.
7070 * jaba/nio/channels/SelectionKey.java
7071 (SelectionKey): Documentation added.
7072 (attach): Documentation added.
7073 (attachment): Documentation added.
7074 (isAcceptable): Documentation added.
7075 (isConnetable): Documentation added.
7076 (isReadable): Documentation added.
7077 (isWritable): Documentation added.
7078 (cancel): Documentation added.
7079 (channel): Documentation added.
7080 (interestOps): Documentation added.
7081 (isValid): Documentation added.
7082 (readyOps): Documentation added.
7083 (selector): Documentation added.
7084 * jaba/nio/channels/Selector.java
7085 (Selector): Documentation added.
7086 (open): Documentation added.
7087 (close): Documentation added.
7088 (isOpen): Documentation added.
7089 (keys): Documentation added.
7090 (provider): Documentation added.
7091 (select): Documentation added.
7092 (selectedKeys): Documentation added.
7093 (selectNow): Documentation added.
7094 (wakeup): Documentation added.
7095 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7096 (AbstractInterruptibleChannel): Documentation added.
7097 (opened): Default to true;
7098 (begin): Documentation added.
7099 (close): Set opened to false, documentation added.
7100 (isOpen): Documentation added.
7101 * java/nio/channels/spi/AbstractSelectionKey.java
7102 (AbstractSelectionKey): Documentation added.
7103 (cancel): Documentation added.
7104 (isValid): Documentation added.
7105 * java/nio/channels/spi/AbstractSelector.java
7106 (AbstractSelector): Documentation added.
7107 (begin): Documentation added.
7108 (close): Documentation added.
7109 (isOpen): Documentation added.
7110 (deregister): Documentation added.
7111 (end): Documentation added.
7112 (provider): Documentation added.
7113 (implCloseSelector): Documentation added.
7114 (register): Documentation added.
7115 * java/nio/channels/spi/SelectorProvider.java
7116 (SelectorProvider): Documentation added.
7117 (openDatagramChannel): Documentation added.
7118 (openPipe): Documentation added.
7119 (openSelector): Documentation added.
7120 (openServerSocketChannel): Documentation added.
7121 (openSocketChannel): Documentation added.
7122 (provider): Documentation added.
7123
7124 2002-11-12 Michael Koch <konqueror@gmx.de>
7125
7126 * java/nio/Buffer.java: Implemented.
7127 * java/nio/CharBuffer.java: New file.
7128 * java/nio/InvalidMarkException.java: New file.
7129 * java/nio/channels/DatagramChannel.java: Implemented.
7130 * java/nio/channels/ServerSocketChannel.java: Implemented.
7131 * java/nio/channels/SocketChannel.java: Implemented.
7132 * java/nio/channels/spi/AbstractChannel.java: Removed.
7133 * java/nio/channels/spi/AbstractSelectableChannel.java:
7134 Implemented.
7135 * java/nio/charset/Charset.java:
7136 Merge from Classpath.
7137 * java/nio/charset/CharsetDecoder.java: New file.
7138 * java/nio/charset/CharsetEncoder.java: New file.
7139 * java/nio/charset/CoderResult.java: New file.
7140 * Makefile.am (ordinary_java_source_files): Added new files.
7141 * Makefile.in: Regenerated.
7142
7143 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7144
7145 * gnu/java/nio/charset/ISO_8859_1.java,
7146 gnu/java/nio/charset/Provider.java,
7147 gnu/java/nio/charset/US_ASCII.java,
7148 gnu/java/nio/charset/UTF_16.java,
7149 gnu/java/nio/charset/UTF_16BE.java,
7150 gnu/java/nio/charset/UTF_16Decoder.java,
7151 gnu/java/nio/charset/UTF_16Encoder.java,
7152 gnu/java/nio/charset/UTF_16LE.java,
7153 gnu/java/nio/charset/UTF_8.java: New files.
7154
7155 2002-11-11 Michael Koch <konqueror@gmx.de>
7156
7157 * java/nio/charset/CharacterCodingException.java:
7158 This class must be public.
7159 * java/nio/charset/CoderMalfunctionError.java:
7160 This class must be public.
7161 * java/nio/charset/CodingErrorAction.java:
7162 This class must be public.
7163 * java/nio/charset/IllegalCharsetNameException.java:
7164 This class must be public, better implementation.
7165 * java/nio/charset/MalformedInputException.java:
7166 This class must be public, better implementation.
7167 * java/nio/charset/UnmappableCharacterException.java:
7168 This class must be public, better implementation.
7169 * java/nio/charset/UnsupportedCharsetException.java:
7170 This class must be public, better implementation.
7171
7172 2002-11-11 Michael Koch <konqueror@gmx.de>
7173
7174 * java/nio/BufferOverflowException.java,
7175 java/nio/BufferUnderflowException.java: New file.
7176 * Makefile.am (ordinary_java_source_files):
7177 Added new files.
7178 * Makefile.in: Regenerated.
7179
7180 2002-11-10 Tom Tromey <tromey@redhat.com>
7181
7182 * java/awt/Container.java (validate): Use tree lock.
7183 (getComponent): Likewise.
7184 (getComponents): Likewise.
7185 (addImpl): Likewise.
7186 (remove): Likewise.
7187 (removeAll): Likewise.
7188 (processEvent): Fixed indentation.
7189 (getComponentAt): Use tree lock.
7190 (findComponentAt): Likewise.
7191 (removeNotify): Likewise.
7192 (isAncestorOf): Likewise.
7193 (list): Likewise.
7194 (visitChildren): Likewise.
7195 (findNextFocusComponent): Likewise.
7196 (addNotifyContainerChildren): Likewise.
7197 (getAccessibleChildrenCount): Likewise.
7198 (getAccessibleChild): Likewise.
7199
7200 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7201 (getSize): Likewise.
7202 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7203 (getSize): Likewise.
7204 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7205 (calcSize): Likewise.
7206 * java/awt/CardLayout.java (getSize): Use tree lock.
7207 (gotoComponent): Likewise.
7208 (layoutContainer): Likewise.
7209
7210 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7211 count is 0.
7212 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7213 count is 0.
7214
7215 * java/io/Externalizable.java, java/io/FilePermission.java,
7216 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7217 java/io/SerializablePermission.java, java/text/Format.java,
7218 java/util/AbstractMap.java, java/util/HashMap.java,
7219 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7220 versions from Classpath.
7221
7222 2002-11-10 Anthony Green <green@redhat.com>
7223
7224 * java/util/jar/Attributes.java (Name): Fix name check.
7225
7226 2002-11-10 Mark Wielaard <mark@klomp.org>
7227
7228 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7229 with getName() as message.
7230 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7231 type as message.
7232
7233 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7234 unused.
7235
7236 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7237
7238 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7239 for Win32. JNICALL has been defined to __stdcall to be compatible
7240 with Sun's JDKs.
7241
7242 2002-11-10 Tom Tromey <tromey@redhat.com>
7243
7244 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7245 (setRows): Check newRows, not rows.
7246
7247 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7248
7249 2002-11-09 Tom Tromey <tromey@redhat.com>
7250
7251 * java/applet/Applet.java, java/applet/AppletContext.java,
7252 java/applet/AppletStub.java, java/applet/AudioClip.java,
7253 java/awt/CardLayout.java,
7254 java/awt/ContainerOrderFocusTraversalPolicy.java,
7255 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7256 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7257 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7258 java/awt/color/ICC_ColorSpace.java,
7259 java/awt/color/ICC_Profile.java,
7260 java/awt/color/ICC_ProfileGray.java,
7261 java/awt/color/ICC_ProfileRGB.java,
7262 java/awt/datatransfer/DataFlavor.java,
7263 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7264 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7265 New versions from Classpath.
7266 * Makefile.in: Rebuilt.
7267 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7268 ICC_ProfileRGB.
7269
7270 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7271 display policy.
7272
7273 * java/awt/List.java (processEvent): Added missing `else's.
7274
7275 * java/awt/Window.java (show): validate() before showing. Make
7276 parent displayable.
7277 (isDisplayable): New method.
7278
7279 2002-11-07 Mark Wielaard <mark@klomp.org>
7280
7281 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7282 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7283
7284 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7285 annotation.
7286 (loadClass): Take String as codebases.
7287 (getClassAnnotation): Use MyClassLoader annotations.
7288 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7289 call exportObject(this).
7290
7291 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7292 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7293 (setAnnotation): Don't set locBytesStream and locStream.
7294 (replaceObject): Removed.
7295 (flush): Don't test locStream.
7296 (getLocBytes): LikeWise.
7297 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7298 (leaseCache): New field.
7299 (dirty): Use leaseCache.
7300 (LeaseRecord): New inner class.
7301 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7302 explicitly call exportObject().
7303 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7304 false to communicate with Sun JDK130.
7305 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7306 * gnu/java/rmi/server/RMIObjectInputStream.java
7307 (UnicastConnectionManager): Removed field.
7308 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7309 Use UnicastServer.getExportedRef().
7310 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7311 (expireTime): Likewise.
7312 (CONNECTION_TIMEOUT): Likewise.
7313 (disconnect): Call sock.close().
7314 (isExpired): New method.
7315 (resetTime): Likewise.
7316 (run): Use do while loop and catch Exception for discardConnection().
7317 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7318 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7319 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7320 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7321 (exportObject): Use refcache.
7322 (unexportObject): Likewise.
7323 (getExportedRef): New method.
7324 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7325 constructor.
7326 (exportObject): Save manager.serverobj.
7327 (getStub): New method.
7328
7329 2002-11-07 Mark Wielaard <mark@klomp.org>
7330
7331 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7332 (getByte): Likewise.
7333 (getShort): Likewise.
7334 (getInt): Likewise.
7335 (getLong): Likewise.
7336 (getFloat): Likewise.
7337 (getDouble): Likewise.
7338 (get): Likewise.
7339 (setChar): Likewise.
7340 (setByte): Likewise.
7341 (setShort): Likewise.
7342 (setInt): Likewise.
7343 (setLong): Likewise.
7344 (setFloat): Likewise.
7345 (setDouble): Likewise.
7346
7347 2002-11-07 Michael Koch <konqueror@gmx.de>
7348
7349 * java/awt/Choice.java,
7350 java/awt/Container.java,
7351 java/awt/GridBagLayout.java:
7352 Fixed documentation.
7353 * java/awt/peer/ContainerPeer.java:
7354 Reindented.
7355
7356 2002-11-07 Michael Koch <konqueror@gmx.de>
7357
7358 * java/awt/color/ICC_Profile.java:
7359 Added missing constants.
7360 * java/awt/color/ICC_ColorSpace.java
7361 (getMinValue): Added dummy implementation.
7362 (getMaxValue): Added dummy implementation.
7363 * java/awt/datatransfer/DataFlavor.java
7364 (imageFlavor): Added.
7365 (isMimeTypeEqual): Must be final.
7366 (getDefaultRepresentationClass): Must be non-static.
7367 (getDefaultRepresentationClassAsString): Must be non-static.
7368 * java/awt/dnd/DragSourceContext.java
7369 (dragExit): Corrected argument.
7370 (dragDropEnd): Corrected argument.
7371 * java/awt/dnd/DragSourceListener.java.java
7372 (dragExit): Corrected argument.
7373 (dragDropEnd): Corrected argument.
7374 * java/awt/font/TextHitInfo.java
7375 (toString): Added stubbed implementation.
7376 * java/awt/geom/PathIterator.java:
7377 The constants must be static.
7378 * java/awt/image/VolatileImage.java
7379 (IMAGE_INCOMPATIBLE): Fixed typo.
7380 * java/awt/image/renderable/RenderableImage.java
7381 (HINTS_OBSERVED): Must be static.
7382 * java/beans/BeanInfo.java:
7383 Constants must be final.
7384
7385 2002-11-06 Tom Tromey <tromey@redhat.com>
7386
7387 From svens@it.uu.se. For PR libgcj/8481.
7388 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7389
7390 2002-11-06 Tom Tromey <tromey@redhat.com>
7391
7392 * jni.cc (array_from_valist): Assume that jlong won't be
7393 promoted.
7394
7395 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7396
7397 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7398 Return 20.
7399 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7400 Return 16.
7401
7402 2002-11-03 Tom Tromey <tromey@redhat.com>
7403
7404 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7405 VMClassLoader, not findClass.
7406
7407 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7408
7409 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7410 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7411 _Jv_DetermineVTableIndex, to determine vtable offset.
7412 (_Jv_DetermineVTableIndex): Remove.
7413 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7414
7415 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7416
7417 2002-11-03 Tom Tromey <tromey@redhat.com>
7418
7419 * java/nio/channels/AlreadyConnectedException.java: Extend
7420 IllegalStateException, per spec.
7421
7422 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7423
7424 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7425
7426 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7427
7428 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7429 size items.
7430
7431 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7432
7433 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7434 initial estimated size to avoid enlarge buffer frequently.
7435
7436 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7437
7438 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7439 ClassLoader when null.
7440 (ProxyType.hashCode): Loader null check no longer needed.
7441 (ProxyType.sameTypes): New method.
7442 (ProxyType.equals): Use new method.
7443
7444 2002-10-31 Mark Wielaard <mark@klomp.org>
7445
7446 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7447 length of String.
7448 * java/net/URLEncoder.java (encode): Likewise.
7449
7450 2002-10-31 Mark Wielaard <mark@klomp.org>
7451
7452 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7453 when stream is closed.
7454 (closeEntry): Likewise.
7455 (read): Likewise.
7456 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7457 ZipException when no entry active.
7458 (closeEntry): Likewise.
7459 (write): Likewise.
7460
7461 2002-11-02 Tom Tromey <tromey@redhat.com>
7462
7463 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7464 * java/lang/natClass.cc (initializeClass): Don't return just
7465 because self==thread.
7466
7467 For PR java/8415:
7468 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7469 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7470
7471 2002-11-02 Andreas Schwab <schwab@suse.de>
7472
7473 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7474 pass GCJFLAGS.
7475 (FLAGS_TO_PASS): Define.
7476 * Makefile.in: Regenerated.
7477
7478 2002-11-01 Michael Koch <konqueror@gmx.de>
7479
7480 * java/nio/ByteOrder.java: New file.
7481 * java/nio/channels/DatagramChannel.java:
7482 (DatagramChannel): New constructor.
7483 * java/nio/channels/Pipe.java: New file.
7484 * java/nio/channels/SelectableChannel.java: New file.
7485 * java/nio/channels/SelectionKey.java: New file.
7486 * java/nio/channels/Selector.java: New file.
7487 * java/nio/channels/ServerSocketChannel.java
7488 (ServerSocketChannel): New constructor.
7489 * java/nio/channels/SocketChannel.java
7490 (SocketChannel): New constructor.
7491 * java/nio/channels/Pipe.java: New file.
7492 * java/nio/channels/spi/AbstractChannel.java: New file.
7493 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7494 * java/nio/channels/spi/AbstractSelectableChannel.java:
7495 License added
7496 (AbstractSelectableChannel): New stubbed method.
7497 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7498 * java/nio/channels/spi/AbstractSelector.java: New file.
7499 * java/nio/channels/spi/SelectorProvider.java: New file.
7500 * java/nio/charset/Charset.java: New file.
7501 * java/nio/charset/CoderMalfunctionError.java: New file.
7502 * java/nio/charset/CodingErrorAction.java: New file.
7503 * java/nio/charset/spi/CharsetProvider.java
7504 (charsetForName): Uncommented.
7505 * Makefile.am (java_native_source_files): Added new files.
7506 * Makefile.in: Regenerated.
7507
7508 2002-11-01 Michael Koch <konqueror@gmx.de>
7509
7510 * java/net/InetAddress.java:
7511 (isAnyLocalAddress): Implemented.
7512 (isLoopbackAddress): Implemented, comment added.
7513 (isLinkLocalAddress): Implemented, documentation added.
7514 (isSiteLocalAddress): Implemented, documentation added.
7515 (isMCGlobal): Implemented, documentation added.
7516 (isMCNodeLocal): Implemented, documentation added.
7517 (isMCLinkLocal): Implemented, documentation added.
7518 (isMCSiteLocal): Implemented, documentation added.
7519 (isMCOrgLocal): Implemented, documentation added.
7520 (getHostName): Documentation added.
7521 (getCanonicalHostName): Implemented, documentation added.
7522 (getAddress): Documentation added.
7523 (hashCode): Documentation added.
7524 (equals): Documentation added.
7525 (toString): Fixed implementation.
7526 (getByAddress): Use Inet4Address and Inet6Address.
7527 (lookup): New linewrap.
7528 (getByName): SecurityManager check added, support Inet4Address and
7529 Inet6address, comments added.
7530 (getAllByName): SecurityManager check added, comments added.
7531 * java/net/Inet6Address.java:
7532 (Inet6Address): Initialize parent class with addr instead of null.
7533 * java/net/URL.java
7534 (equals): Documentation added.
7535 (getFile): Documentation added.
7536 (hashCode): Documentation added.
7537 * java/net/natInetAddress.cc:
7538 (aton): Fix IPv6 support.
7539 * java/net/natPlainDatagramSocketImpl.cc:
7540 (peek): Throw PortUnreachableException when suitable.
7541 (peekData): Throw PortUnreachableException when suitable.
7542 (send): Throw PortUnreachableException when suitable.
7543 (receive): Throw PortUnreachableException when suitable.
7544
7545 2002-10-27 Mark Wielaard <mark@klomp.org>
7546
7547 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7548 argument.
7549 (readLeShort): Likewise and use byte[].
7550 (readLeInt): Likewise.
7551 (readEntries): Use new versions of methods and use byte[] for reading
7552 a complete zip entry. Add ZipFile name to exceptions.
7553 (entries): Add ZipFile name to exceptions.
7554 (getEntry): Likewise.
7555 (checkLocalHeader): Use new versions of methods and add ZipFile name
7556 to exceptions.
7557
7558 2002-10-31 Mark Anderson <mark@panonet.net>
7559
7560 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7561 added
7562
7563 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7564
7565 * configure.in: Disable hash sync when not using threads.
7566 * configure: Regenerated.
7567
7568 2002-10-24 Tom Tromey <tromey@redhat.com>
7569
7570 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7571 (_Jv_FindSymbolInExecutable): Removed argument name.
7572 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7573 java.library.path is set.
7574
7575 * gij.cc (help): Document --showversion.
7576 (version): Don't exit.
7577 (main): Handle --showversion. Exit if --version given.
7578
7579 2002-10-23 Tom Tromey <tromey@redhat.com>
7580
7581 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7582 (array_from_valist): Correctly handle promotion for jint, jlong,
7583 jfloat, and jdouble.
7584
7585 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7586
7587 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7588 GetFileAttributesEx( ) to find file length and modification times,
7589 as the latter is not present on Windows 95.
7590
7591 2002-10-21 Michael Koch <konqueror@gmx.de>
7592
7593 * java/net/URL.java
7594 (URL): Activate SecurityManager checks.
7595 (equals): Use URLStreamHandler implementation instead of doing it
7596 alone. This allows special protocol stream handlers to change default
7597 behaviour.
7598 (hashCode): Use URLStreamHandler implementation instead of doing it
7599 alone. This allows special protocol stream handlers to change default
7600 behaviour.
7601 * java/net/URLStreamHandler.java
7602 (equals): Implemented default URL equality check.
7603 (hostsEqual): Implemented default URL equality check.
7604 (hashCode): Implemented default URL hashCode algorithm.
7605 * java/net/natPlainDatagramSocketImpl.cc:
7606 No lines longer then 80 characters.
7607
7608 2002-10-20 Adam Megacz <adam@xwt.org>
7609
7610 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7611 * configure.in: enabled hash sync on Win32
7612 * include/win32-threads.h (_Jv_ThreadId_t): added.
7613 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7614 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7615 removed some posix-isms, use Thread::sleep() instead of usleep,
7616 added code to clear bottom three bits if platform has a broken
7617 linker.
7618 * include/win32-threads.h (_Jv_ThreadId_t): added.
7619
7620 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7621
7622 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7623 runtime property "gnu.gcj.progname" containing the name used to
7624 invoke the current Java program (similar to argv[0] for C
7625 programs).
7626
7627 2002-10-15 Tom Tromey <tromey@redhat.com>
7628
7629 Fix for PR libgcj/8234:
7630 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7631 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7632
7633 2002-10-13 Mark Wielaard <mark@klomp.org>
7634
7635 * mauve-libgcj: Enable Mauve tests that compile now.
7636
7637 2002-10-11 Mark Wielaard <mark@klomp.org>
7638
7639 Fix for PR libgcj/8142
7640 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7641 loading native modules.
7642
7643 2002-10-10 Michael Koch <konqueror@gmx.de>
7644
7645 * javax/swing/AbstractListModel.java
7646 (getListDataListeners): New stubbed method.
7647 javax/swing/DefaultBoundedRangeModel.java
7648 (getChangeListeners): New stubbed method.
7649 javax/swing/DefaultSingleSelectionModel.java
7650 (getChangeListeners): New stubbed method.
7651
7652 2002-10-10 Michael Koch <konqueror@gmx.de>
7653
7654 * gcj/.cvsignore: New file to ignore files generated during build.
7655 * include/.cvsignore: New file to ignore files generated during build.
7656
7657 2002-10-10 Michael Koch <konqueror@gmx.de>
7658
7659 * java/net/HttpURLConnection.java
7660 (getPermission): New method.
7661 (getErrorStream): New stub method.
7662 (getHeaderFieldDate): New stub method.
7663 * java/net/Inet4Address.java:
7664 (isLinkLocalAddress): Typo fixed.
7665 * java/net/InetAddress.java:
7666 (readResolve): New stubbed method (for serialization).
7667 (isAnyLocalAddress): New stubbed method.
7668 (isLoopbackAddress): New stubbed method.
7669 (isLinkLocalAddress): New stubbed method.
7670 (isSiteLocalAddress): New stubbed method.
7671 (isMCGlobal): New stubbed method.
7672 (isMCNodeGlobal): New stubbed method.
7673 (isMCLinkLocal): New stubbed method.
7674 (isMCSiteLocal): New stubbed method.
7675 (isMCOrgLocal): New stubbed method.
7676 (getCanonicalHostName): New stubbed method.
7677 (getByAddress): Create instances of Inet4Address/Inet6Address,
7678 instead of InetAddress, documentation added.
7679 * java/net/MulticastSocket.java
7680 (getInterface): Removed FIXME.
7681 (getNetworkInterface): New method.
7682 (setNetworkInterface): New method.
7683 * java/net/NetworkInterface.java:
7684 (toString): Use property "line.separator" instead of "\n".
7685 * java/net/URLConnection.java
7686 (getContent): New stubbed method.
7687 * java/net/URLStreamHandler.java:
7688 (equals): New stubbed method.
7689 (hostsEqual): New stubbed method.
7690 (hashCode): New stubbed method.
7691 * java/net/natNetworkInterface.cc:
7692 (getRealNetworkInterfaces): Create Inet4Address object
7693 instead of InetAddress.
7694
7695 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7696
7697 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7698 unsigned long temporary to implement insn_iushr shifts.
7699
7700 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7701
7702 * configure.host [s390*-*]: Enable Java interpreter.
7703 Enable hash synchronization. Add sysdeps dir.
7704 * sysdep/s390/locks.h: New file.
7705
7706 2002-10-06 Mark Wielaard <mark@klomp.org>
7707
7708 * java/lang/Thread.java (setDaemon): Check startable_flag,
7709 not isAlive().
7710
7711 2002-10-07 Michael Koch <konqueror@gmx.de>
7712
7713 * java/nio/Buffer.java: New stub file.
7714 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7715 of class Charset.
7716 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7717 * Makefile.in: Regenerated.
7718
7719 2002-10-07 Michael Koch <konqueror@gmx.de>
7720
7721 * java/nio/ByteBuffer.java:
7722 removed import of not commited class.
7723
7724 2002-10-07 Michael Koch <konqueror@gmx.de>
7725
7726 * java/nio/ByteBuffer.java,
7727 java/nio/MappedByteBuffer.java:
7728 New files, forgot to add these dummies.
7729 * Makefile.am (java_native_source_files): Added new files.
7730 * Makefile.in: Regenerated.
7731
7732 2002-10-07 Michael Koch <konqueror@gmx.de>
7733
7734 * java/nio/channels/AlreadyConnectedException.java,
7735 java/nio/channels/ClosedChannelException.java,
7736 java/nio/channels/ReadableByteChannel.java,
7737 java/nio/channels/InterruptibleChannel.java,
7738 java/nio/channels/Channel.java,
7739 java/nio/channels/ByteChannel.java,
7740 java/nio/channels/GatheringByteChannel.java,
7741 java/nio/channels/ScatteringByteChannel.java,
7742 java/nio/channels/WritableByteChannel.java,
7743 java/nio/charset/CharacterCodingException.java,
7744 java/nio/charset/IllegalCharsetNameException.java,
7745 java/nio/charset/MalformedInputException.java,
7746 java/nio/charset/UnmappableCharacterException.java,
7747 java/nio/charset/UnsupportedCharsetException.java,
7748 java/nio/charset/spi/CharsetProvider.java: New file.
7749 These files are exceptions or interfaces,
7750 no real or abstract classes.
7751 * Makefile.am (java_native_source_files): Added new files.
7752 * Makefile.in: Regenerated.
7753
7754 2002-10-05 Michael Koch <konqueror@gmx.de>
7755
7756 * java/net/InetAddress.java
7757 (getByAddress): Fixed documentation.
7758 (getByAddress): New method.
7759 * java/net/Inet4Address.java: New file.
7760 * java/net/URL.java
7761 (URL): Documentation added.
7762 (getContent): Documentation added.
7763 (getContent): New stubbed method.
7764 (getQuery): New method.
7765 (openConnection): Documentation added.
7766 (openStream): Documentation added.
7767 (setURLStreamHandlerFactory): Documentation added.
7768 * java/net/URI.java: New stub file.
7769 * Makefile.am
7770 (java_native_source_files): Added java/net/Inet4Address.java,
7771 java/net/Inet6Address.java and java/net/URI.java.
7772 * Makefile.in: Regenerated.
7773
7774 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7775
7776 * java/lang/ProtectionDomain.java (linesep): Remove field.
7777 (toString): Use System.getProperty("line.separator").
7778
7779 2002-10-04 Michael Koch <konqueror@gmx.de>
7780
7781 * java/security/Identity.java: Added serialVersionUID.
7782 * java/security/KeyPair.java: Added serialVersionUID.
7783 * java/security/Provider.java: Added serialVersionUID.
7784 * java/security/SecureRandom.java: Added serialVersionUID.
7785 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7786 * java/security/SignedObject.java: Added serialVersionUID.
7787 * java/security/cert/Certificate.java: Added serialVersionUID.
7788
7789 2002-10-04 Mark Wielaard <mark@klomp.org>
7790
7791 * java/security/Security.java: Use java.home or gnu.classpath.home
7792 to load providers.
7793 (loadProviders): Extra dir argument.
7794 (getProvider): Return null when not found.
7795
7796 2002-10-04 Mark Wielaard <mark@klomp.org>
7797
7798 * java/lang/Throwable.java: Remerge with Classpath.
7799
7800 2002-10-04 Michael Koch <konqueror@gmx.de>
7801
7802 * java/net/InetAddress.java:
7803 (isMulticastAddress): Added documentation.
7804 (getHostAddress): Added documentation.
7805 (toString): Added documentation.
7806 (getByAddress): Fixed documentation.
7807 (getByName): Added documentation.
7808 (getAllByName): Added documentation.
7809 (getLocalHost): Added documentation.
7810
7811 2002-10-04 Michael Koch <konqueror@gmx.de>
7812
7813 * java/beans/beancontext/BeanContextChildSupport.java:
7814 Added serialVersionUID.
7815 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7816 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7817 * javax/naming/Name.java: Added serialVersionUID.
7818
7819 2002-10-03 Adam Megacz <adam@xwt.org>
7820
7821 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7822 some functionality that isn't supported yet on WIN32.
7823
7824 2002-10-03 Tom Tromey <tromey@redhat.com>
7825
7826 * Makefile.in: Rebuilt.
7827 * Makefile.am (awt_java_source_files): Added new files.
7828
7829 2002-10-03 Michael Koch <konqueror@gmx.de>
7830
7831 * java/net/InetAddress.java
7832 (class InetAddress): Removed final keyword.
7833 (equals): Fixed typo.
7834 (getByAddress): New method.
7835
7836 2002-10-03 Michael Koch <konqueror@gmx.de>
7837
7838 * java/awt/dnd/Autoscroll.java:
7839 New file, merge from Classpath.
7840 * java/awt/dnd/DragSourceAdapter.java:
7841 (dragExit): Fixed typos in argument type.
7842 (dragDropEnd): Fixed typos in argument type.
7843 * java/awt/dnd/DragSourceDropEvent.java:
7844 New file, merge from Classpath.
7845 * java/awt/dnd/DropTarget.java:
7846 Added stubs, merge from Classpath.
7847 * java/awt/dnd/DropTargetAdapter.java:
7848 New file, merge from Classpath.
7849 * java/awt/dnd/DropTargetContext.java:
7850 New file, merge from Classpath.
7851 * java/awt/dnd/DropTargetDragEvent.java:
7852 New file, merge from Classpath.
7853 * java/awt/dnd/DropTargetDropEvent.java:
7854 New file, merge from Classpath.
7855 * java/awt/dnd/DropTargetEvent.java:
7856 New file, merge from Classpath.
7857 * java/awt/dnd/DropTargetListener.java:
7858 New file, merge from Classpath.
7859 * java/awt/dnd/MouseDragGestureRecognizer.java:
7860 New file, merge from Classpath.
7861 * java/awt/dnd/peer/DropTargetContextPeer.java:
7862 New file, merge from Classpath.
7863
7864 2002-10-03 Michael Koch <konqueror@gmx.de>
7865
7866 * java/net/DatagramPacket.java
7867 (setLength): Fixed typo and be HTML-aware.
7868 * java/net/InetSocketAddress.java
7869 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7870 (equals): Added comment about equality of InetSocketAddress objects.
7871 * java/net/ServerSocket.java
7872 (accept): Added checks.
7873 (isClosed): New stubbed method.
7874 * java/net/SocketOptions.java: Reindention.
7875 * java/net/SocketPermission
7876 (SocketPermission): Documentation fixed.
7877
7878 2002-10-03 Michael Koch <konqueror@gmx.de>
7879
7880 * java/net/DatagramSocket.java
7881 (receive): Check with SecurityManager AFTER the packet is received,
7882 check if connected to multicast address, documentation added.
7883 (send): Only check SecurityManager if connected, check address of
7884 packet to send.
7885 (connect): Implemented, documentation added.
7886 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7887 * java/net/InetSocketAddress.java
7888 (whole file): Reindented.
7889 (hostname): New attribute.
7890 (InetSocketAddress): Initialize new attribute.
7891 (getAddress): Documentation added.
7892 (getHostName): Documentation added.
7893 (getPort): Documentation added.
7894 (hashCode): Documentation added.
7895 (isUnresolved): Documentation added.
7896 (toString): Conform to output of JDK 1.4.1, documentation added.
7897 * java/net/MulticastSocket.java
7898 (joinGroup): Removed FIXME, documentation added.
7899 (leaveGroup): Removed FIXME, documentation added.
7900 (send): Documentation added.
7901 * java/net/Socket.java
7902 (inputShutdown): New variable.
7903 (outputShutdown): New variable.
7904 (Socket): Initialize new variables.
7905 (getRemoteSocketAddress): Check if connected.
7906 (shutdownInput): Set new variable.
7907 (shutdownOutput): Set new variable.
7908 (isConnected): New method.
7909 (isClosed): New method.
7910 (isInputShutdown): New method.
7911 (isOutputShutdown): New method.
7912 * java/net/URLStreamHandler.java
7913 (URLStreamHandler): New method.
7914 (openConnection): Added documentation.
7915 (parseURL): Added documentation.
7916 (getHostAddress): New method.
7917 (getDefaultPort): New method.
7918
7919 2002-10-02 Tom Tromey <tromey@redhat.com>
7920
7921 * java/rmi/activation/ActivationDesc.java,
7922 java/rmi/activation/ActivationGroupDesc.java,
7923 java/rmi/activation/ActivationGroupID.java,
7924 java/rmi/activation/ActivationID.java: New versions from
7925 Classpath.
7926
7927 2002-09-30 Bo Thorsen <bo@suse.de>
7928
7929 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7930
7931 2002-09-30 Tom Tromey <tromey@redhat.com>
7932
7933 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7934 from Classpath.
7935 * Makefile.in: Rebuilt.
7936 * Makefile.am (rmi_java_source_files): Added new files.
7937 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7938 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7939 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7940 Classpath.
7941 * gnu/java/rmi/dgc/DGCImpl.java,
7942 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7943 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7944 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7945 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7946 gnu/java/rmi/server/RMIHashes.java,
7947 gnu/java/rmi/server/RMIObjectInputStream.java,
7948 gnu/java/rmi/server/RMIObjectOutputStream.java,
7949 gnu/java/rmi/server/UnicastConnection.java,
7950 gnu/java/rmi/server/UnicastConnectionManager.java,
7951 gnu/java/rmi/server/UnicastRef.java,
7952 gnu/java/rmi/server/UnicastServer.java,
7953 gnu/java/rmi/server/UnicastServerRef.java,
7954 java/rmi/MarshalledObject.java,
7955 java/rmi/server/RMIClassLoader.java,
7956 java/rmi/server/RemoteObject.java,
7957 java/rmi/server/UnicastRemoteObject.java,
7958 java/security/SecureClassLoader.java: Merged from Classpath.
7959
7960 2002-09-29 Anthony Green <green@redhat.com>
7961
7962 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7963 Imported from GNU Classpath.
7964 * java/lang/reflect/natProxy.cc: New file.
7965 * java/lang/reflect/InvocationHandler.java: New file. Imported
7966 from GNU Classpath.
7967 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7968 Classpath.
7969 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7970 Classpath.
7971 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7972 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7973 New statics.
7974 * gcj/javaprims.h ("Java"): Add new classes.
7975 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7976 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7977 java/lang/reflect/Proxy$$ProxyType.h): And this.
7978 (inner_nat_headers): Add these new headers.
7979 (ordinary_java_source_files): Add new files.
7980 (nat_source_files): Add new file.
7981 * Makefile.in: Rebuilt.
7982
7983 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7984
7985 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7986 a single configuration.
7987
7988 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7989
7990 * java/util/TimeZone.java (getDSTSavings): New method.
7991 Fixes PR libgcj/7786.
7992
7993 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7994
7995 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7996 to see if `the_method == 0' before looking up vtable index.
7997 Fixes PR libgcj/7709.
7998
7999 2002-09-25 Tom Tromey <tromey@redhat.com>
8000
8001 * java/lang/natClassLoader.cc:
8002 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8003 * resolve.cc: Include NoClassDefFoundError.h, not
8004 ClassNotFoundException.h.
8005 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8006
8007 * defineclass.cc: Don't include ClassNotFoundException.h.
8008
8009 * resolve.cc: Include StringBuffer.
8010 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8011
8012 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8013 allocated but not initialized.
8014
8015 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8016
8017 Fix for PR libgcj/7766:
8018 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8019 (getNextEntry): Set it.
8020 (closeEntry): Likewise.
8021 (read): Likewise.
8022 (close): Likewise.
8023 (available): Use it.
8024
8025 2002-09-25 Michael Koch <konqueror@gmx.de>
8026
8027 * java/net/DatagramSocket.java
8028 (DatagramSocket): Initialize new instance variables.
8029 (close): Reset new instance variables.
8030 (getLocalAddress): Remove unneeded SecurityManager usage.
8031 (getLocalPort): Check if socket is already bound.
8032 (isConnected): New method.
8033 (getInetAddress): Implemented.
8034 (getPort): Better Implementation, documentation fixed.
8035 (getRemoteSocketAddress): New method.
8036 * java/net/JarURLConnection.java
8037 (element): Typo fixed.
8038 (getMainAttributes): New method.
8039 (getAttributes): New method (stub only).
8040 (getManifest): New method (stub only).
8041 * java/net/NetPermission.java: Added serialVersionsUID.
8042 * java/net/Socket.java
8043 (connect): Check blocking mode of associated channel,
8044 documentation added.
8045 (getLocalSocketAddress): Better implementation.
8046 (getRemoteSocketAddress): Implemented.
8047 (isBound): New method.
8048 (setSendBufferSize): Documentation added.
8049 * java/net/SocketAddress.java: Added serialVersionsUID.
8050 * java/net/SocketPermission.java: Added serialVersionsUID.
8051 * java/net/URL.java
8052 (URL): Wrap for shorter lines, initialize new instance variables,
8053 documentation added.
8054 (equals): Check new instance variables too.
8055 (getContent): Documentation added.
8056 (getPath): Documentation added.
8057 (getAuthority): New method.
8058 (getHost): Documentation added.
8059 (getPort): Documentation added.
8060 (getDefaultPort): New method.
8061 (getProtocol): Documentation added.
8062 (getUserInfo): Documentation added.
8063 (set): Initialize new instance variables, documentation added.
8064 * java/net/URLStreamHandler.java
8065 (setURL): New method.
8066 * java/net/natPlainDatagramSocketImpl.cc
8067 (connect): Fix exception name.
8068 (disconnect): Fix exception name.
8069
8070 2002-09-25 Michael Koch <konqueror@gmx.de>
8071
8072 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8073 * java/nio/channels/DatagramChannel.java:
8074 extends AbstractSelectableChannel
8075 * java/nio/channels/ServerSocketChannel.java:
8076 extends AbstractSelectableChannel
8077 * java/nio/channels/SocketChannel.java:
8078 extends AbstractSelectableChannel
8079 * Makefile.am (ordinary_java_source_files):
8080 java/nio/channels/spi/AbstractSelectableChannel.java added.
8081 * Makefile.in: Regenerated.
8082
8083 2002-09-25 Michael Koch <konqueror@gmx.de>
8084
8085 * java/net/DatagramSocket.java
8086 (DatagramSocket): Exception documentation added.
8087 (bind): Exception documentation added, addded SecurityManager check,
8088 added SocketAddress type check.
8089 (getSoTimeout): Check impl.
8090 (receive): Fix SecurityManager check, check impl, documentation added.
8091 (send): Check channel mode, documentation added.
8092 (connect): New method.
8093 (disconnect): Implemented.
8094 (getLocalSocketAddress): New method.
8095 (getReceiveBufferSize): Check impl.
8096 (setReuseAddress): Check impl.
8097 (getReuseAddress): Check impl.
8098 (setBroadcast): Check impl.
8099 (getBroadcast): Check impl.
8100 (setTrafficClass): Check impl, Documentation cleared.
8101 (getTrafficClass): Check impl.
8102 (getSendBufferSize): Check impl.
8103 (setReceiveBufferSize): Check impl, documentation added.
8104 (setSendBufferSize): Documentation added.
8105 (setDatagramSocketImplFactory): New method.
8106 * java/net/HttpURLConnection.java
8107 (HTTP_INTERNAL_ERROR): The correct code is 500.
8108 (HTTP_NOT_IMPLEMENTED): Added new constant.
8109 (setFollowRedirects): Documentation added.
8110 (getInstanceFollowRedirects): New method.
8111 (setInstanceFollowRedirects): New method.
8112 (setRequestMethod): Documentation added.
8113 (getResponseCode): Documentation added.
8114 (getResponseMessage): Documentation added.
8115 * java/net/JarURLConnection.java
8116 (JarURLConnection): protected since JDK 1.4.
8117 (getJarEntry): java.io.IOException to IOException, documentation added.
8118 (getJarFile): Documentation added.
8119 * java/net/ServerSocket.java
8120 (ServerSocket): Private to public, exception added.
8121 (ServerSocket): java.io.IOException to IOException, documentation added.
8122 (bind): Check socket address type, documentation added.
8123 (bind): java.io.IOException to IOException, documentation added.
8124 (accept): Documentation added.
8125 (implAccept): Check ch is not non-blocking, documentation added.
8126 (setSoTimeout): Documentation fixed.
8127 (setReceiveBufferSize): Documentation added.
8128 * java/net/Socket.java
8129 (Socket): Documentation added.
8130 (bind): Documentation added.
8131 (connect): Check socket address type, documentation added.
8132 (getRemoteSocketAddress): New method.
8133 (getLocalSocketAddress): New method.
8134 (setSoLinger): Documentation added.
8135 (getReuseAddress): New method.
8136 (setReuseAddress): New method.
8137 (getTrafficClass): New method.
8138 (setTrafficClass): New method.
8139 * java/net/URLStreamHandler.java
8140 (openConnection): java.io.IOException to IOException.
8141 (parseURL): Documentation added.
8142 (sameFile): public to protected, documentation added.
8143 (setURL): Documentation added.
8144 * java/nio/IllegalBlockingModeException.java: New file.
8145 * Makefile.am (ordinary_java_source_files):
8146 added java/nio/IllegalBlockingModeException.java
8147 * Makefile.in: Regenerated.
8148
8149 2002-09-25 Michael Koch <konqueror@gmx.de>
8150
8151 * java/net/DatagramPacket
8152 (DatagramPacket): Exception documentation added.
8153 (setData): Likewise.
8154 (setSocketAddress): Likewise.
8155 * java/net/DatagramSocketImpl.java
8156 (peek): Documentation addded.
8157 (peekData): Documentation addded.
8158 (send): Documentation addded.
8159 (receive): Documentation addded.
8160 (connect): New method.
8161 (disconnect): New method.
8162 (joinGroup): New abstract method.
8163 (leaveGroup): New abstract method.
8164 * java/net/InetSocketAddress.java
8165 (InetSocketAddress): Documentation added.
8166 (equals): final keyword added.
8167 (getAddress): final keyword added.
8168 (getHostName): final keyword added.
8169 (getPort): final keyword added.
8170 (hashCode): final keyword added.
8171 (isUnresolved): final keyword added.
8172 * java/net/MulticastSocket.java
8173 (MulticastSocket): Documentation added.
8174 (MulticastSocket): New method.
8175 (joinGroup): Documentation added.
8176 (joinGroup): New method.
8177 (leaveGroup): Documentation added.
8178 (leaveGroup): New method.
8179 (send): Documentation added.
8180 * java/net/NetworkInterface.java
8181 (getByName): Documentation added.
8182 (getByInetAddress): Documentation added.
8183 (getNetworkInterfaces): Documentation added.
8184 * java/net/PlainDatagramSocketImpl.java
8185 (connect): New method.
8186 (disconnect): New method.
8187 * java/net/SocketImpl.java
8188 (create): Documentation added.
8189 (shutdownInput): Convert public to protected, as it always was.
8190 (shutdownOutput): Convert public to protected, as it always was.
8191 * java/net/SocketOptions.java
8192 (whole file): Reintented.
8193 * java/net/URLClassLoader.java
8194 (URLClassLoader): SecurityManager check added, documentation added.
8195 (findResources): Documentation added.
8196 (findClass): Documentation added.
8197 (newInstance): More correct method arguments.
8198 * java/net/URLConnection.java
8199 (connect): Documentation added.
8200 (getContent): Documentation added.
8201 (getPermission): Documentation added.
8202 (getInputStream): Documentation added.
8203 (getOutputStream): Documentation added.
8204 (setDoInput): Throw correct exception, documentation added.
8205 (setDoOutput): Throw correct exception, documentation added.
8206 (setAllowUserInteraction): Throw correct exception, documentation added.
8207 (setUseCaches): Throw correct exception, documentation added.
8208 (setIfModifiedSince): Throw correct exception, documentation added.
8209 (setRequestProperty): Throw exception, documentation added.
8210 (addRequestProperty): Throw exception, documentation added.
8211 (getRequestProperty): Throw exception, documentation added.
8212 (getRequestProperties): Documentation added.
8213 (setContentHandlerFactory): Documentation added.
8214 (guessContentTypeFromName): protected to public.
8215 (setFileNameMap): Documentation added.
8216 * java/net/URLDecoder.java
8217 (URLDecoder): New method.
8218 (decode): Documentation added.
8219 (whole file): Reindented.
8220 * java/net/URLEncoder.java
8221 (encode): Documentation added.
8222 * java/net/natPlainDatagramSocketImpl.cc
8223 (connect): New method.
8224 (disconnect): New method.
8225 * javax/naming/RefAddr:
8226 (addrType): addrType was never final.
8227 (equals): Fix typo in method name.
8228 * javax/naming/BinaryRefAddr:
8229 (equals): Fix typo in method name.
8230
8231 2002-09-22 Tom Tromey <tromey@redhat.com>
8232
8233 Fix for PR libgcj/6576:
8234 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8235 didn't find a given bundle.
8236 (getBundle): Don't require base bundle.
8237 (setParent): Removed old comment.
8238 (tryLocalBundle): Try components even if preceding components were
8239 empty.
8240
8241 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8242
8243 * Makefile.am (all-multi): Fix multilib parallel build.
8244
8245 2002-09-21 Michael Koch <konqueror@gmx.de>
8246
8247 * java/net/Socket.java
8248 (sendUrgentData): New method.
8249 (getChannel): New method.
8250 * java/net/ServerSocket.java
8251 (getChannel): New method.
8252 (isBound): New method.
8253 * java/net/DatagramSocket.java
8254 (DatagramSocket): Two new methods.
8255 (bind): New method.
8256 (getChannel): New method.
8257 (isBound): New method.
8258 (send): Added newline to to make shorter lines.
8259 * java/net/PlainDatagramSocketImpl.java
8260 (mcastGrp): Added argument.
8261 (join): Use new mcastGrp.
8262 (leave): Use new mcastGrp.
8263 (joinGroup): New method.
8264 (leaveGroup): New method.
8265 * java/net/natPlainDatagramSocketImpl.cc
8266 (mcastGrp): Added argument, no yet really implemented.
8267 (getOption): Added newline for shorter lines.
8268 * java/net/natPlainSocketImpl.cc
8269 (read, setOption, getOption): Added newline for shorter lines.
8270
8271 2002-09-19 Tom Tromey <tromey@redhat.com>
8272
8273 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8274 newly-created exception.
8275
8276 2002-09-18 Michael Koch <konqueror@gmx.de>
8277
8278 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8279 java/util/regex/PatternSyntaxException.java:
8280 Merge with classpath, new files.
8281 * Makefile.am (core_java_source_files):
8282 Added java/util/regex/Matcher.java,
8283 java/util/regex/Pattern.java,
8284 java/util/regex/PatternSyntaxException.java
8285 * Makefile.in: Regenerated.
8286 * include/config.h.in: Added HAVE_NET_IF_H.
8287 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8288 Removed #if 0 ... #endif.
8289
8290 2002-09-17 Michael Koch <konqueror@gmx.de>
8291
8292 * java/net/natNetworkInterface.cc:
8293 Removed unneed and yet wrong includes.
8294
8295 2002-09-17 Michael Koch <konqueror@gmx.de>
8296
8297 * java/net/NetworkInterface.java: New file.
8298 * java/net/natNetworkInterface.java: New file.
8299 * configure.in: Added check for net/if.h.
8300 * configure: Regenerated.
8301 * Makefile.am
8302 (ordinary_java_source_files): Added NetworkInterface.java.
8303 (nat_source_files): Added natNetworkInterface.cc.
8304 * Makefile.in: Regenerated.
8305
8306 2002-09-16 Tom Tromey <tromey@redhat.com>
8307
8308 * java/net/URLClassLoader.java (findClass): Code source for a
8309 class from a jar is not necessarily a jar: URL.
8310
8311 2002-09-16 Michael Koch <konqueror@gmx.de>
8312
8313 * java/lang/AssertionError.java:
8314 Merge with classpath, fixes HTML.
8315 * java/rmi/server/LogStream.java:
8316 Merge with classpath, fixes some constants.
8317 * java/net/server/RemoteServer.java:
8318 Merge with classpath, adds serialVersionUID.
8319 * javax/naming/BinaryRefAddr.java:
8320 Merge with classpath, s/equal/equals/.
8321 * javax/naming/NamingException.java:
8322 Merge with classpath, fixed typo.
8323 * javax/naming/RefAddr.java:
8324 Merge with classpath, s/equal/equals/.
8325 * java/awt/Toolkit.java:
8326 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8327 and typo fixed.
8328
8329 2002-09-15 Adam Megacz <adam@xwt.org>
8330
8331 * java/net/natPlainSocketImpl.cc: fixed typo.
8332
8333 2002-09-15 Adam Megacz <adam@xwt.org>
8334
8335 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8336 which don't work on Win32 (yet).
8337
8338 2002-09-14 Adam Megacz <adam@xwt.org>
8339
8340 * java/net/natPlainDatagramSocket.cc: removed #include
8341 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8342 * include/win32.h: included definition for IP_TOS to satisfy
8343 natPlainDatagramSocket.cc
8344
8345 2002-09-13 Michael Koch <konqueror@gmx.de>
8346
8347 * java/net/DatagramPacket.java (DatagramPacket):
8348 Added linebreak for 80 chars per line.
8349 * java/net/JarURLConection.java
8350 (getInputStreami, getJarEntry): Likewise.
8351 * java/net/SocketPErmission.java
8352 (SocketPermission class docu, implies): Likewise.
8353 * java/net/URLClassLoader.java (findResources): Likewise.
8354 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8355
8356 2002-09-13 Michael Koch <konqueror@gmx.de>
8357
8358 * java/nio/channels/DatagramChannel.java,
8359 java/nio/channels/ServerSocketChannel.java
8360 java/nio/channels/SocketChannel.java:
8361 New dummy files to make java.net fully JDK 1.4 compatible
8362 * Makefile.am (ordinary_java_source_files): Added
8363 java/net/DatagramSocketImplFactory.java (long forgotten),
8364 java/nio/SocketChannel.java,
8365 java/nio/ServerSocketChannel.java,
8366 java/nio/DatagramChannel.java
8367 * Makefile.in: Regenrated.
8368
8369 2002-09-12 Michael Koch <konqueror@gmx.de>
8370
8371 * java/net/DatagramSocketImpl.java
8372 (peekData): New method.
8373 * java/net/PlainDatagramSocketImpl.java
8374 (peekData): New method.
8375 * java/net/natPlainDatagramSocketImpl.cc
8376 (peekData): New method.
8377 * java/net/URLConnection
8378 (getPermission): New method.
8379 (addRequestProperty): New method.
8380 (getRequestProperties): New method.
8381 (guessContentTypeFromStream): New method, not really implemented.
8382 (URLConnection): Added/updated documentation.
8383 (connect): Added/updated documentation.
8384 (getURL): Added/updated documentation.
8385 (getContentLength): Added/updated documentation.
8386 (getContentType: Added/updated documentation.
8387 (getContentEncoding): Added/updated documentation.
8388 (getExpiration): Added/updated documentation.
8389 (getDate): Added/updated documentation.
8390 (getLastModified): Added/updated documentation.
8391 (getHeaderField): Added/updated documentation.
8392 (getHeaderFields): Added/updated documentation.
8393 (getHeaderFieldInt): Added/updated documentation.
8394 (getHeaderFieldDate): Added/updated documentation.
8395 (getHeaderFieldKey): Added/updated documentation.
8396 (getContent): Added/updated documentation.
8397 (getInputStream): Added/updated documentation.
8398 (getOutputStream): Added/updated documentation.
8399 (toString): Added/updated documentation.
8400 (setDoInput): Added/updated documentation.
8401 (getDoInput): Added/updated documentation.
8402 (setDoOutput): Added/updated documentation.
8403 (getDoOutput): Added/updated documentation.
8404 (setAllowUserInteraction): Added/updated documentation.
8405 (getAllowUserInteraction): Added/updated documentation.
8406 (setDefaultAllowUserInteraction): Added/updated documentation.
8407 (getDefaultAllowUserInteraction): Added/updated documentation.
8408 (setUseCaches): Added/updated documentation.
8409 (getUseCaches): Added/updated documentation.
8410 (setIfModifiedSince): Added/updated documentation.
8411 (getIfModifiedSince): Added/updated documentation.
8412 (getDefaultUseCaches): Added/updated documentation.
8413 (setDefaultUseCaches): Added/updated documentation.
8414 (setRequestProperty): Added/updated documentation.
8415 (getRequestProperty): Added/updated documentation.
8416 (setDefaultRequestProperty): Added/updated documentation.
8417 (getDefaultRequestProperty): Added/updated documentation.
8418 (setContentHandlerFactory): Added/updated documentation.
8419 (guessContentTypeFromName): Added/updated documentation.
8420 (getFileNameMap): Added/updated documentation.
8421 (setFileNameMap): Added/updated documentation.
8422
8423 2002-09-11 Michael Koch <konqueror@gmx.de>
8424
8425 * java/net/Socket.java
8426 (Socket): protected to public (since JDK 1.4). Added @specnote.
8427 (bind): New method.
8428 (connect): Two new methods.
8429 (getKeepalive): Get correct socket option.
8430 (setKeepalive): Set correct socket option.
8431 (getOOBInline): New method.
8432 (setOOBInline): New method.
8433 * java/net/ServerSocket.java
8434 (bind): Two new methods.
8435 (getInetAddress): Reimplemented, catch exception.
8436 (getLocalSocketAddress): New method.
8437 (setReuseAddress): New method.
8438 (getReuseAdress): New method.
8439 (setReceiveBufferSize): New method.
8440 (getReceiveBufferSize): New method.
8441 (toString): Made string JDK 1.4 compliant.
8442
8443 2002-09-10 Michael Koch <konqueror@gmx.de>
8444
8445 * java/net/SocketImpl.java
8446 (connect): New method.
8447 (supportsUrgentData): New method.
8448 (sendUrgentData): New method.
8449 * java/net/PlainSocketImpl.java
8450 (connect): One new method and two new implementation.
8451 (sendUrgentData): New method.
8452 * java/natPlainSocketImpl.cc
8453 (connect): Arguments changed, added support for timeouts.
8454 (getOption): Another __java_boolean to jboolean.
8455
8456 2002-09-07 Adam Megacz <adam@xwt.org>
8457
8458 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8459 definition of IP_TOS.
8460
8461 2002-09-04 Michael Koch <konqueror@gmx.de>
8462
8463 * java/net/DatagramSocket.java
8464 (DatagramSocket): Added documentation.
8465 (close): Likewise.
8466 (getLocalAddress): Likewise.
8467 (getLocalPort): Likewise.
8468 (receive): Likewise.
8469 (send): Likewise.
8470 (setSoTimeout): Likewise.
8471 (connect): New method.
8472 (disconnect): New method.
8473 (getInetAddress): New method (FIXME)
8474 (getPort): New method.
8475 (setReuseAddress): New method.
8476 (getReuseAddress): New method.
8477 (setBroadcast): New method.
8478 (getBroadcast): New method.
8479 (setTrafficClass): New method.
8480 (getTrafficClass): New method.
8481 * java/net/MulticastSocket.java):
8482 (getTTL): Added @see in documentation.
8483 (setTTL): Added @see in documentation.
8484 (setLoopbackMode): New method.
8485 (getLoopbackMode): New method.
8486 * java/net/PlainSocketImpl.java:
8487 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8488 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8489 * java/net/PlainDatagramSocketImpl.java
8490 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8491 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8492 * java/net/natPlainSocketImpl.cc
8493 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8494 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8495 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8496 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8497 This should also fix SO_KEEPALIVE
8498 * java/net/natPlainDatagramSocketImpl.cc
8499 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8500 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8501 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8502 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8503
8504 2002-09-04 Michael Koch <konqueror@gmx.de>
8505
8506 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8507 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8508 IP_MULTICAST_LOOP, IP_TOS
8509
8510 2002-09-03 Tom Tromey <tromey@redhat.com>
8511
8512 * java/lang/Class.h (_getDeclaredMethod): Declare.
8513 (_getMethod): Now private.
8514 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8515 getDeclaredMethod. Now returns NULL on failure.
8516 * java/lang/Class.java (_getDeclaredMethod): Declare.
8517 (getDeclaredMethod): No longer native; implements access checks.
8518
8519 2002-09-01 Mark Wielaard <mark@klomp.org>
8520
8521 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8522 (sanitizeStack): Correctly reset unknown and interpreter counters,
8523 detect interpreter runtime frames.
8524 (demangleInterpreterMethod): New method.
8525 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8526 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8527 filling in addrs[].
8528
8529 2002-09-02 Michael Koch <konqueror@gmx.de>
8530
8531 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8532 re-indented documentation.
8533
8534 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8535
8536 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8537 public, per 1.4 spec. Fixes PR libgcj/7785.
8538
8539 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8540
8541 * Makefile.in: Rebuilt.
8542 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8543
8544 2002-08-29 Tom Tromey <tromey@redhat.com>
8545
8546 * java/net/JarURLConnection.java (getCertificates): New method
8547 from Classpath.
8548 * java/net/URLClassLoader.java (URLClassLoader): Extends
8549 SecureClassLoader.
8550 (definePackage): New method from Classpath.
8551 (getPermissions): Likewise.
8552 (newInstance): Likewise.
8553 (findClass): Construct CodeSource for new class (from Classpath).
8554 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8555 methods.
8556 * java/net/URL.java (getUserInfo): New method.
8557 (set(String,String,int,String,String,String,String,String)): New
8558 method.
8559 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8560 (shutdownInput, shutdownOutput): Declare.
8561 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8562 Define.
8563 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8564 (getOption): Likewise.
8565 (shutdownInput): New method.
8566 (shutdownOutput): Likewise.
8567 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8568 keepalive.
8569 (getOption): Likewise.
8570 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8571 * java/net/Socket.java (setKeepAlive): New method.
8572 (getKeepAlive): Likewise.
8573 (shutdownInput, shutdownOutput): New methods.
8574
8575 2002-08-29 Michael Koch <konqueror@gmx.de>
8576
8577 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8578 new methods are:
8579 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8580 address),
8581 DatagramPacket(byte[] buf, int length, SocketAddress address),
8582 void setSocketAddress(SocketAddress address)
8583 public SocketAddress getSocketAddress()
8584
8585 2002-08-29 Tom Tromey <tromey@redhat.com>
8586
8587 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8588 ftruncate is missing.
8589 * configure, include/config.h.in: Rebuilt.
8590 * acconfig.h (HAVE_FTRUNCATE): Mention.
8591 * configure.in: Check for ftruncate.
8592
8593 2002-08-29 Tom Tromey <tromey@redhat.com>
8594
8595 * include/jvm.h (struct _Jv_frame_info): New structure.
8596 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8597 java-interp.h.
8598 (lookupInterp): New method.
8599 (getAddrAsString): Use _Jv_frame_info.
8600 (dladdrLookup): Likewise.
8601 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8602 interpreted frame.
8603 (lookupInterp): Declare.
8604 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8605 (fillInStackTrace): Collect information on interpreted frames.
8606 Use _Jv_frame_info.
8607 * interpret.cc: Include Thread.h.
8608 (run): Create and push _Jv_MethodChain object.
8609 (_Jv_EndOfInterpreter): New global.
8610 * java/lang/Thread.java (interp_frame): New field.
8611 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8612 Include NameFinder.h.
8613
8614 2002-08-28 Tom Tromey <tromey@redhat.com>
8615
8616 * java/lang/Class.h: Include Package.h.
8617 (Class::getProtectionDomain): Declare.
8618 (Class::getPackage): Declare.
8619
8620 2002-08-28 Michael Koch <konqueror@gmx.de>
8621
8622 * java/net/InetSocketAddress.java: Added some documentation and argument
8623 checks for the port numbers.
8624 * java/net/DatagramSocketImplFactory.java: New file.
8625
8626 2002-08-28 Michael Koch <konqueror@gmx.de>
8627
8628 * java/net/Authenticator.java: added some documentation.
8629
8630 2002-08-27 Tom Tromey <tromey@redhat.com>
8631
8632 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8633 class.
8634 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8635
8636 2002-08-27 Michael Koch <konqueror@gmx.de>
8637
8638 * java/net/BindException.java,
8639 java/net/JarURLConnection.java,
8640 java/net/FileNameMap.java,
8641 java/net/HttpURLConnection.java,
8642 java/net/InetSocketAddress.java,
8643 java/net/DatagramPacket.java,
8644 java/net/DatagramSocket.java,
8645 java/net/DatagramSocketImpl.java,
8646 java/net/MulticastSocket.java,
8647 java/net/PasswordAuthentication.java,
8648 java/net/ServerSocket.java,
8649 java/net/Socket.java,
8650 java/net/URLClassLoader.java,
8651 java/net/URLConnection.java: add/update of some @since/@deprecated
8652
8653 2002-08-27 Tony Kimball <alk@pobox.com>
8654 Tom Tromey <tromey@redhat.com>
8655
8656 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8657 define.
8658 (::close): Removed.
8659 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8660 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8661 (::close): Removed.
8662 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8663 * include/win32.h (getcwd): Removed declaration. Include io.h.
8664
8665 2002-08-25 Adam Megacz <adam@xwt.org>
8666
8667 * include/win32.h (getcwd): copied function declaration as
8668 temporary fix for header confusion.
8669
8670 2002-08-24 Mark Wielaard <mark@klomp.org>
8671
8672 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8673 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8674 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8675 and natNameFinder.cc.
8676 * Makefile.in: Regenerate.
8677 * prims.cc: Use trace_enabled from VMThrowable.
8678 * name-finder.cc: Removed.
8679 * gcj/javaprims.h: Add class VMThrowable.
8680 * gnu/gcj/runtime/NameFinder.java: New file.
8681 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8682 * include/name-finder.h: Removed.
8683 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8684 method stackTraceString().
8685 (printStackTrace (PrintWriter)): Likewise.
8686 (stackTraceString): Complete rewrite of old printStackTrace using
8687 StringBuffer.
8688 (stackTraceStringBuffer): New helper method for stackTraceString().
8689 (fillInStackTrace): Delegate to VMTrowable.
8690 (getStackTrace): Likewise.
8691 (getStackTrace0): Removed.
8692 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8693 (setStackTrace): Copy given array.
8694 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8695 * java/lang/VMThrowable.java: New class.
8696 * java/lang/natVMThrowable.cc: New file.
8697
8698 2003-08-23 Michael Koch <konqueror@gmx.de>
8699
8700 * java/net/URLConnection.java,
8701 java/netJarURLConnection.java,
8702 gnu/gcj/protocol/core/Connection.java,
8703 gnu/gcj/protocol/file/Connection.java,
8704 gnu/gcj/protocol/http/Connection.java: Added implementation of
8705 getHeaderFields().
8706
8707 2002-08-22 Tom Tromey <tromey@redhat.com>
8708
8709 * gij.cc (help): Document -cp and -classpath.
8710 (main): Handle -classpath.
8711
8712 2002-08-21 Tom Tromey <tromey@redhat.com>
8713
8714 * Makefile.in: Rebuilt.
8715 * Makefile.am (ordinary_java_source_files): Added
8716 SocketAddress.java, InetSocketAddress.java.
8717 * java/net/PortUnreachableException.java: Merged with Classpath.
8718 * java/net/SocketTimeoutException.java: Likewise.
8719 * java/net/URISyntaxException.java: Likewise.
8720 * java/net/SocketAddress.java: New class from Classpath.
8721 * java/net/InetSocketAddress.java: Likewise.
8722
8723 2003-08-21 Michael Koch <konqueror@gmx.de>
8724
8725 * java/net/Authenticator.java: updated JDK 1.4
8726 * java/net/ContentHandler.java: updated JDK 1.4
8727
8728 2002-08-20 Michael Koch <konqueror@gmx.de>
8729
8730 * java/net/URISyntaxException.java: New file.
8731 * java/net/SocketTimeoutException.java: New file.
8732 * java/net/PortUnreachableException.java: New file.
8733 * Makefile.am: Updated.
8734 * Makefile.in: Rebuilt.
8735
8736 2002-08-18 Mark Wielaard <mark@klomp.org>
8737
8738 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8739 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8740 MessageDigestSpi (fixes Classpath bug #783).
8741
8742 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8743
8744 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8745 (startProcess): Allocate path for chdir in async-signal-safe way.
8746
8747 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8748
8749 Fix for PR libgcj/7570 and PR libgcj/7578:
8750 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8751 (startProcess): Handle new `dir' argument.
8752 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8753 argument.
8754 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8755 argument.
8756 (startProcess): Likewise.
8757 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8758 argument.
8759 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8760 (exec): Don't create new environment if ENV==null. Pass DIR to
8761 execInternal.
8762 * java/lang/natRuntime.cc: Include java/io/File.h.
8763 (execInternal): Added `dir' argument.
8764
8765 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8766
8767 * java/io/RandomAccessFile.java (skipBytes): Return number of
8768 bytes skipped.
8769
8770 2002-08-01 Mark Wielaard <mark@klomp.org>
8771
8772 Reenable patch since shared library troubles on powerpc are solved:
8773 * gnu/java/security/provider/Gnu.java: Reference all implementation
8774 classes by using Class.getName().
8775 * gnu/java/security/der/DEREncodingException.java,
8776 gnu/java/security/provider/DERReader.java,
8777 gnu/java/security/provider/DERWriter.java,
8778 gnu/java/security/provider/DSAKeyPairGenerator.java,
8779 gnu/java/security/provider/DSAParameterGenerator.java,
8780 gnu/java/security/provider/DSAParameters.java,
8781 gnu/java/security/provider/DSASignature.java,
8782 gnu/java/security/provider/GnuDSAPrivateKey.java,
8783 gnu/java/security/provider/GnuDSAPublicKey.java,
8784 gnu/java/security/provider/MD5.java,
8785 gnu/java/security/util/Prime.java: New classes
8786 * Makefile.am (ordinary_java_source_files): Add above files.
8787 * Makefile.in: Regenerate.
8788 * gnu/java/security/provider/DefaultPolicy.java
8789 (getPermissions): Don't maintain static class variable of Permissions.
8790 * gnu/java/security/provider/SHA.java
8791 (engineUpdate): algorithm change.
8792 (engineDigest): algorithm change.
8793
8794 2002-08-09 Mark Wielaard <mark@klomp.org>
8795
8796 * java/awt/image/MemoryImageSource.java: Change constructor to take
8797 int[] not byte[].
8798 * java/awt/Graphics2D.java: Uncomment methods that can now be
8799 compiled.
8800 * java/awt/GridBagLayout.java: New stub implementation.
8801 * javax/swing/text/html/HTML.java: Stub implementation.
8802 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8803 implementation.
8804
8805 * Makefile.am: Add new files.
8806 * Makefile.in: Rebuilt.
8807
8808 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8809
8810 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8811 methods in Graphics2D.
8812
8813 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8814
8815 AWT/Swing merge from GNU Classpath.
8816
8817 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8818 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8819 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8820 java/awt/color/ProfileDataException.java,
8821 java/awt/CompositeContext.java, java/awt/Composite.java,
8822 java/awt/ContainerOrderFocusTraversalPolicy.java,
8823 java/awt/datatransfer/FlavorTable.java,
8824 java/awt/DefaultFocusTraversalPolicy.java,
8825 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8826 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8827 java/awt/dnd/DragGestureListener.java,
8828 java/awt/dnd/DragGestureRecognizer.java,
8829 java/awt/dnd/DragSourceAdapter.java,
8830 java/awt/dnd/DragSourceContext.java,
8831 java/awt/dnd/DragSourceDragEvent.java,
8832 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8833 java/awt/dnd/DragSourceListener.java,
8834 java/awt/dnd/DragSourceMotionListener.java,
8835 java/awt/dnd/DropTarget.java,
8836 java/awt/dnd/InvalidDnDOperationException.java,
8837 java/awt/dnd/peer/DragSourceContextPeer.java,
8838 java/awt/event/AWTEventListenerProxy.java,
8839 java/awt/event/MouseWheelEvent.java,
8840 java/awt/event/MouseWheelListener.java,
8841 java/awt/event/WindowFocusListener.java,
8842 java/awt/event/WindowStateListener.java,
8843 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8844 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8845 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8846 java/awt/geom/FlatteningPathIterator.java,
8847 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8848 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8849 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8850 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8851 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8852 java/awt/image/ImagingOpException.java,
8853 java/awt/image/RasterFormatException.java,
8854 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8855 java/awt/image/VolatileImage.java,
8856 java/awt/image/WritableRenderedImage.java,
8857 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8858 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8859 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8860 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8861 java/awt/PageAttributes.java, java/awt/print/Book.java,
8862 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8863 java/awt/print/Paper.java, java/awt/print/Printable.java,
8864 java/awt/print/PrinterAbortException.java,
8865 java/awt/print/PrinterException.java,
8866 java/awt/print/PrinterGraphics.java,
8867 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8868 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8869 java/awt/Stroke.java, java/awt/TexturePaint.java,
8870 javax/accessibility/AccessibleAction.java,
8871 javax/accessibility/AccessibleBundle.java,
8872 javax/accessibility/AccessibleComponent.java,
8873 javax/accessibility/AccessibleContext.java,
8874 javax/accessibility/AccessibleEditableText.java,
8875 javax/accessibility/AccessibleExtendedComponent.java,
8876 javax/accessibility/AccessibleExtendedTable.java,
8877 javax/accessibility/AccessibleHyperlink.java,
8878 javax/accessibility/AccessibleHypertext.java,
8879 javax/accessibility/AccessibleIcon.java,
8880 javax/accessibility/Accessible.java,
8881 javax/accessibility/AccessibleKeyBinding.java,
8882 javax/accessibility/AccessibleRelation.java,
8883 javax/accessibility/AccessibleRelationSet.java,
8884 javax/accessibility/AccessibleResourceBundle.java,
8885 javax/accessibility/AccessibleRole.java,
8886 javax/accessibility/AccessibleSelection.java,
8887 javax/accessibility/AccessibleState.java,
8888 javax/accessibility/AccessibleStateSet.java,
8889 javax/accessibility/AccessibleTable.java,
8890 javax/accessibility/AccessibleTableModelChange.java,
8891 javax/accessibility/AccessibleText.java,
8892 javax/accessibility/AccessibleValue.java,
8893 javax/swing/AbstractAction.java,
8894 javax/swing/AbstractButton.java,
8895 javax/swing/AbstractCellEditor.java,
8896 javax/swing/AbstractListModel.java,
8897 javax/swing/AbstractSet.java, javax/swing/Action.java,
8898 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8899 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8900 javax/swing/border/CompoundBorder.java,
8901 javax/swing/border/EmptyBorder.java,
8902 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8903 javax/swing/border/LineBorder.java,
8904 javax/swing/border/MatteBorder.java,
8905 javax/swing/border/TitledBorder.java,
8906 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8907 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8908 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8909 javax/swing/CellRendererPane.java,
8910 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8911 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8912 javax/swing/colorchooser/ColorSelectionModel.java,
8913 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8914 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8915 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8916 javax/swing/DefaultBoundedRangeModel.java,
8917 javax/swing/DefaultButtonModel.java,
8918 javax/swing/DefaultCellEditor.java,
8919 javax/swing/DefaultCellRenderer.java,
8920 javax/swing/DefaultComboBoxModel.java,
8921 javax/swing/DefaultDesktopManager.java,
8922 javax/swing/DefaultFocusManager.java,
8923 javax/swing/DefaultListCellRenderer.java,
8924 javax/swing/DefaultListModel.java,
8925 javax/swing/DefaultListSelectionModel.java,
8926 javax/swing/DefaultSingleSelectionModel.java,
8927 javax/swing/DesktopManager.java,
8928 javax/swing/event/AncestorEvent.java,
8929 javax/swing/event/AncestorListener.java,
8930 javax/swing/event/CaretEvent.java,
8931 javax/swing/event/CaretListener.java,
8932 javax/swing/event/CellEditorListener.java,
8933 javax/swing/event/ChangeEvent.java,
8934 javax/swing/event/ChangeListener.java,
8935 javax/swing/event/DocumentEvent.java,
8936 javax/swing/event/DocumentListener.java,
8937 javax/swing/event/EventListenerList.java,
8938 javax/swing/event/HyperlinkEvent.java,
8939 javax/swing/event/HyperlinkListener.java,
8940 javax/swing/event/InternalFrameAdapter.java,
8941 javax/swing/event/InternalFrameEvent.java,
8942 javax/swing/event/InternalFrameListener.java,
8943 javax/swing/event/ListDataEvent.java,
8944 javax/swing/event/ListDataListener.java,
8945 javax/swing/event/ListSelectionEvent.java,
8946 javax/swing/event/ListSelectionListener.java,
8947 javax/swing/event/MenuDragMouseEvent.java,
8948 javax/swing/event/MenuDragMouseListener.java,
8949 javax/swing/event/MenuEvent.java,
8950 javax/swing/event/MenuKeyEvent.java,
8951 javax/swing/event/MenuKeyListener.java,
8952 javax/swing/event/MenuListener.java,
8953 javax/swing/event/MouseInputAdapter.java,
8954 javax/swing/event/MouseInputListener.java,
8955 javax/swing/event/PopupMenuEvent.java,
8956 javax/swing/event/PopupMenuListener.java,
8957 javax/swing/event/SwingPropertyChangeSupport.java,
8958 javax/swing/event/TableColumnModelEvent.java,
8959 javax/swing/event/TableColumnModelListener.java,
8960 javax/swing/event/TableModelEvent.java,
8961 javax/swing/event/TableModelListener.java,
8962 javax/swing/event/TreeExpansionEvent.java,
8963 javax/swing/event/TreeExpansionListener.java,
8964 javax/swing/event/TreeModelEvent.java,
8965 javax/swing/event/TreeModelListener.java,
8966 javax/swing/event/TreeSelectionEvent.java,
8967 javax/swing/event/TreeSelectionListener.java,
8968 javax/swing/event/TreeWillExpandListener.java,
8969 javax/swing/event/UndoableEditEvent.java,
8970 javax/swing/event/UndoableEditListener.java,
8971 javax/swing/filechooser/FileFilter.java,
8972 javax/swing/filechooser/FileSystemView.java,
8973 javax/swing/filechooser/FileView.java,
8974 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8975 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8976 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8977 javax/swing/JApplet.java, javax/swing/JButton.java,
8978 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8979 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8980 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8981 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8982 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8983 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8984 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8985 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8986 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8987 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8988 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8989 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8990 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8991 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8992 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8993 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8994 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8995 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8996 javax/swing/JToolTip.java, javax/swing/JTree.java,
8997 javax/swing/JViewport.java, javax/swing/JWindow.java,
8998 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8999 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9000 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9001 javax/swing/MenuSelectionManager.java,
9002 javax/swing/MutableComboBoxModel.java,
9003 javax/swing/OverlayLayout.java,
9004 javax/swing/plaf/ActionMapUIResource.java,
9005 javax/swing/plaf/basic/BasicBorders.java,
9006 javax/swing/plaf/basic/BasicButtonUI.java,
9007 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9008 javax/swing/plaf/basic/BasicDefaults.java,
9009 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9010 javax/swing/plaf/basic/BasicIconFactory.java,
9011 javax/swing/plaf/basic/BasicLabelUI.java,
9012 javax/swing/plaf/basic/BasicListUI.java,
9013 javax/swing/plaf/basic/BasicLookAndFeel.java,
9014 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9015 javax/swing/plaf/basic/BasicPanelUI.java,
9016 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9017 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9018 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9019 javax/swing/plaf/basic/BasicTextUI.java,
9020 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9021 javax/swing/plaf/basic/BasicTreeUI.java,
9022 javax/swing/plaf/basic/BasicViewportUI.java,
9023 javax/swing/plaf/BorderUIResource.java,
9024 javax/swing/plaf/ButtonUI.java,
9025 javax/swing/plaf/ColorChooserUI.java,
9026 javax/swing/plaf/ColorUIResource.java,
9027 javax/swing/plaf/ComboBoxUI.java,
9028 javax/swing/plaf/ComponentInputMapUIResource.java,
9029 javax/swing/plaf/ComponentUI.java,
9030 javax/swing/plaf/DesktopIconUI.java,
9031 javax/swing/plaf/DesktopPaneUI.java,
9032 javax/swing/plaf/DimensionUIResource.java,
9033 javax/swing/plaf/FileChooserUI.java,
9034 javax/swing/plaf/FontUIResource.java,
9035 javax/swing/plaf/IconUIResource.java,
9036 javax/swing/plaf/InputMapUIResource.java,
9037 javax/swing/plaf/InsetsUIResource.java,
9038 javax/swing/plaf/InternalFrameUI.java,
9039 javax/swing/plaf/LabelUI.java,
9040 javax/swing/plaf/ListUI.java,
9041 javax/swing/plaf/MenuBarUI.java,
9042 javax/swing/plaf/MenuItemUI.java,
9043 javax/swing/plaf/OptionPaneUI.java,
9044 javax/swing/plaf/PanelUI.java,
9045 javax/swing/plaf/PopupMenuUI.java,
9046 javax/swing/plaf/ProgressBarUI.java,
9047 javax/swing/plaf/RootPaneUI.java,
9048 javax/swing/plaf/ScrollBarUI.java,
9049 javax/swing/plaf/ScrollPaneUI.java,
9050 javax/swing/plaf/SeparatorUI.java,
9051 javax/swing/plaf/SliderUI.java,
9052 javax/swing/plaf/SplitPaneUI.java,
9053 javax/swing/plaf/TabbedPaneUI.java,
9054 javax/swing/plaf/TableHeaderUI.java,
9055 javax/swing/plaf/TableUI.java,
9056 javax/swing/plaf/TextUI.java,
9057 javax/swing/plaf/ToolBarUI.java,
9058 javax/swing/plaf/ToolTipUI.java,
9059 javax/swing/plaf/TreeUI.java,
9060 javax/swing/plaf/UIResource.java,
9061 javax/swing/plaf/ViewportUI.java,
9062 javax/swing/ProgressMonitorInputStream.java,
9063 javax/swing/ProgressMonitor.java,
9064 javax/swing/Renderer.java,
9065 javax/swing/RepaintManager.java,
9066 javax/swing/RootPaneContainer.java,
9067 javax/swing/Scrollable.java,
9068 javax/swing/ScrollPaneConstants.java,
9069 javax/swing/ScrollPaneLayout.java,
9070 javax/swing/SingleSelectionModel.java,
9071 javax/swing/SizeRequirements.java,
9072 javax/swing/SizeSequence.java,
9073 javax/swing/SwingConstants.java,
9074 javax/swing/SwingUtilities.java,
9075 javax/swing/table/AbstractTableModel.java,
9076 javax/swing/table/DefaultTableCellRenderer.java,
9077 javax/swing/table/DefaultTableColumnModel.java,
9078 javax/swing/table/DefaultTableModel.java,
9079 javax/swing/table/TableCellEditor.java,
9080 javax/swing/table/TableCellRenderer.java,
9081 javax/swing/table/TableColumn.java,
9082 javax/swing/table/TableColumnModel.java,
9083 javax/swing/table/TableModel.java,
9084 javax/swing/text/AbstractDocument.java,
9085 javax/swing/text/AttributeSet.java,
9086 javax/swing/text/BadLocationException.java,
9087 javax/swing/text/Caret.java,
9088 javax/swing/text/CharacterIterator.java,
9089 javax/swing/text/ComponentView.java,
9090 javax/swing/text/DefaultCaret.java,
9091 javax/swing/text/DefaultEditorKit.java,
9092 javax/swing/text/Document.java,
9093 javax/swing/text/EditorKit.java,
9094 javax/swing/text/Element.java,
9095 javax/swing/text/GapContent.java,
9096 javax/swing/text/JTextComponent.java,
9097 javax/swing/text/Keymap.java,
9098 javax/swing/text/MutableAttributeSet.java,
9099 javax/swing/text/PlainDocument.java,
9100 javax/swing/text/PlainEditorKit.java,
9101 javax/swing/text/Position.java,
9102 javax/swing/text/Segment.java,
9103 javax/swing/text/StyledDocument.java,
9104 javax/swing/text/StyledEditorKit.java,
9105 javax/swing/text/Style.java,
9106 javax/swing/text/TextAction.java,
9107 javax/swing/text/ViewFactory.java,
9108 javax/swing/text/View.java,
9109 javax/swing/Timer.java,
9110 javax/swing/ToggleButtonModel.java,
9111 javax/swing/ToolTipManager.java,
9112 javax/swing/tree/AbstractLayoutCache.java,
9113 javax/swing/tree/DefaultMutableTreeNode.java,
9114 javax/swing/tree/DefaultTreeCellEditor.java,
9115 javax/swing/tree/DefaultTreeCellRenderer.java,
9116 javax/swing/tree/DefaultTreeModel.java,
9117 javax/swing/tree/DefaultTreeSelectionModel.java,
9118 javax/swing/tree/ExpandVetoException.java,
9119 javax/swing/tree/FixedHeightLayoutCache.java,
9120 javax/swing/tree/MutableTreeNode.java,
9121 javax/swing/tree/RowMapper.java,
9122 javax/swing/tree/TreeCellEditor.java,
9123 javax/swing/tree/TreeCellRenderer.java,
9124 javax/swing/tree/TreeModel.java,
9125 javax/swing/tree/TreeNode.java,
9126 javax/swing/tree/TreePath.java,
9127 javax/swing/tree/TreeSelectionModel.java,
9128 javax/swing/tree/VariableHeightLayoutCache.java,
9129 javax/swing/UIDefaults.java,
9130 javax/swing/UIManager.java,
9131 javax/swing/undo/AbstractUndoableEdit.java,
9132 javax/swing/undo/CannotRedoException.java,
9133 javax/swing/undo/CannotUndoException.java,
9134 javax/swing/undo/CompoundEdit.java,
9135 javax/swing/undo/StateEditable.java,
9136 javax/swing/undo/StateEdit.java,
9137 javax/swing/undo/UndoableEdit.java,
9138 javax/swing/undo/UndoableEditSupport.java,
9139 javax/swing/undo/UndoManager.java,
9140 javax/swing/UnsupportedLookAndFeelException.java,
9141 javax/swing/ViewportLayout.java,
9142 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9143
9144 * java/awt/ActiveEvent.java,
9145 java/awt/Adjustable.java, java/awt/AWTError.java,
9146 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9147 java/awt/AWTException.java, java/awt/AWTPermission.java,
9148 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9149 java/awt/Color.java, java/awt/Component.java,
9150 java/awt/ComponentOrientation.java, java/awt/Container.java,
9151 java/awt/datatransfer/MimeTypeParseException.java,
9152 java/awt/datatransfer/Transferable.java,
9153 java/awt/datatransfer/UnsupportedFlavorException.java,
9154 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9155 java/awt/event/ActionListener.java,
9156 java/awt/event/AdjustmentEvent.java,
9157 java/awt/event/AdjustmentListener.java,
9158 java/awt/event/AWTEventListener.java,
9159 java/awt/event/ComponentAdapter.java,
9160 java/awt/event/ComponentEvent.java,
9161 java/awt/event/ComponentListener.java,
9162 java/awt/event/ContainerAdapter.java,
9163 java/awt/event/ContainerEvent.java,
9164 java/awt/event/ContainerListener.java,
9165 java/awt/event/FocusAdapter.java,
9166 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9167 java/awt/event/HierarchyBoundsAdapter.java,
9168 java/awt/event/HierarchyBoundsListener.java,
9169 java/awt/event/HierarchyEvent.java,
9170 java/awt/event/HierarchyListener.java,
9171 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9172 java/awt/event/InputMethodListener.java,
9173 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9174 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9175 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9176 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9177 java/awt/event/MouseListener.java,
9178 java/awt/event/MouseMotionAdapter.java,
9179 java/awt/event/MouseMotionListener.java,
9180 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9181 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9182 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9183 java/awt/event/WindowListener.java, java/awt/Font.java,
9184 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9185 java/awt/geom/Ellipse2D.java,
9186 java/awt/geom/IllegalPathStateException.java,
9187 java/awt/geom/Line2D.java,
9188 java/awt/geom/NoninvertibleTransformException.java,
9189 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9190 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9191 java/awt/geom/RoundRectangle2D.java,
9192 java/awt/GraphicsConfiguration.java,
9193 java/awt/IllegalComponentStateException.java,
9194 java/awt/image/IndexColorModel.java,
9195 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9196 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9197 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9198 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9199 java/awt/MenuItem.java, java/awt/PaintContext.java,
9200 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9201 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9202 java/awt/PrintJob.java, java/awt/Rectangle.java,
9203 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9204 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9205 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9206
9207 * java/awt/im/spi/InputMethod.java,
9208 java/awt/im/spi/InputMethodContext.java,
9209 java/awt/im/spi/InputMethodDescriptor.java,
9210 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9211 java/awt/image/renderable/ParameterBlock.java,
9212 java/awt/image/renderable/RenderContext.java,
9213 java/awt/image/renderable/RenderableImage.java,
9214 java/awt/image/renderable/RenderableImageOp.java,
9215 java/awt/image/renderable/RenderableImageProducer.java,
9216 java/awt/image/renderable/RenderedImageFactory.java: New files from
9217 classpath.
9218
9219 * gnu/java/awt/EventModifier.java,
9220 gnu/java/awt/image/ImageDecoder.java,
9221 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9222
9223 * gnu/awt/xlib/XGraphicsConfiguration.java,
9224 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9225 API.
9226
9227 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9228 GNU Classpath.
9229
9230 * Makefile.am: Add new files.
9231 * Makefile.in: Rebuilt.
9232
9233 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9234
9235 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9236 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9237 findResource, getResources, findResources): Add javadoc from classpath.
9238 (getSystemResources): Implemented.
9239
9240 2002-08-01 Mark Wielaard <mark@klomp.org>
9241
9242 Revert patch that breaks libgcj shared library on powerpc:
9243 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9244 implementation classes by using Class.getName(). Uses Strings again.
9245 * gnu/java/security/der/DEREncodingException.java,
9246 gnu/java/security/provider/DERReader.java,
9247 gnu/java/security/provider/DERWriter.java,
9248 gnu/java/security/provider/DSAKeyPairGenerator.java,
9249 gnu/java/security/provider/DSAParameterGenerator.java,
9250 gnu/java/security/provider/DSAParameters.java,
9251 gnu/java/security/provider/DSASignature.java,
9252 gnu/java/security/provider/GnuDSAPrivateKey.java,
9253 gnu/java/security/provider/GnuDSAPublicKey.java,
9254 gnu/java/security/provider/MD5.java,
9255 gnu/java/security/util/Prime.java: Removed.
9256 * Makefile.am (ordinary_java_source_files): Remove above files.
9257 * Makefile.in: Regenerate.
9258 * gnu/java/security/provider/DefaultPolicy.java
9259 (getPermissions): Revert to maintaining static class variable of
9260 Permissions.
9261 * gnu/java/security/provider/SHA.java
9262 (engineUpdate): Revert algorithm change.
9263 (engineDigest): Revert algorithm change.
9264
9265 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9266
9267 * configure.host: Add SH support.
9268 * sysdep/sh/locks.h: New file.
9269
9270 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9271
9272 * java/awt/Frame.java (Frame): Remove println calls.
9273
9274 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9275
9276 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9277 * configure: Rebuilt.
9278
9279 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9280
9281 * sysdep/powerpc/locks.h: Formatting.
9282 (_LARX): Define.
9283 (_STCX): Define.
9284 (compare_and_swap): Use _LARX and _STCX.
9285 (compare_and_swap_release): Likewise.
9286
9287 2002-07-26 Tom Tromey <tromey@redhat.com>
9288
9289 * java/net/Authenticator.java: New version from Classpath.
9290 * java/net/DatagramSocketImpl.java: New version from Classpath.
9291
9292 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9293
9294 * configure.host: Add powerpc64*-* entry.
9295
9296 2002-07-26 Tom Tromey <tromey@redhat.com>
9297
9298 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9299 fcntl.h.
9300
9301 2002-07-24 Tom Tromey <tromey@redhat.com>
9302
9303 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9304 argument to _load.
9305
9306 2002-07-24 Tom Tromey <tromey@redhat.com>
9307 Tony Kimball <alk@pobox.com>
9308
9309 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9310 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9311 * java/io/RandomAccessFile.java (setLength): New method.
9312 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9313 * java/io/FileDescriptor.java (setLength): New method.
9314
9315 2002-07-24 Mark Wielaard <mark@klomp.org>
9316
9317 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9318 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9319 field call setAccessible(true).
9320 (setByteField): Likewise.
9321 (setCharField): Likewise.
9322 (setDoubleField): Likewise.
9323 (setFloatField): Likewise.
9324 (setIntField): Likewise.
9325 (setLongField): Likewise.
9326 (setShortField): Likewise.
9327 (setObjectField): Likewise.
9328
9329 2002-07-24 Tom Tromey <tromey@redhat.com>
9330
9331 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9332 use toString() to format array element.
9333
9334 2002-07-23 Mark Wielaard <mark@klomp.org>
9335
9336 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9337 MessageDigestSpi (fixes Classpath bug #783).
9338
9339 2002-07-21 Mark Wielaard <mark@klomp.org>
9340
9341 * gnu/java/security/provider/Gnu.java: Reference all implementation
9342 classes by using Class.getName().
9343
9344 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9345
9346 * java/lang/ieeefp.h: Add x86-64 support.
9347 * configure.in: Likewise.
9348 * configure.host: Likewise.
9349 * configure: Regenerated.
9350 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9351
9352 2002-07-16 Mark Wielaard <mark@klomp.org>
9353
9354 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9355 (whitespaceChars): call resetChar().
9356
9357 2002-07-15 Tom Tromey <tromey@redhat.com>
9358
9359 * Makefile.in: Rebuilt.
9360 * Makefile.am (awt_java_source_files): Added new files.
9361 * java/beans/ExceptionListener.java: Merged with Classpath.
9362 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9363 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9364 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9365 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9366 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9367 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9368 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9369
9370 2002-07-14 Mark Wielaard <mark@klomp.org>
9371
9372 * gnu/java/security/der/DEREncodingException.java,
9373 gnu/java/security/provider/DERReader.java,
9374 gnu/java/security/provider/DERWriter.java,
9375 gnu/java/security/provider/DSAKeyPairGenerator.java,
9376 gnu/java/security/provider/DSAParameterGenerator.java,
9377 gnu/java/security/provider/DSAParameters.java,
9378 gnu/java/security/provider/DSASignature.java,
9379 gnu/java/security/provider/GnuDSAPrivateKey.java,
9380 gnu/java/security/provider/GnuDSAPublicKey.java,
9381 gnu/java/security/provider/MD5.java,
9382 gnu/java/security/util/Prime.java: New files from Classpath.
9383 * Makefile.am (ordinary_java_source_files): Add new files.
9384 * Makefile.in: Regenerate.
9385
9386 2002-07-14 C. Brian Jones <cbj@gnu.org>
9387
9388 * gnu/java/security/provider/DefaultPolicy.java
9389 (getPermissions): do not maintain static class variable of
9390 Permissions
9391 * gnu/java/security/provider/SHA.java
9392 (engineUpdate): algorithm change
9393 (engineDigest): algorithm change
9394
9395 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9396
9397 For PR libgcj/7292:
9398 * java/lang/Character.java (toString(char)): Now static.
9399
9400 2002-07-12 Mark Wielaard <mark@klomp.org>
9401
9402 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9403 (getStackTrace0): new method.
9404 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9405 (printStackTrace(PrintWriter)): replace with pure java implementation.
9406 (printRawStackTrace): removed.
9407 (getStackTrace0): new method.
9408 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9409 * gcj/javaprims.h: regenerate class list.
9410 * include/name-finder.h (lookup): new returns StackTraceElement*.
9411 (method_name, file_name): fields removed.
9412 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9413 (~_Jv_name_finder): close new descriptors.
9414 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9415 (createStackTraceElement): new method.
9416 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9417
9418 2002-07-10 Tom Tromey <tromey@redhat.com>
9419
9420 * configure: Rebuilt.
9421 * configure.in: Use `test' after `&&'. From Chris Faylor.
9422
9423 2002-07-08 Mark Wielaard <mark@klomp.org>
9424
9425 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9426 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9427 java.sql.DatabaseMetaData.TestJdbc20
9428
9429 2002-07-05 Tony Kimball <alk@pobox.com>
9430
9431 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9432
9433 2002-07-04 Tom Tromey <tromey@redhat.com>
9434 Jeff Sturm <jsturm@one-point.com>
9435
9436 Fix for PR libgcj/7060:
9437 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9438 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9439 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9440 * java/lang/Class.java (getMethod): New Java implementation;
9441 complies with spec.
9442 (_getMethod): New native method.
9443
9444 2002-07-02 Tom Tromey <tromey@redhat.com>
9445 David Hovemeyer <daveho@cs.umd.edu>
9446
9447 * java/text/ChoiceFormat.java
9448 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9449 in check loop.
9450 * java/text/MessageFormat.java
9451 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9452 to MessageFormat.
9453
9454 2002-07-01 Tom Tromey <tromey@redhat.com>
9455
9456 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9457 StringTokenizer on null string. For PR libgcj/7180.
9458 From daveho@cs.umd.edu.
9459
9460 2002-06-24 Tom Tromey <tromey@redhat.com>
9461
9462 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9463 (IntegerClass): Likewise.
9464 * java/lang/natClass.cc (CloneableClass): Removed.
9465 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9466 ConstructorClass): Likewise.
9467 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9468 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9469 SerializableClass): Likewise.
9470 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9471 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9472 LongClass, FloatClass, DoubleClass): Likewise.
9473
9474 * verify.cc (branch_prepass): Updated for change to exception
9475 handler type.
9476 (verify_instructions_0): Likewise.
9477 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9478 (handleExceptionTableEntry): Updated for change to exception
9479 handler type.
9480 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9481 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9482 (union _Jv_InterpPC): New.
9483 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9484 (class _Jv_InterpMethod): Added new `prepared' field.
9485 (class _Jv_InterpMethod): Added `compile' method. Removed
9486 `continue1' and `find_exception'. Changed arguments to `run'.
9487 * interpret.cc (union insn_slot): New.
9488 (find_exception): Removed.
9489 (run_normal): Removed most logic.
9490 (run_synch_object): Likewise; also, use JvSynchronize.
9491 (run_synch_class): Likewise.
9492 (run): Removed.
9493 (continue1): Renamed as `run'. Compile bytecode if required.
9494 Add new code to allow refinement of direct-threaded code at
9495 runtime. Handle exceptions.
9496 (SAVE_PC): Removed.
9497 (compile): New method.
9498 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9499 (NULLARRAYCHECK): Don't use SAVE_PC.
9500 (pc_t): New typedef.
9501 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9502 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9503
9504 2002-06-23 Tom Tromey <tromey@redhat.com>
9505
9506 * configure: Rebuilt.
9507 * configure.in (INTERPRETER): New subst.
9508 (AM_RUNTESTFLAGS): Don't subst.
9509
9510 * Makefile.in: Rebuilt.
9511 * Makefile.am ($(srcdir)/java/lang/Object.h,
9512 $(srcdir)/java/lang/Class.h): Added dummy targets.
9513
9514 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9515
9516 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9517
9518 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9519 java/sql/Savepoint.java: New files.
9520 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9521 java/sql/Blob.java, java/sql/CallableStatement.java,
9522 java/sql/Clob.java, java/sql/Connection.java,
9523 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9524 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9525 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9526 java/sql/Ref.java, java/sql/ResultSet.java,
9527 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9528 java/sql/SQLException.java, java/sql/SQLInput.java,
9529 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9530 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9531 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9532 (JDK 1.4) specification.
9533 * javax/sql/ConnectionEvent.java,
9534 javax/sql/ConnectionEventListener.java,
9535 javax/sql/ConnectionPoolDataSource.java,
9536 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9537 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9538 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9539 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9540 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9541 javax/sql/XADataSource.java: New files.
9542 * Makefile.am: Add new files.
9543 * Makefile.in: Rebuilt.
9544
9545 2002-06-20 Tom Tromey <tromey@redhat.com>
9546
9547 For PR libgcj/7073:
9548 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9549 exists.
9550 * defineclass.cc (handleClassBegin): Superclass for interface is
9551 `null'.
9552
9553 2002-06-18 Tom Tromey <tromey@redhat.com>
9554
9555 * gcj/javaprims.h: Updated class declaration list.
9556 * Makefile.in: Rebuilt.
9557 * Makefile.am (core_java_source_files): Removed
9558 BasicMapEntry.java.
9559 * java/util/BasicMapEntry.java: Removed.
9560
9561 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9562
9563 * java/net/natPlainDatagramSocketImpl.cc (receive):
9564 Check bounds of argument to FD_SET.
9565 (setOption): Throw exception if socket is closed.
9566
9567 * java/net/natPlainSocketImpl.cc (accept, read):
9568 Check bounds of argument to FD_SET.
9569 (setOption): Throw exception if socket is closed.
9570
9571 2002-06-18 Tom Tromey <tromey@redhat.com>
9572
9573 * gcj/javaprims.h: Updated class declaration list.
9574 * Makefile.in: Rebuilt.
9575 * Makefile.am (core_java_source_files): Added
9576 PropertyPermissionCollection.java.
9577 * java/lang/Thread.java (group, name): Now package-private.
9578 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9579 * java/util/AbstractList.java: Likewise.
9580 * java/util/AbstractMap.java: Likewise.
9581 * java/util/Calendar.java: Likewise.
9582 * java/util/Collections.java: Likewise.
9583 * java/util/HashMap.java: Likewise.
9584 * java/util/Hashtable.java: Likewise.
9585 * java/util/LinkedHashMap.java: Likewise.
9586 * java/util/LinkedList.java: Likewise.
9587 * java/util/List.java: Likewise.
9588 * java/util/ListResourceBundle.java: Likewise.
9589 * java/util/Map.java: Likewise.
9590 * java/util/Observable.java: Likewise.
9591 * java/util/Properties.java: Likewise.
9592 * java/util/PropertyPermission.java: Likewise.
9593 * java/util/PropertyPermissionCollection.java: Likewise.
9594 * java/util/PropertyResourceBundle.java: Likewise.
9595 * java/util/Random.java: Likewise.
9596 * java/util/SimpleTimeZone.java: Likewise.
9597 * java/util/StringTokenizer.java: Likewise.
9598 * java/util/TimerTask.java: Likewise.
9599 * java/util/TreeMap.java: Likewise.
9600 * java/util/WeakHashMap.java: Likewise.
9601 * java/util/jar/Attributes.java: Likewise.
9602 * java/util/jar/JarException.java: Likewise.
9603 * java/util/jar/Manifest.java: Likewise.
9604
9605 2002-06-17 Tom Tromey <tromey@redhat.com>
9606
9607 * gcj/javaprims.h: Updated class declaration list.
9608 * Makefile.in: Rebuilt.
9609 * Makefile.am (core_java_source_files): Added new file.
9610 * java/util/EventListenerProxy.java: New file.
9611 * java/util/EventListener.java: Re-merge with Classpath.
9612 * java/util/EventObject.java: Re-merge with Classpath.
9613
9614 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9615
9616 * java/lang/ClassNotFoundException.java: New Classpath version.
9617
9618 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9619
9620 * java/rmi/activation/ActivateFailedException.java: Remerge from
9621 Classpath version.
9622 * java/rmi/activation/ActivationException.java: Ditto.
9623 * java/rmi/activation/UnknownGroupException.java: Ditto.
9624 * java/rmi/activation/UnknownObjectException.java: Ditto.
9625 * java/rmi/server/ExportException: Ditto.
9626 * java/rmi/server/ServerCloneException: Ditto.
9627 * java/rmi/server/ServerNotActiveException: Ditto.
9628 * java/rmi/server/SkeletonMismatchException: Ditto.
9629 * java/rmi/server/SkeletonNotFoundException: Ditto.
9630 * java/rmi/server/SocketSecurityException: Ditto.
9631
9632 2002-06-16 Tom Tromey <tromey@redhat.com>
9633
9634 * gcj/javaprims.h: Updated class declaration list.
9635
9636 * java/io/LineNumberInputStream.java: Merged with Classpath.
9637
9638 * java/lang/RuntimeException.java: Re-merge with Classpath.
9639 * java/util/ArrayList.java: Likewise.
9640 * java/util/Arrays.java: Likewise.
9641 * java/util/BitSet.java: Likewise.
9642 * java/util/Dictionary.java: Likewise.
9643 * java/util/IdentityHashMap.java: Likewise.
9644 * java/util/MissingResourceException.java: Likewise.
9645 * java/util/Observer.java: Likewise.
9646 * java/util/TooManyListenersException.java: Likewise.
9647 * java/util/zip/DataFormatException.java: Likewise.
9648 * java/util/zip/ZipException.java: Likewise.
9649
9650 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9651
9652 * java/rmi/AccessException.java: Remerge from Classpath.
9653 * java/rmi/AlreadyBoundException.java: Ditto.
9654 * java/rmi/ConnectException.java: Ditto.
9655 * java/rmi/ConnectIOException.java: Ditto.
9656 * java/rmi/MarshalException.java: Ditto.
9657 * java/rmi/NoSuchObjectException.java: Ditto.
9658 * java/rmi/NotBoundException.java: Ditto.
9659 * java/rmi/RemoteException.java: Ditto.
9660 * java/rmi/RMISecurityException.java: Ditto.
9661 * java/rmi/ServerError.java: Ditto.
9662 * java/rmi/ServerException.java: Ditto.
9663 * java/rmi/ServerRuntimeException.java: Ditto.
9664 * java/rmi/StubNotFoundException.java: Ditto.
9665 * java/rmi/UnexpectedExcpetion.java: Ditto.
9666 * java/rmi/UnknownHostException.java: Ditto.
9667 * java/rmi/UnmarshalException.java: Ditto.
9668
9669 2002-06-15 Tom Tromey <tromey@redhat.com>
9670
9671 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9672 * java/lang/ArithmeticException.java: Likewise.
9673 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9674 * java/lang/ArrayStoreException.java: Likewise.
9675 * java/lang/Byte.java: Likewise.
9676 * java/lang/CharSequence.java: Likewise.
9677 * java/lang/ClassCastException.java: Likewise.
9678 * java/lang/ClassCircularityError.java: Likewise.
9679 * java/lang/ClassFormatError.java: Likewise.
9680 * java/lang/CloneNotSupportedException.java: Likewise.
9681 * java/lang/Cloneable.java: Likewise.
9682 * java/lang/Comparable.java: Likewise.
9683 * java/lang/Compiler.java: Likewise.
9684 * java/lang/Error.java: Likewise.
9685 * java/lang/ExceptionInInitializerError.java: Likewise.
9686 * java/lang/IllegalAccessError.java: Likewise.
9687 * java/lang/IllegalAccessException.java: Likewise.
9688 * java/lang/IllegalArgumentException.java: Likewise.
9689 * java/lang/IllegalMonitorStateException.java: Likewise.
9690 * java/lang/IllegalStateException.java: Likewise.
9691 * java/lang/IllegalThreadStateException.java: Likewise.
9692 * java/lang/IncompatibleClassChangeError.java: Likewise.
9693 * java/lang/IndexOutOfBoundsException.java: Likewise.
9694 * java/lang/InheritableThreadLocal.java: Likewise.
9695 * java/lang/InstantiationError.java: Likewise.
9696 * java/lang/InstantiationException.java: Likewise.
9697 * java/lang/InternalError.java: Likewise.
9698 * java/lang/InterruptedException.java: Likewise.
9699 * java/lang/LinkageError.java: Likewise.
9700 * java/lang/NegativeArraySizeException.java: Likewise.
9701 * java/lang/NoClassDefFoundError.java: Likewise.
9702 * java/lang/NoSuchFieldError.java: Likewise.
9703 * java/lang/NoSuchFieldException.java: Likewise.
9704 * java/lang/NoSuchMethodError.java: Likewise.
9705 * java/lang/NoSuchMethodException.java: Likewise.
9706 * java/lang/NullPointerException.java: Likewise.
9707 * java/lang/NumberFormatException.java: Likewise.
9708 * java/lang/OutOfMemoryError.java: Likewise.
9709 * java/lang/Process.java: Likewise.
9710 * java/lang/Runnable.java: Likewise.
9711 * java/lang/RuntimePermission.java: Likewise.
9712 * java/lang/SecurityException.java: Likewise.
9713 * java/lang/Short.java: Likewise.
9714 * java/lang/StackOverflowError.java: Likewise.
9715 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9716 * java/lang/ThreadDeath.java: Likewise.
9717 * java/lang/ThreadLocal.java: Likewise.
9718 * java/lang/UnknownError.java: Likewise.
9719 * java/lang/UnsatisfiedLinkError.java: Likewise.
9720 * java/lang/UnsupportedClassVersionError.java: Likewise.
9721 * java/lang/UnsupportedOperationException.java: Likewise.
9722 * java/lang/VerifyError.java: Likewise.
9723 * java/lang/VirtualMachineError.java: Likewise.
9724 * java/lang/reflect/InvocationTargetException.java: Likewise.
9725 * java/net/BindException.java: Likewise.
9726 * java/net/ConnectException.java: Likewise.
9727 * java/net/MalformedURLException.java: Likewise.
9728 * java/net/NoRouteToHostException.java: Likewise.
9729 * java/net/ProtocolException.java: Likewise.
9730 * java/net/SocketException.java: Likewise.
9731 * java/net/UnknownHostException.java: Likewise.
9732 * java/net/UnknownServiceException.java: Likewise.
9733
9734 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9735 * java/io/CharConversionException.java: Likewise.
9736 * java/io/EOFException.java: Likewise.
9737 * java/io/FileNotFoundException.java: Likewise.
9738 * java/io/IOException.java: Likewise.
9739 * java/io/InterruptedIOException.java: Likewise.
9740 * java/io/InvalidClassException.java: Likewise.
9741 * java/io/InvalidObjectException.java: Likewise.
9742 * java/io/NotActiveException.java: Likewise.
9743 * java/io/NotSerializableException.java: Likewise.
9744 * java/io/ObjectStreamException.java: Likewise.
9745 * java/io/ObjectStreamConstants.java: Likewise.
9746 * java/io/OptionalDataException.java: Likewise.
9747 * java/io/PipedInputStream.java: Likewise.
9748 * java/io/PushbackInputStream.java: Likewise.
9749 * java/io/StreamCorruptedException.java: Likewise.
9750 * java/io/SyncFailedException.java: Likewise.
9751 * java/io/UTFDataFormatException.java: Likewise.
9752 * java/io/UnsupportedEncodingException.java: Likewise.
9753 * java/io/WriteAbortedException.java: Likewise.
9754
9755 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9756
9757 * java/text/ChoiceFormat.java: Update comments from Classpath.
9758 * java/text/ParseException.java (serialVersionUID): New
9759 field from Classpath.
9760 * java/text/ParseException.java: Update formatting & comments
9761 from Classpath.
9762
9763 2002-06-15 Tom Tromey <tromey@redhat.com>
9764
9765 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9766 been read but none output by inflater.
9767 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9768 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9769 is_finished.
9770 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9771 version.
9772 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9773 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9774 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9775 version.
9776 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9777
9778 2002-06-13 Tom Tromey <tromey@redhat.com>
9779
9780 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9781 true and OFFSET!=0.
9782 * java/lang/String.java (String(char[],int,int,boolean): New
9783 constructor.
9784 * java/lang/Long.java: Imported new version from Classpath.
9785 * java/lang/Number.java: Likewise.
9786 * java/lang/Integer.java: Likewise.
9787 * java/lang/Long.java: Likewise.
9788 * java/lang/Float.java: Likewise.
9789 * java/lang/Boolean.java: Likewise.
9790 * java/lang/Double.java: Likewise.
9791 * java/lang/Void.java: Likewise.
9792
9793 2002-06-12 Tom Tromey <tromey@redhat.com>
9794
9795 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9796 Fixes PR libgcj/6652.
9797
9798 2002-06-10 Tom Tromey <tromey@redhat.com>
9799
9800 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9801 (Class::getPackagePortion): Likewise.
9802 * java/lang/Class.java (desiredAssertionStatus): New method from
9803 Classpath.
9804 (getPackagePortion): Likewise.
9805 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9806 packageAssertionStatus, classAssertionStatus): New methods from
9807 Classpath.
9808 * java/lang/ClassLoader.java (defaultAssertionStatus,
9809 systemPackageAssertionStatus, packageAssertionStatus,
9810 systemClassAssertionStatus, classAssertionStatus): New fields from
9811 Classpath.
9812 (setDefaultAssertionStatus, setPackageAssertionStatus,
9813 setClassAssertionStatus, clearAssertionStatus): New methods from
9814 Classpath.
9815 * Makefile.in: Rebuilt.
9816 * Makefile.am (core_java_source_files): Added AssertionError.java.
9817 * java/lang/AssertionError.java: New from Classpath.
9818
9819 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9820
9821 * configure.host: Disable hash synchronization and slow_pthread_self
9822 for cygwin.
9823
9824 2002-06-06 Adam Megacz <adam@xwt.org>
9825
9826 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9827 locking, just like the Sun JVM does.
9828
9829 2002-06-05 H.J. Lu (hjl@gnu.org)
9830
9831 * Makefile.am (libgcj_convenience.la): Revert the last change.
9832 (libgcj.la): Likewise.
9833 * Makefile.in: Regenerated.
9834
9835 2002-06-04 H.J. Lu (hjl@gnu.org)
9836
9837 * Makefile.am (libgcj_convenience.la): New target.
9838 (libgcj.la): Depend on libgcj_convenience.la.
9839 * Makefile.in: Regenerated.
9840
9841 2002-06-04 H.J. Lu (hjl@gnu.org)
9842
9843 * configure.in (--with-newlib): New option:
9844 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9845 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9846 Linux.
9847 * configure: Regenerated.
9848
9849 2002-06-04 Tom Tromey <tromey@redhat.com>
9850
9851 * java/util/natTimeZone.cc: Include <stdio.h>.
9852
9853 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9854
9855 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9856 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9857 Set SIGNAL_HANDLER=include/s390-linux.h.
9858 * configure: Regenerate.
9859 * include/s390-linux.h: New file.
9860
9861 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9862
9863 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9864 not "stackTrace".
9865
9866 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9867
9868 Merge JDK 1.4 java.security changes from classpath.
9869
9870 * java/security/AccessControlException.java: Merge from Classpath.
9871 * java/security/AccessController.java: Likewise.
9872 * java/security/AllPermission.java: Likewise.
9873 * java/security/BasicPermission.java: Likewise.
9874 * java/security/Certificate.java: Likewise.
9875 * java/security/CodeSource.java: Likewise.
9876 * java/security/DigestException.java: Likewise.
9877 * java/security/DigestOutputStream.java: Likewise.
9878 * java/security/DomainCombiner.java: Likewise.
9879 * java/security/GeneralSecurityException.java: Likewise.
9880 * java/security/Guard.java: Likewise.
9881 * java/security/GuardedObject.java: Likewise.
9882 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9883 * java/security/InvalidKeyException.java: Likewise.
9884 * java/security/InvalidParameterException.java: Likewise.
9885 * java/security/Key.java: Likewise.
9886 * java/security/KeyException.java: Likewise.
9887 * java/security/KeyManagementException.java: Likewise.
9888 * java/security/KeyStoreException.java: Likewise.
9889 * java/security/MessageDigest.java: Likewise.
9890 * java/security/NoSuchAlgorithmException.java: Likewise.
9891 * java/security/NoSuchProviderException.java: Likewise.
9892 * java/security/Permission.java: Likewise.
9893 * java/security/PermissionCollection.java: Likewise.
9894 * java/security/Permissions.java: Likewise.
9895 * java/security/Policy.java: Likewise.
9896 * java/security/Principal.java: Likewise.
9897 * java/security/PrivateKey.java: Likewise.
9898 * java/security/PrivilegedAction.java: Likewise.
9899 * java/security/PrivilegedActionException.java: Likewise.
9900 * java/security/PrivilegedExceptionAction.java: Likewise.
9901 * java/security/ProtectionDomain.java: Likewise.
9902 * java/security/ProviderException.java: Likewise.
9903 * java/security/PublicKey.java: Likewise.
9904 * java/security/SecureClassLoader.java: Likewise.
9905 * java/security/SecurityPermission.java: Likewise.
9906 * java/security/SignatureException.java: Likewise.
9907 * java/security/UnrecoverableKeyException.java: Likewise.
9908 * java/security/UnresolvedPermission.java: Likewise.
9909 * java/security/acl/AclNotFoundException.java: Likewise.
9910 * java/security/acl/LastOwnerException.java: Likewise.
9911 * java/security/acl/NotOwnerException.java: Likewise.
9912 * java/security/cert/CRLException.java: Likewise.
9913 * java/security/cert/CertificateEncodingException.java: Likewise.
9914 * java/security/cert/CertificateException.java: Likewise.
9915 * java/security/cert/CertificateExpiredException.java: Likewise.
9916 * java/security/cert/CertificateFactory.java: Likewise.
9917 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9918 * java/security/cert/CertificateParsingException.java: Likewise.
9919 * java/security/spec/InvalidKeySpecException.java: Likewise.
9920 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9921
9922 * java/security/cert/CertPath.java: New file.
9923 * java/security/cert/CertPathBuilderException.java: New file.
9924 * java/security/cert/CertPathValidatorException.java: New file.
9925 * java/security/cert/CertStoreException.java: New file.
9926
9927 * Makefile.am: Add new CertPath classes.
9928 * Makefile.in: Rebuilt.
9929
9930 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9931
9932 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9933
9934 Merge JDK 1.4 exception chaining support from classpath.
9935
9936 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9937 (stackTraceBytes): Rename from stackTrace.
9938 * java/lang/Exception.java: Merge from classpath.
9939 * java/lang/StackTraceElement: New file from classpath.
9940 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9941 * Makefile.am: Add StackTraceElement.
9942 * Makefile.in: Rebuilt.
9943
9944 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9945
9946 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9947 they build first.
9948 * Makefile.in: Rebuilt.
9949
9950 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9951
9952 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9953 * configure.in: Likewise.
9954 * aclocal.m4: Regenerate.
9955 * configure: Regenerate.
9956
9957 2002-05-13 Tom Tromey <tromey@redhat.com>
9958
9959 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9960 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9961 Include platform.h.
9962
9963 Fixes PR libgcj/6389:
9964 * Makefile.in: Rebuilt.
9965 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9966 * java/util/natTimeZone.cc: New file.
9967 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9968 * java/lang/System.java: Merged with Classpath.
9969 * java/lang/Runtime.java: Merged with Classpath.
9970 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9971 security check.
9972 (setIn0): Renamed from setIn; don't run security check.
9973 (setOut0): Renamed from setOut; don't run security check.
9974 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9975 init_properties): Moved to natRuntime.cc.
9976 Moved many includes to natRuntime.cc.
9977 (isWordsBigEndian): New method.
9978 * java/lang/natRuntime.cc: Include Long.h, also other includes
9979 previously in natSystem.cc.
9980 (maxMemory): New function.
9981 (exitInternal): Renamed from `_exit'.
9982 (exit): Removed.
9983 (init): Don't set finalize_on_exit.
9984 (exitInternal): Use `finalizeOnExit'.
9985 (file_encoding, getpwuid_adaptor): New functions from
9986 natSystem.cc.
9987 (insertSystemProperties): New method, renamed from
9988 System::init_properties. Don't set user.timezone.
9989 (_load): Don't call checkLink.
9990 (execInternal): New method.
9991 (availableProcessors): Likewise.
9992 (nativeGetLibname): Likewise.
9993
9994 2002-05-11 Mark Wielaard <mark@klomp.org>
9995
9996 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9997 space characters.
9998 (previous_internal): Likewise.
9999
10000 2002-05-09 Tom Tromey <tromey@redhat.com>
10001
10002 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10003
10004 * java/util/ResourceBundle.java: New version from Classpath.
10005 * java/util/Locale.java: Likewise.
10006
10007 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10008
10009 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10010 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10011 LD_LIBRARY_PATH.
10012
10013 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10014
10015 * libjava/Makefile.am (all_java_source_files): New variable.
10016 (all_java_class_files): Likewise.
10017 .java.class: New rule.
10018 (CLEANFILES): Remove tmp-list.
10019 * libjava/Makefile.in: Regenerated.
10020
10021 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10022
10023 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10024 Append .exe to executable names. Fix for cygwin.
10025
10026 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10027
10028 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10029 script entry, and set LD to it when configuring multilibs.
10030 * configure: Rebuilt.
10031
10032 2002-05-07 Tom Tromey <tromey@redhat.com>
10033
10034 * java/lang/natString.cc (unintern): Fixed typo.
10035
10036 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10037
10038 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10039 with -no-install on *-*-cygwin*.
10040
10041 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10042
10043 * testsuite/lib/libjava.exp (test_libjava_from_source):
10044 Add comment explaining last patch
10045
10046 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10047
10048 * testsuite/lib/libjava.exp (test_libjava_from_source):
10049 Append .exe to executable names. If no suffix is present,
10050 then ".exe" is added by default on win32. Harmless
10051 elsewhere so always do it.
10052
10053 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10054 Tom Tromey <tromey@redhat.com>
10055
10056 * java/lang/natSystem.cc (getSystemTimeZone): Use
10057 HAVE_UNDERSCORE_TIMEZONE.
10058 * include/config.h.in: Rebuilt.
10059 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10060 * aclocal.m4, configure: Rebuilt.
10061 * acinclude.m4: Run AC_EXEEXT.
10062 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10063 Add test for `_timezone'.
10064
10065 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10066
10067 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10068 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10069 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10070 * Makefile.in: Rebuilt.
10071
10072 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10073
10074 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10075 use sigaction instead of __libc_sigaction.
10076
10077 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10078
10079 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10080 (libjava_init): Use it to find libgcj.spec.
10081 (libjava_arguments): Likewise.
10082
10083 2002-05-02 David S. Miller <davem@redhat.com>
10084
10085 PR bootstrap/6525
10086 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10087 __libc_sigaction on Sparc.
10088
10089 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10090
10091 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10092 sys/filio.h, if present.
10093
10094 2002-04-30 Tom Tromey <tromey@redhat.com>
10095
10096 * java/io/BufferedReader.java (fill): Handle case where markPos
10097 point to ignored \n. Fixes PR libgcj/6301.
10098
10099 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10100
10101 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10102
10103 2002-04-29 Adam King <aking@dreammechanics.com>
10104
10105 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10106 of file in APPEND mode.
10107
10108 2002-04-25 David S. Miller <davem@redhat.com>
10109
10110 PR target/6422
10111 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10112 program counter to next program counter minus 8. Update
10113 comments in this macro to explain why.
10114
10115 2002-04-26 Tom Tromey <tromey@redhat.com>
10116
10117 * verify.cc (construct_primitive_array_type) [void_type]: New
10118 case.
10119 (branch_prepass): Added dummy entries for unused instruction
10120 values.
10121 (verify_instructions_0): Likewise.
10122 * interpret.cc (continue1): Comment fix.
10123 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10124 * Makefile.in: Rebuilt.
10125 * Makefile.am: Added -Wswitch-enum.
10126
10127 2002-04-24 Tom Tromey <tromey@redhat.com>
10128
10129 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10130 correct length of UTF-8 encoded name. Strip leading `/'.
10131 (_Jv_RegisterResource): Use _Jv_Malloc.
10132
10133 2002-04-23 Adam Megacz <adam@xwt.org>
10134
10135 * win32.cc, include/win32.cc (backtrace): Added this function
10136 because Win32 does not supply it.
10137
10138 2002-04-21 David S. Miller <davem@redhat.com>
10139
10140 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10141 magic instruction reading sequence.
10142
10143 2002-04-21 Mark Wielaard <mark@klomp.org>
10144
10145 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10146
10147 2002-04-19 David S. Miller <davem@redhat.com>
10148
10149 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10150 arg.
10151 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10152 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10153 on Sparc too.
10154 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10155 for 64-bit sparc.
10156 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10157 * sysdeps/sparc/locks.h: New file.
10158 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10159 on all sparc Solaris configurations. Set to
10160 include/dwarf2-signal.h on sparc Linux.
10161 * configure: Regenerate
10162 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10163
10164 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10165
10166 * configure: Rebuilt.
10167 * configure.in (backtrace): Function doesn't work on IA-64.
10168
10169 2002-04-17 Adam King <aking@dreammechanics.com>
10170
10171 * java/io/File.java (normalizePath): Add Win32 support for auto
10172 conversion of a '/' path separator to Win32's '\' separator.
10173
10174 2002-04-16 Tom Tromey <tromey@redhat.com>
10175
10176 Fix for PR libgcj/6081:
10177 * Makefile.in: Rebuilt.
10178 * Makefile.am (install-data-local): Use GNU make trick to avoid
10179 shell limit.
10180
10181 2002-04-16 Adam King <aking@dreammechanics.com>
10182 Tom Tromey <tromey@redhat.com>
10183
10184 * java/io/natFileWin32.cc (performList): Return the correct array
10185 type. Don't duplicate the creation of a File since it's already
10186 done earlier in the method and the existing code would cause a
10187 ArrayStoreException. Don't use fixed-size array.
10188 (_access, _stat, attr, getCanonicalPath, performMkdir,
10189 performRenameTo): Don't use fixed-size array.
10190 (getCanonicalPath): Use throw, not _Jv_Throw.
10191
10192 2002-04-15 DJ Delorie <dj@redhat.com>
10193
10194 * configure.in: Allow building in $srcdir.
10195 * configure: Regenerated.
10196
10197 2002-04-14 Mark Wielaard <mark@klomp.org>
10198
10199 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10200 * java/net/natSocketImpl.cc (close): Likewise.
10201
10202 2002-04-14 Mark Wielaard <mark@klomp.org>
10203
10204 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10205
10206 2002-04-13 Adam King <aking@dreammechanics.com>
10207
10208 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10209 the f/F/d/D modifiers.
10210
10211 2002-04-12 Anthony Green <green@redhat.com>
10212
10213 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10214 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10215 * Makefile.in: Rebuilt.
10216 * configure.in: Substitute gcc_version.
10217 * configure: Rebuilt.
10218
10219 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10220
10221 * configure.host: Set can_unwind_signal on hosts which support it.
10222 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10223 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10224 exceptions and can_unwind_signal isn't set.
10225 * configure: Rebuilt.
10226
10227 2002-04-11 Tom Tromey <tromey@redhat.com>
10228
10229 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10230
10231 2002-04-11 Adam King <aking@dreammechanics.com>
10232 Tom Tromey <tromey@redhat.com>
10233
10234 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10235 _Jv_ThrowNullPointerException): Mark as noreturn.
10236 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10237 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10238 fixes.
10239
10240 2002-04-10 Tom Tromey <tromey@redhat.com>
10241
10242 * Makefile.in: Rebuilt.
10243 * Makefile.am (java/lang/Thread.h): Mark
10244 _Jv_AttachCurrentThreadAsDaemon as friend.
10245 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10246 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10247 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10248 function.
10249 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10250 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10251 (_Jv_JNI_InvokeFunctions): Added
10252 _Jv_JNI_AttachCurrentThreadAsDaemon.
10253 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10254 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10255 (JNI_CreateJavaVM): Likewise.
10256 (_Jv_JNI_AttachCurrentThread): Likewise.
10257 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10258 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10259 (_Jv_JNIFunctions): Initialize new fields.
10260 (_Jv_JNI_NewDirectByteBuffer): New function.
10261 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10262 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10263 * include/jni.h (JNI_VERSION_1_4): New macro.
10264 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10265 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10266 (JNINativeInterface::NewDirectByteBuffer): New field.
10267 (JNINativeInterface::GetDirectBufferAddress): New field.
10268 (JNINativeInterface::GetDirectBufferCapacity): New field.
10269 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10270 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10271 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10272
10273 2002-04-09 Tom Tromey <tromey@redhat.com>
10274
10275 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10276
10277 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10278
10279 Fix for PR libgcj/6187:
10280 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10281 distance.
10282
10283 2002-04-07 Mark Wielaard <mark@klomp.org>
10284
10285 * java/util/AbstractMap.java (putAll): Use entrySet size.
10286 (toString): Explicitly use getKey() and getValue().
10287
10288 2002-04-07 Mark Wielaard <mark@klomp.org>
10289
10290 * java/util/Hashtable.java (contains): Remove NullPointer check.
10291 (containsValue): Add NullPointer check.
10292 (remove): Always throw NullPointerException when key
10293 is null.
10294
10295 2002-04-07 Adam King <aking@dreammechanics.com>
10296
10297 * java/lang/natSystem.cc (init_properties): Call new function
10298 _Jv_platform_initProperties.
10299 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10300 support for the System properties os.name, os.arch, os.version,
10301 user.name, user.home, and user.dir.
10302 * include/posix.h, include/win32.h, posix.cc: New function
10303 _Jv_platform_initProperties.
10304
10305 2002-04-06 Mark Wielaard <mark@klomp.org>
10306
10307 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10308
10309 2002-04-06 Mark Wielaard <mark@klomp.org>
10310
10311 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10312 all of the remaining elements.
10313 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10314 (removeRange): If toIndex == fromIndex do
10315 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10316 (removeAll): Always throw NullPointerException when collection is
10317 null.
10318 (retrainAll): Likewise.
10319
10320 2002-04-05 Mark Wielaard <mark@klomp.org>
10321
10322 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10323 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10324
10325 2002-04-05 Adam Megacz <adam@xwt.org>
10326
10327 * exception.cc (abort): added static modifier
10328
10329 2002-04-04 Adam Megacz <adam@xwt.org>
10330
10331 * include/win32.h (_Jv_platform_close_on_exec): added inline
10332 modifier.
10333
10334 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10335
10336 * configure.host: Add case statement to support generic port
10337 properties. Add *-*-freebsd* section.
10338
10339 2002-04-04 Mark Wielaard <mark@klomp.org>
10340
10341 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10342 test.
10343 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10344 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10345 that depend on awt code and BufferedByteOutputStream.interrupt.
10346
10347 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10348
10349 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10350 incorrect "hi" value when count > 40.
10351
10352 2002-04-03 Mark Wielaard <mark@klomp.org>
10353
10354 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10355 ordering.
10356
10357 2002-04-02 Tom Tromey <tromey@redhat.com>
10358
10359 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10360 not `0'.
10361
10362 2002-04-02 Mark Wielaard <mark@klomp.org>
10363
10364 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10365 list of testsuite crashers.
10366
10367 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10368
10369 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10370 when resizing table.
10371
10372 2002-04-01 Mark Wielaard <mark@klomp.org>
10373
10374 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10375 NegativeArraySizeException
10376 (clear(int)): Use sign extended shift.
10377 (flip(int)): Likewise.
10378 (get(int)): Likewise.
10379 (nextClearBit(int)): Likewise.
10380 (nextSetBit(int)): Likewise.
10381 (set(int)): Likewise.
10382
10383 2002-04-01 Mark Wielaard <mark@klomp.org>
10384
10385 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10386 that can be compiled now and add testsuite crashers to ignore list.
10387
10388 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10389
10390 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10391
10392 * libgcj.spec.in: Override libgcc, not lib.
10393 * libgcj-test.spec.in: Likewise.
10394
10395 2002-03-29 Tom Tromey <tromey@redhat.com>
10396
10397 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10398 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10399
10400 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10401
10402 * java/net/PlainDatagramSocketImpl.java
10403 (close): Use native implementation.
10404 (finalize): New method.
10405
10406 * java/net/PlainSocketImpl.java (finalize): New method.
10407
10408 * java/net/natPlainDatagramSocketImpl.cc
10409 (java/io/FileDescriptor.h): Don't include.
10410 (close): Implement method here.
10411 (create): Don't assign fd.
10412
10413 * java/net/natPlainSocketImpl.cc
10414 (java/io/FileDescriptor.h): Don't include.
10415 (create): Don't assign fd.
10416 (accept): Likewise.
10417 (close): Synchronize.
10418
10419 2002-03-27 Richard Henderson <rth@redhat.com>
10420
10421 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10422
10423 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10424
10425 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10426 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10427 instead of syscall on IA-64.
10428 Add FIXME comment.
10429
10430 2002-03-27 Anthony Green <green@redhat.com>
10431
10432 * libgcj.spec.in: Add CHECKREFSPEC.
10433 * configure.in: Ditto.
10434 * configure.host: Ditto. Check references for xscale-elf.
10435 * configure: Rebuilt.
10436
10437 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10438
10439 * include/dwarf2-signal.h: Temporarily back out last change.
10440
10441 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10442
10443 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10444
10445 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10446
10447 * configure.in, configure: enable dwarf2-exception-style
10448 exception handling on IA-64.
10449 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10450 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10451 Add FIXME comment.
10452
10453 2002-03-25 Tom Tromey <tromey@redhat.com>
10454
10455 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10456 (jv_convert_LDFLAGS): Likewise.
10457 (gij_LDFLAGS): Likewise.
10458 (rmic_LDFLAGS): Likewise.
10459 (rmiregistry_LDFLAGS): Likewise.
10460 * configure.in (THREADLDFLAGS): New subst; set correctly for
10461 *BSD.
10462
10463 2002-03-25 Tom Tromey <tromey@redhat.com>
10464
10465 For PR libgcj/5303:
10466 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10467 and --version.
10468 (help): New method.
10469 (version): Likewise.
10470 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10471 "GNU".
10472 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10473 "GNU".
10474
10475 2002-03-25 Tom Tromey <tromey@redhat.com>
10476
10477 * java/awt/Component.java (processEvent): Check ComponentEvent
10478 after KeyEvent.
10479
10480 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10481
10482 * java/io/PushbackReader.java: Reformat.
10483
10484 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10485 calculate correct number of bytes skipped.
10486
10487 Based on patch from Intel's ORP team:
10488 * java/io/PushbackInputStream.java (available): Calculate correct
10489 number of bytes in buffer.
10490 (read): Remove redundant bound check. Return bytes from both the
10491 buffer and the stream.
10492
10493 2002-03-24 Tom Tromey <tromey@redhat.com>
10494
10495 * java/awt/TextComponent.java (TextComponent): Editable by
10496 default.
10497
10498 * java/awt/MenuItem.java (eventMask): No longer private.
10499 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10500 superclass if we didn't handle event.
10501 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10502 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10503 * java/awt/Choice.java (dispatchEventImpl): New method.
10504 * java/awt/List.java (dispatchEventImpl): New method.
10505 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10506 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10507 * java/awt/TextField.java (dispatchEventImpl): New method.
10508
10509 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10510
10511 * java/beans/IntrospectionException.java: Update to 1.4.
10512 * java/beans/PropertyVetoException.java: Ditto.
10513
10514 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10515
10516 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10517 Arrays.equals instead of ArrayHelper.equalsArray.
10518
10519 2002-03-24 C. Brian Jones <cbj@gnu.org>
10520
10521 * java/beans/Introspector.java: added new static final fields
10522 introduced in 1.2, lots of other updates remain to be done
10523
10524 2002-03-24 C. Brian Jones <cbj@gnu.org>
10525
10526 * java/beans/Introspector.java: reformatting
10527
10528 2002-03-24 C. Brian Jones <cbj@gnu.org>
10529
10530 * java/beans/Introspector.java: default beanInfoSearchPath will
10531 not include sun.beans.infos given we provide no such package and
10532 the API doesn't really require it; gnu.java.beans.info is the
10533 default.
10534
10535 2002-03-24 Mark Wielaard <mark@klomp.org>
10536
10537 Thanks to Orp developers
10538 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10539 switch TRUE and FALSE return values.
10540
10541 2002-03-23 Tom Tromey <tromey@redhat.com>
10542
10543 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10544 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10545
10546 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10547
10548 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10549 MONTH entry. Fixes PR libgcj/6045.
10550
10551 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10552
10553 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10554
10555 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10556
10557 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10558 not release_set.
10559 * sysdep/powerpc/locks.h (write_barrier): New function.
10560 * sysdep/i386/locks.h (write_barrier): New function.
10561
10562 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10563
10564 * include/jni.h Use correct C comments.
10565
10566 2002-03-18 Tom Tromey <tromey@redhat.com>
10567
10568 * include/jni.h (JNIIMPORT): New macro.
10569 (JNIEXPORT): Likewise.
10570 (JNICALL): Likewise.
10571
10572 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10573
10574 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10575 systems.
10576
10577 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10578
10579 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10580 INIT_SEGV: Use old_i386_kernel_sigaction.
10581 INIT_FP: Likewise.
10582
10583 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10584
10585 * java/lang/natSystem.cc (init_properties): Update VM version
10586 properties.
10587 * configure.in: Set GCJVERSION.
10588 * acconfig.h: Add GCJVERSION.
10589 * configure: Rebuilt.
10590 * include/config.h.in: Rebuilt.
10591
10592 2002-03-17 Anthony Green <green@redhat.com>
10593
10594 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10595
10596 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10597
10598 Build a single libgcj.so, without separate gc and zlib libraries.
10599 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10600 SYS_ZLIBS if system zlib is used.
10601 * configure: Rebuilt.
10602 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10603 * Makefile.in: Rebuilt.
10604 * libtool-version: Increment .so version number.
10605
10606 * Makefile.am: Escape quotes in echo.
10607 * Makefile.in: Rebuilt.
10608
10609 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10610
10611 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10612 * Makefile.in: Rebuilt.
10613
10614 2002-03-15 Anthony Green <green@redhat.com>
10615
10616 * configure.host (FILE): New macro for specifing File
10617 implementation.
10618 * configure: Rebuilt.
10619 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10620
10621 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10622
10623 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10624 already implicitly brought in from libgcj.la.
10625 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10626 * Makefile.in: Rebuilt.
10627
10628 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10629
10630 * THANKS: Fix punctuation, alphabetization.
10631
10632 2002-03-15 Tom Tromey <tromey@redhat.com>
10633 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10634
10635 Fix for PR libgcj/5944.
10636 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10637
10638 2002-03-15 Anthony Green <green@redhat.com>
10639
10640 * configure.in (tool_include_dir): Define.
10641 * configure: Rebuilt.
10642 * gcj/Makefile.am: Install libgcj-config.h relative to
10643 tool_include_dir.
10644 * gcj/Makefile: Rebuilt.
10645 * gcj/libgcj-config.h: Add warning comment.
10646
10647 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10648
10649 * configure.host (powerpc*-darwin*): Enable interpreter.
10650
10651 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10652
10653 * include/posix.h: Add multiple include header protection.
10654 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10655
10656 2002-03-10 Adam Megacz <adam@xwt.org>
10657
10658 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10659
10660 2002-03-10 Tom Tromey <tromey@redhat.com>
10661
10662 * java/awt/GridLayout.java (layoutContainer): Handle case where
10663 there are no items in container.
10664
10665 * java/lang/Win32Process.java: Added comment.
10666 * include/posix.h (_Jv_platform_close_on_exec): New function.
10667 Include fcntl.h.
10668 * include/win32.h (_Jv_platform_close_on_exec): New function.
10669 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10670 flag.
10671 (accept): Likewise.
10672 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10673 close-on-exec flag.
10674 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10675 flag.
10676
10677 2002-03-09 Tom Tromey <tromey@redhat.com>
10678
10679 * verify.cc (state::NO_STACK): New constant.
10680 (state::is_unmerged_ret_state): Handle case where stacktop is
10681 NO_STACK.
10682 (state::merge): Handle NO_STACK merges.
10683 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10684 for instruction following jsr.
10685 (stacktop, stackdepth): Removed unused variables.
10686 (pop_jump): Ignore case where all remaining states are skipped.
10687
10688 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10689
10690 * java/awt/ImageMediaEntry: Removed.
10691 * java/awt/MediaEntry: Removed.
10692
10693 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10694
10695 Hashtable synchronization for PowerPC.
10696 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10697 slow_pthread_self. Set up symlink for sysdeps directory.
10698 * configure: Rebuild.
10699 * configure.host: Document more shell variables. Set sysdeps_dir
10700 for most platforms. Set slow_pthread_self for i686. Set
10701 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10702 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10703 that memory barrier is emitted where required.
10704 * prims.cc: 64-bit align static primitive class instances.
10705 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10706 read_barrier() to enforce ordering of reads.
10707 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10708 primitives for PowerPC.
10709 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10710 moved from natObject.cc.
10711 * sysdep/alpha/locks.h: Likewise.
10712 * sysdep/ia64/locks.h: Likewise.
10713 * sysdep/generic/locks.h: Likewise.
10714 * java/lang/natObject.cc: Move thread synchronization primitives to
10715 system-dependent headers.
10716
10717 2002-03-09 Adam Megacz <adam@xwt.org>
10718
10719 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10720 bytes read and no failure code returned.
10721
10722 2002-03-09 Adam Megacz <adam@xwt.org>
10723
10724 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10725 definitions to simulate -mthreads.
10726
10727 2002-03-09 Adam Megacz <adam@xwt.org>
10728
10729 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10730 avoid precision loss.
10731
10732 2002-03-09 Per Bothner <per@bothner.com>
10733
10734 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10735 * gnu/gcj/xlib/XImage.java: Likewise.
10736 * gnu/gcj/xlib/XColor.java: Likewise.
10737
10738 2002-03-09 Adam Megacz <adam@xwt.org>
10739
10740 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10741 IOException so that Throwable.printStackTrace fails correctly.
10742
10743 2002-03-08 Adam Megacz <adam@xwt.org>
10744
10745 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10746 fixed.
10747
10748 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10749
10750 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10751 truncated to int.
10752
10753 2002-03-08 Tom Tromey <tromey@redhat.com>
10754
10755 * include/jni.h: Include stdio.h.
10756
10757 2002-03-08 Tom Tromey <tromey@redhat.com>
10758
10759 * posix.cc (internal_gettimeofday): New function.
10760 (_Jv_select): Use it.
10761
10762 2002-03-07 Adam Megacz <adam@xwt.org>
10763
10764 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10765 WIN32, and added thunks for read(), write(), and close().
10766 * java/net/natPlainSocketImpl.cc (accept, read, read):
10767 Disabled timeouts on WIN32 pending discussion.
10768
10769 2002-03-07 Adam Megacz <adam@xwt.org>
10770
10771 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10772 returns jlong. Added implementation
10773 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10774 returns jlong.
10775 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10776 returns jlong.
10777 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10778 returns jlong.
10779 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10780 _Jv_platform_gettimeofday signature.
10781
10782 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10783
10784 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10785 (read): Call recv() directly, not _Jv_recv().
10786
10787 2002-03-06 Tom Tromey <tromey@redhat.com>
10788
10789 * java/io/natFileDescriptorEcos.cc (init): Don't use
10790 GetStdHandle.
10791 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10792 is negative.
10793 (init): Don't use GetStdHandle.
10794
10795 * include/config.h.in: Rebuilt.
10796 * configure: Rebuilt.
10797 * Makefile.in: Rebuilt.
10798
10799 2002-03-06 Adam Megacz <adam@xwt.org>
10800
10801 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10802 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10803 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10804 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10805
10806 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10807
10808 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10809 the code for generating include/java-chartables.h.
10810 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10811 merge with Classpath.
10812 * scripts/unicode-muncher.pl: Copy from Classpath.
10813 * scritps/MakeCharTables.java: New file.
10814 * gnu/gcj/convert/Blocks-3.txt: New file.
10815 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10816 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10817 * gnu/java/lang/CharData.java: Copy from Classpath.
10818 * Makefile.am (ordinary_java_source_files): Add
10819 gnu/java/lang/CharData.java.
10820 * configure.in: Remove --enable-fast-character option.
10821 * java/lang/Character.java: Merge algorithms and Javadoc with
10822 Classpath.
10823 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10824 efficiently.
10825 * include/java-chardecomp.h: Regenerate.
10826 * include/java-chartables.h: Regenerate.
10827
10828 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10829
10830 * java/awt/MediaTracker.java: Implemented.
10831 * Makefile.am: Add MediaTracker.
10832 * Makefile.in: Rebuilt.
10833
10834 2002-03-05 Tom Tromey <tromey@redhat.com>
10835
10836 * java/lang/natPosixProcess.cc (fail): Removed.
10837 (startProcess): Simplified error-handling. Preserve
10838 LD_LIBRARY_PATH across exec.
10839
10840 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10841 AbstractMethodError.
10842
10843 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10844
10845 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10846 * Makefile.in: Rebuilt.
10847
10848 2002-03-03 Mark Wielaard <mark@klomp.org>
10849
10850 * java/util/Timer (TaskQueue.stop): set elements to zero.
10851
10852 2002-02-28 Anthony Green <green@redhat.com>
10853
10854 * java/lang/reflect/natMethod.cc (result): Add void* element.
10855 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10856 constructor test.
10857
10858 2002-02-27 Adam Megacz <adam@xwt.org>
10859
10860 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10861 '#undef STRICT'.
10862
10863 2002-02-26 Tom Tromey <tromey@redhat.com>
10864
10865 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10866 * gij.cc (version): Use __VERSION__.
10867 * include/config.h.in: Rebuilt.
10868 * acconfig.h (GCJVERSION): Removed.
10869 * configure: Rebuilt.
10870 * configure.in (GCJVERSION): Removed.
10871
10872 2002-02-26 Andreas Schwab <schwab@suse.de>
10873
10874 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10875 glibcpp_CXX, since libjava uses even another CXX.
10876 * aclocal.m4, configure: Regenerated.
10877
10878 2002-02-26 Tom Tromey <tromey@redhat.com>
10879
10880 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10881 `1'.
10882
10883 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10884
10885 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10886 dependency tracking for .java files.
10887 * Makefile.in: Rebuilt.
10888
10889 2002-02-24 Adam Megacz <adam@xwt.org>
10890
10891 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10892 typo. Sorry.
10893
10894 2002-02-24 Adam Megacz <adam@xwt.org>
10895
10896 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10897 for Win32, changed #ifdefs to check WIN32 instead of the
10898 (now-obsolete) USE_WINSOCK, and removed support for socket
10899 timeouts on Win32 pending further discussion.
10900
10901 2002-02-24 Adam Megacz <adam@xwt.org>
10902
10903 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10904 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10905 delete
10906
10907 2002-02-24 Adam Megacz <adam@xwt.org>
10908
10909 * java/lang/Win32Process.java: Created a dummy class to allow
10910 build process to run to completion.
10911
10912 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10913
10914 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10915 Define ffi_result union for ffi_call result. Cast
10916 ffi_result members to jvalue.
10917
10918 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10919
10920 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10921 * testsuite/Makefile.in: Likewise.
10922
10923 2002-02-20 Per Bothner <per@bothner.com>
10924
10925 * java/net/URL.java (getPath): New JDK 1.3 method.
10926
10927 * java/net/URLStreamHandler.java (parseURL):
10928 It is wrong to prepend '/' to the file part of a relative url.
10929
10930 * java/net/URLStreamHandler.java (parseURL):
10931 Minor optizations - append '/' rather than "/".
10932
10933 * java/net/URLStreamHandler.java (parseURL):
10934 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10935 We probably should canonicalize for a context-relative url, though.
10936 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10937 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10938 (sameFile): New method. Uses canonicalizeFilename.
10939
10940 2002-02-22 Tom Tromey <tromey@redhat.com>
10941
10942 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10943 java.vendor and java.vm.vendor.
10944 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10945 recent copyright date.
10946 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10947 * gij.cc (version): Print `Inc'.
10948
10949 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10950
10951 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10952 * aclocal.m4, configure: Rebuilt.
10953
10954 2002-02-20 Per Bothner <per@bothner.com>
10955
10956 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10957 and/or output streams immediately here, instead of using File.exists.
10958 (inputStream, outputStream): New fields to save open streams.
10959 (getInputStream, getOutputStream): Use already-opened streams.
10960
10961 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10962
10963 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10964 Use it.
10965 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10966 * aclocal.m4, configure, Makefile.in: Rebuilt.
10967
10968 2002-02-19 Tom Tromey <tromey@redhat.com>
10969
10970 Fix for PR libgcj/5696:
10971 * verify.cc (is_assignable_from_slow): Never call
10972 _Jv_IsAssignableFrom.
10973 (verify_instructions_0): Added new debug statement.
10974 (state::print): Print information about whether local has
10975 changed.
10976 (state::merge): Don't call note_variable when merging locals.
10977 (state::set_exception): Removed old FIXME comment.
10978
10979 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10980
10981 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10982 enable SO_BROADCAST.
10983
10984 2002-02-18 Jason Merrill <jason@redhat.com>
10985
10986 * name-finder.cc (toHex): Use word mode, not long long.
10987
10988 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10989
10990 2002-02-15 Tom Tromey <tromey@redhat.com>
10991
10992 Fix for PR libgcj/5695:
10993 * verify.cc (is_assignable_from_slow): Check to see if target is
10994 an Object before checking to see if source is an interface.
10995 (verify_instructions_0) [op_invokeinterface]: Handle case where
10996 we're making an interface call on Object.
10997
10998 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10999
11000 * Makefile.in: Rebuilt with Eric's change below.
11001
11002 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11003 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11004 Removed functions which are now implemented in Math.java.
11005
11006 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11007
11008 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11009 * Makefile.am (core_java_source_files): Add
11010 java/lang/StrictMath.java.
11011 * java/lang/Math.java: Merge with Classpath.
11012 * java/lang/StrictMath.java: New file - merge with Classpath.
11013
11014 2002-02-14 Mark Wielaard <mark@klomp.org>
11015
11016 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11017 package as a workaround for gcj 3.0.x
11018
11019 2002-02-14 Mark Wielaard <mark@klomp.org>
11020
11021 * java/security/BasicPermission.java: extends with fully qualified
11022 classname as workaround for gcj 3.0.4.
11023
11024 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11025
11026 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11027 around gcj bug of wrong emitted qualifier for inherited method.
11028 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11029 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11030 constructor to reduce amount of emitted bytecode. While this
11031 happens to work around a jikes 1.15 bug, it is still a useful
11032 patch even for correct compilers.
11033 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11034 * gnu/java/rmi/server/UnicastRemoteCall.java
11035 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11036
11037 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11038
11039 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11040 * java/net/SocketImpl.java: Ditto.
11041 * java/rmi/server/RMIClassLoader.java: Ditto.
11042 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11043
11044 2002-02-14 Mark Wielaard <mark@klomp.org>
11045
11046 Thanks to Takashi Okamoto
11047 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11048 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11049 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11050
11051 2002-02-13 Todd Stock <toddastock@yahoo.com>
11052
11053 Fix for PR libgcj/5670:
11054 * verify.cc (is_assignable_from_slow): If `source' is interface,
11055 recursively look for merge with `target'.
11056
11057 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11058
11059 * include/jni.h: Fix typo.
11060
11061 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11062
11063 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11064 correctly.
11065
11066 2002-02-13 Todd Stock <toddastock@yahoo.com>
11067
11068 Fix for PR libgcj/5671:
11069 * verify.cc (state::merge): Handle case where we're merging
11070 against an interface.
11071
11072 2002-02-12 Tom Tromey <tromey@redhat.com>
11073
11074 * exception.cc (std::abort): Mark as noreturn.
11075
11076 2002-02-12 Adam Megacz <adam@xwt.org>
11077
11078 * java/lang/Win32Process.java: Filled in a placeholder
11079 implementation so Win32 will build.
11080
11081 2002-02-12 Adam Megacz <adam@xwt.org>
11082
11083 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11084 * java/io/natFile.cc: Removed from repository.
11085 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11086
11087 2002-02-12 Adam Megacz <adam@xwt.org>
11088
11089 * win32.cc: Added two #includes to make win32.cc compile.
11090
11091 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11092
11093 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11094 declarations.
11095 (_Jv_InitGC): Don't bother locking, as this is always called from a
11096 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11097
11098 2002-02-11 Adam Megacz <adam@xwt.org>
11099
11100 * include/win32.h: Added _Jv_platform_gettimeofday.
11101 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11102
11103 2002-02-11 Adam Megacz <adam@xwt.org>
11104
11105 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11106 Added #undef STRICT to make windows.h and
11107 java/lang/reflect/Modifier.h cooperate.
11108
11109 2002-02-11 Adam Megacz <adam@xwt.org>
11110
11111 * java/io/natFileWin32.cc: Created a placeholder class with lots
11112 of FIXMEs.
11113
11114 2002-02-11 Adam Megacz <adam@xwt.org>
11115
11116 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11117 std::abort() to simply abort(). Also added "fake" std::abort() so
11118 we can #include unwind-pe.h without having to link against
11119 libstdc++-v3.
11120
11121 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11122
11123 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11124
11125 2002-02-08 Tom Tromey <tromey@redhat.com>
11126
11127 * interpret.cc (convert): New function.
11128 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11129 convert.
11130 Include Long.h.
11131
11132 2002-02-08 Anthony Green <green@redhat.com>
11133
11134 * configure.host: Add support for xscale-elf embedded target.
11135
11136 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11137
11138 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11139 dereferenced.
11140 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11141 frame.
11142
11143 2002-02-07 Tom Tromey <tromey@redhat.com>
11144
11145 * java/io/natFile.cc (_access): Use __builtin_alloca.
11146 (_stat): Likewise.
11147 (attr): Likewise.
11148 (getCanonicalPath): Likewise.
11149 (performList): Likewise.
11150 (performMkdir): Likewise.
11151 (performSetReadOnly): Likewise.
11152 (performRenameTo): Likewise.
11153 (performSetLastModified): Likewise.
11154 (performCreate): Likewise.
11155 (performDelete): Likewise.
11156
11157 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11158
11159 * HACKING: Fix URL for the automake-gcj.
11160
11161 2002-02-07 Tom Tromey <tromey@redhat.com>
11162
11163 * java/lang/natThrowable.cc: Updated copyright.
11164 * java/io/natFileWin32.cc: Updated copyright.
11165 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11166 * win32-threads.cc: Updated copyright.
11167 * name-finder.cc: Updated copyright.
11168 * include/name-finder.h: Updated copyright.
11169
11170 * include/name-finder.h: Conditionally include sys/wait.h.
11171 * include/config.h.in: Rebuilt.
11172
11173 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11174 Size buffer based on real size of string.
11175 (_stat): Likewise.
11176 (attr): Likewise.
11177 (getCanonicalPath): Likewise.
11178 (performList): Likewise.
11179 (performMkdir): Likewise.
11180 (performSetReadOnly): Likewise.
11181 (unixroot): Removed.
11182 (performRenameTo): Likewise.
11183 (performSetLastModified): Likewise.
11184 (performCreate): Likewise.
11185 (performDelete): Likewise.
11186 (performListRoots): Always return new array.
11187
11188 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11189 * win32.cc (win32_exception_handler): Now static.
11190 * include/win32.h (_Jv_platform_initialize): Declare.
11191 (win32_exception_handler): Don't declare.
11192 * java/lang/natSystem.cc (currentTimeMillis): Use
11193 _Jv_platform_gettimeofday.
11194 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11195 (_Jv_select): Use new name.
11196 (_Jv_platform_initialize): New function.
11197 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11198 _Jv_gettimeofday.
11199 (_Jv_platform_initialize): Declare.
11200
11201 * configure: Rebuilt.
11202 * configure.in: Removed unnecessary parens.
11203
11204 2002-02-06 Adam Megacz <adam@xwt.org>
11205
11206 * configure.in: Changed mingw) to *mingw*).
11207 * win32.cc: Created this file.
11208 * win32.h: Created this file.
11209 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11210 win32_exception_handler from prims.cc to win32.cc, added
11211 header in win32.h.
11212 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11213 longer needed now that we have platform.h
11214
11215 2002-02-06 Adam Megacz <adam@xwt.org>
11216
11217 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11218 use uint<n>_t instead of LONG and BYTE
11219
11220 2002-02-06 Adam Megacz <adam@xwt.org>
11221
11222 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11223
11224 2002-02-06 Anthony Green <green@redhat.com>
11225
11226 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11227 Implement missing method stubs.
11228 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11229 targets.
11230 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11231 concept of timezones.
11232 (init_properties): Don't refer to _Jv_Environment_Properties
11233 when this feature is not available.
11234 * include/config.h.in: Rebuilt.
11235 * acconfig.h: Add DISABLE_MAIN_ARGS.
11236 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11237 * configure: Rebuilt.
11238 * configure.in: Add --disable-main-args option. Test for
11239 opendir function. Replace AC_CHECK_SIZEOF with
11240 AC_COMPILE_CHECK_SIZEOF.
11241 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11242 * aclocal.m4: Rebuilt.
11243 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11244
11245 2002-02-06 Tom Tromey <tromey@redhat.com>
11246
11247 * verify.cc (require_array_type): If argument is a null array of
11248 references, return null as the element type.
11249
11250 2002-02-06 Mark Wielaard <mark@klomp.org>
11251
11252 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11253 duplicate of a wide type.
11254
11255 2002-02-06 Tom Tromey <tromey@redhat.com>
11256
11257 * verify.cc (type::isnull): New method.
11258 (require_array_type): Handle case where array is null.
11259 (verify_instructions_0) [op_arraylength]: Likewise.
11260
11261 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11262
11263 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11264 Symlink PLATFORMH to platform.h.
11265 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11266 PLATFORMOBJS.
11267 * java/lang/natSystem.cc: #include platform.h not posix.h.
11268 * Makefile.in: Rebuilt with libgcj automake.
11269 * configure: Rebuilt.
11270
11271 2002-02-05 Richard Henderson <rth@redhat.com>
11272
11273 * Makefile.in: Undo munging last change.
11274
11275 2002-02-04 Adam Megacz <adam@xwt.org>
11276
11277 * win32.cc: Created it.
11278 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11279 which is set to posix.cc or win32.cc.
11280 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11281
11282 2002-02-04 Adam Megacz <adam@xwt.org>
11283
11284 * configure.in: Corrected mingw case branches; added * before
11285 and after.
11286
11287 2002-02-04 Adam Megacz <adam@xwt.org>
11288
11289 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11290 if compiling for win32
11291
11292 2002-02-04 Adam Megacz <adam@xwt.org>
11293
11294 * win32-threads.cc: #undef STRICT after gc.h inclusion
11295
11296 2002-02-02 Tom Tromey <tromey@redhat.com>
11297
11298 * Makefile.in: Rebuilt.
11299
11300 2002-02-02 Jason Merrill <jason@redhat.com>
11301
11302 * Makefile.am (clean-nat): New target.
11303
11304 2002-02-02 Tom Tromey <tromey@redhat.com>
11305
11306 * java/io/natFile.cc: Removed old "FIXME" comments.
11307
11308 2002-02-01 Tom Tromey <tromey@redhat.com>
11309
11310 * java/lang/natPosixProcess.cc (myclose): New function.
11311 (fail): Use it.
11312 (startProcess): Likewise.
11313
11314 2002-02-01 Adam Megacz <adam@xwt.org>
11315
11316 * prims.cc: Added #undef STRICT after #include<windows.h>.
11317
11318 2002-02-01 Adam Megacz <adam@xwt.org>
11319
11320 * prims.cc
11321 (_Jv_CreateJavaVM): We now use WIN32 instead of
11322 USE_WIN32_SIGNALLING and USE_WINSOCK.
11323 (win32_exception_handler): Now throws an exception out of
11324 the signal handler; assumes SJLJ.
11325
11326 2002-02-01 Adam Megacz <adam@xwt.org>
11327
11328 * win32-threads.cc:
11329 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11330 wait() algorithm to make it safe.
11331 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11332 Added lazy creation of Win32 Events for better performance
11333 (really_start): This now uses GC_CreateThread so boehm-gc
11334 knows about new threads even when statically linked.
11335
11336 2002-02-01 Adam Megacz <adam@xwt.org>
11337
11338 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11339 enable safer wait() algorithm.
11340 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11341 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11342 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11343 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11344 instead of mutex.
11345 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11346
11347 2002-02-01 Adam Megacz <adam@xwt.org>
11348
11349 * configure.in: Added support for mingw.
11350 * java/lang/Win32Process.java: Created as empty file.
11351 * java/lang/natWin32Process.cc: Created as empty file.
11352
11353 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11354
11355 PR java/4972
11356 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11357 for libiconv in LIBICONV variable.
11358 * configure: Regenerated.
11359
11360 2002-01-31 Tom Tromey <tromey@redhat.com>
11361
11362 * verify.cc (state::enter_subroutine): New method.
11363 (handle_jsr_insn): Use it.
11364 (state::merge): When processing a `ret', correctly use
11365 subroutine's state to determine which local variables have
11366 changed.
11367 (push_exception_jump): Don't let stack overflow.
11368
11369 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11370
11371 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11372 --version output.
11373
11374 2002-01-30 Tom Tromey <tromey@redhat.com>
11375
11376 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11377 parameter for `recv' return type.
11378
11379 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11380 (state::merge): ... not here.
11381 (subr_entry_info): New structure.
11382 (entry_points): New field.
11383 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11384 entry_points.
11385
11386 2002-01-29 Tom Tromey <tromey@redhat.com>
11387
11388 * java/awt/List.java (addNotify): Correctly check to see if peer
11389 does not exist.
11390
11391 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11392 to compute height of each cell, and number of columns to compute
11393 width of each cell.
11394 * java/awt/Window.java (getOwnedWindows): Don't return null.
11395 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11396 of component. Increment x using horizontal gap, not vertical
11397 gap.
11398
11399 2002-01-28 Tom Tromey <tromey@redhat.com>
11400
11401 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11402 `nargs' byte is number of words, not number of arguments.
11403
11404 2002-01-27 Tom Tromey <tromey@redhat.com>
11405
11406 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11407 (when): Likewise.
11408 * java/awt/event/InputEvent.java (modifiers, when): Now
11409 package-private.
11410
11411 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11412 and to-do list.
11413 (state::merge): Use current class' class loader.
11414 (state::print): Print subroutine.
11415 (state::merge): Don't look at subroutine of unmerged `ret'.
11416
11417 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11418
11419 * nogc.cc: Remove warnings.
11420 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11421 New functions.
11422
11423 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11424
11425 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11426 int, int): Remove empty "if" statement to work around compiler bug.
11427 (newPixels(int[], ColorModel, int, int): Likewise.
11428
11429 2002-01-25 Per Bothner <per@bothner.com>
11430
11431 * verify.cc (verify_fail): Change from being a top-level function
11432 to e method of _Jv_BytecodeVerifier. Emit current method name.
11433 Pass the current verifier to type: and state: methods as needed,
11434 for better error messages, and for resolve.
11435 (resolve): Pass current class's loader for Class.forName and
11436 _Jv_FindClassFromSignature, rather than using the default loader.
11437 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11438 (get_type_val_for_signature): Make non-static.
11439 (various methods): Pass start_PC implicitly, not explicitly.
11440
11441 2002-01-25 Tom Tromey <tromey@redhat.com>
11442
11443 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11444 loop termination condition.
11445 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11446 width.
11447
11448 2002-01-24 Tom Tromey <tromey@redhat.com>
11449
11450 * java/awt/Shape.java: Merged with Classpath.
11451 * java/awt/Scrollbar.java: Merged with Classpath.
11452
11453 * java/awt/Container.java (addNotify): Unconditionally call
11454 addNotifyContainerChildren and superclass addNotify.
11455
11456 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11457 getAlpha, not getBlue.
11458
11459 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11460
11461 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11462
11463 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11464 (grabPixels(long)): Wait to be notified that the ImageProducer has
11465 completed.
11466
11467 2002-01-24 Per Bothner <per@bothner.com>
11468
11469 * verify.cc (is_assignable_from_slow): If target is an interface,
11470 we must still check the source's superclass before giving up.
11471
11472 2002-01-24 Tom Tromey <tromey@redhat.com>
11473
11474 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11475
11476 2002-01-23 Tom Tromey <tromey@redhat.com>
11477
11478 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11479 `else'.
11480
11481 * Makefile.in: Rebuilt.
11482 * Makefile.am (awt_java_source_files): Added new files.
11483 * java/awt/Toolkit.java: Merged with Classpath.
11484 * java/awt/PrintGraphics.java: New file from Classpath.
11485 * java/awt/PrintJob.java: New file from Classpath.
11486 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11487 * java/awt/datatransfer/ClipboardOwner.java: New file from
11488 Classpath.
11489 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11490 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11491 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11492 Classpath.
11493 * java/awt/datatransfer/StringSelection.java: New file from
11494 Classpath.
11495 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11496 Classpath.
11497 * java/awt/datatransfer/Transferable.java: New file from
11498 Classpath.
11499 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11500 from Classpath.
11501
11502 * Makefile.in: Rebuilt.
11503 * Makefile.am (awt_java_source_files): Added new files.
11504 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11505 Classpath.
11506 * java/awt/image/CropImageFilter.java: New file from Classpath.
11507 * java/awt/image/FilteredImageSource.java: New file from
11508 Classpath.
11509 * java/awt/image/ImageFilter.java: New file from Classpath.
11510 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11511 * java/awt/image/PixelGrabber.java: New file from Classpath.
11512 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11513 * java/awt/image/ReplicateScaleFilter.java: New file from
11514 Classpath.
11515 * java/awt/image/ImageProducer.java: Replaced with Classpath
11516 version.
11517 * java/awt/image/ImageObserver.java: Replaced with Classpath
11518 version.
11519 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11520 version.
11521 * java/awt/GridBagConstraints.java (clone): Catch
11522 CloneNotSupportedException.
11523
11524 2002-01-23 Per Bothner <per@bothner.com>
11525
11526 * java/lang/reflect/natField.cc (setAddr): New function.
11527 Calls getAddr and then checks that the field isn't final.
11528 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11529 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11530 (set): Call setAddr before check that new value has right type,
11531 to better match specified semantics.
11532
11533 2002-01-22 Tom Tromey <tromey@redhat.com>
11534
11535 * java/awt/TextField.java: Replaced with Classpath version.
11536 * java/awt/TextArea.java: Replaced with Classpath version.
11537 * java/awt/TextComponent.java: Replaced with Classpath version.
11538
11539 * java/awt/GridBagConstraints.java: Updated copyright.
11540
11541 2002-01-22 Mark Wielaard <mark@klomp.org>
11542
11543 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11544 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11545 java/awt/Dialog.java java/awt/FileDialog.java
11546 java/awt/Font.java java/awt/FontMetrics.java
11547 java/awt/Image.java java/awt/ImageMediaEntry.java
11548 java/awt/Insets.java java/awt/List.java
11549 java/awt/MediaEntry.java java/awt/MediaTracker.java
11550 java/awt/Menu.java java/awt/MenuBar.java
11551 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11552 java/awt/PaintContext.java java/awt/Panel.java
11553 java/awt/PopupMenu.java java/awt/SystemColor.java
11554 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11555 java/awt/peer/CheckboxMenuItemPeer.java
11556 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11557 java/awt/peer/ComponentPeer.java
11558 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11559 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11560 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11561 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11562 java/awt/peer/MenuBarPeer.java
11563 java/awt/peer/MenuComponentPeer.java
11564 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11565 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11566 java/awt/peer/ScrollPanePeer.java
11567 java/awt/peer/ScrollbarPeer.java
11568 java/awt/peer/TextAreaPeer.java
11569 java/awt/peer/TextComponentPeer.java
11570 java/awt/peer/TextFieldPeer.java
11571 java/awt/peer/WindowPeer.java: Add license clarification.
11572
11573 2002-01-22 Mark Wielaard <mark@klomp.org>
11574
11575 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11576 gnu/gcj/runtime/StringBuffer.java
11577 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11578 gnu/java/awt/ComponentDataBlitOp.java
11579 gnu/java/awt/GLightweightPeer.java
11580 gnu/java/beans/BeanInfoEmbryo.java
11581 gnu/java/beans/EmptyBeanInfo.java
11582 gnu/java/beans/ExplicitBeanInfo.java
11583 gnu/java/beans/IntrospectionIncubator.java
11584 gnu/java/beans/editors/ColorEditor.java
11585 gnu/java/beans/editors/FontEditor.java
11586 gnu/java/beans/editors/NativeBooleanEditor.java
11587 gnu/java/beans/editors/NativeByteEditor.java
11588 gnu/java/beans/editors/NativeDoubleEditor.java
11589 gnu/java/beans/editors/NativeFloatEditor.java
11590 gnu/java/beans/editors/NativeIntEditor.java
11591 gnu/java/beans/editors/NativeLongEditor.java
11592 gnu/java/beans/editors/NativeShortEditor.java
11593 gnu/java/beans/editors/StringEditor.java
11594 gnu/java/beans/info/ComponentBeanInfo.java
11595 gnu/java/io/ClassLoaderObjectInputStream.java
11596 gnu/java/io/NullOutputStream.java
11597 gnu/java/io/ObjectIdentityWrapper.java
11598 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11599 gnu/java/lang/reflect/TypeSignature.java
11600 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11601 gnu/java/locale/Calendar_en.java
11602 gnu/java/locale/Calendar_nl.java
11603 gnu/java/locale/LocaleInformation.java
11604 gnu/java/locale/LocaleInformation_de.java
11605 gnu/java/locale/LocaleInformation_en.java
11606 gnu/java/locale/LocaleInformation_nl.java
11607 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11608 gnu/java/rmi/registry/RegistryImpl.java
11609 gnu/java/rmi/rmic/Compile_gcj.java
11610 gnu/java/rmi/rmic/Compiler.java
11611 gnu/java/rmi/rmic/CompilerProcess.java
11612 gnu/java/rmi/rmic/RMIC.java
11613 gnu/java/rmi/rmic/TabbedWriter.java
11614 gnu/java/rmi/server/ProtocolConstants.java
11615 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11616 gnu/java/rmi/server/RMIHashes.java
11617 gnu/java/rmi/server/RMIObjectInputStream.java
11618 gnu/java/rmi/server/RMIObjectOutputStream.java
11619 gnu/java/rmi/server/UnicastConnection.java
11620 gnu/java/rmi/server/UnicastConnectionManager.java
11621 gnu/java/rmi/server/UnicastRef.java
11622 gnu/java/rmi/server/UnicastRemoteCall.java
11623 gnu/java/rmi/server/UnicastRemoteStub.java
11624 gnu/java/rmi/server/UnicastServer.java
11625 gnu/java/rmi/server/UnicastServerRef.java
11626 gnu/java/security/provider/DefaultPolicy.java
11627 gnu/java/security/provider/Gnu.java
11628 gnu/java/security/provider/SHA.java
11629 gnu/java/security/provider/SHA1PRNG.java
11630 gnu/java/text/BaseBreakIterator.java
11631 gnu/java/text/CharacterBreakIterator.java
11632 gnu/java/text/LineBreakIterator.java
11633 gnu/java/text/SentenceBreakIterator.java
11634 gnu/java/text/WordBreakIterator.java
11635 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11636 java/applet/AppletContext.java java/applet/AppletStub.java
11637 java/applet/AudioClip.java java/awt/AWTError.java
11638 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11639 java/awt/AWTException.java java/awt/AWTPermission.java
11640 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11641 java/awt/Button.java java/awt/Canvas.java
11642 java/awt/CardLayout.java java/awt/Checkbox.java
11643 java/awt/CheckboxGroup.java java/awt/Component.java
11644 java/awt/ComponentOrientation.java java/awt/Container.java
11645 java/awt/Dimension.java java/awt/Event.java
11646 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11647 java/awt/FlowLayout.java java/awt/Frame.java
11648 java/awt/Graphics.java java/awt/Graphics2D.java
11649 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11650 java/awt/IllegalComponentStateException.java
11651 java/awt/ItemSelectable.java java/awt/Label.java
11652 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11653 java/awt/MenuComponent.java java/awt/MenuItem.java
11654 java/awt/Paint.java java/awt/Point.java
11655 java/awt/Rectangle.java java/awt/RenderingHints.java
11656 java/awt/Transparency.java java/awt/Window.java
11657 java/awt/color/ColorSpace.java
11658 java/awt/color/ICC_ColorSpace.java
11659 java/awt/color/ICC_Profile.java
11660 java/awt/event/HierarchyBoundsAdapter.java
11661 java/awt/event/HierarchyBoundsListener.java
11662 java/awt/event/HierarchyEvent.java
11663 java/awt/event/HierarchyListener.java
11664 java/awt/geom/AffineTransform.java
11665 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11666 java/awt/geom/IllegalPathStateException.java
11667 java/awt/geom/Line2D.java
11668 java/awt/geom/NoninvertibleTransformException.java
11669 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11670 java/awt/geom/Rectangle2D.java
11671 java/awt/geom/RectangularShape.java
11672 java/awt/geom/RoundRectangle2D.java
11673 java/awt/image/BufferedImage.java
11674 java/awt/image/ColorModel.java
11675 java/awt/image/ComponentColorModel.java
11676 java/awt/image/ComponentSampleModel.java
11677 java/awt/image/DataBuffer.java
11678 java/awt/image/DataBufferByte.java
11679 java/awt/image/DataBufferInt.java
11680 java/awt/image/DataBufferUShort.java
11681 java/awt/image/DirectColorModel.java
11682 java/awt/image/PackedColorModel.java
11683 java/awt/image/Raster.java java/awt/image/RasterOp.java
11684 java/awt/image/SampleModel.java
11685 java/awt/image/SinglePixelPackedSampleModel.java
11686 java/awt/image/WritableRaster.java
11687 java/beans/AppletInitializer.java
11688 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11689 java/beans/Beans.java java/beans/Customizer.java
11690 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11691 java/beans/FeatureDescriptor.java
11692 java/beans/IndexedPropertyDescriptor.java
11693 java/beans/IntrospectionException.java
11694 java/beans/Introspector.java java/beans/MethodDescriptor.java
11695 java/beans/ParameterDescriptor.java
11696 java/beans/PropertyChangeEvent.java
11697 java/beans/PropertyChangeListener.java
11698 java/beans/PropertyChangeSupport.java
11699 java/beans/PropertyDescriptor.java
11700 java/beans/PropertyEditor.java
11701 java/beans/PropertyEditorManager.java
11702 java/beans/PropertyEditorSupport.java
11703 java/beans/PropertyVetoException.java
11704 java/beans/SimpleBeanInfo.java
11705 java/beans/VetoableChangeListener.java
11706 java/beans/VetoableChangeSupport.java
11707 java/beans/Visibility.java
11708 java/beans/beancontext/BeanContext.java
11709 java/beans/beancontext/BeanContextChild.java
11710 java/beans/beancontext/BeanContextChildComponentProxy.java
11711 java/beans/beancontext/BeanContextChildSupport.java
11712 java/beans/beancontext/BeanContextContainerProxy.java
11713 java/beans/beancontext/BeanContextEvent.java
11714 java/beans/beancontext/BeanContextMembershipEvent.java
11715 java/beans/beancontext/BeanContextMembershipListener.java
11716 java/beans/beancontext/BeanContextProxy.java
11717 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11718 java/beans/beancontext/BeanContextServiceProvider.java
11719 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11720 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11721 java/beans/beancontext/BeanContextServiceRevokedListener.java
11722 java/beans/beancontext/BeanContextServices.java
11723 java/beans/beancontext/BeanContextServicesListener.java
11724 java/io/BufferedInputStream.java
11725 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11726 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11727 java/io/ByteArrayOutputStream.java
11728 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11729 java/io/CharConversionException.java java/io/DataInput.java
11730 java/io/DataInputStream.java java/io/DataOutput.java
11731 java/io/EOFException.java java/io/Externalizable.java
11732 java/io/FileFilter.java java/io/FileNotFoundException.java
11733 java/io/FilePermission.java java/io/FileReader.java
11734 java/io/FileWriter.java java/io/FilenameFilter.java
11735 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11736 java/io/FilterReader.java java/io/FilterWriter.java
11737 java/io/IOException.java java/io/InputStream.java
11738 java/io/InterruptedIOException.java
11739 java/io/InvalidClassException.java
11740 java/io/InvalidObjectException.java
11741 java/io/NotActiveException.java
11742 java/io/NotSerializableException.java java/io/ObjectInput.java
11743 java/io/ObjectInputStream.java
11744 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11745 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11746 java/io/ObjectStreamConstants.java
11747 java/io/ObjectStreamException.java
11748 java/io/ObjectStreamField.java
11749 java/io/OptionalDataException.java java/io/OutputStream.java
11750 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11751 java/io/PipedReader.java java/io/PipedWriter.java
11752 java/io/PrintWriter.java java/io/PushbackInputStream.java
11753 java/io/PushbackReader.java java/io/Reader.java
11754 java/io/SequenceInputStream.java java/io/Serializable.java
11755 java/io/SerializablePermission.java
11756 java/io/StreamCorruptedException.java
11757 java/io/StreamTokenizer.java
11758 java/io/StringBufferInputStream.java java/io/StringReader.java
11759 java/io/StringWriter.java java/io/SyncFailedException.java
11760 java/io/UTFDataFormatException.java
11761 java/io/UnsupportedEncodingException.java
11762 java/io/WriteAbortedException.java java/io/Writer.java
11763 java/lang/AbstractMethodError.java
11764 java/lang/ArithmeticException.java
11765 java/lang/ArrayIndexOutOfBoundsException.java
11766 java/lang/ArrayStoreException.java java/lang/Boolean.java
11767 java/lang/Byte.java java/lang/CharSequence.java
11768 java/lang/ClassCastException.java
11769 java/lang/ClassCircularityError.java
11770 java/lang/ClassFormatError.java
11771 java/lang/ClassNotFoundException.java
11772 java/lang/CloneNotSupportedException.java
11773 java/lang/Cloneable.java java/lang/Comparable.java
11774 java/lang/Compiler.java java/lang/Double.java
11775 java/lang/Error.java java/lang/Exception.java
11776 java/lang/ExceptionInInitializerError.java
11777 java/lang/Float.java java/lang/IllegalAccessError.java
11778 java/lang/IllegalAccessException.java
11779 java/lang/IllegalArgumentException.java
11780 java/lang/IllegalMonitorStateException.java
11781 java/lang/IllegalStateException.java
11782 java/lang/IllegalThreadStateException.java
11783 java/lang/IncompatibleClassChangeError.java
11784 java/lang/IndexOutOfBoundsException.java
11785 java/lang/InheritableThreadLocal.java
11786 java/lang/InstantiationError.java
11787 java/lang/InstantiationException.java java/lang/Integer.java
11788 java/lang/InternalError.java
11789 java/lang/InterruptedException.java
11790 java/lang/LinkageError.java java/lang/Long.java
11791 java/lang/NegativeArraySizeException.java
11792 java/lang/NoClassDefFoundError.java
11793 java/lang/NoSuchFieldError.java
11794 java/lang/NoSuchFieldException.java
11795 java/lang/NoSuchMethodError.java
11796 java/lang/NoSuchMethodException.java
11797 java/lang/NullPointerException.java java/lang/Number.java
11798 java/lang/NumberFormatException.java
11799 java/lang/OutOfMemoryError.java java/lang/Package.java
11800 java/lang/Process.java java/lang/Runnable.java
11801 java/lang/RuntimeException.java
11802 java/lang/RuntimePermission.java
11803 java/lang/SecurityException.java
11804 java/lang/SecurityManager.java java/lang/Short.java
11805 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11806 java/lang/StringIndexOutOfBoundsException.java
11807 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11808 java/lang/ThreadLocal.java java/lang/UnknownError.java
11809 java/lang/UnsatisfiedLinkError.java
11810 java/lang/UnsupportedClassVersionError.java
11811 java/lang/UnsupportedOperationException.java
11812 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11813 java/lang/Void.java java/lang/ref/PhantomReference.java
11814 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11815 java/lang/ref/SoftReference.java
11816 java/lang/ref/WeakReference.java
11817 java/lang/reflect/AccessibleObject.java
11818 java/lang/reflect/InvocationTargetException.java
11819 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11820 java/lang/reflect/ReflectPermission.java
11821 java/math/BigDecimal.java java/math/BigInteger.java
11822 java/net/Authenticator.java java/net/BindException.java
11823 java/net/ConnectException.java java/net/ContentHandler.java
11824 java/net/ContentHandlerFactory.java
11825 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11826 java/net/FileNameMap.java java/net/MalformedURLException.java
11827 java/net/MulticastSocket.java java/net/NetPermission.java
11828 java/net/NoRouteToHostException.java
11829 java/net/PasswordAuthentication.java
11830 java/net/ProtocolException.java java/net/ServerSocket.java
11831 java/net/Socket.java java/net/SocketException.java
11832 java/net/SocketImpl.java java/net/SocketImplFactory.java
11833 java/net/SocketOptions.java java/net/SocketPermission.java
11834 java/net/URLDecoder.java java/net/URLEncoder.java
11835 java/net/URLStreamHandlerFactory.java
11836 java/net/UnknownHostException.java
11837 java/net/UnknownServiceException.java
11838 java/rmi/AccessException.java
11839 java/rmi/AlreadyBoundException.java
11840 java/rmi/ConnectException.java
11841 java/rmi/ConnectIOException.java
11842 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11843 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11844 java/rmi/NotBoundException.java
11845 java/rmi/RMISecurityException.java
11846 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11847 java/rmi/RemoteException.java java/rmi/ServerError.java
11848 java/rmi/ServerException.java
11849 java/rmi/ServerRuntimeException.java
11850 java/rmi/StubNotFoundException.java
11851 java/rmi/UnexpectedException.java
11852 java/rmi/UnknownHostException.java
11853 java/rmi/UnmarshalException.java
11854 java/rmi/activation/Activatable.java
11855 java/rmi/activation/ActivateFailedException.java
11856 java/rmi/activation/ActivationDesc.java
11857 java/rmi/activation/ActivationException.java
11858 java/rmi/activation/ActivationGroup.java
11859 java/rmi/activation/ActivationGroupDesc.java
11860 java/rmi/activation/ActivationGroupID.java
11861 java/rmi/activation/ActivationID.java
11862 java/rmi/activation/ActivationInstantiator.java
11863 java/rmi/activation/ActivationMonitor.java
11864 java/rmi/activation/ActivationSystem.java
11865 java/rmi/activation/Activator.java
11866 java/rmi/activation/UnknownGroupException.java
11867 java/rmi/activation/UnknownObjectException.java
11868 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11869 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11870 java/rmi/registry/Registry.java
11871 java/rmi/registry/RegistryHandler.java
11872 java/rmi/server/ExportException.java
11873 java/rmi/server/LoaderHandler.java
11874 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11875 java/rmi/server/Operation.java
11876 java/rmi/server/RMIClassLoader.java
11877 java/rmi/server/RMIClientSocketFactory.java
11878 java/rmi/server/RMIFailureHandler.java
11879 java/rmi/server/RMIServerSocketFactory.java
11880 java/rmi/server/RMISocketFactory.java
11881 java/rmi/server/RemoteCall.java
11882 java/rmi/server/RemoteObject.java
11883 java/rmi/server/RemoteRef.java
11884 java/rmi/server/RemoteServer.java
11885 java/rmi/server/RemoteStub.java
11886 java/rmi/server/ServerCloneException.java
11887 java/rmi/server/ServerNotActiveException.java
11888 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11889 java/rmi/server/SkeletonMismatchException.java
11890 java/rmi/server/SkeletonNotFoundException.java
11891 java/rmi/server/SocketSecurityException.java
11892 java/rmi/server/UID.java
11893 java/rmi/server/UnicastRemoteObject.java
11894 java/rmi/server/Unreferenced.java
11895 java/security/AccessControlContext.java
11896 java/security/AccessControlException.java
11897 java/security/AccessController.java
11898 java/security/AlgorithmParameterGenerator.java
11899 java/security/AlgorithmParameterGeneratorSpi.java
11900 java/security/AlgorithmParameters.java
11901 java/security/AlgorithmParametersSpi.java
11902 java/security/AllPermission.java
11903 java/security/BasicPermission.java
11904 java/security/Certificate.java java/security/CodeSource.java
11905 java/security/DigestException.java
11906 java/security/DigestInputStream.java
11907 java/security/DigestOutputStream.java
11908 java/security/DomainCombiner.java
11909 java/security/DummyKeyPairGenerator.java
11910 java/security/DummyMessageDigest.java
11911 java/security/DummySignature.java
11912 java/security/GeneralSecurityException.java
11913 java/security/Guard.java java/security/GuardedObject.java
11914 java/security/Identity.java java/security/IdentityScope.java
11915 java/security/InvalidAlgorithmParameterException.java
11916 java/security/InvalidKeyException.java
11917 java/security/InvalidParameterException.java
11918 java/security/Key.java java/security/KeyException.java
11919 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11920 java/security/KeyManagementException.java
11921 java/security/KeyPair.java java/security/KeyPairGenerator.java
11922 java/security/KeyPairGeneratorSpi.java
11923 java/security/KeyStore.java
11924 java/security/KeyStoreException.java
11925 java/security/KeyStoreSpi.java
11926 java/security/MessageDigest.java
11927 java/security/MessageDigestSpi.java
11928 java/security/NoSuchAlgorithmException.java
11929 java/security/NoSuchProviderException.java
11930 java/security/Permission.java
11931 java/security/PermissionCollection.java
11932 java/security/Permissions.java java/security/Policy.java
11933 java/security/Principal.java java/security/PrivateKey.java
11934 java/security/PrivilegedAction.java
11935 java/security/PrivilegedActionException.java
11936 java/security/PrivilegedExceptionAction.java
11937 java/security/ProtectionDomain.java
11938 java/security/Provider.java
11939 java/security/ProviderException.java
11940 java/security/PublicKey.java
11941 java/security/SecureClassLoader.java
11942 java/security/SecureRandom.java
11943 java/security/SecureRandomSpi.java java/security/Security.java
11944 java/security/SecurityPermission.java
11945 java/security/Signature.java
11946 java/security/SignatureException.java
11947 java/security/SignatureSpi.java
11948 java/security/SignedObject.java java/security/Signer.java
11949 java/security/UnrecoverableKeyException.java
11950 java/security/UnresolvedPermission.java
11951 java/security/acl/Acl.java java/security/acl/AclEntry.java
11952 java/security/acl/AclNotFoundException.java
11953 java/security/acl/Group.java
11954 java/security/acl/LastOwnerException.java
11955 java/security/acl/NotOwnerException.java
11956 java/security/acl/Owner.java java/security/acl/Permission.java
11957 java/security/cert/CRL.java
11958 java/security/cert/CRLException.java
11959 java/security/cert/Certificate.java
11960 java/security/cert/CertificateEncodingException.java
11961 java/security/cert/CertificateException.java
11962 java/security/cert/CertificateExpiredException.java
11963 java/security/cert/CertificateFactory.java
11964 java/security/cert/CertificateFactorySpi.java
11965 java/security/cert/CertificateNotYetValidException.java
11966 java/security/cert/CertificateParsingException.java
11967 java/security/cert/X509CRL.java
11968 java/security/cert/X509CRLEntry.java
11969 java/security/cert/X509Certificate.java
11970 java/security/cert/X509Extension.java
11971 java/security/interfaces/DSAKey.java
11972 java/security/interfaces/DSAKeyPairGenerator.java
11973 java/security/interfaces/DSAParams.java
11974 java/security/interfaces/DSAPrivateKey.java
11975 java/security/interfaces/DSAPublicKey.java
11976 java/security/interfaces/RSAKey.java
11977 java/security/interfaces/RSAPrivateCrtKey.java
11978 java/security/interfaces/RSAPrivateKey.java
11979 java/security/interfaces/RSAPublicKey.java
11980 java/security/spec/AlgorithmParameterSpec.java
11981 java/security/spec/DSAParameterSpec.java
11982 java/security/spec/DSAPrivateKeySpec.java
11983 java/security/spec/DSAPublicKeySpec.java
11984 java/security/spec/EncodedKeySpec.java
11985 java/security/spec/InvalidKeySpecException.java
11986 java/security/spec/InvalidParameterSpecException.java
11987 java/security/spec/KeySpec.java
11988 java/security/spec/PKCS8EncodedKeySpec.java
11989 java/security/spec/RSAKeyGenParameterSpec.java
11990 java/security/spec/RSAPrivateCrtKeySpec.java
11991 java/security/spec/RSAPrivateKeySpec.java
11992 java/security/spec/RSAPublicKeySpec.java
11993 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11994 java/sql/BatchUpdateException.java java/sql/Blob.java
11995 java/sql/CallableStatement.java java/sql/Clob.java
11996 java/sql/Connection.java java/sql/DataTruncation.java
11997 java/sql/DatabaseMetaData.java java/sql/Date.java
11998 java/sql/Driver.java java/sql/DriverManager.java
11999 java/sql/DriverPropertyInfo.java
12000 java/sql/PreparedStatement.java java/sql/Ref.java
12001 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12002 java/sql/SQLData.java java/sql/SQLException.java
12003 java/sql/SQLInput.java java/sql/SQLOutput.java
12004 java/sql/SQLWarning.java java/sql/Statement.java
12005 java/sql/Struct.java java/sql/Time.java
12006 java/sql/Timestamp.java java/sql/Types.java
12007 java/text/Annotation.java
12008 java/text/AttributedCharacterIterator.java
12009 java/text/AttributedString.java
12010 java/text/AttributedStringIterator.java
12011 java/text/BreakIterator.java java/text/CharacterIterator.java
12012 java/text/ChoiceFormat.java java/text/Collator.java
12013 java/text/DateFormat.java java/text/DateFormatSymbols.java
12014 java/text/DecimalFormat.java
12015 java/text/DecimalFormatSymbols.java
12016 java/text/FieldPosition.java java/text/Format.java
12017 java/text/MessageFormat.java java/text/NumberFormat.java
12018 java/text/ParseException.java java/text/ParsePosition.java
12019 java/text/SimpleDateFormat.java
12020 java/text/StringCharacterIterator.java
12021 java/util/AbstractCollection.java java/util/AbstractList.java
12022 java/util/AbstractMap.java
12023 java/util/AbstractSequentialList.java
12024 java/util/AbstractSet.java java/util/ArrayList.java
12025 java/util/Arrays.java java/util/BasicMapEntry.java
12026 java/util/BitSet.java java/util/Calendar.java
12027 java/util/Collection.java java/util/Collections.java
12028 java/util/Comparator.java
12029 java/util/ConcurrentModificationException.java
12030 java/util/Date.java java/util/Dictionary.java
12031 java/util/EmptyStackException.java java/util/Enumeration.java
12032 java/util/EventListener.java java/util/EventObject.java
12033 java/util/GregorianCalendar.java java/util/HashMap.java
12034 java/util/HashSet.java java/util/Hashtable.java
12035 java/util/IdentityHashMap.java java/util/Iterator.java
12036 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12037 java/util/LinkedList.java java/util/List.java
12038 java/util/ListIterator.java java/util/ListResourceBundle.java
12039 java/util/Locale.java java/util/Map.java
12040 java/util/MissingResourceException.java
12041 java/util/NoSuchElementException.java
12042 java/util/Observable.java java/util/Observer.java
12043 java/util/Properties.java java/util/PropertyPermission.java
12044 java/util/PropertyResourceBundle.java java/util/Random.java
12045 java/util/RandomAccess.java java/util/ResourceBundle.java
12046 java/util/Set.java java/util/SimpleTimeZone.java
12047 java/util/SortedMap.java java/util/SortedSet.java
12048 java/util/Stack.java java/util/StringTokenizer.java
12049 java/util/TimeZone.java java/util/Timer.java
12050 java/util/TimerTask.java
12051 java/util/TooManyListenersException.java
12052 java/util/TreeMap.java java/util/TreeSet.java
12053 java/util/Vector.java java/util/WeakHashMap.java
12054 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12055 java/util/jar/JarException.java java/util/jar/JarFile.java
12056 java/util/jar/JarInputStream.java
12057 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12058 java/util/zip/Adler32.java java/util/zip/CRC32.java
12059 java/util/zip/CheckedInputStream.java
12060 java/util/zip/CheckedOutputStream.java
12061 java/util/zip/Checksum.java
12062 java/util/zip/DataFormatException.java
12063 java/util/zip/Deflater.java
12064 java/util/zip/DeflaterOutputStream.java
12065 java/util/zip/GZIPInputStream.java
12066 java/util/zip/GZIPOutputStream.java
12067 java/util/zip/Inflater.java
12068 java/util/zip/InflaterInputStream.java
12069 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12070 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12071 java/util/zip/ZipInputStream.java
12072 java/util/zip/ZipOutputStream.java
12073 javax/naming/BinaryRefAddr.java
12074 javax/naming/InvalidNameException.java javax/naming/Name.java
12075 javax/naming/NamingException.java javax/naming/RefAddr.java
12076 javax/naming/StringRefAddr.java: Add license clarification.
12077
12078 2002-01-22 Tom Tromey <tromey@redhat.com>
12079
12080 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12081 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12082 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12083 version.
12084 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12085 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12086 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12087 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12088 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12089 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12090 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12091 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12092 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12093 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12094 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12095 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12096 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12097 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12098 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12099 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12100 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12101 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12102 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12103 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12104 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12105 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12106 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12107 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12108 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12109 (minimumSize, preferredSize, reshape): Likewise.
12110 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12111 getColorModel): New methods.
12112 * java/awt/PopupMenu.java: Merged with Classpath.
12113 * java/awt/MenuBar.java: Merged with Classpath.
12114 * java/awt/SystemColor.java: Replace with Classpath version.
12115 * java/awt/Panel.java: Merged with Classpath.
12116 * java/awt/PaintContext.java: Updated copyright.
12117 * java/awt/MenuShortcut.java: Merged with Classpath.
12118 * java/awt/MenuContainer.java: Merged with Classpath.
12119 * java/awt/Menu.java: Merged with Classpath.
12120 * java/awt/MediaEntry.java: New file from Classpath.
12121 * java/awt/MediaTracker.java: New file from Classpath.
12122 * java/awt/List.java: Merged with Classpath version.
12123 * java/awt/Insets.java: Merged with Classpath version.
12124 * java/awt/ImageMediaEntry.java: New file from Classpath.
12125 * java/awt/Image.java: Replaced with Classpath version.
12126 * java/awt/FontMetrics.java: Merged with Classpath version.
12127 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12128 constant.
12129 * java/awt/Font.java: Merged with Classpath version.
12130 * java/awt/Dialog.java: Merged with Classpath version.
12131 * java/awt/Color.java: Merged with Classpath version.
12132 * java/awt/Choice.java: Merged with Classpath version.
12133 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12134 * java/awt/Adjustable.java: Replace with Classpath version.
12135 * java/awt/MenuItem.java (paramString): Don't include class name
12136 or brackets. Call superclass paramString.
12137 * java/awt/MenuComponent.java (toString): Call paramString.
12138 (paramString): Compute string; don't call toString.
12139 * java/awt/Label.java (paramString): Don't include class name
12140 or brackets. Call superclass paramString.
12141 * java/awt/Checkbox.java (paramString): Don't include class name
12142 or brackets. Call superclass paramString.
12143 * java/awt/Button.java (paramString): Don't include class name or
12144 brackets. Call superclass paramString.
12145 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12146
12147 2002-01-20 Andreas Schwab <schwab@suse.de>
12148
12149 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12150 function and of parameter recv_func to ssize_t, as specified by
12151 POSIX.
12152
12153 2002-01-19 Per Bothner <per@bothner.com>
12154
12155 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12156 uncompressed_size in readiness for next entry.
12157
12158 2002-01-18 Tom Tromey <tromey@redhat.com>
12159
12160 * java/net/natPlainSocketImpl.cc: Include
12161 IllegalArgumentException.h.
12162 (_Jv_recv): New template function.
12163 (BooleanClass): Removed.
12164 (read): Use _Jv_recv.
12165 (setOption): Use Boolean::class$. Throw exception if object is
12166 not Boolean or Integer.
12167
12168 2002-01-17 Tom Tromey <tromey@redhat.com>
12169
12170 * java/awt/MenuComponent.java: Merged with Classpath.
12171 * java/awt/MenuItem.java: Merged with Classpath.
12172 * java/awt/Button.java: Merged with Classpath.
12173
12174 * java/awt/ActiveEvent.java: Updated copyright.
12175
12176 * java/awt/AWTError.java: Replaced with Classpath version.
12177 * java/awt/AWTException.java: Replaced with Classpath version.
12178 * java/awt/IllegalComponentStateException.java: Replaced with
12179 Classpath version.
12180
12181 2002-01-16 Tom Tromey <tromey@redhat.com>
12182
12183 * java/awt/Canvas.java (serialVersionUID): New constant.
12184 Updated copyright. Added javadoc from Classpath.
12185 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12186
12187 * java/awt/CheckboxGroup.java: Merged with Classpath.
12188 * java/awt/Checkbox.java: Merged with Classpath.
12189
12190 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12191 Classpath.
12192 * java/awt/Point.java: Updated copyright.
12193
12194 * java/awt/Point.java (toString): Use getClass().getName().
12195 Added javadoc.
12196
12197 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12198 commented code.
12199 (hash): Correctly compute initial value for `h'.
12200
12201 * java/awt/Label.java: Merged with Classpath.
12202
12203 2002-01-15 Tom Tromey <tromey@redhat.com>
12204
12205 * java/awt/AWTPermission.java: Updated copyright.
12206
12207 * java/awt/LayoutManager2.java: Merged with Classpath.
12208 * java/awt/LayoutManager.java: Merged with Classpath.
12209 * java/awt/GridLayout.java: Updated copyright and javadoc.
12210 (getSize): Use `parent.ncomponents'. Handle insets.
12211 (layoutContainer): Use `parent.ncomponents'. Handle case where
12212 there are fewer children than columns. Correctly compute size of
12213 each cell in the grid. Handle case where there isn't enough
12214 space.
12215 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12216 all users.
12217 (gotoComponent): Use parent.ncomponents. Ensure child exists
12218 before calling setVisible() on it. Last item is `num - 1', not
12219 `num'.
12220 (layoutContainer): Hoist invariants out of loop.
12221
12222 Start of AWT merge with Classpath:
12223 * Makefile.in: Rebuilt.
12224 * Makefile.am (awt_java_source_files): Reference files in
12225 gnu/java/awt, not gnu/gcj/awt.
12226 * java/awt/image/BufferedImage.java: Updated copyright.
12227 * java/awt/image/ComponentColorModel.java: Updated copyright.
12228 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12229 * java/awt/image/DataBuffer.java: Updated copyright.
12230 * java/awt/image/DataBufferByte.java: Updated copyright.
12231 * java/awt/image/DataBufferInt.java: Updated copyright.
12232 * java/awt/image/DataBufferUShort.java: Updated copyright.
12233 * java/awt/image/IndexColorModel.java: Updated copyright.
12234 * java/awt/image/PackedColorModel.java: Updated copyright.
12235 * java/awt/image/Raster.java: Updated copyright.
12236 * java/awt/image/RasterOp.java: Updated copyright.
12237 * java/awt/image/SampleModel.java: Updated copyright.
12238 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12239 * java/awt/image/WritableRaster.java: Updated copyright.
12240 * java/awt/color/ColorSpace.java: Updated copyright.
12241 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12242 * java/awt/color/ICC_Profile.java: Updated copyright.
12243 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12244 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12245 * java/awt/event/HierarchyEvent.java: Updated copyright.
12246 * java/awt/event/HierarchyListener.java: Updated copyright.
12247 * java/awt/geom/AffineTransform.java: Updated copyright.
12248 * java/awt/geom/Dimension2D.java: Updated copyright.
12249 * java/awt/geom/Ellipse2D.java: Updated copyright.
12250 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12251 * java/awt/geom/Line2D.java: Updated copyright.
12252 * java/awt/geom/NoninvertibleTransformException.java: Updated
12253 copyright.
12254 * java/awt/geom/PathIterator.java: Updated copyright.
12255 * java/awt/geom/Point2D.java: Updated copyright.
12256 * java/awt/geom/Rectangle2D.java: Updated copyright.
12257 * java/awt/geom/RectangularShape.java: Updated copyright.
12258 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12259 * java/awt/Toolkit.java: Updated import for file moves.
12260 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12261 Classpath.
12262 (hashCode): New method from Classpath.
12263 * java/awt/Graphics2D.java: Updated copyright.
12264 * java/awt/Transparency.java: Updated copyright.
12265 * java/awt/Paint.java: Updated copyright.
12266 * java/awt/Graphics.java: New version from Classpath.
12267 * java/awt/EventDispatchThread.java: Updated copyright.
12268 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12269 children.
12270 (gotoComponent): Wrap around on next/previous.
12271 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12272 * gnu/gcj/awt/Buffers.java: Removed.
12273 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12274 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12275 * gnu/java/awt/BitMaskExtent.java: Added.
12276 * gnu/java/awt/Buffers.java: Added.
12277 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12278 * gnu/java/awt/GLightweightPeer.java: Added.
12279 * java/awt/geom/Line2D.java (clone): Ignore
12280 CloneNotSupportedException.
12281 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12282 * java/awt/Frame.java: Merged with Classpath.
12283 * java/awt/RenderingHints.java: Copyright update.
12284 * java/awt/Paint.java: Copyright update.
12285 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12286 * java/awt/image/ColorModel.java: Merged with Classpath.
12287 * java/awt/Window.java (show): New Implementation from Classpath.
12288 (isShowing): Use super.isShowing().
12289 * java/awt/EventQueue.java: Merged with Classpath.
12290 * java/awt/AWTEventMulticaster.java (save): Throw
12291 RuntimeException.
12292 (saveInternal): Likewise.
12293 * java/awt/AWTEvent.java: Now implements Serializable.
12294 * java/awt/Event.java: Copyright update.
12295 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12296 * java/awt/image/BufferedImage.java: Copyright update.
12297 * java/awt/GraphicsConfiguration.java: Copyright update.
12298 * java/awt/Component.java: (addNotify): Don't call
12299 addNotifyContainerChildren().
12300 (addNotifyContainerChildren): Removed.
12301 (setPeer): New method from Classpath.
12302 (setTreeLock): Likewise.
12303 (setVisible): Rewrote.
12304 (show): Use it.
12305 (hide): Likewise.
12306 (validate): Set `valid'.
12307 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12308 (createImage(ImageProducer)): Likewise.
12309 (prepareImage): Likewise.
12310 * java/awt/Container.java (addImpl): Handle case where constraint
12311 is not a String. Post event via system event queue.
12312 (remove): Post event via system event queue.
12313 (validateTree): Only validate child if it is invalid.
12314 (getAlignmentX): Call super method as default.
12315 (getAlignmentY): Likewise.
12316 (addContainerListener): Now synchronized.
12317 (removeContainerListener): Likewise.
12318 (addNotifyContainerChildren): Now private.
12319 * java/awt/ComponentOrientation.java: Updated copyright. Added
12320 @author.
12321 * java/awt/FlowLayout.java (serialVersionUID): New field.
12322 (setAlignment): Better exception message.
12323 (layoutContainer): Don't compute component's preferred size unless
12324 we're going to use it.
12325 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12326 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12327 (firstLine, lastLine, firstItem, lastItem): New fields.
12328 (addLayoutComponent): Handle case where constraints is null.
12329 Also, handle relative locations.
12330 (removeLayoutComponent): Handle relative locations.
12331 (MIN, MAX, PREF): New constants.
12332 (calcCompSize): New method.
12333 (calcSize): New method.
12334 (minimumLayoutSize): Use it.
12335 (preferredLayoutSize): Likewise.
12336 (maximumLayoutSize): Likewise.
12337 (toString): Include more information.
12338 (setBounds): New method.
12339 (layoutContainer): Use libgcj implementation; extended to handle
12340 relative locations.
12341
12342 2002-01-15 Tom Tromey <tromey@redhat.com>
12343
12344 * java/lang/Float.java (equals): Preserve old code.
12345 * java/lang/Double.java (equals): Preserve old code.
12346
12347 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12348
12349 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12350 * java/lang/Float.java (equals, compare): Ditto.
12351
12352 2002-01-13 Mark Wielaard <mark@klomp.org>
12353
12354 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12355 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12356 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12357 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12358
12359 2002-01-11 Mark Wielaard <mark@klomp.org>
12360
12361 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12362 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12363 InetAddress.
12364 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12365 * java/net/Socket.java: Merge with Classpath.
12366 * java/net/ServerSocket.java: Likewise.
12367
12368 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12369
12370 * interpret.cc (NULLARRAYCHECK): New macro.
12371 (SAVE_PC): Just store `pc'.
12372 (find_exception): Subtract one from `pc' here.
12373 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12374 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12375 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12376 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12377 don't call SAVE_PC.
12378 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12379 call SAVE_PC.
12380
12381 2002-01-11 Tom Tromey <tromey@redhat.com>
12382
12383 * java/lang/natSystem.cc (init_properties): Only look for default
12384 locale if LC_MESSAGES is defined.
12385 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12386 * configure.in: Call AM_LC_MESSAGES.
12387 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12388
12389 2002-01-10 Tom Tromey <tromey@redhat.com>
12390
12391 For PR libgcj/5303:
12392 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12393 --version. Recognize GNU-style long options. Print GNU-style
12394 error messages.
12395 (usage): Print GNU-style help. Exit with status 0.
12396 (error): New method.
12397 (run): Print error message if no class names found.
12398 (main): Don't print usage on error.
12399
12400 2002-01-09 Tom Tromey <tromey@redhat.com>
12401
12402 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12403 property.
12404 (help, version): Use println(), not println("").
12405
12406 For PR libgcj/5303:
12407 * gnu/gcj/convert/Convert.java (error): Program is called
12408 `jv-convert'. Print GNU-style message. Exit with status 1, not
12409 -1.
12410 (main): Handle --help and --version.
12411 (help): New method.
12412 (version): Likewise.
12413
12414 2002-01-08 Tom Tromey <tromey@redhat.com>
12415
12416 * Makefile.in: Rebuilt.
12417 * Makefile.am (ordinary_java_source_files): Added new files.
12418 * gnu/java/locale/LocaleInformation.java: Extend
12419 LocaleInformation_en.
12420 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12421 and time/date formats.
12422 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12423 generated.
12424 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12425 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12426 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12427 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12428 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12429 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12430 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12431 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12432 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12433 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12434 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12435 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12436 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12437 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12438 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12439 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12440 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12441 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12442 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12443 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12444 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12445 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12446 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12447 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12448 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12449 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12450 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12451 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12452 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12453 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12454 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12455 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12456 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12457 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12458 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12459 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12460 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12461 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12462 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12463 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12464 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12465 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12466 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12467 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12468 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12469 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12470 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12471 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12472 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12473 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12474 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12475 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12476 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12477 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12478 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12479 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12480 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12481 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12482 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12483 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12484 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12485 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12486 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12487 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12488 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12489 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12490 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12491 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12492 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12493 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12494 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12495 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12496 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12497 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12498 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12499 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12500 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12501 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12502 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12503 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12504 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12505 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12506 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12507 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12508 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12509 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12510 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12511 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12512 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12513 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12514 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12515 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12516 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12517 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12518 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12519 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12520 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12521 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12522 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12523 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12524 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12525 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12526 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12527 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12528 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12529 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12530 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12531 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12532 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12533 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12534 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12535 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12536 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12537 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12538 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12539 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12540 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12541 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12542 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12543 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12544 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12545 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12546 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12547 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12548 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12549 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12550 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12551 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12552 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12553 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12554
12555 For PR libgcj/5031:
12556 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12557 choose default locale.
12558
12559 * Makefile.in: Rebuilt.
12560 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12561
12562 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12563
12564 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12565 sockets.
12566 (close): New function closes the socket.
12567 (write): New functions for output to socket.
12568 (read): New functions for reading from socket.
12569 * java/net/PlainSocketImpl.java: Glue for new timeout
12570 implementation.
12571 (write): Call the native impl.
12572 (read): Likewise.
12573 (getInputStream): Get a stream to read from the socket.
12574 (getOutputStream): Get a stream to write to the socket.
12575
12576 2002-01-08 Tom Tromey <tromey@redhat.com>
12577
12578 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12579
12580 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12581
12582 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12583 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12584
12585 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12586
12587 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12588 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12589 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12590 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12591 insn_bastore, insn_castore, insn_sastore]: Use it.
12592 (continue1) [insn_arraylength]: Check for null array.
12593
12594 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12595
12596 * configure, include/config.h.in: Rebuilt.
12597 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12598 * configure.in: Call AC_STRUCT_TIMEZONE.
12599
12600 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12601
12602 * configure.host: Disable the interpreter for Darwin.
12603
12604 2002-01-04 Tom Tromey <tromey@redhat.com>
12605
12606 * java/lang/Thread.java (stop): No longer synchronized.
12607 (start): Likewise.
12608
12609 2002-01-02 Tom Tromey <tromey@redhat.com>
12610
12611 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12612 patch.
12613
12614 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12615
12616 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12617 PPC Darwin, not for all of Darwin.