2003-07-27 Michael Koch <konqueror@gmx.de>
[gcc.git] / libjava / ChangeLog
1 2003-07-27 Michael Koch <konqueror@gmx.de>
2
3 * java/awt/Window.java
4 (Window): Removed now unused constructor. It became oboslete with the
5 new embedded window patch.
6
7 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
8 Michael Koch <konqueror@gmx.de>
9
10 * gnu/java/awt/EmbeddedWindow.java
11 (EmbeddedWindow): Extends Frame instead of Window.
12 (window_id): New member variable to store the native window handle.
13 (create): Removed.
14 (EmbeddedWindow): New constructor.
15 (addNotify): New method.
16 (getHandler): Likewise.
17 (setWindowPeer): New native method.
18 * gnu/java/awt/EmbeddedWindowSupport.java
19 (EmbeddedWindowSupport): Fixed documentation.
20 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
21 WindowPeer, give it an EmbeddedWindow instance instead of the raw
22 window data.
23 * gnu/java/awt/natEmbeddedWindow.cc
24 (create): Removed.
25 (setWindowPeer): New method.
26 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
27 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
28 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
29 New files
30 * gnu/java/awt/peer/gtk/GtkToolkit.java
31 (GtkToolkit): Implements EmbeddedWindowSupport.
32 (createEmbeddedWindow): New method.
33 * java/awt/Window.java
34 (Window): Removed.
35 * Makefile.am
36 (java_source_files): Added EmbeddedWindowPeer.java.
37 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
38 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
39 * Makefile.in: Regenerated.
40
41 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
42
43 * java/lang/Win32Process.java (ConcreteProcess): Surround
44 a command line element with quotes if it contains an
45 embedded space or tab.
46 * java/lang/natWin32Process.cc (startProcess): Do not
47 surround command line elements with quotes here.
48
49 * configure.host: Use -fcheck-references and
50 -fuse-divide-subroutine for MinGW until we fix
51 win32_exception_handler( ) in win32.cc w.r.t. Win32
52 Structured Exception Handling (SEH).
53
54 * win32.cc (_Jv_platform_initProperties): Use generic names
55 like "x86" for the "os.arch" property to be consistent with
56 what Sun's JDK produces. Use the wProcessorArchitecture
57 member of the Win32 SYSTEM_INFO structure, filled in a call
58 to GetSystemInfo( ), instead of dwProcessorType.
59
60 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
61 Ranjit Mathew <rmathew@hotmail.com>
62
63 * Makefile.am: Use cross-compiling gcjh from the path for
64 a crossed-native build.
65 * Makefile.in: Rebuilt.
66 * configure.in: Include libltdl in non-newlib builds.
67 Moved determination of gcj used to build libraries to
68 its own section. Fixed cross-compilation issues for
69 non-newlib builds.
70 * configure: Rebuilt.
71
72 2003-07-25 Tom Tromey <tromey@redhat.com>
73
74 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
75 (write): Likewise.
76 (read): Likewise.
77 (read): Likewise.
78
79 2003-07-25 Mark Wielaard <mark@klomp.org>
80
81 * java/lang/natRuntime.cc (_load): Add library name to
82 UnsatisfiedLinkError when thrown.
83
84 2003-07-25 Mark Wielaard <mark@klomp.org>
85
86 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
87 added.
88 * Makefile.in: Likewise.
89
90 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
91
92 * java/awt/Component.java
93 (getPreferredSize): Call preferredSize.
94 (preferredSize): Moved body of getPreferredSize here.
95 (getMinimumSize): Call minimumSize.
96 (minimumSize): Moved body of getMinimumSize here.
97 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
98 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
99 pass -1
100 * java/awt/Container.java
101 (validate): Don't validate if there is no peer.
102 (update): Clear background before calling paint.
103 * java/awt/GridBagLayout.java
104 Completed the implementation and fixed several bugs.
105 * java/awt/MediaTracker.java
106 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
107 combine flags.
108 * java/awt/Window.java
109 (Window): Don't call setVisible(false). Windows are invisible by
110 default and calling virtual methods from constructor causes
111 compatibility problems (e.g. subclasses may assume that the peer
112 already exists).
113
114 2003-07-25 Michael Koch <konqueror@gmx.de>
115
116 * java/awt/GridBagLayout.java:
117 Totally reworked and partly implemented.
118 * java/awt/GridBagLayoutInfo.java:
119 New file.
120
121 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
122
123 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
124 Don't pack label in an event box.
125
126 2003-07-24 Tom Tromey <tromey@redhat.com>
127
128 For PR libgcj/7482:
129 * verify.cc (ref_intersection): New class.
130 (type_val): Removed unresolved_reference_type,
131 uninitialized_unresolved_reference_type.
132 (is_assignable_from_slow): Rewrote.
133 (type::data): Removed.
134 (type::klass): New field.
135 (type::type): Added verifier argument.
136 (type::resolve): Removed.
137 (type::set_uninitialized): Updated for change to type_val.
138 (type::set_initialized): Likewise.
139 (type::isinitialized): Likewise.
140 (type::print): Likewise.
141 (construct_primitive_array_type): Likewise.
142 (type::compatible): Updated for change to type_val and to use
143 ref_intersection.
144 (type::isarray): Updated to use ref_intersection.
145 (type::isinterface): Likewise.
146 (type::element_type): Likewise.
147 (type::to_array): Likewise.
148 (type::verify_dimensions): Rewrote.
149 (type::merge): Likewise.
150 (check_class_constant): Updated for type constructor change.
151 (check_constant): Likewise.
152 (check_field_constant): Likewise.
153 (get_one_type): Likewise.
154 (initialize_stack): Likewise.
155 (verify_instructions_0): Likewise.
156 (verify_instructions_0) [op_invokeinterface]: Removed special
157 case.
158 (isect_list): New field.
159 (_Jv_BytecodeVerifier): Initialize it.
160 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
161
162 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
163
164 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
165 unless field size is 2.
166
167 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
168
169 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
170 (connectHooks): New method.
171 (handleEvent): Remove.
172 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
173 (createHooks): Remove declaration.
174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
175 (generates_key_typed_event): Change to handle only certain
176 keyvals.
177 (awt_event_handler): Add special handling for GtkTextView.
178 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
179 (textcomponent_commit_cb): New function.
180 (textcomponent_changed_cb): Likewise.
181 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
182 (connectHooks): Remove.
183
184 2003-07-23 Tom Tromey <tromey@redhat.com>
185
186 * java/lang/natSystem.cc (arraycopy): Check for overflow.
187
188 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
189
190 2003-07-22 Tom Tromey <tromey@redhat.com>
191
192 * boehm.cc (_Jv_BuildGCDescr): Wrote.
193 Include limits.h.
194
195 2003-07-22 Tom Tromey <tromey@redhat.com>
196
197 * java/awt/Window.java (getWarningString): Just return the
198 string.
199 (Window): Set warningString; check with security manager.
200
201 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
202
203 * gnu/awt/xlib/XGraphicsConfiguration.java
204 (FontMetricsCache): Made static.
205
206 2003-07-22 Tom Tromey <tromey@redhat.com>
207
208 * java/net/URLEncoder.java (encode(String)): Use platform default
209 encoding.
210 (encode(String,String)): Convert to 2-digit upper-case hex
211 number.
212 (hex): New field.
213
214 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
215
216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
217 (create): Remove unused method implementation.
218 (connectHooks): Remove debug messages.
219
220 2003-07-20 Anthony Green <green@redhat.com>
221
222 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
223 CloneNotSupportedException.
224 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
225 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
226 * gnu/gcj/xlib/GC.java (clone): Ditto.
227 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
228 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
229
230 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
231 handler.
232 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
233
234 2003-07-20 Steve Pribyl <steve@netfuel.com.>
235
236 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
237 String. Put dlerror() message into exception.
238 Include UnsatisfiedLinkError.
239 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
240 String. Now native.
241
242 2003-07-20 Tom Tromey <tromey@redhat.com>
243
244 * java/lang/Runtime.java: Comment fix.
245 * java/lang/ClassLoader.java (isAncestorOf): New method.
246 (getParent): Uncommented security check. Use isAncestorOf.
247 * include/jvm.h (_Jv_CheckAccess): Declare.
248 * java/lang/reflect/natConstructor.cc (newInstance): Perform
249 access check.
250 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
251 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
252 class loader to _Jv_GetArrayClass.
253 Include ArrayIndexOutOfBoundsException.h.
254 * java/lang/reflect/Field.java: Update comment to reflect status.
255 (equals): Fixed indentation.
256 * java/lang/Class.h (Class): Declare memberAccessCheck, not
257 checkMemberAccess. Make _Jv_CheckAccess a friend.
258 * java/lang/Class.java (memberAccessCheck): New method from
259 Classpath.
260 (checkMemberAccess): Removed.
261 (getDeclaredMethod): Use memberAccessCheck.
262 (getField): Likewise.
263 (getMethod): Likewise.
264 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
265 (_Jv_SearchMethodInClass): Likewise.
266 * prims.cc (_Jv_CheckAccess): New function.
267 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
268 (_Jv_JNI_GetAnyFieldID): Likewise.
269 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
270 (getClassLoader): Added security check.
271 (getConstructor): Call memberAccessCheck.
272 (getDeclaredClasses): Likewise.
273 (getDeclaredField): Likewise.
274 (getDeclaredFields): Likewise.
275 (_getConstructors): Likewise.
276 (getDeclaredConstructor): Likewise.
277 (getDeclaredMethods): Likewise.
278 (getFields): Likewise.
279 (getMethods): Likewise.
280 (newInstance): Likewise.
281 (_Jv_MakeVTable): Put method name in exception.
282 * java/lang/reflect/natMethod.cc (getType): Use
283 getClassLoaderInternal.
284 (_Jv_GetTypesFromSignature): Likewise.
285 (invoke): Perform access check.
286 (_Jv_CallAnyMethodA): Removed old FIXME comments.
287 Include ArrayIndexOutOfBoundsException.h.
288 * java/lang/reflect/natField.cc (getType): Use
289 getClassLoaderInternal.
290 (_Jv_CheckFieldAccessibility): Removed.
291 (getAddr): Use _Jv_CheckAccess; find caller.
292 Include ArrayIndexOutOfBoundsException.h.
293
294 2003-07-20 Michael Koch <konqueror@gmx.de>
295
296 * java/net/URL.java
297 (URL): Fixed documentation to name an argument correcty, Reformatted
298 one method declaration.
299 (getURLStreamHandler): Added documentation from classpath.
300
301 2003-07-19 Tom Tromey <tromey@redhat.com>
302
303 * mauve-libgcj: Don't run CollationElementIterator tests.
304
305 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
306
307 * java/net/URLClassLoader.java (addURL): Moved implementation to
308 private addURLImpl() to avoid calling addURL from the constructor.
309 (addURLImpl): Contains the code that was previously in addURL.
310 (addURLs): Call addURLImpl(), not addURL().
311
312 2003-07-18 Graydon Hoare <graydon@redhat.com>
313
314 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
315 Handle missing event cases, connect to "value-changed" signal.
316
317 2003-07-18 Graydon Hoare <graydon@redhat.com>
318
319 * java/awt/geom/CubicCurve2D.java,
320 java/awt/geom/Line2D.java,
321 java/awt/geom/QuadCurve2D.java,
322 java/awt/geom/Rectangle2D.java:
323 Fix path some calculations, make path iterators follow
324 a consistent style.
325
326 2003-07-18 Mark Wielaard <mark@klomp.org>
327
328 * java/util/logging/Handler.java (isLoggable): Check record level
329 smaller or equal.
330
331 2003-07-17 Michael Koch <konqueror@gmx.de>
332
333 * gnu/java/awt/peer/gtk/GtkToolkit.java:
334 Reworked imports.
335
336 2003-07-14 Michael Koch <konqueror@gmx.de>
337
338 * gnu/java/rmi/server/UnicastServerRef.java:
339 New version from classpath.
340
341 2003-07-14 Michael Koch <konqueror@gmx.de>
342
343 * java/awt/image/MemoryImageSource.java,
344 java/beans/PropertyEditorManager.java,
345 javax/naming/CompoundName.java,
346 javax/naming/spi/NamingManager.java,
347 javax/swing/AbstractButton.java,
348 javax/swing/ButtonModel.java,
349 javax/swing/SwingUtilities.java,
350 javax/swing/UIManager.java,
351 javax/swing/colorchooser/DefaultColorSelectionModel.java,
352 javax/swing/event/AncestorEvent.java,
353 javax/swing/event/InternalFrameEvent.java,
354 java/util/zip/ZipFile.java:
355 New versions from classpath.
356
357 2003-07-13 Michael Koch <konqueror@gmx.de>
358
359 * gnu/java/nio/FileChannelImpl.java,
360 gnu/java/nio/natFileChannelImpl.cc: Removed.
361 * java/io/FileInputStream.java,
362 java/io/FileOutputStream.java,
363 java/io/RandomAccessFile.java,
364 java/nio/MappedByteBufferImpl.java:
365 Import java.nio.channels.FileChannelImpl instead of
366 gnu.java.nio.FileChannelImpl.
367 * java/nio/channels/FileChannelImpl.java,
368 java/nio/channels/natFileChannelImpl.cc:
369 New files.
370 * Makefile.am
371 (ordinary_java_source_files):
372 Removed gnu/java/nio/FileChannelImpl.java and added
373 java/nio/channels/FileChannelImpl.java.
374 (nat source_files):
375 Removed gnu/java/nio/natFileChannelImpl.cc and added
376 java/nio/channels/natFileChannelImpl.cc.
377 * Makefile.in: Regenerated.
378
379 2003-07-13 Michael Koch <konqueror@gmx.de>
380
381 * javax/swing/plaf/basic/BasicBorders.java,
382 javax/swing/plaf/basic/BasicLabelUI.java,
383 javax/swing/plaf/basic/BasicLookAndFeel.java,
384 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
385 javax/swing/plaf/basic/BasicTextUI.java,
386 javax/swing/plaf/metal/MetalLookAndFeel.java:
387 New versions from classpath.
388
389 2003-07-13 Michael Koch <konqueror@gmx.de>
390
391 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
392 * gnu/java/awt/peer/gtk/GdkGraphics.java
393 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
394 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
395 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
396 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
397 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
398 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
399 * gnu/java/awt/peer/gtk/GtkClipboard.java
400 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
401 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
402 * gnu/java/awt/peer/gtk/GtkFramePeer.java
403 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
404 * gnu/java/awt/peer/gtk/GtkImage.java
405 * gnu/java/awt/peer/gtk/GtkImagePainter.java
406 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
407 * gnu/java/awt/peer/gtk/GtkListPeer.java
408 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
409 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
410 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
411 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
412 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
413 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
414 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
415 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
416 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
417 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
418 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
419 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
420
421 2003-07-13 Michael Koch <konqueror@gmx.de>
422
423 * gnu/java/locale/LocaleInformation_de.java
424 * gnu/java/locale/LocaleInformation_en.java
425 * gnu/java/locale/LocaleInformation_nl.java
426
427 2003-07-13 Michael Koch <konqueror@gmx.de>
428
429 * gnu/java/awt/EmbeddedWindow.java,
430 gnu/java/awt/EmbeddedWindowSupport.java,
431 gnu/java/awt/natEmbeddedWindow.cc:
432 New files.
433 * java/awt/Window.java
434 (Window): New constructor to support embedded windows.
435 * Makefile.am
436 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
437 gnu/java/awt/EmbeddedWindowSupport.java.
438 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
439 * Makefile.in: Regenerated.
440
441 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
442
443 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
444 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
445 * java/awt/im/InputContext.java: Remove a redundant
446 partial line.
447
448 2003-07-09 Tom Tromey <tromey@redhat.com>
449
450 * Makefile.in: Rebuilt.
451 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
452
453 2003-07-09 Mark Wielaard <mark@klomp.org>
454
455 * java/io/ObjectOutputStream.java (writeObject): break after
456 calling writeClassDescriptor().
457
458 2003-07-09 Mark Mitchell <mark@codesourcery.com>
459
460 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
461
462 2003-07-09 Michael Koch <konqueror@gmx.de>
463
464 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
465 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
466 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
467 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
468 Explicitly import used classes.
469 * java/awt/Container.java: New version from classpath.
470
471 2003-07-09 Michael Koch <konqueror@gmx.de>
472
473 * libgcj.pc.in: New file.
474 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
475 * Makefile.in: Regenerated.
476 * configure: Regenrated.
477 * configure.in: Create libgcj.pc from libgcj.pc.in.
478
479 2003-07-08 Mark Wielaard <mark@klomp.org>
480
481 * gcj/cni.h: CNI now expands to Compiled Native Interface.
482
483 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
484 * java/lang/fdlibm.h: Likewise.
485
486 2003-07-07 Adam Megacz <adam@xwt.org>
487
488 * posix.cc: added #include<stdio.h>
489
490 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
491
492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
493 formatting.
494
495 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
496 (setCaretPosition, setEditable): Rely entirely on native
497 implementation.
498 (getArgs): Remove.
499 (postTextEvent): New method.
500 (handleEvent): New method.
501 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
502 method.
503 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
504 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
505 (keysym_to_awt_keycode): Fix range checks.
506 (generates_key_typed_event): New function.
507 (awt_event_handler): Post AWT_KEY_RELEASED events to event
508 queue.
509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
510 (gtkInit): Store TextComponent's postTextEvent method ID.
511 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
512 (setText): Post TEXT_VALUE_CHANGED event to event queue.
513
514 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
515
516 * configure.in: Check for usleep declaration.
517 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
518 * configure: Regenerate.
519 * include/config.h.in: Likewise.
520 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
521
522 2003-07-01 Michael Koch <konqueror@gmx.de>
523
524 * gnu/gcj/convert/natIconv.cc
525 (iconv_init): Fixed possible memory leak by releasing allocated iconv
526 handle.
527
528 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
529
530 * glib-2.0.m4: New file.
531 * gtk-2.0.m4: New file.
532 * glib.m4: Remove.
533 * gtk.m4: Remove.
534 * configure.in: Update AM_PATH_GTK macro call to
535 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
536 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
537 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
538 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
539 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
540 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
541 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
542 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
543 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
544 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
545 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
546 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
547 jni/gtk-peer/gthread-jni.c,
548 jni/gtk-peer/gthread-jni.h:
549 New versions from classpath.
550 * aclocal.m4: Regenerate.
551 * configure: Regenerate.
552 * Makefile.in: Regenerate.
553 * gcj/Makefile.in: Regenerate.
554 * include/Makefile.in: Regenerate.
555 * testsuite/Makefile.in: Regenerate.
556
557 2003-06-30 Gary Benson <gbenson@redhat.com>
558
559 For PR libgcj/11349:
560 * javax/naming/spi/NamingManager.java (getURLContext): Use
561 correct name for factory class.
562
563 2003-06-28 Michael Koch <konqueror@gmx.de>
564
565 * java/io/PrintStream.java
566 (checkError): Call flush() instead of direct flushing of the Writer
567 object.
568 (print): Call print(String) instead of direct print method of the
569 Writer Object.
570 (println): Call println(String) instead of direct println method of the
571 Writer Object.
572 (write): Simplified.
573
574 2003-06-28 Michael Koch <konqueror@gmx.de>
575
576 * java/net/ServerSocket.java
577 (setChannel): New method.
578 * java/net/Socket.java
579 (setChannel): New method.
580
581 2003-06-27 Michael Koch <konqueror@gmx.de>
582
583 * java/beans/beancontext/BeanContextSupport.java:
584 New version from classpath.
585
586 2003-06-27 Michael Koch <konqueror@gmx.de>
587
588 * java/awt/Window.java,
589 java/awt/font/GraphicAttribute.java,
590 java/awt/font/ImageGraphicAttribute.java,
591 java/awt/image/DataBufferByte.java,
592 java/awt/image/DataBufferInt.java,
593 java/awt/image/DataBufferUShort.java,
594 java/awt/image/DirectColorModel.java,
595 java/awt/image/PixelGrabber.java:
596 New versions from classpath.
597
598 2003-06-27 Michael Koch <konqueror@gmx.de>
599
600 * java/security/Certificate.java
601 (getGuarantor): Removed wrong @deprecated tag.
602 (getPrincipal): Likewise.
603 (getPublicKey): Likewise.
604 (encode): Likewise.
605 (decode): Likewise.
606 (getFormat): Likewise.
607 (toString): Likewise.
608 * java/security/cert/PolicyQualifierInfo.java
609 (PolicyQualifierInfo): Made final.
610 * javax/security/auth/x500/X500Principal.java
611 (serialVersionUID): New member variable.
612
613 2003-06-27 Michael Koch <konqueror@gmx.de>
614
615 * java/text/Format.java
616 (serialVersionUID): Fixed value.
617
618 2003-06-27 Michael Koch <konqueror@gmx.de>
619
620 * java/net/Inet4Address.java
621 (Inet4Address): Made package-private.
622 * java/net/Inet6Address.java
623 (Inet4Address): Made package-private.
624
625 2003-06-27 Michael Koch <konqueror@gmx.de>
626
627 * java/io/RandomAccessFile.java
628 (readLine): Removed wrong @deprecated tag.
629 (getChannel): Made final.
630
631 2003-06-27 Michael Koch <konqueror@gmx.de>
632
633 * gnu/java/nio/FileChannelImpl.java
634 (write): Removed.
635
636 2003-06-27 Michael Koch <konqueror@gmx.de>
637
638 * java/nio/ByteBufferImpl.java
639 (ByteBufferImpl): Made it a package-private class
640 * java/nio/CharBufferImpl.java
641 (CharBufferImpl): Made it a package-private class
642 * java/nio/DirectByteBufferImpl.java
643 (DirectByteBufferImpl): Made it a package-private class
644 * java/nio/DoubleBufferImpl.java
645 (DoubleBufferImpl): Made it a package-private class
646 * java/nio/FloatBufferImpl.java
647 (FloatBufferImpl): Made it a package-private class
648 * java/nio/IntBufferImpl.java
649 (IntBufferImpl): Made it a package-private class
650 * java/nio/LongBufferImpl.java
651 (LongBufferImpl): Made it a package-private class
652 * java/nio/ShortBufferImpl.java
653 (ShortBufferImpl): Made it a package-private class
654 * java/nio/channels/FileChannel.java
655 (write): Made final.
656 * java/nio/channels/ServerSocketChannel.java
657 (ServerSocketChanne): Made protected.
658
659 2003-06-27 Michael Koch <konqueror@gmx.de>
660
661 * javax/naming/CompositeName.java
662 (serialVersionUID): New member variable.
663 * javax/naming/CompoundName.java
664 (serialVersionUID): New member variable.
665 * javax/naming/InitialContext.java
666 (InitialContext): Throws NamingException.
667 (init): Likewise.
668 * javax/naming/LinkRef.java
669 (serialVersionUID): New member variable.
670 (gteLinkName): Throws NamingException.
671 * javax/naming/NamingException.java
672 (serialVersionUID): New member variable.
673 * javax/naming/NamingSecurityException.java
674 (NamingSecurityException): Made abstract.
675 (serialVersionUID): New member variable.
676 * javax/naming/ReferralException.java
677 (serialVersionUID): New member variable.
678 * javax/naming/StringRefAddr.java
679 (serialVersionUID): New member variable.
680 * javax/naming/directory/BasicAttribute.java:
681 Reworked imports.
682 (serialVersionUID): New member variable.
683 (get): Throws NamingException.
684 (getAll): Throws NamingException.
685 * javax/naming/directory/BasicAttributes.java:
686 Reworked imports.
687 (serialVersionUID): New member variable.
688 * javax/naming/ldap/UnsolicitedNotificationEvent.java
689 (serialVersionUID): New member variable.
690
691 2003-06-27 Michael Koch <konqueror@gmx.de>
692
693 * Makefile.am
694 (awt_java_source_files): Added new files:
695 javax/swing/Popup.java,
696 javax/swing/PopupFactory.java
697 * Makefile.in: Regenerated.
698
699 2003-06-27 Michael Koch <konqueror@gmx.de>
700
701 * javax/swing/JWindow.java,
702 javax/swing/event/AncestorEvent.java,
703 javax/swing/event/HyperlinkEvent.java,
704 javax/swing/event/InternalFrameEvent.java,
705 javax/swing/event/ListDataEvent.java,
706 javax/swing/event/TableModelEvent.java,
707 javax/swing/plaf/PopupMenuUI.java,
708 javax/swing/plaf/SplitPaneUI.java,
709 javax/swing/plaf/TabbedPaneUI.java,
710 javax/swing/plaf/TextUI.java,
711 javax/swing/plaf/TreeUI.java,
712 javax/swing/plaf/basic/BasicTextUI.java,
713 javax/swing/plaf/basic/BasicTreeUI.java:
714 New versions from classpath.
715 * javax/swing/Popup.java,
716 javax/swing/PopupFactory.jav:
717 New source files from classpath.
718 * javax/swing/plaf/doc-files/TreeUI-1.png:
719 New binary files from classpath.
720
721 2003-06-25 Michael Koch <konqueror@gmx.de>
722
723 * Makefile.am
724 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
725 * Makefile.in: Regenerated.
726
727 2003-06-25 Michael Koch <konqueror@gmx.de>
728
729 * javax/swing/plaf/ActionMapUIResource.java,
730 javax/swing/plaf/BorderUIResource.java,
731 javax/swing/plaf/ButtonUI.java,
732 javax/swing/plaf/ColorChooserUI.java,
733 javax/swing/plaf/ColorUIResource.java,
734 javax/swing/plaf/ComboBoxUI.java,
735 javax/swing/plaf/ComponentInputMapUIResource.java,
736 javax/swing/plaf/ComponentUI.java,
737 javax/swing/plaf/DesktopIconUI.java,
738 javax/swing/plaf/DesktopPaneUI.java,
739 javax/swing/plaf/DimensionUIResource.java,
740 javax/swing/plaf/FileChooserUI.java,
741 javax/swing/plaf/FontUIResource.java,
742 javax/swing/plaf/IconUIResource.java,
743 javax/swing/plaf/InputMapUIResource.java,
744 javax/swing/plaf/InsetsUIResource.java,
745 javax/swing/plaf/InternalFrameUI.java,
746 javax/swing/plaf/LabelUI.java,
747 javax/swing/plaf/ListUI.java,
748 javax/swing/plaf/MenuBarUI.java,
749 javax/swing/plaf/MenuItemUI.java,
750 javax/swing/plaf/OptionPaneUI.java,
751 javax/swing/plaf/PanelUI.java,
752 javax/swing/plaf/ProgressBarUI.java,
753 javax/swing/plaf/RootPaneUI.java,
754 javax/swing/plaf/ScrollBarUI.java,
755 javax/swing/plaf/ScrollPaneUI.java,
756 javax/swing/plaf/SeparatorUI.java,
757 javax/swing/plaf/SliderUI.java,
758 javax/swing/plaf/TableHeaderUI.java,
759 javax/swing/plaf/TableUI.java,
760 javax/swing/plaf/ToolBarUI.java,
761 javax/swing/plaf/ToolTipUI.java,
762 javax/swing/plaf/ViewportUI.java:
763 New versions from classpath.
764 * javax/swing/plaf/SpinnerUI.java:
765 New file from classpath
766
767 2003-06-25 Michael Koch <konqueror@gmx.de>
768
769 * java/awt/image/ColorModel.java:
770 New version from classpath.
771
772 2003-06-25 Michael Koch <konqueror@gmx.de>
773
774 * java/net/PlainDatagramSocketImpl.java:
775 Partly merged with classpath, this mainly adds documentation.
776
777 2003-06-25 Michael Koch <konqueror@gmx.de>
778
779 * java/io/ObjectInputStream.java
780 (readClassDescriptor): New method.
781 (readObject): Moved functionality to readClassDescriptor().
782 * java/io/ObjectOutputStream.java
783 (writeClassDescriptor): New method.
784 (writeObject): Moved functionality to writeClassDescriptor().
785
786 2003-06-25 Michael Koch <konqueror@gmx.de>
787
788 * javax/swing/plaf/basic/BasicListUI.java,
789 javax/swing/plaf/basic/BasicOptionPaneUI.java:
790 Added missing methods.
791
792 2003-06-25 Michael Koch <konqueror@gmx.de>
793
794 * javax/swing/event/AncestorEvent.java
795 javax/swing/event/HyperlinkEvent.java
796 javax/swing/event/InternalFrameEvent.java
797 javax/swing/event/ListDataEvent.java
798 javax/swing/event/TableModelEvent.java:
799 Compile fixes.
800
801 2003-06-24 Michael Koch <konqueror@gmx.de>
802
803 * java/net/URL.java:
804 Renamed "handler" to "ph" in the whole file to match classpaths
805 version.
806 * java/net/URLStreamHandler.java:
807 (equals): Renamed "handler" to "ph".
808
809 2003-06-24 Michael Koch <konqueror@gmx.de>
810
811 * javax/swing/event/AncestorEvent.java,
812 javax/swing/event/HyperlinkEvent.java,
813 javax/swing/event/InternalFrameEvent.java,
814 javax/swing/event/ListDataEvent.java,
815 javax/swing/event/TableModelEvent.java,
816 javax/swing/event/TreeWillExpandListener.java,
817 javax/swing/plaf/ComponentUI.java,
818 javax/swing/plaf/DesktopIconUI.java,
819 javax/swing/plaf/DesktopPaneUI.java,
820 javax/swing/plaf/DimensionUIResource.java,
821 javax/swing/plaf/FileChooserUI.java,
822 javax/swing/plaf/FontUIResource.java,
823 javax/swing/plaf/IconUIResource.java,
824 javax/swing/plaf/InputMapUIResource.java,
825 javax/swing/plaf/InsetsUIResource.java,
826 javax/swing/plaf/InternalFrameUI.java,
827 javax/swing/plaf/LabelUI.java,
828 javax/swing/plaf/ListUI.java,
829 javax/swing/plaf/MenuBarUI.java,
830 javax/swing/plaf/MenuItemUI.java,
831 javax/swing/plaf/OptionPaneUI.java,
832 javax/swing/plaf/PanelUI.java,
833 javax/swing/plaf/ProgressBarUI.java,
834 javax/swing/plaf/doc-files/ComponentUI-1.dia,
835 javax/swing/plaf/doc-files/ComponentUI-1.png:
836 New versions from classpath.
837
838 2003-06-24 Michael Koch <konqueror@gmx.de>
839
840 * java/nio/Buffer.java
841 (cap): Made package-private.
842 (pos): Likewise.
843 (limit): Likewise.
844 (mark): Likewise.
845
846 2003-06-24 Michael Koch <konqueror@gmx.de>
847
848 * java/net/SocketImpl.java
849 (shutdownInput): Made it non-abstract method throwing an exception
850 like in SUNs JRE.
851 (shutdownOutput): Likewise.
852 * java/net/SocketInputStream.java,
853 java/net/SocketOutputStream.java:
854 New files from classpath.
855
856 2003-06-24 Michael Koch <konqueror@gmx.de>
857
858 * java/awt/Font.java,
859 java/awt/Window.java,
860 java/awt/color/ColorSpace.java,
861 java/awt/datatransfer/StringSelection.java,
862 java/awt/image/ColorModel.java:
863 New versions from classpath.
864
865 2003-06-24 Michael Koch <konqueror@gmx.de>
866
867 * Makefile.am
868 (awt_java_source_files): Added new files:
869 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
870 javax/swing/plaf/basic/BasicSplitPaneUI.java
871 * Makefile.in: Regenerated.
872
873 2003-06-24 Michael Koch <konqueror@gmx.de>
874
875 * javax/swing/text/JTextComponent.java:
876 New version from classpath.
877
878 2003-06-24 Michael Koch <konqueror@gmx.de>
879
880 * javax/swing/Timer.java,
881 javax/swing/plaf/ActionMapUIResource.java,
882 javax/swing/plaf/ButtonUI.java,
883 javax/swing/plaf/ColorChooserUI.java,
884 javax/swing/plaf/ColorUIResource.java,
885 javax/swing/plaf/ComboBoxUI.java,
886 javax/swing/plaf/ComponentInputMapUIResource.java,
887 javax/swing/plaf/basic/BasicBorders.java:
888 New versions from classpath.
889 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
890 javax/swing/plaf/basic/BasicSplitPaneUI.java:
891 New file from classpath.
892 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
893 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
894 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
895 javax/swing/plaf/doc-files/ComponentUI-1.dia,
896 javax/swing/plaf/doc-files/ComponentUI-1.png:
897 New binary files from classpath.
898
899 2003-06-24 Michael Koch <konqueror@gmx.de>
900
901 * java/io/LineNumberReader.java
902 (skip): Dont do line number accounting here as this is already done in
903 read(), simplified.
904
905 2003-06-21 Michael Koch <konqueror@gmx.de>
906
907 * java/io/File.java
908 (static): Load javaio lib if existing (only in classpath).
909 (File): Revised documentation to show the correct argument name.
910 (createTempFile): Partly merged with classpath.
911 (compareTo): Simplified.
912 (lastModified): Throw exception if time < 0.
913 (deleteOnExit): Revised documentation.
914
915 2003-06-21 Michael Koch <konqueror@gmx.de>
916
917 * java/net/PlainSocketImpl.java:
918 Reformatted.
919 (PlainSocketImpl): Merged class documentaion with classpath.
920 (in): Moved.
921 (out): Moved.
922 (PlainSocketImpl): New empty constructor.
923 (finalize): Moved.
924 (setOption): Merged documentation from classpath.
925 (getOption): Likewise.
926 (create): Likewise.
927 (connect): Likewise.
928 (bind): Likewise.
929 (listen): Likewise.
930 (accept): Likewise.
931 (available): Likewise.
932 (close): Likewise.
933 (read): Likewise.
934 (write): Likewise.
935 (getInputStream): Made synchronozed to get sure that only one stream
936 object can be created for this socket, merged documentation from
937 classpath.
938 (getOutputStream): Likewise.
939
940 2003-06-21 Michael Koch <konqueror@gmx.de>
941
942 * java/net/PlainSocketImpl.java:
943 Reformatting.
944 (static): New implicit method.
945 (read): Made package private.
946 (write): Likewise.
947
948 2003-06-21 Michael Koch <konqueror@gmx.de>
949
950 * java/util/SimpleTimeZone.java:
951 Removed unneeded import, reformatting.
952
953 2003-06-21 Michael Koch <konqueror@gmx.de>
954
955 * java/text/DateFormat.java,
956 java/text/SimpleDateFormat.java,
957 java/util/Locale.java:
958 New versions from classpath.
959
960 2003-06-21 Michael Koch <konqueror@gmx.de>
961
962 * javax/swing/SpinnerModel.java:
963 New file from classpath.
964 * javax/swing/border/LineBorder.java,
965 javax/swing/border/SoftBevelBorder.java,
966 javax/swing/plaf/BorderUIResource.java,
967 javax/swing/plaf/basic/BasicBorders.java:
968 New versions from classpath.
969 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
970 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
971 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
972 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
973 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
974 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
975 New binary files from classpath.
976
977 2003-06-21 Michael Koch <konqueror@gmx.de>
978
979 * java/util/logging/LogRecord.java,
980 java/util/logging/Logger.java,
981 java/util/logging/SocketHandler.java,
982 java/util/logging/SimpleFormatter.java,
983 java/util/logging/Formatter.java,
984 java/util/logging/ErrorManager.java,
985 java/util/logging/Handler.java,
986 java/util/logging/FileHandler.java,
987 java/util/logging/LogManager.java,
988 java/util/logging/Level.java,
989 java/util/logging/ConsoleHandler.java,
990 java/util/logging/StreamHandler.java,
991 java/util/logging/LoggingPermission.java,
992 java/util/logging/Filter.java,
993 java/util/logging/MemoryHandler.java,
994 java/util/logging/XMLFormatter.java:
995 New files from classpath.
996
997 2003-06-20 Michael Koch <konqueror@gmx.de>
998
999 * java/io/ObjectStreamField.java
1000 (unshared): new member variable.
1001 (ObjectStreamField): New constructor.
1002 (isUnshared): New method.
1003
1004 2003-06-20 Michael Koch <konqueror@gmx.de>
1005
1006 * java/net/URLStreamHandler.java
1007 (hostsEqual): Rewritten.
1008
1009 2003-06-20 Michael Koch <konqueror@gmx.de>
1010
1011 * gnu/java/nio/MappedByteFileBuffer.java,
1012 gnu/java/nio/natMappedByteFileBuffer.cc:
1013 Removed
1014 * java/nio/MappedByteBufferImpl.java:
1015 New file.
1016 * gnu/java/nio/FileChannelImpl.java:
1017 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1018 * Makefile.am
1019 (ordinary_java_source_files): Removed
1020 gnu/java/nio/MappedByteFileBuffer.java and added
1021 java/nio/MappedByteBufferImpl.java.
1022 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1023 * Makefile.in: Regenerated.
1024
1025 2003-06-19 Michael Koch <konqueror@gmx.de>
1026
1027 * gnu/java/nio/DatagramChannelImpl.java
1028 (fd): Removed.
1029 (blocking): New member variable.
1030 (socket): Likewise.
1031 (DatagramChannelImpl): Throws IOException, initialize socket.
1032 (socket):Implemented.
1033 (implCloseSelectableChannel): Throws IOException, implemented.
1034 (implConfigureBlocking): Likewise.
1035 (connect): Likewise.
1036 (disconnect): Likewise.
1037 (isConnected): Likewise.
1038 (write): Likewise.
1039 (read): Likewise.
1040 (receive): Throws IOException.
1041 (send): Likewise.
1042 * gnu/java/nio/SocketChannelImpl.java
1043 (read): Implemented.
1044 (write): Implemented.
1045
1046 2003-06-19 Michael Koch <konqueror@gmx.de>
1047
1048 * javax/swing/JComponent.java,
1049 javax/swing/JInternalFrame.java,
1050 javax/swing/MenuSelectionManager.java,
1051 javax/swing/SwingUtilities.java,
1052 javax/swing/ToggleButtonModel.java:
1053 New versions from classpath.
1054
1055 2003-06-19 Michael Koch <konqueror@gmx.de>
1056
1057 * java/text/CollationElementIterator.java
1058 (NULLORDER): Initialize with -1 as JDK documentation says.
1059
1060 2003-06-19 Michael Koch <konqueror@gmx.de>
1061
1062 * java/net/HttpURLConnection.java,
1063 java/net/Inet4Address.java,
1064 java/net/Inet6Address.java,
1065 java/net/SocketImpl.java,
1066 java/net/URLClassLoader.java:
1067 Reworked import statements.
1068 * java/net/InetAddress.java
1069 (getByAddress): Simplified.
1070 * java/net/ServerSocket.java
1071 (ServerSocket): Moved special handling during bind operation to
1072 bind().
1073 (bind): Handle different cases when trying to bind a socket.
1074 * java/net/URLConnection.java
1075 (getHeaderFieldDate): Merged with classpath.
1076 (getHeaderFieldInt): Likewise.
1077
1078 2003-06-19 Michael Koch <konqueror@gmx.de>
1079
1080 * java/util/zip/InflaterInputStream.java
1081 (InflaterInputStream): Throw NullPointerException if in is null (as
1082 JDK does).
1083
1084 2003-06-19 Michael Koch <konqueror@gmx.de>
1085
1086 * java/awt/Font.java
1087 javax/swing/UIManager.java
1088 javax/swing/border/AbstractBorder.java
1089 javax/swing/border/BevelBorder.java
1090 javax/swing/border/Border.java
1091 javax/swing/border/CompoundBorder.java
1092 javax/swing/border/EmptyBorder.java
1093 javax/swing/border/EtchedBorder.java
1094 javax/swing/border/LineBorder.java
1095 javax/swing/border/MatteBorder.java
1096 javax/swing/border/TitledBorder.java
1097 javax/swing/plaf/BorderUIResource.java
1098 javax/swing/plaf/basic/BasicBorders.java
1099 javax/swing/plaf/basic/BasicButtonUI.java
1100 javax/swing/plaf/basic/BasicCheckBoxUI.java
1101 javax/swing/plaf/basic/BasicGraphicsUtils.java
1102 javax/swing/plaf/basic/BasicLabelUI.java
1103 javax/swing/plaf/basic/BasicRadioButtonUI.java
1104 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1105 New versions from classpath.
1106 * javax/swing/border/SoftBevelBorder.java:
1107 New file from classpath.
1108 * javax/swing/border/doc-files/LineBorder-1.png,
1109 javax/swing/border/doc-files/BevelBorder-1.png,
1110 javax/swing/border/doc-files/BevelBorder-2.png,
1111 javax/swing/border/doc-files/BevelBorder-3.png,
1112 javax/swing/border/doc-files/EmptyBorder-1.png,
1113 javax/swing/border/doc-files/EtchedBorder-1.png,
1114 javax/swing/border/doc-files/EtchedBorder-2.png,
1115 javax/swing/border/doc-files/MatteBorder-1.png,
1116 javax/swing/border/doc-files/MatteBorder-2.png,
1117 javax/swing/border/doc-files/MatteBorder-3.png,
1118 javax/swing/border/doc-files/MatteBorder-4.png,
1119 javax/swing/border/doc-files/MatteBorder-5.png,
1120 javax/swing/border/doc-files/MatteBorder-6.png,
1121 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1122 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1123 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1124 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1125 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1126 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1127 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1128 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1129 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1130 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1131 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1132 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1133 New binary files from classpath.
1134 * Makefile.am
1135 (awt_java_source_files): Added
1136 javax/swing/border/SoftBevelBorder.java.
1137 * Makefile.in: Regenerated.
1138
1139 2003-06-19 Michael Koch <konqueror@gmx.de>
1140
1141 * gnu/java/security/x509/X509Certificate.java
1142 (writeReplace): Merged from classpath.
1143
1144 2003-06-19 Michael Koch <konqueror@gmx.de>
1145
1146 * gnu/java/nio/FileChannelImpl.java
1147 (map_address): Made public.
1148 (FileChannelImpl): Merged with classpath.
1149 * gnu/java/nio/natFileChannelImpl.cc
1150 (nio_mmap_file): Commented out unused arguments.
1151 (nio_unmmap_file): Likewise.
1152 (niu_msync): Likewise.
1153
1154 2003-06-19 Michael Koch <konqueror@gmx.de>
1155
1156 * java/awt/image/IndexColorModel.java:
1157 New version from classpath.
1158
1159 2003-06-18 Tom Tromey <tromey@redhat.com>
1160
1161 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1162 on arrays.
1163 (isLoopbackAddress): Likewise.
1164 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1165 on arrays.
1166
1167 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1168
1169 * java/lang/natVMSecurityManager.cc (getClassContext):
1170 Use maxlen instead of len for loop bound.
1171
1172 2003-06-18 Michael Koch <konqueror@gmx.de>
1173
1174 * gnu/java/nio/SelectorImpl.java
1175 (register): Use fd with value 0 for now, will be fixed later.
1176 * gnu/java/nio/ServerSocketChannelImpl.java
1177 (fd): Removed.
1178 (local_port): Removed.
1179 (InetSocketAddress): Removed.
1180 (ServerSocketChannelImpl): Just initialize internal socket object.
1181 (implCloseSelectableChannel): Close internal socket object.
1182 (implConfigureBlocking): Added comment.
1183 (accept): Use jaba.net stuff to accept socket.
1184 * gnu/java/nio/SocketChannelImpl.java
1185 (fd): Removed.
1186 (local_port): Removed.
1187 (InetSocketAddress): Removed.
1188 (SocketCreate): Removed.
1189 (SocketConnect): Removed.
1190 (SocketBind): Removed.
1191 (SocketListen): Removed.
1192 (SocketAvailable): Removed.
1193 (SocketClose): Removed.
1194 (SocketRead): Removed.
1195 (SocketWrite): Removed.
1196 (SocketChannelImpl): Just initialize internal socket object.
1197 (implCloseSelectableChannel): Close internal socket object.
1198 (implConfigureBlocking): Fixed implementation, added comment.
1199 (connect): Use internal socket object to connect.
1200 (socket): No need for sanity checks.
1201 (read): Comment out some stuff, this will be reimplemented in the next
1202 commit.
1203 (write): Likewise.
1204 * gnu/java/nio/natFileChannelImpl.cc
1205 (nio_mmap_file): Line wrapped.
1206 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1207 * Makefile.am
1208 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1209 * Makefile.in: Regenerated.
1210
1211 2003-06-18 Michael Koch <konqueror@gmx.de>
1212
1213 * java/util/Locale.java
1214 (equals): Merged from classpath.
1215
1216 2003-06-18 Michael Koch <konqueror@gmx.de>
1217
1218 * java/net/InetAddress.java:
1219 Reformatted to better match classpath's version.
1220 * java/net/URL.java
1221 (equals): Simplified.
1222 * java/net/URLConnection.java
1223 (setDoInput): Revised documentation.
1224 (getDefaultUseCaches): Likewise.
1225 (setRequestProperty): Added @since tag.
1226
1227 2003-06-17 Michael Koch <konqueror@gmx.de>
1228
1229 * java/net/InetSocketAddress.java
1230 (InetSocketAddress): Use wildcard address if addr is null.
1231 (InetSocketAddress): Dont duplicate implementation.
1232 (InetSocketAddress): Throw exception when hostname is null.
1233 * java/net/Socket.java:
1234 Reworked imports.
1235 (Socket): Throw exception when raddr is null, handle case when laddr
1236 is null.
1237
1238 2003-06-17 Michael Koch <konqueror@gmx.de>
1239
1240 * java/nio/DirectByteBufferImpl.java
1241 (address): Made package private.
1242 (DirectByteBufferImpl): New constructor.
1243 * java/nio/natDirectByteBufferImpl.cc
1244 (allocateImpl): Moved to java.nio namespace, implemented.
1245 (freeImpl): Likewise.
1246 (getImpl): Likewise.
1247 (putImpl): Likewise.
1248 * jni.cc
1249 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1250 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1251 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1252
1253 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1254
1255 * include/powerpc-signal.h: New File.
1256 * configure.in: Use it.
1257 * configure: Regenerated.
1258
1259 2003-06-17 Michael Koch <konqueror@gmx.de>
1260
1261 * java/util/Locale.java
1262 (getDisplayLanguage): Made it final.
1263 (getDisplayCountry): Likewise.
1264 (getDisplayVariant): Likewise.
1265 (getDisplayName): Likewise.
1266
1267 2003-06-17 Michael Koch <konqueror@gmx.de>
1268
1269 * java/util/PropertyResourceBundle.java:
1270 Removed unneeded import.
1271
1272 2003-06-17 Michael Koch <konqueror@gmx.de>
1273
1274 * java/util/prefs/AbstractPreferences.java,
1275 java/util/prefs/PreferencesFactory.java:
1276 Reworked imports, removed unused imports.
1277 * java/util/prefs/Preferences.java
1278 (systemNodeForPackage): Method takes a Class not an Object.
1279 (userNodeForPackage): Likewise.
1280 (nodeForPackage): Likewise.
1281
1282 2003-06-17 Michael Koch <konqueror@gmx.de>
1283
1284 * gnu/java/security/x509/X509Certificate.java:
1285 Explicitely import used classes.
1286
1287 2003-06-17 Michael Koch <konqueror@gmx.de>
1288
1289 * java/util/zip/ZipEntry.java,
1290 java/util/zip/ZipFile.java,
1291 java/util/zip/ZipInputStream.java,
1292 java/util/zip/ZipOutputStream.java:
1293 Reworked imports, only import used classes.
1294
1295 2003-06-17 Michael Koch <konqueror@gmx.de>
1296
1297 * gnu/java/lang/ArrayHelper.java,
1298 gnu/java/lang/ClassHelper.java:
1299 Reformatted to match classpath's versions.
1300
1301 2003-06-14 Michael Koch <konqueror@gmx.de>
1302
1303 * gnu/java/nio/FileChannelImpl.java
1304 (map_address): Removed incorrect comment.
1305 * gnu/java/nio/SelectorImpl.java
1306 (register): Remove code duplication and code for file channel handling.
1307 * gnu/java/nio/ServerSocketChannelImpl.java
1308 (serverSocket): Renamed from sock_object.
1309 (ServerSocketChannel): Initialize serverSocket.
1310 (socket): Return serverSocket.
1311 * gnu/java/nio/SocketChannelImpl.java
1312 (socket): Renamed from sock_object.
1313 (isConnectionPenging): Simplified.
1314 (socket): Return socket.
1315 2003-06-14 Michael Koch <konqueror@gmx.de>
1316
1317 * java/security/BasicPermission.java:
1318 New version from classpath.
1319
1320 2003-06-14 Michael Koch <konqueror@gmx.de>
1321
1322 * javax/naming/directory/Attribute.java:
1323 New version from classpath.
1324
1325 2003-06-14 Michael Koch <konqueror@gmx.de>
1326
1327 * java/io/BufferedReader.java,
1328 java/io/FileOutputStream.java:
1329 New versions from classpath.
1330
1331 2003-06-12 Andrew Haley <aph@redhat.com>
1332
1333 * prims.cc (catch_segv): Create exception in handler.
1334 (catch_fpe): Likewise.
1335 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1336 (_Jv_ThrowSignal): Remove.
1337
1338 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1339 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1340 to nullp and arithexception.
1341 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1342 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1343 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1344 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1345 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1346
1347 2003-06-11 Andrew Haley <aph@redhat.com>
1348
1349 * jni.cc (_Jv_JNI_check_types): New.
1350 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1351 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1352 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1353 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1354
1355 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1356 infinite loop.
1357
1358 2003-06-11 Tom Tromey <tromey@redhat.com>
1359
1360 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1361 * java/io/PrintStream.java: Not deprecated.
1362
1363 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1364
1365 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1366 (fillOval): implemented
1367 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1368 (fillArc): implemented.
1369 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1370 (fillArc): added native method.
1371 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1372 (fillArc): added native method.
1373
1374 2003-06-11 Michael Koch <konqueror@gmx.de>
1375
1376 * java/awt/im/InputSubset.java:
1377 New version from classpath.
1378
1379 2003-06-11 Michael Koch <konqueror@gmx.de>
1380
1381 * javax/swing/AbstractAction.java,
1382 javax/swing/AbstractButton.java,
1383 javax/swing/AbstractCellEditor.java,
1384 javax/swing/AbstractListModel.java,
1385 javax/swing/BorderFactory.java,
1386 javax/swing/Box.java,
1387 javax/swing/BoxLayout.java,
1388 javax/swing/ButtonGroup.java,
1389 javax/swing/DefaultButtonModel.java,
1390 javax/swing/DefaultListModel.java,
1391 javax/swing/DefaultListSelectionModel.java,
1392 javax/swing/FocusManager.java,
1393 javax/swing/ImageIcon.java,
1394 javax/swing/InputMap.java,
1395 javax/swing/JApplet.java,
1396 javax/swing/JButton.java,
1397 javax/swing/JCheckBox.java,
1398 javax/swing/JCheckBoxMenuItem.java,
1399 javax/swing/JColorChooser.java,
1400 javax/swing/JComboBox.java,
1401 javax/swing/JComponent.java,
1402 javax/swing/JDesktopPane.java,
1403 javax/swing/JDialog.java,
1404 javax/swing/JEditorPane.java,
1405 javax/swing/JFileChooser.java,
1406 javax/swing/JFormattedTextField.java,
1407 javax/swing/JFrame.java,
1408 javax/swing/JLabel.java,
1409 javax/swing/JLayeredPane.java,
1410 javax/swing/JList.java,
1411 javax/swing/JMenuBar.java,
1412 javax/swing/JMenuItem.java,
1413 javax/swing/JOptionPane.java,
1414 javax/swing/JPanel.java,
1415 javax/swing/JPasswordField.java,
1416 javax/swing/JPopupMenu.java,
1417 javax/swing/JProgressBar.java,
1418 javax/swing/JRadioButton.java,
1419 javax/swing/JRadioButtonMenuItem.java,
1420 javax/swing/JRootPane.java,
1421 javax/swing/JScrollBar.java,
1422 javax/swing/JScrollPane.java,
1423 javax/swing/JSeparator.java,
1424 javax/swing/JSlider.java,
1425 javax/swing/JTabbedPane.java,
1426 javax/swing/JTable.java,
1427 javax/swing/JTextField.java,
1428 javax/swing/JToggleButton.java,
1429 javax/swing/JToolBar.java,
1430 javax/swing/JToolTip.java,
1431 javax/swing/JTree.java,
1432 javax/swing/JViewport.java,
1433 javax/swing/JWindow.java,
1434 javax/swing/KeyStroke.java,
1435 javax/swing/ListSelectionModel.java,
1436 javax/swing/LookAndFeel.java,
1437 javax/swing/RepaintManager.java,
1438 javax/swing/ScrollPaneLayout.java,
1439 javax/swing/SizeRequirements.java,
1440 javax/swing/SwingConstants.java,
1441 javax/swing/Timer.java,
1442 javax/swing/UIDefaults.java,
1443 javax/swing/UIManager.java,
1444 javax/swing/border/AbstractBorder.java,
1445 javax/swing/border/CompoundBorder.java,
1446 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1447 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1448 javax/swing/colorchooser/ColorSelectionModel.java,
1449 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1450 javax/swing/event/AncestorEvent.java,
1451 javax/swing/event/HyperlinkEvent.java,
1452 javax/swing/event/InternalFrameAdapter.java,
1453 javax/swing/event/InternalFrameEvent.java,
1454 javax/swing/event/ListDataEvent.java,
1455 javax/swing/event/MouseInputAdapter.java,
1456 javax/swing/event/SwingPropertyChangeSupport.java,
1457 javax/swing/event/TableModelEvent.java,
1458 javax/swing/event/TreeWillExpandListener.java,
1459 javax/swing/event/UndoableEditEvent.java,
1460 javax/swing/filechooser/FileFilter.java,
1461 javax/swing/filechooser/FileSystemView.java,
1462 javax/swing/filechooser/FileView.java,
1463 javax/swing/plaf/BorderUIResource.java,
1464 javax/swing/plaf/basic/BasicDefaults.java,
1465 javax/swing/table/AbstractTableModel.java,
1466 javax/swing/table/DefaultTableCellRenderer.java,
1467 javax/swing/table/DefaultTableColumnModel.java,
1468 javax/swing/table/DefaultTableModel.java,
1469 javax/swing/table/TableColumn.java,
1470 javax/swing/text/JTextComponent.java,
1471 javax/swing/tree/AbstractLayoutCache.java,
1472 javax/swing/tree/DefaultMutableTreeNode.java,
1473 javax/swing/tree/DefaultTreeCellEditor.java,
1474 javax/swing/tree/DefaultTreeCellRenderer.java,
1475 javax/swing/tree/DefaultTreeModel.java,
1476 javax/swing/tree/DefaultTreeSelectionModel.java,
1477 javax/swing/tree/FixedHeightLayoutCache.java,
1478 javax/swing/tree/TreeCellEditor.java,
1479 javax/swing/tree/TreeModel.java,
1480 javax/swing/tree/TreeNode.java,
1481 javax/swing/tree/TreePath.java,
1482 javax/swing/tree/TreeSelectionModel.java,
1483 javax/swing/tree/VariableHeightLayoutCache.java,
1484 javax/swing/undo/AbstractUndoableEdit.java,
1485 javax/swing/undo/CompoundEdit.java,
1486 javax/swing/undo/StateEdit.java,
1487 javax/swing/undo/UndoManager.java,
1488 javax/swing/undo/UndoableEditSupport.java:
1489 New versions from classpath.
1490 * javax/swing/table/JTableHeader.java:
1491 New file from classpath.
1492 * Makefile.am
1493 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1494 * Makefile.in: Regenerated.
1495
1496 2003-06-11 Michael Koch <konqueror@gmx.de>
1497
1498 * java/nio/MappedByteBuffer.java,
1499 java/nio/channels/Channels.java,
1500 java/nio/channels/ServerSocketChannel.java,
1501 java/nio/channels/spi/AbstractSelector.java:
1502 Removed unneeded imports.
1503
1504 2003-06-11 Michael Koch <konqueror@gmx.de>
1505
1506 * java/net/DatagramSocket.java:
1507 Partly merged with classpath.
1508
1509 2003-06-11 Michael Koch <konqueror@gmx.de>
1510
1511 * java/awt/Frame.java,
1512 java/awt/Graphics.java,
1513 java/awt/Menu.java,
1514 java/awt/Robot.java,
1515 java/awt/image/ColorModel.java:
1516 New versions from classpath.
1517
1518 2003-06-10 Michael Koch <konqueror@gmx.de>
1519
1520 * java/io/PrintStream.java:
1521 Merged version from classpath.
1522 (close): Removed sychronized keyword. This class is not garantied to
1523 be thread-safe.
1524 (write): Likewise.
1525
1526 2003-06-09 Tom Tromey <tromey@redhat.com>
1527
1528 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1529 field.
1530 (getDescent): Likewise, for "descent".
1531
1532 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1533
1534 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1535 (getMaxDescent): adjusted return value.
1536 (getAscent): modified to use metrics for 'O'.
1537 (getDescent): modified to use metrics for 'y'.
1538
1539 2003-06-08 Anthony Green <green@redhat.com>
1540
1541 * java/net/URLStreamHandler.java (sameFile): Fix port value
1542 comparison.
1543 * java/net/URL.java (handler): Make package private.
1544 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1545
1546 2003-06-07 Tom Tromey <tromey@redhat.com>
1547
1548 For PR libgcj/11085:
1549 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1550 Limit number of characters in numeric field when required.
1551 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1552 Respect maximumIntegerDigits.
1553
1554 2003-06-08 Michael Koch <konqueror@gmx.de>
1555
1556 * java/net/Socket.java
1557 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1558 call bind() and connect() to actually do the bind and connect tasks.
1559 (bind): Connect to canonical address if bindpoint is null, create
1560 socket and bind it to bindpoint.
1561 (connect): Check for exceptions.
1562
1563 2003-06-08 Michael Koch <konqueror@gmx.de>
1564
1565 * java/net/DatagramSocket.java
1566 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1567 into the Multicast constructors.
1568 * java/net/DatagramSocketImpl.java
1569 (getOption): Removed.
1570 (setOption): Removed.
1571 * java/net/MulticastSocket.java
1572 (MulticastSocket): Call setReuseAddress (true).
1573 * java/net/SocketImpl.java
1574 (getOption): Removed.
1575 (setOption): Removed.
1576
1577 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1578
1579 PR libgcj/10886:
1580 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1581 Test for empty vector.
1582
1583 2003-06-06 Mark Wielaard <mark@klomp.org>
1584
1585 * java/security/Security.java (secprops): Initialize.
1586 (loadProviders): Return boolean.
1587 (static): Check result of loadProvider calls. If necessary
1588 display WARNING and fallback to Gnu provider.
1589
1590 2002-06-06 James Clark <jjc@jclark.com>
1591
1592 Fix for PR libgcj/8738:
1593 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1594 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1595 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1596 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1597 (write): Always decrease avail when count is increased.
1598 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1599 and whether output buffer is full before increasing size.
1600
1601 2002-06-06 Mark Wielaard <mark@klomp dot org>
1602
1603 * java/io/PrintStream.java (writeChars(char[],int, int)):
1604 Check converter.havePendingBytes().
1605 (writeChars(String,int,int)): Likewise.
1606 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1607 Check converter.havePendingBytes() and flush buffer when stalled.
1608
1609 2003-06-07 Michael Koch <konqueror@gmx.de>
1610
1611 * include/posix.h
1612 (O_DSYNC): Define O_DSYNC on platforms not
1613 supporting O_FSYNC (newlib).
1614
1615 2003-06-06 Mark Wielaard <mark@klomp.org>
1616
1617 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1618 AWTError.
1619
1620 2003-06-06 Michael Koch <konqueror@gmx.de>
1621
1622 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1623 More compile fixes from my stupid work yesterday.
1624
1625 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1626
1627 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1628 if _IEEE_LIBM is undefined.
1629
1630 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1631
1632 * libjava/include/posix.h (O_SYNC): Define if not available
1633 and a reasonable, perhaps more conservative, replacement exists.
1634 (O_DSYNC): Likewise.
1635 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1636
1637 2003-06-05 Michael Koch <konqueror@gmx.de>
1638
1639 * javax/swing/plaf/BorderUIResource.java,
1640 javax/swing/plaf/basic/BasicDefaults.java,
1641 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1642 More compile fixes for latest Border commit. I should not commit
1643 something in this heat here ...
1644
1645 2003-06-05 Michael Koch <konqueror@gmx.de>
1646
1647 * javax/swing/border/BevelBorder.java
1648 (BevelBorder): Removed.
1649 * javax/swing/border/EmptyBorder.java:
1650 Reformatted.
1651 (EmptyBorder): Removed.
1652 (getBorderInsets): Dont use l, r, t and b.
1653 * javax/swing/border/EtchedBorder.java
1654 (EtchedBorder): Removed.
1655 * javax/swing/border/LineBorder.java
1656 (LineBorder): Removed.
1657 * javax/swing/border/MatteBorder.java
1658 (MatteBorder): Removed.
1659 * javax/swing/border/TitledBorder.java
1660 (defaultBorder): Use other default for now.
1661 (defaultFont): Likewise.
1662 (defaultColor): Likewise.
1663
1664 2003-06-05 Michael Koch <konqueror@gmx.de>
1665
1666 * javax/swing/border/Border.java:
1667 New version from classpath.
1668
1669 2003-06-05 Michael Koch <konqueror@gmx.de>
1670
1671 * javax/swing/border/AbstractBorder.java,
1672 javax/swing/border/BevelBorder.java,
1673 javax/swing/border/CompoundBorder.java,
1674 javax/swing/border/EmptyBorder.java,
1675 javax/swing/border/EtchedBorder.java,
1676 javax/swing/border/LineBorder.java,
1677 javax/swing/border/MatteBorder.java,
1678 javax/swing/border/TitledBorder.java:
1679 New versions from Classpath.
1680
1681 2003-06-05 Michael Koch <konqueror@gmx.de>
1682
1683 * java/awt/Button.java,
1684 java/awt/Checkbox.java,
1685 java/awt/CheckboxMenuItem.java,
1686 java/awt/Choice.java,
1687 java/awt/Container.java,
1688 java/awt/Dialog.java,
1689 java/awt/EventQueue.java,
1690 java/awt/FileDialog.java,
1691 java/awt/Frame.java,
1692 java/awt/Label.java,
1693 java/awt/List.java,
1694 java/awt/Menu.java,
1695 java/awt/MenuItem.java,
1696 java/awt/Panel.java,
1697 java/awt/PopupMenu.java,
1698 java/awt/Rectangle.java,
1699 java/awt/ScrollPane.java,
1700 java/awt/Scrollbar.java,
1701 java/awt/TextArea.java,
1702 java/awt/TextField.java,
1703 java/awt/Window.java,
1704 java/awt/datatransfer/DataFlavor.java,
1705 java/awt/dnd/DragSource.java,
1706 java/awt/dnd/DragSourceContext.java,
1707 java/awt/event/HierarchyEvent.java,
1708 java/awt/event/MouseWheelEvent.java,
1709 java/awt/im/InputContext.java,
1710 java/awt/image/BufferedImage.java,
1711 java/awt/image/ComponentColorModel.java,
1712 java/awt/image/Raster.java,
1713 java/awt/image/WritableRaster.java,
1714 java/awt/peer/ComponentPeer.java,
1715 java/awt/print/PageFormat.java,
1716 java/awt/print/PrinterJob.java:
1717 New versions from Classpath.
1718
1719 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1720
1721 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1722 numberFormat.setParseIntegerOnly(true).
1723
1724 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1725
1726 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1727
1728 2003-06-03 Andrew Haley <aph@redhat.com>
1729
1730 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1731 stack volatile to prevent optimization from removing it.
1732
1733 2003-05-27 Michael Koch <konqueror@gmx.de>
1734
1735 * java/util/zip/Deflater.java
1736 (FILTERED): Merged documentation from classpath.
1737 * java/util/zip/DeflaterOutputStream.java
1738 (DeflaterOutputStream): Merged documentation and argument validity
1739 check from classpath.
1740 (deflate): Merged documentation from classpath.
1741 (finish): Likewise.
1742 * java/util/zip/Inflater.java
1743 (Inflater): Merged class documentation from classpath.
1744 (zstream): Reordered.
1745 (is_finished): Reordered.
1746 (dict_needed): Reordered.
1747 (Inflater): Reordered, merged documentation from classpath.
1748 (end): Likewise.
1749 (finalize): Merged documentation from classpath.
1750 (finished): Likewise.
1751 (getAdler): Likewise.
1752 (getRemaining): Likewise.
1753 (getTotalIn): Likewise.
1754 (getTotalOut): Likewise.
1755 (inflate): Likewise.
1756 (needsDictionary): Likewise.
1757 (needsInput): Likewise.
1758 (reset): Likewise.
1759 (setDictionary): Likewise.
1760 (setInput): Likewise.
1761
1762 2003-05-27 Michael Koch <konqueror@gmx.de>
1763
1764 * java/net/URLConnection.java
1765 (getHeaderFieldInt): Merged with classpath.
1766
1767 2003-05-27 Michael Koch <konqueror@gmx.de>
1768
1769 * java/io/PrintStream.java
1770 (PrintStream): Reformatted.
1771 (PrintStream): New method, merged from classpath.
1772 (write): Reformatted.
1773
1774 2003-05-27 Michael Koch <konqueror@gmx.de>
1775
1776 * java/lang/System.java:
1777 Explicitely import needed classes.
1778
1779 2003-05-26 Michael Koch <konqueror@gmx.de>
1780
1781 * java/net/NetPermission.java,
1782 java/net/NetworkInterface.java,
1783 java/net/PasswordAuthentication.java,
1784 java/net/SocketPermission.java:
1785 New versions from classpath.
1786
1787 2003-05-25 Michael Koch <konqueror@gmx.de>
1788
1789 * java/io/PushbackInputStream.java,
1790 java/net/Authenticator.java,
1791 java/net/ContentHandler.java,
1792 java/net/ContentHandlerFactory.java,
1793 java/net/DatagramSocket.java,
1794 java/net/DatagramSocketImpl.java,
1795 java/net/DatagramSocketImplFactory.java,
1796 java/net/FileNameMap.java,
1797 java/net/SocketImplFactory.java,
1798 java/net/SocketOptions.java,
1799 java/net/URLStreamHandlerFactory.java:
1800 Merged new versions from classpath.
1801
1802 2003-05-25 Michael Koch <konqueror@gmx.de>
1803
1804 * java/awt/Checkbox.java,
1805 java/awt/Dialog.java,
1806 java/awt/Font.java,
1807 java/awt/Frame.java,
1808 java/awt/ScrollPaneAdjustable.java,
1809 java/awt/Scrollbar.java,
1810 java/awt/Window.java:
1811 New versions from classpath.
1812
1813 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1814
1815 PR libgcj/10838:
1816 * java/io/ObjectInputStream (enableResolveObject):
1817 Fixed spelling of permission name.
1818
1819 2003-05-20 Michael Koch <konqueror@gmx.de>
1820
1821 * java/io/DataInputStream.java
1822 (convertFromUTF): Merged comment from classpath.
1823 * java/io/PrintStream.java
1824 (error_occured): Renamed from error, merged comment from classpath.
1825 (PrintStream): No need to initialized error.
1826 (checkError): Replace error with error_occurred.
1827 (setError): Likewise.
1828
1829 2003-05-20 Michael Koch <konqueror@gmx.de>
1830
1831 * java/io/DataInputStream.java:
1832 Reformatted, Replaced < and & with html entitites in documentation.
1833 * java/io/File.java:
1834 Reformatted.
1835 * java/io/PrintWriter.java:
1836 Moved class documentation.
1837
1838 2003-05-20 Michael Koch <konqueror@gmx.de>
1839
1840 * gnu/java/nio/ByteBufferImpl.java,
1841 gnu/java/nio/CharBufferImpl.java,
1842 gnu/java/nio/CharViewBufferImpl.java,
1843 gnu/java/nio/DirectByteBufferImpl.java,
1844 gnu/java/nio/DoubleBufferImpl.java,
1845 gnu/java/nio/DoubleViewBufferImpl.java,
1846 gnu/java/nio/FloatBufferImpl.java,
1847 gnu/java/nio/FloatViewBufferImpl.java,
1848 gnu/java/nio/IntBufferImpl.java,
1849 gnu/java/nio/IntViewBufferImpl.java,
1850 gnu/java/nio/LongBufferImpl.java,
1851 gnu/java/nio/LongViewBufferImpl.java,
1852 gnu/java/nio/natDirectByteBufferImpl.cc,
1853 gnu/java/nio/ShortBufferImpl.java,
1854 gnu/java/nio/ShortViewBufferImpl.java:
1855 Moved files to java/nio.
1856 * gnu/java/nio/SocketChannelImpl.java
1857
1858 * java/nio/ByteBuffer.java,
1859 java/nio/CharBuffer.java,
1860 java/nio/DoubleBuffer.java,
1861 java/nio/FloatBuffer.java,
1862 java/nio/IntBuffer.java,
1863 java/nio/LongBuffer.java,
1864 java/nio/ShortBuffer.java:
1865 Dont import anything.
1866 * java/nio/ByteBufferImpl.java,
1867 java/nio/CharBufferImpl.java,
1868 java/nio/CharViewBufferImpl.java,
1869 java/nio/DirectByteBufferImpl.java,
1870 java/nio/DoubleBufferImpl.java,
1871 java/nio/DoubleViewBufferImpl.java,
1872 java/nio/FloatBufferImpl.java,
1873 java/nio/FloatViewBufferImpl.java,
1874 java/nio/IntBufferImpl.java,
1875 java/nio/IntViewBufferImpl.java,
1876 java/nio/LongBufferImpl.java,
1877 java/nio/LongViewBufferImpl.java,
1878 java/nio/natDirectByteBufferImpl.cc,
1879 java/nio/ShortBufferImpl.java,
1880 java/nio/ShortViewBufferImpl.java:
1881 Moved from gnu/java/nio.
1882 * Makefile.am
1883 (ordinary_java_source_files): Moved files from gnu/java/nio to
1884 java/nio.
1885 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1886 to java/nio.
1887 * Makefile.in: Regenerated.
1888
1889 2003-05-19 Michael Koch <konqueror@gmx.de>
1890
1891 * java/util/Calendar.java
1892 (get): Not final anymore since JDK 1.4
1893 (set): Likewise.
1894
1895 2003-05-19 Michael Koch <konqueror@gmx.de>
1896
1897 * java/text/CollationKey.java:
1898 Merged copyright and dat from classpath.
1899 * java/text/RuleBasedCollator.java:
1900 Merged class documentation from classpath.
1901
1902 2003-05-19 Michael Koch <konqueror@gmx.de>
1903
1904 * java/nio/CharBuffer.java
1905 (toString): Compile fix.
1906
1907 2003-05-19 Michael Koch <konqueror@gmx.de>
1908
1909 * gnu/java/nio/ByteBufferImpl.java
1910 (putLong): Fixed conversion to bytes.
1911 (putDouble): Fixed conversion to bytes.
1912 * gnu/java/nio/DirectByteBufferImpl.java
1913 (putLong): Fixed conversion to bytes.
1914 (putDouble): Fixed conversion to bytes.
1915 * gnu/java/nio/FileLockImpl.java
1916 (isValid): Reformatted.
1917 * java/nio/Buffer.java
1918 (Buffer): Fixed off-by-one bug in handling mark.
1919 * java/nio/ByteBuffer.java:
1920 Added newline.
1921 * java/nio/CharBuffer.java
1922 (toString): Don't use relative get to get string data.
1923
1924 2003-05-16 Michael Koch <konqueror@gmx.de>
1925
1926 * java/io/natFileDescriptorPosix.cc
1927 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1928 tested.
1929
1930 2003-05-14 Michael Koch <konqueror@gmx.de>
1931
1932 * gnu/java/nio/FileLockImpl.java
1933 (released): New member variable.
1934 (FileLockImpl): Initialize released.
1935 (releaseImpl): New native method.
1936 (release): Implemented.
1937 * gnu/java/nio/SelectorImpl.java: Reformatted.
1938 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1939 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1940 (accept): Throws IOException.
1941 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1942 (implConfigureBlocking): Throws IOException.
1943 (connect): Likewise.
1944 (read): Likewise.
1945 (write): Likewise.
1946 * gnu/java/nio/natFileLockImpl.cc: New file.
1947 * java/nio/channels/FileLock.java: Reformatted.
1948 * Makefile.am:
1949 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1950 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1951 * Makefile.in: Regenerated.
1952
1953 2003-05-13 Michael Koch <konqueror@gmx.de>
1954
1955 * gnu/java/nio/CharViewBufferImpl.java
1956 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1957 (get): Shift bits to the right direction.
1958 (put): Likewise.
1959 * gnu/java/nio/DoubleViewBufferImpl.java
1960 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1961 (get): Shift bits to the right direction.
1962 (put): Likewise.
1963 * gnu/java/nio/FloatViewBufferImpl.java
1964 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1965 (get): Shift bits to the right direction.
1966 (put): Likewise.
1967 * gnu/java/nio/IntViewBufferImpl.java
1968 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1969 (get): Shift bits to the right direction.
1970 (put): Likewise.
1971 * gnu/java/nio/LongViewBufferImpl.java
1972 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1973 (get): Shift bits to the right direction.
1974 (put): Likewise.
1975 * gnu/java/nio/ShortViewBufferImpl.java
1976 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1977 (get): Shift bits to the right direction.
1978 (put): Likewise.
1979
1980 2003-05-13 Michael Koch <konqueror@gmx.de>
1981
1982 * gnu/java/nio/natDirectByteBufferImpl.cc
1983 (allocateImpl): jlong -> RawData*.
1984 (freeImpl): Likewise.
1985
1986 2003-05-13 Michael Koch <konqueror@gmx.de>
1987
1988 * java/nio/channels/FileChannel.java
1989 (MapMode.m): Made it package-private to match JDK 1.4.
1990 * java/nio/charset/Charset.java
1991 (decode): Made it final to match JDK 1.4.
1992
1993 2003-05-13 Michael Koch <konqueror@gmx.de>
1994
1995 * java/io/FileDescriptor.java
1996 (SYNC): New constant.
1997 (DSYNC): Likewise.
1998 (getLength): Renamed from lenght() to match classpath's
1999 FileDescriptor.java.
2000 * java/io/RandomAccessFile.java
2001 (RandomAccessFile): Removed unneeded mode check, implemented mode
2002 "rws" and "rwd", merged documentation from classpath.
2003 (setLength): Reformatted.
2004 (length): Use new getLength() of FileDescriptor.
2005 * java/io/natFileDescriptorEcos.cc
2006 (getLength): Renamed from length().
2007 * java/io/natFileDescriptorPosix.cc
2008 (open): Implemented support for SYNC and DSYNC.
2009 (seek): Use getLength() instead of length().
2010 (getLength): Renamed from length().
2011 * java/io/natFileDescriptorWin32.cc
2012 (getLength): Renamed from length().
2013 (seek): Use getLength() instead of length().
2014 (available): Likewise.
2015 * gnu/java/nio/natFileChannelImpl.cc
2016 (size): Use getLength() instead of length().
2017
2018 2003-05-13 Michael Koch <konqueror@gmx.de>
2019
2020 * gnu/java/nio/ByteBufferImpl.java
2021 (ByteBufferImpl): All constructors revised.
2022 (slice): Reimplemented.
2023 (duplicate): Reimplemented.
2024 (asReadOnlyBuffer): Reimplemented.
2025 * java/nio/ByteBuffer.java:
2026 Reformatted.
2027 (array_offset): Renamed from "offset" to match all other buffer
2028 classes.
2029 (ByteBuffer): All constructors revised.
2030 (allocateDirect): Implemented.
2031 (allocate): New implementation, documentation reworked.
2032 (wrap): Likewise.
2033 (get): Documentation reworked.
2034 (put): New implementation, documentation reworked.
2035 (hasArray): Documentation reworked.
2036 (arrayOffset): Likewise.
2037 (hashCode): Likewise.
2038 (equals): Likewise.
2039 (compareTo): Likewise.
2040 (order): Likewise.
2041 (compact): Likewise.
2042 (isDirect): Likewise.
2043 (slice): Likewise.
2044 (duplicate): Likewise.
2045 (asReadOnlyBuffer): Likewise.
2046 * Makefile.am
2047 (ordinary_java_source_files):
2048 Added gnu/java/nio/DirectByteBufferImpl.java.
2049 (nat_source_files):
2050 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2051 * Makefile.in: Regenerated.
2052
2053 2003-05-12 Michael Koch <konqueror@gmx.de>
2054
2055 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2056 (nio_get_*): Removed.
2057 (nio_put_*): Removed.
2058 (as*Buffer): Implemented.
2059 (compact): Implemented.
2060 (get): Documentation added.
2061 (put): Documentation added.
2062 (get*): Newly implemented.
2063 (put*): Newly implemented.
2064 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2065 (CharBufferImpl): Revised.
2066 (slice): New implementation.
2067 (duplicate): New implementation.
2068 (compact): New implementation.
2069 (asReadOnlyBuffer): New implementation.
2070 (get): Documentation revised.
2071 (order): Return native byte order.
2072 * gnu/java/nio/DirectByteBufferImpl.java
2073 (allocateDirect): objects can be null not 0.
2074 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2075 (DoubleBufferImpl): Revised.
2076 (slice): New implementation.
2077 (duplicate): New implementation.
2078 (compact): New implementation.
2079 (asReadOnlyBuffer): New implementation.
2080 (get): Documentation revised.
2081 (order): Return native byte order.
2082 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2083 (FloatBufferImpl): Revised.
2084 (slice): New implementation.
2085 (duplicate): New implementation.
2086 (compact): New implementation.
2087 (asReadOnlyBuffer): New implementation.
2088 (get): Documentation revised.
2089 (order): Return native byte order.
2090 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2091 (IntBufferImpl): Revised.
2092 (slice): New implementation.
2093 (duplicate): New implementation.
2094 (compact): New implementation.
2095 (asReadOnlyBuffer): New implementation.
2096 (get): Documentation revised.
2097 (order): Return native byte order.
2098 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2099 (LongBufferImpl): Revised.
2100 (slice): New implementation.
2101 (duplicate): New implementation.
2102 (compact): New implementation.
2103 (asReadOnlyBuffer): New implementation.
2104 (get): Documentation revised.
2105 (order): Return native byte order.
2106 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2107 (ShortBufferImpl): Revised.
2108 (slice): New implementation.
2109 (duplicate): New implementation.
2110 (compact): New implementation.
2111 (asReadOnlyBuffer): New implementation.
2112 (get): Documentation revised.
2113 (order): Return native byte order.
2114 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2115 (CharBuffer): Revised.
2116 (order): Removed.
2117 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2118 (DoubleBuffer): Revised.
2119 (allocateDirect): Removed.
2120 (order): Removed.
2121 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2122 (FloatBuffer): Revised.
2123 (allocateDirect): Removed.
2124 (order): Removed.
2125 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2126 (IntBuffer): Revised.
2127 (allocateDirect): Removed.
2128 (order): Removed.
2129 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2130 (LongBuffer): Revised.
2131 (allocateDirect): Removed.
2132 (order): Removed.
2133 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2134 (ShortBuffer): Revised.
2135 (allocateDirect): Removed.
2136 (order): Removed.
2137 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2138 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2139 * Makefile.am
2140 (ordinary_java_source_files): Added the following files:
2141 gnu/java/nio/CharViewBufferImpl.java,
2142 gnu/java/nio/DoubleViewBufferImpl.java,
2143 gnu/java/nio/FloatViewBufferImpl.java,
2144 gnu/java/nio/IntViewBufferImpl.java,
2145 gnu/java/nio/LongViewBufferImpl.java,
2146 gnu/java/nio/ShortViewBufferImpl.java
2147 (nat_source_files): Removed the following files:
2148 gnu/java/nio/natByteBufferImpl.cc,
2149 gnu/java/nio/natCharBufferImpl.cc
2150 * Makefile.in: Regenerated.
2151
2152 2003-05-12 Michael Koch <konqueror@gmx.de>
2153
2154 * gnu/java/nio/CharViewBufferImpl.java,
2155 gnu/java/nio/DirectByteBufferImpl.java,
2156 gnu/java/nio/DoubleViewBufferImpl.java,
2157 gnu/java/nio/FloatViewBufferImpl.java,
2158 gnu/java/nio/IntViewBufferImpl.java,
2159 gnu/java/nio/LongViewBufferImpl.java,
2160 gnu/java/nio/ShortViewBufferImpl.java,
2161 gnu/java/nio/natDirectByteBufferImpl.cc:
2162 New files, not yet to be compiled.
2163
2164 2003-05-10 Michael Koch <konqueror@gmx.de>
2165
2166 * javax/swing/plaf/ButtonUI.java,
2167 javax/swing/plaf/ColorUIResource.java,
2168 javax/swing/plaf/ComponentUI.java,
2169 javax/swing/plaf/DimensionUIResource.java,
2170 javax/swing/plaf/FontUIResource.java,
2171 javax/swing/plaf/IconUIResource.java,
2172 javax/swing/plaf/InsetsUIResource.java,
2173 javax/swing/plaf/LabelUI.java,
2174 javax/swing/plaf/ListUI.java,
2175 javax/swing/plaf/OptionPaneUI.java,
2176 javax/swing/plaf/PanelUI.java,
2177 javax/swing/plaf/TabbedPaneUI.java,
2178 javax/swing/plaf/TextUI.java,
2179 javax/swing/plaf/TreeUI.java,
2180 javax/swing/plaf/ViewportUI.java,
2181 javax/swing/plaf/basic/BasicBorders.java,
2182 javax/swing/plaf/basic/BasicButtonUI.java,
2183 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2184 javax/swing/plaf/basic/BasicDefaults.java,
2185 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2186 javax/swing/plaf/basic/BasicIconFactory.java,
2187 javax/swing/plaf/basic/BasicLabelUI.java,
2188 javax/swing/plaf/basic/BasicListUI.java,
2189 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2190 javax/swing/plaf/basic/BasicPanelUI.java,
2191 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2192 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2193 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2194 javax/swing/plaf/basic/BasicTextUI.java,
2195 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2196 javax/swing/plaf/basic/BasicTreeUI.java,
2197 javax/swing/plaf/basic/BasicViewportUI.java,
2198 javax/swing/plaf/metal/MetalLookAndFeel.java:
2199 New versions from classpath. This adds copyrights to all files and
2200 some serialVersionUIDs.
2201
2202 2003-05-10 Michael Koch <konqueror@gmx.de>
2203
2204 * java/nio/CharBuffer.java
2205 (offset): Make it package-private.
2206 (backing_buffer): Likewise.
2207 * java/nio/DoubleBuffer.java
2208 (offset): Make it package-private.
2209 (backing_buffer): Likewise.
2210 (put): Reformatted.
2211 * java/nio/FloatBuffer.java
2212 (offset): Make it package-private.
2213 (backing_buffer): Likewise.
2214 * java/nio/IntBuffer.java
2215 (offset): Make it package-private.
2216 (backing_buffer): Likewise.
2217 * java/nio/LongBuffer.java
2218 (offset): Make it package-private.
2219 (backing_buffer): Likewise.
2220 * java/nio/ShortBuffer.java
2221 (offset): Make it package-private.
2222 (backing_buffer): Likewise.
2223
2224 2003-05-10 Michael Koch <konqueror@gmx.de>
2225
2226 * java/nio/CharBuffer.java
2227 (put): Fixed precondtion check.
2228 (toString): Make it work without backing array.
2229 (put): Skip one level of method calling.
2230
2231 2003-05-10 Michael Koch <konqueror@gmx.de>
2232
2233 * java/security/Identity.java,
2234 java/security/IdentityScope.java,
2235 java/security/Key.java,
2236 java/security/KeyPair.java,
2237 java/security/PrivateKey.java,
2238 java/security/Provider.java,
2239 java/security/PublicKey.java,
2240 java/security/SecureRandom.java,
2241 java/security/SecureRandomSpi.java,
2242 java/security/SignedObject.java,
2243 java/security/Signer.java,
2244 java/security/cert/Certificate.java,
2245 java/security/cert/PKIXCertPathBuilderResult.java,
2246 java/security/cert/X509Certificate.java:
2247 New versions from classpath.
2248
2249 2003-05-09 Tom Tromey <tromey@redhat.com>
2250
2251 * Makefile.in: Rebuilt.
2252 * Makefile.am (nat_source_files): Removed old files.
2253 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2254 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2255 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2256 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2257 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2258
2259 2003-05-09 Michael Koch <konqueror@gmx.de>
2260
2261 * gnu/java/nio/ByteBufferImpl.java
2262 (nio_cast): Removed.
2263 (ByteBufferImpl): Removed.
2264 (nio_get_Byte): Removed.
2265 (nio_put_Byte): Removed.
2266 (asByteBuffer): Removed.
2267 (asCharBuffer): Removed implementation and throw exception.
2268 (asShortBuffer): Likewise.
2269 (asIntBuffer): Likewise.
2270 (asLongBuffer): Likewise.
2271 (asFloatBuffer): Likewise.
2272 (asDoubleBuffer): Likewise.
2273 * gnu/java/nio/CharBufferImpl.java
2274 (CharBufferImpl): Removed.
2275 (nio_get_Byte): Removed.
2276 (nio_put_Byte): Removed.
2277 (asByteBuffer): Removed.
2278 * gnu/java/nio/DoubleBufferImpl.java
2279 (DoubleBufferImpl): Removed.
2280 (nio_get_Byte): Removed.
2281 (nio_put_Byte): Removed.
2282 (asByteBuffer): Removed.
2283 * gnu/java/nio/FloatBufferImpl.java
2284 (FloatBufferImpl): Removed.
2285 (nio_get_Byte): Removed.
2286 (nio_put_Byte): Removed.
2287 (asByteBuffer): Removed.
2288 * gnu/java/nio/IntBufferImpl.java
2289 (IntBufferImpl): Removed.
2290 (nio_get_Byte): Removed.
2291 (nio_put_Byte): Removed.
2292 (asByteBuffer): Removed.
2293 * gnu/java/nio/LongBufferImpl.java
2294 (LongBufferImpl): Removed.
2295 (nio_get_Byte): Removed.
2296 (nio_put_Byte): Removed.
2297 (asByteBuffer): Removed.
2298 * gnu/java/nio/ShortBufferImpl.java
2299 (ShortBufferImpl): Removed.
2300 (nio_get_Byte): Removed.
2301 (nio_put_Byte): Removed.
2302 (asByteBuffer): Removed.
2303 * gnu/java/nio/natByteBufferImpl.cc
2304 (nio_cast): Removed.
2305 (nio_get_Byte): Removed.
2306 (nio_put_Byte): Removed.
2307 * gnu/java/nio/natCharBufferImpl.cc
2308 (nio_get_Byte): Removed.
2309 (nio_put_Byte): Removed.
2310
2311 2003-05-09 Michael Koch <konqueror@gmx.de>
2312
2313 * java/net/JarURLConnection.java
2314 (getJarEntry): Merged documentation from classpath.
2315 (getJarFile): Likewise.
2316 (getMainAttributes): Likewise.
2317 (getAttributes): Likewise.
2318 (getManifest): Likewise.
2319 (getCertificates): Reformatted.
2320 * java/net/URLConnection.java:
2321 Little classpath merge.
2322
2323 2003-05-09 Michael Koch <konqueror@gmx.de>
2324
2325 * java/io/DataOutputStream.java
2326 (writeShort): Made it synchronized.
2327 (writeChar): Likewise.
2328 (writeInt): Likewise.
2329 (writeLong): Liekwise.
2330 (writeUTF): Made it synchronized, renamed argument to match classpath.
2331 * java/io/InputStreamReader.java
2332 (converter): Added documentation.
2333 (read): Merged documentation from classpath.
2334 * java/io/OutputStreamWriter.java
2335 (OutputStreamWriter): Merged documentation from classpath.
2336 (close): Reformatted.
2337 (getEncoding): Likewise.
2338 (flush): Likewise.
2339 (write): Merged documentation from classpath, reformatted.
2340
2341 2003-05-08 Tom Tromey <tromey@redhat.com>
2342
2343 * configure.host <powerpc64*-*>: Set with_libffi_default and
2344 libgcj_interpreter to "yes".
2345
2346 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2347
2348 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2349
2350 2003-05-06 Tom Tromey <tromey@redhat.com>
2351
2352 * verify.cc: Reverted previous patch.
2353
2354 2003-05-06 Michael Koch <konqueror@gmx.de>
2355
2356 * java/io/DataOutputStream.java
2357 (write): Renamed argument to "value", merged documentation from
2358 classpath.
2359 (writeBoolean): Likewise.
2360 (writeByte): Likewise.
2361 (writeShort): Likewise.
2362 (writeChar): Likewise.
2363 (writeInt): Likewise.
2364 (writeLong): Likewise.
2365 (writeFloat): Likewise.
2366 (writeDouble): Likewise.
2367 (writeBytes): Likewise.
2368 (writeChars): Likewise.
2369 (writeUTF): Likewise.
2370 * java/io/File.java
2371 (performDelete): Added documentation.
2372 (performList): Likewise.
2373 (performMkdir): Likewise.
2374 (performSetReadOnly): Likewise.
2375 (performRenameTo): Likewise.
2376 (performSetLastModified): Likewise.
2377 (delete): Made it sychronized.
2378 (renameTo): Made it sychronized.
2379 (equals): Reformatted.
2380 (isHidden): Likewise.
2381 (listFiles): Likewise.
2382 (setReadOnly): Likewise.
2383 (listRoots): Likewise.
2384 (setLastModified): Likewise.
2385 (checkRead): Likewise.
2386 (checkWrite): Likewise.
2387 * java/io/FileInputStream.java
2388 (skip): Made it sychronized, merged from classpath.
2389 * java/io/FileOutputStream.java
2390 (write): Merged from classpath.
2391 * java/io/InputStreamReader.java:
2392 (InputStreamReader): Merged documentation from classpath.
2393
2394 2003-05-05 Michael Koch <konqueror@gmx.de>
2395
2396 * java/net/NetworkInterface.java
2397 (networkInterfaces): Removed.
2398 (getByName): Use getRealNetworkInterfaces() instead of
2399 networkInterfaces.
2400 (getByInetAddress): Likewise.
2401 (getNetworkInterfaces): Likewise.
2402 (toString): Fix output of addresses of an interface.
2403
2404 2003-05-05 Michael Koch <konqueror@gmx.de>
2405
2406 * java/io/DataInputStream.java:
2407 Merged new documentation from classpath.
2408
2409 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2410
2411 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2412 "version".
2413 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2414 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2415 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2416 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2417 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2418 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2419 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2420 * java/security/Key.java: Likewise.
2421 * java/security/PrivateKey.java: Likewise.
2422 * java/security/Provider.java: Likewise.
2423 * java/security/PublicKey.java: Likewise.
2424
2425 2003-05-02 Michael Koch <konqueror@gmx.de>
2426
2427 * java/net/URI.java
2428 (create): Doesnt throws any exceptions.
2429 * java/net/URLConnection.java
2430 (URLConnection): Commend added.
2431 (getExpiration): The header field is called "expires" not
2432 "expiration".
2433 (getHeaderField): Merged documentation with classpath.
2434 (getHeaderFieldInt): Likewise.
2435 (getHeaderFieldDate): Likewise.
2436 (getHeaderFieldKey): Likewise.
2437 (getPermission): Likewise.
2438 (setDefaultUseCaches): Likewise.
2439 (setRequestProperty): Likewise.
2440 (addRequestProperty): Likewise.
2441 (getRequestProperty): Likewise.
2442 (getRequestProperties): Likewise.
2443 (setDefaultRequestProperty): Likewise.
2444 (getDefaultRequestProperty): Likewise.
2445 (guessContentTypeFromStream): Likewise.
2446 (getFileNameMap): Likewise.
2447 (setFileNameMap): Likewise.
2448 (setDoInput): Merged implementation and documentation with classpath.
2449 (setDoOutput): Likewise.
2450 (setAllowUserInteraction): Likewise.
2451 (setDefaultAllowUserInteraction): Likewise.
2452 (setContentHandlerFactory): Made it synchronized, merged documentation
2453 with classpath.
2454 (guessContentTypeFromName): Renamed argument fname to filename to
2455 match classpath, merged documentation with classpath.
2456
2457 2003-05-02 Michael Koch <konqueror@gmx.de>
2458
2459 * java/net/JarURLConnection.java
2460 (JarURLConnection): Class documentation merged with classpath.
2461 (getJarFileURL): Moved and documentation merged with classpath.
2462 (getEntryName): Likewise.
2463 (JarURLConnection): Documentation merged with classpath.
2464 (getJarEntry): Likewise.
2465 (getJarFile): Likewise.
2466 * java/net/PlainDatagramSocketImpl.java:
2467 Class documentation moved.
2468 * java/net/URLConnection.java
2469 (fileNameMap): Moved and documentation merged with classpath.
2470 (factory): Likewise.
2471 (defaultAllowUserInteraction): Likewis.
2472 (defaultUseCaches): Likewise.
2473 (allowUserInteraction): Likewise.
2474 (connected): Likewise.
2475 (url): Likewise.
2476 (connect): Documentation merged with classpath.
2477 (getURL): Likewise.
2478 (getContentLength): Likewise.
2479 (getContentType): Likewise.
2480 (getContentEncoding): Likewise.
2481 (getExpiration): Likewise.
2482 (getDate): Likewise.
2483 (getLastModified): Likewise.
2484 (getHeaderField): Likewise.
2485 (getContent): Likewise.
2486 (getPermission): Likewise.
2487 (getInputStream): Likewise.
2488 (getOutputStream): Likewise.
2489 (toString): Likewise.
2490 (getDoInput): Likewise.
2491 (getDoOutput): Likewise.
2492 (setAllowUserInteraction): Likewise.
2493 (getAllowUserInteraction): Likewise.
2494 (setDefaultAllowUserInteraction): Likewise.
2495 (getDefaultAllowUserInteraction): Likewise.
2496 (setUseCaches): Likewise.
2497 (getUseCaches): Likewise.
2498 (setIfModifiedSince): Likewise.
2499 (getIfModifiedSince): Likewise.
2500 (setDefaultRequestProperty): Likewise.
2501 (getDefaultRequestProperty): Likewise.
2502 (setContentHandlerFactory): Likewise.
2503 (setFileNameMap): Likewise.
2504
2505 2003-05-02 Michael Koch <konqueror@gmx.de>
2506
2507 * java/net/InetAddress.java:
2508 Merged class documentation with classpath.
2509 * java/net/JarURLConnection.java:
2510 Explicitely import all used classes.
2511 * java/net/URL.java:
2512 Reformatting.
2513 * java/net/ServerSocket.java,
2514 java/net/Socket.java:
2515 New versions from classpath.
2516
2517 2003-05-02 Michael Koch <konqueror@gmx.de>
2518
2519 * gnu/java/nio/FileChannelImpl.java
2520 (read): New implementation.
2521 (implRead): New methods.
2522 (write): New implementation, call other write insteal of read method.
2523 (implWrite): New methods.
2524 (map): Added comment.
2525 (transferFrom): Implemented.
2526 (transferTo): Implemented.
2527 (lock): Added checks to throw exceptions.
2528 (truncate): Added check to throw exception.
2529 * gnu/java/nio/natFileChannelImpl.cc
2530 (implRead): New method.
2531 (implWrite): New method.
2532 * java/nio/ByteBuffer.java
2533 (hashCode): Fixed comment.
2534 (get): Fixed exception documentation.
2535 (put): Fixed exception documentation.
2536 * java/nio/CharBuffer.java:
2537 Added comment for later optimizations.
2538
2539 2003-04-30 Tom Tromey <tromey@redhat.com>
2540
2541 PR libgcj/10582:
2542 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2543 Removed.
2544 (type::compatible): Use _Jv_IsAssignableFrom.
2545 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2546 (_Jv_IsAssignableFrom): Work even when source or target class is
2547 not prepared.
2548
2549 2003-04-30 Michael Koch <konqueror@gmx.de>
2550
2551 * java/text/BreakIterator.java
2552 (clone): New method.
2553
2554 2003-04-30 Michael Koch <konqueror@gmx.de>
2555
2556 * java/text/CollationElementIterator.java,
2557 java/text/CollationKey.java,
2558 java/text/RuleBasedCollator.java:
2559 Merged copyright and documentation from classpath and
2560 rearranged some code. No code changes done.
2561
2562 2003-04-30 Michael Koch <konqueror@gmx.de>
2563
2564 * java/util/regex/Matcher.java
2565 (pattern): New member variable.
2566 (appendReplacement): New method.
2567 (appendTail): New method.
2568 (end): New method.
2569 (find): New method.
2570 (group): New method.
2571 (replaceFirst): Added documentation.
2572 (replaceAll): Added documentation.
2573 (groupCount): New method.
2574 (lookingAt): New method.
2575 (matches): New method.
2576 (reset): New method.
2577 (start): New method.
2578 * java/util/regex/Pattern.java
2579 (serialVersionUID): New constant.
2580 (CANON_EQ): New constant.
2581 (CASE_INSENSITIVE): New constant.
2582 (COMMENTS): New constant.
2583 (DOTALL): New constant.
2584 (MULTILINE): New constant.
2585 (UNICODE_CASE): New constant.
2586 (UNIX_LINES): New constant.
2587 (regex): New member variable.
2588 (flags): New member variable.
2589 (Pattern): New method.
2590 (compile): Documentation added.
2591 (flags): New method.
2592 (matches): Documentation added.
2593 (matcher): Documentation added.
2594 (split): Documentation added.
2595 (pattern): New method.
2596
2597 2003-04-30 Michael Koch <konqueror@gmx.de>
2598
2599 * gnu/java/security/Engine.java,
2600 gnu/java/security/OID.java,
2601 gnu/java/security/der/BitString.java,
2602 gnu/java/security/der/DER.java,
2603 gnu/java/security/der/DERReader.java,
2604 gnu/java/security/der/DERValue.java,
2605 gnu/java/security/der/DERWriter.java,
2606 gnu/java/security/provider/DSAKeyFactory.java,
2607 gnu/java/security/provider/X509CertificateFactory.java,
2608 gnu/java/security/x509/X500DistinguishedName.java,
2609 gnu/java/security/x509/X509CRL.java,
2610 gnu/java/security/x509/X509CRLEntry.java,
2611 gnu/java/security/x509/X509Certificate.java,
2612 java/security/cert/CRLSelector.java,
2613 java/security/cert/CertPathBuilder.java,
2614 java/security/cert/CertPathBuilderResult.java,
2615 java/security/cert/CertPathBuilderSpi.java,
2616 java/security/cert/CertPathParameters.java,
2617 java/security/cert/CertPathValidator.java,
2618 java/security/cert/CertPathValidatorResult.java,
2619 java/security/cert/CertPathValidatorSpi.java,
2620 java/security/cert/CertSelector.java,
2621 java/security/cert/CertStore.java,
2622 java/security/cert/CertStoreParameters.java,
2623 java/security/cert/CertStoreSpi.java,
2624 java/security/cert/CollectionCertStoreParameters.java,
2625 java/security/cert/LDAPCertStoreParameters.java,
2626 java/security/cert/PKIXBuilderParameters.java,
2627 java/security/cert/PKIXCertPathBuilderResult.java,
2628 java/security/cert/PKIXCertPathChecker.java,
2629 java/security/cert/PKIXCertPathValidatorResult.java,
2630 java/security/cert/PKIXParameters.java,
2631 java/security/cert/PolicyNode.java,
2632 java/security/cert/PolicyQualifierInfo.java,
2633 java/security/cert/TrustAnchor.java,
2634 javax/security/auth/x500/X500Principal.java:
2635 New files from classpath.
2636 * gnu/java/io/ASN1ParsingException.java,
2637 gnu/java/io/Base64InputStream.java,
2638 gnu/java/security/der/DEREncodingException.java,
2639 gnu/java/security/provider/DSAParameters.java,
2640 gnu/java/security/provider/DSASignature.java,
2641 gnu/java/security/provider/Gnu.java,
2642 gnu/java/security/provider/GnuDSAPrivateKey.java,
2643 gnu/java/security/provider/GnuDSAPublicKey.java,
2644 java/security/AlgorithmParameterGenerator.java,
2645 java/security/AlgorithmParameters.java,
2646 java/security/KeyFactory.java,
2647 java/security/KeyPairGenerator.java,
2648 java/security/KeyStore.java,
2649 java/security/MessageDigest.java,
2650 java/security/SecureClassLoader.java,
2651 java/security/SecureRandom.java,
2652 java/security/Security.java,
2653 java/security/Signature.java,
2654 java/security/cert/Certificate.java,
2655 java/security/cert/CertificateFactory.java,
2656 java/security/cert/CertificateFactorySpi.java,
2657 java/security/cert/X509CRL.java,
2658 java/security/cert/X509Certificate.java,
2659 java/security/spec/DSAPublicKeySpec.java:
2660 New versions from classpath.
2661 * gnu/java/security/provider/DERReader.java,
2662 gnu/java/security/provider/DERWriter.java,
2663 java/security/Engine.java: Removed.
2664 * Makefile.am
2665 (java_source_files, javax_source_files): Added new files.
2666 * Makefile.in: Regenerated.
2667
2668 2003-04-29 Michael Koch <konqueror@gmx.de>
2669
2670 * javax/swing/JTable.java
2671 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2672 (AUTO_RESIZE_LAST_COLUMN): New constant.
2673 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2674 (AUTO_RESIZE_OFF): New constant.
2675 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2676 (JTable): New method.
2677 (columnAdded): New method.
2678 (columnMarginChanged): New method.
2679 (columnMoved): New method.
2680 (columnRemoved): New method.
2681 (columnSelectionChanged): New method.
2682 (editingCanceled): New method.
2683 (editingStopped): New method.
2684 (getColumnModel): New method.
2685 (getPreferredScrollableViewportSize): New method.
2686 (getScrollableBlockIncrement): New method.
2687 (getScrollableTracksViewportHeight): New method.
2688 (getScrollableTracksViewportWidth): New method.
2689 (getScrollableUnitIncrement): New method.
2690 (getSelectedRow): New method.
2691 (getSelectionModel): New method.
2692 (tableChanged): New method.
2693 (setModel): New method.
2694 (setSelectionMode): New method.
2695 (setSelectionModel): New method.
2696 (setShowGrid): New method.
2697 (valueChanged): New method.
2698 * javax/swing/text/DefaultEditorKit.java
2699 (backwardAction): New constant.
2700 (beepAction): New constant.
2701 (beginAction): New constant.
2702 (beginLineAction): New constant.
2703 (beginParagraphAction): New constant.
2704 (beginWordAction): New constant.
2705 (copyAction): New constant.
2706 (cutAction): New constant.
2707 (defaultKeyTypedAction): New constant.
2708 (deleteNextCharAction): New constant.
2709 (deletePrevCharAction): New constant.
2710 (downAction): New constant.
2711 (endAction): New constant.
2712 (endLineAction): New constant.
2713 (endOfLineStringProperty): New constant.
2714 (endParagraphAction): New constant.
2715 (endWordAction): New constant.
2716 (forwardAction): New constant.
2717 (insertBreakAction): New constant.
2718 (insertContentAction): New constant.
2719 (insertTabAction): New constant.
2720 (nextWordAction): New constant.
2721 (pageDownAction): New constant.
2722 (pageUpAction): New constant.
2723 (pasteAction): New constant.
2724 (previousWordAction): New constant.
2725 (readOnlyAction): New constant.
2726 (selectAllAction): New constant.
2727 (selectionBackwardAction): New constant.
2728 (selectionBeginAction): New constant.
2729 (selectionBeginLineAction): New constant.
2730 (selectionBeginParagraphAction): New constant.
2731 (selectionBeginWordAction): New constant.
2732 (selectionDownAction): New constant.
2733 (selectionEndAction): New constant.
2734 (selectionEndLineAction): New constant.
2735 (selectionEndParagraphAction): New constant.
2736 (selectionEndWordAction): New constant.
2737 (selectionForwardAction): New constant.
2738 (selectionNextWordAction): New constant.
2739 (selectionPreviousWordAction): New constant.
2740 (selectionUpAction): New constant.
2741 (selectLineAction): New constant.
2742 (selectParagraphAction): New constant.
2743 (selectWordAction): New constant.
2744 (upAction): New constant.
2745 (writableAction): New constant.
2746
2747 2003-04-29 Michael Koch <konqueror@gmx.de>
2748
2749 * java/util/PropertyPermission.java:
2750 New version from classpath
2751 * java/util/ResourceBundle.java:
2752 Partly merged from classpath
2753 (getObject): Reformated.
2754 (tryBundle): Set foundBundle = null if no bundle found.
2755
2756 2003-04-29 Michael Koch <konqueror@gmx.de>
2757
2758 * javax/swing/AbstractListModel.java,
2759 javax/swing/DefaultBoundedRangeModel.java,
2760 javax/swing/DefaultSingleSelectionModel.java:
2761 New Versions from classpath.
2762
2763 2003-04-29 Michael Koch <konqueror@gmx.de>
2764
2765 * java/awt/Window.java
2766 (show): Call super.show() instead of setVisible() to avoid endless
2767 loop.
2768 (hide): Call super.hide() instead of setVisible() to avoid endless
2769 loop.
2770
2771 2003-04-29 Michael Koch <konqueror@gmx.de>
2772
2773 * java/util/zip/Deflater.java,
2774 java/util/zip/DeflaterOutputStream.java:
2775 Partly merged with classpath.
2776
2777 2003-04-27 Tom Tromey <tromey@redhat.com>
2778
2779 * java/lang/natString.cc (_Jv_AllocString): Initialize
2780 cachedHashCode.
2781 (init): Likewise.
2782 (_Jv_NewStringUtf8Const): Likewise.
2783
2784 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2785
2786 * include/jvm.h: (_Jv_GetNbArgs) added
2787 (_Jv_GetSafeArg) added
2788 (_Jv_SetArgs) added
2789 * prims.cc: (_Jv_GetNbArgs) implemented
2790 (_Jv_GetSafeArg) implemented
2791 (_Jv_SetArgs) implemented
2792 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2793 setting _Jv_argc and _Jv_argv
2794 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2795 instead of _Jv_argv
2796 * java/lang/natRuntime.cc: (insertSystemProperties) use
2797 _Jv_GetSafeArg() instead of _Jv_argv
2798
2799 2003-04-23 Tom Tromey <tromey@redhat.com>
2800
2801 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2802 required by this object. Search superclasses to find required
2803 alignment.
2804 (get_alignment_from_class): Use alignment of type as it appears
2805 in a struct.
2806 (ALIGNOF): New macro.
2807 (struct aligner): New helper structure.
2808
2809 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2810
2811 * java/awt/Container.java (addImpl): Enable paint events if adding
2812 a lightweight to a heavyweight.
2813 (addNotify): Ensure that peer is created before
2814 addNotifyContainerChildren.
2815 (addNotifyContainerChildren): Enable paint events if a heavyweight
2816 container contains a lightweight.
2817
2818 2003-04-20 Tom Tromey <tromey@redhat.com>
2819
2820 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2821 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2822 Classpath.
2823
2824 2003-04-19 Tom Tromey <tromey@redhat.com>
2825
2826 * java/sql/Date.java, java/sql/DriverManager.java,
2827 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2828 Classpath.
2829
2830 * Makefile.in: Rebuilt.
2831 * Makefile.am (ordinary_java_source_files): Added new files.
2832 * java/security/AlgorithmParameterGenerator.java,
2833 java/security/AlgorithmParameters.java, java/security/Engine.java,
2834 java/security/Identity.java, java/security/IdentityScope.java,
2835 java/security/KeyFactory.java,
2836 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2837 java/security/MessageDigest.java, java/security/Policy.java,
2838 java/security/ProtectionDomain.java,
2839 java/security/SecureRandom.java, java/security/Security.java,
2840 java/security/Signature.java, java/security/SignatureSpi.java,
2841 java/security/SignedObject.java, java/security/Signer.java,
2842 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2843 java/security/spec/PSSParameterSpec.java,
2844 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2845 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2846 Classpath.
2847
2848 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2849
2850 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2851 (dispose): Null metrics.
2852 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2853 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2854 finalize.
2855 (finalize): Call dispose.
2856 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2857 (gcCachedCount): New field.
2858 (finalize): New method.
2859 (putGCInCache): New method.
2860 (getGCFromCache): New method.
2861 * gnu/gcj/xlib/GC.java (GC): Make protected.
2862 (clone): Get new GC from cache if possible.
2863 (create): New static method.
2864 (dispose): Save old GC in cache.
2865 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2866 deleting.
2867 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2868 is null.
2869 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2870 * java/awt/Container.java (visitChild): Dispose gfx2 when
2871 finished.
2872
2873 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2874
2875 * java/math/BigInteger.java (probablePrime): New.
2876 * java/math/BigDecimal.java (unscaledValue): New.
2877
2878 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2879
2880 * java/io/File.java (getAbsolutePath): On Windows, take care
2881 of paths like "C:", "G:foo\bar", etc.
2882 (getName): Make it work correctly on Windows.
2883 (getParent): Make it work correctly on Windows. For UNIX,
2884 fix bug that causes "/" to be returned as the parent of "/",
2885 instead of null as returned by Sun's JRE.
2886
2887 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2888
2889 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2890
2891 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2892 inner class.
2893 (CACHE_SIZE_PER_DISPLAY): New field
2894 (fontMetricsCache): New field
2895 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2896 loading ISO10646-1 fonts.
2897
2898 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2899
2900 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2901 characters.
2902 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2903 characters.
2904
2905 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2906
2907 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2908 floating point.
2909
2910 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2911
2912 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2913 installed libpthread is either linuxthreads with floating stacks or
2914 NPTL.
2915
2916 2003-04-14 Tom Tromey <tromey@redhat.com>
2917
2918 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2919 of alignment.
2920
2921 2003-04-10 Tom Tromey <tromey@redhat.com>
2922
2923 * verify.cc (pop64): Removed.
2924 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2925 exception if top-of-stack is narrow.
2926 (initialize_stack): Check to ensure that <init> is not static and
2927 <clinit> is.
2928
2929 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2930
2931 * java/io/ObjectStreamException
2932 * java/io/FileFilter
2933 * java/io/FilenameFilter
2934 * java/io/ObjectInput
2935 * java/io/ObjectOutput
2936 * java/io/ObjectStreamConstants
2937 Minor doc fixes, format fixes, spelling corrections, etc.
2938 * java/io/DataInput
2939 Corrected code samples in Javadocs to match reality
2940 * java/io/DataOutput
2941 * java/io/ObjectInputValidation
2942 Major documentation fixes - all Javadocs re-written or updated
2943
2944 2003-04-06 Michael Koch <konqueror@gmx.de>
2945
2946 * java/net/URLConnection.java:
2947 Import classes directly.
2948 (URLConnection): Merged class documentation with classpath.
2949 (url): Moved, documentation from classpath added.
2950 (doInput): Moved, documentation from classpath added.
2951 (doOutput): Moved, documentation from classpath added.
2952 (allowUserInteraction): Moved.
2953 (useCaches): Moved, documentation from classpath added.
2954 (ifModifiedSince): Moved, documentation from classpath added.
2955 (connected): Moved, documentation from classpath added.
2956
2957 2003-04-06 Michael Koch <konqueror@gmx.de>
2958
2959 * java/io/FileInputStream.java
2960 (skip): Renamed some variables to match classpath, added
2961 checks from classpath.
2962
2963 2003-03-31 Michael Koch <konqueror@gmx.de>
2964
2965 * javax/swing/AbstractAction.java
2966 (AbstractAction): Reformatted.
2967 (serialVersionUID): New private member variable.
2968 * javax/swing/plaf/BorderUIResource.java
2969 (serialVersionUID): New private member variable.
2970 * javax/swing/plaf/basic/BasicLookAndFeel.java
2971 (serialVersionUID): New private member variable.
2972
2973 2003-03-31 Michael Koch <konqueror@gmx.de>
2974
2975 * java/sql/Date.java
2976 (valueOf): Deprecated, reformatted.
2977 (toString): Deprecated, reformatted.
2978 * java/sql/Time.java
2979 (valueOf): Deprecated, reformatted.
2980 (toString): Deprecated, reformatted.
2981
2982 2003-03-31 Michael Koch <konqueror@gmx.de>
2983
2984 * java/rmi/dgc/VMID.java
2985 (isUnique): Deprecated.
2986
2987 2003-03-31 Michael Koch <konqueror@gmx.de>
2988
2989 * java/io/File.java
2990 (separator): Merged documentation from classpath.
2991 (separatorChar): Merged documentation from classpath.
2992 (pathSeparator): Merged documentation from classpath.
2993 (pathSeparatorChar): Merged documentation from classpath.
2994 (path): Merged documentation from classpath.
2995 (canRead): Merged documentation from classpath.
2996 (canWrite): Merged documentation from classpath.
2997 (createNewFile): Merged documentation from classpath.
2998 (delete): Merged documentation from classpath.
2999 (equals): Merged documentation from classpath.
3000 (exists): Merged documentation from classpath.
3001 (File): Renamed p to name to match classpath, merged documentation
3002 from classpath.
3003 (getAbsolutePath): Merged documentation from classpath.
3004 (getCanonicalPath): Merged documentation from classpath.
3005 (getCanonicalFile): Merged documentation from classpath.
3006 (getName): Merged documentation from classpath.
3007 (getParent): Merged documentation from classpath.
3008 (getParentFile): Merged documentation from classpath.
3009 (getPath): Merged documentation from classpath.
3010 (hashCode): Merged documentation from classpath.
3011 (isAbsolute): Merged documentation from classpath.
3012 (isDirectory): Merged documentation from classpath.
3013 (isFile): Merged documentation from classpath.
3014 (isHidden): Merged documentation from classpath.
3015 (lastModified): Merged documentation from classpath.
3016 (length): Merged documentation from classpath.
3017 (list): Merged documentation from classpath.
3018 (listFiles): Merged documentation from classpath.
3019 (toString): Merged documentation from classpath.
3020 (toURL): Merged documentation from classpath.
3021 (mkdir): Merged documentation from classpath.
3022 (mkdirs): Merged documentation from classpath.
3023 (createTempFile): Merged documentation from classpath.
3024 (setReadOnly): Merged documentation from classpath.
3025 (listRoots): Merged documentation from classpath.
3026 (compareTo): Merged documentation from classpath.
3027 (renameTo): Merged documentation from classpath.
3028 (setLastModified): Merged documentation from classpath.
3029 * java/io/PrintStream.java
3030 (auto_flush): Merged documentation from classpath.
3031 (PrintStream): Merged documentation from classpath.
3032 (checkError): Merged documentation from classpath.
3033 (setError): Merged documentation from classpath.
3034 (close): Merged documentation from classpath.
3035 (flush): Merged documentation from classpath.
3036 (print): Merged documentation from classpath.
3037 (println): Merged documentation from classpath.
3038 (write): Renamed count to len to match classpath,
3039 merged documentation from classpath.
3040 * java/io/RandomAccessFile.java
3041 (readShort): Merged documentation from classpath.
3042 (readUnsignedByte): Merged documentation from classpath.
3043 (readUnsignedShort): Merged documentation from classpath.
3044 (readUTF): Merged documentation from classpath.
3045 (seek): Reformatted, merged documentation from classpath.
3046 (skipBytes): Renamed some variables to match classpath, reformatted,
3047 merged documentation from classpath.
3048 (write): Merged documentation from classpath.
3049 (writeBoolean): Merged documentation from classpath.
3050 (writeByte): Merged documentation from classpath.
3051 (writeShort): Merged documentation from classpath.
3052 (writeChar): Merged documentation from classpath.
3053 (writeInt): Merged documentation from classpath.
3054 (writeLong): Merged documentation from classpath.
3055 (writeFloat): Merged documentation from classpath.
3056 (writeDouble): Merged documentation from classpath.
3057 (writeBytes): Merged documentation from classpath.
3058 (writeChars): Merged documentation from classpath.
3059 (writeUTF): Reformatted.
3060 (getChannel): Reformatted.
3061
3062 2003-03-31 Michael Koch <konqueror@gmx.de>
3063
3064 * java/awt/font/TextAttribute.java
3065 (readResolve): Throws java.io.InvalidObjectException.
3066
3067 2003-03-31 Michael Koch <konqueror@gmx.de>
3068
3069 * java/rmi/server/LoaderHandler.java
3070 (loadClass): Deprecated.
3071 (getSecurityContext): Deprecated.
3072 * java/rmi/server/LogStream.java
3073 (getDefaultStream): Deprecated.
3074 (setDefaultStream): Deprecated.
3075 (getOutputStream): Deprecated.
3076 (setOutputStream): Deprecated.
3077 (write): Deprecated.
3078 (toString): Deprecated.
3079 (parseLevel): Deprecated.
3080 * java/rmi/server/Operation.java
3081 (Operation): Deprecated.
3082 (getOperation): Deprecated.
3083 (toString): Deprecated.
3084 * java/rmi/server/RemoteCall.java
3085 (getOutputStream): Deprecated.
3086 (releaseOutputStream): Deprecated.
3087 (getInputStream): Deprecated.
3088 (releaseInputStream): Deprecated.
3089 (getResultStream): Deprecated.
3090 (executeCall): Deprecated.
3091 (done): Deprecated.
3092 * java/rmi/server/RemoteRef.java
3093 (invoke): Deprecated.
3094 (newCall): Deprecated.
3095 (done): Deprecated.
3096 * java/rmi/server/RemoteStub.java
3097 (setRef): Deprecated.
3098 * java/rmi/server/Skeleton.java:
3099 No need to import java.lang.Exception explicitly.
3100 (dispatch): Deprecated.
3101 (getOperations): Deprecated.
3102
3103 2003-03-31 Michael Koch <konqueror@gmx.de>
3104
3105 * java/rmi/dgc/VMID.java,
3106 java/rmi/registry/RegistryHandler.java,
3107 java/rmi/server/LogStream.java,
3108 java/rmi/server/Operation.java,
3109 java/rmi/server/RemoteCall.java,
3110 java/rmi/server/RemoteRef.java,
3111 java/rmi/server/RemoteStub.java:
3112 Reformatted.
3113
3114 2003-03-31 Michael Koch <konqueror@gmx.de>
3115
3116 * javax/swing/AbstractCellEditor.java,
3117 javax/swing/AbstractListModel.java,
3118 javax/swing/ActionMap.java,
3119 javax/swing/BorderFactory.java,
3120 javax/swing/ButtonGroup.java,
3121 javax/swing/DefaultBoundedRangeModel.java,
3122 javax/swing/DefaultButtonModel.java,
3123 javax/swing/DefaultCellEditor.java,
3124 javax/swing/DefaultComboBoxModel.java,
3125 javax/swing/DefaultDesktopManager.java,
3126 javax/swing/DefaultListCellRenderer.java,
3127 javax/swing/DefaultSingleSelectionModel.java,
3128 javax/swing/InputMap.java,
3129 javax/swing/JComponent.java,
3130 javax/swing/JMenu.java,
3131 javax/swing/JSlider.java,
3132 javax/swing/KeyStroke.java,
3133 javax/swing/OverlayLayout.java,
3134 javax/swing/ScrollPaneLayout.java,
3135 javax/swing/SizeRequirements.java,
3136 javax/swing/UIManager.java,
3137 javax/swing/ViewportLayout.java,
3138 javax/swing/border/AbstractBorder.java,
3139 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3140 javax/swing/event/EventListenerList.java,
3141 javax/swing/table/AbstractTableModel.java,
3142 javax/swing/table/DefaultTableCellRenderer.java,
3143 javax/swing/table/DefaultTableColumnModel.java,
3144 javax/swing/table/DefaultTableModel.java,
3145 javax/swing/table/TableColumn.java,
3146 javax/swing/text/StyledEditorKit.java,
3147 javax/swing/tree/DefaultMutableTreeNode.java,
3148 javax/swing/tree/DefaultTreeModel.java,
3149 javax/swing/tree/DefaultTreeSelectionModel.java,
3150 javax/swing/tree/TreePath.java,
3151 javax/swing/undo/AbstractUndoableEdit.java,
3152 javax/swing/undo/StateEdit.java,
3153 javax/swing/undo/StateEditable.java,
3154 javax/swing/undo/UndoableEditSupport.java:
3155 Merges from classpath.
3156
3157 2003-03-30 Tom Tromey <tromey@redhat.com>
3158
3159 * java/lang/String.java (data, boffset, count): Documented.
3160 (String(byte[],String)): Reformatted.
3161 (String(byte[])): Likewise.
3162 (lastIndexOf(int)): Likewise.
3163 (lastIndexOf(String)): Likewise.
3164 (substring(int)): Renamed argument to match Classpath.
3165 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3166
3167 * java/lang/String.java: Miscellaneous minor formatting changes
3168 to match Classpath more closely.
3169
3170 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3171 Tom Tromey <tromey@redhat.com>
3172
3173 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3174 (init()): Removed.
3175 (charAt): Put index in exception.
3176 (contentEquals): New method.
3177 Include StringBuffer.h.
3178 * java/lang/String.java (cachedHashCode): New field.
3179 (String()): Follow classpath implementation.
3180 (init()): Removed.
3181 (contentEquals): Declare.
3182 (subSequence): Don't declare IndexOutIfBoundsException in throws
3183 clause.
3184 (matches, replaceFirst, replaceAll, split): New methods from
3185 Classpath.
3186
3187 2003-03-29 Tom Tromey <tromey@redhat.com>
3188
3189 * java/lang/String.java: Reordered to follow Classpath; merged in
3190 javadoc.
3191
3192 * java/text/MessageFormat.java: Removed some whitespace.
3193
3194 * Makefile.in: Rebuilt.
3195 * Makefile.am (awt_java_source_files): Added new files.
3196 * gnu/javax/rmi/PortableServer.java,
3197 gnu/javax/rmi/CORBA/DelegateFactory.java,
3198 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3199 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3200 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3201 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3202 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3203 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3204 javax/rmi/PortableRemoteObject.java,
3205 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3206 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3207 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3208 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3209 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3210 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3211
3212 * java/lang/natClass.cc (newInstance): Put method name in
3213 exception.
3214 (getConstructor): Likewise.
3215 (getDeclaredConstructor): Likewise.
3216 (getPrivateMethod): Likewise.
3217
3218 2003-03-28 Tom Tromey <tromey@redhat.com>
3219
3220 * java/lang/reflect/Proxy.java: New version from Classpath.
3221 * java/lang/Package.java: New version from Classpath.
3222
3223 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3224
3225 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3226 * configure: Regenerate.
3227
3228 2003-03-28 Michael Koch <konqueror@gmx.de>
3229
3230 * java/io/File.java:
3231 Import needed classes instead of whole packages, merged class
3232 documentation with classpath, moved constants and variables to top of
3233 class.
3234 * java/io/PrintStream.java:
3235 Merged class documentation with classpath, moved constants and
3236 variables to top of class.
3237 * java/io/RandomAccessFile.java
3238 (RandomAccessFile): Merged with classpath.
3239 (read): Merged with classpath).
3240 (read*): Reformatted.
3241
3242 2003-03-28 Michael Koch <konqueror@gmx.de>
3243
3244 * java/io/FileDescriptor.java
3245 (finalize): Throws Throwable, not IOException.
3246 * java/io/ObjectOutputStream.java
3247 (PutField.put): Doesnt throws anything.
3248
3249 2003­03-28 Michael Koch <konqueror@gmx.de>
3250
3251 * java/io/FileOutputStream.java:
3252 Merged class documentation and authors with classpath.
3253 (FileOutputStream): Partly merged with classpath.
3254 (write): Merged with classpath.
3255 (getChannel): Make it synchronized instead of explicit block in this
3256 method.
3257 * java/io/RandomAccessFile.java:
3258 Merged class documentation and authors with classpath.
3259
3260 2003-03-26 Tom Tromey <tromey@redhat.com>
3261
3262 * java/lang/natRuntime.cc (insertSystemProperties): Set
3263 gnu.classpath.home.url.
3264 * Makefile.in: Rebuilt.
3265 * Makefile.am: Define LIBDIR.
3266
3267 2003-03-25 Michael Koch <konqueror@gmx.de>
3268
3269 * java/io/FileInputStream.java
3270 (read): Renamed b to buf and off to offset.
3271 * java/io/FileOutputStream.java
3272 (ch): Documentation added.
3273 (FileOutputStream): Documentation added.
3274 (getFD): Documentation added.
3275 (write): Documentation added.
3276 (close): Documentation added.
3277 (getChannel): Documentation added.
3278
3279 2003-03-24 Michael Koch <konqueror@gmx.de>
3280
3281 * java/io/DataOutputStream.java
3282 (write): Merged from classpath.
3283 * java/io/File.java:
3284 Merged copyrigth with classpath.
3285 * java/io/FileInputStream.java
3286 (getChannel): Made it synchronized instead of using a synchronized
3287 block.
3288 * java/io/FileOutputStream.java: Reformatted.
3289 * java/io/InputStreamReader.java
3290 (InputStreamReader): Renamed enc to encoding_name.
3291 (close): Merged documentation from classpath.
3292 (getEncoding): Merged documentation from classpath.
3293 (ready): Merged documentation from classpath.
3294 (read): Merged documentation from classpath.
3295 * java/io/LineNumberReader.java
3296 (lineNumber): Made it private.
3297 (LineNumberReader): Use Constant instead of a direct value.
3298 * java/io/OutputStreamWriter.java
3299 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3300 documentation from classpath.
3301 (close): Merged documentation from classpath.
3302 (flush): Merged documentation from classpath.
3303 (write): Merged documentation from classpath.
3304 * java/io/PrintStream.java: Reformatted.
3305
3306 2003-03-24 Michael Koch <konqueror@gmx.de>
3307
3308 * javax/swing/text/ComponentView.java
3309 (getComponent): Must be final.
3310 * javax/swing/tree/DefaultTreeCellRenderer.java:
3311 Reformatted.
3312 * javax/swing/undo/StateEditable.java:
3313 Reformatted.
3314
3315 2003-03-24 Michael Koch <konqueror@gmx.de>
3316
3317 * java/rmi/activation/ActivationInstantiator.java:
3318 Reformatted.
3319 * java/rmi/activation/Activator.java:
3320 Reformatted.
3321 * java/rmi/registry/RegistryHandler.java:
3322 Remerged from classpath.
3323
3324 2003-03-24 Michael Koch <konqueror@gmx.de>
3325
3326 * java/util/Date.java:
3327 Fixed documentation starting tag to make javadoc happy.
3328 * java/util/regex/Pattern.java
3329 (Pattern): Implements Serializable.
3330 * java/util/PatternSyntaxException.java
3331 (serialVersionUID): New member variable.
3332
3333 2003-03-24 Michael Koch <koqnueror@gmx.de>
3334
3335 * java/awt/ContainerOrderFocusTraversalPolicy.java
3336 (getFirstComponent): Implemented.
3337 (getLastComponent): Implemented.
3338 (getDefaultComponent): Implemented.
3339 (setImplicitDownCycleTraversal): Fixed implementation.
3340 * java/awt/Robot.java
3341 (Robot): Added documentation.
3342 * java/awt/Toolkit.java
3343 (getFontList): Deprecated.
3344 (getFontMetrics): Deprecated.
3345 (getPrintJob): Added documentation.
3346 (getSystemSelection): Added documentation.
3347 (getLockingKeyState): Added documentation.
3348 (setLockingKeyState): Added documentation.
3349 (createCustomCursor): Added documentation.
3350 (getBestCursorSize): Added documentation.
3351 (getMaximumCursorColors): Added documentation.
3352 (isFrameStateSupported): Added documentation.
3353
3354 2003-03-24 Michael Koch <konqueror@gmx.de>
3355
3356 * java/io/RandomAccessFile.java:
3357 More little merges with classpath. No code changes.
3358
3359 2003-03-24 Michael Koch <konqueror@gmx.de>
3360
3361 * java/net/natInetAddressNoNet.cc:
3362 Include stddef.h.
3363 * java/net/natPlainDatagramSocketImplNoNet.cc:
3364 Fixed inlcude of java/net/DatagramPacket.h.
3365 * java/net/natPlainSocketImplNoNet.cc:
3366 Include some missing classes.
3367
3368 2003-03-24 Michael Koch <konqueror@gmx.de>
3369
3370 * java/awt/dnd/DropTarget.java
3371 (DropTargetAutoScroller): According to the online documentation, this
3372 is protected, but in reality it is public.
3373 * java/awt/dnd/DropTargetContext.java
3374 (TransferableProxy): According to the online documentation, this
3375 is protected, but in reality it is public.
3376
3377 2003-03-24 Michael Koch <konqueror@gmx.de>
3378
3379 * java/io/DataInputStream.java
3380 (): Wrapped documentation line.
3381 (): Fixed @return tag.
3382 * java/io/DataOutputStream.java
3383 (written): Moved to top of class.
3384 (all methods): Merged documentation from classpath.
3385 * java/io/File.java:
3386 Merged copyright year with classpath.
3387 * java/io/FileInputStream.java
3388 (all methods): Merged documentation from classpath.
3389 * java/io/LineNumberReader.java
3390 (getLineNumber): Fixed @return tag.
3391 * java/io/ObjectInputStream.java.
3392 Reformatted.
3393 * java/io/ObjectOutputStream.java:
3394 Reformatted, fixed some @see tags.
3395 * java/io/OutputStreamWriter.java:
3396 Deleted empty line.
3397 * java/io/Writer.java:
3398 Reformatted.
3399
3400 2003-03-24 Michael Koch <konqueror@gmx.de>
3401
3402 * java/awt/Frame.java
3403 (DEFAULT_CURSOR): Fixed @deprecated tag.
3404 (setCursor): Fixed @deprecated tag.
3405
3406 2003-03-24 Michael Koch <konqueror@gmx.de>
3407
3408 * java/beans/beancontext/BeanContextEvent.java:
3409 Reformated.
3410
3411 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3412
3413 * java/lang/natStringBuffer.cc (regionMatches): New function.
3414 * java/lang/String.java (count): Now package-private.
3415 * java/lang/StringBuffer.java: Merged with Classpath.
3416
3417 2003-03-23 Michael Koch <konqueror@gmx.de>
3418
3419 * java/io/BufferedOutputStream.java:
3420 Reformated.
3421 * java/io/BufferedReader.java:
3422 Reformated.
3423 * java/io/ByteArrayOutputStream.java
3424 (size): Fixed @see tag.
3425 * java/io/CharArrayWriter.java
3426 (size): Fixed @see tag.
3427 * java/io/DataInput.java:
3428 Reformated.
3429 * java/io/DataOutput.java:
3430 Reformated.
3431 * java/io/DataOutputStream.java:
3432 Merged copyright years with classpath.
3433 * java/io/Externalizable.java:
3434 Reformated.
3435 * java/io/FileFilter.java:
3436 Reformated.
3437 * java/io/FileInputStream.java:
3438 Merged copyright years with classpath.
3439 * java/io/FileOutputStream.java:
3440 Merged copyright years with classpath.
3441 * java/io/FilePermission.java
3442 (FilePermission): Replaced @XXX with FIXME:.
3443 * java/io/FileWriter.java:
3444 Reformated.
3445 * java/io/FilenameFilter.java:
3446 Reformated.
3447 * java/io/FilterInputStream.java:
3448 Reformated.
3449 * java/io/FilterOutputStream.java:
3450 Reformated.
3451 * java/io/FilterReader.java:
3452 Reformated.
3453 * java/io/FilterWriter.java:
3454 Reformated.
3455 * java/io/LineNumberInputStream.java
3456 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3457 happy.
3458 (getLineNumber): Fixed @return tag.
3459 * java/io/ObjectInput.java:
3460 Reformated.
3461 * java/io/ObjectOutput.java:
3462 Reformated.
3463 * java/io/ObjectStreamClass.java:
3464 Reformated.
3465 * java/io/PrintStream.java:
3466 Merged copyright years with classpath.
3467 * java/io/PushbackReader.java
3468 (PushbackReader): Replaced @code with @param.
3469 * java/io/SerializablePermission.java:
3470 Reformated.
3471 * java/io/StreamTokenizer.java
3472 (resetSyntax): Fixed @see tag.
3473
3474 2003-03-22 Richard Henderson <rth@redhat.com>
3475
3476 * sysdep/ia64/locks.h: Include ia64intrin.h.
3477 (compare_and_swap): Use __sync_bool_compare_and_swap.
3478 (compare_and_swap_release): Expose ar.ccv assignment.
3479
3480 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3481
3482 * include/posix.h: Add suffix for darwin dynamic libraries.
3483
3484 2003-03-21 Michael Koch <konqueror@gmx.de>
3485
3486 * javax/swing/Action.java
3487 (ACCELERATOR_KEY): New constant.
3488 (ACTION_COMMAND_KEY): Likewise.
3489 (MNEMONIC_KEY): Likewise.
3490 * javax/swing/UnsupportedLookAndFeelException.java
3491 (UnsupportedLookAndFeelException): Must be public.
3492 * javax/swing/WindowConstants.java
3493 (EXIT_ON_CLOSE): New constant.
3494 * javax/swing/text/BadLocationException.java
3495 (offset): New member variable.
3496 (BadLocationException): New implementation, documentation added.
3497 (offsetRequested): New method.
3498 * javax/swing/text/Caret.java:
3499 Reformated.
3500 * javax/swing/text/Document.java:
3501 Reformated.
3502
3503 2003-03-21 Michael Koch <konqueror@gmx.de>
3504
3505 * java/rmi/activation/Activatable.java
3506 (serialVersionUID): New member variable.
3507 * java/rmi/activation/ActivationGroup.java
3508 (serialVersionUID): New member variable.
3509 * java/rmi/activation/ActivationGroupDesc.java
3510 (serialVersionUID): New member variable.
3511 * java/rmi/registry/Registry.java:
3512 Reformated.
3513 (Registry): Deprecated.
3514 * java/rmi/server/LoaderHandler.java
3515 Reformated.
3516 (LoaderHandler): Deprecated.
3517 * java/rmi/server/LogStream.java
3518 Reformated.
3519 (LogStream): Deprecated.
3520 * java/rmi/server/Operation.java
3521 (Operation): Deprecated.
3522 * java/rmi/server/RMIFailureHandler.java:
3523 Reformated.
3524 * java/rmi/server/RMISocketFactory.java:
3525 Reformated.
3526 * java/rmi/server/RemoteCall.java
3527 (RemoteCall): Deprecated.
3528 * java/rmi/server/RemoteStub.java:
3529 Reformated.
3530 * java/rmi/server/Skeleton.java
3531 Reformated.
3532 (Skeleton): Deprecated.
3533
3534 2003-03-21 Michael Koch <konqueror@gmx.de>
3535
3536 * java/io/LineNumberReader.java
3537 (LineNumberReader): Merged documentation with classpath.
3538 (getLineNumber): Likewise.
3539 (setLineNumber): Likewise.
3540 (mark): Likewise.
3541 (reset): Likewise.
3542 (read): Likewise.
3543 (readLine): Likewise.
3544 (skip): Likewise.
3545
3546 2003-03-21 Michael Koch <konqueror@gmx.de>
3547
3548 * java/rmi/RMISecurityManager.java
3549 (checkAccept): Removed.
3550 (checkAccess): Likewise.
3551 (checkAccess): Likewise.
3552 (checkAwtEventQueueAccess): Likewise.
3553 (checkConnect): Likewise.
3554 (checkCreateClassLoader): Likewise.
3555 (checkDelete): Likewise.
3556 (checkExec): Likewise.
3557 (checkExit): Likewise.
3558 (checkLink): Likewise.
3559 (checkListen): Likewise.
3560 (checkMemberAccess): Likewise.
3561 (checkMulticast): Likewise.
3562 (checkPackageAccess): Likewise.
3563 (checkPackageDefinition): Likewise.
3564 (checkPermission): Likewise.
3565 (checkPrintJobAccess): Likewise.
3566 (checkPropertiesAccess): Likewise.
3567 (checkPropertyAccess): Likewise.
3568 (checkRead): Likewise.
3569 (checkSecurityAccess): Likewise.
3570 (checkSetFactory): Likewise.
3571 (checkSystemClipboardAccess): Likewise.
3572 (checkTopLevelWindow): Likewise.
3573 (checkWrite): Likewise.
3574
3575 2003-03-20 Michael Koch <konqueror@gmx.de>
3576
3577 * gnu/java/nio/FileChannelImpl.java
3578 (address): Removed.
3579 (map_address): New member variable.
3580 (length): Make it package private.
3581 (fd): Make it package private.
3582 (buf): Make it package private.
3583 (file_obj): Make it package private.
3584 (FileChannelImpl): New constructor.
3585 (nio_mmap_file): Use RawData instead of long.
3586 (nio_munmap_file): Use RawData instead of long.
3587 (nio_msync): Use RawData instead of long.
3588 (implCloseChannel): New implementation using map_address.
3589 (read): Reformated.
3590 (map): Implemented.
3591 (create_direct_mapped_buffer): Implemented, use RawData, throws
3592 IOException.
3593 (force): Use map_address instead of address.
3594 * gnu/java/nio/MappedByteFileBuffer.java
3595 (address): Removed.
3596 (map_address): New member variable.
3597 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3598 (several methods): Use map_address instead of address, replaced long
3599 with RawData where appropriate.
3600 * gnu/java/nio/natFileChannelImpl.cc
3601 (nio_mmap_file): Replaced long with RawData.
3602 (nio_munmap_file): Replaced long with RawData.
3603 (nio_msync): Replaced long with RawData.
3604 * gnu/java/nio/natMappedByteFileBuffer.cc
3605 (several methods): Replaced long with RawData where appropriate.
3606
3607 2003-03-20 Michael Koch <konqueror@gmx.de>
3608
3609 * java/net/InetAddress.java,
3610 java/net/JarURLConnection.java,
3611 java/net/PlainDatagramSocketImpl.java,
3612 java/net/PlainSocketImpl.java,
3613 java/net/URLConnection.java:
3614 Merged copyright statements with classpath for easier merging.
3615
3616 2003-03-20 Michael Koch <konqueror@gmx.de>
3617
3618 * java/io/FileInputStream.java
3619 (getChannel): New implementation.
3620 * java/io/FileOutputStream.java
3621 (ch): New member variable.
3622 (getChannel): Implemented.
3623 * java/io/RandomAccessFile.java
3624 (RandomAccessFile): Throws FileNotFoundException instead of
3625 IOException.
3626 (getChannel): New method.
3627 (ch): New member variable.
3628
3629 2003-03-20 Michael Koch <konqueror@gmx.de>
3630
3631 * java/io/DataOutputStream.java,
3632 java/io/File.java,
3633 java/io/FileInputStream.java,
3634 java/io/FileOutputStream.java,
3635 java/io/InputStreamReader.java,
3636 java/io/LineNumberReader.java,
3637 java/io/OutputStreamWriter.java,
3638 java/io/PrintStream.java,
3639 java/io/RandomAccessFile.java:
3640 Merged copyright statements with classpath for easier merging.
3641
3642 2003-03-19 Michael Koch <konqueror@gmx.de>
3643
3644 * java/lang/Process.java:
3645 Merged from classpath.
3646
3647 2003-03-19 Michael Koch <konqueror@gmx.de>
3648
3649 * java/io/FileOutputStream.java
3650 (FileOutputStream): New constructor, merged from classpath.
3651 * java/io/FileWriter.java
3652 (FileWriter): New constructor, merged from classpath.
3653
3654 2003-03-18 Michael Koch <konqueror@gmx.de>
3655
3656 * java/awt/ScrollPane.java
3657 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3658 (getViewportSize): Likewise.
3659 (addNotify): Likewise.
3660 (removeNotify): Likewise.
3661 * java/awt/ScrollPaneAdjustable.java
3662 (ScrollPaneAdjustable): No longer extends Scrollbar.
3663 * java/beans/beancontext/BeanContextServices.java:
3664 Reformated.
3665 (getService): Added throws TooManyListenersException;
3666 * java/beans/beancontext/BeanContextServicesSupport.java:
3667 Reformated.
3668
3669 2003-03-18 Michael Koch <konqueror@gmx.de>
3670
3671 * java/io/BufferedOutputStream.java,
3672 java/io/DataInput.java,
3673 java/io/DataInputStream.java,
3674 java/io/DataOutput.java,
3675 java/io/Externalizable.java:
3676 More merges from classpath.
3677
3678 2003-03-18 Michael Koch <konqueror@gmx.de>
3679
3680 * configure.in: Fixed links to platform dependant java.net files.
3681 * configure: Regenerated.
3682 * java/net/natInetAddress.cc,
3683 java/net/natNetworkInterface.cc,
3684 java/net/natPlainDatagramSocketImpl.cc,
3685 java/net/natPlainSocketImpl.cc:
3686 Removed.
3687
3688 2003-03-18 Michael Koch <konqueror@gmx.de>
3689
3690 * configure.in: Create links to architecture dependent files,
3691 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3692 * configure: Regenerated.
3693 * java/net/natInetAddressNoNet.cc,
3694 java/net/natInetAddressPosix.cc,
3695 java/net/natInetAddressWin32.cc,
3696 java/net/natNetworkInterfaceNoNet.cc,
3697 java/net/natNetworkInterfacePosix.cc,
3698 java/net/natNetworkInterfaceWin32.cc,
3699 java/net/natPlainDatagramSocketImplNoNet.cc,
3700 java/net/natPlainDatagramSocketImplPosix.cc,
3701 java/net/natPlainDatagramSocketImplWin32.cc,
3702 java/net/natPlainSocketImplNoNet.cc,
3703 java/net/natPlainSocketImplPosix.cc,
3704 java/net/natPlainSocketImplWin32.cc: New files.
3705
3706 2003-03-18 Michael Koch <konqueror@gmx.de>
3707
3708 * java/io/BufferedReader.java,
3709 java/io/BufferedWriter.java,
3710 java/io/ByteArrayOutputStream.java,
3711 java/io/FileFilter.java,
3712 java/io/FilePermission.java,
3713 java/io/FileReader.java,
3714 java/io/FileWriter.java,
3715 java/io/FilenameFilter.java,
3716 java/io/FilterInputStream.java,
3717 java/io/FilterOutputStream.java,
3718 java/io/FilterReader.java,
3719 java/io/FilterWriter.java,
3720 java/io/ObjectInput.java,
3721 java/io/ObjectInputValidation.java,
3722 java/io/ObjectOutput.java,
3723 java/io/ObjectStreamField.java,
3724 java/io/PipedInputStream.java,
3725 java/io/PipedReader.java,
3726 java/io/PrintWriter.java,
3727 java/io/PushbackReader.java,
3728 java/io/Reader.java,
3729 java/io/SerializablePermission.java,
3730 java/io/StringReader.java,
3731 java/io/Writer.java:
3732 Merged from classpath.
3733
3734 2003-03-17 Michael Koch <konqueror@gmx.de>
3735
3736 * java/awt/ScrollPaneAdjustable.java:
3737 Compile fixes.
3738
3739 2003-03-17 Michael Koch <konqueror@gmx.de>
3740
3741 * java/net/DatagramSocket.java
3742 (connect): Fixed comment.
3743 * java/nio/ByteBuffer.java
3744 (hasArray): Fixed comment.
3745
3746 2003-03-17 Michael Koch <konqueror@gmx.de>
3747
3748 * java/beans/Beans.java:
3749 Explicitely import classes not packages.
3750 * java/beans/FeatureDescriptor.java
3751 (preferred): New member variable.
3752 (isPreferred): New method.
3753 (setPreferred): New method.
3754 * java/beans/PropertyEditorManager.java:
3755 Explicitely import used classes.
3756 * java/beans/beancontext/BeanContextChild.java:
3757 Added line wrapping.
3758 * java/beans/beancontext/BeanContextChildSupport.java:
3759 Reindented.
3760 * java/beans/beancontext/BeanContextEvent.java:
3761 Reindented.
3762
3763 2003-03-17 Michael Koch <konqueror@gmx.de>
3764
3765 * java/awt/Dialog.java
3766 (Dialog): New constructor, changed implementations, added
3767 documentation.
3768 * java/awt/ScrollPaneAdjustable.java
3769 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3770 Serializable.
3771 (serialVersionUID): New member variable.
3772 (sp): New member variable.
3773 (orientation): New member variable.
3774 (value): New member variable.
3775 (minimum): New member variable.
3776 (maximum): New member variable.
3777 (visibleAmount): New member variable.
3778 (unitIncrement): New member variable.
3779 (blockIncrement): New member variable.
3780 (AdjustmentListener): New member variable.
3781 (ScrollPaneAdjustable): New implementation.
3782 (addAdjustmentListener): New method.
3783 (removeAdjustmentListener): New method.
3784 (getAdjustmentListeners): New method.
3785 (getBlockIncrement): New method.
3786 (getMaximum): New method.
3787 (getMinimum): New method.
3788 (getOrientation): New method.
3789 (getUnitIncrement): New method.
3790 (getValue): New method.
3791 (getVisibleAmount): New method.
3792 (setBlockIncrement): New method.
3793 (setMaximum): Implemented.
3794 (setMinimum): Implemented.
3795 (setUnitIncrement): New method.
3796 (setValue): New method.
3797 (setVisibleAmount): Implemented.
3798 (paramString): New stubbed method.
3799 * java/awt/Window.java
3800 (show): Call setVisible().
3801 (hide): Call setVisible().
3802 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3803 and WINDOW_STATE_CHANGED.
3804 (processWindowFocusEvent): New method.
3805 (processWindowStateEvent): New method.
3806 (postEvent): Deprecated.
3807 (applyResourceBundle): Deprecated.
3808 * java/awt/datatransfer/DataFlavor.java
3809 (DataFlavor): Doesn't thow ClassNotFoundException.
3810
3811 2003-03-17 Michael Koch
3812
3813 * javax/print/attribute/Attribute.java,
3814 javax/print/attribute/AttributeSet.java,
3815 javax/print/attribute/PrintRequestAttributeSet.java:
3816 New files.
3817 * Makefile.am
3818 (javax_source_files): Added new files:
3819 javax/print/attribute/Attribute.java
3820 javax/print/attribute/AttributeSet.java
3821 javax/print/attribute/PrintRequestAttributeSet.java
3822 * Makefile.in: Regenerated.
3823
3824 2003-03-17 Michael Koch
3825
3826 * javax/print/attribute/Attribute.java,
3827 javax/print/attribute/AttributeSet.java,
3828 javax/print/attribute/PrintRequestAttributeSet.java:
3829 New files.
3830 * Makefile.am
3831 (awt_java_source_files): Added new files:
3832 javax/print/attribute/Attribute.java
3833 javax/print/attribute/AttributeSet.java
3834 javax/print/attribute/PrintRequestAttributeSet.java
3835 * Makefile.in: Regenerated.
3836
3837 2003-03-16 Tom Tromey <tromey@redhat.com>
3838
3839 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3840 Include platform.h.
3841 * java/lang/natRuntime.cc (insertSystemProperties): Use
3842 _Jv_platform_path_separator.
3843 (nativeGetLibname): Use _Jv_platform_file_separator.
3844 (_load): Use _Jv_platform_onload_names.
3845 (onload_names): New global.
3846 * include/win32.h (_Jv_platform_file_separator): New define.
3847 (_Jv_platform_path_separator): Likewise.
3848 (_Jv_platform_onload_names): Likewise.
3849 (_Jv_platform_ffi_abi): Likewise.
3850 * include/posix.h (_Jv_platform_file_separator): New define.
3851 (_Jv_platform_path_separator): Likewise.
3852 (_Jv_platform_onload_names): Likewise.
3853 (_Jv_platform_ffi_abi): Likewise.
3854
3855 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3856
3857 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3858
3859 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3860
3861 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3862 hierarchy loop.
3863 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3864 list to Object,ObjectStreamClass, moved callReadMethod code up into
3865 readObject and added Class argument to all setXxxField calls.
3866 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3867 consistent with ObjectOutputStream and to facilitate caching the
3868 Method in the future.
3869 (setBooleanField): Added Class argument.
3870 (setByteField): Likewise.
3871 (setCharField): Likewise.
3872 (setDoubleField): Likewise.
3873 (setFloatField): Likewise.
3874 (setIntField): Likewise.
3875 (setLongField): Likewise.
3876 (setShortField): Likewise.
3877 (setObjectField): Likewise.
3878 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3879 class hierarchy loop.
3880 (defaultWriteObject): Call writeFields with new argument list.
3881 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3882 list to Object,ObjectStreamClass, moved callWriteMethod up into
3883 writeObject and added Class argument to all getXxxField calls.
3884 (callWriteMethod): Added ObjectStreamClass argument to be able to
3885 get the proper class to call getMethod on (each class can have (or
3886 not have) its own writeObject method).
3887 (getBooleanField): Added Class argument.
3888 (getByteField): Likewise.
3889 (getCharField): Likewise.
3890 (getDoubleField): Likewise.
3891 (getFloatField): Likewise.
3892 (getIntField): Likewise.
3893 (getLongField): Likewise.
3894 (getShortField): Likewise.
3895 (getObjectField): Likewise.
3896 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3897 facilitate caching the Method object in the future.
3898
3899 2003-03-12 Andreas Schwab <schwab@suse.de>
3900
3901 * configure.in: Avoid trailing /. in toolexeclibdir.
3902 * configure: Rebuilt.
3903
3904 2003-03-11 Michael Koch <konqueror@gmx.de>
3905
3906 * gnu/java/nio/ByteBufferImpl.java
3907 (putInt): Use limit() instead of limit.
3908 * gnu/java/nio/CharBufferImpl.java
3909 (slice): Fixed implementation.
3910 (subSequence): Better bounds checking.
3911 * gnu/java/nio/MappedByteFileBuffer.java:
3912 Import all needed classes directly.
3913 * java/nio/ByteBuffer.java
3914 (hashCode): New dummy method.
3915 * java/nio/CharBuffer.java
3916 (array_offset): New member variable.
3917 (hasArray): Fixed documentation.
3918 (arrayOffset): Return array_offset.
3919
3920 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3921
3922 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3923 setter; made return value of getter const char* instead of char*
3924 * prims.cc: removed all references to _Jv_ThisExecutable().
3925 These are in the platform-specific sections now.
3926 * posix.cc: define platform-specific _Jv_ThisExecutable().
3927 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3928 * win32.cc: define platform-specific _Jv_ThisExecutable()
3929 using GetModuleFilename()
3930 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3931 to argv[0] instead of _Jv_ThisExecutable()
3932
3933 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3934
3935 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3936 that is set if we are using addr2name.awk instead of addr2line.
3937 (NameFinder): Set usingAddr2name if using addr2name.awk.
3938 (getExternalLabel): New native method to convert a method
3939 name to an external label.
3940 (lookup): Convert name given by addr2line to an external label
3941 before demangling.
3942
3943 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3944 constant representing the prefix attached to method names to
3945 convert them to an external label.
3946 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3947 using LABEL_PREFIX.
3948
3949 2003-03-10 Tom Tromey <tromey@redhat.com>
3950
3951 * Makefile.in: Rebuilt.
3952 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3953 (JC1FLAGS): Removed -Wno-deprecated.
3954
3955 2003-03-10 Michael Koch <konqueror@gmx.de>
3956
3957 * java/nio/ByteOrder.java
3958 (nativeOrder): Working implementation, added documentation.
3959 (toString): Added documentation.
3960
3961 2003-03-10 Michael Koch <konqueror@gmx.de>
3962
3963 * java/net/DatagramSocket.java,
3964 java/net/MulticastSocket.java,
3965 java/net/Socket.java,
3966 java/net/URL.java,
3967 java/net/URLConnection.java:
3968 Fixed some documentation tags to make javadoc and friends happy.
3969
3970 2003-03-10 Michael Koch <koqnueror@gmx.de>
3971
3972 * java/beans/beancontext/BeanContextServicesSupport.java,
3973 java/beans/beancontext/BeanContextSupport.java: New files.
3974 * Makefile.am
3975 (awt_source_files): Added new files.
3976 * Makefile.in: Regenerated.
3977
3978 2003-03-10 Michael Koch <konqueror@gmx.de>
3979
3980 * java/awt/FocusTraversalPolicy.java
3981 (FocusTraversalPolicy): Documentation added.
3982 (getComponentAfter): Documentation added.
3983 (getComponentBefore): Documentation added.
3984 (getFirstComponent): Documentation added.
3985 (getLastComponent): Documentation added.
3986 (getDefaultComponent): Documentation added.
3987 (getInitialComponent): Documentation added.
3988 * java/awt/ScrollPaneAdjustable.java
3989 (sp): New member variable.
3990 (orientation): New member variable.
3991 (value): New member variable.
3992 (minimum): New member variable.
3993 (maximum): New member variable.
3994 (visibleAmount): New member variable.
3995 (unitIncrement): New member variable.
3996 (blockIncrement): New member variable.
3997 (adjustmentListener): New member variable.
3998 (ScrollPaneAdjustable): Rewrote.
3999 (addAdjustmentListener): New method.
4000 (removeAdjustmentListener): New method.
4001 (getAdjustmentListeners): New method.
4002 (getBlockIncrement): New method.
4003 (getMaximum): New method.
4004 (getMinimum): New method.
4005 (getOrientation): New method.
4006 (getUnitIncrement): New method.
4007 (getValue): New method.
4008 (getVisibleAmount): New method.
4009 (setBlockIncrement): New method.
4010 (setUnitIncrement): New method.
4011 (setMaximum): Implemented.
4012 (setMinimum): Implemented.
4013 (setValue): New method.
4014 (setVisibleAmount): Implemented.
4015 (paramString): New method.
4016 * java/awt/Window.java
4017 (show): Use setVisible(true) instead of super.show().
4018 (hide): Use sevVisible(false) instead of super.hide().
4019 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4020 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4021 (postEvent): Deprecated.
4022 (applyResourceBundle): Deprecated.
4023 (processWindowFocusEvent): New method.
4024 (processWindowStateEvent): New method.
4025 * java/awt/datatransfer/DataFlavor.java: Reindented.
4026 * java/awt/font/TextHitInfo.java
4027 (charIndex): New member variable.
4028 (leadingEdge): New member variable.
4029 (TextHitInfo): New constructor.
4030 (getCharIndex): Implemented.
4031 (isLeadingEdge): Implemented.
4032 (getInsertionIndex): Implemented.
4033 (hashCode): Access charIndex directly.
4034 (equals): Reformated.
4035 (leading): Implemented.
4036 (trailing): Implemented.
4037 (beforeOffset): Implemented.
4038 (afterOffset): Implemented.
4039 (getOtherHit): Implemented.
4040 (getOffsetHit): Implemented.
4041 (toString): Implemented.
4042 * java/awt/image/BufferedImage.java
4043 (BufferedImage): Implements WritableRenderedImage.
4044 (observers): New member variable.
4045 (addTileObserver): New method.
4046 (removeTileObserver): New method.
4047
4048 2003-03-09 Tom Tromey <tromey@redhat.com>
4049
4050 PR libgcj/9934:
4051 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4052 to lseek. Return 0 if we can't compute the value.
4053
4054 2003-03-03 Michael Koch <konqueror@gmx.de>
4055
4056 * java/net/NetworkInterface.java: Merged with classpath.
4057
4058 2003-03-03 Tom Tromey <tromey@redhat.com>
4059
4060 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4061 of bytecode.
4062 (handle_ret_insn): Fail if returning to jsr that appears at end of
4063 bytecode.
4064
4065 2003-03-03 Michael Koch <konqueror@gmx.de>
4066
4067 * Makefile.am
4068 (ordinary_java_source_files):
4069 Added gnu/java/nio/MappedByteFileBuffer.java.
4070 (nat_source_files):
4071 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4072 * Makefile.in: Regenerated.
4073
4074 2003-03-03 Michael Koch <konqueror@gmx.de>
4075
4076 * java/net/DatagramSocket.java
4077 (connect): Merged comment from classpath.
4078 (receive): Merged documentation from classpath.
4079 * java/net/Socket.java
4080 (setSoTimeout): Clarified documentation.
4081 * java/net/URL.java
4082 (getPath): Merged from classpath.
4083 (getUserInfo): Merged from classpath.
4084 (getQuery): Merged from classpath.
4085 * java/net/URLStreamHandler.java
4086 (toExternalForm): Merged from classpath.
4087
4088 2003-03-02 Mark Wielaard <mark@klomp.org>
4089
4090 * java/util/Properties.java (load): Only skip line if the first
4091 character is a comment, whitespaces don't count.
4092
4093 2003-03-02 Michael Koch <konqueror@gmx.de>
4094
4095 * java/net/NetPermission.java:
4096 Merged copyright with classpath.
4097
4098 2003-03-02 Michael Koch <konqueror@gmx.de>
4099
4100 * java/lang/Package.java:
4101 Remerged from classpath.
4102
4103 2003-03-02 Michael Koch <konqueror@gmx.de>
4104
4105 * java/net/HttpURLConnection.java
4106 (HTTP_SERVER_ERROR): Deprecated.
4107 * java/net/MulticastSocket.java
4108 (send): Replaced checkMulticast with appropriate checkPermission call,
4109 deprecated.
4110 * java/net/URLDecoder.java
4111 (decode): Deprecated.
4112 * java/net/URLEncoder.java
4113 (encode): Deprecated.
4114
4115 2003-03-02 Michael Koch <konqueror@gmx.de>
4116
4117 * javax/swing/text/Caret.java
4118 (getMagicCaretPosition): Fixed typo in method name.
4119 * javax/swing/text/DefaultCaret.java
4120 (getMagicCaretPosition): Fixed typo in method name.
4121
4122 2003-03-02 Michael Koch <konqueror@gmx.de>
4123
4124 * java/awt/List.java
4125 (setMultipleSelections): Deprecated.
4126 (delItem): Deprecated.
4127 * java/awt/MenuComponent.java
4128 (getPeer): Deprecated.
4129 * java/awt/ScrollPane.java
4130 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4131 * java/awt/dnd/MouseDragGestureRecognizer.java
4132 (mouseClicked): Added comment.
4133 (mousePressed): Added comment.
4134 (mouseReleased): Added comment.
4135 (mouseEntered): Added comment.
4136 (mouseExited): Added comment.
4137 (mouseDragged): Added comment.
4138 (mouseMoved): Added comment.
4139 * java/awt/event/KeyEvent.java
4140 (KeyEvent): Deprecated.
4141 (setModifiers): Deprecated.
4142
4143 2003-03-02 Michael Koch <konqueror@gmx.de>
4144
4145 * gnu/java/nio/FileChannelImpl.java
4146 (fd): Type FileDescriptor instead of int.
4147 (lengthInternal): Removed.
4148 (FileChannelImpl): Fixed arguments, check type of file object.
4149 (size): Made it native.
4150 (implPosition): New native method.
4151 (implTruncate): New native method.
4152 (position): Implemented.
4153 (truncate): Implemented.
4154 (nio_mmap_file): Changed arguments.
4155 (nio_munmap_file): Changed arguments.
4156 (nio_msync): Changed arguments.
4157 * gnu/java/nio/natFileChannelImpl.cc
4158 (lengthInternal): Removed.
4159 (size): New method.
4160 (implPosition): New method.
4161 (implTruncate): New method.
4162 (nio_mmap_file): Changed arguments.
4163 (nio_munmap_file): Changed arguments.
4164 (nio_msync): Changed arguments.
4165
4166 2003-03-02 Michael Koch <konqueror@gmx.de>
4167
4168 * java/awt/dnd/DropTargetContext.java:
4169 Compile fix: Forgot to commit import.
4170
4171 2003-03-02 Michael Koch <konqueror@gmx.de>
4172
4173 * java/awt/Component.java,
4174 java/awt/ScrollPane.java:
4175 Fixed typos.
4176
4177 2003-03-02 Michael Koch <konqueror@gmx.de>
4178
4179 * java/awt/dnd/DnDEventMulticaster.java: New file.
4180 * java/awt/dnd/DragSource.java
4181 (flavorMap): New member variable.
4182 (dragSourceListener): New member variable.
4183 (dragSourceMotionListener): New member variable.
4184 (getFlavorMap): Implemented.
4185 (createDragGestureRecognizer): Implemented.
4186 (addDragSourceListener): Implemented.
4187 (removeDragSourceListener): Implemented.
4188 (getDragSourceListeners): Implemented.
4189 (addDragSourceMotionListener): Implemented.
4190 (removeDragSourceMotionListener): Implemented.
4191 (getDragSourceMotionListeners): Implemented.
4192 (getListeners): Implemented.
4193 * java/awt/dnd/DragSourceContext.java
4194 (peer): New member variable.
4195 (cursor): New member variable.
4196 (transferable): New member variable.
4197 (trigger): New member variable.
4198 (dragSourceListener): New member variable.
4199 (image): New member variable.
4200 (offset): New member variable.
4201 (DragSourceContext): Implemented.
4202 (getDragSource): Implemented.
4203 (getComponent): Implemented.
4204 (getTrigger): Implemented.
4205 (getSourceActions): Implemented.
4206 (setCursor): Implemented.
4207 (getCursor): Implemented.
4208 (addDragSourceListener): Implemented.
4209 (removeDragSourceListener): Implemented.
4210 (getTransferable): Implemented.
4211 * java/awt/dnd/DropTarget.java
4212 (DropTargetAutoScroller.component): New member variable.
4213 (DropTargetAutoScroller.point): New member variable.
4214 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4215 (DropTargetAutoScroller.updateLocation): Implemented.
4216 (active): Renamed from isActive, defaults to true now.
4217 (component): New member variable.
4218 (flavorMap): New member variable.
4219 (actions): New member variable.
4220 (dropTargetContext): New member variable.
4221 (dropTargetListener): New member variable.
4222 (DropTarget): Implemented.
4223 (getComponent): Implemented.
4224 (setComponent): Implemented.
4225 (setDefaultActions): Implemented.
4226 (getDefaultActions): Implemented.
4227 (setActive): Use active instead of isActive.
4228 (isActive): Use active instead of isActive.
4229 (addDropTargetListener): Implemented.
4230 (removeDropTargetListener): Implemented.
4231 (getFlavorMap): Implemented.
4232 (setFlavorMap): Implemented.
4233 (getDropTargetContext): Implemented.
4234 (createDropTargetContext): Implemented.
4235 (createDropTargetAutoScroller): Implemented.
4236 * java/awt/dnd/DropTargetContext.java
4237 (TransferableProxy.getTransferDataFlavors): Implemented.
4238 (TransferableProxy.isDataFlavorSupported): Implemented.
4239 (TransferableProxy.getTransferData): Implemented.
4240 (dropTarget): New member variable.
4241 (dtcp): New member variable.
4242 (DropTargetContext): New package private constructor.
4243 (getDropTarget): Implemented.
4244 (getComponent): Implemented.
4245 (addNotify): Implemented.
4246 (removeNotify): Implemented.
4247 (getCurrentDataFlavorsAsList): Implemented.
4248 (isDataFlavorSupported): Implemented.
4249 * java/awt/dnd/MouseDragGestureRecognizer.java
4250 (registerListeners): Implemented.
4251 (unregisterListeners): Implemented.
4252 * Makefile.am
4253 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4254 * Makefile.in: Regenerated.
4255
4256 2003-03-02 Michael Koch <konqueror@gmx.de>
4257
4258 * java/awt/Component.java
4259 (eventTypeEnabled): New method.
4260 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4261 * java/awt/Container.java
4262 (changeSupport): New member variable.
4263 (addPropertyChangeListener): New methods.
4264 * java/awt/ContainerOrderFocusTraversalPolicy.java
4265 (ContainerOrderFocusTraversalPolicy): Added comment.
4266 (getComponentAfter): Throw exception, documentation added.
4267 (getComponentBefore): Throw exception, documentation added.
4268 (getFirstComponent): Throw exception, documentation added.
4269 (getLastComponent): Throw exception, documentation added.
4270 (getDefaultComponent): Throw exception, documentation added.
4271 * java/awt/EventQueue.java: Reindented.
4272 * java/awt/FocusTraversalPolicy.java:
4273 (FocusTraversalPolicy): Added comment.
4274 (getComponentAfter): Documentation added.
4275 (getComponentBefore): Documentation added.
4276 (getFirstComponent): Documentation added.
4277 (getLastComponent): Documentation added.
4278 (getDefaultComponent): Documentation added.
4279 (getInitialComponent): Documentation added.
4280 * java/awt/ScrollPane.java
4281 (wheelScrollingEnabled): New member variable.
4282 (ScrollPane): Initialize wheelScollingEnabled.
4283 (eventTypeEnabled): New method.
4284 (isWheelScrollingEnabled): New method.
4285 (setWheelScrollingEnabled): New method.
4286
4287 2003-03-02 Michael Koch <konqueror@gmx.de>
4288
4289 * java/net/DatagramSocket.java
4290 (closed): New member variable.
4291 (close): Use closed variable.
4292 (getInetAddress): No need to call isConnected().
4293 (getPort): No need to call isConnected().
4294 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4295 (isClosed): Reimplemented.
4296
4297 2003-03-02 Michael Koch <konqueror@gmx.de>
4298
4299 * configure.in: Added check for memory mapping of files.
4300 * configure: Regenerated.
4301 * config.h.in: Regenerated.
4302
4303 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4304
4305 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4306 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4307
4308 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4309
4310 * java/io/File.java (normalizePath): Remove trailing separator
4311 on Windows only if path is not of the form "x:\".
4312
4313 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4314 (java::io::File::attr): Change formatting a bit and use
4315 WIN32_EPOCH_MILLIS instead of magic numbers.
4316 (java::io::File::isAbsolute): Path must have at least 3
4317 characters for a UNC network path.
4318 (java::io::File::init_native): Define.
4319 (java::io::File::performCreate): Likewise.
4320 (java::io::File::performSetReadOnly): Likewise.
4321 (java::io::File::performSetLastModified): Likewise.
4322 (java::io::File::performListRoots): Likewise.
4323
4324 2003-03-01 Tom Tromey <tromey@redhat.com>
4325
4326 * java/lang/natObject.cc: Don't include assert.h.
4327 (heavy_lock_obj_finalization_proc): Use JvAssert.
4328 (remove_all_heavy): Likewise.
4329 (_Jv_MonitorEnter): Likewise.
4330 (_Jv_MonitorExit): Likewise.
4331 (wait): Likewise.
4332
4333 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4334
4335 * java/io/File (getAbsolutePath): Prefix drive specifier on
4336 Windows for paths starting with a '\'.
4337 (toURL): Make URL more consistent with what Sun's JDK returns.
4338
4339 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4340 true only if the path is a UNC network path or it starts with a
4341 drive specifier.
4342
4343 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4344 Be prepared to handle either '/' or '\\' in the file path for
4345 Windows if using the "file" protocol.
4346 Canonicalise the file path if using a relative path in the given
4347 context and the "file" protocol.
4348
4349 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4350
4351 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4352 program array element passed to CreateProcess.
4353
4354 2003-03-01 Tom Tromey <tromey@redhat.com>
4355
4356 * java/rmi/registry/RegistryHandler.java: Deprecate.
4357
4358 2003-03-01 Tom Tromey <tromey@redhat.com>
4359
4360 * javax/accessibility/AccessibleEditableText.java,
4361 javax/accessibility/AccessibleHyperlink.java: New versions from
4362 Classpath.
4363
4364 * gnu/java/locale/LocaleInformation_af_ZA.java,
4365 gnu/java/locale/LocaleInformation_ar_AE.java,
4366 gnu/java/locale/LocaleInformation_ar_BH.java,
4367 gnu/java/locale/LocaleInformation_ar_DZ.java,
4368 gnu/java/locale/LocaleInformation_ar_EG.java,
4369 gnu/java/locale/LocaleInformation_ar_IN.java,
4370 gnu/java/locale/LocaleInformation_ar_IQ.java,
4371 gnu/java/locale/LocaleInformation_ar_JO.java,
4372 gnu/java/locale/LocaleInformation_ar_KW.java,
4373 gnu/java/locale/LocaleInformation_ar_LB.java,
4374 gnu/java/locale/LocaleInformation_ar_LY.java,
4375 gnu/java/locale/LocaleInformation_ar_MA.java,
4376 gnu/java/locale/LocaleInformation_ar_OM.java,
4377 gnu/java/locale/LocaleInformation_ar_QA.java,
4378 gnu/java/locale/LocaleInformation_ar_SD.java,
4379 gnu/java/locale/LocaleInformation_ar_SY.java,
4380 gnu/java/locale/LocaleInformation_ar_TN.java,
4381 gnu/java/locale/LocaleInformation_ar_YE.java,
4382 gnu/java/locale/LocaleInformation_be_BY.java,
4383 gnu/java/locale/LocaleInformation_bn_IN.java,
4384 gnu/java/locale/LocaleInformation_br_FR.java,
4385 gnu/java/locale/LocaleInformation_bs_BA.java,
4386 gnu/java/locale/LocaleInformation_ca_ES.java,
4387 gnu/java/locale/LocaleInformation_cs_CZ.java,
4388 gnu/java/locale/LocaleInformation_cy_GB.java,
4389 gnu/java/locale/LocaleInformation_da_DK.java,
4390 gnu/java/locale/LocaleInformation_de_AT.java,
4391 gnu/java/locale/LocaleInformation_de_BE.java,
4392 gnu/java/locale/LocaleInformation_de_CH.java,
4393 gnu/java/locale/LocaleInformation_de_DE.java,
4394 gnu/java/locale/LocaleInformation_de_LU.java,
4395 gnu/java/locale/LocaleInformation_el_GR.java,
4396 gnu/java/locale/LocaleInformation_en_AU.java,
4397 gnu/java/locale/LocaleInformation_en_BW.java,
4398 gnu/java/locale/LocaleInformation_en_CA.java,
4399 gnu/java/locale/LocaleInformation_en_DK.java,
4400 gnu/java/locale/LocaleInformation_en_GB.java,
4401 gnu/java/locale/LocaleInformation_en_HK.java,
4402 gnu/java/locale/LocaleInformation_en_IE.java,
4403 gnu/java/locale/LocaleInformation_en_IN.java,
4404 gnu/java/locale/LocaleInformation_en_NZ.java,
4405 gnu/java/locale/LocaleInformation_en_PH.java,
4406 gnu/java/locale/LocaleInformation_en_SG.java,
4407 gnu/java/locale/LocaleInformation_en_US.java,
4408 gnu/java/locale/LocaleInformation_en_ZA.java,
4409 gnu/java/locale/LocaleInformation_en_ZW.java,
4410 gnu/java/locale/LocaleInformation_es_AR.java,
4411 gnu/java/locale/LocaleInformation_es_BO.java,
4412 gnu/java/locale/LocaleInformation_es_CL.java,
4413 gnu/java/locale/LocaleInformation_es_CO.java,
4414 gnu/java/locale/LocaleInformation_es_CR.java,
4415 gnu/java/locale/LocaleInformation_es_DO.java,
4416 gnu/java/locale/LocaleInformation_es_EC.java,
4417 gnu/java/locale/LocaleInformation_es_ES.java,
4418 gnu/java/locale/LocaleInformation_es_GT.java,
4419 gnu/java/locale/LocaleInformation_es_HN.java,
4420 gnu/java/locale/LocaleInformation_es_MX.java,
4421 gnu/java/locale/LocaleInformation_es_NI.java,
4422 gnu/java/locale/LocaleInformation_es_PA.java,
4423 gnu/java/locale/LocaleInformation_es_PE.java,
4424 gnu/java/locale/LocaleInformation_es_PR.java,
4425 gnu/java/locale/LocaleInformation_es_PY.java,
4426 gnu/java/locale/LocaleInformation_es_SV.java,
4427 gnu/java/locale/LocaleInformation_es_US.java,
4428 gnu/java/locale/LocaleInformation_es_UY.java,
4429 gnu/java/locale/LocaleInformation_es_VE.java,
4430 gnu/java/locale/LocaleInformation_et_EE.java,
4431 gnu/java/locale/LocaleInformation_eu_ES.java,
4432 gnu/java/locale/LocaleInformation_fa_IR.java,
4433 gnu/java/locale/LocaleInformation_fi_FI.java,
4434 gnu/java/locale/LocaleInformation_fo_FO.java,
4435 gnu/java/locale/LocaleInformation_fr_BE.java,
4436 gnu/java/locale/LocaleInformation_fr_CA.java,
4437 gnu/java/locale/LocaleInformation_fr_CH.java,
4438 gnu/java/locale/LocaleInformation_fr_FR.java,
4439 gnu/java/locale/LocaleInformation_fr_LU.java,
4440 gnu/java/locale/LocaleInformation_ga_IE.java,
4441 gnu/java/locale/LocaleInformation_gd_GB.java,
4442 gnu/java/locale/LocaleInformation_gl_ES.java,
4443 gnu/java/locale/LocaleInformation_gv_GB.java,
4444 gnu/java/locale/LocaleInformation_he_IL.java,
4445 gnu/java/locale/LocaleInformation_hi_IN.java,
4446 gnu/java/locale/LocaleInformation_hr_HR.java,
4447 gnu/java/locale/LocaleInformation_hu_HU.java,
4448 gnu/java/locale/LocaleInformation_id_ID.java,
4449 gnu/java/locale/LocaleInformation_it_CH.java,
4450 gnu/java/locale/LocaleInformation_it_IT.java,
4451 gnu/java/locale/LocaleInformation_iw_IL.java,
4452 gnu/java/locale/LocaleInformation_ja_JP.java,
4453 gnu/java/locale/LocaleInformation_ka_GE.java,
4454 gnu/java/locale/LocaleInformation_kl_GL.java,
4455 gnu/java/locale/LocaleInformation_ko_KR.java,
4456 gnu/java/locale/LocaleInformation_kw_GB.java,
4457 gnu/java/locale/LocaleInformation_lt_LT.java,
4458 gnu/java/locale/LocaleInformation_lv_LV.java,
4459 gnu/java/locale/LocaleInformation_mi_NZ.java,
4460 gnu/java/locale/LocaleInformation_mk_MK.java,
4461 gnu/java/locale/LocaleInformation_mr_IN.java,
4462 gnu/java/locale/LocaleInformation_mt_MT.java,
4463 gnu/java/locale/LocaleInformation_nl_BE.java,
4464 gnu/java/locale/LocaleInformation_nl_NL.java,
4465 gnu/java/locale/LocaleInformation_nn_NO.java,
4466 gnu/java/locale/LocaleInformation_no_NO.java,
4467 gnu/java/locale/LocaleInformation_oc_FR.java,
4468 gnu/java/locale/LocaleInformation_pl_PL.java,
4469 gnu/java/locale/LocaleInformation_pt_BR.java,
4470 gnu/java/locale/LocaleInformation_pt_PT.java,
4471 gnu/java/locale/LocaleInformation_ro_RO.java,
4472 gnu/java/locale/LocaleInformation_ru_RU.java,
4473 gnu/java/locale/LocaleInformation_ru_UA.java,
4474 gnu/java/locale/LocaleInformation_se_NO.java,
4475 gnu/java/locale/LocaleInformation_sk_SK.java,
4476 gnu/java/locale/LocaleInformation_sl_SI.java,
4477 gnu/java/locale/LocaleInformation_sq_AL.java,
4478 gnu/java/locale/LocaleInformation_sr_YU.java,
4479 gnu/java/locale/LocaleInformation_sv_FI.java,
4480 gnu/java/locale/LocaleInformation_sv_SE.java,
4481 gnu/java/locale/LocaleInformation_ta_IN.java,
4482 gnu/java/locale/LocaleInformation_te_IN.java,
4483 gnu/java/locale/LocaleInformation_tg_TJ.java,
4484 gnu/java/locale/LocaleInformation_tl_PH.java,
4485 gnu/java/locale/LocaleInformation_tr_TR.java,
4486 gnu/java/locale/LocaleInformation_uk_UA.java,
4487 gnu/java/locale/LocaleInformation_ur_PK.java,
4488 gnu/java/locale/LocaleInformation_uz_UZ.java,
4489 gnu/java/locale/LocaleInformation_vi_VN.java,
4490 gnu/java/locale/LocaleInformation_yi_US.java,
4491 gnu/java/locale/LocaleInformation_zh_CN.java,
4492 gnu/java/locale/LocaleInformation_zh_HK.java,
4493 gnu/java/locale/LocaleInformation_zh_SG.java,
4494 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4495 info; from Classpath.
4496
4497 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4498 isPaintPending): New methods.
4499 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4500 setMaximizedBounds): New methods.
4501 (beginLayout, endLayout, isPaintPending): Likewise.
4502 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4503 (requestFocus): Likewise.
4504 (isObscured): Likewise.
4505 (canDetermineObscurity): Likewise.
4506 (coalescePaintEvent): Likewise.
4507 (updateCursorImmediately): Likewise.
4508 (createVolatileImage): Likewise.
4509 (handlesWheelScrolling): Likewise.
4510 (createBuffers): Likewise.
4511 (getBackBuffer): Likewise.
4512 (flip): Likewise.
4513 (destroyBuffers): Likewise.
4514
4515 * Makefile.in: Rebuilt.
4516 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4517 RobotPeer.java.
4518 * gnu/java/awt/GLightweightPeer.java,
4519 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4520 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4521 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4522 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4523 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4524 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4525 java/awt/dnd/peer/DragSourceContextPeer.java,
4526 java/awt/dnd/peer/DropTargetContextPeer.java,
4527 java/awt/peer/ButtonPeer.java,
4528 java/awt/peer/CheckboxMenuItemPeer.java,
4529 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4530 java/awt/peer/ComponentPeer.java,
4531 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4532 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4533 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4534 java/awt/peer/MenuBarPeer.java,
4535 java/awt/peer/MenuComponentPeer.java,
4536 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4537 java/awt/peer/PopupMenuPeer.java,
4538 java/awt/peer/ScrollPanePeer.java,
4539 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4540 java/awt/peer/TextComponentPeer.java,
4541 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4542 New versions from Classpath.
4543 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4544 * java/awt/peer/RobotPeer.java: Likewise.
4545
4546 2003-03-01 Mark Wielaard <mark@klomp.org>
4547
4548 * java/io/ObjectInputStream.java: Reindent.
4549 * java/io/ObjectOutputStream.java: Likewise.
4550
4551 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4552
4553 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4554 jvalue for each argument. Simplify.
4555 * testsuite/libjava.jni/calls.c (docall),
4556 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4557 misalignment.
4558
4559 2003-02-28 Mark Wielaard <mark@klomp.org>
4560
4561 * Makefile.am (nat_source_files): Remove
4562 java/io/natObjectOutputStream.cc.
4563 * Makefile.in: Regenerated.
4564 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4565 * java/io/ObjectStreamField.java (typename): New field.
4566 (ObjectStreamField(String, Class)): Initialize new field.
4567 (ObjectStreamField(String, String)): New Constructor.
4568 (getTypeCode): Use new field.
4569 (getTypeString): Use new field.
4570 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4571 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4572 Handle reading of Proxy classes. Never drain(), just write
4573 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4574 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4575 (flush): Call flush(), not just drain().
4576 (writeBoolean): Always use blockDataOutput.
4577 (writeByte): Likewise.
4578 (writeShort): Likewise.
4579 (writeChar): Likewise.
4580 (writeInt): Likewise.
4581 (writeLong): Likewise.
4582 (writeFloat): Likewise.
4583 (writeDouble): Likewise.
4584 (writeBytes): Likewise.
4585 (putfield (put(String,Object))): Throw IllegalArgumentException if
4586 field cannot be found.
4587 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4588 (writeArraySizeAndElements): Write byte[] in one go.
4589 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4590 set BlockDataMode to false.
4591 (annotateProxyClass): New method.
4592 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4593 (getField): No longer native.
4594 (getMethod): Likewise.
4595 (setBlockDataMode): Always drain() on switch, return old mode.
4596 (static): New static code block.
4597 * java/io/natObjectOutputStream.cc: Removed.
4598 * java/io/ObjectInputStream.java (getField): No longer native.
4599 (getMethod): Likewise.
4600 (readObject): Remember and reset old BlockDataMode. Track whether
4601 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4602 TC_LONGSTRING.
4603 (defaultReadObject): Set BlockDataMode to false during readFields.
4604 (resolveClass): Create new SecurityManager if necessary.
4605 Use Class.forName() if null ClassLoader found.
4606 (read(byte[],int,int): Copy remaining bytes to data before calling
4607 readNextBlock().
4608 (readFields): Set and reset BlockDataMode on call_read_method.
4609 Catch NoSuchFieldErrors.
4610 (setBlockDataMode): Return old mode.
4611 (static): New static code block.
4612 * java/io/natObjectInputStream.cc (getField): Removed.
4613 (getMethod): Likewise.
4614
4615 2003-02-27 Michael Koch <konqueror@gmx.de>
4616
4617 * java/beans/Beans.java,
4618 java/beans/FeatureDescriptor.java
4619 java/beans/PropertyEditorManager.java:
4620 Reformated to GNU style.
4621
4622 2003-02-25 Michael Koch <konqueror@gmx.de>
4623
4624 * gnu/java/nio/MappedByteFileBuffer.java,
4625 gnu/java/nio/natMappedByteFileBuffer.cc:
4626 New files, both are not compiled yet to get not noncompiling CVS.
4627
4628 2003-02-24 Tom Tromey <tromey@redhat.com>
4629
4630 * java/util/prefs/AbstractPreferences.java (isUserNode):
4631 Implemented.
4632
4633 2003-02-24 Tom Tromey <tromey@redhat.com>
4634
4635 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4636 Deprecate.
4637 * java/lang/Thread.java (resume): Deprecate.
4638 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4639 in @deprecated.
4640
4641 2003-02-23 Tom Tromey <tromey@redhat.com>
4642
4643 * Makefile.in: Rebuilt.
4644 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4645
4646 2003-02-23 Tom Tromey <tromey@redhat.com>
4647
4648 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4649 libraries): Removed.
4650 (add_library): Removed.
4651 (_load): Don't call add_library.
4652 (loadLibraryInternal): Likewise.
4653 (init): Likewise.
4654 (lookup_data): New struct.
4655 (find_symbol): New function.
4656 (_Jv_FindSymbolInExecutable): Use it.
4657
4658 2002-02-21 Anthony Green <green@redhat.com>
4659
4660 * java/lang/Thread.java (Thread): New constructor taking stack
4661 size parameter (ignored for now).
4662 * Many methods: Merged GNU Classpath documentation.
4663
4664 * java/lang/Class.java (finalize): throws a Throwable.
4665
4666 2003-02-21 Mark Wielaard <mark@klomp.org>
4667
4668 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4669 argument is null.
4670
4671 2003-02-21 Mark Wielaard <mark@klomp.org>
4672
4673 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4674 then 65535 chars throw IllegalArgumentException.
4675
4676 2003-02-21 Mark Wielaard <mark@klomp.org>
4677
4678 * java/util/zip/ZipFile.java (finalize): New method.
4679
4680 2003-02-21 Michael Koch <konqueror@gmx.de>
4681
4682 * gnu/java/nio/natSocketChannelImpl.cc:
4683 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4684 <cato@df.lth.se> for pointing to it.
4685
4686 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4687
4688 * java/math/BigInteger.java (euclidInv): Take result array as an
4689 argument. Updated all callers.
4690 (modInverse): Removed unused variables.
4691
4692 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4693
4694 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4695 config.status.
4696 * configure: Rebuilt.
4697
4698 2003-02-19 Michael Koch <konqueror@gmx.de>
4699
4700 * gnu/java/nio/natSocketChannelImpl.cc:
4701 Added support for platforms without network support.
4702
4703 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4704
4705 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4706 after config.h. Use <> for consistency.
4707 * java/lang/natObject.cc: Likewise.
4708 * java/lang/natRuntime.cc: Likewise.
4709 * java/lang/natSystem.cc: Likewise.
4710 * java/util/natTimeZone.cc: Likewise.
4711 * win32.cc: Likewise.
4712 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4713 listen, write, read): Undef to avoid interference from OS macros.
4714
4715 2003-02-19 Michael Koch <konqueror@gmx.de>
4716
4717 * gnu/java/nio/ByteBufferImpl.java
4718 (ByteBufferImpl): Renamed two variables.
4719 * gnu/java/nio/CharBufferImpl.java
4720 (CharBufferImpl): Renamed two variables.
4721 * gnu/java/nio/DoubleBufferImpl.java
4722 (DoubleBufferImpl): Renamed two variables.
4723 * gnu/java/nio/FloatBufferImpl.java
4724 (FloatBufferImpl): Renamed two variables.
4725 * gnu/java/nio/IntBufferImpl.java
4726 (IntBufferImpl): Renamed two variables.
4727 * gnu/java/nio/LongBufferImpl.java
4728 (LongBufferImpl): Renamed two variables.
4729 * gnu/java/nio/ShortBufferImpl.java
4730 (ShortBufferImpl): Renamed two variables.
4731 * java/nio/CharBuffer.java
4732 (wrap): Fixed arguments to CharBufferImpl constructor.
4733 (hasArray): Only not read-only buffers have backing arrays.
4734 (length): Documentation added.
4735 (subSequence): Documentation added.
4736 * java/nio/DoubleBuffer.java
4737 (hasArray): Only not read-only buffers have backing arrays.
4738 * java/nio/FloatBuffer.java
4739 (hasArray): Only not read-only buffers have backing arrays.
4740 * java/nio/IntBuffer.java
4741 (hasArray): Only not read-only buffers have backing arrays.
4742 * java/nio/LongBuffer.java
4743 (hasArray): Only not read-only buffers have backing arrays.
4744 * java/nio/ShortBuffer.java
4745 (hasArray): Only not read-only buffers have backing arrays.
4746
4747 2003-02-19 Michael Koch <konqueror@gmx.de>
4748
4749 * javax/accessibility/AccessibleContext.java
4750 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4751
4752 2003-02-19 Michael Koch <konqueror@gmx.de>
4753
4754 * java/awt/ScrollPaneAdjustable.java: Reformated.
4755
4756 2003-02-19 Michael Koch <konqueror@gmx.de>
4757
4758 * gnu/awt/j2d/Graphics2DImpl.java
4759 (getFontRenderContext): New method.
4760 (drawGlyphVector): New method.
4761 * java/awt/Graphics2D.java
4762 (getFontRenderContext): New abstract method.
4763 (drawGlyphVector): New abstract method.
4764
4765 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4766
4767 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4768 if necessary.
4769
4770 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4771 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4772 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4773 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4774 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4775 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4776 (setFont, gtkSetFont): add.
4777 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4778 Propagate font to peer. (setFont): add FIXME comment.
4779
4780 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4781 (gtkTextGetSize): fix height, width computation.
4782
4783 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4784 Make X font name a bit less bogus.
4785
4786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4787 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4788
4789 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4790 (processAdjustmentEvent): Adjust value.
4791
4792 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4793 logic errors.
4794
4795 * java/awt/Component.java (setVisible, show, hide): Call show and
4796 hide methods in subclasses.
4797 (getPreferredSize): don't set prefSize before we have peer.
4798
4799 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4800 Guess (0,0) if we don't have peer.
4801
4802
4803 2003-02-18 Michael Koch <konqueror@gmx.de>
4804
4805 * java/nio/channels/FileChannel.java
4806 (toString): New implementation, added documentation.
4807 (map): Added exception documentation.
4808 (size): Added exception documentation.
4809 (write): New methods, documentation work.
4810 (read): New methods, documentation work.
4811 (implCloseChannel): Rewrote exception documentation.
4812 (force): Throws IOException, added documentation.
4813 (lock): New methods.
4814 (tryLock): New methods.
4815 (position): New methods.
4816 (transferTo): New method.
4817 (transferFrom): New method.
4818 (truncate): New method.
4819 * java/nio/channels/spi/SelectorProvider.java
4820 (provider): Implemented.
4821 * Makefile.am
4822 (ordinary_java_source_files): Added the following files:
4823 gnu/java/nio/DatagramChannelImpl.java
4824 gnu/java/nio/FileChannelImpl.java
4825 gnu/java/nio/PipeImpl.java
4826 gnu/java/nio/SelectionKeyImpl.java
4827 gnu/java/nio/SelectorImpl.java
4828 gnu/java/nio/SelectorProviderImpl.java
4829 gnu/java/nio/ServerSocketChannelImpl.java
4830 gnu/java/nio/SocketChannelImpl.java
4831 java/nio/channels/FileLock.java
4832 (nat_java_source_files): Added the following files:
4833 gnu/java/nio/natFileChannelImpl.cc
4834 gnu/java/nio/natSelectorImpl.cc
4835 gnu/java/nio/natSocketChannelImpl.cc
4836 * Makefile.in: Regenerated.
4837
4838 2003-02-17 Tom Tromey <tromey@redhat.com>
4839
4840 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4841 * java/awt/image/ImageFilter.java: Likewise.
4842
4843 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4844
4845 * java/math/BigInteger.java (euclidInv): Return array of
4846 `BigInteger's. Changed all callers.
4847
4848 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4849
4850 * java/util/Properties.java (store): Move the code formerly in
4851 list(), into this method.
4852 (list (PrintStream)): Just call list (PrintWriter) with a
4853 PrintWriter object constructed from the given PrintStream object.
4854 (list (PrintWriter)): Emulate the output of Properties.list()
4855 as found in JDK 1.3/1.4.
4856
4857 2003-02-17 Michael Koch <konqueror@gmx.de>
4858
4859 * java/net/DatagramSocket.java
4860 (connect): Merged with classpath.
4861 (disconnect): Merged documentation with classpath.
4862 (receice): Merged documentation with classpath.
4863 (send): Merged documentation with classpath.
4864
4865 2003-02-17 Michael Koch <konqueror@gmx.de>
4866
4867 * java/awt/dnd/DragSourceContext.java
4868 (addDragSourceListener): Added documentation.
4869 * java/awt/dnd/DragSourceDragEvent.java
4870 (serialVersionUID): New member variable.
4871 (getDropAction): Reformated.
4872 * java/awt/dnd/DragSourceDropEvent.java
4873 (serialVersionUID): New member variable.
4874 (dropSuccess): Renamed from success for serialization issues.
4875 * java/awt/dnd/DragSourceEvent.java
4876 (serialVersionUID): New member variable.
4877 * java/awt/dnd/DropTarget.java
4878 (serialVersionUID): New member variable.
4879 (DropTarget): Implemented, documentation reworked.
4880 (setComponent): Documentation added.
4881 (getComponent): Documentation added.
4882 (setDefaultActions): Documentation added.
4883 (getDefaultActions): Documentation added.
4884 (addDropTargetListener): Documentation added.
4885 * java/awt/dnd/DropTargetContext.java
4886 (DropTargetContext): Documentation added.
4887 (TransferableProxy.TransferableProxy): New method.
4888 (dropComplete): Fixed documentation.
4889 (getTransferable): Fixed documentation.
4890 (createTransferableProxy): Implemented.
4891 * java/awt/dnd/DropTargetDragEvent.java
4892 (DropTargetDragEvent): Documentation added.
4893 (serialVersionUID): New member variable.
4894 (DropTargetDragEvent): Throw exceptions, documentation added.
4895 (acceptDrag): Implemented.
4896 (getCurrentDataFlavors): Implemented.3yy
4897 (getCurrentDataFlavorsAsList): Implemented.
4898 (isDataFlavorSupported): Implemented.
4899 (rejectDrag): Implemented.
4900 * java/awt/dnd/DropTargetDropEvent.java
4901 (DropTargetDropEvent): Documentation added.
4902 (serialVersionUID): New member variable.
4903 (actions): Renamed from srcActions for serialization issues.
4904 (isLocalTx): Renamed from isLocalTx for serialization issues.
4905 (DropTargetDropEvent): New implementation, throw exceptions,
4906 documentation added.
4907 (getCurrentDataFlavors): Implemented.
4908 (getCurrentDataFlavorsAsList): Implemented.
4909 (isDataFlavorSupported): Implemented.
4910 (getSourceActions): Implemented.
4911 (getDropAction): Implemented.
4912 (getTransferable): Implemented.
4913 (acceptDrop): Implemented.
4914 (rejectDrop): Implemented.
4915 * java/awt/dnd/DropTargetListener.java
4916 (drop): Fixed documentation.
4917 * java/awt/dnd/MouseDragGestureRecognizer.java
4918 (MouseDragGestureRecognizer): Documentation added.
4919
4920 2003-02-17 Michael Koch <konqueror@gmx.de>
4921
4922 * java/awt/font/FontRenderContext.java,
4923 java/awt/font/ShapeGraphicAttribute.java,
4924 java/awt/font/MultipleMaster.java,
4925 java/awt/font/TransformAttribute.java,
4926 java/awt/font/GlyphJustificationInfo.java,
4927 java/awt/font/LineBreakMeasurer.java,
4928 java/awt/font/TextMeasurer.java,
4929 java/awt/font/TextLayout.java,
4930 java/awt/font/LineMetrics.java,
4931 java/awt/font/TextAttribute.java,
4932 java/awt/font/GlyphMetrics.java,
4933 java/awt/font/OpenType.java,
4934 java/awt/font/GlyphVector.java,
4935 java/awt/font/GraphicAttribute.java,
4936 java/awt/font/ImageGraphicAttribute.java,
4937 java/awt/font/NumericShaper.java: New files.
4938 * Makefile.am
4939 (awt_java_source_files): Added the following files:
4940 java/awt/font/FontRenderContext.java
4941 java/awt/font/ShapeGraphicAttribute.java
4942 java/awt/font/MultipleMaster.java
4943 java/awt/font/TransformAttribute.java
4944 java/awt/font/GlyphJustificationInfo.java
4945 java/awt/font/LineBreakMeasurer.java
4946 java/awt/font/TextMeasurer.java
4947 java/awt/font/TextLayout.java
4948 java/awt/font/LineMetrics.java
4949 java/awt/font/TextAttribute.java
4950 java/awt/font/GlyphMetrics.java
4951 java/awt/font/OpenType.java
4952 java/awt/font/GlyphVector.java
4953 java/awt/font/GraphicAttribute.java
4954 java/awt/font/ImageGraphicAttribute.java
4955 java/awt/font/NumericShaper.java
4956 * Makefile.in: Regenerated.
4957
4958 2003-02-17 Michael Koch <konqueror@gmx.de>
4959
4960 * java/awt/print/Paper.java
4961 (Paper): Implements Cloneable.
4962 * java/awt/print/PrinterJob.java
4963 (setJobName): Return value must be void.
4964 (print): Throws PrinterException.
4965
4966 2003-02-16 Tom Tromey <tromey@redhat.com>
4967
4968 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4969 variable.
4970
4971 2003-02-15 Michael Koch <konqueror@gmx.de>
4972
4973 * java/awt/datatransfer/DataFlavor.java
4974 (isRepresentationClassByteBuffer): Removed try-catch block.
4975 (isRepresentationClassCharBuffer): Removed try-catch block.
4976 (isRepresentationClassReader): Removed try-catch block.
4977
4978 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4979
4980 * java/nio/charset/Charset.java
4981 (isRegistered): Fixed method args and implementation.
4982 * java/nio/charset/CharsetEncoder.java
4983 (unmappableCharacterAction): New method.
4984
4985 2003-02-15 Michael Koch <konqueror@gmx.de>
4986
4987 * java/awt/CheckboxMenuItem.java
4988 (CheckBoxMenuItem): Dont implement Serializable.
4989 (getListeners): New method,
4990 (getItemListeners): New method.
4991 * java/awt/Choice.java
4992 (getListeners): New method,
4993 (getItemListeners): New method.
4994 * java/awt/Container.java
4995 (getListeners): Added exception documentation.
4996 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4997 (getFocusTraversalKeys): Added documentation.
4998 (areFocusTraversalKeysSet): Added documentation.
4999 (applyComponentOrientation): Added documentation.
5000 * java/awt/ContainerOrderFocusTraversalPolicy.java
5001 (implicitDownCycleTraversal): Renamed from downCycle for
5002 serialization.
5003 (ContainerOrderFocusTraversalPolicy): Added documentation.
5004 (accept): Reformated.
5005 * java/awt/Dialog.java
5006 (Dialog): Dont implement Serializable.
5007 (Dialog): Added documentation.
5008 * java/awt/Font.java
5009 (Font): Dont use absolute class name.
5010 * java/awt/Frame.java
5011 (Frame): Font implement Serializable.
5012 * java/awt/List.java
5013 (getListeners): New method,
5014 (getActionListeners): New method.
5015 (getItemListeners): New method.
5016 * java/awt/Menu.java
5017 (countItems): New deprecated method.
5018 * java/awt/Scrollbar.java
5019 (getListeners): New method,
5020 (getAdjustmentListeners): New method,
5021 * java/awt/TextComponent.java
5022 (getListeners): New method,
5023 (getTextListeners): New method,
5024 * java/awt/TextField.java
5025 (getListeners): New method,
5026 (getActionListeners): New method.
5027 * java/awt/Window.java
5028 (windowFocusListener): New member variable.
5029 (windowStateListener): New member variable.
5030 (getWindowFocusListeners): New method.
5031 (getWindowStateListeners): New method.
5032 (addWindowFocusListener): New method.
5033 (addWindowStateListener): New method.
5034 (removeWindowFocusListener): New method.
5035 (removeWindowStateListener): New method.
5036 * java/awt/datatransfer/DataFlavor.java
5037 (isRepresentationClassByteBuffer): New method.
5038 (isRepresentationClassCharBuffer): New method.
5039 (isRepresentationClassReader): New method.
5040
5041 2003-02-14 Mark Wielaard <mark@klomp.org>
5042
5043 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5044 zero when there is an exponent and the significant is zero.
5045 (divide): Always set scale to newScale even in special ZERO case.
5046
5047 2003-02-14 Tom Tromey <tromey@redhat.com>
5048
5049 * java/lang/System.java (properties): Use Properties.clone.
5050 (setProperties): Likewise.
5051
5052 2003-02-14 Michael Koch <konqueror@gmx.de>
5053
5054 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5055 * gnu/java/nio/ServerSocketChannelImpl.java
5056 (SocketAccept): Removed.
5057 (accept): Commented out use of SocketAccept.
5058
5059 2003-02-13 Tom Tromey <tromey@redhat.com>
5060
5061 * verify.cc (state::seen_subrs): New field.
5062 (state::state): Initialize it.
5063 (state::clean_subrs): New method.
5064 (state::~state): Call it.
5065 (state::copy): Copy subroutine list.
5066 (state::add_subr): New method.
5067 (state::merge): Only register a change if the current subroutine
5068 hasn't yet been noted.
5069
5070 2003-02-13 Mark Wielaard <mark@klomp.org>
5071
5072 * java/io/InputStreamReader.java (getEncoding): Return null when
5073 closed.
5074 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5075
5076 2003-02-13 Mark Wielaard <mark@klomp.org>
5077
5078 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5079 is zero.
5080
5081 2003-02-13 Mark Wielaard <mark@klomp.org>
5082
5083 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5084 next byte cannot be buffered.
5085
5086 2003-02-13 Michael Koch <konqueror@gmx.de>
5087
5088 * java/awt/Label.java
5089 (Label): Don't implement Serializable directly.
5090 (addNotify): Fixed typo in documentation.
5091 * java/awt/List.java
5092 (List): Don't implement Serializable directly.
5093 * java/awt/PopupMenu.java
5094 (PopupMenu): Don't implement Serializable directly.
5095 * java/awt/ScrollPane.java
5096 (ScrollPane): Don't implement Serializable directly.
5097 * java/awt/Scrollbar.java
5098 (Scrollbar): Don't implement Serializable directly.
5099 * java/awt/TextArea.java
5100 (preferredSize): Fixed method arguments.
5101 * java/awt/TextField.java
5102 (TextField): Don't implement Serializable directly.
5103 * java/awt/color/ICC_ColorSpace.java
5104 (fromCIOXYZ): Documentation added.
5105 (getMinValue): Documentation added.
5106 (getMaxValue): Documentation added.
5107 * java/awt/datatransfer/DataFlavor.java
5108 (isMimeTypeEqual): May not be final.
5109 (clone): Throws CloneNotSupportedException.
5110 (getReaderForText): Don't throws UnsupportedEncodingException.
5111
5112 2003-02-13 Michael Koch <konqueror@gmx.de>
5113
5114 * gnu/java/awt/peer/gtk/GdkGraphics.java
5115 (drawString): New stubbed method.
5116 * java/awt/Graphics.java
5117 (drawString): New method.
5118
5119 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5120
5121 PR libgcj/9271:
5122 * java/security/SecureRandom.java (next): Avoid bias in results.
5123
5124 2003-02-13 Michael <konqueror@gmx.de>
5125
5126 * gnu/java/nio/FileChannelImpl.java
5127 (lengthInternal): Must be native.
5128 (size): Check if channel is already closed.
5129 (implCloseChannel): Reformated.
5130 (read): w was unused, removed it.
5131 (read): Removed.
5132 (read): New method.
5133 (write): New method.
5134 (map): Check arguments.
5135 (force): Throws IOException, check if channel is closed.
5136 (transferTo): New method.
5137 (transferFrom): New method.
5138 (lock): New method.
5139 (tryLock): New method.
5140 (position): New method.
5141 (truncate): New method.
5142 (nio_mmap_file): Uncommented.
5143 (nio_munmap_file): Uncommented.
5144 (nio_msync): Uncommented.
5145 * gnu/java/nio/natFileChannelImpl.cc: New file.
5146
5147 2003-02-13 Michael Koch <konqueror@gmx.de>
5148
5149 * java/nio/ByteBuffer.java
5150 (endian): New member variable.
5151 (get): New methods.
5152 (equals): New method.
5153 (compareTo): New method.
5154 (order): New methods.
5155 (compact): New method.
5156 (isDirect): New method.
5157 (slice): New method.
5158 (duplicate): New method.
5159 (asReadOnlyBuffer): New method.
5160 (asCharBuffer): New method.
5161 (asDoubleBuffer): New method.
5162 (asFloatBuffer): New method.
5163 (asIntBuffer): New method.
5164 (asLongBuffer): New method.
5165 (asShortBuffer): New method.
5166 (get*): New methods.
5167 (put*): New methods.
5168 (toString): New method.
5169 * java/nio/CharBuffer.java
5170 (CharBuffer): Implement Comparable instead of Cloneable.
5171 (get): May not be final.
5172 (put): May not be final.
5173
5174 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5175
5176 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5177 lastIndexOf( ) instead of indexOf( ) to find the colon before
5178 the line number, because Win32 file names might contain a
5179 drive letter and a colon at the start of an absolute path.
5180
5181 2003-02-13 Michael Koch <konqueror@gmx.de>
5182
5183 * gnu/java/nio/natSocketChannelImpl.cc
5184 (SocketConnect): This is not implemented yet.
5185 (SocketBind): This is not implemented yet.
5186
5187 2003-02-13 Michael Koch <konqueror@gmx.de>
5188
5189 * gnu/java/nio/natByteBufferImpl.cc,
5190 gnu/java/nio/natCharBufferImpl.cc,
5191 gnu/java/nio/natDoubleBufferImpl.cc,
5192 gnu/java/nio/natFloatBufferImpl.cc,
5193 gnu/java/nio/natIntBufferImpl.cc,
5194 gnu/java/nio/natLongBufferImpl.cc,
5195 gnu/java/nio/natShortBufferImpl.cc:
5196 Added copyright and license.
5197 * java/nio/DoubleBuffer.java,
5198 java/nio/FloatBuffer.java,
5199 java/nio/IntBuffer.java,
5200 java/nio/LongBuffer.java,
5201 java/nio/ShortBuffer.java
5202 (array): Throw exceptions.
5203 (arrayOffset): Throw exceptions.
5204
5205 2003-02-13 Michael Koch <konqueror@gmx.de>
5206
5207 * gnu/java/util/prefs/FileBasedFactory.java,
5208 gnu/java/util/prefs/MemmoryBasedFactory.java,
5209 gnu/java/util/prefs/MemoryBasedPreferences.java,
5210 gnu/java/util/prefs/NodeReader.java,
5211 gnu/java/util/prefs/NodeWriter.java,
5212 java/util/prefs/AbstractPreferences.java,
5213 java/util/prefs/BackingStoreException.java,
5214 java/util/prefs/InvalidPreferencesFormatException.java,
5215 java/util/prefs/NodeChangeEvent.java,
5216 java/util/prefs/NodeChangeListener.java,
5217 java/util/prefs/PreferenceChangeEvent.java,
5218 java/util/prefs/PreferenceChangeListener.java,
5219 java/util/prefs/Preferences.java,
5220 java/util/prefs/PreferencesFactory.java:
5221 New files, all merged from classpath.
5222 * Makefile.am
5223 (ordinary_java_source_files): Added the following files:
5224 gnu/java/util/prefs/FileBasedFactory.java,
5225 gnu/java/util/prefs/MemmoryBasedFactory.java,
5226 gnu/java/util/prefs/MemoryBasedPreferences.java,
5227 gnu/java/util/prefs/NodeReader.java,
5228 gnu/java/util/prefs/NodeWriter.java,
5229 (core_java_source_files): Added the following files:
5230 java/util/prefs/AbstractPreferences.java,
5231 java/util/prefs/BackingStoreException.java,
5232 java/util/prefs/InvalidPreferencesFormatException.java,
5233 java/util/prefs/NodeChangeEvent.java,
5234 java/util/prefs/NodeChangeListener.java,
5235 java/util/prefs/PreferenceChangeEvent.java,
5236 java/util/prefs/PreferenceChangeListener.java,
5237 java/util/prefs/Preferences.java,
5238 java/util/prefs/PreferencesFactory.java
5239 * Makefile.in: Regenerated.
5240
5241 2003-02-13 Michael Koch <konqueror@gmx.de>
5242
5243 * java/net/NetPermission.java
5244 (NetPermission): Make doucmentation match the method declaration.
5245 * java/net/NetworkInterface.java
5246 (equals): Reformated for GNU coding style.
5247 * java/net/ServerSocket.java: Merged with classpath.
5248 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5249 * java/net/SocketImpl.java
5250 (localPort): Merged with classpath (initialize with -1).
5251 * java/net/SocketPermission.java: Merged with classpath (reindented).
5252 * java/net/URLDecoder.java: Merged with classpath (reindented).
5253
5254 2003-02-13 Michael Koch <konqueror@gmx.de>
5255
5256 * java/awt/GridBagConstraints.java
5257 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5258 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5259 * java/awt/KeyboardFocusManager.java
5260 (setGlobalCurrentFocusCycleRoot): Must be public.
5261 * java/awt/MenuComponent.java
5262 (MenuComponent): Must be public.
5263 * java/awt/Toolkit.java:
5264 Added some empty lines to make documentation more readable.
5265 (getFontPeer): Added @deprecated.
5266 (getColorModel): Added exception documentation.
5267 (getProperty): Fixed documentation.
5268
5269 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5270
5271 * configure.host (alpha*-*): Default to -mieee.
5272 * configure.in (IEEESPEC): New.
5273 * libgcj.spec.in (jc1): Add IEEESPEC.
5274 * configure: Rebuild.
5275
5276 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5277
5278 * include/win32.h: Include ws2tcpip.h instead of
5279 winsock.h to obtain definition of the socklen_t type.
5280 Remove IP_TOS definition - not needed with ws2tcpip.h
5281 (_Jv_connect): Correct slight formatting error.
5282
5283 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5284
5285 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5286 size of the arguments for a JNI function. For Win32,
5287 modify to search for all forms of possible exported
5288 names of an stdcall JNI function.
5289 (_Jv_JNIMethod::call): Modify to calculate the size
5290 of the arguments passed to a JNI function and pass
5291 it to _Jv_LookupJNIMethod.
5292
5293 2003-02-12 Michael Koch <konqueror@gmx.de>
5294
5295 * java/nio/channels/Channels.java: New file.
5296 * Makefile.am
5297 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5298 * Makefile.in: Regenerated.
5299
5300 2003-02-12 Michael Koch <konqueror@gmx.de>
5301
5302 * java/nio/ByteBuffer.java
5303 (allocate): Implemented.
5304 (wrap): Implemented.
5305 * java/nio/CharBuffer.java:
5306 Some documentation added and reworked.
5307 (endian): Removed.
5308 (allocate): Implemented.
5309 (wrap): Implemented.
5310 (array): Throw exceptions.
5311 (arrayOffset): Throw exceptions.
5312 (toString): Implemented.
5313 (length): Implemented.
5314 (put): Implemented.
5315 (charAt): Implemented.
5316
5317 2003-02-11 John Leuner <jewel@debian.org>
5318
5319 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5320 reads from end of file.
5321
5322 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5323
5324 * java/io/natFileDescriptorWin32.cc
5325 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5326 returns with Win32 error code ERROR_BROKEN_PIPE.
5327
5328 2003-02-11 Michael Koch <konqueror@gmx.de>
5329
5330 * Makefile.in
5331 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5332
5333 2003-02-11 Michael Koch <konqueror@gmx.de>
5334
5335 * gnu/java/nio/ByteBufferImpl.java:
5336 Reformated and removed some code.
5337 (backing_buffer): Removed.
5338 (array_offset): Removed.
5339 (ro): Renamed to readOnly.
5340 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5341 * gnu/java/nio/CharBufferImpl.java:
5342 Reformated and removed some code.
5343 (array_offset): Removed.
5344 (ro): Renamed to readOnly.
5345 (CharBufferImpl): Use parent constructor, initialize readOnly.
5346 (inc_pos): Removed.
5347 (order): New method.
5348 * gnu/java/nio/DoubleBufferImpl.java:
5349 Reformated and removed some code.
5350 (array_offset): Removed.
5351 (ro): Renamed to readOnly.
5352 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5353 (inc_pos): Removed.
5354 (order): New method.
5355 * gnu/java/nio/FloatBufferImpl.java:
5356 Reformated and removed some code.
5357 (array_offset): Removed.
5358 (ro): Renamed to readOnly.
5359 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5360 (inc_pos): Removed.
5361 (order): New method.
5362 * gnu/java/nio/IntBufferImpl.java:
5363 Reformated and removed some code.
5364 (array_offset): Removed.
5365 (ro): Renamed to readOnly.
5366 (IntBufferImpl): Use parent constructor, initialize readOnly.
5367 (inc_pos): Removed.
5368 (order): New method.
5369 * gnu/java/nio/LongBufferImpl.java:
5370 Reformated and removed some code.
5371 (array_offset): Removed.
5372 (ro): Renamed to readOnly.
5373 (LongBufferImpl): Use parent constructor, initialize readOnly.
5374 (inc_pos): Removed.
5375 (order): New method.
5376 * gnu/java/nio/ShortBufferImpl.java:
5377 Reformated and removed some code.
5378 (array_offset): Removed.
5379 (ro): Renamed to readOnly.
5380 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5381 (inc_pos): Removed.
5382 (order): New method.
5383 * Makefile.am
5384 (ordinary_java_source_files): Added the following files:
5385 gnu/java/nio/ByteBufferImpl.java
5386 gnu/java/nio/CharBufferImpl.java
5387 gnu/java/nio/DoubleBufferImpl.java
5388 gnu/java/nio/FloatBufferImpl.java
5389 gnu/java/nio/IntBufferImpl.java
5390 gnu/java/nio/LongBufferImpl.java
5391 gnu/java/nio/ShortBufferImpl.java
5392 java/nio/DoubleBuffer.java
5393 java/nio/FloatBuffer.java
5394 java/nio/IntBuffer.java
5395 java/nio/LongBuffer.java
5396 java/nio/ShortBuffer.java
5397 (nat_source_files): Added the following files:
5398 gnu/java/nio/natByteBufferImpl.cc
5399 gnu/java/nio/natCharBufferImpl.cc
5400 gnu/java/nio/natDoubleBufferImpl.cc
5401 gnu/java/nio/natFloatBufferImpl.cc
5402 gnu/java/nio/natIntBufferImpl.cc
5403 gnu/java/nio/natLongBufferImpl.cc
5404 gnu/java/nio/natShortBufferImpl.cc
5405 * Makefile.in: Regenerated.
5406
5407 2003-02-11 Michael Koch <konqueror@gmx.de>
5408
5409 * gnu/java/nio/natCharBufferImpl.cc
5410 (nio_cast): Removed.
5411 (nio_put_*): Removed.
5412 (nio_get_*): Removed.
5413 * gnu/java/nio/natDoubleBufferImpl.cc
5414 (nio_cast): Removed.
5415 (nio_put_*): Removed.
5416 (nio_get_*): Removed.
5417 * gnu/java/nio/natFloatBufferImpl.cc
5418 (nio_cast): Removed.
5419 (nio_put_*): Removed.
5420 (nio_get_*): Removed.
5421 * gnu/java/nio/natIntBufferImpl.cc
5422 (nio_cast): Removed.
5423 (nio_put_*): Removed.
5424 (nio_get_*): Removed.
5425 * gnu/java/nio/natLongBufferImpl.cc
5426 (nio_cast): Removed.
5427 (nio_put_*): Removed.
5428 (nio_get_*): Removed.
5429 * gnu/java/nio/natShortBufferImpl.cc
5430 (nio_cast): Removed.
5431 (nio_put_*): Removed.
5432 (nio_get_*): Removed.
5433 * gnu/java/nio/SelectorProviderImpl.java
5434 (openDatagramChannel): Throws IOException.
5435 (openPipe): Throws IOException.
5436 (openSelector): Throws IOException.
5437 (openServerSocketChannel): Throws IOException.
5438 (openSocketChannel): Throws IOException.
5439 * gnu/java/nio/ServerSocketChannelImpl.java
5440 (ServerSocketChannelImpl): Throws IOException.
5441 (implCloseSelectableChannel): Throws IOException.
5442 (implConfigureBlocking): Throws IOException.
5443 * java/nio/ByteBuffer.java
5444 (readOnly): Removed.
5445 (hasArray): Use isReadOnly() instead of readOnly.
5446 (array): Use isReadOnly() instead of readOnly.
5447 (arrayOffset): Use isReadOnly() instead of readOnly.
5448 * java/nio/CharBuffer.java
5449 (CharBuffer): Implements Cloneable and CharSequence.
5450
5451 2003-02-11 Michael Koch <konqueror@gmx.de>
5452
5453 * java/nio/DoubleBuffer.java
5454 (DoubleBuffer): Implements Comparable.
5455 (endian): Removed.
5456 (array_offset): New member variable.
5457 (DoubleBuffer): New constuctor.
5458 (get): May not be final.
5459 (put): May not be final.
5460 (arrayOffset): Implemented.
5461 (order): Made abstract.
5462 (order): Removed.
5463 (as*Buffer): Removed.
5464 (get*): Removed.
5465 (put*): Removed.
5466 * java/nio/FloatBuffer.java
5467 (FloatBuffer): Implements Comparable.
5468 (endian): Removed.
5469 (array_offset): New member variable.
5470 (FloatBuffer): New constuctor.
5471 (get): May not be final.
5472 (put): May not be final.
5473 (arrayOffset): Implemented.
5474 (order): Made abstract.
5475 (order): Removed.
5476 (as*Buffer): Removed.
5477 (get*): Removed.
5478 (put*): Removed.
5479 * java/nio/IntBuffer.java
5480 (IntBuffer): Implements Comparable.
5481 (endian): Removed.
5482 (array_offset): New member variable.
5483 (IntBuffer): New constuctor.
5484 (get): May not be final.
5485 (put): May not be final.
5486 (arrayOffset): Implemented.
5487 (order): Made abstract.
5488 (order): Removed.
5489 (as*Buffer): Removed.
5490 (get*): Removed.
5491 (put*): Removed.
5492 * java/nio/LongBuffer.java
5493 (LongBuffer): Implements Comparable.
5494 (endian): Removed.
5495 (array_offset): New member variable.
5496 (LongBuffer): New constuctor.
5497 (get): May not be final.
5498 (put): May not be final.
5499 (arrayOffset): Implemented.
5500 (order): Made abstract.
5501 (order): Removed.
5502 (as*Buffer): Removed.
5503 (get*): Removed.
5504 (put*): Removed.
5505 * java/nio/ShortBuffer.java
5506 (ShortBuffer): Implements Comparable.
5507 (endian): Removed.
5508 (array_offset): New member variable.
5509 (ShortBuffer): New constuctor.
5510 (get): May not be final.
5511 (put): May not be final.
5512 (arrayOffset): Implemented.
5513 (order): Made abstract.
5514 (order): Removed.
5515 (as*Buffer): Removed.
5516 (get*): Removed.
5517 (put*): Removed.
5518
5519 2003-02-11 Michael Koch <konqueror@gmx.de>
5520
5521 * java/nio/channels/SelectionKey.java
5522 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5523 values.
5524
5525 2003-02-11 Michael Koch <konqueror@gmx.de>
5526
5527 * java/nio/channels/DatagramChannel.java
5528 (write): Throws IOException.
5529 (connect): Throws IOException.
5530 (disconnect): Throws IOException.
5531 (read): Throws IOException.
5532 (receive): Throws IOException.
5533 (send): Throws IOException.
5534 * java/nio/channels/Pipe.java
5535 (open): Throws IOException.
5536 * java/nio/channels/SelectableChannel.java
5537 (configureBlocking): Throws IOException.
5538 * java/nio/channels/ServerSocketChannel.java
5539 (accept): Throws IOException.
5540 * java/nio/channels/SocketChannel.java
5541 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5542 GatheringByteChannel.
5543 (read): Throws IOException.
5544 (write): Throws IOException.
5545 (finishConnect): Throws IOException.
5546 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5547 (end): Throws AsynchronousCloseException.
5548 * java/nio/channels/spi/AbstractSelectableChannel.java
5549 (configureBlocking): Throws IOException.
5550 (implCloseChannel): Throws IOException.
5551 (implCloseSelectableChannel): Throws IOException.
5552 (implConfigureBlocking): Throws IOException.
5553 * java/nio/channels/spi/SelectorProvider.java
5554 (openDatagramChannel): Throws IOException.
5555 (openPipe): Throws IOException.
5556 (openSelector): Throws IOException.
5557 (openServerSocketChannel): Throws IOException.
5558 (openSocketChannel): Throws IOException.
5559
5560 2003-02-11 Michael Koch <konqueror@gmx.de>
5561
5562 * gnu/java/nio/FileLockImpl.java,
5563 java/nio/channels/FileLock.java: New files.
5564
5565 2003-02-11 Michael Koch <konqueror@gmx.de>
5566
5567 * java/nio/charset/IllegalCharsetNameException.java
5568 (serialVersionUID): New member variable.
5569 (charsetName): New member variable.
5570 (IllegalCharsetException): New implementation.
5571 (getCharsetName): New implementation.
5572 * java/nio/charset/UnsupportedCharsetException.java
5573 (serialVersionUID): New member variable.
5574 (charsetName): New member variable.
5575 (UnsupportedCharsetException): New implementation.
5576 (getCharsetName): New implementation.
5577
5578 2003-02-10 Tom Tromey <tromey@redhat.com>
5579
5580 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5581 (ex): Renamed from sqlException.
5582
5583 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5584
5585 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5586 method used to ensure seeding has occurred and that a specific
5587 seed can be set and used.
5588
5589 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5590
5591 * java/lang/Win32Process.java (destroy): Declare as native.
5592 (hasExited): New native method.
5593 (exitValue): Define.
5594 (getErrorStream): Likewise.
5595 (getInputStream): Likewise.
5596 (getOutputStream): Likewise.
5597 (waitFor): Declare as native.
5598 (startProcess): New native method.
5599 (cleanup): Likewise.
5600 (ConcreteProcess): Define.
5601 (outputStream, inputStream, errorStream): New members.
5602 (procHandle, exitCode): Likewise.
5603
5604 * java/lang/natWin32Process.cc
5605 (java::lang::ConcreteProcess::cleanup): Define.
5606 (java::lang::ConcreteProcess::destroy): Likewise.
5607 (java::lang::ConcreteProcess::hasExited): Likewise.
5608 (java::lang::ConcreteProcess::waitFor): Likewise.
5609 (new_string): Likewise.
5610 (java::lang::ConcreteProcess::startProcess): Likewise.
5611
5612 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5613
5614 * java/math/BigInteger.java:
5615 Updated notice to include years 2002 and 3.
5616 Added 2 private (int) arrays with values from the HAC (Handbook of
5617 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5618 and t[] that contains nbr. of tests --used in isProbablePrime().
5619
5620 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5621
5622 * java/math/BigInteger.java (make(int[],int), add(int,int),
5623 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5624 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5625 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5626 make(long).
5627
5628 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5629 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5630 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5631 BIs and returns void.
5632 (modInverse(BI)): Use new signatures of euclidInv().
5633
5634 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5635 static small primes instead of remainder().
5636 Use pre-computed max nbr of trials based on bitlength of BI to test.
5637 Use pre-computed small primes for the trial tests instead of random
5638 numbers.
5639
5640 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5641 not used.
5642
5643 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5644 invoacation of MPN.chars_per_word(). not used.
5645
5646 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5647 local var and used where needed.
5648
5649 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5650 Combined declaration with initialisation of locals.
5651 Removed unused var.
5652
5653 * java/math/BigInteger.java: Style changes
5654 (pow(int)): Removed 'else' keyword.
5655 (toString(int)): idem.
5656 (doubleValue()): idem.
5657 (bitLength()): idem.
5658 (equals(Object)): Use static methods name in same class w/o prepending
5659 class name.
5660 (doubleValue()): idem.
5661 (setNegative(BI)): idem.
5662 (negate()): idem.
5663 (and(BI,int)): idem.
5664 (and(BI)): idem.
5665 (gcd(BI)): idem.
5666 (byteArrayToIntArray()): Removed casting to (int). this is
5667 std. behaviour.
5668 (canonicalize()): idem.
5669 (alloc(int)): Always instantiate a new BI.
5670
5671 2003-02-10 Tom Tromey <tromey@redhat.com>
5672
5673 * java/sql/Timestamp.java (compareTo(Object)): New method.
5674 (compareTo(Timestamp)): Likewise.
5675 (serialVersionUID): Updated.
5676
5677 2003-02-07 Mark Wielaard <mark@klomp.org>
5678
5679 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5680 when verify is true.
5681 (JarFile(File, boolean)): Likewise.
5682 (manifestRead): Set manifestRead field correctly.
5683
5684 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5685
5686 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5687 tests; see patch #1016 on Savannah.
5688
5689 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5690
5691 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5692 (toString): do not return Strings starting with . and - erroneously.
5693 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5694 DiagBigDecimal.
5695
5696 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5697
5698 * java/beans/PropertyDescriptor.java
5699 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5700 methods.
5701 (PropertyDescriptor(String, Class, String, String)): Likewise.
5702 (PropertyDescriptor(String, Method, Method): Factor out getter and
5703 setter method sanity checks into new method.
5704 (findMethods): Don't do parameter sanity checking of get method here.
5705 (checkMethods): New method.
5706
5707 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5708
5709 * java/beans/PropertyDescriptor.java: Reformat.
5710
5711 2003-02-04 Tom Tromey <tromey@redhat.com>
5712
5713 * java/io/PipedOutputStream.java (flush): Declare as throwing
5714 IOException.
5715 (close): Likewise.
5716 * java/io/PipedWriter.java (close): Declare as throwing
5717 IOException.
5718 * java/io/StringWriter.java (close): Declare as throwing
5719 IOException.
5720
5721 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5722
5723 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5724 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5725 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5726 "_JNI_OnLoad@8" (MSVC).
5727
5728 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5729
5730 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5731 convention on Win32 to invoke native JNI methods.
5732
5733 2003-02-03 Andrew Haley <aph@redhat.com>
5734
5735 * configure.host (x86_64): Enable interpreter.
5736
5737 2003-02-03 Andrew Haley <aph@redhat.com>
5738
5739 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5740 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5741 * configure.in (BACKTRACESPEC): New.
5742 * configure: Regenerate.
5743
5744 2003-02-02 Tom Tromey <tromey@redhat.com>
5745
5746 * configure: Rebuilt.
5747 * configure.in (TOOLKIT) [xlib]: Set correctly.
5748
5749 * Makefile.in: Rebuilt.
5750 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5751 libstdc++.
5752
5753 2003-01-31 Mark WIelaard <mark@klomp.org>
5754
5755 * Makefile.in: Rebuilt.
5756 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5757
5758 2003-01-31 Tom Tromey <tromey@redhat.com>
5759
5760 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5761 cast to element type.
5762 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5763 (_Jv_JNI_GetObjectArrayElement): Likewise.
5764
5765 * Makefile.in: Rebuilt.
5766 * Makefile.am (cond_x_ltlibrary): Renamed library to
5767 lib-gnu-awt-xlib.la.
5768 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5769 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5770 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5771 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5772 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5773 (lib_gnu_awt_xlib_la_LINK): Likewise.
5774 (install-exec-hook): Removed.
5775 (lib-gnu-awt-xlib.la): Renamed.
5776
5777 2003-01-31 Tom Tromey <tromey@redhat.com>
5778
5779 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5780 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5781 aclocal.m4 and lost in some merge.
5782
5783 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5784 Don't try to find graphics configuration.
5785 * java/awt/Toolkit.java (default_toolkit_name): Use new
5786 Configuration entry.
5787 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5788 New global.
5789 * configure: Rebuilt.
5790 * configure.in (TOOLKIT): New subst.
5791 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5792 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5793 directory. Make output directories for .c files.
5794 * Makefile.in: Rebuilt.
5795 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5796 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5797 (all_java_source_files): Added new sources.
5798 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5799 (gtk_c_files): New macro.
5800 (gtk_c_source_files): New macro.
5801 (cond_gtk_ltlibrary): New macro.
5802 ($(gtk_c_files)): New target.
5803 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5804 (gtk_awt_peer_sources): New macro.
5805 (gtk_c_headers): New macro.
5806 ($(gtk_c_headers)): New target.
5807 (ACLOCAL_AMFLAGS): New macro.
5808 * gtk.m4, glib.m4, libart.m4: New files.
5809 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5810 gnu/java/awt/peer/gtk/GdkGraphics.java,
5811 gnu/java/awt/peer/gtk/GtkArg.java,
5812 gnu/java/awt/peer/gtk/GtkArgList.java,
5813 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5814 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5815 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5816 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5817 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5818 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5819 gnu/java/awt/peer/gtk/GtkClipboard.java,
5820 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5821 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5822 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5823 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5824 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5825 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5826 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5827 gnu/java/awt/peer/gtk/GtkImage.java,
5828 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5829 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5830 gnu/java/awt/peer/gtk/GtkListPeer.java,
5831 gnu/java/awt/peer/gtk/GtkMainThread.java,
5832 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5833 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5834 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5835 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5836 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5837 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5838 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5839 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5840 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5841 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5842 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5843 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5844 gnu/java/awt/peer/gtk/GtkToolkit.java,
5845 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5846 gnu/java/awt/peer/gtk/TestAWT.java,
5847 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5848 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5849 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5850 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5851 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5852 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5853 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5854 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5855 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5856 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5857 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5858 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5859 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5860 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5861 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5862 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5863 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5864 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5865 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5866 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5867 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5868 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5869 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5870 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5871 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5872 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5873 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5874 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5875 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5876 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5877 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5878 jni/classpath/native_state.c, jni/classpath/native_state.h,
5879 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5880
5881 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5882
5883 * java/util/Properties.java (load): Ignore backslash before EOF.
5884
5885 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5886
5887 * java/lang/natClass.cc (initializeClass): Check tables when
5888 (state == JV_STATE_IN_PROGRESS).
5889 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5890 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5891 interpreted classes.
5892 (linkClass0): Use _Jv_WaitForState.
5893
5894 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5895
5896 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5897 object when finished.
5898
5899 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5900
5901 * libjava/configure.host: Disable can_unwind_signal on darwin.
5902
5903 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5904
5905 Fixes PR java/9254:
5906 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5907 additionally containing id of the owner thread as well as
5908 the number of nested times the thread has acquired the mutex.
5909 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5910 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5911 (_Jv_MutexUnlock): Check if really the owner thread, reset
5912 owner thread id to 0 before leaving, if leaving for the last
5913 time.
5914 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5915 refcount.
5916 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5917 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5918 the passed mutex.
5919 Pass handle of the broadcast event, instead of a pointer to it
5920 in Win32 ResetEvent( ) call.
5921 Remove incorrect return values.
5922 (_Jv_CondDestroy): Close both event handles and delete
5923 critical section.
5924 (_Jv_CondNotify): Check if really the owner thread.
5925 (_Jv_CondNotifyAll): Check if really the owner thread.
5926 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5927 (really_start): Use SetEvent( ) to signal daemon_cond.
5928 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5929 WaitForSingleObject( ) instead to wait for daemon_cond to be
5930 signalled.
5931
5932 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5933
5934 * configure.in: Specifically define HAVE_BACKTRACE if building
5935 for MinGW.
5936 * include/win32.h: Remove HAVE_BACKTRACE definition.
5937 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5938 * configure: Rebuilt.
5939
5940 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5941
5942 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5943 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5944 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5945 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5946 * Makefile.in, configure: Rebuilt.
5947
5948 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5949
5950 Fixes PR java/9253:
5951 * java/io/natFileWin32.cc (performList): Append only "*.*"
5952 if the canonical file path already has a "\" at the end.
5953
5954 2003-01-24 Tom Tromey <tromey@redhat.com>
5955
5956 * defineclass.cc (handleMethodsEnd): Precompute code for static
5957 method.
5958 (handleCodeAttribute): Likewise.
5959 * resolve.cc (ncode): Use run_class for unsynchronized static
5960 methods.
5961 * include/java-interp.h (class _Jv_InterpMethod): Declare
5962 run_class.
5963 * interpret.cc (run_synch_class): Initialize class.
5964 (run) [insn_invokestatic]: Don't initialize class.
5965 [insn_anewarray]: Likewise.
5966 [insn_multianewarray]: Likewise.
5967 (run_class): New function.
5968
5969 2003-01-24 Tom Tromey <tromey@redhat.com>
5970
5971 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5972 comment.
5973
5974 2003-01-22 Andrew Haley <aph@redhat.com>
5975
5976 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5977 * configure.host (CHECKREFSPEC): Define for x86_64.
5978
5979 2003-01-21 Tom Tromey <tromey@redhat.com>
5980
5981 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5982 search at 2, not 3.
5983
5984 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5985
5986 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5987 looking at any characters.
5988 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5989 be used.
5990 (isAbsolute): Check path's length as well.
5991
5992 2003-01-17 Mark Wielaard <mark@klomp.org>
5993
5994 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5995 (nat_source_files): Add natVMObjectStreamClass.cc.
5996 * Makefile.in: Regenerated.
5997 * gcj/javaprims.h (namespace java): Regenerated.
5998 * java/io/ObjectStreamClass.java (getClassUID): Call
5999 VMObjectStreamClass.hasClassInitializer().
6000 (hasClassInitializer): Removed.
6001 * java/io/VMObjectStreamClass.java: New class.
6002 * java/io/natVMObjectStreamClass.cc: New file.
6003 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6004
6005 2003-01-16 Mark Wielaard <mark@klomp.org>
6006
6007 * java/net/SocketImpl.java (toString): Don't explicitly call
6008 toString() on possible null address.
6009
6010 2003-01-16 Michael Koch <konqueror@gmx.de>
6011
6012 * java/net/MulticastSocket.java
6013 (setInterface): Reindented.
6014
6015 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6016
6017 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6018 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6019 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6020 translateY arguments. Implement.
6021 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6022 down translation arguments.
6023 (drawPolyline, drawPolygon): Fix incorrect tests.
6024 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6025 translateX and translateY arguments.
6026
6027 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6028
6029 * Makefile.in: Rebuilt.
6030 * Makefile.am (xlib_includes): New macro.
6031 (INCLUDES): Use it.
6032
6033 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6034
6035 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6036 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6037 16-bit display mode.
6038
6039 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6040
6041 * java/awt/CardLayout.java (show): Rewrote.
6042 (gotoComponent): Removed `target' argument. Simplified code.
6043 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6044 Changed all callers.
6045 (NONE): Removed.
6046
6047 2003-01-14 Michael Koch <konqueror@gmx.de>
6048
6049 * java/net/InetSocketAddress.java
6050 (serialVersionUID): New member variable.
6051 * java/net/NetPermission.java
6052 (NetPermission): Dont implement java.io.Serialization directly.
6053 * java/net/SocketAddress.java:
6054 (serialVersionUID): Documentation added.
6055
6056 2003-01-14 Michael Koch <konqueror@gmx.de>
6057
6058 * java/awt/Label.java
6059 (Label): Implements javax.accessibility.Accessible;
6060 * java/awt/List.java
6061 (List): Implements javax.accessibility.Accessible;
6062 * java/awt/ScrollPane.java
6063 (ScrollPane): Implements javax.accessibility.Accessible;
6064 * java/awt/Scrollbar.java
6065 (Scrollbar): Implements javax.accessibility.Accessible;
6066 * java/awt/TextComponent.java
6067 (setCaretPosition): Throw exception, documentation added.
6068 * java/awt/Toolkit.java:
6069 Added some newlines in method documentations.
6070 (createButton): Exception documentation added.
6071 (createTextField): Exception documentation added.
6072 (createLabel): Exception documentation added.
6073 (createList): Exception documentation added.
6074 (createCheckbox): Exception documentation added.
6075 (createScrollbar): Exception documentation added.
6076 (createScrollPane): Exception documentation added.
6077 (createTextArea): Exception documentation added.
6078 (createChoice): Exception documentation added.
6079 (createFrame): Exception documentation added.
6080 (createWindow): Exception documentation added.
6081 (createDialog): Exception documentation added.
6082 (createMenuBar): Exception documentation added.
6083 (createMenu): Exception documentation added.
6084 (createMenuItem): Exception documentation added.
6085 (createFileDialog): Exception documentation added.
6086 (createCheckboxMenuItem): Exception documentation added.
6087 (loadSystemColors): Exception documentation added.
6088 (setDynamicLayout): Exception documentation added.
6089 (isDynamicLayoutSet): Exception documentation added.
6090 (isDynamicLayoutActive): Exception documentation added.
6091 (getScreenSize): Exception documentation added.
6092 (getScreenResolution): Exception documentation added.
6093 (getScreenInsets): Exception documentation added.
6094 (getColorModel): Exception documentation added.
6095 (getSystemClipboard): Exception documentation added.
6096 (getSystemSelection): Exception documentation added.
6097 (getMenuShortcutKeyMask): Exception documentation added.
6098 (getSystemEventQueue): Exception documentation added.
6099 * java/awt/Window.java:
6100 Reindented some code.
6101 (Window): Centralized implementation, documentation added.
6102 (finalize): Documentation added.
6103 (hide): Fixed typo in comment.
6104 (getWindowListeners): Documentation added.
6105 * java/awt/color/ColorSpace.java
6106 (toRGB): Documentation added.
6107 * java/awt/color/ICC_ColorSpace.java
6108 (ICC_ColorSpace): Documentation added.
6109 (toRGB): Throw exception, documentation added.
6110 (fromRGB): Throw exception, documentation added.
6111 (toCIEXYZ): Documentation added.
6112 (fromCIEXYZ): Documentation added.
6113 (getMinValue): Documentation added.
6114 (getMaxValue): Documentation added.
6115 * java/awt/geom/Dimension2D.java
6116 (clone): Documentation added.
6117 * java/awt/geom/GeneralPath.java
6118 (clone): Documentation added.
6119 * java/awt/geom/Line2D.java
6120 (clone): Documentation added.
6121 * java/awt/geom/QuadCurve2D.java
6122 (clone): Documentation added.
6123 * java/awt/image/ColorModel.java
6124 (ColorModel): Throw exception, documentation added.
6125 * java/awt/image/ImageFilter.java
6126 (clone): Doesnt throw CloneNotSupportedException.
6127
6128 2003-01-14 Andrew Haley <aph@redhat.com>
6129
6130 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6131 in a try block.
6132
6133 2003-01-10 Andrew Haley <aph@redhat.com>
6134
6135 * include/dwarf2-signal.h: Remove x86_64.
6136 * configure.host (x86_64 DIVIDESPEC): Remove.
6137 * include/x86_64-signal.h: New file.
6138 * configure.in: Regenerate.
6139
6140 2003-01-10 Michael Koch <konqueror@gmx.de>
6141
6142 * java/net/DatagramSocket.java
6143 (ch): Description added.
6144 (remotePort): Initialize with -1.
6145 (connect): Doesnt throws SocketException.
6146 * java/net/MulticastSocket.java
6147 (setInterface): Merge with Classpath.
6148 * java/net/ServerSocket.java
6149 (closed): New member variable.
6150 (bind): Check if socket is closed.
6151 (close): Close an associated channel too, set new value to closed.
6152 (isBound): Reindented.
6153 (isClosed): Implemented.
6154 * java/net/Socket.java
6155 (closed): New member variable.
6156 (bind): Check if socket is closed.
6157 (connect): Check if socket is closed.
6158 (close): Close an associated channel too, set new value to closed.
6159 (isClosed): Implemented.
6160
6161 2003-01-10 Michael Koch <konqueror@gmx.de>
6162
6163 * java/awt/DisplayMode.java
6164 (equals): Fixed argument type and implementation.
6165
6166 2003-01-07 Tom Tromey <tromey@redhat.com>
6167
6168 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6169 JV_HASH_SYNCHRONIZATION.
6170 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6171 JV_HASH_SYNCHRONIZATION.
6172
6173 2003-01-07 Michael Koch <konqueror@gmx.de>
6174
6175 * java/net/DatagramSocket.java:
6176 Added classpath license info.
6177 (DatagramSocket): Merged description with classpath.
6178 (close): Merged description with classpath.
6179 (getChannel): Merged description with classpath.
6180 (getInetAddress): Merged description with classpath.
6181 (getPort): Merged description with classpath.
6182 (getLocalAddress): Merged description with classpath.
6183 (getLocalPort): Merged description with classpath.
6184 (getSoTimeout): Merged description with classpath.
6185 (setSoTimeout): Merged description with classpath.
6186 (getSendBufferSize): Merged description with classpath.
6187 (setSendBufferSize): Merged description with classpath.
6188 (getReceiveBufferSize): Merged description with classpath.
6189 (setReceiveBufferSize): Merged description with classpath.
6190
6191 2003-01-04 Tom Tromey <tromey@redhat.com>
6192
6193 * java/awt/List.java: Merged with Classpath.
6194
6195 2003-01-03 Mark Wielaard <mark@klomp.org>
6196
6197 * java/io/FileDescriptor.java (position): New private field.
6198 * java/io/natFileDescriptorPosix.cc (write): Up position.
6199 (setLength): Use and set position.
6200 (seek): Set position.
6201 (getFilePointer): Return position.
6202 (read): Up position.
6203
6204 2003-01-03 Mark Wielaard <mark@klomp.org>
6205
6206 Merge with Classpath:
6207 * java/io/ObjectStreamClass.java (lookup): Split method and call
6208 lookupForClassObject().
6209 (lookupForClassObject): New method.
6210 (isProxyClass): New field.
6211 (setClass): Set isProxyClass, add object to classLookupTable, set
6212 superClass and calculateOffsets.
6213 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6214 and not a proxy class.
6215 (setFields): Set accessible true for serialPersistentFields.
6216 (getClassUID): Same for suid. And check if suid is of type long.
6217 (hasClassInitializer): Don't throw NoSuchMethodError.
6218
6219 2003-01-03 Mark Wielaard <mark@klomp.org>
6220
6221 * java/io/FileInputStream.java (finalize): Don't explicitly
6222 finalize FileDescriptor.
6223
6224 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6225
6226 * configure.host (sparc*-*): Enable bytecode interpreter.
6227
6228 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6229
6230 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6231 Don't throw RemoteException.
6232 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6233 throw RemoteException.
6234
6235 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6236
6237 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6238 proxyHost): New static fields.
6239 (<clinit>): Initialize new fields.
6240 (connect): Use proxy if necessary.
6241 (usingProxy): Implement.
6242
6243 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6244
6245 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6246 (TreeIterator.remove): Prefer IllegalStateException over
6247 ConcurrentModificationException, to match Sun.
6248
6249 2002-12-22 Anthony Green <green@redhat.com>
6250
6251 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6252
6253 2003-01-02 Mark Wielaard <mark@klomp.org>
6254
6255 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6256 public.
6257 (HTTP_USE_PROXY): Add field.
6258 (getResponseVals): Only set responseCode when not yet explicitly
6259 set by subclass.
6260
6261 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6262 Mark Wielaard <mark@klomp.org>
6263
6264 * java/util/zip/ZipFile.java (entries): Now HashMap.
6265 (readLeShort(DataInput, byte[])): Read from given byte array.
6266 (readLeInt(DataInput, byte[]): Likewise.
6267 (readLeShort(byte[] b, int off)): New method.
6268 (readLeInt(byte[] b, int off)): Likewise.
6269 (readEntries): Use byte arrays to read info in bigger chunks.
6270 (getEntries): Return HashMap.
6271 (getEntry): Use HashMap.
6272 (locBuf): New private field.
6273 (checkLocalHeader): Use locBuf to read info in one chunk.
6274 (getInputStream): Use entries HashMap, wrap PartialInputStream
6275 in BufferedInputStream.
6276 (ZipEntryEnumeration): Use HashMap and Interator.
6277
6278 2003-01-02 Mark Wielaard <mark@klomp.org>
6279 Jeroen Frijters <jeroen@sumatra.nl>
6280
6281 * java/net/URLClassLoader.java (Resource.getCodeSource):
6282 Fix check certs == null.
6283 (getCanonicalFileURL): Removed method.
6284 (JarURLLoader): Don't call removed method.
6285 (FileURLLoader): Likewise.
6286 (FileURLLoader.getResource): Don't canonicalize file name.
6287
6288 2003-01-01 Tom Tromey <tromey@redhat.com>
6289
6290 * Makefile.in: Rebuilt.
6291 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6292 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6293 java/awt/BufferCapabilities.java, java/awt/Button.java,
6294 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6295 java/awt/Container.java, java/awt/Cursor.java,
6296 java/awt/EventQueue.java, java/awt/FileDialog.java,
6297 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6298 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6299 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6300 java/awt/Scrollbar.java, java/awt/TextArea.java,
6301 java/awt/TextField.java, java/awt/color/CMMException.java,
6302 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6303 java/awt/color/ProfileDataException.java,
6304 java/awt/datatransfer/Clipboard.java,
6305 java/awt/datatransfer/DataFlavor.java,
6306 java/awt/datatransfer/FlavorMap.java,
6307 java/awt/datatransfer/SystemFlavorMap.java,
6308 java/awt/dnd/DragGestureEvent.java,
6309 java/awt/dnd/DragGestureRecognizer.java,
6310 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6311 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6312 java/awt/im/InputMethodHighlight.java,
6313 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6314 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6315
6316 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6317 `op' to BufferedImageOp.
6318
6319 2002-12-31 Tom Tromey <tromey@redhat.com>
6320
6321 Fix for PR libgcj/7416:
6322 * javax/naming/InitialContext.java (init): Use
6323 gnu.classpath.home.url.
6324 * java/security/Security.java: Use new properties.
6325 (loadProviders): Accept base url; use it.
6326 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6327 gnu.classpath.home.url.
6328 (gnu.classpath.home.url): Define.
6329 (gnu.classpath.vm.shortname): Likewise.
6330
6331 2002-12-31 Tom Tromey <tromey@redhat.com>
6332 Ranjit Mathew <rmathew@hotmail.com>
6333
6334 Fix for PR libgcj/8997:
6335 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6336 Include platform.h.
6337 * include/posix.h (_Jv_platform_usleep): New function.
6338 * include/win32.h (_Jv_platform_usleep): New function.
6339
6340 2002-12-29 Tom Tromey <tromey@redhat.com>
6341
6342 * gcj/javaprims.h: Updated.
6343 * scripts/classes.pl (scan): Removed stray semicolon.
6344
6345 2002-12-30 Mark Wielaard <mark@klomp.org>
6346
6347 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6348 if zero or smaller.
6349
6350 2002-12-30 Mark Wielaard <mark@klomp.org>
6351
6352 * java/util/Properties (formatForOutput): Don't fall through to
6353 default case after escaping character.
6354
6355 2002-12-30 Mark Wielaard <mark@klomp.org>
6356
6357 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6358 against count.
6359
6360 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6361
6362 * boehm.cc: Remove stray semicolon.
6363 * interpret.cc: Likewise.
6364 * prims.cc: Likewise.
6365 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6366 earlier to ensure default arguments are processed.
6367 * gcj/array.h (JArray): Add forward declaration.
6368 (elements): Likewise.
6369 * gcj/javaprim.h: Remove stray semicolons.
6370 * include/bohm-gc.h: Likewise.
6371 * include/jni.h: Likewise.
6372 * include/jvm.h: Likewise.
6373 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6374
6375 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6376
6377 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6378 of catch_type.
6379 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6380 idt tables after initializing superclass.
6381 * java/lang/natClassLoader.cc (uaddr): New typedef.
6382 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6383 if they are constant pool indicies. Don't link vtable, otable yet.
6384
6385 2002-12-21 Anthony Green <green@redhat.com>
6386
6387 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6388 libraries.
6389 * Makefile.in: Rebuilt.
6390
6391 2002-12-19 Anthony Green <green@redhat.com>
6392
6393 * Makefile.am (ordinary_java_source_files): Add
6394 org/xml/sax/helpers/NewInstance.java.
6395 * Makefile.in: Rebuilt.
6396 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6397 org/xml/sax/helpers/package.html: New files.
6398 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6399 http://www.saxproject.org.
6400
6401 2002-12-19 Andrew Haley <aph@redhat.com>
6402
6403 * java/util/natResourceBundle.cc: Include
6404 ArrayIndexOutOfBoundsException.h.
6405 (getCallingClassLoader): Don't put upper bound on stack search.
6406 Catch ArrayIndexOutOfBoundsException.
6407
6408 2002-12-19 Tom Tromey <tromey@redhat.com>
6409
6410 * libtool-version: Increased `current'.
6411
6412 2002-12-19 Tom Tromey <tromey@redhat.com>
6413
6414 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6415 comment.
6416 * java/lang/ClassLoader.java (defineClass): Use chained
6417 exception when rethrowing.
6418 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6419 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6420 constants.
6421 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6422 (_Jv_PrepareClass): Use it.
6423 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6424 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6425 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6426 (Class): _Jv_PrepareMissingMethods now friend.
6427 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6428 Record `NULL' for system class loader.
6429 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6430 system class loader.
6431 (_Jv_FindClassInCache): Likewise.
6432 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6433 (_Jv_FindClass): Special case system class loader.
6434 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6435 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6436 vtable slots.
6437 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6438 in a final class.
6439 (_getDeclaredMethod): Don't return synthetic methods.
6440 (getDeclaredMethods): Likewise.
6441 (_getMethod): Likewise.
6442 (_getMethods): Likewise.
6443
6444 2002-12-18 Raif Naffah <raif@fl.net.au>
6445
6446 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6447 canonical form after divide().
6448 (modInverse): Likewise.
6449
6450 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6451 Mark Wielaard <mark@klomp.org>
6452
6453 * java/security/SecurityRandom (digest): Removed field.
6454 (SecureRandom): Check all providers for case-insensitive SecureRandom
6455 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6456 if necessary.
6457 (getInstance(String,Provider,boolean): New method.
6458 (getInstance(String)): Use new method.
6459 (getInstance(String,String)): Likewise.
6460 (getInstance(String,Provider)): Likewise.
6461
6462 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6463
6464 * java/security/Security.java (loadProviders): Increment i only once.
6465
6466 2002-12-12 Mark Wielaard <mark@klomp.org>
6467
6468 * java/lang/ClassLoader.java (resolveClass0): Transform
6469 ClassNotFoundException to NoClassDefFoundError. Transform all other
6470 throwables to LinkageError.
6471
6472 2002-12-11 Tom Tromey <tromey@redhat.com>
6473
6474 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6475
6476 * java/lang/ClassLoader.java (loadedClasses): New field.
6477 (defineClass): Fixed indentation. Put new class in
6478 loadedClasses.
6479 (findLoadedClass): Implement here.
6480 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6481
6482 2002-12-10 Tom Tromey <tromey@redhat.com>
6483
6484 * Makefile.in: Rebuilt.
6485 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6486 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6487 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6488 * java/lang/natClassLoader.cc
6489 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6490
6491 2002-12-10 Mark Wielaard <mark@klomp.org>
6492 Tom Tromey <tromey@redhat.com>
6493
6494 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6495 (JarURLLoader): Use it.
6496 (FileURLLoader): Likewise.
6497 (JarURLResource.getURL): Use chained exception.
6498 (FileResource.getURL): Likewise.
6499 (FileURLLoader.getResource): Use canonical file name.
6500 (addURL): Indentation fix.
6501
6502 2002-12-10 Tom Tromey <tromey@redhat.com>
6503
6504 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6505 From Laurent Bardet <l.bardet@magic.fr>.
6506
6507 2002-12-09 Tom Tromey <tromey@redhat.com>
6508
6509 * include/win32.h (_Jv_platform_solib_prefix): New define.
6510 (_Jv_platform_solib_suffix): Likewise.
6511 * include/posix.h (_Jv_platform_solib_prefix): New define.
6512 (_Jv_platform_solib_suffix): Likewise.
6513 * java/lang/natRuntime.cc: Include StackTrace.h.
6514 (_load): Use findLibrary and new platform defines.
6515 (nativeGetLibname): Use new platform defines.
6516
6517 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6518 `t' won't be null.
6519
6520 2002-12-08 Mark Wielaard <mark@klomp.org>
6521
6522 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6523 cache remote jar files.
6524 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6525 add File.separator to URL when it is a directory.
6526 * java/lang/ClassLoader.java: Add Classpath javadoc.
6527 (parent): final.
6528 (getParent): Add (disabled) security check.
6529 (findLibrary): New default method.
6530 * java/net/JarURLConnection.java (getManifest): Implement.
6531 (getInputStream): Only create InputStream when entry exists.
6532 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6533 when they exist.
6534 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6535
6536 2002-12-08 Mark Wielaard <mark@klomp.org>
6537
6538 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6539 (lastDefaultLocale): New field.
6540 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6541 resourceBundleCache.
6542
6543 2002-12-06 Mark Wielaard <mark@klomp.org>
6544
6545 * java/net/InetAddress.java (toString): Use hostname when not null,
6546 don't do an explicit reverse getHostName() lookup.
6547 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6548 NullPointerException.
6549
6550 2002-12-06 Tom Tromey <tromey@redhat.com>
6551
6552 * include/java-interp.h (class _Jv_InterpMethod): Added
6553 JV_MARKOBJ_DECL.
6554 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6555 mark `prepared' field of interpreted method.
6556 * interpret.cc (compile): Use _Jv_AllocBytes.
6557
6558 2002-12-05 Andrew Haley <aph@redhat.com>
6559
6560 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6561 #ifdef (HAVE_BACKTRACE) around the whole function body.
6562
6563 2002-12-05 Tom Tromey <tromey@redhat.com>
6564
6565 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6566 * resolve.cc: Don't include AbstractMethodError.h.
6567 (_Jv_abstractMethodError): Removed.
6568 * defineclass.cc (handleMethodsBegin): Initialize method index to
6569 -1.
6570 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6571 method index for "new" final method.
6572 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6573 isVirtualMethod. Added `flags' argument.
6574 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6575 class.
6576
6577 2002-12-04 Tom Tromey <tromey@redhat.com>
6578
6579 * java/net/SocketPermission.java (hashCode): Rewrote.
6580
6581 2002-12-04 Tom Tromey <tromey@redhat.com>
6582
6583 * Makefile.in: Rebuilt.
6584 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6585 natResourceBundle.
6586 * java/util/ResourceBundle.java (Security): Removed.
6587 (getCallingClassLoader): Now native.
6588 * java/util/natResourceBundle.cc: New file.
6589 * java/lang/natVMSecurityManager.cc: New file.
6590 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6591
6592 2002-12-03 Mark Wielaard <mark@klomp.org>
6593
6594 * java/util/jar/JarFile.java (manifest): Not final.
6595 (manifestRead): New field.
6596 (JarFile): Don't read Manifest in constructor.
6597 (getManifest): New method.
6598 (JarEnumeration.nextElement): Use new method.
6599 (getEntry): Likewise.
6600 * java/util/zip/ZipFile.java (name): Final.
6601 (raf): Likewsie.
6602 (entries): Change type to Hashtable.
6603 (closed): New field.
6604 (ZipFile): Don't read enties in constructor.
6605 (readEntries): Use Hashtable.
6606 (close): Set new close flag and set entries to null inside
6607 synchronized block.
6608 (entries): Contruct enumeration using new getEntries() method and
6609 entries Hashtable.
6610 (getEntryIndex): Removed.
6611 (getEntries): New method.
6612 (getEntry): Use new getEntries() method and entries Hastable.
6613 (getInputStream): Likewise.
6614 (size): Return getEntries().size().
6615 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6616 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6617 (time): Removed
6618 (dostime): New field.
6619 (zipFileIndex): Removed.
6620 (ZipEntry(ZipEntry)): Copy dostime.
6621 (setDOSTime): Now final and doesn't convert dos time.
6622 (getDOSTime): Likewise.
6623 (setTime): Convert dos time.
6624 (getTime): Likewise.
6625 (getCalendar): New method.
6626 (setExtra): Use setTime().
6627 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6628
6629 2002-12-03 Tom Tromey <tromey@redhat.com>
6630
6631 * java/lang/Character.java (forDigit): Formatting fix.
6632
6633 2002-12-03 Raif Naffah <raif@fl.net.au>
6634
6635 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6636 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6637 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6638
6639 2002-12-03 Andrew Haley <aph@redhat.com>
6640
6641 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6642 _Jv_PushClass.
6643 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6644 (_Jv_PopClass): New.
6645 (_Jv_PushClass): New.
6646 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6647 discover the ClassLoader of our caller.
6648 (_Jv_CheckArrayStore): Don't check that a class is assignment
6649 compatible with Object.
6650 * java/lang/natVMTHrowable.cc: Delete.
6651 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6652 java.lang.VMThrowable.
6653 (StackTrace(), StackTrace(int)): New constructors.
6654 (classAt, methodAt, update, methodAtAddress): New methods.
6655 (map): New field.
6656 * java/lang/VMThrowable.java: Use StackTrace instead of
6657 natVMTHrowable.
6658 * java/lang/Class.h (getClassLoaderInternal): New.
6659 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6660 Be friendly with gnu::gcj::runtime::StackTrace.
6661 (Object.chain): New field.
6662 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6663 gnu::gcj::runtime::StackTrace.
6664 * gnu/gcj/runtime/natStackTrace.cc: New file.
6665 * gnu/gcj/runtime/MethodRef.java: New file.
6666 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6667 instead of getClassLoader().
6668 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6669 java::lang::VMThrowable.
6670 * Makefile.am (core_java_source_files): Add MethodRef.java,
6671 StackTrace.java.
6672 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6673 * Makefile.in: Rebuild.
6674
6675 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6676
6677 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6678 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6679 yes also for sh-linux* and sh[34]*-linux*.
6680 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6681 set SIGNAL_HANDLER to use DWARF2 exception for them.
6682 * configure: Regenerate.
6683
6684 2002-12-02 Tom Tromey <tromey@redhat.com>
6685
6686 * jni.cc: Added `name' argument.
6687 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6688 `const char *' argument.
6689 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6690
6691 2002-12-01 Tom Tromey <tromey@redhat.com>
6692
6693 Bug compatibility, for PR libgcj/8738:
6694 * java/io/CharArrayWriter.java (close): Do nothing.
6695 (flush): Likewise.
6696 (reset): Don't touch `closed'.
6697 (write(int)): Don't throw IOException.
6698 (write(char[],int,int)): Likewise.
6699 (write(String,int,int)): Likewise.
6700 (closed): Removed.
6701
6702 2002-12-01 Mark Wielaard <mark@klomp.org>
6703
6704 * java/lang/SecurityManager.java: Remerge comments, indenting and
6705 checkXXX methods with Classpath.
6706
6707 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6708
6709 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6710 getNormalizedComponents): Fix calculation which was using one too
6711 many bits in the unnormalized format.
6712
6713 2002-11-29 Gary Benson <gbenson@redhat.com>
6714
6715 For PR libgcj/8759:
6716 * java/beans/Introspector.java (flushCaches): New method.
6717 (flushFromCaches): Likewise.
6718
6719 2002-11-29 Michael Koch <konqueror@gmx.de>
6720
6721 * java/nio/channels/DatagramChannel.java
6722 (open): Added exception documentation.
6723 (write): Added exception documentation.
6724 (connect): Added exception documentation.
6725 (disconnect): Added exception documentation.
6726 (isConnected): Added exception documentation.
6727 (read): Added exception documentation.
6728 (receive): Added exception documentation.
6729 (send): Added exception documentation.
6730 (validOps): Added exception documentation.
6731 * java/nio/channels/SocketChannel.java
6732 (open): Added exception documentation.
6733 (read): Added exception documentation.
6734 (write): Added exception documentation.
6735 (connect): Added exception documentation.
6736 (finishConnect): Added exception documentation.
6737
6738 2002-11-29 Michael Koch <konqueror@gmx.de>
6739
6740 * gnu/java/nio/DatagramChannelImpl:
6741 (fd): New member variable to store file descriptor of socket.
6742 * gnu/java/nio/SelectionKeyImpl.java:
6743 (ops): Removed.
6744 (readyOps): New member variable.
6745 (interestOps): New member variable.
6746 (readyOps): Implemented.
6747 (readyOps): New method to set member variable readyOps.
6748 (interestOps): Replaced ops by interestOps.
6749 * gnu/java/nio/SelectorImpl.java:
6750 (SelectorImpl): Initialize key sets.
6751 (select): Call select with -1 instead of Long.MAX_VALUE).
6752 (java_do_select): Make it a native method.
6753 (getFDsAsArray): New helper method.
6754 (select): Remove canceled keys, give only interested file discriptors
6755 to java_do_select, set ready ops.
6756 (add): No need to initialize keys set here.
6757 (add_selected): No need to initialize selected set here.
6758 (deregisterCanceledKeys): New helper method.
6759 (register): Set interest ops, set attachments, added handling of datagram
6760 channels.
6761 * gnu/java/nio/ServerSocketChannelImpl:
6762 (SocketAccept): Renamed from NioSocketAccept.
6763 (implConfigureBlocking): Implemented.
6764 (accept): Use SocketAccept instead of NioSocketAccept.
6765 * gnu/java/nio/SocketChannelImpl:
6766 Reactivate native methods.
6767
6768 2002-11-29 Michael Koch <konqueror@gmx.de>
6769
6770 * gnu/java/nio/natByteBufferImpl.cc,
6771 gnu/java/nio/natCharBufferImpl.cc,
6772 gnu/java/nio/natDoubleBufferImpl.cc,
6773 gnu/java/nio/natFloatBufferImpl.cc,
6774 gnu/java/nio/natIntBufferImpl.cc,
6775 gnu/java/nio/natLongBufferImpl.cc,
6776 gnu/java/nio/natSelectorImpl.cc,
6777 gnu/java/nio/natServerSocketChannelImpl.cc,
6778 gnu/java/nio/natShortBufferImpl.cc,
6779 gnu/java/nio/natSocketChannelImpl.cc:
6780 New files that implement native functionalities.
6781
6782 2002-11-29 Michael Koch <konqueror@gmx.de>
6783
6784 * gnu/java/nio/ByteBufferImpl.java
6785 (ByteBufferImpl): Moved position() after limit.
6786 (nio_*): Use native implementation.
6787 * gnu/java/nio/CharBufferImpl.java:
6788 Reformated.
6789 (endian): New member variable string endianess of buffer.
6790 (CharBufferImpl): Moved position() after limit.
6791 (nio_*): Use native implementation.
6792 (subSequence): Implemented.
6793 * gnu/java/nio/DoubleBufferImpl.java
6794 (DoubleBufferImpl): Moved position() after limit.
6795 (nio_*): Use native implementation.
6796 * gnu/java/nio/FloatBufferImpl.java
6797 Reformated.
6798 (FloatBufferImpl): Moved position() after limit.
6799 (nio_*): Use native implementation.
6800 * gnu/java/nio/IntBufferImpl.java
6801 Added needed imports, Reformated.
6802 (IntBufferImpl): Moved position() after limit.
6803 (nio_*): Use native implementation.
6804 * gnu/java/nio/LongBufferImpl.java
6805 Reformated.
6806 (LongBufferImpl): Moved position() after limit.
6807 (nio_*): Use native implementation.
6808 * gnu/java/nio/ShortBufferImpl.java
6809 Reformated.
6810 (ShortBufferImpl): Moved position() after limit.
6811 (nio_*): Use native implementation.
6812
6813 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6814
6815 * java/util/Locale.java (toString): Improve efficiency if country
6816 and variant are both empty.
6817
6818 2002-11-26 Tom Tromey <tromey@redhat.com>
6819
6820 * verify.cc (pop_init_ref): New method.
6821 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6822 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6823 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6824 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6825 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6826 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6827 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6828 let `this' argument be uninitialized. Don't let `null' be passed
6829 as `this' to construtor.
6830
6831 2002-11-26 Mark Wielaard <mark@klomp.org>
6832
6833 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6834 * javax/transaction/HeuristicMixedException.java: Likewise.
6835 * javax/transaction/HeuristicRollbackException.java: Likewise.
6836 * javax/transaction/InvalidTransactionException.java: Likewise.
6837 * javax/transaction/NotSupportedException.java: Likewise.
6838 * javax/transaction/RollbackException.java: Likewise.
6839 * javax/transaction/Status.java: Likewise.
6840 * javax/transaction/Synchronization.java: Likewise.
6841 * javax/transaction/SystemException.java: Likewise.
6842 * javax/transaction/Transaction.java: Likewise.
6843 * javax/transaction/TransactionManager.java: Likewise.
6844 * javax/transaction/TransactionRequiredException.java: Likewise.
6845 * javax/transaction/TransactionRolledbackException.java: Likewise.
6846 * javax/transaction/UserTransaction.java: Likewise.
6847 * javax/transaction/xa/XAException.java: Likewise.
6848 * javax/transaction/xa/XAResource.java: Likewise.
6849 * javax/transaction/xa/Xid.java: Likewise.
6850
6851 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6852
6853 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6854 define.
6855 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6856 * include/posix.h (socklen_t): Define if not already defined.
6857
6858 2002-11-25 Tom Tromey <tromey@redhat.com>
6859
6860 * verify.cc (type::compatible): Backed out broken change.
6861
6862 * verify.cc (type::compatible): Check initialization status
6863 first.
6864 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6865 Don't use NULLCHECK.
6866
6867 2002-11-23 H.J. Lu <hjl@gnu.org>
6868
6869 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6870 Include ../config/accross.m4.
6871 * aclocal.m4; Rebuild.
6872 * configure: Likewise.
6873
6874 2002-11-23 Mark Wielaard <mark@klomp.org>
6875
6876 * javax/naming/AuthenticationException.java: Update copyright header.
6877 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6878 * javax/naming/Binding.java: Likewise.
6879 * javax/naming/CannotProceedException.java: Likewise.
6880 * javax/naming/CommunicationException.java: Likewise.
6881 * javax/naming/CompositeName.java: Likewise.
6882 * javax/naming/CompoundName.java: Likewise.
6883 * javax/naming/ConfigurationException.java: Likewise.
6884 * javax/naming/Context.java: Likewise.
6885 * javax/naming/ContextNotEmptyException.java: Likewise.
6886 * javax/naming/InitialContext.java: Likewise.
6887 * javax/naming/InsufficientResourcesException.java: Likewise.
6888 * javax/naming/InterruptedNamingException.java: Likewise.
6889 * javax/naming/LimitExceededException.java: Likewise.
6890 * javax/naming/LinkException.java: Likewise.
6891 * javax/naming/LinkLoopException.java: Likewise.
6892 * javax/naming/LinkRef.java: Likewise.
6893 * javax/naming/MalformedLinkException.java: Likewise.
6894 * javax/naming/NameAlreadyBoundException.java: Likewise.
6895 * javax/naming/NameClassPair.java: Likewise.
6896 * javax/naming/NameNotFoundException.java: Likewise.
6897 * javax/naming/NameParser.java: Likewise.
6898 * javax/naming/NamingEnumeration.java: Likewise.
6899 * javax/naming/NamingSecurityException.java: Likewise.
6900 * javax/naming/NoInitialContextException.java: Likewise.
6901 * javax/naming/NoPermissionException.java: Likewise.
6902 * javax/naming/NotContextException.java: Likewise.
6903 * javax/naming/OperationNotSupportedException.java: Likewise.
6904 * javax/naming/PartialResultException.java: Likewise.
6905 * javax/naming/Reference.java: Likewise.
6906 * javax/naming/Referenceable.java: Likewise.
6907 * javax/naming/ReferralException.java: Likewise.
6908 * javax/naming/ServiceUnavailableException.java: Likewise.
6909 * javax/naming/SizeLimitExceededException.java: Likewise.
6910 * javax/naming/TimeLimitExceededException.java: Likewise.
6911 * javax/naming/directory/Attribute.java: Likewise.
6912 * javax/naming/directory/AttributeInUseException.java: Likewise.
6913 * javax/naming/directory/AttributeModificationException.java: Likewise.
6914 * javax/naming/directory/Attributes.java: Likewise.
6915 * javax/naming/directory/BasicAttribute.java: Likewise.
6916 * javax/naming/directory/BasicAttributes.java: Likewise.
6917 * javax/naming/directory/DirContext.java: Likewise.
6918 * javax/naming/directory/InitialDirContext.java: Likewise.
6919 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6920 Likewise.
6921 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6922 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6923 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6924 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6925 * javax/naming/directory/ModificationItem.java: Likewise.
6926 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6927 * javax/naming/directory/SchemaViolationException.java: Likewise.
6928 * javax/naming/directory/SearchControls.java: Likewise.
6929 * javax/naming/directory/SearchResult.java: Likewise.
6930 * javax/naming/event/EventContext.java: Likewise.
6931 * javax/naming/event/EventDirContext.java: Likewise.
6932 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6933 * javax/naming/event/NamingEvent.java: Likewise.
6934 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6935 * javax/naming/event/NamingListener.java: Likewise.
6936 * javax/naming/event/ObjectChangeListener.java: Likewise.
6937 * javax/naming/ldap/Control.java: Likewise.
6938 * javax/naming/ldap/ControlFactory.java: Likewise.
6939 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6940 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6941 * javax/naming/ldap/HasControls.java: Likewise.
6942 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6943 * javax/naming/ldap/LdapContext.java: Likewise.
6944 * javax/naming/ldap/LdapReferralException.java: Likewise.
6945 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6946 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6947 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6948 * javax/naming/spi/DirObjectFactory.java: Likewise.
6949 * javax/naming/spi/DirStateFactory.java: Likewise.
6950 * javax/naming/spi/DirectoryManager.java: Likewise.
6951 * javax/naming/spi/InitialContextFactory.java: Likewise.
6952 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6953 * javax/naming/spi/NamingManager.java: Likewise.
6954 * javax/naming/spi/ObjectFactory.java: Likewise.
6955 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6956 * javax/naming/spi/ResolveResult.java: Likewise.
6957 * javax/naming/spi/Resolver.java: Likewise.
6958 * javax/naming/spi/StateFactory.java: Likewise.
6959
6960 * javax/naming/spi/NamingManager.java (ofb): Package private.
6961
6962 2002-11-21 Mark Wielaard <mark@klomp.org>
6963
6964 * java/net/URL.java: Merge with Classpath (partly).
6965 * java/net/URLStreamHandler: Merge with Classpath.
6966
6967 2002-11-22 Michael Koch <konqueror@gmx.de>
6968
6969 * include/posix.h:
6970 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6971 * include/win32.h:
6972 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6973 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6974
6975 2002-11-21 Michael Koch <konqueror@gmx.de>
6976
6977 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6978 Only the new network functions should be in it.
6979
6980 2002-11-21 Michael Koch <konqueror@gmx.de>
6981
6982 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6983 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6984
6985 2002-11-21 Michael Koch <konqueror@gmx.de>
6986
6987 * java/nio/channels/AsynchronousCloseException.java,
6988 java/nio/channels/CancelledKeyException.java,
6989 java/nio/channels/ClosedByInterruptException.java,
6990 java/nio/channels/ConnectionPendingException.java,
6991 java/nio/channels/FileLockInterruptionException.java,
6992 java/nio/channels/IllegalSelectorException.java,
6993 java/nio/channels/NoConnectionPendingException.java,
6994 java/nio/channels/NonReadableChannelException.java,
6995 java/nio/channels/NonWritableChannelException.java,
6996 java/nio/channels/NotYetBoundException.java,
6997 java/nio/channels/NotYetConnectedException.java,
6998 java/nio/channels/OverlappingFileLockException.java,
6999 java/nio/channels/UnresolvedAddressException.java,
7000 java/nio/channels/UnsupportedAddressTypeException.java:
7001 New files.
7002 * Makefile.am (ordinary_java_source_files): Added new files.
7003 * Makefile.in: Regenerated.
7004
7005 2002-11-21 Michael Koch <konqueror@gmx.de>
7006
7007 * include/posix.h
7008 (_Jv_socket): New method.
7009 (_Jv_connect): New method.
7010 (_Jv_close): New method.
7011 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7012 (_Jv_bind): New method.
7013 (_Jv_listen): New method.
7014 (_Jv_write): New method.
7015 (_Jv_read): New method.
7016 * include/win32.h
7017 (_Jv_socket): New method.
7018 (_Jv_connect): New method.
7019 (_Jv_close): New method.
7020 (_Jv_bind): New method.
7021 (_Jv_listen): New method.
7022 (_Jv_write): New method.
7023 (_Jv_read): New method.
7024 * java/net/natNetworkInterface.cc:
7025 Include platform.h, removed inclusion of socket.h
7026 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7027 ::close() by _Jv_close().
7028 * java/net/natPlainDatagramSocketImpl.cc:
7029 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7030 added some new lines to make code more readable.
7031 (create): Replaced ::socket() by _Jv_socket().
7032 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7033 * java/net/natPlainSocketImpl.cc:
7034 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7035 removed include of socket.h, removed some windows defines
7036 (now in include/win32.h).
7037 (create): Replaced ::socket() by _Jv_socket().
7038 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7039 (write): Replaced ::read by _Jv_write().
7040 (read): Replaced ::read by _Jv_read().
7041
7042 2002-11-20 Michael Koch <konqueror@gmx.de>
7043
7044 * Makefile.am (ordinary_java_source_files):
7045 Added java/nio/channels/FileChannel.java.
7046 * Makefile.in: Regenerated.
7047
7048 2002-11-20 Michael Koch <konqueror@gmx.de>
7049
7050 * java/io/FileInputStream.java
7051 (getChannel): New method.
7052 * java/io/FileOutputStream.java
7053 (getChannel): New method.
7054 * java/net/ServerSocket.java
7055 (bind): Removed duplicate code and called another bind method instead.
7056 * java/nio/channels/SelectionKey.java
7057 (isValid): Removed wrong exception documentation.
7058 * java/nio/channels/ServerSocketChannel.java
7059 (accept): Added exception documentation.
7060 (open): Fixed typo, added exception documentation.
7061 * java/nio/channels/spi/AbstractSelectableChannel.java
7062 (implCloseChannel): Added exception documentation.
7063 (add): Reformated.
7064 (register): Added exception documentation.
7065
7066 2002-11-20 Andreas Jaeger <aj@suse.de>
7067
7068 * configure: Regenerated with new libtool.m4.
7069
7070 2002-11-19 Tom Tromey <tromey@redhat.com>
7071
7072 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7073 `referent'.
7074 (finalize_referred_to_object): Don't modify `referent' or `copy'
7075 fields.
7076 (add_to_hash): Correctly set `n->next' when updating list.
7077 * java/lang/ref/Reference.java (enqueue): Return false if already
7078 enqueued.
7079
7080 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7081
7082 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7083 to function and function pointer declarations in accordance with
7084 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7085 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7086 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7087 JNI function definitions.
7088
7089 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7090
7091 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7092 that was causing CoderResults to be cached, not WeakReferences
7093 to CoderResults.
7094
7095 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7096
7097 * java/security/KeyStore.java (getInstance): Fix
7098 comment and throw IllegalArgumentException if
7099 given provider is null.
7100 (getInstance): New method for jdk1.4 compatibility.
7101
7102 2002-11-18 Michael Koch <konqueror@gmx.de>
7103
7104 * java/net/PlainSocketImpl.java: Fix imports.
7105
7106 2002-11-18 Michael Koch <konqueror@gmx.de>
7107
7108 * java/nio/channels/SelectionKey.java
7109 (isValid): Added exception documentation.
7110 * java/nio/channels/Selector.java
7111 (open): Declare "throws IOException".
7112
7113 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7114
7115 * java/nio/charset/Charset.java
7116 (<clinit>): New method.
7117 (encode): Synchronize use of cached encoder object.
7118 (decode): Synchronize use of cached encoder object.
7119
7120 2002-11-18 Michael Koch <konqueror@gmx.de>
7121
7122 * gnu/java/nio/ByteBufferImpl.java,
7123 gnu/java/nio/CharBufferImpl.java,
7124 gnu/java/nio/DatagramChannelImpl.java,
7125 gnu/java/nio/DoubleBufferImpl.java,
7126 gnu/java/nio/FileChannelImpl.java,
7127 gnu/java/nio/FloatBufferImpl.java,
7128 gnu/java/nio/IntBufferImpl.java,
7129 gnu/java/nio/LongBufferImpl.java,
7130 gnu/java/nio/PipeImpl.java,
7131 gnu/java/nio/SelectionKeyImpl.java,
7132 gnu/java/nio/SelectorImpl.java,
7133 gnu/java/nio/SelectorProviderImpl.java,
7134 gnu/java/nio/ServerSocketChannelImpl.java,
7135 gnu/java/nio/ShortBufferImpl.java,
7136 gnu/java/nio/SocketChannelImpl.java,
7137 java/nio/DoubleBuffer.java,
7138 java/nio/FloatBuffer.java,
7139 java/nio/IntBuffer.java,
7140 java/nio/LongBuffer.java,
7141 java/nio/ShortBuffer.java,
7142 java/nio/channels/FileChannel.java: New files.
7143
7144 2002-11-18 Michael Koch <konqueror@gmx.de>
7145
7146 * Makefile.am (ordinary_java_source_files):
7147 Added java/nio/ReadOnlyBufferException.java and
7148 java/nio/channels/ClosedSelectorException.java.
7149 * Makefile.in: Regenerated.
7150
7151 2002-11-18 Michael Koch <konqueror@gmx.de>
7152
7153 * java/net/PlainSocketImpl.java: Reworked imports.
7154 * java/net/ServerSocket.java
7155 (ServerSocket): Create socket.
7156 * java/net/SocketAddress.java: Documentation added.
7157 * java/net/natPlainSocketImpl.cc: Reindented.
7158 * java/nio/ReadOnlyBufferException.java: New file
7159 * java/nio/channels/ClosedChannelException.java: Documentation added.
7160 * java/nio/channels/ClosedSelectorException.java: New file.
7161
7162 2002-11-17 Mark Wielaard <mark@klomp.org>
7163
7164 * java/net/HttpURLConnection.java ((getPermission): Take port
7165 into consideration.
7166 (getErrorStream): Implement.
7167
7168 2002-11-17 Mark Wielaard <mark@klomp.org>
7169
7170 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7171
7172 2002-11-16 Mark Wielaard <mark@klomp.org>
7173
7174 Integrate work by Raif S. Naffah (raif@fl.net.au)
7175 * java/security/DummyKeyPairGenerator.java (clone): New method.
7176 * java/security/DummyMessageDigest.java (clone): New method.
7177 (engineUpdate): Now public.
7178 (engineReset): Likewise.
7179 (engineDigest): Likewise.
7180 (engineGetDigestLength): New method.
7181 * java/security/DummySignature.java (clone): New method.
7182 * java/security/KeyPairGenerator.java (provider): Now package private.
7183 (getInstance(String)): Use getInstance(String,Provider).
7184 (getInstance(String,String): Use getInstance(String,Provider)
7185 (getInstance(String,Provider): New method.
7186 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7187 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7188 * java/security/MessageDigest.java (provider): Now package private.
7189 (getInstance(String): Use getInstance(String,Provider).
7190 (getInstance(String,String): Use getInstance(String,Provider)
7191 (getInstance(String,Provider): New method.
7192 * java/security/Provider.java (toCanonicalKey): New method.
7193 (get): New method that uses toCanonicalKey().
7194 (put): Use toCanonicalKey().
7195 (remove): Likewise.
7196 * java/security/Security.java (insertProviderAt): Provider index is one
7197 based, not zero based.
7198 (addProvider): Likewise.
7199 (removeProvider): Likewise.
7200 * java/security/Signature.java (provider): Now package private.
7201 (getInstance(String)): Use getInstance(String,Provider).
7202 (getInstance(String,String): Use getInstance(String,Provider)
7203 (getInstance(String,Provider): New method.
7204 (getInstance(String,String,Provider): Don't cast DummySignature.
7205
7206 2002-11-15 Tom Tromey <tromey@redhat.com>
7207
7208 For PR libgcj/8593:
7209 * java/util/zip/GZIPInputStream.java (read): Check file size.
7210 Look in inflater for remaining input bytes.
7211 (read4): Added buf and offset arguments.
7212
7213 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7214
7215 * java/applet/AppletContext.java: Fix typo and remove redundant
7216 modifiers.
7217
7218 2002-11-14 Tom Tromey <tromey@redhat.com>
7219
7220 * java/lang/natRuntime.cc (insertSystemProperties): Set
7221 gnu.classpath.home.
7222
7223 2002-11-13 Michael Koch <konqueror@gmx.de>
7224
7225 * java/nio/ByteBuffer.java
7226 (allocate): New method.
7227 (wrap): New method.
7228 (put): New method.
7229 (get): New method.
7230
7231 2002-11-13 Michael Koch <konqueror@gmx.de>
7232
7233 * java/nio/channels/AlreadyConnectedException.java:
7234 Removed unneeded import.
7235 (AlreadyConnectedException): Documentation added.
7236 * java/nio/channels/Pipe.java
7237 (SinkChannel.SinkChannel): Documentation added.
7238 (SinkChannel.validOps): New method.
7239 (SourceChannel.SourceChannel): Documentation added.
7240 (SourceChannel.validOps): New method.
7241 (Pipe): Documentation added.
7242 (open): Documentation added.
7243 (SinkChannel.channel): Documentation added.
7244 (SourceChannel.channel): Documentation added.
7245 * java/nio/channel/SelectableChannel.java
7246 (SelectableChannel): Documentation added.
7247 (blockingLock): Documentation added.
7248 (configureBlocking):Documentation added.
7249 (isBlocking):Documentation added.
7250 (isRegistered):Documentation added.
7251 (keyFor):Documentation added.
7252 (provider):Documentation added.
7253 (register): Documentation added.
7254 (validOps): Documentation added.
7255 * jaba/nio/channels/SelectionKey.java
7256 (SelectionKey): Documentation added.
7257 (attach): Documentation added.
7258 (attachment): Documentation added.
7259 (isAcceptable): Documentation added.
7260 (isConnetable): Documentation added.
7261 (isReadable): Documentation added.
7262 (isWritable): Documentation added.
7263 (cancel): Documentation added.
7264 (channel): Documentation added.
7265 (interestOps): Documentation added.
7266 (isValid): Documentation added.
7267 (readyOps): Documentation added.
7268 (selector): Documentation added.
7269 * jaba/nio/channels/Selector.java
7270 (Selector): Documentation added.
7271 (open): Documentation added.
7272 (close): Documentation added.
7273 (isOpen): Documentation added.
7274 (keys): Documentation added.
7275 (provider): Documentation added.
7276 (select): Documentation added.
7277 (selectedKeys): Documentation added.
7278 (selectNow): Documentation added.
7279 (wakeup): Documentation added.
7280 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7281 (AbstractInterruptibleChannel): Documentation added.
7282 (opened): Default to true;
7283 (begin): Documentation added.
7284 (close): Set opened to false, documentation added.
7285 (isOpen): Documentation added.
7286 * java/nio/channels/spi/AbstractSelectionKey.java
7287 (AbstractSelectionKey): Documentation added.
7288 (cancel): Documentation added.
7289 (isValid): Documentation added.
7290 * java/nio/channels/spi/AbstractSelector.java
7291 (AbstractSelector): Documentation added.
7292 (begin): Documentation added.
7293 (close): Documentation added.
7294 (isOpen): Documentation added.
7295 (deregister): Documentation added.
7296 (end): Documentation added.
7297 (provider): Documentation added.
7298 (implCloseSelector): Documentation added.
7299 (register): Documentation added.
7300 * java/nio/channels/spi/SelectorProvider.java
7301 (SelectorProvider): Documentation added.
7302 (openDatagramChannel): Documentation added.
7303 (openPipe): Documentation added.
7304 (openSelector): Documentation added.
7305 (openServerSocketChannel): Documentation added.
7306 (openSocketChannel): Documentation added.
7307 (provider): Documentation added.
7308
7309 2002-11-12 Michael Koch <konqueror@gmx.de>
7310
7311 * java/nio/Buffer.java: Implemented.
7312 * java/nio/CharBuffer.java: New file.
7313 * java/nio/InvalidMarkException.java: New file.
7314 * java/nio/channels/DatagramChannel.java: Implemented.
7315 * java/nio/channels/ServerSocketChannel.java: Implemented.
7316 * java/nio/channels/SocketChannel.java: Implemented.
7317 * java/nio/channels/spi/AbstractChannel.java: Removed.
7318 * java/nio/channels/spi/AbstractSelectableChannel.java:
7319 Implemented.
7320 * java/nio/charset/Charset.java:
7321 Merge from Classpath.
7322 * java/nio/charset/CharsetDecoder.java: New file.
7323 * java/nio/charset/CharsetEncoder.java: New file.
7324 * java/nio/charset/CoderResult.java: New file.
7325 * Makefile.am (ordinary_java_source_files): Added new files.
7326 * Makefile.in: Regenerated.
7327
7328 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7329
7330 * gnu/java/nio/charset/ISO_8859_1.java,
7331 gnu/java/nio/charset/Provider.java,
7332 gnu/java/nio/charset/US_ASCII.java,
7333 gnu/java/nio/charset/UTF_16.java,
7334 gnu/java/nio/charset/UTF_16BE.java,
7335 gnu/java/nio/charset/UTF_16Decoder.java,
7336 gnu/java/nio/charset/UTF_16Encoder.java,
7337 gnu/java/nio/charset/UTF_16LE.java,
7338 gnu/java/nio/charset/UTF_8.java: New files.
7339
7340 2002-11-11 Michael Koch <konqueror@gmx.de>
7341
7342 * java/nio/charset/CharacterCodingException.java:
7343 This class must be public.
7344 * java/nio/charset/CoderMalfunctionError.java:
7345 This class must be public.
7346 * java/nio/charset/CodingErrorAction.java:
7347 This class must be public.
7348 * java/nio/charset/IllegalCharsetNameException.java:
7349 This class must be public, better implementation.
7350 * java/nio/charset/MalformedInputException.java:
7351 This class must be public, better implementation.
7352 * java/nio/charset/UnmappableCharacterException.java:
7353 This class must be public, better implementation.
7354 * java/nio/charset/UnsupportedCharsetException.java:
7355 This class must be public, better implementation.
7356
7357 2002-11-11 Michael Koch <konqueror@gmx.de>
7358
7359 * java/nio/BufferOverflowException.java,
7360 java/nio/BufferUnderflowException.java: New file.
7361 * Makefile.am (ordinary_java_source_files):
7362 Added new files.
7363 * Makefile.in: Regenerated.
7364
7365 2002-11-10 Tom Tromey <tromey@redhat.com>
7366
7367 * java/awt/Container.java (validate): Use tree lock.
7368 (getComponent): Likewise.
7369 (getComponents): Likewise.
7370 (addImpl): Likewise.
7371 (remove): Likewise.
7372 (removeAll): Likewise.
7373 (processEvent): Fixed indentation.
7374 (getComponentAt): Use tree lock.
7375 (findComponentAt): Likewise.
7376 (removeNotify): Likewise.
7377 (isAncestorOf): Likewise.
7378 (list): Likewise.
7379 (visitChildren): Likewise.
7380 (findNextFocusComponent): Likewise.
7381 (addNotifyContainerChildren): Likewise.
7382 (getAccessibleChildrenCount): Likewise.
7383 (getAccessibleChild): Likewise.
7384
7385 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7386 (getSize): Likewise.
7387 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7388 (getSize): Likewise.
7389 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7390 (calcSize): Likewise.
7391 * java/awt/CardLayout.java (getSize): Use tree lock.
7392 (gotoComponent): Likewise.
7393 (layoutContainer): Likewise.
7394
7395 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7396 count is 0.
7397 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7398 count is 0.
7399
7400 * java/io/Externalizable.java, java/io/FilePermission.java,
7401 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7402 java/io/SerializablePermission.java, java/text/Format.java,
7403 java/util/AbstractMap.java, java/util/HashMap.java,
7404 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7405 versions from Classpath.
7406
7407 2002-11-10 Anthony Green <green@redhat.com>
7408
7409 * java/util/jar/Attributes.java (Name): Fix name check.
7410
7411 2002-11-10 Mark Wielaard <mark@klomp.org>
7412
7413 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7414 with getName() as message.
7415 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7416 type as message.
7417
7418 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7419 unused.
7420
7421 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7422
7423 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7424 for Win32. JNICALL has been defined to __stdcall to be compatible
7425 with Sun's JDKs.
7426
7427 2002-11-10 Tom Tromey <tromey@redhat.com>
7428
7429 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7430 (setRows): Check newRows, not rows.
7431
7432 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7433
7434 2002-11-09 Tom Tromey <tromey@redhat.com>
7435
7436 * java/applet/Applet.java, java/applet/AppletContext.java,
7437 java/applet/AppletStub.java, java/applet/AudioClip.java,
7438 java/awt/CardLayout.java,
7439 java/awt/ContainerOrderFocusTraversalPolicy.java,
7440 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7441 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7442 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7443 java/awt/color/ICC_ColorSpace.java,
7444 java/awt/color/ICC_Profile.java,
7445 java/awt/color/ICC_ProfileGray.java,
7446 java/awt/color/ICC_ProfileRGB.java,
7447 java/awt/datatransfer/DataFlavor.java,
7448 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7449 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7450 New versions from Classpath.
7451 * Makefile.in: Rebuilt.
7452 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7453 ICC_ProfileRGB.
7454
7455 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7456 display policy.
7457
7458 * java/awt/List.java (processEvent): Added missing `else's.
7459
7460 * java/awt/Window.java (show): validate() before showing. Make
7461 parent displayable.
7462 (isDisplayable): New method.
7463
7464 2002-11-07 Mark Wielaard <mark@klomp.org>
7465
7466 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7467 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7468
7469 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7470 annotation.
7471 (loadClass): Take String as codebases.
7472 (getClassAnnotation): Use MyClassLoader annotations.
7473 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7474 call exportObject(this).
7475
7476 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7477 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7478 (setAnnotation): Don't set locBytesStream and locStream.
7479 (replaceObject): Removed.
7480 (flush): Don't test locStream.
7481 (getLocBytes): LikeWise.
7482 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7483 (leaseCache): New field.
7484 (dirty): Use leaseCache.
7485 (LeaseRecord): New inner class.
7486 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7487 explicitly call exportObject().
7488 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7489 false to communicate with Sun JDK130.
7490 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7491 * gnu/java/rmi/server/RMIObjectInputStream.java
7492 (UnicastConnectionManager): Removed field.
7493 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7494 Use UnicastServer.getExportedRef().
7495 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7496 (expireTime): Likewise.
7497 (CONNECTION_TIMEOUT): Likewise.
7498 (disconnect): Call sock.close().
7499 (isExpired): New method.
7500 (resetTime): Likewise.
7501 (run): Use do while loop and catch Exception for discardConnection().
7502 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7503 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7504 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7505 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7506 (exportObject): Use refcache.
7507 (unexportObject): Likewise.
7508 (getExportedRef): New method.
7509 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7510 constructor.
7511 (exportObject): Save manager.serverobj.
7512 (getStub): New method.
7513
7514 2002-11-07 Mark Wielaard <mark@klomp.org>
7515
7516 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7517 (getByte): Likewise.
7518 (getShort): Likewise.
7519 (getInt): Likewise.
7520 (getLong): Likewise.
7521 (getFloat): Likewise.
7522 (getDouble): Likewise.
7523 (get): Likewise.
7524 (setChar): Likewise.
7525 (setByte): Likewise.
7526 (setShort): Likewise.
7527 (setInt): Likewise.
7528 (setLong): Likewise.
7529 (setFloat): Likewise.
7530 (setDouble): Likewise.
7531
7532 2002-11-07 Michael Koch <konqueror@gmx.de>
7533
7534 * java/awt/Choice.java,
7535 java/awt/Container.java,
7536 java/awt/GridBagLayout.java:
7537 Fixed documentation.
7538 * java/awt/peer/ContainerPeer.java:
7539 Reindented.
7540
7541 2002-11-07 Michael Koch <konqueror@gmx.de>
7542
7543 * java/awt/color/ICC_Profile.java:
7544 Added missing constants.
7545 * java/awt/color/ICC_ColorSpace.java
7546 (getMinValue): Added dummy implementation.
7547 (getMaxValue): Added dummy implementation.
7548 * java/awt/datatransfer/DataFlavor.java
7549 (imageFlavor): Added.
7550 (isMimeTypeEqual): Must be final.
7551 (getDefaultRepresentationClass): Must be non-static.
7552 (getDefaultRepresentationClassAsString): Must be non-static.
7553 * java/awt/dnd/DragSourceContext.java
7554 (dragExit): Corrected argument.
7555 (dragDropEnd): Corrected argument.
7556 * java/awt/dnd/DragSourceListener.java.java
7557 (dragExit): Corrected argument.
7558 (dragDropEnd): Corrected argument.
7559 * java/awt/font/TextHitInfo.java
7560 (toString): Added stubbed implementation.
7561 * java/awt/geom/PathIterator.java:
7562 The constants must be static.
7563 * java/awt/image/VolatileImage.java
7564 (IMAGE_INCOMPATIBLE): Fixed typo.
7565 * java/awt/image/renderable/RenderableImage.java
7566 (HINTS_OBSERVED): Must be static.
7567 * java/beans/BeanInfo.java:
7568 Constants must be final.
7569
7570 2002-11-06 Tom Tromey <tromey@redhat.com>
7571
7572 From svens@it.uu.se. For PR libgcj/8481.
7573 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7574
7575 2002-11-06 Tom Tromey <tromey@redhat.com>
7576
7577 * jni.cc (array_from_valist): Assume that jlong won't be
7578 promoted.
7579
7580 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7581
7582 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7583 Return 20.
7584 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7585 Return 16.
7586
7587 2002-11-03 Tom Tromey <tromey@redhat.com>
7588
7589 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7590 VMClassLoader, not findClass.
7591
7592 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7593
7594 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7595 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7596 _Jv_DetermineVTableIndex, to determine vtable offset.
7597 (_Jv_DetermineVTableIndex): Remove.
7598 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7599
7600 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7601
7602 2002-11-03 Tom Tromey <tromey@redhat.com>
7603
7604 * java/nio/channels/AlreadyConnectedException.java: Extend
7605 IllegalStateException, per spec.
7606
7607 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7608
7609 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7610
7611 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7612
7613 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7614 size items.
7615
7616 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7617
7618 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7619 initial estimated size to avoid enlarge buffer frequently.
7620
7621 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7622
7623 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7624 ClassLoader when null.
7625 (ProxyType.hashCode): Loader null check no longer needed.
7626 (ProxyType.sameTypes): New method.
7627 (ProxyType.equals): Use new method.
7628
7629 2002-10-31 Mark Wielaard <mark@klomp.org>
7630
7631 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7632 length of String.
7633 * java/net/URLEncoder.java (encode): Likewise.
7634
7635 2002-10-31 Mark Wielaard <mark@klomp.org>
7636
7637 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7638 when stream is closed.
7639 (closeEntry): Likewise.
7640 (read): Likewise.
7641 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7642 ZipException when no entry active.
7643 (closeEntry): Likewise.
7644 (write): Likewise.
7645
7646 2002-11-02 Tom Tromey <tromey@redhat.com>
7647
7648 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7649 * java/lang/natClass.cc (initializeClass): Don't return just
7650 because self==thread.
7651
7652 For PR java/8415:
7653 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7654 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7655
7656 2002-11-02 Andreas Schwab <schwab@suse.de>
7657
7658 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7659 pass GCJFLAGS.
7660 (FLAGS_TO_PASS): Define.
7661 * Makefile.in: Regenerated.
7662
7663 2002-11-01 Michael Koch <konqueror@gmx.de>
7664
7665 * java/nio/ByteOrder.java: New file.
7666 * java/nio/channels/DatagramChannel.java:
7667 (DatagramChannel): New constructor.
7668 * java/nio/channels/Pipe.java: New file.
7669 * java/nio/channels/SelectableChannel.java: New file.
7670 * java/nio/channels/SelectionKey.java: New file.
7671 * java/nio/channels/Selector.java: New file.
7672 * java/nio/channels/ServerSocketChannel.java
7673 (ServerSocketChannel): New constructor.
7674 * java/nio/channels/SocketChannel.java
7675 (SocketChannel): New constructor.
7676 * java/nio/channels/Pipe.java: New file.
7677 * java/nio/channels/spi/AbstractChannel.java: New file.
7678 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7679 * java/nio/channels/spi/AbstractSelectableChannel.java:
7680 License added
7681 (AbstractSelectableChannel): New stubbed method.
7682 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7683 * java/nio/channels/spi/AbstractSelector.java: New file.
7684 * java/nio/channels/spi/SelectorProvider.java: New file.
7685 * java/nio/charset/Charset.java: New file.
7686 * java/nio/charset/CoderMalfunctionError.java: New file.
7687 * java/nio/charset/CodingErrorAction.java: New file.
7688 * java/nio/charset/spi/CharsetProvider.java
7689 (charsetForName): Uncommented.
7690 * Makefile.am (java_native_source_files): Added new files.
7691 * Makefile.in: Regenerated.
7692
7693 2002-11-01 Michael Koch <konqueror@gmx.de>
7694
7695 * java/net/InetAddress.java:
7696 (isAnyLocalAddress): Implemented.
7697 (isLoopbackAddress): Implemented, comment added.
7698 (isLinkLocalAddress): Implemented, documentation added.
7699 (isSiteLocalAddress): Implemented, documentation added.
7700 (isMCGlobal): Implemented, documentation added.
7701 (isMCNodeLocal): Implemented, documentation added.
7702 (isMCLinkLocal): Implemented, documentation added.
7703 (isMCSiteLocal): Implemented, documentation added.
7704 (isMCOrgLocal): Implemented, documentation added.
7705 (getHostName): Documentation added.
7706 (getCanonicalHostName): Implemented, documentation added.
7707 (getAddress): Documentation added.
7708 (hashCode): Documentation added.
7709 (equals): Documentation added.
7710 (toString): Fixed implementation.
7711 (getByAddress): Use Inet4Address and Inet6Address.
7712 (lookup): New linewrap.
7713 (getByName): SecurityManager check added, support Inet4Address and
7714 Inet6address, comments added.
7715 (getAllByName): SecurityManager check added, comments added.
7716 * java/net/Inet6Address.java:
7717 (Inet6Address): Initialize parent class with addr instead of null.
7718 * java/net/URL.java
7719 (equals): Documentation added.
7720 (getFile): Documentation added.
7721 (hashCode): Documentation added.
7722 * java/net/natInetAddress.cc:
7723 (aton): Fix IPv6 support.
7724 * java/net/natPlainDatagramSocketImpl.cc:
7725 (peek): Throw PortUnreachableException when suitable.
7726 (peekData): Throw PortUnreachableException when suitable.
7727 (send): Throw PortUnreachableException when suitable.
7728 (receive): Throw PortUnreachableException when suitable.
7729
7730 2002-10-27 Mark Wielaard <mark@klomp.org>
7731
7732 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7733 argument.
7734 (readLeShort): Likewise and use byte[].
7735 (readLeInt): Likewise.
7736 (readEntries): Use new versions of methods and use byte[] for reading
7737 a complete zip entry. Add ZipFile name to exceptions.
7738 (entries): Add ZipFile name to exceptions.
7739 (getEntry): Likewise.
7740 (checkLocalHeader): Use new versions of methods and add ZipFile name
7741 to exceptions.
7742
7743 2002-10-31 Mark Anderson <mark@panonet.net>
7744
7745 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7746 added
7747
7748 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7749
7750 * configure.in: Disable hash sync when not using threads.
7751 * configure: Regenerated.
7752
7753 2002-10-24 Tom Tromey <tromey@redhat.com>
7754
7755 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7756 (_Jv_FindSymbolInExecutable): Removed argument name.
7757 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7758 java.library.path is set.
7759
7760 * gij.cc (help): Document --showversion.
7761 (version): Don't exit.
7762 (main): Handle --showversion. Exit if --version given.
7763
7764 2002-10-23 Tom Tromey <tromey@redhat.com>
7765
7766 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7767 (array_from_valist): Correctly handle promotion for jint, jlong,
7768 jfloat, and jdouble.
7769
7770 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7771
7772 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7773 GetFileAttributesEx( ) to find file length and modification times,
7774 as the latter is not present on Windows 95.
7775
7776 2002-10-21 Michael Koch <konqueror@gmx.de>
7777
7778 * java/net/URL.java
7779 (URL): Activate SecurityManager checks.
7780 (equals): Use URLStreamHandler implementation instead of doing it
7781 alone. This allows special protocol stream handlers to change default
7782 behaviour.
7783 (hashCode): Use URLStreamHandler implementation instead of doing it
7784 alone. This allows special protocol stream handlers to change default
7785 behaviour.
7786 * java/net/URLStreamHandler.java
7787 (equals): Implemented default URL equality check.
7788 (hostsEqual): Implemented default URL equality check.
7789 (hashCode): Implemented default URL hashCode algorithm.
7790 * java/net/natPlainDatagramSocketImpl.cc:
7791 No lines longer then 80 characters.
7792
7793 2002-10-20 Adam Megacz <adam@xwt.org>
7794
7795 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7796 * configure.in: enabled hash sync on Win32
7797 * include/win32-threads.h (_Jv_ThreadId_t): added.
7798 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7799 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7800 removed some posix-isms, use Thread::sleep() instead of usleep,
7801 added code to clear bottom three bits if platform has a broken
7802 linker.
7803 * include/win32-threads.h (_Jv_ThreadId_t): added.
7804
7805 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7806
7807 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7808 runtime property "gnu.gcj.progname" containing the name used to
7809 invoke the current Java program (similar to argv[0] for C
7810 programs).
7811
7812 2002-10-15 Tom Tromey <tromey@redhat.com>
7813
7814 Fix for PR libgcj/8234:
7815 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7816 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7817
7818 2002-10-13 Mark Wielaard <mark@klomp.org>
7819
7820 * mauve-libgcj: Enable Mauve tests that compile now.
7821
7822 2002-10-11 Mark Wielaard <mark@klomp.org>
7823
7824 Fix for PR libgcj/8142
7825 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7826 loading native modules.
7827
7828 2002-10-10 Michael Koch <konqueror@gmx.de>
7829
7830 * javax/swing/AbstractListModel.java
7831 (getListDataListeners): New stubbed method.
7832 javax/swing/DefaultBoundedRangeModel.java
7833 (getChangeListeners): New stubbed method.
7834 javax/swing/DefaultSingleSelectionModel.java
7835 (getChangeListeners): New stubbed method.
7836
7837 2002-10-10 Michael Koch <konqueror@gmx.de>
7838
7839 * gcj/.cvsignore: New file to ignore files generated during build.
7840 * include/.cvsignore: New file to ignore files generated during build.
7841
7842 2002-10-10 Michael Koch <konqueror@gmx.de>
7843
7844 * java/net/HttpURLConnection.java
7845 (getPermission): New method.
7846 (getErrorStream): New stub method.
7847 (getHeaderFieldDate): New stub method.
7848 * java/net/Inet4Address.java:
7849 (isLinkLocalAddress): Typo fixed.
7850 * java/net/InetAddress.java:
7851 (readResolve): New stubbed method (for serialization).
7852 (isAnyLocalAddress): New stubbed method.
7853 (isLoopbackAddress): New stubbed method.
7854 (isLinkLocalAddress): New stubbed method.
7855 (isSiteLocalAddress): New stubbed method.
7856 (isMCGlobal): New stubbed method.
7857 (isMCNodeGlobal): New stubbed method.
7858 (isMCLinkLocal): New stubbed method.
7859 (isMCSiteLocal): New stubbed method.
7860 (isMCOrgLocal): New stubbed method.
7861 (getCanonicalHostName): New stubbed method.
7862 (getByAddress): Create instances of Inet4Address/Inet6Address,
7863 instead of InetAddress, documentation added.
7864 * java/net/MulticastSocket.java
7865 (getInterface): Removed FIXME.
7866 (getNetworkInterface): New method.
7867 (setNetworkInterface): New method.
7868 * java/net/NetworkInterface.java:
7869 (toString): Use property "line.separator" instead of "\n".
7870 * java/net/URLConnection.java
7871 (getContent): New stubbed method.
7872 * java/net/URLStreamHandler.java:
7873 (equals): New stubbed method.
7874 (hostsEqual): New stubbed method.
7875 (hashCode): New stubbed method.
7876 * java/net/natNetworkInterface.cc:
7877 (getRealNetworkInterfaces): Create Inet4Address object
7878 instead of InetAddress.
7879
7880 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7881
7882 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7883 unsigned long temporary to implement insn_iushr shifts.
7884
7885 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7886
7887 * configure.host [s390*-*]: Enable Java interpreter.
7888 Enable hash synchronization. Add sysdeps dir.
7889 * sysdep/s390/locks.h: New file.
7890
7891 2002-10-06 Mark Wielaard <mark@klomp.org>
7892
7893 * java/lang/Thread.java (setDaemon): Check startable_flag,
7894 not isAlive().
7895
7896 2002-10-07 Michael Koch <konqueror@gmx.de>
7897
7898 * java/nio/Buffer.java: New stub file.
7899 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7900 of class Charset.
7901 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7902 * Makefile.in: Regenerated.
7903
7904 2002-10-07 Michael Koch <konqueror@gmx.de>
7905
7906 * java/nio/ByteBuffer.java:
7907 removed import of not commited class.
7908
7909 2002-10-07 Michael Koch <konqueror@gmx.de>
7910
7911 * java/nio/ByteBuffer.java,
7912 java/nio/MappedByteBuffer.java:
7913 New files, forgot to add these dummies.
7914 * Makefile.am (java_native_source_files): Added new files.
7915 * Makefile.in: Regenerated.
7916
7917 2002-10-07 Michael Koch <konqueror@gmx.de>
7918
7919 * java/nio/channels/AlreadyConnectedException.java,
7920 java/nio/channels/ClosedChannelException.java,
7921 java/nio/channels/ReadableByteChannel.java,
7922 java/nio/channels/InterruptibleChannel.java,
7923 java/nio/channels/Channel.java,
7924 java/nio/channels/ByteChannel.java,
7925 java/nio/channels/GatheringByteChannel.java,
7926 java/nio/channels/ScatteringByteChannel.java,
7927 java/nio/channels/WritableByteChannel.java,
7928 java/nio/charset/CharacterCodingException.java,
7929 java/nio/charset/IllegalCharsetNameException.java,
7930 java/nio/charset/MalformedInputException.java,
7931 java/nio/charset/UnmappableCharacterException.java,
7932 java/nio/charset/UnsupportedCharsetException.java,
7933 java/nio/charset/spi/CharsetProvider.java: New file.
7934 These files are exceptions or interfaces,
7935 no real or abstract classes.
7936 * Makefile.am (java_native_source_files): Added new files.
7937 * Makefile.in: Regenerated.
7938
7939 2002-10-05 Michael Koch <konqueror@gmx.de>
7940
7941 * java/net/InetAddress.java
7942 (getByAddress): Fixed documentation.
7943 (getByAddress): New method.
7944 * java/net/Inet4Address.java: New file.
7945 * java/net/URL.java
7946 (URL): Documentation added.
7947 (getContent): Documentation added.
7948 (getContent): New stubbed method.
7949 (getQuery): New method.
7950 (openConnection): Documentation added.
7951 (openStream): Documentation added.
7952 (setURLStreamHandlerFactory): Documentation added.
7953 * java/net/URI.java: New stub file.
7954 * Makefile.am
7955 (java_native_source_files): Added java/net/Inet4Address.java,
7956 java/net/Inet6Address.java and java/net/URI.java.
7957 * Makefile.in: Regenerated.
7958
7959 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7960
7961 * java/lang/ProtectionDomain.java (linesep): Remove field.
7962 (toString): Use System.getProperty("line.separator").
7963
7964 2002-10-04 Michael Koch <konqueror@gmx.de>
7965
7966 * java/security/Identity.java: Added serialVersionUID.
7967 * java/security/KeyPair.java: Added serialVersionUID.
7968 * java/security/Provider.java: Added serialVersionUID.
7969 * java/security/SecureRandom.java: Added serialVersionUID.
7970 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7971 * java/security/SignedObject.java: Added serialVersionUID.
7972 * java/security/cert/Certificate.java: Added serialVersionUID.
7973
7974 2002-10-04 Mark Wielaard <mark@klomp.org>
7975
7976 * java/security/Security.java: Use java.home or gnu.classpath.home
7977 to load providers.
7978 (loadProviders): Extra dir argument.
7979 (getProvider): Return null when not found.
7980
7981 2002-10-04 Mark Wielaard <mark@klomp.org>
7982
7983 * java/lang/Throwable.java: Remerge with Classpath.
7984
7985 2002-10-04 Michael Koch <konqueror@gmx.de>
7986
7987 * java/net/InetAddress.java:
7988 (isMulticastAddress): Added documentation.
7989 (getHostAddress): Added documentation.
7990 (toString): Added documentation.
7991 (getByAddress): Fixed documentation.
7992 (getByName): Added documentation.
7993 (getAllByName): Added documentation.
7994 (getLocalHost): Added documentation.
7995
7996 2002-10-04 Michael Koch <konqueror@gmx.de>
7997
7998 * java/beans/beancontext/BeanContextChildSupport.java:
7999 Added serialVersionUID.
8000 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8001 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8002 * javax/naming/Name.java: Added serialVersionUID.
8003
8004 2002-10-03 Adam Megacz <adam@xwt.org>
8005
8006 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8007 some functionality that isn't supported yet on WIN32.
8008
8009 2002-10-03 Tom Tromey <tromey@redhat.com>
8010
8011 * Makefile.in: Rebuilt.
8012 * Makefile.am (awt_java_source_files): Added new files.
8013
8014 2002-10-03 Michael Koch <konqueror@gmx.de>
8015
8016 * java/net/InetAddress.java
8017 (class InetAddress): Removed final keyword.
8018 (equals): Fixed typo.
8019 (getByAddress): New method.
8020
8021 2002-10-03 Michael Koch <konqueror@gmx.de>
8022
8023 * java/awt/dnd/Autoscroll.java:
8024 New file, merge from Classpath.
8025 * java/awt/dnd/DragSourceAdapter.java:
8026 (dragExit): Fixed typos in argument type.
8027 (dragDropEnd): Fixed typos in argument type.
8028 * java/awt/dnd/DragSourceDropEvent.java:
8029 New file, merge from Classpath.
8030 * java/awt/dnd/DropTarget.java:
8031 Added stubs, merge from Classpath.
8032 * java/awt/dnd/DropTargetAdapter.java:
8033 New file, merge from Classpath.
8034 * java/awt/dnd/DropTargetContext.java:
8035 New file, merge from Classpath.
8036 * java/awt/dnd/DropTargetDragEvent.java:
8037 New file, merge from Classpath.
8038 * java/awt/dnd/DropTargetDropEvent.java:
8039 New file, merge from Classpath.
8040 * java/awt/dnd/DropTargetEvent.java:
8041 New file, merge from Classpath.
8042 * java/awt/dnd/DropTargetListener.java:
8043 New file, merge from Classpath.
8044 * java/awt/dnd/MouseDragGestureRecognizer.java:
8045 New file, merge from Classpath.
8046 * java/awt/dnd/peer/DropTargetContextPeer.java:
8047 New file, merge from Classpath.
8048
8049 2002-10-03 Michael Koch <konqueror@gmx.de>
8050
8051 * java/net/DatagramPacket.java
8052 (setLength): Fixed typo and be HTML-aware.
8053 * java/net/InetSocketAddress.java
8054 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8055 (equals): Added comment about equality of InetSocketAddress objects.
8056 * java/net/ServerSocket.java
8057 (accept): Added checks.
8058 (isClosed): New stubbed method.
8059 * java/net/SocketOptions.java: Reindention.
8060 * java/net/SocketPermission
8061 (SocketPermission): Documentation fixed.
8062
8063 2002-10-03 Michael Koch <konqueror@gmx.de>
8064
8065 * java/net/DatagramSocket.java
8066 (receive): Check with SecurityManager AFTER the packet is received,
8067 check if connected to multicast address, documentation added.
8068 (send): Only check SecurityManager if connected, check address of
8069 packet to send.
8070 (connect): Implemented, documentation added.
8071 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8072 * java/net/InetSocketAddress.java
8073 (whole file): Reindented.
8074 (hostname): New attribute.
8075 (InetSocketAddress): Initialize new attribute.
8076 (getAddress): Documentation added.
8077 (getHostName): Documentation added.
8078 (getPort): Documentation added.
8079 (hashCode): Documentation added.
8080 (isUnresolved): Documentation added.
8081 (toString): Conform to output of JDK 1.4.1, documentation added.
8082 * java/net/MulticastSocket.java
8083 (joinGroup): Removed FIXME, documentation added.
8084 (leaveGroup): Removed FIXME, documentation added.
8085 (send): Documentation added.
8086 * java/net/Socket.java
8087 (inputShutdown): New variable.
8088 (outputShutdown): New variable.
8089 (Socket): Initialize new variables.
8090 (getRemoteSocketAddress): Check if connected.
8091 (shutdownInput): Set new variable.
8092 (shutdownOutput): Set new variable.
8093 (isConnected): New method.
8094 (isClosed): New method.
8095 (isInputShutdown): New method.
8096 (isOutputShutdown): New method.
8097 * java/net/URLStreamHandler.java
8098 (URLStreamHandler): New method.
8099 (openConnection): Added documentation.
8100 (parseURL): Added documentation.
8101 (getHostAddress): New method.
8102 (getDefaultPort): New method.
8103
8104 2002-10-02 Tom Tromey <tromey@redhat.com>
8105
8106 * java/rmi/activation/ActivationDesc.java,
8107 java/rmi/activation/ActivationGroupDesc.java,
8108 java/rmi/activation/ActivationGroupID.java,
8109 java/rmi/activation/ActivationID.java: New versions from
8110 Classpath.
8111
8112 2002-09-30 Bo Thorsen <bo@suse.de>
8113
8114 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8115
8116 2002-09-30 Tom Tromey <tromey@redhat.com>
8117
8118 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8119 from Classpath.
8120 * Makefile.in: Rebuilt.
8121 * Makefile.am (rmi_java_source_files): Added new files.
8122 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8123 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8124 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8125 Classpath.
8126 * gnu/java/rmi/dgc/DGCImpl.java,
8127 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8128 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8129 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8130 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8131 gnu/java/rmi/server/RMIHashes.java,
8132 gnu/java/rmi/server/RMIObjectInputStream.java,
8133 gnu/java/rmi/server/RMIObjectOutputStream.java,
8134 gnu/java/rmi/server/UnicastConnection.java,
8135 gnu/java/rmi/server/UnicastConnectionManager.java,
8136 gnu/java/rmi/server/UnicastRef.java,
8137 gnu/java/rmi/server/UnicastServer.java,
8138 gnu/java/rmi/server/UnicastServerRef.java,
8139 java/rmi/MarshalledObject.java,
8140 java/rmi/server/RMIClassLoader.java,
8141 java/rmi/server/RemoteObject.java,
8142 java/rmi/server/UnicastRemoteObject.java,
8143 java/security/SecureClassLoader.java: Merged from Classpath.
8144
8145 2002-09-29 Anthony Green <green@redhat.com>
8146
8147 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8148 Imported from GNU Classpath.
8149 * java/lang/reflect/natProxy.cc: New file.
8150 * java/lang/reflect/InvocationHandler.java: New file. Imported
8151 from GNU Classpath.
8152 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8153 Classpath.
8154 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8155 Classpath.
8156 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8157 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8158 New statics.
8159 * gcj/javaprims.h ("Java"): Add new classes.
8160 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8161 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8162 java/lang/reflect/Proxy$$ProxyType.h): And this.
8163 (inner_nat_headers): Add these new headers.
8164 (ordinary_java_source_files): Add new files.
8165 (nat_source_files): Add new file.
8166 * Makefile.in: Rebuilt.
8167
8168 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8169
8170 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8171 a single configuration.
8172
8173 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8174
8175 * java/util/TimeZone.java (getDSTSavings): New method.
8176 Fixes PR libgcj/7786.
8177
8178 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8179
8180 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8181 to see if `the_method == 0' before looking up vtable index.
8182 Fixes PR libgcj/7709.
8183
8184 2002-09-25 Tom Tromey <tromey@redhat.com>
8185
8186 * java/lang/natClassLoader.cc:
8187 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8188 * resolve.cc: Include NoClassDefFoundError.h, not
8189 ClassNotFoundException.h.
8190 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8191
8192 * defineclass.cc: Don't include ClassNotFoundException.h.
8193
8194 * resolve.cc: Include StringBuffer.
8195 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8196
8197 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8198 allocated but not initialized.
8199
8200 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8201
8202 Fix for PR libgcj/7766:
8203 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8204 (getNextEntry): Set it.
8205 (closeEntry): Likewise.
8206 (read): Likewise.
8207 (close): Likewise.
8208 (available): Use it.
8209
8210 2002-09-25 Michael Koch <konqueror@gmx.de>
8211
8212 * java/net/DatagramSocket.java
8213 (DatagramSocket): Initialize new instance variables.
8214 (close): Reset new instance variables.
8215 (getLocalAddress): Remove unneeded SecurityManager usage.
8216 (getLocalPort): Check if socket is already bound.
8217 (isConnected): New method.
8218 (getInetAddress): Implemented.
8219 (getPort): Better Implementation, documentation fixed.
8220 (getRemoteSocketAddress): New method.
8221 * java/net/JarURLConnection.java
8222 (element): Typo fixed.
8223 (getMainAttributes): New method.
8224 (getAttributes): New method (stub only).
8225 (getManifest): New method (stub only).
8226 * java/net/NetPermission.java: Added serialVersionsUID.
8227 * java/net/Socket.java
8228 (connect): Check blocking mode of associated channel,
8229 documentation added.
8230 (getLocalSocketAddress): Better implementation.
8231 (getRemoteSocketAddress): Implemented.
8232 (isBound): New method.
8233 (setSendBufferSize): Documentation added.
8234 * java/net/SocketAddress.java: Added serialVersionsUID.
8235 * java/net/SocketPermission.java: Added serialVersionsUID.
8236 * java/net/URL.java
8237 (URL): Wrap for shorter lines, initialize new instance variables,
8238 documentation added.
8239 (equals): Check new instance variables too.
8240 (getContent): Documentation added.
8241 (getPath): Documentation added.
8242 (getAuthority): New method.
8243 (getHost): Documentation added.
8244 (getPort): Documentation added.
8245 (getDefaultPort): New method.
8246 (getProtocol): Documentation added.
8247 (getUserInfo): Documentation added.
8248 (set): Initialize new instance variables, documentation added.
8249 * java/net/URLStreamHandler.java
8250 (setURL): New method.
8251 * java/net/natPlainDatagramSocketImpl.cc
8252 (connect): Fix exception name.
8253 (disconnect): Fix exception name.
8254
8255 2002-09-25 Michael Koch <konqueror@gmx.de>
8256
8257 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8258 * java/nio/channels/DatagramChannel.java:
8259 extends AbstractSelectableChannel
8260 * java/nio/channels/ServerSocketChannel.java:
8261 extends AbstractSelectableChannel
8262 * java/nio/channels/SocketChannel.java:
8263 extends AbstractSelectableChannel
8264 * Makefile.am (ordinary_java_source_files):
8265 java/nio/channels/spi/AbstractSelectableChannel.java added.
8266 * Makefile.in: Regenerated.
8267
8268 2002-09-25 Michael Koch <konqueror@gmx.de>
8269
8270 * java/net/DatagramSocket.java
8271 (DatagramSocket): Exception documentation added.
8272 (bind): Exception documentation added, addded SecurityManager check,
8273 added SocketAddress type check.
8274 (getSoTimeout): Check impl.
8275 (receive): Fix SecurityManager check, check impl, documentation added.
8276 (send): Check channel mode, documentation added.
8277 (connect): New method.
8278 (disconnect): Implemented.
8279 (getLocalSocketAddress): New method.
8280 (getReceiveBufferSize): Check impl.
8281 (setReuseAddress): Check impl.
8282 (getReuseAddress): Check impl.
8283 (setBroadcast): Check impl.
8284 (getBroadcast): Check impl.
8285 (setTrafficClass): Check impl, Documentation cleared.
8286 (getTrafficClass): Check impl.
8287 (getSendBufferSize): Check impl.
8288 (setReceiveBufferSize): Check impl, documentation added.
8289 (setSendBufferSize): Documentation added.
8290 (setDatagramSocketImplFactory): New method.
8291 * java/net/HttpURLConnection.java
8292 (HTTP_INTERNAL_ERROR): The correct code is 500.
8293 (HTTP_NOT_IMPLEMENTED): Added new constant.
8294 (setFollowRedirects): Documentation added.
8295 (getInstanceFollowRedirects): New method.
8296 (setInstanceFollowRedirects): New method.
8297 (setRequestMethod): Documentation added.
8298 (getResponseCode): Documentation added.
8299 (getResponseMessage): Documentation added.
8300 * java/net/JarURLConnection.java
8301 (JarURLConnection): protected since JDK 1.4.
8302 (getJarEntry): java.io.IOException to IOException, documentation added.
8303 (getJarFile): Documentation added.
8304 * java/net/ServerSocket.java
8305 (ServerSocket): Private to public, exception added.
8306 (ServerSocket): java.io.IOException to IOException, documentation added.
8307 (bind): Check socket address type, documentation added.
8308 (bind): java.io.IOException to IOException, documentation added.
8309 (accept): Documentation added.
8310 (implAccept): Check ch is not non-blocking, documentation added.
8311 (setSoTimeout): Documentation fixed.
8312 (setReceiveBufferSize): Documentation added.
8313 * java/net/Socket.java
8314 (Socket): Documentation added.
8315 (bind): Documentation added.
8316 (connect): Check socket address type, documentation added.
8317 (getRemoteSocketAddress): New method.
8318 (getLocalSocketAddress): New method.
8319 (setSoLinger): Documentation added.
8320 (getReuseAddress): New method.
8321 (setReuseAddress): New method.
8322 (getTrafficClass): New method.
8323 (setTrafficClass): New method.
8324 * java/net/URLStreamHandler.java
8325 (openConnection): java.io.IOException to IOException.
8326 (parseURL): Documentation added.
8327 (sameFile): public to protected, documentation added.
8328 (setURL): Documentation added.
8329 * java/nio/IllegalBlockingModeException.java: New file.
8330 * Makefile.am (ordinary_java_source_files):
8331 added java/nio/IllegalBlockingModeException.java
8332 * Makefile.in: Regenerated.
8333
8334 2002-09-25 Michael Koch <konqueror@gmx.de>
8335
8336 * java/net/DatagramPacket
8337 (DatagramPacket): Exception documentation added.
8338 (setData): Likewise.
8339 (setSocketAddress): Likewise.
8340 * java/net/DatagramSocketImpl.java
8341 (peek): Documentation addded.
8342 (peekData): Documentation addded.
8343 (send): Documentation addded.
8344 (receive): Documentation addded.
8345 (connect): New method.
8346 (disconnect): New method.
8347 (joinGroup): New abstract method.
8348 (leaveGroup): New abstract method.
8349 * java/net/InetSocketAddress.java
8350 (InetSocketAddress): Documentation added.
8351 (equals): final keyword added.
8352 (getAddress): final keyword added.
8353 (getHostName): final keyword added.
8354 (getPort): final keyword added.
8355 (hashCode): final keyword added.
8356 (isUnresolved): final keyword added.
8357 * java/net/MulticastSocket.java
8358 (MulticastSocket): Documentation added.
8359 (MulticastSocket): New method.
8360 (joinGroup): Documentation added.
8361 (joinGroup): New method.
8362 (leaveGroup): Documentation added.
8363 (leaveGroup): New method.
8364 (send): Documentation added.
8365 * java/net/NetworkInterface.java
8366 (getByName): Documentation added.
8367 (getByInetAddress): Documentation added.
8368 (getNetworkInterfaces): Documentation added.
8369 * java/net/PlainDatagramSocketImpl.java
8370 (connect): New method.
8371 (disconnect): New method.
8372 * java/net/SocketImpl.java
8373 (create): Documentation added.
8374 (shutdownInput): Convert public to protected, as it always was.
8375 (shutdownOutput): Convert public to protected, as it always was.
8376 * java/net/SocketOptions.java
8377 (whole file): Reintented.
8378 * java/net/URLClassLoader.java
8379 (URLClassLoader): SecurityManager check added, documentation added.
8380 (findResources): Documentation added.
8381 (findClass): Documentation added.
8382 (newInstance): More correct method arguments.
8383 * java/net/URLConnection.java
8384 (connect): Documentation added.
8385 (getContent): Documentation added.
8386 (getPermission): Documentation added.
8387 (getInputStream): Documentation added.
8388 (getOutputStream): Documentation added.
8389 (setDoInput): Throw correct exception, documentation added.
8390 (setDoOutput): Throw correct exception, documentation added.
8391 (setAllowUserInteraction): Throw correct exception, documentation added.
8392 (setUseCaches): Throw correct exception, documentation added.
8393 (setIfModifiedSince): Throw correct exception, documentation added.
8394 (setRequestProperty): Throw exception, documentation added.
8395 (addRequestProperty): Throw exception, documentation added.
8396 (getRequestProperty): Throw exception, documentation added.
8397 (getRequestProperties): Documentation added.
8398 (setContentHandlerFactory): Documentation added.
8399 (guessContentTypeFromName): protected to public.
8400 (setFileNameMap): Documentation added.
8401 * java/net/URLDecoder.java
8402 (URLDecoder): New method.
8403 (decode): Documentation added.
8404 (whole file): Reindented.
8405 * java/net/URLEncoder.java
8406 (encode): Documentation added.
8407 * java/net/natPlainDatagramSocketImpl.cc
8408 (connect): New method.
8409 (disconnect): New method.
8410 * javax/naming/RefAddr:
8411 (addrType): addrType was never final.
8412 (equals): Fix typo in method name.
8413 * javax/naming/BinaryRefAddr:
8414 (equals): Fix typo in method name.
8415
8416 2002-09-22 Tom Tromey <tromey@redhat.com>
8417
8418 Fix for PR libgcj/6576:
8419 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8420 didn't find a given bundle.
8421 (getBundle): Don't require base bundle.
8422 (setParent): Removed old comment.
8423 (tryLocalBundle): Try components even if preceding components were
8424 empty.
8425
8426 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8427
8428 * Makefile.am (all-multi): Fix multilib parallel build.
8429
8430 2002-09-21 Michael Koch <konqueror@gmx.de>
8431
8432 * java/net/Socket.java
8433 (sendUrgentData): New method.
8434 (getChannel): New method.
8435 * java/net/ServerSocket.java
8436 (getChannel): New method.
8437 (isBound): New method.
8438 * java/net/DatagramSocket.java
8439 (DatagramSocket): Two new methods.
8440 (bind): New method.
8441 (getChannel): New method.
8442 (isBound): New method.
8443 (send): Added newline to to make shorter lines.
8444 * java/net/PlainDatagramSocketImpl.java
8445 (mcastGrp): Added argument.
8446 (join): Use new mcastGrp.
8447 (leave): Use new mcastGrp.
8448 (joinGroup): New method.
8449 (leaveGroup): New method.
8450 * java/net/natPlainDatagramSocketImpl.cc
8451 (mcastGrp): Added argument, no yet really implemented.
8452 (getOption): Added newline for shorter lines.
8453 * java/net/natPlainSocketImpl.cc
8454 (read, setOption, getOption): Added newline for shorter lines.
8455
8456 2002-09-19 Tom Tromey <tromey@redhat.com>
8457
8458 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8459 newly-created exception.
8460
8461 2002-09-18 Michael Koch <konqueror@gmx.de>
8462
8463 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8464 java/util/regex/PatternSyntaxException.java:
8465 Merge with classpath, new files.
8466 * Makefile.am (core_java_source_files):
8467 Added java/util/regex/Matcher.java,
8468 java/util/regex/Pattern.java,
8469 java/util/regex/PatternSyntaxException.java
8470 * Makefile.in: Regenerated.
8471 * include/config.h.in: Added HAVE_NET_IF_H.
8472 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8473 Removed #if 0 ... #endif.
8474
8475 2002-09-17 Michael Koch <konqueror@gmx.de>
8476
8477 * java/net/natNetworkInterface.cc:
8478 Removed unneed and yet wrong includes.
8479
8480 2002-09-17 Michael Koch <konqueror@gmx.de>
8481
8482 * java/net/NetworkInterface.java: New file.
8483 * java/net/natNetworkInterface.java: New file.
8484 * configure.in: Added check for net/if.h.
8485 * configure: Regenerated.
8486 * Makefile.am
8487 (ordinary_java_source_files): Added NetworkInterface.java.
8488 (nat_source_files): Added natNetworkInterface.cc.
8489 * Makefile.in: Regenerated.
8490
8491 2002-09-16 Tom Tromey <tromey@redhat.com>
8492
8493 * java/net/URLClassLoader.java (findClass): Code source for a
8494 class from a jar is not necessarily a jar: URL.
8495
8496 2002-09-16 Michael Koch <konqueror@gmx.de>
8497
8498 * java/lang/AssertionError.java:
8499 Merge with classpath, fixes HTML.
8500 * java/rmi/server/LogStream.java:
8501 Merge with classpath, fixes some constants.
8502 * java/net/server/RemoteServer.java:
8503 Merge with classpath, adds serialVersionUID.
8504 * javax/naming/BinaryRefAddr.java:
8505 Merge with classpath, s/equal/equals/.
8506 * javax/naming/NamingException.java:
8507 Merge with classpath, fixed typo.
8508 * javax/naming/RefAddr.java:
8509 Merge with classpath, s/equal/equals/.
8510 * java/awt/Toolkit.java:
8511 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8512 and typo fixed.
8513
8514 2002-09-15 Adam Megacz <adam@xwt.org>
8515
8516 * java/net/natPlainSocketImpl.cc: fixed typo.
8517
8518 2002-09-15 Adam Megacz <adam@xwt.org>
8519
8520 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8521 which don't work on Win32 (yet).
8522
8523 2002-09-14 Adam Megacz <adam@xwt.org>
8524
8525 * java/net/natPlainDatagramSocket.cc: removed #include
8526 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8527 * include/win32.h: included definition for IP_TOS to satisfy
8528 natPlainDatagramSocket.cc
8529
8530 2002-09-13 Michael Koch <konqueror@gmx.de>
8531
8532 * java/net/DatagramPacket.java (DatagramPacket):
8533 Added linebreak for 80 chars per line.
8534 * java/net/JarURLConection.java
8535 (getInputStreami, getJarEntry): Likewise.
8536 * java/net/SocketPErmission.java
8537 (SocketPermission class docu, implies): Likewise.
8538 * java/net/URLClassLoader.java (findResources): Likewise.
8539 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8540
8541 2002-09-13 Michael Koch <konqueror@gmx.de>
8542
8543 * java/nio/channels/DatagramChannel.java,
8544 java/nio/channels/ServerSocketChannel.java
8545 java/nio/channels/SocketChannel.java:
8546 New dummy files to make java.net fully JDK 1.4 compatible
8547 * Makefile.am (ordinary_java_source_files): Added
8548 java/net/DatagramSocketImplFactory.java (long forgotten),
8549 java/nio/SocketChannel.java,
8550 java/nio/ServerSocketChannel.java,
8551 java/nio/DatagramChannel.java
8552 * Makefile.in: Regenrated.
8553
8554 2002-09-12 Michael Koch <konqueror@gmx.de>
8555
8556 * java/net/DatagramSocketImpl.java
8557 (peekData): New method.
8558 * java/net/PlainDatagramSocketImpl.java
8559 (peekData): New method.
8560 * java/net/natPlainDatagramSocketImpl.cc
8561 (peekData): New method.
8562 * java/net/URLConnection
8563 (getPermission): New method.
8564 (addRequestProperty): New method.
8565 (getRequestProperties): New method.
8566 (guessContentTypeFromStream): New method, not really implemented.
8567 (URLConnection): Added/updated documentation.
8568 (connect): Added/updated documentation.
8569 (getURL): Added/updated documentation.
8570 (getContentLength): Added/updated documentation.
8571 (getContentType: Added/updated documentation.
8572 (getContentEncoding): Added/updated documentation.
8573 (getExpiration): Added/updated documentation.
8574 (getDate): Added/updated documentation.
8575 (getLastModified): Added/updated documentation.
8576 (getHeaderField): Added/updated documentation.
8577 (getHeaderFields): Added/updated documentation.
8578 (getHeaderFieldInt): Added/updated documentation.
8579 (getHeaderFieldDate): Added/updated documentation.
8580 (getHeaderFieldKey): Added/updated documentation.
8581 (getContent): Added/updated documentation.
8582 (getInputStream): Added/updated documentation.
8583 (getOutputStream): Added/updated documentation.
8584 (toString): Added/updated documentation.
8585 (setDoInput): Added/updated documentation.
8586 (getDoInput): Added/updated documentation.
8587 (setDoOutput): Added/updated documentation.
8588 (getDoOutput): Added/updated documentation.
8589 (setAllowUserInteraction): Added/updated documentation.
8590 (getAllowUserInteraction): Added/updated documentation.
8591 (setDefaultAllowUserInteraction): Added/updated documentation.
8592 (getDefaultAllowUserInteraction): Added/updated documentation.
8593 (setUseCaches): Added/updated documentation.
8594 (getUseCaches): Added/updated documentation.
8595 (setIfModifiedSince): Added/updated documentation.
8596 (getIfModifiedSince): Added/updated documentation.
8597 (getDefaultUseCaches): Added/updated documentation.
8598 (setDefaultUseCaches): Added/updated documentation.
8599 (setRequestProperty): Added/updated documentation.
8600 (getRequestProperty): Added/updated documentation.
8601 (setDefaultRequestProperty): Added/updated documentation.
8602 (getDefaultRequestProperty): Added/updated documentation.
8603 (setContentHandlerFactory): Added/updated documentation.
8604 (guessContentTypeFromName): Added/updated documentation.
8605 (getFileNameMap): Added/updated documentation.
8606 (setFileNameMap): Added/updated documentation.
8607
8608 2002-09-11 Michael Koch <konqueror@gmx.de>
8609
8610 * java/net/Socket.java
8611 (Socket): protected to public (since JDK 1.4). Added @specnote.
8612 (bind): New method.
8613 (connect): Two new methods.
8614 (getKeepalive): Get correct socket option.
8615 (setKeepalive): Set correct socket option.
8616 (getOOBInline): New method.
8617 (setOOBInline): New method.
8618 * java/net/ServerSocket.java
8619 (bind): Two new methods.
8620 (getInetAddress): Reimplemented, catch exception.
8621 (getLocalSocketAddress): New method.
8622 (setReuseAddress): New method.
8623 (getReuseAdress): New method.
8624 (setReceiveBufferSize): New method.
8625 (getReceiveBufferSize): New method.
8626 (toString): Made string JDK 1.4 compliant.
8627
8628 2002-09-10 Michael Koch <konqueror@gmx.de>
8629
8630 * java/net/SocketImpl.java
8631 (connect): New method.
8632 (supportsUrgentData): New method.
8633 (sendUrgentData): New method.
8634 * java/net/PlainSocketImpl.java
8635 (connect): One new method and two new implementation.
8636 (sendUrgentData): New method.
8637 * java/natPlainSocketImpl.cc
8638 (connect): Arguments changed, added support for timeouts.
8639 (getOption): Another __java_boolean to jboolean.
8640
8641 2002-09-07 Adam Megacz <adam@xwt.org>
8642
8643 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8644 definition of IP_TOS.
8645
8646 2002-09-04 Michael Koch <konqueror@gmx.de>
8647
8648 * java/net/DatagramSocket.java
8649 (DatagramSocket): Added documentation.
8650 (close): Likewise.
8651 (getLocalAddress): Likewise.
8652 (getLocalPort): Likewise.
8653 (receive): Likewise.
8654 (send): Likewise.
8655 (setSoTimeout): Likewise.
8656 (connect): New method.
8657 (disconnect): New method.
8658 (getInetAddress): New method (FIXME)
8659 (getPort): New method.
8660 (setReuseAddress): New method.
8661 (getReuseAddress): New method.
8662 (setBroadcast): New method.
8663 (getBroadcast): New method.
8664 (setTrafficClass): New method.
8665 (getTrafficClass): New method.
8666 * java/net/MulticastSocket.java):
8667 (getTTL): Added @see in documentation.
8668 (setTTL): Added @see in documentation.
8669 (setLoopbackMode): New method.
8670 (getLoopbackMode): New method.
8671 * java/net/PlainSocketImpl.java:
8672 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8673 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8674 * java/net/PlainDatagramSocketImpl.java
8675 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8676 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8677 * java/net/natPlainSocketImpl.cc
8678 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8679 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8680 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8681 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8682 This should also fix SO_KEEPALIVE
8683 * java/net/natPlainDatagramSocketImpl.cc
8684 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8685 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8686 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8687 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8688
8689 2002-09-04 Michael Koch <konqueror@gmx.de>
8690
8691 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8692 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8693 IP_MULTICAST_LOOP, IP_TOS
8694
8695 2002-09-03 Tom Tromey <tromey@redhat.com>
8696
8697 * java/lang/Class.h (_getDeclaredMethod): Declare.
8698 (_getMethod): Now private.
8699 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8700 getDeclaredMethod. Now returns NULL on failure.
8701 * java/lang/Class.java (_getDeclaredMethod): Declare.
8702 (getDeclaredMethod): No longer native; implements access checks.
8703
8704 2002-09-01 Mark Wielaard <mark@klomp.org>
8705
8706 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8707 (sanitizeStack): Correctly reset unknown and interpreter counters,
8708 detect interpreter runtime frames.
8709 (demangleInterpreterMethod): New method.
8710 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8711 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8712 filling in addrs[].
8713
8714 2002-09-02 Michael Koch <konqueror@gmx.de>
8715
8716 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8717 re-indented documentation.
8718
8719 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8720
8721 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8722 public, per 1.4 spec. Fixes PR libgcj/7785.
8723
8724 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8725
8726 * Makefile.in: Rebuilt.
8727 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8728
8729 2002-08-29 Tom Tromey <tromey@redhat.com>
8730
8731 * java/net/JarURLConnection.java (getCertificates): New method
8732 from Classpath.
8733 * java/net/URLClassLoader.java (URLClassLoader): Extends
8734 SecureClassLoader.
8735 (definePackage): New method from Classpath.
8736 (getPermissions): Likewise.
8737 (newInstance): Likewise.
8738 (findClass): Construct CodeSource for new class (from Classpath).
8739 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8740 methods.
8741 * java/net/URL.java (getUserInfo): New method.
8742 (set(String,String,int,String,String,String,String,String)): New
8743 method.
8744 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8745 (shutdownInput, shutdownOutput): Declare.
8746 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8747 Define.
8748 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8749 (getOption): Likewise.
8750 (shutdownInput): New method.
8751 (shutdownOutput): Likewise.
8752 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8753 keepalive.
8754 (getOption): Likewise.
8755 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8756 * java/net/Socket.java (setKeepAlive): New method.
8757 (getKeepAlive): Likewise.
8758 (shutdownInput, shutdownOutput): New methods.
8759
8760 2002-08-29 Michael Koch <konqueror@gmx.de>
8761
8762 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8763 new methods are:
8764 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8765 address),
8766 DatagramPacket(byte[] buf, int length, SocketAddress address),
8767 void setSocketAddress(SocketAddress address)
8768 public SocketAddress getSocketAddress()
8769
8770 2002-08-29 Tom Tromey <tromey@redhat.com>
8771
8772 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8773 ftruncate is missing.
8774 * configure, include/config.h.in: Rebuilt.
8775 * acconfig.h (HAVE_FTRUNCATE): Mention.
8776 * configure.in: Check for ftruncate.
8777
8778 2002-08-29 Tom Tromey <tromey@redhat.com>
8779
8780 * include/jvm.h (struct _Jv_frame_info): New structure.
8781 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8782 java-interp.h.
8783 (lookupInterp): New method.
8784 (getAddrAsString): Use _Jv_frame_info.
8785 (dladdrLookup): Likewise.
8786 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8787 interpreted frame.
8788 (lookupInterp): Declare.
8789 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8790 (fillInStackTrace): Collect information on interpreted frames.
8791 Use _Jv_frame_info.
8792 * interpret.cc: Include Thread.h.
8793 (run): Create and push _Jv_MethodChain object.
8794 (_Jv_EndOfInterpreter): New global.
8795 * java/lang/Thread.java (interp_frame): New field.
8796 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8797 Include NameFinder.h.
8798
8799 2002-08-28 Tom Tromey <tromey@redhat.com>
8800
8801 * java/lang/Class.h: Include Package.h.
8802 (Class::getProtectionDomain): Declare.
8803 (Class::getPackage): Declare.
8804
8805 2002-08-28 Michael Koch <konqueror@gmx.de>
8806
8807 * java/net/InetSocketAddress.java: Added some documentation and argument
8808 checks for the port numbers.
8809 * java/net/DatagramSocketImplFactory.java: New file.
8810
8811 2002-08-28 Michael Koch <konqueror@gmx.de>
8812
8813 * java/net/Authenticator.java: added some documentation.
8814
8815 2002-08-27 Tom Tromey <tromey@redhat.com>
8816
8817 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8818 class.
8819 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8820
8821 2002-08-27 Michael Koch <konqueror@gmx.de>
8822
8823 * java/net/BindException.java,
8824 java/net/JarURLConnection.java,
8825 java/net/FileNameMap.java,
8826 java/net/HttpURLConnection.java,
8827 java/net/InetSocketAddress.java,
8828 java/net/DatagramPacket.java,
8829 java/net/DatagramSocket.java,
8830 java/net/DatagramSocketImpl.java,
8831 java/net/MulticastSocket.java,
8832 java/net/PasswordAuthentication.java,
8833 java/net/ServerSocket.java,
8834 java/net/Socket.java,
8835 java/net/URLClassLoader.java,
8836 java/net/URLConnection.java: add/update of some @since/@deprecated
8837
8838 2002-08-27 Tony Kimball <alk@pobox.com>
8839 Tom Tromey <tromey@redhat.com>
8840
8841 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8842 define.
8843 (::close): Removed.
8844 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8845 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8846 (::close): Removed.
8847 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8848 * include/win32.h (getcwd): Removed declaration. Include io.h.
8849
8850 2002-08-25 Adam Megacz <adam@xwt.org>
8851
8852 * include/win32.h (getcwd): copied function declaration as
8853 temporary fix for header confusion.
8854
8855 2002-08-24 Mark Wielaard <mark@klomp.org>
8856
8857 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8858 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8859 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8860 and natNameFinder.cc.
8861 * Makefile.in: Regenerate.
8862 * prims.cc: Use trace_enabled from VMThrowable.
8863 * name-finder.cc: Removed.
8864 * gcj/javaprims.h: Add class VMThrowable.
8865 * gnu/gcj/runtime/NameFinder.java: New file.
8866 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8867 * include/name-finder.h: Removed.
8868 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8869 method stackTraceString().
8870 (printStackTrace (PrintWriter)): Likewise.
8871 (stackTraceString): Complete rewrite of old printStackTrace using
8872 StringBuffer.
8873 (stackTraceStringBuffer): New helper method for stackTraceString().
8874 (fillInStackTrace): Delegate to VMTrowable.
8875 (getStackTrace): Likewise.
8876 (getStackTrace0): Removed.
8877 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8878 (setStackTrace): Copy given array.
8879 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8880 * java/lang/VMThrowable.java: New class.
8881 * java/lang/natVMThrowable.cc: New file.
8882
8883 2003-08-23 Michael Koch <konqueror@gmx.de>
8884
8885 * java/net/URLConnection.java,
8886 java/netJarURLConnection.java,
8887 gnu/gcj/protocol/core/Connection.java,
8888 gnu/gcj/protocol/file/Connection.java,
8889 gnu/gcj/protocol/http/Connection.java: Added implementation of
8890 getHeaderFields().
8891
8892 2002-08-22 Tom Tromey <tromey@redhat.com>
8893
8894 * gij.cc (help): Document -cp and -classpath.
8895 (main): Handle -classpath.
8896
8897 2002-08-21 Tom Tromey <tromey@redhat.com>
8898
8899 * Makefile.in: Rebuilt.
8900 * Makefile.am (ordinary_java_source_files): Added
8901 SocketAddress.java, InetSocketAddress.java.
8902 * java/net/PortUnreachableException.java: Merged with Classpath.
8903 * java/net/SocketTimeoutException.java: Likewise.
8904 * java/net/URISyntaxException.java: Likewise.
8905 * java/net/SocketAddress.java: New class from Classpath.
8906 * java/net/InetSocketAddress.java: Likewise.
8907
8908 2003-08-21 Michael Koch <konqueror@gmx.de>
8909
8910 * java/net/Authenticator.java: updated JDK 1.4
8911 * java/net/ContentHandler.java: updated JDK 1.4
8912
8913 2002-08-20 Michael Koch <konqueror@gmx.de>
8914
8915 * java/net/URISyntaxException.java: New file.
8916 * java/net/SocketTimeoutException.java: New file.
8917 * java/net/PortUnreachableException.java: New file.
8918 * Makefile.am: Updated.
8919 * Makefile.in: Rebuilt.
8920
8921 2002-08-18 Mark Wielaard <mark@klomp.org>
8922
8923 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8924 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8925 MessageDigestSpi (fixes Classpath bug #783).
8926
8927 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8928
8929 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8930 (startProcess): Allocate path for chdir in async-signal-safe way.
8931
8932 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8933
8934 Fix for PR libgcj/7570 and PR libgcj/7578:
8935 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8936 (startProcess): Handle new `dir' argument.
8937 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8938 argument.
8939 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8940 argument.
8941 (startProcess): Likewise.
8942 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8943 argument.
8944 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8945 (exec): Don't create new environment if ENV==null. Pass DIR to
8946 execInternal.
8947 * java/lang/natRuntime.cc: Include java/io/File.h.
8948 (execInternal): Added `dir' argument.
8949
8950 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8951
8952 * java/io/RandomAccessFile.java (skipBytes): Return number of
8953 bytes skipped.
8954
8955 2002-08-01 Mark Wielaard <mark@klomp.org>
8956
8957 Reenable patch since shared library troubles on powerpc are solved:
8958 * gnu/java/security/provider/Gnu.java: Reference all implementation
8959 classes by using Class.getName().
8960 * gnu/java/security/der/DEREncodingException.java,
8961 gnu/java/security/provider/DERReader.java,
8962 gnu/java/security/provider/DERWriter.java,
8963 gnu/java/security/provider/DSAKeyPairGenerator.java,
8964 gnu/java/security/provider/DSAParameterGenerator.java,
8965 gnu/java/security/provider/DSAParameters.java,
8966 gnu/java/security/provider/DSASignature.java,
8967 gnu/java/security/provider/GnuDSAPrivateKey.java,
8968 gnu/java/security/provider/GnuDSAPublicKey.java,
8969 gnu/java/security/provider/MD5.java,
8970 gnu/java/security/util/Prime.java: New classes
8971 * Makefile.am (ordinary_java_source_files): Add above files.
8972 * Makefile.in: Regenerate.
8973 * gnu/java/security/provider/DefaultPolicy.java
8974 (getPermissions): Don't maintain static class variable of Permissions.
8975 * gnu/java/security/provider/SHA.java
8976 (engineUpdate): algorithm change.
8977 (engineDigest): algorithm change.
8978
8979 2002-08-09 Mark Wielaard <mark@klomp.org>
8980
8981 * java/awt/image/MemoryImageSource.java: Change constructor to take
8982 int[] not byte[].
8983 * java/awt/Graphics2D.java: Uncomment methods that can now be
8984 compiled.
8985 * java/awt/GridBagLayout.java: New stub implementation.
8986 * javax/swing/text/html/HTML.java: Stub implementation.
8987 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8988 implementation.
8989
8990 * Makefile.am: Add new files.
8991 * Makefile.in: Rebuilt.
8992
8993 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8994
8995 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8996 methods in Graphics2D.
8997
8998 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8999
9000 AWT/Swing merge from GNU Classpath.
9001
9002 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9003 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9004 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9005 java/awt/color/ProfileDataException.java,
9006 java/awt/CompositeContext.java, java/awt/Composite.java,
9007 java/awt/ContainerOrderFocusTraversalPolicy.java,
9008 java/awt/datatransfer/FlavorTable.java,
9009 java/awt/DefaultFocusTraversalPolicy.java,
9010 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9011 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9012 java/awt/dnd/DragGestureListener.java,
9013 java/awt/dnd/DragGestureRecognizer.java,
9014 java/awt/dnd/DragSourceAdapter.java,
9015 java/awt/dnd/DragSourceContext.java,
9016 java/awt/dnd/DragSourceDragEvent.java,
9017 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9018 java/awt/dnd/DragSourceListener.java,
9019 java/awt/dnd/DragSourceMotionListener.java,
9020 java/awt/dnd/DropTarget.java,
9021 java/awt/dnd/InvalidDnDOperationException.java,
9022 java/awt/dnd/peer/DragSourceContextPeer.java,
9023 java/awt/event/AWTEventListenerProxy.java,
9024 java/awt/event/MouseWheelEvent.java,
9025 java/awt/event/MouseWheelListener.java,
9026 java/awt/event/WindowFocusListener.java,
9027 java/awt/event/WindowStateListener.java,
9028 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9029 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9030 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9031 java/awt/geom/FlatteningPathIterator.java,
9032 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9033 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9034 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9035 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9036 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9037 java/awt/image/ImagingOpException.java,
9038 java/awt/image/RasterFormatException.java,
9039 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9040 java/awt/image/VolatileImage.java,
9041 java/awt/image/WritableRenderedImage.java,
9042 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9043 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9044 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9045 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9046 java/awt/PageAttributes.java, java/awt/print/Book.java,
9047 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9048 java/awt/print/Paper.java, java/awt/print/Printable.java,
9049 java/awt/print/PrinterAbortException.java,
9050 java/awt/print/PrinterException.java,
9051 java/awt/print/PrinterGraphics.java,
9052 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9053 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9054 java/awt/Stroke.java, java/awt/TexturePaint.java,
9055 javax/accessibility/AccessibleAction.java,
9056 javax/accessibility/AccessibleBundle.java,
9057 javax/accessibility/AccessibleComponent.java,
9058 javax/accessibility/AccessibleContext.java,
9059 javax/accessibility/AccessibleEditableText.java,
9060 javax/accessibility/AccessibleExtendedComponent.java,
9061 javax/accessibility/AccessibleExtendedTable.java,
9062 javax/accessibility/AccessibleHyperlink.java,
9063 javax/accessibility/AccessibleHypertext.java,
9064 javax/accessibility/AccessibleIcon.java,
9065 javax/accessibility/Accessible.java,
9066 javax/accessibility/AccessibleKeyBinding.java,
9067 javax/accessibility/AccessibleRelation.java,
9068 javax/accessibility/AccessibleRelationSet.java,
9069 javax/accessibility/AccessibleResourceBundle.java,
9070 javax/accessibility/AccessibleRole.java,
9071 javax/accessibility/AccessibleSelection.java,
9072 javax/accessibility/AccessibleState.java,
9073 javax/accessibility/AccessibleStateSet.java,
9074 javax/accessibility/AccessibleTable.java,
9075 javax/accessibility/AccessibleTableModelChange.java,
9076 javax/accessibility/AccessibleText.java,
9077 javax/accessibility/AccessibleValue.java,
9078 javax/swing/AbstractAction.java,
9079 javax/swing/AbstractButton.java,
9080 javax/swing/AbstractCellEditor.java,
9081 javax/swing/AbstractListModel.java,
9082 javax/swing/AbstractSet.java, javax/swing/Action.java,
9083 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9084 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9085 javax/swing/border/CompoundBorder.java,
9086 javax/swing/border/EmptyBorder.java,
9087 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9088 javax/swing/border/LineBorder.java,
9089 javax/swing/border/MatteBorder.java,
9090 javax/swing/border/TitledBorder.java,
9091 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9092 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9093 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9094 javax/swing/CellRendererPane.java,
9095 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9096 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9097 javax/swing/colorchooser/ColorSelectionModel.java,
9098 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9099 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9100 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9101 javax/swing/DefaultBoundedRangeModel.java,
9102 javax/swing/DefaultButtonModel.java,
9103 javax/swing/DefaultCellEditor.java,
9104 javax/swing/DefaultCellRenderer.java,
9105 javax/swing/DefaultComboBoxModel.java,
9106 javax/swing/DefaultDesktopManager.java,
9107 javax/swing/DefaultFocusManager.java,
9108 javax/swing/DefaultListCellRenderer.java,
9109 javax/swing/DefaultListModel.java,
9110 javax/swing/DefaultListSelectionModel.java,
9111 javax/swing/DefaultSingleSelectionModel.java,
9112 javax/swing/DesktopManager.java,
9113 javax/swing/event/AncestorEvent.java,
9114 javax/swing/event/AncestorListener.java,
9115 javax/swing/event/CaretEvent.java,
9116 javax/swing/event/CaretListener.java,
9117 javax/swing/event/CellEditorListener.java,
9118 javax/swing/event/ChangeEvent.java,
9119 javax/swing/event/ChangeListener.java,
9120 javax/swing/event/DocumentEvent.java,
9121 javax/swing/event/DocumentListener.java,
9122 javax/swing/event/EventListenerList.java,
9123 javax/swing/event/HyperlinkEvent.java,
9124 javax/swing/event/HyperlinkListener.java,
9125 javax/swing/event/InternalFrameAdapter.java,
9126 javax/swing/event/InternalFrameEvent.java,
9127 javax/swing/event/InternalFrameListener.java,
9128 javax/swing/event/ListDataEvent.java,
9129 javax/swing/event/ListDataListener.java,
9130 javax/swing/event/ListSelectionEvent.java,
9131 javax/swing/event/ListSelectionListener.java,
9132 javax/swing/event/MenuDragMouseEvent.java,
9133 javax/swing/event/MenuDragMouseListener.java,
9134 javax/swing/event/MenuEvent.java,
9135 javax/swing/event/MenuKeyEvent.java,
9136 javax/swing/event/MenuKeyListener.java,
9137 javax/swing/event/MenuListener.java,
9138 javax/swing/event/MouseInputAdapter.java,
9139 javax/swing/event/MouseInputListener.java,
9140 javax/swing/event/PopupMenuEvent.java,
9141 javax/swing/event/PopupMenuListener.java,
9142 javax/swing/event/SwingPropertyChangeSupport.java,
9143 javax/swing/event/TableColumnModelEvent.java,
9144 javax/swing/event/TableColumnModelListener.java,
9145 javax/swing/event/TableModelEvent.java,
9146 javax/swing/event/TableModelListener.java,
9147 javax/swing/event/TreeExpansionEvent.java,
9148 javax/swing/event/TreeExpansionListener.java,
9149 javax/swing/event/TreeModelEvent.java,
9150 javax/swing/event/TreeModelListener.java,
9151 javax/swing/event/TreeSelectionEvent.java,
9152 javax/swing/event/TreeSelectionListener.java,
9153 javax/swing/event/TreeWillExpandListener.java,
9154 javax/swing/event/UndoableEditEvent.java,
9155 javax/swing/event/UndoableEditListener.java,
9156 javax/swing/filechooser/FileFilter.java,
9157 javax/swing/filechooser/FileSystemView.java,
9158 javax/swing/filechooser/FileView.java,
9159 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9160 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9161 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9162 javax/swing/JApplet.java, javax/swing/JButton.java,
9163 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9164 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9165 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9166 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9167 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9168 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9169 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9170 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9171 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9172 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9173 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9174 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9175 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9176 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9177 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9178 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9179 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9180 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9181 javax/swing/JToolTip.java, javax/swing/JTree.java,
9182 javax/swing/JViewport.java, javax/swing/JWindow.java,
9183 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9184 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9185 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9186 javax/swing/MenuSelectionManager.java,
9187 javax/swing/MutableComboBoxModel.java,
9188 javax/swing/OverlayLayout.java,
9189 javax/swing/plaf/ActionMapUIResource.java,
9190 javax/swing/plaf/basic/BasicBorders.java,
9191 javax/swing/plaf/basic/BasicButtonUI.java,
9192 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9193 javax/swing/plaf/basic/BasicDefaults.java,
9194 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9195 javax/swing/plaf/basic/BasicIconFactory.java,
9196 javax/swing/plaf/basic/BasicLabelUI.java,
9197 javax/swing/plaf/basic/BasicListUI.java,
9198 javax/swing/plaf/basic/BasicLookAndFeel.java,
9199 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9200 javax/swing/plaf/basic/BasicPanelUI.java,
9201 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9202 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9203 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9204 javax/swing/plaf/basic/BasicTextUI.java,
9205 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9206 javax/swing/plaf/basic/BasicTreeUI.java,
9207 javax/swing/plaf/basic/BasicViewportUI.java,
9208 javax/swing/plaf/BorderUIResource.java,
9209 javax/swing/plaf/ButtonUI.java,
9210 javax/swing/plaf/ColorChooserUI.java,
9211 javax/swing/plaf/ColorUIResource.java,
9212 javax/swing/plaf/ComboBoxUI.java,
9213 javax/swing/plaf/ComponentInputMapUIResource.java,
9214 javax/swing/plaf/ComponentUI.java,
9215 javax/swing/plaf/DesktopIconUI.java,
9216 javax/swing/plaf/DesktopPaneUI.java,
9217 javax/swing/plaf/DimensionUIResource.java,
9218 javax/swing/plaf/FileChooserUI.java,
9219 javax/swing/plaf/FontUIResource.java,
9220 javax/swing/plaf/IconUIResource.java,
9221 javax/swing/plaf/InputMapUIResource.java,
9222 javax/swing/plaf/InsetsUIResource.java,
9223 javax/swing/plaf/InternalFrameUI.java,
9224 javax/swing/plaf/LabelUI.java,
9225 javax/swing/plaf/ListUI.java,
9226 javax/swing/plaf/MenuBarUI.java,
9227 javax/swing/plaf/MenuItemUI.java,
9228 javax/swing/plaf/OptionPaneUI.java,
9229 javax/swing/plaf/PanelUI.java,
9230 javax/swing/plaf/PopupMenuUI.java,
9231 javax/swing/plaf/ProgressBarUI.java,
9232 javax/swing/plaf/RootPaneUI.java,
9233 javax/swing/plaf/ScrollBarUI.java,
9234 javax/swing/plaf/ScrollPaneUI.java,
9235 javax/swing/plaf/SeparatorUI.java,
9236 javax/swing/plaf/SliderUI.java,
9237 javax/swing/plaf/SplitPaneUI.java,
9238 javax/swing/plaf/TabbedPaneUI.java,
9239 javax/swing/plaf/TableHeaderUI.java,
9240 javax/swing/plaf/TableUI.java,
9241 javax/swing/plaf/TextUI.java,
9242 javax/swing/plaf/ToolBarUI.java,
9243 javax/swing/plaf/ToolTipUI.java,
9244 javax/swing/plaf/TreeUI.java,
9245 javax/swing/plaf/UIResource.java,
9246 javax/swing/plaf/ViewportUI.java,
9247 javax/swing/ProgressMonitorInputStream.java,
9248 javax/swing/ProgressMonitor.java,
9249 javax/swing/Renderer.java,
9250 javax/swing/RepaintManager.java,
9251 javax/swing/RootPaneContainer.java,
9252 javax/swing/Scrollable.java,
9253 javax/swing/ScrollPaneConstants.java,
9254 javax/swing/ScrollPaneLayout.java,
9255 javax/swing/SingleSelectionModel.java,
9256 javax/swing/SizeRequirements.java,
9257 javax/swing/SizeSequence.java,
9258 javax/swing/SwingConstants.java,
9259 javax/swing/SwingUtilities.java,
9260 javax/swing/table/AbstractTableModel.java,
9261 javax/swing/table/DefaultTableCellRenderer.java,
9262 javax/swing/table/DefaultTableColumnModel.java,
9263 javax/swing/table/DefaultTableModel.java,
9264 javax/swing/table/TableCellEditor.java,
9265 javax/swing/table/TableCellRenderer.java,
9266 javax/swing/table/TableColumn.java,
9267 javax/swing/table/TableColumnModel.java,
9268 javax/swing/table/TableModel.java,
9269 javax/swing/text/AbstractDocument.java,
9270 javax/swing/text/AttributeSet.java,
9271 javax/swing/text/BadLocationException.java,
9272 javax/swing/text/Caret.java,
9273 javax/swing/text/CharacterIterator.java,
9274 javax/swing/text/ComponentView.java,
9275 javax/swing/text/DefaultCaret.java,
9276 javax/swing/text/DefaultEditorKit.java,
9277 javax/swing/text/Document.java,
9278 javax/swing/text/EditorKit.java,
9279 javax/swing/text/Element.java,
9280 javax/swing/text/GapContent.java,
9281 javax/swing/text/JTextComponent.java,
9282 javax/swing/text/Keymap.java,
9283 javax/swing/text/MutableAttributeSet.java,
9284 javax/swing/text/PlainDocument.java,
9285 javax/swing/text/PlainEditorKit.java,
9286 javax/swing/text/Position.java,
9287 javax/swing/text/Segment.java,
9288 javax/swing/text/StyledDocument.java,
9289 javax/swing/text/StyledEditorKit.java,
9290 javax/swing/text/Style.java,
9291 javax/swing/text/TextAction.java,
9292 javax/swing/text/ViewFactory.java,
9293 javax/swing/text/View.java,
9294 javax/swing/Timer.java,
9295 javax/swing/ToggleButtonModel.java,
9296 javax/swing/ToolTipManager.java,
9297 javax/swing/tree/AbstractLayoutCache.java,
9298 javax/swing/tree/DefaultMutableTreeNode.java,
9299 javax/swing/tree/DefaultTreeCellEditor.java,
9300 javax/swing/tree/DefaultTreeCellRenderer.java,
9301 javax/swing/tree/DefaultTreeModel.java,
9302 javax/swing/tree/DefaultTreeSelectionModel.java,
9303 javax/swing/tree/ExpandVetoException.java,
9304 javax/swing/tree/FixedHeightLayoutCache.java,
9305 javax/swing/tree/MutableTreeNode.java,
9306 javax/swing/tree/RowMapper.java,
9307 javax/swing/tree/TreeCellEditor.java,
9308 javax/swing/tree/TreeCellRenderer.java,
9309 javax/swing/tree/TreeModel.java,
9310 javax/swing/tree/TreeNode.java,
9311 javax/swing/tree/TreePath.java,
9312 javax/swing/tree/TreeSelectionModel.java,
9313 javax/swing/tree/VariableHeightLayoutCache.java,
9314 javax/swing/UIDefaults.java,
9315 javax/swing/UIManager.java,
9316 javax/swing/undo/AbstractUndoableEdit.java,
9317 javax/swing/undo/CannotRedoException.java,
9318 javax/swing/undo/CannotUndoException.java,
9319 javax/swing/undo/CompoundEdit.java,
9320 javax/swing/undo/StateEditable.java,
9321 javax/swing/undo/StateEdit.java,
9322 javax/swing/undo/UndoableEdit.java,
9323 javax/swing/undo/UndoableEditSupport.java,
9324 javax/swing/undo/UndoManager.java,
9325 javax/swing/UnsupportedLookAndFeelException.java,
9326 javax/swing/ViewportLayout.java,
9327 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9328
9329 * java/awt/ActiveEvent.java,
9330 java/awt/Adjustable.java, java/awt/AWTError.java,
9331 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9332 java/awt/AWTException.java, java/awt/AWTPermission.java,
9333 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9334 java/awt/Color.java, java/awt/Component.java,
9335 java/awt/ComponentOrientation.java, java/awt/Container.java,
9336 java/awt/datatransfer/MimeTypeParseException.java,
9337 java/awt/datatransfer/Transferable.java,
9338 java/awt/datatransfer/UnsupportedFlavorException.java,
9339 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9340 java/awt/event/ActionListener.java,
9341 java/awt/event/AdjustmentEvent.java,
9342 java/awt/event/AdjustmentListener.java,
9343 java/awt/event/AWTEventListener.java,
9344 java/awt/event/ComponentAdapter.java,
9345 java/awt/event/ComponentEvent.java,
9346 java/awt/event/ComponentListener.java,
9347 java/awt/event/ContainerAdapter.java,
9348 java/awt/event/ContainerEvent.java,
9349 java/awt/event/ContainerListener.java,
9350 java/awt/event/FocusAdapter.java,
9351 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9352 java/awt/event/HierarchyBoundsAdapter.java,
9353 java/awt/event/HierarchyBoundsListener.java,
9354 java/awt/event/HierarchyEvent.java,
9355 java/awt/event/HierarchyListener.java,
9356 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9357 java/awt/event/InputMethodListener.java,
9358 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9359 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9360 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9361 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9362 java/awt/event/MouseListener.java,
9363 java/awt/event/MouseMotionAdapter.java,
9364 java/awt/event/MouseMotionListener.java,
9365 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9366 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9367 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9368 java/awt/event/WindowListener.java, java/awt/Font.java,
9369 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9370 java/awt/geom/Ellipse2D.java,
9371 java/awt/geom/IllegalPathStateException.java,
9372 java/awt/geom/Line2D.java,
9373 java/awt/geom/NoninvertibleTransformException.java,
9374 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9375 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9376 java/awt/geom/RoundRectangle2D.java,
9377 java/awt/GraphicsConfiguration.java,
9378 java/awt/IllegalComponentStateException.java,
9379 java/awt/image/IndexColorModel.java,
9380 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9381 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9382 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9383 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9384 java/awt/MenuItem.java, java/awt/PaintContext.java,
9385 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9386 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9387 java/awt/PrintJob.java, java/awt/Rectangle.java,
9388 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9389 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9390 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9391
9392 * java/awt/im/spi/InputMethod.java,
9393 java/awt/im/spi/InputMethodContext.java,
9394 java/awt/im/spi/InputMethodDescriptor.java,
9395 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9396 java/awt/image/renderable/ParameterBlock.java,
9397 java/awt/image/renderable/RenderContext.java,
9398 java/awt/image/renderable/RenderableImage.java,
9399 java/awt/image/renderable/RenderableImageOp.java,
9400 java/awt/image/renderable/RenderableImageProducer.java,
9401 java/awt/image/renderable/RenderedImageFactory.java: New files from
9402 classpath.
9403
9404 * gnu/java/awt/EventModifier.java,
9405 gnu/java/awt/image/ImageDecoder.java,
9406 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9407
9408 * gnu/awt/xlib/XGraphicsConfiguration.java,
9409 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9410 API.
9411
9412 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9413 GNU Classpath.
9414
9415 * Makefile.am: Add new files.
9416 * Makefile.in: Rebuilt.
9417
9418 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9419
9420 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9421 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9422 findResource, getResources, findResources): Add javadoc from classpath.
9423 (getSystemResources): Implemented.
9424
9425 2002-08-01 Mark Wielaard <mark@klomp.org>
9426
9427 Revert patch that breaks libgcj shared library on powerpc:
9428 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9429 implementation classes by using Class.getName(). Uses Strings again.
9430 * gnu/java/security/der/DEREncodingException.java,
9431 gnu/java/security/provider/DERReader.java,
9432 gnu/java/security/provider/DERWriter.java,
9433 gnu/java/security/provider/DSAKeyPairGenerator.java,
9434 gnu/java/security/provider/DSAParameterGenerator.java,
9435 gnu/java/security/provider/DSAParameters.java,
9436 gnu/java/security/provider/DSASignature.java,
9437 gnu/java/security/provider/GnuDSAPrivateKey.java,
9438 gnu/java/security/provider/GnuDSAPublicKey.java,
9439 gnu/java/security/provider/MD5.java,
9440 gnu/java/security/util/Prime.java: Removed.
9441 * Makefile.am (ordinary_java_source_files): Remove above files.
9442 * Makefile.in: Regenerate.
9443 * gnu/java/security/provider/DefaultPolicy.java
9444 (getPermissions): Revert to maintaining static class variable of
9445 Permissions.
9446 * gnu/java/security/provider/SHA.java
9447 (engineUpdate): Revert algorithm change.
9448 (engineDigest): Revert algorithm change.
9449
9450 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9451
9452 * configure.host: Add SH support.
9453 * sysdep/sh/locks.h: New file.
9454
9455 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9456
9457 * java/awt/Frame.java (Frame): Remove println calls.
9458
9459 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9460
9461 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9462 * configure: Rebuilt.
9463
9464 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9465
9466 * sysdep/powerpc/locks.h: Formatting.
9467 (_LARX): Define.
9468 (_STCX): Define.
9469 (compare_and_swap): Use _LARX and _STCX.
9470 (compare_and_swap_release): Likewise.
9471
9472 2002-07-26 Tom Tromey <tromey@redhat.com>
9473
9474 * java/net/Authenticator.java: New version from Classpath.
9475 * java/net/DatagramSocketImpl.java: New version from Classpath.
9476
9477 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9478
9479 * configure.host: Add powerpc64*-* entry.
9480
9481 2002-07-26 Tom Tromey <tromey@redhat.com>
9482
9483 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9484 fcntl.h.
9485
9486 2002-07-24 Tom Tromey <tromey@redhat.com>
9487
9488 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9489 argument to _load.
9490
9491 2002-07-24 Tom Tromey <tromey@redhat.com>
9492 Tony Kimball <alk@pobox.com>
9493
9494 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9495 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9496 * java/io/RandomAccessFile.java (setLength): New method.
9497 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9498 * java/io/FileDescriptor.java (setLength): New method.
9499
9500 2002-07-24 Mark Wielaard <mark@klomp.org>
9501
9502 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9503 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9504 field call setAccessible(true).
9505 (setByteField): Likewise.
9506 (setCharField): Likewise.
9507 (setDoubleField): Likewise.
9508 (setFloatField): Likewise.
9509 (setIntField): Likewise.
9510 (setLongField): Likewise.
9511 (setShortField): Likewise.
9512 (setObjectField): Likewise.
9513
9514 2002-07-24 Tom Tromey <tromey@redhat.com>
9515
9516 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9517 use toString() to format array element.
9518
9519 2002-07-23 Mark Wielaard <mark@klomp.org>
9520
9521 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9522 MessageDigestSpi (fixes Classpath bug #783).
9523
9524 2002-07-21 Mark Wielaard <mark@klomp.org>
9525
9526 * gnu/java/security/provider/Gnu.java: Reference all implementation
9527 classes by using Class.getName().
9528
9529 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9530
9531 * java/lang/ieeefp.h: Add x86-64 support.
9532 * configure.in: Likewise.
9533 * configure.host: Likewise.
9534 * configure: Regenerated.
9535 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9536
9537 2002-07-16 Mark Wielaard <mark@klomp.org>
9538
9539 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9540 (whitespaceChars): call resetChar().
9541
9542 2002-07-15 Tom Tromey <tromey@redhat.com>
9543
9544 * Makefile.in: Rebuilt.
9545 * Makefile.am (awt_java_source_files): Added new files.
9546 * java/beans/ExceptionListener.java: Merged with Classpath.
9547 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9548 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9549 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9550 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9551 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9552 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9553 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9554
9555 2002-07-14 Mark Wielaard <mark@klomp.org>
9556
9557 * gnu/java/security/der/DEREncodingException.java,
9558 gnu/java/security/provider/DERReader.java,
9559 gnu/java/security/provider/DERWriter.java,
9560 gnu/java/security/provider/DSAKeyPairGenerator.java,
9561 gnu/java/security/provider/DSAParameterGenerator.java,
9562 gnu/java/security/provider/DSAParameters.java,
9563 gnu/java/security/provider/DSASignature.java,
9564 gnu/java/security/provider/GnuDSAPrivateKey.java,
9565 gnu/java/security/provider/GnuDSAPublicKey.java,
9566 gnu/java/security/provider/MD5.java,
9567 gnu/java/security/util/Prime.java: New files from Classpath.
9568 * Makefile.am (ordinary_java_source_files): Add new files.
9569 * Makefile.in: Regenerate.
9570
9571 2002-07-14 C. Brian Jones <cbj@gnu.org>
9572
9573 * gnu/java/security/provider/DefaultPolicy.java
9574 (getPermissions): do not maintain static class variable of
9575 Permissions
9576 * gnu/java/security/provider/SHA.java
9577 (engineUpdate): algorithm change
9578 (engineDigest): algorithm change
9579
9580 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9581
9582 For PR libgcj/7292:
9583 * java/lang/Character.java (toString(char)): Now static.
9584
9585 2002-07-12 Mark Wielaard <mark@klomp.org>
9586
9587 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9588 (getStackTrace0): new method.
9589 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9590 (printStackTrace(PrintWriter)): replace with pure java implementation.
9591 (printRawStackTrace): removed.
9592 (getStackTrace0): new method.
9593 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9594 * gcj/javaprims.h: regenerate class list.
9595 * include/name-finder.h (lookup): new returns StackTraceElement*.
9596 (method_name, file_name): fields removed.
9597 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9598 (~_Jv_name_finder): close new descriptors.
9599 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9600 (createStackTraceElement): new method.
9601 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9602
9603 2002-07-10 Tom Tromey <tromey@redhat.com>
9604
9605 * configure: Rebuilt.
9606 * configure.in: Use `test' after `&&'. From Chris Faylor.
9607
9608 2002-07-08 Mark Wielaard <mark@klomp.org>
9609
9610 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9611 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9612 java.sql.DatabaseMetaData.TestJdbc20
9613
9614 2002-07-05 Tony Kimball <alk@pobox.com>
9615
9616 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9617
9618 2002-07-04 Tom Tromey <tromey@redhat.com>
9619 Jeff Sturm <jsturm@one-point.com>
9620
9621 Fix for PR libgcj/7060:
9622 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9623 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9624 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9625 * java/lang/Class.java (getMethod): New Java implementation;
9626 complies with spec.
9627 (_getMethod): New native method.
9628
9629 2002-07-02 Tom Tromey <tromey@redhat.com>
9630 David Hovemeyer <daveho@cs.umd.edu>
9631
9632 * java/text/ChoiceFormat.java
9633 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9634 in check loop.
9635 * java/text/MessageFormat.java
9636 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9637 to MessageFormat.
9638
9639 2002-07-01 Tom Tromey <tromey@redhat.com>
9640
9641 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9642 StringTokenizer on null string. For PR libgcj/7180.
9643 From daveho@cs.umd.edu.
9644
9645 2002-06-24 Tom Tromey <tromey@redhat.com>
9646
9647 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9648 (IntegerClass): Likewise.
9649 * java/lang/natClass.cc (CloneableClass): Removed.
9650 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9651 ConstructorClass): Likewise.
9652 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9653 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9654 SerializableClass): Likewise.
9655 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9656 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9657 LongClass, FloatClass, DoubleClass): Likewise.
9658
9659 * verify.cc (branch_prepass): Updated for change to exception
9660 handler type.
9661 (verify_instructions_0): Likewise.
9662 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9663 (handleExceptionTableEntry): Updated for change to exception
9664 handler type.
9665 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9666 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9667 (union _Jv_InterpPC): New.
9668 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9669 (class _Jv_InterpMethod): Added new `prepared' field.
9670 (class _Jv_InterpMethod): Added `compile' method. Removed
9671 `continue1' and `find_exception'. Changed arguments to `run'.
9672 * interpret.cc (union insn_slot): New.
9673 (find_exception): Removed.
9674 (run_normal): Removed most logic.
9675 (run_synch_object): Likewise; also, use JvSynchronize.
9676 (run_synch_class): Likewise.
9677 (run): Removed.
9678 (continue1): Renamed as `run'. Compile bytecode if required.
9679 Add new code to allow refinement of direct-threaded code at
9680 runtime. Handle exceptions.
9681 (SAVE_PC): Removed.
9682 (compile): New method.
9683 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9684 (NULLARRAYCHECK): Don't use SAVE_PC.
9685 (pc_t): New typedef.
9686 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9687 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9688
9689 2002-06-23 Tom Tromey <tromey@redhat.com>
9690
9691 * configure: Rebuilt.
9692 * configure.in (INTERPRETER): New subst.
9693 (AM_RUNTESTFLAGS): Don't subst.
9694
9695 * Makefile.in: Rebuilt.
9696 * Makefile.am ($(srcdir)/java/lang/Object.h,
9697 $(srcdir)/java/lang/Class.h): Added dummy targets.
9698
9699 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9700
9701 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9702
9703 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9704 java/sql/Savepoint.java: New files.
9705 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9706 java/sql/Blob.java, java/sql/CallableStatement.java,
9707 java/sql/Clob.java, java/sql/Connection.java,
9708 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9709 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9710 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9711 java/sql/Ref.java, java/sql/ResultSet.java,
9712 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9713 java/sql/SQLException.java, java/sql/SQLInput.java,
9714 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9715 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9716 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9717 (JDK 1.4) specification.
9718 * javax/sql/ConnectionEvent.java,
9719 javax/sql/ConnectionEventListener.java,
9720 javax/sql/ConnectionPoolDataSource.java,
9721 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9722 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9723 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9724 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9725 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9726 javax/sql/XADataSource.java: New files.
9727 * Makefile.am: Add new files.
9728 * Makefile.in: Rebuilt.
9729
9730 2002-06-20 Tom Tromey <tromey@redhat.com>
9731
9732 For PR libgcj/7073:
9733 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9734 exists.
9735 * defineclass.cc (handleClassBegin): Superclass for interface is
9736 `null'.
9737
9738 2002-06-18 Tom Tromey <tromey@redhat.com>
9739
9740 * gcj/javaprims.h: Updated class declaration list.
9741 * Makefile.in: Rebuilt.
9742 * Makefile.am (core_java_source_files): Removed
9743 BasicMapEntry.java.
9744 * java/util/BasicMapEntry.java: Removed.
9745
9746 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9747
9748 * java/net/natPlainDatagramSocketImpl.cc (receive):
9749 Check bounds of argument to FD_SET.
9750 (setOption): Throw exception if socket is closed.
9751
9752 * java/net/natPlainSocketImpl.cc (accept, read):
9753 Check bounds of argument to FD_SET.
9754 (setOption): Throw exception if socket is closed.
9755
9756 2002-06-18 Tom Tromey <tromey@redhat.com>
9757
9758 * gcj/javaprims.h: Updated class declaration list.
9759 * Makefile.in: Rebuilt.
9760 * Makefile.am (core_java_source_files): Added
9761 PropertyPermissionCollection.java.
9762 * java/lang/Thread.java (group, name): Now package-private.
9763 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9764 * java/util/AbstractList.java: Likewise.
9765 * java/util/AbstractMap.java: Likewise.
9766 * java/util/Calendar.java: Likewise.
9767 * java/util/Collections.java: Likewise.
9768 * java/util/HashMap.java: Likewise.
9769 * java/util/Hashtable.java: Likewise.
9770 * java/util/LinkedHashMap.java: Likewise.
9771 * java/util/LinkedList.java: Likewise.
9772 * java/util/List.java: Likewise.
9773 * java/util/ListResourceBundle.java: Likewise.
9774 * java/util/Map.java: Likewise.
9775 * java/util/Observable.java: Likewise.
9776 * java/util/Properties.java: Likewise.
9777 * java/util/PropertyPermission.java: Likewise.
9778 * java/util/PropertyPermissionCollection.java: Likewise.
9779 * java/util/PropertyResourceBundle.java: Likewise.
9780 * java/util/Random.java: Likewise.
9781 * java/util/SimpleTimeZone.java: Likewise.
9782 * java/util/StringTokenizer.java: Likewise.
9783 * java/util/TimerTask.java: Likewise.
9784 * java/util/TreeMap.java: Likewise.
9785 * java/util/WeakHashMap.java: Likewise.
9786 * java/util/jar/Attributes.java: Likewise.
9787 * java/util/jar/JarException.java: Likewise.
9788 * java/util/jar/Manifest.java: Likewise.
9789
9790 2002-06-17 Tom Tromey <tromey@redhat.com>
9791
9792 * gcj/javaprims.h: Updated class declaration list.
9793 * Makefile.in: Rebuilt.
9794 * Makefile.am (core_java_source_files): Added new file.
9795 * java/util/EventListenerProxy.java: New file.
9796 * java/util/EventListener.java: Re-merge with Classpath.
9797 * java/util/EventObject.java: Re-merge with Classpath.
9798
9799 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9800
9801 * java/lang/ClassNotFoundException.java: New Classpath version.
9802
9803 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9804
9805 * java/rmi/activation/ActivateFailedException.java: Remerge from
9806 Classpath version.
9807 * java/rmi/activation/ActivationException.java: Ditto.
9808 * java/rmi/activation/UnknownGroupException.java: Ditto.
9809 * java/rmi/activation/UnknownObjectException.java: Ditto.
9810 * java/rmi/server/ExportException: Ditto.
9811 * java/rmi/server/ServerCloneException: Ditto.
9812 * java/rmi/server/ServerNotActiveException: Ditto.
9813 * java/rmi/server/SkeletonMismatchException: Ditto.
9814 * java/rmi/server/SkeletonNotFoundException: Ditto.
9815 * java/rmi/server/SocketSecurityException: Ditto.
9816
9817 2002-06-16 Tom Tromey <tromey@redhat.com>
9818
9819 * gcj/javaprims.h: Updated class declaration list.
9820
9821 * java/io/LineNumberInputStream.java: Merged with Classpath.
9822
9823 * java/lang/RuntimeException.java: Re-merge with Classpath.
9824 * java/util/ArrayList.java: Likewise.
9825 * java/util/Arrays.java: Likewise.
9826 * java/util/BitSet.java: Likewise.
9827 * java/util/Dictionary.java: Likewise.
9828 * java/util/IdentityHashMap.java: Likewise.
9829 * java/util/MissingResourceException.java: Likewise.
9830 * java/util/Observer.java: Likewise.
9831 * java/util/TooManyListenersException.java: Likewise.
9832 * java/util/zip/DataFormatException.java: Likewise.
9833 * java/util/zip/ZipException.java: Likewise.
9834
9835 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9836
9837 * java/rmi/AccessException.java: Remerge from Classpath.
9838 * java/rmi/AlreadyBoundException.java: Ditto.
9839 * java/rmi/ConnectException.java: Ditto.
9840 * java/rmi/ConnectIOException.java: Ditto.
9841 * java/rmi/MarshalException.java: Ditto.
9842 * java/rmi/NoSuchObjectException.java: Ditto.
9843 * java/rmi/NotBoundException.java: Ditto.
9844 * java/rmi/RemoteException.java: Ditto.
9845 * java/rmi/RMISecurityException.java: Ditto.
9846 * java/rmi/ServerError.java: Ditto.
9847 * java/rmi/ServerException.java: Ditto.
9848 * java/rmi/ServerRuntimeException.java: Ditto.
9849 * java/rmi/StubNotFoundException.java: Ditto.
9850 * java/rmi/UnexpectedExcpetion.java: Ditto.
9851 * java/rmi/UnknownHostException.java: Ditto.
9852 * java/rmi/UnmarshalException.java: Ditto.
9853
9854 2002-06-15 Tom Tromey <tromey@redhat.com>
9855
9856 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9857 * java/lang/ArithmeticException.java: Likewise.
9858 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9859 * java/lang/ArrayStoreException.java: Likewise.
9860 * java/lang/Byte.java: Likewise.
9861 * java/lang/CharSequence.java: Likewise.
9862 * java/lang/ClassCastException.java: Likewise.
9863 * java/lang/ClassCircularityError.java: Likewise.
9864 * java/lang/ClassFormatError.java: Likewise.
9865 * java/lang/CloneNotSupportedException.java: Likewise.
9866 * java/lang/Cloneable.java: Likewise.
9867 * java/lang/Comparable.java: Likewise.
9868 * java/lang/Compiler.java: Likewise.
9869 * java/lang/Error.java: Likewise.
9870 * java/lang/ExceptionInInitializerError.java: Likewise.
9871 * java/lang/IllegalAccessError.java: Likewise.
9872 * java/lang/IllegalAccessException.java: Likewise.
9873 * java/lang/IllegalArgumentException.java: Likewise.
9874 * java/lang/IllegalMonitorStateException.java: Likewise.
9875 * java/lang/IllegalStateException.java: Likewise.
9876 * java/lang/IllegalThreadStateException.java: Likewise.
9877 * java/lang/IncompatibleClassChangeError.java: Likewise.
9878 * java/lang/IndexOutOfBoundsException.java: Likewise.
9879 * java/lang/InheritableThreadLocal.java: Likewise.
9880 * java/lang/InstantiationError.java: Likewise.
9881 * java/lang/InstantiationException.java: Likewise.
9882 * java/lang/InternalError.java: Likewise.
9883 * java/lang/InterruptedException.java: Likewise.
9884 * java/lang/LinkageError.java: Likewise.
9885 * java/lang/NegativeArraySizeException.java: Likewise.
9886 * java/lang/NoClassDefFoundError.java: Likewise.
9887 * java/lang/NoSuchFieldError.java: Likewise.
9888 * java/lang/NoSuchFieldException.java: Likewise.
9889 * java/lang/NoSuchMethodError.java: Likewise.
9890 * java/lang/NoSuchMethodException.java: Likewise.
9891 * java/lang/NullPointerException.java: Likewise.
9892 * java/lang/NumberFormatException.java: Likewise.
9893 * java/lang/OutOfMemoryError.java: Likewise.
9894 * java/lang/Process.java: Likewise.
9895 * java/lang/Runnable.java: Likewise.
9896 * java/lang/RuntimePermission.java: Likewise.
9897 * java/lang/SecurityException.java: Likewise.
9898 * java/lang/Short.java: Likewise.
9899 * java/lang/StackOverflowError.java: Likewise.
9900 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9901 * java/lang/ThreadDeath.java: Likewise.
9902 * java/lang/ThreadLocal.java: Likewise.
9903 * java/lang/UnknownError.java: Likewise.
9904 * java/lang/UnsatisfiedLinkError.java: Likewise.
9905 * java/lang/UnsupportedClassVersionError.java: Likewise.
9906 * java/lang/UnsupportedOperationException.java: Likewise.
9907 * java/lang/VerifyError.java: Likewise.
9908 * java/lang/VirtualMachineError.java: Likewise.
9909 * java/lang/reflect/InvocationTargetException.java: Likewise.
9910 * java/net/BindException.java: Likewise.
9911 * java/net/ConnectException.java: Likewise.
9912 * java/net/MalformedURLException.java: Likewise.
9913 * java/net/NoRouteToHostException.java: Likewise.
9914 * java/net/ProtocolException.java: Likewise.
9915 * java/net/SocketException.java: Likewise.
9916 * java/net/UnknownHostException.java: Likewise.
9917 * java/net/UnknownServiceException.java: Likewise.
9918
9919 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9920 * java/io/CharConversionException.java: Likewise.
9921 * java/io/EOFException.java: Likewise.
9922 * java/io/FileNotFoundException.java: Likewise.
9923 * java/io/IOException.java: Likewise.
9924 * java/io/InterruptedIOException.java: Likewise.
9925 * java/io/InvalidClassException.java: Likewise.
9926 * java/io/InvalidObjectException.java: Likewise.
9927 * java/io/NotActiveException.java: Likewise.
9928 * java/io/NotSerializableException.java: Likewise.
9929 * java/io/ObjectStreamException.java: Likewise.
9930 * java/io/ObjectStreamConstants.java: Likewise.
9931 * java/io/OptionalDataException.java: Likewise.
9932 * java/io/PipedInputStream.java: Likewise.
9933 * java/io/PushbackInputStream.java: Likewise.
9934 * java/io/StreamCorruptedException.java: Likewise.
9935 * java/io/SyncFailedException.java: Likewise.
9936 * java/io/UTFDataFormatException.java: Likewise.
9937 * java/io/UnsupportedEncodingException.java: Likewise.
9938 * java/io/WriteAbortedException.java: Likewise.
9939
9940 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9941
9942 * java/text/ChoiceFormat.java: Update comments from Classpath.
9943 * java/text/ParseException.java (serialVersionUID): New
9944 field from Classpath.
9945 * java/text/ParseException.java: Update formatting & comments
9946 from Classpath.
9947
9948 2002-06-15 Tom Tromey <tromey@redhat.com>
9949
9950 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9951 been read but none output by inflater.
9952 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9953 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9954 is_finished.
9955 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9956 version.
9957 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9958 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9959 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9960 version.
9961 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9962
9963 2002-06-13 Tom Tromey <tromey@redhat.com>
9964
9965 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9966 true and OFFSET!=0.
9967 * java/lang/String.java (String(char[],int,int,boolean): New
9968 constructor.
9969 * java/lang/Long.java: Imported new version from Classpath.
9970 * java/lang/Number.java: Likewise.
9971 * java/lang/Integer.java: Likewise.
9972 * java/lang/Long.java: Likewise.
9973 * java/lang/Float.java: Likewise.
9974 * java/lang/Boolean.java: Likewise.
9975 * java/lang/Double.java: Likewise.
9976 * java/lang/Void.java: Likewise.
9977
9978 2002-06-12 Tom Tromey <tromey@redhat.com>
9979
9980 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9981 Fixes PR libgcj/6652.
9982
9983 2002-06-10 Tom Tromey <tromey@redhat.com>
9984
9985 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9986 (Class::getPackagePortion): Likewise.
9987 * java/lang/Class.java (desiredAssertionStatus): New method from
9988 Classpath.
9989 (getPackagePortion): Likewise.
9990 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9991 packageAssertionStatus, classAssertionStatus): New methods from
9992 Classpath.
9993 * java/lang/ClassLoader.java (defaultAssertionStatus,
9994 systemPackageAssertionStatus, packageAssertionStatus,
9995 systemClassAssertionStatus, classAssertionStatus): New fields from
9996 Classpath.
9997 (setDefaultAssertionStatus, setPackageAssertionStatus,
9998 setClassAssertionStatus, clearAssertionStatus): New methods from
9999 Classpath.
10000 * Makefile.in: Rebuilt.
10001 * Makefile.am (core_java_source_files): Added AssertionError.java.
10002 * java/lang/AssertionError.java: New from Classpath.
10003
10004 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10005
10006 * configure.host: Disable hash synchronization and slow_pthread_self
10007 for cygwin.
10008
10009 2002-06-06 Adam Megacz <adam@xwt.org>
10010
10011 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10012 locking, just like the Sun JVM does.
10013
10014 2002-06-05 H.J. Lu (hjl@gnu.org)
10015
10016 * Makefile.am (libgcj_convenience.la): Revert the last change.
10017 (libgcj.la): Likewise.
10018 * Makefile.in: Regenerated.
10019
10020 2002-06-04 H.J. Lu (hjl@gnu.org)
10021
10022 * Makefile.am (libgcj_convenience.la): New target.
10023 (libgcj.la): Depend on libgcj_convenience.la.
10024 * Makefile.in: Regenerated.
10025
10026 2002-06-04 H.J. Lu (hjl@gnu.org)
10027
10028 * configure.in (--with-newlib): New option:
10029 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10030 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10031 Linux.
10032 * configure: Regenerated.
10033
10034 2002-06-04 Tom Tromey <tromey@redhat.com>
10035
10036 * java/util/natTimeZone.cc: Include <stdio.h>.
10037
10038 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10039
10040 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10041 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10042 Set SIGNAL_HANDLER=include/s390-linux.h.
10043 * configure: Regenerate.
10044 * include/s390-linux.h: New file.
10045
10046 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10047
10048 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10049 not "stackTrace".
10050
10051 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10052
10053 Merge JDK 1.4 java.security changes from classpath.
10054
10055 * java/security/AccessControlException.java: Merge from Classpath.
10056 * java/security/AccessController.java: Likewise.
10057 * java/security/AllPermission.java: Likewise.
10058 * java/security/BasicPermission.java: Likewise.
10059 * java/security/Certificate.java: Likewise.
10060 * java/security/CodeSource.java: Likewise.
10061 * java/security/DigestException.java: Likewise.
10062 * java/security/DigestOutputStream.java: Likewise.
10063 * java/security/DomainCombiner.java: Likewise.
10064 * java/security/GeneralSecurityException.java: Likewise.
10065 * java/security/Guard.java: Likewise.
10066 * java/security/GuardedObject.java: Likewise.
10067 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10068 * java/security/InvalidKeyException.java: Likewise.
10069 * java/security/InvalidParameterException.java: Likewise.
10070 * java/security/Key.java: Likewise.
10071 * java/security/KeyException.java: Likewise.
10072 * java/security/KeyManagementException.java: Likewise.
10073 * java/security/KeyStoreException.java: Likewise.
10074 * java/security/MessageDigest.java: Likewise.
10075 * java/security/NoSuchAlgorithmException.java: Likewise.
10076 * java/security/NoSuchProviderException.java: Likewise.
10077 * java/security/Permission.java: Likewise.
10078 * java/security/PermissionCollection.java: Likewise.
10079 * java/security/Permissions.java: Likewise.
10080 * java/security/Policy.java: Likewise.
10081 * java/security/Principal.java: Likewise.
10082 * java/security/PrivateKey.java: Likewise.
10083 * java/security/PrivilegedAction.java: Likewise.
10084 * java/security/PrivilegedActionException.java: Likewise.
10085 * java/security/PrivilegedExceptionAction.java: Likewise.
10086 * java/security/ProtectionDomain.java: Likewise.
10087 * java/security/ProviderException.java: Likewise.
10088 * java/security/PublicKey.java: Likewise.
10089 * java/security/SecureClassLoader.java: Likewise.
10090 * java/security/SecurityPermission.java: Likewise.
10091 * java/security/SignatureException.java: Likewise.
10092 * java/security/UnrecoverableKeyException.java: Likewise.
10093 * java/security/UnresolvedPermission.java: Likewise.
10094 * java/security/acl/AclNotFoundException.java: Likewise.
10095 * java/security/acl/LastOwnerException.java: Likewise.
10096 * java/security/acl/NotOwnerException.java: Likewise.
10097 * java/security/cert/CRLException.java: Likewise.
10098 * java/security/cert/CertificateEncodingException.java: Likewise.
10099 * java/security/cert/CertificateException.java: Likewise.
10100 * java/security/cert/CertificateExpiredException.java: Likewise.
10101 * java/security/cert/CertificateFactory.java: Likewise.
10102 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10103 * java/security/cert/CertificateParsingException.java: Likewise.
10104 * java/security/spec/InvalidKeySpecException.java: Likewise.
10105 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10106
10107 * java/security/cert/CertPath.java: New file.
10108 * java/security/cert/CertPathBuilderException.java: New file.
10109 * java/security/cert/CertPathValidatorException.java: New file.
10110 * java/security/cert/CertStoreException.java: New file.
10111
10112 * Makefile.am: Add new CertPath classes.
10113 * Makefile.in: Rebuilt.
10114
10115 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10116
10117 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10118
10119 Merge JDK 1.4 exception chaining support from classpath.
10120
10121 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10122 (stackTraceBytes): Rename from stackTrace.
10123 * java/lang/Exception.java: Merge from classpath.
10124 * java/lang/StackTraceElement: New file from classpath.
10125 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10126 * Makefile.am: Add StackTraceElement.
10127 * Makefile.in: Rebuilt.
10128
10129 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10130
10131 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10132 they build first.
10133 * Makefile.in: Rebuilt.
10134
10135 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10136
10137 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10138 * configure.in: Likewise.
10139 * aclocal.m4: Regenerate.
10140 * configure: Regenerate.
10141
10142 2002-05-13 Tom Tromey <tromey@redhat.com>
10143
10144 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10145 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10146 Include platform.h.
10147
10148 Fixes PR libgcj/6389:
10149 * Makefile.in: Rebuilt.
10150 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10151 * java/util/natTimeZone.cc: New file.
10152 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10153 * java/lang/System.java: Merged with Classpath.
10154 * java/lang/Runtime.java: Merged with Classpath.
10155 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10156 security check.
10157 (setIn0): Renamed from setIn; don't run security check.
10158 (setOut0): Renamed from setOut; don't run security check.
10159 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10160 init_properties): Moved to natRuntime.cc.
10161 Moved many includes to natRuntime.cc.
10162 (isWordsBigEndian): New method.
10163 * java/lang/natRuntime.cc: Include Long.h, also other includes
10164 previously in natSystem.cc.
10165 (maxMemory): New function.
10166 (exitInternal): Renamed from `_exit'.
10167 (exit): Removed.
10168 (init): Don't set finalize_on_exit.
10169 (exitInternal): Use `finalizeOnExit'.
10170 (file_encoding, getpwuid_adaptor): New functions from
10171 natSystem.cc.
10172 (insertSystemProperties): New method, renamed from
10173 System::init_properties. Don't set user.timezone.
10174 (_load): Don't call checkLink.
10175 (execInternal): New method.
10176 (availableProcessors): Likewise.
10177 (nativeGetLibname): Likewise.
10178
10179 2002-05-11 Mark Wielaard <mark@klomp.org>
10180
10181 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10182 space characters.
10183 (previous_internal): Likewise.
10184
10185 2002-05-09 Tom Tromey <tromey@redhat.com>
10186
10187 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10188
10189 * java/util/ResourceBundle.java: New version from Classpath.
10190 * java/util/Locale.java: Likewise.
10191
10192 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10193
10194 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10195 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10196 LD_LIBRARY_PATH.
10197
10198 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10199
10200 * libjava/Makefile.am (all_java_source_files): New variable.
10201 (all_java_class_files): Likewise.
10202 .java.class: New rule.
10203 (CLEANFILES): Remove tmp-list.
10204 * libjava/Makefile.in: Regenerated.
10205
10206 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10207
10208 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10209 Append .exe to executable names. Fix for cygwin.
10210
10211 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10212
10213 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10214 script entry, and set LD to it when configuring multilibs.
10215 * configure: Rebuilt.
10216
10217 2002-05-07 Tom Tromey <tromey@redhat.com>
10218
10219 * java/lang/natString.cc (unintern): Fixed typo.
10220
10221 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10222
10223 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10224 with -no-install on *-*-cygwin*.
10225
10226 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10227
10228 * testsuite/lib/libjava.exp (test_libjava_from_source):
10229 Add comment explaining last patch
10230
10231 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10232
10233 * testsuite/lib/libjava.exp (test_libjava_from_source):
10234 Append .exe to executable names. If no suffix is present,
10235 then ".exe" is added by default on win32. Harmless
10236 elsewhere so always do it.
10237
10238 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10239 Tom Tromey <tromey@redhat.com>
10240
10241 * java/lang/natSystem.cc (getSystemTimeZone): Use
10242 HAVE_UNDERSCORE_TIMEZONE.
10243 * include/config.h.in: Rebuilt.
10244 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10245 * aclocal.m4, configure: Rebuilt.
10246 * acinclude.m4: Run AC_EXEEXT.
10247 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10248 Add test for `_timezone'.
10249
10250 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10251
10252 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10253 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10254 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10255 * Makefile.in: Rebuilt.
10256
10257 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10258
10259 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10260 use sigaction instead of __libc_sigaction.
10261
10262 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10263
10264 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10265 (libjava_init): Use it to find libgcj.spec.
10266 (libjava_arguments): Likewise.
10267
10268 2002-05-02 David S. Miller <davem@redhat.com>
10269
10270 PR bootstrap/6525
10271 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10272 __libc_sigaction on Sparc.
10273
10274 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10275
10276 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10277 sys/filio.h, if present.
10278
10279 2002-04-30 Tom Tromey <tromey@redhat.com>
10280
10281 * java/io/BufferedReader.java (fill): Handle case where markPos
10282 point to ignored \n. Fixes PR libgcj/6301.
10283
10284 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10285
10286 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10287
10288 2002-04-29 Adam King <aking@dreammechanics.com>
10289
10290 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10291 of file in APPEND mode.
10292
10293 2002-04-25 David S. Miller <davem@redhat.com>
10294
10295 PR target/6422
10296 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10297 program counter to next program counter minus 8. Update
10298 comments in this macro to explain why.
10299
10300 2002-04-26 Tom Tromey <tromey@redhat.com>
10301
10302 * verify.cc (construct_primitive_array_type) [void_type]: New
10303 case.
10304 (branch_prepass): Added dummy entries for unused instruction
10305 values.
10306 (verify_instructions_0): Likewise.
10307 * interpret.cc (continue1): Comment fix.
10308 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10309 * Makefile.in: Rebuilt.
10310 * Makefile.am: Added -Wswitch-enum.
10311
10312 2002-04-24 Tom Tromey <tromey@redhat.com>
10313
10314 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10315 correct length of UTF-8 encoded name. Strip leading `/'.
10316 (_Jv_RegisterResource): Use _Jv_Malloc.
10317
10318 2002-04-23 Adam Megacz <adam@xwt.org>
10319
10320 * win32.cc, include/win32.cc (backtrace): Added this function
10321 because Win32 does not supply it.
10322
10323 2002-04-21 David S. Miller <davem@redhat.com>
10324
10325 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10326 magic instruction reading sequence.
10327
10328 2002-04-21 Mark Wielaard <mark@klomp.org>
10329
10330 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10331
10332 2002-04-19 David S. Miller <davem@redhat.com>
10333
10334 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10335 arg.
10336 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10337 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10338 on Sparc too.
10339 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10340 for 64-bit sparc.
10341 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10342 * sysdeps/sparc/locks.h: New file.
10343 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10344 on all sparc Solaris configurations. Set to
10345 include/dwarf2-signal.h on sparc Linux.
10346 * configure: Regenerate
10347 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10348
10349 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10350
10351 * configure: Rebuilt.
10352 * configure.in (backtrace): Function doesn't work on IA-64.
10353
10354 2002-04-17 Adam King <aking@dreammechanics.com>
10355
10356 * java/io/File.java (normalizePath): Add Win32 support for auto
10357 conversion of a '/' path separator to Win32's '\' separator.
10358
10359 2002-04-16 Tom Tromey <tromey@redhat.com>
10360
10361 Fix for PR libgcj/6081:
10362 * Makefile.in: Rebuilt.
10363 * Makefile.am (install-data-local): Use GNU make trick to avoid
10364 shell limit.
10365
10366 2002-04-16 Adam King <aking@dreammechanics.com>
10367 Tom Tromey <tromey@redhat.com>
10368
10369 * java/io/natFileWin32.cc (performList): Return the correct array
10370 type. Don't duplicate the creation of a File since it's already
10371 done earlier in the method and the existing code would cause a
10372 ArrayStoreException. Don't use fixed-size array.
10373 (_access, _stat, attr, getCanonicalPath, performMkdir,
10374 performRenameTo): Don't use fixed-size array.
10375 (getCanonicalPath): Use throw, not _Jv_Throw.
10376
10377 2002-04-15 DJ Delorie <dj@redhat.com>
10378
10379 * configure.in: Allow building in $srcdir.
10380 * configure: Regenerated.
10381
10382 2002-04-14 Mark Wielaard <mark@klomp.org>
10383
10384 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10385 * java/net/natSocketImpl.cc (close): Likewise.
10386
10387 2002-04-14 Mark Wielaard <mark@klomp.org>
10388
10389 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10390
10391 2002-04-13 Adam King <aking@dreammechanics.com>
10392
10393 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10394 the f/F/d/D modifiers.
10395
10396 2002-04-12 Anthony Green <green@redhat.com>
10397
10398 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10399 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10400 * Makefile.in: Rebuilt.
10401 * configure.in: Substitute gcc_version.
10402 * configure: Rebuilt.
10403
10404 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10405
10406 * configure.host: Set can_unwind_signal on hosts which support it.
10407 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10408 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10409 exceptions and can_unwind_signal isn't set.
10410 * configure: Rebuilt.
10411
10412 2002-04-11 Tom Tromey <tromey@redhat.com>
10413
10414 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10415
10416 2002-04-11 Adam King <aking@dreammechanics.com>
10417 Tom Tromey <tromey@redhat.com>
10418
10419 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10420 _Jv_ThrowNullPointerException): Mark as noreturn.
10421 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10422 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10423 fixes.
10424
10425 2002-04-10 Tom Tromey <tromey@redhat.com>
10426
10427 * Makefile.in: Rebuilt.
10428 * Makefile.am (java/lang/Thread.h): Mark
10429 _Jv_AttachCurrentThreadAsDaemon as friend.
10430 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10431 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10432 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10433 function.
10434 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10435 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10436 (_Jv_JNI_InvokeFunctions): Added
10437 _Jv_JNI_AttachCurrentThreadAsDaemon.
10438 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10439 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10440 (JNI_CreateJavaVM): Likewise.
10441 (_Jv_JNI_AttachCurrentThread): Likewise.
10442 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10443 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10444 (_Jv_JNIFunctions): Initialize new fields.
10445 (_Jv_JNI_NewDirectByteBuffer): New function.
10446 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10447 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10448 * include/jni.h (JNI_VERSION_1_4): New macro.
10449 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10450 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10451 (JNINativeInterface::NewDirectByteBuffer): New field.
10452 (JNINativeInterface::GetDirectBufferAddress): New field.
10453 (JNINativeInterface::GetDirectBufferCapacity): New field.
10454 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10455 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10456 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10457
10458 2002-04-09 Tom Tromey <tromey@redhat.com>
10459
10460 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10461
10462 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10463
10464 Fix for PR libgcj/6187:
10465 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10466 distance.
10467
10468 2002-04-07 Mark Wielaard <mark@klomp.org>
10469
10470 * java/util/AbstractMap.java (putAll): Use entrySet size.
10471 (toString): Explicitly use getKey() and getValue().
10472
10473 2002-04-07 Mark Wielaard <mark@klomp.org>
10474
10475 * java/util/Hashtable.java (contains): Remove NullPointer check.
10476 (containsValue): Add NullPointer check.
10477 (remove): Always throw NullPointerException when key
10478 is null.
10479
10480 2002-04-07 Adam King <aking@dreammechanics.com>
10481
10482 * java/lang/natSystem.cc (init_properties): Call new function
10483 _Jv_platform_initProperties.
10484 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10485 support for the System properties os.name, os.arch, os.version,
10486 user.name, user.home, and user.dir.
10487 * include/posix.h, include/win32.h, posix.cc: New function
10488 _Jv_platform_initProperties.
10489
10490 2002-04-06 Mark Wielaard <mark@klomp.org>
10491
10492 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10493
10494 2002-04-06 Mark Wielaard <mark@klomp.org>
10495
10496 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10497 all of the remaining elements.
10498 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10499 (removeRange): If toIndex == fromIndex do
10500 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10501 (removeAll): Always throw NullPointerException when collection is
10502 null.
10503 (retrainAll): Likewise.
10504
10505 2002-04-05 Mark Wielaard <mark@klomp.org>
10506
10507 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10508 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10509
10510 2002-04-05 Adam Megacz <adam@xwt.org>
10511
10512 * exception.cc (abort): added static modifier
10513
10514 2002-04-04 Adam Megacz <adam@xwt.org>
10515
10516 * include/win32.h (_Jv_platform_close_on_exec): added inline
10517 modifier.
10518
10519 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10520
10521 * configure.host: Add case statement to support generic port
10522 properties. Add *-*-freebsd* section.
10523
10524 2002-04-04 Mark Wielaard <mark@klomp.org>
10525
10526 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10527 test.
10528 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10529 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10530 that depend on awt code and BufferedByteOutputStream.interrupt.
10531
10532 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10533
10534 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10535 incorrect "hi" value when count > 40.
10536
10537 2002-04-03 Mark Wielaard <mark@klomp.org>
10538
10539 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10540 ordering.
10541
10542 2002-04-02 Tom Tromey <tromey@redhat.com>
10543
10544 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10545 not `0'.
10546
10547 2002-04-02 Mark Wielaard <mark@klomp.org>
10548
10549 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10550 list of testsuite crashers.
10551
10552 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10553
10554 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10555 when resizing table.
10556
10557 2002-04-01 Mark Wielaard <mark@klomp.org>
10558
10559 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10560 NegativeArraySizeException
10561 (clear(int)): Use sign extended shift.
10562 (flip(int)): Likewise.
10563 (get(int)): Likewise.
10564 (nextClearBit(int)): Likewise.
10565 (nextSetBit(int)): Likewise.
10566 (set(int)): Likewise.
10567
10568 2002-04-01 Mark Wielaard <mark@klomp.org>
10569
10570 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10571 that can be compiled now and add testsuite crashers to ignore list.
10572
10573 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10574
10575 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10576
10577 * libgcj.spec.in: Override libgcc, not lib.
10578 * libgcj-test.spec.in: Likewise.
10579
10580 2002-03-29 Tom Tromey <tromey@redhat.com>
10581
10582 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10583 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10584
10585 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10586
10587 * java/net/PlainDatagramSocketImpl.java
10588 (close): Use native implementation.
10589 (finalize): New method.
10590
10591 * java/net/PlainSocketImpl.java (finalize): New method.
10592
10593 * java/net/natPlainDatagramSocketImpl.cc
10594 (java/io/FileDescriptor.h): Don't include.
10595 (close): Implement method here.
10596 (create): Don't assign fd.
10597
10598 * java/net/natPlainSocketImpl.cc
10599 (java/io/FileDescriptor.h): Don't include.
10600 (create): Don't assign fd.
10601 (accept): Likewise.
10602 (close): Synchronize.
10603
10604 2002-03-27 Richard Henderson <rth@redhat.com>
10605
10606 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10607
10608 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10609
10610 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10611 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10612 instead of syscall on IA-64.
10613 Add FIXME comment.
10614
10615 2002-03-27 Anthony Green <green@redhat.com>
10616
10617 * libgcj.spec.in: Add CHECKREFSPEC.
10618 * configure.in: Ditto.
10619 * configure.host: Ditto. Check references for xscale-elf.
10620 * configure: Rebuilt.
10621
10622 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10623
10624 * include/dwarf2-signal.h: Temporarily back out last change.
10625
10626 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10627
10628 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10629
10630 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10631
10632 * configure.in, configure: enable dwarf2-exception-style
10633 exception handling on IA-64.
10634 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10635 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10636 Add FIXME comment.
10637
10638 2002-03-25 Tom Tromey <tromey@redhat.com>
10639
10640 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10641 (jv_convert_LDFLAGS): Likewise.
10642 (gij_LDFLAGS): Likewise.
10643 (rmic_LDFLAGS): Likewise.
10644 (rmiregistry_LDFLAGS): Likewise.
10645 * configure.in (THREADLDFLAGS): New subst; set correctly for
10646 *BSD.
10647
10648 2002-03-25 Tom Tromey <tromey@redhat.com>
10649
10650 For PR libgcj/5303:
10651 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10652 and --version.
10653 (help): New method.
10654 (version): Likewise.
10655 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10656 "GNU".
10657 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10658 "GNU".
10659
10660 2002-03-25 Tom Tromey <tromey@redhat.com>
10661
10662 * java/awt/Component.java (processEvent): Check ComponentEvent
10663 after KeyEvent.
10664
10665 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10666
10667 * java/io/PushbackReader.java: Reformat.
10668
10669 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10670 calculate correct number of bytes skipped.
10671
10672 Based on patch from Intel's ORP team:
10673 * java/io/PushbackInputStream.java (available): Calculate correct
10674 number of bytes in buffer.
10675 (read): Remove redundant bound check. Return bytes from both the
10676 buffer and the stream.
10677
10678 2002-03-24 Tom Tromey <tromey@redhat.com>
10679
10680 * java/awt/TextComponent.java (TextComponent): Editable by
10681 default.
10682
10683 * java/awt/MenuItem.java (eventMask): No longer private.
10684 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10685 superclass if we didn't handle event.
10686 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10687 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10688 * java/awt/Choice.java (dispatchEventImpl): New method.
10689 * java/awt/List.java (dispatchEventImpl): New method.
10690 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10691 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10692 * java/awt/TextField.java (dispatchEventImpl): New method.
10693
10694 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10695
10696 * java/beans/IntrospectionException.java: Update to 1.4.
10697 * java/beans/PropertyVetoException.java: Ditto.
10698
10699 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10700
10701 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10702 Arrays.equals instead of ArrayHelper.equalsArray.
10703
10704 2002-03-24 C. Brian Jones <cbj@gnu.org>
10705
10706 * java/beans/Introspector.java: added new static final fields
10707 introduced in 1.2, lots of other updates remain to be done
10708
10709 2002-03-24 C. Brian Jones <cbj@gnu.org>
10710
10711 * java/beans/Introspector.java: reformatting
10712
10713 2002-03-24 C. Brian Jones <cbj@gnu.org>
10714
10715 * java/beans/Introspector.java: default beanInfoSearchPath will
10716 not include sun.beans.infos given we provide no such package and
10717 the API doesn't really require it; gnu.java.beans.info is the
10718 default.
10719
10720 2002-03-24 Mark Wielaard <mark@klomp.org>
10721
10722 Thanks to Orp developers
10723 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10724 switch TRUE and FALSE return values.
10725
10726 2002-03-23 Tom Tromey <tromey@redhat.com>
10727
10728 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10729 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10730
10731 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10732
10733 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10734 MONTH entry. Fixes PR libgcj/6045.
10735
10736 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10737
10738 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10739
10740 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10741
10742 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10743 not release_set.
10744 * sysdep/powerpc/locks.h (write_barrier): New function.
10745 * sysdep/i386/locks.h (write_barrier): New function.
10746
10747 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10748
10749 * include/jni.h Use correct C comments.
10750
10751 2002-03-18 Tom Tromey <tromey@redhat.com>
10752
10753 * include/jni.h (JNIIMPORT): New macro.
10754 (JNIEXPORT): Likewise.
10755 (JNICALL): Likewise.
10756
10757 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10758
10759 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10760 systems.
10761
10762 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10763
10764 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10765 INIT_SEGV: Use old_i386_kernel_sigaction.
10766 INIT_FP: Likewise.
10767
10768 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10769
10770 * java/lang/natSystem.cc (init_properties): Update VM version
10771 properties.
10772 * configure.in: Set GCJVERSION.
10773 * acconfig.h: Add GCJVERSION.
10774 * configure: Rebuilt.
10775 * include/config.h.in: Rebuilt.
10776
10777 2002-03-17 Anthony Green <green@redhat.com>
10778
10779 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10780
10781 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10782
10783 Build a single libgcj.so, without separate gc and zlib libraries.
10784 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10785 SYS_ZLIBS if system zlib is used.
10786 * configure: Rebuilt.
10787 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10788 * Makefile.in: Rebuilt.
10789 * libtool-version: Increment .so version number.
10790
10791 * Makefile.am: Escape quotes in echo.
10792 * Makefile.in: Rebuilt.
10793
10794 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10795
10796 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10797 * Makefile.in: Rebuilt.
10798
10799 2002-03-15 Anthony Green <green@redhat.com>
10800
10801 * configure.host (FILE): New macro for specifing File
10802 implementation.
10803 * configure: Rebuilt.
10804 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10805
10806 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10807
10808 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10809 already implicitly brought in from libgcj.la.
10810 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10811 * Makefile.in: Rebuilt.
10812
10813 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10814
10815 * THANKS: Fix punctuation, alphabetization.
10816
10817 2002-03-15 Tom Tromey <tromey@redhat.com>
10818 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10819
10820 Fix for PR libgcj/5944.
10821 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10822
10823 2002-03-15 Anthony Green <green@redhat.com>
10824
10825 * configure.in (tool_include_dir): Define.
10826 * configure: Rebuilt.
10827 * gcj/Makefile.am: Install libgcj-config.h relative to
10828 tool_include_dir.
10829 * gcj/Makefile: Rebuilt.
10830 * gcj/libgcj-config.h: Add warning comment.
10831
10832 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10833
10834 * configure.host (powerpc*-darwin*): Enable interpreter.
10835
10836 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10837
10838 * include/posix.h: Add multiple include header protection.
10839 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10840
10841 2002-03-10 Adam Megacz <adam@xwt.org>
10842
10843 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10844
10845 2002-03-10 Tom Tromey <tromey@redhat.com>
10846
10847 * java/awt/GridLayout.java (layoutContainer): Handle case where
10848 there are no items in container.
10849
10850 * java/lang/Win32Process.java: Added comment.
10851 * include/posix.h (_Jv_platform_close_on_exec): New function.
10852 Include fcntl.h.
10853 * include/win32.h (_Jv_platform_close_on_exec): New function.
10854 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10855 flag.
10856 (accept): Likewise.
10857 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10858 close-on-exec flag.
10859 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10860 flag.
10861
10862 2002-03-09 Tom Tromey <tromey@redhat.com>
10863
10864 * verify.cc (state::NO_STACK): New constant.
10865 (state::is_unmerged_ret_state): Handle case where stacktop is
10866 NO_STACK.
10867 (state::merge): Handle NO_STACK merges.
10868 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10869 for instruction following jsr.
10870 (stacktop, stackdepth): Removed unused variables.
10871 (pop_jump): Ignore case where all remaining states are skipped.
10872
10873 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10874
10875 * java/awt/ImageMediaEntry: Removed.
10876 * java/awt/MediaEntry: Removed.
10877
10878 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10879
10880 Hashtable synchronization for PowerPC.
10881 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10882 slow_pthread_self. Set up symlink for sysdeps directory.
10883 * configure: Rebuild.
10884 * configure.host: Document more shell variables. Set sysdeps_dir
10885 for most platforms. Set slow_pthread_self for i686. Set
10886 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10887 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10888 that memory barrier is emitted where required.
10889 * prims.cc: 64-bit align static primitive class instances.
10890 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10891 read_barrier() to enforce ordering of reads.
10892 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10893 primitives for PowerPC.
10894 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10895 moved from natObject.cc.
10896 * sysdep/alpha/locks.h: Likewise.
10897 * sysdep/ia64/locks.h: Likewise.
10898 * sysdep/generic/locks.h: Likewise.
10899 * java/lang/natObject.cc: Move thread synchronization primitives to
10900 system-dependent headers.
10901
10902 2002-03-09 Adam Megacz <adam@xwt.org>
10903
10904 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10905 bytes read and no failure code returned.
10906
10907 2002-03-09 Adam Megacz <adam@xwt.org>
10908
10909 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10910 definitions to simulate -mthreads.
10911
10912 2002-03-09 Adam Megacz <adam@xwt.org>
10913
10914 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10915 avoid precision loss.
10916
10917 2002-03-09 Per Bothner <per@bothner.com>
10918
10919 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10920 * gnu/gcj/xlib/XImage.java: Likewise.
10921 * gnu/gcj/xlib/XColor.java: Likewise.
10922
10923 2002-03-09 Adam Megacz <adam@xwt.org>
10924
10925 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10926 IOException so that Throwable.printStackTrace fails correctly.
10927
10928 2002-03-08 Adam Megacz <adam@xwt.org>
10929
10930 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10931 fixed.
10932
10933 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10934
10935 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10936 truncated to int.
10937
10938 2002-03-08 Tom Tromey <tromey@redhat.com>
10939
10940 * include/jni.h: Include stdio.h.
10941
10942 2002-03-08 Tom Tromey <tromey@redhat.com>
10943
10944 * posix.cc (internal_gettimeofday): New function.
10945 (_Jv_select): Use it.
10946
10947 2002-03-07 Adam Megacz <adam@xwt.org>
10948
10949 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10950 WIN32, and added thunks for read(), write(), and close().
10951 * java/net/natPlainSocketImpl.cc (accept, read, read):
10952 Disabled timeouts on WIN32 pending discussion.
10953
10954 2002-03-07 Adam Megacz <adam@xwt.org>
10955
10956 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10957 returns jlong. Added implementation
10958 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10959 returns jlong.
10960 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10961 returns jlong.
10962 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10963 returns jlong.
10964 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10965 _Jv_platform_gettimeofday signature.
10966
10967 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10968
10969 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10970 (read): Call recv() directly, not _Jv_recv().
10971
10972 2002-03-06 Tom Tromey <tromey@redhat.com>
10973
10974 * java/io/natFileDescriptorEcos.cc (init): Don't use
10975 GetStdHandle.
10976 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10977 is negative.
10978 (init): Don't use GetStdHandle.
10979
10980 * include/config.h.in: Rebuilt.
10981 * configure: Rebuilt.
10982 * Makefile.in: Rebuilt.
10983
10984 2002-03-06 Adam Megacz <adam@xwt.org>
10985
10986 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10987 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10988 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10989 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10990
10991 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10992
10993 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10994 the code for generating include/java-chartables.h.
10995 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10996 merge with Classpath.
10997 * scripts/unicode-muncher.pl: Copy from Classpath.
10998 * scritps/MakeCharTables.java: New file.
10999 * gnu/gcj/convert/Blocks-3.txt: New file.
11000 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11001 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11002 * gnu/java/lang/CharData.java: Copy from Classpath.
11003 * Makefile.am (ordinary_java_source_files): Add
11004 gnu/java/lang/CharData.java.
11005 * configure.in: Remove --enable-fast-character option.
11006 * java/lang/Character.java: Merge algorithms and Javadoc with
11007 Classpath.
11008 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11009 efficiently.
11010 * include/java-chardecomp.h: Regenerate.
11011 * include/java-chartables.h: Regenerate.
11012
11013 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11014
11015 * java/awt/MediaTracker.java: Implemented.
11016 * Makefile.am: Add MediaTracker.
11017 * Makefile.in: Rebuilt.
11018
11019 2002-03-05 Tom Tromey <tromey@redhat.com>
11020
11021 * java/lang/natPosixProcess.cc (fail): Removed.
11022 (startProcess): Simplified error-handling. Preserve
11023 LD_LIBRARY_PATH across exec.
11024
11025 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11026 AbstractMethodError.
11027
11028 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11029
11030 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11031 * Makefile.in: Rebuilt.
11032
11033 2002-03-03 Mark Wielaard <mark@klomp.org>
11034
11035 * java/util/Timer (TaskQueue.stop): set elements to zero.
11036
11037 2002-02-28 Anthony Green <green@redhat.com>
11038
11039 * java/lang/reflect/natMethod.cc (result): Add void* element.
11040 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11041 constructor test.
11042
11043 2002-02-27 Adam Megacz <adam@xwt.org>
11044
11045 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11046 '#undef STRICT'.
11047
11048 2002-02-26 Tom Tromey <tromey@redhat.com>
11049
11050 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11051 * gij.cc (version): Use __VERSION__.
11052 * include/config.h.in: Rebuilt.
11053 * acconfig.h (GCJVERSION): Removed.
11054 * configure: Rebuilt.
11055 * configure.in (GCJVERSION): Removed.
11056
11057 2002-02-26 Andreas Schwab <schwab@suse.de>
11058
11059 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11060 glibcpp_CXX, since libjava uses even another CXX.
11061 * aclocal.m4, configure: Regenerated.
11062
11063 2002-02-26 Tom Tromey <tromey@redhat.com>
11064
11065 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11066 `1'.
11067
11068 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11069
11070 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11071 dependency tracking for .java files.
11072 * Makefile.in: Rebuilt.
11073
11074 2002-02-24 Adam Megacz <adam@xwt.org>
11075
11076 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11077 typo. Sorry.
11078
11079 2002-02-24 Adam Megacz <adam@xwt.org>
11080
11081 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11082 for Win32, changed #ifdefs to check WIN32 instead of the
11083 (now-obsolete) USE_WINSOCK, and removed support for socket
11084 timeouts on Win32 pending further discussion.
11085
11086 2002-02-24 Adam Megacz <adam@xwt.org>
11087
11088 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11089 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11090 delete
11091
11092 2002-02-24 Adam Megacz <adam@xwt.org>
11093
11094 * java/lang/Win32Process.java: Created a dummy class to allow
11095 build process to run to completion.
11096
11097 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11098
11099 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11100 Define ffi_result union for ffi_call result. Cast
11101 ffi_result members to jvalue.
11102
11103 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11104
11105 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11106 * testsuite/Makefile.in: Likewise.
11107
11108 2002-02-20 Per Bothner <per@bothner.com>
11109
11110 * java/net/URL.java (getPath): New JDK 1.3 method.
11111
11112 * java/net/URLStreamHandler.java (parseURL):
11113 It is wrong to prepend '/' to the file part of a relative url.
11114
11115 * java/net/URLStreamHandler.java (parseURL):
11116 Minor optizations - append '/' rather than "/".
11117
11118 * java/net/URLStreamHandler.java (parseURL):
11119 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11120 We probably should canonicalize for a context-relative url, though.
11121 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11122 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11123 (sameFile): New method. Uses canonicalizeFilename.
11124
11125 2002-02-22 Tom Tromey <tromey@redhat.com>
11126
11127 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11128 java.vendor and java.vm.vendor.
11129 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11130 recent copyright date.
11131 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11132 * gij.cc (version): Print `Inc'.
11133
11134 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11135
11136 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11137 * aclocal.m4, configure: Rebuilt.
11138
11139 2002-02-20 Per Bothner <per@bothner.com>
11140
11141 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11142 and/or output streams immediately here, instead of using File.exists.
11143 (inputStream, outputStream): New fields to save open streams.
11144 (getInputStream, getOutputStream): Use already-opened streams.
11145
11146 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11147
11148 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11149 Use it.
11150 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11151 * aclocal.m4, configure, Makefile.in: Rebuilt.
11152
11153 2002-02-19 Tom Tromey <tromey@redhat.com>
11154
11155 Fix for PR libgcj/5696:
11156 * verify.cc (is_assignable_from_slow): Never call
11157 _Jv_IsAssignableFrom.
11158 (verify_instructions_0): Added new debug statement.
11159 (state::print): Print information about whether local has
11160 changed.
11161 (state::merge): Don't call note_variable when merging locals.
11162 (state::set_exception): Removed old FIXME comment.
11163
11164 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11165
11166 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11167 enable SO_BROADCAST.
11168
11169 2002-02-18 Jason Merrill <jason@redhat.com>
11170
11171 * name-finder.cc (toHex): Use word mode, not long long.
11172
11173 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11174
11175 2002-02-15 Tom Tromey <tromey@redhat.com>
11176
11177 Fix for PR libgcj/5695:
11178 * verify.cc (is_assignable_from_slow): Check to see if target is
11179 an Object before checking to see if source is an interface.
11180 (verify_instructions_0) [op_invokeinterface]: Handle case where
11181 we're making an interface call on Object.
11182
11183 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11184
11185 * Makefile.in: Rebuilt with Eric's change below.
11186
11187 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11188 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11189 Removed functions which are now implemented in Math.java.
11190
11191 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11192
11193 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11194 * Makefile.am (core_java_source_files): Add
11195 java/lang/StrictMath.java.
11196 * java/lang/Math.java: Merge with Classpath.
11197 * java/lang/StrictMath.java: New file - merge with Classpath.
11198
11199 2002-02-14 Mark Wielaard <mark@klomp.org>
11200
11201 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11202 package as a workaround for gcj 3.0.x
11203
11204 2002-02-14 Mark Wielaard <mark@klomp.org>
11205
11206 * java/security/BasicPermission.java: extends with fully qualified
11207 classname as workaround for gcj 3.0.4.
11208
11209 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11210
11211 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11212 around gcj bug of wrong emitted qualifier for inherited method.
11213 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11214 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11215 constructor to reduce amount of emitted bytecode. While this
11216 happens to work around a jikes 1.15 bug, it is still a useful
11217 patch even for correct compilers.
11218 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11219 * gnu/java/rmi/server/UnicastRemoteCall.java
11220 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11221
11222 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11223
11224 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11225 * java/net/SocketImpl.java: Ditto.
11226 * java/rmi/server/RMIClassLoader.java: Ditto.
11227 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11228
11229 2002-02-14 Mark Wielaard <mark@klomp.org>
11230
11231 Thanks to Takashi Okamoto
11232 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11233 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11234 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11235
11236 2002-02-13 Todd Stock <toddastock@yahoo.com>
11237
11238 Fix for PR libgcj/5670:
11239 * verify.cc (is_assignable_from_slow): If `source' is interface,
11240 recursively look for merge with `target'.
11241
11242 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11243
11244 * include/jni.h: Fix typo.
11245
11246 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11247
11248 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11249 correctly.
11250
11251 2002-02-13 Todd Stock <toddastock@yahoo.com>
11252
11253 Fix for PR libgcj/5671:
11254 * verify.cc (state::merge): Handle case where we're merging
11255 against an interface.
11256
11257 2002-02-12 Tom Tromey <tromey@redhat.com>
11258
11259 * exception.cc (std::abort): Mark as noreturn.
11260
11261 2002-02-12 Adam Megacz <adam@xwt.org>
11262
11263 * java/lang/Win32Process.java: Filled in a placeholder
11264 implementation so Win32 will build.
11265
11266 2002-02-12 Adam Megacz <adam@xwt.org>
11267
11268 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11269 * java/io/natFile.cc: Removed from repository.
11270 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11271
11272 2002-02-12 Adam Megacz <adam@xwt.org>
11273
11274 * win32.cc: Added two #includes to make win32.cc compile.
11275
11276 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11277
11278 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11279 declarations.
11280 (_Jv_InitGC): Don't bother locking, as this is always called from a
11281 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11282
11283 2002-02-11 Adam Megacz <adam@xwt.org>
11284
11285 * include/win32.h: Added _Jv_platform_gettimeofday.
11286 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11287
11288 2002-02-11 Adam Megacz <adam@xwt.org>
11289
11290 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11291 Added #undef STRICT to make windows.h and
11292 java/lang/reflect/Modifier.h cooperate.
11293
11294 2002-02-11 Adam Megacz <adam@xwt.org>
11295
11296 * java/io/natFileWin32.cc: Created a placeholder class with lots
11297 of FIXMEs.
11298
11299 2002-02-11 Adam Megacz <adam@xwt.org>
11300
11301 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11302 std::abort() to simply abort(). Also added "fake" std::abort() so
11303 we can #include unwind-pe.h without having to link against
11304 libstdc++-v3.
11305
11306 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11307
11308 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11309
11310 2002-02-08 Tom Tromey <tromey@redhat.com>
11311
11312 * interpret.cc (convert): New function.
11313 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11314 convert.
11315 Include Long.h.
11316
11317 2002-02-08 Anthony Green <green@redhat.com>
11318
11319 * configure.host: Add support for xscale-elf embedded target.
11320
11321 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11322
11323 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11324 dereferenced.
11325 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11326 frame.
11327
11328 2002-02-07 Tom Tromey <tromey@redhat.com>
11329
11330 * java/io/natFile.cc (_access): Use __builtin_alloca.
11331 (_stat): Likewise.
11332 (attr): Likewise.
11333 (getCanonicalPath): Likewise.
11334 (performList): Likewise.
11335 (performMkdir): Likewise.
11336 (performSetReadOnly): Likewise.
11337 (performRenameTo): Likewise.
11338 (performSetLastModified): Likewise.
11339 (performCreate): Likewise.
11340 (performDelete): Likewise.
11341
11342 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11343
11344 * HACKING: Fix URL for the automake-gcj.
11345
11346 2002-02-07 Tom Tromey <tromey@redhat.com>
11347
11348 * java/lang/natThrowable.cc: Updated copyright.
11349 * java/io/natFileWin32.cc: Updated copyright.
11350 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11351 * win32-threads.cc: Updated copyright.
11352 * name-finder.cc: Updated copyright.
11353 * include/name-finder.h: Updated copyright.
11354
11355 * include/name-finder.h: Conditionally include sys/wait.h.
11356 * include/config.h.in: Rebuilt.
11357
11358 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11359 Size buffer based on real size of string.
11360 (_stat): Likewise.
11361 (attr): Likewise.
11362 (getCanonicalPath): Likewise.
11363 (performList): Likewise.
11364 (performMkdir): Likewise.
11365 (performSetReadOnly): Likewise.
11366 (unixroot): Removed.
11367 (performRenameTo): Likewise.
11368 (performSetLastModified): Likewise.
11369 (performCreate): Likewise.
11370 (performDelete): Likewise.
11371 (performListRoots): Always return new array.
11372
11373 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11374 * win32.cc (win32_exception_handler): Now static.
11375 * include/win32.h (_Jv_platform_initialize): Declare.
11376 (win32_exception_handler): Don't declare.
11377 * java/lang/natSystem.cc (currentTimeMillis): Use
11378 _Jv_platform_gettimeofday.
11379 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11380 (_Jv_select): Use new name.
11381 (_Jv_platform_initialize): New function.
11382 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11383 _Jv_gettimeofday.
11384 (_Jv_platform_initialize): Declare.
11385
11386 * configure: Rebuilt.
11387 * configure.in: Removed unnecessary parens.
11388
11389 2002-02-06 Adam Megacz <adam@xwt.org>
11390
11391 * configure.in: Changed mingw) to *mingw*).
11392 * win32.cc: Created this file.
11393 * win32.h: Created this file.
11394 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11395 win32_exception_handler from prims.cc to win32.cc, added
11396 header in win32.h.
11397 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11398 longer needed now that we have platform.h
11399
11400 2002-02-06 Adam Megacz <adam@xwt.org>
11401
11402 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11403 use uint<n>_t instead of LONG and BYTE
11404
11405 2002-02-06 Adam Megacz <adam@xwt.org>
11406
11407 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11408
11409 2002-02-06 Anthony Green <green@redhat.com>
11410
11411 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11412 Implement missing method stubs.
11413 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11414 targets.
11415 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11416 concept of timezones.
11417 (init_properties): Don't refer to _Jv_Environment_Properties
11418 when this feature is not available.
11419 * include/config.h.in: Rebuilt.
11420 * acconfig.h: Add DISABLE_MAIN_ARGS.
11421 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11422 * configure: Rebuilt.
11423 * configure.in: Add --disable-main-args option. Test for
11424 opendir function. Replace AC_CHECK_SIZEOF with
11425 AC_COMPILE_CHECK_SIZEOF.
11426 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11427 * aclocal.m4: Rebuilt.
11428 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11429
11430 2002-02-06 Tom Tromey <tromey@redhat.com>
11431
11432 * verify.cc (require_array_type): If argument is a null array of
11433 references, return null as the element type.
11434
11435 2002-02-06 Mark Wielaard <mark@klomp.org>
11436
11437 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11438 duplicate of a wide type.
11439
11440 2002-02-06 Tom Tromey <tromey@redhat.com>
11441
11442 * verify.cc (type::isnull): New method.
11443 (require_array_type): Handle case where array is null.
11444 (verify_instructions_0) [op_arraylength]: Likewise.
11445
11446 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11447
11448 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11449 Symlink PLATFORMH to platform.h.
11450 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11451 PLATFORMOBJS.
11452 * java/lang/natSystem.cc: #include platform.h not posix.h.
11453 * Makefile.in: Rebuilt with libgcj automake.
11454 * configure: Rebuilt.
11455
11456 2002-02-05 Richard Henderson <rth@redhat.com>
11457
11458 * Makefile.in: Undo munging last change.
11459
11460 2002-02-04 Adam Megacz <adam@xwt.org>
11461
11462 * win32.cc: Created it.
11463 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11464 which is set to posix.cc or win32.cc.
11465 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11466
11467 2002-02-04 Adam Megacz <adam@xwt.org>
11468
11469 * configure.in: Corrected mingw case branches; added * before
11470 and after.
11471
11472 2002-02-04 Adam Megacz <adam@xwt.org>
11473
11474 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11475 if compiling for win32
11476
11477 2002-02-04 Adam Megacz <adam@xwt.org>
11478
11479 * win32-threads.cc: #undef STRICT after gc.h inclusion
11480
11481 2002-02-02 Tom Tromey <tromey@redhat.com>
11482
11483 * Makefile.in: Rebuilt.
11484
11485 2002-02-02 Jason Merrill <jason@redhat.com>
11486
11487 * Makefile.am (clean-nat): New target.
11488
11489 2002-02-02 Tom Tromey <tromey@redhat.com>
11490
11491 * java/io/natFile.cc: Removed old "FIXME" comments.
11492
11493 2002-02-01 Tom Tromey <tromey@redhat.com>
11494
11495 * java/lang/natPosixProcess.cc (myclose): New function.
11496 (fail): Use it.
11497 (startProcess): Likewise.
11498
11499 2002-02-01 Adam Megacz <adam@xwt.org>
11500
11501 * prims.cc: Added #undef STRICT after #include<windows.h>.
11502
11503 2002-02-01 Adam Megacz <adam@xwt.org>
11504
11505 * prims.cc
11506 (_Jv_CreateJavaVM): We now use WIN32 instead of
11507 USE_WIN32_SIGNALLING and USE_WINSOCK.
11508 (win32_exception_handler): Now throws an exception out of
11509 the signal handler; assumes SJLJ.
11510
11511 2002-02-01 Adam Megacz <adam@xwt.org>
11512
11513 * win32-threads.cc:
11514 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11515 wait() algorithm to make it safe.
11516 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11517 Added lazy creation of Win32 Events for better performance
11518 (really_start): This now uses GC_CreateThread so boehm-gc
11519 knows about new threads even when statically linked.
11520
11521 2002-02-01 Adam Megacz <adam@xwt.org>
11522
11523 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11524 enable safer wait() algorithm.
11525 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11526 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11527 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11528 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11529 instead of mutex.
11530 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11531
11532 2002-02-01 Adam Megacz <adam@xwt.org>
11533
11534 * configure.in: Added support for mingw.
11535 * java/lang/Win32Process.java: Created as empty file.
11536 * java/lang/natWin32Process.cc: Created as empty file.
11537
11538 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11539
11540 PR java/4972
11541 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11542 for libiconv in LIBICONV variable.
11543 * configure: Regenerated.
11544
11545 2002-01-31 Tom Tromey <tromey@redhat.com>
11546
11547 * verify.cc (state::enter_subroutine): New method.
11548 (handle_jsr_insn): Use it.
11549 (state::merge): When processing a `ret', correctly use
11550 subroutine's state to determine which local variables have
11551 changed.
11552 (push_exception_jump): Don't let stack overflow.
11553
11554 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11555
11556 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11557 --version output.
11558
11559 2002-01-30 Tom Tromey <tromey@redhat.com>
11560
11561 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11562 parameter for `recv' return type.
11563
11564 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11565 (state::merge): ... not here.
11566 (subr_entry_info): New structure.
11567 (entry_points): New field.
11568 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11569 entry_points.
11570
11571 2002-01-29 Tom Tromey <tromey@redhat.com>
11572
11573 * java/awt/List.java (addNotify): Correctly check to see if peer
11574 does not exist.
11575
11576 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11577 to compute height of each cell, and number of columns to compute
11578 width of each cell.
11579 * java/awt/Window.java (getOwnedWindows): Don't return null.
11580 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11581 of component. Increment x using horizontal gap, not vertical
11582 gap.
11583
11584 2002-01-28 Tom Tromey <tromey@redhat.com>
11585
11586 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11587 `nargs' byte is number of words, not number of arguments.
11588
11589 2002-01-27 Tom Tromey <tromey@redhat.com>
11590
11591 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11592 (when): Likewise.
11593 * java/awt/event/InputEvent.java (modifiers, when): Now
11594 package-private.
11595
11596 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11597 and to-do list.
11598 (state::merge): Use current class' class loader.
11599 (state::print): Print subroutine.
11600 (state::merge): Don't look at subroutine of unmerged `ret'.
11601
11602 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11603
11604 * nogc.cc: Remove warnings.
11605 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11606 New functions.
11607
11608 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11609
11610 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11611 int, int): Remove empty "if" statement to work around compiler bug.
11612 (newPixels(int[], ColorModel, int, int): Likewise.
11613
11614 2002-01-25 Per Bothner <per@bothner.com>
11615
11616 * verify.cc (verify_fail): Change from being a top-level function
11617 to e method of _Jv_BytecodeVerifier. Emit current method name.
11618 Pass the current verifier to type: and state: methods as needed,
11619 for better error messages, and for resolve.
11620 (resolve): Pass current class's loader for Class.forName and
11621 _Jv_FindClassFromSignature, rather than using the default loader.
11622 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11623 (get_type_val_for_signature): Make non-static.
11624 (various methods): Pass start_PC implicitly, not explicitly.
11625
11626 2002-01-25 Tom Tromey <tromey@redhat.com>
11627
11628 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11629 loop termination condition.
11630 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11631 width.
11632
11633 2002-01-24 Tom Tromey <tromey@redhat.com>
11634
11635 * java/awt/Shape.java: Merged with Classpath.
11636 * java/awt/Scrollbar.java: Merged with Classpath.
11637
11638 * java/awt/Container.java (addNotify): Unconditionally call
11639 addNotifyContainerChildren and superclass addNotify.
11640
11641 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11642 getAlpha, not getBlue.
11643
11644 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11645
11646 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11647
11648 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11649 (grabPixels(long)): Wait to be notified that the ImageProducer has
11650 completed.
11651
11652 2002-01-24 Per Bothner <per@bothner.com>
11653
11654 * verify.cc (is_assignable_from_slow): If target is an interface,
11655 we must still check the source's superclass before giving up.
11656
11657 2002-01-24 Tom Tromey <tromey@redhat.com>
11658
11659 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11660
11661 2002-01-23 Tom Tromey <tromey@redhat.com>
11662
11663 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11664 `else'.
11665
11666 * Makefile.in: Rebuilt.
11667 * Makefile.am (awt_java_source_files): Added new files.
11668 * java/awt/Toolkit.java: Merged with Classpath.
11669 * java/awt/PrintGraphics.java: New file from Classpath.
11670 * java/awt/PrintJob.java: New file from Classpath.
11671 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11672 * java/awt/datatransfer/ClipboardOwner.java: New file from
11673 Classpath.
11674 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11675 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11676 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11677 Classpath.
11678 * java/awt/datatransfer/StringSelection.java: New file from
11679 Classpath.
11680 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11681 Classpath.
11682 * java/awt/datatransfer/Transferable.java: New file from
11683 Classpath.
11684 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11685 from Classpath.
11686
11687 * Makefile.in: Rebuilt.
11688 * Makefile.am (awt_java_source_files): Added new files.
11689 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11690 Classpath.
11691 * java/awt/image/CropImageFilter.java: New file from Classpath.
11692 * java/awt/image/FilteredImageSource.java: New file from
11693 Classpath.
11694 * java/awt/image/ImageFilter.java: New file from Classpath.
11695 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11696 * java/awt/image/PixelGrabber.java: New file from Classpath.
11697 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11698 * java/awt/image/ReplicateScaleFilter.java: New file from
11699 Classpath.
11700 * java/awt/image/ImageProducer.java: Replaced with Classpath
11701 version.
11702 * java/awt/image/ImageObserver.java: Replaced with Classpath
11703 version.
11704 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11705 version.
11706 * java/awt/GridBagConstraints.java (clone): Catch
11707 CloneNotSupportedException.
11708
11709 2002-01-23 Per Bothner <per@bothner.com>
11710
11711 * java/lang/reflect/natField.cc (setAddr): New function.
11712 Calls getAddr and then checks that the field isn't final.
11713 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11714 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11715 (set): Call setAddr before check that new value has right type,
11716 to better match specified semantics.
11717
11718 2002-01-22 Tom Tromey <tromey@redhat.com>
11719
11720 * java/awt/TextField.java: Replaced with Classpath version.
11721 * java/awt/TextArea.java: Replaced with Classpath version.
11722 * java/awt/TextComponent.java: Replaced with Classpath version.
11723
11724 * java/awt/GridBagConstraints.java: Updated copyright.
11725
11726 2002-01-22 Mark Wielaard <mark@klomp.org>
11727
11728 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11729 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11730 java/awt/Dialog.java java/awt/FileDialog.java
11731 java/awt/Font.java java/awt/FontMetrics.java
11732 java/awt/Image.java java/awt/ImageMediaEntry.java
11733 java/awt/Insets.java java/awt/List.java
11734 java/awt/MediaEntry.java java/awt/MediaTracker.java
11735 java/awt/Menu.java java/awt/MenuBar.java
11736 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11737 java/awt/PaintContext.java java/awt/Panel.java
11738 java/awt/PopupMenu.java java/awt/SystemColor.java
11739 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11740 java/awt/peer/CheckboxMenuItemPeer.java
11741 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11742 java/awt/peer/ComponentPeer.java
11743 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11744 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11745 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11746 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11747 java/awt/peer/MenuBarPeer.java
11748 java/awt/peer/MenuComponentPeer.java
11749 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11750 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11751 java/awt/peer/ScrollPanePeer.java
11752 java/awt/peer/ScrollbarPeer.java
11753 java/awt/peer/TextAreaPeer.java
11754 java/awt/peer/TextComponentPeer.java
11755 java/awt/peer/TextFieldPeer.java
11756 java/awt/peer/WindowPeer.java: Add license clarification.
11757
11758 2002-01-22 Mark Wielaard <mark@klomp.org>
11759
11760 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11761 gnu/gcj/runtime/StringBuffer.java
11762 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11763 gnu/java/awt/ComponentDataBlitOp.java
11764 gnu/java/awt/GLightweightPeer.java
11765 gnu/java/beans/BeanInfoEmbryo.java
11766 gnu/java/beans/EmptyBeanInfo.java
11767 gnu/java/beans/ExplicitBeanInfo.java
11768 gnu/java/beans/IntrospectionIncubator.java
11769 gnu/java/beans/editors/ColorEditor.java
11770 gnu/java/beans/editors/FontEditor.java
11771 gnu/java/beans/editors/NativeBooleanEditor.java
11772 gnu/java/beans/editors/NativeByteEditor.java
11773 gnu/java/beans/editors/NativeDoubleEditor.java
11774 gnu/java/beans/editors/NativeFloatEditor.java
11775 gnu/java/beans/editors/NativeIntEditor.java
11776 gnu/java/beans/editors/NativeLongEditor.java
11777 gnu/java/beans/editors/NativeShortEditor.java
11778 gnu/java/beans/editors/StringEditor.java
11779 gnu/java/beans/info/ComponentBeanInfo.java
11780 gnu/java/io/ClassLoaderObjectInputStream.java
11781 gnu/java/io/NullOutputStream.java
11782 gnu/java/io/ObjectIdentityWrapper.java
11783 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11784 gnu/java/lang/reflect/TypeSignature.java
11785 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11786 gnu/java/locale/Calendar_en.java
11787 gnu/java/locale/Calendar_nl.java
11788 gnu/java/locale/LocaleInformation.java
11789 gnu/java/locale/LocaleInformation_de.java
11790 gnu/java/locale/LocaleInformation_en.java
11791 gnu/java/locale/LocaleInformation_nl.java
11792 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11793 gnu/java/rmi/registry/RegistryImpl.java
11794 gnu/java/rmi/rmic/Compile_gcj.java
11795 gnu/java/rmi/rmic/Compiler.java
11796 gnu/java/rmi/rmic/CompilerProcess.java
11797 gnu/java/rmi/rmic/RMIC.java
11798 gnu/java/rmi/rmic/TabbedWriter.java
11799 gnu/java/rmi/server/ProtocolConstants.java
11800 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11801 gnu/java/rmi/server/RMIHashes.java
11802 gnu/java/rmi/server/RMIObjectInputStream.java
11803 gnu/java/rmi/server/RMIObjectOutputStream.java
11804 gnu/java/rmi/server/UnicastConnection.java
11805 gnu/java/rmi/server/UnicastConnectionManager.java
11806 gnu/java/rmi/server/UnicastRef.java
11807 gnu/java/rmi/server/UnicastRemoteCall.java
11808 gnu/java/rmi/server/UnicastRemoteStub.java
11809 gnu/java/rmi/server/UnicastServer.java
11810 gnu/java/rmi/server/UnicastServerRef.java
11811 gnu/java/security/provider/DefaultPolicy.java
11812 gnu/java/security/provider/Gnu.java
11813 gnu/java/security/provider/SHA.java
11814 gnu/java/security/provider/SHA1PRNG.java
11815 gnu/java/text/BaseBreakIterator.java
11816 gnu/java/text/CharacterBreakIterator.java
11817 gnu/java/text/LineBreakIterator.java
11818 gnu/java/text/SentenceBreakIterator.java
11819 gnu/java/text/WordBreakIterator.java
11820 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11821 java/applet/AppletContext.java java/applet/AppletStub.java
11822 java/applet/AudioClip.java java/awt/AWTError.java
11823 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11824 java/awt/AWTException.java java/awt/AWTPermission.java
11825 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11826 java/awt/Button.java java/awt/Canvas.java
11827 java/awt/CardLayout.java java/awt/Checkbox.java
11828 java/awt/CheckboxGroup.java java/awt/Component.java
11829 java/awt/ComponentOrientation.java java/awt/Container.java
11830 java/awt/Dimension.java java/awt/Event.java
11831 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11832 java/awt/FlowLayout.java java/awt/Frame.java
11833 java/awt/Graphics.java java/awt/Graphics2D.java
11834 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11835 java/awt/IllegalComponentStateException.java
11836 java/awt/ItemSelectable.java java/awt/Label.java
11837 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11838 java/awt/MenuComponent.java java/awt/MenuItem.java
11839 java/awt/Paint.java java/awt/Point.java
11840 java/awt/Rectangle.java java/awt/RenderingHints.java
11841 java/awt/Transparency.java java/awt/Window.java
11842 java/awt/color/ColorSpace.java
11843 java/awt/color/ICC_ColorSpace.java
11844 java/awt/color/ICC_Profile.java
11845 java/awt/event/HierarchyBoundsAdapter.java
11846 java/awt/event/HierarchyBoundsListener.java
11847 java/awt/event/HierarchyEvent.java
11848 java/awt/event/HierarchyListener.java
11849 java/awt/geom/AffineTransform.java
11850 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11851 java/awt/geom/IllegalPathStateException.java
11852 java/awt/geom/Line2D.java
11853 java/awt/geom/NoninvertibleTransformException.java
11854 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11855 java/awt/geom/Rectangle2D.java
11856 java/awt/geom/RectangularShape.java
11857 java/awt/geom/RoundRectangle2D.java
11858 java/awt/image/BufferedImage.java
11859 java/awt/image/ColorModel.java
11860 java/awt/image/ComponentColorModel.java
11861 java/awt/image/ComponentSampleModel.java
11862 java/awt/image/DataBuffer.java
11863 java/awt/image/DataBufferByte.java
11864 java/awt/image/DataBufferInt.java
11865 java/awt/image/DataBufferUShort.java
11866 java/awt/image/DirectColorModel.java
11867 java/awt/image/PackedColorModel.java
11868 java/awt/image/Raster.java java/awt/image/RasterOp.java
11869 java/awt/image/SampleModel.java
11870 java/awt/image/SinglePixelPackedSampleModel.java
11871 java/awt/image/WritableRaster.java
11872 java/beans/AppletInitializer.java
11873 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11874 java/beans/Beans.java java/beans/Customizer.java
11875 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11876 java/beans/FeatureDescriptor.java
11877 java/beans/IndexedPropertyDescriptor.java
11878 java/beans/IntrospectionException.java
11879 java/beans/Introspector.java java/beans/MethodDescriptor.java
11880 java/beans/ParameterDescriptor.java
11881 java/beans/PropertyChangeEvent.java
11882 java/beans/PropertyChangeListener.java
11883 java/beans/PropertyChangeSupport.java
11884 java/beans/PropertyDescriptor.java
11885 java/beans/PropertyEditor.java
11886 java/beans/PropertyEditorManager.java
11887 java/beans/PropertyEditorSupport.java
11888 java/beans/PropertyVetoException.java
11889 java/beans/SimpleBeanInfo.java
11890 java/beans/VetoableChangeListener.java
11891 java/beans/VetoableChangeSupport.java
11892 java/beans/Visibility.java
11893 java/beans/beancontext/BeanContext.java
11894 java/beans/beancontext/BeanContextChild.java
11895 java/beans/beancontext/BeanContextChildComponentProxy.java
11896 java/beans/beancontext/BeanContextChildSupport.java
11897 java/beans/beancontext/BeanContextContainerProxy.java
11898 java/beans/beancontext/BeanContextEvent.java
11899 java/beans/beancontext/BeanContextMembershipEvent.java
11900 java/beans/beancontext/BeanContextMembershipListener.java
11901 java/beans/beancontext/BeanContextProxy.java
11902 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11903 java/beans/beancontext/BeanContextServiceProvider.java
11904 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11905 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11906 java/beans/beancontext/BeanContextServiceRevokedListener.java
11907 java/beans/beancontext/BeanContextServices.java
11908 java/beans/beancontext/BeanContextServicesListener.java
11909 java/io/BufferedInputStream.java
11910 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11911 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11912 java/io/ByteArrayOutputStream.java
11913 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11914 java/io/CharConversionException.java java/io/DataInput.java
11915 java/io/DataInputStream.java java/io/DataOutput.java
11916 java/io/EOFException.java java/io/Externalizable.java
11917 java/io/FileFilter.java java/io/FileNotFoundException.java
11918 java/io/FilePermission.java java/io/FileReader.java
11919 java/io/FileWriter.java java/io/FilenameFilter.java
11920 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11921 java/io/FilterReader.java java/io/FilterWriter.java
11922 java/io/IOException.java java/io/InputStream.java
11923 java/io/InterruptedIOException.java
11924 java/io/InvalidClassException.java
11925 java/io/InvalidObjectException.java
11926 java/io/NotActiveException.java
11927 java/io/NotSerializableException.java java/io/ObjectInput.java
11928 java/io/ObjectInputStream.java
11929 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11930 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11931 java/io/ObjectStreamConstants.java
11932 java/io/ObjectStreamException.java
11933 java/io/ObjectStreamField.java
11934 java/io/OptionalDataException.java java/io/OutputStream.java
11935 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11936 java/io/PipedReader.java java/io/PipedWriter.java
11937 java/io/PrintWriter.java java/io/PushbackInputStream.java
11938 java/io/PushbackReader.java java/io/Reader.java
11939 java/io/SequenceInputStream.java java/io/Serializable.java
11940 java/io/SerializablePermission.java
11941 java/io/StreamCorruptedException.java
11942 java/io/StreamTokenizer.java
11943 java/io/StringBufferInputStream.java java/io/StringReader.java
11944 java/io/StringWriter.java java/io/SyncFailedException.java
11945 java/io/UTFDataFormatException.java
11946 java/io/UnsupportedEncodingException.java
11947 java/io/WriteAbortedException.java java/io/Writer.java
11948 java/lang/AbstractMethodError.java
11949 java/lang/ArithmeticException.java
11950 java/lang/ArrayIndexOutOfBoundsException.java
11951 java/lang/ArrayStoreException.java java/lang/Boolean.java
11952 java/lang/Byte.java java/lang/CharSequence.java
11953 java/lang/ClassCastException.java
11954 java/lang/ClassCircularityError.java
11955 java/lang/ClassFormatError.java
11956 java/lang/ClassNotFoundException.java
11957 java/lang/CloneNotSupportedException.java
11958 java/lang/Cloneable.java java/lang/Comparable.java
11959 java/lang/Compiler.java java/lang/Double.java
11960 java/lang/Error.java java/lang/Exception.java
11961 java/lang/ExceptionInInitializerError.java
11962 java/lang/Float.java java/lang/IllegalAccessError.java
11963 java/lang/IllegalAccessException.java
11964 java/lang/IllegalArgumentException.java
11965 java/lang/IllegalMonitorStateException.java
11966 java/lang/IllegalStateException.java
11967 java/lang/IllegalThreadStateException.java
11968 java/lang/IncompatibleClassChangeError.java
11969 java/lang/IndexOutOfBoundsException.java
11970 java/lang/InheritableThreadLocal.java
11971 java/lang/InstantiationError.java
11972 java/lang/InstantiationException.java java/lang/Integer.java
11973 java/lang/InternalError.java
11974 java/lang/InterruptedException.java
11975 java/lang/LinkageError.java java/lang/Long.java
11976 java/lang/NegativeArraySizeException.java
11977 java/lang/NoClassDefFoundError.java
11978 java/lang/NoSuchFieldError.java
11979 java/lang/NoSuchFieldException.java
11980 java/lang/NoSuchMethodError.java
11981 java/lang/NoSuchMethodException.java
11982 java/lang/NullPointerException.java java/lang/Number.java
11983 java/lang/NumberFormatException.java
11984 java/lang/OutOfMemoryError.java java/lang/Package.java
11985 java/lang/Process.java java/lang/Runnable.java
11986 java/lang/RuntimeException.java
11987 java/lang/RuntimePermission.java
11988 java/lang/SecurityException.java
11989 java/lang/SecurityManager.java java/lang/Short.java
11990 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11991 java/lang/StringIndexOutOfBoundsException.java
11992 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11993 java/lang/ThreadLocal.java java/lang/UnknownError.java
11994 java/lang/UnsatisfiedLinkError.java
11995 java/lang/UnsupportedClassVersionError.java
11996 java/lang/UnsupportedOperationException.java
11997 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11998 java/lang/Void.java java/lang/ref/PhantomReference.java
11999 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12000 java/lang/ref/SoftReference.java
12001 java/lang/ref/WeakReference.java
12002 java/lang/reflect/AccessibleObject.java
12003 java/lang/reflect/InvocationTargetException.java
12004 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12005 java/lang/reflect/ReflectPermission.java
12006 java/math/BigDecimal.java java/math/BigInteger.java
12007 java/net/Authenticator.java java/net/BindException.java
12008 java/net/ConnectException.java java/net/ContentHandler.java
12009 java/net/ContentHandlerFactory.java
12010 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12011 java/net/FileNameMap.java java/net/MalformedURLException.java
12012 java/net/MulticastSocket.java java/net/NetPermission.java
12013 java/net/NoRouteToHostException.java
12014 java/net/PasswordAuthentication.java
12015 java/net/ProtocolException.java java/net/ServerSocket.java
12016 java/net/Socket.java java/net/SocketException.java
12017 java/net/SocketImpl.java java/net/SocketImplFactory.java
12018 java/net/SocketOptions.java java/net/SocketPermission.java
12019 java/net/URLDecoder.java java/net/URLEncoder.java
12020 java/net/URLStreamHandlerFactory.java
12021 java/net/UnknownHostException.java
12022 java/net/UnknownServiceException.java
12023 java/rmi/AccessException.java
12024 java/rmi/AlreadyBoundException.java
12025 java/rmi/ConnectException.java
12026 java/rmi/ConnectIOException.java
12027 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12028 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12029 java/rmi/NotBoundException.java
12030 java/rmi/RMISecurityException.java
12031 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12032 java/rmi/RemoteException.java java/rmi/ServerError.java
12033 java/rmi/ServerException.java
12034 java/rmi/ServerRuntimeException.java
12035 java/rmi/StubNotFoundException.java
12036 java/rmi/UnexpectedException.java
12037 java/rmi/UnknownHostException.java
12038 java/rmi/UnmarshalException.java
12039 java/rmi/activation/Activatable.java
12040 java/rmi/activation/ActivateFailedException.java
12041 java/rmi/activation/ActivationDesc.java
12042 java/rmi/activation/ActivationException.java
12043 java/rmi/activation/ActivationGroup.java
12044 java/rmi/activation/ActivationGroupDesc.java
12045 java/rmi/activation/ActivationGroupID.java
12046 java/rmi/activation/ActivationID.java
12047 java/rmi/activation/ActivationInstantiator.java
12048 java/rmi/activation/ActivationMonitor.java
12049 java/rmi/activation/ActivationSystem.java
12050 java/rmi/activation/Activator.java
12051 java/rmi/activation/UnknownGroupException.java
12052 java/rmi/activation/UnknownObjectException.java
12053 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12054 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12055 java/rmi/registry/Registry.java
12056 java/rmi/registry/RegistryHandler.java
12057 java/rmi/server/ExportException.java
12058 java/rmi/server/LoaderHandler.java
12059 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12060 java/rmi/server/Operation.java
12061 java/rmi/server/RMIClassLoader.java
12062 java/rmi/server/RMIClientSocketFactory.java
12063 java/rmi/server/RMIFailureHandler.java
12064 java/rmi/server/RMIServerSocketFactory.java
12065 java/rmi/server/RMISocketFactory.java
12066 java/rmi/server/RemoteCall.java
12067 java/rmi/server/RemoteObject.java
12068 java/rmi/server/RemoteRef.java
12069 java/rmi/server/RemoteServer.java
12070 java/rmi/server/RemoteStub.java
12071 java/rmi/server/ServerCloneException.java
12072 java/rmi/server/ServerNotActiveException.java
12073 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12074 java/rmi/server/SkeletonMismatchException.java
12075 java/rmi/server/SkeletonNotFoundException.java
12076 java/rmi/server/SocketSecurityException.java
12077 java/rmi/server/UID.java
12078 java/rmi/server/UnicastRemoteObject.java
12079 java/rmi/server/Unreferenced.java
12080 java/security/AccessControlContext.java
12081 java/security/AccessControlException.java
12082 java/security/AccessController.java
12083 java/security/AlgorithmParameterGenerator.java
12084 java/security/AlgorithmParameterGeneratorSpi.java
12085 java/security/AlgorithmParameters.java
12086 java/security/AlgorithmParametersSpi.java
12087 java/security/AllPermission.java
12088 java/security/BasicPermission.java
12089 java/security/Certificate.java java/security/CodeSource.java
12090 java/security/DigestException.java
12091 java/security/DigestInputStream.java
12092 java/security/DigestOutputStream.java
12093 java/security/DomainCombiner.java
12094 java/security/DummyKeyPairGenerator.java
12095 java/security/DummyMessageDigest.java
12096 java/security/DummySignature.java
12097 java/security/GeneralSecurityException.java
12098 java/security/Guard.java java/security/GuardedObject.java
12099 java/security/Identity.java java/security/IdentityScope.java
12100 java/security/InvalidAlgorithmParameterException.java
12101 java/security/InvalidKeyException.java
12102 java/security/InvalidParameterException.java
12103 java/security/Key.java java/security/KeyException.java
12104 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12105 java/security/KeyManagementException.java
12106 java/security/KeyPair.java java/security/KeyPairGenerator.java
12107 java/security/KeyPairGeneratorSpi.java
12108 java/security/KeyStore.java
12109 java/security/KeyStoreException.java
12110 java/security/KeyStoreSpi.java
12111 java/security/MessageDigest.java
12112 java/security/MessageDigestSpi.java
12113 java/security/NoSuchAlgorithmException.java
12114 java/security/NoSuchProviderException.java
12115 java/security/Permission.java
12116 java/security/PermissionCollection.java
12117 java/security/Permissions.java java/security/Policy.java
12118 java/security/Principal.java java/security/PrivateKey.java
12119 java/security/PrivilegedAction.java
12120 java/security/PrivilegedActionException.java
12121 java/security/PrivilegedExceptionAction.java
12122 java/security/ProtectionDomain.java
12123 java/security/Provider.java
12124 java/security/ProviderException.java
12125 java/security/PublicKey.java
12126 java/security/SecureClassLoader.java
12127 java/security/SecureRandom.java
12128 java/security/SecureRandomSpi.java java/security/Security.java
12129 java/security/SecurityPermission.java
12130 java/security/Signature.java
12131 java/security/SignatureException.java
12132 java/security/SignatureSpi.java
12133 java/security/SignedObject.java java/security/Signer.java
12134 java/security/UnrecoverableKeyException.java
12135 java/security/UnresolvedPermission.java
12136 java/security/acl/Acl.java java/security/acl/AclEntry.java
12137 java/security/acl/AclNotFoundException.java
12138 java/security/acl/Group.java
12139 java/security/acl/LastOwnerException.java
12140 java/security/acl/NotOwnerException.java
12141 java/security/acl/Owner.java java/security/acl/Permission.java
12142 java/security/cert/CRL.java
12143 java/security/cert/CRLException.java
12144 java/security/cert/Certificate.java
12145 java/security/cert/CertificateEncodingException.java
12146 java/security/cert/CertificateException.java
12147 java/security/cert/CertificateExpiredException.java
12148 java/security/cert/CertificateFactory.java
12149 java/security/cert/CertificateFactorySpi.java
12150 java/security/cert/CertificateNotYetValidException.java
12151 java/security/cert/CertificateParsingException.java
12152 java/security/cert/X509CRL.java
12153 java/security/cert/X509CRLEntry.java
12154 java/security/cert/X509Certificate.java
12155 java/security/cert/X509Extension.java
12156 java/security/interfaces/DSAKey.java
12157 java/security/interfaces/DSAKeyPairGenerator.java
12158 java/security/interfaces/DSAParams.java
12159 java/security/interfaces/DSAPrivateKey.java
12160 java/security/interfaces/DSAPublicKey.java
12161 java/security/interfaces/RSAKey.java
12162 java/security/interfaces/RSAPrivateCrtKey.java
12163 java/security/interfaces/RSAPrivateKey.java
12164 java/security/interfaces/RSAPublicKey.java
12165 java/security/spec/AlgorithmParameterSpec.java
12166 java/security/spec/DSAParameterSpec.java
12167 java/security/spec/DSAPrivateKeySpec.java
12168 java/security/spec/DSAPublicKeySpec.java
12169 java/security/spec/EncodedKeySpec.java
12170 java/security/spec/InvalidKeySpecException.java
12171 java/security/spec/InvalidParameterSpecException.java
12172 java/security/spec/KeySpec.java
12173 java/security/spec/PKCS8EncodedKeySpec.java
12174 java/security/spec/RSAKeyGenParameterSpec.java
12175 java/security/spec/RSAPrivateCrtKeySpec.java
12176 java/security/spec/RSAPrivateKeySpec.java
12177 java/security/spec/RSAPublicKeySpec.java
12178 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12179 java/sql/BatchUpdateException.java java/sql/Blob.java
12180 java/sql/CallableStatement.java java/sql/Clob.java
12181 java/sql/Connection.java java/sql/DataTruncation.java
12182 java/sql/DatabaseMetaData.java java/sql/Date.java
12183 java/sql/Driver.java java/sql/DriverManager.java
12184 java/sql/DriverPropertyInfo.java
12185 java/sql/PreparedStatement.java java/sql/Ref.java
12186 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12187 java/sql/SQLData.java java/sql/SQLException.java
12188 java/sql/SQLInput.java java/sql/SQLOutput.java
12189 java/sql/SQLWarning.java java/sql/Statement.java
12190 java/sql/Struct.java java/sql/Time.java
12191 java/sql/Timestamp.java java/sql/Types.java
12192 java/text/Annotation.java
12193 java/text/AttributedCharacterIterator.java
12194 java/text/AttributedString.java
12195 java/text/AttributedStringIterator.java
12196 java/text/BreakIterator.java java/text/CharacterIterator.java
12197 java/text/ChoiceFormat.java java/text/Collator.java
12198 java/text/DateFormat.java java/text/DateFormatSymbols.java
12199 java/text/DecimalFormat.java
12200 java/text/DecimalFormatSymbols.java
12201 java/text/FieldPosition.java java/text/Format.java
12202 java/text/MessageFormat.java java/text/NumberFormat.java
12203 java/text/ParseException.java java/text/ParsePosition.java
12204 java/text/SimpleDateFormat.java
12205 java/text/StringCharacterIterator.java
12206 java/util/AbstractCollection.java java/util/AbstractList.java
12207 java/util/AbstractMap.java
12208 java/util/AbstractSequentialList.java
12209 java/util/AbstractSet.java java/util/ArrayList.java
12210 java/util/Arrays.java java/util/BasicMapEntry.java
12211 java/util/BitSet.java java/util/Calendar.java
12212 java/util/Collection.java java/util/Collections.java
12213 java/util/Comparator.java
12214 java/util/ConcurrentModificationException.java
12215 java/util/Date.java java/util/Dictionary.java
12216 java/util/EmptyStackException.java java/util/Enumeration.java
12217 java/util/EventListener.java java/util/EventObject.java
12218 java/util/GregorianCalendar.java java/util/HashMap.java
12219 java/util/HashSet.java java/util/Hashtable.java
12220 java/util/IdentityHashMap.java java/util/Iterator.java
12221 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12222 java/util/LinkedList.java java/util/List.java
12223 java/util/ListIterator.java java/util/ListResourceBundle.java
12224 java/util/Locale.java java/util/Map.java
12225 java/util/MissingResourceException.java
12226 java/util/NoSuchElementException.java
12227 java/util/Observable.java java/util/Observer.java
12228 java/util/Properties.java java/util/PropertyPermission.java
12229 java/util/PropertyResourceBundle.java java/util/Random.java
12230 java/util/RandomAccess.java java/util/ResourceBundle.java
12231 java/util/Set.java java/util/SimpleTimeZone.java
12232 java/util/SortedMap.java java/util/SortedSet.java
12233 java/util/Stack.java java/util/StringTokenizer.java
12234 java/util/TimeZone.java java/util/Timer.java
12235 java/util/TimerTask.java
12236 java/util/TooManyListenersException.java
12237 java/util/TreeMap.java java/util/TreeSet.java
12238 java/util/Vector.java java/util/WeakHashMap.java
12239 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12240 java/util/jar/JarException.java java/util/jar/JarFile.java
12241 java/util/jar/JarInputStream.java
12242 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12243 java/util/zip/Adler32.java java/util/zip/CRC32.java
12244 java/util/zip/CheckedInputStream.java
12245 java/util/zip/CheckedOutputStream.java
12246 java/util/zip/Checksum.java
12247 java/util/zip/DataFormatException.java
12248 java/util/zip/Deflater.java
12249 java/util/zip/DeflaterOutputStream.java
12250 java/util/zip/GZIPInputStream.java
12251 java/util/zip/GZIPOutputStream.java
12252 java/util/zip/Inflater.java
12253 java/util/zip/InflaterInputStream.java
12254 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12255 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12256 java/util/zip/ZipInputStream.java
12257 java/util/zip/ZipOutputStream.java
12258 javax/naming/BinaryRefAddr.java
12259 javax/naming/InvalidNameException.java javax/naming/Name.java
12260 javax/naming/NamingException.java javax/naming/RefAddr.java
12261 javax/naming/StringRefAddr.java: Add license clarification.
12262
12263 2002-01-22 Tom Tromey <tromey@redhat.com>
12264
12265 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12266 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12267 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12268 version.
12269 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12270 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12271 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12272 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12273 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12274 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12275 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12276 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12277 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12278 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12279 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12280 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12281 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12282 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12283 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12284 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12285 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12286 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12287 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12288 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12289 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12290 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12291 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12292 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12293 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12294 (minimumSize, preferredSize, reshape): Likewise.
12295 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12296 getColorModel): New methods.
12297 * java/awt/PopupMenu.java: Merged with Classpath.
12298 * java/awt/MenuBar.java: Merged with Classpath.
12299 * java/awt/SystemColor.java: Replace with Classpath version.
12300 * java/awt/Panel.java: Merged with Classpath.
12301 * java/awt/PaintContext.java: Updated copyright.
12302 * java/awt/MenuShortcut.java: Merged with Classpath.
12303 * java/awt/MenuContainer.java: Merged with Classpath.
12304 * java/awt/Menu.java: Merged with Classpath.
12305 * java/awt/MediaEntry.java: New file from Classpath.
12306 * java/awt/MediaTracker.java: New file from Classpath.
12307 * java/awt/List.java: Merged with Classpath version.
12308 * java/awt/Insets.java: Merged with Classpath version.
12309 * java/awt/ImageMediaEntry.java: New file from Classpath.
12310 * java/awt/Image.java: Replaced with Classpath version.
12311 * java/awt/FontMetrics.java: Merged with Classpath version.
12312 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12313 constant.
12314 * java/awt/Font.java: Merged with Classpath version.
12315 * java/awt/Dialog.java: Merged with Classpath version.
12316 * java/awt/Color.java: Merged with Classpath version.
12317 * java/awt/Choice.java: Merged with Classpath version.
12318 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12319 * java/awt/Adjustable.java: Replace with Classpath version.
12320 * java/awt/MenuItem.java (paramString): Don't include class name
12321 or brackets. Call superclass paramString.
12322 * java/awt/MenuComponent.java (toString): Call paramString.
12323 (paramString): Compute string; don't call toString.
12324 * java/awt/Label.java (paramString): Don't include class name
12325 or brackets. Call superclass paramString.
12326 * java/awt/Checkbox.java (paramString): Don't include class name
12327 or brackets. Call superclass paramString.
12328 * java/awt/Button.java (paramString): Don't include class name or
12329 brackets. Call superclass paramString.
12330 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12331
12332 2002-01-20 Andreas Schwab <schwab@suse.de>
12333
12334 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12335 function and of parameter recv_func to ssize_t, as specified by
12336 POSIX.
12337
12338 2002-01-19 Per Bothner <per@bothner.com>
12339
12340 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12341 uncompressed_size in readiness for next entry.
12342
12343 2002-01-18 Tom Tromey <tromey@redhat.com>
12344
12345 * java/net/natPlainSocketImpl.cc: Include
12346 IllegalArgumentException.h.
12347 (_Jv_recv): New template function.
12348 (BooleanClass): Removed.
12349 (read): Use _Jv_recv.
12350 (setOption): Use Boolean::class$. Throw exception if object is
12351 not Boolean or Integer.
12352
12353 2002-01-17 Tom Tromey <tromey@redhat.com>
12354
12355 * java/awt/MenuComponent.java: Merged with Classpath.
12356 * java/awt/MenuItem.java: Merged with Classpath.
12357 * java/awt/Button.java: Merged with Classpath.
12358
12359 * java/awt/ActiveEvent.java: Updated copyright.
12360
12361 * java/awt/AWTError.java: Replaced with Classpath version.
12362 * java/awt/AWTException.java: Replaced with Classpath version.
12363 * java/awt/IllegalComponentStateException.java: Replaced with
12364 Classpath version.
12365
12366 2002-01-16 Tom Tromey <tromey@redhat.com>
12367
12368 * java/awt/Canvas.java (serialVersionUID): New constant.
12369 Updated copyright. Added javadoc from Classpath.
12370 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12371
12372 * java/awt/CheckboxGroup.java: Merged with Classpath.
12373 * java/awt/Checkbox.java: Merged with Classpath.
12374
12375 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12376 Classpath.
12377 * java/awt/Point.java: Updated copyright.
12378
12379 * java/awt/Point.java (toString): Use getClass().getName().
12380 Added javadoc.
12381
12382 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12383 commented code.
12384 (hash): Correctly compute initial value for `h'.
12385
12386 * java/awt/Label.java: Merged with Classpath.
12387
12388 2002-01-15 Tom Tromey <tromey@redhat.com>
12389
12390 * java/awt/AWTPermission.java: Updated copyright.
12391
12392 * java/awt/LayoutManager2.java: Merged with Classpath.
12393 * java/awt/LayoutManager.java: Merged with Classpath.
12394 * java/awt/GridLayout.java: Updated copyright and javadoc.
12395 (getSize): Use `parent.ncomponents'. Handle insets.
12396 (layoutContainer): Use `parent.ncomponents'. Handle case where
12397 there are fewer children than columns. Correctly compute size of
12398 each cell in the grid. Handle case where there isn't enough
12399 space.
12400 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12401 all users.
12402 (gotoComponent): Use parent.ncomponents. Ensure child exists
12403 before calling setVisible() on it. Last item is `num - 1', not
12404 `num'.
12405 (layoutContainer): Hoist invariants out of loop.
12406
12407 Start of AWT merge with Classpath:
12408 * Makefile.in: Rebuilt.
12409 * Makefile.am (awt_java_source_files): Reference files in
12410 gnu/java/awt, not gnu/gcj/awt.
12411 * java/awt/image/BufferedImage.java: Updated copyright.
12412 * java/awt/image/ComponentColorModel.java: Updated copyright.
12413 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12414 * java/awt/image/DataBuffer.java: Updated copyright.
12415 * java/awt/image/DataBufferByte.java: Updated copyright.
12416 * java/awt/image/DataBufferInt.java: Updated copyright.
12417 * java/awt/image/DataBufferUShort.java: Updated copyright.
12418 * java/awt/image/IndexColorModel.java: Updated copyright.
12419 * java/awt/image/PackedColorModel.java: Updated copyright.
12420 * java/awt/image/Raster.java: Updated copyright.
12421 * java/awt/image/RasterOp.java: Updated copyright.
12422 * java/awt/image/SampleModel.java: Updated copyright.
12423 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12424 * java/awt/image/WritableRaster.java: Updated copyright.
12425 * java/awt/color/ColorSpace.java: Updated copyright.
12426 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12427 * java/awt/color/ICC_Profile.java: Updated copyright.
12428 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12429 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12430 * java/awt/event/HierarchyEvent.java: Updated copyright.
12431 * java/awt/event/HierarchyListener.java: Updated copyright.
12432 * java/awt/geom/AffineTransform.java: Updated copyright.
12433 * java/awt/geom/Dimension2D.java: Updated copyright.
12434 * java/awt/geom/Ellipse2D.java: Updated copyright.
12435 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12436 * java/awt/geom/Line2D.java: Updated copyright.
12437 * java/awt/geom/NoninvertibleTransformException.java: Updated
12438 copyright.
12439 * java/awt/geom/PathIterator.java: Updated copyright.
12440 * java/awt/geom/Point2D.java: Updated copyright.
12441 * java/awt/geom/Rectangle2D.java: Updated copyright.
12442 * java/awt/geom/RectangularShape.java: Updated copyright.
12443 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12444 * java/awt/Toolkit.java: Updated import for file moves.
12445 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12446 Classpath.
12447 (hashCode): New method from Classpath.
12448 * java/awt/Graphics2D.java: Updated copyright.
12449 * java/awt/Transparency.java: Updated copyright.
12450 * java/awt/Paint.java: Updated copyright.
12451 * java/awt/Graphics.java: New version from Classpath.
12452 * java/awt/EventDispatchThread.java: Updated copyright.
12453 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12454 children.
12455 (gotoComponent): Wrap around on next/previous.
12456 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12457 * gnu/gcj/awt/Buffers.java: Removed.
12458 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12459 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12460 * gnu/java/awt/BitMaskExtent.java: Added.
12461 * gnu/java/awt/Buffers.java: Added.
12462 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12463 * gnu/java/awt/GLightweightPeer.java: Added.
12464 * java/awt/geom/Line2D.java (clone): Ignore
12465 CloneNotSupportedException.
12466 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12467 * java/awt/Frame.java: Merged with Classpath.
12468 * java/awt/RenderingHints.java: Copyright update.
12469 * java/awt/Paint.java: Copyright update.
12470 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12471 * java/awt/image/ColorModel.java: Merged with Classpath.
12472 * java/awt/Window.java (show): New Implementation from Classpath.
12473 (isShowing): Use super.isShowing().
12474 * java/awt/EventQueue.java: Merged with Classpath.
12475 * java/awt/AWTEventMulticaster.java (save): Throw
12476 RuntimeException.
12477 (saveInternal): Likewise.
12478 * java/awt/AWTEvent.java: Now implements Serializable.
12479 * java/awt/Event.java: Copyright update.
12480 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12481 * java/awt/image/BufferedImage.java: Copyright update.
12482 * java/awt/GraphicsConfiguration.java: Copyright update.
12483 * java/awt/Component.java: (addNotify): Don't call
12484 addNotifyContainerChildren().
12485 (addNotifyContainerChildren): Removed.
12486 (setPeer): New method from Classpath.
12487 (setTreeLock): Likewise.
12488 (setVisible): Rewrote.
12489 (show): Use it.
12490 (hide): Likewise.
12491 (validate): Set `valid'.
12492 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12493 (createImage(ImageProducer)): Likewise.
12494 (prepareImage): Likewise.
12495 * java/awt/Container.java (addImpl): Handle case where constraint
12496 is not a String. Post event via system event queue.
12497 (remove): Post event via system event queue.
12498 (validateTree): Only validate child if it is invalid.
12499 (getAlignmentX): Call super method as default.
12500 (getAlignmentY): Likewise.
12501 (addContainerListener): Now synchronized.
12502 (removeContainerListener): Likewise.
12503 (addNotifyContainerChildren): Now private.
12504 * java/awt/ComponentOrientation.java: Updated copyright. Added
12505 @author.
12506 * java/awt/FlowLayout.java (serialVersionUID): New field.
12507 (setAlignment): Better exception message.
12508 (layoutContainer): Don't compute component's preferred size unless
12509 we're going to use it.
12510 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12511 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12512 (firstLine, lastLine, firstItem, lastItem): New fields.
12513 (addLayoutComponent): Handle case where constraints is null.
12514 Also, handle relative locations.
12515 (removeLayoutComponent): Handle relative locations.
12516 (MIN, MAX, PREF): New constants.
12517 (calcCompSize): New method.
12518 (calcSize): New method.
12519 (minimumLayoutSize): Use it.
12520 (preferredLayoutSize): Likewise.
12521 (maximumLayoutSize): Likewise.
12522 (toString): Include more information.
12523 (setBounds): New method.
12524 (layoutContainer): Use libgcj implementation; extended to handle
12525 relative locations.
12526
12527 2002-01-15 Tom Tromey <tromey@redhat.com>
12528
12529 * java/lang/Float.java (equals): Preserve old code.
12530 * java/lang/Double.java (equals): Preserve old code.
12531
12532 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12533
12534 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12535 * java/lang/Float.java (equals, compare): Ditto.
12536
12537 2002-01-13 Mark Wielaard <mark@klomp.org>
12538
12539 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12540 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12541 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12542 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12543
12544 2002-01-11 Mark Wielaard <mark@klomp.org>
12545
12546 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12547 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12548 InetAddress.
12549 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12550 * java/net/Socket.java: Merge with Classpath.
12551 * java/net/ServerSocket.java: Likewise.
12552
12553 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12554
12555 * interpret.cc (NULLARRAYCHECK): New macro.
12556 (SAVE_PC): Just store `pc'.
12557 (find_exception): Subtract one from `pc' here.
12558 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12559 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12560 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12561 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12562 don't call SAVE_PC.
12563 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12564 call SAVE_PC.
12565
12566 2002-01-11 Tom Tromey <tromey@redhat.com>
12567
12568 * java/lang/natSystem.cc (init_properties): Only look for default
12569 locale if LC_MESSAGES is defined.
12570 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12571 * configure.in: Call AM_LC_MESSAGES.
12572 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12573
12574 2002-01-10 Tom Tromey <tromey@redhat.com>
12575
12576 For PR libgcj/5303:
12577 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12578 --version. Recognize GNU-style long options. Print GNU-style
12579 error messages.
12580 (usage): Print GNU-style help. Exit with status 0.
12581 (error): New method.
12582 (run): Print error message if no class names found.
12583 (main): Don't print usage on error.
12584
12585 2002-01-09 Tom Tromey <tromey@redhat.com>
12586
12587 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12588 property.
12589 (help, version): Use println(), not println("").
12590
12591 For PR libgcj/5303:
12592 * gnu/gcj/convert/Convert.java (error): Program is called
12593 `jv-convert'. Print GNU-style message. Exit with status 1, not
12594 -1.
12595 (main): Handle --help and --version.
12596 (help): New method.
12597 (version): Likewise.
12598
12599 2002-01-08 Tom Tromey <tromey@redhat.com>
12600
12601 * Makefile.in: Rebuilt.
12602 * Makefile.am (ordinary_java_source_files): Added new files.
12603 * gnu/java/locale/LocaleInformation.java: Extend
12604 LocaleInformation_en.
12605 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12606 and time/date formats.
12607 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12608 generated.
12609 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12610 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12611 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12612 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12613 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12614 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12615 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12616 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12617 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12618 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12619 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12620 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12621 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12622 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12623 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12624 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12625 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12626 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12627 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12628 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12629 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12630 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12631 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12632 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12633 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12634 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12635 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12636 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12637 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12638 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12639 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12640 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12641 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12642 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12643 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12644 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12645 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12646 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12647 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12648 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12649 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12650 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12651 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12652 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12653 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12654 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12655 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12656 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12657 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12658 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12659 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12660 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12661 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12662 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12663 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12664 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12665 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12666 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12667 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12668 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12669 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12670 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12671 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12672 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12673 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12674 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12675 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12676 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12677 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12678 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12679 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12680 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12681 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12682 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12683 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12684 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12685 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12686 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12687 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12688 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12689 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12690 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12691 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12692 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12693 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12694 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12695 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12696 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12697 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12698 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12699 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12700 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12701 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12702 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12703 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12704 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12705 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12706 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12707 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12708 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12709 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12710 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12711 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12712 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12713 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12714 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12715 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12716 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12717 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12718 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12719 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12720 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12721 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12722 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12723 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12724 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12725 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12726 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12727 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12728 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12729 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12730 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12731 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12732 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12733 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12734 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12735 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12736 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12737 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12738 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12739
12740 For PR libgcj/5031:
12741 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12742 choose default locale.
12743
12744 * Makefile.in: Rebuilt.
12745 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12746
12747 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12748
12749 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12750 sockets.
12751 (close): New function closes the socket.
12752 (write): New functions for output to socket.
12753 (read): New functions for reading from socket.
12754 * java/net/PlainSocketImpl.java: Glue for new timeout
12755 implementation.
12756 (write): Call the native impl.
12757 (read): Likewise.
12758 (getInputStream): Get a stream to read from the socket.
12759 (getOutputStream): Get a stream to write to the socket.
12760
12761 2002-01-08 Tom Tromey <tromey@redhat.com>
12762
12763 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12764
12765 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12766
12767 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12768 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12769
12770 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12771
12772 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12773 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12774 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12775 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12776 insn_bastore, insn_castore, insn_sastore]: Use it.
12777 (continue1) [insn_arraylength]: Check for null array.
12778
12779 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12780
12781 * configure, include/config.h.in: Rebuilt.
12782 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12783 * configure.in: Call AC_STRUCT_TIMEZONE.
12784
12785 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12786
12787 * configure.host: Disable the interpreter for Darwin.
12788
12789 2002-01-04 Tom Tromey <tromey@redhat.com>
12790
12791 * java/lang/Thread.java (stop): No longer synchronized.
12792 (start): Likewise.
12793
12794 2002-01-02 Tom Tromey <tromey@redhat.com>
12795
12796 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12797 patch.
12798
12799 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12800
12801 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12802 PPC Darwin, not for all of Darwin.