Window.java (getWarningString): Just return the string.
[gcc.git] / libjava / ChangeLog
1 2003-07-22 Tom Tromey <tromey@redhat.com>
2
3 * java/awt/Window.java (getWarningString): Just return the
4 string.
5 (Window): Set warningString; check with security manager.
6
7 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
8
9 * gnu/awt/xlib/XGraphicsConfiguration.java
10 (FontMetricsCache): Made static.
11
12 2003-07-22 Tom Tromey <tromey@redhat.com>
13
14 * java/net/URLEncoder.java (encode(String)): Use platform default
15 encoding.
16 (encode(String,String)): Convert to 2-digit upper-case hex
17 number.
18 (hex): New field.
19
20 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
21
22 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
23 (create): Remove unused method implementation.
24 (connectHooks): Remove debug messages.
25
26 2003-07-20 Anthony Green <green@redhat.com>
27
28 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
29 CloneNotSupportedException.
30 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
31 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
32 * gnu/gcj/xlib/GC.java (clone): Ditto.
33 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
34 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
35
36 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
37 handler.
38 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
39
40 2003-07-20 Steve Pribyl <steve@netfuel.com.>
41
42 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
43 String. Put dlerror() message into exception.
44 Include UnsatisfiedLinkError.
45 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
46 String. Now native.
47
48 2003-07-20 Tom Tromey <tromey@redhat.com>
49
50 * java/lang/Runtime.java: Comment fix.
51 * java/lang/ClassLoader.java (isAncestorOf): New method.
52 (getParent): Uncommented security check. Use isAncestorOf.
53 * include/jvm.h (_Jv_CheckAccess): Declare.
54 * java/lang/reflect/natConstructor.cc (newInstance): Perform
55 access check.
56 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
57 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
58 class loader to _Jv_GetArrayClass.
59 Include ArrayIndexOutOfBoundsException.h.
60 * java/lang/reflect/Field.java: Update comment to reflect status.
61 (equals): Fixed indentation.
62 * java/lang/Class.h (Class): Declare memberAccessCheck, not
63 checkMemberAccess. Make _Jv_CheckAccess a friend.
64 * java/lang/Class.java (memberAccessCheck): New method from
65 Classpath.
66 (checkMemberAccess): Removed.
67 (getDeclaredMethod): Use memberAccessCheck.
68 (getField): Likewise.
69 (getMethod): Likewise.
70 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
71 (_Jv_SearchMethodInClass): Likewise.
72 * prims.cc (_Jv_CheckAccess): New function.
73 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
74 (_Jv_JNI_GetAnyFieldID): Likewise.
75 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
76 (getClassLoader): Added security check.
77 (getConstructor): Call memberAccessCheck.
78 (getDeclaredClasses): Likewise.
79 (getDeclaredField): Likewise.
80 (getDeclaredFields): Likewise.
81 (_getConstructors): Likewise.
82 (getDeclaredConstructor): Likewise.
83 (getDeclaredMethods): Likewise.
84 (getFields): Likewise.
85 (getMethods): Likewise.
86 (newInstance): Likewise.
87 (_Jv_MakeVTable): Put method name in exception.
88 * java/lang/reflect/natMethod.cc (getType): Use
89 getClassLoaderInternal.
90 (_Jv_GetTypesFromSignature): Likewise.
91 (invoke): Perform access check.
92 (_Jv_CallAnyMethodA): Removed old FIXME comments.
93 Include ArrayIndexOutOfBoundsException.h.
94 * java/lang/reflect/natField.cc (getType): Use
95 getClassLoaderInternal.
96 (_Jv_CheckFieldAccessibility): Removed.
97 (getAddr): Use _Jv_CheckAccess; find caller.
98 Include ArrayIndexOutOfBoundsException.h.
99
100 2003-07-20 Michael Koch <konqueror@gmx.de>
101
102 * java/net/URL.java
103 (URL): Fixed documentation to name an argument correcty, Reformatted
104 one method declaration.
105 (getURLStreamHandler): Added documentation from classpath.
106
107 2003-07-19 Tom Tromey <tromey@redhat.com>
108
109 * mauve-libgcj: Don't run CollationElementIterator tests.
110
111 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
112
113 * java/net/URLClassLoader.java (addURL): Moved implementation to
114 private addURLImpl() to avoid calling addURL from the constructor.
115 (addURLImpl): Contains the code that was previously in addURL.
116 (addURLs): Call addURLImpl(), not addURL().
117
118 2003-07-18 Graydon Hoare <graydon@redhat.com>
119
120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
121 Handle missing event cases, connect to "value-changed" signal.
122
123 2003-07-18 Graydon Hoare <graydon@redhat.com>
124
125 * java/awt/geom/CubicCurve2D.java,
126 java/awt/geom/Line2D.java,
127 java/awt/geom/QuadCurve2D.java,
128 java/awt/geom/Rectangle2D.java:
129 Fix path some calculations, make path iterators follow
130 a consistent style.
131
132 2003-07-18 Mark Wielaard <mark@klomp.org>
133
134 * java/util/logging/Handler.java (isLoggable): Check record level
135 smaller or equal.
136
137 2003-07-17 Michael Koch <konqueror@gmx.de>
138
139 * gnu/java/awt/peer/gtk/GtkToolkit.java:
140 Reworked imports.
141
142 2003-07-14 Michael Koch <konqueror@gmx.de>
143
144 * gnu/java/rmi/server/UnicastServerRef.java:
145 New version from classpath.
146
147 2003-07-14 Michael Koch <konqueror@gmx.de>
148
149 * java/awt/image/MemoryImageSource.java,
150 java/beans/PropertyEditorManager.java,
151 javax/naming/CompoundName.java,
152 javax/naming/spi/NamingManager.java,
153 javax/swing/AbstractButton.java,
154 javax/swing/ButtonModel.java,
155 javax/swing/SwingUtilities.java,
156 javax/swing/UIManager.java,
157 javax/swing/colorchooser/DefaultColorSelectionModel.java,
158 javax/swing/event/AncestorEvent.java,
159 javax/swing/event/InternalFrameEvent.java,
160 java/util/zip/ZipFile.java:
161 New versions from classpath.
162
163 2003-07-13 Michael Koch <konqueror@gmx.de>
164
165 * gnu/java/nio/FileChannelImpl.java,
166 gnu/java/nio/natFileChannelImpl.cc: Removed.
167 * java/io/FileInputStream.java,
168 java/io/FileOutputStream.java,
169 java/io/RandomAccessFile.java,
170 java/nio/MappedByteBufferImpl.java:
171 Import java.nio.channels.FileChannelImpl instead of
172 gnu.java.nio.FileChannelImpl.
173 * java/nio/channels/FileChannelImpl.java,
174 java/nio/channels/natFileChannelImpl.cc:
175 New files.
176 * Makefile.am
177 (ordinary_java_source_files):
178 Removed gnu/java/nio/FileChannelImpl.java and added
179 java/nio/channels/FileChannelImpl.java.
180 (nat source_files):
181 Removed gnu/java/nio/natFileChannelImpl.cc and added
182 java/nio/channels/natFileChannelImpl.cc.
183 * Makefile.in: Regenerated.
184
185 2003-07-13 Michael Koch <konqueror@gmx.de>
186
187 * javax/swing/plaf/basic/BasicBorders.java,
188 javax/swing/plaf/basic/BasicLabelUI.java,
189 javax/swing/plaf/basic/BasicLookAndFeel.java,
190 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
191 javax/swing/plaf/basic/BasicTextUI.java,
192 javax/swing/plaf/metal/MetalLookAndFeel.java:
193 New versions from classpath.
194
195 2003-07-13 Michael Koch <konqueror@gmx.de>
196
197 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
198 * gnu/java/awt/peer/gtk/GdkGraphics.java
199 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
200 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
201 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
202 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
203 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
204 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
205 * gnu/java/awt/peer/gtk/GtkClipboard.java
206 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
207 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
208 * gnu/java/awt/peer/gtk/GtkFramePeer.java
209 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
210 * gnu/java/awt/peer/gtk/GtkImage.java
211 * gnu/java/awt/peer/gtk/GtkImagePainter.java
212 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
213 * gnu/java/awt/peer/gtk/GtkListPeer.java
214 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
215 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
216 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
217 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
218 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
219 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
220 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
221 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
222 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
223 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
224 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
225 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
226
227 2003-07-13 Michael Koch <konqueror@gmx.de>
228
229 * gnu/java/locale/LocaleInformation_de.java
230 * gnu/java/locale/LocaleInformation_en.java
231 * gnu/java/locale/LocaleInformation_nl.java
232
233 2003-07-13 Michael Koch <konqueror@gmx.de>
234
235 * gnu/java/awt/EmbeddedWindow.java,
236 gnu/java/awt/EmbeddedWindowSupport.java,
237 gnu/java/awt/natEmbeddedWindow.cc:
238 New files.
239 * java/awt/Window.java
240 (Window): New constructor to support embedded windows.
241 * Makefile.am
242 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
243 gnu/java/awt/EmbeddedWindowSupport.java.
244 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
245 * Makefile.in: Regenerated.
246
247 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
248
249 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
250 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
251 * java/awt/im/InputContext.java: Remove a redundant
252 partial line.
253
254 2003-07-09 Tom Tromey <tromey@redhat.com>
255
256 * Makefile.in: Rebuilt.
257 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
258
259 2003-07-09 Mark Wielaard <mark@klomp.org>
260
261 * java/io/ObjectOutputStream.java (writeObject): break after
262 calling writeClassDescriptor().
263
264 2003-07-09 Mark Mitchell <mark@codesourcery.com>
265
266 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
267
268 2003-07-09 Michael Koch <konqueror@gmx.de>
269
270 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
271 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
272 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
273 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
274 Explicitly import used classes.
275 * java/awt/Container.java: New version from classpath.
276
277 2003-07-09 Michael Koch <konqueror@gmx.de>
278
279 * libgcj.pc.in: New file.
280 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
281 * Makefile.in: Regenerated.
282 * configure: Regenrated.
283 * configure.in: Create libgcj.pc from libgcj.pc.in.
284
285 2003-07-08 Mark Wielaard <mark@klomp.org>
286
287 * gcj/cni.h: CNI now expands to Compiled Native Interface.
288
289 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
290 * java/lang/fdlibm.h: Likewise.
291
292 2003-07-07 Adam Megacz <adam@xwt.org>
293
294 * posix.cc: added #include<stdio.h>
295
296 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
297
298 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
299 formatting.
300
301 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
302 (setCaretPosition, setEditable): Rely entirely on native
303 implementation.
304 (getArgs): Remove.
305 (postTextEvent): New method.
306 (handleEvent): New method.
307 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
308 method.
309 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
310 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
311 (keysym_to_awt_keycode): Fix range checks.
312 (generates_key_typed_event): New function.
313 (awt_event_handler): Post AWT_KEY_RELEASED events to event
314 queue.
315 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
316 (gtkInit): Store TextComponent's postTextEvent method ID.
317 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
318 (setText): Post TEXT_VALUE_CHANGED event to event queue.
319
320 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
321
322 * configure.in: Check for usleep declaration.
323 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
324 * configure: Regenerate.
325 * include/config.h.in: Likewise.
326 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
327
328 2003-07-01 Michael Koch <konqueror@gmx.de>
329
330 * gnu/gcj/convert/natIconv.cc
331 (iconv_init): Fixed possible memory leak by releasing allocated iconv
332 handle.
333
334 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
335
336 * glib-2.0.m4: New file.
337 * gtk-2.0.m4: New file.
338 * glib.m4: Remove.
339 * gtk.m4: Remove.
340 * configure.in: Update AM_PATH_GTK macro call to
341 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
342 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
343 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
344 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
345 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
346 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
347 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
348 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
349 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
350 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
351 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
352 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
353 jni/gtk-peer/gthread-jni.c,
354 jni/gtk-peer/gthread-jni.h:
355 New versions from classpath.
356 * aclocal.m4: Regenerate.
357 * configure: Regenerate.
358 * Makefile.in: Regenerate.
359 * gcj/Makefile.in: Regenerate.
360 * include/Makefile.in: Regenerate.
361 * testsuite/Makefile.in: Regenerate.
362
363 2003-06-30 Gary Benson <gbenson@redhat.com>
364
365 For PR libgcj/11349:
366 * javax/naming/spi/NamingManager.java (getURLContext): Use
367 correct name for factory class.
368
369 2003-06-28 Michael Koch <konqueror@gmx.de>
370
371 * java/io/PrintStream.java
372 (checkError): Call flush() instead of direct flushing of the Writer
373 object.
374 (print): Call print(String) instead of direct print method of the
375 Writer Object.
376 (println): Call println(String) instead of direct println method of the
377 Writer Object.
378 (write): Simplified.
379
380 2003-06-28 Michael Koch <konqueror@gmx.de>
381
382 * java/net/ServerSocket.java
383 (setChannel): New method.
384 * java/net/Socket.java
385 (setChannel): New method.
386
387 2003-06-27 Michael Koch <konqueror@gmx.de>
388
389 * java/beans/beancontext/BeanContextSupport.java:
390 New version from classpath.
391
392 2003-06-27 Michael Koch <konqueror@gmx.de>
393
394 * java/awt/Window.java,
395 java/awt/font/GraphicAttribute.java,
396 java/awt/font/ImageGraphicAttribute.java,
397 java/awt/image/DataBufferByte.java,
398 java/awt/image/DataBufferInt.java,
399 java/awt/image/DataBufferUShort.java,
400 java/awt/image/DirectColorModel.java,
401 java/awt/image/PixelGrabber.java:
402 New versions from classpath.
403
404 2003-06-27 Michael Koch <konqueror@gmx.de>
405
406 * java/security/Certificate.java
407 (getGuarantor): Removed wrong @deprecated tag.
408 (getPrincipal): Likewise.
409 (getPublicKey): Likewise.
410 (encode): Likewise.
411 (decode): Likewise.
412 (getFormat): Likewise.
413 (toString): Likewise.
414 * java/security/cert/PolicyQualifierInfo.java
415 (PolicyQualifierInfo): Made final.
416 * javax/security/auth/x500/X500Principal.java
417 (serialVersionUID): New member variable.
418
419 2003-06-27 Michael Koch <konqueror@gmx.de>
420
421 * java/text/Format.java
422 (serialVersionUID): Fixed value.
423
424 2003-06-27 Michael Koch <konqueror@gmx.de>
425
426 * java/net/Inet4Address.java
427 (Inet4Address): Made package-private.
428 * java/net/Inet6Address.java
429 (Inet4Address): Made package-private.
430
431 2003-06-27 Michael Koch <konqueror@gmx.de>
432
433 * java/io/RandomAccessFile.java
434 (readLine): Removed wrong @deprecated tag.
435 (getChannel): Made final.
436
437 2003-06-27 Michael Koch <konqueror@gmx.de>
438
439 * gnu/java/nio/FileChannelImpl.java
440 (write): Removed.
441
442 2003-06-27 Michael Koch <konqueror@gmx.de>
443
444 * java/nio/ByteBufferImpl.java
445 (ByteBufferImpl): Made it a package-private class
446 * java/nio/CharBufferImpl.java
447 (CharBufferImpl): Made it a package-private class
448 * java/nio/DirectByteBufferImpl.java
449 (DirectByteBufferImpl): Made it a package-private class
450 * java/nio/DoubleBufferImpl.java
451 (DoubleBufferImpl): Made it a package-private class
452 * java/nio/FloatBufferImpl.java
453 (FloatBufferImpl): Made it a package-private class
454 * java/nio/IntBufferImpl.java
455 (IntBufferImpl): Made it a package-private class
456 * java/nio/LongBufferImpl.java
457 (LongBufferImpl): Made it a package-private class
458 * java/nio/ShortBufferImpl.java
459 (ShortBufferImpl): Made it a package-private class
460 * java/nio/channels/FileChannel.java
461 (write): Made final.
462 * java/nio/channels/ServerSocketChannel.java
463 (ServerSocketChanne): Made protected.
464
465 2003-06-27 Michael Koch <konqueror@gmx.de>
466
467 * javax/naming/CompositeName.java
468 (serialVersionUID): New member variable.
469 * javax/naming/CompoundName.java
470 (serialVersionUID): New member variable.
471 * javax/naming/InitialContext.java
472 (InitialContext): Throws NamingException.
473 (init): Likewise.
474 * javax/naming/LinkRef.java
475 (serialVersionUID): New member variable.
476 (gteLinkName): Throws NamingException.
477 * javax/naming/NamingException.java
478 (serialVersionUID): New member variable.
479 * javax/naming/NamingSecurityException.java
480 (NamingSecurityException): Made abstract.
481 (serialVersionUID): New member variable.
482 * javax/naming/ReferralException.java
483 (serialVersionUID): New member variable.
484 * javax/naming/StringRefAddr.java
485 (serialVersionUID): New member variable.
486 * javax/naming/directory/BasicAttribute.java:
487 Reworked imports.
488 (serialVersionUID): New member variable.
489 (get): Throws NamingException.
490 (getAll): Throws NamingException.
491 * javax/naming/directory/BasicAttributes.java:
492 Reworked imports.
493 (serialVersionUID): New member variable.
494 * javax/naming/ldap/UnsolicitedNotificationEvent.java
495 (serialVersionUID): New member variable.
496
497 2003-06-27 Michael Koch <konqueror@gmx.de>
498
499 * Makefile.am
500 (awt_java_source_files): Added new files:
501 javax/swing/Popup.java,
502 javax/swing/PopupFactory.java
503 * Makefile.in: Regenerated.
504
505 2003-06-27 Michael Koch <konqueror@gmx.de>
506
507 * javax/swing/JWindow.java,
508 javax/swing/event/AncestorEvent.java,
509 javax/swing/event/HyperlinkEvent.java,
510 javax/swing/event/InternalFrameEvent.java,
511 javax/swing/event/ListDataEvent.java,
512 javax/swing/event/TableModelEvent.java,
513 javax/swing/plaf/PopupMenuUI.java,
514 javax/swing/plaf/SplitPaneUI.java,
515 javax/swing/plaf/TabbedPaneUI.java,
516 javax/swing/plaf/TextUI.java,
517 javax/swing/plaf/TreeUI.java,
518 javax/swing/plaf/basic/BasicTextUI.java,
519 javax/swing/plaf/basic/BasicTreeUI.java:
520 New versions from classpath.
521 * javax/swing/Popup.java,
522 javax/swing/PopupFactory.jav:
523 New source files from classpath.
524 * javax/swing/plaf/doc-files/TreeUI-1.png:
525 New binary files from classpath.
526
527 2003-06-25 Michael Koch <konqueror@gmx.de>
528
529 * Makefile.am
530 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
531 * Makefile.in: Regenerated.
532
533 2003-06-25 Michael Koch <konqueror@gmx.de>
534
535 * javax/swing/plaf/ActionMapUIResource.java,
536 javax/swing/plaf/BorderUIResource.java,
537 javax/swing/plaf/ButtonUI.java,
538 javax/swing/plaf/ColorChooserUI.java,
539 javax/swing/plaf/ColorUIResource.java,
540 javax/swing/plaf/ComboBoxUI.java,
541 javax/swing/plaf/ComponentInputMapUIResource.java,
542 javax/swing/plaf/ComponentUI.java,
543 javax/swing/plaf/DesktopIconUI.java,
544 javax/swing/plaf/DesktopPaneUI.java,
545 javax/swing/plaf/DimensionUIResource.java,
546 javax/swing/plaf/FileChooserUI.java,
547 javax/swing/plaf/FontUIResource.java,
548 javax/swing/plaf/IconUIResource.java,
549 javax/swing/plaf/InputMapUIResource.java,
550 javax/swing/plaf/InsetsUIResource.java,
551 javax/swing/plaf/InternalFrameUI.java,
552 javax/swing/plaf/LabelUI.java,
553 javax/swing/plaf/ListUI.java,
554 javax/swing/plaf/MenuBarUI.java,
555 javax/swing/plaf/MenuItemUI.java,
556 javax/swing/plaf/OptionPaneUI.java,
557 javax/swing/plaf/PanelUI.java,
558 javax/swing/plaf/ProgressBarUI.java,
559 javax/swing/plaf/RootPaneUI.java,
560 javax/swing/plaf/ScrollBarUI.java,
561 javax/swing/plaf/ScrollPaneUI.java,
562 javax/swing/plaf/SeparatorUI.java,
563 javax/swing/plaf/SliderUI.java,
564 javax/swing/plaf/TableHeaderUI.java,
565 javax/swing/plaf/TableUI.java,
566 javax/swing/plaf/ToolBarUI.java,
567 javax/swing/plaf/ToolTipUI.java,
568 javax/swing/plaf/ViewportUI.java:
569 New versions from classpath.
570 * javax/swing/plaf/SpinnerUI.java:
571 New file from classpath
572
573 2003-06-25 Michael Koch <konqueror@gmx.de>
574
575 * java/awt/image/ColorModel.java:
576 New version from classpath.
577
578 2003-06-25 Michael Koch <konqueror@gmx.de>
579
580 * java/net/PlainDatagramSocketImpl.java:
581 Partly merged with classpath, this mainly adds documentation.
582
583 2003-06-25 Michael Koch <konqueror@gmx.de>
584
585 * java/io/ObjectInputStream.java
586 (readClassDescriptor): New method.
587 (readObject): Moved functionality to readClassDescriptor().
588 * java/io/ObjectOutputStream.java
589 (writeClassDescriptor): New method.
590 (writeObject): Moved functionality to writeClassDescriptor().
591
592 2003-06-25 Michael Koch <konqueror@gmx.de>
593
594 * javax/swing/plaf/basic/BasicListUI.java,
595 javax/swing/plaf/basic/BasicOptionPaneUI.java:
596 Added missing methods.
597
598 2003-06-25 Michael Koch <konqueror@gmx.de>
599
600 * javax/swing/event/AncestorEvent.java
601 javax/swing/event/HyperlinkEvent.java
602 javax/swing/event/InternalFrameEvent.java
603 javax/swing/event/ListDataEvent.java
604 javax/swing/event/TableModelEvent.java:
605 Compile fixes.
606
607 2003-06-24 Michael Koch <konqueror@gmx.de>
608
609 * java/net/URL.java:
610 Renamed "handler" to "ph" in the whole file to match classpaths
611 version.
612 * java/net/URLStreamHandler.java:
613 (equals): Renamed "handler" to "ph".
614
615 2003-06-24 Michael Koch <konqueror@gmx.de>
616
617 * javax/swing/event/AncestorEvent.java,
618 javax/swing/event/HyperlinkEvent.java,
619 javax/swing/event/InternalFrameEvent.java,
620 javax/swing/event/ListDataEvent.java,
621 javax/swing/event/TableModelEvent.java,
622 javax/swing/event/TreeWillExpandListener.java,
623 javax/swing/plaf/ComponentUI.java,
624 javax/swing/plaf/DesktopIconUI.java,
625 javax/swing/plaf/DesktopPaneUI.java,
626 javax/swing/plaf/DimensionUIResource.java,
627 javax/swing/plaf/FileChooserUI.java,
628 javax/swing/plaf/FontUIResource.java,
629 javax/swing/plaf/IconUIResource.java,
630 javax/swing/plaf/InputMapUIResource.java,
631 javax/swing/plaf/InsetsUIResource.java,
632 javax/swing/plaf/InternalFrameUI.java,
633 javax/swing/plaf/LabelUI.java,
634 javax/swing/plaf/ListUI.java,
635 javax/swing/plaf/MenuBarUI.java,
636 javax/swing/plaf/MenuItemUI.java,
637 javax/swing/plaf/OptionPaneUI.java,
638 javax/swing/plaf/PanelUI.java,
639 javax/swing/plaf/ProgressBarUI.java,
640 javax/swing/plaf/doc-files/ComponentUI-1.dia,
641 javax/swing/plaf/doc-files/ComponentUI-1.png:
642 New versions from classpath.
643
644 2003-06-24 Michael Koch <konqueror@gmx.de>
645
646 * java/nio/Buffer.java
647 (cap): Made package-private.
648 (pos): Likewise.
649 (limit): Likewise.
650 (mark): Likewise.
651
652 2003-06-24 Michael Koch <konqueror@gmx.de>
653
654 * java/net/SocketImpl.java
655 (shutdownInput): Made it non-abstract method throwing an exception
656 like in SUNs JRE.
657 (shutdownOutput): Likewise.
658 * java/net/SocketInputStream.java,
659 java/net/SocketOutputStream.java:
660 New files from classpath.
661
662 2003-06-24 Michael Koch <konqueror@gmx.de>
663
664 * java/awt/Font.java,
665 java/awt/Window.java,
666 java/awt/color/ColorSpace.java,
667 java/awt/datatransfer/StringSelection.java,
668 java/awt/image/ColorModel.java:
669 New versions from classpath.
670
671 2003-06-24 Michael Koch <konqueror@gmx.de>
672
673 * Makefile.am
674 (awt_java_source_files): Added new files:
675 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
676 javax/swing/plaf/basic/BasicSplitPaneUI.java
677 * Makefile.in: Regenerated.
678
679 2003-06-24 Michael Koch <konqueror@gmx.de>
680
681 * javax/swing/text/JTextComponent.java:
682 New version from classpath.
683
684 2003-06-24 Michael Koch <konqueror@gmx.de>
685
686 * javax/swing/Timer.java,
687 javax/swing/plaf/ActionMapUIResource.java,
688 javax/swing/plaf/ButtonUI.java,
689 javax/swing/plaf/ColorChooserUI.java,
690 javax/swing/plaf/ColorUIResource.java,
691 javax/swing/plaf/ComboBoxUI.java,
692 javax/swing/plaf/ComponentInputMapUIResource.java,
693 javax/swing/plaf/basic/BasicBorders.java:
694 New versions from classpath.
695 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
696 javax/swing/plaf/basic/BasicSplitPaneUI.java:
697 New file from classpath.
698 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
699 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
700 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
701 javax/swing/plaf/doc-files/ComponentUI-1.dia,
702 javax/swing/plaf/doc-files/ComponentUI-1.png:
703 New binary files from classpath.
704
705 2003-06-24 Michael Koch <konqueror@gmx.de>
706
707 * java/io/LineNumberReader.java
708 (skip): Dont do line number accounting here as this is already done in
709 read(), simplified.
710
711 2003-06-21 Michael Koch <konqueror@gmx.de>
712
713 * java/io/File.java
714 (static): Load javaio lib if existing (only in classpath).
715 (File): Revised documentation to show the correct argument name.
716 (createTempFile): Partly merged with classpath.
717 (compareTo): Simplified.
718 (lastModified): Throw exception if time < 0.
719 (deleteOnExit): Revised documentation.
720
721 2003-06-21 Michael Koch <konqueror@gmx.de>
722
723 * java/net/PlainSocketImpl.java:
724 Reformatted.
725 (PlainSocketImpl): Merged class documentaion with classpath.
726 (in): Moved.
727 (out): Moved.
728 (PlainSocketImpl): New empty constructor.
729 (finalize): Moved.
730 (setOption): Merged documentation from classpath.
731 (getOption): Likewise.
732 (create): Likewise.
733 (connect): Likewise.
734 (bind): Likewise.
735 (listen): Likewise.
736 (accept): Likewise.
737 (available): Likewise.
738 (close): Likewise.
739 (read): Likewise.
740 (write): Likewise.
741 (getInputStream): Made synchronozed to get sure that only one stream
742 object can be created for this socket, merged documentation from
743 classpath.
744 (getOutputStream): Likewise.
745
746 2003-06-21 Michael Koch <konqueror@gmx.de>
747
748 * java/net/PlainSocketImpl.java:
749 Reformatting.
750 (static): New implicit method.
751 (read): Made package private.
752 (write): Likewise.
753
754 2003-06-21 Michael Koch <konqueror@gmx.de>
755
756 * java/util/SimpleTimeZone.java:
757 Removed unneeded import, reformatting.
758
759 2003-06-21 Michael Koch <konqueror@gmx.de>
760
761 * java/text/DateFormat.java,
762 java/text/SimpleDateFormat.java,
763 java/util/Locale.java:
764 New versions from classpath.
765
766 2003-06-21 Michael Koch <konqueror@gmx.de>
767
768 * javax/swing/SpinnerModel.java:
769 New file from classpath.
770 * javax/swing/border/LineBorder.java,
771 javax/swing/border/SoftBevelBorder.java,
772 javax/swing/plaf/BorderUIResource.java,
773 javax/swing/plaf/basic/BasicBorders.java:
774 New versions from classpath.
775 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
776 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
777 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
778 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
779 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
780 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
781 New binary files from classpath.
782
783 2003-06-21 Michael Koch <konqueror@gmx.de>
784
785 * java/util/logging/LogRecord.java,
786 java/util/logging/Logger.java,
787 java/util/logging/SocketHandler.java,
788 java/util/logging/SimpleFormatter.java,
789 java/util/logging/Formatter.java,
790 java/util/logging/ErrorManager.java,
791 java/util/logging/Handler.java,
792 java/util/logging/FileHandler.java,
793 java/util/logging/LogManager.java,
794 java/util/logging/Level.java,
795 java/util/logging/ConsoleHandler.java,
796 java/util/logging/StreamHandler.java,
797 java/util/logging/LoggingPermission.java,
798 java/util/logging/Filter.java,
799 java/util/logging/MemoryHandler.java,
800 java/util/logging/XMLFormatter.java:
801 New files from classpath.
802
803 2003-06-20 Michael Koch <konqueror@gmx.de>
804
805 * java/io/ObjectStreamField.java
806 (unshared): new member variable.
807 (ObjectStreamField): New constructor.
808 (isUnshared): New method.
809
810 2003-06-20 Michael Koch <konqueror@gmx.de>
811
812 * java/net/URLStreamHandler.java
813 (hostsEqual): Rewritten.
814
815 2003-06-20 Michael Koch <konqueror@gmx.de>
816
817 * gnu/java/nio/MappedByteFileBuffer.java,
818 gnu/java/nio/natMappedByteFileBuffer.cc:
819 Removed
820 * java/nio/MappedByteBufferImpl.java:
821 New file.
822 * gnu/java/nio/FileChannelImpl.java:
823 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
824 * Makefile.am
825 (ordinary_java_source_files): Removed
826 gnu/java/nio/MappedByteFileBuffer.java and added
827 java/nio/MappedByteBufferImpl.java.
828 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
829 * Makefile.in: Regenerated.
830
831 2003-06-19 Michael Koch <konqueror@gmx.de>
832
833 * gnu/java/nio/DatagramChannelImpl.java
834 (fd): Removed.
835 (blocking): New member variable.
836 (socket): Likewise.
837 (DatagramChannelImpl): Throws IOException, initialize socket.
838 (socket):Implemented.
839 (implCloseSelectableChannel): Throws IOException, implemented.
840 (implConfigureBlocking): Likewise.
841 (connect): Likewise.
842 (disconnect): Likewise.
843 (isConnected): Likewise.
844 (write): Likewise.
845 (read): Likewise.
846 (receive): Throws IOException.
847 (send): Likewise.
848 * gnu/java/nio/SocketChannelImpl.java
849 (read): Implemented.
850 (write): Implemented.
851
852 2003-06-19 Michael Koch <konqueror@gmx.de>
853
854 * javax/swing/JComponent.java,
855 javax/swing/JInternalFrame.java,
856 javax/swing/MenuSelectionManager.java,
857 javax/swing/SwingUtilities.java,
858 javax/swing/ToggleButtonModel.java:
859 New versions from classpath.
860
861 2003-06-19 Michael Koch <konqueror@gmx.de>
862
863 * java/text/CollationElementIterator.java
864 (NULLORDER): Initialize with -1 as JDK documentation says.
865
866 2003-06-19 Michael Koch <konqueror@gmx.de>
867
868 * java/net/HttpURLConnection.java,
869 java/net/Inet4Address.java,
870 java/net/Inet6Address.java,
871 java/net/SocketImpl.java,
872 java/net/URLClassLoader.java:
873 Reworked import statements.
874 * java/net/InetAddress.java
875 (getByAddress): Simplified.
876 * java/net/ServerSocket.java
877 (ServerSocket): Moved special handling during bind operation to
878 bind().
879 (bind): Handle different cases when trying to bind a socket.
880 * java/net/URLConnection.java
881 (getHeaderFieldDate): Merged with classpath.
882 (getHeaderFieldInt): Likewise.
883
884 2003-06-19 Michael Koch <konqueror@gmx.de>
885
886 * java/util/zip/InflaterInputStream.java
887 (InflaterInputStream): Throw NullPointerException if in is null (as
888 JDK does).
889
890 2003-06-19 Michael Koch <konqueror@gmx.de>
891
892 * java/awt/Font.java
893 javax/swing/UIManager.java
894 javax/swing/border/AbstractBorder.java
895 javax/swing/border/BevelBorder.java
896 javax/swing/border/Border.java
897 javax/swing/border/CompoundBorder.java
898 javax/swing/border/EmptyBorder.java
899 javax/swing/border/EtchedBorder.java
900 javax/swing/border/LineBorder.java
901 javax/swing/border/MatteBorder.java
902 javax/swing/border/TitledBorder.java
903 javax/swing/plaf/BorderUIResource.java
904 javax/swing/plaf/basic/BasicBorders.java
905 javax/swing/plaf/basic/BasicButtonUI.java
906 javax/swing/plaf/basic/BasicCheckBoxUI.java
907 javax/swing/plaf/basic/BasicGraphicsUtils.java
908 javax/swing/plaf/basic/BasicLabelUI.java
909 javax/swing/plaf/basic/BasicRadioButtonUI.java
910 javax/swing/plaf/basic/BasicToggleButtonUI.java:
911 New versions from classpath.
912 * javax/swing/border/SoftBevelBorder.java:
913 New file from classpath.
914 * javax/swing/border/doc-files/LineBorder-1.png,
915 javax/swing/border/doc-files/BevelBorder-1.png,
916 javax/swing/border/doc-files/BevelBorder-2.png,
917 javax/swing/border/doc-files/BevelBorder-3.png,
918 javax/swing/border/doc-files/EmptyBorder-1.png,
919 javax/swing/border/doc-files/EtchedBorder-1.png,
920 javax/swing/border/doc-files/EtchedBorder-2.png,
921 javax/swing/border/doc-files/MatteBorder-1.png,
922 javax/swing/border/doc-files/MatteBorder-2.png,
923 javax/swing/border/doc-files/MatteBorder-3.png,
924 javax/swing/border/doc-files/MatteBorder-4.png,
925 javax/swing/border/doc-files/MatteBorder-5.png,
926 javax/swing/border/doc-files/MatteBorder-6.png,
927 javax/swing/border/doc-files/SoftBevelBorder-1.png,
928 javax/swing/border/doc-files/SoftBevelBorder-2.png,
929 javax/swing/border/doc-files/SoftBevelBorder-3.png,
930 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
931 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
932 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
933 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
934 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
935 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
936 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
937 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
938 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
939 New binary files from classpath.
940 * Makefile.am
941 (awt_java_source_files): Added
942 javax/swing/border/SoftBevelBorder.java.
943 * Makefile.in: Regenerated.
944
945 2003-06-19 Michael Koch <konqueror@gmx.de>
946
947 * gnu/java/security/x509/X509Certificate.java
948 (writeReplace): Merged from classpath.
949
950 2003-06-19 Michael Koch <konqueror@gmx.de>
951
952 * gnu/java/nio/FileChannelImpl.java
953 (map_address): Made public.
954 (FileChannelImpl): Merged with classpath.
955 * gnu/java/nio/natFileChannelImpl.cc
956 (nio_mmap_file): Commented out unused arguments.
957 (nio_unmmap_file): Likewise.
958 (niu_msync): Likewise.
959
960 2003-06-19 Michael Koch <konqueror@gmx.de>
961
962 * java/awt/image/IndexColorModel.java:
963 New version from classpath.
964
965 2003-06-18 Tom Tromey <tromey@redhat.com>
966
967 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
968 on arrays.
969 (isLoopbackAddress): Likewise.
970 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
971 on arrays.
972
973 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
974
975 * java/lang/natVMSecurityManager.cc (getClassContext):
976 Use maxlen instead of len for loop bound.
977
978 2003-06-18 Michael Koch <konqueror@gmx.de>
979
980 * gnu/java/nio/SelectorImpl.java
981 (register): Use fd with value 0 for now, will be fixed later.
982 * gnu/java/nio/ServerSocketChannelImpl.java
983 (fd): Removed.
984 (local_port): Removed.
985 (InetSocketAddress): Removed.
986 (ServerSocketChannelImpl): Just initialize internal socket object.
987 (implCloseSelectableChannel): Close internal socket object.
988 (implConfigureBlocking): Added comment.
989 (accept): Use jaba.net stuff to accept socket.
990 * gnu/java/nio/SocketChannelImpl.java
991 (fd): Removed.
992 (local_port): Removed.
993 (InetSocketAddress): Removed.
994 (SocketCreate): Removed.
995 (SocketConnect): Removed.
996 (SocketBind): Removed.
997 (SocketListen): Removed.
998 (SocketAvailable): Removed.
999 (SocketClose): Removed.
1000 (SocketRead): Removed.
1001 (SocketWrite): Removed.
1002 (SocketChannelImpl): Just initialize internal socket object.
1003 (implCloseSelectableChannel): Close internal socket object.
1004 (implConfigureBlocking): Fixed implementation, added comment.
1005 (connect): Use internal socket object to connect.
1006 (socket): No need for sanity checks.
1007 (read): Comment out some stuff, this will be reimplemented in the next
1008 commit.
1009 (write): Likewise.
1010 * gnu/java/nio/natFileChannelImpl.cc
1011 (nio_mmap_file): Line wrapped.
1012 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1013 * Makefile.am
1014 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1015 * Makefile.in: Regenerated.
1016
1017 2003-06-18 Michael Koch <konqueror@gmx.de>
1018
1019 * java/util/Locale.java
1020 (equals): Merged from classpath.
1021
1022 2003-06-18 Michael Koch <konqueror@gmx.de>
1023
1024 * java/net/InetAddress.java:
1025 Reformatted to better match classpath's version.
1026 * java/net/URL.java
1027 (equals): Simplified.
1028 * java/net/URLConnection.java
1029 (setDoInput): Revised documentation.
1030 (getDefaultUseCaches): Likewise.
1031 (setRequestProperty): Added @since tag.
1032
1033 2003-06-17 Michael Koch <konqueror@gmx.de>
1034
1035 * java/net/InetSocketAddress.java
1036 (InetSocketAddress): Use wildcard address if addr is null.
1037 (InetSocketAddress): Dont duplicate implementation.
1038 (InetSocketAddress): Throw exception when hostname is null.
1039 * java/net/Socket.java:
1040 Reworked imports.
1041 (Socket): Throw exception when raddr is null, handle case when laddr
1042 is null.
1043
1044 2003-06-17 Michael Koch <konqueror@gmx.de>
1045
1046 * java/nio/DirectByteBufferImpl.java
1047 (address): Made package private.
1048 (DirectByteBufferImpl): New constructor.
1049 * java/nio/natDirectByteBufferImpl.cc
1050 (allocateImpl): Moved to java.nio namespace, implemented.
1051 (freeImpl): Likewise.
1052 (getImpl): Likewise.
1053 (putImpl): Likewise.
1054 * jni.cc
1055 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1056 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1057 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1058
1059 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1060
1061 * include/powerpc-signal.h: New File.
1062 * configure.in: Use it.
1063 * configure: Regenerated.
1064
1065 2003-06-17 Michael Koch <konqueror@gmx.de>
1066
1067 * java/util/Locale.java
1068 (getDisplayLanguage): Made it final.
1069 (getDisplayCountry): Likewise.
1070 (getDisplayVariant): Likewise.
1071 (getDisplayName): Likewise.
1072
1073 2003-06-17 Michael Koch <konqueror@gmx.de>
1074
1075 * java/util/PropertyResourceBundle.java:
1076 Removed unneeded import.
1077
1078 2003-06-17 Michael Koch <konqueror@gmx.de>
1079
1080 * java/util/prefs/AbstractPreferences.java,
1081 java/util/prefs/PreferencesFactory.java:
1082 Reworked imports, removed unused imports.
1083 * java/util/prefs/Preferences.java
1084 (systemNodeForPackage): Method takes a Class not an Object.
1085 (userNodeForPackage): Likewise.
1086 (nodeForPackage): Likewise.
1087
1088 2003-06-17 Michael Koch <konqueror@gmx.de>
1089
1090 * gnu/java/security/x509/X509Certificate.java:
1091 Explicitely import used classes.
1092
1093 2003-06-17 Michael Koch <konqueror@gmx.de>
1094
1095 * java/util/zip/ZipEntry.java,
1096 java/util/zip/ZipFile.java,
1097 java/util/zip/ZipInputStream.java,
1098 java/util/zip/ZipOutputStream.java:
1099 Reworked imports, only import used classes.
1100
1101 2003-06-17 Michael Koch <konqueror@gmx.de>
1102
1103 * gnu/java/lang/ArrayHelper.java,
1104 gnu/java/lang/ClassHelper.java:
1105 Reformatted to match classpath's versions.
1106
1107 2003-06-14 Michael Koch <konqueror@gmx.de>
1108
1109 * gnu/java/nio/FileChannelImpl.java
1110 (map_address): Removed incorrect comment.
1111 * gnu/java/nio/SelectorImpl.java
1112 (register): Remove code duplication and code for file channel handling.
1113 * gnu/java/nio/ServerSocketChannelImpl.java
1114 (serverSocket): Renamed from sock_object.
1115 (ServerSocketChannel): Initialize serverSocket.
1116 (socket): Return serverSocket.
1117 * gnu/java/nio/SocketChannelImpl.java
1118 (socket): Renamed from sock_object.
1119 (isConnectionPenging): Simplified.
1120 (socket): Return socket.
1121 2003-06-14 Michael Koch <konqueror@gmx.de>
1122
1123 * java/security/BasicPermission.java:
1124 New version from classpath.
1125
1126 2003-06-14 Michael Koch <konqueror@gmx.de>
1127
1128 * javax/naming/directory/Attribute.java:
1129 New version from classpath.
1130
1131 2003-06-14 Michael Koch <konqueror@gmx.de>
1132
1133 * java/io/BufferedReader.java,
1134 java/io/FileOutputStream.java:
1135 New versions from classpath.
1136
1137 2003-06-12 Andrew Haley <aph@redhat.com>
1138
1139 * prims.cc (catch_segv): Create exception in handler.
1140 (catch_fpe): Likewise.
1141 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1142 (_Jv_ThrowSignal): Remove.
1143
1144 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1145 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1146 to nullp and arithexception.
1147 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1148 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1149 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1150 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1151 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1152
1153 2003-06-11 Andrew Haley <aph@redhat.com>
1154
1155 * jni.cc (_Jv_JNI_check_types): New.
1156 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1157 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1158 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1159 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1160
1161 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1162 infinite loop.
1163
1164 2003-06-11 Tom Tromey <tromey@redhat.com>
1165
1166 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1167 * java/io/PrintStream.java: Not deprecated.
1168
1169 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1170
1171 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1172 (fillOval): implemented
1173 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1174 (fillArc): implemented.
1175 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1176 (fillArc): added native method.
1177 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1178 (fillArc): added native method.
1179
1180 2003-06-11 Michael Koch <konqueror@gmx.de>
1181
1182 * java/awt/im/InputSubset.java:
1183 New version from classpath.
1184
1185 2003-06-11 Michael Koch <konqueror@gmx.de>
1186
1187 * javax/swing/AbstractAction.java,
1188 javax/swing/AbstractButton.java,
1189 javax/swing/AbstractCellEditor.java,
1190 javax/swing/AbstractListModel.java,
1191 javax/swing/BorderFactory.java,
1192 javax/swing/Box.java,
1193 javax/swing/BoxLayout.java,
1194 javax/swing/ButtonGroup.java,
1195 javax/swing/DefaultButtonModel.java,
1196 javax/swing/DefaultListModel.java,
1197 javax/swing/DefaultListSelectionModel.java,
1198 javax/swing/FocusManager.java,
1199 javax/swing/ImageIcon.java,
1200 javax/swing/InputMap.java,
1201 javax/swing/JApplet.java,
1202 javax/swing/JButton.java,
1203 javax/swing/JCheckBox.java,
1204 javax/swing/JCheckBoxMenuItem.java,
1205 javax/swing/JColorChooser.java,
1206 javax/swing/JComboBox.java,
1207 javax/swing/JComponent.java,
1208 javax/swing/JDesktopPane.java,
1209 javax/swing/JDialog.java,
1210 javax/swing/JEditorPane.java,
1211 javax/swing/JFileChooser.java,
1212 javax/swing/JFormattedTextField.java,
1213 javax/swing/JFrame.java,
1214 javax/swing/JLabel.java,
1215 javax/swing/JLayeredPane.java,
1216 javax/swing/JList.java,
1217 javax/swing/JMenuBar.java,
1218 javax/swing/JMenuItem.java,
1219 javax/swing/JOptionPane.java,
1220 javax/swing/JPanel.java,
1221 javax/swing/JPasswordField.java,
1222 javax/swing/JPopupMenu.java,
1223 javax/swing/JProgressBar.java,
1224 javax/swing/JRadioButton.java,
1225 javax/swing/JRadioButtonMenuItem.java,
1226 javax/swing/JRootPane.java,
1227 javax/swing/JScrollBar.java,
1228 javax/swing/JScrollPane.java,
1229 javax/swing/JSeparator.java,
1230 javax/swing/JSlider.java,
1231 javax/swing/JTabbedPane.java,
1232 javax/swing/JTable.java,
1233 javax/swing/JTextField.java,
1234 javax/swing/JToggleButton.java,
1235 javax/swing/JToolBar.java,
1236 javax/swing/JToolTip.java,
1237 javax/swing/JTree.java,
1238 javax/swing/JViewport.java,
1239 javax/swing/JWindow.java,
1240 javax/swing/KeyStroke.java,
1241 javax/swing/ListSelectionModel.java,
1242 javax/swing/LookAndFeel.java,
1243 javax/swing/RepaintManager.java,
1244 javax/swing/ScrollPaneLayout.java,
1245 javax/swing/SizeRequirements.java,
1246 javax/swing/SwingConstants.java,
1247 javax/swing/Timer.java,
1248 javax/swing/UIDefaults.java,
1249 javax/swing/UIManager.java,
1250 javax/swing/border/AbstractBorder.java,
1251 javax/swing/border/CompoundBorder.java,
1252 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1253 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1254 javax/swing/colorchooser/ColorSelectionModel.java,
1255 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1256 javax/swing/event/AncestorEvent.java,
1257 javax/swing/event/HyperlinkEvent.java,
1258 javax/swing/event/InternalFrameAdapter.java,
1259 javax/swing/event/InternalFrameEvent.java,
1260 javax/swing/event/ListDataEvent.java,
1261 javax/swing/event/MouseInputAdapter.java,
1262 javax/swing/event/SwingPropertyChangeSupport.java,
1263 javax/swing/event/TableModelEvent.java,
1264 javax/swing/event/TreeWillExpandListener.java,
1265 javax/swing/event/UndoableEditEvent.java,
1266 javax/swing/filechooser/FileFilter.java,
1267 javax/swing/filechooser/FileSystemView.java,
1268 javax/swing/filechooser/FileView.java,
1269 javax/swing/plaf/BorderUIResource.java,
1270 javax/swing/plaf/basic/BasicDefaults.java,
1271 javax/swing/table/AbstractTableModel.java,
1272 javax/swing/table/DefaultTableCellRenderer.java,
1273 javax/swing/table/DefaultTableColumnModel.java,
1274 javax/swing/table/DefaultTableModel.java,
1275 javax/swing/table/TableColumn.java,
1276 javax/swing/text/JTextComponent.java,
1277 javax/swing/tree/AbstractLayoutCache.java,
1278 javax/swing/tree/DefaultMutableTreeNode.java,
1279 javax/swing/tree/DefaultTreeCellEditor.java,
1280 javax/swing/tree/DefaultTreeCellRenderer.java,
1281 javax/swing/tree/DefaultTreeModel.java,
1282 javax/swing/tree/DefaultTreeSelectionModel.java,
1283 javax/swing/tree/FixedHeightLayoutCache.java,
1284 javax/swing/tree/TreeCellEditor.java,
1285 javax/swing/tree/TreeModel.java,
1286 javax/swing/tree/TreeNode.java,
1287 javax/swing/tree/TreePath.java,
1288 javax/swing/tree/TreeSelectionModel.java,
1289 javax/swing/tree/VariableHeightLayoutCache.java,
1290 javax/swing/undo/AbstractUndoableEdit.java,
1291 javax/swing/undo/CompoundEdit.java,
1292 javax/swing/undo/StateEdit.java,
1293 javax/swing/undo/UndoManager.java,
1294 javax/swing/undo/UndoableEditSupport.java:
1295 New versions from classpath.
1296 * javax/swing/table/JTableHeader.java:
1297 New file from classpath.
1298 * Makefile.am
1299 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1300 * Makefile.in: Regenerated.
1301
1302 2003-06-11 Michael Koch <konqueror@gmx.de>
1303
1304 * java/nio/MappedByteBuffer.java,
1305 java/nio/channels/Channels.java,
1306 java/nio/channels/ServerSocketChannel.java,
1307 java/nio/channels/spi/AbstractSelector.java:
1308 Removed unneeded imports.
1309
1310 2003-06-11 Michael Koch <konqueror@gmx.de>
1311
1312 * java/net/DatagramSocket.java:
1313 Partly merged with classpath.
1314
1315 2003-06-11 Michael Koch <konqueror@gmx.de>
1316
1317 * java/awt/Frame.java,
1318 java/awt/Graphics.java,
1319 java/awt/Menu.java,
1320 java/awt/Robot.java,
1321 java/awt/image/ColorModel.java:
1322 New versions from classpath.
1323
1324 2003-06-10 Michael Koch <konqueror@gmx.de>
1325
1326 * java/io/PrintStream.java:
1327 Merged version from classpath.
1328 (close): Removed sychronized keyword. This class is not garantied to
1329 be thread-safe.
1330 (write): Likewise.
1331
1332 2003-06-09 Tom Tromey <tromey@redhat.com>
1333
1334 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1335 field.
1336 (getDescent): Likewise, for "descent".
1337
1338 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1339
1340 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1341 (getMaxDescent): adjusted return value.
1342 (getAscent): modified to use metrics for 'O'.
1343 (getDescent): modified to use metrics for 'y'.
1344
1345 2003-06-08 Anthony Green <green@redhat.com>
1346
1347 * java/net/URLStreamHandler.java (sameFile): Fix port value
1348 comparison.
1349 * java/net/URL.java (handler): Make package private.
1350 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1351
1352 2003-06-07 Tom Tromey <tromey@redhat.com>
1353
1354 For PR libgcj/11085:
1355 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1356 Limit number of characters in numeric field when required.
1357 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1358 Respect maximumIntegerDigits.
1359
1360 2003-06-08 Michael Koch <konqueror@gmx.de>
1361
1362 * java/net/Socket.java
1363 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1364 call bind() and connect() to actually do the bind and connect tasks.
1365 (bind): Connect to canonical address if bindpoint is null, create
1366 socket and bind it to bindpoint.
1367 (connect): Check for exceptions.
1368
1369 2003-06-08 Michael Koch <konqueror@gmx.de>
1370
1371 * java/net/DatagramSocket.java
1372 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1373 into the Multicast constructors.
1374 * java/net/DatagramSocketImpl.java
1375 (getOption): Removed.
1376 (setOption): Removed.
1377 * java/net/MulticastSocket.java
1378 (MulticastSocket): Call setReuseAddress (true).
1379 * java/net/SocketImpl.java
1380 (getOption): Removed.
1381 (setOption): Removed.
1382
1383 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1384
1385 PR libgcj/10886:
1386 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1387 Test for empty vector.
1388
1389 2003-06-06 Mark Wielaard <mark@klomp.org>
1390
1391 * java/security/Security.java (secprops): Initialize.
1392 (loadProviders): Return boolean.
1393 (static): Check result of loadProvider calls. If necessary
1394 display WARNING and fallback to Gnu provider.
1395
1396 2002-06-06 James Clark <jjc@jclark.com>
1397
1398 Fix for PR libgcj/8738:
1399 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1400 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1401 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1402 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1403 (write): Always decrease avail when count is increased.
1404 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1405 and whether output buffer is full before increasing size.
1406
1407 2002-06-06 Mark Wielaard <mark@klomp dot org>
1408
1409 * java/io/PrintStream.java (writeChars(char[],int, int)):
1410 Check converter.havePendingBytes().
1411 (writeChars(String,int,int)): Likewise.
1412 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1413 Check converter.havePendingBytes() and flush buffer when stalled.
1414
1415 2003-06-07 Michael Koch <konqueror@gmx.de>
1416
1417 * include/posix.h
1418 (O_DSYNC): Define O_DSYNC on platforms not
1419 supporting O_FSYNC (newlib).
1420
1421 2003-06-06 Mark Wielaard <mark@klomp.org>
1422
1423 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1424 AWTError.
1425
1426 2003-06-06 Michael Koch <konqueror@gmx.de>
1427
1428 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1429 More compile fixes from my stupid work yesterday.
1430
1431 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1432
1433 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1434 if _IEEE_LIBM is undefined.
1435
1436 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1437
1438 * libjava/include/posix.h (O_SYNC): Define if not available
1439 and a reasonable, perhaps more conservative, replacement exists.
1440 (O_DSYNC): Likewise.
1441 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1442
1443 2003-06-05 Michael Koch <konqueror@gmx.de>
1444
1445 * javax/swing/plaf/BorderUIResource.java,
1446 javax/swing/plaf/basic/BasicDefaults.java,
1447 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1448 More compile fixes for latest Border commit. I should not commit
1449 something in this heat here ...
1450
1451 2003-06-05 Michael Koch <konqueror@gmx.de>
1452
1453 * javax/swing/border/BevelBorder.java
1454 (BevelBorder): Removed.
1455 * javax/swing/border/EmptyBorder.java:
1456 Reformatted.
1457 (EmptyBorder): Removed.
1458 (getBorderInsets): Dont use l, r, t and b.
1459 * javax/swing/border/EtchedBorder.java
1460 (EtchedBorder): Removed.
1461 * javax/swing/border/LineBorder.java
1462 (LineBorder): Removed.
1463 * javax/swing/border/MatteBorder.java
1464 (MatteBorder): Removed.
1465 * javax/swing/border/TitledBorder.java
1466 (defaultBorder): Use other default for now.
1467 (defaultFont): Likewise.
1468 (defaultColor): Likewise.
1469
1470 2003-06-05 Michael Koch <konqueror@gmx.de>
1471
1472 * javax/swing/border/Border.java:
1473 New version from classpath.
1474
1475 2003-06-05 Michael Koch <konqueror@gmx.de>
1476
1477 * javax/swing/border/AbstractBorder.java,
1478 javax/swing/border/BevelBorder.java,
1479 javax/swing/border/CompoundBorder.java,
1480 javax/swing/border/EmptyBorder.java,
1481 javax/swing/border/EtchedBorder.java,
1482 javax/swing/border/LineBorder.java,
1483 javax/swing/border/MatteBorder.java,
1484 javax/swing/border/TitledBorder.java:
1485 New versions from Classpath.
1486
1487 2003-06-05 Michael Koch <konqueror@gmx.de>
1488
1489 * java/awt/Button.java,
1490 java/awt/Checkbox.java,
1491 java/awt/CheckboxMenuItem.java,
1492 java/awt/Choice.java,
1493 java/awt/Container.java,
1494 java/awt/Dialog.java,
1495 java/awt/EventQueue.java,
1496 java/awt/FileDialog.java,
1497 java/awt/Frame.java,
1498 java/awt/Label.java,
1499 java/awt/List.java,
1500 java/awt/Menu.java,
1501 java/awt/MenuItem.java,
1502 java/awt/Panel.java,
1503 java/awt/PopupMenu.java,
1504 java/awt/Rectangle.java,
1505 java/awt/ScrollPane.java,
1506 java/awt/Scrollbar.java,
1507 java/awt/TextArea.java,
1508 java/awt/TextField.java,
1509 java/awt/Window.java,
1510 java/awt/datatransfer/DataFlavor.java,
1511 java/awt/dnd/DragSource.java,
1512 java/awt/dnd/DragSourceContext.java,
1513 java/awt/event/HierarchyEvent.java,
1514 java/awt/event/MouseWheelEvent.java,
1515 java/awt/im/InputContext.java,
1516 java/awt/image/BufferedImage.java,
1517 java/awt/image/ComponentColorModel.java,
1518 java/awt/image/Raster.java,
1519 java/awt/image/WritableRaster.java,
1520 java/awt/peer/ComponentPeer.java,
1521 java/awt/print/PageFormat.java,
1522 java/awt/print/PrinterJob.java:
1523 New versions from Classpath.
1524
1525 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1526
1527 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1528 numberFormat.setParseIntegerOnly(true).
1529
1530 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1531
1532 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1533
1534 2003-06-03 Andrew Haley <aph@redhat.com>
1535
1536 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1537 stack volatile to prevent optimization from removing it.
1538
1539 2003-05-27 Michael Koch <konqueror@gmx.de>
1540
1541 * java/util/zip/Deflater.java
1542 (FILTERED): Merged documentation from classpath.
1543 * java/util/zip/DeflaterOutputStream.java
1544 (DeflaterOutputStream): Merged documentation and argument validity
1545 check from classpath.
1546 (deflate): Merged documentation from classpath.
1547 (finish): Likewise.
1548 * java/util/zip/Inflater.java
1549 (Inflater): Merged class documentation from classpath.
1550 (zstream): Reordered.
1551 (is_finished): Reordered.
1552 (dict_needed): Reordered.
1553 (Inflater): Reordered, merged documentation from classpath.
1554 (end): Likewise.
1555 (finalize): Merged documentation from classpath.
1556 (finished): Likewise.
1557 (getAdler): Likewise.
1558 (getRemaining): Likewise.
1559 (getTotalIn): Likewise.
1560 (getTotalOut): Likewise.
1561 (inflate): Likewise.
1562 (needsDictionary): Likewise.
1563 (needsInput): Likewise.
1564 (reset): Likewise.
1565 (setDictionary): Likewise.
1566 (setInput): Likewise.
1567
1568 2003-05-27 Michael Koch <konqueror@gmx.de>
1569
1570 * java/net/URLConnection.java
1571 (getHeaderFieldInt): Merged with classpath.
1572
1573 2003-05-27 Michael Koch <konqueror@gmx.de>
1574
1575 * java/io/PrintStream.java
1576 (PrintStream): Reformatted.
1577 (PrintStream): New method, merged from classpath.
1578 (write): Reformatted.
1579
1580 2003-05-27 Michael Koch <konqueror@gmx.de>
1581
1582 * java/lang/System.java:
1583 Explicitely import needed classes.
1584
1585 2003-05-26 Michael Koch <konqueror@gmx.de>
1586
1587 * java/net/NetPermission.java,
1588 java/net/NetworkInterface.java,
1589 java/net/PasswordAuthentication.java,
1590 java/net/SocketPermission.java:
1591 New versions from classpath.
1592
1593 2003-05-25 Michael Koch <konqueror@gmx.de>
1594
1595 * java/io/PushbackInputStream.java,
1596 java/net/Authenticator.java,
1597 java/net/ContentHandler.java,
1598 java/net/ContentHandlerFactory.java,
1599 java/net/DatagramSocket.java,
1600 java/net/DatagramSocketImpl.java,
1601 java/net/DatagramSocketImplFactory.java,
1602 java/net/FileNameMap.java,
1603 java/net/SocketImplFactory.java,
1604 java/net/SocketOptions.java,
1605 java/net/URLStreamHandlerFactory.java:
1606 Merged new versions from classpath.
1607
1608 2003-05-25 Michael Koch <konqueror@gmx.de>
1609
1610 * java/awt/Checkbox.java,
1611 java/awt/Dialog.java,
1612 java/awt/Font.java,
1613 java/awt/Frame.java,
1614 java/awt/ScrollPaneAdjustable.java,
1615 java/awt/Scrollbar.java,
1616 java/awt/Window.java:
1617 New versions from classpath.
1618
1619 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1620
1621 PR libgcj/10838:
1622 * java/io/ObjectInputStream (enableResolveObject):
1623 Fixed spelling of permission name.
1624
1625 2003-05-20 Michael Koch <konqueror@gmx.de>
1626
1627 * java/io/DataInputStream.java
1628 (convertFromUTF): Merged comment from classpath.
1629 * java/io/PrintStream.java
1630 (error_occured): Renamed from error, merged comment from classpath.
1631 (PrintStream): No need to initialized error.
1632 (checkError): Replace error with error_occurred.
1633 (setError): Likewise.
1634
1635 2003-05-20 Michael Koch <konqueror@gmx.de>
1636
1637 * java/io/DataInputStream.java:
1638 Reformatted, Replaced < and & with html entitites in documentation.
1639 * java/io/File.java:
1640 Reformatted.
1641 * java/io/PrintWriter.java:
1642 Moved class documentation.
1643
1644 2003-05-20 Michael Koch <konqueror@gmx.de>
1645
1646 * gnu/java/nio/ByteBufferImpl.java,
1647 gnu/java/nio/CharBufferImpl.java,
1648 gnu/java/nio/CharViewBufferImpl.java,
1649 gnu/java/nio/DirectByteBufferImpl.java,
1650 gnu/java/nio/DoubleBufferImpl.java,
1651 gnu/java/nio/DoubleViewBufferImpl.java,
1652 gnu/java/nio/FloatBufferImpl.java,
1653 gnu/java/nio/FloatViewBufferImpl.java,
1654 gnu/java/nio/IntBufferImpl.java,
1655 gnu/java/nio/IntViewBufferImpl.java,
1656 gnu/java/nio/LongBufferImpl.java,
1657 gnu/java/nio/LongViewBufferImpl.java,
1658 gnu/java/nio/natDirectByteBufferImpl.cc,
1659 gnu/java/nio/ShortBufferImpl.java,
1660 gnu/java/nio/ShortViewBufferImpl.java:
1661 Moved files to java/nio.
1662 * gnu/java/nio/SocketChannelImpl.java
1663
1664 * java/nio/ByteBuffer.java,
1665 java/nio/CharBuffer.java,
1666 java/nio/DoubleBuffer.java,
1667 java/nio/FloatBuffer.java,
1668 java/nio/IntBuffer.java,
1669 java/nio/LongBuffer.java,
1670 java/nio/ShortBuffer.java:
1671 Dont import anything.
1672 * java/nio/ByteBufferImpl.java,
1673 java/nio/CharBufferImpl.java,
1674 java/nio/CharViewBufferImpl.java,
1675 java/nio/DirectByteBufferImpl.java,
1676 java/nio/DoubleBufferImpl.java,
1677 java/nio/DoubleViewBufferImpl.java,
1678 java/nio/FloatBufferImpl.java,
1679 java/nio/FloatViewBufferImpl.java,
1680 java/nio/IntBufferImpl.java,
1681 java/nio/IntViewBufferImpl.java,
1682 java/nio/LongBufferImpl.java,
1683 java/nio/LongViewBufferImpl.java,
1684 java/nio/natDirectByteBufferImpl.cc,
1685 java/nio/ShortBufferImpl.java,
1686 java/nio/ShortViewBufferImpl.java:
1687 Moved from gnu/java/nio.
1688 * Makefile.am
1689 (ordinary_java_source_files): Moved files from gnu/java/nio to
1690 java/nio.
1691 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1692 to java/nio.
1693 * Makefile.in: Regenerated.
1694
1695 2003-05-19 Michael Koch <konqueror@gmx.de>
1696
1697 * java/util/Calendar.java
1698 (get): Not final anymore since JDK 1.4
1699 (set): Likewise.
1700
1701 2003-05-19 Michael Koch <konqueror@gmx.de>
1702
1703 * java/text/CollationKey.java:
1704 Merged copyright and dat from classpath.
1705 * java/text/RuleBasedCollator.java:
1706 Merged class documentation from classpath.
1707
1708 2003-05-19 Michael Koch <konqueror@gmx.de>
1709
1710 * java/nio/CharBuffer.java
1711 (toString): Compile fix.
1712
1713 2003-05-19 Michael Koch <konqueror@gmx.de>
1714
1715 * gnu/java/nio/ByteBufferImpl.java
1716 (putLong): Fixed conversion to bytes.
1717 (putDouble): Fixed conversion to bytes.
1718 * gnu/java/nio/DirectByteBufferImpl.java
1719 (putLong): Fixed conversion to bytes.
1720 (putDouble): Fixed conversion to bytes.
1721 * gnu/java/nio/FileLockImpl.java
1722 (isValid): Reformatted.
1723 * java/nio/Buffer.java
1724 (Buffer): Fixed off-by-one bug in handling mark.
1725 * java/nio/ByteBuffer.java:
1726 Added newline.
1727 * java/nio/CharBuffer.java
1728 (toString): Don't use relative get to get string data.
1729
1730 2003-05-16 Michael Koch <konqueror@gmx.de>
1731
1732 * java/io/natFileDescriptorPosix.cc
1733 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1734 tested.
1735
1736 2003-05-14 Michael Koch <konqueror@gmx.de>
1737
1738 * gnu/java/nio/FileLockImpl.java
1739 (released): New member variable.
1740 (FileLockImpl): Initialize released.
1741 (releaseImpl): New native method.
1742 (release): Implemented.
1743 * gnu/java/nio/SelectorImpl.java: Reformatted.
1744 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1745 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1746 (accept): Throws IOException.
1747 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1748 (implConfigureBlocking): Throws IOException.
1749 (connect): Likewise.
1750 (read): Likewise.
1751 (write): Likewise.
1752 * gnu/java/nio/natFileLockImpl.cc: New file.
1753 * java/nio/channels/FileLock.java: Reformatted.
1754 * Makefile.am:
1755 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1756 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1757 * Makefile.in: Regenerated.
1758
1759 2003-05-13 Michael Koch <konqueror@gmx.de>
1760
1761 * gnu/java/nio/CharViewBufferImpl.java
1762 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1763 (get): Shift bits to the right direction.
1764 (put): Likewise.
1765 * gnu/java/nio/DoubleViewBufferImpl.java
1766 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1767 (get): Shift bits to the right direction.
1768 (put): Likewise.
1769 * gnu/java/nio/FloatViewBufferImpl.java
1770 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1771 (get): Shift bits to the right direction.
1772 (put): Likewise.
1773 * gnu/java/nio/IntViewBufferImpl.java
1774 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1775 (get): Shift bits to the right direction.
1776 (put): Likewise.
1777 * gnu/java/nio/LongViewBufferImpl.java
1778 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1779 (get): Shift bits to the right direction.
1780 (put): Likewise.
1781 * gnu/java/nio/ShortViewBufferImpl.java
1782 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1783 (get): Shift bits to the right direction.
1784 (put): Likewise.
1785
1786 2003-05-13 Michael Koch <konqueror@gmx.de>
1787
1788 * gnu/java/nio/natDirectByteBufferImpl.cc
1789 (allocateImpl): jlong -> RawData*.
1790 (freeImpl): Likewise.
1791
1792 2003-05-13 Michael Koch <konqueror@gmx.de>
1793
1794 * java/nio/channels/FileChannel.java
1795 (MapMode.m): Made it package-private to match JDK 1.4.
1796 * java/nio/charset/Charset.java
1797 (decode): Made it final to match JDK 1.4.
1798
1799 2003-05-13 Michael Koch <konqueror@gmx.de>
1800
1801 * java/io/FileDescriptor.java
1802 (SYNC): New constant.
1803 (DSYNC): Likewise.
1804 (getLength): Renamed from lenght() to match classpath's
1805 FileDescriptor.java.
1806 * java/io/RandomAccessFile.java
1807 (RandomAccessFile): Removed unneeded mode check, implemented mode
1808 "rws" and "rwd", merged documentation from classpath.
1809 (setLength): Reformatted.
1810 (length): Use new getLength() of FileDescriptor.
1811 * java/io/natFileDescriptorEcos.cc
1812 (getLength): Renamed from length().
1813 * java/io/natFileDescriptorPosix.cc
1814 (open): Implemented support for SYNC and DSYNC.
1815 (seek): Use getLength() instead of length().
1816 (getLength): Renamed from length().
1817 * java/io/natFileDescriptorWin32.cc
1818 (getLength): Renamed from length().
1819 (seek): Use getLength() instead of length().
1820 (available): Likewise.
1821 * gnu/java/nio/natFileChannelImpl.cc
1822 (size): Use getLength() instead of length().
1823
1824 2003-05-13 Michael Koch <konqueror@gmx.de>
1825
1826 * gnu/java/nio/ByteBufferImpl.java
1827 (ByteBufferImpl): All constructors revised.
1828 (slice): Reimplemented.
1829 (duplicate): Reimplemented.
1830 (asReadOnlyBuffer): Reimplemented.
1831 * java/nio/ByteBuffer.java:
1832 Reformatted.
1833 (array_offset): Renamed from "offset" to match all other buffer
1834 classes.
1835 (ByteBuffer): All constructors revised.
1836 (allocateDirect): Implemented.
1837 (allocate): New implementation, documentation reworked.
1838 (wrap): Likewise.
1839 (get): Documentation reworked.
1840 (put): New implementation, documentation reworked.
1841 (hasArray): Documentation reworked.
1842 (arrayOffset): Likewise.
1843 (hashCode): Likewise.
1844 (equals): Likewise.
1845 (compareTo): Likewise.
1846 (order): Likewise.
1847 (compact): Likewise.
1848 (isDirect): Likewise.
1849 (slice): Likewise.
1850 (duplicate): Likewise.
1851 (asReadOnlyBuffer): Likewise.
1852 * Makefile.am
1853 (ordinary_java_source_files):
1854 Added gnu/java/nio/DirectByteBufferImpl.java.
1855 (nat_source_files):
1856 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1857 * Makefile.in: Regenerated.
1858
1859 2003-05-12 Michael Koch <konqueror@gmx.de>
1860
1861 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1862 (nio_get_*): Removed.
1863 (nio_put_*): Removed.
1864 (as*Buffer): Implemented.
1865 (compact): Implemented.
1866 (get): Documentation added.
1867 (put): Documentation added.
1868 (get*): Newly implemented.
1869 (put*): Newly implemented.
1870 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1871 (CharBufferImpl): Revised.
1872 (slice): New implementation.
1873 (duplicate): New implementation.
1874 (compact): New implementation.
1875 (asReadOnlyBuffer): New implementation.
1876 (get): Documentation revised.
1877 (order): Return native byte order.
1878 * gnu/java/nio/DirectByteBufferImpl.java
1879 (allocateDirect): objects can be null not 0.
1880 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1881 (DoubleBufferImpl): Revised.
1882 (slice): New implementation.
1883 (duplicate): New implementation.
1884 (compact): New implementation.
1885 (asReadOnlyBuffer): New implementation.
1886 (get): Documentation revised.
1887 (order): Return native byte order.
1888 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1889 (FloatBufferImpl): Revised.
1890 (slice): New implementation.
1891 (duplicate): New implementation.
1892 (compact): New implementation.
1893 (asReadOnlyBuffer): New implementation.
1894 (get): Documentation revised.
1895 (order): Return native byte order.
1896 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1897 (IntBufferImpl): Revised.
1898 (slice): New implementation.
1899 (duplicate): New implementation.
1900 (compact): New implementation.
1901 (asReadOnlyBuffer): New implementation.
1902 (get): Documentation revised.
1903 (order): Return native byte order.
1904 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1905 (LongBufferImpl): Revised.
1906 (slice): New implementation.
1907 (duplicate): New implementation.
1908 (compact): New implementation.
1909 (asReadOnlyBuffer): New implementation.
1910 (get): Documentation revised.
1911 (order): Return native byte order.
1912 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1913 (ShortBufferImpl): Revised.
1914 (slice): New implementation.
1915 (duplicate): New implementation.
1916 (compact): New implementation.
1917 (asReadOnlyBuffer): New implementation.
1918 (get): Documentation revised.
1919 (order): Return native byte order.
1920 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1921 (CharBuffer): Revised.
1922 (order): Removed.
1923 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1924 (DoubleBuffer): Revised.
1925 (allocateDirect): Removed.
1926 (order): Removed.
1927 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1928 (FloatBuffer): Revised.
1929 (allocateDirect): Removed.
1930 (order): Removed.
1931 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1932 (IntBuffer): Revised.
1933 (allocateDirect): Removed.
1934 (order): Removed.
1935 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1936 (LongBuffer): Revised.
1937 (allocateDirect): Removed.
1938 (order): Removed.
1939 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1940 (ShortBuffer): Revised.
1941 (allocateDirect): Removed.
1942 (order): Removed.
1943 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1944 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1945 * Makefile.am
1946 (ordinary_java_source_files): Added the following files:
1947 gnu/java/nio/CharViewBufferImpl.java,
1948 gnu/java/nio/DoubleViewBufferImpl.java,
1949 gnu/java/nio/FloatViewBufferImpl.java,
1950 gnu/java/nio/IntViewBufferImpl.java,
1951 gnu/java/nio/LongViewBufferImpl.java,
1952 gnu/java/nio/ShortViewBufferImpl.java
1953 (nat_source_files): Removed the following files:
1954 gnu/java/nio/natByteBufferImpl.cc,
1955 gnu/java/nio/natCharBufferImpl.cc
1956 * Makefile.in: Regenerated.
1957
1958 2003-05-12 Michael Koch <konqueror@gmx.de>
1959
1960 * gnu/java/nio/CharViewBufferImpl.java,
1961 gnu/java/nio/DirectByteBufferImpl.java,
1962 gnu/java/nio/DoubleViewBufferImpl.java,
1963 gnu/java/nio/FloatViewBufferImpl.java,
1964 gnu/java/nio/IntViewBufferImpl.java,
1965 gnu/java/nio/LongViewBufferImpl.java,
1966 gnu/java/nio/ShortViewBufferImpl.java,
1967 gnu/java/nio/natDirectByteBufferImpl.cc:
1968 New files, not yet to be compiled.
1969
1970 2003-05-10 Michael Koch <konqueror@gmx.de>
1971
1972 * javax/swing/plaf/ButtonUI.java,
1973 javax/swing/plaf/ColorUIResource.java,
1974 javax/swing/plaf/ComponentUI.java,
1975 javax/swing/plaf/DimensionUIResource.java,
1976 javax/swing/plaf/FontUIResource.java,
1977 javax/swing/plaf/IconUIResource.java,
1978 javax/swing/plaf/InsetsUIResource.java,
1979 javax/swing/plaf/LabelUI.java,
1980 javax/swing/plaf/ListUI.java,
1981 javax/swing/plaf/OptionPaneUI.java,
1982 javax/swing/plaf/PanelUI.java,
1983 javax/swing/plaf/TabbedPaneUI.java,
1984 javax/swing/plaf/TextUI.java,
1985 javax/swing/plaf/TreeUI.java,
1986 javax/swing/plaf/ViewportUI.java,
1987 javax/swing/plaf/basic/BasicBorders.java,
1988 javax/swing/plaf/basic/BasicButtonUI.java,
1989 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1990 javax/swing/plaf/basic/BasicDefaults.java,
1991 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1992 javax/swing/plaf/basic/BasicIconFactory.java,
1993 javax/swing/plaf/basic/BasicLabelUI.java,
1994 javax/swing/plaf/basic/BasicListUI.java,
1995 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1996 javax/swing/plaf/basic/BasicPanelUI.java,
1997 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1998 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1999 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2000 javax/swing/plaf/basic/BasicTextUI.java,
2001 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2002 javax/swing/plaf/basic/BasicTreeUI.java,
2003 javax/swing/plaf/basic/BasicViewportUI.java,
2004 javax/swing/plaf/metal/MetalLookAndFeel.java:
2005 New versions from classpath. This adds copyrights to all files and
2006 some serialVersionUIDs.
2007
2008 2003-05-10 Michael Koch <konqueror@gmx.de>
2009
2010 * java/nio/CharBuffer.java
2011 (offset): Make it package-private.
2012 (backing_buffer): Likewise.
2013 * java/nio/DoubleBuffer.java
2014 (offset): Make it package-private.
2015 (backing_buffer): Likewise.
2016 (put): Reformatted.
2017 * java/nio/FloatBuffer.java
2018 (offset): Make it package-private.
2019 (backing_buffer): Likewise.
2020 * java/nio/IntBuffer.java
2021 (offset): Make it package-private.
2022 (backing_buffer): Likewise.
2023 * java/nio/LongBuffer.java
2024 (offset): Make it package-private.
2025 (backing_buffer): Likewise.
2026 * java/nio/ShortBuffer.java
2027 (offset): Make it package-private.
2028 (backing_buffer): Likewise.
2029
2030 2003-05-10 Michael Koch <konqueror@gmx.de>
2031
2032 * java/nio/CharBuffer.java
2033 (put): Fixed precondtion check.
2034 (toString): Make it work without backing array.
2035 (put): Skip one level of method calling.
2036
2037 2003-05-10 Michael Koch <konqueror@gmx.de>
2038
2039 * java/security/Identity.java,
2040 java/security/IdentityScope.java,
2041 java/security/Key.java,
2042 java/security/KeyPair.java,
2043 java/security/PrivateKey.java,
2044 java/security/Provider.java,
2045 java/security/PublicKey.java,
2046 java/security/SecureRandom.java,
2047 java/security/SecureRandomSpi.java,
2048 java/security/SignedObject.java,
2049 java/security/Signer.java,
2050 java/security/cert/Certificate.java,
2051 java/security/cert/PKIXCertPathBuilderResult.java,
2052 java/security/cert/X509Certificate.java:
2053 New versions from classpath.
2054
2055 2003-05-09 Tom Tromey <tromey@redhat.com>
2056
2057 * Makefile.in: Rebuilt.
2058 * Makefile.am (nat_source_files): Removed old files.
2059 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2060 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2061 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2062 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2063 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2064
2065 2003-05-09 Michael Koch <konqueror@gmx.de>
2066
2067 * gnu/java/nio/ByteBufferImpl.java
2068 (nio_cast): Removed.
2069 (ByteBufferImpl): Removed.
2070 (nio_get_Byte): Removed.
2071 (nio_put_Byte): Removed.
2072 (asByteBuffer): Removed.
2073 (asCharBuffer): Removed implementation and throw exception.
2074 (asShortBuffer): Likewise.
2075 (asIntBuffer): Likewise.
2076 (asLongBuffer): Likewise.
2077 (asFloatBuffer): Likewise.
2078 (asDoubleBuffer): Likewise.
2079 * gnu/java/nio/CharBufferImpl.java
2080 (CharBufferImpl): Removed.
2081 (nio_get_Byte): Removed.
2082 (nio_put_Byte): Removed.
2083 (asByteBuffer): Removed.
2084 * gnu/java/nio/DoubleBufferImpl.java
2085 (DoubleBufferImpl): Removed.
2086 (nio_get_Byte): Removed.
2087 (nio_put_Byte): Removed.
2088 (asByteBuffer): Removed.
2089 * gnu/java/nio/FloatBufferImpl.java
2090 (FloatBufferImpl): Removed.
2091 (nio_get_Byte): Removed.
2092 (nio_put_Byte): Removed.
2093 (asByteBuffer): Removed.
2094 * gnu/java/nio/IntBufferImpl.java
2095 (IntBufferImpl): Removed.
2096 (nio_get_Byte): Removed.
2097 (nio_put_Byte): Removed.
2098 (asByteBuffer): Removed.
2099 * gnu/java/nio/LongBufferImpl.java
2100 (LongBufferImpl): Removed.
2101 (nio_get_Byte): Removed.
2102 (nio_put_Byte): Removed.
2103 (asByteBuffer): Removed.
2104 * gnu/java/nio/ShortBufferImpl.java
2105 (ShortBufferImpl): Removed.
2106 (nio_get_Byte): Removed.
2107 (nio_put_Byte): Removed.
2108 (asByteBuffer): Removed.
2109 * gnu/java/nio/natByteBufferImpl.cc
2110 (nio_cast): Removed.
2111 (nio_get_Byte): Removed.
2112 (nio_put_Byte): Removed.
2113 * gnu/java/nio/natCharBufferImpl.cc
2114 (nio_get_Byte): Removed.
2115 (nio_put_Byte): Removed.
2116
2117 2003-05-09 Michael Koch <konqueror@gmx.de>
2118
2119 * java/net/JarURLConnection.java
2120 (getJarEntry): Merged documentation from classpath.
2121 (getJarFile): Likewise.
2122 (getMainAttributes): Likewise.
2123 (getAttributes): Likewise.
2124 (getManifest): Likewise.
2125 (getCertificates): Reformatted.
2126 * java/net/URLConnection.java:
2127 Little classpath merge.
2128
2129 2003-05-09 Michael Koch <konqueror@gmx.de>
2130
2131 * java/io/DataOutputStream.java
2132 (writeShort): Made it synchronized.
2133 (writeChar): Likewise.
2134 (writeInt): Likewise.
2135 (writeLong): Liekwise.
2136 (writeUTF): Made it synchronized, renamed argument to match classpath.
2137 * java/io/InputStreamReader.java
2138 (converter): Added documentation.
2139 (read): Merged documentation from classpath.
2140 * java/io/OutputStreamWriter.java
2141 (OutputStreamWriter): Merged documentation from classpath.
2142 (close): Reformatted.
2143 (getEncoding): Likewise.
2144 (flush): Likewise.
2145 (write): Merged documentation from classpath, reformatted.
2146
2147 2003-05-08 Tom Tromey <tromey@redhat.com>
2148
2149 * configure.host <powerpc64*-*>: Set with_libffi_default and
2150 libgcj_interpreter to "yes".
2151
2152 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2153
2154 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2155
2156 2003-05-06 Tom Tromey <tromey@redhat.com>
2157
2158 * verify.cc: Reverted previous patch.
2159
2160 2003-05-06 Michael Koch <konqueror@gmx.de>
2161
2162 * java/io/DataOutputStream.java
2163 (write): Renamed argument to "value", merged documentation from
2164 classpath.
2165 (writeBoolean): Likewise.
2166 (writeByte): Likewise.
2167 (writeShort): Likewise.
2168 (writeChar): Likewise.
2169 (writeInt): Likewise.
2170 (writeLong): Likewise.
2171 (writeFloat): Likewise.
2172 (writeDouble): Likewise.
2173 (writeBytes): Likewise.
2174 (writeChars): Likewise.
2175 (writeUTF): Likewise.
2176 * java/io/File.java
2177 (performDelete): Added documentation.
2178 (performList): Likewise.
2179 (performMkdir): Likewise.
2180 (performSetReadOnly): Likewise.
2181 (performRenameTo): Likewise.
2182 (performSetLastModified): Likewise.
2183 (delete): Made it sychronized.
2184 (renameTo): Made it sychronized.
2185 (equals): Reformatted.
2186 (isHidden): Likewise.
2187 (listFiles): Likewise.
2188 (setReadOnly): Likewise.
2189 (listRoots): Likewise.
2190 (setLastModified): Likewise.
2191 (checkRead): Likewise.
2192 (checkWrite): Likewise.
2193 * java/io/FileInputStream.java
2194 (skip): Made it sychronized, merged from classpath.
2195 * java/io/FileOutputStream.java
2196 (write): Merged from classpath.
2197 * java/io/InputStreamReader.java:
2198 (InputStreamReader): Merged documentation from classpath.
2199
2200 2003-05-05 Michael Koch <konqueror@gmx.de>
2201
2202 * java/net/NetworkInterface.java
2203 (networkInterfaces): Removed.
2204 (getByName): Use getRealNetworkInterfaces() instead of
2205 networkInterfaces.
2206 (getByInetAddress): Likewise.
2207 (getNetworkInterfaces): Likewise.
2208 (toString): Fix output of addresses of an interface.
2209
2210 2003-05-05 Michael Koch <konqueror@gmx.de>
2211
2212 * java/io/DataInputStream.java:
2213 Merged new documentation from classpath.
2214
2215 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2216
2217 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2218 "version".
2219 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2220 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2221 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2222 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2223 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2224 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2225 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2226 * java/security/Key.java: Likewise.
2227 * java/security/PrivateKey.java: Likewise.
2228 * java/security/Provider.java: Likewise.
2229 * java/security/PublicKey.java: Likewise.
2230
2231 2003-05-02 Michael Koch <konqueror@gmx.de>
2232
2233 * java/net/URI.java
2234 (create): Doesnt throws any exceptions.
2235 * java/net/URLConnection.java
2236 (URLConnection): Commend added.
2237 (getExpiration): The header field is called "expires" not
2238 "expiration".
2239 (getHeaderField): Merged documentation with classpath.
2240 (getHeaderFieldInt): Likewise.
2241 (getHeaderFieldDate): Likewise.
2242 (getHeaderFieldKey): Likewise.
2243 (getPermission): Likewise.
2244 (setDefaultUseCaches): Likewise.
2245 (setRequestProperty): Likewise.
2246 (addRequestProperty): Likewise.
2247 (getRequestProperty): Likewise.
2248 (getRequestProperties): Likewise.
2249 (setDefaultRequestProperty): Likewise.
2250 (getDefaultRequestProperty): Likewise.
2251 (guessContentTypeFromStream): Likewise.
2252 (getFileNameMap): Likewise.
2253 (setFileNameMap): Likewise.
2254 (setDoInput): Merged implementation and documentation with classpath.
2255 (setDoOutput): Likewise.
2256 (setAllowUserInteraction): Likewise.
2257 (setDefaultAllowUserInteraction): Likewise.
2258 (setContentHandlerFactory): Made it synchronized, merged documentation
2259 with classpath.
2260 (guessContentTypeFromName): Renamed argument fname to filename to
2261 match classpath, merged documentation with classpath.
2262
2263 2003-05-02 Michael Koch <konqueror@gmx.de>
2264
2265 * java/net/JarURLConnection.java
2266 (JarURLConnection): Class documentation merged with classpath.
2267 (getJarFileURL): Moved and documentation merged with classpath.
2268 (getEntryName): Likewise.
2269 (JarURLConnection): Documentation merged with classpath.
2270 (getJarEntry): Likewise.
2271 (getJarFile): Likewise.
2272 * java/net/PlainDatagramSocketImpl.java:
2273 Class documentation moved.
2274 * java/net/URLConnection.java
2275 (fileNameMap): Moved and documentation merged with classpath.
2276 (factory): Likewise.
2277 (defaultAllowUserInteraction): Likewis.
2278 (defaultUseCaches): Likewise.
2279 (allowUserInteraction): Likewise.
2280 (connected): Likewise.
2281 (url): Likewise.
2282 (connect): Documentation merged with classpath.
2283 (getURL): Likewise.
2284 (getContentLength): Likewise.
2285 (getContentType): Likewise.
2286 (getContentEncoding): Likewise.
2287 (getExpiration): Likewise.
2288 (getDate): Likewise.
2289 (getLastModified): Likewise.
2290 (getHeaderField): Likewise.
2291 (getContent): Likewise.
2292 (getPermission): Likewise.
2293 (getInputStream): Likewise.
2294 (getOutputStream): Likewise.
2295 (toString): Likewise.
2296 (getDoInput): Likewise.
2297 (getDoOutput): Likewise.
2298 (setAllowUserInteraction): Likewise.
2299 (getAllowUserInteraction): Likewise.
2300 (setDefaultAllowUserInteraction): Likewise.
2301 (getDefaultAllowUserInteraction): Likewise.
2302 (setUseCaches): Likewise.
2303 (getUseCaches): Likewise.
2304 (setIfModifiedSince): Likewise.
2305 (getIfModifiedSince): Likewise.
2306 (setDefaultRequestProperty): Likewise.
2307 (getDefaultRequestProperty): Likewise.
2308 (setContentHandlerFactory): Likewise.
2309 (setFileNameMap): Likewise.
2310
2311 2003-05-02 Michael Koch <konqueror@gmx.de>
2312
2313 * java/net/InetAddress.java:
2314 Merged class documentation with classpath.
2315 * java/net/JarURLConnection.java:
2316 Explicitely import all used classes.
2317 * java/net/URL.java:
2318 Reformatting.
2319 * java/net/ServerSocket.java,
2320 java/net/Socket.java:
2321 New versions from classpath.
2322
2323 2003-05-02 Michael Koch <konqueror@gmx.de>
2324
2325 * gnu/java/nio/FileChannelImpl.java
2326 (read): New implementation.
2327 (implRead): New methods.
2328 (write): New implementation, call other write insteal of read method.
2329 (implWrite): New methods.
2330 (map): Added comment.
2331 (transferFrom): Implemented.
2332 (transferTo): Implemented.
2333 (lock): Added checks to throw exceptions.
2334 (truncate): Added check to throw exception.
2335 * gnu/java/nio/natFileChannelImpl.cc
2336 (implRead): New method.
2337 (implWrite): New method.
2338 * java/nio/ByteBuffer.java
2339 (hashCode): Fixed comment.
2340 (get): Fixed exception documentation.
2341 (put): Fixed exception documentation.
2342 * java/nio/CharBuffer.java:
2343 Added comment for later optimizations.
2344
2345 2003-04-30 Tom Tromey <tromey@redhat.com>
2346
2347 PR libgcj/10582:
2348 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2349 Removed.
2350 (type::compatible): Use _Jv_IsAssignableFrom.
2351 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2352 (_Jv_IsAssignableFrom): Work even when source or target class is
2353 not prepared.
2354
2355 2003-04-30 Michael Koch <konqueror@gmx.de>
2356
2357 * java/text/BreakIterator.java
2358 (clone): New method.
2359
2360 2003-04-30 Michael Koch <konqueror@gmx.de>
2361
2362 * java/text/CollationElementIterator.java,
2363 java/text/CollationKey.java,
2364 java/text/RuleBasedCollator.java:
2365 Merged copyright and documentation from classpath and
2366 rearranged some code. No code changes done.
2367
2368 2003-04-30 Michael Koch <konqueror@gmx.de>
2369
2370 * java/util/regex/Matcher.java
2371 (pattern): New member variable.
2372 (appendReplacement): New method.
2373 (appendTail): New method.
2374 (end): New method.
2375 (find): New method.
2376 (group): New method.
2377 (replaceFirst): Added documentation.
2378 (replaceAll): Added documentation.
2379 (groupCount): New method.
2380 (lookingAt): New method.
2381 (matches): New method.
2382 (reset): New method.
2383 (start): New method.
2384 * java/util/regex/Pattern.java
2385 (serialVersionUID): New constant.
2386 (CANON_EQ): New constant.
2387 (CASE_INSENSITIVE): New constant.
2388 (COMMENTS): New constant.
2389 (DOTALL): New constant.
2390 (MULTILINE): New constant.
2391 (UNICODE_CASE): New constant.
2392 (UNIX_LINES): New constant.
2393 (regex): New member variable.
2394 (flags): New member variable.
2395 (Pattern): New method.
2396 (compile): Documentation added.
2397 (flags): New method.
2398 (matches): Documentation added.
2399 (matcher): Documentation added.
2400 (split): Documentation added.
2401 (pattern): New method.
2402
2403 2003-04-30 Michael Koch <konqueror@gmx.de>
2404
2405 * gnu/java/security/Engine.java,
2406 gnu/java/security/OID.java,
2407 gnu/java/security/der/BitString.java,
2408 gnu/java/security/der/DER.java,
2409 gnu/java/security/der/DERReader.java,
2410 gnu/java/security/der/DERValue.java,
2411 gnu/java/security/der/DERWriter.java,
2412 gnu/java/security/provider/DSAKeyFactory.java,
2413 gnu/java/security/provider/X509CertificateFactory.java,
2414 gnu/java/security/x509/X500DistinguishedName.java,
2415 gnu/java/security/x509/X509CRL.java,
2416 gnu/java/security/x509/X509CRLEntry.java,
2417 gnu/java/security/x509/X509Certificate.java,
2418 java/security/cert/CRLSelector.java,
2419 java/security/cert/CertPathBuilder.java,
2420 java/security/cert/CertPathBuilderResult.java,
2421 java/security/cert/CertPathBuilderSpi.java,
2422 java/security/cert/CertPathParameters.java,
2423 java/security/cert/CertPathValidator.java,
2424 java/security/cert/CertPathValidatorResult.java,
2425 java/security/cert/CertPathValidatorSpi.java,
2426 java/security/cert/CertSelector.java,
2427 java/security/cert/CertStore.java,
2428 java/security/cert/CertStoreParameters.java,
2429 java/security/cert/CertStoreSpi.java,
2430 java/security/cert/CollectionCertStoreParameters.java,
2431 java/security/cert/LDAPCertStoreParameters.java,
2432 java/security/cert/PKIXBuilderParameters.java,
2433 java/security/cert/PKIXCertPathBuilderResult.java,
2434 java/security/cert/PKIXCertPathChecker.java,
2435 java/security/cert/PKIXCertPathValidatorResult.java,
2436 java/security/cert/PKIXParameters.java,
2437 java/security/cert/PolicyNode.java,
2438 java/security/cert/PolicyQualifierInfo.java,
2439 java/security/cert/TrustAnchor.java,
2440 javax/security/auth/x500/X500Principal.java:
2441 New files from classpath.
2442 * gnu/java/io/ASN1ParsingException.java,
2443 gnu/java/io/Base64InputStream.java,
2444 gnu/java/security/der/DEREncodingException.java,
2445 gnu/java/security/provider/DSAParameters.java,
2446 gnu/java/security/provider/DSASignature.java,
2447 gnu/java/security/provider/Gnu.java,
2448 gnu/java/security/provider/GnuDSAPrivateKey.java,
2449 gnu/java/security/provider/GnuDSAPublicKey.java,
2450 java/security/AlgorithmParameterGenerator.java,
2451 java/security/AlgorithmParameters.java,
2452 java/security/KeyFactory.java,
2453 java/security/KeyPairGenerator.java,
2454 java/security/KeyStore.java,
2455 java/security/MessageDigest.java,
2456 java/security/SecureClassLoader.java,
2457 java/security/SecureRandom.java,
2458 java/security/Security.java,
2459 java/security/Signature.java,
2460 java/security/cert/Certificate.java,
2461 java/security/cert/CertificateFactory.java,
2462 java/security/cert/CertificateFactorySpi.java,
2463 java/security/cert/X509CRL.java,
2464 java/security/cert/X509Certificate.java,
2465 java/security/spec/DSAPublicKeySpec.java:
2466 New versions from classpath.
2467 * gnu/java/security/provider/DERReader.java,
2468 gnu/java/security/provider/DERWriter.java,
2469 java/security/Engine.java: Removed.
2470 * Makefile.am
2471 (java_source_files, javax_source_files): Added new files.
2472 * Makefile.in: Regenerated.
2473
2474 2003-04-29 Michael Koch <konqueror@gmx.de>
2475
2476 * javax/swing/JTable.java
2477 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2478 (AUTO_RESIZE_LAST_COLUMN): New constant.
2479 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2480 (AUTO_RESIZE_OFF): New constant.
2481 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2482 (JTable): New method.
2483 (columnAdded): New method.
2484 (columnMarginChanged): New method.
2485 (columnMoved): New method.
2486 (columnRemoved): New method.
2487 (columnSelectionChanged): New method.
2488 (editingCanceled): New method.
2489 (editingStopped): New method.
2490 (getColumnModel): New method.
2491 (getPreferredScrollableViewportSize): New method.
2492 (getScrollableBlockIncrement): New method.
2493 (getScrollableTracksViewportHeight): New method.
2494 (getScrollableTracksViewportWidth): New method.
2495 (getScrollableUnitIncrement): New method.
2496 (getSelectedRow): New method.
2497 (getSelectionModel): New method.
2498 (tableChanged): New method.
2499 (setModel): New method.
2500 (setSelectionMode): New method.
2501 (setSelectionModel): New method.
2502 (setShowGrid): New method.
2503 (valueChanged): New method.
2504 * javax/swing/text/DefaultEditorKit.java
2505 (backwardAction): New constant.
2506 (beepAction): New constant.
2507 (beginAction): New constant.
2508 (beginLineAction): New constant.
2509 (beginParagraphAction): New constant.
2510 (beginWordAction): New constant.
2511 (copyAction): New constant.
2512 (cutAction): New constant.
2513 (defaultKeyTypedAction): New constant.
2514 (deleteNextCharAction): New constant.
2515 (deletePrevCharAction): New constant.
2516 (downAction): New constant.
2517 (endAction): New constant.
2518 (endLineAction): New constant.
2519 (endOfLineStringProperty): New constant.
2520 (endParagraphAction): New constant.
2521 (endWordAction): New constant.
2522 (forwardAction): New constant.
2523 (insertBreakAction): New constant.
2524 (insertContentAction): New constant.
2525 (insertTabAction): New constant.
2526 (nextWordAction): New constant.
2527 (pageDownAction): New constant.
2528 (pageUpAction): New constant.
2529 (pasteAction): New constant.
2530 (previousWordAction): New constant.
2531 (readOnlyAction): New constant.
2532 (selectAllAction): New constant.
2533 (selectionBackwardAction): New constant.
2534 (selectionBeginAction): New constant.
2535 (selectionBeginLineAction): New constant.
2536 (selectionBeginParagraphAction): New constant.
2537 (selectionBeginWordAction): New constant.
2538 (selectionDownAction): New constant.
2539 (selectionEndAction): New constant.
2540 (selectionEndLineAction): New constant.
2541 (selectionEndParagraphAction): New constant.
2542 (selectionEndWordAction): New constant.
2543 (selectionForwardAction): New constant.
2544 (selectionNextWordAction): New constant.
2545 (selectionPreviousWordAction): New constant.
2546 (selectionUpAction): New constant.
2547 (selectLineAction): New constant.
2548 (selectParagraphAction): New constant.
2549 (selectWordAction): New constant.
2550 (upAction): New constant.
2551 (writableAction): New constant.
2552
2553 2003-04-29 Michael Koch <konqueror@gmx.de>
2554
2555 * java/util/PropertyPermission.java:
2556 New version from classpath
2557 * java/util/ResourceBundle.java:
2558 Partly merged from classpath
2559 (getObject): Reformated.
2560 (tryBundle): Set foundBundle = null if no bundle found.
2561
2562 2003-04-29 Michael Koch <konqueror@gmx.de>
2563
2564 * javax/swing/AbstractListModel.java,
2565 javax/swing/DefaultBoundedRangeModel.java,
2566 javax/swing/DefaultSingleSelectionModel.java:
2567 New Versions from classpath.
2568
2569 2003-04-29 Michael Koch <konqueror@gmx.de>
2570
2571 * java/awt/Window.java
2572 (show): Call super.show() instead of setVisible() to avoid endless
2573 loop.
2574 (hide): Call super.hide() instead of setVisible() to avoid endless
2575 loop.
2576
2577 2003-04-29 Michael Koch <konqueror@gmx.de>
2578
2579 * java/util/zip/Deflater.java,
2580 java/util/zip/DeflaterOutputStream.java:
2581 Partly merged with classpath.
2582
2583 2003-04-27 Tom Tromey <tromey@redhat.com>
2584
2585 * java/lang/natString.cc (_Jv_AllocString): Initialize
2586 cachedHashCode.
2587 (init): Likewise.
2588 (_Jv_NewStringUtf8Const): Likewise.
2589
2590 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2591
2592 * include/jvm.h: (_Jv_GetNbArgs) added
2593 (_Jv_GetSafeArg) added
2594 (_Jv_SetArgs) added
2595 * prims.cc: (_Jv_GetNbArgs) implemented
2596 (_Jv_GetSafeArg) implemented
2597 (_Jv_SetArgs) implemented
2598 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2599 setting _Jv_argc and _Jv_argv
2600 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2601 instead of _Jv_argv
2602 * java/lang/natRuntime.cc: (insertSystemProperties) use
2603 _Jv_GetSafeArg() instead of _Jv_argv
2604
2605 2003-04-23 Tom Tromey <tromey@redhat.com>
2606
2607 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2608 required by this object. Search superclasses to find required
2609 alignment.
2610 (get_alignment_from_class): Use alignment of type as it appears
2611 in a struct.
2612 (ALIGNOF): New macro.
2613 (struct aligner): New helper structure.
2614
2615 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2616
2617 * java/awt/Container.java (addImpl): Enable paint events if adding
2618 a lightweight to a heavyweight.
2619 (addNotify): Ensure that peer is created before
2620 addNotifyContainerChildren.
2621 (addNotifyContainerChildren): Enable paint events if a heavyweight
2622 container contains a lightweight.
2623
2624 2003-04-20 Tom Tromey <tromey@redhat.com>
2625
2626 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2627 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2628 Classpath.
2629
2630 2003-04-19 Tom Tromey <tromey@redhat.com>
2631
2632 * java/sql/Date.java, java/sql/DriverManager.java,
2633 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2634 Classpath.
2635
2636 * Makefile.in: Rebuilt.
2637 * Makefile.am (ordinary_java_source_files): Added new files.
2638 * java/security/AlgorithmParameterGenerator.java,
2639 java/security/AlgorithmParameters.java, java/security/Engine.java,
2640 java/security/Identity.java, java/security/IdentityScope.java,
2641 java/security/KeyFactory.java,
2642 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2643 java/security/MessageDigest.java, java/security/Policy.java,
2644 java/security/ProtectionDomain.java,
2645 java/security/SecureRandom.java, java/security/Security.java,
2646 java/security/Signature.java, java/security/SignatureSpi.java,
2647 java/security/SignedObject.java, java/security/Signer.java,
2648 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2649 java/security/spec/PSSParameterSpec.java,
2650 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2651 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2652 Classpath.
2653
2654 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2655
2656 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2657 (dispose): Null metrics.
2658 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2659 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2660 finalize.
2661 (finalize): Call dispose.
2662 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2663 (gcCachedCount): New field.
2664 (finalize): New method.
2665 (putGCInCache): New method.
2666 (getGCFromCache): New method.
2667 * gnu/gcj/xlib/GC.java (GC): Make protected.
2668 (clone): Get new GC from cache if possible.
2669 (create): New static method.
2670 (dispose): Save old GC in cache.
2671 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2672 deleting.
2673 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2674 is null.
2675 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2676 * java/awt/Container.java (visitChild): Dispose gfx2 when
2677 finished.
2678
2679 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2680
2681 * java/math/BigInteger.java (probablePrime): New.
2682 * java/math/BigDecimal.java (unscaledValue): New.
2683
2684 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2685
2686 * java/io/File.java (getAbsolutePath): On Windows, take care
2687 of paths like "C:", "G:foo\bar", etc.
2688 (getName): Make it work correctly on Windows.
2689 (getParent): Make it work correctly on Windows. For UNIX,
2690 fix bug that causes "/" to be returned as the parent of "/",
2691 instead of null as returned by Sun's JRE.
2692
2693 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2694
2695 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2696
2697 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2698 inner class.
2699 (CACHE_SIZE_PER_DISPLAY): New field
2700 (fontMetricsCache): New field
2701 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2702 loading ISO10646-1 fonts.
2703
2704 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2705
2706 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2707 characters.
2708 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2709 characters.
2710
2711 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2712
2713 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2714 floating point.
2715
2716 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2717
2718 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2719 installed libpthread is either linuxthreads with floating stacks or
2720 NPTL.
2721
2722 2003-04-14 Tom Tromey <tromey@redhat.com>
2723
2724 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2725 of alignment.
2726
2727 2003-04-10 Tom Tromey <tromey@redhat.com>
2728
2729 * verify.cc (pop64): Removed.
2730 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2731 exception if top-of-stack is narrow.
2732 (initialize_stack): Check to ensure that <init> is not static and
2733 <clinit> is.
2734
2735 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2736
2737 * java/io/ObjectStreamException
2738 * java/io/FileFilter
2739 * java/io/FilenameFilter
2740 * java/io/ObjectInput
2741 * java/io/ObjectOutput
2742 * java/io/ObjectStreamConstants
2743 Minor doc fixes, format fixes, spelling corrections, etc.
2744 * java/io/DataInput
2745 Corrected code samples in Javadocs to match reality
2746 * java/io/DataOutput
2747 * java/io/ObjectInputValidation
2748 Major documentation fixes - all Javadocs re-written or updated
2749
2750 2003-04-06 Michael Koch <konqueror@gmx.de>
2751
2752 * java/net/URLConnection.java:
2753 Import classes directly.
2754 (URLConnection): Merged class documentation with classpath.
2755 (url): Moved, documentation from classpath added.
2756 (doInput): Moved, documentation from classpath added.
2757 (doOutput): Moved, documentation from classpath added.
2758 (allowUserInteraction): Moved.
2759 (useCaches): Moved, documentation from classpath added.
2760 (ifModifiedSince): Moved, documentation from classpath added.
2761 (connected): Moved, documentation from classpath added.
2762
2763 2003-04-06 Michael Koch <konqueror@gmx.de>
2764
2765 * java/io/FileInputStream.java
2766 (skip): Renamed some variables to match classpath, added
2767 checks from classpath.
2768
2769 2003-03-31 Michael Koch <konqueror@gmx.de>
2770
2771 * javax/swing/AbstractAction.java
2772 (AbstractAction): Reformatted.
2773 (serialVersionUID): New private member variable.
2774 * javax/swing/plaf/BorderUIResource.java
2775 (serialVersionUID): New private member variable.
2776 * javax/swing/plaf/basic/BasicLookAndFeel.java
2777 (serialVersionUID): New private member variable.
2778
2779 2003-03-31 Michael Koch <konqueror@gmx.de>
2780
2781 * java/sql/Date.java
2782 (valueOf): Deprecated, reformatted.
2783 (toString): Deprecated, reformatted.
2784 * java/sql/Time.java
2785 (valueOf): Deprecated, reformatted.
2786 (toString): Deprecated, reformatted.
2787
2788 2003-03-31 Michael Koch <konqueror@gmx.de>
2789
2790 * java/rmi/dgc/VMID.java
2791 (isUnique): Deprecated.
2792
2793 2003-03-31 Michael Koch <konqueror@gmx.de>
2794
2795 * java/io/File.java
2796 (separator): Merged documentation from classpath.
2797 (separatorChar): Merged documentation from classpath.
2798 (pathSeparator): Merged documentation from classpath.
2799 (pathSeparatorChar): Merged documentation from classpath.
2800 (path): Merged documentation from classpath.
2801 (canRead): Merged documentation from classpath.
2802 (canWrite): Merged documentation from classpath.
2803 (createNewFile): Merged documentation from classpath.
2804 (delete): Merged documentation from classpath.
2805 (equals): Merged documentation from classpath.
2806 (exists): Merged documentation from classpath.
2807 (File): Renamed p to name to match classpath, merged documentation
2808 from classpath.
2809 (getAbsolutePath): Merged documentation from classpath.
2810 (getCanonicalPath): Merged documentation from classpath.
2811 (getCanonicalFile): Merged documentation from classpath.
2812 (getName): Merged documentation from classpath.
2813 (getParent): Merged documentation from classpath.
2814 (getParentFile): Merged documentation from classpath.
2815 (getPath): Merged documentation from classpath.
2816 (hashCode): Merged documentation from classpath.
2817 (isAbsolute): Merged documentation from classpath.
2818 (isDirectory): Merged documentation from classpath.
2819 (isFile): Merged documentation from classpath.
2820 (isHidden): Merged documentation from classpath.
2821 (lastModified): Merged documentation from classpath.
2822 (length): Merged documentation from classpath.
2823 (list): Merged documentation from classpath.
2824 (listFiles): Merged documentation from classpath.
2825 (toString): Merged documentation from classpath.
2826 (toURL): Merged documentation from classpath.
2827 (mkdir): Merged documentation from classpath.
2828 (mkdirs): Merged documentation from classpath.
2829 (createTempFile): Merged documentation from classpath.
2830 (setReadOnly): Merged documentation from classpath.
2831 (listRoots): Merged documentation from classpath.
2832 (compareTo): Merged documentation from classpath.
2833 (renameTo): Merged documentation from classpath.
2834 (setLastModified): Merged documentation from classpath.
2835 * java/io/PrintStream.java
2836 (auto_flush): Merged documentation from classpath.
2837 (PrintStream): Merged documentation from classpath.
2838 (checkError): Merged documentation from classpath.
2839 (setError): Merged documentation from classpath.
2840 (close): Merged documentation from classpath.
2841 (flush): Merged documentation from classpath.
2842 (print): Merged documentation from classpath.
2843 (println): Merged documentation from classpath.
2844 (write): Renamed count to len to match classpath,
2845 merged documentation from classpath.
2846 * java/io/RandomAccessFile.java
2847 (readShort): Merged documentation from classpath.
2848 (readUnsignedByte): Merged documentation from classpath.
2849 (readUnsignedShort): Merged documentation from classpath.
2850 (readUTF): Merged documentation from classpath.
2851 (seek): Reformatted, merged documentation from classpath.
2852 (skipBytes): Renamed some variables to match classpath, reformatted,
2853 merged documentation from classpath.
2854 (write): Merged documentation from classpath.
2855 (writeBoolean): Merged documentation from classpath.
2856 (writeByte): Merged documentation from classpath.
2857 (writeShort): Merged documentation from classpath.
2858 (writeChar): Merged documentation from classpath.
2859 (writeInt): Merged documentation from classpath.
2860 (writeLong): Merged documentation from classpath.
2861 (writeFloat): Merged documentation from classpath.
2862 (writeDouble): Merged documentation from classpath.
2863 (writeBytes): Merged documentation from classpath.
2864 (writeChars): Merged documentation from classpath.
2865 (writeUTF): Reformatted.
2866 (getChannel): Reformatted.
2867
2868 2003-03-31 Michael Koch <konqueror@gmx.de>
2869
2870 * java/awt/font/TextAttribute.java
2871 (readResolve): Throws java.io.InvalidObjectException.
2872
2873 2003-03-31 Michael Koch <konqueror@gmx.de>
2874
2875 * java/rmi/server/LoaderHandler.java
2876 (loadClass): Deprecated.
2877 (getSecurityContext): Deprecated.
2878 * java/rmi/server/LogStream.java
2879 (getDefaultStream): Deprecated.
2880 (setDefaultStream): Deprecated.
2881 (getOutputStream): Deprecated.
2882 (setOutputStream): Deprecated.
2883 (write): Deprecated.
2884 (toString): Deprecated.
2885 (parseLevel): Deprecated.
2886 * java/rmi/server/Operation.java
2887 (Operation): Deprecated.
2888 (getOperation): Deprecated.
2889 (toString): Deprecated.
2890 * java/rmi/server/RemoteCall.java
2891 (getOutputStream): Deprecated.
2892 (releaseOutputStream): Deprecated.
2893 (getInputStream): Deprecated.
2894 (releaseInputStream): Deprecated.
2895 (getResultStream): Deprecated.
2896 (executeCall): Deprecated.
2897 (done): Deprecated.
2898 * java/rmi/server/RemoteRef.java
2899 (invoke): Deprecated.
2900 (newCall): Deprecated.
2901 (done): Deprecated.
2902 * java/rmi/server/RemoteStub.java
2903 (setRef): Deprecated.
2904 * java/rmi/server/Skeleton.java:
2905 No need to import java.lang.Exception explicitly.
2906 (dispatch): Deprecated.
2907 (getOperations): Deprecated.
2908
2909 2003-03-31 Michael Koch <konqueror@gmx.de>
2910
2911 * java/rmi/dgc/VMID.java,
2912 java/rmi/registry/RegistryHandler.java,
2913 java/rmi/server/LogStream.java,
2914 java/rmi/server/Operation.java,
2915 java/rmi/server/RemoteCall.java,
2916 java/rmi/server/RemoteRef.java,
2917 java/rmi/server/RemoteStub.java:
2918 Reformatted.
2919
2920 2003-03-31 Michael Koch <konqueror@gmx.de>
2921
2922 * javax/swing/AbstractCellEditor.java,
2923 javax/swing/AbstractListModel.java,
2924 javax/swing/ActionMap.java,
2925 javax/swing/BorderFactory.java,
2926 javax/swing/ButtonGroup.java,
2927 javax/swing/DefaultBoundedRangeModel.java,
2928 javax/swing/DefaultButtonModel.java,
2929 javax/swing/DefaultCellEditor.java,
2930 javax/swing/DefaultComboBoxModel.java,
2931 javax/swing/DefaultDesktopManager.java,
2932 javax/swing/DefaultListCellRenderer.java,
2933 javax/swing/DefaultSingleSelectionModel.java,
2934 javax/swing/InputMap.java,
2935 javax/swing/JComponent.java,
2936 javax/swing/JMenu.java,
2937 javax/swing/JSlider.java,
2938 javax/swing/KeyStroke.java,
2939 javax/swing/OverlayLayout.java,
2940 javax/swing/ScrollPaneLayout.java,
2941 javax/swing/SizeRequirements.java,
2942 javax/swing/UIManager.java,
2943 javax/swing/ViewportLayout.java,
2944 javax/swing/border/AbstractBorder.java,
2945 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2946 javax/swing/event/EventListenerList.java,
2947 javax/swing/table/AbstractTableModel.java,
2948 javax/swing/table/DefaultTableCellRenderer.java,
2949 javax/swing/table/DefaultTableColumnModel.java,
2950 javax/swing/table/DefaultTableModel.java,
2951 javax/swing/table/TableColumn.java,
2952 javax/swing/text/StyledEditorKit.java,
2953 javax/swing/tree/DefaultMutableTreeNode.java,
2954 javax/swing/tree/DefaultTreeModel.java,
2955 javax/swing/tree/DefaultTreeSelectionModel.java,
2956 javax/swing/tree/TreePath.java,
2957 javax/swing/undo/AbstractUndoableEdit.java,
2958 javax/swing/undo/StateEdit.java,
2959 javax/swing/undo/StateEditable.java,
2960 javax/swing/undo/UndoableEditSupport.java:
2961 Merges from classpath.
2962
2963 2003-03-30 Tom Tromey <tromey@redhat.com>
2964
2965 * java/lang/String.java (data, boffset, count): Documented.
2966 (String(byte[],String)): Reformatted.
2967 (String(byte[])): Likewise.
2968 (lastIndexOf(int)): Likewise.
2969 (lastIndexOf(String)): Likewise.
2970 (substring(int)): Renamed argument to match Classpath.
2971 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2972
2973 * java/lang/String.java: Miscellaneous minor formatting changes
2974 to match Classpath more closely.
2975
2976 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2977 Tom Tromey <tromey@redhat.com>
2978
2979 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2980 (init()): Removed.
2981 (charAt): Put index in exception.
2982 (contentEquals): New method.
2983 Include StringBuffer.h.
2984 * java/lang/String.java (cachedHashCode): New field.
2985 (String()): Follow classpath implementation.
2986 (init()): Removed.
2987 (contentEquals): Declare.
2988 (subSequence): Don't declare IndexOutIfBoundsException in throws
2989 clause.
2990 (matches, replaceFirst, replaceAll, split): New methods from
2991 Classpath.
2992
2993 2003-03-29 Tom Tromey <tromey@redhat.com>
2994
2995 * java/lang/String.java: Reordered to follow Classpath; merged in
2996 javadoc.
2997
2998 * java/text/MessageFormat.java: Removed some whitespace.
2999
3000 * Makefile.in: Rebuilt.
3001 * Makefile.am (awt_java_source_files): Added new files.
3002 * gnu/javax/rmi/PortableServer.java,
3003 gnu/javax/rmi/CORBA/DelegateFactory.java,
3004 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3005 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3006 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3007 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3008 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3009 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3010 javax/rmi/PortableRemoteObject.java,
3011 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3012 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3013 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3014 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3015 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3016 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3017
3018 * java/lang/natClass.cc (newInstance): Put method name in
3019 exception.
3020 (getConstructor): Likewise.
3021 (getDeclaredConstructor): Likewise.
3022 (getPrivateMethod): Likewise.
3023
3024 2003-03-28 Tom Tromey <tromey@redhat.com>
3025
3026 * java/lang/reflect/Proxy.java: New version from Classpath.
3027 * java/lang/Package.java: New version from Classpath.
3028
3029 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3030
3031 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3032 * configure: Regenerate.
3033
3034 2003-03-28 Michael Koch <konqueror@gmx.de>
3035
3036 * java/io/File.java:
3037 Import needed classes instead of whole packages, merged class
3038 documentation with classpath, moved constants and variables to top of
3039 class.
3040 * java/io/PrintStream.java:
3041 Merged class documentation with classpath, moved constants and
3042 variables to top of class.
3043 * java/io/RandomAccessFile.java
3044 (RandomAccessFile): Merged with classpath.
3045 (read): Merged with classpath).
3046 (read*): Reformatted.
3047
3048 2003-03-28 Michael Koch <konqueror@gmx.de>
3049
3050 * java/io/FileDescriptor.java
3051 (finalize): Throws Throwable, not IOException.
3052 * java/io/ObjectOutputStream.java
3053 (PutField.put): Doesnt throws anything.
3054
3055 2003­03-28 Michael Koch <konqueror@gmx.de>
3056
3057 * java/io/FileOutputStream.java:
3058 Merged class documentation and authors with classpath.
3059 (FileOutputStream): Partly merged with classpath.
3060 (write): Merged with classpath.
3061 (getChannel): Make it synchronized instead of explicit block in this
3062 method.
3063 * java/io/RandomAccessFile.java:
3064 Merged class documentation and authors with classpath.
3065
3066 2003-03-26 Tom Tromey <tromey@redhat.com>
3067
3068 * java/lang/natRuntime.cc (insertSystemProperties): Set
3069 gnu.classpath.home.url.
3070 * Makefile.in: Rebuilt.
3071 * Makefile.am: Define LIBDIR.
3072
3073 2003-03-25 Michael Koch <konqueror@gmx.de>
3074
3075 * java/io/FileInputStream.java
3076 (read): Renamed b to buf and off to offset.
3077 * java/io/FileOutputStream.java
3078 (ch): Documentation added.
3079 (FileOutputStream): Documentation added.
3080 (getFD): Documentation added.
3081 (write): Documentation added.
3082 (close): Documentation added.
3083 (getChannel): Documentation added.
3084
3085 2003-03-24 Michael Koch <konqueror@gmx.de>
3086
3087 * java/io/DataOutputStream.java
3088 (write): Merged from classpath.
3089 * java/io/File.java:
3090 Merged copyrigth with classpath.
3091 * java/io/FileInputStream.java
3092 (getChannel): Made it synchronized instead of using a synchronized
3093 block.
3094 * java/io/FileOutputStream.java: Reformatted.
3095 * java/io/InputStreamReader.java
3096 (InputStreamReader): Renamed enc to encoding_name.
3097 (close): Merged documentation from classpath.
3098 (getEncoding): Merged documentation from classpath.
3099 (ready): Merged documentation from classpath.
3100 (read): Merged documentation from classpath.
3101 * java/io/LineNumberReader.java
3102 (lineNumber): Made it private.
3103 (LineNumberReader): Use Constant instead of a direct value.
3104 * java/io/OutputStreamWriter.java
3105 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3106 documentation from classpath.
3107 (close): Merged documentation from classpath.
3108 (flush): Merged documentation from classpath.
3109 (write): Merged documentation from classpath.
3110 * java/io/PrintStream.java: Reformatted.
3111
3112 2003-03-24 Michael Koch <konqueror@gmx.de>
3113
3114 * javax/swing/text/ComponentView.java
3115 (getComponent): Must be final.
3116 * javax/swing/tree/DefaultTreeCellRenderer.java:
3117 Reformatted.
3118 * javax/swing/undo/StateEditable.java:
3119 Reformatted.
3120
3121 2003-03-24 Michael Koch <konqueror@gmx.de>
3122
3123 * java/rmi/activation/ActivationInstantiator.java:
3124 Reformatted.
3125 * java/rmi/activation/Activator.java:
3126 Reformatted.
3127 * java/rmi/registry/RegistryHandler.java:
3128 Remerged from classpath.
3129
3130 2003-03-24 Michael Koch <konqueror@gmx.de>
3131
3132 * java/util/Date.java:
3133 Fixed documentation starting tag to make javadoc happy.
3134 * java/util/regex/Pattern.java
3135 (Pattern): Implements Serializable.
3136 * java/util/PatternSyntaxException.java
3137 (serialVersionUID): New member variable.
3138
3139 2003-03-24 Michael Koch <koqnueror@gmx.de>
3140
3141 * java/awt/ContainerOrderFocusTraversalPolicy.java
3142 (getFirstComponent): Implemented.
3143 (getLastComponent): Implemented.
3144 (getDefaultComponent): Implemented.
3145 (setImplicitDownCycleTraversal): Fixed implementation.
3146 * java/awt/Robot.java
3147 (Robot): Added documentation.
3148 * java/awt/Toolkit.java
3149 (getFontList): Deprecated.
3150 (getFontMetrics): Deprecated.
3151 (getPrintJob): Added documentation.
3152 (getSystemSelection): Added documentation.
3153 (getLockingKeyState): Added documentation.
3154 (setLockingKeyState): Added documentation.
3155 (createCustomCursor): Added documentation.
3156 (getBestCursorSize): Added documentation.
3157 (getMaximumCursorColors): Added documentation.
3158 (isFrameStateSupported): Added documentation.
3159
3160 2003-03-24 Michael Koch <konqueror@gmx.de>
3161
3162 * java/io/RandomAccessFile.java:
3163 More little merges with classpath. No code changes.
3164
3165 2003-03-24 Michael Koch <konqueror@gmx.de>
3166
3167 * java/net/natInetAddressNoNet.cc:
3168 Include stddef.h.
3169 * java/net/natPlainDatagramSocketImplNoNet.cc:
3170 Fixed inlcude of java/net/DatagramPacket.h.
3171 * java/net/natPlainSocketImplNoNet.cc:
3172 Include some missing classes.
3173
3174 2003-03-24 Michael Koch <konqueror@gmx.de>
3175
3176 * java/awt/dnd/DropTarget.java
3177 (DropTargetAutoScroller): According to the online documentation, this
3178 is protected, but in reality it is public.
3179 * java/awt/dnd/DropTargetContext.java
3180 (TransferableProxy): According to the online documentation, this
3181 is protected, but in reality it is public.
3182
3183 2003-03-24 Michael Koch <konqueror@gmx.de>
3184
3185 * java/io/DataInputStream.java
3186 (): Wrapped documentation line.
3187 (): Fixed @return tag.
3188 * java/io/DataOutputStream.java
3189 (written): Moved to top of class.
3190 (all methods): Merged documentation from classpath.
3191 * java/io/File.java:
3192 Merged copyright year with classpath.
3193 * java/io/FileInputStream.java
3194 (all methods): Merged documentation from classpath.
3195 * java/io/LineNumberReader.java
3196 (getLineNumber): Fixed @return tag.
3197 * java/io/ObjectInputStream.java.
3198 Reformatted.
3199 * java/io/ObjectOutputStream.java:
3200 Reformatted, fixed some @see tags.
3201 * java/io/OutputStreamWriter.java:
3202 Deleted empty line.
3203 * java/io/Writer.java:
3204 Reformatted.
3205
3206 2003-03-24 Michael Koch <konqueror@gmx.de>
3207
3208 * java/awt/Frame.java
3209 (DEFAULT_CURSOR): Fixed @deprecated tag.
3210 (setCursor): Fixed @deprecated tag.
3211
3212 2003-03-24 Michael Koch <konqueror@gmx.de>
3213
3214 * java/beans/beancontext/BeanContextEvent.java:
3215 Reformated.
3216
3217 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3218
3219 * java/lang/natStringBuffer.cc (regionMatches): New function.
3220 * java/lang/String.java (count): Now package-private.
3221 * java/lang/StringBuffer.java: Merged with Classpath.
3222
3223 2003-03-23 Michael Koch <konqueror@gmx.de>
3224
3225 * java/io/BufferedOutputStream.java:
3226 Reformated.
3227 * java/io/BufferedReader.java:
3228 Reformated.
3229 * java/io/ByteArrayOutputStream.java
3230 (size): Fixed @see tag.
3231 * java/io/CharArrayWriter.java
3232 (size): Fixed @see tag.
3233 * java/io/DataInput.java:
3234 Reformated.
3235 * java/io/DataOutput.java:
3236 Reformated.
3237 * java/io/DataOutputStream.java:
3238 Merged copyright years with classpath.
3239 * java/io/Externalizable.java:
3240 Reformated.
3241 * java/io/FileFilter.java:
3242 Reformated.
3243 * java/io/FileInputStream.java:
3244 Merged copyright years with classpath.
3245 * java/io/FileOutputStream.java:
3246 Merged copyright years with classpath.
3247 * java/io/FilePermission.java
3248 (FilePermission): Replaced @XXX with FIXME:.
3249 * java/io/FileWriter.java:
3250 Reformated.
3251 * java/io/FilenameFilter.java:
3252 Reformated.
3253 * java/io/FilterInputStream.java:
3254 Reformated.
3255 * java/io/FilterOutputStream.java:
3256 Reformated.
3257 * java/io/FilterReader.java:
3258 Reformated.
3259 * java/io/FilterWriter.java:
3260 Reformated.
3261 * java/io/LineNumberInputStream.java
3262 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3263 happy.
3264 (getLineNumber): Fixed @return tag.
3265 * java/io/ObjectInput.java:
3266 Reformated.
3267 * java/io/ObjectOutput.java:
3268 Reformated.
3269 * java/io/ObjectStreamClass.java:
3270 Reformated.
3271 * java/io/PrintStream.java:
3272 Merged copyright years with classpath.
3273 * java/io/PushbackReader.java
3274 (PushbackReader): Replaced @code with @param.
3275 * java/io/SerializablePermission.java:
3276 Reformated.
3277 * java/io/StreamTokenizer.java
3278 (resetSyntax): Fixed @see tag.
3279
3280 2003-03-22 Richard Henderson <rth@redhat.com>
3281
3282 * sysdep/ia64/locks.h: Include ia64intrin.h.
3283 (compare_and_swap): Use __sync_bool_compare_and_swap.
3284 (compare_and_swap_release): Expose ar.ccv assignment.
3285
3286 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3287
3288 * include/posix.h: Add suffix for darwin dynamic libraries.
3289
3290 2003-03-21 Michael Koch <konqueror@gmx.de>
3291
3292 * javax/swing/Action.java
3293 (ACCELERATOR_KEY): New constant.
3294 (ACTION_COMMAND_KEY): Likewise.
3295 (MNEMONIC_KEY): Likewise.
3296 * javax/swing/UnsupportedLookAndFeelException.java
3297 (UnsupportedLookAndFeelException): Must be public.
3298 * javax/swing/WindowConstants.java
3299 (EXIT_ON_CLOSE): New constant.
3300 * javax/swing/text/BadLocationException.java
3301 (offset): New member variable.
3302 (BadLocationException): New implementation, documentation added.
3303 (offsetRequested): New method.
3304 * javax/swing/text/Caret.java:
3305 Reformated.
3306 * javax/swing/text/Document.java:
3307 Reformated.
3308
3309 2003-03-21 Michael Koch <konqueror@gmx.de>
3310
3311 * java/rmi/activation/Activatable.java
3312 (serialVersionUID): New member variable.
3313 * java/rmi/activation/ActivationGroup.java
3314 (serialVersionUID): New member variable.
3315 * java/rmi/activation/ActivationGroupDesc.java
3316 (serialVersionUID): New member variable.
3317 * java/rmi/registry/Registry.java:
3318 Reformated.
3319 (Registry): Deprecated.
3320 * java/rmi/server/LoaderHandler.java
3321 Reformated.
3322 (LoaderHandler): Deprecated.
3323 * java/rmi/server/LogStream.java
3324 Reformated.
3325 (LogStream): Deprecated.
3326 * java/rmi/server/Operation.java
3327 (Operation): Deprecated.
3328 * java/rmi/server/RMIFailureHandler.java:
3329 Reformated.
3330 * java/rmi/server/RMISocketFactory.java:
3331 Reformated.
3332 * java/rmi/server/RemoteCall.java
3333 (RemoteCall): Deprecated.
3334 * java/rmi/server/RemoteStub.java:
3335 Reformated.
3336 * java/rmi/server/Skeleton.java
3337 Reformated.
3338 (Skeleton): Deprecated.
3339
3340 2003-03-21 Michael Koch <konqueror@gmx.de>
3341
3342 * java/io/LineNumberReader.java
3343 (LineNumberReader): Merged documentation with classpath.
3344 (getLineNumber): Likewise.
3345 (setLineNumber): Likewise.
3346 (mark): Likewise.
3347 (reset): Likewise.
3348 (read): Likewise.
3349 (readLine): Likewise.
3350 (skip): Likewise.
3351
3352 2003-03-21 Michael Koch <konqueror@gmx.de>
3353
3354 * java/rmi/RMISecurityManager.java
3355 (checkAccept): Removed.
3356 (checkAccess): Likewise.
3357 (checkAccess): Likewise.
3358 (checkAwtEventQueueAccess): Likewise.
3359 (checkConnect): Likewise.
3360 (checkCreateClassLoader): Likewise.
3361 (checkDelete): Likewise.
3362 (checkExec): Likewise.
3363 (checkExit): Likewise.
3364 (checkLink): Likewise.
3365 (checkListen): Likewise.
3366 (checkMemberAccess): Likewise.
3367 (checkMulticast): Likewise.
3368 (checkPackageAccess): Likewise.
3369 (checkPackageDefinition): Likewise.
3370 (checkPermission): Likewise.
3371 (checkPrintJobAccess): Likewise.
3372 (checkPropertiesAccess): Likewise.
3373 (checkPropertyAccess): Likewise.
3374 (checkRead): Likewise.
3375 (checkSecurityAccess): Likewise.
3376 (checkSetFactory): Likewise.
3377 (checkSystemClipboardAccess): Likewise.
3378 (checkTopLevelWindow): Likewise.
3379 (checkWrite): Likewise.
3380
3381 2003-03-20 Michael Koch <konqueror@gmx.de>
3382
3383 * gnu/java/nio/FileChannelImpl.java
3384 (address): Removed.
3385 (map_address): New member variable.
3386 (length): Make it package private.
3387 (fd): Make it package private.
3388 (buf): Make it package private.
3389 (file_obj): Make it package private.
3390 (FileChannelImpl): New constructor.
3391 (nio_mmap_file): Use RawData instead of long.
3392 (nio_munmap_file): Use RawData instead of long.
3393 (nio_msync): Use RawData instead of long.
3394 (implCloseChannel): New implementation using map_address.
3395 (read): Reformated.
3396 (map): Implemented.
3397 (create_direct_mapped_buffer): Implemented, use RawData, throws
3398 IOException.
3399 (force): Use map_address instead of address.
3400 * gnu/java/nio/MappedByteFileBuffer.java
3401 (address): Removed.
3402 (map_address): New member variable.
3403 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3404 (several methods): Use map_address instead of address, replaced long
3405 with RawData where appropriate.
3406 * gnu/java/nio/natFileChannelImpl.cc
3407 (nio_mmap_file): Replaced long with RawData.
3408 (nio_munmap_file): Replaced long with RawData.
3409 (nio_msync): Replaced long with RawData.
3410 * gnu/java/nio/natMappedByteFileBuffer.cc
3411 (several methods): Replaced long with RawData where appropriate.
3412
3413 2003-03-20 Michael Koch <konqueror@gmx.de>
3414
3415 * java/net/InetAddress.java,
3416 java/net/JarURLConnection.java,
3417 java/net/PlainDatagramSocketImpl.java,
3418 java/net/PlainSocketImpl.java,
3419 java/net/URLConnection.java:
3420 Merged copyright statements with classpath for easier merging.
3421
3422 2003-03-20 Michael Koch <konqueror@gmx.de>
3423
3424 * java/io/FileInputStream.java
3425 (getChannel): New implementation.
3426 * java/io/FileOutputStream.java
3427 (ch): New member variable.
3428 (getChannel): Implemented.
3429 * java/io/RandomAccessFile.java
3430 (RandomAccessFile): Throws FileNotFoundException instead of
3431 IOException.
3432 (getChannel): New method.
3433 (ch): New member variable.
3434
3435 2003-03-20 Michael Koch <konqueror@gmx.de>
3436
3437 * java/io/DataOutputStream.java,
3438 java/io/File.java,
3439 java/io/FileInputStream.java,
3440 java/io/FileOutputStream.java,
3441 java/io/InputStreamReader.java,
3442 java/io/LineNumberReader.java,
3443 java/io/OutputStreamWriter.java,
3444 java/io/PrintStream.java,
3445 java/io/RandomAccessFile.java:
3446 Merged copyright statements with classpath for easier merging.
3447
3448 2003-03-19 Michael Koch <konqueror@gmx.de>
3449
3450 * java/lang/Process.java:
3451 Merged from classpath.
3452
3453 2003-03-19 Michael Koch <konqueror@gmx.de>
3454
3455 * java/io/FileOutputStream.java
3456 (FileOutputStream): New constructor, merged from classpath.
3457 * java/io/FileWriter.java
3458 (FileWriter): New constructor, merged from classpath.
3459
3460 2003-03-18 Michael Koch <konqueror@gmx.de>
3461
3462 * java/awt/ScrollPane.java
3463 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3464 (getViewportSize): Likewise.
3465 (addNotify): Likewise.
3466 (removeNotify): Likewise.
3467 * java/awt/ScrollPaneAdjustable.java
3468 (ScrollPaneAdjustable): No longer extends Scrollbar.
3469 * java/beans/beancontext/BeanContextServices.java:
3470 Reformated.
3471 (getService): Added throws TooManyListenersException;
3472 * java/beans/beancontext/BeanContextServicesSupport.java:
3473 Reformated.
3474
3475 2003-03-18 Michael Koch <konqueror@gmx.de>
3476
3477 * java/io/BufferedOutputStream.java,
3478 java/io/DataInput.java,
3479 java/io/DataInputStream.java,
3480 java/io/DataOutput.java,
3481 java/io/Externalizable.java:
3482 More merges from classpath.
3483
3484 2003-03-18 Michael Koch <konqueror@gmx.de>
3485
3486 * configure.in: Fixed links to platform dependant java.net files.
3487 * configure: Regenerated.
3488 * java/net/natInetAddress.cc,
3489 java/net/natNetworkInterface.cc,
3490 java/net/natPlainDatagramSocketImpl.cc,
3491 java/net/natPlainSocketImpl.cc:
3492 Removed.
3493
3494 2003-03-18 Michael Koch <konqueror@gmx.de>
3495
3496 * configure.in: Create links to architecture dependent files,
3497 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3498 * configure: Regenerated.
3499 * java/net/natInetAddressNoNet.cc,
3500 java/net/natInetAddressPosix.cc,
3501 java/net/natInetAddressWin32.cc,
3502 java/net/natNetworkInterfaceNoNet.cc,
3503 java/net/natNetworkInterfacePosix.cc,
3504 java/net/natNetworkInterfaceWin32.cc,
3505 java/net/natPlainDatagramSocketImplNoNet.cc,
3506 java/net/natPlainDatagramSocketImplPosix.cc,
3507 java/net/natPlainDatagramSocketImplWin32.cc,
3508 java/net/natPlainSocketImplNoNet.cc,
3509 java/net/natPlainSocketImplPosix.cc,
3510 java/net/natPlainSocketImplWin32.cc: New files.
3511
3512 2003-03-18 Michael Koch <konqueror@gmx.de>
3513
3514 * java/io/BufferedReader.java,
3515 java/io/BufferedWriter.java,
3516 java/io/ByteArrayOutputStream.java,
3517 java/io/FileFilter.java,
3518 java/io/FilePermission.java,
3519 java/io/FileReader.java,
3520 java/io/FileWriter.java,
3521 java/io/FilenameFilter.java,
3522 java/io/FilterInputStream.java,
3523 java/io/FilterOutputStream.java,
3524 java/io/FilterReader.java,
3525 java/io/FilterWriter.java,
3526 java/io/ObjectInput.java,
3527 java/io/ObjectInputValidation.java,
3528 java/io/ObjectOutput.java,
3529 java/io/ObjectStreamField.java,
3530 java/io/PipedInputStream.java,
3531 java/io/PipedReader.java,
3532 java/io/PrintWriter.java,
3533 java/io/PushbackReader.java,
3534 java/io/Reader.java,
3535 java/io/SerializablePermission.java,
3536 java/io/StringReader.java,
3537 java/io/Writer.java:
3538 Merged from classpath.
3539
3540 2003-03-17 Michael Koch <konqueror@gmx.de>
3541
3542 * java/awt/ScrollPaneAdjustable.java:
3543 Compile fixes.
3544
3545 2003-03-17 Michael Koch <konqueror@gmx.de>
3546
3547 * java/net/DatagramSocket.java
3548 (connect): Fixed comment.
3549 * java/nio/ByteBuffer.java
3550 (hasArray): Fixed comment.
3551
3552 2003-03-17 Michael Koch <konqueror@gmx.de>
3553
3554 * java/beans/Beans.java:
3555 Explicitely import classes not packages.
3556 * java/beans/FeatureDescriptor.java
3557 (preferred): New member variable.
3558 (isPreferred): New method.
3559 (setPreferred): New method.
3560 * java/beans/PropertyEditorManager.java:
3561 Explicitely import used classes.
3562 * java/beans/beancontext/BeanContextChild.java:
3563 Added line wrapping.
3564 * java/beans/beancontext/BeanContextChildSupport.java:
3565 Reindented.
3566 * java/beans/beancontext/BeanContextEvent.java:
3567 Reindented.
3568
3569 2003-03-17 Michael Koch <konqueror@gmx.de>
3570
3571 * java/awt/Dialog.java
3572 (Dialog): New constructor, changed implementations, added
3573 documentation.
3574 * java/awt/ScrollPaneAdjustable.java
3575 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3576 Serializable.
3577 (serialVersionUID): New member variable.
3578 (sp): New member variable.
3579 (orientation): New member variable.
3580 (value): New member variable.
3581 (minimum): New member variable.
3582 (maximum): New member variable.
3583 (visibleAmount): New member variable.
3584 (unitIncrement): New member variable.
3585 (blockIncrement): New member variable.
3586 (AdjustmentListener): New member variable.
3587 (ScrollPaneAdjustable): New implementation.
3588 (addAdjustmentListener): New method.
3589 (removeAdjustmentListener): New method.
3590 (getAdjustmentListeners): New method.
3591 (getBlockIncrement): New method.
3592 (getMaximum): New method.
3593 (getMinimum): New method.
3594 (getOrientation): New method.
3595 (getUnitIncrement): New method.
3596 (getValue): New method.
3597 (getVisibleAmount): New method.
3598 (setBlockIncrement): New method.
3599 (setMaximum): Implemented.
3600 (setMinimum): Implemented.
3601 (setUnitIncrement): New method.
3602 (setValue): New method.
3603 (setVisibleAmount): Implemented.
3604 (paramString): New stubbed method.
3605 * java/awt/Window.java
3606 (show): Call setVisible().
3607 (hide): Call setVisible().
3608 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3609 and WINDOW_STATE_CHANGED.
3610 (processWindowFocusEvent): New method.
3611 (processWindowStateEvent): New method.
3612 (postEvent): Deprecated.
3613 (applyResourceBundle): Deprecated.
3614 * java/awt/datatransfer/DataFlavor.java
3615 (DataFlavor): Doesn't thow ClassNotFoundException.
3616
3617 2003-03-17 Michael Koch
3618
3619 * javax/print/attribute/Attribute.java,
3620 javax/print/attribute/AttributeSet.java,
3621 javax/print/attribute/PrintRequestAttributeSet.java:
3622 New files.
3623 * Makefile.am
3624 (javax_source_files): Added new files:
3625 javax/print/attribute/Attribute.java
3626 javax/print/attribute/AttributeSet.java
3627 javax/print/attribute/PrintRequestAttributeSet.java
3628 * Makefile.in: Regenerated.
3629
3630 2003-03-17 Michael Koch
3631
3632 * javax/print/attribute/Attribute.java,
3633 javax/print/attribute/AttributeSet.java,
3634 javax/print/attribute/PrintRequestAttributeSet.java:
3635 New files.
3636 * Makefile.am
3637 (awt_java_source_files): Added new files:
3638 javax/print/attribute/Attribute.java
3639 javax/print/attribute/AttributeSet.java
3640 javax/print/attribute/PrintRequestAttributeSet.java
3641 * Makefile.in: Regenerated.
3642
3643 2003-03-16 Tom Tromey <tromey@redhat.com>
3644
3645 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3646 Include platform.h.
3647 * java/lang/natRuntime.cc (insertSystemProperties): Use
3648 _Jv_platform_path_separator.
3649 (nativeGetLibname): Use _Jv_platform_file_separator.
3650 (_load): Use _Jv_platform_onload_names.
3651 (onload_names): New global.
3652 * include/win32.h (_Jv_platform_file_separator): New define.
3653 (_Jv_platform_path_separator): Likewise.
3654 (_Jv_platform_onload_names): Likewise.
3655 (_Jv_platform_ffi_abi): Likewise.
3656 * include/posix.h (_Jv_platform_file_separator): New define.
3657 (_Jv_platform_path_separator): Likewise.
3658 (_Jv_platform_onload_names): Likewise.
3659 (_Jv_platform_ffi_abi): Likewise.
3660
3661 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3662
3663 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3664
3665 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3666
3667 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3668 hierarchy loop.
3669 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3670 list to Object,ObjectStreamClass, moved callReadMethod code up into
3671 readObject and added Class argument to all setXxxField calls.
3672 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3673 consistent with ObjectOutputStream and to facilitate caching the
3674 Method in the future.
3675 (setBooleanField): Added Class argument.
3676 (setByteField): Likewise.
3677 (setCharField): Likewise.
3678 (setDoubleField): Likewise.
3679 (setFloatField): Likewise.
3680 (setIntField): Likewise.
3681 (setLongField): Likewise.
3682 (setShortField): Likewise.
3683 (setObjectField): Likewise.
3684 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3685 class hierarchy loop.
3686 (defaultWriteObject): Call writeFields with new argument list.
3687 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3688 list to Object,ObjectStreamClass, moved callWriteMethod up into
3689 writeObject and added Class argument to all getXxxField calls.
3690 (callWriteMethod): Added ObjectStreamClass argument to be able to
3691 get the proper class to call getMethod on (each class can have (or
3692 not have) its own writeObject method).
3693 (getBooleanField): Added Class argument.
3694 (getByteField): Likewise.
3695 (getCharField): Likewise.
3696 (getDoubleField): Likewise.
3697 (getFloatField): Likewise.
3698 (getIntField): Likewise.
3699 (getLongField): Likewise.
3700 (getShortField): Likewise.
3701 (getObjectField): Likewise.
3702 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3703 facilitate caching the Method object in the future.
3704
3705 2003-03-12 Andreas Schwab <schwab@suse.de>
3706
3707 * configure.in: Avoid trailing /. in toolexeclibdir.
3708 * configure: Rebuilt.
3709
3710 2003-03-11 Michael Koch <konqueror@gmx.de>
3711
3712 * gnu/java/nio/ByteBufferImpl.java
3713 (putInt): Use limit() instead of limit.
3714 * gnu/java/nio/CharBufferImpl.java
3715 (slice): Fixed implementation.
3716 (subSequence): Better bounds checking.
3717 * gnu/java/nio/MappedByteFileBuffer.java:
3718 Import all needed classes directly.
3719 * java/nio/ByteBuffer.java
3720 (hashCode): New dummy method.
3721 * java/nio/CharBuffer.java
3722 (array_offset): New member variable.
3723 (hasArray): Fixed documentation.
3724 (arrayOffset): Return array_offset.
3725
3726 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3727
3728 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3729 setter; made return value of getter const char* instead of char*
3730 * prims.cc: removed all references to _Jv_ThisExecutable().
3731 These are in the platform-specific sections now.
3732 * posix.cc: define platform-specific _Jv_ThisExecutable().
3733 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3734 * win32.cc: define platform-specific _Jv_ThisExecutable()
3735 using GetModuleFilename()
3736 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3737 to argv[0] instead of _Jv_ThisExecutable()
3738
3739 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3740
3741 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3742 that is set if we are using addr2name.awk instead of addr2line.
3743 (NameFinder): Set usingAddr2name if using addr2name.awk.
3744 (getExternalLabel): New native method to convert a method
3745 name to an external label.
3746 (lookup): Convert name given by addr2line to an external label
3747 before demangling.
3748
3749 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3750 constant representing the prefix attached to method names to
3751 convert them to an external label.
3752 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3753 using LABEL_PREFIX.
3754
3755 2003-03-10 Tom Tromey <tromey@redhat.com>
3756
3757 * Makefile.in: Rebuilt.
3758 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3759 (JC1FLAGS): Removed -Wno-deprecated.
3760
3761 2003-03-10 Michael Koch <konqueror@gmx.de>
3762
3763 * java/nio/ByteOrder.java
3764 (nativeOrder): Working implementation, added documentation.
3765 (toString): Added documentation.
3766
3767 2003-03-10 Michael Koch <konqueror@gmx.de>
3768
3769 * java/net/DatagramSocket.java,
3770 java/net/MulticastSocket.java,
3771 java/net/Socket.java,
3772 java/net/URL.java,
3773 java/net/URLConnection.java:
3774 Fixed some documentation tags to make javadoc and friends happy.
3775
3776 2003-03-10 Michael Koch <koqnueror@gmx.de>
3777
3778 * java/beans/beancontext/BeanContextServicesSupport.java,
3779 java/beans/beancontext/BeanContextSupport.java: New files.
3780 * Makefile.am
3781 (awt_source_files): Added new files.
3782 * Makefile.in: Regenerated.
3783
3784 2003-03-10 Michael Koch <konqueror@gmx.de>
3785
3786 * java/awt/FocusTraversalPolicy.java
3787 (FocusTraversalPolicy): Documentation added.
3788 (getComponentAfter): Documentation added.
3789 (getComponentBefore): Documentation added.
3790 (getFirstComponent): Documentation added.
3791 (getLastComponent): Documentation added.
3792 (getDefaultComponent): Documentation added.
3793 (getInitialComponent): Documentation added.
3794 * java/awt/ScrollPaneAdjustable.java
3795 (sp): New member variable.
3796 (orientation): New member variable.
3797 (value): New member variable.
3798 (minimum): New member variable.
3799 (maximum): New member variable.
3800 (visibleAmount): New member variable.
3801 (unitIncrement): New member variable.
3802 (blockIncrement): New member variable.
3803 (adjustmentListener): New member variable.
3804 (ScrollPaneAdjustable): Rewrote.
3805 (addAdjustmentListener): New method.
3806 (removeAdjustmentListener): New method.
3807 (getAdjustmentListeners): New method.
3808 (getBlockIncrement): New method.
3809 (getMaximum): New method.
3810 (getMinimum): New method.
3811 (getOrientation): New method.
3812 (getUnitIncrement): New method.
3813 (getValue): New method.
3814 (getVisibleAmount): New method.
3815 (setBlockIncrement): New method.
3816 (setUnitIncrement): New method.
3817 (setMaximum): Implemented.
3818 (setMinimum): Implemented.
3819 (setValue): New method.
3820 (setVisibleAmount): Implemented.
3821 (paramString): New method.
3822 * java/awt/Window.java
3823 (show): Use setVisible(true) instead of super.show().
3824 (hide): Use sevVisible(false) instead of super.hide().
3825 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3826 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3827 (postEvent): Deprecated.
3828 (applyResourceBundle): Deprecated.
3829 (processWindowFocusEvent): New method.
3830 (processWindowStateEvent): New method.
3831 * java/awt/datatransfer/DataFlavor.java: Reindented.
3832 * java/awt/font/TextHitInfo.java
3833 (charIndex): New member variable.
3834 (leadingEdge): New member variable.
3835 (TextHitInfo): New constructor.
3836 (getCharIndex): Implemented.
3837 (isLeadingEdge): Implemented.
3838 (getInsertionIndex): Implemented.
3839 (hashCode): Access charIndex directly.
3840 (equals): Reformated.
3841 (leading): Implemented.
3842 (trailing): Implemented.
3843 (beforeOffset): Implemented.
3844 (afterOffset): Implemented.
3845 (getOtherHit): Implemented.
3846 (getOffsetHit): Implemented.
3847 (toString): Implemented.
3848 * java/awt/image/BufferedImage.java
3849 (BufferedImage): Implements WritableRenderedImage.
3850 (observers): New member variable.
3851 (addTileObserver): New method.
3852 (removeTileObserver): New method.
3853
3854 2003-03-09 Tom Tromey <tromey@redhat.com>
3855
3856 PR libgcj/9934:
3857 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3858 to lseek. Return 0 if we can't compute the value.
3859
3860 2003-03-03 Michael Koch <konqueror@gmx.de>
3861
3862 * java/net/NetworkInterface.java: Merged with classpath.
3863
3864 2003-03-03 Tom Tromey <tromey@redhat.com>
3865
3866 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3867 of bytecode.
3868 (handle_ret_insn): Fail if returning to jsr that appears at end of
3869 bytecode.
3870
3871 2003-03-03 Michael Koch <konqueror@gmx.de>
3872
3873 * Makefile.am
3874 (ordinary_java_source_files):
3875 Added gnu/java/nio/MappedByteFileBuffer.java.
3876 (nat_source_files):
3877 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3878 * Makefile.in: Regenerated.
3879
3880 2003-03-03 Michael Koch <konqueror@gmx.de>
3881
3882 * java/net/DatagramSocket.java
3883 (connect): Merged comment from classpath.
3884 (receive): Merged documentation from classpath.
3885 * java/net/Socket.java
3886 (setSoTimeout): Clarified documentation.
3887 * java/net/URL.java
3888 (getPath): Merged from classpath.
3889 (getUserInfo): Merged from classpath.
3890 (getQuery): Merged from classpath.
3891 * java/net/URLStreamHandler.java
3892 (toExternalForm): Merged from classpath.
3893
3894 2003-03-02 Mark Wielaard <mark@klomp.org>
3895
3896 * java/util/Properties.java (load): Only skip line if the first
3897 character is a comment, whitespaces don't count.
3898
3899 2003-03-02 Michael Koch <konqueror@gmx.de>
3900
3901 * java/net/NetPermission.java:
3902 Merged copyright with classpath.
3903
3904 2003-03-02 Michael Koch <konqueror@gmx.de>
3905
3906 * java/lang/Package.java:
3907 Remerged from classpath.
3908
3909 2003-03-02 Michael Koch <konqueror@gmx.de>
3910
3911 * java/net/HttpURLConnection.java
3912 (HTTP_SERVER_ERROR): Deprecated.
3913 * java/net/MulticastSocket.java
3914 (send): Replaced checkMulticast with appropriate checkPermission call,
3915 deprecated.
3916 * java/net/URLDecoder.java
3917 (decode): Deprecated.
3918 * java/net/URLEncoder.java
3919 (encode): Deprecated.
3920
3921 2003-03-02 Michael Koch <konqueror@gmx.de>
3922
3923 * javax/swing/text/Caret.java
3924 (getMagicCaretPosition): Fixed typo in method name.
3925 * javax/swing/text/DefaultCaret.java
3926 (getMagicCaretPosition): Fixed typo in method name.
3927
3928 2003-03-02 Michael Koch <konqueror@gmx.de>
3929
3930 * java/awt/List.java
3931 (setMultipleSelections): Deprecated.
3932 (delItem): Deprecated.
3933 * java/awt/MenuComponent.java
3934 (getPeer): Deprecated.
3935 * java/awt/ScrollPane.java
3936 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3937 * java/awt/dnd/MouseDragGestureRecognizer.java
3938 (mouseClicked): Added comment.
3939 (mousePressed): Added comment.
3940 (mouseReleased): Added comment.
3941 (mouseEntered): Added comment.
3942 (mouseExited): Added comment.
3943 (mouseDragged): Added comment.
3944 (mouseMoved): Added comment.
3945 * java/awt/event/KeyEvent.java
3946 (KeyEvent): Deprecated.
3947 (setModifiers): Deprecated.
3948
3949 2003-03-02 Michael Koch <konqueror@gmx.de>
3950
3951 * gnu/java/nio/FileChannelImpl.java
3952 (fd): Type FileDescriptor instead of int.
3953 (lengthInternal): Removed.
3954 (FileChannelImpl): Fixed arguments, check type of file object.
3955 (size): Made it native.
3956 (implPosition): New native method.
3957 (implTruncate): New native method.
3958 (position): Implemented.
3959 (truncate): Implemented.
3960 (nio_mmap_file): Changed arguments.
3961 (nio_munmap_file): Changed arguments.
3962 (nio_msync): Changed arguments.
3963 * gnu/java/nio/natFileChannelImpl.cc
3964 (lengthInternal): Removed.
3965 (size): New method.
3966 (implPosition): New method.
3967 (implTruncate): New method.
3968 (nio_mmap_file): Changed arguments.
3969 (nio_munmap_file): Changed arguments.
3970 (nio_msync): Changed arguments.
3971
3972 2003-03-02 Michael Koch <konqueror@gmx.de>
3973
3974 * java/awt/dnd/DropTargetContext.java:
3975 Compile fix: Forgot to commit import.
3976
3977 2003-03-02 Michael Koch <konqueror@gmx.de>
3978
3979 * java/awt/Component.java,
3980 java/awt/ScrollPane.java:
3981 Fixed typos.
3982
3983 2003-03-02 Michael Koch <konqueror@gmx.de>
3984
3985 * java/awt/dnd/DnDEventMulticaster.java: New file.
3986 * java/awt/dnd/DragSource.java
3987 (flavorMap): New member variable.
3988 (dragSourceListener): New member variable.
3989 (dragSourceMotionListener): New member variable.
3990 (getFlavorMap): Implemented.
3991 (createDragGestureRecognizer): Implemented.
3992 (addDragSourceListener): Implemented.
3993 (removeDragSourceListener): Implemented.
3994 (getDragSourceListeners): Implemented.
3995 (addDragSourceMotionListener): Implemented.
3996 (removeDragSourceMotionListener): Implemented.
3997 (getDragSourceMotionListeners): Implemented.
3998 (getListeners): Implemented.
3999 * java/awt/dnd/DragSourceContext.java
4000 (peer): New member variable.
4001 (cursor): New member variable.
4002 (transferable): New member variable.
4003 (trigger): New member variable.
4004 (dragSourceListener): New member variable.
4005 (image): New member variable.
4006 (offset): New member variable.
4007 (DragSourceContext): Implemented.
4008 (getDragSource): Implemented.
4009 (getComponent): Implemented.
4010 (getTrigger): Implemented.
4011 (getSourceActions): Implemented.
4012 (setCursor): Implemented.
4013 (getCursor): Implemented.
4014 (addDragSourceListener): Implemented.
4015 (removeDragSourceListener): Implemented.
4016 (getTransferable): Implemented.
4017 * java/awt/dnd/DropTarget.java
4018 (DropTargetAutoScroller.component): New member variable.
4019 (DropTargetAutoScroller.point): New member variable.
4020 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4021 (DropTargetAutoScroller.updateLocation): Implemented.
4022 (active): Renamed from isActive, defaults to true now.
4023 (component): New member variable.
4024 (flavorMap): New member variable.
4025 (actions): New member variable.
4026 (dropTargetContext): New member variable.
4027 (dropTargetListener): New member variable.
4028 (DropTarget): Implemented.
4029 (getComponent): Implemented.
4030 (setComponent): Implemented.
4031 (setDefaultActions): Implemented.
4032 (getDefaultActions): Implemented.
4033 (setActive): Use active instead of isActive.
4034 (isActive): Use active instead of isActive.
4035 (addDropTargetListener): Implemented.
4036 (removeDropTargetListener): Implemented.
4037 (getFlavorMap): Implemented.
4038 (setFlavorMap): Implemented.
4039 (getDropTargetContext): Implemented.
4040 (createDropTargetContext): Implemented.
4041 (createDropTargetAutoScroller): Implemented.
4042 * java/awt/dnd/DropTargetContext.java
4043 (TransferableProxy.getTransferDataFlavors): Implemented.
4044 (TransferableProxy.isDataFlavorSupported): Implemented.
4045 (TransferableProxy.getTransferData): Implemented.
4046 (dropTarget): New member variable.
4047 (dtcp): New member variable.
4048 (DropTargetContext): New package private constructor.
4049 (getDropTarget): Implemented.
4050 (getComponent): Implemented.
4051 (addNotify): Implemented.
4052 (removeNotify): Implemented.
4053 (getCurrentDataFlavorsAsList): Implemented.
4054 (isDataFlavorSupported): Implemented.
4055 * java/awt/dnd/MouseDragGestureRecognizer.java
4056 (registerListeners): Implemented.
4057 (unregisterListeners): Implemented.
4058 * Makefile.am
4059 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4060 * Makefile.in: Regenerated.
4061
4062 2003-03-02 Michael Koch <konqueror@gmx.de>
4063
4064 * java/awt/Component.java
4065 (eventTypeEnabled): New method.
4066 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4067 * java/awt/Container.java
4068 (changeSupport): New member variable.
4069 (addPropertyChangeListener): New methods.
4070 * java/awt/ContainerOrderFocusTraversalPolicy.java
4071 (ContainerOrderFocusTraversalPolicy): Added comment.
4072 (getComponentAfter): Throw exception, documentation added.
4073 (getComponentBefore): Throw exception, documentation added.
4074 (getFirstComponent): Throw exception, documentation added.
4075 (getLastComponent): Throw exception, documentation added.
4076 (getDefaultComponent): Throw exception, documentation added.
4077 * java/awt/EventQueue.java: Reindented.
4078 * java/awt/FocusTraversalPolicy.java:
4079 (FocusTraversalPolicy): Added comment.
4080 (getComponentAfter): Documentation added.
4081 (getComponentBefore): Documentation added.
4082 (getFirstComponent): Documentation added.
4083 (getLastComponent): Documentation added.
4084 (getDefaultComponent): Documentation added.
4085 (getInitialComponent): Documentation added.
4086 * java/awt/ScrollPane.java
4087 (wheelScrollingEnabled): New member variable.
4088 (ScrollPane): Initialize wheelScollingEnabled.
4089 (eventTypeEnabled): New method.
4090 (isWheelScrollingEnabled): New method.
4091 (setWheelScrollingEnabled): New method.
4092
4093 2003-03-02 Michael Koch <konqueror@gmx.de>
4094
4095 * java/net/DatagramSocket.java
4096 (closed): New member variable.
4097 (close): Use closed variable.
4098 (getInetAddress): No need to call isConnected().
4099 (getPort): No need to call isConnected().
4100 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4101 (isClosed): Reimplemented.
4102
4103 2003-03-02 Michael Koch <konqueror@gmx.de>
4104
4105 * configure.in: Added check for memory mapping of files.
4106 * configure: Regenerated.
4107 * config.h.in: Regenerated.
4108
4109 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4110
4111 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4112 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4113
4114 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4115
4116 * java/io/File.java (normalizePath): Remove trailing separator
4117 on Windows only if path is not of the form "x:\".
4118
4119 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4120 (java::io::File::attr): Change formatting a bit and use
4121 WIN32_EPOCH_MILLIS instead of magic numbers.
4122 (java::io::File::isAbsolute): Path must have at least 3
4123 characters for a UNC network path.
4124 (java::io::File::init_native): Define.
4125 (java::io::File::performCreate): Likewise.
4126 (java::io::File::performSetReadOnly): Likewise.
4127 (java::io::File::performSetLastModified): Likewise.
4128 (java::io::File::performListRoots): Likewise.
4129
4130 2003-03-01 Tom Tromey <tromey@redhat.com>
4131
4132 * java/lang/natObject.cc: Don't include assert.h.
4133 (heavy_lock_obj_finalization_proc): Use JvAssert.
4134 (remove_all_heavy): Likewise.
4135 (_Jv_MonitorEnter): Likewise.
4136 (_Jv_MonitorExit): Likewise.
4137 (wait): Likewise.
4138
4139 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4140
4141 * java/io/File (getAbsolutePath): Prefix drive specifier on
4142 Windows for paths starting with a '\'.
4143 (toURL): Make URL more consistent with what Sun's JDK returns.
4144
4145 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4146 true only if the path is a UNC network path or it starts with a
4147 drive specifier.
4148
4149 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4150 Be prepared to handle either '/' or '\\' in the file path for
4151 Windows if using the "file" protocol.
4152 Canonicalise the file path if using a relative path in the given
4153 context and the "file" protocol.
4154
4155 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4156
4157 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4158 program array element passed to CreateProcess.
4159
4160 2003-03-01 Tom Tromey <tromey@redhat.com>
4161
4162 * java/rmi/registry/RegistryHandler.java: Deprecate.
4163
4164 2003-03-01 Tom Tromey <tromey@redhat.com>
4165
4166 * javax/accessibility/AccessibleEditableText.java,
4167 javax/accessibility/AccessibleHyperlink.java: New versions from
4168 Classpath.
4169
4170 * gnu/java/locale/LocaleInformation_af_ZA.java,
4171 gnu/java/locale/LocaleInformation_ar_AE.java,
4172 gnu/java/locale/LocaleInformation_ar_BH.java,
4173 gnu/java/locale/LocaleInformation_ar_DZ.java,
4174 gnu/java/locale/LocaleInformation_ar_EG.java,
4175 gnu/java/locale/LocaleInformation_ar_IN.java,
4176 gnu/java/locale/LocaleInformation_ar_IQ.java,
4177 gnu/java/locale/LocaleInformation_ar_JO.java,
4178 gnu/java/locale/LocaleInformation_ar_KW.java,
4179 gnu/java/locale/LocaleInformation_ar_LB.java,
4180 gnu/java/locale/LocaleInformation_ar_LY.java,
4181 gnu/java/locale/LocaleInformation_ar_MA.java,
4182 gnu/java/locale/LocaleInformation_ar_OM.java,
4183 gnu/java/locale/LocaleInformation_ar_QA.java,
4184 gnu/java/locale/LocaleInformation_ar_SD.java,
4185 gnu/java/locale/LocaleInformation_ar_SY.java,
4186 gnu/java/locale/LocaleInformation_ar_TN.java,
4187 gnu/java/locale/LocaleInformation_ar_YE.java,
4188 gnu/java/locale/LocaleInformation_be_BY.java,
4189 gnu/java/locale/LocaleInformation_bn_IN.java,
4190 gnu/java/locale/LocaleInformation_br_FR.java,
4191 gnu/java/locale/LocaleInformation_bs_BA.java,
4192 gnu/java/locale/LocaleInformation_ca_ES.java,
4193 gnu/java/locale/LocaleInformation_cs_CZ.java,
4194 gnu/java/locale/LocaleInformation_cy_GB.java,
4195 gnu/java/locale/LocaleInformation_da_DK.java,
4196 gnu/java/locale/LocaleInformation_de_AT.java,
4197 gnu/java/locale/LocaleInformation_de_BE.java,
4198 gnu/java/locale/LocaleInformation_de_CH.java,
4199 gnu/java/locale/LocaleInformation_de_DE.java,
4200 gnu/java/locale/LocaleInformation_de_LU.java,
4201 gnu/java/locale/LocaleInformation_el_GR.java,
4202 gnu/java/locale/LocaleInformation_en_AU.java,
4203 gnu/java/locale/LocaleInformation_en_BW.java,
4204 gnu/java/locale/LocaleInformation_en_CA.java,
4205 gnu/java/locale/LocaleInformation_en_DK.java,
4206 gnu/java/locale/LocaleInformation_en_GB.java,
4207 gnu/java/locale/LocaleInformation_en_HK.java,
4208 gnu/java/locale/LocaleInformation_en_IE.java,
4209 gnu/java/locale/LocaleInformation_en_IN.java,
4210 gnu/java/locale/LocaleInformation_en_NZ.java,
4211 gnu/java/locale/LocaleInformation_en_PH.java,
4212 gnu/java/locale/LocaleInformation_en_SG.java,
4213 gnu/java/locale/LocaleInformation_en_US.java,
4214 gnu/java/locale/LocaleInformation_en_ZA.java,
4215 gnu/java/locale/LocaleInformation_en_ZW.java,
4216 gnu/java/locale/LocaleInformation_es_AR.java,
4217 gnu/java/locale/LocaleInformation_es_BO.java,
4218 gnu/java/locale/LocaleInformation_es_CL.java,
4219 gnu/java/locale/LocaleInformation_es_CO.java,
4220 gnu/java/locale/LocaleInformation_es_CR.java,
4221 gnu/java/locale/LocaleInformation_es_DO.java,
4222 gnu/java/locale/LocaleInformation_es_EC.java,
4223 gnu/java/locale/LocaleInformation_es_ES.java,
4224 gnu/java/locale/LocaleInformation_es_GT.java,
4225 gnu/java/locale/LocaleInformation_es_HN.java,
4226 gnu/java/locale/LocaleInformation_es_MX.java,
4227 gnu/java/locale/LocaleInformation_es_NI.java,
4228 gnu/java/locale/LocaleInformation_es_PA.java,
4229 gnu/java/locale/LocaleInformation_es_PE.java,
4230 gnu/java/locale/LocaleInformation_es_PR.java,
4231 gnu/java/locale/LocaleInformation_es_PY.java,
4232 gnu/java/locale/LocaleInformation_es_SV.java,
4233 gnu/java/locale/LocaleInformation_es_US.java,
4234 gnu/java/locale/LocaleInformation_es_UY.java,
4235 gnu/java/locale/LocaleInformation_es_VE.java,
4236 gnu/java/locale/LocaleInformation_et_EE.java,
4237 gnu/java/locale/LocaleInformation_eu_ES.java,
4238 gnu/java/locale/LocaleInformation_fa_IR.java,
4239 gnu/java/locale/LocaleInformation_fi_FI.java,
4240 gnu/java/locale/LocaleInformation_fo_FO.java,
4241 gnu/java/locale/LocaleInformation_fr_BE.java,
4242 gnu/java/locale/LocaleInformation_fr_CA.java,
4243 gnu/java/locale/LocaleInformation_fr_CH.java,
4244 gnu/java/locale/LocaleInformation_fr_FR.java,
4245 gnu/java/locale/LocaleInformation_fr_LU.java,
4246 gnu/java/locale/LocaleInformation_ga_IE.java,
4247 gnu/java/locale/LocaleInformation_gd_GB.java,
4248 gnu/java/locale/LocaleInformation_gl_ES.java,
4249 gnu/java/locale/LocaleInformation_gv_GB.java,
4250 gnu/java/locale/LocaleInformation_he_IL.java,
4251 gnu/java/locale/LocaleInformation_hi_IN.java,
4252 gnu/java/locale/LocaleInformation_hr_HR.java,
4253 gnu/java/locale/LocaleInformation_hu_HU.java,
4254 gnu/java/locale/LocaleInformation_id_ID.java,
4255 gnu/java/locale/LocaleInformation_it_CH.java,
4256 gnu/java/locale/LocaleInformation_it_IT.java,
4257 gnu/java/locale/LocaleInformation_iw_IL.java,
4258 gnu/java/locale/LocaleInformation_ja_JP.java,
4259 gnu/java/locale/LocaleInformation_ka_GE.java,
4260 gnu/java/locale/LocaleInformation_kl_GL.java,
4261 gnu/java/locale/LocaleInformation_ko_KR.java,
4262 gnu/java/locale/LocaleInformation_kw_GB.java,
4263 gnu/java/locale/LocaleInformation_lt_LT.java,
4264 gnu/java/locale/LocaleInformation_lv_LV.java,
4265 gnu/java/locale/LocaleInformation_mi_NZ.java,
4266 gnu/java/locale/LocaleInformation_mk_MK.java,
4267 gnu/java/locale/LocaleInformation_mr_IN.java,
4268 gnu/java/locale/LocaleInformation_mt_MT.java,
4269 gnu/java/locale/LocaleInformation_nl_BE.java,
4270 gnu/java/locale/LocaleInformation_nl_NL.java,
4271 gnu/java/locale/LocaleInformation_nn_NO.java,
4272 gnu/java/locale/LocaleInformation_no_NO.java,
4273 gnu/java/locale/LocaleInformation_oc_FR.java,
4274 gnu/java/locale/LocaleInformation_pl_PL.java,
4275 gnu/java/locale/LocaleInformation_pt_BR.java,
4276 gnu/java/locale/LocaleInformation_pt_PT.java,
4277 gnu/java/locale/LocaleInformation_ro_RO.java,
4278 gnu/java/locale/LocaleInformation_ru_RU.java,
4279 gnu/java/locale/LocaleInformation_ru_UA.java,
4280 gnu/java/locale/LocaleInformation_se_NO.java,
4281 gnu/java/locale/LocaleInformation_sk_SK.java,
4282 gnu/java/locale/LocaleInformation_sl_SI.java,
4283 gnu/java/locale/LocaleInformation_sq_AL.java,
4284 gnu/java/locale/LocaleInformation_sr_YU.java,
4285 gnu/java/locale/LocaleInformation_sv_FI.java,
4286 gnu/java/locale/LocaleInformation_sv_SE.java,
4287 gnu/java/locale/LocaleInformation_ta_IN.java,
4288 gnu/java/locale/LocaleInformation_te_IN.java,
4289 gnu/java/locale/LocaleInformation_tg_TJ.java,
4290 gnu/java/locale/LocaleInformation_tl_PH.java,
4291 gnu/java/locale/LocaleInformation_tr_TR.java,
4292 gnu/java/locale/LocaleInformation_uk_UA.java,
4293 gnu/java/locale/LocaleInformation_ur_PK.java,
4294 gnu/java/locale/LocaleInformation_uz_UZ.java,
4295 gnu/java/locale/LocaleInformation_vi_VN.java,
4296 gnu/java/locale/LocaleInformation_yi_US.java,
4297 gnu/java/locale/LocaleInformation_zh_CN.java,
4298 gnu/java/locale/LocaleInformation_zh_HK.java,
4299 gnu/java/locale/LocaleInformation_zh_SG.java,
4300 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4301 info; from Classpath.
4302
4303 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4304 isPaintPending): New methods.
4305 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4306 setMaximizedBounds): New methods.
4307 (beginLayout, endLayout, isPaintPending): Likewise.
4308 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4309 (requestFocus): Likewise.
4310 (isObscured): Likewise.
4311 (canDetermineObscurity): Likewise.
4312 (coalescePaintEvent): Likewise.
4313 (updateCursorImmediately): Likewise.
4314 (createVolatileImage): Likewise.
4315 (handlesWheelScrolling): Likewise.
4316 (createBuffers): Likewise.
4317 (getBackBuffer): Likewise.
4318 (flip): Likewise.
4319 (destroyBuffers): Likewise.
4320
4321 * Makefile.in: Rebuilt.
4322 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4323 RobotPeer.java.
4324 * gnu/java/awt/GLightweightPeer.java,
4325 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4326 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4327 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4328 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4329 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4330 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4331 java/awt/dnd/peer/DragSourceContextPeer.java,
4332 java/awt/dnd/peer/DropTargetContextPeer.java,
4333 java/awt/peer/ButtonPeer.java,
4334 java/awt/peer/CheckboxMenuItemPeer.java,
4335 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4336 java/awt/peer/ComponentPeer.java,
4337 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4338 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4339 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4340 java/awt/peer/MenuBarPeer.java,
4341 java/awt/peer/MenuComponentPeer.java,
4342 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4343 java/awt/peer/PopupMenuPeer.java,
4344 java/awt/peer/ScrollPanePeer.java,
4345 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4346 java/awt/peer/TextComponentPeer.java,
4347 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4348 New versions from Classpath.
4349 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4350 * java/awt/peer/RobotPeer.java: Likewise.
4351
4352 2003-03-01 Mark Wielaard <mark@klomp.org>
4353
4354 * java/io/ObjectInputStream.java: Reindent.
4355 * java/io/ObjectOutputStream.java: Likewise.
4356
4357 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4358
4359 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4360 jvalue for each argument. Simplify.
4361 * testsuite/libjava.jni/calls.c (docall),
4362 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4363 misalignment.
4364
4365 2003-02-28 Mark Wielaard <mark@klomp.org>
4366
4367 * Makefile.am (nat_source_files): Remove
4368 java/io/natObjectOutputStream.cc.
4369 * Makefile.in: Regenerated.
4370 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4371 * java/io/ObjectStreamField.java (typename): New field.
4372 (ObjectStreamField(String, Class)): Initialize new field.
4373 (ObjectStreamField(String, String)): New Constructor.
4374 (getTypeCode): Use new field.
4375 (getTypeString): Use new field.
4376 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4377 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4378 Handle reading of Proxy classes. Never drain(), just write
4379 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4380 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4381 (flush): Call flush(), not just drain().
4382 (writeBoolean): Always use blockDataOutput.
4383 (writeByte): Likewise.
4384 (writeShort): Likewise.
4385 (writeChar): Likewise.
4386 (writeInt): Likewise.
4387 (writeLong): Likewise.
4388 (writeFloat): Likewise.
4389 (writeDouble): Likewise.
4390 (writeBytes): Likewise.
4391 (putfield (put(String,Object))): Throw IllegalArgumentException if
4392 field cannot be found.
4393 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4394 (writeArraySizeAndElements): Write byte[] in one go.
4395 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4396 set BlockDataMode to false.
4397 (annotateProxyClass): New method.
4398 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4399 (getField): No longer native.
4400 (getMethod): Likewise.
4401 (setBlockDataMode): Always drain() on switch, return old mode.
4402 (static): New static code block.
4403 * java/io/natObjectOutputStream.cc: Removed.
4404 * java/io/ObjectInputStream.java (getField): No longer native.
4405 (getMethod): Likewise.
4406 (readObject): Remember and reset old BlockDataMode. Track whether
4407 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4408 TC_LONGSTRING.
4409 (defaultReadObject): Set BlockDataMode to false during readFields.
4410 (resolveClass): Create new SecurityManager if necessary.
4411 Use Class.forName() if null ClassLoader found.
4412 (read(byte[],int,int): Copy remaining bytes to data before calling
4413 readNextBlock().
4414 (readFields): Set and reset BlockDataMode on call_read_method.
4415 Catch NoSuchFieldErrors.
4416 (setBlockDataMode): Return old mode.
4417 (static): New static code block.
4418 * java/io/natObjectInputStream.cc (getField): Removed.
4419 (getMethod): Likewise.
4420
4421 2003-02-27 Michael Koch <konqueror@gmx.de>
4422
4423 * java/beans/Beans.java,
4424 java/beans/FeatureDescriptor.java
4425 java/beans/PropertyEditorManager.java:
4426 Reformated to GNU style.
4427
4428 2003-02-25 Michael Koch <konqueror@gmx.de>
4429
4430 * gnu/java/nio/MappedByteFileBuffer.java,
4431 gnu/java/nio/natMappedByteFileBuffer.cc:
4432 New files, both are not compiled yet to get not noncompiling CVS.
4433
4434 2003-02-24 Tom Tromey <tromey@redhat.com>
4435
4436 * java/util/prefs/AbstractPreferences.java (isUserNode):
4437 Implemented.
4438
4439 2003-02-24 Tom Tromey <tromey@redhat.com>
4440
4441 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4442 Deprecate.
4443 * java/lang/Thread.java (resume): Deprecate.
4444 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4445 in @deprecated.
4446
4447 2003-02-23 Tom Tromey <tromey@redhat.com>
4448
4449 * Makefile.in: Rebuilt.
4450 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4451
4452 2003-02-23 Tom Tromey <tromey@redhat.com>
4453
4454 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4455 libraries): Removed.
4456 (add_library): Removed.
4457 (_load): Don't call add_library.
4458 (loadLibraryInternal): Likewise.
4459 (init): Likewise.
4460 (lookup_data): New struct.
4461 (find_symbol): New function.
4462 (_Jv_FindSymbolInExecutable): Use it.
4463
4464 2002-02-21 Anthony Green <green@redhat.com>
4465
4466 * java/lang/Thread.java (Thread): New constructor taking stack
4467 size parameter (ignored for now).
4468 * Many methods: Merged GNU Classpath documentation.
4469
4470 * java/lang/Class.java (finalize): throws a Throwable.
4471
4472 2003-02-21 Mark Wielaard <mark@klomp.org>
4473
4474 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4475 argument is null.
4476
4477 2003-02-21 Mark Wielaard <mark@klomp.org>
4478
4479 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4480 then 65535 chars throw IllegalArgumentException.
4481
4482 2003-02-21 Mark Wielaard <mark@klomp.org>
4483
4484 * java/util/zip/ZipFile.java (finalize): New method.
4485
4486 2003-02-21 Michael Koch <konqueror@gmx.de>
4487
4488 * gnu/java/nio/natSocketChannelImpl.cc:
4489 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4490 <cato@df.lth.se> for pointing to it.
4491
4492 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4493
4494 * java/math/BigInteger.java (euclidInv): Take result array as an
4495 argument. Updated all callers.
4496 (modInverse): Removed unused variables.
4497
4498 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4499
4500 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4501 config.status.
4502 * configure: Rebuilt.
4503
4504 2003-02-19 Michael Koch <konqueror@gmx.de>
4505
4506 * gnu/java/nio/natSocketChannelImpl.cc:
4507 Added support for platforms without network support.
4508
4509 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4510
4511 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4512 after config.h. Use <> for consistency.
4513 * java/lang/natObject.cc: Likewise.
4514 * java/lang/natRuntime.cc: Likewise.
4515 * java/lang/natSystem.cc: Likewise.
4516 * java/util/natTimeZone.cc: Likewise.
4517 * win32.cc: Likewise.
4518 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4519 listen, write, read): Undef to avoid interference from OS macros.
4520
4521 2003-02-19 Michael Koch <konqueror@gmx.de>
4522
4523 * gnu/java/nio/ByteBufferImpl.java
4524 (ByteBufferImpl): Renamed two variables.
4525 * gnu/java/nio/CharBufferImpl.java
4526 (CharBufferImpl): Renamed two variables.
4527 * gnu/java/nio/DoubleBufferImpl.java
4528 (DoubleBufferImpl): Renamed two variables.
4529 * gnu/java/nio/FloatBufferImpl.java
4530 (FloatBufferImpl): Renamed two variables.
4531 * gnu/java/nio/IntBufferImpl.java
4532 (IntBufferImpl): Renamed two variables.
4533 * gnu/java/nio/LongBufferImpl.java
4534 (LongBufferImpl): Renamed two variables.
4535 * gnu/java/nio/ShortBufferImpl.java
4536 (ShortBufferImpl): Renamed two variables.
4537 * java/nio/CharBuffer.java
4538 (wrap): Fixed arguments to CharBufferImpl constructor.
4539 (hasArray): Only not read-only buffers have backing arrays.
4540 (length): Documentation added.
4541 (subSequence): Documentation added.
4542 * java/nio/DoubleBuffer.java
4543 (hasArray): Only not read-only buffers have backing arrays.
4544 * java/nio/FloatBuffer.java
4545 (hasArray): Only not read-only buffers have backing arrays.
4546 * java/nio/IntBuffer.java
4547 (hasArray): Only not read-only buffers have backing arrays.
4548 * java/nio/LongBuffer.java
4549 (hasArray): Only not read-only buffers have backing arrays.
4550 * java/nio/ShortBuffer.java
4551 (hasArray): Only not read-only buffers have backing arrays.
4552
4553 2003-02-19 Michael Koch <konqueror@gmx.de>
4554
4555 * javax/accessibility/AccessibleContext.java
4556 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4557
4558 2003-02-19 Michael Koch <konqueror@gmx.de>
4559
4560 * java/awt/ScrollPaneAdjustable.java: Reformated.
4561
4562 2003-02-19 Michael Koch <konqueror@gmx.de>
4563
4564 * gnu/awt/j2d/Graphics2DImpl.java
4565 (getFontRenderContext): New method.
4566 (drawGlyphVector): New method.
4567 * java/awt/Graphics2D.java
4568 (getFontRenderContext): New abstract method.
4569 (drawGlyphVector): New abstract method.
4570
4571 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4572
4573 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4574 if necessary.
4575
4576 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4577 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4578 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4579 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4580 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4581 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4582 (setFont, gtkSetFont): add.
4583 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4584 Propagate font to peer. (setFont): add FIXME comment.
4585
4586 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4587 (gtkTextGetSize): fix height, width computation.
4588
4589 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4590 Make X font name a bit less bogus.
4591
4592 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4593 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4594
4595 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4596 (processAdjustmentEvent): Adjust value.
4597
4598 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4599 logic errors.
4600
4601 * java/awt/Component.java (setVisible, show, hide): Call show and
4602 hide methods in subclasses.
4603 (getPreferredSize): don't set prefSize before we have peer.
4604
4605 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4606 Guess (0,0) if we don't have peer.
4607
4608
4609 2003-02-18 Michael Koch <konqueror@gmx.de>
4610
4611 * java/nio/channels/FileChannel.java
4612 (toString): New implementation, added documentation.
4613 (map): Added exception documentation.
4614 (size): Added exception documentation.
4615 (write): New methods, documentation work.
4616 (read): New methods, documentation work.
4617 (implCloseChannel): Rewrote exception documentation.
4618 (force): Throws IOException, added documentation.
4619 (lock): New methods.
4620 (tryLock): New methods.
4621 (position): New methods.
4622 (transferTo): New method.
4623 (transferFrom): New method.
4624 (truncate): New method.
4625 * java/nio/channels/spi/SelectorProvider.java
4626 (provider): Implemented.
4627 * Makefile.am
4628 (ordinary_java_source_files): Added the following files:
4629 gnu/java/nio/DatagramChannelImpl.java
4630 gnu/java/nio/FileChannelImpl.java
4631 gnu/java/nio/PipeImpl.java
4632 gnu/java/nio/SelectionKeyImpl.java
4633 gnu/java/nio/SelectorImpl.java
4634 gnu/java/nio/SelectorProviderImpl.java
4635 gnu/java/nio/ServerSocketChannelImpl.java
4636 gnu/java/nio/SocketChannelImpl.java
4637 java/nio/channels/FileLock.java
4638 (nat_java_source_files): Added the following files:
4639 gnu/java/nio/natFileChannelImpl.cc
4640 gnu/java/nio/natSelectorImpl.cc
4641 gnu/java/nio/natSocketChannelImpl.cc
4642 * Makefile.in: Regenerated.
4643
4644 2003-02-17 Tom Tromey <tromey@redhat.com>
4645
4646 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4647 * java/awt/image/ImageFilter.java: Likewise.
4648
4649 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4650
4651 * java/math/BigInteger.java (euclidInv): Return array of
4652 `BigInteger's. Changed all callers.
4653
4654 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4655
4656 * java/util/Properties.java (store): Move the code formerly in
4657 list(), into this method.
4658 (list (PrintStream)): Just call list (PrintWriter) with a
4659 PrintWriter object constructed from the given PrintStream object.
4660 (list (PrintWriter)): Emulate the output of Properties.list()
4661 as found in JDK 1.3/1.4.
4662
4663 2003-02-17 Michael Koch <konqueror@gmx.de>
4664
4665 * java/net/DatagramSocket.java
4666 (connect): Merged with classpath.
4667 (disconnect): Merged documentation with classpath.
4668 (receice): Merged documentation with classpath.
4669 (send): Merged documentation with classpath.
4670
4671 2003-02-17 Michael Koch <konqueror@gmx.de>
4672
4673 * java/awt/dnd/DragSourceContext.java
4674 (addDragSourceListener): Added documentation.
4675 * java/awt/dnd/DragSourceDragEvent.java
4676 (serialVersionUID): New member variable.
4677 (getDropAction): Reformated.
4678 * java/awt/dnd/DragSourceDropEvent.java
4679 (serialVersionUID): New member variable.
4680 (dropSuccess): Renamed from success for serialization issues.
4681 * java/awt/dnd/DragSourceEvent.java
4682 (serialVersionUID): New member variable.
4683 * java/awt/dnd/DropTarget.java
4684 (serialVersionUID): New member variable.
4685 (DropTarget): Implemented, documentation reworked.
4686 (setComponent): Documentation added.
4687 (getComponent): Documentation added.
4688 (setDefaultActions): Documentation added.
4689 (getDefaultActions): Documentation added.
4690 (addDropTargetListener): Documentation added.
4691 * java/awt/dnd/DropTargetContext.java
4692 (DropTargetContext): Documentation added.
4693 (TransferableProxy.TransferableProxy): New method.
4694 (dropComplete): Fixed documentation.
4695 (getTransferable): Fixed documentation.
4696 (createTransferableProxy): Implemented.
4697 * java/awt/dnd/DropTargetDragEvent.java
4698 (DropTargetDragEvent): Documentation added.
4699 (serialVersionUID): New member variable.
4700 (DropTargetDragEvent): Throw exceptions, documentation added.
4701 (acceptDrag): Implemented.
4702 (getCurrentDataFlavors): Implemented.3yy
4703 (getCurrentDataFlavorsAsList): Implemented.
4704 (isDataFlavorSupported): Implemented.
4705 (rejectDrag): Implemented.
4706 * java/awt/dnd/DropTargetDropEvent.java
4707 (DropTargetDropEvent): Documentation added.
4708 (serialVersionUID): New member variable.
4709 (actions): Renamed from srcActions for serialization issues.
4710 (isLocalTx): Renamed from isLocalTx for serialization issues.
4711 (DropTargetDropEvent): New implementation, throw exceptions,
4712 documentation added.
4713 (getCurrentDataFlavors): Implemented.
4714 (getCurrentDataFlavorsAsList): Implemented.
4715 (isDataFlavorSupported): Implemented.
4716 (getSourceActions): Implemented.
4717 (getDropAction): Implemented.
4718 (getTransferable): Implemented.
4719 (acceptDrop): Implemented.
4720 (rejectDrop): Implemented.
4721 * java/awt/dnd/DropTargetListener.java
4722 (drop): Fixed documentation.
4723 * java/awt/dnd/MouseDragGestureRecognizer.java
4724 (MouseDragGestureRecognizer): Documentation added.
4725
4726 2003-02-17 Michael Koch <konqueror@gmx.de>
4727
4728 * java/awt/font/FontRenderContext.java,
4729 java/awt/font/ShapeGraphicAttribute.java,
4730 java/awt/font/MultipleMaster.java,
4731 java/awt/font/TransformAttribute.java,
4732 java/awt/font/GlyphJustificationInfo.java,
4733 java/awt/font/LineBreakMeasurer.java,
4734 java/awt/font/TextMeasurer.java,
4735 java/awt/font/TextLayout.java,
4736 java/awt/font/LineMetrics.java,
4737 java/awt/font/TextAttribute.java,
4738 java/awt/font/GlyphMetrics.java,
4739 java/awt/font/OpenType.java,
4740 java/awt/font/GlyphVector.java,
4741 java/awt/font/GraphicAttribute.java,
4742 java/awt/font/ImageGraphicAttribute.java,
4743 java/awt/font/NumericShaper.java: New files.
4744 * Makefile.am
4745 (awt_java_source_files): Added the following files:
4746 java/awt/font/FontRenderContext.java
4747 java/awt/font/ShapeGraphicAttribute.java
4748 java/awt/font/MultipleMaster.java
4749 java/awt/font/TransformAttribute.java
4750 java/awt/font/GlyphJustificationInfo.java
4751 java/awt/font/LineBreakMeasurer.java
4752 java/awt/font/TextMeasurer.java
4753 java/awt/font/TextLayout.java
4754 java/awt/font/LineMetrics.java
4755 java/awt/font/TextAttribute.java
4756 java/awt/font/GlyphMetrics.java
4757 java/awt/font/OpenType.java
4758 java/awt/font/GlyphVector.java
4759 java/awt/font/GraphicAttribute.java
4760 java/awt/font/ImageGraphicAttribute.java
4761 java/awt/font/NumericShaper.java
4762 * Makefile.in: Regenerated.
4763
4764 2003-02-17 Michael Koch <konqueror@gmx.de>
4765
4766 * java/awt/print/Paper.java
4767 (Paper): Implements Cloneable.
4768 * java/awt/print/PrinterJob.java
4769 (setJobName): Return value must be void.
4770 (print): Throws PrinterException.
4771
4772 2003-02-16 Tom Tromey <tromey@redhat.com>
4773
4774 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4775 variable.
4776
4777 2003-02-15 Michael Koch <konqueror@gmx.de>
4778
4779 * java/awt/datatransfer/DataFlavor.java
4780 (isRepresentationClassByteBuffer): Removed try-catch block.
4781 (isRepresentationClassCharBuffer): Removed try-catch block.
4782 (isRepresentationClassReader): Removed try-catch block.
4783
4784 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4785
4786 * java/nio/charset/Charset.java
4787 (isRegistered): Fixed method args and implementation.
4788 * java/nio/charset/CharsetEncoder.java
4789 (unmappableCharacterAction): New method.
4790
4791 2003-02-15 Michael Koch <konqueror@gmx.de>
4792
4793 * java/awt/CheckboxMenuItem.java
4794 (CheckBoxMenuItem): Dont implement Serializable.
4795 (getListeners): New method,
4796 (getItemListeners): New method.
4797 * java/awt/Choice.java
4798 (getListeners): New method,
4799 (getItemListeners): New method.
4800 * java/awt/Container.java
4801 (getListeners): Added exception documentation.
4802 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4803 (getFocusTraversalKeys): Added documentation.
4804 (areFocusTraversalKeysSet): Added documentation.
4805 (applyComponentOrientation): Added documentation.
4806 * java/awt/ContainerOrderFocusTraversalPolicy.java
4807 (implicitDownCycleTraversal): Renamed from downCycle for
4808 serialization.
4809 (ContainerOrderFocusTraversalPolicy): Added documentation.
4810 (accept): Reformated.
4811 * java/awt/Dialog.java
4812 (Dialog): Dont implement Serializable.
4813 (Dialog): Added documentation.
4814 * java/awt/Font.java
4815 (Font): Dont use absolute class name.
4816 * java/awt/Frame.java
4817 (Frame): Font implement Serializable.
4818 * java/awt/List.java
4819 (getListeners): New method,
4820 (getActionListeners): New method.
4821 (getItemListeners): New method.
4822 * java/awt/Menu.java
4823 (countItems): New deprecated method.
4824 * java/awt/Scrollbar.java
4825 (getListeners): New method,
4826 (getAdjustmentListeners): New method,
4827 * java/awt/TextComponent.java
4828 (getListeners): New method,
4829 (getTextListeners): New method,
4830 * java/awt/TextField.java
4831 (getListeners): New method,
4832 (getActionListeners): New method.
4833 * java/awt/Window.java
4834 (windowFocusListener): New member variable.
4835 (windowStateListener): New member variable.
4836 (getWindowFocusListeners): New method.
4837 (getWindowStateListeners): New method.
4838 (addWindowFocusListener): New method.
4839 (addWindowStateListener): New method.
4840 (removeWindowFocusListener): New method.
4841 (removeWindowStateListener): New method.
4842 * java/awt/datatransfer/DataFlavor.java
4843 (isRepresentationClassByteBuffer): New method.
4844 (isRepresentationClassCharBuffer): New method.
4845 (isRepresentationClassReader): New method.
4846
4847 2003-02-14 Mark Wielaard <mark@klomp.org>
4848
4849 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4850 zero when there is an exponent and the significant is zero.
4851 (divide): Always set scale to newScale even in special ZERO case.
4852
4853 2003-02-14 Tom Tromey <tromey@redhat.com>
4854
4855 * java/lang/System.java (properties): Use Properties.clone.
4856 (setProperties): Likewise.
4857
4858 2003-02-14 Michael Koch <konqueror@gmx.de>
4859
4860 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4861 * gnu/java/nio/ServerSocketChannelImpl.java
4862 (SocketAccept): Removed.
4863 (accept): Commented out use of SocketAccept.
4864
4865 2003-02-13 Tom Tromey <tromey@redhat.com>
4866
4867 * verify.cc (state::seen_subrs): New field.
4868 (state::state): Initialize it.
4869 (state::clean_subrs): New method.
4870 (state::~state): Call it.
4871 (state::copy): Copy subroutine list.
4872 (state::add_subr): New method.
4873 (state::merge): Only register a change if the current subroutine
4874 hasn't yet been noted.
4875
4876 2003-02-13 Mark Wielaard <mark@klomp.org>
4877
4878 * java/io/InputStreamReader.java (getEncoding): Return null when
4879 closed.
4880 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4881
4882 2003-02-13 Mark Wielaard <mark@klomp.org>
4883
4884 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4885 is zero.
4886
4887 2003-02-13 Mark Wielaard <mark@klomp.org>
4888
4889 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4890 next byte cannot be buffered.
4891
4892 2003-02-13 Michael Koch <konqueror@gmx.de>
4893
4894 * java/awt/Label.java
4895 (Label): Don't implement Serializable directly.
4896 (addNotify): Fixed typo in documentation.
4897 * java/awt/List.java
4898 (List): Don't implement Serializable directly.
4899 * java/awt/PopupMenu.java
4900 (PopupMenu): Don't implement Serializable directly.
4901 * java/awt/ScrollPane.java
4902 (ScrollPane): Don't implement Serializable directly.
4903 * java/awt/Scrollbar.java
4904 (Scrollbar): Don't implement Serializable directly.
4905 * java/awt/TextArea.java
4906 (preferredSize): Fixed method arguments.
4907 * java/awt/TextField.java
4908 (TextField): Don't implement Serializable directly.
4909 * java/awt/color/ICC_ColorSpace.java
4910 (fromCIOXYZ): Documentation added.
4911 (getMinValue): Documentation added.
4912 (getMaxValue): Documentation added.
4913 * java/awt/datatransfer/DataFlavor.java
4914 (isMimeTypeEqual): May not be final.
4915 (clone): Throws CloneNotSupportedException.
4916 (getReaderForText): Don't throws UnsupportedEncodingException.
4917
4918 2003-02-13 Michael Koch <konqueror@gmx.de>
4919
4920 * gnu/java/awt/peer/gtk/GdkGraphics.java
4921 (drawString): New stubbed method.
4922 * java/awt/Graphics.java
4923 (drawString): New method.
4924
4925 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4926
4927 PR libgcj/9271:
4928 * java/security/SecureRandom.java (next): Avoid bias in results.
4929
4930 2003-02-13 Michael <konqueror@gmx.de>
4931
4932 * gnu/java/nio/FileChannelImpl.java
4933 (lengthInternal): Must be native.
4934 (size): Check if channel is already closed.
4935 (implCloseChannel): Reformated.
4936 (read): w was unused, removed it.
4937 (read): Removed.
4938 (read): New method.
4939 (write): New method.
4940 (map): Check arguments.
4941 (force): Throws IOException, check if channel is closed.
4942 (transferTo): New method.
4943 (transferFrom): New method.
4944 (lock): New method.
4945 (tryLock): New method.
4946 (position): New method.
4947 (truncate): New method.
4948 (nio_mmap_file): Uncommented.
4949 (nio_munmap_file): Uncommented.
4950 (nio_msync): Uncommented.
4951 * gnu/java/nio/natFileChannelImpl.cc: New file.
4952
4953 2003-02-13 Michael Koch <konqueror@gmx.de>
4954
4955 * java/nio/ByteBuffer.java
4956 (endian): New member variable.
4957 (get): New methods.
4958 (equals): New method.
4959 (compareTo): New method.
4960 (order): New methods.
4961 (compact): New method.
4962 (isDirect): New method.
4963 (slice): New method.
4964 (duplicate): New method.
4965 (asReadOnlyBuffer): New method.
4966 (asCharBuffer): New method.
4967 (asDoubleBuffer): New method.
4968 (asFloatBuffer): New method.
4969 (asIntBuffer): New method.
4970 (asLongBuffer): New method.
4971 (asShortBuffer): New method.
4972 (get*): New methods.
4973 (put*): New methods.
4974 (toString): New method.
4975 * java/nio/CharBuffer.java
4976 (CharBuffer): Implement Comparable instead of Cloneable.
4977 (get): May not be final.
4978 (put): May not be final.
4979
4980 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4981
4982 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4983 lastIndexOf( ) instead of indexOf( ) to find the colon before
4984 the line number, because Win32 file names might contain a
4985 drive letter and a colon at the start of an absolute path.
4986
4987 2003-02-13 Michael Koch <konqueror@gmx.de>
4988
4989 * gnu/java/nio/natSocketChannelImpl.cc
4990 (SocketConnect): This is not implemented yet.
4991 (SocketBind): This is not implemented yet.
4992
4993 2003-02-13 Michael Koch <konqueror@gmx.de>
4994
4995 * gnu/java/nio/natByteBufferImpl.cc,
4996 gnu/java/nio/natCharBufferImpl.cc,
4997 gnu/java/nio/natDoubleBufferImpl.cc,
4998 gnu/java/nio/natFloatBufferImpl.cc,
4999 gnu/java/nio/natIntBufferImpl.cc,
5000 gnu/java/nio/natLongBufferImpl.cc,
5001 gnu/java/nio/natShortBufferImpl.cc:
5002 Added copyright and license.
5003 * java/nio/DoubleBuffer.java,
5004 java/nio/FloatBuffer.java,
5005 java/nio/IntBuffer.java,
5006 java/nio/LongBuffer.java,
5007 java/nio/ShortBuffer.java
5008 (array): Throw exceptions.
5009 (arrayOffset): Throw exceptions.
5010
5011 2003-02-13 Michael Koch <konqueror@gmx.de>
5012
5013 * gnu/java/util/prefs/FileBasedFactory.java,
5014 gnu/java/util/prefs/MemmoryBasedFactory.java,
5015 gnu/java/util/prefs/MemoryBasedPreferences.java,
5016 gnu/java/util/prefs/NodeReader.java,
5017 gnu/java/util/prefs/NodeWriter.java,
5018 java/util/prefs/AbstractPreferences.java,
5019 java/util/prefs/BackingStoreException.java,
5020 java/util/prefs/InvalidPreferencesFormatException.java,
5021 java/util/prefs/NodeChangeEvent.java,
5022 java/util/prefs/NodeChangeListener.java,
5023 java/util/prefs/PreferenceChangeEvent.java,
5024 java/util/prefs/PreferenceChangeListener.java,
5025 java/util/prefs/Preferences.java,
5026 java/util/prefs/PreferencesFactory.java:
5027 New files, all merged from classpath.
5028 * Makefile.am
5029 (ordinary_java_source_files): Added the following files:
5030 gnu/java/util/prefs/FileBasedFactory.java,
5031 gnu/java/util/prefs/MemmoryBasedFactory.java,
5032 gnu/java/util/prefs/MemoryBasedPreferences.java,
5033 gnu/java/util/prefs/NodeReader.java,
5034 gnu/java/util/prefs/NodeWriter.java,
5035 (core_java_source_files): Added the following files:
5036 java/util/prefs/AbstractPreferences.java,
5037 java/util/prefs/BackingStoreException.java,
5038 java/util/prefs/InvalidPreferencesFormatException.java,
5039 java/util/prefs/NodeChangeEvent.java,
5040 java/util/prefs/NodeChangeListener.java,
5041 java/util/prefs/PreferenceChangeEvent.java,
5042 java/util/prefs/PreferenceChangeListener.java,
5043 java/util/prefs/Preferences.java,
5044 java/util/prefs/PreferencesFactory.java
5045 * Makefile.in: Regenerated.
5046
5047 2003-02-13 Michael Koch <konqueror@gmx.de>
5048
5049 * java/net/NetPermission.java
5050 (NetPermission): Make doucmentation match the method declaration.
5051 * java/net/NetworkInterface.java
5052 (equals): Reformated for GNU coding style.
5053 * java/net/ServerSocket.java: Merged with classpath.
5054 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5055 * java/net/SocketImpl.java
5056 (localPort): Merged with classpath (initialize with -1).
5057 * java/net/SocketPermission.java: Merged with classpath (reindented).
5058 * java/net/URLDecoder.java: Merged with classpath (reindented).
5059
5060 2003-02-13 Michael Koch <konqueror@gmx.de>
5061
5062 * java/awt/GridBagConstraints.java
5063 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5064 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5065 * java/awt/KeyboardFocusManager.java
5066 (setGlobalCurrentFocusCycleRoot): Must be public.
5067 * java/awt/MenuComponent.java
5068 (MenuComponent): Must be public.
5069 * java/awt/Toolkit.java:
5070 Added some empty lines to make documentation more readable.
5071 (getFontPeer): Added @deprecated.
5072 (getColorModel): Added exception documentation.
5073 (getProperty): Fixed documentation.
5074
5075 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5076
5077 * configure.host (alpha*-*): Default to -mieee.
5078 * configure.in (IEEESPEC): New.
5079 * libgcj.spec.in (jc1): Add IEEESPEC.
5080 * configure: Rebuild.
5081
5082 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5083
5084 * include/win32.h: Include ws2tcpip.h instead of
5085 winsock.h to obtain definition of the socklen_t type.
5086 Remove IP_TOS definition - not needed with ws2tcpip.h
5087 (_Jv_connect): Correct slight formatting error.
5088
5089 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5090
5091 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5092 size of the arguments for a JNI function. For Win32,
5093 modify to search for all forms of possible exported
5094 names of an stdcall JNI function.
5095 (_Jv_JNIMethod::call): Modify to calculate the size
5096 of the arguments passed to a JNI function and pass
5097 it to _Jv_LookupJNIMethod.
5098
5099 2003-02-12 Michael Koch <konqueror@gmx.de>
5100
5101 * java/nio/channels/Channels.java: New file.
5102 * Makefile.am
5103 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5104 * Makefile.in: Regenerated.
5105
5106 2003-02-12 Michael Koch <konqueror@gmx.de>
5107
5108 * java/nio/ByteBuffer.java
5109 (allocate): Implemented.
5110 (wrap): Implemented.
5111 * java/nio/CharBuffer.java:
5112 Some documentation added and reworked.
5113 (endian): Removed.
5114 (allocate): Implemented.
5115 (wrap): Implemented.
5116 (array): Throw exceptions.
5117 (arrayOffset): Throw exceptions.
5118 (toString): Implemented.
5119 (length): Implemented.
5120 (put): Implemented.
5121 (charAt): Implemented.
5122
5123 2003-02-11 John Leuner <jewel@debian.org>
5124
5125 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5126 reads from end of file.
5127
5128 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5129
5130 * java/io/natFileDescriptorWin32.cc
5131 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5132 returns with Win32 error code ERROR_BROKEN_PIPE.
5133
5134 2003-02-11 Michael Koch <konqueror@gmx.de>
5135
5136 * Makefile.in
5137 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5138
5139 2003-02-11 Michael Koch <konqueror@gmx.de>
5140
5141 * gnu/java/nio/ByteBufferImpl.java:
5142 Reformated and removed some code.
5143 (backing_buffer): Removed.
5144 (array_offset): Removed.
5145 (ro): Renamed to readOnly.
5146 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5147 * gnu/java/nio/CharBufferImpl.java:
5148 Reformated and removed some code.
5149 (array_offset): Removed.
5150 (ro): Renamed to readOnly.
5151 (CharBufferImpl): Use parent constructor, initialize readOnly.
5152 (inc_pos): Removed.
5153 (order): New method.
5154 * gnu/java/nio/DoubleBufferImpl.java:
5155 Reformated and removed some code.
5156 (array_offset): Removed.
5157 (ro): Renamed to readOnly.
5158 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5159 (inc_pos): Removed.
5160 (order): New method.
5161 * gnu/java/nio/FloatBufferImpl.java:
5162 Reformated and removed some code.
5163 (array_offset): Removed.
5164 (ro): Renamed to readOnly.
5165 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5166 (inc_pos): Removed.
5167 (order): New method.
5168 * gnu/java/nio/IntBufferImpl.java:
5169 Reformated and removed some code.
5170 (array_offset): Removed.
5171 (ro): Renamed to readOnly.
5172 (IntBufferImpl): Use parent constructor, initialize readOnly.
5173 (inc_pos): Removed.
5174 (order): New method.
5175 * gnu/java/nio/LongBufferImpl.java:
5176 Reformated and removed some code.
5177 (array_offset): Removed.
5178 (ro): Renamed to readOnly.
5179 (LongBufferImpl): Use parent constructor, initialize readOnly.
5180 (inc_pos): Removed.
5181 (order): New method.
5182 * gnu/java/nio/ShortBufferImpl.java:
5183 Reformated and removed some code.
5184 (array_offset): Removed.
5185 (ro): Renamed to readOnly.
5186 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5187 (inc_pos): Removed.
5188 (order): New method.
5189 * Makefile.am
5190 (ordinary_java_source_files): Added the following files:
5191 gnu/java/nio/ByteBufferImpl.java
5192 gnu/java/nio/CharBufferImpl.java
5193 gnu/java/nio/DoubleBufferImpl.java
5194 gnu/java/nio/FloatBufferImpl.java
5195 gnu/java/nio/IntBufferImpl.java
5196 gnu/java/nio/LongBufferImpl.java
5197 gnu/java/nio/ShortBufferImpl.java
5198 java/nio/DoubleBuffer.java
5199 java/nio/FloatBuffer.java
5200 java/nio/IntBuffer.java
5201 java/nio/LongBuffer.java
5202 java/nio/ShortBuffer.java
5203 (nat_source_files): Added the following files:
5204 gnu/java/nio/natByteBufferImpl.cc
5205 gnu/java/nio/natCharBufferImpl.cc
5206 gnu/java/nio/natDoubleBufferImpl.cc
5207 gnu/java/nio/natFloatBufferImpl.cc
5208 gnu/java/nio/natIntBufferImpl.cc
5209 gnu/java/nio/natLongBufferImpl.cc
5210 gnu/java/nio/natShortBufferImpl.cc
5211 * Makefile.in: Regenerated.
5212
5213 2003-02-11 Michael Koch <konqueror@gmx.de>
5214
5215 * gnu/java/nio/natCharBufferImpl.cc
5216 (nio_cast): Removed.
5217 (nio_put_*): Removed.
5218 (nio_get_*): Removed.
5219 * gnu/java/nio/natDoubleBufferImpl.cc
5220 (nio_cast): Removed.
5221 (nio_put_*): Removed.
5222 (nio_get_*): Removed.
5223 * gnu/java/nio/natFloatBufferImpl.cc
5224 (nio_cast): Removed.
5225 (nio_put_*): Removed.
5226 (nio_get_*): Removed.
5227 * gnu/java/nio/natIntBufferImpl.cc
5228 (nio_cast): Removed.
5229 (nio_put_*): Removed.
5230 (nio_get_*): Removed.
5231 * gnu/java/nio/natLongBufferImpl.cc
5232 (nio_cast): Removed.
5233 (nio_put_*): Removed.
5234 (nio_get_*): Removed.
5235 * gnu/java/nio/natShortBufferImpl.cc
5236 (nio_cast): Removed.
5237 (nio_put_*): Removed.
5238 (nio_get_*): Removed.
5239 * gnu/java/nio/SelectorProviderImpl.java
5240 (openDatagramChannel): Throws IOException.
5241 (openPipe): Throws IOException.
5242 (openSelector): Throws IOException.
5243 (openServerSocketChannel): Throws IOException.
5244 (openSocketChannel): Throws IOException.
5245 * gnu/java/nio/ServerSocketChannelImpl.java
5246 (ServerSocketChannelImpl): Throws IOException.
5247 (implCloseSelectableChannel): Throws IOException.
5248 (implConfigureBlocking): Throws IOException.
5249 * java/nio/ByteBuffer.java
5250 (readOnly): Removed.
5251 (hasArray): Use isReadOnly() instead of readOnly.
5252 (array): Use isReadOnly() instead of readOnly.
5253 (arrayOffset): Use isReadOnly() instead of readOnly.
5254 * java/nio/CharBuffer.java
5255 (CharBuffer): Implements Cloneable and CharSequence.
5256
5257 2003-02-11 Michael Koch <konqueror@gmx.de>
5258
5259 * java/nio/DoubleBuffer.java
5260 (DoubleBuffer): Implements Comparable.
5261 (endian): Removed.
5262 (array_offset): New member variable.
5263 (DoubleBuffer): New constuctor.
5264 (get): May not be final.
5265 (put): May not be final.
5266 (arrayOffset): Implemented.
5267 (order): Made abstract.
5268 (order): Removed.
5269 (as*Buffer): Removed.
5270 (get*): Removed.
5271 (put*): Removed.
5272 * java/nio/FloatBuffer.java
5273 (FloatBuffer): Implements Comparable.
5274 (endian): Removed.
5275 (array_offset): New member variable.
5276 (FloatBuffer): New constuctor.
5277 (get): May not be final.
5278 (put): May not be final.
5279 (arrayOffset): Implemented.
5280 (order): Made abstract.
5281 (order): Removed.
5282 (as*Buffer): Removed.
5283 (get*): Removed.
5284 (put*): Removed.
5285 * java/nio/IntBuffer.java
5286 (IntBuffer): Implements Comparable.
5287 (endian): Removed.
5288 (array_offset): New member variable.
5289 (IntBuffer): New constuctor.
5290 (get): May not be final.
5291 (put): May not be final.
5292 (arrayOffset): Implemented.
5293 (order): Made abstract.
5294 (order): Removed.
5295 (as*Buffer): Removed.
5296 (get*): Removed.
5297 (put*): Removed.
5298 * java/nio/LongBuffer.java
5299 (LongBuffer): Implements Comparable.
5300 (endian): Removed.
5301 (array_offset): New member variable.
5302 (LongBuffer): New constuctor.
5303 (get): May not be final.
5304 (put): May not be final.
5305 (arrayOffset): Implemented.
5306 (order): Made abstract.
5307 (order): Removed.
5308 (as*Buffer): Removed.
5309 (get*): Removed.
5310 (put*): Removed.
5311 * java/nio/ShortBuffer.java
5312 (ShortBuffer): Implements Comparable.
5313 (endian): Removed.
5314 (array_offset): New member variable.
5315 (ShortBuffer): New constuctor.
5316 (get): May not be final.
5317 (put): May not be final.
5318 (arrayOffset): Implemented.
5319 (order): Made abstract.
5320 (order): Removed.
5321 (as*Buffer): Removed.
5322 (get*): Removed.
5323 (put*): Removed.
5324
5325 2003-02-11 Michael Koch <konqueror@gmx.de>
5326
5327 * java/nio/channels/SelectionKey.java
5328 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5329 values.
5330
5331 2003-02-11 Michael Koch <konqueror@gmx.de>
5332
5333 * java/nio/channels/DatagramChannel.java
5334 (write): Throws IOException.
5335 (connect): Throws IOException.
5336 (disconnect): Throws IOException.
5337 (read): Throws IOException.
5338 (receive): Throws IOException.
5339 (send): Throws IOException.
5340 * java/nio/channels/Pipe.java
5341 (open): Throws IOException.
5342 * java/nio/channels/SelectableChannel.java
5343 (configureBlocking): Throws IOException.
5344 * java/nio/channels/ServerSocketChannel.java
5345 (accept): Throws IOException.
5346 * java/nio/channels/SocketChannel.java
5347 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5348 GatheringByteChannel.
5349 (read): Throws IOException.
5350 (write): Throws IOException.
5351 (finishConnect): Throws IOException.
5352 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5353 (end): Throws AsynchronousCloseException.
5354 * java/nio/channels/spi/AbstractSelectableChannel.java
5355 (configureBlocking): Throws IOException.
5356 (implCloseChannel): Throws IOException.
5357 (implCloseSelectableChannel): Throws IOException.
5358 (implConfigureBlocking): Throws IOException.
5359 * java/nio/channels/spi/SelectorProvider.java
5360 (openDatagramChannel): Throws IOException.
5361 (openPipe): Throws IOException.
5362 (openSelector): Throws IOException.
5363 (openServerSocketChannel): Throws IOException.
5364 (openSocketChannel): Throws IOException.
5365
5366 2003-02-11 Michael Koch <konqueror@gmx.de>
5367
5368 * gnu/java/nio/FileLockImpl.java,
5369 java/nio/channels/FileLock.java: New files.
5370
5371 2003-02-11 Michael Koch <konqueror@gmx.de>
5372
5373 * java/nio/charset/IllegalCharsetNameException.java
5374 (serialVersionUID): New member variable.
5375 (charsetName): New member variable.
5376 (IllegalCharsetException): New implementation.
5377 (getCharsetName): New implementation.
5378 * java/nio/charset/UnsupportedCharsetException.java
5379 (serialVersionUID): New member variable.
5380 (charsetName): New member variable.
5381 (UnsupportedCharsetException): New implementation.
5382 (getCharsetName): New implementation.
5383
5384 2003-02-10 Tom Tromey <tromey@redhat.com>
5385
5386 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5387 (ex): Renamed from sqlException.
5388
5389 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5390
5391 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5392 method used to ensure seeding has occurred and that a specific
5393 seed can be set and used.
5394
5395 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5396
5397 * java/lang/Win32Process.java (destroy): Declare as native.
5398 (hasExited): New native method.
5399 (exitValue): Define.
5400 (getErrorStream): Likewise.
5401 (getInputStream): Likewise.
5402 (getOutputStream): Likewise.
5403 (waitFor): Declare as native.
5404 (startProcess): New native method.
5405 (cleanup): Likewise.
5406 (ConcreteProcess): Define.
5407 (outputStream, inputStream, errorStream): New members.
5408 (procHandle, exitCode): Likewise.
5409
5410 * java/lang/natWin32Process.cc
5411 (java::lang::ConcreteProcess::cleanup): Define.
5412 (java::lang::ConcreteProcess::destroy): Likewise.
5413 (java::lang::ConcreteProcess::hasExited): Likewise.
5414 (java::lang::ConcreteProcess::waitFor): Likewise.
5415 (new_string): Likewise.
5416 (java::lang::ConcreteProcess::startProcess): Likewise.
5417
5418 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5419
5420 * java/math/BigInteger.java:
5421 Updated notice to include years 2002 and 3.
5422 Added 2 private (int) arrays with values from the HAC (Handbook of
5423 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5424 and t[] that contains nbr. of tests --used in isProbablePrime().
5425
5426 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5427
5428 * java/math/BigInteger.java (make(int[],int), add(int,int),
5429 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5430 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5431 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5432 make(long).
5433
5434 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5435 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5436 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5437 BIs and returns void.
5438 (modInverse(BI)): Use new signatures of euclidInv().
5439
5440 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5441 static small primes instead of remainder().
5442 Use pre-computed max nbr of trials based on bitlength of BI to test.
5443 Use pre-computed small primes for the trial tests instead of random
5444 numbers.
5445
5446 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5447 not used.
5448
5449 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5450 invoacation of MPN.chars_per_word(). not used.
5451
5452 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5453 local var and used where needed.
5454
5455 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5456 Combined declaration with initialisation of locals.
5457 Removed unused var.
5458
5459 * java/math/BigInteger.java: Style changes
5460 (pow(int)): Removed 'else' keyword.
5461 (toString(int)): idem.
5462 (doubleValue()): idem.
5463 (bitLength()): idem.
5464 (equals(Object)): Use static methods name in same class w/o prepending
5465 class name.
5466 (doubleValue()): idem.
5467 (setNegative(BI)): idem.
5468 (negate()): idem.
5469 (and(BI,int)): idem.
5470 (and(BI)): idem.
5471 (gcd(BI)): idem.
5472 (byteArrayToIntArray()): Removed casting to (int). this is
5473 std. behaviour.
5474 (canonicalize()): idem.
5475 (alloc(int)): Always instantiate a new BI.
5476
5477 2003-02-10 Tom Tromey <tromey@redhat.com>
5478
5479 * java/sql/Timestamp.java (compareTo(Object)): New method.
5480 (compareTo(Timestamp)): Likewise.
5481 (serialVersionUID): Updated.
5482
5483 2003-02-07 Mark Wielaard <mark@klomp.org>
5484
5485 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5486 when verify is true.
5487 (JarFile(File, boolean)): Likewise.
5488 (manifestRead): Set manifestRead field correctly.
5489
5490 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5491
5492 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5493 tests; see patch #1016 on Savannah.
5494
5495 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5496
5497 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5498 (toString): do not return Strings starting with . and - erroneously.
5499 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5500 DiagBigDecimal.
5501
5502 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5503
5504 * java/beans/PropertyDescriptor.java
5505 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5506 methods.
5507 (PropertyDescriptor(String, Class, String, String)): Likewise.
5508 (PropertyDescriptor(String, Method, Method): Factor out getter and
5509 setter method sanity checks into new method.
5510 (findMethods): Don't do parameter sanity checking of get method here.
5511 (checkMethods): New method.
5512
5513 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5514
5515 * java/beans/PropertyDescriptor.java: Reformat.
5516
5517 2003-02-04 Tom Tromey <tromey@redhat.com>
5518
5519 * java/io/PipedOutputStream.java (flush): Declare as throwing
5520 IOException.
5521 (close): Likewise.
5522 * java/io/PipedWriter.java (close): Declare as throwing
5523 IOException.
5524 * java/io/StringWriter.java (close): Declare as throwing
5525 IOException.
5526
5527 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5528
5529 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5530 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5531 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5532 "_JNI_OnLoad@8" (MSVC).
5533
5534 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5535
5536 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5537 convention on Win32 to invoke native JNI methods.
5538
5539 2003-02-03 Andrew Haley <aph@redhat.com>
5540
5541 * configure.host (x86_64): Enable interpreter.
5542
5543 2003-02-03 Andrew Haley <aph@redhat.com>
5544
5545 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5546 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5547 * configure.in (BACKTRACESPEC): New.
5548 * configure: Regenerate.
5549
5550 2003-02-02 Tom Tromey <tromey@redhat.com>
5551
5552 * configure: Rebuilt.
5553 * configure.in (TOOLKIT) [xlib]: Set correctly.
5554
5555 * Makefile.in: Rebuilt.
5556 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5557 libstdc++.
5558
5559 2003-01-31 Mark WIelaard <mark@klomp.org>
5560
5561 * Makefile.in: Rebuilt.
5562 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5563
5564 2003-01-31 Tom Tromey <tromey@redhat.com>
5565
5566 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5567 cast to element type.
5568 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5569 (_Jv_JNI_GetObjectArrayElement): Likewise.
5570
5571 * Makefile.in: Rebuilt.
5572 * Makefile.am (cond_x_ltlibrary): Renamed library to
5573 lib-gnu-awt-xlib.la.
5574 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5575 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5576 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5577 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5578 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5579 (lib_gnu_awt_xlib_la_LINK): Likewise.
5580 (install-exec-hook): Removed.
5581 (lib-gnu-awt-xlib.la): Renamed.
5582
5583 2003-01-31 Tom Tromey <tromey@redhat.com>
5584
5585 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5586 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5587 aclocal.m4 and lost in some merge.
5588
5589 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5590 Don't try to find graphics configuration.
5591 * java/awt/Toolkit.java (default_toolkit_name): Use new
5592 Configuration entry.
5593 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5594 New global.
5595 * configure: Rebuilt.
5596 * configure.in (TOOLKIT): New subst.
5597 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5598 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5599 directory. Make output directories for .c files.
5600 * Makefile.in: Rebuilt.
5601 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5602 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5603 (all_java_source_files): Added new sources.
5604 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5605 (gtk_c_files): New macro.
5606 (gtk_c_source_files): New macro.
5607 (cond_gtk_ltlibrary): New macro.
5608 ($(gtk_c_files)): New target.
5609 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5610 (gtk_awt_peer_sources): New macro.
5611 (gtk_c_headers): New macro.
5612 ($(gtk_c_headers)): New target.
5613 (ACLOCAL_AMFLAGS): New macro.
5614 * gtk.m4, glib.m4, libart.m4: New files.
5615 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5616 gnu/java/awt/peer/gtk/GdkGraphics.java,
5617 gnu/java/awt/peer/gtk/GtkArg.java,
5618 gnu/java/awt/peer/gtk/GtkArgList.java,
5619 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5620 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5621 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5622 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5623 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5624 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5625 gnu/java/awt/peer/gtk/GtkClipboard.java,
5626 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5627 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5628 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5629 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5630 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5631 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5632 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5633 gnu/java/awt/peer/gtk/GtkImage.java,
5634 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5635 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5636 gnu/java/awt/peer/gtk/GtkListPeer.java,
5637 gnu/java/awt/peer/gtk/GtkMainThread.java,
5638 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5639 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5640 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5641 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5642 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5643 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5644 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5645 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5646 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5647 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5648 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5649 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5650 gnu/java/awt/peer/gtk/GtkToolkit.java,
5651 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5652 gnu/java/awt/peer/gtk/TestAWT.java,
5653 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5654 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5655 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5656 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5657 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5658 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5659 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5660 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5661 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5662 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5663 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5664 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5665 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5666 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5667 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5668 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5669 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5670 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5671 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5672 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5673 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5674 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5675 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5676 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5677 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5678 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5679 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5680 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5681 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5682 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5683 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5684 jni/classpath/native_state.c, jni/classpath/native_state.h,
5685 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5686
5687 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5688
5689 * java/util/Properties.java (load): Ignore backslash before EOF.
5690
5691 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5692
5693 * java/lang/natClass.cc (initializeClass): Check tables when
5694 (state == JV_STATE_IN_PROGRESS).
5695 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5696 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5697 interpreted classes.
5698 (linkClass0): Use _Jv_WaitForState.
5699
5700 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5701
5702 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5703 object when finished.
5704
5705 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5706
5707 * libjava/configure.host: Disable can_unwind_signal on darwin.
5708
5709 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5710
5711 Fixes PR java/9254:
5712 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5713 additionally containing id of the owner thread as well as
5714 the number of nested times the thread has acquired the mutex.
5715 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5716 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5717 (_Jv_MutexUnlock): Check if really the owner thread, reset
5718 owner thread id to 0 before leaving, if leaving for the last
5719 time.
5720 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5721 refcount.
5722 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5723 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5724 the passed mutex.
5725 Pass handle of the broadcast event, instead of a pointer to it
5726 in Win32 ResetEvent( ) call.
5727 Remove incorrect return values.
5728 (_Jv_CondDestroy): Close both event handles and delete
5729 critical section.
5730 (_Jv_CondNotify): Check if really the owner thread.
5731 (_Jv_CondNotifyAll): Check if really the owner thread.
5732 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5733 (really_start): Use SetEvent( ) to signal daemon_cond.
5734 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5735 WaitForSingleObject( ) instead to wait for daemon_cond to be
5736 signalled.
5737
5738 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5739
5740 * configure.in: Specifically define HAVE_BACKTRACE if building
5741 for MinGW.
5742 * include/win32.h: Remove HAVE_BACKTRACE definition.
5743 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5744 * configure: Rebuilt.
5745
5746 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5747
5748 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5749 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5750 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5751 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5752 * Makefile.in, configure: Rebuilt.
5753
5754 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5755
5756 Fixes PR java/9253:
5757 * java/io/natFileWin32.cc (performList): Append only "*.*"
5758 if the canonical file path already has a "\" at the end.
5759
5760 2003-01-24 Tom Tromey <tromey@redhat.com>
5761
5762 * defineclass.cc (handleMethodsEnd): Precompute code for static
5763 method.
5764 (handleCodeAttribute): Likewise.
5765 * resolve.cc (ncode): Use run_class for unsynchronized static
5766 methods.
5767 * include/java-interp.h (class _Jv_InterpMethod): Declare
5768 run_class.
5769 * interpret.cc (run_synch_class): Initialize class.
5770 (run) [insn_invokestatic]: Don't initialize class.
5771 [insn_anewarray]: Likewise.
5772 [insn_multianewarray]: Likewise.
5773 (run_class): New function.
5774
5775 2003-01-24 Tom Tromey <tromey@redhat.com>
5776
5777 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5778 comment.
5779
5780 2003-01-22 Andrew Haley <aph@redhat.com>
5781
5782 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5783 * configure.host (CHECKREFSPEC): Define for x86_64.
5784
5785 2003-01-21 Tom Tromey <tromey@redhat.com>
5786
5787 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5788 search at 2, not 3.
5789
5790 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5791
5792 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5793 looking at any characters.
5794 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5795 be used.
5796 (isAbsolute): Check path's length as well.
5797
5798 2003-01-17 Mark Wielaard <mark@klomp.org>
5799
5800 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5801 (nat_source_files): Add natVMObjectStreamClass.cc.
5802 * Makefile.in: Regenerated.
5803 * gcj/javaprims.h (namespace java): Regenerated.
5804 * java/io/ObjectStreamClass.java (getClassUID): Call
5805 VMObjectStreamClass.hasClassInitializer().
5806 (hasClassInitializer): Removed.
5807 * java/io/VMObjectStreamClass.java: New class.
5808 * java/io/natVMObjectStreamClass.cc: New file.
5809 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5810
5811 2003-01-16 Mark Wielaard <mark@klomp.org>
5812
5813 * java/net/SocketImpl.java (toString): Don't explicitly call
5814 toString() on possible null address.
5815
5816 2003-01-16 Michael Koch <konqueror@gmx.de>
5817
5818 * java/net/MulticastSocket.java
5819 (setInterface): Reindented.
5820
5821 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5822
5823 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5824 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5825 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5826 translateY arguments. Implement.
5827 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5828 down translation arguments.
5829 (drawPolyline, drawPolygon): Fix incorrect tests.
5830 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5831 translateX and translateY arguments.
5832
5833 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5834
5835 * Makefile.in: Rebuilt.
5836 * Makefile.am (xlib_includes): New macro.
5837 (INCLUDES): Use it.
5838
5839 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5840
5841 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5842 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5843 16-bit display mode.
5844
5845 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5846
5847 * java/awt/CardLayout.java (show): Rewrote.
5848 (gotoComponent): Removed `target' argument. Simplified code.
5849 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5850 Changed all callers.
5851 (NONE): Removed.
5852
5853 2003-01-14 Michael Koch <konqueror@gmx.de>
5854
5855 * java/net/InetSocketAddress.java
5856 (serialVersionUID): New member variable.
5857 * java/net/NetPermission.java
5858 (NetPermission): Dont implement java.io.Serialization directly.
5859 * java/net/SocketAddress.java:
5860 (serialVersionUID): Documentation added.
5861
5862 2003-01-14 Michael Koch <konqueror@gmx.de>
5863
5864 * java/awt/Label.java
5865 (Label): Implements javax.accessibility.Accessible;
5866 * java/awt/List.java
5867 (List): Implements javax.accessibility.Accessible;
5868 * java/awt/ScrollPane.java
5869 (ScrollPane): Implements javax.accessibility.Accessible;
5870 * java/awt/Scrollbar.java
5871 (Scrollbar): Implements javax.accessibility.Accessible;
5872 * java/awt/TextComponent.java
5873 (setCaretPosition): Throw exception, documentation added.
5874 * java/awt/Toolkit.java:
5875 Added some newlines in method documentations.
5876 (createButton): Exception documentation added.
5877 (createTextField): Exception documentation added.
5878 (createLabel): Exception documentation added.
5879 (createList): Exception documentation added.
5880 (createCheckbox): Exception documentation added.
5881 (createScrollbar): Exception documentation added.
5882 (createScrollPane): Exception documentation added.
5883 (createTextArea): Exception documentation added.
5884 (createChoice): Exception documentation added.
5885 (createFrame): Exception documentation added.
5886 (createWindow): Exception documentation added.
5887 (createDialog): Exception documentation added.
5888 (createMenuBar): Exception documentation added.
5889 (createMenu): Exception documentation added.
5890 (createMenuItem): Exception documentation added.
5891 (createFileDialog): Exception documentation added.
5892 (createCheckboxMenuItem): Exception documentation added.
5893 (loadSystemColors): Exception documentation added.
5894 (setDynamicLayout): Exception documentation added.
5895 (isDynamicLayoutSet): Exception documentation added.
5896 (isDynamicLayoutActive): Exception documentation added.
5897 (getScreenSize): Exception documentation added.
5898 (getScreenResolution): Exception documentation added.
5899 (getScreenInsets): Exception documentation added.
5900 (getColorModel): Exception documentation added.
5901 (getSystemClipboard): Exception documentation added.
5902 (getSystemSelection): Exception documentation added.
5903 (getMenuShortcutKeyMask): Exception documentation added.
5904 (getSystemEventQueue): Exception documentation added.
5905 * java/awt/Window.java:
5906 Reindented some code.
5907 (Window): Centralized implementation, documentation added.
5908 (finalize): Documentation added.
5909 (hide): Fixed typo in comment.
5910 (getWindowListeners): Documentation added.
5911 * java/awt/color/ColorSpace.java
5912 (toRGB): Documentation added.
5913 * java/awt/color/ICC_ColorSpace.java
5914 (ICC_ColorSpace): Documentation added.
5915 (toRGB): Throw exception, documentation added.
5916 (fromRGB): Throw exception, documentation added.
5917 (toCIEXYZ): Documentation added.
5918 (fromCIEXYZ): Documentation added.
5919 (getMinValue): Documentation added.
5920 (getMaxValue): Documentation added.
5921 * java/awt/geom/Dimension2D.java
5922 (clone): Documentation added.
5923 * java/awt/geom/GeneralPath.java
5924 (clone): Documentation added.
5925 * java/awt/geom/Line2D.java
5926 (clone): Documentation added.
5927 * java/awt/geom/QuadCurve2D.java
5928 (clone): Documentation added.
5929 * java/awt/image/ColorModel.java
5930 (ColorModel): Throw exception, documentation added.
5931 * java/awt/image/ImageFilter.java
5932 (clone): Doesnt throw CloneNotSupportedException.
5933
5934 2003-01-14 Andrew Haley <aph@redhat.com>
5935
5936 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5937 in a try block.
5938
5939 2003-01-10 Andrew Haley <aph@redhat.com>
5940
5941 * include/dwarf2-signal.h: Remove x86_64.
5942 * configure.host (x86_64 DIVIDESPEC): Remove.
5943 * include/x86_64-signal.h: New file.
5944 * configure.in: Regenerate.
5945
5946 2003-01-10 Michael Koch <konqueror@gmx.de>
5947
5948 * java/net/DatagramSocket.java
5949 (ch): Description added.
5950 (remotePort): Initialize with -1.
5951 (connect): Doesnt throws SocketException.
5952 * java/net/MulticastSocket.java
5953 (setInterface): Merge with Classpath.
5954 * java/net/ServerSocket.java
5955 (closed): New member variable.
5956 (bind): Check if socket is closed.
5957 (close): Close an associated channel too, set new value to closed.
5958 (isBound): Reindented.
5959 (isClosed): Implemented.
5960 * java/net/Socket.java
5961 (closed): New member variable.
5962 (bind): Check if socket is closed.
5963 (connect): Check if socket is closed.
5964 (close): Close an associated channel too, set new value to closed.
5965 (isClosed): Implemented.
5966
5967 2003-01-10 Michael Koch <konqueror@gmx.de>
5968
5969 * java/awt/DisplayMode.java
5970 (equals): Fixed argument type and implementation.
5971
5972 2003-01-07 Tom Tromey <tromey@redhat.com>
5973
5974 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5975 JV_HASH_SYNCHRONIZATION.
5976 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5977 JV_HASH_SYNCHRONIZATION.
5978
5979 2003-01-07 Michael Koch <konqueror@gmx.de>
5980
5981 * java/net/DatagramSocket.java:
5982 Added classpath license info.
5983 (DatagramSocket): Merged description with classpath.
5984 (close): Merged description with classpath.
5985 (getChannel): Merged description with classpath.
5986 (getInetAddress): Merged description with classpath.
5987 (getPort): Merged description with classpath.
5988 (getLocalAddress): Merged description with classpath.
5989 (getLocalPort): Merged description with classpath.
5990 (getSoTimeout): Merged description with classpath.
5991 (setSoTimeout): Merged description with classpath.
5992 (getSendBufferSize): Merged description with classpath.
5993 (setSendBufferSize): Merged description with classpath.
5994 (getReceiveBufferSize): Merged description with classpath.
5995 (setReceiveBufferSize): Merged description with classpath.
5996
5997 2003-01-04 Tom Tromey <tromey@redhat.com>
5998
5999 * java/awt/List.java: Merged with Classpath.
6000
6001 2003-01-03 Mark Wielaard <mark@klomp.org>
6002
6003 * java/io/FileDescriptor.java (position): New private field.
6004 * java/io/natFileDescriptorPosix.cc (write): Up position.
6005 (setLength): Use and set position.
6006 (seek): Set position.
6007 (getFilePointer): Return position.
6008 (read): Up position.
6009
6010 2003-01-03 Mark Wielaard <mark@klomp.org>
6011
6012 Merge with Classpath:
6013 * java/io/ObjectStreamClass.java (lookup): Split method and call
6014 lookupForClassObject().
6015 (lookupForClassObject): New method.
6016 (isProxyClass): New field.
6017 (setClass): Set isProxyClass, add object to classLookupTable, set
6018 superClass and calculateOffsets.
6019 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6020 and not a proxy class.
6021 (setFields): Set accessible true for serialPersistentFields.
6022 (getClassUID): Same for suid. And check if suid is of type long.
6023 (hasClassInitializer): Don't throw NoSuchMethodError.
6024
6025 2003-01-03 Mark Wielaard <mark@klomp.org>
6026
6027 * java/io/FileInputStream.java (finalize): Don't explicitly
6028 finalize FileDescriptor.
6029
6030 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6031
6032 * configure.host (sparc*-*): Enable bytecode interpreter.
6033
6034 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6035
6036 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6037 Don't throw RemoteException.
6038 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6039 throw RemoteException.
6040
6041 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6042
6043 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6044 proxyHost): New static fields.
6045 (<clinit>): Initialize new fields.
6046 (connect): Use proxy if necessary.
6047 (usingProxy): Implement.
6048
6049 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6050
6051 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6052 (TreeIterator.remove): Prefer IllegalStateException over
6053 ConcurrentModificationException, to match Sun.
6054
6055 2002-12-22 Anthony Green <green@redhat.com>
6056
6057 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6058
6059 2003-01-02 Mark Wielaard <mark@klomp.org>
6060
6061 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6062 public.
6063 (HTTP_USE_PROXY): Add field.
6064 (getResponseVals): Only set responseCode when not yet explicitly
6065 set by subclass.
6066
6067 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6068 Mark Wielaard <mark@klomp.org>
6069
6070 * java/util/zip/ZipFile.java (entries): Now HashMap.
6071 (readLeShort(DataInput, byte[])): Read from given byte array.
6072 (readLeInt(DataInput, byte[]): Likewise.
6073 (readLeShort(byte[] b, int off)): New method.
6074 (readLeInt(byte[] b, int off)): Likewise.
6075 (readEntries): Use byte arrays to read info in bigger chunks.
6076 (getEntries): Return HashMap.
6077 (getEntry): Use HashMap.
6078 (locBuf): New private field.
6079 (checkLocalHeader): Use locBuf to read info in one chunk.
6080 (getInputStream): Use entries HashMap, wrap PartialInputStream
6081 in BufferedInputStream.
6082 (ZipEntryEnumeration): Use HashMap and Interator.
6083
6084 2003-01-02 Mark Wielaard <mark@klomp.org>
6085 Jeroen Frijters <jeroen@sumatra.nl>
6086
6087 * java/net/URLClassLoader.java (Resource.getCodeSource):
6088 Fix check certs == null.
6089 (getCanonicalFileURL): Removed method.
6090 (JarURLLoader): Don't call removed method.
6091 (FileURLLoader): Likewise.
6092 (FileURLLoader.getResource): Don't canonicalize file name.
6093
6094 2003-01-01 Tom Tromey <tromey@redhat.com>
6095
6096 * Makefile.in: Rebuilt.
6097 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6098 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6099 java/awt/BufferCapabilities.java, java/awt/Button.java,
6100 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6101 java/awt/Container.java, java/awt/Cursor.java,
6102 java/awt/EventQueue.java, java/awt/FileDialog.java,
6103 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6104 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6105 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6106 java/awt/Scrollbar.java, java/awt/TextArea.java,
6107 java/awt/TextField.java, java/awt/color/CMMException.java,
6108 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6109 java/awt/color/ProfileDataException.java,
6110 java/awt/datatransfer/Clipboard.java,
6111 java/awt/datatransfer/DataFlavor.java,
6112 java/awt/datatransfer/FlavorMap.java,
6113 java/awt/datatransfer/SystemFlavorMap.java,
6114 java/awt/dnd/DragGestureEvent.java,
6115 java/awt/dnd/DragGestureRecognizer.java,
6116 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6117 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6118 java/awt/im/InputMethodHighlight.java,
6119 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6120 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6121
6122 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6123 `op' to BufferedImageOp.
6124
6125 2002-12-31 Tom Tromey <tromey@redhat.com>
6126
6127 Fix for PR libgcj/7416:
6128 * javax/naming/InitialContext.java (init): Use
6129 gnu.classpath.home.url.
6130 * java/security/Security.java: Use new properties.
6131 (loadProviders): Accept base url; use it.
6132 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6133 gnu.classpath.home.url.
6134 (gnu.classpath.home.url): Define.
6135 (gnu.classpath.vm.shortname): Likewise.
6136
6137 2002-12-31 Tom Tromey <tromey@redhat.com>
6138 Ranjit Mathew <rmathew@hotmail.com>
6139
6140 Fix for PR libgcj/8997:
6141 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6142 Include platform.h.
6143 * include/posix.h (_Jv_platform_usleep): New function.
6144 * include/win32.h (_Jv_platform_usleep): New function.
6145
6146 2002-12-29 Tom Tromey <tromey@redhat.com>
6147
6148 * gcj/javaprims.h: Updated.
6149 * scripts/classes.pl (scan): Removed stray semicolon.
6150
6151 2002-12-30 Mark Wielaard <mark@klomp.org>
6152
6153 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6154 if zero or smaller.
6155
6156 2002-12-30 Mark Wielaard <mark@klomp.org>
6157
6158 * java/util/Properties (formatForOutput): Don't fall through to
6159 default case after escaping character.
6160
6161 2002-12-30 Mark Wielaard <mark@klomp.org>
6162
6163 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6164 against count.
6165
6166 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6167
6168 * boehm.cc: Remove stray semicolon.
6169 * interpret.cc: Likewise.
6170 * prims.cc: Likewise.
6171 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6172 earlier to ensure default arguments are processed.
6173 * gcj/array.h (JArray): Add forward declaration.
6174 (elements): Likewise.
6175 * gcj/javaprim.h: Remove stray semicolons.
6176 * include/bohm-gc.h: Likewise.
6177 * include/jni.h: Likewise.
6178 * include/jvm.h: Likewise.
6179 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6180
6181 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6182
6183 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6184 of catch_type.
6185 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6186 idt tables after initializing superclass.
6187 * java/lang/natClassLoader.cc (uaddr): New typedef.
6188 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6189 if they are constant pool indicies. Don't link vtable, otable yet.
6190
6191 2002-12-21 Anthony Green <green@redhat.com>
6192
6193 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6194 libraries.
6195 * Makefile.in: Rebuilt.
6196
6197 2002-12-19 Anthony Green <green@redhat.com>
6198
6199 * Makefile.am (ordinary_java_source_files): Add
6200 org/xml/sax/helpers/NewInstance.java.
6201 * Makefile.in: Rebuilt.
6202 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6203 org/xml/sax/helpers/package.html: New files.
6204 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6205 http://www.saxproject.org.
6206
6207 2002-12-19 Andrew Haley <aph@redhat.com>
6208
6209 * java/util/natResourceBundle.cc: Include
6210 ArrayIndexOutOfBoundsException.h.
6211 (getCallingClassLoader): Don't put upper bound on stack search.
6212 Catch ArrayIndexOutOfBoundsException.
6213
6214 2002-12-19 Tom Tromey <tromey@redhat.com>
6215
6216 * libtool-version: Increased `current'.
6217
6218 2002-12-19 Tom Tromey <tromey@redhat.com>
6219
6220 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6221 comment.
6222 * java/lang/ClassLoader.java (defineClass): Use chained
6223 exception when rethrowing.
6224 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6225 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6226 constants.
6227 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6228 (_Jv_PrepareClass): Use it.
6229 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6230 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6231 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6232 (Class): _Jv_PrepareMissingMethods now friend.
6233 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6234 Record `NULL' for system class loader.
6235 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6236 system class loader.
6237 (_Jv_FindClassInCache): Likewise.
6238 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6239 (_Jv_FindClass): Special case system class loader.
6240 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6241 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6242 vtable slots.
6243 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6244 in a final class.
6245 (_getDeclaredMethod): Don't return synthetic methods.
6246 (getDeclaredMethods): Likewise.
6247 (_getMethod): Likewise.
6248 (_getMethods): Likewise.
6249
6250 2002-12-18 Raif Naffah <raif@fl.net.au>
6251
6252 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6253 canonical form after divide().
6254 (modInverse): Likewise.
6255
6256 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6257 Mark Wielaard <mark@klomp.org>
6258
6259 * java/security/SecurityRandom (digest): Removed field.
6260 (SecureRandom): Check all providers for case-insensitive SecureRandom
6261 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6262 if necessary.
6263 (getInstance(String,Provider,boolean): New method.
6264 (getInstance(String)): Use new method.
6265 (getInstance(String,String)): Likewise.
6266 (getInstance(String,Provider)): Likewise.
6267
6268 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6269
6270 * java/security/Security.java (loadProviders): Increment i only once.
6271
6272 2002-12-12 Mark Wielaard <mark@klomp.org>
6273
6274 * java/lang/ClassLoader.java (resolveClass0): Transform
6275 ClassNotFoundException to NoClassDefFoundError. Transform all other
6276 throwables to LinkageError.
6277
6278 2002-12-11 Tom Tromey <tromey@redhat.com>
6279
6280 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6281
6282 * java/lang/ClassLoader.java (loadedClasses): New field.
6283 (defineClass): Fixed indentation. Put new class in
6284 loadedClasses.
6285 (findLoadedClass): Implement here.
6286 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6287
6288 2002-12-10 Tom Tromey <tromey@redhat.com>
6289
6290 * Makefile.in: Rebuilt.
6291 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6292 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6293 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6294 * java/lang/natClassLoader.cc
6295 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6296
6297 2002-12-10 Mark Wielaard <mark@klomp.org>
6298 Tom Tromey <tromey@redhat.com>
6299
6300 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6301 (JarURLLoader): Use it.
6302 (FileURLLoader): Likewise.
6303 (JarURLResource.getURL): Use chained exception.
6304 (FileResource.getURL): Likewise.
6305 (FileURLLoader.getResource): Use canonical file name.
6306 (addURL): Indentation fix.
6307
6308 2002-12-10 Tom Tromey <tromey@redhat.com>
6309
6310 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6311 From Laurent Bardet <l.bardet@magic.fr>.
6312
6313 2002-12-09 Tom Tromey <tromey@redhat.com>
6314
6315 * include/win32.h (_Jv_platform_solib_prefix): New define.
6316 (_Jv_platform_solib_suffix): Likewise.
6317 * include/posix.h (_Jv_platform_solib_prefix): New define.
6318 (_Jv_platform_solib_suffix): Likewise.
6319 * java/lang/natRuntime.cc: Include StackTrace.h.
6320 (_load): Use findLibrary and new platform defines.
6321 (nativeGetLibname): Use new platform defines.
6322
6323 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6324 `t' won't be null.
6325
6326 2002-12-08 Mark Wielaard <mark@klomp.org>
6327
6328 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6329 cache remote jar files.
6330 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6331 add File.separator to URL when it is a directory.
6332 * java/lang/ClassLoader.java: Add Classpath javadoc.
6333 (parent): final.
6334 (getParent): Add (disabled) security check.
6335 (findLibrary): New default method.
6336 * java/net/JarURLConnection.java (getManifest): Implement.
6337 (getInputStream): Only create InputStream when entry exists.
6338 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6339 when they exist.
6340 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6341
6342 2002-12-08 Mark Wielaard <mark@klomp.org>
6343
6344 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6345 (lastDefaultLocale): New field.
6346 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6347 resourceBundleCache.
6348
6349 2002-12-06 Mark Wielaard <mark@klomp.org>
6350
6351 * java/net/InetAddress.java (toString): Use hostname when not null,
6352 don't do an explicit reverse getHostName() lookup.
6353 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6354 NullPointerException.
6355
6356 2002-12-06 Tom Tromey <tromey@redhat.com>
6357
6358 * include/java-interp.h (class _Jv_InterpMethod): Added
6359 JV_MARKOBJ_DECL.
6360 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6361 mark `prepared' field of interpreted method.
6362 * interpret.cc (compile): Use _Jv_AllocBytes.
6363
6364 2002-12-05 Andrew Haley <aph@redhat.com>
6365
6366 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6367 #ifdef (HAVE_BACKTRACE) around the whole function body.
6368
6369 2002-12-05 Tom Tromey <tromey@redhat.com>
6370
6371 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6372 * resolve.cc: Don't include AbstractMethodError.h.
6373 (_Jv_abstractMethodError): Removed.
6374 * defineclass.cc (handleMethodsBegin): Initialize method index to
6375 -1.
6376 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6377 method index for "new" final method.
6378 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6379 isVirtualMethod. Added `flags' argument.
6380 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6381 class.
6382
6383 2002-12-04 Tom Tromey <tromey@redhat.com>
6384
6385 * java/net/SocketPermission.java (hashCode): Rewrote.
6386
6387 2002-12-04 Tom Tromey <tromey@redhat.com>
6388
6389 * Makefile.in: Rebuilt.
6390 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6391 natResourceBundle.
6392 * java/util/ResourceBundle.java (Security): Removed.
6393 (getCallingClassLoader): Now native.
6394 * java/util/natResourceBundle.cc: New file.
6395 * java/lang/natVMSecurityManager.cc: New file.
6396 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6397
6398 2002-12-03 Mark Wielaard <mark@klomp.org>
6399
6400 * java/util/jar/JarFile.java (manifest): Not final.
6401 (manifestRead): New field.
6402 (JarFile): Don't read Manifest in constructor.
6403 (getManifest): New method.
6404 (JarEnumeration.nextElement): Use new method.
6405 (getEntry): Likewise.
6406 * java/util/zip/ZipFile.java (name): Final.
6407 (raf): Likewsie.
6408 (entries): Change type to Hashtable.
6409 (closed): New field.
6410 (ZipFile): Don't read enties in constructor.
6411 (readEntries): Use Hashtable.
6412 (close): Set new close flag and set entries to null inside
6413 synchronized block.
6414 (entries): Contruct enumeration using new getEntries() method and
6415 entries Hashtable.
6416 (getEntryIndex): Removed.
6417 (getEntries): New method.
6418 (getEntry): Use new getEntries() method and entries Hastable.
6419 (getInputStream): Likewise.
6420 (size): Return getEntries().size().
6421 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6422 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6423 (time): Removed
6424 (dostime): New field.
6425 (zipFileIndex): Removed.
6426 (ZipEntry(ZipEntry)): Copy dostime.
6427 (setDOSTime): Now final and doesn't convert dos time.
6428 (getDOSTime): Likewise.
6429 (setTime): Convert dos time.
6430 (getTime): Likewise.
6431 (getCalendar): New method.
6432 (setExtra): Use setTime().
6433 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6434
6435 2002-12-03 Tom Tromey <tromey@redhat.com>
6436
6437 * java/lang/Character.java (forDigit): Formatting fix.
6438
6439 2002-12-03 Raif Naffah <raif@fl.net.au>
6440
6441 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6442 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6443 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6444
6445 2002-12-03 Andrew Haley <aph@redhat.com>
6446
6447 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6448 _Jv_PushClass.
6449 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6450 (_Jv_PopClass): New.
6451 (_Jv_PushClass): New.
6452 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6453 discover the ClassLoader of our caller.
6454 (_Jv_CheckArrayStore): Don't check that a class is assignment
6455 compatible with Object.
6456 * java/lang/natVMTHrowable.cc: Delete.
6457 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6458 java.lang.VMThrowable.
6459 (StackTrace(), StackTrace(int)): New constructors.
6460 (classAt, methodAt, update, methodAtAddress): New methods.
6461 (map): New field.
6462 * java/lang/VMThrowable.java: Use StackTrace instead of
6463 natVMTHrowable.
6464 * java/lang/Class.h (getClassLoaderInternal): New.
6465 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6466 Be friendly with gnu::gcj::runtime::StackTrace.
6467 (Object.chain): New field.
6468 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6469 gnu::gcj::runtime::StackTrace.
6470 * gnu/gcj/runtime/natStackTrace.cc: New file.
6471 * gnu/gcj/runtime/MethodRef.java: New file.
6472 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6473 instead of getClassLoader().
6474 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6475 java::lang::VMThrowable.
6476 * Makefile.am (core_java_source_files): Add MethodRef.java,
6477 StackTrace.java.
6478 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6479 * Makefile.in: Rebuild.
6480
6481 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6482
6483 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6484 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6485 yes also for sh-linux* and sh[34]*-linux*.
6486 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6487 set SIGNAL_HANDLER to use DWARF2 exception for them.
6488 * configure: Regenerate.
6489
6490 2002-12-02 Tom Tromey <tromey@redhat.com>
6491
6492 * jni.cc: Added `name' argument.
6493 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6494 `const char *' argument.
6495 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6496
6497 2002-12-01 Tom Tromey <tromey@redhat.com>
6498
6499 Bug compatibility, for PR libgcj/8738:
6500 * java/io/CharArrayWriter.java (close): Do nothing.
6501 (flush): Likewise.
6502 (reset): Don't touch `closed'.
6503 (write(int)): Don't throw IOException.
6504 (write(char[],int,int)): Likewise.
6505 (write(String,int,int)): Likewise.
6506 (closed): Removed.
6507
6508 2002-12-01 Mark Wielaard <mark@klomp.org>
6509
6510 * java/lang/SecurityManager.java: Remerge comments, indenting and
6511 checkXXX methods with Classpath.
6512
6513 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6514
6515 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6516 getNormalizedComponents): Fix calculation which was using one too
6517 many bits in the unnormalized format.
6518
6519 2002-11-29 Gary Benson <gbenson@redhat.com>
6520
6521 For PR libgcj/8759:
6522 * java/beans/Introspector.java (flushCaches): New method.
6523 (flushFromCaches): Likewise.
6524
6525 2002-11-29 Michael Koch <konqueror@gmx.de>
6526
6527 * java/nio/channels/DatagramChannel.java
6528 (open): Added exception documentation.
6529 (write): Added exception documentation.
6530 (connect): Added exception documentation.
6531 (disconnect): Added exception documentation.
6532 (isConnected): Added exception documentation.
6533 (read): Added exception documentation.
6534 (receive): Added exception documentation.
6535 (send): Added exception documentation.
6536 (validOps): Added exception documentation.
6537 * java/nio/channels/SocketChannel.java
6538 (open): Added exception documentation.
6539 (read): Added exception documentation.
6540 (write): Added exception documentation.
6541 (connect): Added exception documentation.
6542 (finishConnect): Added exception documentation.
6543
6544 2002-11-29 Michael Koch <konqueror@gmx.de>
6545
6546 * gnu/java/nio/DatagramChannelImpl:
6547 (fd): New member variable to store file descriptor of socket.
6548 * gnu/java/nio/SelectionKeyImpl.java:
6549 (ops): Removed.
6550 (readyOps): New member variable.
6551 (interestOps): New member variable.
6552 (readyOps): Implemented.
6553 (readyOps): New method to set member variable readyOps.
6554 (interestOps): Replaced ops by interestOps.
6555 * gnu/java/nio/SelectorImpl.java:
6556 (SelectorImpl): Initialize key sets.
6557 (select): Call select with -1 instead of Long.MAX_VALUE).
6558 (java_do_select): Make it a native method.
6559 (getFDsAsArray): New helper method.
6560 (select): Remove canceled keys, give only interested file discriptors
6561 to java_do_select, set ready ops.
6562 (add): No need to initialize keys set here.
6563 (add_selected): No need to initialize selected set here.
6564 (deregisterCanceledKeys): New helper method.
6565 (register): Set interest ops, set attachments, added handling of datagram
6566 channels.
6567 * gnu/java/nio/ServerSocketChannelImpl:
6568 (SocketAccept): Renamed from NioSocketAccept.
6569 (implConfigureBlocking): Implemented.
6570 (accept): Use SocketAccept instead of NioSocketAccept.
6571 * gnu/java/nio/SocketChannelImpl:
6572 Reactivate native methods.
6573
6574 2002-11-29 Michael Koch <konqueror@gmx.de>
6575
6576 * gnu/java/nio/natByteBufferImpl.cc,
6577 gnu/java/nio/natCharBufferImpl.cc,
6578 gnu/java/nio/natDoubleBufferImpl.cc,
6579 gnu/java/nio/natFloatBufferImpl.cc,
6580 gnu/java/nio/natIntBufferImpl.cc,
6581 gnu/java/nio/natLongBufferImpl.cc,
6582 gnu/java/nio/natSelectorImpl.cc,
6583 gnu/java/nio/natServerSocketChannelImpl.cc,
6584 gnu/java/nio/natShortBufferImpl.cc,
6585 gnu/java/nio/natSocketChannelImpl.cc:
6586 New files that implement native functionalities.
6587
6588 2002-11-29 Michael Koch <konqueror@gmx.de>
6589
6590 * gnu/java/nio/ByteBufferImpl.java
6591 (ByteBufferImpl): Moved position() after limit.
6592 (nio_*): Use native implementation.
6593 * gnu/java/nio/CharBufferImpl.java:
6594 Reformated.
6595 (endian): New member variable string endianess of buffer.
6596 (CharBufferImpl): Moved position() after limit.
6597 (nio_*): Use native implementation.
6598 (subSequence): Implemented.
6599 * gnu/java/nio/DoubleBufferImpl.java
6600 (DoubleBufferImpl): Moved position() after limit.
6601 (nio_*): Use native implementation.
6602 * gnu/java/nio/FloatBufferImpl.java
6603 Reformated.
6604 (FloatBufferImpl): Moved position() after limit.
6605 (nio_*): Use native implementation.
6606 * gnu/java/nio/IntBufferImpl.java
6607 Added needed imports, Reformated.
6608 (IntBufferImpl): Moved position() after limit.
6609 (nio_*): Use native implementation.
6610 * gnu/java/nio/LongBufferImpl.java
6611 Reformated.
6612 (LongBufferImpl): Moved position() after limit.
6613 (nio_*): Use native implementation.
6614 * gnu/java/nio/ShortBufferImpl.java
6615 Reformated.
6616 (ShortBufferImpl): Moved position() after limit.
6617 (nio_*): Use native implementation.
6618
6619 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6620
6621 * java/util/Locale.java (toString): Improve efficiency if country
6622 and variant are both empty.
6623
6624 2002-11-26 Tom Tromey <tromey@redhat.com>
6625
6626 * verify.cc (pop_init_ref): New method.
6627 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6628 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6629 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6630 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6631 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6632 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6633 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6634 let `this' argument be uninitialized. Don't let `null' be passed
6635 as `this' to construtor.
6636
6637 2002-11-26 Mark Wielaard <mark@klomp.org>
6638
6639 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6640 * javax/transaction/HeuristicMixedException.java: Likewise.
6641 * javax/transaction/HeuristicRollbackException.java: Likewise.
6642 * javax/transaction/InvalidTransactionException.java: Likewise.
6643 * javax/transaction/NotSupportedException.java: Likewise.
6644 * javax/transaction/RollbackException.java: Likewise.
6645 * javax/transaction/Status.java: Likewise.
6646 * javax/transaction/Synchronization.java: Likewise.
6647 * javax/transaction/SystemException.java: Likewise.
6648 * javax/transaction/Transaction.java: Likewise.
6649 * javax/transaction/TransactionManager.java: Likewise.
6650 * javax/transaction/TransactionRequiredException.java: Likewise.
6651 * javax/transaction/TransactionRolledbackException.java: Likewise.
6652 * javax/transaction/UserTransaction.java: Likewise.
6653 * javax/transaction/xa/XAException.java: Likewise.
6654 * javax/transaction/xa/XAResource.java: Likewise.
6655 * javax/transaction/xa/Xid.java: Likewise.
6656
6657 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6658
6659 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6660 define.
6661 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6662 * include/posix.h (socklen_t): Define if not already defined.
6663
6664 2002-11-25 Tom Tromey <tromey@redhat.com>
6665
6666 * verify.cc (type::compatible): Backed out broken change.
6667
6668 * verify.cc (type::compatible): Check initialization status
6669 first.
6670 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6671 Don't use NULLCHECK.
6672
6673 2002-11-23 H.J. Lu <hjl@gnu.org>
6674
6675 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6676 Include ../config/accross.m4.
6677 * aclocal.m4; Rebuild.
6678 * configure: Likewise.
6679
6680 2002-11-23 Mark Wielaard <mark@klomp.org>
6681
6682 * javax/naming/AuthenticationException.java: Update copyright header.
6683 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6684 * javax/naming/Binding.java: Likewise.
6685 * javax/naming/CannotProceedException.java: Likewise.
6686 * javax/naming/CommunicationException.java: Likewise.
6687 * javax/naming/CompositeName.java: Likewise.
6688 * javax/naming/CompoundName.java: Likewise.
6689 * javax/naming/ConfigurationException.java: Likewise.
6690 * javax/naming/Context.java: Likewise.
6691 * javax/naming/ContextNotEmptyException.java: Likewise.
6692 * javax/naming/InitialContext.java: Likewise.
6693 * javax/naming/InsufficientResourcesException.java: Likewise.
6694 * javax/naming/InterruptedNamingException.java: Likewise.
6695 * javax/naming/LimitExceededException.java: Likewise.
6696 * javax/naming/LinkException.java: Likewise.
6697 * javax/naming/LinkLoopException.java: Likewise.
6698 * javax/naming/LinkRef.java: Likewise.
6699 * javax/naming/MalformedLinkException.java: Likewise.
6700 * javax/naming/NameAlreadyBoundException.java: Likewise.
6701 * javax/naming/NameClassPair.java: Likewise.
6702 * javax/naming/NameNotFoundException.java: Likewise.
6703 * javax/naming/NameParser.java: Likewise.
6704 * javax/naming/NamingEnumeration.java: Likewise.
6705 * javax/naming/NamingSecurityException.java: Likewise.
6706 * javax/naming/NoInitialContextException.java: Likewise.
6707 * javax/naming/NoPermissionException.java: Likewise.
6708 * javax/naming/NotContextException.java: Likewise.
6709 * javax/naming/OperationNotSupportedException.java: Likewise.
6710 * javax/naming/PartialResultException.java: Likewise.
6711 * javax/naming/Reference.java: Likewise.
6712 * javax/naming/Referenceable.java: Likewise.
6713 * javax/naming/ReferralException.java: Likewise.
6714 * javax/naming/ServiceUnavailableException.java: Likewise.
6715 * javax/naming/SizeLimitExceededException.java: Likewise.
6716 * javax/naming/TimeLimitExceededException.java: Likewise.
6717 * javax/naming/directory/Attribute.java: Likewise.
6718 * javax/naming/directory/AttributeInUseException.java: Likewise.
6719 * javax/naming/directory/AttributeModificationException.java: Likewise.
6720 * javax/naming/directory/Attributes.java: Likewise.
6721 * javax/naming/directory/BasicAttribute.java: Likewise.
6722 * javax/naming/directory/BasicAttributes.java: Likewise.
6723 * javax/naming/directory/DirContext.java: Likewise.
6724 * javax/naming/directory/InitialDirContext.java: Likewise.
6725 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6726 Likewise.
6727 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6728 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6729 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6730 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6731 * javax/naming/directory/ModificationItem.java: Likewise.
6732 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6733 * javax/naming/directory/SchemaViolationException.java: Likewise.
6734 * javax/naming/directory/SearchControls.java: Likewise.
6735 * javax/naming/directory/SearchResult.java: Likewise.
6736 * javax/naming/event/EventContext.java: Likewise.
6737 * javax/naming/event/EventDirContext.java: Likewise.
6738 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6739 * javax/naming/event/NamingEvent.java: Likewise.
6740 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6741 * javax/naming/event/NamingListener.java: Likewise.
6742 * javax/naming/event/ObjectChangeListener.java: Likewise.
6743 * javax/naming/ldap/Control.java: Likewise.
6744 * javax/naming/ldap/ControlFactory.java: Likewise.
6745 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6746 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6747 * javax/naming/ldap/HasControls.java: Likewise.
6748 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6749 * javax/naming/ldap/LdapContext.java: Likewise.
6750 * javax/naming/ldap/LdapReferralException.java: Likewise.
6751 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6752 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6753 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6754 * javax/naming/spi/DirObjectFactory.java: Likewise.
6755 * javax/naming/spi/DirStateFactory.java: Likewise.
6756 * javax/naming/spi/DirectoryManager.java: Likewise.
6757 * javax/naming/spi/InitialContextFactory.java: Likewise.
6758 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6759 * javax/naming/spi/NamingManager.java: Likewise.
6760 * javax/naming/spi/ObjectFactory.java: Likewise.
6761 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6762 * javax/naming/spi/ResolveResult.java: Likewise.
6763 * javax/naming/spi/Resolver.java: Likewise.
6764 * javax/naming/spi/StateFactory.java: Likewise.
6765
6766 * javax/naming/spi/NamingManager.java (ofb): Package private.
6767
6768 2002-11-21 Mark Wielaard <mark@klomp.org>
6769
6770 * java/net/URL.java: Merge with Classpath (partly).
6771 * java/net/URLStreamHandler: Merge with Classpath.
6772
6773 2002-11-22 Michael Koch <konqueror@gmx.de>
6774
6775 * include/posix.h:
6776 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6777 * include/win32.h:
6778 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6779 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6780
6781 2002-11-21 Michael Koch <konqueror@gmx.de>
6782
6783 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6784 Only the new network functions should be in it.
6785
6786 2002-11-21 Michael Koch <konqueror@gmx.de>
6787
6788 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6789 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6790
6791 2002-11-21 Michael Koch <konqueror@gmx.de>
6792
6793 * java/nio/channels/AsynchronousCloseException.java,
6794 java/nio/channels/CancelledKeyException.java,
6795 java/nio/channels/ClosedByInterruptException.java,
6796 java/nio/channels/ConnectionPendingException.java,
6797 java/nio/channels/FileLockInterruptionException.java,
6798 java/nio/channels/IllegalSelectorException.java,
6799 java/nio/channels/NoConnectionPendingException.java,
6800 java/nio/channels/NonReadableChannelException.java,
6801 java/nio/channels/NonWritableChannelException.java,
6802 java/nio/channels/NotYetBoundException.java,
6803 java/nio/channels/NotYetConnectedException.java,
6804 java/nio/channels/OverlappingFileLockException.java,
6805 java/nio/channels/UnresolvedAddressException.java,
6806 java/nio/channels/UnsupportedAddressTypeException.java:
6807 New files.
6808 * Makefile.am (ordinary_java_source_files): Added new files.
6809 * Makefile.in: Regenerated.
6810
6811 2002-11-21 Michael Koch <konqueror@gmx.de>
6812
6813 * include/posix.h
6814 (_Jv_socket): New method.
6815 (_Jv_connect): New method.
6816 (_Jv_close): New method.
6817 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6818 (_Jv_bind): New method.
6819 (_Jv_listen): New method.
6820 (_Jv_write): New method.
6821 (_Jv_read): New method.
6822 * include/win32.h
6823 (_Jv_socket): New method.
6824 (_Jv_connect): New method.
6825 (_Jv_close): New method.
6826 (_Jv_bind): New method.
6827 (_Jv_listen): New method.
6828 (_Jv_write): New method.
6829 (_Jv_read): New method.
6830 * java/net/natNetworkInterface.cc:
6831 Include platform.h, removed inclusion of socket.h
6832 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6833 ::close() by _Jv_close().
6834 * java/net/natPlainDatagramSocketImpl.cc:
6835 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6836 added some new lines to make code more readable.
6837 (create): Replaced ::socket() by _Jv_socket().
6838 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6839 * java/net/natPlainSocketImpl.cc:
6840 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6841 removed include of socket.h, removed some windows defines
6842 (now in include/win32.h).
6843 (create): Replaced ::socket() by _Jv_socket().
6844 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6845 (write): Replaced ::read by _Jv_write().
6846 (read): Replaced ::read by _Jv_read().
6847
6848 2002-11-20 Michael Koch <konqueror@gmx.de>
6849
6850 * Makefile.am (ordinary_java_source_files):
6851 Added java/nio/channels/FileChannel.java.
6852 * Makefile.in: Regenerated.
6853
6854 2002-11-20 Michael Koch <konqueror@gmx.de>
6855
6856 * java/io/FileInputStream.java
6857 (getChannel): New method.
6858 * java/io/FileOutputStream.java
6859 (getChannel): New method.
6860 * java/net/ServerSocket.java
6861 (bind): Removed duplicate code and called another bind method instead.
6862 * java/nio/channels/SelectionKey.java
6863 (isValid): Removed wrong exception documentation.
6864 * java/nio/channels/ServerSocketChannel.java
6865 (accept): Added exception documentation.
6866 (open): Fixed typo, added exception documentation.
6867 * java/nio/channels/spi/AbstractSelectableChannel.java
6868 (implCloseChannel): Added exception documentation.
6869 (add): Reformated.
6870 (register): Added exception documentation.
6871
6872 2002-11-20 Andreas Jaeger <aj@suse.de>
6873
6874 * configure: Regenerated with new libtool.m4.
6875
6876 2002-11-19 Tom Tromey <tromey@redhat.com>
6877
6878 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6879 `referent'.
6880 (finalize_referred_to_object): Don't modify `referent' or `copy'
6881 fields.
6882 (add_to_hash): Correctly set `n->next' when updating list.
6883 * java/lang/ref/Reference.java (enqueue): Return false if already
6884 enqueued.
6885
6886 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6887
6888 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6889 to function and function pointer declarations in accordance with
6890 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6891 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6892 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6893 JNI function definitions.
6894
6895 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6896
6897 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6898 that was causing CoderResults to be cached, not WeakReferences
6899 to CoderResults.
6900
6901 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6902
6903 * java/security/KeyStore.java (getInstance): Fix
6904 comment and throw IllegalArgumentException if
6905 given provider is null.
6906 (getInstance): New method for jdk1.4 compatibility.
6907
6908 2002-11-18 Michael Koch <konqueror@gmx.de>
6909
6910 * java/net/PlainSocketImpl.java: Fix imports.
6911
6912 2002-11-18 Michael Koch <konqueror@gmx.de>
6913
6914 * java/nio/channels/SelectionKey.java
6915 (isValid): Added exception documentation.
6916 * java/nio/channels/Selector.java
6917 (open): Declare "throws IOException".
6918
6919 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6920
6921 * java/nio/charset/Charset.java
6922 (<clinit>): New method.
6923 (encode): Synchronize use of cached encoder object.
6924 (decode): Synchronize use of cached encoder object.
6925
6926 2002-11-18 Michael Koch <konqueror@gmx.de>
6927
6928 * gnu/java/nio/ByteBufferImpl.java,
6929 gnu/java/nio/CharBufferImpl.java,
6930 gnu/java/nio/DatagramChannelImpl.java,
6931 gnu/java/nio/DoubleBufferImpl.java,
6932 gnu/java/nio/FileChannelImpl.java,
6933 gnu/java/nio/FloatBufferImpl.java,
6934 gnu/java/nio/IntBufferImpl.java,
6935 gnu/java/nio/LongBufferImpl.java,
6936 gnu/java/nio/PipeImpl.java,
6937 gnu/java/nio/SelectionKeyImpl.java,
6938 gnu/java/nio/SelectorImpl.java,
6939 gnu/java/nio/SelectorProviderImpl.java,
6940 gnu/java/nio/ServerSocketChannelImpl.java,
6941 gnu/java/nio/ShortBufferImpl.java,
6942 gnu/java/nio/SocketChannelImpl.java,
6943 java/nio/DoubleBuffer.java,
6944 java/nio/FloatBuffer.java,
6945 java/nio/IntBuffer.java,
6946 java/nio/LongBuffer.java,
6947 java/nio/ShortBuffer.java,
6948 java/nio/channels/FileChannel.java: New files.
6949
6950 2002-11-18 Michael Koch <konqueror@gmx.de>
6951
6952 * Makefile.am (ordinary_java_source_files):
6953 Added java/nio/ReadOnlyBufferException.java and
6954 java/nio/channels/ClosedSelectorException.java.
6955 * Makefile.in: Regenerated.
6956
6957 2002-11-18 Michael Koch <konqueror@gmx.de>
6958
6959 * java/net/PlainSocketImpl.java: Reworked imports.
6960 * java/net/ServerSocket.java
6961 (ServerSocket): Create socket.
6962 * java/net/SocketAddress.java: Documentation added.
6963 * java/net/natPlainSocketImpl.cc: Reindented.
6964 * java/nio/ReadOnlyBufferException.java: New file
6965 * java/nio/channels/ClosedChannelException.java: Documentation added.
6966 * java/nio/channels/ClosedSelectorException.java: New file.
6967
6968 2002-11-17 Mark Wielaard <mark@klomp.org>
6969
6970 * java/net/HttpURLConnection.java ((getPermission): Take port
6971 into consideration.
6972 (getErrorStream): Implement.
6973
6974 2002-11-17 Mark Wielaard <mark@klomp.org>
6975
6976 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6977
6978 2002-11-16 Mark Wielaard <mark@klomp.org>
6979
6980 Integrate work by Raif S. Naffah (raif@fl.net.au)
6981 * java/security/DummyKeyPairGenerator.java (clone): New method.
6982 * java/security/DummyMessageDigest.java (clone): New method.
6983 (engineUpdate): Now public.
6984 (engineReset): Likewise.
6985 (engineDigest): Likewise.
6986 (engineGetDigestLength): New method.
6987 * java/security/DummySignature.java (clone): New method.
6988 * java/security/KeyPairGenerator.java (provider): Now package private.
6989 (getInstance(String)): Use getInstance(String,Provider).
6990 (getInstance(String,String): Use getInstance(String,Provider)
6991 (getInstance(String,Provider): New method.
6992 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6993 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6994 * java/security/MessageDigest.java (provider): Now package private.
6995 (getInstance(String): Use getInstance(String,Provider).
6996 (getInstance(String,String): Use getInstance(String,Provider)
6997 (getInstance(String,Provider): New method.
6998 * java/security/Provider.java (toCanonicalKey): New method.
6999 (get): New method that uses toCanonicalKey().
7000 (put): Use toCanonicalKey().
7001 (remove): Likewise.
7002 * java/security/Security.java (insertProviderAt): Provider index is one
7003 based, not zero based.
7004 (addProvider): Likewise.
7005 (removeProvider): Likewise.
7006 * java/security/Signature.java (provider): Now package private.
7007 (getInstance(String)): Use getInstance(String,Provider).
7008 (getInstance(String,String): Use getInstance(String,Provider)
7009 (getInstance(String,Provider): New method.
7010 (getInstance(String,String,Provider): Don't cast DummySignature.
7011
7012 2002-11-15 Tom Tromey <tromey@redhat.com>
7013
7014 For PR libgcj/8593:
7015 * java/util/zip/GZIPInputStream.java (read): Check file size.
7016 Look in inflater for remaining input bytes.
7017 (read4): Added buf and offset arguments.
7018
7019 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7020
7021 * java/applet/AppletContext.java: Fix typo and remove redundant
7022 modifiers.
7023
7024 2002-11-14 Tom Tromey <tromey@redhat.com>
7025
7026 * java/lang/natRuntime.cc (insertSystemProperties): Set
7027 gnu.classpath.home.
7028
7029 2002-11-13 Michael Koch <konqueror@gmx.de>
7030
7031 * java/nio/ByteBuffer.java
7032 (allocate): New method.
7033 (wrap): New method.
7034 (put): New method.
7035 (get): New method.
7036
7037 2002-11-13 Michael Koch <konqueror@gmx.de>
7038
7039 * java/nio/channels/AlreadyConnectedException.java:
7040 Removed unneeded import.
7041 (AlreadyConnectedException): Documentation added.
7042 * java/nio/channels/Pipe.java
7043 (SinkChannel.SinkChannel): Documentation added.
7044 (SinkChannel.validOps): New method.
7045 (SourceChannel.SourceChannel): Documentation added.
7046 (SourceChannel.validOps): New method.
7047 (Pipe): Documentation added.
7048 (open): Documentation added.
7049 (SinkChannel.channel): Documentation added.
7050 (SourceChannel.channel): Documentation added.
7051 * java/nio/channel/SelectableChannel.java
7052 (SelectableChannel): Documentation added.
7053 (blockingLock): Documentation added.
7054 (configureBlocking):Documentation added.
7055 (isBlocking):Documentation added.
7056 (isRegistered):Documentation added.
7057 (keyFor):Documentation added.
7058 (provider):Documentation added.
7059 (register): Documentation added.
7060 (validOps): Documentation added.
7061 * jaba/nio/channels/SelectionKey.java
7062 (SelectionKey): Documentation added.
7063 (attach): Documentation added.
7064 (attachment): Documentation added.
7065 (isAcceptable): Documentation added.
7066 (isConnetable): Documentation added.
7067 (isReadable): Documentation added.
7068 (isWritable): Documentation added.
7069 (cancel): Documentation added.
7070 (channel): Documentation added.
7071 (interestOps): Documentation added.
7072 (isValid): Documentation added.
7073 (readyOps): Documentation added.
7074 (selector): Documentation added.
7075 * jaba/nio/channels/Selector.java
7076 (Selector): Documentation added.
7077 (open): Documentation added.
7078 (close): Documentation added.
7079 (isOpen): Documentation added.
7080 (keys): Documentation added.
7081 (provider): Documentation added.
7082 (select): Documentation added.
7083 (selectedKeys): Documentation added.
7084 (selectNow): Documentation added.
7085 (wakeup): Documentation added.
7086 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7087 (AbstractInterruptibleChannel): Documentation added.
7088 (opened): Default to true;
7089 (begin): Documentation added.
7090 (close): Set opened to false, documentation added.
7091 (isOpen): Documentation added.
7092 * java/nio/channels/spi/AbstractSelectionKey.java
7093 (AbstractSelectionKey): Documentation added.
7094 (cancel): Documentation added.
7095 (isValid): Documentation added.
7096 * java/nio/channels/spi/AbstractSelector.java
7097 (AbstractSelector): Documentation added.
7098 (begin): Documentation added.
7099 (close): Documentation added.
7100 (isOpen): Documentation added.
7101 (deregister): Documentation added.
7102 (end): Documentation added.
7103 (provider): Documentation added.
7104 (implCloseSelector): Documentation added.
7105 (register): Documentation added.
7106 * java/nio/channels/spi/SelectorProvider.java
7107 (SelectorProvider): Documentation added.
7108 (openDatagramChannel): Documentation added.
7109 (openPipe): Documentation added.
7110 (openSelector): Documentation added.
7111 (openServerSocketChannel): Documentation added.
7112 (openSocketChannel): Documentation added.
7113 (provider): Documentation added.
7114
7115 2002-11-12 Michael Koch <konqueror@gmx.de>
7116
7117 * java/nio/Buffer.java: Implemented.
7118 * java/nio/CharBuffer.java: New file.
7119 * java/nio/InvalidMarkException.java: New file.
7120 * java/nio/channels/DatagramChannel.java: Implemented.
7121 * java/nio/channels/ServerSocketChannel.java: Implemented.
7122 * java/nio/channels/SocketChannel.java: Implemented.
7123 * java/nio/channels/spi/AbstractChannel.java: Removed.
7124 * java/nio/channels/spi/AbstractSelectableChannel.java:
7125 Implemented.
7126 * java/nio/charset/Charset.java:
7127 Merge from Classpath.
7128 * java/nio/charset/CharsetDecoder.java: New file.
7129 * java/nio/charset/CharsetEncoder.java: New file.
7130 * java/nio/charset/CoderResult.java: New file.
7131 * Makefile.am (ordinary_java_source_files): Added new files.
7132 * Makefile.in: Regenerated.
7133
7134 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7135
7136 * gnu/java/nio/charset/ISO_8859_1.java,
7137 gnu/java/nio/charset/Provider.java,
7138 gnu/java/nio/charset/US_ASCII.java,
7139 gnu/java/nio/charset/UTF_16.java,
7140 gnu/java/nio/charset/UTF_16BE.java,
7141 gnu/java/nio/charset/UTF_16Decoder.java,
7142 gnu/java/nio/charset/UTF_16Encoder.java,
7143 gnu/java/nio/charset/UTF_16LE.java,
7144 gnu/java/nio/charset/UTF_8.java: New files.
7145
7146 2002-11-11 Michael Koch <konqueror@gmx.de>
7147
7148 * java/nio/charset/CharacterCodingException.java:
7149 This class must be public.
7150 * java/nio/charset/CoderMalfunctionError.java:
7151 This class must be public.
7152 * java/nio/charset/CodingErrorAction.java:
7153 This class must be public.
7154 * java/nio/charset/IllegalCharsetNameException.java:
7155 This class must be public, better implementation.
7156 * java/nio/charset/MalformedInputException.java:
7157 This class must be public, better implementation.
7158 * java/nio/charset/UnmappableCharacterException.java:
7159 This class must be public, better implementation.
7160 * java/nio/charset/UnsupportedCharsetException.java:
7161 This class must be public, better implementation.
7162
7163 2002-11-11 Michael Koch <konqueror@gmx.de>
7164
7165 * java/nio/BufferOverflowException.java,
7166 java/nio/BufferUnderflowException.java: New file.
7167 * Makefile.am (ordinary_java_source_files):
7168 Added new files.
7169 * Makefile.in: Regenerated.
7170
7171 2002-11-10 Tom Tromey <tromey@redhat.com>
7172
7173 * java/awt/Container.java (validate): Use tree lock.
7174 (getComponent): Likewise.
7175 (getComponents): Likewise.
7176 (addImpl): Likewise.
7177 (remove): Likewise.
7178 (removeAll): Likewise.
7179 (processEvent): Fixed indentation.
7180 (getComponentAt): Use tree lock.
7181 (findComponentAt): Likewise.
7182 (removeNotify): Likewise.
7183 (isAncestorOf): Likewise.
7184 (list): Likewise.
7185 (visitChildren): Likewise.
7186 (findNextFocusComponent): Likewise.
7187 (addNotifyContainerChildren): Likewise.
7188 (getAccessibleChildrenCount): Likewise.
7189 (getAccessibleChild): Likewise.
7190
7191 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7192 (getSize): Likewise.
7193 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7194 (getSize): Likewise.
7195 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7196 (calcSize): Likewise.
7197 * java/awt/CardLayout.java (getSize): Use tree lock.
7198 (gotoComponent): Likewise.
7199 (layoutContainer): Likewise.
7200
7201 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7202 count is 0.
7203 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7204 count is 0.
7205
7206 * java/io/Externalizable.java, java/io/FilePermission.java,
7207 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7208 java/io/SerializablePermission.java, java/text/Format.java,
7209 java/util/AbstractMap.java, java/util/HashMap.java,
7210 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7211 versions from Classpath.
7212
7213 2002-11-10 Anthony Green <green@redhat.com>
7214
7215 * java/util/jar/Attributes.java (Name): Fix name check.
7216
7217 2002-11-10 Mark Wielaard <mark@klomp.org>
7218
7219 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7220 with getName() as message.
7221 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7222 type as message.
7223
7224 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7225 unused.
7226
7227 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7228
7229 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7230 for Win32. JNICALL has been defined to __stdcall to be compatible
7231 with Sun's JDKs.
7232
7233 2002-11-10 Tom Tromey <tromey@redhat.com>
7234
7235 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7236 (setRows): Check newRows, not rows.
7237
7238 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7239
7240 2002-11-09 Tom Tromey <tromey@redhat.com>
7241
7242 * java/applet/Applet.java, java/applet/AppletContext.java,
7243 java/applet/AppletStub.java, java/applet/AudioClip.java,
7244 java/awt/CardLayout.java,
7245 java/awt/ContainerOrderFocusTraversalPolicy.java,
7246 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7247 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7248 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7249 java/awt/color/ICC_ColorSpace.java,
7250 java/awt/color/ICC_Profile.java,
7251 java/awt/color/ICC_ProfileGray.java,
7252 java/awt/color/ICC_ProfileRGB.java,
7253 java/awt/datatransfer/DataFlavor.java,
7254 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7255 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7256 New versions from Classpath.
7257 * Makefile.in: Rebuilt.
7258 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7259 ICC_ProfileRGB.
7260
7261 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7262 display policy.
7263
7264 * java/awt/List.java (processEvent): Added missing `else's.
7265
7266 * java/awt/Window.java (show): validate() before showing. Make
7267 parent displayable.
7268 (isDisplayable): New method.
7269
7270 2002-11-07 Mark Wielaard <mark@klomp.org>
7271
7272 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7273 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7274
7275 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7276 annotation.
7277 (loadClass): Take String as codebases.
7278 (getClassAnnotation): Use MyClassLoader annotations.
7279 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7280 call exportObject(this).
7281
7282 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7283 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7284 (setAnnotation): Don't set locBytesStream and locStream.
7285 (replaceObject): Removed.
7286 (flush): Don't test locStream.
7287 (getLocBytes): LikeWise.
7288 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7289 (leaseCache): New field.
7290 (dirty): Use leaseCache.
7291 (LeaseRecord): New inner class.
7292 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7293 explicitly call exportObject().
7294 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7295 false to communicate with Sun JDK130.
7296 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7297 * gnu/java/rmi/server/RMIObjectInputStream.java
7298 (UnicastConnectionManager): Removed field.
7299 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7300 Use UnicastServer.getExportedRef().
7301 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7302 (expireTime): Likewise.
7303 (CONNECTION_TIMEOUT): Likewise.
7304 (disconnect): Call sock.close().
7305 (isExpired): New method.
7306 (resetTime): Likewise.
7307 (run): Use do while loop and catch Exception for discardConnection().
7308 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7309 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7310 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7311 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7312 (exportObject): Use refcache.
7313 (unexportObject): Likewise.
7314 (getExportedRef): New method.
7315 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7316 constructor.
7317 (exportObject): Save manager.serverobj.
7318 (getStub): New method.
7319
7320 2002-11-07 Mark Wielaard <mark@klomp.org>
7321
7322 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7323 (getByte): Likewise.
7324 (getShort): Likewise.
7325 (getInt): Likewise.
7326 (getLong): Likewise.
7327 (getFloat): Likewise.
7328 (getDouble): Likewise.
7329 (get): Likewise.
7330 (setChar): Likewise.
7331 (setByte): Likewise.
7332 (setShort): Likewise.
7333 (setInt): Likewise.
7334 (setLong): Likewise.
7335 (setFloat): Likewise.
7336 (setDouble): Likewise.
7337
7338 2002-11-07 Michael Koch <konqueror@gmx.de>
7339
7340 * java/awt/Choice.java,
7341 java/awt/Container.java,
7342 java/awt/GridBagLayout.java:
7343 Fixed documentation.
7344 * java/awt/peer/ContainerPeer.java:
7345 Reindented.
7346
7347 2002-11-07 Michael Koch <konqueror@gmx.de>
7348
7349 * java/awt/color/ICC_Profile.java:
7350 Added missing constants.
7351 * java/awt/color/ICC_ColorSpace.java
7352 (getMinValue): Added dummy implementation.
7353 (getMaxValue): Added dummy implementation.
7354 * java/awt/datatransfer/DataFlavor.java
7355 (imageFlavor): Added.
7356 (isMimeTypeEqual): Must be final.
7357 (getDefaultRepresentationClass): Must be non-static.
7358 (getDefaultRepresentationClassAsString): Must be non-static.
7359 * java/awt/dnd/DragSourceContext.java
7360 (dragExit): Corrected argument.
7361 (dragDropEnd): Corrected argument.
7362 * java/awt/dnd/DragSourceListener.java.java
7363 (dragExit): Corrected argument.
7364 (dragDropEnd): Corrected argument.
7365 * java/awt/font/TextHitInfo.java
7366 (toString): Added stubbed implementation.
7367 * java/awt/geom/PathIterator.java:
7368 The constants must be static.
7369 * java/awt/image/VolatileImage.java
7370 (IMAGE_INCOMPATIBLE): Fixed typo.
7371 * java/awt/image/renderable/RenderableImage.java
7372 (HINTS_OBSERVED): Must be static.
7373 * java/beans/BeanInfo.java:
7374 Constants must be final.
7375
7376 2002-11-06 Tom Tromey <tromey@redhat.com>
7377
7378 From svens@it.uu.se. For PR libgcj/8481.
7379 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7380
7381 2002-11-06 Tom Tromey <tromey@redhat.com>
7382
7383 * jni.cc (array_from_valist): Assume that jlong won't be
7384 promoted.
7385
7386 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7387
7388 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7389 Return 20.
7390 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7391 Return 16.
7392
7393 2002-11-03 Tom Tromey <tromey@redhat.com>
7394
7395 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7396 VMClassLoader, not findClass.
7397
7398 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7399
7400 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7401 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7402 _Jv_DetermineVTableIndex, to determine vtable offset.
7403 (_Jv_DetermineVTableIndex): Remove.
7404 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7405
7406 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7407
7408 2002-11-03 Tom Tromey <tromey@redhat.com>
7409
7410 * java/nio/channels/AlreadyConnectedException.java: Extend
7411 IllegalStateException, per spec.
7412
7413 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7414
7415 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7416
7417 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7418
7419 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7420 size items.
7421
7422 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7423
7424 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7425 initial estimated size to avoid enlarge buffer frequently.
7426
7427 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7428
7429 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7430 ClassLoader when null.
7431 (ProxyType.hashCode): Loader null check no longer needed.
7432 (ProxyType.sameTypes): New method.
7433 (ProxyType.equals): Use new method.
7434
7435 2002-10-31 Mark Wielaard <mark@klomp.org>
7436
7437 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7438 length of String.
7439 * java/net/URLEncoder.java (encode): Likewise.
7440
7441 2002-10-31 Mark Wielaard <mark@klomp.org>
7442
7443 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7444 when stream is closed.
7445 (closeEntry): Likewise.
7446 (read): Likewise.
7447 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7448 ZipException when no entry active.
7449 (closeEntry): Likewise.
7450 (write): Likewise.
7451
7452 2002-11-02 Tom Tromey <tromey@redhat.com>
7453
7454 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7455 * java/lang/natClass.cc (initializeClass): Don't return just
7456 because self==thread.
7457
7458 For PR java/8415:
7459 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7460 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7461
7462 2002-11-02 Andreas Schwab <schwab@suse.de>
7463
7464 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7465 pass GCJFLAGS.
7466 (FLAGS_TO_PASS): Define.
7467 * Makefile.in: Regenerated.
7468
7469 2002-11-01 Michael Koch <konqueror@gmx.de>
7470
7471 * java/nio/ByteOrder.java: New file.
7472 * java/nio/channels/DatagramChannel.java:
7473 (DatagramChannel): New constructor.
7474 * java/nio/channels/Pipe.java: New file.
7475 * java/nio/channels/SelectableChannel.java: New file.
7476 * java/nio/channels/SelectionKey.java: New file.
7477 * java/nio/channels/Selector.java: New file.
7478 * java/nio/channels/ServerSocketChannel.java
7479 (ServerSocketChannel): New constructor.
7480 * java/nio/channels/SocketChannel.java
7481 (SocketChannel): New constructor.
7482 * java/nio/channels/Pipe.java: New file.
7483 * java/nio/channels/spi/AbstractChannel.java: New file.
7484 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7485 * java/nio/channels/spi/AbstractSelectableChannel.java:
7486 License added
7487 (AbstractSelectableChannel): New stubbed method.
7488 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7489 * java/nio/channels/spi/AbstractSelector.java: New file.
7490 * java/nio/channels/spi/SelectorProvider.java: New file.
7491 * java/nio/charset/Charset.java: New file.
7492 * java/nio/charset/CoderMalfunctionError.java: New file.
7493 * java/nio/charset/CodingErrorAction.java: New file.
7494 * java/nio/charset/spi/CharsetProvider.java
7495 (charsetForName): Uncommented.
7496 * Makefile.am (java_native_source_files): Added new files.
7497 * Makefile.in: Regenerated.
7498
7499 2002-11-01 Michael Koch <konqueror@gmx.de>
7500
7501 * java/net/InetAddress.java:
7502 (isAnyLocalAddress): Implemented.
7503 (isLoopbackAddress): Implemented, comment added.
7504 (isLinkLocalAddress): Implemented, documentation added.
7505 (isSiteLocalAddress): Implemented, documentation added.
7506 (isMCGlobal): Implemented, documentation added.
7507 (isMCNodeLocal): Implemented, documentation added.
7508 (isMCLinkLocal): Implemented, documentation added.
7509 (isMCSiteLocal): Implemented, documentation added.
7510 (isMCOrgLocal): Implemented, documentation added.
7511 (getHostName): Documentation added.
7512 (getCanonicalHostName): Implemented, documentation added.
7513 (getAddress): Documentation added.
7514 (hashCode): Documentation added.
7515 (equals): Documentation added.
7516 (toString): Fixed implementation.
7517 (getByAddress): Use Inet4Address and Inet6Address.
7518 (lookup): New linewrap.
7519 (getByName): SecurityManager check added, support Inet4Address and
7520 Inet6address, comments added.
7521 (getAllByName): SecurityManager check added, comments added.
7522 * java/net/Inet6Address.java:
7523 (Inet6Address): Initialize parent class with addr instead of null.
7524 * java/net/URL.java
7525 (equals): Documentation added.
7526 (getFile): Documentation added.
7527 (hashCode): Documentation added.
7528 * java/net/natInetAddress.cc:
7529 (aton): Fix IPv6 support.
7530 * java/net/natPlainDatagramSocketImpl.cc:
7531 (peek): Throw PortUnreachableException when suitable.
7532 (peekData): Throw PortUnreachableException when suitable.
7533 (send): Throw PortUnreachableException when suitable.
7534 (receive): Throw PortUnreachableException when suitable.
7535
7536 2002-10-27 Mark Wielaard <mark@klomp.org>
7537
7538 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7539 argument.
7540 (readLeShort): Likewise and use byte[].
7541 (readLeInt): Likewise.
7542 (readEntries): Use new versions of methods and use byte[] for reading
7543 a complete zip entry. Add ZipFile name to exceptions.
7544 (entries): Add ZipFile name to exceptions.
7545 (getEntry): Likewise.
7546 (checkLocalHeader): Use new versions of methods and add ZipFile name
7547 to exceptions.
7548
7549 2002-10-31 Mark Anderson <mark@panonet.net>
7550
7551 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7552 added
7553
7554 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7555
7556 * configure.in: Disable hash sync when not using threads.
7557 * configure: Regenerated.
7558
7559 2002-10-24 Tom Tromey <tromey@redhat.com>
7560
7561 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7562 (_Jv_FindSymbolInExecutable): Removed argument name.
7563 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7564 java.library.path is set.
7565
7566 * gij.cc (help): Document --showversion.
7567 (version): Don't exit.
7568 (main): Handle --showversion. Exit if --version given.
7569
7570 2002-10-23 Tom Tromey <tromey@redhat.com>
7571
7572 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7573 (array_from_valist): Correctly handle promotion for jint, jlong,
7574 jfloat, and jdouble.
7575
7576 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7577
7578 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7579 GetFileAttributesEx( ) to find file length and modification times,
7580 as the latter is not present on Windows 95.
7581
7582 2002-10-21 Michael Koch <konqueror@gmx.de>
7583
7584 * java/net/URL.java
7585 (URL): Activate SecurityManager checks.
7586 (equals): Use URLStreamHandler implementation instead of doing it
7587 alone. This allows special protocol stream handlers to change default
7588 behaviour.
7589 (hashCode): Use URLStreamHandler implementation instead of doing it
7590 alone. This allows special protocol stream handlers to change default
7591 behaviour.
7592 * java/net/URLStreamHandler.java
7593 (equals): Implemented default URL equality check.
7594 (hostsEqual): Implemented default URL equality check.
7595 (hashCode): Implemented default URL hashCode algorithm.
7596 * java/net/natPlainDatagramSocketImpl.cc:
7597 No lines longer then 80 characters.
7598
7599 2002-10-20 Adam Megacz <adam@xwt.org>
7600
7601 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7602 * configure.in: enabled hash sync on Win32
7603 * include/win32-threads.h (_Jv_ThreadId_t): added.
7604 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7605 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7606 removed some posix-isms, use Thread::sleep() instead of usleep,
7607 added code to clear bottom three bits if platform has a broken
7608 linker.
7609 * include/win32-threads.h (_Jv_ThreadId_t): added.
7610
7611 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7612
7613 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7614 runtime property "gnu.gcj.progname" containing the name used to
7615 invoke the current Java program (similar to argv[0] for C
7616 programs).
7617
7618 2002-10-15 Tom Tromey <tromey@redhat.com>
7619
7620 Fix for PR libgcj/8234:
7621 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7622 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7623
7624 2002-10-13 Mark Wielaard <mark@klomp.org>
7625
7626 * mauve-libgcj: Enable Mauve tests that compile now.
7627
7628 2002-10-11 Mark Wielaard <mark@klomp.org>
7629
7630 Fix for PR libgcj/8142
7631 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7632 loading native modules.
7633
7634 2002-10-10 Michael Koch <konqueror@gmx.de>
7635
7636 * javax/swing/AbstractListModel.java
7637 (getListDataListeners): New stubbed method.
7638 javax/swing/DefaultBoundedRangeModel.java
7639 (getChangeListeners): New stubbed method.
7640 javax/swing/DefaultSingleSelectionModel.java
7641 (getChangeListeners): New stubbed method.
7642
7643 2002-10-10 Michael Koch <konqueror@gmx.de>
7644
7645 * gcj/.cvsignore: New file to ignore files generated during build.
7646 * include/.cvsignore: New file to ignore files generated during build.
7647
7648 2002-10-10 Michael Koch <konqueror@gmx.de>
7649
7650 * java/net/HttpURLConnection.java
7651 (getPermission): New method.
7652 (getErrorStream): New stub method.
7653 (getHeaderFieldDate): New stub method.
7654 * java/net/Inet4Address.java:
7655 (isLinkLocalAddress): Typo fixed.
7656 * java/net/InetAddress.java:
7657 (readResolve): New stubbed method (for serialization).
7658 (isAnyLocalAddress): New stubbed method.
7659 (isLoopbackAddress): New stubbed method.
7660 (isLinkLocalAddress): New stubbed method.
7661 (isSiteLocalAddress): New stubbed method.
7662 (isMCGlobal): New stubbed method.
7663 (isMCNodeGlobal): New stubbed method.
7664 (isMCLinkLocal): New stubbed method.
7665 (isMCSiteLocal): New stubbed method.
7666 (isMCOrgLocal): New stubbed method.
7667 (getCanonicalHostName): New stubbed method.
7668 (getByAddress): Create instances of Inet4Address/Inet6Address,
7669 instead of InetAddress, documentation added.
7670 * java/net/MulticastSocket.java
7671 (getInterface): Removed FIXME.
7672 (getNetworkInterface): New method.
7673 (setNetworkInterface): New method.
7674 * java/net/NetworkInterface.java:
7675 (toString): Use property "line.separator" instead of "\n".
7676 * java/net/URLConnection.java
7677 (getContent): New stubbed method.
7678 * java/net/URLStreamHandler.java:
7679 (equals): New stubbed method.
7680 (hostsEqual): New stubbed method.
7681 (hashCode): New stubbed method.
7682 * java/net/natNetworkInterface.cc:
7683 (getRealNetworkInterfaces): Create Inet4Address object
7684 instead of InetAddress.
7685
7686 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7687
7688 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7689 unsigned long temporary to implement insn_iushr shifts.
7690
7691 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7692
7693 * configure.host [s390*-*]: Enable Java interpreter.
7694 Enable hash synchronization. Add sysdeps dir.
7695 * sysdep/s390/locks.h: New file.
7696
7697 2002-10-06 Mark Wielaard <mark@klomp.org>
7698
7699 * java/lang/Thread.java (setDaemon): Check startable_flag,
7700 not isAlive().
7701
7702 2002-10-07 Michael Koch <konqueror@gmx.de>
7703
7704 * java/nio/Buffer.java: New stub file.
7705 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7706 of class Charset.
7707 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7708 * Makefile.in: Regenerated.
7709
7710 2002-10-07 Michael Koch <konqueror@gmx.de>
7711
7712 * java/nio/ByteBuffer.java:
7713 removed import of not commited class.
7714
7715 2002-10-07 Michael Koch <konqueror@gmx.de>
7716
7717 * java/nio/ByteBuffer.java,
7718 java/nio/MappedByteBuffer.java:
7719 New files, forgot to add these dummies.
7720 * Makefile.am (java_native_source_files): Added new files.
7721 * Makefile.in: Regenerated.
7722
7723 2002-10-07 Michael Koch <konqueror@gmx.de>
7724
7725 * java/nio/channels/AlreadyConnectedException.java,
7726 java/nio/channels/ClosedChannelException.java,
7727 java/nio/channels/ReadableByteChannel.java,
7728 java/nio/channels/InterruptibleChannel.java,
7729 java/nio/channels/Channel.java,
7730 java/nio/channels/ByteChannel.java,
7731 java/nio/channels/GatheringByteChannel.java,
7732 java/nio/channels/ScatteringByteChannel.java,
7733 java/nio/channels/WritableByteChannel.java,
7734 java/nio/charset/CharacterCodingException.java,
7735 java/nio/charset/IllegalCharsetNameException.java,
7736 java/nio/charset/MalformedInputException.java,
7737 java/nio/charset/UnmappableCharacterException.java,
7738 java/nio/charset/UnsupportedCharsetException.java,
7739 java/nio/charset/spi/CharsetProvider.java: New file.
7740 These files are exceptions or interfaces,
7741 no real or abstract classes.
7742 * Makefile.am (java_native_source_files): Added new files.
7743 * Makefile.in: Regenerated.
7744
7745 2002-10-05 Michael Koch <konqueror@gmx.de>
7746
7747 * java/net/InetAddress.java
7748 (getByAddress): Fixed documentation.
7749 (getByAddress): New method.
7750 * java/net/Inet4Address.java: New file.
7751 * java/net/URL.java
7752 (URL): Documentation added.
7753 (getContent): Documentation added.
7754 (getContent): New stubbed method.
7755 (getQuery): New method.
7756 (openConnection): Documentation added.
7757 (openStream): Documentation added.
7758 (setURLStreamHandlerFactory): Documentation added.
7759 * java/net/URI.java: New stub file.
7760 * Makefile.am
7761 (java_native_source_files): Added java/net/Inet4Address.java,
7762 java/net/Inet6Address.java and java/net/URI.java.
7763 * Makefile.in: Regenerated.
7764
7765 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7766
7767 * java/lang/ProtectionDomain.java (linesep): Remove field.
7768 (toString): Use System.getProperty("line.separator").
7769
7770 2002-10-04 Michael Koch <konqueror@gmx.de>
7771
7772 * java/security/Identity.java: Added serialVersionUID.
7773 * java/security/KeyPair.java: Added serialVersionUID.
7774 * java/security/Provider.java: Added serialVersionUID.
7775 * java/security/SecureRandom.java: Added serialVersionUID.
7776 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7777 * java/security/SignedObject.java: Added serialVersionUID.
7778 * java/security/cert/Certificate.java: Added serialVersionUID.
7779
7780 2002-10-04 Mark Wielaard <mark@klomp.org>
7781
7782 * java/security/Security.java: Use java.home or gnu.classpath.home
7783 to load providers.
7784 (loadProviders): Extra dir argument.
7785 (getProvider): Return null when not found.
7786
7787 2002-10-04 Mark Wielaard <mark@klomp.org>
7788
7789 * java/lang/Throwable.java: Remerge with Classpath.
7790
7791 2002-10-04 Michael Koch <konqueror@gmx.de>
7792
7793 * java/net/InetAddress.java:
7794 (isMulticastAddress): Added documentation.
7795 (getHostAddress): Added documentation.
7796 (toString): Added documentation.
7797 (getByAddress): Fixed documentation.
7798 (getByName): Added documentation.
7799 (getAllByName): Added documentation.
7800 (getLocalHost): Added documentation.
7801
7802 2002-10-04 Michael Koch <konqueror@gmx.de>
7803
7804 * java/beans/beancontext/BeanContextChildSupport.java:
7805 Added serialVersionUID.
7806 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7807 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7808 * javax/naming/Name.java: Added serialVersionUID.
7809
7810 2002-10-03 Adam Megacz <adam@xwt.org>
7811
7812 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7813 some functionality that isn't supported yet on WIN32.
7814
7815 2002-10-03 Tom Tromey <tromey@redhat.com>
7816
7817 * Makefile.in: Rebuilt.
7818 * Makefile.am (awt_java_source_files): Added new files.
7819
7820 2002-10-03 Michael Koch <konqueror@gmx.de>
7821
7822 * java/net/InetAddress.java
7823 (class InetAddress): Removed final keyword.
7824 (equals): Fixed typo.
7825 (getByAddress): New method.
7826
7827 2002-10-03 Michael Koch <konqueror@gmx.de>
7828
7829 * java/awt/dnd/Autoscroll.java:
7830 New file, merge from Classpath.
7831 * java/awt/dnd/DragSourceAdapter.java:
7832 (dragExit): Fixed typos in argument type.
7833 (dragDropEnd): Fixed typos in argument type.
7834 * java/awt/dnd/DragSourceDropEvent.java:
7835 New file, merge from Classpath.
7836 * java/awt/dnd/DropTarget.java:
7837 Added stubs, merge from Classpath.
7838 * java/awt/dnd/DropTargetAdapter.java:
7839 New file, merge from Classpath.
7840 * java/awt/dnd/DropTargetContext.java:
7841 New file, merge from Classpath.
7842 * java/awt/dnd/DropTargetDragEvent.java:
7843 New file, merge from Classpath.
7844 * java/awt/dnd/DropTargetDropEvent.java:
7845 New file, merge from Classpath.
7846 * java/awt/dnd/DropTargetEvent.java:
7847 New file, merge from Classpath.
7848 * java/awt/dnd/DropTargetListener.java:
7849 New file, merge from Classpath.
7850 * java/awt/dnd/MouseDragGestureRecognizer.java:
7851 New file, merge from Classpath.
7852 * java/awt/dnd/peer/DropTargetContextPeer.java:
7853 New file, merge from Classpath.
7854
7855 2002-10-03 Michael Koch <konqueror@gmx.de>
7856
7857 * java/net/DatagramPacket.java
7858 (setLength): Fixed typo and be HTML-aware.
7859 * java/net/InetSocketAddress.java
7860 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7861 (equals): Added comment about equality of InetSocketAddress objects.
7862 * java/net/ServerSocket.java
7863 (accept): Added checks.
7864 (isClosed): New stubbed method.
7865 * java/net/SocketOptions.java: Reindention.
7866 * java/net/SocketPermission
7867 (SocketPermission): Documentation fixed.
7868
7869 2002-10-03 Michael Koch <konqueror@gmx.de>
7870
7871 * java/net/DatagramSocket.java
7872 (receive): Check with SecurityManager AFTER the packet is received,
7873 check if connected to multicast address, documentation added.
7874 (send): Only check SecurityManager if connected, check address of
7875 packet to send.
7876 (connect): Implemented, documentation added.
7877 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7878 * java/net/InetSocketAddress.java
7879 (whole file): Reindented.
7880 (hostname): New attribute.
7881 (InetSocketAddress): Initialize new attribute.
7882 (getAddress): Documentation added.
7883 (getHostName): Documentation added.
7884 (getPort): Documentation added.
7885 (hashCode): Documentation added.
7886 (isUnresolved): Documentation added.
7887 (toString): Conform to output of JDK 1.4.1, documentation added.
7888 * java/net/MulticastSocket.java
7889 (joinGroup): Removed FIXME, documentation added.
7890 (leaveGroup): Removed FIXME, documentation added.
7891 (send): Documentation added.
7892 * java/net/Socket.java
7893 (inputShutdown): New variable.
7894 (outputShutdown): New variable.
7895 (Socket): Initialize new variables.
7896 (getRemoteSocketAddress): Check if connected.
7897 (shutdownInput): Set new variable.
7898 (shutdownOutput): Set new variable.
7899 (isConnected): New method.
7900 (isClosed): New method.
7901 (isInputShutdown): New method.
7902 (isOutputShutdown): New method.
7903 * java/net/URLStreamHandler.java
7904 (URLStreamHandler): New method.
7905 (openConnection): Added documentation.
7906 (parseURL): Added documentation.
7907 (getHostAddress): New method.
7908 (getDefaultPort): New method.
7909
7910 2002-10-02 Tom Tromey <tromey@redhat.com>
7911
7912 * java/rmi/activation/ActivationDesc.java,
7913 java/rmi/activation/ActivationGroupDesc.java,
7914 java/rmi/activation/ActivationGroupID.java,
7915 java/rmi/activation/ActivationID.java: New versions from
7916 Classpath.
7917
7918 2002-09-30 Bo Thorsen <bo@suse.de>
7919
7920 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7921
7922 2002-09-30 Tom Tromey <tromey@redhat.com>
7923
7924 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7925 from Classpath.
7926 * Makefile.in: Rebuilt.
7927 * Makefile.am (rmi_java_source_files): Added new files.
7928 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7929 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7930 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7931 Classpath.
7932 * gnu/java/rmi/dgc/DGCImpl.java,
7933 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7934 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7935 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7936 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7937 gnu/java/rmi/server/RMIHashes.java,
7938 gnu/java/rmi/server/RMIObjectInputStream.java,
7939 gnu/java/rmi/server/RMIObjectOutputStream.java,
7940 gnu/java/rmi/server/UnicastConnection.java,
7941 gnu/java/rmi/server/UnicastConnectionManager.java,
7942 gnu/java/rmi/server/UnicastRef.java,
7943 gnu/java/rmi/server/UnicastServer.java,
7944 gnu/java/rmi/server/UnicastServerRef.java,
7945 java/rmi/MarshalledObject.java,
7946 java/rmi/server/RMIClassLoader.java,
7947 java/rmi/server/RemoteObject.java,
7948 java/rmi/server/UnicastRemoteObject.java,
7949 java/security/SecureClassLoader.java: Merged from Classpath.
7950
7951 2002-09-29 Anthony Green <green@redhat.com>
7952
7953 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7954 Imported from GNU Classpath.
7955 * java/lang/reflect/natProxy.cc: New file.
7956 * java/lang/reflect/InvocationHandler.java: New file. Imported
7957 from GNU Classpath.
7958 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7959 Classpath.
7960 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7961 Classpath.
7962 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7963 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7964 New statics.
7965 * gcj/javaprims.h ("Java"): Add new classes.
7966 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7967 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7968 java/lang/reflect/Proxy$$ProxyType.h): And this.
7969 (inner_nat_headers): Add these new headers.
7970 (ordinary_java_source_files): Add new files.
7971 (nat_source_files): Add new file.
7972 * Makefile.in: Rebuilt.
7973
7974 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7975
7976 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7977 a single configuration.
7978
7979 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7980
7981 * java/util/TimeZone.java (getDSTSavings): New method.
7982 Fixes PR libgcj/7786.
7983
7984 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7985
7986 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7987 to see if `the_method == 0' before looking up vtable index.
7988 Fixes PR libgcj/7709.
7989
7990 2002-09-25 Tom Tromey <tromey@redhat.com>
7991
7992 * java/lang/natClassLoader.cc:
7993 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7994 * resolve.cc: Include NoClassDefFoundError.h, not
7995 ClassNotFoundException.h.
7996 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7997
7998 * defineclass.cc: Don't include ClassNotFoundException.h.
7999
8000 * resolve.cc: Include StringBuffer.
8001 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8002
8003 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8004 allocated but not initialized.
8005
8006 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8007
8008 Fix for PR libgcj/7766:
8009 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8010 (getNextEntry): Set it.
8011 (closeEntry): Likewise.
8012 (read): Likewise.
8013 (close): Likewise.
8014 (available): Use it.
8015
8016 2002-09-25 Michael Koch <konqueror@gmx.de>
8017
8018 * java/net/DatagramSocket.java
8019 (DatagramSocket): Initialize new instance variables.
8020 (close): Reset new instance variables.
8021 (getLocalAddress): Remove unneeded SecurityManager usage.
8022 (getLocalPort): Check if socket is already bound.
8023 (isConnected): New method.
8024 (getInetAddress): Implemented.
8025 (getPort): Better Implementation, documentation fixed.
8026 (getRemoteSocketAddress): New method.
8027 * java/net/JarURLConnection.java
8028 (element): Typo fixed.
8029 (getMainAttributes): New method.
8030 (getAttributes): New method (stub only).
8031 (getManifest): New method (stub only).
8032 * java/net/NetPermission.java: Added serialVersionsUID.
8033 * java/net/Socket.java
8034 (connect): Check blocking mode of associated channel,
8035 documentation added.
8036 (getLocalSocketAddress): Better implementation.
8037 (getRemoteSocketAddress): Implemented.
8038 (isBound): New method.
8039 (setSendBufferSize): Documentation added.
8040 * java/net/SocketAddress.java: Added serialVersionsUID.
8041 * java/net/SocketPermission.java: Added serialVersionsUID.
8042 * java/net/URL.java
8043 (URL): Wrap for shorter lines, initialize new instance variables,
8044 documentation added.
8045 (equals): Check new instance variables too.
8046 (getContent): Documentation added.
8047 (getPath): Documentation added.
8048 (getAuthority): New method.
8049 (getHost): Documentation added.
8050 (getPort): Documentation added.
8051 (getDefaultPort): New method.
8052 (getProtocol): Documentation added.
8053 (getUserInfo): Documentation added.
8054 (set): Initialize new instance variables, documentation added.
8055 * java/net/URLStreamHandler.java
8056 (setURL): New method.
8057 * java/net/natPlainDatagramSocketImpl.cc
8058 (connect): Fix exception name.
8059 (disconnect): Fix exception name.
8060
8061 2002-09-25 Michael Koch <konqueror@gmx.de>
8062
8063 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8064 * java/nio/channels/DatagramChannel.java:
8065 extends AbstractSelectableChannel
8066 * java/nio/channels/ServerSocketChannel.java:
8067 extends AbstractSelectableChannel
8068 * java/nio/channels/SocketChannel.java:
8069 extends AbstractSelectableChannel
8070 * Makefile.am (ordinary_java_source_files):
8071 java/nio/channels/spi/AbstractSelectableChannel.java added.
8072 * Makefile.in: Regenerated.
8073
8074 2002-09-25 Michael Koch <konqueror@gmx.de>
8075
8076 * java/net/DatagramSocket.java
8077 (DatagramSocket): Exception documentation added.
8078 (bind): Exception documentation added, addded SecurityManager check,
8079 added SocketAddress type check.
8080 (getSoTimeout): Check impl.
8081 (receive): Fix SecurityManager check, check impl, documentation added.
8082 (send): Check channel mode, documentation added.
8083 (connect): New method.
8084 (disconnect): Implemented.
8085 (getLocalSocketAddress): New method.
8086 (getReceiveBufferSize): Check impl.
8087 (setReuseAddress): Check impl.
8088 (getReuseAddress): Check impl.
8089 (setBroadcast): Check impl.
8090 (getBroadcast): Check impl.
8091 (setTrafficClass): Check impl, Documentation cleared.
8092 (getTrafficClass): Check impl.
8093 (getSendBufferSize): Check impl.
8094 (setReceiveBufferSize): Check impl, documentation added.
8095 (setSendBufferSize): Documentation added.
8096 (setDatagramSocketImplFactory): New method.
8097 * java/net/HttpURLConnection.java
8098 (HTTP_INTERNAL_ERROR): The correct code is 500.
8099 (HTTP_NOT_IMPLEMENTED): Added new constant.
8100 (setFollowRedirects): Documentation added.
8101 (getInstanceFollowRedirects): New method.
8102 (setInstanceFollowRedirects): New method.
8103 (setRequestMethod): Documentation added.
8104 (getResponseCode): Documentation added.
8105 (getResponseMessage): Documentation added.
8106 * java/net/JarURLConnection.java
8107 (JarURLConnection): protected since JDK 1.4.
8108 (getJarEntry): java.io.IOException to IOException, documentation added.
8109 (getJarFile): Documentation added.
8110 * java/net/ServerSocket.java
8111 (ServerSocket): Private to public, exception added.
8112 (ServerSocket): java.io.IOException to IOException, documentation added.
8113 (bind): Check socket address type, documentation added.
8114 (bind): java.io.IOException to IOException, documentation added.
8115 (accept): Documentation added.
8116 (implAccept): Check ch is not non-blocking, documentation added.
8117 (setSoTimeout): Documentation fixed.
8118 (setReceiveBufferSize): Documentation added.
8119 * java/net/Socket.java
8120 (Socket): Documentation added.
8121 (bind): Documentation added.
8122 (connect): Check socket address type, documentation added.
8123 (getRemoteSocketAddress): New method.
8124 (getLocalSocketAddress): New method.
8125 (setSoLinger): Documentation added.
8126 (getReuseAddress): New method.
8127 (setReuseAddress): New method.
8128 (getTrafficClass): New method.
8129 (setTrafficClass): New method.
8130 * java/net/URLStreamHandler.java
8131 (openConnection): java.io.IOException to IOException.
8132 (parseURL): Documentation added.
8133 (sameFile): public to protected, documentation added.
8134 (setURL): Documentation added.
8135 * java/nio/IllegalBlockingModeException.java: New file.
8136 * Makefile.am (ordinary_java_source_files):
8137 added java/nio/IllegalBlockingModeException.java
8138 * Makefile.in: Regenerated.
8139
8140 2002-09-25 Michael Koch <konqueror@gmx.de>
8141
8142 * java/net/DatagramPacket
8143 (DatagramPacket): Exception documentation added.
8144 (setData): Likewise.
8145 (setSocketAddress): Likewise.
8146 * java/net/DatagramSocketImpl.java
8147 (peek): Documentation addded.
8148 (peekData): Documentation addded.
8149 (send): Documentation addded.
8150 (receive): Documentation addded.
8151 (connect): New method.
8152 (disconnect): New method.
8153 (joinGroup): New abstract method.
8154 (leaveGroup): New abstract method.
8155 * java/net/InetSocketAddress.java
8156 (InetSocketAddress): Documentation added.
8157 (equals): final keyword added.
8158 (getAddress): final keyword added.
8159 (getHostName): final keyword added.
8160 (getPort): final keyword added.
8161 (hashCode): final keyword added.
8162 (isUnresolved): final keyword added.
8163 * java/net/MulticastSocket.java
8164 (MulticastSocket): Documentation added.
8165 (MulticastSocket): New method.
8166 (joinGroup): Documentation added.
8167 (joinGroup): New method.
8168 (leaveGroup): Documentation added.
8169 (leaveGroup): New method.
8170 (send): Documentation added.
8171 * java/net/NetworkInterface.java
8172 (getByName): Documentation added.
8173 (getByInetAddress): Documentation added.
8174 (getNetworkInterfaces): Documentation added.
8175 * java/net/PlainDatagramSocketImpl.java
8176 (connect): New method.
8177 (disconnect): New method.
8178 * java/net/SocketImpl.java
8179 (create): Documentation added.
8180 (shutdownInput): Convert public to protected, as it always was.
8181 (shutdownOutput): Convert public to protected, as it always was.
8182 * java/net/SocketOptions.java
8183 (whole file): Reintented.
8184 * java/net/URLClassLoader.java
8185 (URLClassLoader): SecurityManager check added, documentation added.
8186 (findResources): Documentation added.
8187 (findClass): Documentation added.
8188 (newInstance): More correct method arguments.
8189 * java/net/URLConnection.java
8190 (connect): Documentation added.
8191 (getContent): Documentation added.
8192 (getPermission): Documentation added.
8193 (getInputStream): Documentation added.
8194 (getOutputStream): Documentation added.
8195 (setDoInput): Throw correct exception, documentation added.
8196 (setDoOutput): Throw correct exception, documentation added.
8197 (setAllowUserInteraction): Throw correct exception, documentation added.
8198 (setUseCaches): Throw correct exception, documentation added.
8199 (setIfModifiedSince): Throw correct exception, documentation added.
8200 (setRequestProperty): Throw exception, documentation added.
8201 (addRequestProperty): Throw exception, documentation added.
8202 (getRequestProperty): Throw exception, documentation added.
8203 (getRequestProperties): Documentation added.
8204 (setContentHandlerFactory): Documentation added.
8205 (guessContentTypeFromName): protected to public.
8206 (setFileNameMap): Documentation added.
8207 * java/net/URLDecoder.java
8208 (URLDecoder): New method.
8209 (decode): Documentation added.
8210 (whole file): Reindented.
8211 * java/net/URLEncoder.java
8212 (encode): Documentation added.
8213 * java/net/natPlainDatagramSocketImpl.cc
8214 (connect): New method.
8215 (disconnect): New method.
8216 * javax/naming/RefAddr:
8217 (addrType): addrType was never final.
8218 (equals): Fix typo in method name.
8219 * javax/naming/BinaryRefAddr:
8220 (equals): Fix typo in method name.
8221
8222 2002-09-22 Tom Tromey <tromey@redhat.com>
8223
8224 Fix for PR libgcj/6576:
8225 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8226 didn't find a given bundle.
8227 (getBundle): Don't require base bundle.
8228 (setParent): Removed old comment.
8229 (tryLocalBundle): Try components even if preceding components were
8230 empty.
8231
8232 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8233
8234 * Makefile.am (all-multi): Fix multilib parallel build.
8235
8236 2002-09-21 Michael Koch <konqueror@gmx.de>
8237
8238 * java/net/Socket.java
8239 (sendUrgentData): New method.
8240 (getChannel): New method.
8241 * java/net/ServerSocket.java
8242 (getChannel): New method.
8243 (isBound): New method.
8244 * java/net/DatagramSocket.java
8245 (DatagramSocket): Two new methods.
8246 (bind): New method.
8247 (getChannel): New method.
8248 (isBound): New method.
8249 (send): Added newline to to make shorter lines.
8250 * java/net/PlainDatagramSocketImpl.java
8251 (mcastGrp): Added argument.
8252 (join): Use new mcastGrp.
8253 (leave): Use new mcastGrp.
8254 (joinGroup): New method.
8255 (leaveGroup): New method.
8256 * java/net/natPlainDatagramSocketImpl.cc
8257 (mcastGrp): Added argument, no yet really implemented.
8258 (getOption): Added newline for shorter lines.
8259 * java/net/natPlainSocketImpl.cc
8260 (read, setOption, getOption): Added newline for shorter lines.
8261
8262 2002-09-19 Tom Tromey <tromey@redhat.com>
8263
8264 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8265 newly-created exception.
8266
8267 2002-09-18 Michael Koch <konqueror@gmx.de>
8268
8269 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8270 java/util/regex/PatternSyntaxException.java:
8271 Merge with classpath, new files.
8272 * Makefile.am (core_java_source_files):
8273 Added java/util/regex/Matcher.java,
8274 java/util/regex/Pattern.java,
8275 java/util/regex/PatternSyntaxException.java
8276 * Makefile.in: Regenerated.
8277 * include/config.h.in: Added HAVE_NET_IF_H.
8278 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8279 Removed #if 0 ... #endif.
8280
8281 2002-09-17 Michael Koch <konqueror@gmx.de>
8282
8283 * java/net/natNetworkInterface.cc:
8284 Removed unneed and yet wrong includes.
8285
8286 2002-09-17 Michael Koch <konqueror@gmx.de>
8287
8288 * java/net/NetworkInterface.java: New file.
8289 * java/net/natNetworkInterface.java: New file.
8290 * configure.in: Added check for net/if.h.
8291 * configure: Regenerated.
8292 * Makefile.am
8293 (ordinary_java_source_files): Added NetworkInterface.java.
8294 (nat_source_files): Added natNetworkInterface.cc.
8295 * Makefile.in: Regenerated.
8296
8297 2002-09-16 Tom Tromey <tromey@redhat.com>
8298
8299 * java/net/URLClassLoader.java (findClass): Code source for a
8300 class from a jar is not necessarily a jar: URL.
8301
8302 2002-09-16 Michael Koch <konqueror@gmx.de>
8303
8304 * java/lang/AssertionError.java:
8305 Merge with classpath, fixes HTML.
8306 * java/rmi/server/LogStream.java:
8307 Merge with classpath, fixes some constants.
8308 * java/net/server/RemoteServer.java:
8309 Merge with classpath, adds serialVersionUID.
8310 * javax/naming/BinaryRefAddr.java:
8311 Merge with classpath, s/equal/equals/.
8312 * javax/naming/NamingException.java:
8313 Merge with classpath, fixed typo.
8314 * javax/naming/RefAddr.java:
8315 Merge with classpath, s/equal/equals/.
8316 * java/awt/Toolkit.java:
8317 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8318 and typo fixed.
8319
8320 2002-09-15 Adam Megacz <adam@xwt.org>
8321
8322 * java/net/natPlainSocketImpl.cc: fixed typo.
8323
8324 2002-09-15 Adam Megacz <adam@xwt.org>
8325
8326 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8327 which don't work on Win32 (yet).
8328
8329 2002-09-14 Adam Megacz <adam@xwt.org>
8330
8331 * java/net/natPlainDatagramSocket.cc: removed #include
8332 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8333 * include/win32.h: included definition for IP_TOS to satisfy
8334 natPlainDatagramSocket.cc
8335
8336 2002-09-13 Michael Koch <konqueror@gmx.de>
8337
8338 * java/net/DatagramPacket.java (DatagramPacket):
8339 Added linebreak for 80 chars per line.
8340 * java/net/JarURLConection.java
8341 (getInputStreami, getJarEntry): Likewise.
8342 * java/net/SocketPErmission.java
8343 (SocketPermission class docu, implies): Likewise.
8344 * java/net/URLClassLoader.java (findResources): Likewise.
8345 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8346
8347 2002-09-13 Michael Koch <konqueror@gmx.de>
8348
8349 * java/nio/channels/DatagramChannel.java,
8350 java/nio/channels/ServerSocketChannel.java
8351 java/nio/channels/SocketChannel.java:
8352 New dummy files to make java.net fully JDK 1.4 compatible
8353 * Makefile.am (ordinary_java_source_files): Added
8354 java/net/DatagramSocketImplFactory.java (long forgotten),
8355 java/nio/SocketChannel.java,
8356 java/nio/ServerSocketChannel.java,
8357 java/nio/DatagramChannel.java
8358 * Makefile.in: Regenrated.
8359
8360 2002-09-12 Michael Koch <konqueror@gmx.de>
8361
8362 * java/net/DatagramSocketImpl.java
8363 (peekData): New method.
8364 * java/net/PlainDatagramSocketImpl.java
8365 (peekData): New method.
8366 * java/net/natPlainDatagramSocketImpl.cc
8367 (peekData): New method.
8368 * java/net/URLConnection
8369 (getPermission): New method.
8370 (addRequestProperty): New method.
8371 (getRequestProperties): New method.
8372 (guessContentTypeFromStream): New method, not really implemented.
8373 (URLConnection): Added/updated documentation.
8374 (connect): Added/updated documentation.
8375 (getURL): Added/updated documentation.
8376 (getContentLength): Added/updated documentation.
8377 (getContentType: Added/updated documentation.
8378 (getContentEncoding): Added/updated documentation.
8379 (getExpiration): Added/updated documentation.
8380 (getDate): Added/updated documentation.
8381 (getLastModified): Added/updated documentation.
8382 (getHeaderField): Added/updated documentation.
8383 (getHeaderFields): Added/updated documentation.
8384 (getHeaderFieldInt): Added/updated documentation.
8385 (getHeaderFieldDate): Added/updated documentation.
8386 (getHeaderFieldKey): Added/updated documentation.
8387 (getContent): Added/updated documentation.
8388 (getInputStream): Added/updated documentation.
8389 (getOutputStream): Added/updated documentation.
8390 (toString): Added/updated documentation.
8391 (setDoInput): Added/updated documentation.
8392 (getDoInput): Added/updated documentation.
8393 (setDoOutput): Added/updated documentation.
8394 (getDoOutput): Added/updated documentation.
8395 (setAllowUserInteraction): Added/updated documentation.
8396 (getAllowUserInteraction): Added/updated documentation.
8397 (setDefaultAllowUserInteraction): Added/updated documentation.
8398 (getDefaultAllowUserInteraction): Added/updated documentation.
8399 (setUseCaches): Added/updated documentation.
8400 (getUseCaches): Added/updated documentation.
8401 (setIfModifiedSince): Added/updated documentation.
8402 (getIfModifiedSince): Added/updated documentation.
8403 (getDefaultUseCaches): Added/updated documentation.
8404 (setDefaultUseCaches): Added/updated documentation.
8405 (setRequestProperty): Added/updated documentation.
8406 (getRequestProperty): Added/updated documentation.
8407 (setDefaultRequestProperty): Added/updated documentation.
8408 (getDefaultRequestProperty): Added/updated documentation.
8409 (setContentHandlerFactory): Added/updated documentation.
8410 (guessContentTypeFromName): Added/updated documentation.
8411 (getFileNameMap): Added/updated documentation.
8412 (setFileNameMap): Added/updated documentation.
8413
8414 2002-09-11 Michael Koch <konqueror@gmx.de>
8415
8416 * java/net/Socket.java
8417 (Socket): protected to public (since JDK 1.4). Added @specnote.
8418 (bind): New method.
8419 (connect): Two new methods.
8420 (getKeepalive): Get correct socket option.
8421 (setKeepalive): Set correct socket option.
8422 (getOOBInline): New method.
8423 (setOOBInline): New method.
8424 * java/net/ServerSocket.java
8425 (bind): Two new methods.
8426 (getInetAddress): Reimplemented, catch exception.
8427 (getLocalSocketAddress): New method.
8428 (setReuseAddress): New method.
8429 (getReuseAdress): New method.
8430 (setReceiveBufferSize): New method.
8431 (getReceiveBufferSize): New method.
8432 (toString): Made string JDK 1.4 compliant.
8433
8434 2002-09-10 Michael Koch <konqueror@gmx.de>
8435
8436 * java/net/SocketImpl.java
8437 (connect): New method.
8438 (supportsUrgentData): New method.
8439 (sendUrgentData): New method.
8440 * java/net/PlainSocketImpl.java
8441 (connect): One new method and two new implementation.
8442 (sendUrgentData): New method.
8443 * java/natPlainSocketImpl.cc
8444 (connect): Arguments changed, added support for timeouts.
8445 (getOption): Another __java_boolean to jboolean.
8446
8447 2002-09-07 Adam Megacz <adam@xwt.org>
8448
8449 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8450 definition of IP_TOS.
8451
8452 2002-09-04 Michael Koch <konqueror@gmx.de>
8453
8454 * java/net/DatagramSocket.java
8455 (DatagramSocket): Added documentation.
8456 (close): Likewise.
8457 (getLocalAddress): Likewise.
8458 (getLocalPort): Likewise.
8459 (receive): Likewise.
8460 (send): Likewise.
8461 (setSoTimeout): Likewise.
8462 (connect): New method.
8463 (disconnect): New method.
8464 (getInetAddress): New method (FIXME)
8465 (getPort): New method.
8466 (setReuseAddress): New method.
8467 (getReuseAddress): New method.
8468 (setBroadcast): New method.
8469 (getBroadcast): New method.
8470 (setTrafficClass): New method.
8471 (getTrafficClass): New method.
8472 * java/net/MulticastSocket.java):
8473 (getTTL): Added @see in documentation.
8474 (setTTL): Added @see in documentation.
8475 (setLoopbackMode): New method.
8476 (getLoopbackMode): New method.
8477 * java/net/PlainSocketImpl.java:
8478 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8479 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8480 * java/net/PlainDatagramSocketImpl.java
8481 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8482 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8483 * java/net/natPlainSocketImpl.cc
8484 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8485 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8486 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8487 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8488 This should also fix SO_KEEPALIVE
8489 * java/net/natPlainDatagramSocketImpl.cc
8490 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8491 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8492 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8493 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8494
8495 2002-09-04 Michael Koch <konqueror@gmx.de>
8496
8497 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8498 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8499 IP_MULTICAST_LOOP, IP_TOS
8500
8501 2002-09-03 Tom Tromey <tromey@redhat.com>
8502
8503 * java/lang/Class.h (_getDeclaredMethod): Declare.
8504 (_getMethod): Now private.
8505 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8506 getDeclaredMethod. Now returns NULL on failure.
8507 * java/lang/Class.java (_getDeclaredMethod): Declare.
8508 (getDeclaredMethod): No longer native; implements access checks.
8509
8510 2002-09-01 Mark Wielaard <mark@klomp.org>
8511
8512 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8513 (sanitizeStack): Correctly reset unknown and interpreter counters,
8514 detect interpreter runtime frames.
8515 (demangleInterpreterMethod): New method.
8516 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8517 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8518 filling in addrs[].
8519
8520 2002-09-02 Michael Koch <konqueror@gmx.de>
8521
8522 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8523 re-indented documentation.
8524
8525 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8526
8527 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8528 public, per 1.4 spec. Fixes PR libgcj/7785.
8529
8530 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8531
8532 * Makefile.in: Rebuilt.
8533 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8534
8535 2002-08-29 Tom Tromey <tromey@redhat.com>
8536
8537 * java/net/JarURLConnection.java (getCertificates): New method
8538 from Classpath.
8539 * java/net/URLClassLoader.java (URLClassLoader): Extends
8540 SecureClassLoader.
8541 (definePackage): New method from Classpath.
8542 (getPermissions): Likewise.
8543 (newInstance): Likewise.
8544 (findClass): Construct CodeSource for new class (from Classpath).
8545 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8546 methods.
8547 * java/net/URL.java (getUserInfo): New method.
8548 (set(String,String,int,String,String,String,String,String)): New
8549 method.
8550 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8551 (shutdownInput, shutdownOutput): Declare.
8552 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8553 Define.
8554 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8555 (getOption): Likewise.
8556 (shutdownInput): New method.
8557 (shutdownOutput): Likewise.
8558 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8559 keepalive.
8560 (getOption): Likewise.
8561 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8562 * java/net/Socket.java (setKeepAlive): New method.
8563 (getKeepAlive): Likewise.
8564 (shutdownInput, shutdownOutput): New methods.
8565
8566 2002-08-29 Michael Koch <konqueror@gmx.de>
8567
8568 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8569 new methods are:
8570 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8571 address),
8572 DatagramPacket(byte[] buf, int length, SocketAddress address),
8573 void setSocketAddress(SocketAddress address)
8574 public SocketAddress getSocketAddress()
8575
8576 2002-08-29 Tom Tromey <tromey@redhat.com>
8577
8578 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8579 ftruncate is missing.
8580 * configure, include/config.h.in: Rebuilt.
8581 * acconfig.h (HAVE_FTRUNCATE): Mention.
8582 * configure.in: Check for ftruncate.
8583
8584 2002-08-29 Tom Tromey <tromey@redhat.com>
8585
8586 * include/jvm.h (struct _Jv_frame_info): New structure.
8587 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8588 java-interp.h.
8589 (lookupInterp): New method.
8590 (getAddrAsString): Use _Jv_frame_info.
8591 (dladdrLookup): Likewise.
8592 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8593 interpreted frame.
8594 (lookupInterp): Declare.
8595 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8596 (fillInStackTrace): Collect information on interpreted frames.
8597 Use _Jv_frame_info.
8598 * interpret.cc: Include Thread.h.
8599 (run): Create and push _Jv_MethodChain object.
8600 (_Jv_EndOfInterpreter): New global.
8601 * java/lang/Thread.java (interp_frame): New field.
8602 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8603 Include NameFinder.h.
8604
8605 2002-08-28 Tom Tromey <tromey@redhat.com>
8606
8607 * java/lang/Class.h: Include Package.h.
8608 (Class::getProtectionDomain): Declare.
8609 (Class::getPackage): Declare.
8610
8611 2002-08-28 Michael Koch <konqueror@gmx.de>
8612
8613 * java/net/InetSocketAddress.java: Added some documentation and argument
8614 checks for the port numbers.
8615 * java/net/DatagramSocketImplFactory.java: New file.
8616
8617 2002-08-28 Michael Koch <konqueror@gmx.de>
8618
8619 * java/net/Authenticator.java: added some documentation.
8620
8621 2002-08-27 Tom Tromey <tromey@redhat.com>
8622
8623 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8624 class.
8625 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8626
8627 2002-08-27 Michael Koch <konqueror@gmx.de>
8628
8629 * java/net/BindException.java,
8630 java/net/JarURLConnection.java,
8631 java/net/FileNameMap.java,
8632 java/net/HttpURLConnection.java,
8633 java/net/InetSocketAddress.java,
8634 java/net/DatagramPacket.java,
8635 java/net/DatagramSocket.java,
8636 java/net/DatagramSocketImpl.java,
8637 java/net/MulticastSocket.java,
8638 java/net/PasswordAuthentication.java,
8639 java/net/ServerSocket.java,
8640 java/net/Socket.java,
8641 java/net/URLClassLoader.java,
8642 java/net/URLConnection.java: add/update of some @since/@deprecated
8643
8644 2002-08-27 Tony Kimball <alk@pobox.com>
8645 Tom Tromey <tromey@redhat.com>
8646
8647 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8648 define.
8649 (::close): Removed.
8650 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8651 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8652 (::close): Removed.
8653 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8654 * include/win32.h (getcwd): Removed declaration. Include io.h.
8655
8656 2002-08-25 Adam Megacz <adam@xwt.org>
8657
8658 * include/win32.h (getcwd): copied function declaration as
8659 temporary fix for header confusion.
8660
8661 2002-08-24 Mark Wielaard <mark@klomp.org>
8662
8663 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8664 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8665 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8666 and natNameFinder.cc.
8667 * Makefile.in: Regenerate.
8668 * prims.cc: Use trace_enabled from VMThrowable.
8669 * name-finder.cc: Removed.
8670 * gcj/javaprims.h: Add class VMThrowable.
8671 * gnu/gcj/runtime/NameFinder.java: New file.
8672 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8673 * include/name-finder.h: Removed.
8674 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8675 method stackTraceString().
8676 (printStackTrace (PrintWriter)): Likewise.
8677 (stackTraceString): Complete rewrite of old printStackTrace using
8678 StringBuffer.
8679 (stackTraceStringBuffer): New helper method for stackTraceString().
8680 (fillInStackTrace): Delegate to VMTrowable.
8681 (getStackTrace): Likewise.
8682 (getStackTrace0): Removed.
8683 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8684 (setStackTrace): Copy given array.
8685 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8686 * java/lang/VMThrowable.java: New class.
8687 * java/lang/natVMThrowable.cc: New file.
8688
8689 2003-08-23 Michael Koch <konqueror@gmx.de>
8690
8691 * java/net/URLConnection.java,
8692 java/netJarURLConnection.java,
8693 gnu/gcj/protocol/core/Connection.java,
8694 gnu/gcj/protocol/file/Connection.java,
8695 gnu/gcj/protocol/http/Connection.java: Added implementation of
8696 getHeaderFields().
8697
8698 2002-08-22 Tom Tromey <tromey@redhat.com>
8699
8700 * gij.cc (help): Document -cp and -classpath.
8701 (main): Handle -classpath.
8702
8703 2002-08-21 Tom Tromey <tromey@redhat.com>
8704
8705 * Makefile.in: Rebuilt.
8706 * Makefile.am (ordinary_java_source_files): Added
8707 SocketAddress.java, InetSocketAddress.java.
8708 * java/net/PortUnreachableException.java: Merged with Classpath.
8709 * java/net/SocketTimeoutException.java: Likewise.
8710 * java/net/URISyntaxException.java: Likewise.
8711 * java/net/SocketAddress.java: New class from Classpath.
8712 * java/net/InetSocketAddress.java: Likewise.
8713
8714 2003-08-21 Michael Koch <konqueror@gmx.de>
8715
8716 * java/net/Authenticator.java: updated JDK 1.4
8717 * java/net/ContentHandler.java: updated JDK 1.4
8718
8719 2002-08-20 Michael Koch <konqueror@gmx.de>
8720
8721 * java/net/URISyntaxException.java: New file.
8722 * java/net/SocketTimeoutException.java: New file.
8723 * java/net/PortUnreachableException.java: New file.
8724 * Makefile.am: Updated.
8725 * Makefile.in: Rebuilt.
8726
8727 2002-08-18 Mark Wielaard <mark@klomp.org>
8728
8729 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8730 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8731 MessageDigestSpi (fixes Classpath bug #783).
8732
8733 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8734
8735 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8736 (startProcess): Allocate path for chdir in async-signal-safe way.
8737
8738 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8739
8740 Fix for PR libgcj/7570 and PR libgcj/7578:
8741 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8742 (startProcess): Handle new `dir' argument.
8743 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8744 argument.
8745 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8746 argument.
8747 (startProcess): Likewise.
8748 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8749 argument.
8750 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8751 (exec): Don't create new environment if ENV==null. Pass DIR to
8752 execInternal.
8753 * java/lang/natRuntime.cc: Include java/io/File.h.
8754 (execInternal): Added `dir' argument.
8755
8756 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8757
8758 * java/io/RandomAccessFile.java (skipBytes): Return number of
8759 bytes skipped.
8760
8761 2002-08-01 Mark Wielaard <mark@klomp.org>
8762
8763 Reenable patch since shared library troubles on powerpc are solved:
8764 * gnu/java/security/provider/Gnu.java: Reference all implementation
8765 classes by using Class.getName().
8766 * gnu/java/security/der/DEREncodingException.java,
8767 gnu/java/security/provider/DERReader.java,
8768 gnu/java/security/provider/DERWriter.java,
8769 gnu/java/security/provider/DSAKeyPairGenerator.java,
8770 gnu/java/security/provider/DSAParameterGenerator.java,
8771 gnu/java/security/provider/DSAParameters.java,
8772 gnu/java/security/provider/DSASignature.java,
8773 gnu/java/security/provider/GnuDSAPrivateKey.java,
8774 gnu/java/security/provider/GnuDSAPublicKey.java,
8775 gnu/java/security/provider/MD5.java,
8776 gnu/java/security/util/Prime.java: New classes
8777 * Makefile.am (ordinary_java_source_files): Add above files.
8778 * Makefile.in: Regenerate.
8779 * gnu/java/security/provider/DefaultPolicy.java
8780 (getPermissions): Don't maintain static class variable of Permissions.
8781 * gnu/java/security/provider/SHA.java
8782 (engineUpdate): algorithm change.
8783 (engineDigest): algorithm change.
8784
8785 2002-08-09 Mark Wielaard <mark@klomp.org>
8786
8787 * java/awt/image/MemoryImageSource.java: Change constructor to take
8788 int[] not byte[].
8789 * java/awt/Graphics2D.java: Uncomment methods that can now be
8790 compiled.
8791 * java/awt/GridBagLayout.java: New stub implementation.
8792 * javax/swing/text/html/HTML.java: Stub implementation.
8793 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8794 implementation.
8795
8796 * Makefile.am: Add new files.
8797 * Makefile.in: Rebuilt.
8798
8799 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8800
8801 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8802 methods in Graphics2D.
8803
8804 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8805
8806 AWT/Swing merge from GNU Classpath.
8807
8808 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8809 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8810 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8811 java/awt/color/ProfileDataException.java,
8812 java/awt/CompositeContext.java, java/awt/Composite.java,
8813 java/awt/ContainerOrderFocusTraversalPolicy.java,
8814 java/awt/datatransfer/FlavorTable.java,
8815 java/awt/DefaultFocusTraversalPolicy.java,
8816 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8817 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8818 java/awt/dnd/DragGestureListener.java,
8819 java/awt/dnd/DragGestureRecognizer.java,
8820 java/awt/dnd/DragSourceAdapter.java,
8821 java/awt/dnd/DragSourceContext.java,
8822 java/awt/dnd/DragSourceDragEvent.java,
8823 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8824 java/awt/dnd/DragSourceListener.java,
8825 java/awt/dnd/DragSourceMotionListener.java,
8826 java/awt/dnd/DropTarget.java,
8827 java/awt/dnd/InvalidDnDOperationException.java,
8828 java/awt/dnd/peer/DragSourceContextPeer.java,
8829 java/awt/event/AWTEventListenerProxy.java,
8830 java/awt/event/MouseWheelEvent.java,
8831 java/awt/event/MouseWheelListener.java,
8832 java/awt/event/WindowFocusListener.java,
8833 java/awt/event/WindowStateListener.java,
8834 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8835 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8836 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8837 java/awt/geom/FlatteningPathIterator.java,
8838 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8839 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8840 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8841 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8842 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8843 java/awt/image/ImagingOpException.java,
8844 java/awt/image/RasterFormatException.java,
8845 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8846 java/awt/image/VolatileImage.java,
8847 java/awt/image/WritableRenderedImage.java,
8848 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8849 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8850 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8851 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8852 java/awt/PageAttributes.java, java/awt/print/Book.java,
8853 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8854 java/awt/print/Paper.java, java/awt/print/Printable.java,
8855 java/awt/print/PrinterAbortException.java,
8856 java/awt/print/PrinterException.java,
8857 java/awt/print/PrinterGraphics.java,
8858 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8859 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8860 java/awt/Stroke.java, java/awt/TexturePaint.java,
8861 javax/accessibility/AccessibleAction.java,
8862 javax/accessibility/AccessibleBundle.java,
8863 javax/accessibility/AccessibleComponent.java,
8864 javax/accessibility/AccessibleContext.java,
8865 javax/accessibility/AccessibleEditableText.java,
8866 javax/accessibility/AccessibleExtendedComponent.java,
8867 javax/accessibility/AccessibleExtendedTable.java,
8868 javax/accessibility/AccessibleHyperlink.java,
8869 javax/accessibility/AccessibleHypertext.java,
8870 javax/accessibility/AccessibleIcon.java,
8871 javax/accessibility/Accessible.java,
8872 javax/accessibility/AccessibleKeyBinding.java,
8873 javax/accessibility/AccessibleRelation.java,
8874 javax/accessibility/AccessibleRelationSet.java,
8875 javax/accessibility/AccessibleResourceBundle.java,
8876 javax/accessibility/AccessibleRole.java,
8877 javax/accessibility/AccessibleSelection.java,
8878 javax/accessibility/AccessibleState.java,
8879 javax/accessibility/AccessibleStateSet.java,
8880 javax/accessibility/AccessibleTable.java,
8881 javax/accessibility/AccessibleTableModelChange.java,
8882 javax/accessibility/AccessibleText.java,
8883 javax/accessibility/AccessibleValue.java,
8884 javax/swing/AbstractAction.java,
8885 javax/swing/AbstractButton.java,
8886 javax/swing/AbstractCellEditor.java,
8887 javax/swing/AbstractListModel.java,
8888 javax/swing/AbstractSet.java, javax/swing/Action.java,
8889 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8890 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8891 javax/swing/border/CompoundBorder.java,
8892 javax/swing/border/EmptyBorder.java,
8893 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8894 javax/swing/border/LineBorder.java,
8895 javax/swing/border/MatteBorder.java,
8896 javax/swing/border/TitledBorder.java,
8897 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8898 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8899 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8900 javax/swing/CellRendererPane.java,
8901 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8902 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8903 javax/swing/colorchooser/ColorSelectionModel.java,
8904 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8905 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8906 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8907 javax/swing/DefaultBoundedRangeModel.java,
8908 javax/swing/DefaultButtonModel.java,
8909 javax/swing/DefaultCellEditor.java,
8910 javax/swing/DefaultCellRenderer.java,
8911 javax/swing/DefaultComboBoxModel.java,
8912 javax/swing/DefaultDesktopManager.java,
8913 javax/swing/DefaultFocusManager.java,
8914 javax/swing/DefaultListCellRenderer.java,
8915 javax/swing/DefaultListModel.java,
8916 javax/swing/DefaultListSelectionModel.java,
8917 javax/swing/DefaultSingleSelectionModel.java,
8918 javax/swing/DesktopManager.java,
8919 javax/swing/event/AncestorEvent.java,
8920 javax/swing/event/AncestorListener.java,
8921 javax/swing/event/CaretEvent.java,
8922 javax/swing/event/CaretListener.java,
8923 javax/swing/event/CellEditorListener.java,
8924 javax/swing/event/ChangeEvent.java,
8925 javax/swing/event/ChangeListener.java,
8926 javax/swing/event/DocumentEvent.java,
8927 javax/swing/event/DocumentListener.java,
8928 javax/swing/event/EventListenerList.java,
8929 javax/swing/event/HyperlinkEvent.java,
8930 javax/swing/event/HyperlinkListener.java,
8931 javax/swing/event/InternalFrameAdapter.java,
8932 javax/swing/event/InternalFrameEvent.java,
8933 javax/swing/event/InternalFrameListener.java,
8934 javax/swing/event/ListDataEvent.java,
8935 javax/swing/event/ListDataListener.java,
8936 javax/swing/event/ListSelectionEvent.java,
8937 javax/swing/event/ListSelectionListener.java,
8938 javax/swing/event/MenuDragMouseEvent.java,
8939 javax/swing/event/MenuDragMouseListener.java,
8940 javax/swing/event/MenuEvent.java,
8941 javax/swing/event/MenuKeyEvent.java,
8942 javax/swing/event/MenuKeyListener.java,
8943 javax/swing/event/MenuListener.java,
8944 javax/swing/event/MouseInputAdapter.java,
8945 javax/swing/event/MouseInputListener.java,
8946 javax/swing/event/PopupMenuEvent.java,
8947 javax/swing/event/PopupMenuListener.java,
8948 javax/swing/event/SwingPropertyChangeSupport.java,
8949 javax/swing/event/TableColumnModelEvent.java,
8950 javax/swing/event/TableColumnModelListener.java,
8951 javax/swing/event/TableModelEvent.java,
8952 javax/swing/event/TableModelListener.java,
8953 javax/swing/event/TreeExpansionEvent.java,
8954 javax/swing/event/TreeExpansionListener.java,
8955 javax/swing/event/TreeModelEvent.java,
8956 javax/swing/event/TreeModelListener.java,
8957 javax/swing/event/TreeSelectionEvent.java,
8958 javax/swing/event/TreeSelectionListener.java,
8959 javax/swing/event/TreeWillExpandListener.java,
8960 javax/swing/event/UndoableEditEvent.java,
8961 javax/swing/event/UndoableEditListener.java,
8962 javax/swing/filechooser/FileFilter.java,
8963 javax/swing/filechooser/FileSystemView.java,
8964 javax/swing/filechooser/FileView.java,
8965 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8966 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8967 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8968 javax/swing/JApplet.java, javax/swing/JButton.java,
8969 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8970 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8971 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8972 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8973 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8974 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8975 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8976 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8977 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8978 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8979 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8980 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8981 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8982 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8983 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8984 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8985 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8986 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8987 javax/swing/JToolTip.java, javax/swing/JTree.java,
8988 javax/swing/JViewport.java, javax/swing/JWindow.java,
8989 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8990 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8991 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8992 javax/swing/MenuSelectionManager.java,
8993 javax/swing/MutableComboBoxModel.java,
8994 javax/swing/OverlayLayout.java,
8995 javax/swing/plaf/ActionMapUIResource.java,
8996 javax/swing/plaf/basic/BasicBorders.java,
8997 javax/swing/plaf/basic/BasicButtonUI.java,
8998 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8999 javax/swing/plaf/basic/BasicDefaults.java,
9000 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9001 javax/swing/plaf/basic/BasicIconFactory.java,
9002 javax/swing/plaf/basic/BasicLabelUI.java,
9003 javax/swing/plaf/basic/BasicListUI.java,
9004 javax/swing/plaf/basic/BasicLookAndFeel.java,
9005 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9006 javax/swing/plaf/basic/BasicPanelUI.java,
9007 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9008 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9009 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9010 javax/swing/plaf/basic/BasicTextUI.java,
9011 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9012 javax/swing/plaf/basic/BasicTreeUI.java,
9013 javax/swing/plaf/basic/BasicViewportUI.java,
9014 javax/swing/plaf/BorderUIResource.java,
9015 javax/swing/plaf/ButtonUI.java,
9016 javax/swing/plaf/ColorChooserUI.java,
9017 javax/swing/plaf/ColorUIResource.java,
9018 javax/swing/plaf/ComboBoxUI.java,
9019 javax/swing/plaf/ComponentInputMapUIResource.java,
9020 javax/swing/plaf/ComponentUI.java,
9021 javax/swing/plaf/DesktopIconUI.java,
9022 javax/swing/plaf/DesktopPaneUI.java,
9023 javax/swing/plaf/DimensionUIResource.java,
9024 javax/swing/plaf/FileChooserUI.java,
9025 javax/swing/plaf/FontUIResource.java,
9026 javax/swing/plaf/IconUIResource.java,
9027 javax/swing/plaf/InputMapUIResource.java,
9028 javax/swing/plaf/InsetsUIResource.java,
9029 javax/swing/plaf/InternalFrameUI.java,
9030 javax/swing/plaf/LabelUI.java,
9031 javax/swing/plaf/ListUI.java,
9032 javax/swing/plaf/MenuBarUI.java,
9033 javax/swing/plaf/MenuItemUI.java,
9034 javax/swing/plaf/OptionPaneUI.java,
9035 javax/swing/plaf/PanelUI.java,
9036 javax/swing/plaf/PopupMenuUI.java,
9037 javax/swing/plaf/ProgressBarUI.java,
9038 javax/swing/plaf/RootPaneUI.java,
9039 javax/swing/plaf/ScrollBarUI.java,
9040 javax/swing/plaf/ScrollPaneUI.java,
9041 javax/swing/plaf/SeparatorUI.java,
9042 javax/swing/plaf/SliderUI.java,
9043 javax/swing/plaf/SplitPaneUI.java,
9044 javax/swing/plaf/TabbedPaneUI.java,
9045 javax/swing/plaf/TableHeaderUI.java,
9046 javax/swing/plaf/TableUI.java,
9047 javax/swing/plaf/TextUI.java,
9048 javax/swing/plaf/ToolBarUI.java,
9049 javax/swing/plaf/ToolTipUI.java,
9050 javax/swing/plaf/TreeUI.java,
9051 javax/swing/plaf/UIResource.java,
9052 javax/swing/plaf/ViewportUI.java,
9053 javax/swing/ProgressMonitorInputStream.java,
9054 javax/swing/ProgressMonitor.java,
9055 javax/swing/Renderer.java,
9056 javax/swing/RepaintManager.java,
9057 javax/swing/RootPaneContainer.java,
9058 javax/swing/Scrollable.java,
9059 javax/swing/ScrollPaneConstants.java,
9060 javax/swing/ScrollPaneLayout.java,
9061 javax/swing/SingleSelectionModel.java,
9062 javax/swing/SizeRequirements.java,
9063 javax/swing/SizeSequence.java,
9064 javax/swing/SwingConstants.java,
9065 javax/swing/SwingUtilities.java,
9066 javax/swing/table/AbstractTableModel.java,
9067 javax/swing/table/DefaultTableCellRenderer.java,
9068 javax/swing/table/DefaultTableColumnModel.java,
9069 javax/swing/table/DefaultTableModel.java,
9070 javax/swing/table/TableCellEditor.java,
9071 javax/swing/table/TableCellRenderer.java,
9072 javax/swing/table/TableColumn.java,
9073 javax/swing/table/TableColumnModel.java,
9074 javax/swing/table/TableModel.java,
9075 javax/swing/text/AbstractDocument.java,
9076 javax/swing/text/AttributeSet.java,
9077 javax/swing/text/BadLocationException.java,
9078 javax/swing/text/Caret.java,
9079 javax/swing/text/CharacterIterator.java,
9080 javax/swing/text/ComponentView.java,
9081 javax/swing/text/DefaultCaret.java,
9082 javax/swing/text/DefaultEditorKit.java,
9083 javax/swing/text/Document.java,
9084 javax/swing/text/EditorKit.java,
9085 javax/swing/text/Element.java,
9086 javax/swing/text/GapContent.java,
9087 javax/swing/text/JTextComponent.java,
9088 javax/swing/text/Keymap.java,
9089 javax/swing/text/MutableAttributeSet.java,
9090 javax/swing/text/PlainDocument.java,
9091 javax/swing/text/PlainEditorKit.java,
9092 javax/swing/text/Position.java,
9093 javax/swing/text/Segment.java,
9094 javax/swing/text/StyledDocument.java,
9095 javax/swing/text/StyledEditorKit.java,
9096 javax/swing/text/Style.java,
9097 javax/swing/text/TextAction.java,
9098 javax/swing/text/ViewFactory.java,
9099 javax/swing/text/View.java,
9100 javax/swing/Timer.java,
9101 javax/swing/ToggleButtonModel.java,
9102 javax/swing/ToolTipManager.java,
9103 javax/swing/tree/AbstractLayoutCache.java,
9104 javax/swing/tree/DefaultMutableTreeNode.java,
9105 javax/swing/tree/DefaultTreeCellEditor.java,
9106 javax/swing/tree/DefaultTreeCellRenderer.java,
9107 javax/swing/tree/DefaultTreeModel.java,
9108 javax/swing/tree/DefaultTreeSelectionModel.java,
9109 javax/swing/tree/ExpandVetoException.java,
9110 javax/swing/tree/FixedHeightLayoutCache.java,
9111 javax/swing/tree/MutableTreeNode.java,
9112 javax/swing/tree/RowMapper.java,
9113 javax/swing/tree/TreeCellEditor.java,
9114 javax/swing/tree/TreeCellRenderer.java,
9115 javax/swing/tree/TreeModel.java,
9116 javax/swing/tree/TreeNode.java,
9117 javax/swing/tree/TreePath.java,
9118 javax/swing/tree/TreeSelectionModel.java,
9119 javax/swing/tree/VariableHeightLayoutCache.java,
9120 javax/swing/UIDefaults.java,
9121 javax/swing/UIManager.java,
9122 javax/swing/undo/AbstractUndoableEdit.java,
9123 javax/swing/undo/CannotRedoException.java,
9124 javax/swing/undo/CannotUndoException.java,
9125 javax/swing/undo/CompoundEdit.java,
9126 javax/swing/undo/StateEditable.java,
9127 javax/swing/undo/StateEdit.java,
9128 javax/swing/undo/UndoableEdit.java,
9129 javax/swing/undo/UndoableEditSupport.java,
9130 javax/swing/undo/UndoManager.java,
9131 javax/swing/UnsupportedLookAndFeelException.java,
9132 javax/swing/ViewportLayout.java,
9133 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9134
9135 * java/awt/ActiveEvent.java,
9136 java/awt/Adjustable.java, java/awt/AWTError.java,
9137 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9138 java/awt/AWTException.java, java/awt/AWTPermission.java,
9139 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9140 java/awt/Color.java, java/awt/Component.java,
9141 java/awt/ComponentOrientation.java, java/awt/Container.java,
9142 java/awt/datatransfer/MimeTypeParseException.java,
9143 java/awt/datatransfer/Transferable.java,
9144 java/awt/datatransfer/UnsupportedFlavorException.java,
9145 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9146 java/awt/event/ActionListener.java,
9147 java/awt/event/AdjustmentEvent.java,
9148 java/awt/event/AdjustmentListener.java,
9149 java/awt/event/AWTEventListener.java,
9150 java/awt/event/ComponentAdapter.java,
9151 java/awt/event/ComponentEvent.java,
9152 java/awt/event/ComponentListener.java,
9153 java/awt/event/ContainerAdapter.java,
9154 java/awt/event/ContainerEvent.java,
9155 java/awt/event/ContainerListener.java,
9156 java/awt/event/FocusAdapter.java,
9157 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9158 java/awt/event/HierarchyBoundsAdapter.java,
9159 java/awt/event/HierarchyBoundsListener.java,
9160 java/awt/event/HierarchyEvent.java,
9161 java/awt/event/HierarchyListener.java,
9162 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9163 java/awt/event/InputMethodListener.java,
9164 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9165 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9166 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9167 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9168 java/awt/event/MouseListener.java,
9169 java/awt/event/MouseMotionAdapter.java,
9170 java/awt/event/MouseMotionListener.java,
9171 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9172 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9173 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9174 java/awt/event/WindowListener.java, java/awt/Font.java,
9175 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9176 java/awt/geom/Ellipse2D.java,
9177 java/awt/geom/IllegalPathStateException.java,
9178 java/awt/geom/Line2D.java,
9179 java/awt/geom/NoninvertibleTransformException.java,
9180 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9181 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9182 java/awt/geom/RoundRectangle2D.java,
9183 java/awt/GraphicsConfiguration.java,
9184 java/awt/IllegalComponentStateException.java,
9185 java/awt/image/IndexColorModel.java,
9186 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9187 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9188 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9189 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9190 java/awt/MenuItem.java, java/awt/PaintContext.java,
9191 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9192 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9193 java/awt/PrintJob.java, java/awt/Rectangle.java,
9194 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9195 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9196 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9197
9198 * java/awt/im/spi/InputMethod.java,
9199 java/awt/im/spi/InputMethodContext.java,
9200 java/awt/im/spi/InputMethodDescriptor.java,
9201 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9202 java/awt/image/renderable/ParameterBlock.java,
9203 java/awt/image/renderable/RenderContext.java,
9204 java/awt/image/renderable/RenderableImage.java,
9205 java/awt/image/renderable/RenderableImageOp.java,
9206 java/awt/image/renderable/RenderableImageProducer.java,
9207 java/awt/image/renderable/RenderedImageFactory.java: New files from
9208 classpath.
9209
9210 * gnu/java/awt/EventModifier.java,
9211 gnu/java/awt/image/ImageDecoder.java,
9212 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9213
9214 * gnu/awt/xlib/XGraphicsConfiguration.java,
9215 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9216 API.
9217
9218 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9219 GNU Classpath.
9220
9221 * Makefile.am: Add new files.
9222 * Makefile.in: Rebuilt.
9223
9224 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9225
9226 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9227 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9228 findResource, getResources, findResources): Add javadoc from classpath.
9229 (getSystemResources): Implemented.
9230
9231 2002-08-01 Mark Wielaard <mark@klomp.org>
9232
9233 Revert patch that breaks libgcj shared library on powerpc:
9234 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9235 implementation classes by using Class.getName(). Uses Strings again.
9236 * gnu/java/security/der/DEREncodingException.java,
9237 gnu/java/security/provider/DERReader.java,
9238 gnu/java/security/provider/DERWriter.java,
9239 gnu/java/security/provider/DSAKeyPairGenerator.java,
9240 gnu/java/security/provider/DSAParameterGenerator.java,
9241 gnu/java/security/provider/DSAParameters.java,
9242 gnu/java/security/provider/DSASignature.java,
9243 gnu/java/security/provider/GnuDSAPrivateKey.java,
9244 gnu/java/security/provider/GnuDSAPublicKey.java,
9245 gnu/java/security/provider/MD5.java,
9246 gnu/java/security/util/Prime.java: Removed.
9247 * Makefile.am (ordinary_java_source_files): Remove above files.
9248 * Makefile.in: Regenerate.
9249 * gnu/java/security/provider/DefaultPolicy.java
9250 (getPermissions): Revert to maintaining static class variable of
9251 Permissions.
9252 * gnu/java/security/provider/SHA.java
9253 (engineUpdate): Revert algorithm change.
9254 (engineDigest): Revert algorithm change.
9255
9256 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9257
9258 * configure.host: Add SH support.
9259 * sysdep/sh/locks.h: New file.
9260
9261 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9262
9263 * java/awt/Frame.java (Frame): Remove println calls.
9264
9265 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9266
9267 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9268 * configure: Rebuilt.
9269
9270 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9271
9272 * sysdep/powerpc/locks.h: Formatting.
9273 (_LARX): Define.
9274 (_STCX): Define.
9275 (compare_and_swap): Use _LARX and _STCX.
9276 (compare_and_swap_release): Likewise.
9277
9278 2002-07-26 Tom Tromey <tromey@redhat.com>
9279
9280 * java/net/Authenticator.java: New version from Classpath.
9281 * java/net/DatagramSocketImpl.java: New version from Classpath.
9282
9283 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9284
9285 * configure.host: Add powerpc64*-* entry.
9286
9287 2002-07-26 Tom Tromey <tromey@redhat.com>
9288
9289 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9290 fcntl.h.
9291
9292 2002-07-24 Tom Tromey <tromey@redhat.com>
9293
9294 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9295 argument to _load.
9296
9297 2002-07-24 Tom Tromey <tromey@redhat.com>
9298 Tony Kimball <alk@pobox.com>
9299
9300 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9301 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9302 * java/io/RandomAccessFile.java (setLength): New method.
9303 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9304 * java/io/FileDescriptor.java (setLength): New method.
9305
9306 2002-07-24 Mark Wielaard <mark@klomp.org>
9307
9308 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9309 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9310 field call setAccessible(true).
9311 (setByteField): Likewise.
9312 (setCharField): Likewise.
9313 (setDoubleField): Likewise.
9314 (setFloatField): Likewise.
9315 (setIntField): Likewise.
9316 (setLongField): Likewise.
9317 (setShortField): Likewise.
9318 (setObjectField): Likewise.
9319
9320 2002-07-24 Tom Tromey <tromey@redhat.com>
9321
9322 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9323 use toString() to format array element.
9324
9325 2002-07-23 Mark Wielaard <mark@klomp.org>
9326
9327 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9328 MessageDigestSpi (fixes Classpath bug #783).
9329
9330 2002-07-21 Mark Wielaard <mark@klomp.org>
9331
9332 * gnu/java/security/provider/Gnu.java: Reference all implementation
9333 classes by using Class.getName().
9334
9335 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9336
9337 * java/lang/ieeefp.h: Add x86-64 support.
9338 * configure.in: Likewise.
9339 * configure.host: Likewise.
9340 * configure: Regenerated.
9341 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9342
9343 2002-07-16 Mark Wielaard <mark@klomp.org>
9344
9345 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9346 (whitespaceChars): call resetChar().
9347
9348 2002-07-15 Tom Tromey <tromey@redhat.com>
9349
9350 * Makefile.in: Rebuilt.
9351 * Makefile.am (awt_java_source_files): Added new files.
9352 * java/beans/ExceptionListener.java: Merged with Classpath.
9353 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9354 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9355 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9356 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9357 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9358 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9359 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9360
9361 2002-07-14 Mark Wielaard <mark@klomp.org>
9362
9363 * gnu/java/security/der/DEREncodingException.java,
9364 gnu/java/security/provider/DERReader.java,
9365 gnu/java/security/provider/DERWriter.java,
9366 gnu/java/security/provider/DSAKeyPairGenerator.java,
9367 gnu/java/security/provider/DSAParameterGenerator.java,
9368 gnu/java/security/provider/DSAParameters.java,
9369 gnu/java/security/provider/DSASignature.java,
9370 gnu/java/security/provider/GnuDSAPrivateKey.java,
9371 gnu/java/security/provider/GnuDSAPublicKey.java,
9372 gnu/java/security/provider/MD5.java,
9373 gnu/java/security/util/Prime.java: New files from Classpath.
9374 * Makefile.am (ordinary_java_source_files): Add new files.
9375 * Makefile.in: Regenerate.
9376
9377 2002-07-14 C. Brian Jones <cbj@gnu.org>
9378
9379 * gnu/java/security/provider/DefaultPolicy.java
9380 (getPermissions): do not maintain static class variable of
9381 Permissions
9382 * gnu/java/security/provider/SHA.java
9383 (engineUpdate): algorithm change
9384 (engineDigest): algorithm change
9385
9386 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9387
9388 For PR libgcj/7292:
9389 * java/lang/Character.java (toString(char)): Now static.
9390
9391 2002-07-12 Mark Wielaard <mark@klomp.org>
9392
9393 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9394 (getStackTrace0): new method.
9395 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9396 (printStackTrace(PrintWriter)): replace with pure java implementation.
9397 (printRawStackTrace): removed.
9398 (getStackTrace0): new method.
9399 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9400 * gcj/javaprims.h: regenerate class list.
9401 * include/name-finder.h (lookup): new returns StackTraceElement*.
9402 (method_name, file_name): fields removed.
9403 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9404 (~_Jv_name_finder): close new descriptors.
9405 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9406 (createStackTraceElement): new method.
9407 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9408
9409 2002-07-10 Tom Tromey <tromey@redhat.com>
9410
9411 * configure: Rebuilt.
9412 * configure.in: Use `test' after `&&'. From Chris Faylor.
9413
9414 2002-07-08 Mark Wielaard <mark@klomp.org>
9415
9416 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9417 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9418 java.sql.DatabaseMetaData.TestJdbc20
9419
9420 2002-07-05 Tony Kimball <alk@pobox.com>
9421
9422 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9423
9424 2002-07-04 Tom Tromey <tromey@redhat.com>
9425 Jeff Sturm <jsturm@one-point.com>
9426
9427 Fix for PR libgcj/7060:
9428 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9429 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9430 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9431 * java/lang/Class.java (getMethod): New Java implementation;
9432 complies with spec.
9433 (_getMethod): New native method.
9434
9435 2002-07-02 Tom Tromey <tromey@redhat.com>
9436 David Hovemeyer <daveho@cs.umd.edu>
9437
9438 * java/text/ChoiceFormat.java
9439 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9440 in check loop.
9441 * java/text/MessageFormat.java
9442 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9443 to MessageFormat.
9444
9445 2002-07-01 Tom Tromey <tromey@redhat.com>
9446
9447 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9448 StringTokenizer on null string. For PR libgcj/7180.
9449 From daveho@cs.umd.edu.
9450
9451 2002-06-24 Tom Tromey <tromey@redhat.com>
9452
9453 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9454 (IntegerClass): Likewise.
9455 * java/lang/natClass.cc (CloneableClass): Removed.
9456 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9457 ConstructorClass): Likewise.
9458 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9459 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9460 SerializableClass): Likewise.
9461 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9462 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9463 LongClass, FloatClass, DoubleClass): Likewise.
9464
9465 * verify.cc (branch_prepass): Updated for change to exception
9466 handler type.
9467 (verify_instructions_0): Likewise.
9468 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9469 (handleExceptionTableEntry): Updated for change to exception
9470 handler type.
9471 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9472 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9473 (union _Jv_InterpPC): New.
9474 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9475 (class _Jv_InterpMethod): Added new `prepared' field.
9476 (class _Jv_InterpMethod): Added `compile' method. Removed
9477 `continue1' and `find_exception'. Changed arguments to `run'.
9478 * interpret.cc (union insn_slot): New.
9479 (find_exception): Removed.
9480 (run_normal): Removed most logic.
9481 (run_synch_object): Likewise; also, use JvSynchronize.
9482 (run_synch_class): Likewise.
9483 (run): Removed.
9484 (continue1): Renamed as `run'. Compile bytecode if required.
9485 Add new code to allow refinement of direct-threaded code at
9486 runtime. Handle exceptions.
9487 (SAVE_PC): Removed.
9488 (compile): New method.
9489 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9490 (NULLARRAYCHECK): Don't use SAVE_PC.
9491 (pc_t): New typedef.
9492 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9493 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9494
9495 2002-06-23 Tom Tromey <tromey@redhat.com>
9496
9497 * configure: Rebuilt.
9498 * configure.in (INTERPRETER): New subst.
9499 (AM_RUNTESTFLAGS): Don't subst.
9500
9501 * Makefile.in: Rebuilt.
9502 * Makefile.am ($(srcdir)/java/lang/Object.h,
9503 $(srcdir)/java/lang/Class.h): Added dummy targets.
9504
9505 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9506
9507 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9508
9509 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9510 java/sql/Savepoint.java: New files.
9511 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9512 java/sql/Blob.java, java/sql/CallableStatement.java,
9513 java/sql/Clob.java, java/sql/Connection.java,
9514 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9515 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9516 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9517 java/sql/Ref.java, java/sql/ResultSet.java,
9518 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9519 java/sql/SQLException.java, java/sql/SQLInput.java,
9520 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9521 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9522 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9523 (JDK 1.4) specification.
9524 * javax/sql/ConnectionEvent.java,
9525 javax/sql/ConnectionEventListener.java,
9526 javax/sql/ConnectionPoolDataSource.java,
9527 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9528 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9529 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9530 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9531 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9532 javax/sql/XADataSource.java: New files.
9533 * Makefile.am: Add new files.
9534 * Makefile.in: Rebuilt.
9535
9536 2002-06-20 Tom Tromey <tromey@redhat.com>
9537
9538 For PR libgcj/7073:
9539 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9540 exists.
9541 * defineclass.cc (handleClassBegin): Superclass for interface is
9542 `null'.
9543
9544 2002-06-18 Tom Tromey <tromey@redhat.com>
9545
9546 * gcj/javaprims.h: Updated class declaration list.
9547 * Makefile.in: Rebuilt.
9548 * Makefile.am (core_java_source_files): Removed
9549 BasicMapEntry.java.
9550 * java/util/BasicMapEntry.java: Removed.
9551
9552 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9553
9554 * java/net/natPlainDatagramSocketImpl.cc (receive):
9555 Check bounds of argument to FD_SET.
9556 (setOption): Throw exception if socket is closed.
9557
9558 * java/net/natPlainSocketImpl.cc (accept, read):
9559 Check bounds of argument to FD_SET.
9560 (setOption): Throw exception if socket is closed.
9561
9562 2002-06-18 Tom Tromey <tromey@redhat.com>
9563
9564 * gcj/javaprims.h: Updated class declaration list.
9565 * Makefile.in: Rebuilt.
9566 * Makefile.am (core_java_source_files): Added
9567 PropertyPermissionCollection.java.
9568 * java/lang/Thread.java (group, name): Now package-private.
9569 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9570 * java/util/AbstractList.java: Likewise.
9571 * java/util/AbstractMap.java: Likewise.
9572 * java/util/Calendar.java: Likewise.
9573 * java/util/Collections.java: Likewise.
9574 * java/util/HashMap.java: Likewise.
9575 * java/util/Hashtable.java: Likewise.
9576 * java/util/LinkedHashMap.java: Likewise.
9577 * java/util/LinkedList.java: Likewise.
9578 * java/util/List.java: Likewise.
9579 * java/util/ListResourceBundle.java: Likewise.
9580 * java/util/Map.java: Likewise.
9581 * java/util/Observable.java: Likewise.
9582 * java/util/Properties.java: Likewise.
9583 * java/util/PropertyPermission.java: Likewise.
9584 * java/util/PropertyPermissionCollection.java: Likewise.
9585 * java/util/PropertyResourceBundle.java: Likewise.
9586 * java/util/Random.java: Likewise.
9587 * java/util/SimpleTimeZone.java: Likewise.
9588 * java/util/StringTokenizer.java: Likewise.
9589 * java/util/TimerTask.java: Likewise.
9590 * java/util/TreeMap.java: Likewise.
9591 * java/util/WeakHashMap.java: Likewise.
9592 * java/util/jar/Attributes.java: Likewise.
9593 * java/util/jar/JarException.java: Likewise.
9594 * java/util/jar/Manifest.java: Likewise.
9595
9596 2002-06-17 Tom Tromey <tromey@redhat.com>
9597
9598 * gcj/javaprims.h: Updated class declaration list.
9599 * Makefile.in: Rebuilt.
9600 * Makefile.am (core_java_source_files): Added new file.
9601 * java/util/EventListenerProxy.java: New file.
9602 * java/util/EventListener.java: Re-merge with Classpath.
9603 * java/util/EventObject.java: Re-merge with Classpath.
9604
9605 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9606
9607 * java/lang/ClassNotFoundException.java: New Classpath version.
9608
9609 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9610
9611 * java/rmi/activation/ActivateFailedException.java: Remerge from
9612 Classpath version.
9613 * java/rmi/activation/ActivationException.java: Ditto.
9614 * java/rmi/activation/UnknownGroupException.java: Ditto.
9615 * java/rmi/activation/UnknownObjectException.java: Ditto.
9616 * java/rmi/server/ExportException: Ditto.
9617 * java/rmi/server/ServerCloneException: Ditto.
9618 * java/rmi/server/ServerNotActiveException: Ditto.
9619 * java/rmi/server/SkeletonMismatchException: Ditto.
9620 * java/rmi/server/SkeletonNotFoundException: Ditto.
9621 * java/rmi/server/SocketSecurityException: Ditto.
9622
9623 2002-06-16 Tom Tromey <tromey@redhat.com>
9624
9625 * gcj/javaprims.h: Updated class declaration list.
9626
9627 * java/io/LineNumberInputStream.java: Merged with Classpath.
9628
9629 * java/lang/RuntimeException.java: Re-merge with Classpath.
9630 * java/util/ArrayList.java: Likewise.
9631 * java/util/Arrays.java: Likewise.
9632 * java/util/BitSet.java: Likewise.
9633 * java/util/Dictionary.java: Likewise.
9634 * java/util/IdentityHashMap.java: Likewise.
9635 * java/util/MissingResourceException.java: Likewise.
9636 * java/util/Observer.java: Likewise.
9637 * java/util/TooManyListenersException.java: Likewise.
9638 * java/util/zip/DataFormatException.java: Likewise.
9639 * java/util/zip/ZipException.java: Likewise.
9640
9641 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9642
9643 * java/rmi/AccessException.java: Remerge from Classpath.
9644 * java/rmi/AlreadyBoundException.java: Ditto.
9645 * java/rmi/ConnectException.java: Ditto.
9646 * java/rmi/ConnectIOException.java: Ditto.
9647 * java/rmi/MarshalException.java: Ditto.
9648 * java/rmi/NoSuchObjectException.java: Ditto.
9649 * java/rmi/NotBoundException.java: Ditto.
9650 * java/rmi/RemoteException.java: Ditto.
9651 * java/rmi/RMISecurityException.java: Ditto.
9652 * java/rmi/ServerError.java: Ditto.
9653 * java/rmi/ServerException.java: Ditto.
9654 * java/rmi/ServerRuntimeException.java: Ditto.
9655 * java/rmi/StubNotFoundException.java: Ditto.
9656 * java/rmi/UnexpectedExcpetion.java: Ditto.
9657 * java/rmi/UnknownHostException.java: Ditto.
9658 * java/rmi/UnmarshalException.java: Ditto.
9659
9660 2002-06-15 Tom Tromey <tromey@redhat.com>
9661
9662 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9663 * java/lang/ArithmeticException.java: Likewise.
9664 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9665 * java/lang/ArrayStoreException.java: Likewise.
9666 * java/lang/Byte.java: Likewise.
9667 * java/lang/CharSequence.java: Likewise.
9668 * java/lang/ClassCastException.java: Likewise.
9669 * java/lang/ClassCircularityError.java: Likewise.
9670 * java/lang/ClassFormatError.java: Likewise.
9671 * java/lang/CloneNotSupportedException.java: Likewise.
9672 * java/lang/Cloneable.java: Likewise.
9673 * java/lang/Comparable.java: Likewise.
9674 * java/lang/Compiler.java: Likewise.
9675 * java/lang/Error.java: Likewise.
9676 * java/lang/ExceptionInInitializerError.java: Likewise.
9677 * java/lang/IllegalAccessError.java: Likewise.
9678 * java/lang/IllegalAccessException.java: Likewise.
9679 * java/lang/IllegalArgumentException.java: Likewise.
9680 * java/lang/IllegalMonitorStateException.java: Likewise.
9681 * java/lang/IllegalStateException.java: Likewise.
9682 * java/lang/IllegalThreadStateException.java: Likewise.
9683 * java/lang/IncompatibleClassChangeError.java: Likewise.
9684 * java/lang/IndexOutOfBoundsException.java: Likewise.
9685 * java/lang/InheritableThreadLocal.java: Likewise.
9686 * java/lang/InstantiationError.java: Likewise.
9687 * java/lang/InstantiationException.java: Likewise.
9688 * java/lang/InternalError.java: Likewise.
9689 * java/lang/InterruptedException.java: Likewise.
9690 * java/lang/LinkageError.java: Likewise.
9691 * java/lang/NegativeArraySizeException.java: Likewise.
9692 * java/lang/NoClassDefFoundError.java: Likewise.
9693 * java/lang/NoSuchFieldError.java: Likewise.
9694 * java/lang/NoSuchFieldException.java: Likewise.
9695 * java/lang/NoSuchMethodError.java: Likewise.
9696 * java/lang/NoSuchMethodException.java: Likewise.
9697 * java/lang/NullPointerException.java: Likewise.
9698 * java/lang/NumberFormatException.java: Likewise.
9699 * java/lang/OutOfMemoryError.java: Likewise.
9700 * java/lang/Process.java: Likewise.
9701 * java/lang/Runnable.java: Likewise.
9702 * java/lang/RuntimePermission.java: Likewise.
9703 * java/lang/SecurityException.java: Likewise.
9704 * java/lang/Short.java: Likewise.
9705 * java/lang/StackOverflowError.java: Likewise.
9706 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9707 * java/lang/ThreadDeath.java: Likewise.
9708 * java/lang/ThreadLocal.java: Likewise.
9709 * java/lang/UnknownError.java: Likewise.
9710 * java/lang/UnsatisfiedLinkError.java: Likewise.
9711 * java/lang/UnsupportedClassVersionError.java: Likewise.
9712 * java/lang/UnsupportedOperationException.java: Likewise.
9713 * java/lang/VerifyError.java: Likewise.
9714 * java/lang/VirtualMachineError.java: Likewise.
9715 * java/lang/reflect/InvocationTargetException.java: Likewise.
9716 * java/net/BindException.java: Likewise.
9717 * java/net/ConnectException.java: Likewise.
9718 * java/net/MalformedURLException.java: Likewise.
9719 * java/net/NoRouteToHostException.java: Likewise.
9720 * java/net/ProtocolException.java: Likewise.
9721 * java/net/SocketException.java: Likewise.
9722 * java/net/UnknownHostException.java: Likewise.
9723 * java/net/UnknownServiceException.java: Likewise.
9724
9725 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9726 * java/io/CharConversionException.java: Likewise.
9727 * java/io/EOFException.java: Likewise.
9728 * java/io/FileNotFoundException.java: Likewise.
9729 * java/io/IOException.java: Likewise.
9730 * java/io/InterruptedIOException.java: Likewise.
9731 * java/io/InvalidClassException.java: Likewise.
9732 * java/io/InvalidObjectException.java: Likewise.
9733 * java/io/NotActiveException.java: Likewise.
9734 * java/io/NotSerializableException.java: Likewise.
9735 * java/io/ObjectStreamException.java: Likewise.
9736 * java/io/ObjectStreamConstants.java: Likewise.
9737 * java/io/OptionalDataException.java: Likewise.
9738 * java/io/PipedInputStream.java: Likewise.
9739 * java/io/PushbackInputStream.java: Likewise.
9740 * java/io/StreamCorruptedException.java: Likewise.
9741 * java/io/SyncFailedException.java: Likewise.
9742 * java/io/UTFDataFormatException.java: Likewise.
9743 * java/io/UnsupportedEncodingException.java: Likewise.
9744 * java/io/WriteAbortedException.java: Likewise.
9745
9746 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9747
9748 * java/text/ChoiceFormat.java: Update comments from Classpath.
9749 * java/text/ParseException.java (serialVersionUID): New
9750 field from Classpath.
9751 * java/text/ParseException.java: Update formatting & comments
9752 from Classpath.
9753
9754 2002-06-15 Tom Tromey <tromey@redhat.com>
9755
9756 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9757 been read but none output by inflater.
9758 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9759 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9760 is_finished.
9761 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9762 version.
9763 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9764 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9765 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9766 version.
9767 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9768
9769 2002-06-13 Tom Tromey <tromey@redhat.com>
9770
9771 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9772 true and OFFSET!=0.
9773 * java/lang/String.java (String(char[],int,int,boolean): New
9774 constructor.
9775 * java/lang/Long.java: Imported new version from Classpath.
9776 * java/lang/Number.java: Likewise.
9777 * java/lang/Integer.java: Likewise.
9778 * java/lang/Long.java: Likewise.
9779 * java/lang/Float.java: Likewise.
9780 * java/lang/Boolean.java: Likewise.
9781 * java/lang/Double.java: Likewise.
9782 * java/lang/Void.java: Likewise.
9783
9784 2002-06-12 Tom Tromey <tromey@redhat.com>
9785
9786 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9787 Fixes PR libgcj/6652.
9788
9789 2002-06-10 Tom Tromey <tromey@redhat.com>
9790
9791 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9792 (Class::getPackagePortion): Likewise.
9793 * java/lang/Class.java (desiredAssertionStatus): New method from
9794 Classpath.
9795 (getPackagePortion): Likewise.
9796 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9797 packageAssertionStatus, classAssertionStatus): New methods from
9798 Classpath.
9799 * java/lang/ClassLoader.java (defaultAssertionStatus,
9800 systemPackageAssertionStatus, packageAssertionStatus,
9801 systemClassAssertionStatus, classAssertionStatus): New fields from
9802 Classpath.
9803 (setDefaultAssertionStatus, setPackageAssertionStatus,
9804 setClassAssertionStatus, clearAssertionStatus): New methods from
9805 Classpath.
9806 * Makefile.in: Rebuilt.
9807 * Makefile.am (core_java_source_files): Added AssertionError.java.
9808 * java/lang/AssertionError.java: New from Classpath.
9809
9810 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9811
9812 * configure.host: Disable hash synchronization and slow_pthread_self
9813 for cygwin.
9814
9815 2002-06-06 Adam Megacz <adam@xwt.org>
9816
9817 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9818 locking, just like the Sun JVM does.
9819
9820 2002-06-05 H.J. Lu (hjl@gnu.org)
9821
9822 * Makefile.am (libgcj_convenience.la): Revert the last change.
9823 (libgcj.la): Likewise.
9824 * Makefile.in: Regenerated.
9825
9826 2002-06-04 H.J. Lu (hjl@gnu.org)
9827
9828 * Makefile.am (libgcj_convenience.la): New target.
9829 (libgcj.la): Depend on libgcj_convenience.la.
9830 * Makefile.in: Regenerated.
9831
9832 2002-06-04 H.J. Lu (hjl@gnu.org)
9833
9834 * configure.in (--with-newlib): New option:
9835 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9836 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9837 Linux.
9838 * configure: Regenerated.
9839
9840 2002-06-04 Tom Tromey <tromey@redhat.com>
9841
9842 * java/util/natTimeZone.cc: Include <stdio.h>.
9843
9844 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9845
9846 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9847 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9848 Set SIGNAL_HANDLER=include/s390-linux.h.
9849 * configure: Regenerate.
9850 * include/s390-linux.h: New file.
9851
9852 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9853
9854 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9855 not "stackTrace".
9856
9857 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9858
9859 Merge JDK 1.4 java.security changes from classpath.
9860
9861 * java/security/AccessControlException.java: Merge from Classpath.
9862 * java/security/AccessController.java: Likewise.
9863 * java/security/AllPermission.java: Likewise.
9864 * java/security/BasicPermission.java: Likewise.
9865 * java/security/Certificate.java: Likewise.
9866 * java/security/CodeSource.java: Likewise.
9867 * java/security/DigestException.java: Likewise.
9868 * java/security/DigestOutputStream.java: Likewise.
9869 * java/security/DomainCombiner.java: Likewise.
9870 * java/security/GeneralSecurityException.java: Likewise.
9871 * java/security/Guard.java: Likewise.
9872 * java/security/GuardedObject.java: Likewise.
9873 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9874 * java/security/InvalidKeyException.java: Likewise.
9875 * java/security/InvalidParameterException.java: Likewise.
9876 * java/security/Key.java: Likewise.
9877 * java/security/KeyException.java: Likewise.
9878 * java/security/KeyManagementException.java: Likewise.
9879 * java/security/KeyStoreException.java: Likewise.
9880 * java/security/MessageDigest.java: Likewise.
9881 * java/security/NoSuchAlgorithmException.java: Likewise.
9882 * java/security/NoSuchProviderException.java: Likewise.
9883 * java/security/Permission.java: Likewise.
9884 * java/security/PermissionCollection.java: Likewise.
9885 * java/security/Permissions.java: Likewise.
9886 * java/security/Policy.java: Likewise.
9887 * java/security/Principal.java: Likewise.
9888 * java/security/PrivateKey.java: Likewise.
9889 * java/security/PrivilegedAction.java: Likewise.
9890 * java/security/PrivilegedActionException.java: Likewise.
9891 * java/security/PrivilegedExceptionAction.java: Likewise.
9892 * java/security/ProtectionDomain.java: Likewise.
9893 * java/security/ProviderException.java: Likewise.
9894 * java/security/PublicKey.java: Likewise.
9895 * java/security/SecureClassLoader.java: Likewise.
9896 * java/security/SecurityPermission.java: Likewise.
9897 * java/security/SignatureException.java: Likewise.
9898 * java/security/UnrecoverableKeyException.java: Likewise.
9899 * java/security/UnresolvedPermission.java: Likewise.
9900 * java/security/acl/AclNotFoundException.java: Likewise.
9901 * java/security/acl/LastOwnerException.java: Likewise.
9902 * java/security/acl/NotOwnerException.java: Likewise.
9903 * java/security/cert/CRLException.java: Likewise.
9904 * java/security/cert/CertificateEncodingException.java: Likewise.
9905 * java/security/cert/CertificateException.java: Likewise.
9906 * java/security/cert/CertificateExpiredException.java: Likewise.
9907 * java/security/cert/CertificateFactory.java: Likewise.
9908 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9909 * java/security/cert/CertificateParsingException.java: Likewise.
9910 * java/security/spec/InvalidKeySpecException.java: Likewise.
9911 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9912
9913 * java/security/cert/CertPath.java: New file.
9914 * java/security/cert/CertPathBuilderException.java: New file.
9915 * java/security/cert/CertPathValidatorException.java: New file.
9916 * java/security/cert/CertStoreException.java: New file.
9917
9918 * Makefile.am: Add new CertPath classes.
9919 * Makefile.in: Rebuilt.
9920
9921 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9922
9923 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9924
9925 Merge JDK 1.4 exception chaining support from classpath.
9926
9927 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9928 (stackTraceBytes): Rename from stackTrace.
9929 * java/lang/Exception.java: Merge from classpath.
9930 * java/lang/StackTraceElement: New file from classpath.
9931 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9932 * Makefile.am: Add StackTraceElement.
9933 * Makefile.in: Rebuilt.
9934
9935 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9936
9937 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9938 they build first.
9939 * Makefile.in: Rebuilt.
9940
9941 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9942
9943 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9944 * configure.in: Likewise.
9945 * aclocal.m4: Regenerate.
9946 * configure: Regenerate.
9947
9948 2002-05-13 Tom Tromey <tromey@redhat.com>
9949
9950 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9951 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9952 Include platform.h.
9953
9954 Fixes PR libgcj/6389:
9955 * Makefile.in: Rebuilt.
9956 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9957 * java/util/natTimeZone.cc: New file.
9958 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9959 * java/lang/System.java: Merged with Classpath.
9960 * java/lang/Runtime.java: Merged with Classpath.
9961 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9962 security check.
9963 (setIn0): Renamed from setIn; don't run security check.
9964 (setOut0): Renamed from setOut; don't run security check.
9965 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9966 init_properties): Moved to natRuntime.cc.
9967 Moved many includes to natRuntime.cc.
9968 (isWordsBigEndian): New method.
9969 * java/lang/natRuntime.cc: Include Long.h, also other includes
9970 previously in natSystem.cc.
9971 (maxMemory): New function.
9972 (exitInternal): Renamed from `_exit'.
9973 (exit): Removed.
9974 (init): Don't set finalize_on_exit.
9975 (exitInternal): Use `finalizeOnExit'.
9976 (file_encoding, getpwuid_adaptor): New functions from
9977 natSystem.cc.
9978 (insertSystemProperties): New method, renamed from
9979 System::init_properties. Don't set user.timezone.
9980 (_load): Don't call checkLink.
9981 (execInternal): New method.
9982 (availableProcessors): Likewise.
9983 (nativeGetLibname): Likewise.
9984
9985 2002-05-11 Mark Wielaard <mark@klomp.org>
9986
9987 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9988 space characters.
9989 (previous_internal): Likewise.
9990
9991 2002-05-09 Tom Tromey <tromey@redhat.com>
9992
9993 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9994
9995 * java/util/ResourceBundle.java: New version from Classpath.
9996 * java/util/Locale.java: Likewise.
9997
9998 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9999
10000 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10001 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10002 LD_LIBRARY_PATH.
10003
10004 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10005
10006 * libjava/Makefile.am (all_java_source_files): New variable.
10007 (all_java_class_files): Likewise.
10008 .java.class: New rule.
10009 (CLEANFILES): Remove tmp-list.
10010 * libjava/Makefile.in: Regenerated.
10011
10012 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10013
10014 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10015 Append .exe to executable names. Fix for cygwin.
10016
10017 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10018
10019 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10020 script entry, and set LD to it when configuring multilibs.
10021 * configure: Rebuilt.
10022
10023 2002-05-07 Tom Tromey <tromey@redhat.com>
10024
10025 * java/lang/natString.cc (unintern): Fixed typo.
10026
10027 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10028
10029 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10030 with -no-install on *-*-cygwin*.
10031
10032 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10033
10034 * testsuite/lib/libjava.exp (test_libjava_from_source):
10035 Add comment explaining last patch
10036
10037 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10038
10039 * testsuite/lib/libjava.exp (test_libjava_from_source):
10040 Append .exe to executable names. If no suffix is present,
10041 then ".exe" is added by default on win32. Harmless
10042 elsewhere so always do it.
10043
10044 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10045 Tom Tromey <tromey@redhat.com>
10046
10047 * java/lang/natSystem.cc (getSystemTimeZone): Use
10048 HAVE_UNDERSCORE_TIMEZONE.
10049 * include/config.h.in: Rebuilt.
10050 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10051 * aclocal.m4, configure: Rebuilt.
10052 * acinclude.m4: Run AC_EXEEXT.
10053 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10054 Add test for `_timezone'.
10055
10056 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10057
10058 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10059 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10060 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10061 * Makefile.in: Rebuilt.
10062
10063 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10064
10065 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10066 use sigaction instead of __libc_sigaction.
10067
10068 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10069
10070 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10071 (libjava_init): Use it to find libgcj.spec.
10072 (libjava_arguments): Likewise.
10073
10074 2002-05-02 David S. Miller <davem@redhat.com>
10075
10076 PR bootstrap/6525
10077 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10078 __libc_sigaction on Sparc.
10079
10080 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10081
10082 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10083 sys/filio.h, if present.
10084
10085 2002-04-30 Tom Tromey <tromey@redhat.com>
10086
10087 * java/io/BufferedReader.java (fill): Handle case where markPos
10088 point to ignored \n. Fixes PR libgcj/6301.
10089
10090 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10091
10092 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10093
10094 2002-04-29 Adam King <aking@dreammechanics.com>
10095
10096 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10097 of file in APPEND mode.
10098
10099 2002-04-25 David S. Miller <davem@redhat.com>
10100
10101 PR target/6422
10102 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10103 program counter to next program counter minus 8. Update
10104 comments in this macro to explain why.
10105
10106 2002-04-26 Tom Tromey <tromey@redhat.com>
10107
10108 * verify.cc (construct_primitive_array_type) [void_type]: New
10109 case.
10110 (branch_prepass): Added dummy entries for unused instruction
10111 values.
10112 (verify_instructions_0): Likewise.
10113 * interpret.cc (continue1): Comment fix.
10114 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10115 * Makefile.in: Rebuilt.
10116 * Makefile.am: Added -Wswitch-enum.
10117
10118 2002-04-24 Tom Tromey <tromey@redhat.com>
10119
10120 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10121 correct length of UTF-8 encoded name. Strip leading `/'.
10122 (_Jv_RegisterResource): Use _Jv_Malloc.
10123
10124 2002-04-23 Adam Megacz <adam@xwt.org>
10125
10126 * win32.cc, include/win32.cc (backtrace): Added this function
10127 because Win32 does not supply it.
10128
10129 2002-04-21 David S. Miller <davem@redhat.com>
10130
10131 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10132 magic instruction reading sequence.
10133
10134 2002-04-21 Mark Wielaard <mark@klomp.org>
10135
10136 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10137
10138 2002-04-19 David S. Miller <davem@redhat.com>
10139
10140 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10141 arg.
10142 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10143 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10144 on Sparc too.
10145 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10146 for 64-bit sparc.
10147 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10148 * sysdeps/sparc/locks.h: New file.
10149 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10150 on all sparc Solaris configurations. Set to
10151 include/dwarf2-signal.h on sparc Linux.
10152 * configure: Regenerate
10153 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10154
10155 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10156
10157 * configure: Rebuilt.
10158 * configure.in (backtrace): Function doesn't work on IA-64.
10159
10160 2002-04-17 Adam King <aking@dreammechanics.com>
10161
10162 * java/io/File.java (normalizePath): Add Win32 support for auto
10163 conversion of a '/' path separator to Win32's '\' separator.
10164
10165 2002-04-16 Tom Tromey <tromey@redhat.com>
10166
10167 Fix for PR libgcj/6081:
10168 * Makefile.in: Rebuilt.
10169 * Makefile.am (install-data-local): Use GNU make trick to avoid
10170 shell limit.
10171
10172 2002-04-16 Adam King <aking@dreammechanics.com>
10173 Tom Tromey <tromey@redhat.com>
10174
10175 * java/io/natFileWin32.cc (performList): Return the correct array
10176 type. Don't duplicate the creation of a File since it's already
10177 done earlier in the method and the existing code would cause a
10178 ArrayStoreException. Don't use fixed-size array.
10179 (_access, _stat, attr, getCanonicalPath, performMkdir,
10180 performRenameTo): Don't use fixed-size array.
10181 (getCanonicalPath): Use throw, not _Jv_Throw.
10182
10183 2002-04-15 DJ Delorie <dj@redhat.com>
10184
10185 * configure.in: Allow building in $srcdir.
10186 * configure: Regenerated.
10187
10188 2002-04-14 Mark Wielaard <mark@klomp.org>
10189
10190 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10191 * java/net/natSocketImpl.cc (close): Likewise.
10192
10193 2002-04-14 Mark Wielaard <mark@klomp.org>
10194
10195 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10196
10197 2002-04-13 Adam King <aking@dreammechanics.com>
10198
10199 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10200 the f/F/d/D modifiers.
10201
10202 2002-04-12 Anthony Green <green@redhat.com>
10203
10204 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10205 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10206 * Makefile.in: Rebuilt.
10207 * configure.in: Substitute gcc_version.
10208 * configure: Rebuilt.
10209
10210 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10211
10212 * configure.host: Set can_unwind_signal on hosts which support it.
10213 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10214 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10215 exceptions and can_unwind_signal isn't set.
10216 * configure: Rebuilt.
10217
10218 2002-04-11 Tom Tromey <tromey@redhat.com>
10219
10220 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10221
10222 2002-04-11 Adam King <aking@dreammechanics.com>
10223 Tom Tromey <tromey@redhat.com>
10224
10225 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10226 _Jv_ThrowNullPointerException): Mark as noreturn.
10227 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10228 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10229 fixes.
10230
10231 2002-04-10 Tom Tromey <tromey@redhat.com>
10232
10233 * Makefile.in: Rebuilt.
10234 * Makefile.am (java/lang/Thread.h): Mark
10235 _Jv_AttachCurrentThreadAsDaemon as friend.
10236 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10237 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10238 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10239 function.
10240 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10241 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10242 (_Jv_JNI_InvokeFunctions): Added
10243 _Jv_JNI_AttachCurrentThreadAsDaemon.
10244 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10245 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10246 (JNI_CreateJavaVM): Likewise.
10247 (_Jv_JNI_AttachCurrentThread): Likewise.
10248 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10249 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10250 (_Jv_JNIFunctions): Initialize new fields.
10251 (_Jv_JNI_NewDirectByteBuffer): New function.
10252 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10253 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10254 * include/jni.h (JNI_VERSION_1_4): New macro.
10255 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10256 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10257 (JNINativeInterface::NewDirectByteBuffer): New field.
10258 (JNINativeInterface::GetDirectBufferAddress): New field.
10259 (JNINativeInterface::GetDirectBufferCapacity): New field.
10260 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10261 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10262 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10263
10264 2002-04-09 Tom Tromey <tromey@redhat.com>
10265
10266 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10267
10268 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10269
10270 Fix for PR libgcj/6187:
10271 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10272 distance.
10273
10274 2002-04-07 Mark Wielaard <mark@klomp.org>
10275
10276 * java/util/AbstractMap.java (putAll): Use entrySet size.
10277 (toString): Explicitly use getKey() and getValue().
10278
10279 2002-04-07 Mark Wielaard <mark@klomp.org>
10280
10281 * java/util/Hashtable.java (contains): Remove NullPointer check.
10282 (containsValue): Add NullPointer check.
10283 (remove): Always throw NullPointerException when key
10284 is null.
10285
10286 2002-04-07 Adam King <aking@dreammechanics.com>
10287
10288 * java/lang/natSystem.cc (init_properties): Call new function
10289 _Jv_platform_initProperties.
10290 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10291 support for the System properties os.name, os.arch, os.version,
10292 user.name, user.home, and user.dir.
10293 * include/posix.h, include/win32.h, posix.cc: New function
10294 _Jv_platform_initProperties.
10295
10296 2002-04-06 Mark Wielaard <mark@klomp.org>
10297
10298 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10299
10300 2002-04-06 Mark Wielaard <mark@klomp.org>
10301
10302 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10303 all of the remaining elements.
10304 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10305 (removeRange): If toIndex == fromIndex do
10306 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10307 (removeAll): Always throw NullPointerException when collection is
10308 null.
10309 (retrainAll): Likewise.
10310
10311 2002-04-05 Mark Wielaard <mark@klomp.org>
10312
10313 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10314 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10315
10316 2002-04-05 Adam Megacz <adam@xwt.org>
10317
10318 * exception.cc (abort): added static modifier
10319
10320 2002-04-04 Adam Megacz <adam@xwt.org>
10321
10322 * include/win32.h (_Jv_platform_close_on_exec): added inline
10323 modifier.
10324
10325 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10326
10327 * configure.host: Add case statement to support generic port
10328 properties. Add *-*-freebsd* section.
10329
10330 2002-04-04 Mark Wielaard <mark@klomp.org>
10331
10332 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10333 test.
10334 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10335 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10336 that depend on awt code and BufferedByteOutputStream.interrupt.
10337
10338 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10339
10340 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10341 incorrect "hi" value when count > 40.
10342
10343 2002-04-03 Mark Wielaard <mark@klomp.org>
10344
10345 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10346 ordering.
10347
10348 2002-04-02 Tom Tromey <tromey@redhat.com>
10349
10350 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10351 not `0'.
10352
10353 2002-04-02 Mark Wielaard <mark@klomp.org>
10354
10355 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10356 list of testsuite crashers.
10357
10358 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10359
10360 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10361 when resizing table.
10362
10363 2002-04-01 Mark Wielaard <mark@klomp.org>
10364
10365 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10366 NegativeArraySizeException
10367 (clear(int)): Use sign extended shift.
10368 (flip(int)): Likewise.
10369 (get(int)): Likewise.
10370 (nextClearBit(int)): Likewise.
10371 (nextSetBit(int)): Likewise.
10372 (set(int)): Likewise.
10373
10374 2002-04-01 Mark Wielaard <mark@klomp.org>
10375
10376 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10377 that can be compiled now and add testsuite crashers to ignore list.
10378
10379 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10380
10381 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10382
10383 * libgcj.spec.in: Override libgcc, not lib.
10384 * libgcj-test.spec.in: Likewise.
10385
10386 2002-03-29 Tom Tromey <tromey@redhat.com>
10387
10388 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10389 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10390
10391 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10392
10393 * java/net/PlainDatagramSocketImpl.java
10394 (close): Use native implementation.
10395 (finalize): New method.
10396
10397 * java/net/PlainSocketImpl.java (finalize): New method.
10398
10399 * java/net/natPlainDatagramSocketImpl.cc
10400 (java/io/FileDescriptor.h): Don't include.
10401 (close): Implement method here.
10402 (create): Don't assign fd.
10403
10404 * java/net/natPlainSocketImpl.cc
10405 (java/io/FileDescriptor.h): Don't include.
10406 (create): Don't assign fd.
10407 (accept): Likewise.
10408 (close): Synchronize.
10409
10410 2002-03-27 Richard Henderson <rth@redhat.com>
10411
10412 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10413
10414 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10415
10416 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10417 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10418 instead of syscall on IA-64.
10419 Add FIXME comment.
10420
10421 2002-03-27 Anthony Green <green@redhat.com>
10422
10423 * libgcj.spec.in: Add CHECKREFSPEC.
10424 * configure.in: Ditto.
10425 * configure.host: Ditto. Check references for xscale-elf.
10426 * configure: Rebuilt.
10427
10428 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10429
10430 * include/dwarf2-signal.h: Temporarily back out last change.
10431
10432 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10433
10434 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10435
10436 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10437
10438 * configure.in, configure: enable dwarf2-exception-style
10439 exception handling on IA-64.
10440 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10441 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10442 Add FIXME comment.
10443
10444 2002-03-25 Tom Tromey <tromey@redhat.com>
10445
10446 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10447 (jv_convert_LDFLAGS): Likewise.
10448 (gij_LDFLAGS): Likewise.
10449 (rmic_LDFLAGS): Likewise.
10450 (rmiregistry_LDFLAGS): Likewise.
10451 * configure.in (THREADLDFLAGS): New subst; set correctly for
10452 *BSD.
10453
10454 2002-03-25 Tom Tromey <tromey@redhat.com>
10455
10456 For PR libgcj/5303:
10457 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10458 and --version.
10459 (help): New method.
10460 (version): Likewise.
10461 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10462 "GNU".
10463 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10464 "GNU".
10465
10466 2002-03-25 Tom Tromey <tromey@redhat.com>
10467
10468 * java/awt/Component.java (processEvent): Check ComponentEvent
10469 after KeyEvent.
10470
10471 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10472
10473 * java/io/PushbackReader.java: Reformat.
10474
10475 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10476 calculate correct number of bytes skipped.
10477
10478 Based on patch from Intel's ORP team:
10479 * java/io/PushbackInputStream.java (available): Calculate correct
10480 number of bytes in buffer.
10481 (read): Remove redundant bound check. Return bytes from both the
10482 buffer and the stream.
10483
10484 2002-03-24 Tom Tromey <tromey@redhat.com>
10485
10486 * java/awt/TextComponent.java (TextComponent): Editable by
10487 default.
10488
10489 * java/awt/MenuItem.java (eventMask): No longer private.
10490 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10491 superclass if we didn't handle event.
10492 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10493 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10494 * java/awt/Choice.java (dispatchEventImpl): New method.
10495 * java/awt/List.java (dispatchEventImpl): New method.
10496 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10497 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10498 * java/awt/TextField.java (dispatchEventImpl): New method.
10499
10500 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10501
10502 * java/beans/IntrospectionException.java: Update to 1.4.
10503 * java/beans/PropertyVetoException.java: Ditto.
10504
10505 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10506
10507 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10508 Arrays.equals instead of ArrayHelper.equalsArray.
10509
10510 2002-03-24 C. Brian Jones <cbj@gnu.org>
10511
10512 * java/beans/Introspector.java: added new static final fields
10513 introduced in 1.2, lots of other updates remain to be done
10514
10515 2002-03-24 C. Brian Jones <cbj@gnu.org>
10516
10517 * java/beans/Introspector.java: reformatting
10518
10519 2002-03-24 C. Brian Jones <cbj@gnu.org>
10520
10521 * java/beans/Introspector.java: default beanInfoSearchPath will
10522 not include sun.beans.infos given we provide no such package and
10523 the API doesn't really require it; gnu.java.beans.info is the
10524 default.
10525
10526 2002-03-24 Mark Wielaard <mark@klomp.org>
10527
10528 Thanks to Orp developers
10529 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10530 switch TRUE and FALSE return values.
10531
10532 2002-03-23 Tom Tromey <tromey@redhat.com>
10533
10534 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10535 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10536
10537 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10538
10539 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10540 MONTH entry. Fixes PR libgcj/6045.
10541
10542 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10543
10544 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10545
10546 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10547
10548 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10549 not release_set.
10550 * sysdep/powerpc/locks.h (write_barrier): New function.
10551 * sysdep/i386/locks.h (write_barrier): New function.
10552
10553 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10554
10555 * include/jni.h Use correct C comments.
10556
10557 2002-03-18 Tom Tromey <tromey@redhat.com>
10558
10559 * include/jni.h (JNIIMPORT): New macro.
10560 (JNIEXPORT): Likewise.
10561 (JNICALL): Likewise.
10562
10563 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10564
10565 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10566 systems.
10567
10568 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10569
10570 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10571 INIT_SEGV: Use old_i386_kernel_sigaction.
10572 INIT_FP: Likewise.
10573
10574 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10575
10576 * java/lang/natSystem.cc (init_properties): Update VM version
10577 properties.
10578 * configure.in: Set GCJVERSION.
10579 * acconfig.h: Add GCJVERSION.
10580 * configure: Rebuilt.
10581 * include/config.h.in: Rebuilt.
10582
10583 2002-03-17 Anthony Green <green@redhat.com>
10584
10585 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10586
10587 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10588
10589 Build a single libgcj.so, without separate gc and zlib libraries.
10590 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10591 SYS_ZLIBS if system zlib is used.
10592 * configure: Rebuilt.
10593 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10594 * Makefile.in: Rebuilt.
10595 * libtool-version: Increment .so version number.
10596
10597 * Makefile.am: Escape quotes in echo.
10598 * Makefile.in: Rebuilt.
10599
10600 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10601
10602 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10603 * Makefile.in: Rebuilt.
10604
10605 2002-03-15 Anthony Green <green@redhat.com>
10606
10607 * configure.host (FILE): New macro for specifing File
10608 implementation.
10609 * configure: Rebuilt.
10610 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10611
10612 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10613
10614 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10615 already implicitly brought in from libgcj.la.
10616 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10617 * Makefile.in: Rebuilt.
10618
10619 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10620
10621 * THANKS: Fix punctuation, alphabetization.
10622
10623 2002-03-15 Tom Tromey <tromey@redhat.com>
10624 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10625
10626 Fix for PR libgcj/5944.
10627 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10628
10629 2002-03-15 Anthony Green <green@redhat.com>
10630
10631 * configure.in (tool_include_dir): Define.
10632 * configure: Rebuilt.
10633 * gcj/Makefile.am: Install libgcj-config.h relative to
10634 tool_include_dir.
10635 * gcj/Makefile: Rebuilt.
10636 * gcj/libgcj-config.h: Add warning comment.
10637
10638 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10639
10640 * configure.host (powerpc*-darwin*): Enable interpreter.
10641
10642 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10643
10644 * include/posix.h: Add multiple include header protection.
10645 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10646
10647 2002-03-10 Adam Megacz <adam@xwt.org>
10648
10649 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10650
10651 2002-03-10 Tom Tromey <tromey@redhat.com>
10652
10653 * java/awt/GridLayout.java (layoutContainer): Handle case where
10654 there are no items in container.
10655
10656 * java/lang/Win32Process.java: Added comment.
10657 * include/posix.h (_Jv_platform_close_on_exec): New function.
10658 Include fcntl.h.
10659 * include/win32.h (_Jv_platform_close_on_exec): New function.
10660 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10661 flag.
10662 (accept): Likewise.
10663 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10664 close-on-exec flag.
10665 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10666 flag.
10667
10668 2002-03-09 Tom Tromey <tromey@redhat.com>
10669
10670 * verify.cc (state::NO_STACK): New constant.
10671 (state::is_unmerged_ret_state): Handle case where stacktop is
10672 NO_STACK.
10673 (state::merge): Handle NO_STACK merges.
10674 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10675 for instruction following jsr.
10676 (stacktop, stackdepth): Removed unused variables.
10677 (pop_jump): Ignore case where all remaining states are skipped.
10678
10679 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10680
10681 * java/awt/ImageMediaEntry: Removed.
10682 * java/awt/MediaEntry: Removed.
10683
10684 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10685
10686 Hashtable synchronization for PowerPC.
10687 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10688 slow_pthread_self. Set up symlink for sysdeps directory.
10689 * configure: Rebuild.
10690 * configure.host: Document more shell variables. Set sysdeps_dir
10691 for most platforms. Set slow_pthread_self for i686. Set
10692 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10693 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10694 that memory barrier is emitted where required.
10695 * prims.cc: 64-bit align static primitive class instances.
10696 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10697 read_barrier() to enforce ordering of reads.
10698 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10699 primitives for PowerPC.
10700 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10701 moved from natObject.cc.
10702 * sysdep/alpha/locks.h: Likewise.
10703 * sysdep/ia64/locks.h: Likewise.
10704 * sysdep/generic/locks.h: Likewise.
10705 * java/lang/natObject.cc: Move thread synchronization primitives to
10706 system-dependent headers.
10707
10708 2002-03-09 Adam Megacz <adam@xwt.org>
10709
10710 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10711 bytes read and no failure code returned.
10712
10713 2002-03-09 Adam Megacz <adam@xwt.org>
10714
10715 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10716 definitions to simulate -mthreads.
10717
10718 2002-03-09 Adam Megacz <adam@xwt.org>
10719
10720 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10721 avoid precision loss.
10722
10723 2002-03-09 Per Bothner <per@bothner.com>
10724
10725 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10726 * gnu/gcj/xlib/XImage.java: Likewise.
10727 * gnu/gcj/xlib/XColor.java: Likewise.
10728
10729 2002-03-09 Adam Megacz <adam@xwt.org>
10730
10731 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10732 IOException so that Throwable.printStackTrace fails correctly.
10733
10734 2002-03-08 Adam Megacz <adam@xwt.org>
10735
10736 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10737 fixed.
10738
10739 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10740
10741 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10742 truncated to int.
10743
10744 2002-03-08 Tom Tromey <tromey@redhat.com>
10745
10746 * include/jni.h: Include stdio.h.
10747
10748 2002-03-08 Tom Tromey <tromey@redhat.com>
10749
10750 * posix.cc (internal_gettimeofday): New function.
10751 (_Jv_select): Use it.
10752
10753 2002-03-07 Adam Megacz <adam@xwt.org>
10754
10755 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10756 WIN32, and added thunks for read(), write(), and close().
10757 * java/net/natPlainSocketImpl.cc (accept, read, read):
10758 Disabled timeouts on WIN32 pending discussion.
10759
10760 2002-03-07 Adam Megacz <adam@xwt.org>
10761
10762 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10763 returns jlong. Added implementation
10764 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10765 returns jlong.
10766 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10767 returns jlong.
10768 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10769 returns jlong.
10770 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10771 _Jv_platform_gettimeofday signature.
10772
10773 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10774
10775 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10776 (read): Call recv() directly, not _Jv_recv().
10777
10778 2002-03-06 Tom Tromey <tromey@redhat.com>
10779
10780 * java/io/natFileDescriptorEcos.cc (init): Don't use
10781 GetStdHandle.
10782 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10783 is negative.
10784 (init): Don't use GetStdHandle.
10785
10786 * include/config.h.in: Rebuilt.
10787 * configure: Rebuilt.
10788 * Makefile.in: Rebuilt.
10789
10790 2002-03-06 Adam Megacz <adam@xwt.org>
10791
10792 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10793 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10794 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10795 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10796
10797 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10798
10799 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10800 the code for generating include/java-chartables.h.
10801 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10802 merge with Classpath.
10803 * scripts/unicode-muncher.pl: Copy from Classpath.
10804 * scritps/MakeCharTables.java: New file.
10805 * gnu/gcj/convert/Blocks-3.txt: New file.
10806 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10807 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10808 * gnu/java/lang/CharData.java: Copy from Classpath.
10809 * Makefile.am (ordinary_java_source_files): Add
10810 gnu/java/lang/CharData.java.
10811 * configure.in: Remove --enable-fast-character option.
10812 * java/lang/Character.java: Merge algorithms and Javadoc with
10813 Classpath.
10814 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10815 efficiently.
10816 * include/java-chardecomp.h: Regenerate.
10817 * include/java-chartables.h: Regenerate.
10818
10819 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10820
10821 * java/awt/MediaTracker.java: Implemented.
10822 * Makefile.am: Add MediaTracker.
10823 * Makefile.in: Rebuilt.
10824
10825 2002-03-05 Tom Tromey <tromey@redhat.com>
10826
10827 * java/lang/natPosixProcess.cc (fail): Removed.
10828 (startProcess): Simplified error-handling. Preserve
10829 LD_LIBRARY_PATH across exec.
10830
10831 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10832 AbstractMethodError.
10833
10834 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10835
10836 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10837 * Makefile.in: Rebuilt.
10838
10839 2002-03-03 Mark Wielaard <mark@klomp.org>
10840
10841 * java/util/Timer (TaskQueue.stop): set elements to zero.
10842
10843 2002-02-28 Anthony Green <green@redhat.com>
10844
10845 * java/lang/reflect/natMethod.cc (result): Add void* element.
10846 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10847 constructor test.
10848
10849 2002-02-27 Adam Megacz <adam@xwt.org>
10850
10851 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10852 '#undef STRICT'.
10853
10854 2002-02-26 Tom Tromey <tromey@redhat.com>
10855
10856 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10857 * gij.cc (version): Use __VERSION__.
10858 * include/config.h.in: Rebuilt.
10859 * acconfig.h (GCJVERSION): Removed.
10860 * configure: Rebuilt.
10861 * configure.in (GCJVERSION): Removed.
10862
10863 2002-02-26 Andreas Schwab <schwab@suse.de>
10864
10865 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10866 glibcpp_CXX, since libjava uses even another CXX.
10867 * aclocal.m4, configure: Regenerated.
10868
10869 2002-02-26 Tom Tromey <tromey@redhat.com>
10870
10871 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10872 `1'.
10873
10874 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10875
10876 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10877 dependency tracking for .java files.
10878 * Makefile.in: Rebuilt.
10879
10880 2002-02-24 Adam Megacz <adam@xwt.org>
10881
10882 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10883 typo. Sorry.
10884
10885 2002-02-24 Adam Megacz <adam@xwt.org>
10886
10887 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10888 for Win32, changed #ifdefs to check WIN32 instead of the
10889 (now-obsolete) USE_WINSOCK, and removed support for socket
10890 timeouts on Win32 pending further discussion.
10891
10892 2002-02-24 Adam Megacz <adam@xwt.org>
10893
10894 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10895 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10896 delete
10897
10898 2002-02-24 Adam Megacz <adam@xwt.org>
10899
10900 * java/lang/Win32Process.java: Created a dummy class to allow
10901 build process to run to completion.
10902
10903 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10904
10905 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10906 Define ffi_result union for ffi_call result. Cast
10907 ffi_result members to jvalue.
10908
10909 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10910
10911 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10912 * testsuite/Makefile.in: Likewise.
10913
10914 2002-02-20 Per Bothner <per@bothner.com>
10915
10916 * java/net/URL.java (getPath): New JDK 1.3 method.
10917
10918 * java/net/URLStreamHandler.java (parseURL):
10919 It is wrong to prepend '/' to the file part of a relative url.
10920
10921 * java/net/URLStreamHandler.java (parseURL):
10922 Minor optizations - append '/' rather than "/".
10923
10924 * java/net/URLStreamHandler.java (parseURL):
10925 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10926 We probably should canonicalize for a context-relative url, though.
10927 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10928 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10929 (sameFile): New method. Uses canonicalizeFilename.
10930
10931 2002-02-22 Tom Tromey <tromey@redhat.com>
10932
10933 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10934 java.vendor and java.vm.vendor.
10935 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10936 recent copyright date.
10937 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10938 * gij.cc (version): Print `Inc'.
10939
10940 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10941
10942 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10943 * aclocal.m4, configure: Rebuilt.
10944
10945 2002-02-20 Per Bothner <per@bothner.com>
10946
10947 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10948 and/or output streams immediately here, instead of using File.exists.
10949 (inputStream, outputStream): New fields to save open streams.
10950 (getInputStream, getOutputStream): Use already-opened streams.
10951
10952 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10953
10954 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10955 Use it.
10956 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10957 * aclocal.m4, configure, Makefile.in: Rebuilt.
10958
10959 2002-02-19 Tom Tromey <tromey@redhat.com>
10960
10961 Fix for PR libgcj/5696:
10962 * verify.cc (is_assignable_from_slow): Never call
10963 _Jv_IsAssignableFrom.
10964 (verify_instructions_0): Added new debug statement.
10965 (state::print): Print information about whether local has
10966 changed.
10967 (state::merge): Don't call note_variable when merging locals.
10968 (state::set_exception): Removed old FIXME comment.
10969
10970 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10971
10972 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10973 enable SO_BROADCAST.
10974
10975 2002-02-18 Jason Merrill <jason@redhat.com>
10976
10977 * name-finder.cc (toHex): Use word mode, not long long.
10978
10979 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10980
10981 2002-02-15 Tom Tromey <tromey@redhat.com>
10982
10983 Fix for PR libgcj/5695:
10984 * verify.cc (is_assignable_from_slow): Check to see if target is
10985 an Object before checking to see if source is an interface.
10986 (verify_instructions_0) [op_invokeinterface]: Handle case where
10987 we're making an interface call on Object.
10988
10989 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10990
10991 * Makefile.in: Rebuilt with Eric's change below.
10992
10993 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10994 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10995 Removed functions which are now implemented in Math.java.
10996
10997 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10998
10999 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11000 * Makefile.am (core_java_source_files): Add
11001 java/lang/StrictMath.java.
11002 * java/lang/Math.java: Merge with Classpath.
11003 * java/lang/StrictMath.java: New file - merge with Classpath.
11004
11005 2002-02-14 Mark Wielaard <mark@klomp.org>
11006
11007 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11008 package as a workaround for gcj 3.0.x
11009
11010 2002-02-14 Mark Wielaard <mark@klomp.org>
11011
11012 * java/security/BasicPermission.java: extends with fully qualified
11013 classname as workaround for gcj 3.0.4.
11014
11015 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11016
11017 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11018 around gcj bug of wrong emitted qualifier for inherited method.
11019 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11020 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11021 constructor to reduce amount of emitted bytecode. While this
11022 happens to work around a jikes 1.15 bug, it is still a useful
11023 patch even for correct compilers.
11024 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11025 * gnu/java/rmi/server/UnicastRemoteCall.java
11026 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11027
11028 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11029
11030 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11031 * java/net/SocketImpl.java: Ditto.
11032 * java/rmi/server/RMIClassLoader.java: Ditto.
11033 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11034
11035 2002-02-14 Mark Wielaard <mark@klomp.org>
11036
11037 Thanks to Takashi Okamoto
11038 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11039 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11040 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11041
11042 2002-02-13 Todd Stock <toddastock@yahoo.com>
11043
11044 Fix for PR libgcj/5670:
11045 * verify.cc (is_assignable_from_slow): If `source' is interface,
11046 recursively look for merge with `target'.
11047
11048 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11049
11050 * include/jni.h: Fix typo.
11051
11052 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11053
11054 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11055 correctly.
11056
11057 2002-02-13 Todd Stock <toddastock@yahoo.com>
11058
11059 Fix for PR libgcj/5671:
11060 * verify.cc (state::merge): Handle case where we're merging
11061 against an interface.
11062
11063 2002-02-12 Tom Tromey <tromey@redhat.com>
11064
11065 * exception.cc (std::abort): Mark as noreturn.
11066
11067 2002-02-12 Adam Megacz <adam@xwt.org>
11068
11069 * java/lang/Win32Process.java: Filled in a placeholder
11070 implementation so Win32 will build.
11071
11072 2002-02-12 Adam Megacz <adam@xwt.org>
11073
11074 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11075 * java/io/natFile.cc: Removed from repository.
11076 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11077
11078 2002-02-12 Adam Megacz <adam@xwt.org>
11079
11080 * win32.cc: Added two #includes to make win32.cc compile.
11081
11082 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11083
11084 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11085 declarations.
11086 (_Jv_InitGC): Don't bother locking, as this is always called from a
11087 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11088
11089 2002-02-11 Adam Megacz <adam@xwt.org>
11090
11091 * include/win32.h: Added _Jv_platform_gettimeofday.
11092 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11093
11094 2002-02-11 Adam Megacz <adam@xwt.org>
11095
11096 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11097 Added #undef STRICT to make windows.h and
11098 java/lang/reflect/Modifier.h cooperate.
11099
11100 2002-02-11 Adam Megacz <adam@xwt.org>
11101
11102 * java/io/natFileWin32.cc: Created a placeholder class with lots
11103 of FIXMEs.
11104
11105 2002-02-11 Adam Megacz <adam@xwt.org>
11106
11107 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11108 std::abort() to simply abort(). Also added "fake" std::abort() so
11109 we can #include unwind-pe.h without having to link against
11110 libstdc++-v3.
11111
11112 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11113
11114 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11115
11116 2002-02-08 Tom Tromey <tromey@redhat.com>
11117
11118 * interpret.cc (convert): New function.
11119 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11120 convert.
11121 Include Long.h.
11122
11123 2002-02-08 Anthony Green <green@redhat.com>
11124
11125 * configure.host: Add support for xscale-elf embedded target.
11126
11127 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11128
11129 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11130 dereferenced.
11131 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11132 frame.
11133
11134 2002-02-07 Tom Tromey <tromey@redhat.com>
11135
11136 * java/io/natFile.cc (_access): Use __builtin_alloca.
11137 (_stat): Likewise.
11138 (attr): Likewise.
11139 (getCanonicalPath): Likewise.
11140 (performList): Likewise.
11141 (performMkdir): Likewise.
11142 (performSetReadOnly): Likewise.
11143 (performRenameTo): Likewise.
11144 (performSetLastModified): Likewise.
11145 (performCreate): Likewise.
11146 (performDelete): Likewise.
11147
11148 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11149
11150 * HACKING: Fix URL for the automake-gcj.
11151
11152 2002-02-07 Tom Tromey <tromey@redhat.com>
11153
11154 * java/lang/natThrowable.cc: Updated copyright.
11155 * java/io/natFileWin32.cc: Updated copyright.
11156 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11157 * win32-threads.cc: Updated copyright.
11158 * name-finder.cc: Updated copyright.
11159 * include/name-finder.h: Updated copyright.
11160
11161 * include/name-finder.h: Conditionally include sys/wait.h.
11162 * include/config.h.in: Rebuilt.
11163
11164 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11165 Size buffer based on real size of string.
11166 (_stat): Likewise.
11167 (attr): Likewise.
11168 (getCanonicalPath): Likewise.
11169 (performList): Likewise.
11170 (performMkdir): Likewise.
11171 (performSetReadOnly): Likewise.
11172 (unixroot): Removed.
11173 (performRenameTo): Likewise.
11174 (performSetLastModified): Likewise.
11175 (performCreate): Likewise.
11176 (performDelete): Likewise.
11177 (performListRoots): Always return new array.
11178
11179 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11180 * win32.cc (win32_exception_handler): Now static.
11181 * include/win32.h (_Jv_platform_initialize): Declare.
11182 (win32_exception_handler): Don't declare.
11183 * java/lang/natSystem.cc (currentTimeMillis): Use
11184 _Jv_platform_gettimeofday.
11185 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11186 (_Jv_select): Use new name.
11187 (_Jv_platform_initialize): New function.
11188 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11189 _Jv_gettimeofday.
11190 (_Jv_platform_initialize): Declare.
11191
11192 * configure: Rebuilt.
11193 * configure.in: Removed unnecessary parens.
11194
11195 2002-02-06 Adam Megacz <adam@xwt.org>
11196
11197 * configure.in: Changed mingw) to *mingw*).
11198 * win32.cc: Created this file.
11199 * win32.h: Created this file.
11200 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11201 win32_exception_handler from prims.cc to win32.cc, added
11202 header in win32.h.
11203 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11204 longer needed now that we have platform.h
11205
11206 2002-02-06 Adam Megacz <adam@xwt.org>
11207
11208 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11209 use uint<n>_t instead of LONG and BYTE
11210
11211 2002-02-06 Adam Megacz <adam@xwt.org>
11212
11213 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11214
11215 2002-02-06 Anthony Green <green@redhat.com>
11216
11217 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11218 Implement missing method stubs.
11219 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11220 targets.
11221 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11222 concept of timezones.
11223 (init_properties): Don't refer to _Jv_Environment_Properties
11224 when this feature is not available.
11225 * include/config.h.in: Rebuilt.
11226 * acconfig.h: Add DISABLE_MAIN_ARGS.
11227 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11228 * configure: Rebuilt.
11229 * configure.in: Add --disable-main-args option. Test for
11230 opendir function. Replace AC_CHECK_SIZEOF with
11231 AC_COMPILE_CHECK_SIZEOF.
11232 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11233 * aclocal.m4: Rebuilt.
11234 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11235
11236 2002-02-06 Tom Tromey <tromey@redhat.com>
11237
11238 * verify.cc (require_array_type): If argument is a null array of
11239 references, return null as the element type.
11240
11241 2002-02-06 Mark Wielaard <mark@klomp.org>
11242
11243 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11244 duplicate of a wide type.
11245
11246 2002-02-06 Tom Tromey <tromey@redhat.com>
11247
11248 * verify.cc (type::isnull): New method.
11249 (require_array_type): Handle case where array is null.
11250 (verify_instructions_0) [op_arraylength]: Likewise.
11251
11252 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11253
11254 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11255 Symlink PLATFORMH to platform.h.
11256 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11257 PLATFORMOBJS.
11258 * java/lang/natSystem.cc: #include platform.h not posix.h.
11259 * Makefile.in: Rebuilt with libgcj automake.
11260 * configure: Rebuilt.
11261
11262 2002-02-05 Richard Henderson <rth@redhat.com>
11263
11264 * Makefile.in: Undo munging last change.
11265
11266 2002-02-04 Adam Megacz <adam@xwt.org>
11267
11268 * win32.cc: Created it.
11269 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11270 which is set to posix.cc or win32.cc.
11271 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11272
11273 2002-02-04 Adam Megacz <adam@xwt.org>
11274
11275 * configure.in: Corrected mingw case branches; added * before
11276 and after.
11277
11278 2002-02-04 Adam Megacz <adam@xwt.org>
11279
11280 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11281 if compiling for win32
11282
11283 2002-02-04 Adam Megacz <adam@xwt.org>
11284
11285 * win32-threads.cc: #undef STRICT after gc.h inclusion
11286
11287 2002-02-02 Tom Tromey <tromey@redhat.com>
11288
11289 * Makefile.in: Rebuilt.
11290
11291 2002-02-02 Jason Merrill <jason@redhat.com>
11292
11293 * Makefile.am (clean-nat): New target.
11294
11295 2002-02-02 Tom Tromey <tromey@redhat.com>
11296
11297 * java/io/natFile.cc: Removed old "FIXME" comments.
11298
11299 2002-02-01 Tom Tromey <tromey@redhat.com>
11300
11301 * java/lang/natPosixProcess.cc (myclose): New function.
11302 (fail): Use it.
11303 (startProcess): Likewise.
11304
11305 2002-02-01 Adam Megacz <adam@xwt.org>
11306
11307 * prims.cc: Added #undef STRICT after #include<windows.h>.
11308
11309 2002-02-01 Adam Megacz <adam@xwt.org>
11310
11311 * prims.cc
11312 (_Jv_CreateJavaVM): We now use WIN32 instead of
11313 USE_WIN32_SIGNALLING and USE_WINSOCK.
11314 (win32_exception_handler): Now throws an exception out of
11315 the signal handler; assumes SJLJ.
11316
11317 2002-02-01 Adam Megacz <adam@xwt.org>
11318
11319 * win32-threads.cc:
11320 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11321 wait() algorithm to make it safe.
11322 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11323 Added lazy creation of Win32 Events for better performance
11324 (really_start): This now uses GC_CreateThread so boehm-gc
11325 knows about new threads even when statically linked.
11326
11327 2002-02-01 Adam Megacz <adam@xwt.org>
11328
11329 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11330 enable safer wait() algorithm.
11331 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11332 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11333 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11334 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11335 instead of mutex.
11336 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11337
11338 2002-02-01 Adam Megacz <adam@xwt.org>
11339
11340 * configure.in: Added support for mingw.
11341 * java/lang/Win32Process.java: Created as empty file.
11342 * java/lang/natWin32Process.cc: Created as empty file.
11343
11344 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11345
11346 PR java/4972
11347 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11348 for libiconv in LIBICONV variable.
11349 * configure: Regenerated.
11350
11351 2002-01-31 Tom Tromey <tromey@redhat.com>
11352
11353 * verify.cc (state::enter_subroutine): New method.
11354 (handle_jsr_insn): Use it.
11355 (state::merge): When processing a `ret', correctly use
11356 subroutine's state to determine which local variables have
11357 changed.
11358 (push_exception_jump): Don't let stack overflow.
11359
11360 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11361
11362 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11363 --version output.
11364
11365 2002-01-30 Tom Tromey <tromey@redhat.com>
11366
11367 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11368 parameter for `recv' return type.
11369
11370 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11371 (state::merge): ... not here.
11372 (subr_entry_info): New structure.
11373 (entry_points): New field.
11374 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11375 entry_points.
11376
11377 2002-01-29 Tom Tromey <tromey@redhat.com>
11378
11379 * java/awt/List.java (addNotify): Correctly check to see if peer
11380 does not exist.
11381
11382 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11383 to compute height of each cell, and number of columns to compute
11384 width of each cell.
11385 * java/awt/Window.java (getOwnedWindows): Don't return null.
11386 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11387 of component. Increment x using horizontal gap, not vertical
11388 gap.
11389
11390 2002-01-28 Tom Tromey <tromey@redhat.com>
11391
11392 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11393 `nargs' byte is number of words, not number of arguments.
11394
11395 2002-01-27 Tom Tromey <tromey@redhat.com>
11396
11397 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11398 (when): Likewise.
11399 * java/awt/event/InputEvent.java (modifiers, when): Now
11400 package-private.
11401
11402 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11403 and to-do list.
11404 (state::merge): Use current class' class loader.
11405 (state::print): Print subroutine.
11406 (state::merge): Don't look at subroutine of unmerged `ret'.
11407
11408 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11409
11410 * nogc.cc: Remove warnings.
11411 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11412 New functions.
11413
11414 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11415
11416 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11417 int, int): Remove empty "if" statement to work around compiler bug.
11418 (newPixels(int[], ColorModel, int, int): Likewise.
11419
11420 2002-01-25 Per Bothner <per@bothner.com>
11421
11422 * verify.cc (verify_fail): Change from being a top-level function
11423 to e method of _Jv_BytecodeVerifier. Emit current method name.
11424 Pass the current verifier to type: and state: methods as needed,
11425 for better error messages, and for resolve.
11426 (resolve): Pass current class's loader for Class.forName and
11427 _Jv_FindClassFromSignature, rather than using the default loader.
11428 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11429 (get_type_val_for_signature): Make non-static.
11430 (various methods): Pass start_PC implicitly, not explicitly.
11431
11432 2002-01-25 Tom Tromey <tromey@redhat.com>
11433
11434 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11435 loop termination condition.
11436 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11437 width.
11438
11439 2002-01-24 Tom Tromey <tromey@redhat.com>
11440
11441 * java/awt/Shape.java: Merged with Classpath.
11442 * java/awt/Scrollbar.java: Merged with Classpath.
11443
11444 * java/awt/Container.java (addNotify): Unconditionally call
11445 addNotifyContainerChildren and superclass addNotify.
11446
11447 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11448 getAlpha, not getBlue.
11449
11450 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11451
11452 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11453
11454 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11455 (grabPixels(long)): Wait to be notified that the ImageProducer has
11456 completed.
11457
11458 2002-01-24 Per Bothner <per@bothner.com>
11459
11460 * verify.cc (is_assignable_from_slow): If target is an interface,
11461 we must still check the source's superclass before giving up.
11462
11463 2002-01-24 Tom Tromey <tromey@redhat.com>
11464
11465 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11466
11467 2002-01-23 Tom Tromey <tromey@redhat.com>
11468
11469 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11470 `else'.
11471
11472 * Makefile.in: Rebuilt.
11473 * Makefile.am (awt_java_source_files): Added new files.
11474 * java/awt/Toolkit.java: Merged with Classpath.
11475 * java/awt/PrintGraphics.java: New file from Classpath.
11476 * java/awt/PrintJob.java: New file from Classpath.
11477 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11478 * java/awt/datatransfer/ClipboardOwner.java: New file from
11479 Classpath.
11480 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11481 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11482 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11483 Classpath.
11484 * java/awt/datatransfer/StringSelection.java: New file from
11485 Classpath.
11486 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11487 Classpath.
11488 * java/awt/datatransfer/Transferable.java: New file from
11489 Classpath.
11490 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11491 from Classpath.
11492
11493 * Makefile.in: Rebuilt.
11494 * Makefile.am (awt_java_source_files): Added new files.
11495 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11496 Classpath.
11497 * java/awt/image/CropImageFilter.java: New file from Classpath.
11498 * java/awt/image/FilteredImageSource.java: New file from
11499 Classpath.
11500 * java/awt/image/ImageFilter.java: New file from Classpath.
11501 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11502 * java/awt/image/PixelGrabber.java: New file from Classpath.
11503 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11504 * java/awt/image/ReplicateScaleFilter.java: New file from
11505 Classpath.
11506 * java/awt/image/ImageProducer.java: Replaced with Classpath
11507 version.
11508 * java/awt/image/ImageObserver.java: Replaced with Classpath
11509 version.
11510 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11511 version.
11512 * java/awt/GridBagConstraints.java (clone): Catch
11513 CloneNotSupportedException.
11514
11515 2002-01-23 Per Bothner <per@bothner.com>
11516
11517 * java/lang/reflect/natField.cc (setAddr): New function.
11518 Calls getAddr and then checks that the field isn't final.
11519 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11520 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11521 (set): Call setAddr before check that new value has right type,
11522 to better match specified semantics.
11523
11524 2002-01-22 Tom Tromey <tromey@redhat.com>
11525
11526 * java/awt/TextField.java: Replaced with Classpath version.
11527 * java/awt/TextArea.java: Replaced with Classpath version.
11528 * java/awt/TextComponent.java: Replaced with Classpath version.
11529
11530 * java/awt/GridBagConstraints.java: Updated copyright.
11531
11532 2002-01-22 Mark Wielaard <mark@klomp.org>
11533
11534 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11535 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11536 java/awt/Dialog.java java/awt/FileDialog.java
11537 java/awt/Font.java java/awt/FontMetrics.java
11538 java/awt/Image.java java/awt/ImageMediaEntry.java
11539 java/awt/Insets.java java/awt/List.java
11540 java/awt/MediaEntry.java java/awt/MediaTracker.java
11541 java/awt/Menu.java java/awt/MenuBar.java
11542 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11543 java/awt/PaintContext.java java/awt/Panel.java
11544 java/awt/PopupMenu.java java/awt/SystemColor.java
11545 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11546 java/awt/peer/CheckboxMenuItemPeer.java
11547 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11548 java/awt/peer/ComponentPeer.java
11549 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11550 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11551 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11552 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11553 java/awt/peer/MenuBarPeer.java
11554 java/awt/peer/MenuComponentPeer.java
11555 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11556 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11557 java/awt/peer/ScrollPanePeer.java
11558 java/awt/peer/ScrollbarPeer.java
11559 java/awt/peer/TextAreaPeer.java
11560 java/awt/peer/TextComponentPeer.java
11561 java/awt/peer/TextFieldPeer.java
11562 java/awt/peer/WindowPeer.java: Add license clarification.
11563
11564 2002-01-22 Mark Wielaard <mark@klomp.org>
11565
11566 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11567 gnu/gcj/runtime/StringBuffer.java
11568 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11569 gnu/java/awt/ComponentDataBlitOp.java
11570 gnu/java/awt/GLightweightPeer.java
11571 gnu/java/beans/BeanInfoEmbryo.java
11572 gnu/java/beans/EmptyBeanInfo.java
11573 gnu/java/beans/ExplicitBeanInfo.java
11574 gnu/java/beans/IntrospectionIncubator.java
11575 gnu/java/beans/editors/ColorEditor.java
11576 gnu/java/beans/editors/FontEditor.java
11577 gnu/java/beans/editors/NativeBooleanEditor.java
11578 gnu/java/beans/editors/NativeByteEditor.java
11579 gnu/java/beans/editors/NativeDoubleEditor.java
11580 gnu/java/beans/editors/NativeFloatEditor.java
11581 gnu/java/beans/editors/NativeIntEditor.java
11582 gnu/java/beans/editors/NativeLongEditor.java
11583 gnu/java/beans/editors/NativeShortEditor.java
11584 gnu/java/beans/editors/StringEditor.java
11585 gnu/java/beans/info/ComponentBeanInfo.java
11586 gnu/java/io/ClassLoaderObjectInputStream.java
11587 gnu/java/io/NullOutputStream.java
11588 gnu/java/io/ObjectIdentityWrapper.java
11589 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11590 gnu/java/lang/reflect/TypeSignature.java
11591 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11592 gnu/java/locale/Calendar_en.java
11593 gnu/java/locale/Calendar_nl.java
11594 gnu/java/locale/LocaleInformation.java
11595 gnu/java/locale/LocaleInformation_de.java
11596 gnu/java/locale/LocaleInformation_en.java
11597 gnu/java/locale/LocaleInformation_nl.java
11598 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11599 gnu/java/rmi/registry/RegistryImpl.java
11600 gnu/java/rmi/rmic/Compile_gcj.java
11601 gnu/java/rmi/rmic/Compiler.java
11602 gnu/java/rmi/rmic/CompilerProcess.java
11603 gnu/java/rmi/rmic/RMIC.java
11604 gnu/java/rmi/rmic/TabbedWriter.java
11605 gnu/java/rmi/server/ProtocolConstants.java
11606 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11607 gnu/java/rmi/server/RMIHashes.java
11608 gnu/java/rmi/server/RMIObjectInputStream.java
11609 gnu/java/rmi/server/RMIObjectOutputStream.java
11610 gnu/java/rmi/server/UnicastConnection.java
11611 gnu/java/rmi/server/UnicastConnectionManager.java
11612 gnu/java/rmi/server/UnicastRef.java
11613 gnu/java/rmi/server/UnicastRemoteCall.java
11614 gnu/java/rmi/server/UnicastRemoteStub.java
11615 gnu/java/rmi/server/UnicastServer.java
11616 gnu/java/rmi/server/UnicastServerRef.java
11617 gnu/java/security/provider/DefaultPolicy.java
11618 gnu/java/security/provider/Gnu.java
11619 gnu/java/security/provider/SHA.java
11620 gnu/java/security/provider/SHA1PRNG.java
11621 gnu/java/text/BaseBreakIterator.java
11622 gnu/java/text/CharacterBreakIterator.java
11623 gnu/java/text/LineBreakIterator.java
11624 gnu/java/text/SentenceBreakIterator.java
11625 gnu/java/text/WordBreakIterator.java
11626 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11627 java/applet/AppletContext.java java/applet/AppletStub.java
11628 java/applet/AudioClip.java java/awt/AWTError.java
11629 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11630 java/awt/AWTException.java java/awt/AWTPermission.java
11631 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11632 java/awt/Button.java java/awt/Canvas.java
11633 java/awt/CardLayout.java java/awt/Checkbox.java
11634 java/awt/CheckboxGroup.java java/awt/Component.java
11635 java/awt/ComponentOrientation.java java/awt/Container.java
11636 java/awt/Dimension.java java/awt/Event.java
11637 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11638 java/awt/FlowLayout.java java/awt/Frame.java
11639 java/awt/Graphics.java java/awt/Graphics2D.java
11640 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11641 java/awt/IllegalComponentStateException.java
11642 java/awt/ItemSelectable.java java/awt/Label.java
11643 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11644 java/awt/MenuComponent.java java/awt/MenuItem.java
11645 java/awt/Paint.java java/awt/Point.java
11646 java/awt/Rectangle.java java/awt/RenderingHints.java
11647 java/awt/Transparency.java java/awt/Window.java
11648 java/awt/color/ColorSpace.java
11649 java/awt/color/ICC_ColorSpace.java
11650 java/awt/color/ICC_Profile.java
11651 java/awt/event/HierarchyBoundsAdapter.java
11652 java/awt/event/HierarchyBoundsListener.java
11653 java/awt/event/HierarchyEvent.java
11654 java/awt/event/HierarchyListener.java
11655 java/awt/geom/AffineTransform.java
11656 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11657 java/awt/geom/IllegalPathStateException.java
11658 java/awt/geom/Line2D.java
11659 java/awt/geom/NoninvertibleTransformException.java
11660 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11661 java/awt/geom/Rectangle2D.java
11662 java/awt/geom/RectangularShape.java
11663 java/awt/geom/RoundRectangle2D.java
11664 java/awt/image/BufferedImage.java
11665 java/awt/image/ColorModel.java
11666 java/awt/image/ComponentColorModel.java
11667 java/awt/image/ComponentSampleModel.java
11668 java/awt/image/DataBuffer.java
11669 java/awt/image/DataBufferByte.java
11670 java/awt/image/DataBufferInt.java
11671 java/awt/image/DataBufferUShort.java
11672 java/awt/image/DirectColorModel.java
11673 java/awt/image/PackedColorModel.java
11674 java/awt/image/Raster.java java/awt/image/RasterOp.java
11675 java/awt/image/SampleModel.java
11676 java/awt/image/SinglePixelPackedSampleModel.java
11677 java/awt/image/WritableRaster.java
11678 java/beans/AppletInitializer.java
11679 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11680 java/beans/Beans.java java/beans/Customizer.java
11681 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11682 java/beans/FeatureDescriptor.java
11683 java/beans/IndexedPropertyDescriptor.java
11684 java/beans/IntrospectionException.java
11685 java/beans/Introspector.java java/beans/MethodDescriptor.java
11686 java/beans/ParameterDescriptor.java
11687 java/beans/PropertyChangeEvent.java
11688 java/beans/PropertyChangeListener.java
11689 java/beans/PropertyChangeSupport.java
11690 java/beans/PropertyDescriptor.java
11691 java/beans/PropertyEditor.java
11692 java/beans/PropertyEditorManager.java
11693 java/beans/PropertyEditorSupport.java
11694 java/beans/PropertyVetoException.java
11695 java/beans/SimpleBeanInfo.java
11696 java/beans/VetoableChangeListener.java
11697 java/beans/VetoableChangeSupport.java
11698 java/beans/Visibility.java
11699 java/beans/beancontext/BeanContext.java
11700 java/beans/beancontext/BeanContextChild.java
11701 java/beans/beancontext/BeanContextChildComponentProxy.java
11702 java/beans/beancontext/BeanContextChildSupport.java
11703 java/beans/beancontext/BeanContextContainerProxy.java
11704 java/beans/beancontext/BeanContextEvent.java
11705 java/beans/beancontext/BeanContextMembershipEvent.java
11706 java/beans/beancontext/BeanContextMembershipListener.java
11707 java/beans/beancontext/BeanContextProxy.java
11708 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11709 java/beans/beancontext/BeanContextServiceProvider.java
11710 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11711 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11712 java/beans/beancontext/BeanContextServiceRevokedListener.java
11713 java/beans/beancontext/BeanContextServices.java
11714 java/beans/beancontext/BeanContextServicesListener.java
11715 java/io/BufferedInputStream.java
11716 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11717 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11718 java/io/ByteArrayOutputStream.java
11719 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11720 java/io/CharConversionException.java java/io/DataInput.java
11721 java/io/DataInputStream.java java/io/DataOutput.java
11722 java/io/EOFException.java java/io/Externalizable.java
11723 java/io/FileFilter.java java/io/FileNotFoundException.java
11724 java/io/FilePermission.java java/io/FileReader.java
11725 java/io/FileWriter.java java/io/FilenameFilter.java
11726 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11727 java/io/FilterReader.java java/io/FilterWriter.java
11728 java/io/IOException.java java/io/InputStream.java
11729 java/io/InterruptedIOException.java
11730 java/io/InvalidClassException.java
11731 java/io/InvalidObjectException.java
11732 java/io/NotActiveException.java
11733 java/io/NotSerializableException.java java/io/ObjectInput.java
11734 java/io/ObjectInputStream.java
11735 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11736 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11737 java/io/ObjectStreamConstants.java
11738 java/io/ObjectStreamException.java
11739 java/io/ObjectStreamField.java
11740 java/io/OptionalDataException.java java/io/OutputStream.java
11741 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11742 java/io/PipedReader.java java/io/PipedWriter.java
11743 java/io/PrintWriter.java java/io/PushbackInputStream.java
11744 java/io/PushbackReader.java java/io/Reader.java
11745 java/io/SequenceInputStream.java java/io/Serializable.java
11746 java/io/SerializablePermission.java
11747 java/io/StreamCorruptedException.java
11748 java/io/StreamTokenizer.java
11749 java/io/StringBufferInputStream.java java/io/StringReader.java
11750 java/io/StringWriter.java java/io/SyncFailedException.java
11751 java/io/UTFDataFormatException.java
11752 java/io/UnsupportedEncodingException.java
11753 java/io/WriteAbortedException.java java/io/Writer.java
11754 java/lang/AbstractMethodError.java
11755 java/lang/ArithmeticException.java
11756 java/lang/ArrayIndexOutOfBoundsException.java
11757 java/lang/ArrayStoreException.java java/lang/Boolean.java
11758 java/lang/Byte.java java/lang/CharSequence.java
11759 java/lang/ClassCastException.java
11760 java/lang/ClassCircularityError.java
11761 java/lang/ClassFormatError.java
11762 java/lang/ClassNotFoundException.java
11763 java/lang/CloneNotSupportedException.java
11764 java/lang/Cloneable.java java/lang/Comparable.java
11765 java/lang/Compiler.java java/lang/Double.java
11766 java/lang/Error.java java/lang/Exception.java
11767 java/lang/ExceptionInInitializerError.java
11768 java/lang/Float.java java/lang/IllegalAccessError.java
11769 java/lang/IllegalAccessException.java
11770 java/lang/IllegalArgumentException.java
11771 java/lang/IllegalMonitorStateException.java
11772 java/lang/IllegalStateException.java
11773 java/lang/IllegalThreadStateException.java
11774 java/lang/IncompatibleClassChangeError.java
11775 java/lang/IndexOutOfBoundsException.java
11776 java/lang/InheritableThreadLocal.java
11777 java/lang/InstantiationError.java
11778 java/lang/InstantiationException.java java/lang/Integer.java
11779 java/lang/InternalError.java
11780 java/lang/InterruptedException.java
11781 java/lang/LinkageError.java java/lang/Long.java
11782 java/lang/NegativeArraySizeException.java
11783 java/lang/NoClassDefFoundError.java
11784 java/lang/NoSuchFieldError.java
11785 java/lang/NoSuchFieldException.java
11786 java/lang/NoSuchMethodError.java
11787 java/lang/NoSuchMethodException.java
11788 java/lang/NullPointerException.java java/lang/Number.java
11789 java/lang/NumberFormatException.java
11790 java/lang/OutOfMemoryError.java java/lang/Package.java
11791 java/lang/Process.java java/lang/Runnable.java
11792 java/lang/RuntimeException.java
11793 java/lang/RuntimePermission.java
11794 java/lang/SecurityException.java
11795 java/lang/SecurityManager.java java/lang/Short.java
11796 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11797 java/lang/StringIndexOutOfBoundsException.java
11798 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11799 java/lang/ThreadLocal.java java/lang/UnknownError.java
11800 java/lang/UnsatisfiedLinkError.java
11801 java/lang/UnsupportedClassVersionError.java
11802 java/lang/UnsupportedOperationException.java
11803 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11804 java/lang/Void.java java/lang/ref/PhantomReference.java
11805 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11806 java/lang/ref/SoftReference.java
11807 java/lang/ref/WeakReference.java
11808 java/lang/reflect/AccessibleObject.java
11809 java/lang/reflect/InvocationTargetException.java
11810 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11811 java/lang/reflect/ReflectPermission.java
11812 java/math/BigDecimal.java java/math/BigInteger.java
11813 java/net/Authenticator.java java/net/BindException.java
11814 java/net/ConnectException.java java/net/ContentHandler.java
11815 java/net/ContentHandlerFactory.java
11816 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11817 java/net/FileNameMap.java java/net/MalformedURLException.java
11818 java/net/MulticastSocket.java java/net/NetPermission.java
11819 java/net/NoRouteToHostException.java
11820 java/net/PasswordAuthentication.java
11821 java/net/ProtocolException.java java/net/ServerSocket.java
11822 java/net/Socket.java java/net/SocketException.java
11823 java/net/SocketImpl.java java/net/SocketImplFactory.java
11824 java/net/SocketOptions.java java/net/SocketPermission.java
11825 java/net/URLDecoder.java java/net/URLEncoder.java
11826 java/net/URLStreamHandlerFactory.java
11827 java/net/UnknownHostException.java
11828 java/net/UnknownServiceException.java
11829 java/rmi/AccessException.java
11830 java/rmi/AlreadyBoundException.java
11831 java/rmi/ConnectException.java
11832 java/rmi/ConnectIOException.java
11833 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11834 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11835 java/rmi/NotBoundException.java
11836 java/rmi/RMISecurityException.java
11837 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11838 java/rmi/RemoteException.java java/rmi/ServerError.java
11839 java/rmi/ServerException.java
11840 java/rmi/ServerRuntimeException.java
11841 java/rmi/StubNotFoundException.java
11842 java/rmi/UnexpectedException.java
11843 java/rmi/UnknownHostException.java
11844 java/rmi/UnmarshalException.java
11845 java/rmi/activation/Activatable.java
11846 java/rmi/activation/ActivateFailedException.java
11847 java/rmi/activation/ActivationDesc.java
11848 java/rmi/activation/ActivationException.java
11849 java/rmi/activation/ActivationGroup.java
11850 java/rmi/activation/ActivationGroupDesc.java
11851 java/rmi/activation/ActivationGroupID.java
11852 java/rmi/activation/ActivationID.java
11853 java/rmi/activation/ActivationInstantiator.java
11854 java/rmi/activation/ActivationMonitor.java
11855 java/rmi/activation/ActivationSystem.java
11856 java/rmi/activation/Activator.java
11857 java/rmi/activation/UnknownGroupException.java
11858 java/rmi/activation/UnknownObjectException.java
11859 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11860 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11861 java/rmi/registry/Registry.java
11862 java/rmi/registry/RegistryHandler.java
11863 java/rmi/server/ExportException.java
11864 java/rmi/server/LoaderHandler.java
11865 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11866 java/rmi/server/Operation.java
11867 java/rmi/server/RMIClassLoader.java
11868 java/rmi/server/RMIClientSocketFactory.java
11869 java/rmi/server/RMIFailureHandler.java
11870 java/rmi/server/RMIServerSocketFactory.java
11871 java/rmi/server/RMISocketFactory.java
11872 java/rmi/server/RemoteCall.java
11873 java/rmi/server/RemoteObject.java
11874 java/rmi/server/RemoteRef.java
11875 java/rmi/server/RemoteServer.java
11876 java/rmi/server/RemoteStub.java
11877 java/rmi/server/ServerCloneException.java
11878 java/rmi/server/ServerNotActiveException.java
11879 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11880 java/rmi/server/SkeletonMismatchException.java
11881 java/rmi/server/SkeletonNotFoundException.java
11882 java/rmi/server/SocketSecurityException.java
11883 java/rmi/server/UID.java
11884 java/rmi/server/UnicastRemoteObject.java
11885 java/rmi/server/Unreferenced.java
11886 java/security/AccessControlContext.java
11887 java/security/AccessControlException.java
11888 java/security/AccessController.java
11889 java/security/AlgorithmParameterGenerator.java
11890 java/security/AlgorithmParameterGeneratorSpi.java
11891 java/security/AlgorithmParameters.java
11892 java/security/AlgorithmParametersSpi.java
11893 java/security/AllPermission.java
11894 java/security/BasicPermission.java
11895 java/security/Certificate.java java/security/CodeSource.java
11896 java/security/DigestException.java
11897 java/security/DigestInputStream.java
11898 java/security/DigestOutputStream.java
11899 java/security/DomainCombiner.java
11900 java/security/DummyKeyPairGenerator.java
11901 java/security/DummyMessageDigest.java
11902 java/security/DummySignature.java
11903 java/security/GeneralSecurityException.java
11904 java/security/Guard.java java/security/GuardedObject.java
11905 java/security/Identity.java java/security/IdentityScope.java
11906 java/security/InvalidAlgorithmParameterException.java
11907 java/security/InvalidKeyException.java
11908 java/security/InvalidParameterException.java
11909 java/security/Key.java java/security/KeyException.java
11910 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11911 java/security/KeyManagementException.java
11912 java/security/KeyPair.java java/security/KeyPairGenerator.java
11913 java/security/KeyPairGeneratorSpi.java
11914 java/security/KeyStore.java
11915 java/security/KeyStoreException.java
11916 java/security/KeyStoreSpi.java
11917 java/security/MessageDigest.java
11918 java/security/MessageDigestSpi.java
11919 java/security/NoSuchAlgorithmException.java
11920 java/security/NoSuchProviderException.java
11921 java/security/Permission.java
11922 java/security/PermissionCollection.java
11923 java/security/Permissions.java java/security/Policy.java
11924 java/security/Principal.java java/security/PrivateKey.java
11925 java/security/PrivilegedAction.java
11926 java/security/PrivilegedActionException.java
11927 java/security/PrivilegedExceptionAction.java
11928 java/security/ProtectionDomain.java
11929 java/security/Provider.java
11930 java/security/ProviderException.java
11931 java/security/PublicKey.java
11932 java/security/SecureClassLoader.java
11933 java/security/SecureRandom.java
11934 java/security/SecureRandomSpi.java java/security/Security.java
11935 java/security/SecurityPermission.java
11936 java/security/Signature.java
11937 java/security/SignatureException.java
11938 java/security/SignatureSpi.java
11939 java/security/SignedObject.java java/security/Signer.java
11940 java/security/UnrecoverableKeyException.java
11941 java/security/UnresolvedPermission.java
11942 java/security/acl/Acl.java java/security/acl/AclEntry.java
11943 java/security/acl/AclNotFoundException.java
11944 java/security/acl/Group.java
11945 java/security/acl/LastOwnerException.java
11946 java/security/acl/NotOwnerException.java
11947 java/security/acl/Owner.java java/security/acl/Permission.java
11948 java/security/cert/CRL.java
11949 java/security/cert/CRLException.java
11950 java/security/cert/Certificate.java
11951 java/security/cert/CertificateEncodingException.java
11952 java/security/cert/CertificateException.java
11953 java/security/cert/CertificateExpiredException.java
11954 java/security/cert/CertificateFactory.java
11955 java/security/cert/CertificateFactorySpi.java
11956 java/security/cert/CertificateNotYetValidException.java
11957 java/security/cert/CertificateParsingException.java
11958 java/security/cert/X509CRL.java
11959 java/security/cert/X509CRLEntry.java
11960 java/security/cert/X509Certificate.java
11961 java/security/cert/X509Extension.java
11962 java/security/interfaces/DSAKey.java
11963 java/security/interfaces/DSAKeyPairGenerator.java
11964 java/security/interfaces/DSAParams.java
11965 java/security/interfaces/DSAPrivateKey.java
11966 java/security/interfaces/DSAPublicKey.java
11967 java/security/interfaces/RSAKey.java
11968 java/security/interfaces/RSAPrivateCrtKey.java
11969 java/security/interfaces/RSAPrivateKey.java
11970 java/security/interfaces/RSAPublicKey.java
11971 java/security/spec/AlgorithmParameterSpec.java
11972 java/security/spec/DSAParameterSpec.java
11973 java/security/spec/DSAPrivateKeySpec.java
11974 java/security/spec/DSAPublicKeySpec.java
11975 java/security/spec/EncodedKeySpec.java
11976 java/security/spec/InvalidKeySpecException.java
11977 java/security/spec/InvalidParameterSpecException.java
11978 java/security/spec/KeySpec.java
11979 java/security/spec/PKCS8EncodedKeySpec.java
11980 java/security/spec/RSAKeyGenParameterSpec.java
11981 java/security/spec/RSAPrivateCrtKeySpec.java
11982 java/security/spec/RSAPrivateKeySpec.java
11983 java/security/spec/RSAPublicKeySpec.java
11984 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11985 java/sql/BatchUpdateException.java java/sql/Blob.java
11986 java/sql/CallableStatement.java java/sql/Clob.java
11987 java/sql/Connection.java java/sql/DataTruncation.java
11988 java/sql/DatabaseMetaData.java java/sql/Date.java
11989 java/sql/Driver.java java/sql/DriverManager.java
11990 java/sql/DriverPropertyInfo.java
11991 java/sql/PreparedStatement.java java/sql/Ref.java
11992 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11993 java/sql/SQLData.java java/sql/SQLException.java
11994 java/sql/SQLInput.java java/sql/SQLOutput.java
11995 java/sql/SQLWarning.java java/sql/Statement.java
11996 java/sql/Struct.java java/sql/Time.java
11997 java/sql/Timestamp.java java/sql/Types.java
11998 java/text/Annotation.java
11999 java/text/AttributedCharacterIterator.java
12000 java/text/AttributedString.java
12001 java/text/AttributedStringIterator.java
12002 java/text/BreakIterator.java java/text/CharacterIterator.java
12003 java/text/ChoiceFormat.java java/text/Collator.java
12004 java/text/DateFormat.java java/text/DateFormatSymbols.java
12005 java/text/DecimalFormat.java
12006 java/text/DecimalFormatSymbols.java
12007 java/text/FieldPosition.java java/text/Format.java
12008 java/text/MessageFormat.java java/text/NumberFormat.java
12009 java/text/ParseException.java java/text/ParsePosition.java
12010 java/text/SimpleDateFormat.java
12011 java/text/StringCharacterIterator.java
12012 java/util/AbstractCollection.java java/util/AbstractList.java
12013 java/util/AbstractMap.java
12014 java/util/AbstractSequentialList.java
12015 java/util/AbstractSet.java java/util/ArrayList.java
12016 java/util/Arrays.java java/util/BasicMapEntry.java
12017 java/util/BitSet.java java/util/Calendar.java
12018 java/util/Collection.java java/util/Collections.java
12019 java/util/Comparator.java
12020 java/util/ConcurrentModificationException.java
12021 java/util/Date.java java/util/Dictionary.java
12022 java/util/EmptyStackException.java java/util/Enumeration.java
12023 java/util/EventListener.java java/util/EventObject.java
12024 java/util/GregorianCalendar.java java/util/HashMap.java
12025 java/util/HashSet.java java/util/Hashtable.java
12026 java/util/IdentityHashMap.java java/util/Iterator.java
12027 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12028 java/util/LinkedList.java java/util/List.java
12029 java/util/ListIterator.java java/util/ListResourceBundle.java
12030 java/util/Locale.java java/util/Map.java
12031 java/util/MissingResourceException.java
12032 java/util/NoSuchElementException.java
12033 java/util/Observable.java java/util/Observer.java
12034 java/util/Properties.java java/util/PropertyPermission.java
12035 java/util/PropertyResourceBundle.java java/util/Random.java
12036 java/util/RandomAccess.java java/util/ResourceBundle.java
12037 java/util/Set.java java/util/SimpleTimeZone.java
12038 java/util/SortedMap.java java/util/SortedSet.java
12039 java/util/Stack.java java/util/StringTokenizer.java
12040 java/util/TimeZone.java java/util/Timer.java
12041 java/util/TimerTask.java
12042 java/util/TooManyListenersException.java
12043 java/util/TreeMap.java java/util/TreeSet.java
12044 java/util/Vector.java java/util/WeakHashMap.java
12045 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12046 java/util/jar/JarException.java java/util/jar/JarFile.java
12047 java/util/jar/JarInputStream.java
12048 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12049 java/util/zip/Adler32.java java/util/zip/CRC32.java
12050 java/util/zip/CheckedInputStream.java
12051 java/util/zip/CheckedOutputStream.java
12052 java/util/zip/Checksum.java
12053 java/util/zip/DataFormatException.java
12054 java/util/zip/Deflater.java
12055 java/util/zip/DeflaterOutputStream.java
12056 java/util/zip/GZIPInputStream.java
12057 java/util/zip/GZIPOutputStream.java
12058 java/util/zip/Inflater.java
12059 java/util/zip/InflaterInputStream.java
12060 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12061 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12062 java/util/zip/ZipInputStream.java
12063 java/util/zip/ZipOutputStream.java
12064 javax/naming/BinaryRefAddr.java
12065 javax/naming/InvalidNameException.java javax/naming/Name.java
12066 javax/naming/NamingException.java javax/naming/RefAddr.java
12067 javax/naming/StringRefAddr.java: Add license clarification.
12068
12069 2002-01-22 Tom Tromey <tromey@redhat.com>
12070
12071 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12072 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12073 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12074 version.
12075 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12076 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12077 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12078 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12079 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12080 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12081 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12082 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12083 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12084 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12085 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12086 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12087 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12088 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12089 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12090 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12091 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12092 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12093 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12094 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12095 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12096 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12097 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12098 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12099 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12100 (minimumSize, preferredSize, reshape): Likewise.
12101 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12102 getColorModel): New methods.
12103 * java/awt/PopupMenu.java: Merged with Classpath.
12104 * java/awt/MenuBar.java: Merged with Classpath.
12105 * java/awt/SystemColor.java: Replace with Classpath version.
12106 * java/awt/Panel.java: Merged with Classpath.
12107 * java/awt/PaintContext.java: Updated copyright.
12108 * java/awt/MenuShortcut.java: Merged with Classpath.
12109 * java/awt/MenuContainer.java: Merged with Classpath.
12110 * java/awt/Menu.java: Merged with Classpath.
12111 * java/awt/MediaEntry.java: New file from Classpath.
12112 * java/awt/MediaTracker.java: New file from Classpath.
12113 * java/awt/List.java: Merged with Classpath version.
12114 * java/awt/Insets.java: Merged with Classpath version.
12115 * java/awt/ImageMediaEntry.java: New file from Classpath.
12116 * java/awt/Image.java: Replaced with Classpath version.
12117 * java/awt/FontMetrics.java: Merged with Classpath version.
12118 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12119 constant.
12120 * java/awt/Font.java: Merged with Classpath version.
12121 * java/awt/Dialog.java: Merged with Classpath version.
12122 * java/awt/Color.java: Merged with Classpath version.
12123 * java/awt/Choice.java: Merged with Classpath version.
12124 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12125 * java/awt/Adjustable.java: Replace with Classpath version.
12126 * java/awt/MenuItem.java (paramString): Don't include class name
12127 or brackets. Call superclass paramString.
12128 * java/awt/MenuComponent.java (toString): Call paramString.
12129 (paramString): Compute string; don't call toString.
12130 * java/awt/Label.java (paramString): Don't include class name
12131 or brackets. Call superclass paramString.
12132 * java/awt/Checkbox.java (paramString): Don't include class name
12133 or brackets. Call superclass paramString.
12134 * java/awt/Button.java (paramString): Don't include class name or
12135 brackets. Call superclass paramString.
12136 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12137
12138 2002-01-20 Andreas Schwab <schwab@suse.de>
12139
12140 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12141 function and of parameter recv_func to ssize_t, as specified by
12142 POSIX.
12143
12144 2002-01-19 Per Bothner <per@bothner.com>
12145
12146 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12147 uncompressed_size in readiness for next entry.
12148
12149 2002-01-18 Tom Tromey <tromey@redhat.com>
12150
12151 * java/net/natPlainSocketImpl.cc: Include
12152 IllegalArgumentException.h.
12153 (_Jv_recv): New template function.
12154 (BooleanClass): Removed.
12155 (read): Use _Jv_recv.
12156 (setOption): Use Boolean::class$. Throw exception if object is
12157 not Boolean or Integer.
12158
12159 2002-01-17 Tom Tromey <tromey@redhat.com>
12160
12161 * java/awt/MenuComponent.java: Merged with Classpath.
12162 * java/awt/MenuItem.java: Merged with Classpath.
12163 * java/awt/Button.java: Merged with Classpath.
12164
12165 * java/awt/ActiveEvent.java: Updated copyright.
12166
12167 * java/awt/AWTError.java: Replaced with Classpath version.
12168 * java/awt/AWTException.java: Replaced with Classpath version.
12169 * java/awt/IllegalComponentStateException.java: Replaced with
12170 Classpath version.
12171
12172 2002-01-16 Tom Tromey <tromey@redhat.com>
12173
12174 * java/awt/Canvas.java (serialVersionUID): New constant.
12175 Updated copyright. Added javadoc from Classpath.
12176 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12177
12178 * java/awt/CheckboxGroup.java: Merged with Classpath.
12179 * java/awt/Checkbox.java: Merged with Classpath.
12180
12181 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12182 Classpath.
12183 * java/awt/Point.java: Updated copyright.
12184
12185 * java/awt/Point.java (toString): Use getClass().getName().
12186 Added javadoc.
12187
12188 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12189 commented code.
12190 (hash): Correctly compute initial value for `h'.
12191
12192 * java/awt/Label.java: Merged with Classpath.
12193
12194 2002-01-15 Tom Tromey <tromey@redhat.com>
12195
12196 * java/awt/AWTPermission.java: Updated copyright.
12197
12198 * java/awt/LayoutManager2.java: Merged with Classpath.
12199 * java/awt/LayoutManager.java: Merged with Classpath.
12200 * java/awt/GridLayout.java: Updated copyright and javadoc.
12201 (getSize): Use `parent.ncomponents'. Handle insets.
12202 (layoutContainer): Use `parent.ncomponents'. Handle case where
12203 there are fewer children than columns. Correctly compute size of
12204 each cell in the grid. Handle case where there isn't enough
12205 space.
12206 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12207 all users.
12208 (gotoComponent): Use parent.ncomponents. Ensure child exists
12209 before calling setVisible() on it. Last item is `num - 1', not
12210 `num'.
12211 (layoutContainer): Hoist invariants out of loop.
12212
12213 Start of AWT merge with Classpath:
12214 * Makefile.in: Rebuilt.
12215 * Makefile.am (awt_java_source_files): Reference files in
12216 gnu/java/awt, not gnu/gcj/awt.
12217 * java/awt/image/BufferedImage.java: Updated copyright.
12218 * java/awt/image/ComponentColorModel.java: Updated copyright.
12219 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12220 * java/awt/image/DataBuffer.java: Updated copyright.
12221 * java/awt/image/DataBufferByte.java: Updated copyright.
12222 * java/awt/image/DataBufferInt.java: Updated copyright.
12223 * java/awt/image/DataBufferUShort.java: Updated copyright.
12224 * java/awt/image/IndexColorModel.java: Updated copyright.
12225 * java/awt/image/PackedColorModel.java: Updated copyright.
12226 * java/awt/image/Raster.java: Updated copyright.
12227 * java/awt/image/RasterOp.java: Updated copyright.
12228 * java/awt/image/SampleModel.java: Updated copyright.
12229 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12230 * java/awt/image/WritableRaster.java: Updated copyright.
12231 * java/awt/color/ColorSpace.java: Updated copyright.
12232 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12233 * java/awt/color/ICC_Profile.java: Updated copyright.
12234 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12235 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12236 * java/awt/event/HierarchyEvent.java: Updated copyright.
12237 * java/awt/event/HierarchyListener.java: Updated copyright.
12238 * java/awt/geom/AffineTransform.java: Updated copyright.
12239 * java/awt/geom/Dimension2D.java: Updated copyright.
12240 * java/awt/geom/Ellipse2D.java: Updated copyright.
12241 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12242 * java/awt/geom/Line2D.java: Updated copyright.
12243 * java/awt/geom/NoninvertibleTransformException.java: Updated
12244 copyright.
12245 * java/awt/geom/PathIterator.java: Updated copyright.
12246 * java/awt/geom/Point2D.java: Updated copyright.
12247 * java/awt/geom/Rectangle2D.java: Updated copyright.
12248 * java/awt/geom/RectangularShape.java: Updated copyright.
12249 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12250 * java/awt/Toolkit.java: Updated import for file moves.
12251 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12252 Classpath.
12253 (hashCode): New method from Classpath.
12254 * java/awt/Graphics2D.java: Updated copyright.
12255 * java/awt/Transparency.java: Updated copyright.
12256 * java/awt/Paint.java: Updated copyright.
12257 * java/awt/Graphics.java: New version from Classpath.
12258 * java/awt/EventDispatchThread.java: Updated copyright.
12259 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12260 children.
12261 (gotoComponent): Wrap around on next/previous.
12262 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12263 * gnu/gcj/awt/Buffers.java: Removed.
12264 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12265 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12266 * gnu/java/awt/BitMaskExtent.java: Added.
12267 * gnu/java/awt/Buffers.java: Added.
12268 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12269 * gnu/java/awt/GLightweightPeer.java: Added.
12270 * java/awt/geom/Line2D.java (clone): Ignore
12271 CloneNotSupportedException.
12272 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12273 * java/awt/Frame.java: Merged with Classpath.
12274 * java/awt/RenderingHints.java: Copyright update.
12275 * java/awt/Paint.java: Copyright update.
12276 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12277 * java/awt/image/ColorModel.java: Merged with Classpath.
12278 * java/awt/Window.java (show): New Implementation from Classpath.
12279 (isShowing): Use super.isShowing().
12280 * java/awt/EventQueue.java: Merged with Classpath.
12281 * java/awt/AWTEventMulticaster.java (save): Throw
12282 RuntimeException.
12283 (saveInternal): Likewise.
12284 * java/awt/AWTEvent.java: Now implements Serializable.
12285 * java/awt/Event.java: Copyright update.
12286 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12287 * java/awt/image/BufferedImage.java: Copyright update.
12288 * java/awt/GraphicsConfiguration.java: Copyright update.
12289 * java/awt/Component.java: (addNotify): Don't call
12290 addNotifyContainerChildren().
12291 (addNotifyContainerChildren): Removed.
12292 (setPeer): New method from Classpath.
12293 (setTreeLock): Likewise.
12294 (setVisible): Rewrote.
12295 (show): Use it.
12296 (hide): Likewise.
12297 (validate): Set `valid'.
12298 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12299 (createImage(ImageProducer)): Likewise.
12300 (prepareImage): Likewise.
12301 * java/awt/Container.java (addImpl): Handle case where constraint
12302 is not a String. Post event via system event queue.
12303 (remove): Post event via system event queue.
12304 (validateTree): Only validate child if it is invalid.
12305 (getAlignmentX): Call super method as default.
12306 (getAlignmentY): Likewise.
12307 (addContainerListener): Now synchronized.
12308 (removeContainerListener): Likewise.
12309 (addNotifyContainerChildren): Now private.
12310 * java/awt/ComponentOrientation.java: Updated copyright. Added
12311 @author.
12312 * java/awt/FlowLayout.java (serialVersionUID): New field.
12313 (setAlignment): Better exception message.
12314 (layoutContainer): Don't compute component's preferred size unless
12315 we're going to use it.
12316 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12317 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12318 (firstLine, lastLine, firstItem, lastItem): New fields.
12319 (addLayoutComponent): Handle case where constraints is null.
12320 Also, handle relative locations.
12321 (removeLayoutComponent): Handle relative locations.
12322 (MIN, MAX, PREF): New constants.
12323 (calcCompSize): New method.
12324 (calcSize): New method.
12325 (minimumLayoutSize): Use it.
12326 (preferredLayoutSize): Likewise.
12327 (maximumLayoutSize): Likewise.
12328 (toString): Include more information.
12329 (setBounds): New method.
12330 (layoutContainer): Use libgcj implementation; extended to handle
12331 relative locations.
12332
12333 2002-01-15 Tom Tromey <tromey@redhat.com>
12334
12335 * java/lang/Float.java (equals): Preserve old code.
12336 * java/lang/Double.java (equals): Preserve old code.
12337
12338 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12339
12340 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12341 * java/lang/Float.java (equals, compare): Ditto.
12342
12343 2002-01-13 Mark Wielaard <mark@klomp.org>
12344
12345 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12346 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12347 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12348 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12349
12350 2002-01-11 Mark Wielaard <mark@klomp.org>
12351
12352 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12353 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12354 InetAddress.
12355 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12356 * java/net/Socket.java: Merge with Classpath.
12357 * java/net/ServerSocket.java: Likewise.
12358
12359 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12360
12361 * interpret.cc (NULLARRAYCHECK): New macro.
12362 (SAVE_PC): Just store `pc'.
12363 (find_exception): Subtract one from `pc' here.
12364 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12365 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12366 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12367 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12368 don't call SAVE_PC.
12369 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12370 call SAVE_PC.
12371
12372 2002-01-11 Tom Tromey <tromey@redhat.com>
12373
12374 * java/lang/natSystem.cc (init_properties): Only look for default
12375 locale if LC_MESSAGES is defined.
12376 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12377 * configure.in: Call AM_LC_MESSAGES.
12378 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12379
12380 2002-01-10 Tom Tromey <tromey@redhat.com>
12381
12382 For PR libgcj/5303:
12383 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12384 --version. Recognize GNU-style long options. Print GNU-style
12385 error messages.
12386 (usage): Print GNU-style help. Exit with status 0.
12387 (error): New method.
12388 (run): Print error message if no class names found.
12389 (main): Don't print usage on error.
12390
12391 2002-01-09 Tom Tromey <tromey@redhat.com>
12392
12393 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12394 property.
12395 (help, version): Use println(), not println("").
12396
12397 For PR libgcj/5303:
12398 * gnu/gcj/convert/Convert.java (error): Program is called
12399 `jv-convert'. Print GNU-style message. Exit with status 1, not
12400 -1.
12401 (main): Handle --help and --version.
12402 (help): New method.
12403 (version): Likewise.
12404
12405 2002-01-08 Tom Tromey <tromey@redhat.com>
12406
12407 * Makefile.in: Rebuilt.
12408 * Makefile.am (ordinary_java_source_files): Added new files.
12409 * gnu/java/locale/LocaleInformation.java: Extend
12410 LocaleInformation_en.
12411 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12412 and time/date formats.
12413 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12414 generated.
12415 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12416 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12417 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12418 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12419 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12420 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12421 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12422 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12423 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12424 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12425 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12426 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12427 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12428 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12429 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12430 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12431 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12432 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12433 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12434 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12435 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12436 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12437 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12438 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12439 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12440 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12441 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12442 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12443 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12444 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12445 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12446 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12447 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12448 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12449 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12450 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12451 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12452 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12453 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12454 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12455 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12456 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12457 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12458 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12459 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12460 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12461 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12462 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12463 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12464 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12465 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12466 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12467 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12468 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12469 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12470 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12471 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12472 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12473 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12474 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12475 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12476 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12477 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12478 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12479 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12480 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12481 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12482 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12483 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12484 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12485 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12486 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12487 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12488 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12489 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12490 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12491 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12492 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12493 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12494 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12495 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12496 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12497 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12498 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12499 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12500 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12501 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12502 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12503 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12504 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12505 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12506 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12507 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12508 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12509 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12510 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12511 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12512 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12513 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12514 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12515 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12516 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12517 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12518 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12519 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12520 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12521 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12522 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12523 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12524 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12525 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12526 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12527 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12528 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12529 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12530 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12531 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12532 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12533 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12534 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12535 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12536 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12537 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12538 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12539 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12540 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12541 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12542 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12543 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12544 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12545
12546 For PR libgcj/5031:
12547 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12548 choose default locale.
12549
12550 * Makefile.in: Rebuilt.
12551 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12552
12553 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12554
12555 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12556 sockets.
12557 (close): New function closes the socket.
12558 (write): New functions for output to socket.
12559 (read): New functions for reading from socket.
12560 * java/net/PlainSocketImpl.java: Glue for new timeout
12561 implementation.
12562 (write): Call the native impl.
12563 (read): Likewise.
12564 (getInputStream): Get a stream to read from the socket.
12565 (getOutputStream): Get a stream to write to the socket.
12566
12567 2002-01-08 Tom Tromey <tromey@redhat.com>
12568
12569 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12570
12571 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12572
12573 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12574 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12575
12576 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12577
12578 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12579 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12580 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12581 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12582 insn_bastore, insn_castore, insn_sastore]: Use it.
12583 (continue1) [insn_arraylength]: Check for null array.
12584
12585 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12586
12587 * configure, include/config.h.in: Rebuilt.
12588 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12589 * configure.in: Call AC_STRUCT_TIMEZONE.
12590
12591 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12592
12593 * configure.host: Disable the interpreter for Darwin.
12594
12595 2002-01-04 Tom Tromey <tromey@redhat.com>
12596
12597 * java/lang/Thread.java (stop): No longer synchronized.
12598 (start): Likewise.
12599
12600 2002-01-02 Tom Tromey <tromey@redhat.com>
12601
12602 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12603 patch.
12604
12605 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12606
12607 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12608 PPC Darwin, not for all of Darwin.