2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
[gcc.git] / libjava / ChangeLog
1 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
2 Michael Koch <konqueror@gmx.de>
3
4 * gnu/java/awt/EmbeddedWindow.java
5 (EmbeddedWindow): Extends Frame instead of Window.
6 (window_id): New member variable to store the native window handle.
7 (create): Removed.
8 (EmbeddedWindow): New constructor.
9 (addNotify): New method.
10 (getHandler): Likewise.
11 (setWindowPeer): New native method.
12 * gnu/java/awt/EmbeddedWindowSupport.java
13 (EmbeddedWindowSupport): Fixed documentation.
14 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
15 WindowPeer, give it an EmbeddedWindow instance instead of the raw
16 window data.
17 * gnu/java/awt/natEmbeddedWindow.cc
18 (create): Removed.
19 (setWindowPeer): New method.
20 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
21 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
22 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
23 New files
24 * gnu/java/awt/peer/gtk/GtkToolkit.java
25 (GtkToolkit): Implements EmbeddedWindowSupport.
26 (createEmbeddedWindow): New method.
27 * java/awt/Window.java
28 (Window): Removed.
29 * Makefile.am
30 (java_source_files): Added EmbeddedWindowPeer.java.
31 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
32 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
33 * Makefile.in: Regenerated.
34
35 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
36
37 * java/lang/Win32Process.java (ConcreteProcess): Surround
38 a command line element with quotes if it contains an
39 embedded space or tab.
40 * java/lang/natWin32Process.cc (startProcess): Do not
41 surround command line elements with quotes here.
42
43 * configure.host: Use -fcheck-references and
44 -fuse-divide-subroutine for MinGW until we fix
45 win32_exception_handler( ) in win32.cc w.r.t. Win32
46 Structured Exception Handling (SEH).
47
48 * win32.cc (_Jv_platform_initProperties): Use generic names
49 like "x86" for the "os.arch" property to be consistent with
50 what Sun's JDK produces. Use the wProcessorArchitecture
51 member of the Win32 SYSTEM_INFO structure, filled in a call
52 to GetSystemInfo( ), instead of dwProcessorType.
53
54 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
55 Ranjit Mathew <rmathew@hotmail.com>
56
57 * Makefile.am: Use cross-compiling gcjh from the path for
58 a crossed-native build.
59 * Makefile.in: Rebuilt.
60 * configure.in: Include libltdl in non-newlib builds.
61 Moved determination of gcj used to build libraries to
62 its own section. Fixed cross-compilation issues for
63 non-newlib builds.
64 * configure: Rebuilt.
65
66 2003-07-25 Tom Tromey <tromey@redhat.com>
67
68 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
69 (write): Likewise.
70 (read): Likewise.
71 (read): Likewise.
72
73 2003-07-25 Mark Wielaard <mark@klomp.org>
74
75 * java/lang/natRuntime.cc (_load): Add library name to
76 UnsatisfiedLinkError when thrown.
77
78 2003-07-25 Mark Wielaard <mark@klomp.org>
79
80 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
81 added.
82 * Makefile.in: Likewise.
83
84 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
85
86 * java/awt/Component.java
87 (getPreferredSize): Call preferredSize.
88 (preferredSize): Moved body of getPreferredSize here.
89 (getMinimumSize): Call minimumSize.
90 (minimumSize): Moved body of getMinimumSize here.
91 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
92 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
93 pass -1
94 * java/awt/Container.java
95 (validate): Don't validate if there is no peer.
96 (update): Clear background before calling paint.
97 * java/awt/GridBagLayout.java
98 Completed the implementation and fixed several bugs.
99 * java/awt/MediaTracker.java
100 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
101 combine flags.
102 * java/awt/Window.java
103 (Window): Don't call setVisible(false). Windows are invisible by
104 default and calling virtual methods from constructor causes
105 compatibility problems (e.g. subclasses may assume that the peer
106 already exists).
107
108 2003-07-25 Michael Koch <konqueror@gmx.de>
109
110 * java/awt/GridBagLayout.java:
111 Totally reworked and partly implemented.
112 * java/awt/GridBagLayoutInfo.java:
113 New file.
114
115 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
116
117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
118 Don't pack label in an event box.
119
120 2003-07-24 Tom Tromey <tromey@redhat.com>
121
122 For PR libgcj/7482:
123 * verify.cc (ref_intersection): New class.
124 (type_val): Removed unresolved_reference_type,
125 uninitialized_unresolved_reference_type.
126 (is_assignable_from_slow): Rewrote.
127 (type::data): Removed.
128 (type::klass): New field.
129 (type::type): Added verifier argument.
130 (type::resolve): Removed.
131 (type::set_uninitialized): Updated for change to type_val.
132 (type::set_initialized): Likewise.
133 (type::isinitialized): Likewise.
134 (type::print): Likewise.
135 (construct_primitive_array_type): Likewise.
136 (type::compatible): Updated for change to type_val and to use
137 ref_intersection.
138 (type::isarray): Updated to use ref_intersection.
139 (type::isinterface): Likewise.
140 (type::element_type): Likewise.
141 (type::to_array): Likewise.
142 (type::verify_dimensions): Rewrote.
143 (type::merge): Likewise.
144 (check_class_constant): Updated for type constructor change.
145 (check_constant): Likewise.
146 (check_field_constant): Likewise.
147 (get_one_type): Likewise.
148 (initialize_stack): Likewise.
149 (verify_instructions_0): Likewise.
150 (verify_instructions_0) [op_invokeinterface]: Removed special
151 case.
152 (isect_list): New field.
153 (_Jv_BytecodeVerifier): Initialize it.
154 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
155
156 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
157
158 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
159 unless field size is 2.
160
161 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
162
163 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
164 (connectHooks): New method.
165 (handleEvent): Remove.
166 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
167 (createHooks): Remove declaration.
168 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
169 (generates_key_typed_event): Change to handle only certain
170 keyvals.
171 (awt_event_handler): Add special handling for GtkTextView.
172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
173 (textcomponent_commit_cb): New function.
174 (textcomponent_changed_cb): Likewise.
175 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
176 (connectHooks): Remove.
177
178 2003-07-23 Tom Tromey <tromey@redhat.com>
179
180 * java/lang/natSystem.cc (arraycopy): Check for overflow.
181
182 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
183
184 2003-07-22 Tom Tromey <tromey@redhat.com>
185
186 * boehm.cc (_Jv_BuildGCDescr): Wrote.
187 Include limits.h.
188
189 2003-07-22 Tom Tromey <tromey@redhat.com>
190
191 * java/awt/Window.java (getWarningString): Just return the
192 string.
193 (Window): Set warningString; check with security manager.
194
195 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
196
197 * gnu/awt/xlib/XGraphicsConfiguration.java
198 (FontMetricsCache): Made static.
199
200 2003-07-22 Tom Tromey <tromey@redhat.com>
201
202 * java/net/URLEncoder.java (encode(String)): Use platform default
203 encoding.
204 (encode(String,String)): Convert to 2-digit upper-case hex
205 number.
206 (hex): New field.
207
208 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
209
210 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
211 (create): Remove unused method implementation.
212 (connectHooks): Remove debug messages.
213
214 2003-07-20 Anthony Green <green@redhat.com>
215
216 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
217 CloneNotSupportedException.
218 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
219 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
220 * gnu/gcj/xlib/GC.java (clone): Ditto.
221 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
222 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
223
224 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
225 handler.
226 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
227
228 2003-07-20 Steve Pribyl <steve@netfuel.com.>
229
230 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
231 String. Put dlerror() message into exception.
232 Include UnsatisfiedLinkError.
233 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
234 String. Now native.
235
236 2003-07-20 Tom Tromey <tromey@redhat.com>
237
238 * java/lang/Runtime.java: Comment fix.
239 * java/lang/ClassLoader.java (isAncestorOf): New method.
240 (getParent): Uncommented security check. Use isAncestorOf.
241 * include/jvm.h (_Jv_CheckAccess): Declare.
242 * java/lang/reflect/natConstructor.cc (newInstance): Perform
243 access check.
244 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
245 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
246 class loader to _Jv_GetArrayClass.
247 Include ArrayIndexOutOfBoundsException.h.
248 * java/lang/reflect/Field.java: Update comment to reflect status.
249 (equals): Fixed indentation.
250 * java/lang/Class.h (Class): Declare memberAccessCheck, not
251 checkMemberAccess. Make _Jv_CheckAccess a friend.
252 * java/lang/Class.java (memberAccessCheck): New method from
253 Classpath.
254 (checkMemberAccess): Removed.
255 (getDeclaredMethod): Use memberAccessCheck.
256 (getField): Likewise.
257 (getMethod): Likewise.
258 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
259 (_Jv_SearchMethodInClass): Likewise.
260 * prims.cc (_Jv_CheckAccess): New function.
261 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
262 (_Jv_JNI_GetAnyFieldID): Likewise.
263 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
264 (getClassLoader): Added security check.
265 (getConstructor): Call memberAccessCheck.
266 (getDeclaredClasses): Likewise.
267 (getDeclaredField): Likewise.
268 (getDeclaredFields): Likewise.
269 (_getConstructors): Likewise.
270 (getDeclaredConstructor): Likewise.
271 (getDeclaredMethods): Likewise.
272 (getFields): Likewise.
273 (getMethods): Likewise.
274 (newInstance): Likewise.
275 (_Jv_MakeVTable): Put method name in exception.
276 * java/lang/reflect/natMethod.cc (getType): Use
277 getClassLoaderInternal.
278 (_Jv_GetTypesFromSignature): Likewise.
279 (invoke): Perform access check.
280 (_Jv_CallAnyMethodA): Removed old FIXME comments.
281 Include ArrayIndexOutOfBoundsException.h.
282 * java/lang/reflect/natField.cc (getType): Use
283 getClassLoaderInternal.
284 (_Jv_CheckFieldAccessibility): Removed.
285 (getAddr): Use _Jv_CheckAccess; find caller.
286 Include ArrayIndexOutOfBoundsException.h.
287
288 2003-07-20 Michael Koch <konqueror@gmx.de>
289
290 * java/net/URL.java
291 (URL): Fixed documentation to name an argument correcty, Reformatted
292 one method declaration.
293 (getURLStreamHandler): Added documentation from classpath.
294
295 2003-07-19 Tom Tromey <tromey@redhat.com>
296
297 * mauve-libgcj: Don't run CollationElementIterator tests.
298
299 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
300
301 * java/net/URLClassLoader.java (addURL): Moved implementation to
302 private addURLImpl() to avoid calling addURL from the constructor.
303 (addURLImpl): Contains the code that was previously in addURL.
304 (addURLs): Call addURLImpl(), not addURL().
305
306 2003-07-18 Graydon Hoare <graydon@redhat.com>
307
308 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
309 Handle missing event cases, connect to "value-changed" signal.
310
311 2003-07-18 Graydon Hoare <graydon@redhat.com>
312
313 * java/awt/geom/CubicCurve2D.java,
314 java/awt/geom/Line2D.java,
315 java/awt/geom/QuadCurve2D.java,
316 java/awt/geom/Rectangle2D.java:
317 Fix path some calculations, make path iterators follow
318 a consistent style.
319
320 2003-07-18 Mark Wielaard <mark@klomp.org>
321
322 * java/util/logging/Handler.java (isLoggable): Check record level
323 smaller or equal.
324
325 2003-07-17 Michael Koch <konqueror@gmx.de>
326
327 * gnu/java/awt/peer/gtk/GtkToolkit.java:
328 Reworked imports.
329
330 2003-07-14 Michael Koch <konqueror@gmx.de>
331
332 * gnu/java/rmi/server/UnicastServerRef.java:
333 New version from classpath.
334
335 2003-07-14 Michael Koch <konqueror@gmx.de>
336
337 * java/awt/image/MemoryImageSource.java,
338 java/beans/PropertyEditorManager.java,
339 javax/naming/CompoundName.java,
340 javax/naming/spi/NamingManager.java,
341 javax/swing/AbstractButton.java,
342 javax/swing/ButtonModel.java,
343 javax/swing/SwingUtilities.java,
344 javax/swing/UIManager.java,
345 javax/swing/colorchooser/DefaultColorSelectionModel.java,
346 javax/swing/event/AncestorEvent.java,
347 javax/swing/event/InternalFrameEvent.java,
348 java/util/zip/ZipFile.java:
349 New versions from classpath.
350
351 2003-07-13 Michael Koch <konqueror@gmx.de>
352
353 * gnu/java/nio/FileChannelImpl.java,
354 gnu/java/nio/natFileChannelImpl.cc: Removed.
355 * java/io/FileInputStream.java,
356 java/io/FileOutputStream.java,
357 java/io/RandomAccessFile.java,
358 java/nio/MappedByteBufferImpl.java:
359 Import java.nio.channels.FileChannelImpl instead of
360 gnu.java.nio.FileChannelImpl.
361 * java/nio/channels/FileChannelImpl.java,
362 java/nio/channels/natFileChannelImpl.cc:
363 New files.
364 * Makefile.am
365 (ordinary_java_source_files):
366 Removed gnu/java/nio/FileChannelImpl.java and added
367 java/nio/channels/FileChannelImpl.java.
368 (nat source_files):
369 Removed gnu/java/nio/natFileChannelImpl.cc and added
370 java/nio/channels/natFileChannelImpl.cc.
371 * Makefile.in: Regenerated.
372
373 2003-07-13 Michael Koch <konqueror@gmx.de>
374
375 * javax/swing/plaf/basic/BasicBorders.java,
376 javax/swing/plaf/basic/BasicLabelUI.java,
377 javax/swing/plaf/basic/BasicLookAndFeel.java,
378 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
379 javax/swing/plaf/basic/BasicTextUI.java,
380 javax/swing/plaf/metal/MetalLookAndFeel.java:
381 New versions from classpath.
382
383 2003-07-13 Michael Koch <konqueror@gmx.de>
384
385 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
386 * gnu/java/awt/peer/gtk/GdkGraphics.java
387 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
388 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
389 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
390 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
391 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
392 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
393 * gnu/java/awt/peer/gtk/GtkClipboard.java
394 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
395 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
396 * gnu/java/awt/peer/gtk/GtkFramePeer.java
397 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
398 * gnu/java/awt/peer/gtk/GtkImage.java
399 * gnu/java/awt/peer/gtk/GtkImagePainter.java
400 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
401 * gnu/java/awt/peer/gtk/GtkListPeer.java
402 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
403 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
404 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
405 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
406 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
407 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
408 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
409 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
410 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
411 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
412 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
413 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
414
415 2003-07-13 Michael Koch <konqueror@gmx.de>
416
417 * gnu/java/locale/LocaleInformation_de.java
418 * gnu/java/locale/LocaleInformation_en.java
419 * gnu/java/locale/LocaleInformation_nl.java
420
421 2003-07-13 Michael Koch <konqueror@gmx.de>
422
423 * gnu/java/awt/EmbeddedWindow.java,
424 gnu/java/awt/EmbeddedWindowSupport.java,
425 gnu/java/awt/natEmbeddedWindow.cc:
426 New files.
427 * java/awt/Window.java
428 (Window): New constructor to support embedded windows.
429 * Makefile.am
430 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
431 gnu/java/awt/EmbeddedWindowSupport.java.
432 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
433 * Makefile.in: Regenerated.
434
435 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
436
437 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
438 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
439 * java/awt/im/InputContext.java: Remove a redundant
440 partial line.
441
442 2003-07-09 Tom Tromey <tromey@redhat.com>
443
444 * Makefile.in: Rebuilt.
445 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
446
447 2003-07-09 Mark Wielaard <mark@klomp.org>
448
449 * java/io/ObjectOutputStream.java (writeObject): break after
450 calling writeClassDescriptor().
451
452 2003-07-09 Mark Mitchell <mark@codesourcery.com>
453
454 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
455
456 2003-07-09 Michael Koch <konqueror@gmx.de>
457
458 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
459 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
460 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
461 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
462 Explicitly import used classes.
463 * java/awt/Container.java: New version from classpath.
464
465 2003-07-09 Michael Koch <konqueror@gmx.de>
466
467 * libgcj.pc.in: New file.
468 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
469 * Makefile.in: Regenerated.
470 * configure: Regenrated.
471 * configure.in: Create libgcj.pc from libgcj.pc.in.
472
473 2003-07-08 Mark Wielaard <mark@klomp.org>
474
475 * gcj/cni.h: CNI now expands to Compiled Native Interface.
476
477 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
478 * java/lang/fdlibm.h: Likewise.
479
480 2003-07-07 Adam Megacz <adam@xwt.org>
481
482 * posix.cc: added #include<stdio.h>
483
484 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
485
486 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
487 formatting.
488
489 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
490 (setCaretPosition, setEditable): Rely entirely on native
491 implementation.
492 (getArgs): Remove.
493 (postTextEvent): New method.
494 (handleEvent): New method.
495 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
496 method.
497 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
498 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
499 (keysym_to_awt_keycode): Fix range checks.
500 (generates_key_typed_event): New function.
501 (awt_event_handler): Post AWT_KEY_RELEASED events to event
502 queue.
503 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
504 (gtkInit): Store TextComponent's postTextEvent method ID.
505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
506 (setText): Post TEXT_VALUE_CHANGED event to event queue.
507
508 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
509
510 * configure.in: Check for usleep declaration.
511 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
512 * configure: Regenerate.
513 * include/config.h.in: Likewise.
514 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
515
516 2003-07-01 Michael Koch <konqueror@gmx.de>
517
518 * gnu/gcj/convert/natIconv.cc
519 (iconv_init): Fixed possible memory leak by releasing allocated iconv
520 handle.
521
522 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
523
524 * glib-2.0.m4: New file.
525 * gtk-2.0.m4: New file.
526 * glib.m4: Remove.
527 * gtk.m4: Remove.
528 * configure.in: Update AM_PATH_GTK macro call to
529 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
530 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
531 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
532 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
533 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
534 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
535 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
536 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
537 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
538 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
539 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
540 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
541 jni/gtk-peer/gthread-jni.c,
542 jni/gtk-peer/gthread-jni.h:
543 New versions from classpath.
544 * aclocal.m4: Regenerate.
545 * configure: Regenerate.
546 * Makefile.in: Regenerate.
547 * gcj/Makefile.in: Regenerate.
548 * include/Makefile.in: Regenerate.
549 * testsuite/Makefile.in: Regenerate.
550
551 2003-06-30 Gary Benson <gbenson@redhat.com>
552
553 For PR libgcj/11349:
554 * javax/naming/spi/NamingManager.java (getURLContext): Use
555 correct name for factory class.
556
557 2003-06-28 Michael Koch <konqueror@gmx.de>
558
559 * java/io/PrintStream.java
560 (checkError): Call flush() instead of direct flushing of the Writer
561 object.
562 (print): Call print(String) instead of direct print method of the
563 Writer Object.
564 (println): Call println(String) instead of direct println method of the
565 Writer Object.
566 (write): Simplified.
567
568 2003-06-28 Michael Koch <konqueror@gmx.de>
569
570 * java/net/ServerSocket.java
571 (setChannel): New method.
572 * java/net/Socket.java
573 (setChannel): New method.
574
575 2003-06-27 Michael Koch <konqueror@gmx.de>
576
577 * java/beans/beancontext/BeanContextSupport.java:
578 New version from classpath.
579
580 2003-06-27 Michael Koch <konqueror@gmx.de>
581
582 * java/awt/Window.java,
583 java/awt/font/GraphicAttribute.java,
584 java/awt/font/ImageGraphicAttribute.java,
585 java/awt/image/DataBufferByte.java,
586 java/awt/image/DataBufferInt.java,
587 java/awt/image/DataBufferUShort.java,
588 java/awt/image/DirectColorModel.java,
589 java/awt/image/PixelGrabber.java:
590 New versions from classpath.
591
592 2003-06-27 Michael Koch <konqueror@gmx.de>
593
594 * java/security/Certificate.java
595 (getGuarantor): Removed wrong @deprecated tag.
596 (getPrincipal): Likewise.
597 (getPublicKey): Likewise.
598 (encode): Likewise.
599 (decode): Likewise.
600 (getFormat): Likewise.
601 (toString): Likewise.
602 * java/security/cert/PolicyQualifierInfo.java
603 (PolicyQualifierInfo): Made final.
604 * javax/security/auth/x500/X500Principal.java
605 (serialVersionUID): New member variable.
606
607 2003-06-27 Michael Koch <konqueror@gmx.de>
608
609 * java/text/Format.java
610 (serialVersionUID): Fixed value.
611
612 2003-06-27 Michael Koch <konqueror@gmx.de>
613
614 * java/net/Inet4Address.java
615 (Inet4Address): Made package-private.
616 * java/net/Inet6Address.java
617 (Inet4Address): Made package-private.
618
619 2003-06-27 Michael Koch <konqueror@gmx.de>
620
621 * java/io/RandomAccessFile.java
622 (readLine): Removed wrong @deprecated tag.
623 (getChannel): Made final.
624
625 2003-06-27 Michael Koch <konqueror@gmx.de>
626
627 * gnu/java/nio/FileChannelImpl.java
628 (write): Removed.
629
630 2003-06-27 Michael Koch <konqueror@gmx.de>
631
632 * java/nio/ByteBufferImpl.java
633 (ByteBufferImpl): Made it a package-private class
634 * java/nio/CharBufferImpl.java
635 (CharBufferImpl): Made it a package-private class
636 * java/nio/DirectByteBufferImpl.java
637 (DirectByteBufferImpl): Made it a package-private class
638 * java/nio/DoubleBufferImpl.java
639 (DoubleBufferImpl): Made it a package-private class
640 * java/nio/FloatBufferImpl.java
641 (FloatBufferImpl): Made it a package-private class
642 * java/nio/IntBufferImpl.java
643 (IntBufferImpl): Made it a package-private class
644 * java/nio/LongBufferImpl.java
645 (LongBufferImpl): Made it a package-private class
646 * java/nio/ShortBufferImpl.java
647 (ShortBufferImpl): Made it a package-private class
648 * java/nio/channels/FileChannel.java
649 (write): Made final.
650 * java/nio/channels/ServerSocketChannel.java
651 (ServerSocketChanne): Made protected.
652
653 2003-06-27 Michael Koch <konqueror@gmx.de>
654
655 * javax/naming/CompositeName.java
656 (serialVersionUID): New member variable.
657 * javax/naming/CompoundName.java
658 (serialVersionUID): New member variable.
659 * javax/naming/InitialContext.java
660 (InitialContext): Throws NamingException.
661 (init): Likewise.
662 * javax/naming/LinkRef.java
663 (serialVersionUID): New member variable.
664 (gteLinkName): Throws NamingException.
665 * javax/naming/NamingException.java
666 (serialVersionUID): New member variable.
667 * javax/naming/NamingSecurityException.java
668 (NamingSecurityException): Made abstract.
669 (serialVersionUID): New member variable.
670 * javax/naming/ReferralException.java
671 (serialVersionUID): New member variable.
672 * javax/naming/StringRefAddr.java
673 (serialVersionUID): New member variable.
674 * javax/naming/directory/BasicAttribute.java:
675 Reworked imports.
676 (serialVersionUID): New member variable.
677 (get): Throws NamingException.
678 (getAll): Throws NamingException.
679 * javax/naming/directory/BasicAttributes.java:
680 Reworked imports.
681 (serialVersionUID): New member variable.
682 * javax/naming/ldap/UnsolicitedNotificationEvent.java
683 (serialVersionUID): New member variable.
684
685 2003-06-27 Michael Koch <konqueror@gmx.de>
686
687 * Makefile.am
688 (awt_java_source_files): Added new files:
689 javax/swing/Popup.java,
690 javax/swing/PopupFactory.java
691 * Makefile.in: Regenerated.
692
693 2003-06-27 Michael Koch <konqueror@gmx.de>
694
695 * javax/swing/JWindow.java,
696 javax/swing/event/AncestorEvent.java,
697 javax/swing/event/HyperlinkEvent.java,
698 javax/swing/event/InternalFrameEvent.java,
699 javax/swing/event/ListDataEvent.java,
700 javax/swing/event/TableModelEvent.java,
701 javax/swing/plaf/PopupMenuUI.java,
702 javax/swing/plaf/SplitPaneUI.java,
703 javax/swing/plaf/TabbedPaneUI.java,
704 javax/swing/plaf/TextUI.java,
705 javax/swing/plaf/TreeUI.java,
706 javax/swing/plaf/basic/BasicTextUI.java,
707 javax/swing/plaf/basic/BasicTreeUI.java:
708 New versions from classpath.
709 * javax/swing/Popup.java,
710 javax/swing/PopupFactory.jav:
711 New source files from classpath.
712 * javax/swing/plaf/doc-files/TreeUI-1.png:
713 New binary files from classpath.
714
715 2003-06-25 Michael Koch <konqueror@gmx.de>
716
717 * Makefile.am
718 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
719 * Makefile.in: Regenerated.
720
721 2003-06-25 Michael Koch <konqueror@gmx.de>
722
723 * javax/swing/plaf/ActionMapUIResource.java,
724 javax/swing/plaf/BorderUIResource.java,
725 javax/swing/plaf/ButtonUI.java,
726 javax/swing/plaf/ColorChooserUI.java,
727 javax/swing/plaf/ColorUIResource.java,
728 javax/swing/plaf/ComboBoxUI.java,
729 javax/swing/plaf/ComponentInputMapUIResource.java,
730 javax/swing/plaf/ComponentUI.java,
731 javax/swing/plaf/DesktopIconUI.java,
732 javax/swing/plaf/DesktopPaneUI.java,
733 javax/swing/plaf/DimensionUIResource.java,
734 javax/swing/plaf/FileChooserUI.java,
735 javax/swing/plaf/FontUIResource.java,
736 javax/swing/plaf/IconUIResource.java,
737 javax/swing/plaf/InputMapUIResource.java,
738 javax/swing/plaf/InsetsUIResource.java,
739 javax/swing/plaf/InternalFrameUI.java,
740 javax/swing/plaf/LabelUI.java,
741 javax/swing/plaf/ListUI.java,
742 javax/swing/plaf/MenuBarUI.java,
743 javax/swing/plaf/MenuItemUI.java,
744 javax/swing/plaf/OptionPaneUI.java,
745 javax/swing/plaf/PanelUI.java,
746 javax/swing/plaf/ProgressBarUI.java,
747 javax/swing/plaf/RootPaneUI.java,
748 javax/swing/plaf/ScrollBarUI.java,
749 javax/swing/plaf/ScrollPaneUI.java,
750 javax/swing/plaf/SeparatorUI.java,
751 javax/swing/plaf/SliderUI.java,
752 javax/swing/plaf/TableHeaderUI.java,
753 javax/swing/plaf/TableUI.java,
754 javax/swing/plaf/ToolBarUI.java,
755 javax/swing/plaf/ToolTipUI.java,
756 javax/swing/plaf/ViewportUI.java:
757 New versions from classpath.
758 * javax/swing/plaf/SpinnerUI.java:
759 New file from classpath
760
761 2003-06-25 Michael Koch <konqueror@gmx.de>
762
763 * java/awt/image/ColorModel.java:
764 New version from classpath.
765
766 2003-06-25 Michael Koch <konqueror@gmx.de>
767
768 * java/net/PlainDatagramSocketImpl.java:
769 Partly merged with classpath, this mainly adds documentation.
770
771 2003-06-25 Michael Koch <konqueror@gmx.de>
772
773 * java/io/ObjectInputStream.java
774 (readClassDescriptor): New method.
775 (readObject): Moved functionality to readClassDescriptor().
776 * java/io/ObjectOutputStream.java
777 (writeClassDescriptor): New method.
778 (writeObject): Moved functionality to writeClassDescriptor().
779
780 2003-06-25 Michael Koch <konqueror@gmx.de>
781
782 * javax/swing/plaf/basic/BasicListUI.java,
783 javax/swing/plaf/basic/BasicOptionPaneUI.java:
784 Added missing methods.
785
786 2003-06-25 Michael Koch <konqueror@gmx.de>
787
788 * javax/swing/event/AncestorEvent.java
789 javax/swing/event/HyperlinkEvent.java
790 javax/swing/event/InternalFrameEvent.java
791 javax/swing/event/ListDataEvent.java
792 javax/swing/event/TableModelEvent.java:
793 Compile fixes.
794
795 2003-06-24 Michael Koch <konqueror@gmx.de>
796
797 * java/net/URL.java:
798 Renamed "handler" to "ph" in the whole file to match classpaths
799 version.
800 * java/net/URLStreamHandler.java:
801 (equals): Renamed "handler" to "ph".
802
803 2003-06-24 Michael Koch <konqueror@gmx.de>
804
805 * javax/swing/event/AncestorEvent.java,
806 javax/swing/event/HyperlinkEvent.java,
807 javax/swing/event/InternalFrameEvent.java,
808 javax/swing/event/ListDataEvent.java,
809 javax/swing/event/TableModelEvent.java,
810 javax/swing/event/TreeWillExpandListener.java,
811 javax/swing/plaf/ComponentUI.java,
812 javax/swing/plaf/DesktopIconUI.java,
813 javax/swing/plaf/DesktopPaneUI.java,
814 javax/swing/plaf/DimensionUIResource.java,
815 javax/swing/plaf/FileChooserUI.java,
816 javax/swing/plaf/FontUIResource.java,
817 javax/swing/plaf/IconUIResource.java,
818 javax/swing/plaf/InputMapUIResource.java,
819 javax/swing/plaf/InsetsUIResource.java,
820 javax/swing/plaf/InternalFrameUI.java,
821 javax/swing/plaf/LabelUI.java,
822 javax/swing/plaf/ListUI.java,
823 javax/swing/plaf/MenuBarUI.java,
824 javax/swing/plaf/MenuItemUI.java,
825 javax/swing/plaf/OptionPaneUI.java,
826 javax/swing/plaf/PanelUI.java,
827 javax/swing/plaf/ProgressBarUI.java,
828 javax/swing/plaf/doc-files/ComponentUI-1.dia,
829 javax/swing/plaf/doc-files/ComponentUI-1.png:
830 New versions from classpath.
831
832 2003-06-24 Michael Koch <konqueror@gmx.de>
833
834 * java/nio/Buffer.java
835 (cap): Made package-private.
836 (pos): Likewise.
837 (limit): Likewise.
838 (mark): Likewise.
839
840 2003-06-24 Michael Koch <konqueror@gmx.de>
841
842 * java/net/SocketImpl.java
843 (shutdownInput): Made it non-abstract method throwing an exception
844 like in SUNs JRE.
845 (shutdownOutput): Likewise.
846 * java/net/SocketInputStream.java,
847 java/net/SocketOutputStream.java:
848 New files from classpath.
849
850 2003-06-24 Michael Koch <konqueror@gmx.de>
851
852 * java/awt/Font.java,
853 java/awt/Window.java,
854 java/awt/color/ColorSpace.java,
855 java/awt/datatransfer/StringSelection.java,
856 java/awt/image/ColorModel.java:
857 New versions from classpath.
858
859 2003-06-24 Michael Koch <konqueror@gmx.de>
860
861 * Makefile.am
862 (awt_java_source_files): Added new files:
863 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
864 javax/swing/plaf/basic/BasicSplitPaneUI.java
865 * Makefile.in: Regenerated.
866
867 2003-06-24 Michael Koch <konqueror@gmx.de>
868
869 * javax/swing/text/JTextComponent.java:
870 New version from classpath.
871
872 2003-06-24 Michael Koch <konqueror@gmx.de>
873
874 * javax/swing/Timer.java,
875 javax/swing/plaf/ActionMapUIResource.java,
876 javax/swing/plaf/ButtonUI.java,
877 javax/swing/plaf/ColorChooserUI.java,
878 javax/swing/plaf/ColorUIResource.java,
879 javax/swing/plaf/ComboBoxUI.java,
880 javax/swing/plaf/ComponentInputMapUIResource.java,
881 javax/swing/plaf/basic/BasicBorders.java:
882 New versions from classpath.
883 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
884 javax/swing/plaf/basic/BasicSplitPaneUI.java:
885 New file from classpath.
886 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
887 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
888 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
889 javax/swing/plaf/doc-files/ComponentUI-1.dia,
890 javax/swing/plaf/doc-files/ComponentUI-1.png:
891 New binary files from classpath.
892
893 2003-06-24 Michael Koch <konqueror@gmx.de>
894
895 * java/io/LineNumberReader.java
896 (skip): Dont do line number accounting here as this is already done in
897 read(), simplified.
898
899 2003-06-21 Michael Koch <konqueror@gmx.de>
900
901 * java/io/File.java
902 (static): Load javaio lib if existing (only in classpath).
903 (File): Revised documentation to show the correct argument name.
904 (createTempFile): Partly merged with classpath.
905 (compareTo): Simplified.
906 (lastModified): Throw exception if time < 0.
907 (deleteOnExit): Revised documentation.
908
909 2003-06-21 Michael Koch <konqueror@gmx.de>
910
911 * java/net/PlainSocketImpl.java:
912 Reformatted.
913 (PlainSocketImpl): Merged class documentaion with classpath.
914 (in): Moved.
915 (out): Moved.
916 (PlainSocketImpl): New empty constructor.
917 (finalize): Moved.
918 (setOption): Merged documentation from classpath.
919 (getOption): Likewise.
920 (create): Likewise.
921 (connect): Likewise.
922 (bind): Likewise.
923 (listen): Likewise.
924 (accept): Likewise.
925 (available): Likewise.
926 (close): Likewise.
927 (read): Likewise.
928 (write): Likewise.
929 (getInputStream): Made synchronozed to get sure that only one stream
930 object can be created for this socket, merged documentation from
931 classpath.
932 (getOutputStream): Likewise.
933
934 2003-06-21 Michael Koch <konqueror@gmx.de>
935
936 * java/net/PlainSocketImpl.java:
937 Reformatting.
938 (static): New implicit method.
939 (read): Made package private.
940 (write): Likewise.
941
942 2003-06-21 Michael Koch <konqueror@gmx.de>
943
944 * java/util/SimpleTimeZone.java:
945 Removed unneeded import, reformatting.
946
947 2003-06-21 Michael Koch <konqueror@gmx.de>
948
949 * java/text/DateFormat.java,
950 java/text/SimpleDateFormat.java,
951 java/util/Locale.java:
952 New versions from classpath.
953
954 2003-06-21 Michael Koch <konqueror@gmx.de>
955
956 * javax/swing/SpinnerModel.java:
957 New file from classpath.
958 * javax/swing/border/LineBorder.java,
959 javax/swing/border/SoftBevelBorder.java,
960 javax/swing/plaf/BorderUIResource.java,
961 javax/swing/plaf/basic/BasicBorders.java:
962 New versions from classpath.
963 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
964 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
965 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
966 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
967 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
968 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
969 New binary files from classpath.
970
971 2003-06-21 Michael Koch <konqueror@gmx.de>
972
973 * java/util/logging/LogRecord.java,
974 java/util/logging/Logger.java,
975 java/util/logging/SocketHandler.java,
976 java/util/logging/SimpleFormatter.java,
977 java/util/logging/Formatter.java,
978 java/util/logging/ErrorManager.java,
979 java/util/logging/Handler.java,
980 java/util/logging/FileHandler.java,
981 java/util/logging/LogManager.java,
982 java/util/logging/Level.java,
983 java/util/logging/ConsoleHandler.java,
984 java/util/logging/StreamHandler.java,
985 java/util/logging/LoggingPermission.java,
986 java/util/logging/Filter.java,
987 java/util/logging/MemoryHandler.java,
988 java/util/logging/XMLFormatter.java:
989 New files from classpath.
990
991 2003-06-20 Michael Koch <konqueror@gmx.de>
992
993 * java/io/ObjectStreamField.java
994 (unshared): new member variable.
995 (ObjectStreamField): New constructor.
996 (isUnshared): New method.
997
998 2003-06-20 Michael Koch <konqueror@gmx.de>
999
1000 * java/net/URLStreamHandler.java
1001 (hostsEqual): Rewritten.
1002
1003 2003-06-20 Michael Koch <konqueror@gmx.de>
1004
1005 * gnu/java/nio/MappedByteFileBuffer.java,
1006 gnu/java/nio/natMappedByteFileBuffer.cc:
1007 Removed
1008 * java/nio/MappedByteBufferImpl.java:
1009 New file.
1010 * gnu/java/nio/FileChannelImpl.java:
1011 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1012 * Makefile.am
1013 (ordinary_java_source_files): Removed
1014 gnu/java/nio/MappedByteFileBuffer.java and added
1015 java/nio/MappedByteBufferImpl.java.
1016 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1017 * Makefile.in: Regenerated.
1018
1019 2003-06-19 Michael Koch <konqueror@gmx.de>
1020
1021 * gnu/java/nio/DatagramChannelImpl.java
1022 (fd): Removed.
1023 (blocking): New member variable.
1024 (socket): Likewise.
1025 (DatagramChannelImpl): Throws IOException, initialize socket.
1026 (socket):Implemented.
1027 (implCloseSelectableChannel): Throws IOException, implemented.
1028 (implConfigureBlocking): Likewise.
1029 (connect): Likewise.
1030 (disconnect): Likewise.
1031 (isConnected): Likewise.
1032 (write): Likewise.
1033 (read): Likewise.
1034 (receive): Throws IOException.
1035 (send): Likewise.
1036 * gnu/java/nio/SocketChannelImpl.java
1037 (read): Implemented.
1038 (write): Implemented.
1039
1040 2003-06-19 Michael Koch <konqueror@gmx.de>
1041
1042 * javax/swing/JComponent.java,
1043 javax/swing/JInternalFrame.java,
1044 javax/swing/MenuSelectionManager.java,
1045 javax/swing/SwingUtilities.java,
1046 javax/swing/ToggleButtonModel.java:
1047 New versions from classpath.
1048
1049 2003-06-19 Michael Koch <konqueror@gmx.de>
1050
1051 * java/text/CollationElementIterator.java
1052 (NULLORDER): Initialize with -1 as JDK documentation says.
1053
1054 2003-06-19 Michael Koch <konqueror@gmx.de>
1055
1056 * java/net/HttpURLConnection.java,
1057 java/net/Inet4Address.java,
1058 java/net/Inet6Address.java,
1059 java/net/SocketImpl.java,
1060 java/net/URLClassLoader.java:
1061 Reworked import statements.
1062 * java/net/InetAddress.java
1063 (getByAddress): Simplified.
1064 * java/net/ServerSocket.java
1065 (ServerSocket): Moved special handling during bind operation to
1066 bind().
1067 (bind): Handle different cases when trying to bind a socket.
1068 * java/net/URLConnection.java
1069 (getHeaderFieldDate): Merged with classpath.
1070 (getHeaderFieldInt): Likewise.
1071
1072 2003-06-19 Michael Koch <konqueror@gmx.de>
1073
1074 * java/util/zip/InflaterInputStream.java
1075 (InflaterInputStream): Throw NullPointerException if in is null (as
1076 JDK does).
1077
1078 2003-06-19 Michael Koch <konqueror@gmx.de>
1079
1080 * java/awt/Font.java
1081 javax/swing/UIManager.java
1082 javax/swing/border/AbstractBorder.java
1083 javax/swing/border/BevelBorder.java
1084 javax/swing/border/Border.java
1085 javax/swing/border/CompoundBorder.java
1086 javax/swing/border/EmptyBorder.java
1087 javax/swing/border/EtchedBorder.java
1088 javax/swing/border/LineBorder.java
1089 javax/swing/border/MatteBorder.java
1090 javax/swing/border/TitledBorder.java
1091 javax/swing/plaf/BorderUIResource.java
1092 javax/swing/plaf/basic/BasicBorders.java
1093 javax/swing/plaf/basic/BasicButtonUI.java
1094 javax/swing/plaf/basic/BasicCheckBoxUI.java
1095 javax/swing/plaf/basic/BasicGraphicsUtils.java
1096 javax/swing/plaf/basic/BasicLabelUI.java
1097 javax/swing/plaf/basic/BasicRadioButtonUI.java
1098 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1099 New versions from classpath.
1100 * javax/swing/border/SoftBevelBorder.java:
1101 New file from classpath.
1102 * javax/swing/border/doc-files/LineBorder-1.png,
1103 javax/swing/border/doc-files/BevelBorder-1.png,
1104 javax/swing/border/doc-files/BevelBorder-2.png,
1105 javax/swing/border/doc-files/BevelBorder-3.png,
1106 javax/swing/border/doc-files/EmptyBorder-1.png,
1107 javax/swing/border/doc-files/EtchedBorder-1.png,
1108 javax/swing/border/doc-files/EtchedBorder-2.png,
1109 javax/swing/border/doc-files/MatteBorder-1.png,
1110 javax/swing/border/doc-files/MatteBorder-2.png,
1111 javax/swing/border/doc-files/MatteBorder-3.png,
1112 javax/swing/border/doc-files/MatteBorder-4.png,
1113 javax/swing/border/doc-files/MatteBorder-5.png,
1114 javax/swing/border/doc-files/MatteBorder-6.png,
1115 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1116 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1117 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1118 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1119 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1120 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1121 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1122 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1123 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1124 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1125 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1126 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1127 New binary files from classpath.
1128 * Makefile.am
1129 (awt_java_source_files): Added
1130 javax/swing/border/SoftBevelBorder.java.
1131 * Makefile.in: Regenerated.
1132
1133 2003-06-19 Michael Koch <konqueror@gmx.de>
1134
1135 * gnu/java/security/x509/X509Certificate.java
1136 (writeReplace): Merged from classpath.
1137
1138 2003-06-19 Michael Koch <konqueror@gmx.de>
1139
1140 * gnu/java/nio/FileChannelImpl.java
1141 (map_address): Made public.
1142 (FileChannelImpl): Merged with classpath.
1143 * gnu/java/nio/natFileChannelImpl.cc
1144 (nio_mmap_file): Commented out unused arguments.
1145 (nio_unmmap_file): Likewise.
1146 (niu_msync): Likewise.
1147
1148 2003-06-19 Michael Koch <konqueror@gmx.de>
1149
1150 * java/awt/image/IndexColorModel.java:
1151 New version from classpath.
1152
1153 2003-06-18 Tom Tromey <tromey@redhat.com>
1154
1155 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1156 on arrays.
1157 (isLoopbackAddress): Likewise.
1158 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1159 on arrays.
1160
1161 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1162
1163 * java/lang/natVMSecurityManager.cc (getClassContext):
1164 Use maxlen instead of len for loop bound.
1165
1166 2003-06-18 Michael Koch <konqueror@gmx.de>
1167
1168 * gnu/java/nio/SelectorImpl.java
1169 (register): Use fd with value 0 for now, will be fixed later.
1170 * gnu/java/nio/ServerSocketChannelImpl.java
1171 (fd): Removed.
1172 (local_port): Removed.
1173 (InetSocketAddress): Removed.
1174 (ServerSocketChannelImpl): Just initialize internal socket object.
1175 (implCloseSelectableChannel): Close internal socket object.
1176 (implConfigureBlocking): Added comment.
1177 (accept): Use jaba.net stuff to accept socket.
1178 * gnu/java/nio/SocketChannelImpl.java
1179 (fd): Removed.
1180 (local_port): Removed.
1181 (InetSocketAddress): Removed.
1182 (SocketCreate): Removed.
1183 (SocketConnect): Removed.
1184 (SocketBind): Removed.
1185 (SocketListen): Removed.
1186 (SocketAvailable): Removed.
1187 (SocketClose): Removed.
1188 (SocketRead): Removed.
1189 (SocketWrite): Removed.
1190 (SocketChannelImpl): Just initialize internal socket object.
1191 (implCloseSelectableChannel): Close internal socket object.
1192 (implConfigureBlocking): Fixed implementation, added comment.
1193 (connect): Use internal socket object to connect.
1194 (socket): No need for sanity checks.
1195 (read): Comment out some stuff, this will be reimplemented in the next
1196 commit.
1197 (write): Likewise.
1198 * gnu/java/nio/natFileChannelImpl.cc
1199 (nio_mmap_file): Line wrapped.
1200 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1201 * Makefile.am
1202 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1203 * Makefile.in: Regenerated.
1204
1205 2003-06-18 Michael Koch <konqueror@gmx.de>
1206
1207 * java/util/Locale.java
1208 (equals): Merged from classpath.
1209
1210 2003-06-18 Michael Koch <konqueror@gmx.de>
1211
1212 * java/net/InetAddress.java:
1213 Reformatted to better match classpath's version.
1214 * java/net/URL.java
1215 (equals): Simplified.
1216 * java/net/URLConnection.java
1217 (setDoInput): Revised documentation.
1218 (getDefaultUseCaches): Likewise.
1219 (setRequestProperty): Added @since tag.
1220
1221 2003-06-17 Michael Koch <konqueror@gmx.de>
1222
1223 * java/net/InetSocketAddress.java
1224 (InetSocketAddress): Use wildcard address if addr is null.
1225 (InetSocketAddress): Dont duplicate implementation.
1226 (InetSocketAddress): Throw exception when hostname is null.
1227 * java/net/Socket.java:
1228 Reworked imports.
1229 (Socket): Throw exception when raddr is null, handle case when laddr
1230 is null.
1231
1232 2003-06-17 Michael Koch <konqueror@gmx.de>
1233
1234 * java/nio/DirectByteBufferImpl.java
1235 (address): Made package private.
1236 (DirectByteBufferImpl): New constructor.
1237 * java/nio/natDirectByteBufferImpl.cc
1238 (allocateImpl): Moved to java.nio namespace, implemented.
1239 (freeImpl): Likewise.
1240 (getImpl): Likewise.
1241 (putImpl): Likewise.
1242 * jni.cc
1243 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1244 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1245 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1246
1247 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1248
1249 * include/powerpc-signal.h: New File.
1250 * configure.in: Use it.
1251 * configure: Regenerated.
1252
1253 2003-06-17 Michael Koch <konqueror@gmx.de>
1254
1255 * java/util/Locale.java
1256 (getDisplayLanguage): Made it final.
1257 (getDisplayCountry): Likewise.
1258 (getDisplayVariant): Likewise.
1259 (getDisplayName): Likewise.
1260
1261 2003-06-17 Michael Koch <konqueror@gmx.de>
1262
1263 * java/util/PropertyResourceBundle.java:
1264 Removed unneeded import.
1265
1266 2003-06-17 Michael Koch <konqueror@gmx.de>
1267
1268 * java/util/prefs/AbstractPreferences.java,
1269 java/util/prefs/PreferencesFactory.java:
1270 Reworked imports, removed unused imports.
1271 * java/util/prefs/Preferences.java
1272 (systemNodeForPackage): Method takes a Class not an Object.
1273 (userNodeForPackage): Likewise.
1274 (nodeForPackage): Likewise.
1275
1276 2003-06-17 Michael Koch <konqueror@gmx.de>
1277
1278 * gnu/java/security/x509/X509Certificate.java:
1279 Explicitely import used classes.
1280
1281 2003-06-17 Michael Koch <konqueror@gmx.de>
1282
1283 * java/util/zip/ZipEntry.java,
1284 java/util/zip/ZipFile.java,
1285 java/util/zip/ZipInputStream.java,
1286 java/util/zip/ZipOutputStream.java:
1287 Reworked imports, only import used classes.
1288
1289 2003-06-17 Michael Koch <konqueror@gmx.de>
1290
1291 * gnu/java/lang/ArrayHelper.java,
1292 gnu/java/lang/ClassHelper.java:
1293 Reformatted to match classpath's versions.
1294
1295 2003-06-14 Michael Koch <konqueror@gmx.de>
1296
1297 * gnu/java/nio/FileChannelImpl.java
1298 (map_address): Removed incorrect comment.
1299 * gnu/java/nio/SelectorImpl.java
1300 (register): Remove code duplication and code for file channel handling.
1301 * gnu/java/nio/ServerSocketChannelImpl.java
1302 (serverSocket): Renamed from sock_object.
1303 (ServerSocketChannel): Initialize serverSocket.
1304 (socket): Return serverSocket.
1305 * gnu/java/nio/SocketChannelImpl.java
1306 (socket): Renamed from sock_object.
1307 (isConnectionPenging): Simplified.
1308 (socket): Return socket.
1309 2003-06-14 Michael Koch <konqueror@gmx.de>
1310
1311 * java/security/BasicPermission.java:
1312 New version from classpath.
1313
1314 2003-06-14 Michael Koch <konqueror@gmx.de>
1315
1316 * javax/naming/directory/Attribute.java:
1317 New version from classpath.
1318
1319 2003-06-14 Michael Koch <konqueror@gmx.de>
1320
1321 * java/io/BufferedReader.java,
1322 java/io/FileOutputStream.java:
1323 New versions from classpath.
1324
1325 2003-06-12 Andrew Haley <aph@redhat.com>
1326
1327 * prims.cc (catch_segv): Create exception in handler.
1328 (catch_fpe): Likewise.
1329 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1330 (_Jv_ThrowSignal): Remove.
1331
1332 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1333 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1334 to nullp and arithexception.
1335 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1336 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1337 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1338 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1339 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1340
1341 2003-06-11 Andrew Haley <aph@redhat.com>
1342
1343 * jni.cc (_Jv_JNI_check_types): New.
1344 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1345 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1346 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1347 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1348
1349 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1350 infinite loop.
1351
1352 2003-06-11 Tom Tromey <tromey@redhat.com>
1353
1354 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1355 * java/io/PrintStream.java: Not deprecated.
1356
1357 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1358
1359 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1360 (fillOval): implemented
1361 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1362 (fillArc): implemented.
1363 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1364 (fillArc): added native method.
1365 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1366 (fillArc): added native method.
1367
1368 2003-06-11 Michael Koch <konqueror@gmx.de>
1369
1370 * java/awt/im/InputSubset.java:
1371 New version from classpath.
1372
1373 2003-06-11 Michael Koch <konqueror@gmx.de>
1374
1375 * javax/swing/AbstractAction.java,
1376 javax/swing/AbstractButton.java,
1377 javax/swing/AbstractCellEditor.java,
1378 javax/swing/AbstractListModel.java,
1379 javax/swing/BorderFactory.java,
1380 javax/swing/Box.java,
1381 javax/swing/BoxLayout.java,
1382 javax/swing/ButtonGroup.java,
1383 javax/swing/DefaultButtonModel.java,
1384 javax/swing/DefaultListModel.java,
1385 javax/swing/DefaultListSelectionModel.java,
1386 javax/swing/FocusManager.java,
1387 javax/swing/ImageIcon.java,
1388 javax/swing/InputMap.java,
1389 javax/swing/JApplet.java,
1390 javax/swing/JButton.java,
1391 javax/swing/JCheckBox.java,
1392 javax/swing/JCheckBoxMenuItem.java,
1393 javax/swing/JColorChooser.java,
1394 javax/swing/JComboBox.java,
1395 javax/swing/JComponent.java,
1396 javax/swing/JDesktopPane.java,
1397 javax/swing/JDialog.java,
1398 javax/swing/JEditorPane.java,
1399 javax/swing/JFileChooser.java,
1400 javax/swing/JFormattedTextField.java,
1401 javax/swing/JFrame.java,
1402 javax/swing/JLabel.java,
1403 javax/swing/JLayeredPane.java,
1404 javax/swing/JList.java,
1405 javax/swing/JMenuBar.java,
1406 javax/swing/JMenuItem.java,
1407 javax/swing/JOptionPane.java,
1408 javax/swing/JPanel.java,
1409 javax/swing/JPasswordField.java,
1410 javax/swing/JPopupMenu.java,
1411 javax/swing/JProgressBar.java,
1412 javax/swing/JRadioButton.java,
1413 javax/swing/JRadioButtonMenuItem.java,
1414 javax/swing/JRootPane.java,
1415 javax/swing/JScrollBar.java,
1416 javax/swing/JScrollPane.java,
1417 javax/swing/JSeparator.java,
1418 javax/swing/JSlider.java,
1419 javax/swing/JTabbedPane.java,
1420 javax/swing/JTable.java,
1421 javax/swing/JTextField.java,
1422 javax/swing/JToggleButton.java,
1423 javax/swing/JToolBar.java,
1424 javax/swing/JToolTip.java,
1425 javax/swing/JTree.java,
1426 javax/swing/JViewport.java,
1427 javax/swing/JWindow.java,
1428 javax/swing/KeyStroke.java,
1429 javax/swing/ListSelectionModel.java,
1430 javax/swing/LookAndFeel.java,
1431 javax/swing/RepaintManager.java,
1432 javax/swing/ScrollPaneLayout.java,
1433 javax/swing/SizeRequirements.java,
1434 javax/swing/SwingConstants.java,
1435 javax/swing/Timer.java,
1436 javax/swing/UIDefaults.java,
1437 javax/swing/UIManager.java,
1438 javax/swing/border/AbstractBorder.java,
1439 javax/swing/border/CompoundBorder.java,
1440 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1441 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1442 javax/swing/colorchooser/ColorSelectionModel.java,
1443 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1444 javax/swing/event/AncestorEvent.java,
1445 javax/swing/event/HyperlinkEvent.java,
1446 javax/swing/event/InternalFrameAdapter.java,
1447 javax/swing/event/InternalFrameEvent.java,
1448 javax/swing/event/ListDataEvent.java,
1449 javax/swing/event/MouseInputAdapter.java,
1450 javax/swing/event/SwingPropertyChangeSupport.java,
1451 javax/swing/event/TableModelEvent.java,
1452 javax/swing/event/TreeWillExpandListener.java,
1453 javax/swing/event/UndoableEditEvent.java,
1454 javax/swing/filechooser/FileFilter.java,
1455 javax/swing/filechooser/FileSystemView.java,
1456 javax/swing/filechooser/FileView.java,
1457 javax/swing/plaf/BorderUIResource.java,
1458 javax/swing/plaf/basic/BasicDefaults.java,
1459 javax/swing/table/AbstractTableModel.java,
1460 javax/swing/table/DefaultTableCellRenderer.java,
1461 javax/swing/table/DefaultTableColumnModel.java,
1462 javax/swing/table/DefaultTableModel.java,
1463 javax/swing/table/TableColumn.java,
1464 javax/swing/text/JTextComponent.java,
1465 javax/swing/tree/AbstractLayoutCache.java,
1466 javax/swing/tree/DefaultMutableTreeNode.java,
1467 javax/swing/tree/DefaultTreeCellEditor.java,
1468 javax/swing/tree/DefaultTreeCellRenderer.java,
1469 javax/swing/tree/DefaultTreeModel.java,
1470 javax/swing/tree/DefaultTreeSelectionModel.java,
1471 javax/swing/tree/FixedHeightLayoutCache.java,
1472 javax/swing/tree/TreeCellEditor.java,
1473 javax/swing/tree/TreeModel.java,
1474 javax/swing/tree/TreeNode.java,
1475 javax/swing/tree/TreePath.java,
1476 javax/swing/tree/TreeSelectionModel.java,
1477 javax/swing/tree/VariableHeightLayoutCache.java,
1478 javax/swing/undo/AbstractUndoableEdit.java,
1479 javax/swing/undo/CompoundEdit.java,
1480 javax/swing/undo/StateEdit.java,
1481 javax/swing/undo/UndoManager.java,
1482 javax/swing/undo/UndoableEditSupport.java:
1483 New versions from classpath.
1484 * javax/swing/table/JTableHeader.java:
1485 New file from classpath.
1486 * Makefile.am
1487 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1488 * Makefile.in: Regenerated.
1489
1490 2003-06-11 Michael Koch <konqueror@gmx.de>
1491
1492 * java/nio/MappedByteBuffer.java,
1493 java/nio/channels/Channels.java,
1494 java/nio/channels/ServerSocketChannel.java,
1495 java/nio/channels/spi/AbstractSelector.java:
1496 Removed unneeded imports.
1497
1498 2003-06-11 Michael Koch <konqueror@gmx.de>
1499
1500 * java/net/DatagramSocket.java:
1501 Partly merged with classpath.
1502
1503 2003-06-11 Michael Koch <konqueror@gmx.de>
1504
1505 * java/awt/Frame.java,
1506 java/awt/Graphics.java,
1507 java/awt/Menu.java,
1508 java/awt/Robot.java,
1509 java/awt/image/ColorModel.java:
1510 New versions from classpath.
1511
1512 2003-06-10 Michael Koch <konqueror@gmx.de>
1513
1514 * java/io/PrintStream.java:
1515 Merged version from classpath.
1516 (close): Removed sychronized keyword. This class is not garantied to
1517 be thread-safe.
1518 (write): Likewise.
1519
1520 2003-06-09 Tom Tromey <tromey@redhat.com>
1521
1522 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1523 field.
1524 (getDescent): Likewise, for "descent".
1525
1526 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1527
1528 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1529 (getMaxDescent): adjusted return value.
1530 (getAscent): modified to use metrics for 'O'.
1531 (getDescent): modified to use metrics for 'y'.
1532
1533 2003-06-08 Anthony Green <green@redhat.com>
1534
1535 * java/net/URLStreamHandler.java (sameFile): Fix port value
1536 comparison.
1537 * java/net/URL.java (handler): Make package private.
1538 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1539
1540 2003-06-07 Tom Tromey <tromey@redhat.com>
1541
1542 For PR libgcj/11085:
1543 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1544 Limit number of characters in numeric field when required.
1545 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1546 Respect maximumIntegerDigits.
1547
1548 2003-06-08 Michael Koch <konqueror@gmx.de>
1549
1550 * java/net/Socket.java
1551 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1552 call bind() and connect() to actually do the bind and connect tasks.
1553 (bind): Connect to canonical address if bindpoint is null, create
1554 socket and bind it to bindpoint.
1555 (connect): Check for exceptions.
1556
1557 2003-06-08 Michael Koch <konqueror@gmx.de>
1558
1559 * java/net/DatagramSocket.java
1560 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1561 into the Multicast constructors.
1562 * java/net/DatagramSocketImpl.java
1563 (getOption): Removed.
1564 (setOption): Removed.
1565 * java/net/MulticastSocket.java
1566 (MulticastSocket): Call setReuseAddress (true).
1567 * java/net/SocketImpl.java
1568 (getOption): Removed.
1569 (setOption): Removed.
1570
1571 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1572
1573 PR libgcj/10886:
1574 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1575 Test for empty vector.
1576
1577 2003-06-06 Mark Wielaard <mark@klomp.org>
1578
1579 * java/security/Security.java (secprops): Initialize.
1580 (loadProviders): Return boolean.
1581 (static): Check result of loadProvider calls. If necessary
1582 display WARNING and fallback to Gnu provider.
1583
1584 2002-06-06 James Clark <jjc@jclark.com>
1585
1586 Fix for PR libgcj/8738:
1587 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1588 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1589 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1590 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1591 (write): Always decrease avail when count is increased.
1592 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1593 and whether output buffer is full before increasing size.
1594
1595 2002-06-06 Mark Wielaard <mark@klomp dot org>
1596
1597 * java/io/PrintStream.java (writeChars(char[],int, int)):
1598 Check converter.havePendingBytes().
1599 (writeChars(String,int,int)): Likewise.
1600 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1601 Check converter.havePendingBytes() and flush buffer when stalled.
1602
1603 2003-06-07 Michael Koch <konqueror@gmx.de>
1604
1605 * include/posix.h
1606 (O_DSYNC): Define O_DSYNC on platforms not
1607 supporting O_FSYNC (newlib).
1608
1609 2003-06-06 Mark Wielaard <mark@klomp.org>
1610
1611 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1612 AWTError.
1613
1614 2003-06-06 Michael Koch <konqueror@gmx.de>
1615
1616 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1617 More compile fixes from my stupid work yesterday.
1618
1619 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1620
1621 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1622 if _IEEE_LIBM is undefined.
1623
1624 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1625
1626 * libjava/include/posix.h (O_SYNC): Define if not available
1627 and a reasonable, perhaps more conservative, replacement exists.
1628 (O_DSYNC): Likewise.
1629 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1630
1631 2003-06-05 Michael Koch <konqueror@gmx.de>
1632
1633 * javax/swing/plaf/BorderUIResource.java,
1634 javax/swing/plaf/basic/BasicDefaults.java,
1635 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1636 More compile fixes for latest Border commit. I should not commit
1637 something in this heat here ...
1638
1639 2003-06-05 Michael Koch <konqueror@gmx.de>
1640
1641 * javax/swing/border/BevelBorder.java
1642 (BevelBorder): Removed.
1643 * javax/swing/border/EmptyBorder.java:
1644 Reformatted.
1645 (EmptyBorder): Removed.
1646 (getBorderInsets): Dont use l, r, t and b.
1647 * javax/swing/border/EtchedBorder.java
1648 (EtchedBorder): Removed.
1649 * javax/swing/border/LineBorder.java
1650 (LineBorder): Removed.
1651 * javax/swing/border/MatteBorder.java
1652 (MatteBorder): Removed.
1653 * javax/swing/border/TitledBorder.java
1654 (defaultBorder): Use other default for now.
1655 (defaultFont): Likewise.
1656 (defaultColor): Likewise.
1657
1658 2003-06-05 Michael Koch <konqueror@gmx.de>
1659
1660 * javax/swing/border/Border.java:
1661 New version from classpath.
1662
1663 2003-06-05 Michael Koch <konqueror@gmx.de>
1664
1665 * javax/swing/border/AbstractBorder.java,
1666 javax/swing/border/BevelBorder.java,
1667 javax/swing/border/CompoundBorder.java,
1668 javax/swing/border/EmptyBorder.java,
1669 javax/swing/border/EtchedBorder.java,
1670 javax/swing/border/LineBorder.java,
1671 javax/swing/border/MatteBorder.java,
1672 javax/swing/border/TitledBorder.java:
1673 New versions from Classpath.
1674
1675 2003-06-05 Michael Koch <konqueror@gmx.de>
1676
1677 * java/awt/Button.java,
1678 java/awt/Checkbox.java,
1679 java/awt/CheckboxMenuItem.java,
1680 java/awt/Choice.java,
1681 java/awt/Container.java,
1682 java/awt/Dialog.java,
1683 java/awt/EventQueue.java,
1684 java/awt/FileDialog.java,
1685 java/awt/Frame.java,
1686 java/awt/Label.java,
1687 java/awt/List.java,
1688 java/awt/Menu.java,
1689 java/awt/MenuItem.java,
1690 java/awt/Panel.java,
1691 java/awt/PopupMenu.java,
1692 java/awt/Rectangle.java,
1693 java/awt/ScrollPane.java,
1694 java/awt/Scrollbar.java,
1695 java/awt/TextArea.java,
1696 java/awt/TextField.java,
1697 java/awt/Window.java,
1698 java/awt/datatransfer/DataFlavor.java,
1699 java/awt/dnd/DragSource.java,
1700 java/awt/dnd/DragSourceContext.java,
1701 java/awt/event/HierarchyEvent.java,
1702 java/awt/event/MouseWheelEvent.java,
1703 java/awt/im/InputContext.java,
1704 java/awt/image/BufferedImage.java,
1705 java/awt/image/ComponentColorModel.java,
1706 java/awt/image/Raster.java,
1707 java/awt/image/WritableRaster.java,
1708 java/awt/peer/ComponentPeer.java,
1709 java/awt/print/PageFormat.java,
1710 java/awt/print/PrinterJob.java:
1711 New versions from Classpath.
1712
1713 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1714
1715 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1716 numberFormat.setParseIntegerOnly(true).
1717
1718 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1719
1720 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1721
1722 2003-06-03 Andrew Haley <aph@redhat.com>
1723
1724 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1725 stack volatile to prevent optimization from removing it.
1726
1727 2003-05-27 Michael Koch <konqueror@gmx.de>
1728
1729 * java/util/zip/Deflater.java
1730 (FILTERED): Merged documentation from classpath.
1731 * java/util/zip/DeflaterOutputStream.java
1732 (DeflaterOutputStream): Merged documentation and argument validity
1733 check from classpath.
1734 (deflate): Merged documentation from classpath.
1735 (finish): Likewise.
1736 * java/util/zip/Inflater.java
1737 (Inflater): Merged class documentation from classpath.
1738 (zstream): Reordered.
1739 (is_finished): Reordered.
1740 (dict_needed): Reordered.
1741 (Inflater): Reordered, merged documentation from classpath.
1742 (end): Likewise.
1743 (finalize): Merged documentation from classpath.
1744 (finished): Likewise.
1745 (getAdler): Likewise.
1746 (getRemaining): Likewise.
1747 (getTotalIn): Likewise.
1748 (getTotalOut): Likewise.
1749 (inflate): Likewise.
1750 (needsDictionary): Likewise.
1751 (needsInput): Likewise.
1752 (reset): Likewise.
1753 (setDictionary): Likewise.
1754 (setInput): Likewise.
1755
1756 2003-05-27 Michael Koch <konqueror@gmx.de>
1757
1758 * java/net/URLConnection.java
1759 (getHeaderFieldInt): Merged with classpath.
1760
1761 2003-05-27 Michael Koch <konqueror@gmx.de>
1762
1763 * java/io/PrintStream.java
1764 (PrintStream): Reformatted.
1765 (PrintStream): New method, merged from classpath.
1766 (write): Reformatted.
1767
1768 2003-05-27 Michael Koch <konqueror@gmx.de>
1769
1770 * java/lang/System.java:
1771 Explicitely import needed classes.
1772
1773 2003-05-26 Michael Koch <konqueror@gmx.de>
1774
1775 * java/net/NetPermission.java,
1776 java/net/NetworkInterface.java,
1777 java/net/PasswordAuthentication.java,
1778 java/net/SocketPermission.java:
1779 New versions from classpath.
1780
1781 2003-05-25 Michael Koch <konqueror@gmx.de>
1782
1783 * java/io/PushbackInputStream.java,
1784 java/net/Authenticator.java,
1785 java/net/ContentHandler.java,
1786 java/net/ContentHandlerFactory.java,
1787 java/net/DatagramSocket.java,
1788 java/net/DatagramSocketImpl.java,
1789 java/net/DatagramSocketImplFactory.java,
1790 java/net/FileNameMap.java,
1791 java/net/SocketImplFactory.java,
1792 java/net/SocketOptions.java,
1793 java/net/URLStreamHandlerFactory.java:
1794 Merged new versions from classpath.
1795
1796 2003-05-25 Michael Koch <konqueror@gmx.de>
1797
1798 * java/awt/Checkbox.java,
1799 java/awt/Dialog.java,
1800 java/awt/Font.java,
1801 java/awt/Frame.java,
1802 java/awt/ScrollPaneAdjustable.java,
1803 java/awt/Scrollbar.java,
1804 java/awt/Window.java:
1805 New versions from classpath.
1806
1807 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1808
1809 PR libgcj/10838:
1810 * java/io/ObjectInputStream (enableResolveObject):
1811 Fixed spelling of permission name.
1812
1813 2003-05-20 Michael Koch <konqueror@gmx.de>
1814
1815 * java/io/DataInputStream.java
1816 (convertFromUTF): Merged comment from classpath.
1817 * java/io/PrintStream.java
1818 (error_occured): Renamed from error, merged comment from classpath.
1819 (PrintStream): No need to initialized error.
1820 (checkError): Replace error with error_occurred.
1821 (setError): Likewise.
1822
1823 2003-05-20 Michael Koch <konqueror@gmx.de>
1824
1825 * java/io/DataInputStream.java:
1826 Reformatted, Replaced < and & with html entitites in documentation.
1827 * java/io/File.java:
1828 Reformatted.
1829 * java/io/PrintWriter.java:
1830 Moved class documentation.
1831
1832 2003-05-20 Michael Koch <konqueror@gmx.de>
1833
1834 * gnu/java/nio/ByteBufferImpl.java,
1835 gnu/java/nio/CharBufferImpl.java,
1836 gnu/java/nio/CharViewBufferImpl.java,
1837 gnu/java/nio/DirectByteBufferImpl.java,
1838 gnu/java/nio/DoubleBufferImpl.java,
1839 gnu/java/nio/DoubleViewBufferImpl.java,
1840 gnu/java/nio/FloatBufferImpl.java,
1841 gnu/java/nio/FloatViewBufferImpl.java,
1842 gnu/java/nio/IntBufferImpl.java,
1843 gnu/java/nio/IntViewBufferImpl.java,
1844 gnu/java/nio/LongBufferImpl.java,
1845 gnu/java/nio/LongViewBufferImpl.java,
1846 gnu/java/nio/natDirectByteBufferImpl.cc,
1847 gnu/java/nio/ShortBufferImpl.java,
1848 gnu/java/nio/ShortViewBufferImpl.java:
1849 Moved files to java/nio.
1850 * gnu/java/nio/SocketChannelImpl.java
1851
1852 * java/nio/ByteBuffer.java,
1853 java/nio/CharBuffer.java,
1854 java/nio/DoubleBuffer.java,
1855 java/nio/FloatBuffer.java,
1856 java/nio/IntBuffer.java,
1857 java/nio/LongBuffer.java,
1858 java/nio/ShortBuffer.java:
1859 Dont import anything.
1860 * java/nio/ByteBufferImpl.java,
1861 java/nio/CharBufferImpl.java,
1862 java/nio/CharViewBufferImpl.java,
1863 java/nio/DirectByteBufferImpl.java,
1864 java/nio/DoubleBufferImpl.java,
1865 java/nio/DoubleViewBufferImpl.java,
1866 java/nio/FloatBufferImpl.java,
1867 java/nio/FloatViewBufferImpl.java,
1868 java/nio/IntBufferImpl.java,
1869 java/nio/IntViewBufferImpl.java,
1870 java/nio/LongBufferImpl.java,
1871 java/nio/LongViewBufferImpl.java,
1872 java/nio/natDirectByteBufferImpl.cc,
1873 java/nio/ShortBufferImpl.java,
1874 java/nio/ShortViewBufferImpl.java:
1875 Moved from gnu/java/nio.
1876 * Makefile.am
1877 (ordinary_java_source_files): Moved files from gnu/java/nio to
1878 java/nio.
1879 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1880 to java/nio.
1881 * Makefile.in: Regenerated.
1882
1883 2003-05-19 Michael Koch <konqueror@gmx.de>
1884
1885 * java/util/Calendar.java
1886 (get): Not final anymore since JDK 1.4
1887 (set): Likewise.
1888
1889 2003-05-19 Michael Koch <konqueror@gmx.de>
1890
1891 * java/text/CollationKey.java:
1892 Merged copyright and dat from classpath.
1893 * java/text/RuleBasedCollator.java:
1894 Merged class documentation from classpath.
1895
1896 2003-05-19 Michael Koch <konqueror@gmx.de>
1897
1898 * java/nio/CharBuffer.java
1899 (toString): Compile fix.
1900
1901 2003-05-19 Michael Koch <konqueror@gmx.de>
1902
1903 * gnu/java/nio/ByteBufferImpl.java
1904 (putLong): Fixed conversion to bytes.
1905 (putDouble): Fixed conversion to bytes.
1906 * gnu/java/nio/DirectByteBufferImpl.java
1907 (putLong): Fixed conversion to bytes.
1908 (putDouble): Fixed conversion to bytes.
1909 * gnu/java/nio/FileLockImpl.java
1910 (isValid): Reformatted.
1911 * java/nio/Buffer.java
1912 (Buffer): Fixed off-by-one bug in handling mark.
1913 * java/nio/ByteBuffer.java:
1914 Added newline.
1915 * java/nio/CharBuffer.java
1916 (toString): Don't use relative get to get string data.
1917
1918 2003-05-16 Michael Koch <konqueror@gmx.de>
1919
1920 * java/io/natFileDescriptorPosix.cc
1921 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1922 tested.
1923
1924 2003-05-14 Michael Koch <konqueror@gmx.de>
1925
1926 * gnu/java/nio/FileLockImpl.java
1927 (released): New member variable.
1928 (FileLockImpl): Initialize released.
1929 (releaseImpl): New native method.
1930 (release): Implemented.
1931 * gnu/java/nio/SelectorImpl.java: Reformatted.
1932 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1933 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1934 (accept): Throws IOException.
1935 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1936 (implConfigureBlocking): Throws IOException.
1937 (connect): Likewise.
1938 (read): Likewise.
1939 (write): Likewise.
1940 * gnu/java/nio/natFileLockImpl.cc: New file.
1941 * java/nio/channels/FileLock.java: Reformatted.
1942 * Makefile.am:
1943 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1944 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1945 * Makefile.in: Regenerated.
1946
1947 2003-05-13 Michael Koch <konqueror@gmx.de>
1948
1949 * gnu/java/nio/CharViewBufferImpl.java
1950 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1951 (get): Shift bits to the right direction.
1952 (put): Likewise.
1953 * gnu/java/nio/DoubleViewBufferImpl.java
1954 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1955 (get): Shift bits to the right direction.
1956 (put): Likewise.
1957 * gnu/java/nio/FloatViewBufferImpl.java
1958 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1959 (get): Shift bits to the right direction.
1960 (put): Likewise.
1961 * gnu/java/nio/IntViewBufferImpl.java
1962 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1963 (get): Shift bits to the right direction.
1964 (put): Likewise.
1965 * gnu/java/nio/LongViewBufferImpl.java
1966 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1967 (get): Shift bits to the right direction.
1968 (put): Likewise.
1969 * gnu/java/nio/ShortViewBufferImpl.java
1970 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1971 (get): Shift bits to the right direction.
1972 (put): Likewise.
1973
1974 2003-05-13 Michael Koch <konqueror@gmx.de>
1975
1976 * gnu/java/nio/natDirectByteBufferImpl.cc
1977 (allocateImpl): jlong -> RawData*.
1978 (freeImpl): Likewise.
1979
1980 2003-05-13 Michael Koch <konqueror@gmx.de>
1981
1982 * java/nio/channels/FileChannel.java
1983 (MapMode.m): Made it package-private to match JDK 1.4.
1984 * java/nio/charset/Charset.java
1985 (decode): Made it final to match JDK 1.4.
1986
1987 2003-05-13 Michael Koch <konqueror@gmx.de>
1988
1989 * java/io/FileDescriptor.java
1990 (SYNC): New constant.
1991 (DSYNC): Likewise.
1992 (getLength): Renamed from lenght() to match classpath's
1993 FileDescriptor.java.
1994 * java/io/RandomAccessFile.java
1995 (RandomAccessFile): Removed unneeded mode check, implemented mode
1996 "rws" and "rwd", merged documentation from classpath.
1997 (setLength): Reformatted.
1998 (length): Use new getLength() of FileDescriptor.
1999 * java/io/natFileDescriptorEcos.cc
2000 (getLength): Renamed from length().
2001 * java/io/natFileDescriptorPosix.cc
2002 (open): Implemented support for SYNC and DSYNC.
2003 (seek): Use getLength() instead of length().
2004 (getLength): Renamed from length().
2005 * java/io/natFileDescriptorWin32.cc
2006 (getLength): Renamed from length().
2007 (seek): Use getLength() instead of length().
2008 (available): Likewise.
2009 * gnu/java/nio/natFileChannelImpl.cc
2010 (size): Use getLength() instead of length().
2011
2012 2003-05-13 Michael Koch <konqueror@gmx.de>
2013
2014 * gnu/java/nio/ByteBufferImpl.java
2015 (ByteBufferImpl): All constructors revised.
2016 (slice): Reimplemented.
2017 (duplicate): Reimplemented.
2018 (asReadOnlyBuffer): Reimplemented.
2019 * java/nio/ByteBuffer.java:
2020 Reformatted.
2021 (array_offset): Renamed from "offset" to match all other buffer
2022 classes.
2023 (ByteBuffer): All constructors revised.
2024 (allocateDirect): Implemented.
2025 (allocate): New implementation, documentation reworked.
2026 (wrap): Likewise.
2027 (get): Documentation reworked.
2028 (put): New implementation, documentation reworked.
2029 (hasArray): Documentation reworked.
2030 (arrayOffset): Likewise.
2031 (hashCode): Likewise.
2032 (equals): Likewise.
2033 (compareTo): Likewise.
2034 (order): Likewise.
2035 (compact): Likewise.
2036 (isDirect): Likewise.
2037 (slice): Likewise.
2038 (duplicate): Likewise.
2039 (asReadOnlyBuffer): Likewise.
2040 * Makefile.am
2041 (ordinary_java_source_files):
2042 Added gnu/java/nio/DirectByteBufferImpl.java.
2043 (nat_source_files):
2044 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2045 * Makefile.in: Regenerated.
2046
2047 2003-05-12 Michael Koch <konqueror@gmx.de>
2048
2049 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2050 (nio_get_*): Removed.
2051 (nio_put_*): Removed.
2052 (as*Buffer): Implemented.
2053 (compact): Implemented.
2054 (get): Documentation added.
2055 (put): Documentation added.
2056 (get*): Newly implemented.
2057 (put*): Newly implemented.
2058 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2059 (CharBufferImpl): Revised.
2060 (slice): New implementation.
2061 (duplicate): New implementation.
2062 (compact): New implementation.
2063 (asReadOnlyBuffer): New implementation.
2064 (get): Documentation revised.
2065 (order): Return native byte order.
2066 * gnu/java/nio/DirectByteBufferImpl.java
2067 (allocateDirect): objects can be null not 0.
2068 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2069 (DoubleBufferImpl): Revised.
2070 (slice): New implementation.
2071 (duplicate): New implementation.
2072 (compact): New implementation.
2073 (asReadOnlyBuffer): New implementation.
2074 (get): Documentation revised.
2075 (order): Return native byte order.
2076 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2077 (FloatBufferImpl): Revised.
2078 (slice): New implementation.
2079 (duplicate): New implementation.
2080 (compact): New implementation.
2081 (asReadOnlyBuffer): New implementation.
2082 (get): Documentation revised.
2083 (order): Return native byte order.
2084 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2085 (IntBufferImpl): Revised.
2086 (slice): New implementation.
2087 (duplicate): New implementation.
2088 (compact): New implementation.
2089 (asReadOnlyBuffer): New implementation.
2090 (get): Documentation revised.
2091 (order): Return native byte order.
2092 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2093 (LongBufferImpl): Revised.
2094 (slice): New implementation.
2095 (duplicate): New implementation.
2096 (compact): New implementation.
2097 (asReadOnlyBuffer): New implementation.
2098 (get): Documentation revised.
2099 (order): Return native byte order.
2100 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2101 (ShortBufferImpl): Revised.
2102 (slice): New implementation.
2103 (duplicate): New implementation.
2104 (compact): New implementation.
2105 (asReadOnlyBuffer): New implementation.
2106 (get): Documentation revised.
2107 (order): Return native byte order.
2108 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2109 (CharBuffer): Revised.
2110 (order): Removed.
2111 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2112 (DoubleBuffer): Revised.
2113 (allocateDirect): Removed.
2114 (order): Removed.
2115 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2116 (FloatBuffer): Revised.
2117 (allocateDirect): Removed.
2118 (order): Removed.
2119 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2120 (IntBuffer): Revised.
2121 (allocateDirect): Removed.
2122 (order): Removed.
2123 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2124 (LongBuffer): Revised.
2125 (allocateDirect): Removed.
2126 (order): Removed.
2127 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2128 (ShortBuffer): Revised.
2129 (allocateDirect): Removed.
2130 (order): Removed.
2131 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2132 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2133 * Makefile.am
2134 (ordinary_java_source_files): Added the following files:
2135 gnu/java/nio/CharViewBufferImpl.java,
2136 gnu/java/nio/DoubleViewBufferImpl.java,
2137 gnu/java/nio/FloatViewBufferImpl.java,
2138 gnu/java/nio/IntViewBufferImpl.java,
2139 gnu/java/nio/LongViewBufferImpl.java,
2140 gnu/java/nio/ShortViewBufferImpl.java
2141 (nat_source_files): Removed the following files:
2142 gnu/java/nio/natByteBufferImpl.cc,
2143 gnu/java/nio/natCharBufferImpl.cc
2144 * Makefile.in: Regenerated.
2145
2146 2003-05-12 Michael Koch <konqueror@gmx.de>
2147
2148 * gnu/java/nio/CharViewBufferImpl.java,
2149 gnu/java/nio/DirectByteBufferImpl.java,
2150 gnu/java/nio/DoubleViewBufferImpl.java,
2151 gnu/java/nio/FloatViewBufferImpl.java,
2152 gnu/java/nio/IntViewBufferImpl.java,
2153 gnu/java/nio/LongViewBufferImpl.java,
2154 gnu/java/nio/ShortViewBufferImpl.java,
2155 gnu/java/nio/natDirectByteBufferImpl.cc:
2156 New files, not yet to be compiled.
2157
2158 2003-05-10 Michael Koch <konqueror@gmx.de>
2159
2160 * javax/swing/plaf/ButtonUI.java,
2161 javax/swing/plaf/ColorUIResource.java,
2162 javax/swing/plaf/ComponentUI.java,
2163 javax/swing/plaf/DimensionUIResource.java,
2164 javax/swing/plaf/FontUIResource.java,
2165 javax/swing/plaf/IconUIResource.java,
2166 javax/swing/plaf/InsetsUIResource.java,
2167 javax/swing/plaf/LabelUI.java,
2168 javax/swing/plaf/ListUI.java,
2169 javax/swing/plaf/OptionPaneUI.java,
2170 javax/swing/plaf/PanelUI.java,
2171 javax/swing/plaf/TabbedPaneUI.java,
2172 javax/swing/plaf/TextUI.java,
2173 javax/swing/plaf/TreeUI.java,
2174 javax/swing/plaf/ViewportUI.java,
2175 javax/swing/plaf/basic/BasicBorders.java,
2176 javax/swing/plaf/basic/BasicButtonUI.java,
2177 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2178 javax/swing/plaf/basic/BasicDefaults.java,
2179 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2180 javax/swing/plaf/basic/BasicIconFactory.java,
2181 javax/swing/plaf/basic/BasicLabelUI.java,
2182 javax/swing/plaf/basic/BasicListUI.java,
2183 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2184 javax/swing/plaf/basic/BasicPanelUI.java,
2185 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2186 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2187 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2188 javax/swing/plaf/basic/BasicTextUI.java,
2189 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2190 javax/swing/plaf/basic/BasicTreeUI.java,
2191 javax/swing/plaf/basic/BasicViewportUI.java,
2192 javax/swing/plaf/metal/MetalLookAndFeel.java:
2193 New versions from classpath. This adds copyrights to all files and
2194 some serialVersionUIDs.
2195
2196 2003-05-10 Michael Koch <konqueror@gmx.de>
2197
2198 * java/nio/CharBuffer.java
2199 (offset): Make it package-private.
2200 (backing_buffer): Likewise.
2201 * java/nio/DoubleBuffer.java
2202 (offset): Make it package-private.
2203 (backing_buffer): Likewise.
2204 (put): Reformatted.
2205 * java/nio/FloatBuffer.java
2206 (offset): Make it package-private.
2207 (backing_buffer): Likewise.
2208 * java/nio/IntBuffer.java
2209 (offset): Make it package-private.
2210 (backing_buffer): Likewise.
2211 * java/nio/LongBuffer.java
2212 (offset): Make it package-private.
2213 (backing_buffer): Likewise.
2214 * java/nio/ShortBuffer.java
2215 (offset): Make it package-private.
2216 (backing_buffer): Likewise.
2217
2218 2003-05-10 Michael Koch <konqueror@gmx.de>
2219
2220 * java/nio/CharBuffer.java
2221 (put): Fixed precondtion check.
2222 (toString): Make it work without backing array.
2223 (put): Skip one level of method calling.
2224
2225 2003-05-10 Michael Koch <konqueror@gmx.de>
2226
2227 * java/security/Identity.java,
2228 java/security/IdentityScope.java,
2229 java/security/Key.java,
2230 java/security/KeyPair.java,
2231 java/security/PrivateKey.java,
2232 java/security/Provider.java,
2233 java/security/PublicKey.java,
2234 java/security/SecureRandom.java,
2235 java/security/SecureRandomSpi.java,
2236 java/security/SignedObject.java,
2237 java/security/Signer.java,
2238 java/security/cert/Certificate.java,
2239 java/security/cert/PKIXCertPathBuilderResult.java,
2240 java/security/cert/X509Certificate.java:
2241 New versions from classpath.
2242
2243 2003-05-09 Tom Tromey <tromey@redhat.com>
2244
2245 * Makefile.in: Rebuilt.
2246 * Makefile.am (nat_source_files): Removed old files.
2247 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2248 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2249 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2250 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2251 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2252
2253 2003-05-09 Michael Koch <konqueror@gmx.de>
2254
2255 * gnu/java/nio/ByteBufferImpl.java
2256 (nio_cast): Removed.
2257 (ByteBufferImpl): Removed.
2258 (nio_get_Byte): Removed.
2259 (nio_put_Byte): Removed.
2260 (asByteBuffer): Removed.
2261 (asCharBuffer): Removed implementation and throw exception.
2262 (asShortBuffer): Likewise.
2263 (asIntBuffer): Likewise.
2264 (asLongBuffer): Likewise.
2265 (asFloatBuffer): Likewise.
2266 (asDoubleBuffer): Likewise.
2267 * gnu/java/nio/CharBufferImpl.java
2268 (CharBufferImpl): Removed.
2269 (nio_get_Byte): Removed.
2270 (nio_put_Byte): Removed.
2271 (asByteBuffer): Removed.
2272 * gnu/java/nio/DoubleBufferImpl.java
2273 (DoubleBufferImpl): Removed.
2274 (nio_get_Byte): Removed.
2275 (nio_put_Byte): Removed.
2276 (asByteBuffer): Removed.
2277 * gnu/java/nio/FloatBufferImpl.java
2278 (FloatBufferImpl): Removed.
2279 (nio_get_Byte): Removed.
2280 (nio_put_Byte): Removed.
2281 (asByteBuffer): Removed.
2282 * gnu/java/nio/IntBufferImpl.java
2283 (IntBufferImpl): Removed.
2284 (nio_get_Byte): Removed.
2285 (nio_put_Byte): Removed.
2286 (asByteBuffer): Removed.
2287 * gnu/java/nio/LongBufferImpl.java
2288 (LongBufferImpl): Removed.
2289 (nio_get_Byte): Removed.
2290 (nio_put_Byte): Removed.
2291 (asByteBuffer): Removed.
2292 * gnu/java/nio/ShortBufferImpl.java
2293 (ShortBufferImpl): Removed.
2294 (nio_get_Byte): Removed.
2295 (nio_put_Byte): Removed.
2296 (asByteBuffer): Removed.
2297 * gnu/java/nio/natByteBufferImpl.cc
2298 (nio_cast): Removed.
2299 (nio_get_Byte): Removed.
2300 (nio_put_Byte): Removed.
2301 * gnu/java/nio/natCharBufferImpl.cc
2302 (nio_get_Byte): Removed.
2303 (nio_put_Byte): Removed.
2304
2305 2003-05-09 Michael Koch <konqueror@gmx.de>
2306
2307 * java/net/JarURLConnection.java
2308 (getJarEntry): Merged documentation from classpath.
2309 (getJarFile): Likewise.
2310 (getMainAttributes): Likewise.
2311 (getAttributes): Likewise.
2312 (getManifest): Likewise.
2313 (getCertificates): Reformatted.
2314 * java/net/URLConnection.java:
2315 Little classpath merge.
2316
2317 2003-05-09 Michael Koch <konqueror@gmx.de>
2318
2319 * java/io/DataOutputStream.java
2320 (writeShort): Made it synchronized.
2321 (writeChar): Likewise.
2322 (writeInt): Likewise.
2323 (writeLong): Liekwise.
2324 (writeUTF): Made it synchronized, renamed argument to match classpath.
2325 * java/io/InputStreamReader.java
2326 (converter): Added documentation.
2327 (read): Merged documentation from classpath.
2328 * java/io/OutputStreamWriter.java
2329 (OutputStreamWriter): Merged documentation from classpath.
2330 (close): Reformatted.
2331 (getEncoding): Likewise.
2332 (flush): Likewise.
2333 (write): Merged documentation from classpath, reformatted.
2334
2335 2003-05-08 Tom Tromey <tromey@redhat.com>
2336
2337 * configure.host <powerpc64*-*>: Set with_libffi_default and
2338 libgcj_interpreter to "yes".
2339
2340 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2341
2342 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2343
2344 2003-05-06 Tom Tromey <tromey@redhat.com>
2345
2346 * verify.cc: Reverted previous patch.
2347
2348 2003-05-06 Michael Koch <konqueror@gmx.de>
2349
2350 * java/io/DataOutputStream.java
2351 (write): Renamed argument to "value", merged documentation from
2352 classpath.
2353 (writeBoolean): Likewise.
2354 (writeByte): Likewise.
2355 (writeShort): Likewise.
2356 (writeChar): Likewise.
2357 (writeInt): Likewise.
2358 (writeLong): Likewise.
2359 (writeFloat): Likewise.
2360 (writeDouble): Likewise.
2361 (writeBytes): Likewise.
2362 (writeChars): Likewise.
2363 (writeUTF): Likewise.
2364 * java/io/File.java
2365 (performDelete): Added documentation.
2366 (performList): Likewise.
2367 (performMkdir): Likewise.
2368 (performSetReadOnly): Likewise.
2369 (performRenameTo): Likewise.
2370 (performSetLastModified): Likewise.
2371 (delete): Made it sychronized.
2372 (renameTo): Made it sychronized.
2373 (equals): Reformatted.
2374 (isHidden): Likewise.
2375 (listFiles): Likewise.
2376 (setReadOnly): Likewise.
2377 (listRoots): Likewise.
2378 (setLastModified): Likewise.
2379 (checkRead): Likewise.
2380 (checkWrite): Likewise.
2381 * java/io/FileInputStream.java
2382 (skip): Made it sychronized, merged from classpath.
2383 * java/io/FileOutputStream.java
2384 (write): Merged from classpath.
2385 * java/io/InputStreamReader.java:
2386 (InputStreamReader): Merged documentation from classpath.
2387
2388 2003-05-05 Michael Koch <konqueror@gmx.de>
2389
2390 * java/net/NetworkInterface.java
2391 (networkInterfaces): Removed.
2392 (getByName): Use getRealNetworkInterfaces() instead of
2393 networkInterfaces.
2394 (getByInetAddress): Likewise.
2395 (getNetworkInterfaces): Likewise.
2396 (toString): Fix output of addresses of an interface.
2397
2398 2003-05-05 Michael Koch <konqueror@gmx.de>
2399
2400 * java/io/DataInputStream.java:
2401 Merged new documentation from classpath.
2402
2403 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2404
2405 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2406 "version".
2407 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2408 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2409 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2410 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2411 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2412 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2413 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2414 * java/security/Key.java: Likewise.
2415 * java/security/PrivateKey.java: Likewise.
2416 * java/security/Provider.java: Likewise.
2417 * java/security/PublicKey.java: Likewise.
2418
2419 2003-05-02 Michael Koch <konqueror@gmx.de>
2420
2421 * java/net/URI.java
2422 (create): Doesnt throws any exceptions.
2423 * java/net/URLConnection.java
2424 (URLConnection): Commend added.
2425 (getExpiration): The header field is called "expires" not
2426 "expiration".
2427 (getHeaderField): Merged documentation with classpath.
2428 (getHeaderFieldInt): Likewise.
2429 (getHeaderFieldDate): Likewise.
2430 (getHeaderFieldKey): Likewise.
2431 (getPermission): Likewise.
2432 (setDefaultUseCaches): Likewise.
2433 (setRequestProperty): Likewise.
2434 (addRequestProperty): Likewise.
2435 (getRequestProperty): Likewise.
2436 (getRequestProperties): Likewise.
2437 (setDefaultRequestProperty): Likewise.
2438 (getDefaultRequestProperty): Likewise.
2439 (guessContentTypeFromStream): Likewise.
2440 (getFileNameMap): Likewise.
2441 (setFileNameMap): Likewise.
2442 (setDoInput): Merged implementation and documentation with classpath.
2443 (setDoOutput): Likewise.
2444 (setAllowUserInteraction): Likewise.
2445 (setDefaultAllowUserInteraction): Likewise.
2446 (setContentHandlerFactory): Made it synchronized, merged documentation
2447 with classpath.
2448 (guessContentTypeFromName): Renamed argument fname to filename to
2449 match classpath, merged documentation with classpath.
2450
2451 2003-05-02 Michael Koch <konqueror@gmx.de>
2452
2453 * java/net/JarURLConnection.java
2454 (JarURLConnection): Class documentation merged with classpath.
2455 (getJarFileURL): Moved and documentation merged with classpath.
2456 (getEntryName): Likewise.
2457 (JarURLConnection): Documentation merged with classpath.
2458 (getJarEntry): Likewise.
2459 (getJarFile): Likewise.
2460 * java/net/PlainDatagramSocketImpl.java:
2461 Class documentation moved.
2462 * java/net/URLConnection.java
2463 (fileNameMap): Moved and documentation merged with classpath.
2464 (factory): Likewise.
2465 (defaultAllowUserInteraction): Likewis.
2466 (defaultUseCaches): Likewise.
2467 (allowUserInteraction): Likewise.
2468 (connected): Likewise.
2469 (url): Likewise.
2470 (connect): Documentation merged with classpath.
2471 (getURL): Likewise.
2472 (getContentLength): Likewise.
2473 (getContentType): Likewise.
2474 (getContentEncoding): Likewise.
2475 (getExpiration): Likewise.
2476 (getDate): Likewise.
2477 (getLastModified): Likewise.
2478 (getHeaderField): Likewise.
2479 (getContent): Likewise.
2480 (getPermission): Likewise.
2481 (getInputStream): Likewise.
2482 (getOutputStream): Likewise.
2483 (toString): Likewise.
2484 (getDoInput): Likewise.
2485 (getDoOutput): Likewise.
2486 (setAllowUserInteraction): Likewise.
2487 (getAllowUserInteraction): Likewise.
2488 (setDefaultAllowUserInteraction): Likewise.
2489 (getDefaultAllowUserInteraction): Likewise.
2490 (setUseCaches): Likewise.
2491 (getUseCaches): Likewise.
2492 (setIfModifiedSince): Likewise.
2493 (getIfModifiedSince): Likewise.
2494 (setDefaultRequestProperty): Likewise.
2495 (getDefaultRequestProperty): Likewise.
2496 (setContentHandlerFactory): Likewise.
2497 (setFileNameMap): Likewise.
2498
2499 2003-05-02 Michael Koch <konqueror@gmx.de>
2500
2501 * java/net/InetAddress.java:
2502 Merged class documentation with classpath.
2503 * java/net/JarURLConnection.java:
2504 Explicitely import all used classes.
2505 * java/net/URL.java:
2506 Reformatting.
2507 * java/net/ServerSocket.java,
2508 java/net/Socket.java:
2509 New versions from classpath.
2510
2511 2003-05-02 Michael Koch <konqueror@gmx.de>
2512
2513 * gnu/java/nio/FileChannelImpl.java
2514 (read): New implementation.
2515 (implRead): New methods.
2516 (write): New implementation, call other write insteal of read method.
2517 (implWrite): New methods.
2518 (map): Added comment.
2519 (transferFrom): Implemented.
2520 (transferTo): Implemented.
2521 (lock): Added checks to throw exceptions.
2522 (truncate): Added check to throw exception.
2523 * gnu/java/nio/natFileChannelImpl.cc
2524 (implRead): New method.
2525 (implWrite): New method.
2526 * java/nio/ByteBuffer.java
2527 (hashCode): Fixed comment.
2528 (get): Fixed exception documentation.
2529 (put): Fixed exception documentation.
2530 * java/nio/CharBuffer.java:
2531 Added comment for later optimizations.
2532
2533 2003-04-30 Tom Tromey <tromey@redhat.com>
2534
2535 PR libgcj/10582:
2536 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2537 Removed.
2538 (type::compatible): Use _Jv_IsAssignableFrom.
2539 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2540 (_Jv_IsAssignableFrom): Work even when source or target class is
2541 not prepared.
2542
2543 2003-04-30 Michael Koch <konqueror@gmx.de>
2544
2545 * java/text/BreakIterator.java
2546 (clone): New method.
2547
2548 2003-04-30 Michael Koch <konqueror@gmx.de>
2549
2550 * java/text/CollationElementIterator.java,
2551 java/text/CollationKey.java,
2552 java/text/RuleBasedCollator.java:
2553 Merged copyright and documentation from classpath and
2554 rearranged some code. No code changes done.
2555
2556 2003-04-30 Michael Koch <konqueror@gmx.de>
2557
2558 * java/util/regex/Matcher.java
2559 (pattern): New member variable.
2560 (appendReplacement): New method.
2561 (appendTail): New method.
2562 (end): New method.
2563 (find): New method.
2564 (group): New method.
2565 (replaceFirst): Added documentation.
2566 (replaceAll): Added documentation.
2567 (groupCount): New method.
2568 (lookingAt): New method.
2569 (matches): New method.
2570 (reset): New method.
2571 (start): New method.
2572 * java/util/regex/Pattern.java
2573 (serialVersionUID): New constant.
2574 (CANON_EQ): New constant.
2575 (CASE_INSENSITIVE): New constant.
2576 (COMMENTS): New constant.
2577 (DOTALL): New constant.
2578 (MULTILINE): New constant.
2579 (UNICODE_CASE): New constant.
2580 (UNIX_LINES): New constant.
2581 (regex): New member variable.
2582 (flags): New member variable.
2583 (Pattern): New method.
2584 (compile): Documentation added.
2585 (flags): New method.
2586 (matches): Documentation added.
2587 (matcher): Documentation added.
2588 (split): Documentation added.
2589 (pattern): New method.
2590
2591 2003-04-30 Michael Koch <konqueror@gmx.de>
2592
2593 * gnu/java/security/Engine.java,
2594 gnu/java/security/OID.java,
2595 gnu/java/security/der/BitString.java,
2596 gnu/java/security/der/DER.java,
2597 gnu/java/security/der/DERReader.java,
2598 gnu/java/security/der/DERValue.java,
2599 gnu/java/security/der/DERWriter.java,
2600 gnu/java/security/provider/DSAKeyFactory.java,
2601 gnu/java/security/provider/X509CertificateFactory.java,
2602 gnu/java/security/x509/X500DistinguishedName.java,
2603 gnu/java/security/x509/X509CRL.java,
2604 gnu/java/security/x509/X509CRLEntry.java,
2605 gnu/java/security/x509/X509Certificate.java,
2606 java/security/cert/CRLSelector.java,
2607 java/security/cert/CertPathBuilder.java,
2608 java/security/cert/CertPathBuilderResult.java,
2609 java/security/cert/CertPathBuilderSpi.java,
2610 java/security/cert/CertPathParameters.java,
2611 java/security/cert/CertPathValidator.java,
2612 java/security/cert/CertPathValidatorResult.java,
2613 java/security/cert/CertPathValidatorSpi.java,
2614 java/security/cert/CertSelector.java,
2615 java/security/cert/CertStore.java,
2616 java/security/cert/CertStoreParameters.java,
2617 java/security/cert/CertStoreSpi.java,
2618 java/security/cert/CollectionCertStoreParameters.java,
2619 java/security/cert/LDAPCertStoreParameters.java,
2620 java/security/cert/PKIXBuilderParameters.java,
2621 java/security/cert/PKIXCertPathBuilderResult.java,
2622 java/security/cert/PKIXCertPathChecker.java,
2623 java/security/cert/PKIXCertPathValidatorResult.java,
2624 java/security/cert/PKIXParameters.java,
2625 java/security/cert/PolicyNode.java,
2626 java/security/cert/PolicyQualifierInfo.java,
2627 java/security/cert/TrustAnchor.java,
2628 javax/security/auth/x500/X500Principal.java:
2629 New files from classpath.
2630 * gnu/java/io/ASN1ParsingException.java,
2631 gnu/java/io/Base64InputStream.java,
2632 gnu/java/security/der/DEREncodingException.java,
2633 gnu/java/security/provider/DSAParameters.java,
2634 gnu/java/security/provider/DSASignature.java,
2635 gnu/java/security/provider/Gnu.java,
2636 gnu/java/security/provider/GnuDSAPrivateKey.java,
2637 gnu/java/security/provider/GnuDSAPublicKey.java,
2638 java/security/AlgorithmParameterGenerator.java,
2639 java/security/AlgorithmParameters.java,
2640 java/security/KeyFactory.java,
2641 java/security/KeyPairGenerator.java,
2642 java/security/KeyStore.java,
2643 java/security/MessageDigest.java,
2644 java/security/SecureClassLoader.java,
2645 java/security/SecureRandom.java,
2646 java/security/Security.java,
2647 java/security/Signature.java,
2648 java/security/cert/Certificate.java,
2649 java/security/cert/CertificateFactory.java,
2650 java/security/cert/CertificateFactorySpi.java,
2651 java/security/cert/X509CRL.java,
2652 java/security/cert/X509Certificate.java,
2653 java/security/spec/DSAPublicKeySpec.java:
2654 New versions from classpath.
2655 * gnu/java/security/provider/DERReader.java,
2656 gnu/java/security/provider/DERWriter.java,
2657 java/security/Engine.java: Removed.
2658 * Makefile.am
2659 (java_source_files, javax_source_files): Added new files.
2660 * Makefile.in: Regenerated.
2661
2662 2003-04-29 Michael Koch <konqueror@gmx.de>
2663
2664 * javax/swing/JTable.java
2665 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2666 (AUTO_RESIZE_LAST_COLUMN): New constant.
2667 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2668 (AUTO_RESIZE_OFF): New constant.
2669 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2670 (JTable): New method.
2671 (columnAdded): New method.
2672 (columnMarginChanged): New method.
2673 (columnMoved): New method.
2674 (columnRemoved): New method.
2675 (columnSelectionChanged): New method.
2676 (editingCanceled): New method.
2677 (editingStopped): New method.
2678 (getColumnModel): New method.
2679 (getPreferredScrollableViewportSize): New method.
2680 (getScrollableBlockIncrement): New method.
2681 (getScrollableTracksViewportHeight): New method.
2682 (getScrollableTracksViewportWidth): New method.
2683 (getScrollableUnitIncrement): New method.
2684 (getSelectedRow): New method.
2685 (getSelectionModel): New method.
2686 (tableChanged): New method.
2687 (setModel): New method.
2688 (setSelectionMode): New method.
2689 (setSelectionModel): New method.
2690 (setShowGrid): New method.
2691 (valueChanged): New method.
2692 * javax/swing/text/DefaultEditorKit.java
2693 (backwardAction): New constant.
2694 (beepAction): New constant.
2695 (beginAction): New constant.
2696 (beginLineAction): New constant.
2697 (beginParagraphAction): New constant.
2698 (beginWordAction): New constant.
2699 (copyAction): New constant.
2700 (cutAction): New constant.
2701 (defaultKeyTypedAction): New constant.
2702 (deleteNextCharAction): New constant.
2703 (deletePrevCharAction): New constant.
2704 (downAction): New constant.
2705 (endAction): New constant.
2706 (endLineAction): New constant.
2707 (endOfLineStringProperty): New constant.
2708 (endParagraphAction): New constant.
2709 (endWordAction): New constant.
2710 (forwardAction): New constant.
2711 (insertBreakAction): New constant.
2712 (insertContentAction): New constant.
2713 (insertTabAction): New constant.
2714 (nextWordAction): New constant.
2715 (pageDownAction): New constant.
2716 (pageUpAction): New constant.
2717 (pasteAction): New constant.
2718 (previousWordAction): New constant.
2719 (readOnlyAction): New constant.
2720 (selectAllAction): New constant.
2721 (selectionBackwardAction): New constant.
2722 (selectionBeginAction): New constant.
2723 (selectionBeginLineAction): New constant.
2724 (selectionBeginParagraphAction): New constant.
2725 (selectionBeginWordAction): New constant.
2726 (selectionDownAction): New constant.
2727 (selectionEndAction): New constant.
2728 (selectionEndLineAction): New constant.
2729 (selectionEndParagraphAction): New constant.
2730 (selectionEndWordAction): New constant.
2731 (selectionForwardAction): New constant.
2732 (selectionNextWordAction): New constant.
2733 (selectionPreviousWordAction): New constant.
2734 (selectionUpAction): New constant.
2735 (selectLineAction): New constant.
2736 (selectParagraphAction): New constant.
2737 (selectWordAction): New constant.
2738 (upAction): New constant.
2739 (writableAction): New constant.
2740
2741 2003-04-29 Michael Koch <konqueror@gmx.de>
2742
2743 * java/util/PropertyPermission.java:
2744 New version from classpath
2745 * java/util/ResourceBundle.java:
2746 Partly merged from classpath
2747 (getObject): Reformated.
2748 (tryBundle): Set foundBundle = null if no bundle found.
2749
2750 2003-04-29 Michael Koch <konqueror@gmx.de>
2751
2752 * javax/swing/AbstractListModel.java,
2753 javax/swing/DefaultBoundedRangeModel.java,
2754 javax/swing/DefaultSingleSelectionModel.java:
2755 New Versions from classpath.
2756
2757 2003-04-29 Michael Koch <konqueror@gmx.de>
2758
2759 * java/awt/Window.java
2760 (show): Call super.show() instead of setVisible() to avoid endless
2761 loop.
2762 (hide): Call super.hide() instead of setVisible() to avoid endless
2763 loop.
2764
2765 2003-04-29 Michael Koch <konqueror@gmx.de>
2766
2767 * java/util/zip/Deflater.java,
2768 java/util/zip/DeflaterOutputStream.java:
2769 Partly merged with classpath.
2770
2771 2003-04-27 Tom Tromey <tromey@redhat.com>
2772
2773 * java/lang/natString.cc (_Jv_AllocString): Initialize
2774 cachedHashCode.
2775 (init): Likewise.
2776 (_Jv_NewStringUtf8Const): Likewise.
2777
2778 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2779
2780 * include/jvm.h: (_Jv_GetNbArgs) added
2781 (_Jv_GetSafeArg) added
2782 (_Jv_SetArgs) added
2783 * prims.cc: (_Jv_GetNbArgs) implemented
2784 (_Jv_GetSafeArg) implemented
2785 (_Jv_SetArgs) implemented
2786 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2787 setting _Jv_argc and _Jv_argv
2788 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2789 instead of _Jv_argv
2790 * java/lang/natRuntime.cc: (insertSystemProperties) use
2791 _Jv_GetSafeArg() instead of _Jv_argv
2792
2793 2003-04-23 Tom Tromey <tromey@redhat.com>
2794
2795 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2796 required by this object. Search superclasses to find required
2797 alignment.
2798 (get_alignment_from_class): Use alignment of type as it appears
2799 in a struct.
2800 (ALIGNOF): New macro.
2801 (struct aligner): New helper structure.
2802
2803 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2804
2805 * java/awt/Container.java (addImpl): Enable paint events if adding
2806 a lightweight to a heavyweight.
2807 (addNotify): Ensure that peer is created before
2808 addNotifyContainerChildren.
2809 (addNotifyContainerChildren): Enable paint events if a heavyweight
2810 container contains a lightweight.
2811
2812 2003-04-20 Tom Tromey <tromey@redhat.com>
2813
2814 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2815 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2816 Classpath.
2817
2818 2003-04-19 Tom Tromey <tromey@redhat.com>
2819
2820 * java/sql/Date.java, java/sql/DriverManager.java,
2821 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2822 Classpath.
2823
2824 * Makefile.in: Rebuilt.
2825 * Makefile.am (ordinary_java_source_files): Added new files.
2826 * java/security/AlgorithmParameterGenerator.java,
2827 java/security/AlgorithmParameters.java, java/security/Engine.java,
2828 java/security/Identity.java, java/security/IdentityScope.java,
2829 java/security/KeyFactory.java,
2830 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2831 java/security/MessageDigest.java, java/security/Policy.java,
2832 java/security/ProtectionDomain.java,
2833 java/security/SecureRandom.java, java/security/Security.java,
2834 java/security/Signature.java, java/security/SignatureSpi.java,
2835 java/security/SignedObject.java, java/security/Signer.java,
2836 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2837 java/security/spec/PSSParameterSpec.java,
2838 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2839 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2840 Classpath.
2841
2842 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2843
2844 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2845 (dispose): Null metrics.
2846 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2847 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2848 finalize.
2849 (finalize): Call dispose.
2850 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2851 (gcCachedCount): New field.
2852 (finalize): New method.
2853 (putGCInCache): New method.
2854 (getGCFromCache): New method.
2855 * gnu/gcj/xlib/GC.java (GC): Make protected.
2856 (clone): Get new GC from cache if possible.
2857 (create): New static method.
2858 (dispose): Save old GC in cache.
2859 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2860 deleting.
2861 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2862 is null.
2863 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2864 * java/awt/Container.java (visitChild): Dispose gfx2 when
2865 finished.
2866
2867 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2868
2869 * java/math/BigInteger.java (probablePrime): New.
2870 * java/math/BigDecimal.java (unscaledValue): New.
2871
2872 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2873
2874 * java/io/File.java (getAbsolutePath): On Windows, take care
2875 of paths like "C:", "G:foo\bar", etc.
2876 (getName): Make it work correctly on Windows.
2877 (getParent): Make it work correctly on Windows. For UNIX,
2878 fix bug that causes "/" to be returned as the parent of "/",
2879 instead of null as returned by Sun's JRE.
2880
2881 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2882
2883 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2884
2885 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2886 inner class.
2887 (CACHE_SIZE_PER_DISPLAY): New field
2888 (fontMetricsCache): New field
2889 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2890 loading ISO10646-1 fonts.
2891
2892 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2893
2894 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2895 characters.
2896 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2897 characters.
2898
2899 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2900
2901 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2902 floating point.
2903
2904 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2905
2906 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2907 installed libpthread is either linuxthreads with floating stacks or
2908 NPTL.
2909
2910 2003-04-14 Tom Tromey <tromey@redhat.com>
2911
2912 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2913 of alignment.
2914
2915 2003-04-10 Tom Tromey <tromey@redhat.com>
2916
2917 * verify.cc (pop64): Removed.
2918 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2919 exception if top-of-stack is narrow.
2920 (initialize_stack): Check to ensure that <init> is not static and
2921 <clinit> is.
2922
2923 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2924
2925 * java/io/ObjectStreamException
2926 * java/io/FileFilter
2927 * java/io/FilenameFilter
2928 * java/io/ObjectInput
2929 * java/io/ObjectOutput
2930 * java/io/ObjectStreamConstants
2931 Minor doc fixes, format fixes, spelling corrections, etc.
2932 * java/io/DataInput
2933 Corrected code samples in Javadocs to match reality
2934 * java/io/DataOutput
2935 * java/io/ObjectInputValidation
2936 Major documentation fixes - all Javadocs re-written or updated
2937
2938 2003-04-06 Michael Koch <konqueror@gmx.de>
2939
2940 * java/net/URLConnection.java:
2941 Import classes directly.
2942 (URLConnection): Merged class documentation with classpath.
2943 (url): Moved, documentation from classpath added.
2944 (doInput): Moved, documentation from classpath added.
2945 (doOutput): Moved, documentation from classpath added.
2946 (allowUserInteraction): Moved.
2947 (useCaches): Moved, documentation from classpath added.
2948 (ifModifiedSince): Moved, documentation from classpath added.
2949 (connected): Moved, documentation from classpath added.
2950
2951 2003-04-06 Michael Koch <konqueror@gmx.de>
2952
2953 * java/io/FileInputStream.java
2954 (skip): Renamed some variables to match classpath, added
2955 checks from classpath.
2956
2957 2003-03-31 Michael Koch <konqueror@gmx.de>
2958
2959 * javax/swing/AbstractAction.java
2960 (AbstractAction): Reformatted.
2961 (serialVersionUID): New private member variable.
2962 * javax/swing/plaf/BorderUIResource.java
2963 (serialVersionUID): New private member variable.
2964 * javax/swing/plaf/basic/BasicLookAndFeel.java
2965 (serialVersionUID): New private member variable.
2966
2967 2003-03-31 Michael Koch <konqueror@gmx.de>
2968
2969 * java/sql/Date.java
2970 (valueOf): Deprecated, reformatted.
2971 (toString): Deprecated, reformatted.
2972 * java/sql/Time.java
2973 (valueOf): Deprecated, reformatted.
2974 (toString): Deprecated, reformatted.
2975
2976 2003-03-31 Michael Koch <konqueror@gmx.de>
2977
2978 * java/rmi/dgc/VMID.java
2979 (isUnique): Deprecated.
2980
2981 2003-03-31 Michael Koch <konqueror@gmx.de>
2982
2983 * java/io/File.java
2984 (separator): Merged documentation from classpath.
2985 (separatorChar): Merged documentation from classpath.
2986 (pathSeparator): Merged documentation from classpath.
2987 (pathSeparatorChar): Merged documentation from classpath.
2988 (path): Merged documentation from classpath.
2989 (canRead): Merged documentation from classpath.
2990 (canWrite): Merged documentation from classpath.
2991 (createNewFile): Merged documentation from classpath.
2992 (delete): Merged documentation from classpath.
2993 (equals): Merged documentation from classpath.
2994 (exists): Merged documentation from classpath.
2995 (File): Renamed p to name to match classpath, merged documentation
2996 from classpath.
2997 (getAbsolutePath): Merged documentation from classpath.
2998 (getCanonicalPath): Merged documentation from classpath.
2999 (getCanonicalFile): Merged documentation from classpath.
3000 (getName): Merged documentation from classpath.
3001 (getParent): Merged documentation from classpath.
3002 (getParentFile): Merged documentation from classpath.
3003 (getPath): Merged documentation from classpath.
3004 (hashCode): Merged documentation from classpath.
3005 (isAbsolute): Merged documentation from classpath.
3006 (isDirectory): Merged documentation from classpath.
3007 (isFile): Merged documentation from classpath.
3008 (isHidden): Merged documentation from classpath.
3009 (lastModified): Merged documentation from classpath.
3010 (length): Merged documentation from classpath.
3011 (list): Merged documentation from classpath.
3012 (listFiles): Merged documentation from classpath.
3013 (toString): Merged documentation from classpath.
3014 (toURL): Merged documentation from classpath.
3015 (mkdir): Merged documentation from classpath.
3016 (mkdirs): Merged documentation from classpath.
3017 (createTempFile): Merged documentation from classpath.
3018 (setReadOnly): Merged documentation from classpath.
3019 (listRoots): Merged documentation from classpath.
3020 (compareTo): Merged documentation from classpath.
3021 (renameTo): Merged documentation from classpath.
3022 (setLastModified): Merged documentation from classpath.
3023 * java/io/PrintStream.java
3024 (auto_flush): Merged documentation from classpath.
3025 (PrintStream): Merged documentation from classpath.
3026 (checkError): Merged documentation from classpath.
3027 (setError): Merged documentation from classpath.
3028 (close): Merged documentation from classpath.
3029 (flush): Merged documentation from classpath.
3030 (print): Merged documentation from classpath.
3031 (println): Merged documentation from classpath.
3032 (write): Renamed count to len to match classpath,
3033 merged documentation from classpath.
3034 * java/io/RandomAccessFile.java
3035 (readShort): Merged documentation from classpath.
3036 (readUnsignedByte): Merged documentation from classpath.
3037 (readUnsignedShort): Merged documentation from classpath.
3038 (readUTF): Merged documentation from classpath.
3039 (seek): Reformatted, merged documentation from classpath.
3040 (skipBytes): Renamed some variables to match classpath, reformatted,
3041 merged documentation from classpath.
3042 (write): Merged documentation from classpath.
3043 (writeBoolean): Merged documentation from classpath.
3044 (writeByte): Merged documentation from classpath.
3045 (writeShort): Merged documentation from classpath.
3046 (writeChar): Merged documentation from classpath.
3047 (writeInt): Merged documentation from classpath.
3048 (writeLong): Merged documentation from classpath.
3049 (writeFloat): Merged documentation from classpath.
3050 (writeDouble): Merged documentation from classpath.
3051 (writeBytes): Merged documentation from classpath.
3052 (writeChars): Merged documentation from classpath.
3053 (writeUTF): Reformatted.
3054 (getChannel): Reformatted.
3055
3056 2003-03-31 Michael Koch <konqueror@gmx.de>
3057
3058 * java/awt/font/TextAttribute.java
3059 (readResolve): Throws java.io.InvalidObjectException.
3060
3061 2003-03-31 Michael Koch <konqueror@gmx.de>
3062
3063 * java/rmi/server/LoaderHandler.java
3064 (loadClass): Deprecated.
3065 (getSecurityContext): Deprecated.
3066 * java/rmi/server/LogStream.java
3067 (getDefaultStream): Deprecated.
3068 (setDefaultStream): Deprecated.
3069 (getOutputStream): Deprecated.
3070 (setOutputStream): Deprecated.
3071 (write): Deprecated.
3072 (toString): Deprecated.
3073 (parseLevel): Deprecated.
3074 * java/rmi/server/Operation.java
3075 (Operation): Deprecated.
3076 (getOperation): Deprecated.
3077 (toString): Deprecated.
3078 * java/rmi/server/RemoteCall.java
3079 (getOutputStream): Deprecated.
3080 (releaseOutputStream): Deprecated.
3081 (getInputStream): Deprecated.
3082 (releaseInputStream): Deprecated.
3083 (getResultStream): Deprecated.
3084 (executeCall): Deprecated.
3085 (done): Deprecated.
3086 * java/rmi/server/RemoteRef.java
3087 (invoke): Deprecated.
3088 (newCall): Deprecated.
3089 (done): Deprecated.
3090 * java/rmi/server/RemoteStub.java
3091 (setRef): Deprecated.
3092 * java/rmi/server/Skeleton.java:
3093 No need to import java.lang.Exception explicitly.
3094 (dispatch): Deprecated.
3095 (getOperations): Deprecated.
3096
3097 2003-03-31 Michael Koch <konqueror@gmx.de>
3098
3099 * java/rmi/dgc/VMID.java,
3100 java/rmi/registry/RegistryHandler.java,
3101 java/rmi/server/LogStream.java,
3102 java/rmi/server/Operation.java,
3103 java/rmi/server/RemoteCall.java,
3104 java/rmi/server/RemoteRef.java,
3105 java/rmi/server/RemoteStub.java:
3106 Reformatted.
3107
3108 2003-03-31 Michael Koch <konqueror@gmx.de>
3109
3110 * javax/swing/AbstractCellEditor.java,
3111 javax/swing/AbstractListModel.java,
3112 javax/swing/ActionMap.java,
3113 javax/swing/BorderFactory.java,
3114 javax/swing/ButtonGroup.java,
3115 javax/swing/DefaultBoundedRangeModel.java,
3116 javax/swing/DefaultButtonModel.java,
3117 javax/swing/DefaultCellEditor.java,
3118 javax/swing/DefaultComboBoxModel.java,
3119 javax/swing/DefaultDesktopManager.java,
3120 javax/swing/DefaultListCellRenderer.java,
3121 javax/swing/DefaultSingleSelectionModel.java,
3122 javax/swing/InputMap.java,
3123 javax/swing/JComponent.java,
3124 javax/swing/JMenu.java,
3125 javax/swing/JSlider.java,
3126 javax/swing/KeyStroke.java,
3127 javax/swing/OverlayLayout.java,
3128 javax/swing/ScrollPaneLayout.java,
3129 javax/swing/SizeRequirements.java,
3130 javax/swing/UIManager.java,
3131 javax/swing/ViewportLayout.java,
3132 javax/swing/border/AbstractBorder.java,
3133 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3134 javax/swing/event/EventListenerList.java,
3135 javax/swing/table/AbstractTableModel.java,
3136 javax/swing/table/DefaultTableCellRenderer.java,
3137 javax/swing/table/DefaultTableColumnModel.java,
3138 javax/swing/table/DefaultTableModel.java,
3139 javax/swing/table/TableColumn.java,
3140 javax/swing/text/StyledEditorKit.java,
3141 javax/swing/tree/DefaultMutableTreeNode.java,
3142 javax/swing/tree/DefaultTreeModel.java,
3143 javax/swing/tree/DefaultTreeSelectionModel.java,
3144 javax/swing/tree/TreePath.java,
3145 javax/swing/undo/AbstractUndoableEdit.java,
3146 javax/swing/undo/StateEdit.java,
3147 javax/swing/undo/StateEditable.java,
3148 javax/swing/undo/UndoableEditSupport.java:
3149 Merges from classpath.
3150
3151 2003-03-30 Tom Tromey <tromey@redhat.com>
3152
3153 * java/lang/String.java (data, boffset, count): Documented.
3154 (String(byte[],String)): Reformatted.
3155 (String(byte[])): Likewise.
3156 (lastIndexOf(int)): Likewise.
3157 (lastIndexOf(String)): Likewise.
3158 (substring(int)): Renamed argument to match Classpath.
3159 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3160
3161 * java/lang/String.java: Miscellaneous minor formatting changes
3162 to match Classpath more closely.
3163
3164 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3165 Tom Tromey <tromey@redhat.com>
3166
3167 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3168 (init()): Removed.
3169 (charAt): Put index in exception.
3170 (contentEquals): New method.
3171 Include StringBuffer.h.
3172 * java/lang/String.java (cachedHashCode): New field.
3173 (String()): Follow classpath implementation.
3174 (init()): Removed.
3175 (contentEquals): Declare.
3176 (subSequence): Don't declare IndexOutIfBoundsException in throws
3177 clause.
3178 (matches, replaceFirst, replaceAll, split): New methods from
3179 Classpath.
3180
3181 2003-03-29 Tom Tromey <tromey@redhat.com>
3182
3183 * java/lang/String.java: Reordered to follow Classpath; merged in
3184 javadoc.
3185
3186 * java/text/MessageFormat.java: Removed some whitespace.
3187
3188 * Makefile.in: Rebuilt.
3189 * Makefile.am (awt_java_source_files): Added new files.
3190 * gnu/javax/rmi/PortableServer.java,
3191 gnu/javax/rmi/CORBA/DelegateFactory.java,
3192 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3193 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3194 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3195 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3196 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3197 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3198 javax/rmi/PortableRemoteObject.java,
3199 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3200 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3201 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3202 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3203 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3204 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3205
3206 * java/lang/natClass.cc (newInstance): Put method name in
3207 exception.
3208 (getConstructor): Likewise.
3209 (getDeclaredConstructor): Likewise.
3210 (getPrivateMethod): Likewise.
3211
3212 2003-03-28 Tom Tromey <tromey@redhat.com>
3213
3214 * java/lang/reflect/Proxy.java: New version from Classpath.
3215 * java/lang/Package.java: New version from Classpath.
3216
3217 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3218
3219 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3220 * configure: Regenerate.
3221
3222 2003-03-28 Michael Koch <konqueror@gmx.de>
3223
3224 * java/io/File.java:
3225 Import needed classes instead of whole packages, merged class
3226 documentation with classpath, moved constants and variables to top of
3227 class.
3228 * java/io/PrintStream.java:
3229 Merged class documentation with classpath, moved constants and
3230 variables to top of class.
3231 * java/io/RandomAccessFile.java
3232 (RandomAccessFile): Merged with classpath.
3233 (read): Merged with classpath).
3234 (read*): Reformatted.
3235
3236 2003-03-28 Michael Koch <konqueror@gmx.de>
3237
3238 * java/io/FileDescriptor.java
3239 (finalize): Throws Throwable, not IOException.
3240 * java/io/ObjectOutputStream.java
3241 (PutField.put): Doesnt throws anything.
3242
3243 2003­03-28 Michael Koch <konqueror@gmx.de>
3244
3245 * java/io/FileOutputStream.java:
3246 Merged class documentation and authors with classpath.
3247 (FileOutputStream): Partly merged with classpath.
3248 (write): Merged with classpath.
3249 (getChannel): Make it synchronized instead of explicit block in this
3250 method.
3251 * java/io/RandomAccessFile.java:
3252 Merged class documentation and authors with classpath.
3253
3254 2003-03-26 Tom Tromey <tromey@redhat.com>
3255
3256 * java/lang/natRuntime.cc (insertSystemProperties): Set
3257 gnu.classpath.home.url.
3258 * Makefile.in: Rebuilt.
3259 * Makefile.am: Define LIBDIR.
3260
3261 2003-03-25 Michael Koch <konqueror@gmx.de>
3262
3263 * java/io/FileInputStream.java
3264 (read): Renamed b to buf and off to offset.
3265 * java/io/FileOutputStream.java
3266 (ch): Documentation added.
3267 (FileOutputStream): Documentation added.
3268 (getFD): Documentation added.
3269 (write): Documentation added.
3270 (close): Documentation added.
3271 (getChannel): Documentation added.
3272
3273 2003-03-24 Michael Koch <konqueror@gmx.de>
3274
3275 * java/io/DataOutputStream.java
3276 (write): Merged from classpath.
3277 * java/io/File.java:
3278 Merged copyrigth with classpath.
3279 * java/io/FileInputStream.java
3280 (getChannel): Made it synchronized instead of using a synchronized
3281 block.
3282 * java/io/FileOutputStream.java: Reformatted.
3283 * java/io/InputStreamReader.java
3284 (InputStreamReader): Renamed enc to encoding_name.
3285 (close): Merged documentation from classpath.
3286 (getEncoding): Merged documentation from classpath.
3287 (ready): Merged documentation from classpath.
3288 (read): Merged documentation from classpath.
3289 * java/io/LineNumberReader.java
3290 (lineNumber): Made it private.
3291 (LineNumberReader): Use Constant instead of a direct value.
3292 * java/io/OutputStreamWriter.java
3293 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3294 documentation from classpath.
3295 (close): Merged documentation from classpath.
3296 (flush): Merged documentation from classpath.
3297 (write): Merged documentation from classpath.
3298 * java/io/PrintStream.java: Reformatted.
3299
3300 2003-03-24 Michael Koch <konqueror@gmx.de>
3301
3302 * javax/swing/text/ComponentView.java
3303 (getComponent): Must be final.
3304 * javax/swing/tree/DefaultTreeCellRenderer.java:
3305 Reformatted.
3306 * javax/swing/undo/StateEditable.java:
3307 Reformatted.
3308
3309 2003-03-24 Michael Koch <konqueror@gmx.de>
3310
3311 * java/rmi/activation/ActivationInstantiator.java:
3312 Reformatted.
3313 * java/rmi/activation/Activator.java:
3314 Reformatted.
3315 * java/rmi/registry/RegistryHandler.java:
3316 Remerged from classpath.
3317
3318 2003-03-24 Michael Koch <konqueror@gmx.de>
3319
3320 * java/util/Date.java:
3321 Fixed documentation starting tag to make javadoc happy.
3322 * java/util/regex/Pattern.java
3323 (Pattern): Implements Serializable.
3324 * java/util/PatternSyntaxException.java
3325 (serialVersionUID): New member variable.
3326
3327 2003-03-24 Michael Koch <koqnueror@gmx.de>
3328
3329 * java/awt/ContainerOrderFocusTraversalPolicy.java
3330 (getFirstComponent): Implemented.
3331 (getLastComponent): Implemented.
3332 (getDefaultComponent): Implemented.
3333 (setImplicitDownCycleTraversal): Fixed implementation.
3334 * java/awt/Robot.java
3335 (Robot): Added documentation.
3336 * java/awt/Toolkit.java
3337 (getFontList): Deprecated.
3338 (getFontMetrics): Deprecated.
3339 (getPrintJob): Added documentation.
3340 (getSystemSelection): Added documentation.
3341 (getLockingKeyState): Added documentation.
3342 (setLockingKeyState): Added documentation.
3343 (createCustomCursor): Added documentation.
3344 (getBestCursorSize): Added documentation.
3345 (getMaximumCursorColors): Added documentation.
3346 (isFrameStateSupported): Added documentation.
3347
3348 2003-03-24 Michael Koch <konqueror@gmx.de>
3349
3350 * java/io/RandomAccessFile.java:
3351 More little merges with classpath. No code changes.
3352
3353 2003-03-24 Michael Koch <konqueror@gmx.de>
3354
3355 * java/net/natInetAddressNoNet.cc:
3356 Include stddef.h.
3357 * java/net/natPlainDatagramSocketImplNoNet.cc:
3358 Fixed inlcude of java/net/DatagramPacket.h.
3359 * java/net/natPlainSocketImplNoNet.cc:
3360 Include some missing classes.
3361
3362 2003-03-24 Michael Koch <konqueror@gmx.de>
3363
3364 * java/awt/dnd/DropTarget.java
3365 (DropTargetAutoScroller): According to the online documentation, this
3366 is protected, but in reality it is public.
3367 * java/awt/dnd/DropTargetContext.java
3368 (TransferableProxy): According to the online documentation, this
3369 is protected, but in reality it is public.
3370
3371 2003-03-24 Michael Koch <konqueror@gmx.de>
3372
3373 * java/io/DataInputStream.java
3374 (): Wrapped documentation line.
3375 (): Fixed @return tag.
3376 * java/io/DataOutputStream.java
3377 (written): Moved to top of class.
3378 (all methods): Merged documentation from classpath.
3379 * java/io/File.java:
3380 Merged copyright year with classpath.
3381 * java/io/FileInputStream.java
3382 (all methods): Merged documentation from classpath.
3383 * java/io/LineNumberReader.java
3384 (getLineNumber): Fixed @return tag.
3385 * java/io/ObjectInputStream.java.
3386 Reformatted.
3387 * java/io/ObjectOutputStream.java:
3388 Reformatted, fixed some @see tags.
3389 * java/io/OutputStreamWriter.java:
3390 Deleted empty line.
3391 * java/io/Writer.java:
3392 Reformatted.
3393
3394 2003-03-24 Michael Koch <konqueror@gmx.de>
3395
3396 * java/awt/Frame.java
3397 (DEFAULT_CURSOR): Fixed @deprecated tag.
3398 (setCursor): Fixed @deprecated tag.
3399
3400 2003-03-24 Michael Koch <konqueror@gmx.de>
3401
3402 * java/beans/beancontext/BeanContextEvent.java:
3403 Reformated.
3404
3405 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3406
3407 * java/lang/natStringBuffer.cc (regionMatches): New function.
3408 * java/lang/String.java (count): Now package-private.
3409 * java/lang/StringBuffer.java: Merged with Classpath.
3410
3411 2003-03-23 Michael Koch <konqueror@gmx.de>
3412
3413 * java/io/BufferedOutputStream.java:
3414 Reformated.
3415 * java/io/BufferedReader.java:
3416 Reformated.
3417 * java/io/ByteArrayOutputStream.java
3418 (size): Fixed @see tag.
3419 * java/io/CharArrayWriter.java
3420 (size): Fixed @see tag.
3421 * java/io/DataInput.java:
3422 Reformated.
3423 * java/io/DataOutput.java:
3424 Reformated.
3425 * java/io/DataOutputStream.java:
3426 Merged copyright years with classpath.
3427 * java/io/Externalizable.java:
3428 Reformated.
3429 * java/io/FileFilter.java:
3430 Reformated.
3431 * java/io/FileInputStream.java:
3432 Merged copyright years with classpath.
3433 * java/io/FileOutputStream.java:
3434 Merged copyright years with classpath.
3435 * java/io/FilePermission.java
3436 (FilePermission): Replaced @XXX with FIXME:.
3437 * java/io/FileWriter.java:
3438 Reformated.
3439 * java/io/FilenameFilter.java:
3440 Reformated.
3441 * java/io/FilterInputStream.java:
3442 Reformated.
3443 * java/io/FilterOutputStream.java:
3444 Reformated.
3445 * java/io/FilterReader.java:
3446 Reformated.
3447 * java/io/FilterWriter.java:
3448 Reformated.
3449 * java/io/LineNumberInputStream.java
3450 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3451 happy.
3452 (getLineNumber): Fixed @return tag.
3453 * java/io/ObjectInput.java:
3454 Reformated.
3455 * java/io/ObjectOutput.java:
3456 Reformated.
3457 * java/io/ObjectStreamClass.java:
3458 Reformated.
3459 * java/io/PrintStream.java:
3460 Merged copyright years with classpath.
3461 * java/io/PushbackReader.java
3462 (PushbackReader): Replaced @code with @param.
3463 * java/io/SerializablePermission.java:
3464 Reformated.
3465 * java/io/StreamTokenizer.java
3466 (resetSyntax): Fixed @see tag.
3467
3468 2003-03-22 Richard Henderson <rth@redhat.com>
3469
3470 * sysdep/ia64/locks.h: Include ia64intrin.h.
3471 (compare_and_swap): Use __sync_bool_compare_and_swap.
3472 (compare_and_swap_release): Expose ar.ccv assignment.
3473
3474 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3475
3476 * include/posix.h: Add suffix for darwin dynamic libraries.
3477
3478 2003-03-21 Michael Koch <konqueror@gmx.de>
3479
3480 * javax/swing/Action.java
3481 (ACCELERATOR_KEY): New constant.
3482 (ACTION_COMMAND_KEY): Likewise.
3483 (MNEMONIC_KEY): Likewise.
3484 * javax/swing/UnsupportedLookAndFeelException.java
3485 (UnsupportedLookAndFeelException): Must be public.
3486 * javax/swing/WindowConstants.java
3487 (EXIT_ON_CLOSE): New constant.
3488 * javax/swing/text/BadLocationException.java
3489 (offset): New member variable.
3490 (BadLocationException): New implementation, documentation added.
3491 (offsetRequested): New method.
3492 * javax/swing/text/Caret.java:
3493 Reformated.
3494 * javax/swing/text/Document.java:
3495 Reformated.
3496
3497 2003-03-21 Michael Koch <konqueror@gmx.de>
3498
3499 * java/rmi/activation/Activatable.java
3500 (serialVersionUID): New member variable.
3501 * java/rmi/activation/ActivationGroup.java
3502 (serialVersionUID): New member variable.
3503 * java/rmi/activation/ActivationGroupDesc.java
3504 (serialVersionUID): New member variable.
3505 * java/rmi/registry/Registry.java:
3506 Reformated.
3507 (Registry): Deprecated.
3508 * java/rmi/server/LoaderHandler.java
3509 Reformated.
3510 (LoaderHandler): Deprecated.
3511 * java/rmi/server/LogStream.java
3512 Reformated.
3513 (LogStream): Deprecated.
3514 * java/rmi/server/Operation.java
3515 (Operation): Deprecated.
3516 * java/rmi/server/RMIFailureHandler.java:
3517 Reformated.
3518 * java/rmi/server/RMISocketFactory.java:
3519 Reformated.
3520 * java/rmi/server/RemoteCall.java
3521 (RemoteCall): Deprecated.
3522 * java/rmi/server/RemoteStub.java:
3523 Reformated.
3524 * java/rmi/server/Skeleton.java
3525 Reformated.
3526 (Skeleton): Deprecated.
3527
3528 2003-03-21 Michael Koch <konqueror@gmx.de>
3529
3530 * java/io/LineNumberReader.java
3531 (LineNumberReader): Merged documentation with classpath.
3532 (getLineNumber): Likewise.
3533 (setLineNumber): Likewise.
3534 (mark): Likewise.
3535 (reset): Likewise.
3536 (read): Likewise.
3537 (readLine): Likewise.
3538 (skip): Likewise.
3539
3540 2003-03-21 Michael Koch <konqueror@gmx.de>
3541
3542 * java/rmi/RMISecurityManager.java
3543 (checkAccept): Removed.
3544 (checkAccess): Likewise.
3545 (checkAccess): Likewise.
3546 (checkAwtEventQueueAccess): Likewise.
3547 (checkConnect): Likewise.
3548 (checkCreateClassLoader): Likewise.
3549 (checkDelete): Likewise.
3550 (checkExec): Likewise.
3551 (checkExit): Likewise.
3552 (checkLink): Likewise.
3553 (checkListen): Likewise.
3554 (checkMemberAccess): Likewise.
3555 (checkMulticast): Likewise.
3556 (checkPackageAccess): Likewise.
3557 (checkPackageDefinition): Likewise.
3558 (checkPermission): Likewise.
3559 (checkPrintJobAccess): Likewise.
3560 (checkPropertiesAccess): Likewise.
3561 (checkPropertyAccess): Likewise.
3562 (checkRead): Likewise.
3563 (checkSecurityAccess): Likewise.
3564 (checkSetFactory): Likewise.
3565 (checkSystemClipboardAccess): Likewise.
3566 (checkTopLevelWindow): Likewise.
3567 (checkWrite): Likewise.
3568
3569 2003-03-20 Michael Koch <konqueror@gmx.de>
3570
3571 * gnu/java/nio/FileChannelImpl.java
3572 (address): Removed.
3573 (map_address): New member variable.
3574 (length): Make it package private.
3575 (fd): Make it package private.
3576 (buf): Make it package private.
3577 (file_obj): Make it package private.
3578 (FileChannelImpl): New constructor.
3579 (nio_mmap_file): Use RawData instead of long.
3580 (nio_munmap_file): Use RawData instead of long.
3581 (nio_msync): Use RawData instead of long.
3582 (implCloseChannel): New implementation using map_address.
3583 (read): Reformated.
3584 (map): Implemented.
3585 (create_direct_mapped_buffer): Implemented, use RawData, throws
3586 IOException.
3587 (force): Use map_address instead of address.
3588 * gnu/java/nio/MappedByteFileBuffer.java
3589 (address): Removed.
3590 (map_address): New member variable.
3591 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3592 (several methods): Use map_address instead of address, replaced long
3593 with RawData where appropriate.
3594 * gnu/java/nio/natFileChannelImpl.cc
3595 (nio_mmap_file): Replaced long with RawData.
3596 (nio_munmap_file): Replaced long with RawData.
3597 (nio_msync): Replaced long with RawData.
3598 * gnu/java/nio/natMappedByteFileBuffer.cc
3599 (several methods): Replaced long with RawData where appropriate.
3600
3601 2003-03-20 Michael Koch <konqueror@gmx.de>
3602
3603 * java/net/InetAddress.java,
3604 java/net/JarURLConnection.java,
3605 java/net/PlainDatagramSocketImpl.java,
3606 java/net/PlainSocketImpl.java,
3607 java/net/URLConnection.java:
3608 Merged copyright statements with classpath for easier merging.
3609
3610 2003-03-20 Michael Koch <konqueror@gmx.de>
3611
3612 * java/io/FileInputStream.java
3613 (getChannel): New implementation.
3614 * java/io/FileOutputStream.java
3615 (ch): New member variable.
3616 (getChannel): Implemented.
3617 * java/io/RandomAccessFile.java
3618 (RandomAccessFile): Throws FileNotFoundException instead of
3619 IOException.
3620 (getChannel): New method.
3621 (ch): New member variable.
3622
3623 2003-03-20 Michael Koch <konqueror@gmx.de>
3624
3625 * java/io/DataOutputStream.java,
3626 java/io/File.java,
3627 java/io/FileInputStream.java,
3628 java/io/FileOutputStream.java,
3629 java/io/InputStreamReader.java,
3630 java/io/LineNumberReader.java,
3631 java/io/OutputStreamWriter.java,
3632 java/io/PrintStream.java,
3633 java/io/RandomAccessFile.java:
3634 Merged copyright statements with classpath for easier merging.
3635
3636 2003-03-19 Michael Koch <konqueror@gmx.de>
3637
3638 * java/lang/Process.java:
3639 Merged from classpath.
3640
3641 2003-03-19 Michael Koch <konqueror@gmx.de>
3642
3643 * java/io/FileOutputStream.java
3644 (FileOutputStream): New constructor, merged from classpath.
3645 * java/io/FileWriter.java
3646 (FileWriter): New constructor, merged from classpath.
3647
3648 2003-03-18 Michael Koch <konqueror@gmx.de>
3649
3650 * java/awt/ScrollPane.java
3651 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3652 (getViewportSize): Likewise.
3653 (addNotify): Likewise.
3654 (removeNotify): Likewise.
3655 * java/awt/ScrollPaneAdjustable.java
3656 (ScrollPaneAdjustable): No longer extends Scrollbar.
3657 * java/beans/beancontext/BeanContextServices.java:
3658 Reformated.
3659 (getService): Added throws TooManyListenersException;
3660 * java/beans/beancontext/BeanContextServicesSupport.java:
3661 Reformated.
3662
3663 2003-03-18 Michael Koch <konqueror@gmx.de>
3664
3665 * java/io/BufferedOutputStream.java,
3666 java/io/DataInput.java,
3667 java/io/DataInputStream.java,
3668 java/io/DataOutput.java,
3669 java/io/Externalizable.java:
3670 More merges from classpath.
3671
3672 2003-03-18 Michael Koch <konqueror@gmx.de>
3673
3674 * configure.in: Fixed links to platform dependant java.net files.
3675 * configure: Regenerated.
3676 * java/net/natInetAddress.cc,
3677 java/net/natNetworkInterface.cc,
3678 java/net/natPlainDatagramSocketImpl.cc,
3679 java/net/natPlainSocketImpl.cc:
3680 Removed.
3681
3682 2003-03-18 Michael Koch <konqueror@gmx.de>
3683
3684 * configure.in: Create links to architecture dependent files,
3685 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3686 * configure: Regenerated.
3687 * java/net/natInetAddressNoNet.cc,
3688 java/net/natInetAddressPosix.cc,
3689 java/net/natInetAddressWin32.cc,
3690 java/net/natNetworkInterfaceNoNet.cc,
3691 java/net/natNetworkInterfacePosix.cc,
3692 java/net/natNetworkInterfaceWin32.cc,
3693 java/net/natPlainDatagramSocketImplNoNet.cc,
3694 java/net/natPlainDatagramSocketImplPosix.cc,
3695 java/net/natPlainDatagramSocketImplWin32.cc,
3696 java/net/natPlainSocketImplNoNet.cc,
3697 java/net/natPlainSocketImplPosix.cc,
3698 java/net/natPlainSocketImplWin32.cc: New files.
3699
3700 2003-03-18 Michael Koch <konqueror@gmx.de>
3701
3702 * java/io/BufferedReader.java,
3703 java/io/BufferedWriter.java,
3704 java/io/ByteArrayOutputStream.java,
3705 java/io/FileFilter.java,
3706 java/io/FilePermission.java,
3707 java/io/FileReader.java,
3708 java/io/FileWriter.java,
3709 java/io/FilenameFilter.java,
3710 java/io/FilterInputStream.java,
3711 java/io/FilterOutputStream.java,
3712 java/io/FilterReader.java,
3713 java/io/FilterWriter.java,
3714 java/io/ObjectInput.java,
3715 java/io/ObjectInputValidation.java,
3716 java/io/ObjectOutput.java,
3717 java/io/ObjectStreamField.java,
3718 java/io/PipedInputStream.java,
3719 java/io/PipedReader.java,
3720 java/io/PrintWriter.java,
3721 java/io/PushbackReader.java,
3722 java/io/Reader.java,
3723 java/io/SerializablePermission.java,
3724 java/io/StringReader.java,
3725 java/io/Writer.java:
3726 Merged from classpath.
3727
3728 2003-03-17 Michael Koch <konqueror@gmx.de>
3729
3730 * java/awt/ScrollPaneAdjustable.java:
3731 Compile fixes.
3732
3733 2003-03-17 Michael Koch <konqueror@gmx.de>
3734
3735 * java/net/DatagramSocket.java
3736 (connect): Fixed comment.
3737 * java/nio/ByteBuffer.java
3738 (hasArray): Fixed comment.
3739
3740 2003-03-17 Michael Koch <konqueror@gmx.de>
3741
3742 * java/beans/Beans.java:
3743 Explicitely import classes not packages.
3744 * java/beans/FeatureDescriptor.java
3745 (preferred): New member variable.
3746 (isPreferred): New method.
3747 (setPreferred): New method.
3748 * java/beans/PropertyEditorManager.java:
3749 Explicitely import used classes.
3750 * java/beans/beancontext/BeanContextChild.java:
3751 Added line wrapping.
3752 * java/beans/beancontext/BeanContextChildSupport.java:
3753 Reindented.
3754 * java/beans/beancontext/BeanContextEvent.java:
3755 Reindented.
3756
3757 2003-03-17 Michael Koch <konqueror@gmx.de>
3758
3759 * java/awt/Dialog.java
3760 (Dialog): New constructor, changed implementations, added
3761 documentation.
3762 * java/awt/ScrollPaneAdjustable.java
3763 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3764 Serializable.
3765 (serialVersionUID): New member variable.
3766 (sp): New member variable.
3767 (orientation): New member variable.
3768 (value): New member variable.
3769 (minimum): New member variable.
3770 (maximum): New member variable.
3771 (visibleAmount): New member variable.
3772 (unitIncrement): New member variable.
3773 (blockIncrement): New member variable.
3774 (AdjustmentListener): New member variable.
3775 (ScrollPaneAdjustable): New implementation.
3776 (addAdjustmentListener): New method.
3777 (removeAdjustmentListener): New method.
3778 (getAdjustmentListeners): New method.
3779 (getBlockIncrement): New method.
3780 (getMaximum): New method.
3781 (getMinimum): New method.
3782 (getOrientation): New method.
3783 (getUnitIncrement): New method.
3784 (getValue): New method.
3785 (getVisibleAmount): New method.
3786 (setBlockIncrement): New method.
3787 (setMaximum): Implemented.
3788 (setMinimum): Implemented.
3789 (setUnitIncrement): New method.
3790 (setValue): New method.
3791 (setVisibleAmount): Implemented.
3792 (paramString): New stubbed method.
3793 * java/awt/Window.java
3794 (show): Call setVisible().
3795 (hide): Call setVisible().
3796 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3797 and WINDOW_STATE_CHANGED.
3798 (processWindowFocusEvent): New method.
3799 (processWindowStateEvent): New method.
3800 (postEvent): Deprecated.
3801 (applyResourceBundle): Deprecated.
3802 * java/awt/datatransfer/DataFlavor.java
3803 (DataFlavor): Doesn't thow ClassNotFoundException.
3804
3805 2003-03-17 Michael Koch
3806
3807 * javax/print/attribute/Attribute.java,
3808 javax/print/attribute/AttributeSet.java,
3809 javax/print/attribute/PrintRequestAttributeSet.java:
3810 New files.
3811 * Makefile.am
3812 (javax_source_files): Added new files:
3813 javax/print/attribute/Attribute.java
3814 javax/print/attribute/AttributeSet.java
3815 javax/print/attribute/PrintRequestAttributeSet.java
3816 * Makefile.in: Regenerated.
3817
3818 2003-03-17 Michael Koch
3819
3820 * javax/print/attribute/Attribute.java,
3821 javax/print/attribute/AttributeSet.java,
3822 javax/print/attribute/PrintRequestAttributeSet.java:
3823 New files.
3824 * Makefile.am
3825 (awt_java_source_files): Added new files:
3826 javax/print/attribute/Attribute.java
3827 javax/print/attribute/AttributeSet.java
3828 javax/print/attribute/PrintRequestAttributeSet.java
3829 * Makefile.in: Regenerated.
3830
3831 2003-03-16 Tom Tromey <tromey@redhat.com>
3832
3833 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3834 Include platform.h.
3835 * java/lang/natRuntime.cc (insertSystemProperties): Use
3836 _Jv_platform_path_separator.
3837 (nativeGetLibname): Use _Jv_platform_file_separator.
3838 (_load): Use _Jv_platform_onload_names.
3839 (onload_names): New global.
3840 * include/win32.h (_Jv_platform_file_separator): New define.
3841 (_Jv_platform_path_separator): Likewise.
3842 (_Jv_platform_onload_names): Likewise.
3843 (_Jv_platform_ffi_abi): Likewise.
3844 * include/posix.h (_Jv_platform_file_separator): New define.
3845 (_Jv_platform_path_separator): Likewise.
3846 (_Jv_platform_onload_names): Likewise.
3847 (_Jv_platform_ffi_abi): Likewise.
3848
3849 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3850
3851 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3852
3853 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3854
3855 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3856 hierarchy loop.
3857 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3858 list to Object,ObjectStreamClass, moved callReadMethod code up into
3859 readObject and added Class argument to all setXxxField calls.
3860 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3861 consistent with ObjectOutputStream and to facilitate caching the
3862 Method in the future.
3863 (setBooleanField): Added Class argument.
3864 (setByteField): Likewise.
3865 (setCharField): Likewise.
3866 (setDoubleField): Likewise.
3867 (setFloatField): Likewise.
3868 (setIntField): Likewise.
3869 (setLongField): Likewise.
3870 (setShortField): Likewise.
3871 (setObjectField): Likewise.
3872 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3873 class hierarchy loop.
3874 (defaultWriteObject): Call writeFields with new argument list.
3875 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3876 list to Object,ObjectStreamClass, moved callWriteMethod up into
3877 writeObject and added Class argument to all getXxxField calls.
3878 (callWriteMethod): Added ObjectStreamClass argument to be able to
3879 get the proper class to call getMethod on (each class can have (or
3880 not have) its own writeObject method).
3881 (getBooleanField): Added Class argument.
3882 (getByteField): Likewise.
3883 (getCharField): Likewise.
3884 (getDoubleField): Likewise.
3885 (getFloatField): Likewise.
3886 (getIntField): Likewise.
3887 (getLongField): Likewise.
3888 (getShortField): Likewise.
3889 (getObjectField): Likewise.
3890 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3891 facilitate caching the Method object in the future.
3892
3893 2003-03-12 Andreas Schwab <schwab@suse.de>
3894
3895 * configure.in: Avoid trailing /. in toolexeclibdir.
3896 * configure: Rebuilt.
3897
3898 2003-03-11 Michael Koch <konqueror@gmx.de>
3899
3900 * gnu/java/nio/ByteBufferImpl.java
3901 (putInt): Use limit() instead of limit.
3902 * gnu/java/nio/CharBufferImpl.java
3903 (slice): Fixed implementation.
3904 (subSequence): Better bounds checking.
3905 * gnu/java/nio/MappedByteFileBuffer.java:
3906 Import all needed classes directly.
3907 * java/nio/ByteBuffer.java
3908 (hashCode): New dummy method.
3909 * java/nio/CharBuffer.java
3910 (array_offset): New member variable.
3911 (hasArray): Fixed documentation.
3912 (arrayOffset): Return array_offset.
3913
3914 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3915
3916 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3917 setter; made return value of getter const char* instead of char*
3918 * prims.cc: removed all references to _Jv_ThisExecutable().
3919 These are in the platform-specific sections now.
3920 * posix.cc: define platform-specific _Jv_ThisExecutable().
3921 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3922 * win32.cc: define platform-specific _Jv_ThisExecutable()
3923 using GetModuleFilename()
3924 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3925 to argv[0] instead of _Jv_ThisExecutable()
3926
3927 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3928
3929 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3930 that is set if we are using addr2name.awk instead of addr2line.
3931 (NameFinder): Set usingAddr2name if using addr2name.awk.
3932 (getExternalLabel): New native method to convert a method
3933 name to an external label.
3934 (lookup): Convert name given by addr2line to an external label
3935 before demangling.
3936
3937 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3938 constant representing the prefix attached to method names to
3939 convert them to an external label.
3940 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3941 using LABEL_PREFIX.
3942
3943 2003-03-10 Tom Tromey <tromey@redhat.com>
3944
3945 * Makefile.in: Rebuilt.
3946 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3947 (JC1FLAGS): Removed -Wno-deprecated.
3948
3949 2003-03-10 Michael Koch <konqueror@gmx.de>
3950
3951 * java/nio/ByteOrder.java
3952 (nativeOrder): Working implementation, added documentation.
3953 (toString): Added documentation.
3954
3955 2003-03-10 Michael Koch <konqueror@gmx.de>
3956
3957 * java/net/DatagramSocket.java,
3958 java/net/MulticastSocket.java,
3959 java/net/Socket.java,
3960 java/net/URL.java,
3961 java/net/URLConnection.java:
3962 Fixed some documentation tags to make javadoc and friends happy.
3963
3964 2003-03-10 Michael Koch <koqnueror@gmx.de>
3965
3966 * java/beans/beancontext/BeanContextServicesSupport.java,
3967 java/beans/beancontext/BeanContextSupport.java: New files.
3968 * Makefile.am
3969 (awt_source_files): Added new files.
3970 * Makefile.in: Regenerated.
3971
3972 2003-03-10 Michael Koch <konqueror@gmx.de>
3973
3974 * java/awt/FocusTraversalPolicy.java
3975 (FocusTraversalPolicy): Documentation added.
3976 (getComponentAfter): Documentation added.
3977 (getComponentBefore): Documentation added.
3978 (getFirstComponent): Documentation added.
3979 (getLastComponent): Documentation added.
3980 (getDefaultComponent): Documentation added.
3981 (getInitialComponent): Documentation added.
3982 * java/awt/ScrollPaneAdjustable.java
3983 (sp): New member variable.
3984 (orientation): New member variable.
3985 (value): New member variable.
3986 (minimum): New member variable.
3987 (maximum): New member variable.
3988 (visibleAmount): New member variable.
3989 (unitIncrement): New member variable.
3990 (blockIncrement): New member variable.
3991 (adjustmentListener): New member variable.
3992 (ScrollPaneAdjustable): Rewrote.
3993 (addAdjustmentListener): New method.
3994 (removeAdjustmentListener): New method.
3995 (getAdjustmentListeners): New method.
3996 (getBlockIncrement): New method.
3997 (getMaximum): New method.
3998 (getMinimum): New method.
3999 (getOrientation): New method.
4000 (getUnitIncrement): New method.
4001 (getValue): New method.
4002 (getVisibleAmount): New method.
4003 (setBlockIncrement): New method.
4004 (setUnitIncrement): New method.
4005 (setMaximum): Implemented.
4006 (setMinimum): Implemented.
4007 (setValue): New method.
4008 (setVisibleAmount): Implemented.
4009 (paramString): New method.
4010 * java/awt/Window.java
4011 (show): Use setVisible(true) instead of super.show().
4012 (hide): Use sevVisible(false) instead of super.hide().
4013 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4014 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4015 (postEvent): Deprecated.
4016 (applyResourceBundle): Deprecated.
4017 (processWindowFocusEvent): New method.
4018 (processWindowStateEvent): New method.
4019 * java/awt/datatransfer/DataFlavor.java: Reindented.
4020 * java/awt/font/TextHitInfo.java
4021 (charIndex): New member variable.
4022 (leadingEdge): New member variable.
4023 (TextHitInfo): New constructor.
4024 (getCharIndex): Implemented.
4025 (isLeadingEdge): Implemented.
4026 (getInsertionIndex): Implemented.
4027 (hashCode): Access charIndex directly.
4028 (equals): Reformated.
4029 (leading): Implemented.
4030 (trailing): Implemented.
4031 (beforeOffset): Implemented.
4032 (afterOffset): Implemented.
4033 (getOtherHit): Implemented.
4034 (getOffsetHit): Implemented.
4035 (toString): Implemented.
4036 * java/awt/image/BufferedImage.java
4037 (BufferedImage): Implements WritableRenderedImage.
4038 (observers): New member variable.
4039 (addTileObserver): New method.
4040 (removeTileObserver): New method.
4041
4042 2003-03-09 Tom Tromey <tromey@redhat.com>
4043
4044 PR libgcj/9934:
4045 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4046 to lseek. Return 0 if we can't compute the value.
4047
4048 2003-03-03 Michael Koch <konqueror@gmx.de>
4049
4050 * java/net/NetworkInterface.java: Merged with classpath.
4051
4052 2003-03-03 Tom Tromey <tromey@redhat.com>
4053
4054 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4055 of bytecode.
4056 (handle_ret_insn): Fail if returning to jsr that appears at end of
4057 bytecode.
4058
4059 2003-03-03 Michael Koch <konqueror@gmx.de>
4060
4061 * Makefile.am
4062 (ordinary_java_source_files):
4063 Added gnu/java/nio/MappedByteFileBuffer.java.
4064 (nat_source_files):
4065 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4066 * Makefile.in: Regenerated.
4067
4068 2003-03-03 Michael Koch <konqueror@gmx.de>
4069
4070 * java/net/DatagramSocket.java
4071 (connect): Merged comment from classpath.
4072 (receive): Merged documentation from classpath.
4073 * java/net/Socket.java
4074 (setSoTimeout): Clarified documentation.
4075 * java/net/URL.java
4076 (getPath): Merged from classpath.
4077 (getUserInfo): Merged from classpath.
4078 (getQuery): Merged from classpath.
4079 * java/net/URLStreamHandler.java
4080 (toExternalForm): Merged from classpath.
4081
4082 2003-03-02 Mark Wielaard <mark@klomp.org>
4083
4084 * java/util/Properties.java (load): Only skip line if the first
4085 character is a comment, whitespaces don't count.
4086
4087 2003-03-02 Michael Koch <konqueror@gmx.de>
4088
4089 * java/net/NetPermission.java:
4090 Merged copyright with classpath.
4091
4092 2003-03-02 Michael Koch <konqueror@gmx.de>
4093
4094 * java/lang/Package.java:
4095 Remerged from classpath.
4096
4097 2003-03-02 Michael Koch <konqueror@gmx.de>
4098
4099 * java/net/HttpURLConnection.java
4100 (HTTP_SERVER_ERROR): Deprecated.
4101 * java/net/MulticastSocket.java
4102 (send): Replaced checkMulticast with appropriate checkPermission call,
4103 deprecated.
4104 * java/net/URLDecoder.java
4105 (decode): Deprecated.
4106 * java/net/URLEncoder.java
4107 (encode): Deprecated.
4108
4109 2003-03-02 Michael Koch <konqueror@gmx.de>
4110
4111 * javax/swing/text/Caret.java
4112 (getMagicCaretPosition): Fixed typo in method name.
4113 * javax/swing/text/DefaultCaret.java
4114 (getMagicCaretPosition): Fixed typo in method name.
4115
4116 2003-03-02 Michael Koch <konqueror@gmx.de>
4117
4118 * java/awt/List.java
4119 (setMultipleSelections): Deprecated.
4120 (delItem): Deprecated.
4121 * java/awt/MenuComponent.java
4122 (getPeer): Deprecated.
4123 * java/awt/ScrollPane.java
4124 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4125 * java/awt/dnd/MouseDragGestureRecognizer.java
4126 (mouseClicked): Added comment.
4127 (mousePressed): Added comment.
4128 (mouseReleased): Added comment.
4129 (mouseEntered): Added comment.
4130 (mouseExited): Added comment.
4131 (mouseDragged): Added comment.
4132 (mouseMoved): Added comment.
4133 * java/awt/event/KeyEvent.java
4134 (KeyEvent): Deprecated.
4135 (setModifiers): Deprecated.
4136
4137 2003-03-02 Michael Koch <konqueror@gmx.de>
4138
4139 * gnu/java/nio/FileChannelImpl.java
4140 (fd): Type FileDescriptor instead of int.
4141 (lengthInternal): Removed.
4142 (FileChannelImpl): Fixed arguments, check type of file object.
4143 (size): Made it native.
4144 (implPosition): New native method.
4145 (implTruncate): New native method.
4146 (position): Implemented.
4147 (truncate): Implemented.
4148 (nio_mmap_file): Changed arguments.
4149 (nio_munmap_file): Changed arguments.
4150 (nio_msync): Changed arguments.
4151 * gnu/java/nio/natFileChannelImpl.cc
4152 (lengthInternal): Removed.
4153 (size): New method.
4154 (implPosition): New method.
4155 (implTruncate): New method.
4156 (nio_mmap_file): Changed arguments.
4157 (nio_munmap_file): Changed arguments.
4158 (nio_msync): Changed arguments.
4159
4160 2003-03-02 Michael Koch <konqueror@gmx.de>
4161
4162 * java/awt/dnd/DropTargetContext.java:
4163 Compile fix: Forgot to commit import.
4164
4165 2003-03-02 Michael Koch <konqueror@gmx.de>
4166
4167 * java/awt/Component.java,
4168 java/awt/ScrollPane.java:
4169 Fixed typos.
4170
4171 2003-03-02 Michael Koch <konqueror@gmx.de>
4172
4173 * java/awt/dnd/DnDEventMulticaster.java: New file.
4174 * java/awt/dnd/DragSource.java
4175 (flavorMap): New member variable.
4176 (dragSourceListener): New member variable.
4177 (dragSourceMotionListener): New member variable.
4178 (getFlavorMap): Implemented.
4179 (createDragGestureRecognizer): Implemented.
4180 (addDragSourceListener): Implemented.
4181 (removeDragSourceListener): Implemented.
4182 (getDragSourceListeners): Implemented.
4183 (addDragSourceMotionListener): Implemented.
4184 (removeDragSourceMotionListener): Implemented.
4185 (getDragSourceMotionListeners): Implemented.
4186 (getListeners): Implemented.
4187 * java/awt/dnd/DragSourceContext.java
4188 (peer): New member variable.
4189 (cursor): New member variable.
4190 (transferable): New member variable.
4191 (trigger): New member variable.
4192 (dragSourceListener): New member variable.
4193 (image): New member variable.
4194 (offset): New member variable.
4195 (DragSourceContext): Implemented.
4196 (getDragSource): Implemented.
4197 (getComponent): Implemented.
4198 (getTrigger): Implemented.
4199 (getSourceActions): Implemented.
4200 (setCursor): Implemented.
4201 (getCursor): Implemented.
4202 (addDragSourceListener): Implemented.
4203 (removeDragSourceListener): Implemented.
4204 (getTransferable): Implemented.
4205 * java/awt/dnd/DropTarget.java
4206 (DropTargetAutoScroller.component): New member variable.
4207 (DropTargetAutoScroller.point): New member variable.
4208 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4209 (DropTargetAutoScroller.updateLocation): Implemented.
4210 (active): Renamed from isActive, defaults to true now.
4211 (component): New member variable.
4212 (flavorMap): New member variable.
4213 (actions): New member variable.
4214 (dropTargetContext): New member variable.
4215 (dropTargetListener): New member variable.
4216 (DropTarget): Implemented.
4217 (getComponent): Implemented.
4218 (setComponent): Implemented.
4219 (setDefaultActions): Implemented.
4220 (getDefaultActions): Implemented.
4221 (setActive): Use active instead of isActive.
4222 (isActive): Use active instead of isActive.
4223 (addDropTargetListener): Implemented.
4224 (removeDropTargetListener): Implemented.
4225 (getFlavorMap): Implemented.
4226 (setFlavorMap): Implemented.
4227 (getDropTargetContext): Implemented.
4228 (createDropTargetContext): Implemented.
4229 (createDropTargetAutoScroller): Implemented.
4230 * java/awt/dnd/DropTargetContext.java
4231 (TransferableProxy.getTransferDataFlavors): Implemented.
4232 (TransferableProxy.isDataFlavorSupported): Implemented.
4233 (TransferableProxy.getTransferData): Implemented.
4234 (dropTarget): New member variable.
4235 (dtcp): New member variable.
4236 (DropTargetContext): New package private constructor.
4237 (getDropTarget): Implemented.
4238 (getComponent): Implemented.
4239 (addNotify): Implemented.
4240 (removeNotify): Implemented.
4241 (getCurrentDataFlavorsAsList): Implemented.
4242 (isDataFlavorSupported): Implemented.
4243 * java/awt/dnd/MouseDragGestureRecognizer.java
4244 (registerListeners): Implemented.
4245 (unregisterListeners): Implemented.
4246 * Makefile.am
4247 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4248 * Makefile.in: Regenerated.
4249
4250 2003-03-02 Michael Koch <konqueror@gmx.de>
4251
4252 * java/awt/Component.java
4253 (eventTypeEnabled): New method.
4254 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4255 * java/awt/Container.java
4256 (changeSupport): New member variable.
4257 (addPropertyChangeListener): New methods.
4258 * java/awt/ContainerOrderFocusTraversalPolicy.java
4259 (ContainerOrderFocusTraversalPolicy): Added comment.
4260 (getComponentAfter): Throw exception, documentation added.
4261 (getComponentBefore): Throw exception, documentation added.
4262 (getFirstComponent): Throw exception, documentation added.
4263 (getLastComponent): Throw exception, documentation added.
4264 (getDefaultComponent): Throw exception, documentation added.
4265 * java/awt/EventQueue.java: Reindented.
4266 * java/awt/FocusTraversalPolicy.java:
4267 (FocusTraversalPolicy): Added comment.
4268 (getComponentAfter): Documentation added.
4269 (getComponentBefore): Documentation added.
4270 (getFirstComponent): Documentation added.
4271 (getLastComponent): Documentation added.
4272 (getDefaultComponent): Documentation added.
4273 (getInitialComponent): Documentation added.
4274 * java/awt/ScrollPane.java
4275 (wheelScrollingEnabled): New member variable.
4276 (ScrollPane): Initialize wheelScollingEnabled.
4277 (eventTypeEnabled): New method.
4278 (isWheelScrollingEnabled): New method.
4279 (setWheelScrollingEnabled): New method.
4280
4281 2003-03-02 Michael Koch <konqueror@gmx.de>
4282
4283 * java/net/DatagramSocket.java
4284 (closed): New member variable.
4285 (close): Use closed variable.
4286 (getInetAddress): No need to call isConnected().
4287 (getPort): No need to call isConnected().
4288 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4289 (isClosed): Reimplemented.
4290
4291 2003-03-02 Michael Koch <konqueror@gmx.de>
4292
4293 * configure.in: Added check for memory mapping of files.
4294 * configure: Regenerated.
4295 * config.h.in: Regenerated.
4296
4297 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4298
4299 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4300 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4301
4302 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4303
4304 * java/io/File.java (normalizePath): Remove trailing separator
4305 on Windows only if path is not of the form "x:\".
4306
4307 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4308 (java::io::File::attr): Change formatting a bit and use
4309 WIN32_EPOCH_MILLIS instead of magic numbers.
4310 (java::io::File::isAbsolute): Path must have at least 3
4311 characters for a UNC network path.
4312 (java::io::File::init_native): Define.
4313 (java::io::File::performCreate): Likewise.
4314 (java::io::File::performSetReadOnly): Likewise.
4315 (java::io::File::performSetLastModified): Likewise.
4316 (java::io::File::performListRoots): Likewise.
4317
4318 2003-03-01 Tom Tromey <tromey@redhat.com>
4319
4320 * java/lang/natObject.cc: Don't include assert.h.
4321 (heavy_lock_obj_finalization_proc): Use JvAssert.
4322 (remove_all_heavy): Likewise.
4323 (_Jv_MonitorEnter): Likewise.
4324 (_Jv_MonitorExit): Likewise.
4325 (wait): Likewise.
4326
4327 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4328
4329 * java/io/File (getAbsolutePath): Prefix drive specifier on
4330 Windows for paths starting with a '\'.
4331 (toURL): Make URL more consistent with what Sun's JDK returns.
4332
4333 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4334 true only if the path is a UNC network path or it starts with a
4335 drive specifier.
4336
4337 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4338 Be prepared to handle either '/' or '\\' in the file path for
4339 Windows if using the "file" protocol.
4340 Canonicalise the file path if using a relative path in the given
4341 context and the "file" protocol.
4342
4343 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4344
4345 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4346 program array element passed to CreateProcess.
4347
4348 2003-03-01 Tom Tromey <tromey@redhat.com>
4349
4350 * java/rmi/registry/RegistryHandler.java: Deprecate.
4351
4352 2003-03-01 Tom Tromey <tromey@redhat.com>
4353
4354 * javax/accessibility/AccessibleEditableText.java,
4355 javax/accessibility/AccessibleHyperlink.java: New versions from
4356 Classpath.
4357
4358 * gnu/java/locale/LocaleInformation_af_ZA.java,
4359 gnu/java/locale/LocaleInformation_ar_AE.java,
4360 gnu/java/locale/LocaleInformation_ar_BH.java,
4361 gnu/java/locale/LocaleInformation_ar_DZ.java,
4362 gnu/java/locale/LocaleInformation_ar_EG.java,
4363 gnu/java/locale/LocaleInformation_ar_IN.java,
4364 gnu/java/locale/LocaleInformation_ar_IQ.java,
4365 gnu/java/locale/LocaleInformation_ar_JO.java,
4366 gnu/java/locale/LocaleInformation_ar_KW.java,
4367 gnu/java/locale/LocaleInformation_ar_LB.java,
4368 gnu/java/locale/LocaleInformation_ar_LY.java,
4369 gnu/java/locale/LocaleInformation_ar_MA.java,
4370 gnu/java/locale/LocaleInformation_ar_OM.java,
4371 gnu/java/locale/LocaleInformation_ar_QA.java,
4372 gnu/java/locale/LocaleInformation_ar_SD.java,
4373 gnu/java/locale/LocaleInformation_ar_SY.java,
4374 gnu/java/locale/LocaleInformation_ar_TN.java,
4375 gnu/java/locale/LocaleInformation_ar_YE.java,
4376 gnu/java/locale/LocaleInformation_be_BY.java,
4377 gnu/java/locale/LocaleInformation_bn_IN.java,
4378 gnu/java/locale/LocaleInformation_br_FR.java,
4379 gnu/java/locale/LocaleInformation_bs_BA.java,
4380 gnu/java/locale/LocaleInformation_ca_ES.java,
4381 gnu/java/locale/LocaleInformation_cs_CZ.java,
4382 gnu/java/locale/LocaleInformation_cy_GB.java,
4383 gnu/java/locale/LocaleInformation_da_DK.java,
4384 gnu/java/locale/LocaleInformation_de_AT.java,
4385 gnu/java/locale/LocaleInformation_de_BE.java,
4386 gnu/java/locale/LocaleInformation_de_CH.java,
4387 gnu/java/locale/LocaleInformation_de_DE.java,
4388 gnu/java/locale/LocaleInformation_de_LU.java,
4389 gnu/java/locale/LocaleInformation_el_GR.java,
4390 gnu/java/locale/LocaleInformation_en_AU.java,
4391 gnu/java/locale/LocaleInformation_en_BW.java,
4392 gnu/java/locale/LocaleInformation_en_CA.java,
4393 gnu/java/locale/LocaleInformation_en_DK.java,
4394 gnu/java/locale/LocaleInformation_en_GB.java,
4395 gnu/java/locale/LocaleInformation_en_HK.java,
4396 gnu/java/locale/LocaleInformation_en_IE.java,
4397 gnu/java/locale/LocaleInformation_en_IN.java,
4398 gnu/java/locale/LocaleInformation_en_NZ.java,
4399 gnu/java/locale/LocaleInformation_en_PH.java,
4400 gnu/java/locale/LocaleInformation_en_SG.java,
4401 gnu/java/locale/LocaleInformation_en_US.java,
4402 gnu/java/locale/LocaleInformation_en_ZA.java,
4403 gnu/java/locale/LocaleInformation_en_ZW.java,
4404 gnu/java/locale/LocaleInformation_es_AR.java,
4405 gnu/java/locale/LocaleInformation_es_BO.java,
4406 gnu/java/locale/LocaleInformation_es_CL.java,
4407 gnu/java/locale/LocaleInformation_es_CO.java,
4408 gnu/java/locale/LocaleInformation_es_CR.java,
4409 gnu/java/locale/LocaleInformation_es_DO.java,
4410 gnu/java/locale/LocaleInformation_es_EC.java,
4411 gnu/java/locale/LocaleInformation_es_ES.java,
4412 gnu/java/locale/LocaleInformation_es_GT.java,
4413 gnu/java/locale/LocaleInformation_es_HN.java,
4414 gnu/java/locale/LocaleInformation_es_MX.java,
4415 gnu/java/locale/LocaleInformation_es_NI.java,
4416 gnu/java/locale/LocaleInformation_es_PA.java,
4417 gnu/java/locale/LocaleInformation_es_PE.java,
4418 gnu/java/locale/LocaleInformation_es_PR.java,
4419 gnu/java/locale/LocaleInformation_es_PY.java,
4420 gnu/java/locale/LocaleInformation_es_SV.java,
4421 gnu/java/locale/LocaleInformation_es_US.java,
4422 gnu/java/locale/LocaleInformation_es_UY.java,
4423 gnu/java/locale/LocaleInformation_es_VE.java,
4424 gnu/java/locale/LocaleInformation_et_EE.java,
4425 gnu/java/locale/LocaleInformation_eu_ES.java,
4426 gnu/java/locale/LocaleInformation_fa_IR.java,
4427 gnu/java/locale/LocaleInformation_fi_FI.java,
4428 gnu/java/locale/LocaleInformation_fo_FO.java,
4429 gnu/java/locale/LocaleInformation_fr_BE.java,
4430 gnu/java/locale/LocaleInformation_fr_CA.java,
4431 gnu/java/locale/LocaleInformation_fr_CH.java,
4432 gnu/java/locale/LocaleInformation_fr_FR.java,
4433 gnu/java/locale/LocaleInformation_fr_LU.java,
4434 gnu/java/locale/LocaleInformation_ga_IE.java,
4435 gnu/java/locale/LocaleInformation_gd_GB.java,
4436 gnu/java/locale/LocaleInformation_gl_ES.java,
4437 gnu/java/locale/LocaleInformation_gv_GB.java,
4438 gnu/java/locale/LocaleInformation_he_IL.java,
4439 gnu/java/locale/LocaleInformation_hi_IN.java,
4440 gnu/java/locale/LocaleInformation_hr_HR.java,
4441 gnu/java/locale/LocaleInformation_hu_HU.java,
4442 gnu/java/locale/LocaleInformation_id_ID.java,
4443 gnu/java/locale/LocaleInformation_it_CH.java,
4444 gnu/java/locale/LocaleInformation_it_IT.java,
4445 gnu/java/locale/LocaleInformation_iw_IL.java,
4446 gnu/java/locale/LocaleInformation_ja_JP.java,
4447 gnu/java/locale/LocaleInformation_ka_GE.java,
4448 gnu/java/locale/LocaleInformation_kl_GL.java,
4449 gnu/java/locale/LocaleInformation_ko_KR.java,
4450 gnu/java/locale/LocaleInformation_kw_GB.java,
4451 gnu/java/locale/LocaleInformation_lt_LT.java,
4452 gnu/java/locale/LocaleInformation_lv_LV.java,
4453 gnu/java/locale/LocaleInformation_mi_NZ.java,
4454 gnu/java/locale/LocaleInformation_mk_MK.java,
4455 gnu/java/locale/LocaleInformation_mr_IN.java,
4456 gnu/java/locale/LocaleInformation_mt_MT.java,
4457 gnu/java/locale/LocaleInformation_nl_BE.java,
4458 gnu/java/locale/LocaleInformation_nl_NL.java,
4459 gnu/java/locale/LocaleInformation_nn_NO.java,
4460 gnu/java/locale/LocaleInformation_no_NO.java,
4461 gnu/java/locale/LocaleInformation_oc_FR.java,
4462 gnu/java/locale/LocaleInformation_pl_PL.java,
4463 gnu/java/locale/LocaleInformation_pt_BR.java,
4464 gnu/java/locale/LocaleInformation_pt_PT.java,
4465 gnu/java/locale/LocaleInformation_ro_RO.java,
4466 gnu/java/locale/LocaleInformation_ru_RU.java,
4467 gnu/java/locale/LocaleInformation_ru_UA.java,
4468 gnu/java/locale/LocaleInformation_se_NO.java,
4469 gnu/java/locale/LocaleInformation_sk_SK.java,
4470 gnu/java/locale/LocaleInformation_sl_SI.java,
4471 gnu/java/locale/LocaleInformation_sq_AL.java,
4472 gnu/java/locale/LocaleInformation_sr_YU.java,
4473 gnu/java/locale/LocaleInformation_sv_FI.java,
4474 gnu/java/locale/LocaleInformation_sv_SE.java,
4475 gnu/java/locale/LocaleInformation_ta_IN.java,
4476 gnu/java/locale/LocaleInformation_te_IN.java,
4477 gnu/java/locale/LocaleInformation_tg_TJ.java,
4478 gnu/java/locale/LocaleInformation_tl_PH.java,
4479 gnu/java/locale/LocaleInformation_tr_TR.java,
4480 gnu/java/locale/LocaleInformation_uk_UA.java,
4481 gnu/java/locale/LocaleInformation_ur_PK.java,
4482 gnu/java/locale/LocaleInformation_uz_UZ.java,
4483 gnu/java/locale/LocaleInformation_vi_VN.java,
4484 gnu/java/locale/LocaleInformation_yi_US.java,
4485 gnu/java/locale/LocaleInformation_zh_CN.java,
4486 gnu/java/locale/LocaleInformation_zh_HK.java,
4487 gnu/java/locale/LocaleInformation_zh_SG.java,
4488 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4489 info; from Classpath.
4490
4491 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4492 isPaintPending): New methods.
4493 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4494 setMaximizedBounds): New methods.
4495 (beginLayout, endLayout, isPaintPending): Likewise.
4496 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4497 (requestFocus): Likewise.
4498 (isObscured): Likewise.
4499 (canDetermineObscurity): Likewise.
4500 (coalescePaintEvent): Likewise.
4501 (updateCursorImmediately): Likewise.
4502 (createVolatileImage): Likewise.
4503 (handlesWheelScrolling): Likewise.
4504 (createBuffers): Likewise.
4505 (getBackBuffer): Likewise.
4506 (flip): Likewise.
4507 (destroyBuffers): Likewise.
4508
4509 * Makefile.in: Rebuilt.
4510 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4511 RobotPeer.java.
4512 * gnu/java/awt/GLightweightPeer.java,
4513 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4514 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4515 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4516 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4517 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4518 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4519 java/awt/dnd/peer/DragSourceContextPeer.java,
4520 java/awt/dnd/peer/DropTargetContextPeer.java,
4521 java/awt/peer/ButtonPeer.java,
4522 java/awt/peer/CheckboxMenuItemPeer.java,
4523 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4524 java/awt/peer/ComponentPeer.java,
4525 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4526 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4527 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4528 java/awt/peer/MenuBarPeer.java,
4529 java/awt/peer/MenuComponentPeer.java,
4530 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4531 java/awt/peer/PopupMenuPeer.java,
4532 java/awt/peer/ScrollPanePeer.java,
4533 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4534 java/awt/peer/TextComponentPeer.java,
4535 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4536 New versions from Classpath.
4537 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4538 * java/awt/peer/RobotPeer.java: Likewise.
4539
4540 2003-03-01 Mark Wielaard <mark@klomp.org>
4541
4542 * java/io/ObjectInputStream.java: Reindent.
4543 * java/io/ObjectOutputStream.java: Likewise.
4544
4545 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4546
4547 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4548 jvalue for each argument. Simplify.
4549 * testsuite/libjava.jni/calls.c (docall),
4550 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4551 misalignment.
4552
4553 2003-02-28 Mark Wielaard <mark@klomp.org>
4554
4555 * Makefile.am (nat_source_files): Remove
4556 java/io/natObjectOutputStream.cc.
4557 * Makefile.in: Regenerated.
4558 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4559 * java/io/ObjectStreamField.java (typename): New field.
4560 (ObjectStreamField(String, Class)): Initialize new field.
4561 (ObjectStreamField(String, String)): New Constructor.
4562 (getTypeCode): Use new field.
4563 (getTypeString): Use new field.
4564 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4565 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4566 Handle reading of Proxy classes. Never drain(), just write
4567 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4568 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4569 (flush): Call flush(), not just drain().
4570 (writeBoolean): Always use blockDataOutput.
4571 (writeByte): Likewise.
4572 (writeShort): Likewise.
4573 (writeChar): Likewise.
4574 (writeInt): Likewise.
4575 (writeLong): Likewise.
4576 (writeFloat): Likewise.
4577 (writeDouble): Likewise.
4578 (writeBytes): Likewise.
4579 (putfield (put(String,Object))): Throw IllegalArgumentException if
4580 field cannot be found.
4581 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4582 (writeArraySizeAndElements): Write byte[] in one go.
4583 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4584 set BlockDataMode to false.
4585 (annotateProxyClass): New method.
4586 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4587 (getField): No longer native.
4588 (getMethod): Likewise.
4589 (setBlockDataMode): Always drain() on switch, return old mode.
4590 (static): New static code block.
4591 * java/io/natObjectOutputStream.cc: Removed.
4592 * java/io/ObjectInputStream.java (getField): No longer native.
4593 (getMethod): Likewise.
4594 (readObject): Remember and reset old BlockDataMode. Track whether
4595 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4596 TC_LONGSTRING.
4597 (defaultReadObject): Set BlockDataMode to false during readFields.
4598 (resolveClass): Create new SecurityManager if necessary.
4599 Use Class.forName() if null ClassLoader found.
4600 (read(byte[],int,int): Copy remaining bytes to data before calling
4601 readNextBlock().
4602 (readFields): Set and reset BlockDataMode on call_read_method.
4603 Catch NoSuchFieldErrors.
4604 (setBlockDataMode): Return old mode.
4605 (static): New static code block.
4606 * java/io/natObjectInputStream.cc (getField): Removed.
4607 (getMethod): Likewise.
4608
4609 2003-02-27 Michael Koch <konqueror@gmx.de>
4610
4611 * java/beans/Beans.java,
4612 java/beans/FeatureDescriptor.java
4613 java/beans/PropertyEditorManager.java:
4614 Reformated to GNU style.
4615
4616 2003-02-25 Michael Koch <konqueror@gmx.de>
4617
4618 * gnu/java/nio/MappedByteFileBuffer.java,
4619 gnu/java/nio/natMappedByteFileBuffer.cc:
4620 New files, both are not compiled yet to get not noncompiling CVS.
4621
4622 2003-02-24 Tom Tromey <tromey@redhat.com>
4623
4624 * java/util/prefs/AbstractPreferences.java (isUserNode):
4625 Implemented.
4626
4627 2003-02-24 Tom Tromey <tromey@redhat.com>
4628
4629 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4630 Deprecate.
4631 * java/lang/Thread.java (resume): Deprecate.
4632 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4633 in @deprecated.
4634
4635 2003-02-23 Tom Tromey <tromey@redhat.com>
4636
4637 * Makefile.in: Rebuilt.
4638 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4639
4640 2003-02-23 Tom Tromey <tromey@redhat.com>
4641
4642 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4643 libraries): Removed.
4644 (add_library): Removed.
4645 (_load): Don't call add_library.
4646 (loadLibraryInternal): Likewise.
4647 (init): Likewise.
4648 (lookup_data): New struct.
4649 (find_symbol): New function.
4650 (_Jv_FindSymbolInExecutable): Use it.
4651
4652 2002-02-21 Anthony Green <green@redhat.com>
4653
4654 * java/lang/Thread.java (Thread): New constructor taking stack
4655 size parameter (ignored for now).
4656 * Many methods: Merged GNU Classpath documentation.
4657
4658 * java/lang/Class.java (finalize): throws a Throwable.
4659
4660 2003-02-21 Mark Wielaard <mark@klomp.org>
4661
4662 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4663 argument is null.
4664
4665 2003-02-21 Mark Wielaard <mark@klomp.org>
4666
4667 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4668 then 65535 chars throw IllegalArgumentException.
4669
4670 2003-02-21 Mark Wielaard <mark@klomp.org>
4671
4672 * java/util/zip/ZipFile.java (finalize): New method.
4673
4674 2003-02-21 Michael Koch <konqueror@gmx.de>
4675
4676 * gnu/java/nio/natSocketChannelImpl.cc:
4677 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4678 <cato@df.lth.se> for pointing to it.
4679
4680 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4681
4682 * java/math/BigInteger.java (euclidInv): Take result array as an
4683 argument. Updated all callers.
4684 (modInverse): Removed unused variables.
4685
4686 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4687
4688 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4689 config.status.
4690 * configure: Rebuilt.
4691
4692 2003-02-19 Michael Koch <konqueror@gmx.de>
4693
4694 * gnu/java/nio/natSocketChannelImpl.cc:
4695 Added support for platforms without network support.
4696
4697 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4698
4699 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4700 after config.h. Use <> for consistency.
4701 * java/lang/natObject.cc: Likewise.
4702 * java/lang/natRuntime.cc: Likewise.
4703 * java/lang/natSystem.cc: Likewise.
4704 * java/util/natTimeZone.cc: Likewise.
4705 * win32.cc: Likewise.
4706 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4707 listen, write, read): Undef to avoid interference from OS macros.
4708
4709 2003-02-19 Michael Koch <konqueror@gmx.de>
4710
4711 * gnu/java/nio/ByteBufferImpl.java
4712 (ByteBufferImpl): Renamed two variables.
4713 * gnu/java/nio/CharBufferImpl.java
4714 (CharBufferImpl): Renamed two variables.
4715 * gnu/java/nio/DoubleBufferImpl.java
4716 (DoubleBufferImpl): Renamed two variables.
4717 * gnu/java/nio/FloatBufferImpl.java
4718 (FloatBufferImpl): Renamed two variables.
4719 * gnu/java/nio/IntBufferImpl.java
4720 (IntBufferImpl): Renamed two variables.
4721 * gnu/java/nio/LongBufferImpl.java
4722 (LongBufferImpl): Renamed two variables.
4723 * gnu/java/nio/ShortBufferImpl.java
4724 (ShortBufferImpl): Renamed two variables.
4725 * java/nio/CharBuffer.java
4726 (wrap): Fixed arguments to CharBufferImpl constructor.
4727 (hasArray): Only not read-only buffers have backing arrays.
4728 (length): Documentation added.
4729 (subSequence): Documentation added.
4730 * java/nio/DoubleBuffer.java
4731 (hasArray): Only not read-only buffers have backing arrays.
4732 * java/nio/FloatBuffer.java
4733 (hasArray): Only not read-only buffers have backing arrays.
4734 * java/nio/IntBuffer.java
4735 (hasArray): Only not read-only buffers have backing arrays.
4736 * java/nio/LongBuffer.java
4737 (hasArray): Only not read-only buffers have backing arrays.
4738 * java/nio/ShortBuffer.java
4739 (hasArray): Only not read-only buffers have backing arrays.
4740
4741 2003-02-19 Michael Koch <konqueror@gmx.de>
4742
4743 * javax/accessibility/AccessibleContext.java
4744 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4745
4746 2003-02-19 Michael Koch <konqueror@gmx.de>
4747
4748 * java/awt/ScrollPaneAdjustable.java: Reformated.
4749
4750 2003-02-19 Michael Koch <konqueror@gmx.de>
4751
4752 * gnu/awt/j2d/Graphics2DImpl.java
4753 (getFontRenderContext): New method.
4754 (drawGlyphVector): New method.
4755 * java/awt/Graphics2D.java
4756 (getFontRenderContext): New abstract method.
4757 (drawGlyphVector): New abstract method.
4758
4759 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4760
4761 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4762 if necessary.
4763
4764 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4765 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4766 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4767 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4768 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4769 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4770 (setFont, gtkSetFont): add.
4771 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4772 Propagate font to peer. (setFont): add FIXME comment.
4773
4774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4775 (gtkTextGetSize): fix height, width computation.
4776
4777 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4778 Make X font name a bit less bogus.
4779
4780 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4781 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4782
4783 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4784 (processAdjustmentEvent): Adjust value.
4785
4786 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4787 logic errors.
4788
4789 * java/awt/Component.java (setVisible, show, hide): Call show and
4790 hide methods in subclasses.
4791 (getPreferredSize): don't set prefSize before we have peer.
4792
4793 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4794 Guess (0,0) if we don't have peer.
4795
4796
4797 2003-02-18 Michael Koch <konqueror@gmx.de>
4798
4799 * java/nio/channels/FileChannel.java
4800 (toString): New implementation, added documentation.
4801 (map): Added exception documentation.
4802 (size): Added exception documentation.
4803 (write): New methods, documentation work.
4804 (read): New methods, documentation work.
4805 (implCloseChannel): Rewrote exception documentation.
4806 (force): Throws IOException, added documentation.
4807 (lock): New methods.
4808 (tryLock): New methods.
4809 (position): New methods.
4810 (transferTo): New method.
4811 (transferFrom): New method.
4812 (truncate): New method.
4813 * java/nio/channels/spi/SelectorProvider.java
4814 (provider): Implemented.
4815 * Makefile.am
4816 (ordinary_java_source_files): Added the following files:
4817 gnu/java/nio/DatagramChannelImpl.java
4818 gnu/java/nio/FileChannelImpl.java
4819 gnu/java/nio/PipeImpl.java
4820 gnu/java/nio/SelectionKeyImpl.java
4821 gnu/java/nio/SelectorImpl.java
4822 gnu/java/nio/SelectorProviderImpl.java
4823 gnu/java/nio/ServerSocketChannelImpl.java
4824 gnu/java/nio/SocketChannelImpl.java
4825 java/nio/channels/FileLock.java
4826 (nat_java_source_files): Added the following files:
4827 gnu/java/nio/natFileChannelImpl.cc
4828 gnu/java/nio/natSelectorImpl.cc
4829 gnu/java/nio/natSocketChannelImpl.cc
4830 * Makefile.in: Regenerated.
4831
4832 2003-02-17 Tom Tromey <tromey@redhat.com>
4833
4834 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4835 * java/awt/image/ImageFilter.java: Likewise.
4836
4837 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4838
4839 * java/math/BigInteger.java (euclidInv): Return array of
4840 `BigInteger's. Changed all callers.
4841
4842 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4843
4844 * java/util/Properties.java (store): Move the code formerly in
4845 list(), into this method.
4846 (list (PrintStream)): Just call list (PrintWriter) with a
4847 PrintWriter object constructed from the given PrintStream object.
4848 (list (PrintWriter)): Emulate the output of Properties.list()
4849 as found in JDK 1.3/1.4.
4850
4851 2003-02-17 Michael Koch <konqueror@gmx.de>
4852
4853 * java/net/DatagramSocket.java
4854 (connect): Merged with classpath.
4855 (disconnect): Merged documentation with classpath.
4856 (receice): Merged documentation with classpath.
4857 (send): Merged documentation with classpath.
4858
4859 2003-02-17 Michael Koch <konqueror@gmx.de>
4860
4861 * java/awt/dnd/DragSourceContext.java
4862 (addDragSourceListener): Added documentation.
4863 * java/awt/dnd/DragSourceDragEvent.java
4864 (serialVersionUID): New member variable.
4865 (getDropAction): Reformated.
4866 * java/awt/dnd/DragSourceDropEvent.java
4867 (serialVersionUID): New member variable.
4868 (dropSuccess): Renamed from success for serialization issues.
4869 * java/awt/dnd/DragSourceEvent.java
4870 (serialVersionUID): New member variable.
4871 * java/awt/dnd/DropTarget.java
4872 (serialVersionUID): New member variable.
4873 (DropTarget): Implemented, documentation reworked.
4874 (setComponent): Documentation added.
4875 (getComponent): Documentation added.
4876 (setDefaultActions): Documentation added.
4877 (getDefaultActions): Documentation added.
4878 (addDropTargetListener): Documentation added.
4879 * java/awt/dnd/DropTargetContext.java
4880 (DropTargetContext): Documentation added.
4881 (TransferableProxy.TransferableProxy): New method.
4882 (dropComplete): Fixed documentation.
4883 (getTransferable): Fixed documentation.
4884 (createTransferableProxy): Implemented.
4885 * java/awt/dnd/DropTargetDragEvent.java
4886 (DropTargetDragEvent): Documentation added.
4887 (serialVersionUID): New member variable.
4888 (DropTargetDragEvent): Throw exceptions, documentation added.
4889 (acceptDrag): Implemented.
4890 (getCurrentDataFlavors): Implemented.3yy
4891 (getCurrentDataFlavorsAsList): Implemented.
4892 (isDataFlavorSupported): Implemented.
4893 (rejectDrag): Implemented.
4894 * java/awt/dnd/DropTargetDropEvent.java
4895 (DropTargetDropEvent): Documentation added.
4896 (serialVersionUID): New member variable.
4897 (actions): Renamed from srcActions for serialization issues.
4898 (isLocalTx): Renamed from isLocalTx for serialization issues.
4899 (DropTargetDropEvent): New implementation, throw exceptions,
4900 documentation added.
4901 (getCurrentDataFlavors): Implemented.
4902 (getCurrentDataFlavorsAsList): Implemented.
4903 (isDataFlavorSupported): Implemented.
4904 (getSourceActions): Implemented.
4905 (getDropAction): Implemented.
4906 (getTransferable): Implemented.
4907 (acceptDrop): Implemented.
4908 (rejectDrop): Implemented.
4909 * java/awt/dnd/DropTargetListener.java
4910 (drop): Fixed documentation.
4911 * java/awt/dnd/MouseDragGestureRecognizer.java
4912 (MouseDragGestureRecognizer): Documentation added.
4913
4914 2003-02-17 Michael Koch <konqueror@gmx.de>
4915
4916 * java/awt/font/FontRenderContext.java,
4917 java/awt/font/ShapeGraphicAttribute.java,
4918 java/awt/font/MultipleMaster.java,
4919 java/awt/font/TransformAttribute.java,
4920 java/awt/font/GlyphJustificationInfo.java,
4921 java/awt/font/LineBreakMeasurer.java,
4922 java/awt/font/TextMeasurer.java,
4923 java/awt/font/TextLayout.java,
4924 java/awt/font/LineMetrics.java,
4925 java/awt/font/TextAttribute.java,
4926 java/awt/font/GlyphMetrics.java,
4927 java/awt/font/OpenType.java,
4928 java/awt/font/GlyphVector.java,
4929 java/awt/font/GraphicAttribute.java,
4930 java/awt/font/ImageGraphicAttribute.java,
4931 java/awt/font/NumericShaper.java: New files.
4932 * Makefile.am
4933 (awt_java_source_files): Added the following files:
4934 java/awt/font/FontRenderContext.java
4935 java/awt/font/ShapeGraphicAttribute.java
4936 java/awt/font/MultipleMaster.java
4937 java/awt/font/TransformAttribute.java
4938 java/awt/font/GlyphJustificationInfo.java
4939 java/awt/font/LineBreakMeasurer.java
4940 java/awt/font/TextMeasurer.java
4941 java/awt/font/TextLayout.java
4942 java/awt/font/LineMetrics.java
4943 java/awt/font/TextAttribute.java
4944 java/awt/font/GlyphMetrics.java
4945 java/awt/font/OpenType.java
4946 java/awt/font/GlyphVector.java
4947 java/awt/font/GraphicAttribute.java
4948 java/awt/font/ImageGraphicAttribute.java
4949 java/awt/font/NumericShaper.java
4950 * Makefile.in: Regenerated.
4951
4952 2003-02-17 Michael Koch <konqueror@gmx.de>
4953
4954 * java/awt/print/Paper.java
4955 (Paper): Implements Cloneable.
4956 * java/awt/print/PrinterJob.java
4957 (setJobName): Return value must be void.
4958 (print): Throws PrinterException.
4959
4960 2003-02-16 Tom Tromey <tromey@redhat.com>
4961
4962 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4963 variable.
4964
4965 2003-02-15 Michael Koch <konqueror@gmx.de>
4966
4967 * java/awt/datatransfer/DataFlavor.java
4968 (isRepresentationClassByteBuffer): Removed try-catch block.
4969 (isRepresentationClassCharBuffer): Removed try-catch block.
4970 (isRepresentationClassReader): Removed try-catch block.
4971
4972 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4973
4974 * java/nio/charset/Charset.java
4975 (isRegistered): Fixed method args and implementation.
4976 * java/nio/charset/CharsetEncoder.java
4977 (unmappableCharacterAction): New method.
4978
4979 2003-02-15 Michael Koch <konqueror@gmx.de>
4980
4981 * java/awt/CheckboxMenuItem.java
4982 (CheckBoxMenuItem): Dont implement Serializable.
4983 (getListeners): New method,
4984 (getItemListeners): New method.
4985 * java/awt/Choice.java
4986 (getListeners): New method,
4987 (getItemListeners): New method.
4988 * java/awt/Container.java
4989 (getListeners): Added exception documentation.
4990 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4991 (getFocusTraversalKeys): Added documentation.
4992 (areFocusTraversalKeysSet): Added documentation.
4993 (applyComponentOrientation): Added documentation.
4994 * java/awt/ContainerOrderFocusTraversalPolicy.java
4995 (implicitDownCycleTraversal): Renamed from downCycle for
4996 serialization.
4997 (ContainerOrderFocusTraversalPolicy): Added documentation.
4998 (accept): Reformated.
4999 * java/awt/Dialog.java
5000 (Dialog): Dont implement Serializable.
5001 (Dialog): Added documentation.
5002 * java/awt/Font.java
5003 (Font): Dont use absolute class name.
5004 * java/awt/Frame.java
5005 (Frame): Font implement Serializable.
5006 * java/awt/List.java
5007 (getListeners): New method,
5008 (getActionListeners): New method.
5009 (getItemListeners): New method.
5010 * java/awt/Menu.java
5011 (countItems): New deprecated method.
5012 * java/awt/Scrollbar.java
5013 (getListeners): New method,
5014 (getAdjustmentListeners): New method,
5015 * java/awt/TextComponent.java
5016 (getListeners): New method,
5017 (getTextListeners): New method,
5018 * java/awt/TextField.java
5019 (getListeners): New method,
5020 (getActionListeners): New method.
5021 * java/awt/Window.java
5022 (windowFocusListener): New member variable.
5023 (windowStateListener): New member variable.
5024 (getWindowFocusListeners): New method.
5025 (getWindowStateListeners): New method.
5026 (addWindowFocusListener): New method.
5027 (addWindowStateListener): New method.
5028 (removeWindowFocusListener): New method.
5029 (removeWindowStateListener): New method.
5030 * java/awt/datatransfer/DataFlavor.java
5031 (isRepresentationClassByteBuffer): New method.
5032 (isRepresentationClassCharBuffer): New method.
5033 (isRepresentationClassReader): New method.
5034
5035 2003-02-14 Mark Wielaard <mark@klomp.org>
5036
5037 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5038 zero when there is an exponent and the significant is zero.
5039 (divide): Always set scale to newScale even in special ZERO case.
5040
5041 2003-02-14 Tom Tromey <tromey@redhat.com>
5042
5043 * java/lang/System.java (properties): Use Properties.clone.
5044 (setProperties): Likewise.
5045
5046 2003-02-14 Michael Koch <konqueror@gmx.de>
5047
5048 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5049 * gnu/java/nio/ServerSocketChannelImpl.java
5050 (SocketAccept): Removed.
5051 (accept): Commented out use of SocketAccept.
5052
5053 2003-02-13 Tom Tromey <tromey@redhat.com>
5054
5055 * verify.cc (state::seen_subrs): New field.
5056 (state::state): Initialize it.
5057 (state::clean_subrs): New method.
5058 (state::~state): Call it.
5059 (state::copy): Copy subroutine list.
5060 (state::add_subr): New method.
5061 (state::merge): Only register a change if the current subroutine
5062 hasn't yet been noted.
5063
5064 2003-02-13 Mark Wielaard <mark@klomp.org>
5065
5066 * java/io/InputStreamReader.java (getEncoding): Return null when
5067 closed.
5068 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5069
5070 2003-02-13 Mark Wielaard <mark@klomp.org>
5071
5072 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5073 is zero.
5074
5075 2003-02-13 Mark Wielaard <mark@klomp.org>
5076
5077 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5078 next byte cannot be buffered.
5079
5080 2003-02-13 Michael Koch <konqueror@gmx.de>
5081
5082 * java/awt/Label.java
5083 (Label): Don't implement Serializable directly.
5084 (addNotify): Fixed typo in documentation.
5085 * java/awt/List.java
5086 (List): Don't implement Serializable directly.
5087 * java/awt/PopupMenu.java
5088 (PopupMenu): Don't implement Serializable directly.
5089 * java/awt/ScrollPane.java
5090 (ScrollPane): Don't implement Serializable directly.
5091 * java/awt/Scrollbar.java
5092 (Scrollbar): Don't implement Serializable directly.
5093 * java/awt/TextArea.java
5094 (preferredSize): Fixed method arguments.
5095 * java/awt/TextField.java
5096 (TextField): Don't implement Serializable directly.
5097 * java/awt/color/ICC_ColorSpace.java
5098 (fromCIOXYZ): Documentation added.
5099 (getMinValue): Documentation added.
5100 (getMaxValue): Documentation added.
5101 * java/awt/datatransfer/DataFlavor.java
5102 (isMimeTypeEqual): May not be final.
5103 (clone): Throws CloneNotSupportedException.
5104 (getReaderForText): Don't throws UnsupportedEncodingException.
5105
5106 2003-02-13 Michael Koch <konqueror@gmx.de>
5107
5108 * gnu/java/awt/peer/gtk/GdkGraphics.java
5109 (drawString): New stubbed method.
5110 * java/awt/Graphics.java
5111 (drawString): New method.
5112
5113 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5114
5115 PR libgcj/9271:
5116 * java/security/SecureRandom.java (next): Avoid bias in results.
5117
5118 2003-02-13 Michael <konqueror@gmx.de>
5119
5120 * gnu/java/nio/FileChannelImpl.java
5121 (lengthInternal): Must be native.
5122 (size): Check if channel is already closed.
5123 (implCloseChannel): Reformated.
5124 (read): w was unused, removed it.
5125 (read): Removed.
5126 (read): New method.
5127 (write): New method.
5128 (map): Check arguments.
5129 (force): Throws IOException, check if channel is closed.
5130 (transferTo): New method.
5131 (transferFrom): New method.
5132 (lock): New method.
5133 (tryLock): New method.
5134 (position): New method.
5135 (truncate): New method.
5136 (nio_mmap_file): Uncommented.
5137 (nio_munmap_file): Uncommented.
5138 (nio_msync): Uncommented.
5139 * gnu/java/nio/natFileChannelImpl.cc: New file.
5140
5141 2003-02-13 Michael Koch <konqueror@gmx.de>
5142
5143 * java/nio/ByteBuffer.java
5144 (endian): New member variable.
5145 (get): New methods.
5146 (equals): New method.
5147 (compareTo): New method.
5148 (order): New methods.
5149 (compact): New method.
5150 (isDirect): New method.
5151 (slice): New method.
5152 (duplicate): New method.
5153 (asReadOnlyBuffer): New method.
5154 (asCharBuffer): New method.
5155 (asDoubleBuffer): New method.
5156 (asFloatBuffer): New method.
5157 (asIntBuffer): New method.
5158 (asLongBuffer): New method.
5159 (asShortBuffer): New method.
5160 (get*): New methods.
5161 (put*): New methods.
5162 (toString): New method.
5163 * java/nio/CharBuffer.java
5164 (CharBuffer): Implement Comparable instead of Cloneable.
5165 (get): May not be final.
5166 (put): May not be final.
5167
5168 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5169
5170 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5171 lastIndexOf( ) instead of indexOf( ) to find the colon before
5172 the line number, because Win32 file names might contain a
5173 drive letter and a colon at the start of an absolute path.
5174
5175 2003-02-13 Michael Koch <konqueror@gmx.de>
5176
5177 * gnu/java/nio/natSocketChannelImpl.cc
5178 (SocketConnect): This is not implemented yet.
5179 (SocketBind): This is not implemented yet.
5180
5181 2003-02-13 Michael Koch <konqueror@gmx.de>
5182
5183 * gnu/java/nio/natByteBufferImpl.cc,
5184 gnu/java/nio/natCharBufferImpl.cc,
5185 gnu/java/nio/natDoubleBufferImpl.cc,
5186 gnu/java/nio/natFloatBufferImpl.cc,
5187 gnu/java/nio/natIntBufferImpl.cc,
5188 gnu/java/nio/natLongBufferImpl.cc,
5189 gnu/java/nio/natShortBufferImpl.cc:
5190 Added copyright and license.
5191 * java/nio/DoubleBuffer.java,
5192 java/nio/FloatBuffer.java,
5193 java/nio/IntBuffer.java,
5194 java/nio/LongBuffer.java,
5195 java/nio/ShortBuffer.java
5196 (array): Throw exceptions.
5197 (arrayOffset): Throw exceptions.
5198
5199 2003-02-13 Michael Koch <konqueror@gmx.de>
5200
5201 * gnu/java/util/prefs/FileBasedFactory.java,
5202 gnu/java/util/prefs/MemmoryBasedFactory.java,
5203 gnu/java/util/prefs/MemoryBasedPreferences.java,
5204 gnu/java/util/prefs/NodeReader.java,
5205 gnu/java/util/prefs/NodeWriter.java,
5206 java/util/prefs/AbstractPreferences.java,
5207 java/util/prefs/BackingStoreException.java,
5208 java/util/prefs/InvalidPreferencesFormatException.java,
5209 java/util/prefs/NodeChangeEvent.java,
5210 java/util/prefs/NodeChangeListener.java,
5211 java/util/prefs/PreferenceChangeEvent.java,
5212 java/util/prefs/PreferenceChangeListener.java,
5213 java/util/prefs/Preferences.java,
5214 java/util/prefs/PreferencesFactory.java:
5215 New files, all merged from classpath.
5216 * Makefile.am
5217 (ordinary_java_source_files): Added the following files:
5218 gnu/java/util/prefs/FileBasedFactory.java,
5219 gnu/java/util/prefs/MemmoryBasedFactory.java,
5220 gnu/java/util/prefs/MemoryBasedPreferences.java,
5221 gnu/java/util/prefs/NodeReader.java,
5222 gnu/java/util/prefs/NodeWriter.java,
5223 (core_java_source_files): Added the following files:
5224 java/util/prefs/AbstractPreferences.java,
5225 java/util/prefs/BackingStoreException.java,
5226 java/util/prefs/InvalidPreferencesFormatException.java,
5227 java/util/prefs/NodeChangeEvent.java,
5228 java/util/prefs/NodeChangeListener.java,
5229 java/util/prefs/PreferenceChangeEvent.java,
5230 java/util/prefs/PreferenceChangeListener.java,
5231 java/util/prefs/Preferences.java,
5232 java/util/prefs/PreferencesFactory.java
5233 * Makefile.in: Regenerated.
5234
5235 2003-02-13 Michael Koch <konqueror@gmx.de>
5236
5237 * java/net/NetPermission.java
5238 (NetPermission): Make doucmentation match the method declaration.
5239 * java/net/NetworkInterface.java
5240 (equals): Reformated for GNU coding style.
5241 * java/net/ServerSocket.java: Merged with classpath.
5242 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5243 * java/net/SocketImpl.java
5244 (localPort): Merged with classpath (initialize with -1).
5245 * java/net/SocketPermission.java: Merged with classpath (reindented).
5246 * java/net/URLDecoder.java: Merged with classpath (reindented).
5247
5248 2003-02-13 Michael Koch <konqueror@gmx.de>
5249
5250 * java/awt/GridBagConstraints.java
5251 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5252 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5253 * java/awt/KeyboardFocusManager.java
5254 (setGlobalCurrentFocusCycleRoot): Must be public.
5255 * java/awt/MenuComponent.java
5256 (MenuComponent): Must be public.
5257 * java/awt/Toolkit.java:
5258 Added some empty lines to make documentation more readable.
5259 (getFontPeer): Added @deprecated.
5260 (getColorModel): Added exception documentation.
5261 (getProperty): Fixed documentation.
5262
5263 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5264
5265 * configure.host (alpha*-*): Default to -mieee.
5266 * configure.in (IEEESPEC): New.
5267 * libgcj.spec.in (jc1): Add IEEESPEC.
5268 * configure: Rebuild.
5269
5270 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5271
5272 * include/win32.h: Include ws2tcpip.h instead of
5273 winsock.h to obtain definition of the socklen_t type.
5274 Remove IP_TOS definition - not needed with ws2tcpip.h
5275 (_Jv_connect): Correct slight formatting error.
5276
5277 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5278
5279 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5280 size of the arguments for a JNI function. For Win32,
5281 modify to search for all forms of possible exported
5282 names of an stdcall JNI function.
5283 (_Jv_JNIMethod::call): Modify to calculate the size
5284 of the arguments passed to a JNI function and pass
5285 it to _Jv_LookupJNIMethod.
5286
5287 2003-02-12 Michael Koch <konqueror@gmx.de>
5288
5289 * java/nio/channels/Channels.java: New file.
5290 * Makefile.am
5291 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5292 * Makefile.in: Regenerated.
5293
5294 2003-02-12 Michael Koch <konqueror@gmx.de>
5295
5296 * java/nio/ByteBuffer.java
5297 (allocate): Implemented.
5298 (wrap): Implemented.
5299 * java/nio/CharBuffer.java:
5300 Some documentation added and reworked.
5301 (endian): Removed.
5302 (allocate): Implemented.
5303 (wrap): Implemented.
5304 (array): Throw exceptions.
5305 (arrayOffset): Throw exceptions.
5306 (toString): Implemented.
5307 (length): Implemented.
5308 (put): Implemented.
5309 (charAt): Implemented.
5310
5311 2003-02-11 John Leuner <jewel@debian.org>
5312
5313 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5314 reads from end of file.
5315
5316 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5317
5318 * java/io/natFileDescriptorWin32.cc
5319 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5320 returns with Win32 error code ERROR_BROKEN_PIPE.
5321
5322 2003-02-11 Michael Koch <konqueror@gmx.de>
5323
5324 * Makefile.in
5325 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5326
5327 2003-02-11 Michael Koch <konqueror@gmx.de>
5328
5329 * gnu/java/nio/ByteBufferImpl.java:
5330 Reformated and removed some code.
5331 (backing_buffer): Removed.
5332 (array_offset): Removed.
5333 (ro): Renamed to readOnly.
5334 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5335 * gnu/java/nio/CharBufferImpl.java:
5336 Reformated and removed some code.
5337 (array_offset): Removed.
5338 (ro): Renamed to readOnly.
5339 (CharBufferImpl): Use parent constructor, initialize readOnly.
5340 (inc_pos): Removed.
5341 (order): New method.
5342 * gnu/java/nio/DoubleBufferImpl.java:
5343 Reformated and removed some code.
5344 (array_offset): Removed.
5345 (ro): Renamed to readOnly.
5346 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5347 (inc_pos): Removed.
5348 (order): New method.
5349 * gnu/java/nio/FloatBufferImpl.java:
5350 Reformated and removed some code.
5351 (array_offset): Removed.
5352 (ro): Renamed to readOnly.
5353 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5354 (inc_pos): Removed.
5355 (order): New method.
5356 * gnu/java/nio/IntBufferImpl.java:
5357 Reformated and removed some code.
5358 (array_offset): Removed.
5359 (ro): Renamed to readOnly.
5360 (IntBufferImpl): Use parent constructor, initialize readOnly.
5361 (inc_pos): Removed.
5362 (order): New method.
5363 * gnu/java/nio/LongBufferImpl.java:
5364 Reformated and removed some code.
5365 (array_offset): Removed.
5366 (ro): Renamed to readOnly.
5367 (LongBufferImpl): Use parent constructor, initialize readOnly.
5368 (inc_pos): Removed.
5369 (order): New method.
5370 * gnu/java/nio/ShortBufferImpl.java:
5371 Reformated and removed some code.
5372 (array_offset): Removed.
5373 (ro): Renamed to readOnly.
5374 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5375 (inc_pos): Removed.
5376 (order): New method.
5377 * Makefile.am
5378 (ordinary_java_source_files): Added the following files:
5379 gnu/java/nio/ByteBufferImpl.java
5380 gnu/java/nio/CharBufferImpl.java
5381 gnu/java/nio/DoubleBufferImpl.java
5382 gnu/java/nio/FloatBufferImpl.java
5383 gnu/java/nio/IntBufferImpl.java
5384 gnu/java/nio/LongBufferImpl.java
5385 gnu/java/nio/ShortBufferImpl.java
5386 java/nio/DoubleBuffer.java
5387 java/nio/FloatBuffer.java
5388 java/nio/IntBuffer.java
5389 java/nio/LongBuffer.java
5390 java/nio/ShortBuffer.java
5391 (nat_source_files): Added the following files:
5392 gnu/java/nio/natByteBufferImpl.cc
5393 gnu/java/nio/natCharBufferImpl.cc
5394 gnu/java/nio/natDoubleBufferImpl.cc
5395 gnu/java/nio/natFloatBufferImpl.cc
5396 gnu/java/nio/natIntBufferImpl.cc
5397 gnu/java/nio/natLongBufferImpl.cc
5398 gnu/java/nio/natShortBufferImpl.cc
5399 * Makefile.in: Regenerated.
5400
5401 2003-02-11 Michael Koch <konqueror@gmx.de>
5402
5403 * gnu/java/nio/natCharBufferImpl.cc
5404 (nio_cast): Removed.
5405 (nio_put_*): Removed.
5406 (nio_get_*): Removed.
5407 * gnu/java/nio/natDoubleBufferImpl.cc
5408 (nio_cast): Removed.
5409 (nio_put_*): Removed.
5410 (nio_get_*): Removed.
5411 * gnu/java/nio/natFloatBufferImpl.cc
5412 (nio_cast): Removed.
5413 (nio_put_*): Removed.
5414 (nio_get_*): Removed.
5415 * gnu/java/nio/natIntBufferImpl.cc
5416 (nio_cast): Removed.
5417 (nio_put_*): Removed.
5418 (nio_get_*): Removed.
5419 * gnu/java/nio/natLongBufferImpl.cc
5420 (nio_cast): Removed.
5421 (nio_put_*): Removed.
5422 (nio_get_*): Removed.
5423 * gnu/java/nio/natShortBufferImpl.cc
5424 (nio_cast): Removed.
5425 (nio_put_*): Removed.
5426 (nio_get_*): Removed.
5427 * gnu/java/nio/SelectorProviderImpl.java
5428 (openDatagramChannel): Throws IOException.
5429 (openPipe): Throws IOException.
5430 (openSelector): Throws IOException.
5431 (openServerSocketChannel): Throws IOException.
5432 (openSocketChannel): Throws IOException.
5433 * gnu/java/nio/ServerSocketChannelImpl.java
5434 (ServerSocketChannelImpl): Throws IOException.
5435 (implCloseSelectableChannel): Throws IOException.
5436 (implConfigureBlocking): Throws IOException.
5437 * java/nio/ByteBuffer.java
5438 (readOnly): Removed.
5439 (hasArray): Use isReadOnly() instead of readOnly.
5440 (array): Use isReadOnly() instead of readOnly.
5441 (arrayOffset): Use isReadOnly() instead of readOnly.
5442 * java/nio/CharBuffer.java
5443 (CharBuffer): Implements Cloneable and CharSequence.
5444
5445 2003-02-11 Michael Koch <konqueror@gmx.de>
5446
5447 * java/nio/DoubleBuffer.java
5448 (DoubleBuffer): Implements Comparable.
5449 (endian): Removed.
5450 (array_offset): New member variable.
5451 (DoubleBuffer): New constuctor.
5452 (get): May not be final.
5453 (put): May not be final.
5454 (arrayOffset): Implemented.
5455 (order): Made abstract.
5456 (order): Removed.
5457 (as*Buffer): Removed.
5458 (get*): Removed.
5459 (put*): Removed.
5460 * java/nio/FloatBuffer.java
5461 (FloatBuffer): Implements Comparable.
5462 (endian): Removed.
5463 (array_offset): New member variable.
5464 (FloatBuffer): New constuctor.
5465 (get): May not be final.
5466 (put): May not be final.
5467 (arrayOffset): Implemented.
5468 (order): Made abstract.
5469 (order): Removed.
5470 (as*Buffer): Removed.
5471 (get*): Removed.
5472 (put*): Removed.
5473 * java/nio/IntBuffer.java
5474 (IntBuffer): Implements Comparable.
5475 (endian): Removed.
5476 (array_offset): New member variable.
5477 (IntBuffer): New constuctor.
5478 (get): May not be final.
5479 (put): May not be final.
5480 (arrayOffset): Implemented.
5481 (order): Made abstract.
5482 (order): Removed.
5483 (as*Buffer): Removed.
5484 (get*): Removed.
5485 (put*): Removed.
5486 * java/nio/LongBuffer.java
5487 (LongBuffer): Implements Comparable.
5488 (endian): Removed.
5489 (array_offset): New member variable.
5490 (LongBuffer): New constuctor.
5491 (get): May not be final.
5492 (put): May not be final.
5493 (arrayOffset): Implemented.
5494 (order): Made abstract.
5495 (order): Removed.
5496 (as*Buffer): Removed.
5497 (get*): Removed.
5498 (put*): Removed.
5499 * java/nio/ShortBuffer.java
5500 (ShortBuffer): Implements Comparable.
5501 (endian): Removed.
5502 (array_offset): New member variable.
5503 (ShortBuffer): New constuctor.
5504 (get): May not be final.
5505 (put): May not be final.
5506 (arrayOffset): Implemented.
5507 (order): Made abstract.
5508 (order): Removed.
5509 (as*Buffer): Removed.
5510 (get*): Removed.
5511 (put*): Removed.
5512
5513 2003-02-11 Michael Koch <konqueror@gmx.de>
5514
5515 * java/nio/channels/SelectionKey.java
5516 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5517 values.
5518
5519 2003-02-11 Michael Koch <konqueror@gmx.de>
5520
5521 * java/nio/channels/DatagramChannel.java
5522 (write): Throws IOException.
5523 (connect): Throws IOException.
5524 (disconnect): Throws IOException.
5525 (read): Throws IOException.
5526 (receive): Throws IOException.
5527 (send): Throws IOException.
5528 * java/nio/channels/Pipe.java
5529 (open): Throws IOException.
5530 * java/nio/channels/SelectableChannel.java
5531 (configureBlocking): Throws IOException.
5532 * java/nio/channels/ServerSocketChannel.java
5533 (accept): Throws IOException.
5534 * java/nio/channels/SocketChannel.java
5535 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5536 GatheringByteChannel.
5537 (read): Throws IOException.
5538 (write): Throws IOException.
5539 (finishConnect): Throws IOException.
5540 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5541 (end): Throws AsynchronousCloseException.
5542 * java/nio/channels/spi/AbstractSelectableChannel.java
5543 (configureBlocking): Throws IOException.
5544 (implCloseChannel): Throws IOException.
5545 (implCloseSelectableChannel): Throws IOException.
5546 (implConfigureBlocking): Throws IOException.
5547 * java/nio/channels/spi/SelectorProvider.java
5548 (openDatagramChannel): Throws IOException.
5549 (openPipe): Throws IOException.
5550 (openSelector): Throws IOException.
5551 (openServerSocketChannel): Throws IOException.
5552 (openSocketChannel): Throws IOException.
5553
5554 2003-02-11 Michael Koch <konqueror@gmx.de>
5555
5556 * gnu/java/nio/FileLockImpl.java,
5557 java/nio/channels/FileLock.java: New files.
5558
5559 2003-02-11 Michael Koch <konqueror@gmx.de>
5560
5561 * java/nio/charset/IllegalCharsetNameException.java
5562 (serialVersionUID): New member variable.
5563 (charsetName): New member variable.
5564 (IllegalCharsetException): New implementation.
5565 (getCharsetName): New implementation.
5566 * java/nio/charset/UnsupportedCharsetException.java
5567 (serialVersionUID): New member variable.
5568 (charsetName): New member variable.
5569 (UnsupportedCharsetException): New implementation.
5570 (getCharsetName): New implementation.
5571
5572 2003-02-10 Tom Tromey <tromey@redhat.com>
5573
5574 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5575 (ex): Renamed from sqlException.
5576
5577 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5578
5579 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5580 method used to ensure seeding has occurred and that a specific
5581 seed can be set and used.
5582
5583 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5584
5585 * java/lang/Win32Process.java (destroy): Declare as native.
5586 (hasExited): New native method.
5587 (exitValue): Define.
5588 (getErrorStream): Likewise.
5589 (getInputStream): Likewise.
5590 (getOutputStream): Likewise.
5591 (waitFor): Declare as native.
5592 (startProcess): New native method.
5593 (cleanup): Likewise.
5594 (ConcreteProcess): Define.
5595 (outputStream, inputStream, errorStream): New members.
5596 (procHandle, exitCode): Likewise.
5597
5598 * java/lang/natWin32Process.cc
5599 (java::lang::ConcreteProcess::cleanup): Define.
5600 (java::lang::ConcreteProcess::destroy): Likewise.
5601 (java::lang::ConcreteProcess::hasExited): Likewise.
5602 (java::lang::ConcreteProcess::waitFor): Likewise.
5603 (new_string): Likewise.
5604 (java::lang::ConcreteProcess::startProcess): Likewise.
5605
5606 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5607
5608 * java/math/BigInteger.java:
5609 Updated notice to include years 2002 and 3.
5610 Added 2 private (int) arrays with values from the HAC (Handbook of
5611 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5612 and t[] that contains nbr. of tests --used in isProbablePrime().
5613
5614 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5615
5616 * java/math/BigInteger.java (make(int[],int), add(int,int),
5617 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5618 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5619 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5620 make(long).
5621
5622 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5623 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5624 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5625 BIs and returns void.
5626 (modInverse(BI)): Use new signatures of euclidInv().
5627
5628 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5629 static small primes instead of remainder().
5630 Use pre-computed max nbr of trials based on bitlength of BI to test.
5631 Use pre-computed small primes for the trial tests instead of random
5632 numbers.
5633
5634 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5635 not used.
5636
5637 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5638 invoacation of MPN.chars_per_word(). not used.
5639
5640 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5641 local var and used where needed.
5642
5643 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5644 Combined declaration with initialisation of locals.
5645 Removed unused var.
5646
5647 * java/math/BigInteger.java: Style changes
5648 (pow(int)): Removed 'else' keyword.
5649 (toString(int)): idem.
5650 (doubleValue()): idem.
5651 (bitLength()): idem.
5652 (equals(Object)): Use static methods name in same class w/o prepending
5653 class name.
5654 (doubleValue()): idem.
5655 (setNegative(BI)): idem.
5656 (negate()): idem.
5657 (and(BI,int)): idem.
5658 (and(BI)): idem.
5659 (gcd(BI)): idem.
5660 (byteArrayToIntArray()): Removed casting to (int). this is
5661 std. behaviour.
5662 (canonicalize()): idem.
5663 (alloc(int)): Always instantiate a new BI.
5664
5665 2003-02-10 Tom Tromey <tromey@redhat.com>
5666
5667 * java/sql/Timestamp.java (compareTo(Object)): New method.
5668 (compareTo(Timestamp)): Likewise.
5669 (serialVersionUID): Updated.
5670
5671 2003-02-07 Mark Wielaard <mark@klomp.org>
5672
5673 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5674 when verify is true.
5675 (JarFile(File, boolean)): Likewise.
5676 (manifestRead): Set manifestRead field correctly.
5677
5678 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5679
5680 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5681 tests; see patch #1016 on Savannah.
5682
5683 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5684
5685 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5686 (toString): do not return Strings starting with . and - erroneously.
5687 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5688 DiagBigDecimal.
5689
5690 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5691
5692 * java/beans/PropertyDescriptor.java
5693 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5694 methods.
5695 (PropertyDescriptor(String, Class, String, String)): Likewise.
5696 (PropertyDescriptor(String, Method, Method): Factor out getter and
5697 setter method sanity checks into new method.
5698 (findMethods): Don't do parameter sanity checking of get method here.
5699 (checkMethods): New method.
5700
5701 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5702
5703 * java/beans/PropertyDescriptor.java: Reformat.
5704
5705 2003-02-04 Tom Tromey <tromey@redhat.com>
5706
5707 * java/io/PipedOutputStream.java (flush): Declare as throwing
5708 IOException.
5709 (close): Likewise.
5710 * java/io/PipedWriter.java (close): Declare as throwing
5711 IOException.
5712 * java/io/StringWriter.java (close): Declare as throwing
5713 IOException.
5714
5715 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5716
5717 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5718 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5719 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5720 "_JNI_OnLoad@8" (MSVC).
5721
5722 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5723
5724 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5725 convention on Win32 to invoke native JNI methods.
5726
5727 2003-02-03 Andrew Haley <aph@redhat.com>
5728
5729 * configure.host (x86_64): Enable interpreter.
5730
5731 2003-02-03 Andrew Haley <aph@redhat.com>
5732
5733 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5734 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5735 * configure.in (BACKTRACESPEC): New.
5736 * configure: Regenerate.
5737
5738 2003-02-02 Tom Tromey <tromey@redhat.com>
5739
5740 * configure: Rebuilt.
5741 * configure.in (TOOLKIT) [xlib]: Set correctly.
5742
5743 * Makefile.in: Rebuilt.
5744 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5745 libstdc++.
5746
5747 2003-01-31 Mark WIelaard <mark@klomp.org>
5748
5749 * Makefile.in: Rebuilt.
5750 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5751
5752 2003-01-31 Tom Tromey <tromey@redhat.com>
5753
5754 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5755 cast to element type.
5756 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5757 (_Jv_JNI_GetObjectArrayElement): Likewise.
5758
5759 * Makefile.in: Rebuilt.
5760 * Makefile.am (cond_x_ltlibrary): Renamed library to
5761 lib-gnu-awt-xlib.la.
5762 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5763 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5764 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5765 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5766 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5767 (lib_gnu_awt_xlib_la_LINK): Likewise.
5768 (install-exec-hook): Removed.
5769 (lib-gnu-awt-xlib.la): Renamed.
5770
5771 2003-01-31 Tom Tromey <tromey@redhat.com>
5772
5773 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5774 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5775 aclocal.m4 and lost in some merge.
5776
5777 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5778 Don't try to find graphics configuration.
5779 * java/awt/Toolkit.java (default_toolkit_name): Use new
5780 Configuration entry.
5781 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5782 New global.
5783 * configure: Rebuilt.
5784 * configure.in (TOOLKIT): New subst.
5785 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5786 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5787 directory. Make output directories for .c files.
5788 * Makefile.in: Rebuilt.
5789 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5790 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5791 (all_java_source_files): Added new sources.
5792 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5793 (gtk_c_files): New macro.
5794 (gtk_c_source_files): New macro.
5795 (cond_gtk_ltlibrary): New macro.
5796 ($(gtk_c_files)): New target.
5797 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5798 (gtk_awt_peer_sources): New macro.
5799 (gtk_c_headers): New macro.
5800 ($(gtk_c_headers)): New target.
5801 (ACLOCAL_AMFLAGS): New macro.
5802 * gtk.m4, glib.m4, libart.m4: New files.
5803 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5804 gnu/java/awt/peer/gtk/GdkGraphics.java,
5805 gnu/java/awt/peer/gtk/GtkArg.java,
5806 gnu/java/awt/peer/gtk/GtkArgList.java,
5807 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5808 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5809 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5810 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5811 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5812 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5813 gnu/java/awt/peer/gtk/GtkClipboard.java,
5814 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5815 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5816 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5817 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5818 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5819 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5820 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5821 gnu/java/awt/peer/gtk/GtkImage.java,
5822 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5823 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5824 gnu/java/awt/peer/gtk/GtkListPeer.java,
5825 gnu/java/awt/peer/gtk/GtkMainThread.java,
5826 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5827 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5828 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5829 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5830 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5831 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5832 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5833 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5834 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5835 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5836 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5837 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5838 gnu/java/awt/peer/gtk/GtkToolkit.java,
5839 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5840 gnu/java/awt/peer/gtk/TestAWT.java,
5841 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5842 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5843 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5844 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5845 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5846 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5847 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5848 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5849 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5850 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5851 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5852 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5853 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5854 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5855 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5856 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5857 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5858 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5859 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5860 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5861 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5862 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5863 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5864 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5865 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5866 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5867 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5868 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5869 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5870 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5871 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5872 jni/classpath/native_state.c, jni/classpath/native_state.h,
5873 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5874
5875 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5876
5877 * java/util/Properties.java (load): Ignore backslash before EOF.
5878
5879 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5880
5881 * java/lang/natClass.cc (initializeClass): Check tables when
5882 (state == JV_STATE_IN_PROGRESS).
5883 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5884 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5885 interpreted classes.
5886 (linkClass0): Use _Jv_WaitForState.
5887
5888 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5889
5890 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5891 object when finished.
5892
5893 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5894
5895 * libjava/configure.host: Disable can_unwind_signal on darwin.
5896
5897 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5898
5899 Fixes PR java/9254:
5900 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5901 additionally containing id of the owner thread as well as
5902 the number of nested times the thread has acquired the mutex.
5903 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5904 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5905 (_Jv_MutexUnlock): Check if really the owner thread, reset
5906 owner thread id to 0 before leaving, if leaving for the last
5907 time.
5908 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5909 refcount.
5910 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5911 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5912 the passed mutex.
5913 Pass handle of the broadcast event, instead of a pointer to it
5914 in Win32 ResetEvent( ) call.
5915 Remove incorrect return values.
5916 (_Jv_CondDestroy): Close both event handles and delete
5917 critical section.
5918 (_Jv_CondNotify): Check if really the owner thread.
5919 (_Jv_CondNotifyAll): Check if really the owner thread.
5920 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5921 (really_start): Use SetEvent( ) to signal daemon_cond.
5922 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5923 WaitForSingleObject( ) instead to wait for daemon_cond to be
5924 signalled.
5925
5926 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5927
5928 * configure.in: Specifically define HAVE_BACKTRACE if building
5929 for MinGW.
5930 * include/win32.h: Remove HAVE_BACKTRACE definition.
5931 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5932 * configure: Rebuilt.
5933
5934 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5935
5936 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5937 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5938 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5939 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5940 * Makefile.in, configure: Rebuilt.
5941
5942 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5943
5944 Fixes PR java/9253:
5945 * java/io/natFileWin32.cc (performList): Append only "*.*"
5946 if the canonical file path already has a "\" at the end.
5947
5948 2003-01-24 Tom Tromey <tromey@redhat.com>
5949
5950 * defineclass.cc (handleMethodsEnd): Precompute code for static
5951 method.
5952 (handleCodeAttribute): Likewise.
5953 * resolve.cc (ncode): Use run_class for unsynchronized static
5954 methods.
5955 * include/java-interp.h (class _Jv_InterpMethod): Declare
5956 run_class.
5957 * interpret.cc (run_synch_class): Initialize class.
5958 (run) [insn_invokestatic]: Don't initialize class.
5959 [insn_anewarray]: Likewise.
5960 [insn_multianewarray]: Likewise.
5961 (run_class): New function.
5962
5963 2003-01-24 Tom Tromey <tromey@redhat.com>
5964
5965 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5966 comment.
5967
5968 2003-01-22 Andrew Haley <aph@redhat.com>
5969
5970 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5971 * configure.host (CHECKREFSPEC): Define for x86_64.
5972
5973 2003-01-21 Tom Tromey <tromey@redhat.com>
5974
5975 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5976 search at 2, not 3.
5977
5978 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5979
5980 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5981 looking at any characters.
5982 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5983 be used.
5984 (isAbsolute): Check path's length as well.
5985
5986 2003-01-17 Mark Wielaard <mark@klomp.org>
5987
5988 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5989 (nat_source_files): Add natVMObjectStreamClass.cc.
5990 * Makefile.in: Regenerated.
5991 * gcj/javaprims.h (namespace java): Regenerated.
5992 * java/io/ObjectStreamClass.java (getClassUID): Call
5993 VMObjectStreamClass.hasClassInitializer().
5994 (hasClassInitializer): Removed.
5995 * java/io/VMObjectStreamClass.java: New class.
5996 * java/io/natVMObjectStreamClass.cc: New file.
5997 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5998
5999 2003-01-16 Mark Wielaard <mark@klomp.org>
6000
6001 * java/net/SocketImpl.java (toString): Don't explicitly call
6002 toString() on possible null address.
6003
6004 2003-01-16 Michael Koch <konqueror@gmx.de>
6005
6006 * java/net/MulticastSocket.java
6007 (setInterface): Reindented.
6008
6009 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6010
6011 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6012 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6013 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6014 translateY arguments. Implement.
6015 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6016 down translation arguments.
6017 (drawPolyline, drawPolygon): Fix incorrect tests.
6018 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6019 translateX and translateY arguments.
6020
6021 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6022
6023 * Makefile.in: Rebuilt.
6024 * Makefile.am (xlib_includes): New macro.
6025 (INCLUDES): Use it.
6026
6027 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6028
6029 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6030 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6031 16-bit display mode.
6032
6033 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6034
6035 * java/awt/CardLayout.java (show): Rewrote.
6036 (gotoComponent): Removed `target' argument. Simplified code.
6037 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6038 Changed all callers.
6039 (NONE): Removed.
6040
6041 2003-01-14 Michael Koch <konqueror@gmx.de>
6042
6043 * java/net/InetSocketAddress.java
6044 (serialVersionUID): New member variable.
6045 * java/net/NetPermission.java
6046 (NetPermission): Dont implement java.io.Serialization directly.
6047 * java/net/SocketAddress.java:
6048 (serialVersionUID): Documentation added.
6049
6050 2003-01-14 Michael Koch <konqueror@gmx.de>
6051
6052 * java/awt/Label.java
6053 (Label): Implements javax.accessibility.Accessible;
6054 * java/awt/List.java
6055 (List): Implements javax.accessibility.Accessible;
6056 * java/awt/ScrollPane.java
6057 (ScrollPane): Implements javax.accessibility.Accessible;
6058 * java/awt/Scrollbar.java
6059 (Scrollbar): Implements javax.accessibility.Accessible;
6060 * java/awt/TextComponent.java
6061 (setCaretPosition): Throw exception, documentation added.
6062 * java/awt/Toolkit.java:
6063 Added some newlines in method documentations.
6064 (createButton): Exception documentation added.
6065 (createTextField): Exception documentation added.
6066 (createLabel): Exception documentation added.
6067 (createList): Exception documentation added.
6068 (createCheckbox): Exception documentation added.
6069 (createScrollbar): Exception documentation added.
6070 (createScrollPane): Exception documentation added.
6071 (createTextArea): Exception documentation added.
6072 (createChoice): Exception documentation added.
6073 (createFrame): Exception documentation added.
6074 (createWindow): Exception documentation added.
6075 (createDialog): Exception documentation added.
6076 (createMenuBar): Exception documentation added.
6077 (createMenu): Exception documentation added.
6078 (createMenuItem): Exception documentation added.
6079 (createFileDialog): Exception documentation added.
6080 (createCheckboxMenuItem): Exception documentation added.
6081 (loadSystemColors): Exception documentation added.
6082 (setDynamicLayout): Exception documentation added.
6083 (isDynamicLayoutSet): Exception documentation added.
6084 (isDynamicLayoutActive): Exception documentation added.
6085 (getScreenSize): Exception documentation added.
6086 (getScreenResolution): Exception documentation added.
6087 (getScreenInsets): Exception documentation added.
6088 (getColorModel): Exception documentation added.
6089 (getSystemClipboard): Exception documentation added.
6090 (getSystemSelection): Exception documentation added.
6091 (getMenuShortcutKeyMask): Exception documentation added.
6092 (getSystemEventQueue): Exception documentation added.
6093 * java/awt/Window.java:
6094 Reindented some code.
6095 (Window): Centralized implementation, documentation added.
6096 (finalize): Documentation added.
6097 (hide): Fixed typo in comment.
6098 (getWindowListeners): Documentation added.
6099 * java/awt/color/ColorSpace.java
6100 (toRGB): Documentation added.
6101 * java/awt/color/ICC_ColorSpace.java
6102 (ICC_ColorSpace): Documentation added.
6103 (toRGB): Throw exception, documentation added.
6104 (fromRGB): Throw exception, documentation added.
6105 (toCIEXYZ): Documentation added.
6106 (fromCIEXYZ): Documentation added.
6107 (getMinValue): Documentation added.
6108 (getMaxValue): Documentation added.
6109 * java/awt/geom/Dimension2D.java
6110 (clone): Documentation added.
6111 * java/awt/geom/GeneralPath.java
6112 (clone): Documentation added.
6113 * java/awt/geom/Line2D.java
6114 (clone): Documentation added.
6115 * java/awt/geom/QuadCurve2D.java
6116 (clone): Documentation added.
6117 * java/awt/image/ColorModel.java
6118 (ColorModel): Throw exception, documentation added.
6119 * java/awt/image/ImageFilter.java
6120 (clone): Doesnt throw CloneNotSupportedException.
6121
6122 2003-01-14 Andrew Haley <aph@redhat.com>
6123
6124 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6125 in a try block.
6126
6127 2003-01-10 Andrew Haley <aph@redhat.com>
6128
6129 * include/dwarf2-signal.h: Remove x86_64.
6130 * configure.host (x86_64 DIVIDESPEC): Remove.
6131 * include/x86_64-signal.h: New file.
6132 * configure.in: Regenerate.
6133
6134 2003-01-10 Michael Koch <konqueror@gmx.de>
6135
6136 * java/net/DatagramSocket.java
6137 (ch): Description added.
6138 (remotePort): Initialize with -1.
6139 (connect): Doesnt throws SocketException.
6140 * java/net/MulticastSocket.java
6141 (setInterface): Merge with Classpath.
6142 * java/net/ServerSocket.java
6143 (closed): New member variable.
6144 (bind): Check if socket is closed.
6145 (close): Close an associated channel too, set new value to closed.
6146 (isBound): Reindented.
6147 (isClosed): Implemented.
6148 * java/net/Socket.java
6149 (closed): New member variable.
6150 (bind): Check if socket is closed.
6151 (connect): Check if socket is closed.
6152 (close): Close an associated channel too, set new value to closed.
6153 (isClosed): Implemented.
6154
6155 2003-01-10 Michael Koch <konqueror@gmx.de>
6156
6157 * java/awt/DisplayMode.java
6158 (equals): Fixed argument type and implementation.
6159
6160 2003-01-07 Tom Tromey <tromey@redhat.com>
6161
6162 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6163 JV_HASH_SYNCHRONIZATION.
6164 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6165 JV_HASH_SYNCHRONIZATION.
6166
6167 2003-01-07 Michael Koch <konqueror@gmx.de>
6168
6169 * java/net/DatagramSocket.java:
6170 Added classpath license info.
6171 (DatagramSocket): Merged description with classpath.
6172 (close): Merged description with classpath.
6173 (getChannel): Merged description with classpath.
6174 (getInetAddress): Merged description with classpath.
6175 (getPort): Merged description with classpath.
6176 (getLocalAddress): Merged description with classpath.
6177 (getLocalPort): Merged description with classpath.
6178 (getSoTimeout): Merged description with classpath.
6179 (setSoTimeout): Merged description with classpath.
6180 (getSendBufferSize): Merged description with classpath.
6181 (setSendBufferSize): Merged description with classpath.
6182 (getReceiveBufferSize): Merged description with classpath.
6183 (setReceiveBufferSize): Merged description with classpath.
6184
6185 2003-01-04 Tom Tromey <tromey@redhat.com>
6186
6187 * java/awt/List.java: Merged with Classpath.
6188
6189 2003-01-03 Mark Wielaard <mark@klomp.org>
6190
6191 * java/io/FileDescriptor.java (position): New private field.
6192 * java/io/natFileDescriptorPosix.cc (write): Up position.
6193 (setLength): Use and set position.
6194 (seek): Set position.
6195 (getFilePointer): Return position.
6196 (read): Up position.
6197
6198 2003-01-03 Mark Wielaard <mark@klomp.org>
6199
6200 Merge with Classpath:
6201 * java/io/ObjectStreamClass.java (lookup): Split method and call
6202 lookupForClassObject().
6203 (lookupForClassObject): New method.
6204 (isProxyClass): New field.
6205 (setClass): Set isProxyClass, add object to classLookupTable, set
6206 superClass and calculateOffsets.
6207 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6208 and not a proxy class.
6209 (setFields): Set accessible true for serialPersistentFields.
6210 (getClassUID): Same for suid. And check if suid is of type long.
6211 (hasClassInitializer): Don't throw NoSuchMethodError.
6212
6213 2003-01-03 Mark Wielaard <mark@klomp.org>
6214
6215 * java/io/FileInputStream.java (finalize): Don't explicitly
6216 finalize FileDescriptor.
6217
6218 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6219
6220 * configure.host (sparc*-*): Enable bytecode interpreter.
6221
6222 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6223
6224 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6225 Don't throw RemoteException.
6226 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6227 throw RemoteException.
6228
6229 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6230
6231 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6232 proxyHost): New static fields.
6233 (<clinit>): Initialize new fields.
6234 (connect): Use proxy if necessary.
6235 (usingProxy): Implement.
6236
6237 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6238
6239 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6240 (TreeIterator.remove): Prefer IllegalStateException over
6241 ConcurrentModificationException, to match Sun.
6242
6243 2002-12-22 Anthony Green <green@redhat.com>
6244
6245 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6246
6247 2003-01-02 Mark Wielaard <mark@klomp.org>
6248
6249 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6250 public.
6251 (HTTP_USE_PROXY): Add field.
6252 (getResponseVals): Only set responseCode when not yet explicitly
6253 set by subclass.
6254
6255 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6256 Mark Wielaard <mark@klomp.org>
6257
6258 * java/util/zip/ZipFile.java (entries): Now HashMap.
6259 (readLeShort(DataInput, byte[])): Read from given byte array.
6260 (readLeInt(DataInput, byte[]): Likewise.
6261 (readLeShort(byte[] b, int off)): New method.
6262 (readLeInt(byte[] b, int off)): Likewise.
6263 (readEntries): Use byte arrays to read info in bigger chunks.
6264 (getEntries): Return HashMap.
6265 (getEntry): Use HashMap.
6266 (locBuf): New private field.
6267 (checkLocalHeader): Use locBuf to read info in one chunk.
6268 (getInputStream): Use entries HashMap, wrap PartialInputStream
6269 in BufferedInputStream.
6270 (ZipEntryEnumeration): Use HashMap and Interator.
6271
6272 2003-01-02 Mark Wielaard <mark@klomp.org>
6273 Jeroen Frijters <jeroen@sumatra.nl>
6274
6275 * java/net/URLClassLoader.java (Resource.getCodeSource):
6276 Fix check certs == null.
6277 (getCanonicalFileURL): Removed method.
6278 (JarURLLoader): Don't call removed method.
6279 (FileURLLoader): Likewise.
6280 (FileURLLoader.getResource): Don't canonicalize file name.
6281
6282 2003-01-01 Tom Tromey <tromey@redhat.com>
6283
6284 * Makefile.in: Rebuilt.
6285 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6286 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6287 java/awt/BufferCapabilities.java, java/awt/Button.java,
6288 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6289 java/awt/Container.java, java/awt/Cursor.java,
6290 java/awt/EventQueue.java, java/awt/FileDialog.java,
6291 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6292 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6293 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6294 java/awt/Scrollbar.java, java/awt/TextArea.java,
6295 java/awt/TextField.java, java/awt/color/CMMException.java,
6296 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6297 java/awt/color/ProfileDataException.java,
6298 java/awt/datatransfer/Clipboard.java,
6299 java/awt/datatransfer/DataFlavor.java,
6300 java/awt/datatransfer/FlavorMap.java,
6301 java/awt/datatransfer/SystemFlavorMap.java,
6302 java/awt/dnd/DragGestureEvent.java,
6303 java/awt/dnd/DragGestureRecognizer.java,
6304 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6305 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6306 java/awt/im/InputMethodHighlight.java,
6307 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6308 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6309
6310 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6311 `op' to BufferedImageOp.
6312
6313 2002-12-31 Tom Tromey <tromey@redhat.com>
6314
6315 Fix for PR libgcj/7416:
6316 * javax/naming/InitialContext.java (init): Use
6317 gnu.classpath.home.url.
6318 * java/security/Security.java: Use new properties.
6319 (loadProviders): Accept base url; use it.
6320 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6321 gnu.classpath.home.url.
6322 (gnu.classpath.home.url): Define.
6323 (gnu.classpath.vm.shortname): Likewise.
6324
6325 2002-12-31 Tom Tromey <tromey@redhat.com>
6326 Ranjit Mathew <rmathew@hotmail.com>
6327
6328 Fix for PR libgcj/8997:
6329 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6330 Include platform.h.
6331 * include/posix.h (_Jv_platform_usleep): New function.
6332 * include/win32.h (_Jv_platform_usleep): New function.
6333
6334 2002-12-29 Tom Tromey <tromey@redhat.com>
6335
6336 * gcj/javaprims.h: Updated.
6337 * scripts/classes.pl (scan): Removed stray semicolon.
6338
6339 2002-12-30 Mark Wielaard <mark@klomp.org>
6340
6341 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6342 if zero or smaller.
6343
6344 2002-12-30 Mark Wielaard <mark@klomp.org>
6345
6346 * java/util/Properties (formatForOutput): Don't fall through to
6347 default case after escaping character.
6348
6349 2002-12-30 Mark Wielaard <mark@klomp.org>
6350
6351 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6352 against count.
6353
6354 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6355
6356 * boehm.cc: Remove stray semicolon.
6357 * interpret.cc: Likewise.
6358 * prims.cc: Likewise.
6359 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6360 earlier to ensure default arguments are processed.
6361 * gcj/array.h (JArray): Add forward declaration.
6362 (elements): Likewise.
6363 * gcj/javaprim.h: Remove stray semicolons.
6364 * include/bohm-gc.h: Likewise.
6365 * include/jni.h: Likewise.
6366 * include/jvm.h: Likewise.
6367 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6368
6369 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6370
6371 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6372 of catch_type.
6373 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6374 idt tables after initializing superclass.
6375 * java/lang/natClassLoader.cc (uaddr): New typedef.
6376 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6377 if they are constant pool indicies. Don't link vtable, otable yet.
6378
6379 2002-12-21 Anthony Green <green@redhat.com>
6380
6381 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6382 libraries.
6383 * Makefile.in: Rebuilt.
6384
6385 2002-12-19 Anthony Green <green@redhat.com>
6386
6387 * Makefile.am (ordinary_java_source_files): Add
6388 org/xml/sax/helpers/NewInstance.java.
6389 * Makefile.in: Rebuilt.
6390 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6391 org/xml/sax/helpers/package.html: New files.
6392 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6393 http://www.saxproject.org.
6394
6395 2002-12-19 Andrew Haley <aph@redhat.com>
6396
6397 * java/util/natResourceBundle.cc: Include
6398 ArrayIndexOutOfBoundsException.h.
6399 (getCallingClassLoader): Don't put upper bound on stack search.
6400 Catch ArrayIndexOutOfBoundsException.
6401
6402 2002-12-19 Tom Tromey <tromey@redhat.com>
6403
6404 * libtool-version: Increased `current'.
6405
6406 2002-12-19 Tom Tromey <tromey@redhat.com>
6407
6408 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6409 comment.
6410 * java/lang/ClassLoader.java (defineClass): Use chained
6411 exception when rethrowing.
6412 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6413 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6414 constants.
6415 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6416 (_Jv_PrepareClass): Use it.
6417 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6418 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6419 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6420 (Class): _Jv_PrepareMissingMethods now friend.
6421 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6422 Record `NULL' for system class loader.
6423 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6424 system class loader.
6425 (_Jv_FindClassInCache): Likewise.
6426 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6427 (_Jv_FindClass): Special case system class loader.
6428 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6429 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6430 vtable slots.
6431 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6432 in a final class.
6433 (_getDeclaredMethod): Don't return synthetic methods.
6434 (getDeclaredMethods): Likewise.
6435 (_getMethod): Likewise.
6436 (_getMethods): Likewise.
6437
6438 2002-12-18 Raif Naffah <raif@fl.net.au>
6439
6440 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6441 canonical form after divide().
6442 (modInverse): Likewise.
6443
6444 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6445 Mark Wielaard <mark@klomp.org>
6446
6447 * java/security/SecurityRandom (digest): Removed field.
6448 (SecureRandom): Check all providers for case-insensitive SecureRandom
6449 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6450 if necessary.
6451 (getInstance(String,Provider,boolean): New method.
6452 (getInstance(String)): Use new method.
6453 (getInstance(String,String)): Likewise.
6454 (getInstance(String,Provider)): Likewise.
6455
6456 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6457
6458 * java/security/Security.java (loadProviders): Increment i only once.
6459
6460 2002-12-12 Mark Wielaard <mark@klomp.org>
6461
6462 * java/lang/ClassLoader.java (resolveClass0): Transform
6463 ClassNotFoundException to NoClassDefFoundError. Transform all other
6464 throwables to LinkageError.
6465
6466 2002-12-11 Tom Tromey <tromey@redhat.com>
6467
6468 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6469
6470 * java/lang/ClassLoader.java (loadedClasses): New field.
6471 (defineClass): Fixed indentation. Put new class in
6472 loadedClasses.
6473 (findLoadedClass): Implement here.
6474 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6475
6476 2002-12-10 Tom Tromey <tromey@redhat.com>
6477
6478 * Makefile.in: Rebuilt.
6479 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6480 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6481 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6482 * java/lang/natClassLoader.cc
6483 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6484
6485 2002-12-10 Mark Wielaard <mark@klomp.org>
6486 Tom Tromey <tromey@redhat.com>
6487
6488 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6489 (JarURLLoader): Use it.
6490 (FileURLLoader): Likewise.
6491 (JarURLResource.getURL): Use chained exception.
6492 (FileResource.getURL): Likewise.
6493 (FileURLLoader.getResource): Use canonical file name.
6494 (addURL): Indentation fix.
6495
6496 2002-12-10 Tom Tromey <tromey@redhat.com>
6497
6498 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6499 From Laurent Bardet <l.bardet@magic.fr>.
6500
6501 2002-12-09 Tom Tromey <tromey@redhat.com>
6502
6503 * include/win32.h (_Jv_platform_solib_prefix): New define.
6504 (_Jv_platform_solib_suffix): Likewise.
6505 * include/posix.h (_Jv_platform_solib_prefix): New define.
6506 (_Jv_platform_solib_suffix): Likewise.
6507 * java/lang/natRuntime.cc: Include StackTrace.h.
6508 (_load): Use findLibrary and new platform defines.
6509 (nativeGetLibname): Use new platform defines.
6510
6511 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6512 `t' won't be null.
6513
6514 2002-12-08 Mark Wielaard <mark@klomp.org>
6515
6516 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6517 cache remote jar files.
6518 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6519 add File.separator to URL when it is a directory.
6520 * java/lang/ClassLoader.java: Add Classpath javadoc.
6521 (parent): final.
6522 (getParent): Add (disabled) security check.
6523 (findLibrary): New default method.
6524 * java/net/JarURLConnection.java (getManifest): Implement.
6525 (getInputStream): Only create InputStream when entry exists.
6526 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6527 when they exist.
6528 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6529
6530 2002-12-08 Mark Wielaard <mark@klomp.org>
6531
6532 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6533 (lastDefaultLocale): New field.
6534 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6535 resourceBundleCache.
6536
6537 2002-12-06 Mark Wielaard <mark@klomp.org>
6538
6539 * java/net/InetAddress.java (toString): Use hostname when not null,
6540 don't do an explicit reverse getHostName() lookup.
6541 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6542 NullPointerException.
6543
6544 2002-12-06 Tom Tromey <tromey@redhat.com>
6545
6546 * include/java-interp.h (class _Jv_InterpMethod): Added
6547 JV_MARKOBJ_DECL.
6548 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6549 mark `prepared' field of interpreted method.
6550 * interpret.cc (compile): Use _Jv_AllocBytes.
6551
6552 2002-12-05 Andrew Haley <aph@redhat.com>
6553
6554 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6555 #ifdef (HAVE_BACKTRACE) around the whole function body.
6556
6557 2002-12-05 Tom Tromey <tromey@redhat.com>
6558
6559 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6560 * resolve.cc: Don't include AbstractMethodError.h.
6561 (_Jv_abstractMethodError): Removed.
6562 * defineclass.cc (handleMethodsBegin): Initialize method index to
6563 -1.
6564 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6565 method index for "new" final method.
6566 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6567 isVirtualMethod. Added `flags' argument.
6568 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6569 class.
6570
6571 2002-12-04 Tom Tromey <tromey@redhat.com>
6572
6573 * java/net/SocketPermission.java (hashCode): Rewrote.
6574
6575 2002-12-04 Tom Tromey <tromey@redhat.com>
6576
6577 * Makefile.in: Rebuilt.
6578 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6579 natResourceBundle.
6580 * java/util/ResourceBundle.java (Security): Removed.
6581 (getCallingClassLoader): Now native.
6582 * java/util/natResourceBundle.cc: New file.
6583 * java/lang/natVMSecurityManager.cc: New file.
6584 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6585
6586 2002-12-03 Mark Wielaard <mark@klomp.org>
6587
6588 * java/util/jar/JarFile.java (manifest): Not final.
6589 (manifestRead): New field.
6590 (JarFile): Don't read Manifest in constructor.
6591 (getManifest): New method.
6592 (JarEnumeration.nextElement): Use new method.
6593 (getEntry): Likewise.
6594 * java/util/zip/ZipFile.java (name): Final.
6595 (raf): Likewsie.
6596 (entries): Change type to Hashtable.
6597 (closed): New field.
6598 (ZipFile): Don't read enties in constructor.
6599 (readEntries): Use Hashtable.
6600 (close): Set new close flag and set entries to null inside
6601 synchronized block.
6602 (entries): Contruct enumeration using new getEntries() method and
6603 entries Hashtable.
6604 (getEntryIndex): Removed.
6605 (getEntries): New method.
6606 (getEntry): Use new getEntries() method and entries Hastable.
6607 (getInputStream): Likewise.
6608 (size): Return getEntries().size().
6609 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6610 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6611 (time): Removed
6612 (dostime): New field.
6613 (zipFileIndex): Removed.
6614 (ZipEntry(ZipEntry)): Copy dostime.
6615 (setDOSTime): Now final and doesn't convert dos time.
6616 (getDOSTime): Likewise.
6617 (setTime): Convert dos time.
6618 (getTime): Likewise.
6619 (getCalendar): New method.
6620 (setExtra): Use setTime().
6621 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6622
6623 2002-12-03 Tom Tromey <tromey@redhat.com>
6624
6625 * java/lang/Character.java (forDigit): Formatting fix.
6626
6627 2002-12-03 Raif Naffah <raif@fl.net.au>
6628
6629 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6630 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6631 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6632
6633 2002-12-03 Andrew Haley <aph@redhat.com>
6634
6635 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6636 _Jv_PushClass.
6637 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6638 (_Jv_PopClass): New.
6639 (_Jv_PushClass): New.
6640 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6641 discover the ClassLoader of our caller.
6642 (_Jv_CheckArrayStore): Don't check that a class is assignment
6643 compatible with Object.
6644 * java/lang/natVMTHrowable.cc: Delete.
6645 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6646 java.lang.VMThrowable.
6647 (StackTrace(), StackTrace(int)): New constructors.
6648 (classAt, methodAt, update, methodAtAddress): New methods.
6649 (map): New field.
6650 * java/lang/VMThrowable.java: Use StackTrace instead of
6651 natVMTHrowable.
6652 * java/lang/Class.h (getClassLoaderInternal): New.
6653 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6654 Be friendly with gnu::gcj::runtime::StackTrace.
6655 (Object.chain): New field.
6656 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6657 gnu::gcj::runtime::StackTrace.
6658 * gnu/gcj/runtime/natStackTrace.cc: New file.
6659 * gnu/gcj/runtime/MethodRef.java: New file.
6660 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6661 instead of getClassLoader().
6662 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6663 java::lang::VMThrowable.
6664 * Makefile.am (core_java_source_files): Add MethodRef.java,
6665 StackTrace.java.
6666 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6667 * Makefile.in: Rebuild.
6668
6669 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6670
6671 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6672 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6673 yes also for sh-linux* and sh[34]*-linux*.
6674 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6675 set SIGNAL_HANDLER to use DWARF2 exception for them.
6676 * configure: Regenerate.
6677
6678 2002-12-02 Tom Tromey <tromey@redhat.com>
6679
6680 * jni.cc: Added `name' argument.
6681 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6682 `const char *' argument.
6683 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6684
6685 2002-12-01 Tom Tromey <tromey@redhat.com>
6686
6687 Bug compatibility, for PR libgcj/8738:
6688 * java/io/CharArrayWriter.java (close): Do nothing.
6689 (flush): Likewise.
6690 (reset): Don't touch `closed'.
6691 (write(int)): Don't throw IOException.
6692 (write(char[],int,int)): Likewise.
6693 (write(String,int,int)): Likewise.
6694 (closed): Removed.
6695
6696 2002-12-01 Mark Wielaard <mark@klomp.org>
6697
6698 * java/lang/SecurityManager.java: Remerge comments, indenting and
6699 checkXXX methods with Classpath.
6700
6701 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6702
6703 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6704 getNormalizedComponents): Fix calculation which was using one too
6705 many bits in the unnormalized format.
6706
6707 2002-11-29 Gary Benson <gbenson@redhat.com>
6708
6709 For PR libgcj/8759:
6710 * java/beans/Introspector.java (flushCaches): New method.
6711 (flushFromCaches): Likewise.
6712
6713 2002-11-29 Michael Koch <konqueror@gmx.de>
6714
6715 * java/nio/channels/DatagramChannel.java
6716 (open): Added exception documentation.
6717 (write): Added exception documentation.
6718 (connect): Added exception documentation.
6719 (disconnect): Added exception documentation.
6720 (isConnected): Added exception documentation.
6721 (read): Added exception documentation.
6722 (receive): Added exception documentation.
6723 (send): Added exception documentation.
6724 (validOps): Added exception documentation.
6725 * java/nio/channels/SocketChannel.java
6726 (open): Added exception documentation.
6727 (read): Added exception documentation.
6728 (write): Added exception documentation.
6729 (connect): Added exception documentation.
6730 (finishConnect): Added exception documentation.
6731
6732 2002-11-29 Michael Koch <konqueror@gmx.de>
6733
6734 * gnu/java/nio/DatagramChannelImpl:
6735 (fd): New member variable to store file descriptor of socket.
6736 * gnu/java/nio/SelectionKeyImpl.java:
6737 (ops): Removed.
6738 (readyOps): New member variable.
6739 (interestOps): New member variable.
6740 (readyOps): Implemented.
6741 (readyOps): New method to set member variable readyOps.
6742 (interestOps): Replaced ops by interestOps.
6743 * gnu/java/nio/SelectorImpl.java:
6744 (SelectorImpl): Initialize key sets.
6745 (select): Call select with -1 instead of Long.MAX_VALUE).
6746 (java_do_select): Make it a native method.
6747 (getFDsAsArray): New helper method.
6748 (select): Remove canceled keys, give only interested file discriptors
6749 to java_do_select, set ready ops.
6750 (add): No need to initialize keys set here.
6751 (add_selected): No need to initialize selected set here.
6752 (deregisterCanceledKeys): New helper method.
6753 (register): Set interest ops, set attachments, added handling of datagram
6754 channels.
6755 * gnu/java/nio/ServerSocketChannelImpl:
6756 (SocketAccept): Renamed from NioSocketAccept.
6757 (implConfigureBlocking): Implemented.
6758 (accept): Use SocketAccept instead of NioSocketAccept.
6759 * gnu/java/nio/SocketChannelImpl:
6760 Reactivate native methods.
6761
6762 2002-11-29 Michael Koch <konqueror@gmx.de>
6763
6764 * gnu/java/nio/natByteBufferImpl.cc,
6765 gnu/java/nio/natCharBufferImpl.cc,
6766 gnu/java/nio/natDoubleBufferImpl.cc,
6767 gnu/java/nio/natFloatBufferImpl.cc,
6768 gnu/java/nio/natIntBufferImpl.cc,
6769 gnu/java/nio/natLongBufferImpl.cc,
6770 gnu/java/nio/natSelectorImpl.cc,
6771 gnu/java/nio/natServerSocketChannelImpl.cc,
6772 gnu/java/nio/natShortBufferImpl.cc,
6773 gnu/java/nio/natSocketChannelImpl.cc:
6774 New files that implement native functionalities.
6775
6776 2002-11-29 Michael Koch <konqueror@gmx.de>
6777
6778 * gnu/java/nio/ByteBufferImpl.java
6779 (ByteBufferImpl): Moved position() after limit.
6780 (nio_*): Use native implementation.
6781 * gnu/java/nio/CharBufferImpl.java:
6782 Reformated.
6783 (endian): New member variable string endianess of buffer.
6784 (CharBufferImpl): Moved position() after limit.
6785 (nio_*): Use native implementation.
6786 (subSequence): Implemented.
6787 * gnu/java/nio/DoubleBufferImpl.java
6788 (DoubleBufferImpl): Moved position() after limit.
6789 (nio_*): Use native implementation.
6790 * gnu/java/nio/FloatBufferImpl.java
6791 Reformated.
6792 (FloatBufferImpl): Moved position() after limit.
6793 (nio_*): Use native implementation.
6794 * gnu/java/nio/IntBufferImpl.java
6795 Added needed imports, Reformated.
6796 (IntBufferImpl): Moved position() after limit.
6797 (nio_*): Use native implementation.
6798 * gnu/java/nio/LongBufferImpl.java
6799 Reformated.
6800 (LongBufferImpl): Moved position() after limit.
6801 (nio_*): Use native implementation.
6802 * gnu/java/nio/ShortBufferImpl.java
6803 Reformated.
6804 (ShortBufferImpl): Moved position() after limit.
6805 (nio_*): Use native implementation.
6806
6807 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6808
6809 * java/util/Locale.java (toString): Improve efficiency if country
6810 and variant are both empty.
6811
6812 2002-11-26 Tom Tromey <tromey@redhat.com>
6813
6814 * verify.cc (pop_init_ref): New method.
6815 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6816 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6817 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6818 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6819 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6820 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6821 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6822 let `this' argument be uninitialized. Don't let `null' be passed
6823 as `this' to construtor.
6824
6825 2002-11-26 Mark Wielaard <mark@klomp.org>
6826
6827 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6828 * javax/transaction/HeuristicMixedException.java: Likewise.
6829 * javax/transaction/HeuristicRollbackException.java: Likewise.
6830 * javax/transaction/InvalidTransactionException.java: Likewise.
6831 * javax/transaction/NotSupportedException.java: Likewise.
6832 * javax/transaction/RollbackException.java: Likewise.
6833 * javax/transaction/Status.java: Likewise.
6834 * javax/transaction/Synchronization.java: Likewise.
6835 * javax/transaction/SystemException.java: Likewise.
6836 * javax/transaction/Transaction.java: Likewise.
6837 * javax/transaction/TransactionManager.java: Likewise.
6838 * javax/transaction/TransactionRequiredException.java: Likewise.
6839 * javax/transaction/TransactionRolledbackException.java: Likewise.
6840 * javax/transaction/UserTransaction.java: Likewise.
6841 * javax/transaction/xa/XAException.java: Likewise.
6842 * javax/transaction/xa/XAResource.java: Likewise.
6843 * javax/transaction/xa/Xid.java: Likewise.
6844
6845 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6846
6847 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6848 define.
6849 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6850 * include/posix.h (socklen_t): Define if not already defined.
6851
6852 2002-11-25 Tom Tromey <tromey@redhat.com>
6853
6854 * verify.cc (type::compatible): Backed out broken change.
6855
6856 * verify.cc (type::compatible): Check initialization status
6857 first.
6858 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6859 Don't use NULLCHECK.
6860
6861 2002-11-23 H.J. Lu <hjl@gnu.org>
6862
6863 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6864 Include ../config/accross.m4.
6865 * aclocal.m4; Rebuild.
6866 * configure: Likewise.
6867
6868 2002-11-23 Mark Wielaard <mark@klomp.org>
6869
6870 * javax/naming/AuthenticationException.java: Update copyright header.
6871 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6872 * javax/naming/Binding.java: Likewise.
6873 * javax/naming/CannotProceedException.java: Likewise.
6874 * javax/naming/CommunicationException.java: Likewise.
6875 * javax/naming/CompositeName.java: Likewise.
6876 * javax/naming/CompoundName.java: Likewise.
6877 * javax/naming/ConfigurationException.java: Likewise.
6878 * javax/naming/Context.java: Likewise.
6879 * javax/naming/ContextNotEmptyException.java: Likewise.
6880 * javax/naming/InitialContext.java: Likewise.
6881 * javax/naming/InsufficientResourcesException.java: Likewise.
6882 * javax/naming/InterruptedNamingException.java: Likewise.
6883 * javax/naming/LimitExceededException.java: Likewise.
6884 * javax/naming/LinkException.java: Likewise.
6885 * javax/naming/LinkLoopException.java: Likewise.
6886 * javax/naming/LinkRef.java: Likewise.
6887 * javax/naming/MalformedLinkException.java: Likewise.
6888 * javax/naming/NameAlreadyBoundException.java: Likewise.
6889 * javax/naming/NameClassPair.java: Likewise.
6890 * javax/naming/NameNotFoundException.java: Likewise.
6891 * javax/naming/NameParser.java: Likewise.
6892 * javax/naming/NamingEnumeration.java: Likewise.
6893 * javax/naming/NamingSecurityException.java: Likewise.
6894 * javax/naming/NoInitialContextException.java: Likewise.
6895 * javax/naming/NoPermissionException.java: Likewise.
6896 * javax/naming/NotContextException.java: Likewise.
6897 * javax/naming/OperationNotSupportedException.java: Likewise.
6898 * javax/naming/PartialResultException.java: Likewise.
6899 * javax/naming/Reference.java: Likewise.
6900 * javax/naming/Referenceable.java: Likewise.
6901 * javax/naming/ReferralException.java: Likewise.
6902 * javax/naming/ServiceUnavailableException.java: Likewise.
6903 * javax/naming/SizeLimitExceededException.java: Likewise.
6904 * javax/naming/TimeLimitExceededException.java: Likewise.
6905 * javax/naming/directory/Attribute.java: Likewise.
6906 * javax/naming/directory/AttributeInUseException.java: Likewise.
6907 * javax/naming/directory/AttributeModificationException.java: Likewise.
6908 * javax/naming/directory/Attributes.java: Likewise.
6909 * javax/naming/directory/BasicAttribute.java: Likewise.
6910 * javax/naming/directory/BasicAttributes.java: Likewise.
6911 * javax/naming/directory/DirContext.java: Likewise.
6912 * javax/naming/directory/InitialDirContext.java: Likewise.
6913 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6914 Likewise.
6915 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6916 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6917 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6918 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6919 * javax/naming/directory/ModificationItem.java: Likewise.
6920 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6921 * javax/naming/directory/SchemaViolationException.java: Likewise.
6922 * javax/naming/directory/SearchControls.java: Likewise.
6923 * javax/naming/directory/SearchResult.java: Likewise.
6924 * javax/naming/event/EventContext.java: Likewise.
6925 * javax/naming/event/EventDirContext.java: Likewise.
6926 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6927 * javax/naming/event/NamingEvent.java: Likewise.
6928 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6929 * javax/naming/event/NamingListener.java: Likewise.
6930 * javax/naming/event/ObjectChangeListener.java: Likewise.
6931 * javax/naming/ldap/Control.java: Likewise.
6932 * javax/naming/ldap/ControlFactory.java: Likewise.
6933 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6934 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6935 * javax/naming/ldap/HasControls.java: Likewise.
6936 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6937 * javax/naming/ldap/LdapContext.java: Likewise.
6938 * javax/naming/ldap/LdapReferralException.java: Likewise.
6939 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6940 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6941 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6942 * javax/naming/spi/DirObjectFactory.java: Likewise.
6943 * javax/naming/spi/DirStateFactory.java: Likewise.
6944 * javax/naming/spi/DirectoryManager.java: Likewise.
6945 * javax/naming/spi/InitialContextFactory.java: Likewise.
6946 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6947 * javax/naming/spi/NamingManager.java: Likewise.
6948 * javax/naming/spi/ObjectFactory.java: Likewise.
6949 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6950 * javax/naming/spi/ResolveResult.java: Likewise.
6951 * javax/naming/spi/Resolver.java: Likewise.
6952 * javax/naming/spi/StateFactory.java: Likewise.
6953
6954 * javax/naming/spi/NamingManager.java (ofb): Package private.
6955
6956 2002-11-21 Mark Wielaard <mark@klomp.org>
6957
6958 * java/net/URL.java: Merge with Classpath (partly).
6959 * java/net/URLStreamHandler: Merge with Classpath.
6960
6961 2002-11-22 Michael Koch <konqueror@gmx.de>
6962
6963 * include/posix.h:
6964 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6965 * include/win32.h:
6966 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6967 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6968
6969 2002-11-21 Michael Koch <konqueror@gmx.de>
6970
6971 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6972 Only the new network functions should be in it.
6973
6974 2002-11-21 Michael Koch <konqueror@gmx.de>
6975
6976 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6977 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6978
6979 2002-11-21 Michael Koch <konqueror@gmx.de>
6980
6981 * java/nio/channels/AsynchronousCloseException.java,
6982 java/nio/channels/CancelledKeyException.java,
6983 java/nio/channels/ClosedByInterruptException.java,
6984 java/nio/channels/ConnectionPendingException.java,
6985 java/nio/channels/FileLockInterruptionException.java,
6986 java/nio/channels/IllegalSelectorException.java,
6987 java/nio/channels/NoConnectionPendingException.java,
6988 java/nio/channels/NonReadableChannelException.java,
6989 java/nio/channels/NonWritableChannelException.java,
6990 java/nio/channels/NotYetBoundException.java,
6991 java/nio/channels/NotYetConnectedException.java,
6992 java/nio/channels/OverlappingFileLockException.java,
6993 java/nio/channels/UnresolvedAddressException.java,
6994 java/nio/channels/UnsupportedAddressTypeException.java:
6995 New files.
6996 * Makefile.am (ordinary_java_source_files): Added new files.
6997 * Makefile.in: Regenerated.
6998
6999 2002-11-21 Michael Koch <konqueror@gmx.de>
7000
7001 * include/posix.h
7002 (_Jv_socket): New method.
7003 (_Jv_connect): New method.
7004 (_Jv_close): New method.
7005 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7006 (_Jv_bind): New method.
7007 (_Jv_listen): New method.
7008 (_Jv_write): New method.
7009 (_Jv_read): New method.
7010 * include/win32.h
7011 (_Jv_socket): New method.
7012 (_Jv_connect): New method.
7013 (_Jv_close): New method.
7014 (_Jv_bind): New method.
7015 (_Jv_listen): New method.
7016 (_Jv_write): New method.
7017 (_Jv_read): New method.
7018 * java/net/natNetworkInterface.cc:
7019 Include platform.h, removed inclusion of socket.h
7020 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7021 ::close() by _Jv_close().
7022 * java/net/natPlainDatagramSocketImpl.cc:
7023 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7024 added some new lines to make code more readable.
7025 (create): Replaced ::socket() by _Jv_socket().
7026 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7027 * java/net/natPlainSocketImpl.cc:
7028 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7029 removed include of socket.h, removed some windows defines
7030 (now in include/win32.h).
7031 (create): Replaced ::socket() by _Jv_socket().
7032 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7033 (write): Replaced ::read by _Jv_write().
7034 (read): Replaced ::read by _Jv_read().
7035
7036 2002-11-20 Michael Koch <konqueror@gmx.de>
7037
7038 * Makefile.am (ordinary_java_source_files):
7039 Added java/nio/channels/FileChannel.java.
7040 * Makefile.in: Regenerated.
7041
7042 2002-11-20 Michael Koch <konqueror@gmx.de>
7043
7044 * java/io/FileInputStream.java
7045 (getChannel): New method.
7046 * java/io/FileOutputStream.java
7047 (getChannel): New method.
7048 * java/net/ServerSocket.java
7049 (bind): Removed duplicate code and called another bind method instead.
7050 * java/nio/channels/SelectionKey.java
7051 (isValid): Removed wrong exception documentation.
7052 * java/nio/channels/ServerSocketChannel.java
7053 (accept): Added exception documentation.
7054 (open): Fixed typo, added exception documentation.
7055 * java/nio/channels/spi/AbstractSelectableChannel.java
7056 (implCloseChannel): Added exception documentation.
7057 (add): Reformated.
7058 (register): Added exception documentation.
7059
7060 2002-11-20 Andreas Jaeger <aj@suse.de>
7061
7062 * configure: Regenerated with new libtool.m4.
7063
7064 2002-11-19 Tom Tromey <tromey@redhat.com>
7065
7066 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7067 `referent'.
7068 (finalize_referred_to_object): Don't modify `referent' or `copy'
7069 fields.
7070 (add_to_hash): Correctly set `n->next' when updating list.
7071 * java/lang/ref/Reference.java (enqueue): Return false if already
7072 enqueued.
7073
7074 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7075
7076 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7077 to function and function pointer declarations in accordance with
7078 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7079 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7080 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7081 JNI function definitions.
7082
7083 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7084
7085 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7086 that was causing CoderResults to be cached, not WeakReferences
7087 to CoderResults.
7088
7089 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7090
7091 * java/security/KeyStore.java (getInstance): Fix
7092 comment and throw IllegalArgumentException if
7093 given provider is null.
7094 (getInstance): New method for jdk1.4 compatibility.
7095
7096 2002-11-18 Michael Koch <konqueror@gmx.de>
7097
7098 * java/net/PlainSocketImpl.java: Fix imports.
7099
7100 2002-11-18 Michael Koch <konqueror@gmx.de>
7101
7102 * java/nio/channels/SelectionKey.java
7103 (isValid): Added exception documentation.
7104 * java/nio/channels/Selector.java
7105 (open): Declare "throws IOException".
7106
7107 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7108
7109 * java/nio/charset/Charset.java
7110 (<clinit>): New method.
7111 (encode): Synchronize use of cached encoder object.
7112 (decode): Synchronize use of cached encoder object.
7113
7114 2002-11-18 Michael Koch <konqueror@gmx.de>
7115
7116 * gnu/java/nio/ByteBufferImpl.java,
7117 gnu/java/nio/CharBufferImpl.java,
7118 gnu/java/nio/DatagramChannelImpl.java,
7119 gnu/java/nio/DoubleBufferImpl.java,
7120 gnu/java/nio/FileChannelImpl.java,
7121 gnu/java/nio/FloatBufferImpl.java,
7122 gnu/java/nio/IntBufferImpl.java,
7123 gnu/java/nio/LongBufferImpl.java,
7124 gnu/java/nio/PipeImpl.java,
7125 gnu/java/nio/SelectionKeyImpl.java,
7126 gnu/java/nio/SelectorImpl.java,
7127 gnu/java/nio/SelectorProviderImpl.java,
7128 gnu/java/nio/ServerSocketChannelImpl.java,
7129 gnu/java/nio/ShortBufferImpl.java,
7130 gnu/java/nio/SocketChannelImpl.java,
7131 java/nio/DoubleBuffer.java,
7132 java/nio/FloatBuffer.java,
7133 java/nio/IntBuffer.java,
7134 java/nio/LongBuffer.java,
7135 java/nio/ShortBuffer.java,
7136 java/nio/channels/FileChannel.java: New files.
7137
7138 2002-11-18 Michael Koch <konqueror@gmx.de>
7139
7140 * Makefile.am (ordinary_java_source_files):
7141 Added java/nio/ReadOnlyBufferException.java and
7142 java/nio/channels/ClosedSelectorException.java.
7143 * Makefile.in: Regenerated.
7144
7145 2002-11-18 Michael Koch <konqueror@gmx.de>
7146
7147 * java/net/PlainSocketImpl.java: Reworked imports.
7148 * java/net/ServerSocket.java
7149 (ServerSocket): Create socket.
7150 * java/net/SocketAddress.java: Documentation added.
7151 * java/net/natPlainSocketImpl.cc: Reindented.
7152 * java/nio/ReadOnlyBufferException.java: New file
7153 * java/nio/channels/ClosedChannelException.java: Documentation added.
7154 * java/nio/channels/ClosedSelectorException.java: New file.
7155
7156 2002-11-17 Mark Wielaard <mark@klomp.org>
7157
7158 * java/net/HttpURLConnection.java ((getPermission): Take port
7159 into consideration.
7160 (getErrorStream): Implement.
7161
7162 2002-11-17 Mark Wielaard <mark@klomp.org>
7163
7164 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7165
7166 2002-11-16 Mark Wielaard <mark@klomp.org>
7167
7168 Integrate work by Raif S. Naffah (raif@fl.net.au)
7169 * java/security/DummyKeyPairGenerator.java (clone): New method.
7170 * java/security/DummyMessageDigest.java (clone): New method.
7171 (engineUpdate): Now public.
7172 (engineReset): Likewise.
7173 (engineDigest): Likewise.
7174 (engineGetDigestLength): New method.
7175 * java/security/DummySignature.java (clone): New method.
7176 * java/security/KeyPairGenerator.java (provider): Now package private.
7177 (getInstance(String)): Use getInstance(String,Provider).
7178 (getInstance(String,String): Use getInstance(String,Provider)
7179 (getInstance(String,Provider): New method.
7180 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7181 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7182 * java/security/MessageDigest.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 * java/security/Provider.java (toCanonicalKey): New method.
7187 (get): New method that uses toCanonicalKey().
7188 (put): Use toCanonicalKey().
7189 (remove): Likewise.
7190 * java/security/Security.java (insertProviderAt): Provider index is one
7191 based, not zero based.
7192 (addProvider): Likewise.
7193 (removeProvider): Likewise.
7194 * java/security/Signature.java (provider): Now package private.
7195 (getInstance(String)): Use getInstance(String,Provider).
7196 (getInstance(String,String): Use getInstance(String,Provider)
7197 (getInstance(String,Provider): New method.
7198 (getInstance(String,String,Provider): Don't cast DummySignature.
7199
7200 2002-11-15 Tom Tromey <tromey@redhat.com>
7201
7202 For PR libgcj/8593:
7203 * java/util/zip/GZIPInputStream.java (read): Check file size.
7204 Look in inflater for remaining input bytes.
7205 (read4): Added buf and offset arguments.
7206
7207 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7208
7209 * java/applet/AppletContext.java: Fix typo and remove redundant
7210 modifiers.
7211
7212 2002-11-14 Tom Tromey <tromey@redhat.com>
7213
7214 * java/lang/natRuntime.cc (insertSystemProperties): Set
7215 gnu.classpath.home.
7216
7217 2002-11-13 Michael Koch <konqueror@gmx.de>
7218
7219 * java/nio/ByteBuffer.java
7220 (allocate): New method.
7221 (wrap): New method.
7222 (put): New method.
7223 (get): New method.
7224
7225 2002-11-13 Michael Koch <konqueror@gmx.de>
7226
7227 * java/nio/channels/AlreadyConnectedException.java:
7228 Removed unneeded import.
7229 (AlreadyConnectedException): Documentation added.
7230 * java/nio/channels/Pipe.java
7231 (SinkChannel.SinkChannel): Documentation added.
7232 (SinkChannel.validOps): New method.
7233 (SourceChannel.SourceChannel): Documentation added.
7234 (SourceChannel.validOps): New method.
7235 (Pipe): Documentation added.
7236 (open): Documentation added.
7237 (SinkChannel.channel): Documentation added.
7238 (SourceChannel.channel): Documentation added.
7239 * java/nio/channel/SelectableChannel.java
7240 (SelectableChannel): Documentation added.
7241 (blockingLock): Documentation added.
7242 (configureBlocking):Documentation added.
7243 (isBlocking):Documentation added.
7244 (isRegistered):Documentation added.
7245 (keyFor):Documentation added.
7246 (provider):Documentation added.
7247 (register): Documentation added.
7248 (validOps): Documentation added.
7249 * jaba/nio/channels/SelectionKey.java
7250 (SelectionKey): Documentation added.
7251 (attach): Documentation added.
7252 (attachment): Documentation added.
7253 (isAcceptable): Documentation added.
7254 (isConnetable): Documentation added.
7255 (isReadable): Documentation added.
7256 (isWritable): Documentation added.
7257 (cancel): Documentation added.
7258 (channel): Documentation added.
7259 (interestOps): Documentation added.
7260 (isValid): Documentation added.
7261 (readyOps): Documentation added.
7262 (selector): Documentation added.
7263 * jaba/nio/channels/Selector.java
7264 (Selector): Documentation added.
7265 (open): Documentation added.
7266 (close): Documentation added.
7267 (isOpen): Documentation added.
7268 (keys): Documentation added.
7269 (provider): Documentation added.
7270 (select): Documentation added.
7271 (selectedKeys): Documentation added.
7272 (selectNow): Documentation added.
7273 (wakeup): Documentation added.
7274 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7275 (AbstractInterruptibleChannel): Documentation added.
7276 (opened): Default to true;
7277 (begin): Documentation added.
7278 (close): Set opened to false, documentation added.
7279 (isOpen): Documentation added.
7280 * java/nio/channels/spi/AbstractSelectionKey.java
7281 (AbstractSelectionKey): Documentation added.
7282 (cancel): Documentation added.
7283 (isValid): Documentation added.
7284 * java/nio/channels/spi/AbstractSelector.java
7285 (AbstractSelector): Documentation added.
7286 (begin): Documentation added.
7287 (close): Documentation added.
7288 (isOpen): Documentation added.
7289 (deregister): Documentation added.
7290 (end): Documentation added.
7291 (provider): Documentation added.
7292 (implCloseSelector): Documentation added.
7293 (register): Documentation added.
7294 * java/nio/channels/spi/SelectorProvider.java
7295 (SelectorProvider): Documentation added.
7296 (openDatagramChannel): Documentation added.
7297 (openPipe): Documentation added.
7298 (openSelector): Documentation added.
7299 (openServerSocketChannel): Documentation added.
7300 (openSocketChannel): Documentation added.
7301 (provider): Documentation added.
7302
7303 2002-11-12 Michael Koch <konqueror@gmx.de>
7304
7305 * java/nio/Buffer.java: Implemented.
7306 * java/nio/CharBuffer.java: New file.
7307 * java/nio/InvalidMarkException.java: New file.
7308 * java/nio/channels/DatagramChannel.java: Implemented.
7309 * java/nio/channels/ServerSocketChannel.java: Implemented.
7310 * java/nio/channels/SocketChannel.java: Implemented.
7311 * java/nio/channels/spi/AbstractChannel.java: Removed.
7312 * java/nio/channels/spi/AbstractSelectableChannel.java:
7313 Implemented.
7314 * java/nio/charset/Charset.java:
7315 Merge from Classpath.
7316 * java/nio/charset/CharsetDecoder.java: New file.
7317 * java/nio/charset/CharsetEncoder.java: New file.
7318 * java/nio/charset/CoderResult.java: New file.
7319 * Makefile.am (ordinary_java_source_files): Added new files.
7320 * Makefile.in: Regenerated.
7321
7322 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7323
7324 * gnu/java/nio/charset/ISO_8859_1.java,
7325 gnu/java/nio/charset/Provider.java,
7326 gnu/java/nio/charset/US_ASCII.java,
7327 gnu/java/nio/charset/UTF_16.java,
7328 gnu/java/nio/charset/UTF_16BE.java,
7329 gnu/java/nio/charset/UTF_16Decoder.java,
7330 gnu/java/nio/charset/UTF_16Encoder.java,
7331 gnu/java/nio/charset/UTF_16LE.java,
7332 gnu/java/nio/charset/UTF_8.java: New files.
7333
7334 2002-11-11 Michael Koch <konqueror@gmx.de>
7335
7336 * java/nio/charset/CharacterCodingException.java:
7337 This class must be public.
7338 * java/nio/charset/CoderMalfunctionError.java:
7339 This class must be public.
7340 * java/nio/charset/CodingErrorAction.java:
7341 This class must be public.
7342 * java/nio/charset/IllegalCharsetNameException.java:
7343 This class must be public, better implementation.
7344 * java/nio/charset/MalformedInputException.java:
7345 This class must be public, better implementation.
7346 * java/nio/charset/UnmappableCharacterException.java:
7347 This class must be public, better implementation.
7348 * java/nio/charset/UnsupportedCharsetException.java:
7349 This class must be public, better implementation.
7350
7351 2002-11-11 Michael Koch <konqueror@gmx.de>
7352
7353 * java/nio/BufferOverflowException.java,
7354 java/nio/BufferUnderflowException.java: New file.
7355 * Makefile.am (ordinary_java_source_files):
7356 Added new files.
7357 * Makefile.in: Regenerated.
7358
7359 2002-11-10 Tom Tromey <tromey@redhat.com>
7360
7361 * java/awt/Container.java (validate): Use tree lock.
7362 (getComponent): Likewise.
7363 (getComponents): Likewise.
7364 (addImpl): Likewise.
7365 (remove): Likewise.
7366 (removeAll): Likewise.
7367 (processEvent): Fixed indentation.
7368 (getComponentAt): Use tree lock.
7369 (findComponentAt): Likewise.
7370 (removeNotify): Likewise.
7371 (isAncestorOf): Likewise.
7372 (list): Likewise.
7373 (visitChildren): Likewise.
7374 (findNextFocusComponent): Likewise.
7375 (addNotifyContainerChildren): Likewise.
7376 (getAccessibleChildrenCount): Likewise.
7377 (getAccessibleChild): Likewise.
7378
7379 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7380 (getSize): Likewise.
7381 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7382 (getSize): Likewise.
7383 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7384 (calcSize): Likewise.
7385 * java/awt/CardLayout.java (getSize): Use tree lock.
7386 (gotoComponent): Likewise.
7387 (layoutContainer): Likewise.
7388
7389 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7390 count is 0.
7391 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7392 count is 0.
7393
7394 * java/io/Externalizable.java, java/io/FilePermission.java,
7395 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7396 java/io/SerializablePermission.java, java/text/Format.java,
7397 java/util/AbstractMap.java, java/util/HashMap.java,
7398 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7399 versions from Classpath.
7400
7401 2002-11-10 Anthony Green <green@redhat.com>
7402
7403 * java/util/jar/Attributes.java (Name): Fix name check.
7404
7405 2002-11-10 Mark Wielaard <mark@klomp.org>
7406
7407 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7408 with getName() as message.
7409 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7410 type as message.
7411
7412 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7413 unused.
7414
7415 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7416
7417 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7418 for Win32. JNICALL has been defined to __stdcall to be compatible
7419 with Sun's JDKs.
7420
7421 2002-11-10 Tom Tromey <tromey@redhat.com>
7422
7423 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7424 (setRows): Check newRows, not rows.
7425
7426 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7427
7428 2002-11-09 Tom Tromey <tromey@redhat.com>
7429
7430 * java/applet/Applet.java, java/applet/AppletContext.java,
7431 java/applet/AppletStub.java, java/applet/AudioClip.java,
7432 java/awt/CardLayout.java,
7433 java/awt/ContainerOrderFocusTraversalPolicy.java,
7434 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7435 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7436 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7437 java/awt/color/ICC_ColorSpace.java,
7438 java/awt/color/ICC_Profile.java,
7439 java/awt/color/ICC_ProfileGray.java,
7440 java/awt/color/ICC_ProfileRGB.java,
7441 java/awt/datatransfer/DataFlavor.java,
7442 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7443 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7444 New versions from Classpath.
7445 * Makefile.in: Rebuilt.
7446 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7447 ICC_ProfileRGB.
7448
7449 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7450 display policy.
7451
7452 * java/awt/List.java (processEvent): Added missing `else's.
7453
7454 * java/awt/Window.java (show): validate() before showing. Make
7455 parent displayable.
7456 (isDisplayable): New method.
7457
7458 2002-11-07 Mark Wielaard <mark@klomp.org>
7459
7460 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7461 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7462
7463 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7464 annotation.
7465 (loadClass): Take String as codebases.
7466 (getClassAnnotation): Use MyClassLoader annotations.
7467 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7468 call exportObject(this).
7469
7470 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7471 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7472 (setAnnotation): Don't set locBytesStream and locStream.
7473 (replaceObject): Removed.
7474 (flush): Don't test locStream.
7475 (getLocBytes): LikeWise.
7476 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7477 (leaseCache): New field.
7478 (dirty): Use leaseCache.
7479 (LeaseRecord): New inner class.
7480 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7481 explicitly call exportObject().
7482 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7483 false to communicate with Sun JDK130.
7484 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7485 * gnu/java/rmi/server/RMIObjectInputStream.java
7486 (UnicastConnectionManager): Removed field.
7487 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7488 Use UnicastServer.getExportedRef().
7489 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7490 (expireTime): Likewise.
7491 (CONNECTION_TIMEOUT): Likewise.
7492 (disconnect): Call sock.close().
7493 (isExpired): New method.
7494 (resetTime): Likewise.
7495 (run): Use do while loop and catch Exception for discardConnection().
7496 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7497 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7498 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7499 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7500 (exportObject): Use refcache.
7501 (unexportObject): Likewise.
7502 (getExportedRef): New method.
7503 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7504 constructor.
7505 (exportObject): Save manager.serverobj.
7506 (getStub): New method.
7507
7508 2002-11-07 Mark Wielaard <mark@klomp.org>
7509
7510 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7511 (getByte): Likewise.
7512 (getShort): Likewise.
7513 (getInt): Likewise.
7514 (getLong): Likewise.
7515 (getFloat): Likewise.
7516 (getDouble): Likewise.
7517 (get): Likewise.
7518 (setChar): Likewise.
7519 (setByte): Likewise.
7520 (setShort): Likewise.
7521 (setInt): Likewise.
7522 (setLong): Likewise.
7523 (setFloat): Likewise.
7524 (setDouble): Likewise.
7525
7526 2002-11-07 Michael Koch <konqueror@gmx.de>
7527
7528 * java/awt/Choice.java,
7529 java/awt/Container.java,
7530 java/awt/GridBagLayout.java:
7531 Fixed documentation.
7532 * java/awt/peer/ContainerPeer.java:
7533 Reindented.
7534
7535 2002-11-07 Michael Koch <konqueror@gmx.de>
7536
7537 * java/awt/color/ICC_Profile.java:
7538 Added missing constants.
7539 * java/awt/color/ICC_ColorSpace.java
7540 (getMinValue): Added dummy implementation.
7541 (getMaxValue): Added dummy implementation.
7542 * java/awt/datatransfer/DataFlavor.java
7543 (imageFlavor): Added.
7544 (isMimeTypeEqual): Must be final.
7545 (getDefaultRepresentationClass): Must be non-static.
7546 (getDefaultRepresentationClassAsString): Must be non-static.
7547 * java/awt/dnd/DragSourceContext.java
7548 (dragExit): Corrected argument.
7549 (dragDropEnd): Corrected argument.
7550 * java/awt/dnd/DragSourceListener.java.java
7551 (dragExit): Corrected argument.
7552 (dragDropEnd): Corrected argument.
7553 * java/awt/font/TextHitInfo.java
7554 (toString): Added stubbed implementation.
7555 * java/awt/geom/PathIterator.java:
7556 The constants must be static.
7557 * java/awt/image/VolatileImage.java
7558 (IMAGE_INCOMPATIBLE): Fixed typo.
7559 * java/awt/image/renderable/RenderableImage.java
7560 (HINTS_OBSERVED): Must be static.
7561 * java/beans/BeanInfo.java:
7562 Constants must be final.
7563
7564 2002-11-06 Tom Tromey <tromey@redhat.com>
7565
7566 From svens@it.uu.se. For PR libgcj/8481.
7567 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7568
7569 2002-11-06 Tom Tromey <tromey@redhat.com>
7570
7571 * jni.cc (array_from_valist): Assume that jlong won't be
7572 promoted.
7573
7574 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7575
7576 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7577 Return 20.
7578 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7579 Return 16.
7580
7581 2002-11-03 Tom Tromey <tromey@redhat.com>
7582
7583 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7584 VMClassLoader, not findClass.
7585
7586 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7587
7588 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7589 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7590 _Jv_DetermineVTableIndex, to determine vtable offset.
7591 (_Jv_DetermineVTableIndex): Remove.
7592 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7593
7594 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7595
7596 2002-11-03 Tom Tromey <tromey@redhat.com>
7597
7598 * java/nio/channels/AlreadyConnectedException.java: Extend
7599 IllegalStateException, per spec.
7600
7601 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7602
7603 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7604
7605 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7606
7607 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7608 size items.
7609
7610 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7611
7612 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7613 initial estimated size to avoid enlarge buffer frequently.
7614
7615 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7616
7617 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7618 ClassLoader when null.
7619 (ProxyType.hashCode): Loader null check no longer needed.
7620 (ProxyType.sameTypes): New method.
7621 (ProxyType.equals): Use new method.
7622
7623 2002-10-31 Mark Wielaard <mark@klomp.org>
7624
7625 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7626 length of String.
7627 * java/net/URLEncoder.java (encode): Likewise.
7628
7629 2002-10-31 Mark Wielaard <mark@klomp.org>
7630
7631 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7632 when stream is closed.
7633 (closeEntry): Likewise.
7634 (read): Likewise.
7635 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7636 ZipException when no entry active.
7637 (closeEntry): Likewise.
7638 (write): Likewise.
7639
7640 2002-11-02 Tom Tromey <tromey@redhat.com>
7641
7642 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7643 * java/lang/natClass.cc (initializeClass): Don't return just
7644 because self==thread.
7645
7646 For PR java/8415:
7647 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7648 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7649
7650 2002-11-02 Andreas Schwab <schwab@suse.de>
7651
7652 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7653 pass GCJFLAGS.
7654 (FLAGS_TO_PASS): Define.
7655 * Makefile.in: Regenerated.
7656
7657 2002-11-01 Michael Koch <konqueror@gmx.de>
7658
7659 * java/nio/ByteOrder.java: New file.
7660 * java/nio/channels/DatagramChannel.java:
7661 (DatagramChannel): New constructor.
7662 * java/nio/channels/Pipe.java: New file.
7663 * java/nio/channels/SelectableChannel.java: New file.
7664 * java/nio/channels/SelectionKey.java: New file.
7665 * java/nio/channels/Selector.java: New file.
7666 * java/nio/channels/ServerSocketChannel.java
7667 (ServerSocketChannel): New constructor.
7668 * java/nio/channels/SocketChannel.java
7669 (SocketChannel): New constructor.
7670 * java/nio/channels/Pipe.java: New file.
7671 * java/nio/channels/spi/AbstractChannel.java: New file.
7672 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7673 * java/nio/channels/spi/AbstractSelectableChannel.java:
7674 License added
7675 (AbstractSelectableChannel): New stubbed method.
7676 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7677 * java/nio/channels/spi/AbstractSelector.java: New file.
7678 * java/nio/channels/spi/SelectorProvider.java: New file.
7679 * java/nio/charset/Charset.java: New file.
7680 * java/nio/charset/CoderMalfunctionError.java: New file.
7681 * java/nio/charset/CodingErrorAction.java: New file.
7682 * java/nio/charset/spi/CharsetProvider.java
7683 (charsetForName): Uncommented.
7684 * Makefile.am (java_native_source_files): Added new files.
7685 * Makefile.in: Regenerated.
7686
7687 2002-11-01 Michael Koch <konqueror@gmx.de>
7688
7689 * java/net/InetAddress.java:
7690 (isAnyLocalAddress): Implemented.
7691 (isLoopbackAddress): Implemented, comment added.
7692 (isLinkLocalAddress): Implemented, documentation added.
7693 (isSiteLocalAddress): Implemented, documentation added.
7694 (isMCGlobal): Implemented, documentation added.
7695 (isMCNodeLocal): Implemented, documentation added.
7696 (isMCLinkLocal): Implemented, documentation added.
7697 (isMCSiteLocal): Implemented, documentation added.
7698 (isMCOrgLocal): Implemented, documentation added.
7699 (getHostName): Documentation added.
7700 (getCanonicalHostName): Implemented, documentation added.
7701 (getAddress): Documentation added.
7702 (hashCode): Documentation added.
7703 (equals): Documentation added.
7704 (toString): Fixed implementation.
7705 (getByAddress): Use Inet4Address and Inet6Address.
7706 (lookup): New linewrap.
7707 (getByName): SecurityManager check added, support Inet4Address and
7708 Inet6address, comments added.
7709 (getAllByName): SecurityManager check added, comments added.
7710 * java/net/Inet6Address.java:
7711 (Inet6Address): Initialize parent class with addr instead of null.
7712 * java/net/URL.java
7713 (equals): Documentation added.
7714 (getFile): Documentation added.
7715 (hashCode): Documentation added.
7716 * java/net/natInetAddress.cc:
7717 (aton): Fix IPv6 support.
7718 * java/net/natPlainDatagramSocketImpl.cc:
7719 (peek): Throw PortUnreachableException when suitable.
7720 (peekData): Throw PortUnreachableException when suitable.
7721 (send): Throw PortUnreachableException when suitable.
7722 (receive): Throw PortUnreachableException when suitable.
7723
7724 2002-10-27 Mark Wielaard <mark@klomp.org>
7725
7726 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7727 argument.
7728 (readLeShort): Likewise and use byte[].
7729 (readLeInt): Likewise.
7730 (readEntries): Use new versions of methods and use byte[] for reading
7731 a complete zip entry. Add ZipFile name to exceptions.
7732 (entries): Add ZipFile name to exceptions.
7733 (getEntry): Likewise.
7734 (checkLocalHeader): Use new versions of methods and add ZipFile name
7735 to exceptions.
7736
7737 2002-10-31 Mark Anderson <mark@panonet.net>
7738
7739 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7740 added
7741
7742 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7743
7744 * configure.in: Disable hash sync when not using threads.
7745 * configure: Regenerated.
7746
7747 2002-10-24 Tom Tromey <tromey@redhat.com>
7748
7749 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7750 (_Jv_FindSymbolInExecutable): Removed argument name.
7751 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7752 java.library.path is set.
7753
7754 * gij.cc (help): Document --showversion.
7755 (version): Don't exit.
7756 (main): Handle --showversion. Exit if --version given.
7757
7758 2002-10-23 Tom Tromey <tromey@redhat.com>
7759
7760 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7761 (array_from_valist): Correctly handle promotion for jint, jlong,
7762 jfloat, and jdouble.
7763
7764 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7765
7766 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7767 GetFileAttributesEx( ) to find file length and modification times,
7768 as the latter is not present on Windows 95.
7769
7770 2002-10-21 Michael Koch <konqueror@gmx.de>
7771
7772 * java/net/URL.java
7773 (URL): Activate SecurityManager checks.
7774 (equals): Use URLStreamHandler implementation instead of doing it
7775 alone. This allows special protocol stream handlers to change default
7776 behaviour.
7777 (hashCode): Use URLStreamHandler implementation instead of doing it
7778 alone. This allows special protocol stream handlers to change default
7779 behaviour.
7780 * java/net/URLStreamHandler.java
7781 (equals): Implemented default URL equality check.
7782 (hostsEqual): Implemented default URL equality check.
7783 (hashCode): Implemented default URL hashCode algorithm.
7784 * java/net/natPlainDatagramSocketImpl.cc:
7785 No lines longer then 80 characters.
7786
7787 2002-10-20 Adam Megacz <adam@xwt.org>
7788
7789 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7790 * configure.in: enabled hash sync on Win32
7791 * include/win32-threads.h (_Jv_ThreadId_t): added.
7792 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7793 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7794 removed some posix-isms, use Thread::sleep() instead of usleep,
7795 added code to clear bottom three bits if platform has a broken
7796 linker.
7797 * include/win32-threads.h (_Jv_ThreadId_t): added.
7798
7799 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7800
7801 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7802 runtime property "gnu.gcj.progname" containing the name used to
7803 invoke the current Java program (similar to argv[0] for C
7804 programs).
7805
7806 2002-10-15 Tom Tromey <tromey@redhat.com>
7807
7808 Fix for PR libgcj/8234:
7809 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7810 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7811
7812 2002-10-13 Mark Wielaard <mark@klomp.org>
7813
7814 * mauve-libgcj: Enable Mauve tests that compile now.
7815
7816 2002-10-11 Mark Wielaard <mark@klomp.org>
7817
7818 Fix for PR libgcj/8142
7819 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7820 loading native modules.
7821
7822 2002-10-10 Michael Koch <konqueror@gmx.de>
7823
7824 * javax/swing/AbstractListModel.java
7825 (getListDataListeners): New stubbed method.
7826 javax/swing/DefaultBoundedRangeModel.java
7827 (getChangeListeners): New stubbed method.
7828 javax/swing/DefaultSingleSelectionModel.java
7829 (getChangeListeners): New stubbed method.
7830
7831 2002-10-10 Michael Koch <konqueror@gmx.de>
7832
7833 * gcj/.cvsignore: New file to ignore files generated during build.
7834 * include/.cvsignore: New file to ignore files generated during build.
7835
7836 2002-10-10 Michael Koch <konqueror@gmx.de>
7837
7838 * java/net/HttpURLConnection.java
7839 (getPermission): New method.
7840 (getErrorStream): New stub method.
7841 (getHeaderFieldDate): New stub method.
7842 * java/net/Inet4Address.java:
7843 (isLinkLocalAddress): Typo fixed.
7844 * java/net/InetAddress.java:
7845 (readResolve): New stubbed method (for serialization).
7846 (isAnyLocalAddress): New stubbed method.
7847 (isLoopbackAddress): New stubbed method.
7848 (isLinkLocalAddress): New stubbed method.
7849 (isSiteLocalAddress): New stubbed method.
7850 (isMCGlobal): New stubbed method.
7851 (isMCNodeGlobal): New stubbed method.
7852 (isMCLinkLocal): New stubbed method.
7853 (isMCSiteLocal): New stubbed method.
7854 (isMCOrgLocal): New stubbed method.
7855 (getCanonicalHostName): New stubbed method.
7856 (getByAddress): Create instances of Inet4Address/Inet6Address,
7857 instead of InetAddress, documentation added.
7858 * java/net/MulticastSocket.java
7859 (getInterface): Removed FIXME.
7860 (getNetworkInterface): New method.
7861 (setNetworkInterface): New method.
7862 * java/net/NetworkInterface.java:
7863 (toString): Use property "line.separator" instead of "\n".
7864 * java/net/URLConnection.java
7865 (getContent): New stubbed method.
7866 * java/net/URLStreamHandler.java:
7867 (equals): New stubbed method.
7868 (hostsEqual): New stubbed method.
7869 (hashCode): New stubbed method.
7870 * java/net/natNetworkInterface.cc:
7871 (getRealNetworkInterfaces): Create Inet4Address object
7872 instead of InetAddress.
7873
7874 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7875
7876 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7877 unsigned long temporary to implement insn_iushr shifts.
7878
7879 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7880
7881 * configure.host [s390*-*]: Enable Java interpreter.
7882 Enable hash synchronization. Add sysdeps dir.
7883 * sysdep/s390/locks.h: New file.
7884
7885 2002-10-06 Mark Wielaard <mark@klomp.org>
7886
7887 * java/lang/Thread.java (setDaemon): Check startable_flag,
7888 not isAlive().
7889
7890 2002-10-07 Michael Koch <konqueror@gmx.de>
7891
7892 * java/nio/Buffer.java: New stub file.
7893 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7894 of class Charset.
7895 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7896 * Makefile.in: Regenerated.
7897
7898 2002-10-07 Michael Koch <konqueror@gmx.de>
7899
7900 * java/nio/ByteBuffer.java:
7901 removed import of not commited class.
7902
7903 2002-10-07 Michael Koch <konqueror@gmx.de>
7904
7905 * java/nio/ByteBuffer.java,
7906 java/nio/MappedByteBuffer.java:
7907 New files, forgot to add these dummies.
7908 * Makefile.am (java_native_source_files): Added new files.
7909 * Makefile.in: Regenerated.
7910
7911 2002-10-07 Michael Koch <konqueror@gmx.de>
7912
7913 * java/nio/channels/AlreadyConnectedException.java,
7914 java/nio/channels/ClosedChannelException.java,
7915 java/nio/channels/ReadableByteChannel.java,
7916 java/nio/channels/InterruptibleChannel.java,
7917 java/nio/channels/Channel.java,
7918 java/nio/channels/ByteChannel.java,
7919 java/nio/channels/GatheringByteChannel.java,
7920 java/nio/channels/ScatteringByteChannel.java,
7921 java/nio/channels/WritableByteChannel.java,
7922 java/nio/charset/CharacterCodingException.java,
7923 java/nio/charset/IllegalCharsetNameException.java,
7924 java/nio/charset/MalformedInputException.java,
7925 java/nio/charset/UnmappableCharacterException.java,
7926 java/nio/charset/UnsupportedCharsetException.java,
7927 java/nio/charset/spi/CharsetProvider.java: New file.
7928 These files are exceptions or interfaces,
7929 no real or abstract classes.
7930 * Makefile.am (java_native_source_files): Added new files.
7931 * Makefile.in: Regenerated.
7932
7933 2002-10-05 Michael Koch <konqueror@gmx.de>
7934
7935 * java/net/InetAddress.java
7936 (getByAddress): Fixed documentation.
7937 (getByAddress): New method.
7938 * java/net/Inet4Address.java: New file.
7939 * java/net/URL.java
7940 (URL): Documentation added.
7941 (getContent): Documentation added.
7942 (getContent): New stubbed method.
7943 (getQuery): New method.
7944 (openConnection): Documentation added.
7945 (openStream): Documentation added.
7946 (setURLStreamHandlerFactory): Documentation added.
7947 * java/net/URI.java: New stub file.
7948 * Makefile.am
7949 (java_native_source_files): Added java/net/Inet4Address.java,
7950 java/net/Inet6Address.java and java/net/URI.java.
7951 * Makefile.in: Regenerated.
7952
7953 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7954
7955 * java/lang/ProtectionDomain.java (linesep): Remove field.
7956 (toString): Use System.getProperty("line.separator").
7957
7958 2002-10-04 Michael Koch <konqueror@gmx.de>
7959
7960 * java/security/Identity.java: Added serialVersionUID.
7961 * java/security/KeyPair.java: Added serialVersionUID.
7962 * java/security/Provider.java: Added serialVersionUID.
7963 * java/security/SecureRandom.java: Added serialVersionUID.
7964 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7965 * java/security/SignedObject.java: Added serialVersionUID.
7966 * java/security/cert/Certificate.java: Added serialVersionUID.
7967
7968 2002-10-04 Mark Wielaard <mark@klomp.org>
7969
7970 * java/security/Security.java: Use java.home or gnu.classpath.home
7971 to load providers.
7972 (loadProviders): Extra dir argument.
7973 (getProvider): Return null when not found.
7974
7975 2002-10-04 Mark Wielaard <mark@klomp.org>
7976
7977 * java/lang/Throwable.java: Remerge with Classpath.
7978
7979 2002-10-04 Michael Koch <konqueror@gmx.de>
7980
7981 * java/net/InetAddress.java:
7982 (isMulticastAddress): Added documentation.
7983 (getHostAddress): Added documentation.
7984 (toString): Added documentation.
7985 (getByAddress): Fixed documentation.
7986 (getByName): Added documentation.
7987 (getAllByName): Added documentation.
7988 (getLocalHost): Added documentation.
7989
7990 2002-10-04 Michael Koch <konqueror@gmx.de>
7991
7992 * java/beans/beancontext/BeanContextChildSupport.java:
7993 Added serialVersionUID.
7994 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7995 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7996 * javax/naming/Name.java: Added serialVersionUID.
7997
7998 2002-10-03 Adam Megacz <adam@xwt.org>
7999
8000 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8001 some functionality that isn't supported yet on WIN32.
8002
8003 2002-10-03 Tom Tromey <tromey@redhat.com>
8004
8005 * Makefile.in: Rebuilt.
8006 * Makefile.am (awt_java_source_files): Added new files.
8007
8008 2002-10-03 Michael Koch <konqueror@gmx.de>
8009
8010 * java/net/InetAddress.java
8011 (class InetAddress): Removed final keyword.
8012 (equals): Fixed typo.
8013 (getByAddress): New method.
8014
8015 2002-10-03 Michael Koch <konqueror@gmx.de>
8016
8017 * java/awt/dnd/Autoscroll.java:
8018 New file, merge from Classpath.
8019 * java/awt/dnd/DragSourceAdapter.java:
8020 (dragExit): Fixed typos in argument type.
8021 (dragDropEnd): Fixed typos in argument type.
8022 * java/awt/dnd/DragSourceDropEvent.java:
8023 New file, merge from Classpath.
8024 * java/awt/dnd/DropTarget.java:
8025 Added stubs, merge from Classpath.
8026 * java/awt/dnd/DropTargetAdapter.java:
8027 New file, merge from Classpath.
8028 * java/awt/dnd/DropTargetContext.java:
8029 New file, merge from Classpath.
8030 * java/awt/dnd/DropTargetDragEvent.java:
8031 New file, merge from Classpath.
8032 * java/awt/dnd/DropTargetDropEvent.java:
8033 New file, merge from Classpath.
8034 * java/awt/dnd/DropTargetEvent.java:
8035 New file, merge from Classpath.
8036 * java/awt/dnd/DropTargetListener.java:
8037 New file, merge from Classpath.
8038 * java/awt/dnd/MouseDragGestureRecognizer.java:
8039 New file, merge from Classpath.
8040 * java/awt/dnd/peer/DropTargetContextPeer.java:
8041 New file, merge from Classpath.
8042
8043 2002-10-03 Michael Koch <konqueror@gmx.de>
8044
8045 * java/net/DatagramPacket.java
8046 (setLength): Fixed typo and be HTML-aware.
8047 * java/net/InetSocketAddress.java
8048 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8049 (equals): Added comment about equality of InetSocketAddress objects.
8050 * java/net/ServerSocket.java
8051 (accept): Added checks.
8052 (isClosed): New stubbed method.
8053 * java/net/SocketOptions.java: Reindention.
8054 * java/net/SocketPermission
8055 (SocketPermission): Documentation fixed.
8056
8057 2002-10-03 Michael Koch <konqueror@gmx.de>
8058
8059 * java/net/DatagramSocket.java
8060 (receive): Check with SecurityManager AFTER the packet is received,
8061 check if connected to multicast address, documentation added.
8062 (send): Only check SecurityManager if connected, check address of
8063 packet to send.
8064 (connect): Implemented, documentation added.
8065 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8066 * java/net/InetSocketAddress.java
8067 (whole file): Reindented.
8068 (hostname): New attribute.
8069 (InetSocketAddress): Initialize new attribute.
8070 (getAddress): Documentation added.
8071 (getHostName): Documentation added.
8072 (getPort): Documentation added.
8073 (hashCode): Documentation added.
8074 (isUnresolved): Documentation added.
8075 (toString): Conform to output of JDK 1.4.1, documentation added.
8076 * java/net/MulticastSocket.java
8077 (joinGroup): Removed FIXME, documentation added.
8078 (leaveGroup): Removed FIXME, documentation added.
8079 (send): Documentation added.
8080 * java/net/Socket.java
8081 (inputShutdown): New variable.
8082 (outputShutdown): New variable.
8083 (Socket): Initialize new variables.
8084 (getRemoteSocketAddress): Check if connected.
8085 (shutdownInput): Set new variable.
8086 (shutdownOutput): Set new variable.
8087 (isConnected): New method.
8088 (isClosed): New method.
8089 (isInputShutdown): New method.
8090 (isOutputShutdown): New method.
8091 * java/net/URLStreamHandler.java
8092 (URLStreamHandler): New method.
8093 (openConnection): Added documentation.
8094 (parseURL): Added documentation.
8095 (getHostAddress): New method.
8096 (getDefaultPort): New method.
8097
8098 2002-10-02 Tom Tromey <tromey@redhat.com>
8099
8100 * java/rmi/activation/ActivationDesc.java,
8101 java/rmi/activation/ActivationGroupDesc.java,
8102 java/rmi/activation/ActivationGroupID.java,
8103 java/rmi/activation/ActivationID.java: New versions from
8104 Classpath.
8105
8106 2002-09-30 Bo Thorsen <bo@suse.de>
8107
8108 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8109
8110 2002-09-30 Tom Tromey <tromey@redhat.com>
8111
8112 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8113 from Classpath.
8114 * Makefile.in: Rebuilt.
8115 * Makefile.am (rmi_java_source_files): Added new files.
8116 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8117 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8118 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8119 Classpath.
8120 * gnu/java/rmi/dgc/DGCImpl.java,
8121 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8122 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8123 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8124 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8125 gnu/java/rmi/server/RMIHashes.java,
8126 gnu/java/rmi/server/RMIObjectInputStream.java,
8127 gnu/java/rmi/server/RMIObjectOutputStream.java,
8128 gnu/java/rmi/server/UnicastConnection.java,
8129 gnu/java/rmi/server/UnicastConnectionManager.java,
8130 gnu/java/rmi/server/UnicastRef.java,
8131 gnu/java/rmi/server/UnicastServer.java,
8132 gnu/java/rmi/server/UnicastServerRef.java,
8133 java/rmi/MarshalledObject.java,
8134 java/rmi/server/RMIClassLoader.java,
8135 java/rmi/server/RemoteObject.java,
8136 java/rmi/server/UnicastRemoteObject.java,
8137 java/security/SecureClassLoader.java: Merged from Classpath.
8138
8139 2002-09-29 Anthony Green <green@redhat.com>
8140
8141 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8142 Imported from GNU Classpath.
8143 * java/lang/reflect/natProxy.cc: New file.
8144 * java/lang/reflect/InvocationHandler.java: New file. Imported
8145 from GNU Classpath.
8146 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8147 Classpath.
8148 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8149 Classpath.
8150 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8151 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8152 New statics.
8153 * gcj/javaprims.h ("Java"): Add new classes.
8154 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8155 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8156 java/lang/reflect/Proxy$$ProxyType.h): And this.
8157 (inner_nat_headers): Add these new headers.
8158 (ordinary_java_source_files): Add new files.
8159 (nat_source_files): Add new file.
8160 * Makefile.in: Rebuilt.
8161
8162 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8163
8164 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8165 a single configuration.
8166
8167 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8168
8169 * java/util/TimeZone.java (getDSTSavings): New method.
8170 Fixes PR libgcj/7786.
8171
8172 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8173
8174 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8175 to see if `the_method == 0' before looking up vtable index.
8176 Fixes PR libgcj/7709.
8177
8178 2002-09-25 Tom Tromey <tromey@redhat.com>
8179
8180 * java/lang/natClassLoader.cc:
8181 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8182 * resolve.cc: Include NoClassDefFoundError.h, not
8183 ClassNotFoundException.h.
8184 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8185
8186 * defineclass.cc: Don't include ClassNotFoundException.h.
8187
8188 * resolve.cc: Include StringBuffer.
8189 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8190
8191 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8192 allocated but not initialized.
8193
8194 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8195
8196 Fix for PR libgcj/7766:
8197 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8198 (getNextEntry): Set it.
8199 (closeEntry): Likewise.
8200 (read): Likewise.
8201 (close): Likewise.
8202 (available): Use it.
8203
8204 2002-09-25 Michael Koch <konqueror@gmx.de>
8205
8206 * java/net/DatagramSocket.java
8207 (DatagramSocket): Initialize new instance variables.
8208 (close): Reset new instance variables.
8209 (getLocalAddress): Remove unneeded SecurityManager usage.
8210 (getLocalPort): Check if socket is already bound.
8211 (isConnected): New method.
8212 (getInetAddress): Implemented.
8213 (getPort): Better Implementation, documentation fixed.
8214 (getRemoteSocketAddress): New method.
8215 * java/net/JarURLConnection.java
8216 (element): Typo fixed.
8217 (getMainAttributes): New method.
8218 (getAttributes): New method (stub only).
8219 (getManifest): New method (stub only).
8220 * java/net/NetPermission.java: Added serialVersionsUID.
8221 * java/net/Socket.java
8222 (connect): Check blocking mode of associated channel,
8223 documentation added.
8224 (getLocalSocketAddress): Better implementation.
8225 (getRemoteSocketAddress): Implemented.
8226 (isBound): New method.
8227 (setSendBufferSize): Documentation added.
8228 * java/net/SocketAddress.java: Added serialVersionsUID.
8229 * java/net/SocketPermission.java: Added serialVersionsUID.
8230 * java/net/URL.java
8231 (URL): Wrap for shorter lines, initialize new instance variables,
8232 documentation added.
8233 (equals): Check new instance variables too.
8234 (getContent): Documentation added.
8235 (getPath): Documentation added.
8236 (getAuthority): New method.
8237 (getHost): Documentation added.
8238 (getPort): Documentation added.
8239 (getDefaultPort): New method.
8240 (getProtocol): Documentation added.
8241 (getUserInfo): Documentation added.
8242 (set): Initialize new instance variables, documentation added.
8243 * java/net/URLStreamHandler.java
8244 (setURL): New method.
8245 * java/net/natPlainDatagramSocketImpl.cc
8246 (connect): Fix exception name.
8247 (disconnect): Fix exception name.
8248
8249 2002-09-25 Michael Koch <konqueror@gmx.de>
8250
8251 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8252 * java/nio/channels/DatagramChannel.java:
8253 extends AbstractSelectableChannel
8254 * java/nio/channels/ServerSocketChannel.java:
8255 extends AbstractSelectableChannel
8256 * java/nio/channels/SocketChannel.java:
8257 extends AbstractSelectableChannel
8258 * Makefile.am (ordinary_java_source_files):
8259 java/nio/channels/spi/AbstractSelectableChannel.java added.
8260 * Makefile.in: Regenerated.
8261
8262 2002-09-25 Michael Koch <konqueror@gmx.de>
8263
8264 * java/net/DatagramSocket.java
8265 (DatagramSocket): Exception documentation added.
8266 (bind): Exception documentation added, addded SecurityManager check,
8267 added SocketAddress type check.
8268 (getSoTimeout): Check impl.
8269 (receive): Fix SecurityManager check, check impl, documentation added.
8270 (send): Check channel mode, documentation added.
8271 (connect): New method.
8272 (disconnect): Implemented.
8273 (getLocalSocketAddress): New method.
8274 (getReceiveBufferSize): Check impl.
8275 (setReuseAddress): Check impl.
8276 (getReuseAddress): Check impl.
8277 (setBroadcast): Check impl.
8278 (getBroadcast): Check impl.
8279 (setTrafficClass): Check impl, Documentation cleared.
8280 (getTrafficClass): Check impl.
8281 (getSendBufferSize): Check impl.
8282 (setReceiveBufferSize): Check impl, documentation added.
8283 (setSendBufferSize): Documentation added.
8284 (setDatagramSocketImplFactory): New method.
8285 * java/net/HttpURLConnection.java
8286 (HTTP_INTERNAL_ERROR): The correct code is 500.
8287 (HTTP_NOT_IMPLEMENTED): Added new constant.
8288 (setFollowRedirects): Documentation added.
8289 (getInstanceFollowRedirects): New method.
8290 (setInstanceFollowRedirects): New method.
8291 (setRequestMethod): Documentation added.
8292 (getResponseCode): Documentation added.
8293 (getResponseMessage): Documentation added.
8294 * java/net/JarURLConnection.java
8295 (JarURLConnection): protected since JDK 1.4.
8296 (getJarEntry): java.io.IOException to IOException, documentation added.
8297 (getJarFile): Documentation added.
8298 * java/net/ServerSocket.java
8299 (ServerSocket): Private to public, exception added.
8300 (ServerSocket): java.io.IOException to IOException, documentation added.
8301 (bind): Check socket address type, documentation added.
8302 (bind): java.io.IOException to IOException, documentation added.
8303 (accept): Documentation added.
8304 (implAccept): Check ch is not non-blocking, documentation added.
8305 (setSoTimeout): Documentation fixed.
8306 (setReceiveBufferSize): Documentation added.
8307 * java/net/Socket.java
8308 (Socket): Documentation added.
8309 (bind): Documentation added.
8310 (connect): Check socket address type, documentation added.
8311 (getRemoteSocketAddress): New method.
8312 (getLocalSocketAddress): New method.
8313 (setSoLinger): Documentation added.
8314 (getReuseAddress): New method.
8315 (setReuseAddress): New method.
8316 (getTrafficClass): New method.
8317 (setTrafficClass): New method.
8318 * java/net/URLStreamHandler.java
8319 (openConnection): java.io.IOException to IOException.
8320 (parseURL): Documentation added.
8321 (sameFile): public to protected, documentation added.
8322 (setURL): Documentation added.
8323 * java/nio/IllegalBlockingModeException.java: New file.
8324 * Makefile.am (ordinary_java_source_files):
8325 added java/nio/IllegalBlockingModeException.java
8326 * Makefile.in: Regenerated.
8327
8328 2002-09-25 Michael Koch <konqueror@gmx.de>
8329
8330 * java/net/DatagramPacket
8331 (DatagramPacket): Exception documentation added.
8332 (setData): Likewise.
8333 (setSocketAddress): Likewise.
8334 * java/net/DatagramSocketImpl.java
8335 (peek): Documentation addded.
8336 (peekData): Documentation addded.
8337 (send): Documentation addded.
8338 (receive): Documentation addded.
8339 (connect): New method.
8340 (disconnect): New method.
8341 (joinGroup): New abstract method.
8342 (leaveGroup): New abstract method.
8343 * java/net/InetSocketAddress.java
8344 (InetSocketAddress): Documentation added.
8345 (equals): final keyword added.
8346 (getAddress): final keyword added.
8347 (getHostName): final keyword added.
8348 (getPort): final keyword added.
8349 (hashCode): final keyword added.
8350 (isUnresolved): final keyword added.
8351 * java/net/MulticastSocket.java
8352 (MulticastSocket): Documentation added.
8353 (MulticastSocket): New method.
8354 (joinGroup): Documentation added.
8355 (joinGroup): New method.
8356 (leaveGroup): Documentation added.
8357 (leaveGroup): New method.
8358 (send): Documentation added.
8359 * java/net/NetworkInterface.java
8360 (getByName): Documentation added.
8361 (getByInetAddress): Documentation added.
8362 (getNetworkInterfaces): Documentation added.
8363 * java/net/PlainDatagramSocketImpl.java
8364 (connect): New method.
8365 (disconnect): New method.
8366 * java/net/SocketImpl.java
8367 (create): Documentation added.
8368 (shutdownInput): Convert public to protected, as it always was.
8369 (shutdownOutput): Convert public to protected, as it always was.
8370 * java/net/SocketOptions.java
8371 (whole file): Reintented.
8372 * java/net/URLClassLoader.java
8373 (URLClassLoader): SecurityManager check added, documentation added.
8374 (findResources): Documentation added.
8375 (findClass): Documentation added.
8376 (newInstance): More correct method arguments.
8377 * java/net/URLConnection.java
8378 (connect): Documentation added.
8379 (getContent): Documentation added.
8380 (getPermission): Documentation added.
8381 (getInputStream): Documentation added.
8382 (getOutputStream): Documentation added.
8383 (setDoInput): Throw correct exception, documentation added.
8384 (setDoOutput): Throw correct exception, documentation added.
8385 (setAllowUserInteraction): Throw correct exception, documentation added.
8386 (setUseCaches): Throw correct exception, documentation added.
8387 (setIfModifiedSince): Throw correct exception, documentation added.
8388 (setRequestProperty): Throw exception, documentation added.
8389 (addRequestProperty): Throw exception, documentation added.
8390 (getRequestProperty): Throw exception, documentation added.
8391 (getRequestProperties): Documentation added.
8392 (setContentHandlerFactory): Documentation added.
8393 (guessContentTypeFromName): protected to public.
8394 (setFileNameMap): Documentation added.
8395 * java/net/URLDecoder.java
8396 (URLDecoder): New method.
8397 (decode): Documentation added.
8398 (whole file): Reindented.
8399 * java/net/URLEncoder.java
8400 (encode): Documentation added.
8401 * java/net/natPlainDatagramSocketImpl.cc
8402 (connect): New method.
8403 (disconnect): New method.
8404 * javax/naming/RefAddr:
8405 (addrType): addrType was never final.
8406 (equals): Fix typo in method name.
8407 * javax/naming/BinaryRefAddr:
8408 (equals): Fix typo in method name.
8409
8410 2002-09-22 Tom Tromey <tromey@redhat.com>
8411
8412 Fix for PR libgcj/6576:
8413 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8414 didn't find a given bundle.
8415 (getBundle): Don't require base bundle.
8416 (setParent): Removed old comment.
8417 (tryLocalBundle): Try components even if preceding components were
8418 empty.
8419
8420 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8421
8422 * Makefile.am (all-multi): Fix multilib parallel build.
8423
8424 2002-09-21 Michael Koch <konqueror@gmx.de>
8425
8426 * java/net/Socket.java
8427 (sendUrgentData): New method.
8428 (getChannel): New method.
8429 * java/net/ServerSocket.java
8430 (getChannel): New method.
8431 (isBound): New method.
8432 * java/net/DatagramSocket.java
8433 (DatagramSocket): Two new methods.
8434 (bind): New method.
8435 (getChannel): New method.
8436 (isBound): New method.
8437 (send): Added newline to to make shorter lines.
8438 * java/net/PlainDatagramSocketImpl.java
8439 (mcastGrp): Added argument.
8440 (join): Use new mcastGrp.
8441 (leave): Use new mcastGrp.
8442 (joinGroup): New method.
8443 (leaveGroup): New method.
8444 * java/net/natPlainDatagramSocketImpl.cc
8445 (mcastGrp): Added argument, no yet really implemented.
8446 (getOption): Added newline for shorter lines.
8447 * java/net/natPlainSocketImpl.cc
8448 (read, setOption, getOption): Added newline for shorter lines.
8449
8450 2002-09-19 Tom Tromey <tromey@redhat.com>
8451
8452 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8453 newly-created exception.
8454
8455 2002-09-18 Michael Koch <konqueror@gmx.de>
8456
8457 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8458 java/util/regex/PatternSyntaxException.java:
8459 Merge with classpath, new files.
8460 * Makefile.am (core_java_source_files):
8461 Added java/util/regex/Matcher.java,
8462 java/util/regex/Pattern.java,
8463 java/util/regex/PatternSyntaxException.java
8464 * Makefile.in: Regenerated.
8465 * include/config.h.in: Added HAVE_NET_IF_H.
8466 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8467 Removed #if 0 ... #endif.
8468
8469 2002-09-17 Michael Koch <konqueror@gmx.de>
8470
8471 * java/net/natNetworkInterface.cc:
8472 Removed unneed and yet wrong includes.
8473
8474 2002-09-17 Michael Koch <konqueror@gmx.de>
8475
8476 * java/net/NetworkInterface.java: New file.
8477 * java/net/natNetworkInterface.java: New file.
8478 * configure.in: Added check for net/if.h.
8479 * configure: Regenerated.
8480 * Makefile.am
8481 (ordinary_java_source_files): Added NetworkInterface.java.
8482 (nat_source_files): Added natNetworkInterface.cc.
8483 * Makefile.in: Regenerated.
8484
8485 2002-09-16 Tom Tromey <tromey@redhat.com>
8486
8487 * java/net/URLClassLoader.java (findClass): Code source for a
8488 class from a jar is not necessarily a jar: URL.
8489
8490 2002-09-16 Michael Koch <konqueror@gmx.de>
8491
8492 * java/lang/AssertionError.java:
8493 Merge with classpath, fixes HTML.
8494 * java/rmi/server/LogStream.java:
8495 Merge with classpath, fixes some constants.
8496 * java/net/server/RemoteServer.java:
8497 Merge with classpath, adds serialVersionUID.
8498 * javax/naming/BinaryRefAddr.java:
8499 Merge with classpath, s/equal/equals/.
8500 * javax/naming/NamingException.java:
8501 Merge with classpath, fixed typo.
8502 * javax/naming/RefAddr.java:
8503 Merge with classpath, s/equal/equals/.
8504 * java/awt/Toolkit.java:
8505 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8506 and typo fixed.
8507
8508 2002-09-15 Adam Megacz <adam@xwt.org>
8509
8510 * java/net/natPlainSocketImpl.cc: fixed typo.
8511
8512 2002-09-15 Adam Megacz <adam@xwt.org>
8513
8514 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8515 which don't work on Win32 (yet).
8516
8517 2002-09-14 Adam Megacz <adam@xwt.org>
8518
8519 * java/net/natPlainDatagramSocket.cc: removed #include
8520 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8521 * include/win32.h: included definition for IP_TOS to satisfy
8522 natPlainDatagramSocket.cc
8523
8524 2002-09-13 Michael Koch <konqueror@gmx.de>
8525
8526 * java/net/DatagramPacket.java (DatagramPacket):
8527 Added linebreak for 80 chars per line.
8528 * java/net/JarURLConection.java
8529 (getInputStreami, getJarEntry): Likewise.
8530 * java/net/SocketPErmission.java
8531 (SocketPermission class docu, implies): Likewise.
8532 * java/net/URLClassLoader.java (findResources): Likewise.
8533 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8534
8535 2002-09-13 Michael Koch <konqueror@gmx.de>
8536
8537 * java/nio/channels/DatagramChannel.java,
8538 java/nio/channels/ServerSocketChannel.java
8539 java/nio/channels/SocketChannel.java:
8540 New dummy files to make java.net fully JDK 1.4 compatible
8541 * Makefile.am (ordinary_java_source_files): Added
8542 java/net/DatagramSocketImplFactory.java (long forgotten),
8543 java/nio/SocketChannel.java,
8544 java/nio/ServerSocketChannel.java,
8545 java/nio/DatagramChannel.java
8546 * Makefile.in: Regenrated.
8547
8548 2002-09-12 Michael Koch <konqueror@gmx.de>
8549
8550 * java/net/DatagramSocketImpl.java
8551 (peekData): New method.
8552 * java/net/PlainDatagramSocketImpl.java
8553 (peekData): New method.
8554 * java/net/natPlainDatagramSocketImpl.cc
8555 (peekData): New method.
8556 * java/net/URLConnection
8557 (getPermission): New method.
8558 (addRequestProperty): New method.
8559 (getRequestProperties): New method.
8560 (guessContentTypeFromStream): New method, not really implemented.
8561 (URLConnection): Added/updated documentation.
8562 (connect): Added/updated documentation.
8563 (getURL): Added/updated documentation.
8564 (getContentLength): Added/updated documentation.
8565 (getContentType: Added/updated documentation.
8566 (getContentEncoding): Added/updated documentation.
8567 (getExpiration): Added/updated documentation.
8568 (getDate): Added/updated documentation.
8569 (getLastModified): Added/updated documentation.
8570 (getHeaderField): Added/updated documentation.
8571 (getHeaderFields): Added/updated documentation.
8572 (getHeaderFieldInt): Added/updated documentation.
8573 (getHeaderFieldDate): Added/updated documentation.
8574 (getHeaderFieldKey): Added/updated documentation.
8575 (getContent): Added/updated documentation.
8576 (getInputStream): Added/updated documentation.
8577 (getOutputStream): Added/updated documentation.
8578 (toString): Added/updated documentation.
8579 (setDoInput): Added/updated documentation.
8580 (getDoInput): Added/updated documentation.
8581 (setDoOutput): Added/updated documentation.
8582 (getDoOutput): Added/updated documentation.
8583 (setAllowUserInteraction): Added/updated documentation.
8584 (getAllowUserInteraction): Added/updated documentation.
8585 (setDefaultAllowUserInteraction): Added/updated documentation.
8586 (getDefaultAllowUserInteraction): Added/updated documentation.
8587 (setUseCaches): Added/updated documentation.
8588 (getUseCaches): Added/updated documentation.
8589 (setIfModifiedSince): Added/updated documentation.
8590 (getIfModifiedSince): Added/updated documentation.
8591 (getDefaultUseCaches): Added/updated documentation.
8592 (setDefaultUseCaches): Added/updated documentation.
8593 (setRequestProperty): Added/updated documentation.
8594 (getRequestProperty): Added/updated documentation.
8595 (setDefaultRequestProperty): Added/updated documentation.
8596 (getDefaultRequestProperty): Added/updated documentation.
8597 (setContentHandlerFactory): Added/updated documentation.
8598 (guessContentTypeFromName): Added/updated documentation.
8599 (getFileNameMap): Added/updated documentation.
8600 (setFileNameMap): Added/updated documentation.
8601
8602 2002-09-11 Michael Koch <konqueror@gmx.de>
8603
8604 * java/net/Socket.java
8605 (Socket): protected to public (since JDK 1.4). Added @specnote.
8606 (bind): New method.
8607 (connect): Two new methods.
8608 (getKeepalive): Get correct socket option.
8609 (setKeepalive): Set correct socket option.
8610 (getOOBInline): New method.
8611 (setOOBInline): New method.
8612 * java/net/ServerSocket.java
8613 (bind): Two new methods.
8614 (getInetAddress): Reimplemented, catch exception.
8615 (getLocalSocketAddress): New method.
8616 (setReuseAddress): New method.
8617 (getReuseAdress): New method.
8618 (setReceiveBufferSize): New method.
8619 (getReceiveBufferSize): New method.
8620 (toString): Made string JDK 1.4 compliant.
8621
8622 2002-09-10 Michael Koch <konqueror@gmx.de>
8623
8624 * java/net/SocketImpl.java
8625 (connect): New method.
8626 (supportsUrgentData): New method.
8627 (sendUrgentData): New method.
8628 * java/net/PlainSocketImpl.java
8629 (connect): One new method and two new implementation.
8630 (sendUrgentData): New method.
8631 * java/natPlainSocketImpl.cc
8632 (connect): Arguments changed, added support for timeouts.
8633 (getOption): Another __java_boolean to jboolean.
8634
8635 2002-09-07 Adam Megacz <adam@xwt.org>
8636
8637 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8638 definition of IP_TOS.
8639
8640 2002-09-04 Michael Koch <konqueror@gmx.de>
8641
8642 * java/net/DatagramSocket.java
8643 (DatagramSocket): Added documentation.
8644 (close): Likewise.
8645 (getLocalAddress): Likewise.
8646 (getLocalPort): Likewise.
8647 (receive): Likewise.
8648 (send): Likewise.
8649 (setSoTimeout): Likewise.
8650 (connect): New method.
8651 (disconnect): New method.
8652 (getInetAddress): New method (FIXME)
8653 (getPort): New method.
8654 (setReuseAddress): New method.
8655 (getReuseAddress): New method.
8656 (setBroadcast): New method.
8657 (getBroadcast): New method.
8658 (setTrafficClass): New method.
8659 (getTrafficClass): New method.
8660 * java/net/MulticastSocket.java):
8661 (getTTL): Added @see in documentation.
8662 (setTTL): Added @see in documentation.
8663 (setLoopbackMode): New method.
8664 (getLoopbackMode): New method.
8665 * java/net/PlainSocketImpl.java:
8666 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8667 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8668 * java/net/PlainDatagramSocketImpl.java
8669 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8670 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8671 * java/net/natPlainSocketImpl.cc
8672 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8673 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8674 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8675 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8676 This should also fix SO_KEEPALIVE
8677 * java/net/natPlainDatagramSocketImpl.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
8683 2002-09-04 Michael Koch <konqueror@gmx.de>
8684
8685 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8686 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8687 IP_MULTICAST_LOOP, IP_TOS
8688
8689 2002-09-03 Tom Tromey <tromey@redhat.com>
8690
8691 * java/lang/Class.h (_getDeclaredMethod): Declare.
8692 (_getMethod): Now private.
8693 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8694 getDeclaredMethod. Now returns NULL on failure.
8695 * java/lang/Class.java (_getDeclaredMethod): Declare.
8696 (getDeclaredMethod): No longer native; implements access checks.
8697
8698 2002-09-01 Mark Wielaard <mark@klomp.org>
8699
8700 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8701 (sanitizeStack): Correctly reset unknown and interpreter counters,
8702 detect interpreter runtime frames.
8703 (demangleInterpreterMethod): New method.
8704 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8705 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8706 filling in addrs[].
8707
8708 2002-09-02 Michael Koch <konqueror@gmx.de>
8709
8710 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8711 re-indented documentation.
8712
8713 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8714
8715 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8716 public, per 1.4 spec. Fixes PR libgcj/7785.
8717
8718 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8719
8720 * Makefile.in: Rebuilt.
8721 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8722
8723 2002-08-29 Tom Tromey <tromey@redhat.com>
8724
8725 * java/net/JarURLConnection.java (getCertificates): New method
8726 from Classpath.
8727 * java/net/URLClassLoader.java (URLClassLoader): Extends
8728 SecureClassLoader.
8729 (definePackage): New method from Classpath.
8730 (getPermissions): Likewise.
8731 (newInstance): Likewise.
8732 (findClass): Construct CodeSource for new class (from Classpath).
8733 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8734 methods.
8735 * java/net/URL.java (getUserInfo): New method.
8736 (set(String,String,int,String,String,String,String,String)): New
8737 method.
8738 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8739 (shutdownInput, shutdownOutput): Declare.
8740 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8741 Define.
8742 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8743 (getOption): Likewise.
8744 (shutdownInput): New method.
8745 (shutdownOutput): Likewise.
8746 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8747 keepalive.
8748 (getOption): Likewise.
8749 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8750 * java/net/Socket.java (setKeepAlive): New method.
8751 (getKeepAlive): Likewise.
8752 (shutdownInput, shutdownOutput): New methods.
8753
8754 2002-08-29 Michael Koch <konqueror@gmx.de>
8755
8756 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8757 new methods are:
8758 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8759 address),
8760 DatagramPacket(byte[] buf, int length, SocketAddress address),
8761 void setSocketAddress(SocketAddress address)
8762 public SocketAddress getSocketAddress()
8763
8764 2002-08-29 Tom Tromey <tromey@redhat.com>
8765
8766 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8767 ftruncate is missing.
8768 * configure, include/config.h.in: Rebuilt.
8769 * acconfig.h (HAVE_FTRUNCATE): Mention.
8770 * configure.in: Check for ftruncate.
8771
8772 2002-08-29 Tom Tromey <tromey@redhat.com>
8773
8774 * include/jvm.h (struct _Jv_frame_info): New structure.
8775 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8776 java-interp.h.
8777 (lookupInterp): New method.
8778 (getAddrAsString): Use _Jv_frame_info.
8779 (dladdrLookup): Likewise.
8780 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8781 interpreted frame.
8782 (lookupInterp): Declare.
8783 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8784 (fillInStackTrace): Collect information on interpreted frames.
8785 Use _Jv_frame_info.
8786 * interpret.cc: Include Thread.h.
8787 (run): Create and push _Jv_MethodChain object.
8788 (_Jv_EndOfInterpreter): New global.
8789 * java/lang/Thread.java (interp_frame): New field.
8790 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8791 Include NameFinder.h.
8792
8793 2002-08-28 Tom Tromey <tromey@redhat.com>
8794
8795 * java/lang/Class.h: Include Package.h.
8796 (Class::getProtectionDomain): Declare.
8797 (Class::getPackage): Declare.
8798
8799 2002-08-28 Michael Koch <konqueror@gmx.de>
8800
8801 * java/net/InetSocketAddress.java: Added some documentation and argument
8802 checks for the port numbers.
8803 * java/net/DatagramSocketImplFactory.java: New file.
8804
8805 2002-08-28 Michael Koch <konqueror@gmx.de>
8806
8807 * java/net/Authenticator.java: added some documentation.
8808
8809 2002-08-27 Tom Tromey <tromey@redhat.com>
8810
8811 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8812 class.
8813 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8814
8815 2002-08-27 Michael Koch <konqueror@gmx.de>
8816
8817 * java/net/BindException.java,
8818 java/net/JarURLConnection.java,
8819 java/net/FileNameMap.java,
8820 java/net/HttpURLConnection.java,
8821 java/net/InetSocketAddress.java,
8822 java/net/DatagramPacket.java,
8823 java/net/DatagramSocket.java,
8824 java/net/DatagramSocketImpl.java,
8825 java/net/MulticastSocket.java,
8826 java/net/PasswordAuthentication.java,
8827 java/net/ServerSocket.java,
8828 java/net/Socket.java,
8829 java/net/URLClassLoader.java,
8830 java/net/URLConnection.java: add/update of some @since/@deprecated
8831
8832 2002-08-27 Tony Kimball <alk@pobox.com>
8833 Tom Tromey <tromey@redhat.com>
8834
8835 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8836 define.
8837 (::close): Removed.
8838 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8839 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8840 (::close): Removed.
8841 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8842 * include/win32.h (getcwd): Removed declaration. Include io.h.
8843
8844 2002-08-25 Adam Megacz <adam@xwt.org>
8845
8846 * include/win32.h (getcwd): copied function declaration as
8847 temporary fix for header confusion.
8848
8849 2002-08-24 Mark Wielaard <mark@klomp.org>
8850
8851 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8852 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8853 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8854 and natNameFinder.cc.
8855 * Makefile.in: Regenerate.
8856 * prims.cc: Use trace_enabled from VMThrowable.
8857 * name-finder.cc: Removed.
8858 * gcj/javaprims.h: Add class VMThrowable.
8859 * gnu/gcj/runtime/NameFinder.java: New file.
8860 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8861 * include/name-finder.h: Removed.
8862 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8863 method stackTraceString().
8864 (printStackTrace (PrintWriter)): Likewise.
8865 (stackTraceString): Complete rewrite of old printStackTrace using
8866 StringBuffer.
8867 (stackTraceStringBuffer): New helper method for stackTraceString().
8868 (fillInStackTrace): Delegate to VMTrowable.
8869 (getStackTrace): Likewise.
8870 (getStackTrace0): Removed.
8871 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8872 (setStackTrace): Copy given array.
8873 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8874 * java/lang/VMThrowable.java: New class.
8875 * java/lang/natVMThrowable.cc: New file.
8876
8877 2003-08-23 Michael Koch <konqueror@gmx.de>
8878
8879 * java/net/URLConnection.java,
8880 java/netJarURLConnection.java,
8881 gnu/gcj/protocol/core/Connection.java,
8882 gnu/gcj/protocol/file/Connection.java,
8883 gnu/gcj/protocol/http/Connection.java: Added implementation of
8884 getHeaderFields().
8885
8886 2002-08-22 Tom Tromey <tromey@redhat.com>
8887
8888 * gij.cc (help): Document -cp and -classpath.
8889 (main): Handle -classpath.
8890
8891 2002-08-21 Tom Tromey <tromey@redhat.com>
8892
8893 * Makefile.in: Rebuilt.
8894 * Makefile.am (ordinary_java_source_files): Added
8895 SocketAddress.java, InetSocketAddress.java.
8896 * java/net/PortUnreachableException.java: Merged with Classpath.
8897 * java/net/SocketTimeoutException.java: Likewise.
8898 * java/net/URISyntaxException.java: Likewise.
8899 * java/net/SocketAddress.java: New class from Classpath.
8900 * java/net/InetSocketAddress.java: Likewise.
8901
8902 2003-08-21 Michael Koch <konqueror@gmx.de>
8903
8904 * java/net/Authenticator.java: updated JDK 1.4
8905 * java/net/ContentHandler.java: updated JDK 1.4
8906
8907 2002-08-20 Michael Koch <konqueror@gmx.de>
8908
8909 * java/net/URISyntaxException.java: New file.
8910 * java/net/SocketTimeoutException.java: New file.
8911 * java/net/PortUnreachableException.java: New file.
8912 * Makefile.am: Updated.
8913 * Makefile.in: Rebuilt.
8914
8915 2002-08-18 Mark Wielaard <mark@klomp.org>
8916
8917 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8918 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8919 MessageDigestSpi (fixes Classpath bug #783).
8920
8921 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8922
8923 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8924 (startProcess): Allocate path for chdir in async-signal-safe way.
8925
8926 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8927
8928 Fix for PR libgcj/7570 and PR libgcj/7578:
8929 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8930 (startProcess): Handle new `dir' argument.
8931 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8932 argument.
8933 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8934 argument.
8935 (startProcess): Likewise.
8936 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8937 argument.
8938 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8939 (exec): Don't create new environment if ENV==null. Pass DIR to
8940 execInternal.
8941 * java/lang/natRuntime.cc: Include java/io/File.h.
8942 (execInternal): Added `dir' argument.
8943
8944 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8945
8946 * java/io/RandomAccessFile.java (skipBytes): Return number of
8947 bytes skipped.
8948
8949 2002-08-01 Mark Wielaard <mark@klomp.org>
8950
8951 Reenable patch since shared library troubles on powerpc are solved:
8952 * gnu/java/security/provider/Gnu.java: Reference all implementation
8953 classes by using Class.getName().
8954 * gnu/java/security/der/DEREncodingException.java,
8955 gnu/java/security/provider/DERReader.java,
8956 gnu/java/security/provider/DERWriter.java,
8957 gnu/java/security/provider/DSAKeyPairGenerator.java,
8958 gnu/java/security/provider/DSAParameterGenerator.java,
8959 gnu/java/security/provider/DSAParameters.java,
8960 gnu/java/security/provider/DSASignature.java,
8961 gnu/java/security/provider/GnuDSAPrivateKey.java,
8962 gnu/java/security/provider/GnuDSAPublicKey.java,
8963 gnu/java/security/provider/MD5.java,
8964 gnu/java/security/util/Prime.java: New classes
8965 * Makefile.am (ordinary_java_source_files): Add above files.
8966 * Makefile.in: Regenerate.
8967 * gnu/java/security/provider/DefaultPolicy.java
8968 (getPermissions): Don't maintain static class variable of Permissions.
8969 * gnu/java/security/provider/SHA.java
8970 (engineUpdate): algorithm change.
8971 (engineDigest): algorithm change.
8972
8973 2002-08-09 Mark Wielaard <mark@klomp.org>
8974
8975 * java/awt/image/MemoryImageSource.java: Change constructor to take
8976 int[] not byte[].
8977 * java/awt/Graphics2D.java: Uncomment methods that can now be
8978 compiled.
8979 * java/awt/GridBagLayout.java: New stub implementation.
8980 * javax/swing/text/html/HTML.java: Stub implementation.
8981 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8982 implementation.
8983
8984 * Makefile.am: Add new files.
8985 * Makefile.in: Rebuilt.
8986
8987 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8988
8989 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8990 methods in Graphics2D.
8991
8992 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8993
8994 AWT/Swing merge from GNU Classpath.
8995
8996 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8997 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8998 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8999 java/awt/color/ProfileDataException.java,
9000 java/awt/CompositeContext.java, java/awt/Composite.java,
9001 java/awt/ContainerOrderFocusTraversalPolicy.java,
9002 java/awt/datatransfer/FlavorTable.java,
9003 java/awt/DefaultFocusTraversalPolicy.java,
9004 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9005 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9006 java/awt/dnd/DragGestureListener.java,
9007 java/awt/dnd/DragGestureRecognizer.java,
9008 java/awt/dnd/DragSourceAdapter.java,
9009 java/awt/dnd/DragSourceContext.java,
9010 java/awt/dnd/DragSourceDragEvent.java,
9011 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9012 java/awt/dnd/DragSourceListener.java,
9013 java/awt/dnd/DragSourceMotionListener.java,
9014 java/awt/dnd/DropTarget.java,
9015 java/awt/dnd/InvalidDnDOperationException.java,
9016 java/awt/dnd/peer/DragSourceContextPeer.java,
9017 java/awt/event/AWTEventListenerProxy.java,
9018 java/awt/event/MouseWheelEvent.java,
9019 java/awt/event/MouseWheelListener.java,
9020 java/awt/event/WindowFocusListener.java,
9021 java/awt/event/WindowStateListener.java,
9022 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9023 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9024 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9025 java/awt/geom/FlatteningPathIterator.java,
9026 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9027 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9028 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9029 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9030 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9031 java/awt/image/ImagingOpException.java,
9032 java/awt/image/RasterFormatException.java,
9033 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9034 java/awt/image/VolatileImage.java,
9035 java/awt/image/WritableRenderedImage.java,
9036 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9037 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9038 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9039 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9040 java/awt/PageAttributes.java, java/awt/print/Book.java,
9041 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9042 java/awt/print/Paper.java, java/awt/print/Printable.java,
9043 java/awt/print/PrinterAbortException.java,
9044 java/awt/print/PrinterException.java,
9045 java/awt/print/PrinterGraphics.java,
9046 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9047 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9048 java/awt/Stroke.java, java/awt/TexturePaint.java,
9049 javax/accessibility/AccessibleAction.java,
9050 javax/accessibility/AccessibleBundle.java,
9051 javax/accessibility/AccessibleComponent.java,
9052 javax/accessibility/AccessibleContext.java,
9053 javax/accessibility/AccessibleEditableText.java,
9054 javax/accessibility/AccessibleExtendedComponent.java,
9055 javax/accessibility/AccessibleExtendedTable.java,
9056 javax/accessibility/AccessibleHyperlink.java,
9057 javax/accessibility/AccessibleHypertext.java,
9058 javax/accessibility/AccessibleIcon.java,
9059 javax/accessibility/Accessible.java,
9060 javax/accessibility/AccessibleKeyBinding.java,
9061 javax/accessibility/AccessibleRelation.java,
9062 javax/accessibility/AccessibleRelationSet.java,
9063 javax/accessibility/AccessibleResourceBundle.java,
9064 javax/accessibility/AccessibleRole.java,
9065 javax/accessibility/AccessibleSelection.java,
9066 javax/accessibility/AccessibleState.java,
9067 javax/accessibility/AccessibleStateSet.java,
9068 javax/accessibility/AccessibleTable.java,
9069 javax/accessibility/AccessibleTableModelChange.java,
9070 javax/accessibility/AccessibleText.java,
9071 javax/accessibility/AccessibleValue.java,
9072 javax/swing/AbstractAction.java,
9073 javax/swing/AbstractButton.java,
9074 javax/swing/AbstractCellEditor.java,
9075 javax/swing/AbstractListModel.java,
9076 javax/swing/AbstractSet.java, javax/swing/Action.java,
9077 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9078 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9079 javax/swing/border/CompoundBorder.java,
9080 javax/swing/border/EmptyBorder.java,
9081 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9082 javax/swing/border/LineBorder.java,
9083 javax/swing/border/MatteBorder.java,
9084 javax/swing/border/TitledBorder.java,
9085 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9086 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9087 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9088 javax/swing/CellRendererPane.java,
9089 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9090 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9091 javax/swing/colorchooser/ColorSelectionModel.java,
9092 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9093 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9094 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9095 javax/swing/DefaultBoundedRangeModel.java,
9096 javax/swing/DefaultButtonModel.java,
9097 javax/swing/DefaultCellEditor.java,
9098 javax/swing/DefaultCellRenderer.java,
9099 javax/swing/DefaultComboBoxModel.java,
9100 javax/swing/DefaultDesktopManager.java,
9101 javax/swing/DefaultFocusManager.java,
9102 javax/swing/DefaultListCellRenderer.java,
9103 javax/swing/DefaultListModel.java,
9104 javax/swing/DefaultListSelectionModel.java,
9105 javax/swing/DefaultSingleSelectionModel.java,
9106 javax/swing/DesktopManager.java,
9107 javax/swing/event/AncestorEvent.java,
9108 javax/swing/event/AncestorListener.java,
9109 javax/swing/event/CaretEvent.java,
9110 javax/swing/event/CaretListener.java,
9111 javax/swing/event/CellEditorListener.java,
9112 javax/swing/event/ChangeEvent.java,
9113 javax/swing/event/ChangeListener.java,
9114 javax/swing/event/DocumentEvent.java,
9115 javax/swing/event/DocumentListener.java,
9116 javax/swing/event/EventListenerList.java,
9117 javax/swing/event/HyperlinkEvent.java,
9118 javax/swing/event/HyperlinkListener.java,
9119 javax/swing/event/InternalFrameAdapter.java,
9120 javax/swing/event/InternalFrameEvent.java,
9121 javax/swing/event/InternalFrameListener.java,
9122 javax/swing/event/ListDataEvent.java,
9123 javax/swing/event/ListDataListener.java,
9124 javax/swing/event/ListSelectionEvent.java,
9125 javax/swing/event/ListSelectionListener.java,
9126 javax/swing/event/MenuDragMouseEvent.java,
9127 javax/swing/event/MenuDragMouseListener.java,
9128 javax/swing/event/MenuEvent.java,
9129 javax/swing/event/MenuKeyEvent.java,
9130 javax/swing/event/MenuKeyListener.java,
9131 javax/swing/event/MenuListener.java,
9132 javax/swing/event/MouseInputAdapter.java,
9133 javax/swing/event/MouseInputListener.java,
9134 javax/swing/event/PopupMenuEvent.java,
9135 javax/swing/event/PopupMenuListener.java,
9136 javax/swing/event/SwingPropertyChangeSupport.java,
9137 javax/swing/event/TableColumnModelEvent.java,
9138 javax/swing/event/TableColumnModelListener.java,
9139 javax/swing/event/TableModelEvent.java,
9140 javax/swing/event/TableModelListener.java,
9141 javax/swing/event/TreeExpansionEvent.java,
9142 javax/swing/event/TreeExpansionListener.java,
9143 javax/swing/event/TreeModelEvent.java,
9144 javax/swing/event/TreeModelListener.java,
9145 javax/swing/event/TreeSelectionEvent.java,
9146 javax/swing/event/TreeSelectionListener.java,
9147 javax/swing/event/TreeWillExpandListener.java,
9148 javax/swing/event/UndoableEditEvent.java,
9149 javax/swing/event/UndoableEditListener.java,
9150 javax/swing/filechooser/FileFilter.java,
9151 javax/swing/filechooser/FileSystemView.java,
9152 javax/swing/filechooser/FileView.java,
9153 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9154 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9155 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9156 javax/swing/JApplet.java, javax/swing/JButton.java,
9157 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9158 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9159 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9160 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9161 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9162 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9163 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9164 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9165 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9166 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9167 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9168 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9169 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9170 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9171 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9172 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9173 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9174 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9175 javax/swing/JToolTip.java, javax/swing/JTree.java,
9176 javax/swing/JViewport.java, javax/swing/JWindow.java,
9177 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9178 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9179 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9180 javax/swing/MenuSelectionManager.java,
9181 javax/swing/MutableComboBoxModel.java,
9182 javax/swing/OverlayLayout.java,
9183 javax/swing/plaf/ActionMapUIResource.java,
9184 javax/swing/plaf/basic/BasicBorders.java,
9185 javax/swing/plaf/basic/BasicButtonUI.java,
9186 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9187 javax/swing/plaf/basic/BasicDefaults.java,
9188 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9189 javax/swing/plaf/basic/BasicIconFactory.java,
9190 javax/swing/plaf/basic/BasicLabelUI.java,
9191 javax/swing/plaf/basic/BasicListUI.java,
9192 javax/swing/plaf/basic/BasicLookAndFeel.java,
9193 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9194 javax/swing/plaf/basic/BasicPanelUI.java,
9195 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9196 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9197 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9198 javax/swing/plaf/basic/BasicTextUI.java,
9199 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9200 javax/swing/plaf/basic/BasicTreeUI.java,
9201 javax/swing/plaf/basic/BasicViewportUI.java,
9202 javax/swing/plaf/BorderUIResource.java,
9203 javax/swing/plaf/ButtonUI.java,
9204 javax/swing/plaf/ColorChooserUI.java,
9205 javax/swing/plaf/ColorUIResource.java,
9206 javax/swing/plaf/ComboBoxUI.java,
9207 javax/swing/plaf/ComponentInputMapUIResource.java,
9208 javax/swing/plaf/ComponentUI.java,
9209 javax/swing/plaf/DesktopIconUI.java,
9210 javax/swing/plaf/DesktopPaneUI.java,
9211 javax/swing/plaf/DimensionUIResource.java,
9212 javax/swing/plaf/FileChooserUI.java,
9213 javax/swing/plaf/FontUIResource.java,
9214 javax/swing/plaf/IconUIResource.java,
9215 javax/swing/plaf/InputMapUIResource.java,
9216 javax/swing/plaf/InsetsUIResource.java,
9217 javax/swing/plaf/InternalFrameUI.java,
9218 javax/swing/plaf/LabelUI.java,
9219 javax/swing/plaf/ListUI.java,
9220 javax/swing/plaf/MenuBarUI.java,
9221 javax/swing/plaf/MenuItemUI.java,
9222 javax/swing/plaf/OptionPaneUI.java,
9223 javax/swing/plaf/PanelUI.java,
9224 javax/swing/plaf/PopupMenuUI.java,
9225 javax/swing/plaf/ProgressBarUI.java,
9226 javax/swing/plaf/RootPaneUI.java,
9227 javax/swing/plaf/ScrollBarUI.java,
9228 javax/swing/plaf/ScrollPaneUI.java,
9229 javax/swing/plaf/SeparatorUI.java,
9230 javax/swing/plaf/SliderUI.java,
9231 javax/swing/plaf/SplitPaneUI.java,
9232 javax/swing/plaf/TabbedPaneUI.java,
9233 javax/swing/plaf/TableHeaderUI.java,
9234 javax/swing/plaf/TableUI.java,
9235 javax/swing/plaf/TextUI.java,
9236 javax/swing/plaf/ToolBarUI.java,
9237 javax/swing/plaf/ToolTipUI.java,
9238 javax/swing/plaf/TreeUI.java,
9239 javax/swing/plaf/UIResource.java,
9240 javax/swing/plaf/ViewportUI.java,
9241 javax/swing/ProgressMonitorInputStream.java,
9242 javax/swing/ProgressMonitor.java,
9243 javax/swing/Renderer.java,
9244 javax/swing/RepaintManager.java,
9245 javax/swing/RootPaneContainer.java,
9246 javax/swing/Scrollable.java,
9247 javax/swing/ScrollPaneConstants.java,
9248 javax/swing/ScrollPaneLayout.java,
9249 javax/swing/SingleSelectionModel.java,
9250 javax/swing/SizeRequirements.java,
9251 javax/swing/SizeSequence.java,
9252 javax/swing/SwingConstants.java,
9253 javax/swing/SwingUtilities.java,
9254 javax/swing/table/AbstractTableModel.java,
9255 javax/swing/table/DefaultTableCellRenderer.java,
9256 javax/swing/table/DefaultTableColumnModel.java,
9257 javax/swing/table/DefaultTableModel.java,
9258 javax/swing/table/TableCellEditor.java,
9259 javax/swing/table/TableCellRenderer.java,
9260 javax/swing/table/TableColumn.java,
9261 javax/swing/table/TableColumnModel.java,
9262 javax/swing/table/TableModel.java,
9263 javax/swing/text/AbstractDocument.java,
9264 javax/swing/text/AttributeSet.java,
9265 javax/swing/text/BadLocationException.java,
9266 javax/swing/text/Caret.java,
9267 javax/swing/text/CharacterIterator.java,
9268 javax/swing/text/ComponentView.java,
9269 javax/swing/text/DefaultCaret.java,
9270 javax/swing/text/DefaultEditorKit.java,
9271 javax/swing/text/Document.java,
9272 javax/swing/text/EditorKit.java,
9273 javax/swing/text/Element.java,
9274 javax/swing/text/GapContent.java,
9275 javax/swing/text/JTextComponent.java,
9276 javax/swing/text/Keymap.java,
9277 javax/swing/text/MutableAttributeSet.java,
9278 javax/swing/text/PlainDocument.java,
9279 javax/swing/text/PlainEditorKit.java,
9280 javax/swing/text/Position.java,
9281 javax/swing/text/Segment.java,
9282 javax/swing/text/StyledDocument.java,
9283 javax/swing/text/StyledEditorKit.java,
9284 javax/swing/text/Style.java,
9285 javax/swing/text/TextAction.java,
9286 javax/swing/text/ViewFactory.java,
9287 javax/swing/text/View.java,
9288 javax/swing/Timer.java,
9289 javax/swing/ToggleButtonModel.java,
9290 javax/swing/ToolTipManager.java,
9291 javax/swing/tree/AbstractLayoutCache.java,
9292 javax/swing/tree/DefaultMutableTreeNode.java,
9293 javax/swing/tree/DefaultTreeCellEditor.java,
9294 javax/swing/tree/DefaultTreeCellRenderer.java,
9295 javax/swing/tree/DefaultTreeModel.java,
9296 javax/swing/tree/DefaultTreeSelectionModel.java,
9297 javax/swing/tree/ExpandVetoException.java,
9298 javax/swing/tree/FixedHeightLayoutCache.java,
9299 javax/swing/tree/MutableTreeNode.java,
9300 javax/swing/tree/RowMapper.java,
9301 javax/swing/tree/TreeCellEditor.java,
9302 javax/swing/tree/TreeCellRenderer.java,
9303 javax/swing/tree/TreeModel.java,
9304 javax/swing/tree/TreeNode.java,
9305 javax/swing/tree/TreePath.java,
9306 javax/swing/tree/TreeSelectionModel.java,
9307 javax/swing/tree/VariableHeightLayoutCache.java,
9308 javax/swing/UIDefaults.java,
9309 javax/swing/UIManager.java,
9310 javax/swing/undo/AbstractUndoableEdit.java,
9311 javax/swing/undo/CannotRedoException.java,
9312 javax/swing/undo/CannotUndoException.java,
9313 javax/swing/undo/CompoundEdit.java,
9314 javax/swing/undo/StateEditable.java,
9315 javax/swing/undo/StateEdit.java,
9316 javax/swing/undo/UndoableEdit.java,
9317 javax/swing/undo/UndoableEditSupport.java,
9318 javax/swing/undo/UndoManager.java,
9319 javax/swing/UnsupportedLookAndFeelException.java,
9320 javax/swing/ViewportLayout.java,
9321 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9322
9323 * java/awt/ActiveEvent.java,
9324 java/awt/Adjustable.java, java/awt/AWTError.java,
9325 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9326 java/awt/AWTException.java, java/awt/AWTPermission.java,
9327 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9328 java/awt/Color.java, java/awt/Component.java,
9329 java/awt/ComponentOrientation.java, java/awt/Container.java,
9330 java/awt/datatransfer/MimeTypeParseException.java,
9331 java/awt/datatransfer/Transferable.java,
9332 java/awt/datatransfer/UnsupportedFlavorException.java,
9333 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9334 java/awt/event/ActionListener.java,
9335 java/awt/event/AdjustmentEvent.java,
9336 java/awt/event/AdjustmentListener.java,
9337 java/awt/event/AWTEventListener.java,
9338 java/awt/event/ComponentAdapter.java,
9339 java/awt/event/ComponentEvent.java,
9340 java/awt/event/ComponentListener.java,
9341 java/awt/event/ContainerAdapter.java,
9342 java/awt/event/ContainerEvent.java,
9343 java/awt/event/ContainerListener.java,
9344 java/awt/event/FocusAdapter.java,
9345 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9346 java/awt/event/HierarchyBoundsAdapter.java,
9347 java/awt/event/HierarchyBoundsListener.java,
9348 java/awt/event/HierarchyEvent.java,
9349 java/awt/event/HierarchyListener.java,
9350 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9351 java/awt/event/InputMethodListener.java,
9352 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9353 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9354 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9355 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9356 java/awt/event/MouseListener.java,
9357 java/awt/event/MouseMotionAdapter.java,
9358 java/awt/event/MouseMotionListener.java,
9359 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9360 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9361 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9362 java/awt/event/WindowListener.java, java/awt/Font.java,
9363 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9364 java/awt/geom/Ellipse2D.java,
9365 java/awt/geom/IllegalPathStateException.java,
9366 java/awt/geom/Line2D.java,
9367 java/awt/geom/NoninvertibleTransformException.java,
9368 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9369 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9370 java/awt/geom/RoundRectangle2D.java,
9371 java/awt/GraphicsConfiguration.java,
9372 java/awt/IllegalComponentStateException.java,
9373 java/awt/image/IndexColorModel.java,
9374 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9375 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9376 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9377 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9378 java/awt/MenuItem.java, java/awt/PaintContext.java,
9379 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9380 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9381 java/awt/PrintJob.java, java/awt/Rectangle.java,
9382 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9383 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9384 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9385
9386 * java/awt/im/spi/InputMethod.java,
9387 java/awt/im/spi/InputMethodContext.java,
9388 java/awt/im/spi/InputMethodDescriptor.java,
9389 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9390 java/awt/image/renderable/ParameterBlock.java,
9391 java/awt/image/renderable/RenderContext.java,
9392 java/awt/image/renderable/RenderableImage.java,
9393 java/awt/image/renderable/RenderableImageOp.java,
9394 java/awt/image/renderable/RenderableImageProducer.java,
9395 java/awt/image/renderable/RenderedImageFactory.java: New files from
9396 classpath.
9397
9398 * gnu/java/awt/EventModifier.java,
9399 gnu/java/awt/image/ImageDecoder.java,
9400 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9401
9402 * gnu/awt/xlib/XGraphicsConfiguration.java,
9403 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9404 API.
9405
9406 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9407 GNU Classpath.
9408
9409 * Makefile.am: Add new files.
9410 * Makefile.in: Rebuilt.
9411
9412 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9413
9414 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9415 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9416 findResource, getResources, findResources): Add javadoc from classpath.
9417 (getSystemResources): Implemented.
9418
9419 2002-08-01 Mark Wielaard <mark@klomp.org>
9420
9421 Revert patch that breaks libgcj shared library on powerpc:
9422 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9423 implementation classes by using Class.getName(). Uses Strings again.
9424 * gnu/java/security/der/DEREncodingException.java,
9425 gnu/java/security/provider/DERReader.java,
9426 gnu/java/security/provider/DERWriter.java,
9427 gnu/java/security/provider/DSAKeyPairGenerator.java,
9428 gnu/java/security/provider/DSAParameterGenerator.java,
9429 gnu/java/security/provider/DSAParameters.java,
9430 gnu/java/security/provider/DSASignature.java,
9431 gnu/java/security/provider/GnuDSAPrivateKey.java,
9432 gnu/java/security/provider/GnuDSAPublicKey.java,
9433 gnu/java/security/provider/MD5.java,
9434 gnu/java/security/util/Prime.java: Removed.
9435 * Makefile.am (ordinary_java_source_files): Remove above files.
9436 * Makefile.in: Regenerate.
9437 * gnu/java/security/provider/DefaultPolicy.java
9438 (getPermissions): Revert to maintaining static class variable of
9439 Permissions.
9440 * gnu/java/security/provider/SHA.java
9441 (engineUpdate): Revert algorithm change.
9442 (engineDigest): Revert algorithm change.
9443
9444 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9445
9446 * configure.host: Add SH support.
9447 * sysdep/sh/locks.h: New file.
9448
9449 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9450
9451 * java/awt/Frame.java (Frame): Remove println calls.
9452
9453 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9454
9455 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9456 * configure: Rebuilt.
9457
9458 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9459
9460 * sysdep/powerpc/locks.h: Formatting.
9461 (_LARX): Define.
9462 (_STCX): Define.
9463 (compare_and_swap): Use _LARX and _STCX.
9464 (compare_and_swap_release): Likewise.
9465
9466 2002-07-26 Tom Tromey <tromey@redhat.com>
9467
9468 * java/net/Authenticator.java: New version from Classpath.
9469 * java/net/DatagramSocketImpl.java: New version from Classpath.
9470
9471 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9472
9473 * configure.host: Add powerpc64*-* entry.
9474
9475 2002-07-26 Tom Tromey <tromey@redhat.com>
9476
9477 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9478 fcntl.h.
9479
9480 2002-07-24 Tom Tromey <tromey@redhat.com>
9481
9482 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9483 argument to _load.
9484
9485 2002-07-24 Tom Tromey <tromey@redhat.com>
9486 Tony Kimball <alk@pobox.com>
9487
9488 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9489 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9490 * java/io/RandomAccessFile.java (setLength): New method.
9491 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9492 * java/io/FileDescriptor.java (setLength): New method.
9493
9494 2002-07-24 Mark Wielaard <mark@klomp.org>
9495
9496 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9497 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9498 field call setAccessible(true).
9499 (setByteField): Likewise.
9500 (setCharField): Likewise.
9501 (setDoubleField): Likewise.
9502 (setFloatField): Likewise.
9503 (setIntField): Likewise.
9504 (setLongField): Likewise.
9505 (setShortField): Likewise.
9506 (setObjectField): Likewise.
9507
9508 2002-07-24 Tom Tromey <tromey@redhat.com>
9509
9510 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9511 use toString() to format array element.
9512
9513 2002-07-23 Mark Wielaard <mark@klomp.org>
9514
9515 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9516 MessageDigestSpi (fixes Classpath bug #783).
9517
9518 2002-07-21 Mark Wielaard <mark@klomp.org>
9519
9520 * gnu/java/security/provider/Gnu.java: Reference all implementation
9521 classes by using Class.getName().
9522
9523 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9524
9525 * java/lang/ieeefp.h: Add x86-64 support.
9526 * configure.in: Likewise.
9527 * configure.host: Likewise.
9528 * configure: Regenerated.
9529 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9530
9531 2002-07-16 Mark Wielaard <mark@klomp.org>
9532
9533 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9534 (whitespaceChars): call resetChar().
9535
9536 2002-07-15 Tom Tromey <tromey@redhat.com>
9537
9538 * Makefile.in: Rebuilt.
9539 * Makefile.am (awt_java_source_files): Added new files.
9540 * java/beans/ExceptionListener.java: Merged with Classpath.
9541 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9542 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9543 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9544 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9545 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9546 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9547 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9548
9549 2002-07-14 Mark Wielaard <mark@klomp.org>
9550
9551 * gnu/java/security/der/DEREncodingException.java,
9552 gnu/java/security/provider/DERReader.java,
9553 gnu/java/security/provider/DERWriter.java,
9554 gnu/java/security/provider/DSAKeyPairGenerator.java,
9555 gnu/java/security/provider/DSAParameterGenerator.java,
9556 gnu/java/security/provider/DSAParameters.java,
9557 gnu/java/security/provider/DSASignature.java,
9558 gnu/java/security/provider/GnuDSAPrivateKey.java,
9559 gnu/java/security/provider/GnuDSAPublicKey.java,
9560 gnu/java/security/provider/MD5.java,
9561 gnu/java/security/util/Prime.java: New files from Classpath.
9562 * Makefile.am (ordinary_java_source_files): Add new files.
9563 * Makefile.in: Regenerate.
9564
9565 2002-07-14 C. Brian Jones <cbj@gnu.org>
9566
9567 * gnu/java/security/provider/DefaultPolicy.java
9568 (getPermissions): do not maintain static class variable of
9569 Permissions
9570 * gnu/java/security/provider/SHA.java
9571 (engineUpdate): algorithm change
9572 (engineDigest): algorithm change
9573
9574 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9575
9576 For PR libgcj/7292:
9577 * java/lang/Character.java (toString(char)): Now static.
9578
9579 2002-07-12 Mark Wielaard <mark@klomp.org>
9580
9581 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9582 (getStackTrace0): new method.
9583 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9584 (printStackTrace(PrintWriter)): replace with pure java implementation.
9585 (printRawStackTrace): removed.
9586 (getStackTrace0): new method.
9587 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9588 * gcj/javaprims.h: regenerate class list.
9589 * include/name-finder.h (lookup): new returns StackTraceElement*.
9590 (method_name, file_name): fields removed.
9591 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9592 (~_Jv_name_finder): close new descriptors.
9593 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9594 (createStackTraceElement): new method.
9595 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9596
9597 2002-07-10 Tom Tromey <tromey@redhat.com>
9598
9599 * configure: Rebuilt.
9600 * configure.in: Use `test' after `&&'. From Chris Faylor.
9601
9602 2002-07-08 Mark Wielaard <mark@klomp.org>
9603
9604 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9605 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9606 java.sql.DatabaseMetaData.TestJdbc20
9607
9608 2002-07-05 Tony Kimball <alk@pobox.com>
9609
9610 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9611
9612 2002-07-04 Tom Tromey <tromey@redhat.com>
9613 Jeff Sturm <jsturm@one-point.com>
9614
9615 Fix for PR libgcj/7060:
9616 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9617 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9618 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9619 * java/lang/Class.java (getMethod): New Java implementation;
9620 complies with spec.
9621 (_getMethod): New native method.
9622
9623 2002-07-02 Tom Tromey <tromey@redhat.com>
9624 David Hovemeyer <daveho@cs.umd.edu>
9625
9626 * java/text/ChoiceFormat.java
9627 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9628 in check loop.
9629 * java/text/MessageFormat.java
9630 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9631 to MessageFormat.
9632
9633 2002-07-01 Tom Tromey <tromey@redhat.com>
9634
9635 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9636 StringTokenizer on null string. For PR libgcj/7180.
9637 From daveho@cs.umd.edu.
9638
9639 2002-06-24 Tom Tromey <tromey@redhat.com>
9640
9641 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9642 (IntegerClass): Likewise.
9643 * java/lang/natClass.cc (CloneableClass): Removed.
9644 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9645 ConstructorClass): Likewise.
9646 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9647 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9648 SerializableClass): Likewise.
9649 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9650 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9651 LongClass, FloatClass, DoubleClass): Likewise.
9652
9653 * verify.cc (branch_prepass): Updated for change to exception
9654 handler type.
9655 (verify_instructions_0): Likewise.
9656 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9657 (handleExceptionTableEntry): Updated for change to exception
9658 handler type.
9659 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9660 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9661 (union _Jv_InterpPC): New.
9662 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9663 (class _Jv_InterpMethod): Added new `prepared' field.
9664 (class _Jv_InterpMethod): Added `compile' method. Removed
9665 `continue1' and `find_exception'. Changed arguments to `run'.
9666 * interpret.cc (union insn_slot): New.
9667 (find_exception): Removed.
9668 (run_normal): Removed most logic.
9669 (run_synch_object): Likewise; also, use JvSynchronize.
9670 (run_synch_class): Likewise.
9671 (run): Removed.
9672 (continue1): Renamed as `run'. Compile bytecode if required.
9673 Add new code to allow refinement of direct-threaded code at
9674 runtime. Handle exceptions.
9675 (SAVE_PC): Removed.
9676 (compile): New method.
9677 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9678 (NULLARRAYCHECK): Don't use SAVE_PC.
9679 (pc_t): New typedef.
9680 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9681 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9682
9683 2002-06-23 Tom Tromey <tromey@redhat.com>
9684
9685 * configure: Rebuilt.
9686 * configure.in (INTERPRETER): New subst.
9687 (AM_RUNTESTFLAGS): Don't subst.
9688
9689 * Makefile.in: Rebuilt.
9690 * Makefile.am ($(srcdir)/java/lang/Object.h,
9691 $(srcdir)/java/lang/Class.h): Added dummy targets.
9692
9693 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9694
9695 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9696
9697 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9698 java/sql/Savepoint.java: New files.
9699 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9700 java/sql/Blob.java, java/sql/CallableStatement.java,
9701 java/sql/Clob.java, java/sql/Connection.java,
9702 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9703 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9704 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9705 java/sql/Ref.java, java/sql/ResultSet.java,
9706 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9707 java/sql/SQLException.java, java/sql/SQLInput.java,
9708 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9709 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9710 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9711 (JDK 1.4) specification.
9712 * javax/sql/ConnectionEvent.java,
9713 javax/sql/ConnectionEventListener.java,
9714 javax/sql/ConnectionPoolDataSource.java,
9715 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9716 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9717 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9718 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9719 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9720 javax/sql/XADataSource.java: New files.
9721 * Makefile.am: Add new files.
9722 * Makefile.in: Rebuilt.
9723
9724 2002-06-20 Tom Tromey <tromey@redhat.com>
9725
9726 For PR libgcj/7073:
9727 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9728 exists.
9729 * defineclass.cc (handleClassBegin): Superclass for interface is
9730 `null'.
9731
9732 2002-06-18 Tom Tromey <tromey@redhat.com>
9733
9734 * gcj/javaprims.h: Updated class declaration list.
9735 * Makefile.in: Rebuilt.
9736 * Makefile.am (core_java_source_files): Removed
9737 BasicMapEntry.java.
9738 * java/util/BasicMapEntry.java: Removed.
9739
9740 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9741
9742 * java/net/natPlainDatagramSocketImpl.cc (receive):
9743 Check bounds of argument to FD_SET.
9744 (setOption): Throw exception if socket is closed.
9745
9746 * java/net/natPlainSocketImpl.cc (accept, read):
9747 Check bounds of argument to FD_SET.
9748 (setOption): Throw exception if socket is closed.
9749
9750 2002-06-18 Tom Tromey <tromey@redhat.com>
9751
9752 * gcj/javaprims.h: Updated class declaration list.
9753 * Makefile.in: Rebuilt.
9754 * Makefile.am (core_java_source_files): Added
9755 PropertyPermissionCollection.java.
9756 * java/lang/Thread.java (group, name): Now package-private.
9757 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9758 * java/util/AbstractList.java: Likewise.
9759 * java/util/AbstractMap.java: Likewise.
9760 * java/util/Calendar.java: Likewise.
9761 * java/util/Collections.java: Likewise.
9762 * java/util/HashMap.java: Likewise.
9763 * java/util/Hashtable.java: Likewise.
9764 * java/util/LinkedHashMap.java: Likewise.
9765 * java/util/LinkedList.java: Likewise.
9766 * java/util/List.java: Likewise.
9767 * java/util/ListResourceBundle.java: Likewise.
9768 * java/util/Map.java: Likewise.
9769 * java/util/Observable.java: Likewise.
9770 * java/util/Properties.java: Likewise.
9771 * java/util/PropertyPermission.java: Likewise.
9772 * java/util/PropertyPermissionCollection.java: Likewise.
9773 * java/util/PropertyResourceBundle.java: Likewise.
9774 * java/util/Random.java: Likewise.
9775 * java/util/SimpleTimeZone.java: Likewise.
9776 * java/util/StringTokenizer.java: Likewise.
9777 * java/util/TimerTask.java: Likewise.
9778 * java/util/TreeMap.java: Likewise.
9779 * java/util/WeakHashMap.java: Likewise.
9780 * java/util/jar/Attributes.java: Likewise.
9781 * java/util/jar/JarException.java: Likewise.
9782 * java/util/jar/Manifest.java: Likewise.
9783
9784 2002-06-17 Tom Tromey <tromey@redhat.com>
9785
9786 * gcj/javaprims.h: Updated class declaration list.
9787 * Makefile.in: Rebuilt.
9788 * Makefile.am (core_java_source_files): Added new file.
9789 * java/util/EventListenerProxy.java: New file.
9790 * java/util/EventListener.java: Re-merge with Classpath.
9791 * java/util/EventObject.java: Re-merge with Classpath.
9792
9793 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9794
9795 * java/lang/ClassNotFoundException.java: New Classpath version.
9796
9797 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9798
9799 * java/rmi/activation/ActivateFailedException.java: Remerge from
9800 Classpath version.
9801 * java/rmi/activation/ActivationException.java: Ditto.
9802 * java/rmi/activation/UnknownGroupException.java: Ditto.
9803 * java/rmi/activation/UnknownObjectException.java: Ditto.
9804 * java/rmi/server/ExportException: Ditto.
9805 * java/rmi/server/ServerCloneException: Ditto.
9806 * java/rmi/server/ServerNotActiveException: Ditto.
9807 * java/rmi/server/SkeletonMismatchException: Ditto.
9808 * java/rmi/server/SkeletonNotFoundException: Ditto.
9809 * java/rmi/server/SocketSecurityException: Ditto.
9810
9811 2002-06-16 Tom Tromey <tromey@redhat.com>
9812
9813 * gcj/javaprims.h: Updated class declaration list.
9814
9815 * java/io/LineNumberInputStream.java: Merged with Classpath.
9816
9817 * java/lang/RuntimeException.java: Re-merge with Classpath.
9818 * java/util/ArrayList.java: Likewise.
9819 * java/util/Arrays.java: Likewise.
9820 * java/util/BitSet.java: Likewise.
9821 * java/util/Dictionary.java: Likewise.
9822 * java/util/IdentityHashMap.java: Likewise.
9823 * java/util/MissingResourceException.java: Likewise.
9824 * java/util/Observer.java: Likewise.
9825 * java/util/TooManyListenersException.java: Likewise.
9826 * java/util/zip/DataFormatException.java: Likewise.
9827 * java/util/zip/ZipException.java: Likewise.
9828
9829 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9830
9831 * java/rmi/AccessException.java: Remerge from Classpath.
9832 * java/rmi/AlreadyBoundException.java: Ditto.
9833 * java/rmi/ConnectException.java: Ditto.
9834 * java/rmi/ConnectIOException.java: Ditto.
9835 * java/rmi/MarshalException.java: Ditto.
9836 * java/rmi/NoSuchObjectException.java: Ditto.
9837 * java/rmi/NotBoundException.java: Ditto.
9838 * java/rmi/RemoteException.java: Ditto.
9839 * java/rmi/RMISecurityException.java: Ditto.
9840 * java/rmi/ServerError.java: Ditto.
9841 * java/rmi/ServerException.java: Ditto.
9842 * java/rmi/ServerRuntimeException.java: Ditto.
9843 * java/rmi/StubNotFoundException.java: Ditto.
9844 * java/rmi/UnexpectedExcpetion.java: Ditto.
9845 * java/rmi/UnknownHostException.java: Ditto.
9846 * java/rmi/UnmarshalException.java: Ditto.
9847
9848 2002-06-15 Tom Tromey <tromey@redhat.com>
9849
9850 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9851 * java/lang/ArithmeticException.java: Likewise.
9852 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9853 * java/lang/ArrayStoreException.java: Likewise.
9854 * java/lang/Byte.java: Likewise.
9855 * java/lang/CharSequence.java: Likewise.
9856 * java/lang/ClassCastException.java: Likewise.
9857 * java/lang/ClassCircularityError.java: Likewise.
9858 * java/lang/ClassFormatError.java: Likewise.
9859 * java/lang/CloneNotSupportedException.java: Likewise.
9860 * java/lang/Cloneable.java: Likewise.
9861 * java/lang/Comparable.java: Likewise.
9862 * java/lang/Compiler.java: Likewise.
9863 * java/lang/Error.java: Likewise.
9864 * java/lang/ExceptionInInitializerError.java: Likewise.
9865 * java/lang/IllegalAccessError.java: Likewise.
9866 * java/lang/IllegalAccessException.java: Likewise.
9867 * java/lang/IllegalArgumentException.java: Likewise.
9868 * java/lang/IllegalMonitorStateException.java: Likewise.
9869 * java/lang/IllegalStateException.java: Likewise.
9870 * java/lang/IllegalThreadStateException.java: Likewise.
9871 * java/lang/IncompatibleClassChangeError.java: Likewise.
9872 * java/lang/IndexOutOfBoundsException.java: Likewise.
9873 * java/lang/InheritableThreadLocal.java: Likewise.
9874 * java/lang/InstantiationError.java: Likewise.
9875 * java/lang/InstantiationException.java: Likewise.
9876 * java/lang/InternalError.java: Likewise.
9877 * java/lang/InterruptedException.java: Likewise.
9878 * java/lang/LinkageError.java: Likewise.
9879 * java/lang/NegativeArraySizeException.java: Likewise.
9880 * java/lang/NoClassDefFoundError.java: Likewise.
9881 * java/lang/NoSuchFieldError.java: Likewise.
9882 * java/lang/NoSuchFieldException.java: Likewise.
9883 * java/lang/NoSuchMethodError.java: Likewise.
9884 * java/lang/NoSuchMethodException.java: Likewise.
9885 * java/lang/NullPointerException.java: Likewise.
9886 * java/lang/NumberFormatException.java: Likewise.
9887 * java/lang/OutOfMemoryError.java: Likewise.
9888 * java/lang/Process.java: Likewise.
9889 * java/lang/Runnable.java: Likewise.
9890 * java/lang/RuntimePermission.java: Likewise.
9891 * java/lang/SecurityException.java: Likewise.
9892 * java/lang/Short.java: Likewise.
9893 * java/lang/StackOverflowError.java: Likewise.
9894 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9895 * java/lang/ThreadDeath.java: Likewise.
9896 * java/lang/ThreadLocal.java: Likewise.
9897 * java/lang/UnknownError.java: Likewise.
9898 * java/lang/UnsatisfiedLinkError.java: Likewise.
9899 * java/lang/UnsupportedClassVersionError.java: Likewise.
9900 * java/lang/UnsupportedOperationException.java: Likewise.
9901 * java/lang/VerifyError.java: Likewise.
9902 * java/lang/VirtualMachineError.java: Likewise.
9903 * java/lang/reflect/InvocationTargetException.java: Likewise.
9904 * java/net/BindException.java: Likewise.
9905 * java/net/ConnectException.java: Likewise.
9906 * java/net/MalformedURLException.java: Likewise.
9907 * java/net/NoRouteToHostException.java: Likewise.
9908 * java/net/ProtocolException.java: Likewise.
9909 * java/net/SocketException.java: Likewise.
9910 * java/net/UnknownHostException.java: Likewise.
9911 * java/net/UnknownServiceException.java: Likewise.
9912
9913 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9914 * java/io/CharConversionException.java: Likewise.
9915 * java/io/EOFException.java: Likewise.
9916 * java/io/FileNotFoundException.java: Likewise.
9917 * java/io/IOException.java: Likewise.
9918 * java/io/InterruptedIOException.java: Likewise.
9919 * java/io/InvalidClassException.java: Likewise.
9920 * java/io/InvalidObjectException.java: Likewise.
9921 * java/io/NotActiveException.java: Likewise.
9922 * java/io/NotSerializableException.java: Likewise.
9923 * java/io/ObjectStreamException.java: Likewise.
9924 * java/io/ObjectStreamConstants.java: Likewise.
9925 * java/io/OptionalDataException.java: Likewise.
9926 * java/io/PipedInputStream.java: Likewise.
9927 * java/io/PushbackInputStream.java: Likewise.
9928 * java/io/StreamCorruptedException.java: Likewise.
9929 * java/io/SyncFailedException.java: Likewise.
9930 * java/io/UTFDataFormatException.java: Likewise.
9931 * java/io/UnsupportedEncodingException.java: Likewise.
9932 * java/io/WriteAbortedException.java: Likewise.
9933
9934 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9935
9936 * java/text/ChoiceFormat.java: Update comments from Classpath.
9937 * java/text/ParseException.java (serialVersionUID): New
9938 field from Classpath.
9939 * java/text/ParseException.java: Update formatting & comments
9940 from Classpath.
9941
9942 2002-06-15 Tom Tromey <tromey@redhat.com>
9943
9944 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9945 been read but none output by inflater.
9946 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9947 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9948 is_finished.
9949 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9950 version.
9951 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9952 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9953 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9954 version.
9955 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9956
9957 2002-06-13 Tom Tromey <tromey@redhat.com>
9958
9959 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9960 true and OFFSET!=0.
9961 * java/lang/String.java (String(char[],int,int,boolean): New
9962 constructor.
9963 * java/lang/Long.java: Imported new version from Classpath.
9964 * java/lang/Number.java: Likewise.
9965 * java/lang/Integer.java: Likewise.
9966 * java/lang/Long.java: Likewise.
9967 * java/lang/Float.java: Likewise.
9968 * java/lang/Boolean.java: Likewise.
9969 * java/lang/Double.java: Likewise.
9970 * java/lang/Void.java: Likewise.
9971
9972 2002-06-12 Tom Tromey <tromey@redhat.com>
9973
9974 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9975 Fixes PR libgcj/6652.
9976
9977 2002-06-10 Tom Tromey <tromey@redhat.com>
9978
9979 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9980 (Class::getPackagePortion): Likewise.
9981 * java/lang/Class.java (desiredAssertionStatus): New method from
9982 Classpath.
9983 (getPackagePortion): Likewise.
9984 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9985 packageAssertionStatus, classAssertionStatus): New methods from
9986 Classpath.
9987 * java/lang/ClassLoader.java (defaultAssertionStatus,
9988 systemPackageAssertionStatus, packageAssertionStatus,
9989 systemClassAssertionStatus, classAssertionStatus): New fields from
9990 Classpath.
9991 (setDefaultAssertionStatus, setPackageAssertionStatus,
9992 setClassAssertionStatus, clearAssertionStatus): New methods from
9993 Classpath.
9994 * Makefile.in: Rebuilt.
9995 * Makefile.am (core_java_source_files): Added AssertionError.java.
9996 * java/lang/AssertionError.java: New from Classpath.
9997
9998 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9999
10000 * configure.host: Disable hash synchronization and slow_pthread_self
10001 for cygwin.
10002
10003 2002-06-06 Adam Megacz <adam@xwt.org>
10004
10005 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10006 locking, just like the Sun JVM does.
10007
10008 2002-06-05 H.J. Lu (hjl@gnu.org)
10009
10010 * Makefile.am (libgcj_convenience.la): Revert the last change.
10011 (libgcj.la): Likewise.
10012 * Makefile.in: Regenerated.
10013
10014 2002-06-04 H.J. Lu (hjl@gnu.org)
10015
10016 * Makefile.am (libgcj_convenience.la): New target.
10017 (libgcj.la): Depend on libgcj_convenience.la.
10018 * Makefile.in: Regenerated.
10019
10020 2002-06-04 H.J. Lu (hjl@gnu.org)
10021
10022 * configure.in (--with-newlib): New option:
10023 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10024 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10025 Linux.
10026 * configure: Regenerated.
10027
10028 2002-06-04 Tom Tromey <tromey@redhat.com>
10029
10030 * java/util/natTimeZone.cc: Include <stdio.h>.
10031
10032 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10033
10034 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10035 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10036 Set SIGNAL_HANDLER=include/s390-linux.h.
10037 * configure: Regenerate.
10038 * include/s390-linux.h: New file.
10039
10040 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10041
10042 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10043 not "stackTrace".
10044
10045 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10046
10047 Merge JDK 1.4 java.security changes from classpath.
10048
10049 * java/security/AccessControlException.java: Merge from Classpath.
10050 * java/security/AccessController.java: Likewise.
10051 * java/security/AllPermission.java: Likewise.
10052 * java/security/BasicPermission.java: Likewise.
10053 * java/security/Certificate.java: Likewise.
10054 * java/security/CodeSource.java: Likewise.
10055 * java/security/DigestException.java: Likewise.
10056 * java/security/DigestOutputStream.java: Likewise.
10057 * java/security/DomainCombiner.java: Likewise.
10058 * java/security/GeneralSecurityException.java: Likewise.
10059 * java/security/Guard.java: Likewise.
10060 * java/security/GuardedObject.java: Likewise.
10061 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10062 * java/security/InvalidKeyException.java: Likewise.
10063 * java/security/InvalidParameterException.java: Likewise.
10064 * java/security/Key.java: Likewise.
10065 * java/security/KeyException.java: Likewise.
10066 * java/security/KeyManagementException.java: Likewise.
10067 * java/security/KeyStoreException.java: Likewise.
10068 * java/security/MessageDigest.java: Likewise.
10069 * java/security/NoSuchAlgorithmException.java: Likewise.
10070 * java/security/NoSuchProviderException.java: Likewise.
10071 * java/security/Permission.java: Likewise.
10072 * java/security/PermissionCollection.java: Likewise.
10073 * java/security/Permissions.java: Likewise.
10074 * java/security/Policy.java: Likewise.
10075 * java/security/Principal.java: Likewise.
10076 * java/security/PrivateKey.java: Likewise.
10077 * java/security/PrivilegedAction.java: Likewise.
10078 * java/security/PrivilegedActionException.java: Likewise.
10079 * java/security/PrivilegedExceptionAction.java: Likewise.
10080 * java/security/ProtectionDomain.java: Likewise.
10081 * java/security/ProviderException.java: Likewise.
10082 * java/security/PublicKey.java: Likewise.
10083 * java/security/SecureClassLoader.java: Likewise.
10084 * java/security/SecurityPermission.java: Likewise.
10085 * java/security/SignatureException.java: Likewise.
10086 * java/security/UnrecoverableKeyException.java: Likewise.
10087 * java/security/UnresolvedPermission.java: Likewise.
10088 * java/security/acl/AclNotFoundException.java: Likewise.
10089 * java/security/acl/LastOwnerException.java: Likewise.
10090 * java/security/acl/NotOwnerException.java: Likewise.
10091 * java/security/cert/CRLException.java: Likewise.
10092 * java/security/cert/CertificateEncodingException.java: Likewise.
10093 * java/security/cert/CertificateException.java: Likewise.
10094 * java/security/cert/CertificateExpiredException.java: Likewise.
10095 * java/security/cert/CertificateFactory.java: Likewise.
10096 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10097 * java/security/cert/CertificateParsingException.java: Likewise.
10098 * java/security/spec/InvalidKeySpecException.java: Likewise.
10099 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10100
10101 * java/security/cert/CertPath.java: New file.
10102 * java/security/cert/CertPathBuilderException.java: New file.
10103 * java/security/cert/CertPathValidatorException.java: New file.
10104 * java/security/cert/CertStoreException.java: New file.
10105
10106 * Makefile.am: Add new CertPath classes.
10107 * Makefile.in: Rebuilt.
10108
10109 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10110
10111 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10112
10113 Merge JDK 1.4 exception chaining support from classpath.
10114
10115 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10116 (stackTraceBytes): Rename from stackTrace.
10117 * java/lang/Exception.java: Merge from classpath.
10118 * java/lang/StackTraceElement: New file from classpath.
10119 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10120 * Makefile.am: Add StackTraceElement.
10121 * Makefile.in: Rebuilt.
10122
10123 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10124
10125 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10126 they build first.
10127 * Makefile.in: Rebuilt.
10128
10129 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10130
10131 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10132 * configure.in: Likewise.
10133 * aclocal.m4: Regenerate.
10134 * configure: Regenerate.
10135
10136 2002-05-13 Tom Tromey <tromey@redhat.com>
10137
10138 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10139 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10140 Include platform.h.
10141
10142 Fixes PR libgcj/6389:
10143 * Makefile.in: Rebuilt.
10144 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10145 * java/util/natTimeZone.cc: New file.
10146 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10147 * java/lang/System.java: Merged with Classpath.
10148 * java/lang/Runtime.java: Merged with Classpath.
10149 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10150 security check.
10151 (setIn0): Renamed from setIn; don't run security check.
10152 (setOut0): Renamed from setOut; don't run security check.
10153 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10154 init_properties): Moved to natRuntime.cc.
10155 Moved many includes to natRuntime.cc.
10156 (isWordsBigEndian): New method.
10157 * java/lang/natRuntime.cc: Include Long.h, also other includes
10158 previously in natSystem.cc.
10159 (maxMemory): New function.
10160 (exitInternal): Renamed from `_exit'.
10161 (exit): Removed.
10162 (init): Don't set finalize_on_exit.
10163 (exitInternal): Use `finalizeOnExit'.
10164 (file_encoding, getpwuid_adaptor): New functions from
10165 natSystem.cc.
10166 (insertSystemProperties): New method, renamed from
10167 System::init_properties. Don't set user.timezone.
10168 (_load): Don't call checkLink.
10169 (execInternal): New method.
10170 (availableProcessors): Likewise.
10171 (nativeGetLibname): Likewise.
10172
10173 2002-05-11 Mark Wielaard <mark@klomp.org>
10174
10175 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10176 space characters.
10177 (previous_internal): Likewise.
10178
10179 2002-05-09 Tom Tromey <tromey@redhat.com>
10180
10181 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10182
10183 * java/util/ResourceBundle.java: New version from Classpath.
10184 * java/util/Locale.java: Likewise.
10185
10186 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10187
10188 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10189 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10190 LD_LIBRARY_PATH.
10191
10192 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10193
10194 * libjava/Makefile.am (all_java_source_files): New variable.
10195 (all_java_class_files): Likewise.
10196 .java.class: New rule.
10197 (CLEANFILES): Remove tmp-list.
10198 * libjava/Makefile.in: Regenerated.
10199
10200 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10201
10202 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10203 Append .exe to executable names. Fix for cygwin.
10204
10205 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10206
10207 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10208 script entry, and set LD to it when configuring multilibs.
10209 * configure: Rebuilt.
10210
10211 2002-05-07 Tom Tromey <tromey@redhat.com>
10212
10213 * java/lang/natString.cc (unintern): Fixed typo.
10214
10215 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10216
10217 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10218 with -no-install on *-*-cygwin*.
10219
10220 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10221
10222 * testsuite/lib/libjava.exp (test_libjava_from_source):
10223 Add comment explaining last patch
10224
10225 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10226
10227 * testsuite/lib/libjava.exp (test_libjava_from_source):
10228 Append .exe to executable names. If no suffix is present,
10229 then ".exe" is added by default on win32. Harmless
10230 elsewhere so always do it.
10231
10232 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10233 Tom Tromey <tromey@redhat.com>
10234
10235 * java/lang/natSystem.cc (getSystemTimeZone): Use
10236 HAVE_UNDERSCORE_TIMEZONE.
10237 * include/config.h.in: Rebuilt.
10238 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10239 * aclocal.m4, configure: Rebuilt.
10240 * acinclude.m4: Run AC_EXEEXT.
10241 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10242 Add test for `_timezone'.
10243
10244 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10245
10246 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10247 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10248 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10249 * Makefile.in: Rebuilt.
10250
10251 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10252
10253 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10254 use sigaction instead of __libc_sigaction.
10255
10256 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10257
10258 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10259 (libjava_init): Use it to find libgcj.spec.
10260 (libjava_arguments): Likewise.
10261
10262 2002-05-02 David S. Miller <davem@redhat.com>
10263
10264 PR bootstrap/6525
10265 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10266 __libc_sigaction on Sparc.
10267
10268 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10269
10270 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10271 sys/filio.h, if present.
10272
10273 2002-04-30 Tom Tromey <tromey@redhat.com>
10274
10275 * java/io/BufferedReader.java (fill): Handle case where markPos
10276 point to ignored \n. Fixes PR libgcj/6301.
10277
10278 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10279
10280 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10281
10282 2002-04-29 Adam King <aking@dreammechanics.com>
10283
10284 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10285 of file in APPEND mode.
10286
10287 2002-04-25 David S. Miller <davem@redhat.com>
10288
10289 PR target/6422
10290 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10291 program counter to next program counter minus 8. Update
10292 comments in this macro to explain why.
10293
10294 2002-04-26 Tom Tromey <tromey@redhat.com>
10295
10296 * verify.cc (construct_primitive_array_type) [void_type]: New
10297 case.
10298 (branch_prepass): Added dummy entries for unused instruction
10299 values.
10300 (verify_instructions_0): Likewise.
10301 * interpret.cc (continue1): Comment fix.
10302 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10303 * Makefile.in: Rebuilt.
10304 * Makefile.am: Added -Wswitch-enum.
10305
10306 2002-04-24 Tom Tromey <tromey@redhat.com>
10307
10308 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10309 correct length of UTF-8 encoded name. Strip leading `/'.
10310 (_Jv_RegisterResource): Use _Jv_Malloc.
10311
10312 2002-04-23 Adam Megacz <adam@xwt.org>
10313
10314 * win32.cc, include/win32.cc (backtrace): Added this function
10315 because Win32 does not supply it.
10316
10317 2002-04-21 David S. Miller <davem@redhat.com>
10318
10319 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10320 magic instruction reading sequence.
10321
10322 2002-04-21 Mark Wielaard <mark@klomp.org>
10323
10324 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10325
10326 2002-04-19 David S. Miller <davem@redhat.com>
10327
10328 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10329 arg.
10330 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10331 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10332 on Sparc too.
10333 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10334 for 64-bit sparc.
10335 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10336 * sysdeps/sparc/locks.h: New file.
10337 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10338 on all sparc Solaris configurations. Set to
10339 include/dwarf2-signal.h on sparc Linux.
10340 * configure: Regenerate
10341 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10342
10343 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10344
10345 * configure: Rebuilt.
10346 * configure.in (backtrace): Function doesn't work on IA-64.
10347
10348 2002-04-17 Adam King <aking@dreammechanics.com>
10349
10350 * java/io/File.java (normalizePath): Add Win32 support for auto
10351 conversion of a '/' path separator to Win32's '\' separator.
10352
10353 2002-04-16 Tom Tromey <tromey@redhat.com>
10354
10355 Fix for PR libgcj/6081:
10356 * Makefile.in: Rebuilt.
10357 * Makefile.am (install-data-local): Use GNU make trick to avoid
10358 shell limit.
10359
10360 2002-04-16 Adam King <aking@dreammechanics.com>
10361 Tom Tromey <tromey@redhat.com>
10362
10363 * java/io/natFileWin32.cc (performList): Return the correct array
10364 type. Don't duplicate the creation of a File since it's already
10365 done earlier in the method and the existing code would cause a
10366 ArrayStoreException. Don't use fixed-size array.
10367 (_access, _stat, attr, getCanonicalPath, performMkdir,
10368 performRenameTo): Don't use fixed-size array.
10369 (getCanonicalPath): Use throw, not _Jv_Throw.
10370
10371 2002-04-15 DJ Delorie <dj@redhat.com>
10372
10373 * configure.in: Allow building in $srcdir.
10374 * configure: Regenerated.
10375
10376 2002-04-14 Mark Wielaard <mark@klomp.org>
10377
10378 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10379 * java/net/natSocketImpl.cc (close): Likewise.
10380
10381 2002-04-14 Mark Wielaard <mark@klomp.org>
10382
10383 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10384
10385 2002-04-13 Adam King <aking@dreammechanics.com>
10386
10387 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10388 the f/F/d/D modifiers.
10389
10390 2002-04-12 Anthony Green <green@redhat.com>
10391
10392 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10393 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10394 * Makefile.in: Rebuilt.
10395 * configure.in: Substitute gcc_version.
10396 * configure: Rebuilt.
10397
10398 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10399
10400 * configure.host: Set can_unwind_signal on hosts which support it.
10401 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10402 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10403 exceptions and can_unwind_signal isn't set.
10404 * configure: Rebuilt.
10405
10406 2002-04-11 Tom Tromey <tromey@redhat.com>
10407
10408 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10409
10410 2002-04-11 Adam King <aking@dreammechanics.com>
10411 Tom Tromey <tromey@redhat.com>
10412
10413 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10414 _Jv_ThrowNullPointerException): Mark as noreturn.
10415 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10416 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10417 fixes.
10418
10419 2002-04-10 Tom Tromey <tromey@redhat.com>
10420
10421 * Makefile.in: Rebuilt.
10422 * Makefile.am (java/lang/Thread.h): Mark
10423 _Jv_AttachCurrentThreadAsDaemon as friend.
10424 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10425 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10426 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10427 function.
10428 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10429 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10430 (_Jv_JNI_InvokeFunctions): Added
10431 _Jv_JNI_AttachCurrentThreadAsDaemon.
10432 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10433 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10434 (JNI_CreateJavaVM): Likewise.
10435 (_Jv_JNI_AttachCurrentThread): Likewise.
10436 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10437 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10438 (_Jv_JNIFunctions): Initialize new fields.
10439 (_Jv_JNI_NewDirectByteBuffer): New function.
10440 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10441 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10442 * include/jni.h (JNI_VERSION_1_4): New macro.
10443 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10444 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10445 (JNINativeInterface::NewDirectByteBuffer): New field.
10446 (JNINativeInterface::GetDirectBufferAddress): New field.
10447 (JNINativeInterface::GetDirectBufferCapacity): New field.
10448 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10449 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10450 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10451
10452 2002-04-09 Tom Tromey <tromey@redhat.com>
10453
10454 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10455
10456 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10457
10458 Fix for PR libgcj/6187:
10459 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10460 distance.
10461
10462 2002-04-07 Mark Wielaard <mark@klomp.org>
10463
10464 * java/util/AbstractMap.java (putAll): Use entrySet size.
10465 (toString): Explicitly use getKey() and getValue().
10466
10467 2002-04-07 Mark Wielaard <mark@klomp.org>
10468
10469 * java/util/Hashtable.java (contains): Remove NullPointer check.
10470 (containsValue): Add NullPointer check.
10471 (remove): Always throw NullPointerException when key
10472 is null.
10473
10474 2002-04-07 Adam King <aking@dreammechanics.com>
10475
10476 * java/lang/natSystem.cc (init_properties): Call new function
10477 _Jv_platform_initProperties.
10478 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10479 support for the System properties os.name, os.arch, os.version,
10480 user.name, user.home, and user.dir.
10481 * include/posix.h, include/win32.h, posix.cc: New function
10482 _Jv_platform_initProperties.
10483
10484 2002-04-06 Mark Wielaard <mark@klomp.org>
10485
10486 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10487
10488 2002-04-06 Mark Wielaard <mark@klomp.org>
10489
10490 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10491 all of the remaining elements.
10492 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10493 (removeRange): If toIndex == fromIndex do
10494 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10495 (removeAll): Always throw NullPointerException when collection is
10496 null.
10497 (retrainAll): Likewise.
10498
10499 2002-04-05 Mark Wielaard <mark@klomp.org>
10500
10501 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10502 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10503
10504 2002-04-05 Adam Megacz <adam@xwt.org>
10505
10506 * exception.cc (abort): added static modifier
10507
10508 2002-04-04 Adam Megacz <adam@xwt.org>
10509
10510 * include/win32.h (_Jv_platform_close_on_exec): added inline
10511 modifier.
10512
10513 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10514
10515 * configure.host: Add case statement to support generic port
10516 properties. Add *-*-freebsd* section.
10517
10518 2002-04-04 Mark Wielaard <mark@klomp.org>
10519
10520 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10521 test.
10522 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10523 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10524 that depend on awt code and BufferedByteOutputStream.interrupt.
10525
10526 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10527
10528 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10529 incorrect "hi" value when count > 40.
10530
10531 2002-04-03 Mark Wielaard <mark@klomp.org>
10532
10533 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10534 ordering.
10535
10536 2002-04-02 Tom Tromey <tromey@redhat.com>
10537
10538 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10539 not `0'.
10540
10541 2002-04-02 Mark Wielaard <mark@klomp.org>
10542
10543 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10544 list of testsuite crashers.
10545
10546 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10547
10548 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10549 when resizing table.
10550
10551 2002-04-01 Mark Wielaard <mark@klomp.org>
10552
10553 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10554 NegativeArraySizeException
10555 (clear(int)): Use sign extended shift.
10556 (flip(int)): Likewise.
10557 (get(int)): Likewise.
10558 (nextClearBit(int)): Likewise.
10559 (nextSetBit(int)): Likewise.
10560 (set(int)): Likewise.
10561
10562 2002-04-01 Mark Wielaard <mark@klomp.org>
10563
10564 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10565 that can be compiled now and add testsuite crashers to ignore list.
10566
10567 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10568
10569 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10570
10571 * libgcj.spec.in: Override libgcc, not lib.
10572 * libgcj-test.spec.in: Likewise.
10573
10574 2002-03-29 Tom Tromey <tromey@redhat.com>
10575
10576 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10577 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10578
10579 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10580
10581 * java/net/PlainDatagramSocketImpl.java
10582 (close): Use native implementation.
10583 (finalize): New method.
10584
10585 * java/net/PlainSocketImpl.java (finalize): New method.
10586
10587 * java/net/natPlainDatagramSocketImpl.cc
10588 (java/io/FileDescriptor.h): Don't include.
10589 (close): Implement method here.
10590 (create): Don't assign fd.
10591
10592 * java/net/natPlainSocketImpl.cc
10593 (java/io/FileDescriptor.h): Don't include.
10594 (create): Don't assign fd.
10595 (accept): Likewise.
10596 (close): Synchronize.
10597
10598 2002-03-27 Richard Henderson <rth@redhat.com>
10599
10600 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10601
10602 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10603
10604 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10605 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10606 instead of syscall on IA-64.
10607 Add FIXME comment.
10608
10609 2002-03-27 Anthony Green <green@redhat.com>
10610
10611 * libgcj.spec.in: Add CHECKREFSPEC.
10612 * configure.in: Ditto.
10613 * configure.host: Ditto. Check references for xscale-elf.
10614 * configure: Rebuilt.
10615
10616 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10617
10618 * include/dwarf2-signal.h: Temporarily back out last change.
10619
10620 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10621
10622 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10623
10624 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10625
10626 * configure.in, configure: enable dwarf2-exception-style
10627 exception handling on IA-64.
10628 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10629 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10630 Add FIXME comment.
10631
10632 2002-03-25 Tom Tromey <tromey@redhat.com>
10633
10634 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10635 (jv_convert_LDFLAGS): Likewise.
10636 (gij_LDFLAGS): Likewise.
10637 (rmic_LDFLAGS): Likewise.
10638 (rmiregistry_LDFLAGS): Likewise.
10639 * configure.in (THREADLDFLAGS): New subst; set correctly for
10640 *BSD.
10641
10642 2002-03-25 Tom Tromey <tromey@redhat.com>
10643
10644 For PR libgcj/5303:
10645 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10646 and --version.
10647 (help): New method.
10648 (version): Likewise.
10649 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10650 "GNU".
10651 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10652 "GNU".
10653
10654 2002-03-25 Tom Tromey <tromey@redhat.com>
10655
10656 * java/awt/Component.java (processEvent): Check ComponentEvent
10657 after KeyEvent.
10658
10659 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10660
10661 * java/io/PushbackReader.java: Reformat.
10662
10663 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10664 calculate correct number of bytes skipped.
10665
10666 Based on patch from Intel's ORP team:
10667 * java/io/PushbackInputStream.java (available): Calculate correct
10668 number of bytes in buffer.
10669 (read): Remove redundant bound check. Return bytes from both the
10670 buffer and the stream.
10671
10672 2002-03-24 Tom Tromey <tromey@redhat.com>
10673
10674 * java/awt/TextComponent.java (TextComponent): Editable by
10675 default.
10676
10677 * java/awt/MenuItem.java (eventMask): No longer private.
10678 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10679 superclass if we didn't handle event.
10680 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10681 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10682 * java/awt/Choice.java (dispatchEventImpl): New method.
10683 * java/awt/List.java (dispatchEventImpl): New method.
10684 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10685 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10686 * java/awt/TextField.java (dispatchEventImpl): New method.
10687
10688 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10689
10690 * java/beans/IntrospectionException.java: Update to 1.4.
10691 * java/beans/PropertyVetoException.java: Ditto.
10692
10693 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10694
10695 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10696 Arrays.equals instead of ArrayHelper.equalsArray.
10697
10698 2002-03-24 C. Brian Jones <cbj@gnu.org>
10699
10700 * java/beans/Introspector.java: added new static final fields
10701 introduced in 1.2, lots of other updates remain to be done
10702
10703 2002-03-24 C. Brian Jones <cbj@gnu.org>
10704
10705 * java/beans/Introspector.java: reformatting
10706
10707 2002-03-24 C. Brian Jones <cbj@gnu.org>
10708
10709 * java/beans/Introspector.java: default beanInfoSearchPath will
10710 not include sun.beans.infos given we provide no such package and
10711 the API doesn't really require it; gnu.java.beans.info is the
10712 default.
10713
10714 2002-03-24 Mark Wielaard <mark@klomp.org>
10715
10716 Thanks to Orp developers
10717 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10718 switch TRUE and FALSE return values.
10719
10720 2002-03-23 Tom Tromey <tromey@redhat.com>
10721
10722 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10723 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10724
10725 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10726
10727 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10728 MONTH entry. Fixes PR libgcj/6045.
10729
10730 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10731
10732 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10733
10734 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10735
10736 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10737 not release_set.
10738 * sysdep/powerpc/locks.h (write_barrier): New function.
10739 * sysdep/i386/locks.h (write_barrier): New function.
10740
10741 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10742
10743 * include/jni.h Use correct C comments.
10744
10745 2002-03-18 Tom Tromey <tromey@redhat.com>
10746
10747 * include/jni.h (JNIIMPORT): New macro.
10748 (JNIEXPORT): Likewise.
10749 (JNICALL): Likewise.
10750
10751 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10752
10753 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10754 systems.
10755
10756 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10757
10758 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10759 INIT_SEGV: Use old_i386_kernel_sigaction.
10760 INIT_FP: Likewise.
10761
10762 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10763
10764 * java/lang/natSystem.cc (init_properties): Update VM version
10765 properties.
10766 * configure.in: Set GCJVERSION.
10767 * acconfig.h: Add GCJVERSION.
10768 * configure: Rebuilt.
10769 * include/config.h.in: Rebuilt.
10770
10771 2002-03-17 Anthony Green <green@redhat.com>
10772
10773 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10774
10775 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10776
10777 Build a single libgcj.so, without separate gc and zlib libraries.
10778 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10779 SYS_ZLIBS if system zlib is used.
10780 * configure: Rebuilt.
10781 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10782 * Makefile.in: Rebuilt.
10783 * libtool-version: Increment .so version number.
10784
10785 * Makefile.am: Escape quotes in echo.
10786 * Makefile.in: Rebuilt.
10787
10788 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10789
10790 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10791 * Makefile.in: Rebuilt.
10792
10793 2002-03-15 Anthony Green <green@redhat.com>
10794
10795 * configure.host (FILE): New macro for specifing File
10796 implementation.
10797 * configure: Rebuilt.
10798 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10799
10800 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10801
10802 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10803 already implicitly brought in from libgcj.la.
10804 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10805 * Makefile.in: Rebuilt.
10806
10807 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10808
10809 * THANKS: Fix punctuation, alphabetization.
10810
10811 2002-03-15 Tom Tromey <tromey@redhat.com>
10812 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10813
10814 Fix for PR libgcj/5944.
10815 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10816
10817 2002-03-15 Anthony Green <green@redhat.com>
10818
10819 * configure.in (tool_include_dir): Define.
10820 * configure: Rebuilt.
10821 * gcj/Makefile.am: Install libgcj-config.h relative to
10822 tool_include_dir.
10823 * gcj/Makefile: Rebuilt.
10824 * gcj/libgcj-config.h: Add warning comment.
10825
10826 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10827
10828 * configure.host (powerpc*-darwin*): Enable interpreter.
10829
10830 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10831
10832 * include/posix.h: Add multiple include header protection.
10833 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10834
10835 2002-03-10 Adam Megacz <adam@xwt.org>
10836
10837 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10838
10839 2002-03-10 Tom Tromey <tromey@redhat.com>
10840
10841 * java/awt/GridLayout.java (layoutContainer): Handle case where
10842 there are no items in container.
10843
10844 * java/lang/Win32Process.java: Added comment.
10845 * include/posix.h (_Jv_platform_close_on_exec): New function.
10846 Include fcntl.h.
10847 * include/win32.h (_Jv_platform_close_on_exec): New function.
10848 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10849 flag.
10850 (accept): Likewise.
10851 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10852 close-on-exec flag.
10853 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10854 flag.
10855
10856 2002-03-09 Tom Tromey <tromey@redhat.com>
10857
10858 * verify.cc (state::NO_STACK): New constant.
10859 (state::is_unmerged_ret_state): Handle case where stacktop is
10860 NO_STACK.
10861 (state::merge): Handle NO_STACK merges.
10862 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10863 for instruction following jsr.
10864 (stacktop, stackdepth): Removed unused variables.
10865 (pop_jump): Ignore case where all remaining states are skipped.
10866
10867 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10868
10869 * java/awt/ImageMediaEntry: Removed.
10870 * java/awt/MediaEntry: Removed.
10871
10872 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10873
10874 Hashtable synchronization for PowerPC.
10875 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10876 slow_pthread_self. Set up symlink for sysdeps directory.
10877 * configure: Rebuild.
10878 * configure.host: Document more shell variables. Set sysdeps_dir
10879 for most platforms. Set slow_pthread_self for i686. Set
10880 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10881 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10882 that memory barrier is emitted where required.
10883 * prims.cc: 64-bit align static primitive class instances.
10884 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10885 read_barrier() to enforce ordering of reads.
10886 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10887 primitives for PowerPC.
10888 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10889 moved from natObject.cc.
10890 * sysdep/alpha/locks.h: Likewise.
10891 * sysdep/ia64/locks.h: Likewise.
10892 * sysdep/generic/locks.h: Likewise.
10893 * java/lang/natObject.cc: Move thread synchronization primitives to
10894 system-dependent headers.
10895
10896 2002-03-09 Adam Megacz <adam@xwt.org>
10897
10898 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10899 bytes read and no failure code returned.
10900
10901 2002-03-09 Adam Megacz <adam@xwt.org>
10902
10903 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10904 definitions to simulate -mthreads.
10905
10906 2002-03-09 Adam Megacz <adam@xwt.org>
10907
10908 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10909 avoid precision loss.
10910
10911 2002-03-09 Per Bothner <per@bothner.com>
10912
10913 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10914 * gnu/gcj/xlib/XImage.java: Likewise.
10915 * gnu/gcj/xlib/XColor.java: Likewise.
10916
10917 2002-03-09 Adam Megacz <adam@xwt.org>
10918
10919 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10920 IOException so that Throwable.printStackTrace fails correctly.
10921
10922 2002-03-08 Adam Megacz <adam@xwt.org>
10923
10924 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10925 fixed.
10926
10927 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10928
10929 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10930 truncated to int.
10931
10932 2002-03-08 Tom Tromey <tromey@redhat.com>
10933
10934 * include/jni.h: Include stdio.h.
10935
10936 2002-03-08 Tom Tromey <tromey@redhat.com>
10937
10938 * posix.cc (internal_gettimeofday): New function.
10939 (_Jv_select): Use it.
10940
10941 2002-03-07 Adam Megacz <adam@xwt.org>
10942
10943 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10944 WIN32, and added thunks for read(), write(), and close().
10945 * java/net/natPlainSocketImpl.cc (accept, read, read):
10946 Disabled timeouts on WIN32 pending discussion.
10947
10948 2002-03-07 Adam Megacz <adam@xwt.org>
10949
10950 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10951 returns jlong. Added implementation
10952 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10953 returns jlong.
10954 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10955 returns jlong.
10956 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10957 returns jlong.
10958 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10959 _Jv_platform_gettimeofday signature.
10960
10961 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10962
10963 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10964 (read): Call recv() directly, not _Jv_recv().
10965
10966 2002-03-06 Tom Tromey <tromey@redhat.com>
10967
10968 * java/io/natFileDescriptorEcos.cc (init): Don't use
10969 GetStdHandle.
10970 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10971 is negative.
10972 (init): Don't use GetStdHandle.
10973
10974 * include/config.h.in: Rebuilt.
10975 * configure: Rebuilt.
10976 * Makefile.in: Rebuilt.
10977
10978 2002-03-06 Adam Megacz <adam@xwt.org>
10979
10980 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10981 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10982 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10983 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10984
10985 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10986
10987 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10988 the code for generating include/java-chartables.h.
10989 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10990 merge with Classpath.
10991 * scripts/unicode-muncher.pl: Copy from Classpath.
10992 * scritps/MakeCharTables.java: New file.
10993 * gnu/gcj/convert/Blocks-3.txt: New file.
10994 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10995 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10996 * gnu/java/lang/CharData.java: Copy from Classpath.
10997 * Makefile.am (ordinary_java_source_files): Add
10998 gnu/java/lang/CharData.java.
10999 * configure.in: Remove --enable-fast-character option.
11000 * java/lang/Character.java: Merge algorithms and Javadoc with
11001 Classpath.
11002 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11003 efficiently.
11004 * include/java-chardecomp.h: Regenerate.
11005 * include/java-chartables.h: Regenerate.
11006
11007 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11008
11009 * java/awt/MediaTracker.java: Implemented.
11010 * Makefile.am: Add MediaTracker.
11011 * Makefile.in: Rebuilt.
11012
11013 2002-03-05 Tom Tromey <tromey@redhat.com>
11014
11015 * java/lang/natPosixProcess.cc (fail): Removed.
11016 (startProcess): Simplified error-handling. Preserve
11017 LD_LIBRARY_PATH across exec.
11018
11019 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11020 AbstractMethodError.
11021
11022 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11023
11024 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11025 * Makefile.in: Rebuilt.
11026
11027 2002-03-03 Mark Wielaard <mark@klomp.org>
11028
11029 * java/util/Timer (TaskQueue.stop): set elements to zero.
11030
11031 2002-02-28 Anthony Green <green@redhat.com>
11032
11033 * java/lang/reflect/natMethod.cc (result): Add void* element.
11034 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11035 constructor test.
11036
11037 2002-02-27 Adam Megacz <adam@xwt.org>
11038
11039 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11040 '#undef STRICT'.
11041
11042 2002-02-26 Tom Tromey <tromey@redhat.com>
11043
11044 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11045 * gij.cc (version): Use __VERSION__.
11046 * include/config.h.in: Rebuilt.
11047 * acconfig.h (GCJVERSION): Removed.
11048 * configure: Rebuilt.
11049 * configure.in (GCJVERSION): Removed.
11050
11051 2002-02-26 Andreas Schwab <schwab@suse.de>
11052
11053 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11054 glibcpp_CXX, since libjava uses even another CXX.
11055 * aclocal.m4, configure: Regenerated.
11056
11057 2002-02-26 Tom Tromey <tromey@redhat.com>
11058
11059 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11060 `1'.
11061
11062 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11063
11064 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11065 dependency tracking for .java files.
11066 * Makefile.in: Rebuilt.
11067
11068 2002-02-24 Adam Megacz <adam@xwt.org>
11069
11070 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11071 typo. Sorry.
11072
11073 2002-02-24 Adam Megacz <adam@xwt.org>
11074
11075 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11076 for Win32, changed #ifdefs to check WIN32 instead of the
11077 (now-obsolete) USE_WINSOCK, and removed support for socket
11078 timeouts on Win32 pending further discussion.
11079
11080 2002-02-24 Adam Megacz <adam@xwt.org>
11081
11082 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11083 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11084 delete
11085
11086 2002-02-24 Adam Megacz <adam@xwt.org>
11087
11088 * java/lang/Win32Process.java: Created a dummy class to allow
11089 build process to run to completion.
11090
11091 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11092
11093 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11094 Define ffi_result union for ffi_call result. Cast
11095 ffi_result members to jvalue.
11096
11097 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11098
11099 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11100 * testsuite/Makefile.in: Likewise.
11101
11102 2002-02-20 Per Bothner <per@bothner.com>
11103
11104 * java/net/URL.java (getPath): New JDK 1.3 method.
11105
11106 * java/net/URLStreamHandler.java (parseURL):
11107 It is wrong to prepend '/' to the file part of a relative url.
11108
11109 * java/net/URLStreamHandler.java (parseURL):
11110 Minor optizations - append '/' rather than "/".
11111
11112 * java/net/URLStreamHandler.java (parseURL):
11113 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11114 We probably should canonicalize for a context-relative url, though.
11115 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11116 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11117 (sameFile): New method. Uses canonicalizeFilename.
11118
11119 2002-02-22 Tom Tromey <tromey@redhat.com>
11120
11121 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11122 java.vendor and java.vm.vendor.
11123 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11124 recent copyright date.
11125 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11126 * gij.cc (version): Print `Inc'.
11127
11128 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11129
11130 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11131 * aclocal.m4, configure: Rebuilt.
11132
11133 2002-02-20 Per Bothner <per@bothner.com>
11134
11135 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11136 and/or output streams immediately here, instead of using File.exists.
11137 (inputStream, outputStream): New fields to save open streams.
11138 (getInputStream, getOutputStream): Use already-opened streams.
11139
11140 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11141
11142 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11143 Use it.
11144 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11145 * aclocal.m4, configure, Makefile.in: Rebuilt.
11146
11147 2002-02-19 Tom Tromey <tromey@redhat.com>
11148
11149 Fix for PR libgcj/5696:
11150 * verify.cc (is_assignable_from_slow): Never call
11151 _Jv_IsAssignableFrom.
11152 (verify_instructions_0): Added new debug statement.
11153 (state::print): Print information about whether local has
11154 changed.
11155 (state::merge): Don't call note_variable when merging locals.
11156 (state::set_exception): Removed old FIXME comment.
11157
11158 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11159
11160 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11161 enable SO_BROADCAST.
11162
11163 2002-02-18 Jason Merrill <jason@redhat.com>
11164
11165 * name-finder.cc (toHex): Use word mode, not long long.
11166
11167 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11168
11169 2002-02-15 Tom Tromey <tromey@redhat.com>
11170
11171 Fix for PR libgcj/5695:
11172 * verify.cc (is_assignable_from_slow): Check to see if target is
11173 an Object before checking to see if source is an interface.
11174 (verify_instructions_0) [op_invokeinterface]: Handle case where
11175 we're making an interface call on Object.
11176
11177 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11178
11179 * Makefile.in: Rebuilt with Eric's change below.
11180
11181 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11182 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11183 Removed functions which are now implemented in Math.java.
11184
11185 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11186
11187 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11188 * Makefile.am (core_java_source_files): Add
11189 java/lang/StrictMath.java.
11190 * java/lang/Math.java: Merge with Classpath.
11191 * java/lang/StrictMath.java: New file - merge with Classpath.
11192
11193 2002-02-14 Mark Wielaard <mark@klomp.org>
11194
11195 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11196 package as a workaround for gcj 3.0.x
11197
11198 2002-02-14 Mark Wielaard <mark@klomp.org>
11199
11200 * java/security/BasicPermission.java: extends with fully qualified
11201 classname as workaround for gcj 3.0.4.
11202
11203 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11204
11205 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11206 around gcj bug of wrong emitted qualifier for inherited method.
11207 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11208 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11209 constructor to reduce amount of emitted bytecode. While this
11210 happens to work around a jikes 1.15 bug, it is still a useful
11211 patch even for correct compilers.
11212 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11213 * gnu/java/rmi/server/UnicastRemoteCall.java
11214 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11215
11216 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11217
11218 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11219 * java/net/SocketImpl.java: Ditto.
11220 * java/rmi/server/RMIClassLoader.java: Ditto.
11221 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11222
11223 2002-02-14 Mark Wielaard <mark@klomp.org>
11224
11225 Thanks to Takashi Okamoto
11226 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11227 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11228 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11229
11230 2002-02-13 Todd Stock <toddastock@yahoo.com>
11231
11232 Fix for PR libgcj/5670:
11233 * verify.cc (is_assignable_from_slow): If `source' is interface,
11234 recursively look for merge with `target'.
11235
11236 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11237
11238 * include/jni.h: Fix typo.
11239
11240 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11241
11242 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11243 correctly.
11244
11245 2002-02-13 Todd Stock <toddastock@yahoo.com>
11246
11247 Fix for PR libgcj/5671:
11248 * verify.cc (state::merge): Handle case where we're merging
11249 against an interface.
11250
11251 2002-02-12 Tom Tromey <tromey@redhat.com>
11252
11253 * exception.cc (std::abort): Mark as noreturn.
11254
11255 2002-02-12 Adam Megacz <adam@xwt.org>
11256
11257 * java/lang/Win32Process.java: Filled in a placeholder
11258 implementation so Win32 will build.
11259
11260 2002-02-12 Adam Megacz <adam@xwt.org>
11261
11262 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11263 * java/io/natFile.cc: Removed from repository.
11264 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11265
11266 2002-02-12 Adam Megacz <adam@xwt.org>
11267
11268 * win32.cc: Added two #includes to make win32.cc compile.
11269
11270 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11271
11272 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11273 declarations.
11274 (_Jv_InitGC): Don't bother locking, as this is always called from a
11275 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11276
11277 2002-02-11 Adam Megacz <adam@xwt.org>
11278
11279 * include/win32.h: Added _Jv_platform_gettimeofday.
11280 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11281
11282 2002-02-11 Adam Megacz <adam@xwt.org>
11283
11284 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11285 Added #undef STRICT to make windows.h and
11286 java/lang/reflect/Modifier.h cooperate.
11287
11288 2002-02-11 Adam Megacz <adam@xwt.org>
11289
11290 * java/io/natFileWin32.cc: Created a placeholder class with lots
11291 of FIXMEs.
11292
11293 2002-02-11 Adam Megacz <adam@xwt.org>
11294
11295 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11296 std::abort() to simply abort(). Also added "fake" std::abort() so
11297 we can #include unwind-pe.h without having to link against
11298 libstdc++-v3.
11299
11300 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11301
11302 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11303
11304 2002-02-08 Tom Tromey <tromey@redhat.com>
11305
11306 * interpret.cc (convert): New function.
11307 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11308 convert.
11309 Include Long.h.
11310
11311 2002-02-08 Anthony Green <green@redhat.com>
11312
11313 * configure.host: Add support for xscale-elf embedded target.
11314
11315 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11316
11317 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11318 dereferenced.
11319 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11320 frame.
11321
11322 2002-02-07 Tom Tromey <tromey@redhat.com>
11323
11324 * java/io/natFile.cc (_access): Use __builtin_alloca.
11325 (_stat): Likewise.
11326 (attr): Likewise.
11327 (getCanonicalPath): Likewise.
11328 (performList): Likewise.
11329 (performMkdir): Likewise.
11330 (performSetReadOnly): Likewise.
11331 (performRenameTo): Likewise.
11332 (performSetLastModified): Likewise.
11333 (performCreate): Likewise.
11334 (performDelete): Likewise.
11335
11336 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11337
11338 * HACKING: Fix URL for the automake-gcj.
11339
11340 2002-02-07 Tom Tromey <tromey@redhat.com>
11341
11342 * java/lang/natThrowable.cc: Updated copyright.
11343 * java/io/natFileWin32.cc: Updated copyright.
11344 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11345 * win32-threads.cc: Updated copyright.
11346 * name-finder.cc: Updated copyright.
11347 * include/name-finder.h: Updated copyright.
11348
11349 * include/name-finder.h: Conditionally include sys/wait.h.
11350 * include/config.h.in: Rebuilt.
11351
11352 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11353 Size buffer based on real size of string.
11354 (_stat): Likewise.
11355 (attr): Likewise.
11356 (getCanonicalPath): Likewise.
11357 (performList): Likewise.
11358 (performMkdir): Likewise.
11359 (performSetReadOnly): Likewise.
11360 (unixroot): Removed.
11361 (performRenameTo): Likewise.
11362 (performSetLastModified): Likewise.
11363 (performCreate): Likewise.
11364 (performDelete): Likewise.
11365 (performListRoots): Always return new array.
11366
11367 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11368 * win32.cc (win32_exception_handler): Now static.
11369 * include/win32.h (_Jv_platform_initialize): Declare.
11370 (win32_exception_handler): Don't declare.
11371 * java/lang/natSystem.cc (currentTimeMillis): Use
11372 _Jv_platform_gettimeofday.
11373 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11374 (_Jv_select): Use new name.
11375 (_Jv_platform_initialize): New function.
11376 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11377 _Jv_gettimeofday.
11378 (_Jv_platform_initialize): Declare.
11379
11380 * configure: Rebuilt.
11381 * configure.in: Removed unnecessary parens.
11382
11383 2002-02-06 Adam Megacz <adam@xwt.org>
11384
11385 * configure.in: Changed mingw) to *mingw*).
11386 * win32.cc: Created this file.
11387 * win32.h: Created this file.
11388 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11389 win32_exception_handler from prims.cc to win32.cc, added
11390 header in win32.h.
11391 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11392 longer needed now that we have platform.h
11393
11394 2002-02-06 Adam Megacz <adam@xwt.org>
11395
11396 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11397 use uint<n>_t instead of LONG and BYTE
11398
11399 2002-02-06 Adam Megacz <adam@xwt.org>
11400
11401 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11402
11403 2002-02-06 Anthony Green <green@redhat.com>
11404
11405 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11406 Implement missing method stubs.
11407 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11408 targets.
11409 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11410 concept of timezones.
11411 (init_properties): Don't refer to _Jv_Environment_Properties
11412 when this feature is not available.
11413 * include/config.h.in: Rebuilt.
11414 * acconfig.h: Add DISABLE_MAIN_ARGS.
11415 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11416 * configure: Rebuilt.
11417 * configure.in: Add --disable-main-args option. Test for
11418 opendir function. Replace AC_CHECK_SIZEOF with
11419 AC_COMPILE_CHECK_SIZEOF.
11420 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11421 * aclocal.m4: Rebuilt.
11422 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11423
11424 2002-02-06 Tom Tromey <tromey@redhat.com>
11425
11426 * verify.cc (require_array_type): If argument is a null array of
11427 references, return null as the element type.
11428
11429 2002-02-06 Mark Wielaard <mark@klomp.org>
11430
11431 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11432 duplicate of a wide type.
11433
11434 2002-02-06 Tom Tromey <tromey@redhat.com>
11435
11436 * verify.cc (type::isnull): New method.
11437 (require_array_type): Handle case where array is null.
11438 (verify_instructions_0) [op_arraylength]: Likewise.
11439
11440 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11441
11442 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11443 Symlink PLATFORMH to platform.h.
11444 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11445 PLATFORMOBJS.
11446 * java/lang/natSystem.cc: #include platform.h not posix.h.
11447 * Makefile.in: Rebuilt with libgcj automake.
11448 * configure: Rebuilt.
11449
11450 2002-02-05 Richard Henderson <rth@redhat.com>
11451
11452 * Makefile.in: Undo munging last change.
11453
11454 2002-02-04 Adam Megacz <adam@xwt.org>
11455
11456 * win32.cc: Created it.
11457 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11458 which is set to posix.cc or win32.cc.
11459 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11460
11461 2002-02-04 Adam Megacz <adam@xwt.org>
11462
11463 * configure.in: Corrected mingw case branches; added * before
11464 and after.
11465
11466 2002-02-04 Adam Megacz <adam@xwt.org>
11467
11468 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11469 if compiling for win32
11470
11471 2002-02-04 Adam Megacz <adam@xwt.org>
11472
11473 * win32-threads.cc: #undef STRICT after gc.h inclusion
11474
11475 2002-02-02 Tom Tromey <tromey@redhat.com>
11476
11477 * Makefile.in: Rebuilt.
11478
11479 2002-02-02 Jason Merrill <jason@redhat.com>
11480
11481 * Makefile.am (clean-nat): New target.
11482
11483 2002-02-02 Tom Tromey <tromey@redhat.com>
11484
11485 * java/io/natFile.cc: Removed old "FIXME" comments.
11486
11487 2002-02-01 Tom Tromey <tromey@redhat.com>
11488
11489 * java/lang/natPosixProcess.cc (myclose): New function.
11490 (fail): Use it.
11491 (startProcess): Likewise.
11492
11493 2002-02-01 Adam Megacz <adam@xwt.org>
11494
11495 * prims.cc: Added #undef STRICT after #include<windows.h>.
11496
11497 2002-02-01 Adam Megacz <adam@xwt.org>
11498
11499 * prims.cc
11500 (_Jv_CreateJavaVM): We now use WIN32 instead of
11501 USE_WIN32_SIGNALLING and USE_WINSOCK.
11502 (win32_exception_handler): Now throws an exception out of
11503 the signal handler; assumes SJLJ.
11504
11505 2002-02-01 Adam Megacz <adam@xwt.org>
11506
11507 * win32-threads.cc:
11508 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11509 wait() algorithm to make it safe.
11510 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11511 Added lazy creation of Win32 Events for better performance
11512 (really_start): This now uses GC_CreateThread so boehm-gc
11513 knows about new threads even when statically linked.
11514
11515 2002-02-01 Adam Megacz <adam@xwt.org>
11516
11517 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11518 enable safer wait() algorithm.
11519 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11520 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11521 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11522 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11523 instead of mutex.
11524 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11525
11526 2002-02-01 Adam Megacz <adam@xwt.org>
11527
11528 * configure.in: Added support for mingw.
11529 * java/lang/Win32Process.java: Created as empty file.
11530 * java/lang/natWin32Process.cc: Created as empty file.
11531
11532 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11533
11534 PR java/4972
11535 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11536 for libiconv in LIBICONV variable.
11537 * configure: Regenerated.
11538
11539 2002-01-31 Tom Tromey <tromey@redhat.com>
11540
11541 * verify.cc (state::enter_subroutine): New method.
11542 (handle_jsr_insn): Use it.
11543 (state::merge): When processing a `ret', correctly use
11544 subroutine's state to determine which local variables have
11545 changed.
11546 (push_exception_jump): Don't let stack overflow.
11547
11548 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11549
11550 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11551 --version output.
11552
11553 2002-01-30 Tom Tromey <tromey@redhat.com>
11554
11555 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11556 parameter for `recv' return type.
11557
11558 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11559 (state::merge): ... not here.
11560 (subr_entry_info): New structure.
11561 (entry_points): New field.
11562 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11563 entry_points.
11564
11565 2002-01-29 Tom Tromey <tromey@redhat.com>
11566
11567 * java/awt/List.java (addNotify): Correctly check to see if peer
11568 does not exist.
11569
11570 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11571 to compute height of each cell, and number of columns to compute
11572 width of each cell.
11573 * java/awt/Window.java (getOwnedWindows): Don't return null.
11574 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11575 of component. Increment x using horizontal gap, not vertical
11576 gap.
11577
11578 2002-01-28 Tom Tromey <tromey@redhat.com>
11579
11580 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11581 `nargs' byte is number of words, not number of arguments.
11582
11583 2002-01-27 Tom Tromey <tromey@redhat.com>
11584
11585 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11586 (when): Likewise.
11587 * java/awt/event/InputEvent.java (modifiers, when): Now
11588 package-private.
11589
11590 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11591 and to-do list.
11592 (state::merge): Use current class' class loader.
11593 (state::print): Print subroutine.
11594 (state::merge): Don't look at subroutine of unmerged `ret'.
11595
11596 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11597
11598 * nogc.cc: Remove warnings.
11599 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11600 New functions.
11601
11602 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11603
11604 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11605 int, int): Remove empty "if" statement to work around compiler bug.
11606 (newPixels(int[], ColorModel, int, int): Likewise.
11607
11608 2002-01-25 Per Bothner <per@bothner.com>
11609
11610 * verify.cc (verify_fail): Change from being a top-level function
11611 to e method of _Jv_BytecodeVerifier. Emit current method name.
11612 Pass the current verifier to type: and state: methods as needed,
11613 for better error messages, and for resolve.
11614 (resolve): Pass current class's loader for Class.forName and
11615 _Jv_FindClassFromSignature, rather than using the default loader.
11616 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11617 (get_type_val_for_signature): Make non-static.
11618 (various methods): Pass start_PC implicitly, not explicitly.
11619
11620 2002-01-25 Tom Tromey <tromey@redhat.com>
11621
11622 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11623 loop termination condition.
11624 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11625 width.
11626
11627 2002-01-24 Tom Tromey <tromey@redhat.com>
11628
11629 * java/awt/Shape.java: Merged with Classpath.
11630 * java/awt/Scrollbar.java: Merged with Classpath.
11631
11632 * java/awt/Container.java (addNotify): Unconditionally call
11633 addNotifyContainerChildren and superclass addNotify.
11634
11635 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11636 getAlpha, not getBlue.
11637
11638 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11639
11640 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11641
11642 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11643 (grabPixels(long)): Wait to be notified that the ImageProducer has
11644 completed.
11645
11646 2002-01-24 Per Bothner <per@bothner.com>
11647
11648 * verify.cc (is_assignable_from_slow): If target is an interface,
11649 we must still check the source's superclass before giving up.
11650
11651 2002-01-24 Tom Tromey <tromey@redhat.com>
11652
11653 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11654
11655 2002-01-23 Tom Tromey <tromey@redhat.com>
11656
11657 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11658 `else'.
11659
11660 * Makefile.in: Rebuilt.
11661 * Makefile.am (awt_java_source_files): Added new files.
11662 * java/awt/Toolkit.java: Merged with Classpath.
11663 * java/awt/PrintGraphics.java: New file from Classpath.
11664 * java/awt/PrintJob.java: New file from Classpath.
11665 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11666 * java/awt/datatransfer/ClipboardOwner.java: New file from
11667 Classpath.
11668 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11669 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11670 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11671 Classpath.
11672 * java/awt/datatransfer/StringSelection.java: New file from
11673 Classpath.
11674 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11675 Classpath.
11676 * java/awt/datatransfer/Transferable.java: New file from
11677 Classpath.
11678 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11679 from Classpath.
11680
11681 * Makefile.in: Rebuilt.
11682 * Makefile.am (awt_java_source_files): Added new files.
11683 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11684 Classpath.
11685 * java/awt/image/CropImageFilter.java: New file from Classpath.
11686 * java/awt/image/FilteredImageSource.java: New file from
11687 Classpath.
11688 * java/awt/image/ImageFilter.java: New file from Classpath.
11689 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11690 * java/awt/image/PixelGrabber.java: New file from Classpath.
11691 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11692 * java/awt/image/ReplicateScaleFilter.java: New file from
11693 Classpath.
11694 * java/awt/image/ImageProducer.java: Replaced with Classpath
11695 version.
11696 * java/awt/image/ImageObserver.java: Replaced with Classpath
11697 version.
11698 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11699 version.
11700 * java/awt/GridBagConstraints.java (clone): Catch
11701 CloneNotSupportedException.
11702
11703 2002-01-23 Per Bothner <per@bothner.com>
11704
11705 * java/lang/reflect/natField.cc (setAddr): New function.
11706 Calls getAddr and then checks that the field isn't final.
11707 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11708 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11709 (set): Call setAddr before check that new value has right type,
11710 to better match specified semantics.
11711
11712 2002-01-22 Tom Tromey <tromey@redhat.com>
11713
11714 * java/awt/TextField.java: Replaced with Classpath version.
11715 * java/awt/TextArea.java: Replaced with Classpath version.
11716 * java/awt/TextComponent.java: Replaced with Classpath version.
11717
11718 * java/awt/GridBagConstraints.java: Updated copyright.
11719
11720 2002-01-22 Mark Wielaard <mark@klomp.org>
11721
11722 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11723 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11724 java/awt/Dialog.java java/awt/FileDialog.java
11725 java/awt/Font.java java/awt/FontMetrics.java
11726 java/awt/Image.java java/awt/ImageMediaEntry.java
11727 java/awt/Insets.java java/awt/List.java
11728 java/awt/MediaEntry.java java/awt/MediaTracker.java
11729 java/awt/Menu.java java/awt/MenuBar.java
11730 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11731 java/awt/PaintContext.java java/awt/Panel.java
11732 java/awt/PopupMenu.java java/awt/SystemColor.java
11733 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11734 java/awt/peer/CheckboxMenuItemPeer.java
11735 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11736 java/awt/peer/ComponentPeer.java
11737 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11738 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11739 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11740 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11741 java/awt/peer/MenuBarPeer.java
11742 java/awt/peer/MenuComponentPeer.java
11743 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11744 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11745 java/awt/peer/ScrollPanePeer.java
11746 java/awt/peer/ScrollbarPeer.java
11747 java/awt/peer/TextAreaPeer.java
11748 java/awt/peer/TextComponentPeer.java
11749 java/awt/peer/TextFieldPeer.java
11750 java/awt/peer/WindowPeer.java: Add license clarification.
11751
11752 2002-01-22 Mark Wielaard <mark@klomp.org>
11753
11754 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11755 gnu/gcj/runtime/StringBuffer.java
11756 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11757 gnu/java/awt/ComponentDataBlitOp.java
11758 gnu/java/awt/GLightweightPeer.java
11759 gnu/java/beans/BeanInfoEmbryo.java
11760 gnu/java/beans/EmptyBeanInfo.java
11761 gnu/java/beans/ExplicitBeanInfo.java
11762 gnu/java/beans/IntrospectionIncubator.java
11763 gnu/java/beans/editors/ColorEditor.java
11764 gnu/java/beans/editors/FontEditor.java
11765 gnu/java/beans/editors/NativeBooleanEditor.java
11766 gnu/java/beans/editors/NativeByteEditor.java
11767 gnu/java/beans/editors/NativeDoubleEditor.java
11768 gnu/java/beans/editors/NativeFloatEditor.java
11769 gnu/java/beans/editors/NativeIntEditor.java
11770 gnu/java/beans/editors/NativeLongEditor.java
11771 gnu/java/beans/editors/NativeShortEditor.java
11772 gnu/java/beans/editors/StringEditor.java
11773 gnu/java/beans/info/ComponentBeanInfo.java
11774 gnu/java/io/ClassLoaderObjectInputStream.java
11775 gnu/java/io/NullOutputStream.java
11776 gnu/java/io/ObjectIdentityWrapper.java
11777 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11778 gnu/java/lang/reflect/TypeSignature.java
11779 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11780 gnu/java/locale/Calendar_en.java
11781 gnu/java/locale/Calendar_nl.java
11782 gnu/java/locale/LocaleInformation.java
11783 gnu/java/locale/LocaleInformation_de.java
11784 gnu/java/locale/LocaleInformation_en.java
11785 gnu/java/locale/LocaleInformation_nl.java
11786 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11787 gnu/java/rmi/registry/RegistryImpl.java
11788 gnu/java/rmi/rmic/Compile_gcj.java
11789 gnu/java/rmi/rmic/Compiler.java
11790 gnu/java/rmi/rmic/CompilerProcess.java
11791 gnu/java/rmi/rmic/RMIC.java
11792 gnu/java/rmi/rmic/TabbedWriter.java
11793 gnu/java/rmi/server/ProtocolConstants.java
11794 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11795 gnu/java/rmi/server/RMIHashes.java
11796 gnu/java/rmi/server/RMIObjectInputStream.java
11797 gnu/java/rmi/server/RMIObjectOutputStream.java
11798 gnu/java/rmi/server/UnicastConnection.java
11799 gnu/java/rmi/server/UnicastConnectionManager.java
11800 gnu/java/rmi/server/UnicastRef.java
11801 gnu/java/rmi/server/UnicastRemoteCall.java
11802 gnu/java/rmi/server/UnicastRemoteStub.java
11803 gnu/java/rmi/server/UnicastServer.java
11804 gnu/java/rmi/server/UnicastServerRef.java
11805 gnu/java/security/provider/DefaultPolicy.java
11806 gnu/java/security/provider/Gnu.java
11807 gnu/java/security/provider/SHA.java
11808 gnu/java/security/provider/SHA1PRNG.java
11809 gnu/java/text/BaseBreakIterator.java
11810 gnu/java/text/CharacterBreakIterator.java
11811 gnu/java/text/LineBreakIterator.java
11812 gnu/java/text/SentenceBreakIterator.java
11813 gnu/java/text/WordBreakIterator.java
11814 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11815 java/applet/AppletContext.java java/applet/AppletStub.java
11816 java/applet/AudioClip.java java/awt/AWTError.java
11817 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11818 java/awt/AWTException.java java/awt/AWTPermission.java
11819 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11820 java/awt/Button.java java/awt/Canvas.java
11821 java/awt/CardLayout.java java/awt/Checkbox.java
11822 java/awt/CheckboxGroup.java java/awt/Component.java
11823 java/awt/ComponentOrientation.java java/awt/Container.java
11824 java/awt/Dimension.java java/awt/Event.java
11825 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11826 java/awt/FlowLayout.java java/awt/Frame.java
11827 java/awt/Graphics.java java/awt/Graphics2D.java
11828 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11829 java/awt/IllegalComponentStateException.java
11830 java/awt/ItemSelectable.java java/awt/Label.java
11831 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11832 java/awt/MenuComponent.java java/awt/MenuItem.java
11833 java/awt/Paint.java java/awt/Point.java
11834 java/awt/Rectangle.java java/awt/RenderingHints.java
11835 java/awt/Transparency.java java/awt/Window.java
11836 java/awt/color/ColorSpace.java
11837 java/awt/color/ICC_ColorSpace.java
11838 java/awt/color/ICC_Profile.java
11839 java/awt/event/HierarchyBoundsAdapter.java
11840 java/awt/event/HierarchyBoundsListener.java
11841 java/awt/event/HierarchyEvent.java
11842 java/awt/event/HierarchyListener.java
11843 java/awt/geom/AffineTransform.java
11844 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11845 java/awt/geom/IllegalPathStateException.java
11846 java/awt/geom/Line2D.java
11847 java/awt/geom/NoninvertibleTransformException.java
11848 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11849 java/awt/geom/Rectangle2D.java
11850 java/awt/geom/RectangularShape.java
11851 java/awt/geom/RoundRectangle2D.java
11852 java/awt/image/BufferedImage.java
11853 java/awt/image/ColorModel.java
11854 java/awt/image/ComponentColorModel.java
11855 java/awt/image/ComponentSampleModel.java
11856 java/awt/image/DataBuffer.java
11857 java/awt/image/DataBufferByte.java
11858 java/awt/image/DataBufferInt.java
11859 java/awt/image/DataBufferUShort.java
11860 java/awt/image/DirectColorModel.java
11861 java/awt/image/PackedColorModel.java
11862 java/awt/image/Raster.java java/awt/image/RasterOp.java
11863 java/awt/image/SampleModel.java
11864 java/awt/image/SinglePixelPackedSampleModel.java
11865 java/awt/image/WritableRaster.java
11866 java/beans/AppletInitializer.java
11867 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11868 java/beans/Beans.java java/beans/Customizer.java
11869 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11870 java/beans/FeatureDescriptor.java
11871 java/beans/IndexedPropertyDescriptor.java
11872 java/beans/IntrospectionException.java
11873 java/beans/Introspector.java java/beans/MethodDescriptor.java
11874 java/beans/ParameterDescriptor.java
11875 java/beans/PropertyChangeEvent.java
11876 java/beans/PropertyChangeListener.java
11877 java/beans/PropertyChangeSupport.java
11878 java/beans/PropertyDescriptor.java
11879 java/beans/PropertyEditor.java
11880 java/beans/PropertyEditorManager.java
11881 java/beans/PropertyEditorSupport.java
11882 java/beans/PropertyVetoException.java
11883 java/beans/SimpleBeanInfo.java
11884 java/beans/VetoableChangeListener.java
11885 java/beans/VetoableChangeSupport.java
11886 java/beans/Visibility.java
11887 java/beans/beancontext/BeanContext.java
11888 java/beans/beancontext/BeanContextChild.java
11889 java/beans/beancontext/BeanContextChildComponentProxy.java
11890 java/beans/beancontext/BeanContextChildSupport.java
11891 java/beans/beancontext/BeanContextContainerProxy.java
11892 java/beans/beancontext/BeanContextEvent.java
11893 java/beans/beancontext/BeanContextMembershipEvent.java
11894 java/beans/beancontext/BeanContextMembershipListener.java
11895 java/beans/beancontext/BeanContextProxy.java
11896 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11897 java/beans/beancontext/BeanContextServiceProvider.java
11898 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11899 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11900 java/beans/beancontext/BeanContextServiceRevokedListener.java
11901 java/beans/beancontext/BeanContextServices.java
11902 java/beans/beancontext/BeanContextServicesListener.java
11903 java/io/BufferedInputStream.java
11904 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11905 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11906 java/io/ByteArrayOutputStream.java
11907 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11908 java/io/CharConversionException.java java/io/DataInput.java
11909 java/io/DataInputStream.java java/io/DataOutput.java
11910 java/io/EOFException.java java/io/Externalizable.java
11911 java/io/FileFilter.java java/io/FileNotFoundException.java
11912 java/io/FilePermission.java java/io/FileReader.java
11913 java/io/FileWriter.java java/io/FilenameFilter.java
11914 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11915 java/io/FilterReader.java java/io/FilterWriter.java
11916 java/io/IOException.java java/io/InputStream.java
11917 java/io/InterruptedIOException.java
11918 java/io/InvalidClassException.java
11919 java/io/InvalidObjectException.java
11920 java/io/NotActiveException.java
11921 java/io/NotSerializableException.java java/io/ObjectInput.java
11922 java/io/ObjectInputStream.java
11923 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11924 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11925 java/io/ObjectStreamConstants.java
11926 java/io/ObjectStreamException.java
11927 java/io/ObjectStreamField.java
11928 java/io/OptionalDataException.java java/io/OutputStream.java
11929 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11930 java/io/PipedReader.java java/io/PipedWriter.java
11931 java/io/PrintWriter.java java/io/PushbackInputStream.java
11932 java/io/PushbackReader.java java/io/Reader.java
11933 java/io/SequenceInputStream.java java/io/Serializable.java
11934 java/io/SerializablePermission.java
11935 java/io/StreamCorruptedException.java
11936 java/io/StreamTokenizer.java
11937 java/io/StringBufferInputStream.java java/io/StringReader.java
11938 java/io/StringWriter.java java/io/SyncFailedException.java
11939 java/io/UTFDataFormatException.java
11940 java/io/UnsupportedEncodingException.java
11941 java/io/WriteAbortedException.java java/io/Writer.java
11942 java/lang/AbstractMethodError.java
11943 java/lang/ArithmeticException.java
11944 java/lang/ArrayIndexOutOfBoundsException.java
11945 java/lang/ArrayStoreException.java java/lang/Boolean.java
11946 java/lang/Byte.java java/lang/CharSequence.java
11947 java/lang/ClassCastException.java
11948 java/lang/ClassCircularityError.java
11949 java/lang/ClassFormatError.java
11950 java/lang/ClassNotFoundException.java
11951 java/lang/CloneNotSupportedException.java
11952 java/lang/Cloneable.java java/lang/Comparable.java
11953 java/lang/Compiler.java java/lang/Double.java
11954 java/lang/Error.java java/lang/Exception.java
11955 java/lang/ExceptionInInitializerError.java
11956 java/lang/Float.java java/lang/IllegalAccessError.java
11957 java/lang/IllegalAccessException.java
11958 java/lang/IllegalArgumentException.java
11959 java/lang/IllegalMonitorStateException.java
11960 java/lang/IllegalStateException.java
11961 java/lang/IllegalThreadStateException.java
11962 java/lang/IncompatibleClassChangeError.java
11963 java/lang/IndexOutOfBoundsException.java
11964 java/lang/InheritableThreadLocal.java
11965 java/lang/InstantiationError.java
11966 java/lang/InstantiationException.java java/lang/Integer.java
11967 java/lang/InternalError.java
11968 java/lang/InterruptedException.java
11969 java/lang/LinkageError.java java/lang/Long.java
11970 java/lang/NegativeArraySizeException.java
11971 java/lang/NoClassDefFoundError.java
11972 java/lang/NoSuchFieldError.java
11973 java/lang/NoSuchFieldException.java
11974 java/lang/NoSuchMethodError.java
11975 java/lang/NoSuchMethodException.java
11976 java/lang/NullPointerException.java java/lang/Number.java
11977 java/lang/NumberFormatException.java
11978 java/lang/OutOfMemoryError.java java/lang/Package.java
11979 java/lang/Process.java java/lang/Runnable.java
11980 java/lang/RuntimeException.java
11981 java/lang/RuntimePermission.java
11982 java/lang/SecurityException.java
11983 java/lang/SecurityManager.java java/lang/Short.java
11984 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11985 java/lang/StringIndexOutOfBoundsException.java
11986 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11987 java/lang/ThreadLocal.java java/lang/UnknownError.java
11988 java/lang/UnsatisfiedLinkError.java
11989 java/lang/UnsupportedClassVersionError.java
11990 java/lang/UnsupportedOperationException.java
11991 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11992 java/lang/Void.java java/lang/ref/PhantomReference.java
11993 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11994 java/lang/ref/SoftReference.java
11995 java/lang/ref/WeakReference.java
11996 java/lang/reflect/AccessibleObject.java
11997 java/lang/reflect/InvocationTargetException.java
11998 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11999 java/lang/reflect/ReflectPermission.java
12000 java/math/BigDecimal.java java/math/BigInteger.java
12001 java/net/Authenticator.java java/net/BindException.java
12002 java/net/ConnectException.java java/net/ContentHandler.java
12003 java/net/ContentHandlerFactory.java
12004 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12005 java/net/FileNameMap.java java/net/MalformedURLException.java
12006 java/net/MulticastSocket.java java/net/NetPermission.java
12007 java/net/NoRouteToHostException.java
12008 java/net/PasswordAuthentication.java
12009 java/net/ProtocolException.java java/net/ServerSocket.java
12010 java/net/Socket.java java/net/SocketException.java
12011 java/net/SocketImpl.java java/net/SocketImplFactory.java
12012 java/net/SocketOptions.java java/net/SocketPermission.java
12013 java/net/URLDecoder.java java/net/URLEncoder.java
12014 java/net/URLStreamHandlerFactory.java
12015 java/net/UnknownHostException.java
12016 java/net/UnknownServiceException.java
12017 java/rmi/AccessException.java
12018 java/rmi/AlreadyBoundException.java
12019 java/rmi/ConnectException.java
12020 java/rmi/ConnectIOException.java
12021 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12022 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12023 java/rmi/NotBoundException.java
12024 java/rmi/RMISecurityException.java
12025 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12026 java/rmi/RemoteException.java java/rmi/ServerError.java
12027 java/rmi/ServerException.java
12028 java/rmi/ServerRuntimeException.java
12029 java/rmi/StubNotFoundException.java
12030 java/rmi/UnexpectedException.java
12031 java/rmi/UnknownHostException.java
12032 java/rmi/UnmarshalException.java
12033 java/rmi/activation/Activatable.java
12034 java/rmi/activation/ActivateFailedException.java
12035 java/rmi/activation/ActivationDesc.java
12036 java/rmi/activation/ActivationException.java
12037 java/rmi/activation/ActivationGroup.java
12038 java/rmi/activation/ActivationGroupDesc.java
12039 java/rmi/activation/ActivationGroupID.java
12040 java/rmi/activation/ActivationID.java
12041 java/rmi/activation/ActivationInstantiator.java
12042 java/rmi/activation/ActivationMonitor.java
12043 java/rmi/activation/ActivationSystem.java
12044 java/rmi/activation/Activator.java
12045 java/rmi/activation/UnknownGroupException.java
12046 java/rmi/activation/UnknownObjectException.java
12047 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12048 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12049 java/rmi/registry/Registry.java
12050 java/rmi/registry/RegistryHandler.java
12051 java/rmi/server/ExportException.java
12052 java/rmi/server/LoaderHandler.java
12053 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12054 java/rmi/server/Operation.java
12055 java/rmi/server/RMIClassLoader.java
12056 java/rmi/server/RMIClientSocketFactory.java
12057 java/rmi/server/RMIFailureHandler.java
12058 java/rmi/server/RMIServerSocketFactory.java
12059 java/rmi/server/RMISocketFactory.java
12060 java/rmi/server/RemoteCall.java
12061 java/rmi/server/RemoteObject.java
12062 java/rmi/server/RemoteRef.java
12063 java/rmi/server/RemoteServer.java
12064 java/rmi/server/RemoteStub.java
12065 java/rmi/server/ServerCloneException.java
12066 java/rmi/server/ServerNotActiveException.java
12067 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12068 java/rmi/server/SkeletonMismatchException.java
12069 java/rmi/server/SkeletonNotFoundException.java
12070 java/rmi/server/SocketSecurityException.java
12071 java/rmi/server/UID.java
12072 java/rmi/server/UnicastRemoteObject.java
12073 java/rmi/server/Unreferenced.java
12074 java/security/AccessControlContext.java
12075 java/security/AccessControlException.java
12076 java/security/AccessController.java
12077 java/security/AlgorithmParameterGenerator.java
12078 java/security/AlgorithmParameterGeneratorSpi.java
12079 java/security/AlgorithmParameters.java
12080 java/security/AlgorithmParametersSpi.java
12081 java/security/AllPermission.java
12082 java/security/BasicPermission.java
12083 java/security/Certificate.java java/security/CodeSource.java
12084 java/security/DigestException.java
12085 java/security/DigestInputStream.java
12086 java/security/DigestOutputStream.java
12087 java/security/DomainCombiner.java
12088 java/security/DummyKeyPairGenerator.java
12089 java/security/DummyMessageDigest.java
12090 java/security/DummySignature.java
12091 java/security/GeneralSecurityException.java
12092 java/security/Guard.java java/security/GuardedObject.java
12093 java/security/Identity.java java/security/IdentityScope.java
12094 java/security/InvalidAlgorithmParameterException.java
12095 java/security/InvalidKeyException.java
12096 java/security/InvalidParameterException.java
12097 java/security/Key.java java/security/KeyException.java
12098 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12099 java/security/KeyManagementException.java
12100 java/security/KeyPair.java java/security/KeyPairGenerator.java
12101 java/security/KeyPairGeneratorSpi.java
12102 java/security/KeyStore.java
12103 java/security/KeyStoreException.java
12104 java/security/KeyStoreSpi.java
12105 java/security/MessageDigest.java
12106 java/security/MessageDigestSpi.java
12107 java/security/NoSuchAlgorithmException.java
12108 java/security/NoSuchProviderException.java
12109 java/security/Permission.java
12110 java/security/PermissionCollection.java
12111 java/security/Permissions.java java/security/Policy.java
12112 java/security/Principal.java java/security/PrivateKey.java
12113 java/security/PrivilegedAction.java
12114 java/security/PrivilegedActionException.java
12115 java/security/PrivilegedExceptionAction.java
12116 java/security/ProtectionDomain.java
12117 java/security/Provider.java
12118 java/security/ProviderException.java
12119 java/security/PublicKey.java
12120 java/security/SecureClassLoader.java
12121 java/security/SecureRandom.java
12122 java/security/SecureRandomSpi.java java/security/Security.java
12123 java/security/SecurityPermission.java
12124 java/security/Signature.java
12125 java/security/SignatureException.java
12126 java/security/SignatureSpi.java
12127 java/security/SignedObject.java java/security/Signer.java
12128 java/security/UnrecoverableKeyException.java
12129 java/security/UnresolvedPermission.java
12130 java/security/acl/Acl.java java/security/acl/AclEntry.java
12131 java/security/acl/AclNotFoundException.java
12132 java/security/acl/Group.java
12133 java/security/acl/LastOwnerException.java
12134 java/security/acl/NotOwnerException.java
12135 java/security/acl/Owner.java java/security/acl/Permission.java
12136 java/security/cert/CRL.java
12137 java/security/cert/CRLException.java
12138 java/security/cert/Certificate.java
12139 java/security/cert/CertificateEncodingException.java
12140 java/security/cert/CertificateException.java
12141 java/security/cert/CertificateExpiredException.java
12142 java/security/cert/CertificateFactory.java
12143 java/security/cert/CertificateFactorySpi.java
12144 java/security/cert/CertificateNotYetValidException.java
12145 java/security/cert/CertificateParsingException.java
12146 java/security/cert/X509CRL.java
12147 java/security/cert/X509CRLEntry.java
12148 java/security/cert/X509Certificate.java
12149 java/security/cert/X509Extension.java
12150 java/security/interfaces/DSAKey.java
12151 java/security/interfaces/DSAKeyPairGenerator.java
12152 java/security/interfaces/DSAParams.java
12153 java/security/interfaces/DSAPrivateKey.java
12154 java/security/interfaces/DSAPublicKey.java
12155 java/security/interfaces/RSAKey.java
12156 java/security/interfaces/RSAPrivateCrtKey.java
12157 java/security/interfaces/RSAPrivateKey.java
12158 java/security/interfaces/RSAPublicKey.java
12159 java/security/spec/AlgorithmParameterSpec.java
12160 java/security/spec/DSAParameterSpec.java
12161 java/security/spec/DSAPrivateKeySpec.java
12162 java/security/spec/DSAPublicKeySpec.java
12163 java/security/spec/EncodedKeySpec.java
12164 java/security/spec/InvalidKeySpecException.java
12165 java/security/spec/InvalidParameterSpecException.java
12166 java/security/spec/KeySpec.java
12167 java/security/spec/PKCS8EncodedKeySpec.java
12168 java/security/spec/RSAKeyGenParameterSpec.java
12169 java/security/spec/RSAPrivateCrtKeySpec.java
12170 java/security/spec/RSAPrivateKeySpec.java
12171 java/security/spec/RSAPublicKeySpec.java
12172 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12173 java/sql/BatchUpdateException.java java/sql/Blob.java
12174 java/sql/CallableStatement.java java/sql/Clob.java
12175 java/sql/Connection.java java/sql/DataTruncation.java
12176 java/sql/DatabaseMetaData.java java/sql/Date.java
12177 java/sql/Driver.java java/sql/DriverManager.java
12178 java/sql/DriverPropertyInfo.java
12179 java/sql/PreparedStatement.java java/sql/Ref.java
12180 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12181 java/sql/SQLData.java java/sql/SQLException.java
12182 java/sql/SQLInput.java java/sql/SQLOutput.java
12183 java/sql/SQLWarning.java java/sql/Statement.java
12184 java/sql/Struct.java java/sql/Time.java
12185 java/sql/Timestamp.java java/sql/Types.java
12186 java/text/Annotation.java
12187 java/text/AttributedCharacterIterator.java
12188 java/text/AttributedString.java
12189 java/text/AttributedStringIterator.java
12190 java/text/BreakIterator.java java/text/CharacterIterator.java
12191 java/text/ChoiceFormat.java java/text/Collator.java
12192 java/text/DateFormat.java java/text/DateFormatSymbols.java
12193 java/text/DecimalFormat.java
12194 java/text/DecimalFormatSymbols.java
12195 java/text/FieldPosition.java java/text/Format.java
12196 java/text/MessageFormat.java java/text/NumberFormat.java
12197 java/text/ParseException.java java/text/ParsePosition.java
12198 java/text/SimpleDateFormat.java
12199 java/text/StringCharacterIterator.java
12200 java/util/AbstractCollection.java java/util/AbstractList.java
12201 java/util/AbstractMap.java
12202 java/util/AbstractSequentialList.java
12203 java/util/AbstractSet.java java/util/ArrayList.java
12204 java/util/Arrays.java java/util/BasicMapEntry.java
12205 java/util/BitSet.java java/util/Calendar.java
12206 java/util/Collection.java java/util/Collections.java
12207 java/util/Comparator.java
12208 java/util/ConcurrentModificationException.java
12209 java/util/Date.java java/util/Dictionary.java
12210 java/util/EmptyStackException.java java/util/Enumeration.java
12211 java/util/EventListener.java java/util/EventObject.java
12212 java/util/GregorianCalendar.java java/util/HashMap.java
12213 java/util/HashSet.java java/util/Hashtable.java
12214 java/util/IdentityHashMap.java java/util/Iterator.java
12215 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12216 java/util/LinkedList.java java/util/List.java
12217 java/util/ListIterator.java java/util/ListResourceBundle.java
12218 java/util/Locale.java java/util/Map.java
12219 java/util/MissingResourceException.java
12220 java/util/NoSuchElementException.java
12221 java/util/Observable.java java/util/Observer.java
12222 java/util/Properties.java java/util/PropertyPermission.java
12223 java/util/PropertyResourceBundle.java java/util/Random.java
12224 java/util/RandomAccess.java java/util/ResourceBundle.java
12225 java/util/Set.java java/util/SimpleTimeZone.java
12226 java/util/SortedMap.java java/util/SortedSet.java
12227 java/util/Stack.java java/util/StringTokenizer.java
12228 java/util/TimeZone.java java/util/Timer.java
12229 java/util/TimerTask.java
12230 java/util/TooManyListenersException.java
12231 java/util/TreeMap.java java/util/TreeSet.java
12232 java/util/Vector.java java/util/WeakHashMap.java
12233 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12234 java/util/jar/JarException.java java/util/jar/JarFile.java
12235 java/util/jar/JarInputStream.java
12236 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12237 java/util/zip/Adler32.java java/util/zip/CRC32.java
12238 java/util/zip/CheckedInputStream.java
12239 java/util/zip/CheckedOutputStream.java
12240 java/util/zip/Checksum.java
12241 java/util/zip/DataFormatException.java
12242 java/util/zip/Deflater.java
12243 java/util/zip/DeflaterOutputStream.java
12244 java/util/zip/GZIPInputStream.java
12245 java/util/zip/GZIPOutputStream.java
12246 java/util/zip/Inflater.java
12247 java/util/zip/InflaterInputStream.java
12248 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12249 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12250 java/util/zip/ZipInputStream.java
12251 java/util/zip/ZipOutputStream.java
12252 javax/naming/BinaryRefAddr.java
12253 javax/naming/InvalidNameException.java javax/naming/Name.java
12254 javax/naming/NamingException.java javax/naming/RefAddr.java
12255 javax/naming/StringRefAddr.java: Add license clarification.
12256
12257 2002-01-22 Tom Tromey <tromey@redhat.com>
12258
12259 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12260 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12261 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12262 version.
12263 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12264 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12265 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12266 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12267 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12268 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12269 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12270 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12271 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12272 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12273 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12274 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12275 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12276 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12277 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12278 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12279 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12280 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12281 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12282 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12283 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12284 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12285 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12286 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12287 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12288 (minimumSize, preferredSize, reshape): Likewise.
12289 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12290 getColorModel): New methods.
12291 * java/awt/PopupMenu.java: Merged with Classpath.
12292 * java/awt/MenuBar.java: Merged with Classpath.
12293 * java/awt/SystemColor.java: Replace with Classpath version.
12294 * java/awt/Panel.java: Merged with Classpath.
12295 * java/awt/PaintContext.java: Updated copyright.
12296 * java/awt/MenuShortcut.java: Merged with Classpath.
12297 * java/awt/MenuContainer.java: Merged with Classpath.
12298 * java/awt/Menu.java: Merged with Classpath.
12299 * java/awt/MediaEntry.java: New file from Classpath.
12300 * java/awt/MediaTracker.java: New file from Classpath.
12301 * java/awt/List.java: Merged with Classpath version.
12302 * java/awt/Insets.java: Merged with Classpath version.
12303 * java/awt/ImageMediaEntry.java: New file from Classpath.
12304 * java/awt/Image.java: Replaced with Classpath version.
12305 * java/awt/FontMetrics.java: Merged with Classpath version.
12306 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12307 constant.
12308 * java/awt/Font.java: Merged with Classpath version.
12309 * java/awt/Dialog.java: Merged with Classpath version.
12310 * java/awt/Color.java: Merged with Classpath version.
12311 * java/awt/Choice.java: Merged with Classpath version.
12312 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12313 * java/awt/Adjustable.java: Replace with Classpath version.
12314 * java/awt/MenuItem.java (paramString): Don't include class name
12315 or brackets. Call superclass paramString.
12316 * java/awt/MenuComponent.java (toString): Call paramString.
12317 (paramString): Compute string; don't call toString.
12318 * java/awt/Label.java (paramString): Don't include class name
12319 or brackets. Call superclass paramString.
12320 * java/awt/Checkbox.java (paramString): Don't include class name
12321 or brackets. Call superclass paramString.
12322 * java/awt/Button.java (paramString): Don't include class name or
12323 brackets. Call superclass paramString.
12324 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12325
12326 2002-01-20 Andreas Schwab <schwab@suse.de>
12327
12328 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12329 function and of parameter recv_func to ssize_t, as specified by
12330 POSIX.
12331
12332 2002-01-19 Per Bothner <per@bothner.com>
12333
12334 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12335 uncompressed_size in readiness for next entry.
12336
12337 2002-01-18 Tom Tromey <tromey@redhat.com>
12338
12339 * java/net/natPlainSocketImpl.cc: Include
12340 IllegalArgumentException.h.
12341 (_Jv_recv): New template function.
12342 (BooleanClass): Removed.
12343 (read): Use _Jv_recv.
12344 (setOption): Use Boolean::class$. Throw exception if object is
12345 not Boolean or Integer.
12346
12347 2002-01-17 Tom Tromey <tromey@redhat.com>
12348
12349 * java/awt/MenuComponent.java: Merged with Classpath.
12350 * java/awt/MenuItem.java: Merged with Classpath.
12351 * java/awt/Button.java: Merged with Classpath.
12352
12353 * java/awt/ActiveEvent.java: Updated copyright.
12354
12355 * java/awt/AWTError.java: Replaced with Classpath version.
12356 * java/awt/AWTException.java: Replaced with Classpath version.
12357 * java/awt/IllegalComponentStateException.java: Replaced with
12358 Classpath version.
12359
12360 2002-01-16 Tom Tromey <tromey@redhat.com>
12361
12362 * java/awt/Canvas.java (serialVersionUID): New constant.
12363 Updated copyright. Added javadoc from Classpath.
12364 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12365
12366 * java/awt/CheckboxGroup.java: Merged with Classpath.
12367 * java/awt/Checkbox.java: Merged with Classpath.
12368
12369 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12370 Classpath.
12371 * java/awt/Point.java: Updated copyright.
12372
12373 * java/awt/Point.java (toString): Use getClass().getName().
12374 Added javadoc.
12375
12376 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12377 commented code.
12378 (hash): Correctly compute initial value for `h'.
12379
12380 * java/awt/Label.java: Merged with Classpath.
12381
12382 2002-01-15 Tom Tromey <tromey@redhat.com>
12383
12384 * java/awt/AWTPermission.java: Updated copyright.
12385
12386 * java/awt/LayoutManager2.java: Merged with Classpath.
12387 * java/awt/LayoutManager.java: Merged with Classpath.
12388 * java/awt/GridLayout.java: Updated copyright and javadoc.
12389 (getSize): Use `parent.ncomponents'. Handle insets.
12390 (layoutContainer): Use `parent.ncomponents'. Handle case where
12391 there are fewer children than columns. Correctly compute size of
12392 each cell in the grid. Handle case where there isn't enough
12393 space.
12394 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12395 all users.
12396 (gotoComponent): Use parent.ncomponents. Ensure child exists
12397 before calling setVisible() on it. Last item is `num - 1', not
12398 `num'.
12399 (layoutContainer): Hoist invariants out of loop.
12400
12401 Start of AWT merge with Classpath:
12402 * Makefile.in: Rebuilt.
12403 * Makefile.am (awt_java_source_files): Reference files in
12404 gnu/java/awt, not gnu/gcj/awt.
12405 * java/awt/image/BufferedImage.java: Updated copyright.
12406 * java/awt/image/ComponentColorModel.java: Updated copyright.
12407 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12408 * java/awt/image/DataBuffer.java: Updated copyright.
12409 * java/awt/image/DataBufferByte.java: Updated copyright.
12410 * java/awt/image/DataBufferInt.java: Updated copyright.
12411 * java/awt/image/DataBufferUShort.java: Updated copyright.
12412 * java/awt/image/IndexColorModel.java: Updated copyright.
12413 * java/awt/image/PackedColorModel.java: Updated copyright.
12414 * java/awt/image/Raster.java: Updated copyright.
12415 * java/awt/image/RasterOp.java: Updated copyright.
12416 * java/awt/image/SampleModel.java: Updated copyright.
12417 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12418 * java/awt/image/WritableRaster.java: Updated copyright.
12419 * java/awt/color/ColorSpace.java: Updated copyright.
12420 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12421 * java/awt/color/ICC_Profile.java: Updated copyright.
12422 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12423 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12424 * java/awt/event/HierarchyEvent.java: Updated copyright.
12425 * java/awt/event/HierarchyListener.java: Updated copyright.
12426 * java/awt/geom/AffineTransform.java: Updated copyright.
12427 * java/awt/geom/Dimension2D.java: Updated copyright.
12428 * java/awt/geom/Ellipse2D.java: Updated copyright.
12429 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12430 * java/awt/geom/Line2D.java: Updated copyright.
12431 * java/awt/geom/NoninvertibleTransformException.java: Updated
12432 copyright.
12433 * java/awt/geom/PathIterator.java: Updated copyright.
12434 * java/awt/geom/Point2D.java: Updated copyright.
12435 * java/awt/geom/Rectangle2D.java: Updated copyright.
12436 * java/awt/geom/RectangularShape.java: Updated copyright.
12437 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12438 * java/awt/Toolkit.java: Updated import for file moves.
12439 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12440 Classpath.
12441 (hashCode): New method from Classpath.
12442 * java/awt/Graphics2D.java: Updated copyright.
12443 * java/awt/Transparency.java: Updated copyright.
12444 * java/awt/Paint.java: Updated copyright.
12445 * java/awt/Graphics.java: New version from Classpath.
12446 * java/awt/EventDispatchThread.java: Updated copyright.
12447 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12448 children.
12449 (gotoComponent): Wrap around on next/previous.
12450 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12451 * gnu/gcj/awt/Buffers.java: Removed.
12452 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12453 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12454 * gnu/java/awt/BitMaskExtent.java: Added.
12455 * gnu/java/awt/Buffers.java: Added.
12456 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12457 * gnu/java/awt/GLightweightPeer.java: Added.
12458 * java/awt/geom/Line2D.java (clone): Ignore
12459 CloneNotSupportedException.
12460 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12461 * java/awt/Frame.java: Merged with Classpath.
12462 * java/awt/RenderingHints.java: Copyright update.
12463 * java/awt/Paint.java: Copyright update.
12464 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12465 * java/awt/image/ColorModel.java: Merged with Classpath.
12466 * java/awt/Window.java (show): New Implementation from Classpath.
12467 (isShowing): Use super.isShowing().
12468 * java/awt/EventQueue.java: Merged with Classpath.
12469 * java/awt/AWTEventMulticaster.java (save): Throw
12470 RuntimeException.
12471 (saveInternal): Likewise.
12472 * java/awt/AWTEvent.java: Now implements Serializable.
12473 * java/awt/Event.java: Copyright update.
12474 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12475 * java/awt/image/BufferedImage.java: Copyright update.
12476 * java/awt/GraphicsConfiguration.java: Copyright update.
12477 * java/awt/Component.java: (addNotify): Don't call
12478 addNotifyContainerChildren().
12479 (addNotifyContainerChildren): Removed.
12480 (setPeer): New method from Classpath.
12481 (setTreeLock): Likewise.
12482 (setVisible): Rewrote.
12483 (show): Use it.
12484 (hide): Likewise.
12485 (validate): Set `valid'.
12486 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12487 (createImage(ImageProducer)): Likewise.
12488 (prepareImage): Likewise.
12489 * java/awt/Container.java (addImpl): Handle case where constraint
12490 is not a String. Post event via system event queue.
12491 (remove): Post event via system event queue.
12492 (validateTree): Only validate child if it is invalid.
12493 (getAlignmentX): Call super method as default.
12494 (getAlignmentY): Likewise.
12495 (addContainerListener): Now synchronized.
12496 (removeContainerListener): Likewise.
12497 (addNotifyContainerChildren): Now private.
12498 * java/awt/ComponentOrientation.java: Updated copyright. Added
12499 @author.
12500 * java/awt/FlowLayout.java (serialVersionUID): New field.
12501 (setAlignment): Better exception message.
12502 (layoutContainer): Don't compute component's preferred size unless
12503 we're going to use it.
12504 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12505 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12506 (firstLine, lastLine, firstItem, lastItem): New fields.
12507 (addLayoutComponent): Handle case where constraints is null.
12508 Also, handle relative locations.
12509 (removeLayoutComponent): Handle relative locations.
12510 (MIN, MAX, PREF): New constants.
12511 (calcCompSize): New method.
12512 (calcSize): New method.
12513 (minimumLayoutSize): Use it.
12514 (preferredLayoutSize): Likewise.
12515 (maximumLayoutSize): Likewise.
12516 (toString): Include more information.
12517 (setBounds): New method.
12518 (layoutContainer): Use libgcj implementation; extended to handle
12519 relative locations.
12520
12521 2002-01-15 Tom Tromey <tromey@redhat.com>
12522
12523 * java/lang/Float.java (equals): Preserve old code.
12524 * java/lang/Double.java (equals): Preserve old code.
12525
12526 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12527
12528 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12529 * java/lang/Float.java (equals, compare): Ditto.
12530
12531 2002-01-13 Mark Wielaard <mark@klomp.org>
12532
12533 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12534 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12535 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12536 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12537
12538 2002-01-11 Mark Wielaard <mark@klomp.org>
12539
12540 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12541 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12542 InetAddress.
12543 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12544 * java/net/Socket.java: Merge with Classpath.
12545 * java/net/ServerSocket.java: Likewise.
12546
12547 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12548
12549 * interpret.cc (NULLARRAYCHECK): New macro.
12550 (SAVE_PC): Just store `pc'.
12551 (find_exception): Subtract one from `pc' here.
12552 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12553 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12554 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12555 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12556 don't call SAVE_PC.
12557 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12558 call SAVE_PC.
12559
12560 2002-01-11 Tom Tromey <tromey@redhat.com>
12561
12562 * java/lang/natSystem.cc (init_properties): Only look for default
12563 locale if LC_MESSAGES is defined.
12564 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12565 * configure.in: Call AM_LC_MESSAGES.
12566 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12567
12568 2002-01-10 Tom Tromey <tromey@redhat.com>
12569
12570 For PR libgcj/5303:
12571 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12572 --version. Recognize GNU-style long options. Print GNU-style
12573 error messages.
12574 (usage): Print GNU-style help. Exit with status 0.
12575 (error): New method.
12576 (run): Print error message if no class names found.
12577 (main): Don't print usage on error.
12578
12579 2002-01-09 Tom Tromey <tromey@redhat.com>
12580
12581 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12582 property.
12583 (help, version): Use println(), not println("").
12584
12585 For PR libgcj/5303:
12586 * gnu/gcj/convert/Convert.java (error): Program is called
12587 `jv-convert'. Print GNU-style message. Exit with status 1, not
12588 -1.
12589 (main): Handle --help and --version.
12590 (help): New method.
12591 (version): Likewise.
12592
12593 2002-01-08 Tom Tromey <tromey@redhat.com>
12594
12595 * Makefile.in: Rebuilt.
12596 * Makefile.am (ordinary_java_source_files): Added new files.
12597 * gnu/java/locale/LocaleInformation.java: Extend
12598 LocaleInformation_en.
12599 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12600 and time/date formats.
12601 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12602 generated.
12603 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12604 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12605 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12606 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12607 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12608 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12609 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12610 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12611 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12612 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12613 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12614 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12615 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12616 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12617 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12618 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12619 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12620 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12621 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12622 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12623 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12624 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12625 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12626 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12627 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12628 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12629 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12630 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12631 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12632 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12633 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12634 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12635 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12636 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12637 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12638 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12639 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12640 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12641 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12642 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12643 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12644 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12645 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12646 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12647 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12648 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12649 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12650 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12651 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12652 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12653 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12654 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12655 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12656 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12657 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12658 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12659 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12660 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12661 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12662 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12663 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12664 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12665 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12666 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12667 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12668 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12669 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12670 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12671 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12672 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12673 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12674 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12675 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12676 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12677 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12678 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12679 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12680 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12681 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12682 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12683 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12684 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12685 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12686 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12687 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12688 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12689 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12690 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12691 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12692 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12693 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12694 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12695 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12696 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12697 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12698 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12699 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12700 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12701 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12702 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12703 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12704 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12705 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12706 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12707 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12708 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12709 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12710 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12711 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12712 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12713 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12714 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12715 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12716 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12717 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12718 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12719 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12720 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12721 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12722 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12723 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12724 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12725 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12726 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12727 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12728 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12729 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12730 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12731 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12732 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12733
12734 For PR libgcj/5031:
12735 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12736 choose default locale.
12737
12738 * Makefile.in: Rebuilt.
12739 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12740
12741 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12742
12743 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12744 sockets.
12745 (close): New function closes the socket.
12746 (write): New functions for output to socket.
12747 (read): New functions for reading from socket.
12748 * java/net/PlainSocketImpl.java: Glue for new timeout
12749 implementation.
12750 (write): Call the native impl.
12751 (read): Likewise.
12752 (getInputStream): Get a stream to read from the socket.
12753 (getOutputStream): Get a stream to write to the socket.
12754
12755 2002-01-08 Tom Tromey <tromey@redhat.com>
12756
12757 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12758
12759 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12760
12761 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12762 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12763
12764 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12765
12766 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12767 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12768 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12769 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12770 insn_bastore, insn_castore, insn_sastore]: Use it.
12771 (continue1) [insn_arraylength]: Check for null array.
12772
12773 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12774
12775 * configure, include/config.h.in: Rebuilt.
12776 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12777 * configure.in: Call AC_STRUCT_TIMEZONE.
12778
12779 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12780
12781 * configure.host: Disable the interpreter for Darwin.
12782
12783 2002-01-04 Tom Tromey <tromey@redhat.com>
12784
12785 * java/lang/Thread.java (stop): No longer synchronized.
12786 (start): Likewise.
12787
12788 2002-01-02 Tom Tromey <tromey@redhat.com>
12789
12790 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12791 patch.
12792
12793 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12794
12795 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12796 PPC Darwin, not for all of Darwin.