Win32Process.java (ConcreteProcess): Surround a command line element with quotes...
[gcc.git] / libjava / ChangeLog
1 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
2
3 * java/lang/Win32Process.java (ConcreteProcess): Surround
4 a command line element with quotes if it contains an
5 embedded space or tab.
6 * java/lang/natWin32Process.cc (startProcess): Do not
7 surround command line elements with quotes here.
8
9 * configure.host: Use -fcheck-references and
10 -fuse-divide-subroutine for MinGW until we fix
11 win32_exception_handler( ) in win32.cc w.r.t. Win32
12 Structured Exception Handling (SEH).
13
14 * win32.cc (_Jv_platform_initProperties): Use generic names
15 like "x86" for the "os.arch" property to be consistent with
16 what Sun's JDK produces. Use the wProcessorArchitecture
17 member of the Win32 SYSTEM_INFO structure, filled in a call
18 to GetSystemInfo( ), instead of dwProcessorType.
19
20 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
21 Ranjit Mathew <rmathew@hotmail.com>
22
23 * Makefile.am: Use cross-compiling gcjh from the path for
24 a crossed-native build.
25 * Makefile.in: Rebuilt.
26 * configure.in: Include libltdl in non-newlib builds.
27 Moved determination of gcj used to build libraries to
28 its own section. Fixed cross-compilation issues for
29 non-newlib builds.
30 * configure: Rebuilt.
31
32 2003-07-25 Tom Tromey <tromey@redhat.com>
33
34 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
35 (write): Likewise.
36 (read): Likewise.
37 (read): Likewise.
38
39 2003-07-25 Mark Wielaard <mark@klomp.org>
40
41 * java/lang/natRuntime.cc (_load): Add library name to
42 UnsatisfiedLinkError when thrown.
43
44 2003-07-25 Mark Wielaard <mark@klomp.org>
45
46 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
47 added.
48 * Makefile.in: Likewise.
49
50 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
51
52 * java/awt/Component.java
53 (getPreferredSize): Call preferredSize.
54 (preferredSize): Moved body of getPreferredSize here.
55 (getMinimumSize): Call minimumSize.
56 (minimumSize): Moved body of getMinimumSize here.
57 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
58 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
59 pass -1
60 * java/awt/Container.java
61 (validate): Don't validate if there is no peer.
62 (update): Clear background before calling paint.
63 * java/awt/GridBagLayout.java
64 Completed the implementation and fixed several bugs.
65 * java/awt/MediaTracker.java
66 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
67 combine flags.
68 * java/awt/Window.java
69 (Window): Don't call setVisible(false). Windows are invisible by
70 default and calling virtual methods from constructor causes
71 compatibility problems (e.g. subclasses may assume that the peer
72 already exists).
73
74 2003-07-25 Michael Koch <konqueror@gmx.de>
75
76 * java/awt/GridBagLayout.java:
77 Totally reworked and partly implemented.
78 * java/awt/GridBagLayoutInfo.java:
79 New file.
80
81 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
82
83 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
84 Don't pack label in an event box.
85
86 2003-07-24 Tom Tromey <tromey@redhat.com>
87
88 For PR libgcj/7482:
89 * verify.cc (ref_intersection): New class.
90 (type_val): Removed unresolved_reference_type,
91 uninitialized_unresolved_reference_type.
92 (is_assignable_from_slow): Rewrote.
93 (type::data): Removed.
94 (type::klass): New field.
95 (type::type): Added verifier argument.
96 (type::resolve): Removed.
97 (type::set_uninitialized): Updated for change to type_val.
98 (type::set_initialized): Likewise.
99 (type::isinitialized): Likewise.
100 (type::print): Likewise.
101 (construct_primitive_array_type): Likewise.
102 (type::compatible): Updated for change to type_val and to use
103 ref_intersection.
104 (type::isarray): Updated to use ref_intersection.
105 (type::isinterface): Likewise.
106 (type::element_type): Likewise.
107 (type::to_array): Likewise.
108 (type::verify_dimensions): Rewrote.
109 (type::merge): Likewise.
110 (check_class_constant): Updated for type constructor change.
111 (check_constant): Likewise.
112 (check_field_constant): Likewise.
113 (get_one_type): Likewise.
114 (initialize_stack): Likewise.
115 (verify_instructions_0): Likewise.
116 (verify_instructions_0) [op_invokeinterface]: Removed special
117 case.
118 (isect_list): New field.
119 (_Jv_BytecodeVerifier): Initialize it.
120 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
121
122 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
123
124 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
125 unless field size is 2.
126
127 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
128
129 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
130 (connectHooks): New method.
131 (handleEvent): Remove.
132 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
133 (createHooks): Remove declaration.
134 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
135 (generates_key_typed_event): Change to handle only certain
136 keyvals.
137 (awt_event_handler): Add special handling for GtkTextView.
138 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
139 (textcomponent_commit_cb): New function.
140 (textcomponent_changed_cb): Likewise.
141 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
142 (connectHooks): Remove.
143
144 2003-07-23 Tom Tromey <tromey@redhat.com>
145
146 * java/lang/natSystem.cc (arraycopy): Check for overflow.
147
148 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
149
150 2003-07-22 Tom Tromey <tromey@redhat.com>
151
152 * boehm.cc (_Jv_BuildGCDescr): Wrote.
153 Include limits.h.
154
155 2003-07-22 Tom Tromey <tromey@redhat.com>
156
157 * java/awt/Window.java (getWarningString): Just return the
158 string.
159 (Window): Set warningString; check with security manager.
160
161 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
162
163 * gnu/awt/xlib/XGraphicsConfiguration.java
164 (FontMetricsCache): Made static.
165
166 2003-07-22 Tom Tromey <tromey@redhat.com>
167
168 * java/net/URLEncoder.java (encode(String)): Use platform default
169 encoding.
170 (encode(String,String)): Convert to 2-digit upper-case hex
171 number.
172 (hex): New field.
173
174 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
175
176 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
177 (create): Remove unused method implementation.
178 (connectHooks): Remove debug messages.
179
180 2003-07-20 Anthony Green <green@redhat.com>
181
182 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
183 CloneNotSupportedException.
184 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
185 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
186 * gnu/gcj/xlib/GC.java (clone): Ditto.
187 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
188 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
189
190 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
191 handler.
192 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
193
194 2003-07-20 Steve Pribyl <steve@netfuel.com.>
195
196 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
197 String. Put dlerror() message into exception.
198 Include UnsatisfiedLinkError.
199 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
200 String. Now native.
201
202 2003-07-20 Tom Tromey <tromey@redhat.com>
203
204 * java/lang/Runtime.java: Comment fix.
205 * java/lang/ClassLoader.java (isAncestorOf): New method.
206 (getParent): Uncommented security check. Use isAncestorOf.
207 * include/jvm.h (_Jv_CheckAccess): Declare.
208 * java/lang/reflect/natConstructor.cc (newInstance): Perform
209 access check.
210 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
211 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
212 class loader to _Jv_GetArrayClass.
213 Include ArrayIndexOutOfBoundsException.h.
214 * java/lang/reflect/Field.java: Update comment to reflect status.
215 (equals): Fixed indentation.
216 * java/lang/Class.h (Class): Declare memberAccessCheck, not
217 checkMemberAccess. Make _Jv_CheckAccess a friend.
218 * java/lang/Class.java (memberAccessCheck): New method from
219 Classpath.
220 (checkMemberAccess): Removed.
221 (getDeclaredMethod): Use memberAccessCheck.
222 (getField): Likewise.
223 (getMethod): Likewise.
224 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
225 (_Jv_SearchMethodInClass): Likewise.
226 * prims.cc (_Jv_CheckAccess): New function.
227 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
228 (_Jv_JNI_GetAnyFieldID): Likewise.
229 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
230 (getClassLoader): Added security check.
231 (getConstructor): Call memberAccessCheck.
232 (getDeclaredClasses): Likewise.
233 (getDeclaredField): Likewise.
234 (getDeclaredFields): Likewise.
235 (_getConstructors): Likewise.
236 (getDeclaredConstructor): Likewise.
237 (getDeclaredMethods): Likewise.
238 (getFields): Likewise.
239 (getMethods): Likewise.
240 (newInstance): Likewise.
241 (_Jv_MakeVTable): Put method name in exception.
242 * java/lang/reflect/natMethod.cc (getType): Use
243 getClassLoaderInternal.
244 (_Jv_GetTypesFromSignature): Likewise.
245 (invoke): Perform access check.
246 (_Jv_CallAnyMethodA): Removed old FIXME comments.
247 Include ArrayIndexOutOfBoundsException.h.
248 * java/lang/reflect/natField.cc (getType): Use
249 getClassLoaderInternal.
250 (_Jv_CheckFieldAccessibility): Removed.
251 (getAddr): Use _Jv_CheckAccess; find caller.
252 Include ArrayIndexOutOfBoundsException.h.
253
254 2003-07-20 Michael Koch <konqueror@gmx.de>
255
256 * java/net/URL.java
257 (URL): Fixed documentation to name an argument correcty, Reformatted
258 one method declaration.
259 (getURLStreamHandler): Added documentation from classpath.
260
261 2003-07-19 Tom Tromey <tromey@redhat.com>
262
263 * mauve-libgcj: Don't run CollationElementIterator tests.
264
265 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
266
267 * java/net/URLClassLoader.java (addURL): Moved implementation to
268 private addURLImpl() to avoid calling addURL from the constructor.
269 (addURLImpl): Contains the code that was previously in addURL.
270 (addURLs): Call addURLImpl(), not addURL().
271
272 2003-07-18 Graydon Hoare <graydon@redhat.com>
273
274 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
275 Handle missing event cases, connect to "value-changed" signal.
276
277 2003-07-18 Graydon Hoare <graydon@redhat.com>
278
279 * java/awt/geom/CubicCurve2D.java,
280 java/awt/geom/Line2D.java,
281 java/awt/geom/QuadCurve2D.java,
282 java/awt/geom/Rectangle2D.java:
283 Fix path some calculations, make path iterators follow
284 a consistent style.
285
286 2003-07-18 Mark Wielaard <mark@klomp.org>
287
288 * java/util/logging/Handler.java (isLoggable): Check record level
289 smaller or equal.
290
291 2003-07-17 Michael Koch <konqueror@gmx.de>
292
293 * gnu/java/awt/peer/gtk/GtkToolkit.java:
294 Reworked imports.
295
296 2003-07-14 Michael Koch <konqueror@gmx.de>
297
298 * gnu/java/rmi/server/UnicastServerRef.java:
299 New version from classpath.
300
301 2003-07-14 Michael Koch <konqueror@gmx.de>
302
303 * java/awt/image/MemoryImageSource.java,
304 java/beans/PropertyEditorManager.java,
305 javax/naming/CompoundName.java,
306 javax/naming/spi/NamingManager.java,
307 javax/swing/AbstractButton.java,
308 javax/swing/ButtonModel.java,
309 javax/swing/SwingUtilities.java,
310 javax/swing/UIManager.java,
311 javax/swing/colorchooser/DefaultColorSelectionModel.java,
312 javax/swing/event/AncestorEvent.java,
313 javax/swing/event/InternalFrameEvent.java,
314 java/util/zip/ZipFile.java:
315 New versions from classpath.
316
317 2003-07-13 Michael Koch <konqueror@gmx.de>
318
319 * gnu/java/nio/FileChannelImpl.java,
320 gnu/java/nio/natFileChannelImpl.cc: Removed.
321 * java/io/FileInputStream.java,
322 java/io/FileOutputStream.java,
323 java/io/RandomAccessFile.java,
324 java/nio/MappedByteBufferImpl.java:
325 Import java.nio.channels.FileChannelImpl instead of
326 gnu.java.nio.FileChannelImpl.
327 * java/nio/channels/FileChannelImpl.java,
328 java/nio/channels/natFileChannelImpl.cc:
329 New files.
330 * Makefile.am
331 (ordinary_java_source_files):
332 Removed gnu/java/nio/FileChannelImpl.java and added
333 java/nio/channels/FileChannelImpl.java.
334 (nat source_files):
335 Removed gnu/java/nio/natFileChannelImpl.cc and added
336 java/nio/channels/natFileChannelImpl.cc.
337 * Makefile.in: Regenerated.
338
339 2003-07-13 Michael Koch <konqueror@gmx.de>
340
341 * javax/swing/plaf/basic/BasicBorders.java,
342 javax/swing/plaf/basic/BasicLabelUI.java,
343 javax/swing/plaf/basic/BasicLookAndFeel.java,
344 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
345 javax/swing/plaf/basic/BasicTextUI.java,
346 javax/swing/plaf/metal/MetalLookAndFeel.java:
347 New versions from classpath.
348
349 2003-07-13 Michael Koch <konqueror@gmx.de>
350
351 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
352 * gnu/java/awt/peer/gtk/GdkGraphics.java
353 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
354 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
355 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
356 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
357 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
358 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
359 * gnu/java/awt/peer/gtk/GtkClipboard.java
360 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
361 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
362 * gnu/java/awt/peer/gtk/GtkFramePeer.java
363 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
364 * gnu/java/awt/peer/gtk/GtkImage.java
365 * gnu/java/awt/peer/gtk/GtkImagePainter.java
366 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
367 * gnu/java/awt/peer/gtk/GtkListPeer.java
368 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
369 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
370 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
371 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
372 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
373 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
374 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
375 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
376 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
377 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
378 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
379 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
380
381 2003-07-13 Michael Koch <konqueror@gmx.de>
382
383 * gnu/java/locale/LocaleInformation_de.java
384 * gnu/java/locale/LocaleInformation_en.java
385 * gnu/java/locale/LocaleInformation_nl.java
386
387 2003-07-13 Michael Koch <konqueror@gmx.de>
388
389 * gnu/java/awt/EmbeddedWindow.java,
390 gnu/java/awt/EmbeddedWindowSupport.java,
391 gnu/java/awt/natEmbeddedWindow.cc:
392 New files.
393 * java/awt/Window.java
394 (Window): New constructor to support embedded windows.
395 * Makefile.am
396 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
397 gnu/java/awt/EmbeddedWindowSupport.java.
398 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
399 * Makefile.in: Regenerated.
400
401 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
402
403 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
404 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
405 * java/awt/im/InputContext.java: Remove a redundant
406 partial line.
407
408 2003-07-09 Tom Tromey <tromey@redhat.com>
409
410 * Makefile.in: Rebuilt.
411 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
412
413 2003-07-09 Mark Wielaard <mark@klomp.org>
414
415 * java/io/ObjectOutputStream.java (writeObject): break after
416 calling writeClassDescriptor().
417
418 2003-07-09 Mark Mitchell <mark@codesourcery.com>
419
420 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
421
422 2003-07-09 Michael Koch <konqueror@gmx.de>
423
424 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
425 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
426 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
427 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
428 Explicitly import used classes.
429 * java/awt/Container.java: New version from classpath.
430
431 2003-07-09 Michael Koch <konqueror@gmx.de>
432
433 * libgcj.pc.in: New file.
434 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
435 * Makefile.in: Regenerated.
436 * configure: Regenrated.
437 * configure.in: Create libgcj.pc from libgcj.pc.in.
438
439 2003-07-08 Mark Wielaard <mark@klomp.org>
440
441 * gcj/cni.h: CNI now expands to Compiled Native Interface.
442
443 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
444 * java/lang/fdlibm.h: Likewise.
445
446 2003-07-07 Adam Megacz <adam@xwt.org>
447
448 * posix.cc: added #include<stdio.h>
449
450 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
451
452 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
453 formatting.
454
455 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
456 (setCaretPosition, setEditable): Rely entirely on native
457 implementation.
458 (getArgs): Remove.
459 (postTextEvent): New method.
460 (handleEvent): New method.
461 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
462 method.
463 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
464 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
465 (keysym_to_awt_keycode): Fix range checks.
466 (generates_key_typed_event): New function.
467 (awt_event_handler): Post AWT_KEY_RELEASED events to event
468 queue.
469 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
470 (gtkInit): Store TextComponent's postTextEvent method ID.
471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
472 (setText): Post TEXT_VALUE_CHANGED event to event queue.
473
474 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
475
476 * configure.in: Check for usleep declaration.
477 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
478 * configure: Regenerate.
479 * include/config.h.in: Likewise.
480 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
481
482 2003-07-01 Michael Koch <konqueror@gmx.de>
483
484 * gnu/gcj/convert/natIconv.cc
485 (iconv_init): Fixed possible memory leak by releasing allocated iconv
486 handle.
487
488 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
489
490 * glib-2.0.m4: New file.
491 * gtk-2.0.m4: New file.
492 * glib.m4: Remove.
493 * gtk.m4: Remove.
494 * configure.in: Update AM_PATH_GTK macro call to
495 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
496 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
497 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
498 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
499 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
500 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
501 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
502 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
503 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
504 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
505 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
506 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
507 jni/gtk-peer/gthread-jni.c,
508 jni/gtk-peer/gthread-jni.h:
509 New versions from classpath.
510 * aclocal.m4: Regenerate.
511 * configure: Regenerate.
512 * Makefile.in: Regenerate.
513 * gcj/Makefile.in: Regenerate.
514 * include/Makefile.in: Regenerate.
515 * testsuite/Makefile.in: Regenerate.
516
517 2003-06-30 Gary Benson <gbenson@redhat.com>
518
519 For PR libgcj/11349:
520 * javax/naming/spi/NamingManager.java (getURLContext): Use
521 correct name for factory class.
522
523 2003-06-28 Michael Koch <konqueror@gmx.de>
524
525 * java/io/PrintStream.java
526 (checkError): Call flush() instead of direct flushing of the Writer
527 object.
528 (print): Call print(String) instead of direct print method of the
529 Writer Object.
530 (println): Call println(String) instead of direct println method of the
531 Writer Object.
532 (write): Simplified.
533
534 2003-06-28 Michael Koch <konqueror@gmx.de>
535
536 * java/net/ServerSocket.java
537 (setChannel): New method.
538 * java/net/Socket.java
539 (setChannel): New method.
540
541 2003-06-27 Michael Koch <konqueror@gmx.de>
542
543 * java/beans/beancontext/BeanContextSupport.java:
544 New version from classpath.
545
546 2003-06-27 Michael Koch <konqueror@gmx.de>
547
548 * java/awt/Window.java,
549 java/awt/font/GraphicAttribute.java,
550 java/awt/font/ImageGraphicAttribute.java,
551 java/awt/image/DataBufferByte.java,
552 java/awt/image/DataBufferInt.java,
553 java/awt/image/DataBufferUShort.java,
554 java/awt/image/DirectColorModel.java,
555 java/awt/image/PixelGrabber.java:
556 New versions from classpath.
557
558 2003-06-27 Michael Koch <konqueror@gmx.de>
559
560 * java/security/Certificate.java
561 (getGuarantor): Removed wrong @deprecated tag.
562 (getPrincipal): Likewise.
563 (getPublicKey): Likewise.
564 (encode): Likewise.
565 (decode): Likewise.
566 (getFormat): Likewise.
567 (toString): Likewise.
568 * java/security/cert/PolicyQualifierInfo.java
569 (PolicyQualifierInfo): Made final.
570 * javax/security/auth/x500/X500Principal.java
571 (serialVersionUID): New member variable.
572
573 2003-06-27 Michael Koch <konqueror@gmx.de>
574
575 * java/text/Format.java
576 (serialVersionUID): Fixed value.
577
578 2003-06-27 Michael Koch <konqueror@gmx.de>
579
580 * java/net/Inet4Address.java
581 (Inet4Address): Made package-private.
582 * java/net/Inet6Address.java
583 (Inet4Address): Made package-private.
584
585 2003-06-27 Michael Koch <konqueror@gmx.de>
586
587 * java/io/RandomAccessFile.java
588 (readLine): Removed wrong @deprecated tag.
589 (getChannel): Made final.
590
591 2003-06-27 Michael Koch <konqueror@gmx.de>
592
593 * gnu/java/nio/FileChannelImpl.java
594 (write): Removed.
595
596 2003-06-27 Michael Koch <konqueror@gmx.de>
597
598 * java/nio/ByteBufferImpl.java
599 (ByteBufferImpl): Made it a package-private class
600 * java/nio/CharBufferImpl.java
601 (CharBufferImpl): Made it a package-private class
602 * java/nio/DirectByteBufferImpl.java
603 (DirectByteBufferImpl): Made it a package-private class
604 * java/nio/DoubleBufferImpl.java
605 (DoubleBufferImpl): Made it a package-private class
606 * java/nio/FloatBufferImpl.java
607 (FloatBufferImpl): Made it a package-private class
608 * java/nio/IntBufferImpl.java
609 (IntBufferImpl): Made it a package-private class
610 * java/nio/LongBufferImpl.java
611 (LongBufferImpl): Made it a package-private class
612 * java/nio/ShortBufferImpl.java
613 (ShortBufferImpl): Made it a package-private class
614 * java/nio/channels/FileChannel.java
615 (write): Made final.
616 * java/nio/channels/ServerSocketChannel.java
617 (ServerSocketChanne): Made protected.
618
619 2003-06-27 Michael Koch <konqueror@gmx.de>
620
621 * javax/naming/CompositeName.java
622 (serialVersionUID): New member variable.
623 * javax/naming/CompoundName.java
624 (serialVersionUID): New member variable.
625 * javax/naming/InitialContext.java
626 (InitialContext): Throws NamingException.
627 (init): Likewise.
628 * javax/naming/LinkRef.java
629 (serialVersionUID): New member variable.
630 (gteLinkName): Throws NamingException.
631 * javax/naming/NamingException.java
632 (serialVersionUID): New member variable.
633 * javax/naming/NamingSecurityException.java
634 (NamingSecurityException): Made abstract.
635 (serialVersionUID): New member variable.
636 * javax/naming/ReferralException.java
637 (serialVersionUID): New member variable.
638 * javax/naming/StringRefAddr.java
639 (serialVersionUID): New member variable.
640 * javax/naming/directory/BasicAttribute.java:
641 Reworked imports.
642 (serialVersionUID): New member variable.
643 (get): Throws NamingException.
644 (getAll): Throws NamingException.
645 * javax/naming/directory/BasicAttributes.java:
646 Reworked imports.
647 (serialVersionUID): New member variable.
648 * javax/naming/ldap/UnsolicitedNotificationEvent.java
649 (serialVersionUID): New member variable.
650
651 2003-06-27 Michael Koch <konqueror@gmx.de>
652
653 * Makefile.am
654 (awt_java_source_files): Added new files:
655 javax/swing/Popup.java,
656 javax/swing/PopupFactory.java
657 * Makefile.in: Regenerated.
658
659 2003-06-27 Michael Koch <konqueror@gmx.de>
660
661 * javax/swing/JWindow.java,
662 javax/swing/event/AncestorEvent.java,
663 javax/swing/event/HyperlinkEvent.java,
664 javax/swing/event/InternalFrameEvent.java,
665 javax/swing/event/ListDataEvent.java,
666 javax/swing/event/TableModelEvent.java,
667 javax/swing/plaf/PopupMenuUI.java,
668 javax/swing/plaf/SplitPaneUI.java,
669 javax/swing/plaf/TabbedPaneUI.java,
670 javax/swing/plaf/TextUI.java,
671 javax/swing/plaf/TreeUI.java,
672 javax/swing/plaf/basic/BasicTextUI.java,
673 javax/swing/plaf/basic/BasicTreeUI.java:
674 New versions from classpath.
675 * javax/swing/Popup.java,
676 javax/swing/PopupFactory.jav:
677 New source files from classpath.
678 * javax/swing/plaf/doc-files/TreeUI-1.png:
679 New binary files from classpath.
680
681 2003-06-25 Michael Koch <konqueror@gmx.de>
682
683 * Makefile.am
684 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
685 * Makefile.in: Regenerated.
686
687 2003-06-25 Michael Koch <konqueror@gmx.de>
688
689 * javax/swing/plaf/ActionMapUIResource.java,
690 javax/swing/plaf/BorderUIResource.java,
691 javax/swing/plaf/ButtonUI.java,
692 javax/swing/plaf/ColorChooserUI.java,
693 javax/swing/plaf/ColorUIResource.java,
694 javax/swing/plaf/ComboBoxUI.java,
695 javax/swing/plaf/ComponentInputMapUIResource.java,
696 javax/swing/plaf/ComponentUI.java,
697 javax/swing/plaf/DesktopIconUI.java,
698 javax/swing/plaf/DesktopPaneUI.java,
699 javax/swing/plaf/DimensionUIResource.java,
700 javax/swing/plaf/FileChooserUI.java,
701 javax/swing/plaf/FontUIResource.java,
702 javax/swing/plaf/IconUIResource.java,
703 javax/swing/plaf/InputMapUIResource.java,
704 javax/swing/plaf/InsetsUIResource.java,
705 javax/swing/plaf/InternalFrameUI.java,
706 javax/swing/plaf/LabelUI.java,
707 javax/swing/plaf/ListUI.java,
708 javax/swing/plaf/MenuBarUI.java,
709 javax/swing/plaf/MenuItemUI.java,
710 javax/swing/plaf/OptionPaneUI.java,
711 javax/swing/plaf/PanelUI.java,
712 javax/swing/plaf/ProgressBarUI.java,
713 javax/swing/plaf/RootPaneUI.java,
714 javax/swing/plaf/ScrollBarUI.java,
715 javax/swing/plaf/ScrollPaneUI.java,
716 javax/swing/plaf/SeparatorUI.java,
717 javax/swing/plaf/SliderUI.java,
718 javax/swing/plaf/TableHeaderUI.java,
719 javax/swing/plaf/TableUI.java,
720 javax/swing/plaf/ToolBarUI.java,
721 javax/swing/plaf/ToolTipUI.java,
722 javax/swing/plaf/ViewportUI.java:
723 New versions from classpath.
724 * javax/swing/plaf/SpinnerUI.java:
725 New file from classpath
726
727 2003-06-25 Michael Koch <konqueror@gmx.de>
728
729 * java/awt/image/ColorModel.java:
730 New version from classpath.
731
732 2003-06-25 Michael Koch <konqueror@gmx.de>
733
734 * java/net/PlainDatagramSocketImpl.java:
735 Partly merged with classpath, this mainly adds documentation.
736
737 2003-06-25 Michael Koch <konqueror@gmx.de>
738
739 * java/io/ObjectInputStream.java
740 (readClassDescriptor): New method.
741 (readObject): Moved functionality to readClassDescriptor().
742 * java/io/ObjectOutputStream.java
743 (writeClassDescriptor): New method.
744 (writeObject): Moved functionality to writeClassDescriptor().
745
746 2003-06-25 Michael Koch <konqueror@gmx.de>
747
748 * javax/swing/plaf/basic/BasicListUI.java,
749 javax/swing/plaf/basic/BasicOptionPaneUI.java:
750 Added missing methods.
751
752 2003-06-25 Michael Koch <konqueror@gmx.de>
753
754 * javax/swing/event/AncestorEvent.java
755 javax/swing/event/HyperlinkEvent.java
756 javax/swing/event/InternalFrameEvent.java
757 javax/swing/event/ListDataEvent.java
758 javax/swing/event/TableModelEvent.java:
759 Compile fixes.
760
761 2003-06-24 Michael Koch <konqueror@gmx.de>
762
763 * java/net/URL.java:
764 Renamed "handler" to "ph" in the whole file to match classpaths
765 version.
766 * java/net/URLStreamHandler.java:
767 (equals): Renamed "handler" to "ph".
768
769 2003-06-24 Michael Koch <konqueror@gmx.de>
770
771 * javax/swing/event/AncestorEvent.java,
772 javax/swing/event/HyperlinkEvent.java,
773 javax/swing/event/InternalFrameEvent.java,
774 javax/swing/event/ListDataEvent.java,
775 javax/swing/event/TableModelEvent.java,
776 javax/swing/event/TreeWillExpandListener.java,
777 javax/swing/plaf/ComponentUI.java,
778 javax/swing/plaf/DesktopIconUI.java,
779 javax/swing/plaf/DesktopPaneUI.java,
780 javax/swing/plaf/DimensionUIResource.java,
781 javax/swing/plaf/FileChooserUI.java,
782 javax/swing/plaf/FontUIResource.java,
783 javax/swing/plaf/IconUIResource.java,
784 javax/swing/plaf/InputMapUIResource.java,
785 javax/swing/plaf/InsetsUIResource.java,
786 javax/swing/plaf/InternalFrameUI.java,
787 javax/swing/plaf/LabelUI.java,
788 javax/swing/plaf/ListUI.java,
789 javax/swing/plaf/MenuBarUI.java,
790 javax/swing/plaf/MenuItemUI.java,
791 javax/swing/plaf/OptionPaneUI.java,
792 javax/swing/plaf/PanelUI.java,
793 javax/swing/plaf/ProgressBarUI.java,
794 javax/swing/plaf/doc-files/ComponentUI-1.dia,
795 javax/swing/plaf/doc-files/ComponentUI-1.png:
796 New versions from classpath.
797
798 2003-06-24 Michael Koch <konqueror@gmx.de>
799
800 * java/nio/Buffer.java
801 (cap): Made package-private.
802 (pos): Likewise.
803 (limit): Likewise.
804 (mark): Likewise.
805
806 2003-06-24 Michael Koch <konqueror@gmx.de>
807
808 * java/net/SocketImpl.java
809 (shutdownInput): Made it non-abstract method throwing an exception
810 like in SUNs JRE.
811 (shutdownOutput): Likewise.
812 * java/net/SocketInputStream.java,
813 java/net/SocketOutputStream.java:
814 New files from classpath.
815
816 2003-06-24 Michael Koch <konqueror@gmx.de>
817
818 * java/awt/Font.java,
819 java/awt/Window.java,
820 java/awt/color/ColorSpace.java,
821 java/awt/datatransfer/StringSelection.java,
822 java/awt/image/ColorModel.java:
823 New versions from classpath.
824
825 2003-06-24 Michael Koch <konqueror@gmx.de>
826
827 * Makefile.am
828 (awt_java_source_files): Added new files:
829 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
830 javax/swing/plaf/basic/BasicSplitPaneUI.java
831 * Makefile.in: Regenerated.
832
833 2003-06-24 Michael Koch <konqueror@gmx.de>
834
835 * javax/swing/text/JTextComponent.java:
836 New version from classpath.
837
838 2003-06-24 Michael Koch <konqueror@gmx.de>
839
840 * javax/swing/Timer.java,
841 javax/swing/plaf/ActionMapUIResource.java,
842 javax/swing/plaf/ButtonUI.java,
843 javax/swing/plaf/ColorChooserUI.java,
844 javax/swing/plaf/ColorUIResource.java,
845 javax/swing/plaf/ComboBoxUI.java,
846 javax/swing/plaf/ComponentInputMapUIResource.java,
847 javax/swing/plaf/basic/BasicBorders.java:
848 New versions from classpath.
849 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
850 javax/swing/plaf/basic/BasicSplitPaneUI.java:
851 New file from classpath.
852 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
853 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
854 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
855 javax/swing/plaf/doc-files/ComponentUI-1.dia,
856 javax/swing/plaf/doc-files/ComponentUI-1.png:
857 New binary files from classpath.
858
859 2003-06-24 Michael Koch <konqueror@gmx.de>
860
861 * java/io/LineNumberReader.java
862 (skip): Dont do line number accounting here as this is already done in
863 read(), simplified.
864
865 2003-06-21 Michael Koch <konqueror@gmx.de>
866
867 * java/io/File.java
868 (static): Load javaio lib if existing (only in classpath).
869 (File): Revised documentation to show the correct argument name.
870 (createTempFile): Partly merged with classpath.
871 (compareTo): Simplified.
872 (lastModified): Throw exception if time < 0.
873 (deleteOnExit): Revised documentation.
874
875 2003-06-21 Michael Koch <konqueror@gmx.de>
876
877 * java/net/PlainSocketImpl.java:
878 Reformatted.
879 (PlainSocketImpl): Merged class documentaion with classpath.
880 (in): Moved.
881 (out): Moved.
882 (PlainSocketImpl): New empty constructor.
883 (finalize): Moved.
884 (setOption): Merged documentation from classpath.
885 (getOption): Likewise.
886 (create): Likewise.
887 (connect): Likewise.
888 (bind): Likewise.
889 (listen): Likewise.
890 (accept): Likewise.
891 (available): Likewise.
892 (close): Likewise.
893 (read): Likewise.
894 (write): Likewise.
895 (getInputStream): Made synchronozed to get sure that only one stream
896 object can be created for this socket, merged documentation from
897 classpath.
898 (getOutputStream): Likewise.
899
900 2003-06-21 Michael Koch <konqueror@gmx.de>
901
902 * java/net/PlainSocketImpl.java:
903 Reformatting.
904 (static): New implicit method.
905 (read): Made package private.
906 (write): Likewise.
907
908 2003-06-21 Michael Koch <konqueror@gmx.de>
909
910 * java/util/SimpleTimeZone.java:
911 Removed unneeded import, reformatting.
912
913 2003-06-21 Michael Koch <konqueror@gmx.de>
914
915 * java/text/DateFormat.java,
916 java/text/SimpleDateFormat.java,
917 java/util/Locale.java:
918 New versions from classpath.
919
920 2003-06-21 Michael Koch <konqueror@gmx.de>
921
922 * javax/swing/SpinnerModel.java:
923 New file from classpath.
924 * javax/swing/border/LineBorder.java,
925 javax/swing/border/SoftBevelBorder.java,
926 javax/swing/plaf/BorderUIResource.java,
927 javax/swing/plaf/basic/BasicBorders.java:
928 New versions from classpath.
929 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
930 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
931 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
932 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
933 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
934 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
935 New binary files from classpath.
936
937 2003-06-21 Michael Koch <konqueror@gmx.de>
938
939 * java/util/logging/LogRecord.java,
940 java/util/logging/Logger.java,
941 java/util/logging/SocketHandler.java,
942 java/util/logging/SimpleFormatter.java,
943 java/util/logging/Formatter.java,
944 java/util/logging/ErrorManager.java,
945 java/util/logging/Handler.java,
946 java/util/logging/FileHandler.java,
947 java/util/logging/LogManager.java,
948 java/util/logging/Level.java,
949 java/util/logging/ConsoleHandler.java,
950 java/util/logging/StreamHandler.java,
951 java/util/logging/LoggingPermission.java,
952 java/util/logging/Filter.java,
953 java/util/logging/MemoryHandler.java,
954 java/util/logging/XMLFormatter.java:
955 New files from classpath.
956
957 2003-06-20 Michael Koch <konqueror@gmx.de>
958
959 * java/io/ObjectStreamField.java
960 (unshared): new member variable.
961 (ObjectStreamField): New constructor.
962 (isUnshared): New method.
963
964 2003-06-20 Michael Koch <konqueror@gmx.de>
965
966 * java/net/URLStreamHandler.java
967 (hostsEqual): Rewritten.
968
969 2003-06-20 Michael Koch <konqueror@gmx.de>
970
971 * gnu/java/nio/MappedByteFileBuffer.java,
972 gnu/java/nio/natMappedByteFileBuffer.cc:
973 Removed
974 * java/nio/MappedByteBufferImpl.java:
975 New file.
976 * gnu/java/nio/FileChannelImpl.java:
977 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
978 * Makefile.am
979 (ordinary_java_source_files): Removed
980 gnu/java/nio/MappedByteFileBuffer.java and added
981 java/nio/MappedByteBufferImpl.java.
982 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
983 * Makefile.in: Regenerated.
984
985 2003-06-19 Michael Koch <konqueror@gmx.de>
986
987 * gnu/java/nio/DatagramChannelImpl.java
988 (fd): Removed.
989 (blocking): New member variable.
990 (socket): Likewise.
991 (DatagramChannelImpl): Throws IOException, initialize socket.
992 (socket):Implemented.
993 (implCloseSelectableChannel): Throws IOException, implemented.
994 (implConfigureBlocking): Likewise.
995 (connect): Likewise.
996 (disconnect): Likewise.
997 (isConnected): Likewise.
998 (write): Likewise.
999 (read): Likewise.
1000 (receive): Throws IOException.
1001 (send): Likewise.
1002 * gnu/java/nio/SocketChannelImpl.java
1003 (read): Implemented.
1004 (write): Implemented.
1005
1006 2003-06-19 Michael Koch <konqueror@gmx.de>
1007
1008 * javax/swing/JComponent.java,
1009 javax/swing/JInternalFrame.java,
1010 javax/swing/MenuSelectionManager.java,
1011 javax/swing/SwingUtilities.java,
1012 javax/swing/ToggleButtonModel.java:
1013 New versions from classpath.
1014
1015 2003-06-19 Michael Koch <konqueror@gmx.de>
1016
1017 * java/text/CollationElementIterator.java
1018 (NULLORDER): Initialize with -1 as JDK documentation says.
1019
1020 2003-06-19 Michael Koch <konqueror@gmx.de>
1021
1022 * java/net/HttpURLConnection.java,
1023 java/net/Inet4Address.java,
1024 java/net/Inet6Address.java,
1025 java/net/SocketImpl.java,
1026 java/net/URLClassLoader.java:
1027 Reworked import statements.
1028 * java/net/InetAddress.java
1029 (getByAddress): Simplified.
1030 * java/net/ServerSocket.java
1031 (ServerSocket): Moved special handling during bind operation to
1032 bind().
1033 (bind): Handle different cases when trying to bind a socket.
1034 * java/net/URLConnection.java
1035 (getHeaderFieldDate): Merged with classpath.
1036 (getHeaderFieldInt): Likewise.
1037
1038 2003-06-19 Michael Koch <konqueror@gmx.de>
1039
1040 * java/util/zip/InflaterInputStream.java
1041 (InflaterInputStream): Throw NullPointerException if in is null (as
1042 JDK does).
1043
1044 2003-06-19 Michael Koch <konqueror@gmx.de>
1045
1046 * java/awt/Font.java
1047 javax/swing/UIManager.java
1048 javax/swing/border/AbstractBorder.java
1049 javax/swing/border/BevelBorder.java
1050 javax/swing/border/Border.java
1051 javax/swing/border/CompoundBorder.java
1052 javax/swing/border/EmptyBorder.java
1053 javax/swing/border/EtchedBorder.java
1054 javax/swing/border/LineBorder.java
1055 javax/swing/border/MatteBorder.java
1056 javax/swing/border/TitledBorder.java
1057 javax/swing/plaf/BorderUIResource.java
1058 javax/swing/plaf/basic/BasicBorders.java
1059 javax/swing/plaf/basic/BasicButtonUI.java
1060 javax/swing/plaf/basic/BasicCheckBoxUI.java
1061 javax/swing/plaf/basic/BasicGraphicsUtils.java
1062 javax/swing/plaf/basic/BasicLabelUI.java
1063 javax/swing/plaf/basic/BasicRadioButtonUI.java
1064 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1065 New versions from classpath.
1066 * javax/swing/border/SoftBevelBorder.java:
1067 New file from classpath.
1068 * javax/swing/border/doc-files/LineBorder-1.png,
1069 javax/swing/border/doc-files/BevelBorder-1.png,
1070 javax/swing/border/doc-files/BevelBorder-2.png,
1071 javax/swing/border/doc-files/BevelBorder-3.png,
1072 javax/swing/border/doc-files/EmptyBorder-1.png,
1073 javax/swing/border/doc-files/EtchedBorder-1.png,
1074 javax/swing/border/doc-files/EtchedBorder-2.png,
1075 javax/swing/border/doc-files/MatteBorder-1.png,
1076 javax/swing/border/doc-files/MatteBorder-2.png,
1077 javax/swing/border/doc-files/MatteBorder-3.png,
1078 javax/swing/border/doc-files/MatteBorder-4.png,
1079 javax/swing/border/doc-files/MatteBorder-5.png,
1080 javax/swing/border/doc-files/MatteBorder-6.png,
1081 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1082 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1083 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1084 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1085 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1086 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1087 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1088 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1089 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1090 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1091 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1092 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1093 New binary files from classpath.
1094 * Makefile.am
1095 (awt_java_source_files): Added
1096 javax/swing/border/SoftBevelBorder.java.
1097 * Makefile.in: Regenerated.
1098
1099 2003-06-19 Michael Koch <konqueror@gmx.de>
1100
1101 * gnu/java/security/x509/X509Certificate.java
1102 (writeReplace): Merged from classpath.
1103
1104 2003-06-19 Michael Koch <konqueror@gmx.de>
1105
1106 * gnu/java/nio/FileChannelImpl.java
1107 (map_address): Made public.
1108 (FileChannelImpl): Merged with classpath.
1109 * gnu/java/nio/natFileChannelImpl.cc
1110 (nio_mmap_file): Commented out unused arguments.
1111 (nio_unmmap_file): Likewise.
1112 (niu_msync): Likewise.
1113
1114 2003-06-19 Michael Koch <konqueror@gmx.de>
1115
1116 * java/awt/image/IndexColorModel.java:
1117 New version from classpath.
1118
1119 2003-06-18 Tom Tromey <tromey@redhat.com>
1120
1121 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1122 on arrays.
1123 (isLoopbackAddress): Likewise.
1124 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1125 on arrays.
1126
1127 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1128
1129 * java/lang/natVMSecurityManager.cc (getClassContext):
1130 Use maxlen instead of len for loop bound.
1131
1132 2003-06-18 Michael Koch <konqueror@gmx.de>
1133
1134 * gnu/java/nio/SelectorImpl.java
1135 (register): Use fd with value 0 for now, will be fixed later.
1136 * gnu/java/nio/ServerSocketChannelImpl.java
1137 (fd): Removed.
1138 (local_port): Removed.
1139 (InetSocketAddress): Removed.
1140 (ServerSocketChannelImpl): Just initialize internal socket object.
1141 (implCloseSelectableChannel): Close internal socket object.
1142 (implConfigureBlocking): Added comment.
1143 (accept): Use jaba.net stuff to accept socket.
1144 * gnu/java/nio/SocketChannelImpl.java
1145 (fd): Removed.
1146 (local_port): Removed.
1147 (InetSocketAddress): Removed.
1148 (SocketCreate): Removed.
1149 (SocketConnect): Removed.
1150 (SocketBind): Removed.
1151 (SocketListen): Removed.
1152 (SocketAvailable): Removed.
1153 (SocketClose): Removed.
1154 (SocketRead): Removed.
1155 (SocketWrite): Removed.
1156 (SocketChannelImpl): Just initialize internal socket object.
1157 (implCloseSelectableChannel): Close internal socket object.
1158 (implConfigureBlocking): Fixed implementation, added comment.
1159 (connect): Use internal socket object to connect.
1160 (socket): No need for sanity checks.
1161 (read): Comment out some stuff, this will be reimplemented in the next
1162 commit.
1163 (write): Likewise.
1164 * gnu/java/nio/natFileChannelImpl.cc
1165 (nio_mmap_file): Line wrapped.
1166 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1167 * Makefile.am
1168 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1169 * Makefile.in: Regenerated.
1170
1171 2003-06-18 Michael Koch <konqueror@gmx.de>
1172
1173 * java/util/Locale.java
1174 (equals): Merged from classpath.
1175
1176 2003-06-18 Michael Koch <konqueror@gmx.de>
1177
1178 * java/net/InetAddress.java:
1179 Reformatted to better match classpath's version.
1180 * java/net/URL.java
1181 (equals): Simplified.
1182 * java/net/URLConnection.java
1183 (setDoInput): Revised documentation.
1184 (getDefaultUseCaches): Likewise.
1185 (setRequestProperty): Added @since tag.
1186
1187 2003-06-17 Michael Koch <konqueror@gmx.de>
1188
1189 * java/net/InetSocketAddress.java
1190 (InetSocketAddress): Use wildcard address if addr is null.
1191 (InetSocketAddress): Dont duplicate implementation.
1192 (InetSocketAddress): Throw exception when hostname is null.
1193 * java/net/Socket.java:
1194 Reworked imports.
1195 (Socket): Throw exception when raddr is null, handle case when laddr
1196 is null.
1197
1198 2003-06-17 Michael Koch <konqueror@gmx.de>
1199
1200 * java/nio/DirectByteBufferImpl.java
1201 (address): Made package private.
1202 (DirectByteBufferImpl): New constructor.
1203 * java/nio/natDirectByteBufferImpl.cc
1204 (allocateImpl): Moved to java.nio namespace, implemented.
1205 (freeImpl): Likewise.
1206 (getImpl): Likewise.
1207 (putImpl): Likewise.
1208 * jni.cc
1209 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1210 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1211 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1212
1213 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1214
1215 * include/powerpc-signal.h: New File.
1216 * configure.in: Use it.
1217 * configure: Regenerated.
1218
1219 2003-06-17 Michael Koch <konqueror@gmx.de>
1220
1221 * java/util/Locale.java
1222 (getDisplayLanguage): Made it final.
1223 (getDisplayCountry): Likewise.
1224 (getDisplayVariant): Likewise.
1225 (getDisplayName): Likewise.
1226
1227 2003-06-17 Michael Koch <konqueror@gmx.de>
1228
1229 * java/util/PropertyResourceBundle.java:
1230 Removed unneeded import.
1231
1232 2003-06-17 Michael Koch <konqueror@gmx.de>
1233
1234 * java/util/prefs/AbstractPreferences.java,
1235 java/util/prefs/PreferencesFactory.java:
1236 Reworked imports, removed unused imports.
1237 * java/util/prefs/Preferences.java
1238 (systemNodeForPackage): Method takes a Class not an Object.
1239 (userNodeForPackage): Likewise.
1240 (nodeForPackage): Likewise.
1241
1242 2003-06-17 Michael Koch <konqueror@gmx.de>
1243
1244 * gnu/java/security/x509/X509Certificate.java:
1245 Explicitely import used classes.
1246
1247 2003-06-17 Michael Koch <konqueror@gmx.de>
1248
1249 * java/util/zip/ZipEntry.java,
1250 java/util/zip/ZipFile.java,
1251 java/util/zip/ZipInputStream.java,
1252 java/util/zip/ZipOutputStream.java:
1253 Reworked imports, only import used classes.
1254
1255 2003-06-17 Michael Koch <konqueror@gmx.de>
1256
1257 * gnu/java/lang/ArrayHelper.java,
1258 gnu/java/lang/ClassHelper.java:
1259 Reformatted to match classpath's versions.
1260
1261 2003-06-14 Michael Koch <konqueror@gmx.de>
1262
1263 * gnu/java/nio/FileChannelImpl.java
1264 (map_address): Removed incorrect comment.
1265 * gnu/java/nio/SelectorImpl.java
1266 (register): Remove code duplication and code for file channel handling.
1267 * gnu/java/nio/ServerSocketChannelImpl.java
1268 (serverSocket): Renamed from sock_object.
1269 (ServerSocketChannel): Initialize serverSocket.
1270 (socket): Return serverSocket.
1271 * gnu/java/nio/SocketChannelImpl.java
1272 (socket): Renamed from sock_object.
1273 (isConnectionPenging): Simplified.
1274 (socket): Return socket.
1275 2003-06-14 Michael Koch <konqueror@gmx.de>
1276
1277 * java/security/BasicPermission.java:
1278 New version from classpath.
1279
1280 2003-06-14 Michael Koch <konqueror@gmx.de>
1281
1282 * javax/naming/directory/Attribute.java:
1283 New version from classpath.
1284
1285 2003-06-14 Michael Koch <konqueror@gmx.de>
1286
1287 * java/io/BufferedReader.java,
1288 java/io/FileOutputStream.java:
1289 New versions from classpath.
1290
1291 2003-06-12 Andrew Haley <aph@redhat.com>
1292
1293 * prims.cc (catch_segv): Create exception in handler.
1294 (catch_fpe): Likewise.
1295 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1296 (_Jv_ThrowSignal): Remove.
1297
1298 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1299 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1300 to nullp and arithexception.
1301 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1302 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1303 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1304 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1305 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1306
1307 2003-06-11 Andrew Haley <aph@redhat.com>
1308
1309 * jni.cc (_Jv_JNI_check_types): New.
1310 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1311 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1312 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1313 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1314
1315 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1316 infinite loop.
1317
1318 2003-06-11 Tom Tromey <tromey@redhat.com>
1319
1320 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1321 * java/io/PrintStream.java: Not deprecated.
1322
1323 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1324
1325 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1326 (fillOval): implemented
1327 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1328 (fillArc): implemented.
1329 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1330 (fillArc): added native method.
1331 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1332 (fillArc): added native method.
1333
1334 2003-06-11 Michael Koch <konqueror@gmx.de>
1335
1336 * java/awt/im/InputSubset.java:
1337 New version from classpath.
1338
1339 2003-06-11 Michael Koch <konqueror@gmx.de>
1340
1341 * javax/swing/AbstractAction.java,
1342 javax/swing/AbstractButton.java,
1343 javax/swing/AbstractCellEditor.java,
1344 javax/swing/AbstractListModel.java,
1345 javax/swing/BorderFactory.java,
1346 javax/swing/Box.java,
1347 javax/swing/BoxLayout.java,
1348 javax/swing/ButtonGroup.java,
1349 javax/swing/DefaultButtonModel.java,
1350 javax/swing/DefaultListModel.java,
1351 javax/swing/DefaultListSelectionModel.java,
1352 javax/swing/FocusManager.java,
1353 javax/swing/ImageIcon.java,
1354 javax/swing/InputMap.java,
1355 javax/swing/JApplet.java,
1356 javax/swing/JButton.java,
1357 javax/swing/JCheckBox.java,
1358 javax/swing/JCheckBoxMenuItem.java,
1359 javax/swing/JColorChooser.java,
1360 javax/swing/JComboBox.java,
1361 javax/swing/JComponent.java,
1362 javax/swing/JDesktopPane.java,
1363 javax/swing/JDialog.java,
1364 javax/swing/JEditorPane.java,
1365 javax/swing/JFileChooser.java,
1366 javax/swing/JFormattedTextField.java,
1367 javax/swing/JFrame.java,
1368 javax/swing/JLabel.java,
1369 javax/swing/JLayeredPane.java,
1370 javax/swing/JList.java,
1371 javax/swing/JMenuBar.java,
1372 javax/swing/JMenuItem.java,
1373 javax/swing/JOptionPane.java,
1374 javax/swing/JPanel.java,
1375 javax/swing/JPasswordField.java,
1376 javax/swing/JPopupMenu.java,
1377 javax/swing/JProgressBar.java,
1378 javax/swing/JRadioButton.java,
1379 javax/swing/JRadioButtonMenuItem.java,
1380 javax/swing/JRootPane.java,
1381 javax/swing/JScrollBar.java,
1382 javax/swing/JScrollPane.java,
1383 javax/swing/JSeparator.java,
1384 javax/swing/JSlider.java,
1385 javax/swing/JTabbedPane.java,
1386 javax/swing/JTable.java,
1387 javax/swing/JTextField.java,
1388 javax/swing/JToggleButton.java,
1389 javax/swing/JToolBar.java,
1390 javax/swing/JToolTip.java,
1391 javax/swing/JTree.java,
1392 javax/swing/JViewport.java,
1393 javax/swing/JWindow.java,
1394 javax/swing/KeyStroke.java,
1395 javax/swing/ListSelectionModel.java,
1396 javax/swing/LookAndFeel.java,
1397 javax/swing/RepaintManager.java,
1398 javax/swing/ScrollPaneLayout.java,
1399 javax/swing/SizeRequirements.java,
1400 javax/swing/SwingConstants.java,
1401 javax/swing/Timer.java,
1402 javax/swing/UIDefaults.java,
1403 javax/swing/UIManager.java,
1404 javax/swing/border/AbstractBorder.java,
1405 javax/swing/border/CompoundBorder.java,
1406 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1407 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1408 javax/swing/colorchooser/ColorSelectionModel.java,
1409 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1410 javax/swing/event/AncestorEvent.java,
1411 javax/swing/event/HyperlinkEvent.java,
1412 javax/swing/event/InternalFrameAdapter.java,
1413 javax/swing/event/InternalFrameEvent.java,
1414 javax/swing/event/ListDataEvent.java,
1415 javax/swing/event/MouseInputAdapter.java,
1416 javax/swing/event/SwingPropertyChangeSupport.java,
1417 javax/swing/event/TableModelEvent.java,
1418 javax/swing/event/TreeWillExpandListener.java,
1419 javax/swing/event/UndoableEditEvent.java,
1420 javax/swing/filechooser/FileFilter.java,
1421 javax/swing/filechooser/FileSystemView.java,
1422 javax/swing/filechooser/FileView.java,
1423 javax/swing/plaf/BorderUIResource.java,
1424 javax/swing/plaf/basic/BasicDefaults.java,
1425 javax/swing/table/AbstractTableModel.java,
1426 javax/swing/table/DefaultTableCellRenderer.java,
1427 javax/swing/table/DefaultTableColumnModel.java,
1428 javax/swing/table/DefaultTableModel.java,
1429 javax/swing/table/TableColumn.java,
1430 javax/swing/text/JTextComponent.java,
1431 javax/swing/tree/AbstractLayoutCache.java,
1432 javax/swing/tree/DefaultMutableTreeNode.java,
1433 javax/swing/tree/DefaultTreeCellEditor.java,
1434 javax/swing/tree/DefaultTreeCellRenderer.java,
1435 javax/swing/tree/DefaultTreeModel.java,
1436 javax/swing/tree/DefaultTreeSelectionModel.java,
1437 javax/swing/tree/FixedHeightLayoutCache.java,
1438 javax/swing/tree/TreeCellEditor.java,
1439 javax/swing/tree/TreeModel.java,
1440 javax/swing/tree/TreeNode.java,
1441 javax/swing/tree/TreePath.java,
1442 javax/swing/tree/TreeSelectionModel.java,
1443 javax/swing/tree/VariableHeightLayoutCache.java,
1444 javax/swing/undo/AbstractUndoableEdit.java,
1445 javax/swing/undo/CompoundEdit.java,
1446 javax/swing/undo/StateEdit.java,
1447 javax/swing/undo/UndoManager.java,
1448 javax/swing/undo/UndoableEditSupport.java:
1449 New versions from classpath.
1450 * javax/swing/table/JTableHeader.java:
1451 New file from classpath.
1452 * Makefile.am
1453 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1454 * Makefile.in: Regenerated.
1455
1456 2003-06-11 Michael Koch <konqueror@gmx.de>
1457
1458 * java/nio/MappedByteBuffer.java,
1459 java/nio/channels/Channels.java,
1460 java/nio/channels/ServerSocketChannel.java,
1461 java/nio/channels/spi/AbstractSelector.java:
1462 Removed unneeded imports.
1463
1464 2003-06-11 Michael Koch <konqueror@gmx.de>
1465
1466 * java/net/DatagramSocket.java:
1467 Partly merged with classpath.
1468
1469 2003-06-11 Michael Koch <konqueror@gmx.de>
1470
1471 * java/awt/Frame.java,
1472 java/awt/Graphics.java,
1473 java/awt/Menu.java,
1474 java/awt/Robot.java,
1475 java/awt/image/ColorModel.java:
1476 New versions from classpath.
1477
1478 2003-06-10 Michael Koch <konqueror@gmx.de>
1479
1480 * java/io/PrintStream.java:
1481 Merged version from classpath.
1482 (close): Removed sychronized keyword. This class is not garantied to
1483 be thread-safe.
1484 (write): Likewise.
1485
1486 2003-06-09 Tom Tromey <tromey@redhat.com>
1487
1488 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1489 field.
1490 (getDescent): Likewise, for "descent".
1491
1492 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1493
1494 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1495 (getMaxDescent): adjusted return value.
1496 (getAscent): modified to use metrics for 'O'.
1497 (getDescent): modified to use metrics for 'y'.
1498
1499 2003-06-08 Anthony Green <green@redhat.com>
1500
1501 * java/net/URLStreamHandler.java (sameFile): Fix port value
1502 comparison.
1503 * java/net/URL.java (handler): Make package private.
1504 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1505
1506 2003-06-07 Tom Tromey <tromey@redhat.com>
1507
1508 For PR libgcj/11085:
1509 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1510 Limit number of characters in numeric field when required.
1511 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1512 Respect maximumIntegerDigits.
1513
1514 2003-06-08 Michael Koch <konqueror@gmx.de>
1515
1516 * java/net/Socket.java
1517 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1518 call bind() and connect() to actually do the bind and connect tasks.
1519 (bind): Connect to canonical address if bindpoint is null, create
1520 socket and bind it to bindpoint.
1521 (connect): Check for exceptions.
1522
1523 2003-06-08 Michael Koch <konqueror@gmx.de>
1524
1525 * java/net/DatagramSocket.java
1526 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1527 into the Multicast constructors.
1528 * java/net/DatagramSocketImpl.java
1529 (getOption): Removed.
1530 (setOption): Removed.
1531 * java/net/MulticastSocket.java
1532 (MulticastSocket): Call setReuseAddress (true).
1533 * java/net/SocketImpl.java
1534 (getOption): Removed.
1535 (setOption): Removed.
1536
1537 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1538
1539 PR libgcj/10886:
1540 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1541 Test for empty vector.
1542
1543 2003-06-06 Mark Wielaard <mark@klomp.org>
1544
1545 * java/security/Security.java (secprops): Initialize.
1546 (loadProviders): Return boolean.
1547 (static): Check result of loadProvider calls. If necessary
1548 display WARNING and fallback to Gnu provider.
1549
1550 2002-06-06 James Clark <jjc@jclark.com>
1551
1552 Fix for PR libgcj/8738:
1553 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1554 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1555 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1556 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1557 (write): Always decrease avail when count is increased.
1558 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1559 and whether output buffer is full before increasing size.
1560
1561 2002-06-06 Mark Wielaard <mark@klomp dot org>
1562
1563 * java/io/PrintStream.java (writeChars(char[],int, int)):
1564 Check converter.havePendingBytes().
1565 (writeChars(String,int,int)): Likewise.
1566 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1567 Check converter.havePendingBytes() and flush buffer when stalled.
1568
1569 2003-06-07 Michael Koch <konqueror@gmx.de>
1570
1571 * include/posix.h
1572 (O_DSYNC): Define O_DSYNC on platforms not
1573 supporting O_FSYNC (newlib).
1574
1575 2003-06-06 Mark Wielaard <mark@klomp.org>
1576
1577 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1578 AWTError.
1579
1580 2003-06-06 Michael Koch <konqueror@gmx.de>
1581
1582 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1583 More compile fixes from my stupid work yesterday.
1584
1585 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1586
1587 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1588 if _IEEE_LIBM is undefined.
1589
1590 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1591
1592 * libjava/include/posix.h (O_SYNC): Define if not available
1593 and a reasonable, perhaps more conservative, replacement exists.
1594 (O_DSYNC): Likewise.
1595 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1596
1597 2003-06-05 Michael Koch <konqueror@gmx.de>
1598
1599 * javax/swing/plaf/BorderUIResource.java,
1600 javax/swing/plaf/basic/BasicDefaults.java,
1601 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1602 More compile fixes for latest Border commit. I should not commit
1603 something in this heat here ...
1604
1605 2003-06-05 Michael Koch <konqueror@gmx.de>
1606
1607 * javax/swing/border/BevelBorder.java
1608 (BevelBorder): Removed.
1609 * javax/swing/border/EmptyBorder.java:
1610 Reformatted.
1611 (EmptyBorder): Removed.
1612 (getBorderInsets): Dont use l, r, t and b.
1613 * javax/swing/border/EtchedBorder.java
1614 (EtchedBorder): Removed.
1615 * javax/swing/border/LineBorder.java
1616 (LineBorder): Removed.
1617 * javax/swing/border/MatteBorder.java
1618 (MatteBorder): Removed.
1619 * javax/swing/border/TitledBorder.java
1620 (defaultBorder): Use other default for now.
1621 (defaultFont): Likewise.
1622 (defaultColor): Likewise.
1623
1624 2003-06-05 Michael Koch <konqueror@gmx.de>
1625
1626 * javax/swing/border/Border.java:
1627 New version from classpath.
1628
1629 2003-06-05 Michael Koch <konqueror@gmx.de>
1630
1631 * javax/swing/border/AbstractBorder.java,
1632 javax/swing/border/BevelBorder.java,
1633 javax/swing/border/CompoundBorder.java,
1634 javax/swing/border/EmptyBorder.java,
1635 javax/swing/border/EtchedBorder.java,
1636 javax/swing/border/LineBorder.java,
1637 javax/swing/border/MatteBorder.java,
1638 javax/swing/border/TitledBorder.java:
1639 New versions from Classpath.
1640
1641 2003-06-05 Michael Koch <konqueror@gmx.de>
1642
1643 * java/awt/Button.java,
1644 java/awt/Checkbox.java,
1645 java/awt/CheckboxMenuItem.java,
1646 java/awt/Choice.java,
1647 java/awt/Container.java,
1648 java/awt/Dialog.java,
1649 java/awt/EventQueue.java,
1650 java/awt/FileDialog.java,
1651 java/awt/Frame.java,
1652 java/awt/Label.java,
1653 java/awt/List.java,
1654 java/awt/Menu.java,
1655 java/awt/MenuItem.java,
1656 java/awt/Panel.java,
1657 java/awt/PopupMenu.java,
1658 java/awt/Rectangle.java,
1659 java/awt/ScrollPane.java,
1660 java/awt/Scrollbar.java,
1661 java/awt/TextArea.java,
1662 java/awt/TextField.java,
1663 java/awt/Window.java,
1664 java/awt/datatransfer/DataFlavor.java,
1665 java/awt/dnd/DragSource.java,
1666 java/awt/dnd/DragSourceContext.java,
1667 java/awt/event/HierarchyEvent.java,
1668 java/awt/event/MouseWheelEvent.java,
1669 java/awt/im/InputContext.java,
1670 java/awt/image/BufferedImage.java,
1671 java/awt/image/ComponentColorModel.java,
1672 java/awt/image/Raster.java,
1673 java/awt/image/WritableRaster.java,
1674 java/awt/peer/ComponentPeer.java,
1675 java/awt/print/PageFormat.java,
1676 java/awt/print/PrinterJob.java:
1677 New versions from Classpath.
1678
1679 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1680
1681 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1682 numberFormat.setParseIntegerOnly(true).
1683
1684 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1685
1686 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1687
1688 2003-06-03 Andrew Haley <aph@redhat.com>
1689
1690 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1691 stack volatile to prevent optimization from removing it.
1692
1693 2003-05-27 Michael Koch <konqueror@gmx.de>
1694
1695 * java/util/zip/Deflater.java
1696 (FILTERED): Merged documentation from classpath.
1697 * java/util/zip/DeflaterOutputStream.java
1698 (DeflaterOutputStream): Merged documentation and argument validity
1699 check from classpath.
1700 (deflate): Merged documentation from classpath.
1701 (finish): Likewise.
1702 * java/util/zip/Inflater.java
1703 (Inflater): Merged class documentation from classpath.
1704 (zstream): Reordered.
1705 (is_finished): Reordered.
1706 (dict_needed): Reordered.
1707 (Inflater): Reordered, merged documentation from classpath.
1708 (end): Likewise.
1709 (finalize): Merged documentation from classpath.
1710 (finished): Likewise.
1711 (getAdler): Likewise.
1712 (getRemaining): Likewise.
1713 (getTotalIn): Likewise.
1714 (getTotalOut): Likewise.
1715 (inflate): Likewise.
1716 (needsDictionary): Likewise.
1717 (needsInput): Likewise.
1718 (reset): Likewise.
1719 (setDictionary): Likewise.
1720 (setInput): Likewise.
1721
1722 2003-05-27 Michael Koch <konqueror@gmx.de>
1723
1724 * java/net/URLConnection.java
1725 (getHeaderFieldInt): Merged with classpath.
1726
1727 2003-05-27 Michael Koch <konqueror@gmx.de>
1728
1729 * java/io/PrintStream.java
1730 (PrintStream): Reformatted.
1731 (PrintStream): New method, merged from classpath.
1732 (write): Reformatted.
1733
1734 2003-05-27 Michael Koch <konqueror@gmx.de>
1735
1736 * java/lang/System.java:
1737 Explicitely import needed classes.
1738
1739 2003-05-26 Michael Koch <konqueror@gmx.de>
1740
1741 * java/net/NetPermission.java,
1742 java/net/NetworkInterface.java,
1743 java/net/PasswordAuthentication.java,
1744 java/net/SocketPermission.java:
1745 New versions from classpath.
1746
1747 2003-05-25 Michael Koch <konqueror@gmx.de>
1748
1749 * java/io/PushbackInputStream.java,
1750 java/net/Authenticator.java,
1751 java/net/ContentHandler.java,
1752 java/net/ContentHandlerFactory.java,
1753 java/net/DatagramSocket.java,
1754 java/net/DatagramSocketImpl.java,
1755 java/net/DatagramSocketImplFactory.java,
1756 java/net/FileNameMap.java,
1757 java/net/SocketImplFactory.java,
1758 java/net/SocketOptions.java,
1759 java/net/URLStreamHandlerFactory.java:
1760 Merged new versions from classpath.
1761
1762 2003-05-25 Michael Koch <konqueror@gmx.de>
1763
1764 * java/awt/Checkbox.java,
1765 java/awt/Dialog.java,
1766 java/awt/Font.java,
1767 java/awt/Frame.java,
1768 java/awt/ScrollPaneAdjustable.java,
1769 java/awt/Scrollbar.java,
1770 java/awt/Window.java:
1771 New versions from classpath.
1772
1773 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1774
1775 PR libgcj/10838:
1776 * java/io/ObjectInputStream (enableResolveObject):
1777 Fixed spelling of permission name.
1778
1779 2003-05-20 Michael Koch <konqueror@gmx.de>
1780
1781 * java/io/DataInputStream.java
1782 (convertFromUTF): Merged comment from classpath.
1783 * java/io/PrintStream.java
1784 (error_occured): Renamed from error, merged comment from classpath.
1785 (PrintStream): No need to initialized error.
1786 (checkError): Replace error with error_occurred.
1787 (setError): Likewise.
1788
1789 2003-05-20 Michael Koch <konqueror@gmx.de>
1790
1791 * java/io/DataInputStream.java:
1792 Reformatted, Replaced < and & with html entitites in documentation.
1793 * java/io/File.java:
1794 Reformatted.
1795 * java/io/PrintWriter.java:
1796 Moved class documentation.
1797
1798 2003-05-20 Michael Koch <konqueror@gmx.de>
1799
1800 * gnu/java/nio/ByteBufferImpl.java,
1801 gnu/java/nio/CharBufferImpl.java,
1802 gnu/java/nio/CharViewBufferImpl.java,
1803 gnu/java/nio/DirectByteBufferImpl.java,
1804 gnu/java/nio/DoubleBufferImpl.java,
1805 gnu/java/nio/DoubleViewBufferImpl.java,
1806 gnu/java/nio/FloatBufferImpl.java,
1807 gnu/java/nio/FloatViewBufferImpl.java,
1808 gnu/java/nio/IntBufferImpl.java,
1809 gnu/java/nio/IntViewBufferImpl.java,
1810 gnu/java/nio/LongBufferImpl.java,
1811 gnu/java/nio/LongViewBufferImpl.java,
1812 gnu/java/nio/natDirectByteBufferImpl.cc,
1813 gnu/java/nio/ShortBufferImpl.java,
1814 gnu/java/nio/ShortViewBufferImpl.java:
1815 Moved files to java/nio.
1816 * gnu/java/nio/SocketChannelImpl.java
1817
1818 * java/nio/ByteBuffer.java,
1819 java/nio/CharBuffer.java,
1820 java/nio/DoubleBuffer.java,
1821 java/nio/FloatBuffer.java,
1822 java/nio/IntBuffer.java,
1823 java/nio/LongBuffer.java,
1824 java/nio/ShortBuffer.java:
1825 Dont import anything.
1826 * java/nio/ByteBufferImpl.java,
1827 java/nio/CharBufferImpl.java,
1828 java/nio/CharViewBufferImpl.java,
1829 java/nio/DirectByteBufferImpl.java,
1830 java/nio/DoubleBufferImpl.java,
1831 java/nio/DoubleViewBufferImpl.java,
1832 java/nio/FloatBufferImpl.java,
1833 java/nio/FloatViewBufferImpl.java,
1834 java/nio/IntBufferImpl.java,
1835 java/nio/IntViewBufferImpl.java,
1836 java/nio/LongBufferImpl.java,
1837 java/nio/LongViewBufferImpl.java,
1838 java/nio/natDirectByteBufferImpl.cc,
1839 java/nio/ShortBufferImpl.java,
1840 java/nio/ShortViewBufferImpl.java:
1841 Moved from gnu/java/nio.
1842 * Makefile.am
1843 (ordinary_java_source_files): Moved files from gnu/java/nio to
1844 java/nio.
1845 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1846 to java/nio.
1847 * Makefile.in: Regenerated.
1848
1849 2003-05-19 Michael Koch <konqueror@gmx.de>
1850
1851 * java/util/Calendar.java
1852 (get): Not final anymore since JDK 1.4
1853 (set): Likewise.
1854
1855 2003-05-19 Michael Koch <konqueror@gmx.de>
1856
1857 * java/text/CollationKey.java:
1858 Merged copyright and dat from classpath.
1859 * java/text/RuleBasedCollator.java:
1860 Merged class documentation from classpath.
1861
1862 2003-05-19 Michael Koch <konqueror@gmx.de>
1863
1864 * java/nio/CharBuffer.java
1865 (toString): Compile fix.
1866
1867 2003-05-19 Michael Koch <konqueror@gmx.de>
1868
1869 * gnu/java/nio/ByteBufferImpl.java
1870 (putLong): Fixed conversion to bytes.
1871 (putDouble): Fixed conversion to bytes.
1872 * gnu/java/nio/DirectByteBufferImpl.java
1873 (putLong): Fixed conversion to bytes.
1874 (putDouble): Fixed conversion to bytes.
1875 * gnu/java/nio/FileLockImpl.java
1876 (isValid): Reformatted.
1877 * java/nio/Buffer.java
1878 (Buffer): Fixed off-by-one bug in handling mark.
1879 * java/nio/ByteBuffer.java:
1880 Added newline.
1881 * java/nio/CharBuffer.java
1882 (toString): Don't use relative get to get string data.
1883
1884 2003-05-16 Michael Koch <konqueror@gmx.de>
1885
1886 * java/io/natFileDescriptorPosix.cc
1887 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1888 tested.
1889
1890 2003-05-14 Michael Koch <konqueror@gmx.de>
1891
1892 * gnu/java/nio/FileLockImpl.java
1893 (released): New member variable.
1894 (FileLockImpl): Initialize released.
1895 (releaseImpl): New native method.
1896 (release): Implemented.
1897 * gnu/java/nio/SelectorImpl.java: Reformatted.
1898 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1899 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1900 (accept): Throws IOException.
1901 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1902 (implConfigureBlocking): Throws IOException.
1903 (connect): Likewise.
1904 (read): Likewise.
1905 (write): Likewise.
1906 * gnu/java/nio/natFileLockImpl.cc: New file.
1907 * java/nio/channels/FileLock.java: Reformatted.
1908 * Makefile.am:
1909 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1910 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1911 * Makefile.in: Regenerated.
1912
1913 2003-05-13 Michael Koch <konqueror@gmx.de>
1914
1915 * gnu/java/nio/CharViewBufferImpl.java
1916 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1917 (get): Shift bits to the right direction.
1918 (put): Likewise.
1919 * gnu/java/nio/DoubleViewBufferImpl.java
1920 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1921 (get): Shift bits to the right direction.
1922 (put): Likewise.
1923 * gnu/java/nio/FloatViewBufferImpl.java
1924 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1925 (get): Shift bits to the right direction.
1926 (put): Likewise.
1927 * gnu/java/nio/IntViewBufferImpl.java
1928 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1929 (get): Shift bits to the right direction.
1930 (put): Likewise.
1931 * gnu/java/nio/LongViewBufferImpl.java
1932 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1933 (get): Shift bits to the right direction.
1934 (put): Likewise.
1935 * gnu/java/nio/ShortViewBufferImpl.java
1936 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1937 (get): Shift bits to the right direction.
1938 (put): Likewise.
1939
1940 2003-05-13 Michael Koch <konqueror@gmx.de>
1941
1942 * gnu/java/nio/natDirectByteBufferImpl.cc
1943 (allocateImpl): jlong -> RawData*.
1944 (freeImpl): Likewise.
1945
1946 2003-05-13 Michael Koch <konqueror@gmx.de>
1947
1948 * java/nio/channels/FileChannel.java
1949 (MapMode.m): Made it package-private to match JDK 1.4.
1950 * java/nio/charset/Charset.java
1951 (decode): Made it final to match JDK 1.4.
1952
1953 2003-05-13 Michael Koch <konqueror@gmx.de>
1954
1955 * java/io/FileDescriptor.java
1956 (SYNC): New constant.
1957 (DSYNC): Likewise.
1958 (getLength): Renamed from lenght() to match classpath's
1959 FileDescriptor.java.
1960 * java/io/RandomAccessFile.java
1961 (RandomAccessFile): Removed unneeded mode check, implemented mode
1962 "rws" and "rwd", merged documentation from classpath.
1963 (setLength): Reformatted.
1964 (length): Use new getLength() of FileDescriptor.
1965 * java/io/natFileDescriptorEcos.cc
1966 (getLength): Renamed from length().
1967 * java/io/natFileDescriptorPosix.cc
1968 (open): Implemented support for SYNC and DSYNC.
1969 (seek): Use getLength() instead of length().
1970 (getLength): Renamed from length().
1971 * java/io/natFileDescriptorWin32.cc
1972 (getLength): Renamed from length().
1973 (seek): Use getLength() instead of length().
1974 (available): Likewise.
1975 * gnu/java/nio/natFileChannelImpl.cc
1976 (size): Use getLength() instead of length().
1977
1978 2003-05-13 Michael Koch <konqueror@gmx.de>
1979
1980 * gnu/java/nio/ByteBufferImpl.java
1981 (ByteBufferImpl): All constructors revised.
1982 (slice): Reimplemented.
1983 (duplicate): Reimplemented.
1984 (asReadOnlyBuffer): Reimplemented.
1985 * java/nio/ByteBuffer.java:
1986 Reformatted.
1987 (array_offset): Renamed from "offset" to match all other buffer
1988 classes.
1989 (ByteBuffer): All constructors revised.
1990 (allocateDirect): Implemented.
1991 (allocate): New implementation, documentation reworked.
1992 (wrap): Likewise.
1993 (get): Documentation reworked.
1994 (put): New implementation, documentation reworked.
1995 (hasArray): Documentation reworked.
1996 (arrayOffset): Likewise.
1997 (hashCode): Likewise.
1998 (equals): Likewise.
1999 (compareTo): Likewise.
2000 (order): Likewise.
2001 (compact): Likewise.
2002 (isDirect): Likewise.
2003 (slice): Likewise.
2004 (duplicate): Likewise.
2005 (asReadOnlyBuffer): Likewise.
2006 * Makefile.am
2007 (ordinary_java_source_files):
2008 Added gnu/java/nio/DirectByteBufferImpl.java.
2009 (nat_source_files):
2010 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2011 * Makefile.in: Regenerated.
2012
2013 2003-05-12 Michael Koch <konqueror@gmx.de>
2014
2015 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2016 (nio_get_*): Removed.
2017 (nio_put_*): Removed.
2018 (as*Buffer): Implemented.
2019 (compact): Implemented.
2020 (get): Documentation added.
2021 (put): Documentation added.
2022 (get*): Newly implemented.
2023 (put*): Newly implemented.
2024 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2025 (CharBufferImpl): Revised.
2026 (slice): New implementation.
2027 (duplicate): New implementation.
2028 (compact): New implementation.
2029 (asReadOnlyBuffer): New implementation.
2030 (get): Documentation revised.
2031 (order): Return native byte order.
2032 * gnu/java/nio/DirectByteBufferImpl.java
2033 (allocateDirect): objects can be null not 0.
2034 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2035 (DoubleBufferImpl): Revised.
2036 (slice): New implementation.
2037 (duplicate): New implementation.
2038 (compact): New implementation.
2039 (asReadOnlyBuffer): New implementation.
2040 (get): Documentation revised.
2041 (order): Return native byte order.
2042 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2043 (FloatBufferImpl): Revised.
2044 (slice): New implementation.
2045 (duplicate): New implementation.
2046 (compact): New implementation.
2047 (asReadOnlyBuffer): New implementation.
2048 (get): Documentation revised.
2049 (order): Return native byte order.
2050 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2051 (IntBufferImpl): Revised.
2052 (slice): New implementation.
2053 (duplicate): New implementation.
2054 (compact): New implementation.
2055 (asReadOnlyBuffer): New implementation.
2056 (get): Documentation revised.
2057 (order): Return native byte order.
2058 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2059 (LongBufferImpl): 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/ShortBufferImpl.java: Reformatted.
2067 (ShortBufferImpl): Revised.
2068 (slice): New implementation.
2069 (duplicate): New implementation.
2070 (compact): New implementation.
2071 (asReadOnlyBuffer): New implementation.
2072 (get): Documentation revised.
2073 (order): Return native byte order.
2074 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2075 (CharBuffer): Revised.
2076 (order): Removed.
2077 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2078 (DoubleBuffer): Revised.
2079 (allocateDirect): Removed.
2080 (order): Removed.
2081 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2082 (FloatBuffer): Revised.
2083 (allocateDirect): Removed.
2084 (order): Removed.
2085 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2086 (IntBuffer): Revised.
2087 (allocateDirect): Removed.
2088 (order): Removed.
2089 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2090 (LongBuffer): Revised.
2091 (allocateDirect): Removed.
2092 (order): Removed.
2093 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2094 (ShortBuffer): Revised.
2095 (allocateDirect): Removed.
2096 (order): Removed.
2097 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2098 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2099 * Makefile.am
2100 (ordinary_java_source_files): Added the following files:
2101 gnu/java/nio/CharViewBufferImpl.java,
2102 gnu/java/nio/DoubleViewBufferImpl.java,
2103 gnu/java/nio/FloatViewBufferImpl.java,
2104 gnu/java/nio/IntViewBufferImpl.java,
2105 gnu/java/nio/LongViewBufferImpl.java,
2106 gnu/java/nio/ShortViewBufferImpl.java
2107 (nat_source_files): Removed the following files:
2108 gnu/java/nio/natByteBufferImpl.cc,
2109 gnu/java/nio/natCharBufferImpl.cc
2110 * Makefile.in: Regenerated.
2111
2112 2003-05-12 Michael Koch <konqueror@gmx.de>
2113
2114 * gnu/java/nio/CharViewBufferImpl.java,
2115 gnu/java/nio/DirectByteBufferImpl.java,
2116 gnu/java/nio/DoubleViewBufferImpl.java,
2117 gnu/java/nio/FloatViewBufferImpl.java,
2118 gnu/java/nio/IntViewBufferImpl.java,
2119 gnu/java/nio/LongViewBufferImpl.java,
2120 gnu/java/nio/ShortViewBufferImpl.java,
2121 gnu/java/nio/natDirectByteBufferImpl.cc:
2122 New files, not yet to be compiled.
2123
2124 2003-05-10 Michael Koch <konqueror@gmx.de>
2125
2126 * javax/swing/plaf/ButtonUI.java,
2127 javax/swing/plaf/ColorUIResource.java,
2128 javax/swing/plaf/ComponentUI.java,
2129 javax/swing/plaf/DimensionUIResource.java,
2130 javax/swing/plaf/FontUIResource.java,
2131 javax/swing/plaf/IconUIResource.java,
2132 javax/swing/plaf/InsetsUIResource.java,
2133 javax/swing/plaf/LabelUI.java,
2134 javax/swing/plaf/ListUI.java,
2135 javax/swing/plaf/OptionPaneUI.java,
2136 javax/swing/plaf/PanelUI.java,
2137 javax/swing/plaf/TabbedPaneUI.java,
2138 javax/swing/plaf/TextUI.java,
2139 javax/swing/plaf/TreeUI.java,
2140 javax/swing/plaf/ViewportUI.java,
2141 javax/swing/plaf/basic/BasicBorders.java,
2142 javax/swing/plaf/basic/BasicButtonUI.java,
2143 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2144 javax/swing/plaf/basic/BasicDefaults.java,
2145 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2146 javax/swing/plaf/basic/BasicIconFactory.java,
2147 javax/swing/plaf/basic/BasicLabelUI.java,
2148 javax/swing/plaf/basic/BasicListUI.java,
2149 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2150 javax/swing/plaf/basic/BasicPanelUI.java,
2151 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2152 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2153 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2154 javax/swing/plaf/basic/BasicTextUI.java,
2155 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2156 javax/swing/plaf/basic/BasicTreeUI.java,
2157 javax/swing/plaf/basic/BasicViewportUI.java,
2158 javax/swing/plaf/metal/MetalLookAndFeel.java:
2159 New versions from classpath. This adds copyrights to all files and
2160 some serialVersionUIDs.
2161
2162 2003-05-10 Michael Koch <konqueror@gmx.de>
2163
2164 * java/nio/CharBuffer.java
2165 (offset): Make it package-private.
2166 (backing_buffer): Likewise.
2167 * java/nio/DoubleBuffer.java
2168 (offset): Make it package-private.
2169 (backing_buffer): Likewise.
2170 (put): Reformatted.
2171 * java/nio/FloatBuffer.java
2172 (offset): Make it package-private.
2173 (backing_buffer): Likewise.
2174 * java/nio/IntBuffer.java
2175 (offset): Make it package-private.
2176 (backing_buffer): Likewise.
2177 * java/nio/LongBuffer.java
2178 (offset): Make it package-private.
2179 (backing_buffer): Likewise.
2180 * java/nio/ShortBuffer.java
2181 (offset): Make it package-private.
2182 (backing_buffer): Likewise.
2183
2184 2003-05-10 Michael Koch <konqueror@gmx.de>
2185
2186 * java/nio/CharBuffer.java
2187 (put): Fixed precondtion check.
2188 (toString): Make it work without backing array.
2189 (put): Skip one level of method calling.
2190
2191 2003-05-10 Michael Koch <konqueror@gmx.de>
2192
2193 * java/security/Identity.java,
2194 java/security/IdentityScope.java,
2195 java/security/Key.java,
2196 java/security/KeyPair.java,
2197 java/security/PrivateKey.java,
2198 java/security/Provider.java,
2199 java/security/PublicKey.java,
2200 java/security/SecureRandom.java,
2201 java/security/SecureRandomSpi.java,
2202 java/security/SignedObject.java,
2203 java/security/Signer.java,
2204 java/security/cert/Certificate.java,
2205 java/security/cert/PKIXCertPathBuilderResult.java,
2206 java/security/cert/X509Certificate.java:
2207 New versions from classpath.
2208
2209 2003-05-09 Tom Tromey <tromey@redhat.com>
2210
2211 * Makefile.in: Rebuilt.
2212 * Makefile.am (nat_source_files): Removed old files.
2213 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2214 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2215 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2216 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2217 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2218
2219 2003-05-09 Michael Koch <konqueror@gmx.de>
2220
2221 * gnu/java/nio/ByteBufferImpl.java
2222 (nio_cast): Removed.
2223 (ByteBufferImpl): Removed.
2224 (nio_get_Byte): Removed.
2225 (nio_put_Byte): Removed.
2226 (asByteBuffer): Removed.
2227 (asCharBuffer): Removed implementation and throw exception.
2228 (asShortBuffer): Likewise.
2229 (asIntBuffer): Likewise.
2230 (asLongBuffer): Likewise.
2231 (asFloatBuffer): Likewise.
2232 (asDoubleBuffer): Likewise.
2233 * gnu/java/nio/CharBufferImpl.java
2234 (CharBufferImpl): Removed.
2235 (nio_get_Byte): Removed.
2236 (nio_put_Byte): Removed.
2237 (asByteBuffer): Removed.
2238 * gnu/java/nio/DoubleBufferImpl.java
2239 (DoubleBufferImpl): Removed.
2240 (nio_get_Byte): Removed.
2241 (nio_put_Byte): Removed.
2242 (asByteBuffer): Removed.
2243 * gnu/java/nio/FloatBufferImpl.java
2244 (FloatBufferImpl): Removed.
2245 (nio_get_Byte): Removed.
2246 (nio_put_Byte): Removed.
2247 (asByteBuffer): Removed.
2248 * gnu/java/nio/IntBufferImpl.java
2249 (IntBufferImpl): Removed.
2250 (nio_get_Byte): Removed.
2251 (nio_put_Byte): Removed.
2252 (asByteBuffer): Removed.
2253 * gnu/java/nio/LongBufferImpl.java
2254 (LongBufferImpl): Removed.
2255 (nio_get_Byte): Removed.
2256 (nio_put_Byte): Removed.
2257 (asByteBuffer): Removed.
2258 * gnu/java/nio/ShortBufferImpl.java
2259 (ShortBufferImpl): Removed.
2260 (nio_get_Byte): Removed.
2261 (nio_put_Byte): Removed.
2262 (asByteBuffer): Removed.
2263 * gnu/java/nio/natByteBufferImpl.cc
2264 (nio_cast): Removed.
2265 (nio_get_Byte): Removed.
2266 (nio_put_Byte): Removed.
2267 * gnu/java/nio/natCharBufferImpl.cc
2268 (nio_get_Byte): Removed.
2269 (nio_put_Byte): Removed.
2270
2271 2003-05-09 Michael Koch <konqueror@gmx.de>
2272
2273 * java/net/JarURLConnection.java
2274 (getJarEntry): Merged documentation from classpath.
2275 (getJarFile): Likewise.
2276 (getMainAttributes): Likewise.
2277 (getAttributes): Likewise.
2278 (getManifest): Likewise.
2279 (getCertificates): Reformatted.
2280 * java/net/URLConnection.java:
2281 Little classpath merge.
2282
2283 2003-05-09 Michael Koch <konqueror@gmx.de>
2284
2285 * java/io/DataOutputStream.java
2286 (writeShort): Made it synchronized.
2287 (writeChar): Likewise.
2288 (writeInt): Likewise.
2289 (writeLong): Liekwise.
2290 (writeUTF): Made it synchronized, renamed argument to match classpath.
2291 * java/io/InputStreamReader.java
2292 (converter): Added documentation.
2293 (read): Merged documentation from classpath.
2294 * java/io/OutputStreamWriter.java
2295 (OutputStreamWriter): Merged documentation from classpath.
2296 (close): Reformatted.
2297 (getEncoding): Likewise.
2298 (flush): Likewise.
2299 (write): Merged documentation from classpath, reformatted.
2300
2301 2003-05-08 Tom Tromey <tromey@redhat.com>
2302
2303 * configure.host <powerpc64*-*>: Set with_libffi_default and
2304 libgcj_interpreter to "yes".
2305
2306 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2307
2308 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2309
2310 2003-05-06 Tom Tromey <tromey@redhat.com>
2311
2312 * verify.cc: Reverted previous patch.
2313
2314 2003-05-06 Michael Koch <konqueror@gmx.de>
2315
2316 * java/io/DataOutputStream.java
2317 (write): Renamed argument to "value", merged documentation from
2318 classpath.
2319 (writeBoolean): Likewise.
2320 (writeByte): Likewise.
2321 (writeShort): Likewise.
2322 (writeChar): Likewise.
2323 (writeInt): Likewise.
2324 (writeLong): Likewise.
2325 (writeFloat): Likewise.
2326 (writeDouble): Likewise.
2327 (writeBytes): Likewise.
2328 (writeChars): Likewise.
2329 (writeUTF): Likewise.
2330 * java/io/File.java
2331 (performDelete): Added documentation.
2332 (performList): Likewise.
2333 (performMkdir): Likewise.
2334 (performSetReadOnly): Likewise.
2335 (performRenameTo): Likewise.
2336 (performSetLastModified): Likewise.
2337 (delete): Made it sychronized.
2338 (renameTo): Made it sychronized.
2339 (equals): Reformatted.
2340 (isHidden): Likewise.
2341 (listFiles): Likewise.
2342 (setReadOnly): Likewise.
2343 (listRoots): Likewise.
2344 (setLastModified): Likewise.
2345 (checkRead): Likewise.
2346 (checkWrite): Likewise.
2347 * java/io/FileInputStream.java
2348 (skip): Made it sychronized, merged from classpath.
2349 * java/io/FileOutputStream.java
2350 (write): Merged from classpath.
2351 * java/io/InputStreamReader.java:
2352 (InputStreamReader): Merged documentation from classpath.
2353
2354 2003-05-05 Michael Koch <konqueror@gmx.de>
2355
2356 * java/net/NetworkInterface.java
2357 (networkInterfaces): Removed.
2358 (getByName): Use getRealNetworkInterfaces() instead of
2359 networkInterfaces.
2360 (getByInetAddress): Likewise.
2361 (getNetworkInterfaces): Likewise.
2362 (toString): Fix output of addresses of an interface.
2363
2364 2003-05-05 Michael Koch <konqueror@gmx.de>
2365
2366 * java/io/DataInputStream.java:
2367 Merged new documentation from classpath.
2368
2369 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2370
2371 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2372 "version".
2373 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2374 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2375 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2376 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2377 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2378 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2379 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2380 * java/security/Key.java: Likewise.
2381 * java/security/PrivateKey.java: Likewise.
2382 * java/security/Provider.java: Likewise.
2383 * java/security/PublicKey.java: Likewise.
2384
2385 2003-05-02 Michael Koch <konqueror@gmx.de>
2386
2387 * java/net/URI.java
2388 (create): Doesnt throws any exceptions.
2389 * java/net/URLConnection.java
2390 (URLConnection): Commend added.
2391 (getExpiration): The header field is called "expires" not
2392 "expiration".
2393 (getHeaderField): Merged documentation with classpath.
2394 (getHeaderFieldInt): Likewise.
2395 (getHeaderFieldDate): Likewise.
2396 (getHeaderFieldKey): Likewise.
2397 (getPermission): Likewise.
2398 (setDefaultUseCaches): Likewise.
2399 (setRequestProperty): Likewise.
2400 (addRequestProperty): Likewise.
2401 (getRequestProperty): Likewise.
2402 (getRequestProperties): Likewise.
2403 (setDefaultRequestProperty): Likewise.
2404 (getDefaultRequestProperty): Likewise.
2405 (guessContentTypeFromStream): Likewise.
2406 (getFileNameMap): Likewise.
2407 (setFileNameMap): Likewise.
2408 (setDoInput): Merged implementation and documentation with classpath.
2409 (setDoOutput): Likewise.
2410 (setAllowUserInteraction): Likewise.
2411 (setDefaultAllowUserInteraction): Likewise.
2412 (setContentHandlerFactory): Made it synchronized, merged documentation
2413 with classpath.
2414 (guessContentTypeFromName): Renamed argument fname to filename to
2415 match classpath, merged documentation with classpath.
2416
2417 2003-05-02 Michael Koch <konqueror@gmx.de>
2418
2419 * java/net/JarURLConnection.java
2420 (JarURLConnection): Class documentation merged with classpath.
2421 (getJarFileURL): Moved and documentation merged with classpath.
2422 (getEntryName): Likewise.
2423 (JarURLConnection): Documentation merged with classpath.
2424 (getJarEntry): Likewise.
2425 (getJarFile): Likewise.
2426 * java/net/PlainDatagramSocketImpl.java:
2427 Class documentation moved.
2428 * java/net/URLConnection.java
2429 (fileNameMap): Moved and documentation merged with classpath.
2430 (factory): Likewise.
2431 (defaultAllowUserInteraction): Likewis.
2432 (defaultUseCaches): Likewise.
2433 (allowUserInteraction): Likewise.
2434 (connected): Likewise.
2435 (url): Likewise.
2436 (connect): Documentation merged with classpath.
2437 (getURL): Likewise.
2438 (getContentLength): Likewise.
2439 (getContentType): Likewise.
2440 (getContentEncoding): Likewise.
2441 (getExpiration): Likewise.
2442 (getDate): Likewise.
2443 (getLastModified): Likewise.
2444 (getHeaderField): Likewise.
2445 (getContent): Likewise.
2446 (getPermission): Likewise.
2447 (getInputStream): Likewise.
2448 (getOutputStream): Likewise.
2449 (toString): Likewise.
2450 (getDoInput): Likewise.
2451 (getDoOutput): Likewise.
2452 (setAllowUserInteraction): Likewise.
2453 (getAllowUserInteraction): Likewise.
2454 (setDefaultAllowUserInteraction): Likewise.
2455 (getDefaultAllowUserInteraction): Likewise.
2456 (setUseCaches): Likewise.
2457 (getUseCaches): Likewise.
2458 (setIfModifiedSince): Likewise.
2459 (getIfModifiedSince): Likewise.
2460 (setDefaultRequestProperty): Likewise.
2461 (getDefaultRequestProperty): Likewise.
2462 (setContentHandlerFactory): Likewise.
2463 (setFileNameMap): Likewise.
2464
2465 2003-05-02 Michael Koch <konqueror@gmx.de>
2466
2467 * java/net/InetAddress.java:
2468 Merged class documentation with classpath.
2469 * java/net/JarURLConnection.java:
2470 Explicitely import all used classes.
2471 * java/net/URL.java:
2472 Reformatting.
2473 * java/net/ServerSocket.java,
2474 java/net/Socket.java:
2475 New versions from classpath.
2476
2477 2003-05-02 Michael Koch <konqueror@gmx.de>
2478
2479 * gnu/java/nio/FileChannelImpl.java
2480 (read): New implementation.
2481 (implRead): New methods.
2482 (write): New implementation, call other write insteal of read method.
2483 (implWrite): New methods.
2484 (map): Added comment.
2485 (transferFrom): Implemented.
2486 (transferTo): Implemented.
2487 (lock): Added checks to throw exceptions.
2488 (truncate): Added check to throw exception.
2489 * gnu/java/nio/natFileChannelImpl.cc
2490 (implRead): New method.
2491 (implWrite): New method.
2492 * java/nio/ByteBuffer.java
2493 (hashCode): Fixed comment.
2494 (get): Fixed exception documentation.
2495 (put): Fixed exception documentation.
2496 * java/nio/CharBuffer.java:
2497 Added comment for later optimizations.
2498
2499 2003-04-30 Tom Tromey <tromey@redhat.com>
2500
2501 PR libgcj/10582:
2502 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2503 Removed.
2504 (type::compatible): Use _Jv_IsAssignableFrom.
2505 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2506 (_Jv_IsAssignableFrom): Work even when source or target class is
2507 not prepared.
2508
2509 2003-04-30 Michael Koch <konqueror@gmx.de>
2510
2511 * java/text/BreakIterator.java
2512 (clone): New method.
2513
2514 2003-04-30 Michael Koch <konqueror@gmx.de>
2515
2516 * java/text/CollationElementIterator.java,
2517 java/text/CollationKey.java,
2518 java/text/RuleBasedCollator.java:
2519 Merged copyright and documentation from classpath and
2520 rearranged some code. No code changes done.
2521
2522 2003-04-30 Michael Koch <konqueror@gmx.de>
2523
2524 * java/util/regex/Matcher.java
2525 (pattern): New member variable.
2526 (appendReplacement): New method.
2527 (appendTail): New method.
2528 (end): New method.
2529 (find): New method.
2530 (group): New method.
2531 (replaceFirst): Added documentation.
2532 (replaceAll): Added documentation.
2533 (groupCount): New method.
2534 (lookingAt): New method.
2535 (matches): New method.
2536 (reset): New method.
2537 (start): New method.
2538 * java/util/regex/Pattern.java
2539 (serialVersionUID): New constant.
2540 (CANON_EQ): New constant.
2541 (CASE_INSENSITIVE): New constant.
2542 (COMMENTS): New constant.
2543 (DOTALL): New constant.
2544 (MULTILINE): New constant.
2545 (UNICODE_CASE): New constant.
2546 (UNIX_LINES): New constant.
2547 (regex): New member variable.
2548 (flags): New member variable.
2549 (Pattern): New method.
2550 (compile): Documentation added.
2551 (flags): New method.
2552 (matches): Documentation added.
2553 (matcher): Documentation added.
2554 (split): Documentation added.
2555 (pattern): New method.
2556
2557 2003-04-30 Michael Koch <konqueror@gmx.de>
2558
2559 * gnu/java/security/Engine.java,
2560 gnu/java/security/OID.java,
2561 gnu/java/security/der/BitString.java,
2562 gnu/java/security/der/DER.java,
2563 gnu/java/security/der/DERReader.java,
2564 gnu/java/security/der/DERValue.java,
2565 gnu/java/security/der/DERWriter.java,
2566 gnu/java/security/provider/DSAKeyFactory.java,
2567 gnu/java/security/provider/X509CertificateFactory.java,
2568 gnu/java/security/x509/X500DistinguishedName.java,
2569 gnu/java/security/x509/X509CRL.java,
2570 gnu/java/security/x509/X509CRLEntry.java,
2571 gnu/java/security/x509/X509Certificate.java,
2572 java/security/cert/CRLSelector.java,
2573 java/security/cert/CertPathBuilder.java,
2574 java/security/cert/CertPathBuilderResult.java,
2575 java/security/cert/CertPathBuilderSpi.java,
2576 java/security/cert/CertPathParameters.java,
2577 java/security/cert/CertPathValidator.java,
2578 java/security/cert/CertPathValidatorResult.java,
2579 java/security/cert/CertPathValidatorSpi.java,
2580 java/security/cert/CertSelector.java,
2581 java/security/cert/CertStore.java,
2582 java/security/cert/CertStoreParameters.java,
2583 java/security/cert/CertStoreSpi.java,
2584 java/security/cert/CollectionCertStoreParameters.java,
2585 java/security/cert/LDAPCertStoreParameters.java,
2586 java/security/cert/PKIXBuilderParameters.java,
2587 java/security/cert/PKIXCertPathBuilderResult.java,
2588 java/security/cert/PKIXCertPathChecker.java,
2589 java/security/cert/PKIXCertPathValidatorResult.java,
2590 java/security/cert/PKIXParameters.java,
2591 java/security/cert/PolicyNode.java,
2592 java/security/cert/PolicyQualifierInfo.java,
2593 java/security/cert/TrustAnchor.java,
2594 javax/security/auth/x500/X500Principal.java:
2595 New files from classpath.
2596 * gnu/java/io/ASN1ParsingException.java,
2597 gnu/java/io/Base64InputStream.java,
2598 gnu/java/security/der/DEREncodingException.java,
2599 gnu/java/security/provider/DSAParameters.java,
2600 gnu/java/security/provider/DSASignature.java,
2601 gnu/java/security/provider/Gnu.java,
2602 gnu/java/security/provider/GnuDSAPrivateKey.java,
2603 gnu/java/security/provider/GnuDSAPublicKey.java,
2604 java/security/AlgorithmParameterGenerator.java,
2605 java/security/AlgorithmParameters.java,
2606 java/security/KeyFactory.java,
2607 java/security/KeyPairGenerator.java,
2608 java/security/KeyStore.java,
2609 java/security/MessageDigest.java,
2610 java/security/SecureClassLoader.java,
2611 java/security/SecureRandom.java,
2612 java/security/Security.java,
2613 java/security/Signature.java,
2614 java/security/cert/Certificate.java,
2615 java/security/cert/CertificateFactory.java,
2616 java/security/cert/CertificateFactorySpi.java,
2617 java/security/cert/X509CRL.java,
2618 java/security/cert/X509Certificate.java,
2619 java/security/spec/DSAPublicKeySpec.java:
2620 New versions from classpath.
2621 * gnu/java/security/provider/DERReader.java,
2622 gnu/java/security/provider/DERWriter.java,
2623 java/security/Engine.java: Removed.
2624 * Makefile.am
2625 (java_source_files, javax_source_files): Added new files.
2626 * Makefile.in: Regenerated.
2627
2628 2003-04-29 Michael Koch <konqueror@gmx.de>
2629
2630 * javax/swing/JTable.java
2631 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2632 (AUTO_RESIZE_LAST_COLUMN): New constant.
2633 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2634 (AUTO_RESIZE_OFF): New constant.
2635 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2636 (JTable): New method.
2637 (columnAdded): New method.
2638 (columnMarginChanged): New method.
2639 (columnMoved): New method.
2640 (columnRemoved): New method.
2641 (columnSelectionChanged): New method.
2642 (editingCanceled): New method.
2643 (editingStopped): New method.
2644 (getColumnModel): New method.
2645 (getPreferredScrollableViewportSize): New method.
2646 (getScrollableBlockIncrement): New method.
2647 (getScrollableTracksViewportHeight): New method.
2648 (getScrollableTracksViewportWidth): New method.
2649 (getScrollableUnitIncrement): New method.
2650 (getSelectedRow): New method.
2651 (getSelectionModel): New method.
2652 (tableChanged): New method.
2653 (setModel): New method.
2654 (setSelectionMode): New method.
2655 (setSelectionModel): New method.
2656 (setShowGrid): New method.
2657 (valueChanged): New method.
2658 * javax/swing/text/DefaultEditorKit.java
2659 (backwardAction): New constant.
2660 (beepAction): New constant.
2661 (beginAction): New constant.
2662 (beginLineAction): New constant.
2663 (beginParagraphAction): New constant.
2664 (beginWordAction): New constant.
2665 (copyAction): New constant.
2666 (cutAction): New constant.
2667 (defaultKeyTypedAction): New constant.
2668 (deleteNextCharAction): New constant.
2669 (deletePrevCharAction): New constant.
2670 (downAction): New constant.
2671 (endAction): New constant.
2672 (endLineAction): New constant.
2673 (endOfLineStringProperty): New constant.
2674 (endParagraphAction): New constant.
2675 (endWordAction): New constant.
2676 (forwardAction): New constant.
2677 (insertBreakAction): New constant.
2678 (insertContentAction): New constant.
2679 (insertTabAction): New constant.
2680 (nextWordAction): New constant.
2681 (pageDownAction): New constant.
2682 (pageUpAction): New constant.
2683 (pasteAction): New constant.
2684 (previousWordAction): New constant.
2685 (readOnlyAction): New constant.
2686 (selectAllAction): New constant.
2687 (selectionBackwardAction): New constant.
2688 (selectionBeginAction): New constant.
2689 (selectionBeginLineAction): New constant.
2690 (selectionBeginParagraphAction): New constant.
2691 (selectionBeginWordAction): New constant.
2692 (selectionDownAction): New constant.
2693 (selectionEndAction): New constant.
2694 (selectionEndLineAction): New constant.
2695 (selectionEndParagraphAction): New constant.
2696 (selectionEndWordAction): New constant.
2697 (selectionForwardAction): New constant.
2698 (selectionNextWordAction): New constant.
2699 (selectionPreviousWordAction): New constant.
2700 (selectionUpAction): New constant.
2701 (selectLineAction): New constant.
2702 (selectParagraphAction): New constant.
2703 (selectWordAction): New constant.
2704 (upAction): New constant.
2705 (writableAction): New constant.
2706
2707 2003-04-29 Michael Koch <konqueror@gmx.de>
2708
2709 * java/util/PropertyPermission.java:
2710 New version from classpath
2711 * java/util/ResourceBundle.java:
2712 Partly merged from classpath
2713 (getObject): Reformated.
2714 (tryBundle): Set foundBundle = null if no bundle found.
2715
2716 2003-04-29 Michael Koch <konqueror@gmx.de>
2717
2718 * javax/swing/AbstractListModel.java,
2719 javax/swing/DefaultBoundedRangeModel.java,
2720 javax/swing/DefaultSingleSelectionModel.java:
2721 New Versions from classpath.
2722
2723 2003-04-29 Michael Koch <konqueror@gmx.de>
2724
2725 * java/awt/Window.java
2726 (show): Call super.show() instead of setVisible() to avoid endless
2727 loop.
2728 (hide): Call super.hide() instead of setVisible() to avoid endless
2729 loop.
2730
2731 2003-04-29 Michael Koch <konqueror@gmx.de>
2732
2733 * java/util/zip/Deflater.java,
2734 java/util/zip/DeflaterOutputStream.java:
2735 Partly merged with classpath.
2736
2737 2003-04-27 Tom Tromey <tromey@redhat.com>
2738
2739 * java/lang/natString.cc (_Jv_AllocString): Initialize
2740 cachedHashCode.
2741 (init): Likewise.
2742 (_Jv_NewStringUtf8Const): Likewise.
2743
2744 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2745
2746 * include/jvm.h: (_Jv_GetNbArgs) added
2747 (_Jv_GetSafeArg) added
2748 (_Jv_SetArgs) added
2749 * prims.cc: (_Jv_GetNbArgs) implemented
2750 (_Jv_GetSafeArg) implemented
2751 (_Jv_SetArgs) implemented
2752 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2753 setting _Jv_argc and _Jv_argv
2754 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2755 instead of _Jv_argv
2756 * java/lang/natRuntime.cc: (insertSystemProperties) use
2757 _Jv_GetSafeArg() instead of _Jv_argv
2758
2759 2003-04-23 Tom Tromey <tromey@redhat.com>
2760
2761 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2762 required by this object. Search superclasses to find required
2763 alignment.
2764 (get_alignment_from_class): Use alignment of type as it appears
2765 in a struct.
2766 (ALIGNOF): New macro.
2767 (struct aligner): New helper structure.
2768
2769 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2770
2771 * java/awt/Container.java (addImpl): Enable paint events if adding
2772 a lightweight to a heavyweight.
2773 (addNotify): Ensure that peer is created before
2774 addNotifyContainerChildren.
2775 (addNotifyContainerChildren): Enable paint events if a heavyweight
2776 container contains a lightweight.
2777
2778 2003-04-20 Tom Tromey <tromey@redhat.com>
2779
2780 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2781 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2782 Classpath.
2783
2784 2003-04-19 Tom Tromey <tromey@redhat.com>
2785
2786 * java/sql/Date.java, java/sql/DriverManager.java,
2787 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2788 Classpath.
2789
2790 * Makefile.in: Rebuilt.
2791 * Makefile.am (ordinary_java_source_files): Added new files.
2792 * java/security/AlgorithmParameterGenerator.java,
2793 java/security/AlgorithmParameters.java, java/security/Engine.java,
2794 java/security/Identity.java, java/security/IdentityScope.java,
2795 java/security/KeyFactory.java,
2796 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2797 java/security/MessageDigest.java, java/security/Policy.java,
2798 java/security/ProtectionDomain.java,
2799 java/security/SecureRandom.java, java/security/Security.java,
2800 java/security/Signature.java, java/security/SignatureSpi.java,
2801 java/security/SignedObject.java, java/security/Signer.java,
2802 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2803 java/security/spec/PSSParameterSpec.java,
2804 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2805 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2806 Classpath.
2807
2808 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2809
2810 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2811 (dispose): Null metrics.
2812 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2813 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2814 finalize.
2815 (finalize): Call dispose.
2816 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2817 (gcCachedCount): New field.
2818 (finalize): New method.
2819 (putGCInCache): New method.
2820 (getGCFromCache): New method.
2821 * gnu/gcj/xlib/GC.java (GC): Make protected.
2822 (clone): Get new GC from cache if possible.
2823 (create): New static method.
2824 (dispose): Save old GC in cache.
2825 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2826 deleting.
2827 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2828 is null.
2829 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2830 * java/awt/Container.java (visitChild): Dispose gfx2 when
2831 finished.
2832
2833 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2834
2835 * java/math/BigInteger.java (probablePrime): New.
2836 * java/math/BigDecimal.java (unscaledValue): New.
2837
2838 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2839
2840 * java/io/File.java (getAbsolutePath): On Windows, take care
2841 of paths like "C:", "G:foo\bar", etc.
2842 (getName): Make it work correctly on Windows.
2843 (getParent): Make it work correctly on Windows. For UNIX,
2844 fix bug that causes "/" to be returned as the parent of "/",
2845 instead of null as returned by Sun's JRE.
2846
2847 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2848
2849 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2850
2851 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2852 inner class.
2853 (CACHE_SIZE_PER_DISPLAY): New field
2854 (fontMetricsCache): New field
2855 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2856 loading ISO10646-1 fonts.
2857
2858 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2859
2860 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2861 characters.
2862 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2863 characters.
2864
2865 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2866
2867 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2868 floating point.
2869
2870 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2871
2872 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2873 installed libpthread is either linuxthreads with floating stacks or
2874 NPTL.
2875
2876 2003-04-14 Tom Tromey <tromey@redhat.com>
2877
2878 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2879 of alignment.
2880
2881 2003-04-10 Tom Tromey <tromey@redhat.com>
2882
2883 * verify.cc (pop64): Removed.
2884 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2885 exception if top-of-stack is narrow.
2886 (initialize_stack): Check to ensure that <init> is not static and
2887 <clinit> is.
2888
2889 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2890
2891 * java/io/ObjectStreamException
2892 * java/io/FileFilter
2893 * java/io/FilenameFilter
2894 * java/io/ObjectInput
2895 * java/io/ObjectOutput
2896 * java/io/ObjectStreamConstants
2897 Minor doc fixes, format fixes, spelling corrections, etc.
2898 * java/io/DataInput
2899 Corrected code samples in Javadocs to match reality
2900 * java/io/DataOutput
2901 * java/io/ObjectInputValidation
2902 Major documentation fixes - all Javadocs re-written or updated
2903
2904 2003-04-06 Michael Koch <konqueror@gmx.de>
2905
2906 * java/net/URLConnection.java:
2907 Import classes directly.
2908 (URLConnection): Merged class documentation with classpath.
2909 (url): Moved, documentation from classpath added.
2910 (doInput): Moved, documentation from classpath added.
2911 (doOutput): Moved, documentation from classpath added.
2912 (allowUserInteraction): Moved.
2913 (useCaches): Moved, documentation from classpath added.
2914 (ifModifiedSince): Moved, documentation from classpath added.
2915 (connected): Moved, documentation from classpath added.
2916
2917 2003-04-06 Michael Koch <konqueror@gmx.de>
2918
2919 * java/io/FileInputStream.java
2920 (skip): Renamed some variables to match classpath, added
2921 checks from classpath.
2922
2923 2003-03-31 Michael Koch <konqueror@gmx.de>
2924
2925 * javax/swing/AbstractAction.java
2926 (AbstractAction): Reformatted.
2927 (serialVersionUID): New private member variable.
2928 * javax/swing/plaf/BorderUIResource.java
2929 (serialVersionUID): New private member variable.
2930 * javax/swing/plaf/basic/BasicLookAndFeel.java
2931 (serialVersionUID): New private member variable.
2932
2933 2003-03-31 Michael Koch <konqueror@gmx.de>
2934
2935 * java/sql/Date.java
2936 (valueOf): Deprecated, reformatted.
2937 (toString): Deprecated, reformatted.
2938 * java/sql/Time.java
2939 (valueOf): Deprecated, reformatted.
2940 (toString): Deprecated, reformatted.
2941
2942 2003-03-31 Michael Koch <konqueror@gmx.de>
2943
2944 * java/rmi/dgc/VMID.java
2945 (isUnique): Deprecated.
2946
2947 2003-03-31 Michael Koch <konqueror@gmx.de>
2948
2949 * java/io/File.java
2950 (separator): Merged documentation from classpath.
2951 (separatorChar): Merged documentation from classpath.
2952 (pathSeparator): Merged documentation from classpath.
2953 (pathSeparatorChar): Merged documentation from classpath.
2954 (path): Merged documentation from classpath.
2955 (canRead): Merged documentation from classpath.
2956 (canWrite): Merged documentation from classpath.
2957 (createNewFile): Merged documentation from classpath.
2958 (delete): Merged documentation from classpath.
2959 (equals): Merged documentation from classpath.
2960 (exists): Merged documentation from classpath.
2961 (File): Renamed p to name to match classpath, merged documentation
2962 from classpath.
2963 (getAbsolutePath): Merged documentation from classpath.
2964 (getCanonicalPath): Merged documentation from classpath.
2965 (getCanonicalFile): Merged documentation from classpath.
2966 (getName): Merged documentation from classpath.
2967 (getParent): Merged documentation from classpath.
2968 (getParentFile): Merged documentation from classpath.
2969 (getPath): Merged documentation from classpath.
2970 (hashCode): Merged documentation from classpath.
2971 (isAbsolute): Merged documentation from classpath.
2972 (isDirectory): Merged documentation from classpath.
2973 (isFile): Merged documentation from classpath.
2974 (isHidden): Merged documentation from classpath.
2975 (lastModified): Merged documentation from classpath.
2976 (length): Merged documentation from classpath.
2977 (list): Merged documentation from classpath.
2978 (listFiles): Merged documentation from classpath.
2979 (toString): Merged documentation from classpath.
2980 (toURL): Merged documentation from classpath.
2981 (mkdir): Merged documentation from classpath.
2982 (mkdirs): Merged documentation from classpath.
2983 (createTempFile): Merged documentation from classpath.
2984 (setReadOnly): Merged documentation from classpath.
2985 (listRoots): Merged documentation from classpath.
2986 (compareTo): Merged documentation from classpath.
2987 (renameTo): Merged documentation from classpath.
2988 (setLastModified): Merged documentation from classpath.
2989 * java/io/PrintStream.java
2990 (auto_flush): Merged documentation from classpath.
2991 (PrintStream): Merged documentation from classpath.
2992 (checkError): Merged documentation from classpath.
2993 (setError): Merged documentation from classpath.
2994 (close): Merged documentation from classpath.
2995 (flush): Merged documentation from classpath.
2996 (print): Merged documentation from classpath.
2997 (println): Merged documentation from classpath.
2998 (write): Renamed count to len to match classpath,
2999 merged documentation from classpath.
3000 * java/io/RandomAccessFile.java
3001 (readShort): Merged documentation from classpath.
3002 (readUnsignedByte): Merged documentation from classpath.
3003 (readUnsignedShort): Merged documentation from classpath.
3004 (readUTF): Merged documentation from classpath.
3005 (seek): Reformatted, merged documentation from classpath.
3006 (skipBytes): Renamed some variables to match classpath, reformatted,
3007 merged documentation from classpath.
3008 (write): Merged documentation from classpath.
3009 (writeBoolean): Merged documentation from classpath.
3010 (writeByte): Merged documentation from classpath.
3011 (writeShort): Merged documentation from classpath.
3012 (writeChar): Merged documentation from classpath.
3013 (writeInt): Merged documentation from classpath.
3014 (writeLong): Merged documentation from classpath.
3015 (writeFloat): Merged documentation from classpath.
3016 (writeDouble): Merged documentation from classpath.
3017 (writeBytes): Merged documentation from classpath.
3018 (writeChars): Merged documentation from classpath.
3019 (writeUTF): Reformatted.
3020 (getChannel): Reformatted.
3021
3022 2003-03-31 Michael Koch <konqueror@gmx.de>
3023
3024 * java/awt/font/TextAttribute.java
3025 (readResolve): Throws java.io.InvalidObjectException.
3026
3027 2003-03-31 Michael Koch <konqueror@gmx.de>
3028
3029 * java/rmi/server/LoaderHandler.java
3030 (loadClass): Deprecated.
3031 (getSecurityContext): Deprecated.
3032 * java/rmi/server/LogStream.java
3033 (getDefaultStream): Deprecated.
3034 (setDefaultStream): Deprecated.
3035 (getOutputStream): Deprecated.
3036 (setOutputStream): Deprecated.
3037 (write): Deprecated.
3038 (toString): Deprecated.
3039 (parseLevel): Deprecated.
3040 * java/rmi/server/Operation.java
3041 (Operation): Deprecated.
3042 (getOperation): Deprecated.
3043 (toString): Deprecated.
3044 * java/rmi/server/RemoteCall.java
3045 (getOutputStream): Deprecated.
3046 (releaseOutputStream): Deprecated.
3047 (getInputStream): Deprecated.
3048 (releaseInputStream): Deprecated.
3049 (getResultStream): Deprecated.
3050 (executeCall): Deprecated.
3051 (done): Deprecated.
3052 * java/rmi/server/RemoteRef.java
3053 (invoke): Deprecated.
3054 (newCall): Deprecated.
3055 (done): Deprecated.
3056 * java/rmi/server/RemoteStub.java
3057 (setRef): Deprecated.
3058 * java/rmi/server/Skeleton.java:
3059 No need to import java.lang.Exception explicitly.
3060 (dispatch): Deprecated.
3061 (getOperations): Deprecated.
3062
3063 2003-03-31 Michael Koch <konqueror@gmx.de>
3064
3065 * java/rmi/dgc/VMID.java,
3066 java/rmi/registry/RegistryHandler.java,
3067 java/rmi/server/LogStream.java,
3068 java/rmi/server/Operation.java,
3069 java/rmi/server/RemoteCall.java,
3070 java/rmi/server/RemoteRef.java,
3071 java/rmi/server/RemoteStub.java:
3072 Reformatted.
3073
3074 2003-03-31 Michael Koch <konqueror@gmx.de>
3075
3076 * javax/swing/AbstractCellEditor.java,
3077 javax/swing/AbstractListModel.java,
3078 javax/swing/ActionMap.java,
3079 javax/swing/BorderFactory.java,
3080 javax/swing/ButtonGroup.java,
3081 javax/swing/DefaultBoundedRangeModel.java,
3082 javax/swing/DefaultButtonModel.java,
3083 javax/swing/DefaultCellEditor.java,
3084 javax/swing/DefaultComboBoxModel.java,
3085 javax/swing/DefaultDesktopManager.java,
3086 javax/swing/DefaultListCellRenderer.java,
3087 javax/swing/DefaultSingleSelectionModel.java,
3088 javax/swing/InputMap.java,
3089 javax/swing/JComponent.java,
3090 javax/swing/JMenu.java,
3091 javax/swing/JSlider.java,
3092 javax/swing/KeyStroke.java,
3093 javax/swing/OverlayLayout.java,
3094 javax/swing/ScrollPaneLayout.java,
3095 javax/swing/SizeRequirements.java,
3096 javax/swing/UIManager.java,
3097 javax/swing/ViewportLayout.java,
3098 javax/swing/border/AbstractBorder.java,
3099 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3100 javax/swing/event/EventListenerList.java,
3101 javax/swing/table/AbstractTableModel.java,
3102 javax/swing/table/DefaultTableCellRenderer.java,
3103 javax/swing/table/DefaultTableColumnModel.java,
3104 javax/swing/table/DefaultTableModel.java,
3105 javax/swing/table/TableColumn.java,
3106 javax/swing/text/StyledEditorKit.java,
3107 javax/swing/tree/DefaultMutableTreeNode.java,
3108 javax/swing/tree/DefaultTreeModel.java,
3109 javax/swing/tree/DefaultTreeSelectionModel.java,
3110 javax/swing/tree/TreePath.java,
3111 javax/swing/undo/AbstractUndoableEdit.java,
3112 javax/swing/undo/StateEdit.java,
3113 javax/swing/undo/StateEditable.java,
3114 javax/swing/undo/UndoableEditSupport.java:
3115 Merges from classpath.
3116
3117 2003-03-30 Tom Tromey <tromey@redhat.com>
3118
3119 * java/lang/String.java (data, boffset, count): Documented.
3120 (String(byte[],String)): Reformatted.
3121 (String(byte[])): Likewise.
3122 (lastIndexOf(int)): Likewise.
3123 (lastIndexOf(String)): Likewise.
3124 (substring(int)): Renamed argument to match Classpath.
3125 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3126
3127 * java/lang/String.java: Miscellaneous minor formatting changes
3128 to match Classpath more closely.
3129
3130 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3131 Tom Tromey <tromey@redhat.com>
3132
3133 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3134 (init()): Removed.
3135 (charAt): Put index in exception.
3136 (contentEquals): New method.
3137 Include StringBuffer.h.
3138 * java/lang/String.java (cachedHashCode): New field.
3139 (String()): Follow classpath implementation.
3140 (init()): Removed.
3141 (contentEquals): Declare.
3142 (subSequence): Don't declare IndexOutIfBoundsException in throws
3143 clause.
3144 (matches, replaceFirst, replaceAll, split): New methods from
3145 Classpath.
3146
3147 2003-03-29 Tom Tromey <tromey@redhat.com>
3148
3149 * java/lang/String.java: Reordered to follow Classpath; merged in
3150 javadoc.
3151
3152 * java/text/MessageFormat.java: Removed some whitespace.
3153
3154 * Makefile.in: Rebuilt.
3155 * Makefile.am (awt_java_source_files): Added new files.
3156 * gnu/javax/rmi/PortableServer.java,
3157 gnu/javax/rmi/CORBA/DelegateFactory.java,
3158 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3159 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3160 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3161 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3162 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3163 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3164 javax/rmi/PortableRemoteObject.java,
3165 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3166 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3167 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3168 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3169 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3170 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3171
3172 * java/lang/natClass.cc (newInstance): Put method name in
3173 exception.
3174 (getConstructor): Likewise.
3175 (getDeclaredConstructor): Likewise.
3176 (getPrivateMethod): Likewise.
3177
3178 2003-03-28 Tom Tromey <tromey@redhat.com>
3179
3180 * java/lang/reflect/Proxy.java: New version from Classpath.
3181 * java/lang/Package.java: New version from Classpath.
3182
3183 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3184
3185 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3186 * configure: Regenerate.
3187
3188 2003-03-28 Michael Koch <konqueror@gmx.de>
3189
3190 * java/io/File.java:
3191 Import needed classes instead of whole packages, merged class
3192 documentation with classpath, moved constants and variables to top of
3193 class.
3194 * java/io/PrintStream.java:
3195 Merged class documentation with classpath, moved constants and
3196 variables to top of class.
3197 * java/io/RandomAccessFile.java
3198 (RandomAccessFile): Merged with classpath.
3199 (read): Merged with classpath).
3200 (read*): Reformatted.
3201
3202 2003-03-28 Michael Koch <konqueror@gmx.de>
3203
3204 * java/io/FileDescriptor.java
3205 (finalize): Throws Throwable, not IOException.
3206 * java/io/ObjectOutputStream.java
3207 (PutField.put): Doesnt throws anything.
3208
3209 2003­03-28 Michael Koch <konqueror@gmx.de>
3210
3211 * java/io/FileOutputStream.java:
3212 Merged class documentation and authors with classpath.
3213 (FileOutputStream): Partly merged with classpath.
3214 (write): Merged with classpath.
3215 (getChannel): Make it synchronized instead of explicit block in this
3216 method.
3217 * java/io/RandomAccessFile.java:
3218 Merged class documentation and authors with classpath.
3219
3220 2003-03-26 Tom Tromey <tromey@redhat.com>
3221
3222 * java/lang/natRuntime.cc (insertSystemProperties): Set
3223 gnu.classpath.home.url.
3224 * Makefile.in: Rebuilt.
3225 * Makefile.am: Define LIBDIR.
3226
3227 2003-03-25 Michael Koch <konqueror@gmx.de>
3228
3229 * java/io/FileInputStream.java
3230 (read): Renamed b to buf and off to offset.
3231 * java/io/FileOutputStream.java
3232 (ch): Documentation added.
3233 (FileOutputStream): Documentation added.
3234 (getFD): Documentation added.
3235 (write): Documentation added.
3236 (close): Documentation added.
3237 (getChannel): Documentation added.
3238
3239 2003-03-24 Michael Koch <konqueror@gmx.de>
3240
3241 * java/io/DataOutputStream.java
3242 (write): Merged from classpath.
3243 * java/io/File.java:
3244 Merged copyrigth with classpath.
3245 * java/io/FileInputStream.java
3246 (getChannel): Made it synchronized instead of using a synchronized
3247 block.
3248 * java/io/FileOutputStream.java: Reformatted.
3249 * java/io/InputStreamReader.java
3250 (InputStreamReader): Renamed enc to encoding_name.
3251 (close): Merged documentation from classpath.
3252 (getEncoding): Merged documentation from classpath.
3253 (ready): Merged documentation from classpath.
3254 (read): Merged documentation from classpath.
3255 * java/io/LineNumberReader.java
3256 (lineNumber): Made it private.
3257 (LineNumberReader): Use Constant instead of a direct value.
3258 * java/io/OutputStreamWriter.java
3259 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3260 documentation from classpath.
3261 (close): Merged documentation from classpath.
3262 (flush): Merged documentation from classpath.
3263 (write): Merged documentation from classpath.
3264 * java/io/PrintStream.java: Reformatted.
3265
3266 2003-03-24 Michael Koch <konqueror@gmx.de>
3267
3268 * javax/swing/text/ComponentView.java
3269 (getComponent): Must be final.
3270 * javax/swing/tree/DefaultTreeCellRenderer.java:
3271 Reformatted.
3272 * javax/swing/undo/StateEditable.java:
3273 Reformatted.
3274
3275 2003-03-24 Michael Koch <konqueror@gmx.de>
3276
3277 * java/rmi/activation/ActivationInstantiator.java:
3278 Reformatted.
3279 * java/rmi/activation/Activator.java:
3280 Reformatted.
3281 * java/rmi/registry/RegistryHandler.java:
3282 Remerged from classpath.
3283
3284 2003-03-24 Michael Koch <konqueror@gmx.de>
3285
3286 * java/util/Date.java:
3287 Fixed documentation starting tag to make javadoc happy.
3288 * java/util/regex/Pattern.java
3289 (Pattern): Implements Serializable.
3290 * java/util/PatternSyntaxException.java
3291 (serialVersionUID): New member variable.
3292
3293 2003-03-24 Michael Koch <koqnueror@gmx.de>
3294
3295 * java/awt/ContainerOrderFocusTraversalPolicy.java
3296 (getFirstComponent): Implemented.
3297 (getLastComponent): Implemented.
3298 (getDefaultComponent): Implemented.
3299 (setImplicitDownCycleTraversal): Fixed implementation.
3300 * java/awt/Robot.java
3301 (Robot): Added documentation.
3302 * java/awt/Toolkit.java
3303 (getFontList): Deprecated.
3304 (getFontMetrics): Deprecated.
3305 (getPrintJob): Added documentation.
3306 (getSystemSelection): Added documentation.
3307 (getLockingKeyState): Added documentation.
3308 (setLockingKeyState): Added documentation.
3309 (createCustomCursor): Added documentation.
3310 (getBestCursorSize): Added documentation.
3311 (getMaximumCursorColors): Added documentation.
3312 (isFrameStateSupported): Added documentation.
3313
3314 2003-03-24 Michael Koch <konqueror@gmx.de>
3315
3316 * java/io/RandomAccessFile.java:
3317 More little merges with classpath. No code changes.
3318
3319 2003-03-24 Michael Koch <konqueror@gmx.de>
3320
3321 * java/net/natInetAddressNoNet.cc:
3322 Include stddef.h.
3323 * java/net/natPlainDatagramSocketImplNoNet.cc:
3324 Fixed inlcude of java/net/DatagramPacket.h.
3325 * java/net/natPlainSocketImplNoNet.cc:
3326 Include some missing classes.
3327
3328 2003-03-24 Michael Koch <konqueror@gmx.de>
3329
3330 * java/awt/dnd/DropTarget.java
3331 (DropTargetAutoScroller): According to the online documentation, this
3332 is protected, but in reality it is public.
3333 * java/awt/dnd/DropTargetContext.java
3334 (TransferableProxy): According to the online documentation, this
3335 is protected, but in reality it is public.
3336
3337 2003-03-24 Michael Koch <konqueror@gmx.de>
3338
3339 * java/io/DataInputStream.java
3340 (): Wrapped documentation line.
3341 (): Fixed @return tag.
3342 * java/io/DataOutputStream.java
3343 (written): Moved to top of class.
3344 (all methods): Merged documentation from classpath.
3345 * java/io/File.java:
3346 Merged copyright year with classpath.
3347 * java/io/FileInputStream.java
3348 (all methods): Merged documentation from classpath.
3349 * java/io/LineNumberReader.java
3350 (getLineNumber): Fixed @return tag.
3351 * java/io/ObjectInputStream.java.
3352 Reformatted.
3353 * java/io/ObjectOutputStream.java:
3354 Reformatted, fixed some @see tags.
3355 * java/io/OutputStreamWriter.java:
3356 Deleted empty line.
3357 * java/io/Writer.java:
3358 Reformatted.
3359
3360 2003-03-24 Michael Koch <konqueror@gmx.de>
3361
3362 * java/awt/Frame.java
3363 (DEFAULT_CURSOR): Fixed @deprecated tag.
3364 (setCursor): Fixed @deprecated tag.
3365
3366 2003-03-24 Michael Koch <konqueror@gmx.de>
3367
3368 * java/beans/beancontext/BeanContextEvent.java:
3369 Reformated.
3370
3371 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3372
3373 * java/lang/natStringBuffer.cc (regionMatches): New function.
3374 * java/lang/String.java (count): Now package-private.
3375 * java/lang/StringBuffer.java: Merged with Classpath.
3376
3377 2003-03-23 Michael Koch <konqueror@gmx.de>
3378
3379 * java/io/BufferedOutputStream.java:
3380 Reformated.
3381 * java/io/BufferedReader.java:
3382 Reformated.
3383 * java/io/ByteArrayOutputStream.java
3384 (size): Fixed @see tag.
3385 * java/io/CharArrayWriter.java
3386 (size): Fixed @see tag.
3387 * java/io/DataInput.java:
3388 Reformated.
3389 * java/io/DataOutput.java:
3390 Reformated.
3391 * java/io/DataOutputStream.java:
3392 Merged copyright years with classpath.
3393 * java/io/Externalizable.java:
3394 Reformated.
3395 * java/io/FileFilter.java:
3396 Reformated.
3397 * java/io/FileInputStream.java:
3398 Merged copyright years with classpath.
3399 * java/io/FileOutputStream.java:
3400 Merged copyright years with classpath.
3401 * java/io/FilePermission.java
3402 (FilePermission): Replaced @XXX with FIXME:.
3403 * java/io/FileWriter.java:
3404 Reformated.
3405 * java/io/FilenameFilter.java:
3406 Reformated.
3407 * java/io/FilterInputStream.java:
3408 Reformated.
3409 * java/io/FilterOutputStream.java:
3410 Reformated.
3411 * java/io/FilterReader.java:
3412 Reformated.
3413 * java/io/FilterWriter.java:
3414 Reformated.
3415 * java/io/LineNumberInputStream.java
3416 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3417 happy.
3418 (getLineNumber): Fixed @return tag.
3419 * java/io/ObjectInput.java:
3420 Reformated.
3421 * java/io/ObjectOutput.java:
3422 Reformated.
3423 * java/io/ObjectStreamClass.java:
3424 Reformated.
3425 * java/io/PrintStream.java:
3426 Merged copyright years with classpath.
3427 * java/io/PushbackReader.java
3428 (PushbackReader): Replaced @code with @param.
3429 * java/io/SerializablePermission.java:
3430 Reformated.
3431 * java/io/StreamTokenizer.java
3432 (resetSyntax): Fixed @see tag.
3433
3434 2003-03-22 Richard Henderson <rth@redhat.com>
3435
3436 * sysdep/ia64/locks.h: Include ia64intrin.h.
3437 (compare_and_swap): Use __sync_bool_compare_and_swap.
3438 (compare_and_swap_release): Expose ar.ccv assignment.
3439
3440 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3441
3442 * include/posix.h: Add suffix for darwin dynamic libraries.
3443
3444 2003-03-21 Michael Koch <konqueror@gmx.de>
3445
3446 * javax/swing/Action.java
3447 (ACCELERATOR_KEY): New constant.
3448 (ACTION_COMMAND_KEY): Likewise.
3449 (MNEMONIC_KEY): Likewise.
3450 * javax/swing/UnsupportedLookAndFeelException.java
3451 (UnsupportedLookAndFeelException): Must be public.
3452 * javax/swing/WindowConstants.java
3453 (EXIT_ON_CLOSE): New constant.
3454 * javax/swing/text/BadLocationException.java
3455 (offset): New member variable.
3456 (BadLocationException): New implementation, documentation added.
3457 (offsetRequested): New method.
3458 * javax/swing/text/Caret.java:
3459 Reformated.
3460 * javax/swing/text/Document.java:
3461 Reformated.
3462
3463 2003-03-21 Michael Koch <konqueror@gmx.de>
3464
3465 * java/rmi/activation/Activatable.java
3466 (serialVersionUID): New member variable.
3467 * java/rmi/activation/ActivationGroup.java
3468 (serialVersionUID): New member variable.
3469 * java/rmi/activation/ActivationGroupDesc.java
3470 (serialVersionUID): New member variable.
3471 * java/rmi/registry/Registry.java:
3472 Reformated.
3473 (Registry): Deprecated.
3474 * java/rmi/server/LoaderHandler.java
3475 Reformated.
3476 (LoaderHandler): Deprecated.
3477 * java/rmi/server/LogStream.java
3478 Reformated.
3479 (LogStream): Deprecated.
3480 * java/rmi/server/Operation.java
3481 (Operation): Deprecated.
3482 * java/rmi/server/RMIFailureHandler.java:
3483 Reformated.
3484 * java/rmi/server/RMISocketFactory.java:
3485 Reformated.
3486 * java/rmi/server/RemoteCall.java
3487 (RemoteCall): Deprecated.
3488 * java/rmi/server/RemoteStub.java:
3489 Reformated.
3490 * java/rmi/server/Skeleton.java
3491 Reformated.
3492 (Skeleton): Deprecated.
3493
3494 2003-03-21 Michael Koch <konqueror@gmx.de>
3495
3496 * java/io/LineNumberReader.java
3497 (LineNumberReader): Merged documentation with classpath.
3498 (getLineNumber): Likewise.
3499 (setLineNumber): Likewise.
3500 (mark): Likewise.
3501 (reset): Likewise.
3502 (read): Likewise.
3503 (readLine): Likewise.
3504 (skip): Likewise.
3505
3506 2003-03-21 Michael Koch <konqueror@gmx.de>
3507
3508 * java/rmi/RMISecurityManager.java
3509 (checkAccept): Removed.
3510 (checkAccess): Likewise.
3511 (checkAccess): Likewise.
3512 (checkAwtEventQueueAccess): Likewise.
3513 (checkConnect): Likewise.
3514 (checkCreateClassLoader): Likewise.
3515 (checkDelete): Likewise.
3516 (checkExec): Likewise.
3517 (checkExit): Likewise.
3518 (checkLink): Likewise.
3519 (checkListen): Likewise.
3520 (checkMemberAccess): Likewise.
3521 (checkMulticast): Likewise.
3522 (checkPackageAccess): Likewise.
3523 (checkPackageDefinition): Likewise.
3524 (checkPermission): Likewise.
3525 (checkPrintJobAccess): Likewise.
3526 (checkPropertiesAccess): Likewise.
3527 (checkPropertyAccess): Likewise.
3528 (checkRead): Likewise.
3529 (checkSecurityAccess): Likewise.
3530 (checkSetFactory): Likewise.
3531 (checkSystemClipboardAccess): Likewise.
3532 (checkTopLevelWindow): Likewise.
3533 (checkWrite): Likewise.
3534
3535 2003-03-20 Michael Koch <konqueror@gmx.de>
3536
3537 * gnu/java/nio/FileChannelImpl.java
3538 (address): Removed.
3539 (map_address): New member variable.
3540 (length): Make it package private.
3541 (fd): Make it package private.
3542 (buf): Make it package private.
3543 (file_obj): Make it package private.
3544 (FileChannelImpl): New constructor.
3545 (nio_mmap_file): Use RawData instead of long.
3546 (nio_munmap_file): Use RawData instead of long.
3547 (nio_msync): Use RawData instead of long.
3548 (implCloseChannel): New implementation using map_address.
3549 (read): Reformated.
3550 (map): Implemented.
3551 (create_direct_mapped_buffer): Implemented, use RawData, throws
3552 IOException.
3553 (force): Use map_address instead of address.
3554 * gnu/java/nio/MappedByteFileBuffer.java
3555 (address): Removed.
3556 (map_address): New member variable.
3557 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3558 (several methods): Use map_address instead of address, replaced long
3559 with RawData where appropriate.
3560 * gnu/java/nio/natFileChannelImpl.cc
3561 (nio_mmap_file): Replaced long with RawData.
3562 (nio_munmap_file): Replaced long with RawData.
3563 (nio_msync): Replaced long with RawData.
3564 * gnu/java/nio/natMappedByteFileBuffer.cc
3565 (several methods): Replaced long with RawData where appropriate.
3566
3567 2003-03-20 Michael Koch <konqueror@gmx.de>
3568
3569 * java/net/InetAddress.java,
3570 java/net/JarURLConnection.java,
3571 java/net/PlainDatagramSocketImpl.java,
3572 java/net/PlainSocketImpl.java,
3573 java/net/URLConnection.java:
3574 Merged copyright statements with classpath for easier merging.
3575
3576 2003-03-20 Michael Koch <konqueror@gmx.de>
3577
3578 * java/io/FileInputStream.java
3579 (getChannel): New implementation.
3580 * java/io/FileOutputStream.java
3581 (ch): New member variable.
3582 (getChannel): Implemented.
3583 * java/io/RandomAccessFile.java
3584 (RandomAccessFile): Throws FileNotFoundException instead of
3585 IOException.
3586 (getChannel): New method.
3587 (ch): New member variable.
3588
3589 2003-03-20 Michael Koch <konqueror@gmx.de>
3590
3591 * java/io/DataOutputStream.java,
3592 java/io/File.java,
3593 java/io/FileInputStream.java,
3594 java/io/FileOutputStream.java,
3595 java/io/InputStreamReader.java,
3596 java/io/LineNumberReader.java,
3597 java/io/OutputStreamWriter.java,
3598 java/io/PrintStream.java,
3599 java/io/RandomAccessFile.java:
3600 Merged copyright statements with classpath for easier merging.
3601
3602 2003-03-19 Michael Koch <konqueror@gmx.de>
3603
3604 * java/lang/Process.java:
3605 Merged from classpath.
3606
3607 2003-03-19 Michael Koch <konqueror@gmx.de>
3608
3609 * java/io/FileOutputStream.java
3610 (FileOutputStream): New constructor, merged from classpath.
3611 * java/io/FileWriter.java
3612 (FileWriter): New constructor, merged from classpath.
3613
3614 2003-03-18 Michael Koch <konqueror@gmx.de>
3615
3616 * java/awt/ScrollPane.java
3617 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3618 (getViewportSize): Likewise.
3619 (addNotify): Likewise.
3620 (removeNotify): Likewise.
3621 * java/awt/ScrollPaneAdjustable.java
3622 (ScrollPaneAdjustable): No longer extends Scrollbar.
3623 * java/beans/beancontext/BeanContextServices.java:
3624 Reformated.
3625 (getService): Added throws TooManyListenersException;
3626 * java/beans/beancontext/BeanContextServicesSupport.java:
3627 Reformated.
3628
3629 2003-03-18 Michael Koch <konqueror@gmx.de>
3630
3631 * java/io/BufferedOutputStream.java,
3632 java/io/DataInput.java,
3633 java/io/DataInputStream.java,
3634 java/io/DataOutput.java,
3635 java/io/Externalizable.java:
3636 More merges from classpath.
3637
3638 2003-03-18 Michael Koch <konqueror@gmx.de>
3639
3640 * configure.in: Fixed links to platform dependant java.net files.
3641 * configure: Regenerated.
3642 * java/net/natInetAddress.cc,
3643 java/net/natNetworkInterface.cc,
3644 java/net/natPlainDatagramSocketImpl.cc,
3645 java/net/natPlainSocketImpl.cc:
3646 Removed.
3647
3648 2003-03-18 Michael Koch <konqueror@gmx.de>
3649
3650 * configure.in: Create links to architecture dependent files,
3651 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3652 * configure: Regenerated.
3653 * java/net/natInetAddressNoNet.cc,
3654 java/net/natInetAddressPosix.cc,
3655 java/net/natInetAddressWin32.cc,
3656 java/net/natNetworkInterfaceNoNet.cc,
3657 java/net/natNetworkInterfacePosix.cc,
3658 java/net/natNetworkInterfaceWin32.cc,
3659 java/net/natPlainDatagramSocketImplNoNet.cc,
3660 java/net/natPlainDatagramSocketImplPosix.cc,
3661 java/net/natPlainDatagramSocketImplWin32.cc,
3662 java/net/natPlainSocketImplNoNet.cc,
3663 java/net/natPlainSocketImplPosix.cc,
3664 java/net/natPlainSocketImplWin32.cc: New files.
3665
3666 2003-03-18 Michael Koch <konqueror@gmx.de>
3667
3668 * java/io/BufferedReader.java,
3669 java/io/BufferedWriter.java,
3670 java/io/ByteArrayOutputStream.java,
3671 java/io/FileFilter.java,
3672 java/io/FilePermission.java,
3673 java/io/FileReader.java,
3674 java/io/FileWriter.java,
3675 java/io/FilenameFilter.java,
3676 java/io/FilterInputStream.java,
3677 java/io/FilterOutputStream.java,
3678 java/io/FilterReader.java,
3679 java/io/FilterWriter.java,
3680 java/io/ObjectInput.java,
3681 java/io/ObjectInputValidation.java,
3682 java/io/ObjectOutput.java,
3683 java/io/ObjectStreamField.java,
3684 java/io/PipedInputStream.java,
3685 java/io/PipedReader.java,
3686 java/io/PrintWriter.java,
3687 java/io/PushbackReader.java,
3688 java/io/Reader.java,
3689 java/io/SerializablePermission.java,
3690 java/io/StringReader.java,
3691 java/io/Writer.java:
3692 Merged from classpath.
3693
3694 2003-03-17 Michael Koch <konqueror@gmx.de>
3695
3696 * java/awt/ScrollPaneAdjustable.java:
3697 Compile fixes.
3698
3699 2003-03-17 Michael Koch <konqueror@gmx.de>
3700
3701 * java/net/DatagramSocket.java
3702 (connect): Fixed comment.
3703 * java/nio/ByteBuffer.java
3704 (hasArray): Fixed comment.
3705
3706 2003-03-17 Michael Koch <konqueror@gmx.de>
3707
3708 * java/beans/Beans.java:
3709 Explicitely import classes not packages.
3710 * java/beans/FeatureDescriptor.java
3711 (preferred): New member variable.
3712 (isPreferred): New method.
3713 (setPreferred): New method.
3714 * java/beans/PropertyEditorManager.java:
3715 Explicitely import used classes.
3716 * java/beans/beancontext/BeanContextChild.java:
3717 Added line wrapping.
3718 * java/beans/beancontext/BeanContextChildSupport.java:
3719 Reindented.
3720 * java/beans/beancontext/BeanContextEvent.java:
3721 Reindented.
3722
3723 2003-03-17 Michael Koch <konqueror@gmx.de>
3724
3725 * java/awt/Dialog.java
3726 (Dialog): New constructor, changed implementations, added
3727 documentation.
3728 * java/awt/ScrollPaneAdjustable.java
3729 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3730 Serializable.
3731 (serialVersionUID): New member variable.
3732 (sp): New member variable.
3733 (orientation): New member variable.
3734 (value): New member variable.
3735 (minimum): New member variable.
3736 (maximum): New member variable.
3737 (visibleAmount): New member variable.
3738 (unitIncrement): New member variable.
3739 (blockIncrement): New member variable.
3740 (AdjustmentListener): New member variable.
3741 (ScrollPaneAdjustable): New implementation.
3742 (addAdjustmentListener): New method.
3743 (removeAdjustmentListener): New method.
3744 (getAdjustmentListeners): New method.
3745 (getBlockIncrement): New method.
3746 (getMaximum): New method.
3747 (getMinimum): New method.
3748 (getOrientation): New method.
3749 (getUnitIncrement): New method.
3750 (getValue): New method.
3751 (getVisibleAmount): New method.
3752 (setBlockIncrement): New method.
3753 (setMaximum): Implemented.
3754 (setMinimum): Implemented.
3755 (setUnitIncrement): New method.
3756 (setValue): New method.
3757 (setVisibleAmount): Implemented.
3758 (paramString): New stubbed method.
3759 * java/awt/Window.java
3760 (show): Call setVisible().
3761 (hide): Call setVisible().
3762 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3763 and WINDOW_STATE_CHANGED.
3764 (processWindowFocusEvent): New method.
3765 (processWindowStateEvent): New method.
3766 (postEvent): Deprecated.
3767 (applyResourceBundle): Deprecated.
3768 * java/awt/datatransfer/DataFlavor.java
3769 (DataFlavor): Doesn't thow ClassNotFoundException.
3770
3771 2003-03-17 Michael Koch
3772
3773 * javax/print/attribute/Attribute.java,
3774 javax/print/attribute/AttributeSet.java,
3775 javax/print/attribute/PrintRequestAttributeSet.java:
3776 New files.
3777 * Makefile.am
3778 (javax_source_files): Added new files:
3779 javax/print/attribute/Attribute.java
3780 javax/print/attribute/AttributeSet.java
3781 javax/print/attribute/PrintRequestAttributeSet.java
3782 * Makefile.in: Regenerated.
3783
3784 2003-03-17 Michael Koch
3785
3786 * javax/print/attribute/Attribute.java,
3787 javax/print/attribute/AttributeSet.java,
3788 javax/print/attribute/PrintRequestAttributeSet.java:
3789 New files.
3790 * Makefile.am
3791 (awt_java_source_files): Added new files:
3792 javax/print/attribute/Attribute.java
3793 javax/print/attribute/AttributeSet.java
3794 javax/print/attribute/PrintRequestAttributeSet.java
3795 * Makefile.in: Regenerated.
3796
3797 2003-03-16 Tom Tromey <tromey@redhat.com>
3798
3799 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3800 Include platform.h.
3801 * java/lang/natRuntime.cc (insertSystemProperties): Use
3802 _Jv_platform_path_separator.
3803 (nativeGetLibname): Use _Jv_platform_file_separator.
3804 (_load): Use _Jv_platform_onload_names.
3805 (onload_names): New global.
3806 * include/win32.h (_Jv_platform_file_separator): New define.
3807 (_Jv_platform_path_separator): Likewise.
3808 (_Jv_platform_onload_names): Likewise.
3809 (_Jv_platform_ffi_abi): Likewise.
3810 * include/posix.h (_Jv_platform_file_separator): New define.
3811 (_Jv_platform_path_separator): Likewise.
3812 (_Jv_platform_onload_names): Likewise.
3813 (_Jv_platform_ffi_abi): Likewise.
3814
3815 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3816
3817 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3818
3819 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3820
3821 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3822 hierarchy loop.
3823 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3824 list to Object,ObjectStreamClass, moved callReadMethod code up into
3825 readObject and added Class argument to all setXxxField calls.
3826 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3827 consistent with ObjectOutputStream and to facilitate caching the
3828 Method in the future.
3829 (setBooleanField): Added Class argument.
3830 (setByteField): Likewise.
3831 (setCharField): Likewise.
3832 (setDoubleField): Likewise.
3833 (setFloatField): Likewise.
3834 (setIntField): Likewise.
3835 (setLongField): Likewise.
3836 (setShortField): Likewise.
3837 (setObjectField): Likewise.
3838 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3839 class hierarchy loop.
3840 (defaultWriteObject): Call writeFields with new argument list.
3841 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3842 list to Object,ObjectStreamClass, moved callWriteMethod up into
3843 writeObject and added Class argument to all getXxxField calls.
3844 (callWriteMethod): Added ObjectStreamClass argument to be able to
3845 get the proper class to call getMethod on (each class can have (or
3846 not have) its own writeObject method).
3847 (getBooleanField): Added Class argument.
3848 (getByteField): Likewise.
3849 (getCharField): Likewise.
3850 (getDoubleField): Likewise.
3851 (getFloatField): Likewise.
3852 (getIntField): Likewise.
3853 (getLongField): Likewise.
3854 (getShortField): Likewise.
3855 (getObjectField): Likewise.
3856 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3857 facilitate caching the Method object in the future.
3858
3859 2003-03-12 Andreas Schwab <schwab@suse.de>
3860
3861 * configure.in: Avoid trailing /. in toolexeclibdir.
3862 * configure: Rebuilt.
3863
3864 2003-03-11 Michael Koch <konqueror@gmx.de>
3865
3866 * gnu/java/nio/ByteBufferImpl.java
3867 (putInt): Use limit() instead of limit.
3868 * gnu/java/nio/CharBufferImpl.java
3869 (slice): Fixed implementation.
3870 (subSequence): Better bounds checking.
3871 * gnu/java/nio/MappedByteFileBuffer.java:
3872 Import all needed classes directly.
3873 * java/nio/ByteBuffer.java
3874 (hashCode): New dummy method.
3875 * java/nio/CharBuffer.java
3876 (array_offset): New member variable.
3877 (hasArray): Fixed documentation.
3878 (arrayOffset): Return array_offset.
3879
3880 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3881
3882 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3883 setter; made return value of getter const char* instead of char*
3884 * prims.cc: removed all references to _Jv_ThisExecutable().
3885 These are in the platform-specific sections now.
3886 * posix.cc: define platform-specific _Jv_ThisExecutable().
3887 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3888 * win32.cc: define platform-specific _Jv_ThisExecutable()
3889 using GetModuleFilename()
3890 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3891 to argv[0] instead of _Jv_ThisExecutable()
3892
3893 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3894
3895 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3896 that is set if we are using addr2name.awk instead of addr2line.
3897 (NameFinder): Set usingAddr2name if using addr2name.awk.
3898 (getExternalLabel): New native method to convert a method
3899 name to an external label.
3900 (lookup): Convert name given by addr2line to an external label
3901 before demangling.
3902
3903 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3904 constant representing the prefix attached to method names to
3905 convert them to an external label.
3906 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3907 using LABEL_PREFIX.
3908
3909 2003-03-10 Tom Tromey <tromey@redhat.com>
3910
3911 * Makefile.in: Rebuilt.
3912 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3913 (JC1FLAGS): Removed -Wno-deprecated.
3914
3915 2003-03-10 Michael Koch <konqueror@gmx.de>
3916
3917 * java/nio/ByteOrder.java
3918 (nativeOrder): Working implementation, added documentation.
3919 (toString): Added documentation.
3920
3921 2003-03-10 Michael Koch <konqueror@gmx.de>
3922
3923 * java/net/DatagramSocket.java,
3924 java/net/MulticastSocket.java,
3925 java/net/Socket.java,
3926 java/net/URL.java,
3927 java/net/URLConnection.java:
3928 Fixed some documentation tags to make javadoc and friends happy.
3929
3930 2003-03-10 Michael Koch <koqnueror@gmx.de>
3931
3932 * java/beans/beancontext/BeanContextServicesSupport.java,
3933 java/beans/beancontext/BeanContextSupport.java: New files.
3934 * Makefile.am
3935 (awt_source_files): Added new files.
3936 * Makefile.in: Regenerated.
3937
3938 2003-03-10 Michael Koch <konqueror@gmx.de>
3939
3940 * java/awt/FocusTraversalPolicy.java
3941 (FocusTraversalPolicy): Documentation added.
3942 (getComponentAfter): Documentation added.
3943 (getComponentBefore): Documentation added.
3944 (getFirstComponent): Documentation added.
3945 (getLastComponent): Documentation added.
3946 (getDefaultComponent): Documentation added.
3947 (getInitialComponent): Documentation added.
3948 * java/awt/ScrollPaneAdjustable.java
3949 (sp): New member variable.
3950 (orientation): New member variable.
3951 (value): New member variable.
3952 (minimum): New member variable.
3953 (maximum): New member variable.
3954 (visibleAmount): New member variable.
3955 (unitIncrement): New member variable.
3956 (blockIncrement): New member variable.
3957 (adjustmentListener): New member variable.
3958 (ScrollPaneAdjustable): Rewrote.
3959 (addAdjustmentListener): New method.
3960 (removeAdjustmentListener): New method.
3961 (getAdjustmentListeners): New method.
3962 (getBlockIncrement): New method.
3963 (getMaximum): New method.
3964 (getMinimum): New method.
3965 (getOrientation): New method.
3966 (getUnitIncrement): New method.
3967 (getValue): New method.
3968 (getVisibleAmount): New method.
3969 (setBlockIncrement): New method.
3970 (setUnitIncrement): New method.
3971 (setMaximum): Implemented.
3972 (setMinimum): Implemented.
3973 (setValue): New method.
3974 (setVisibleAmount): Implemented.
3975 (paramString): New method.
3976 * java/awt/Window.java
3977 (show): Use setVisible(true) instead of super.show().
3978 (hide): Use sevVisible(false) instead of super.hide().
3979 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3980 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3981 (postEvent): Deprecated.
3982 (applyResourceBundle): Deprecated.
3983 (processWindowFocusEvent): New method.
3984 (processWindowStateEvent): New method.
3985 * java/awt/datatransfer/DataFlavor.java: Reindented.
3986 * java/awt/font/TextHitInfo.java
3987 (charIndex): New member variable.
3988 (leadingEdge): New member variable.
3989 (TextHitInfo): New constructor.
3990 (getCharIndex): Implemented.
3991 (isLeadingEdge): Implemented.
3992 (getInsertionIndex): Implemented.
3993 (hashCode): Access charIndex directly.
3994 (equals): Reformated.
3995 (leading): Implemented.
3996 (trailing): Implemented.
3997 (beforeOffset): Implemented.
3998 (afterOffset): Implemented.
3999 (getOtherHit): Implemented.
4000 (getOffsetHit): Implemented.
4001 (toString): Implemented.
4002 * java/awt/image/BufferedImage.java
4003 (BufferedImage): Implements WritableRenderedImage.
4004 (observers): New member variable.
4005 (addTileObserver): New method.
4006 (removeTileObserver): New method.
4007
4008 2003-03-09 Tom Tromey <tromey@redhat.com>
4009
4010 PR libgcj/9934:
4011 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4012 to lseek. Return 0 if we can't compute the value.
4013
4014 2003-03-03 Michael Koch <konqueror@gmx.de>
4015
4016 * java/net/NetworkInterface.java: Merged with classpath.
4017
4018 2003-03-03 Tom Tromey <tromey@redhat.com>
4019
4020 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4021 of bytecode.
4022 (handle_ret_insn): Fail if returning to jsr that appears at end of
4023 bytecode.
4024
4025 2003-03-03 Michael Koch <konqueror@gmx.de>
4026
4027 * Makefile.am
4028 (ordinary_java_source_files):
4029 Added gnu/java/nio/MappedByteFileBuffer.java.
4030 (nat_source_files):
4031 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4032 * Makefile.in: Regenerated.
4033
4034 2003-03-03 Michael Koch <konqueror@gmx.de>
4035
4036 * java/net/DatagramSocket.java
4037 (connect): Merged comment from classpath.
4038 (receive): Merged documentation from classpath.
4039 * java/net/Socket.java
4040 (setSoTimeout): Clarified documentation.
4041 * java/net/URL.java
4042 (getPath): Merged from classpath.
4043 (getUserInfo): Merged from classpath.
4044 (getQuery): Merged from classpath.
4045 * java/net/URLStreamHandler.java
4046 (toExternalForm): Merged from classpath.
4047
4048 2003-03-02 Mark Wielaard <mark@klomp.org>
4049
4050 * java/util/Properties.java (load): Only skip line if the first
4051 character is a comment, whitespaces don't count.
4052
4053 2003-03-02 Michael Koch <konqueror@gmx.de>
4054
4055 * java/net/NetPermission.java:
4056 Merged copyright with classpath.
4057
4058 2003-03-02 Michael Koch <konqueror@gmx.de>
4059
4060 * java/lang/Package.java:
4061 Remerged from classpath.
4062
4063 2003-03-02 Michael Koch <konqueror@gmx.de>
4064
4065 * java/net/HttpURLConnection.java
4066 (HTTP_SERVER_ERROR): Deprecated.
4067 * java/net/MulticastSocket.java
4068 (send): Replaced checkMulticast with appropriate checkPermission call,
4069 deprecated.
4070 * java/net/URLDecoder.java
4071 (decode): Deprecated.
4072 * java/net/URLEncoder.java
4073 (encode): Deprecated.
4074
4075 2003-03-02 Michael Koch <konqueror@gmx.de>
4076
4077 * javax/swing/text/Caret.java
4078 (getMagicCaretPosition): Fixed typo in method name.
4079 * javax/swing/text/DefaultCaret.java
4080 (getMagicCaretPosition): Fixed typo in method name.
4081
4082 2003-03-02 Michael Koch <konqueror@gmx.de>
4083
4084 * java/awt/List.java
4085 (setMultipleSelections): Deprecated.
4086 (delItem): Deprecated.
4087 * java/awt/MenuComponent.java
4088 (getPeer): Deprecated.
4089 * java/awt/ScrollPane.java
4090 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4091 * java/awt/dnd/MouseDragGestureRecognizer.java
4092 (mouseClicked): Added comment.
4093 (mousePressed): Added comment.
4094 (mouseReleased): Added comment.
4095 (mouseEntered): Added comment.
4096 (mouseExited): Added comment.
4097 (mouseDragged): Added comment.
4098 (mouseMoved): Added comment.
4099 * java/awt/event/KeyEvent.java
4100 (KeyEvent): Deprecated.
4101 (setModifiers): Deprecated.
4102
4103 2003-03-02 Michael Koch <konqueror@gmx.de>
4104
4105 * gnu/java/nio/FileChannelImpl.java
4106 (fd): Type FileDescriptor instead of int.
4107 (lengthInternal): Removed.
4108 (FileChannelImpl): Fixed arguments, check type of file object.
4109 (size): Made it native.
4110 (implPosition): New native method.
4111 (implTruncate): New native method.
4112 (position): Implemented.
4113 (truncate): Implemented.
4114 (nio_mmap_file): Changed arguments.
4115 (nio_munmap_file): Changed arguments.
4116 (nio_msync): Changed arguments.
4117 * gnu/java/nio/natFileChannelImpl.cc
4118 (lengthInternal): Removed.
4119 (size): New method.
4120 (implPosition): New method.
4121 (implTruncate): New method.
4122 (nio_mmap_file): Changed arguments.
4123 (nio_munmap_file): Changed arguments.
4124 (nio_msync): Changed arguments.
4125
4126 2003-03-02 Michael Koch <konqueror@gmx.de>
4127
4128 * java/awt/dnd/DropTargetContext.java:
4129 Compile fix: Forgot to commit import.
4130
4131 2003-03-02 Michael Koch <konqueror@gmx.de>
4132
4133 * java/awt/Component.java,
4134 java/awt/ScrollPane.java:
4135 Fixed typos.
4136
4137 2003-03-02 Michael Koch <konqueror@gmx.de>
4138
4139 * java/awt/dnd/DnDEventMulticaster.java: New file.
4140 * java/awt/dnd/DragSource.java
4141 (flavorMap): New member variable.
4142 (dragSourceListener): New member variable.
4143 (dragSourceMotionListener): New member variable.
4144 (getFlavorMap): Implemented.
4145 (createDragGestureRecognizer): Implemented.
4146 (addDragSourceListener): Implemented.
4147 (removeDragSourceListener): Implemented.
4148 (getDragSourceListeners): Implemented.
4149 (addDragSourceMotionListener): Implemented.
4150 (removeDragSourceMotionListener): Implemented.
4151 (getDragSourceMotionListeners): Implemented.
4152 (getListeners): Implemented.
4153 * java/awt/dnd/DragSourceContext.java
4154 (peer): New member variable.
4155 (cursor): New member variable.
4156 (transferable): New member variable.
4157 (trigger): New member variable.
4158 (dragSourceListener): New member variable.
4159 (image): New member variable.
4160 (offset): New member variable.
4161 (DragSourceContext): Implemented.
4162 (getDragSource): Implemented.
4163 (getComponent): Implemented.
4164 (getTrigger): Implemented.
4165 (getSourceActions): Implemented.
4166 (setCursor): Implemented.
4167 (getCursor): Implemented.
4168 (addDragSourceListener): Implemented.
4169 (removeDragSourceListener): Implemented.
4170 (getTransferable): Implemented.
4171 * java/awt/dnd/DropTarget.java
4172 (DropTargetAutoScroller.component): New member variable.
4173 (DropTargetAutoScroller.point): New member variable.
4174 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4175 (DropTargetAutoScroller.updateLocation): Implemented.
4176 (active): Renamed from isActive, defaults to true now.
4177 (component): New member variable.
4178 (flavorMap): New member variable.
4179 (actions): New member variable.
4180 (dropTargetContext): New member variable.
4181 (dropTargetListener): New member variable.
4182 (DropTarget): Implemented.
4183 (getComponent): Implemented.
4184 (setComponent): Implemented.
4185 (setDefaultActions): Implemented.
4186 (getDefaultActions): Implemented.
4187 (setActive): Use active instead of isActive.
4188 (isActive): Use active instead of isActive.
4189 (addDropTargetListener): Implemented.
4190 (removeDropTargetListener): Implemented.
4191 (getFlavorMap): Implemented.
4192 (setFlavorMap): Implemented.
4193 (getDropTargetContext): Implemented.
4194 (createDropTargetContext): Implemented.
4195 (createDropTargetAutoScroller): Implemented.
4196 * java/awt/dnd/DropTargetContext.java
4197 (TransferableProxy.getTransferDataFlavors): Implemented.
4198 (TransferableProxy.isDataFlavorSupported): Implemented.
4199 (TransferableProxy.getTransferData): Implemented.
4200 (dropTarget): New member variable.
4201 (dtcp): New member variable.
4202 (DropTargetContext): New package private constructor.
4203 (getDropTarget): Implemented.
4204 (getComponent): Implemented.
4205 (addNotify): Implemented.
4206 (removeNotify): Implemented.
4207 (getCurrentDataFlavorsAsList): Implemented.
4208 (isDataFlavorSupported): Implemented.
4209 * java/awt/dnd/MouseDragGestureRecognizer.java
4210 (registerListeners): Implemented.
4211 (unregisterListeners): Implemented.
4212 * Makefile.am
4213 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4214 * Makefile.in: Regenerated.
4215
4216 2003-03-02 Michael Koch <konqueror@gmx.de>
4217
4218 * java/awt/Component.java
4219 (eventTypeEnabled): New method.
4220 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4221 * java/awt/Container.java
4222 (changeSupport): New member variable.
4223 (addPropertyChangeListener): New methods.
4224 * java/awt/ContainerOrderFocusTraversalPolicy.java
4225 (ContainerOrderFocusTraversalPolicy): Added comment.
4226 (getComponentAfter): Throw exception, documentation added.
4227 (getComponentBefore): Throw exception, documentation added.
4228 (getFirstComponent): Throw exception, documentation added.
4229 (getLastComponent): Throw exception, documentation added.
4230 (getDefaultComponent): Throw exception, documentation added.
4231 * java/awt/EventQueue.java: Reindented.
4232 * java/awt/FocusTraversalPolicy.java:
4233 (FocusTraversalPolicy): Added comment.
4234 (getComponentAfter): Documentation added.
4235 (getComponentBefore): Documentation added.
4236 (getFirstComponent): Documentation added.
4237 (getLastComponent): Documentation added.
4238 (getDefaultComponent): Documentation added.
4239 (getInitialComponent): Documentation added.
4240 * java/awt/ScrollPane.java
4241 (wheelScrollingEnabled): New member variable.
4242 (ScrollPane): Initialize wheelScollingEnabled.
4243 (eventTypeEnabled): New method.
4244 (isWheelScrollingEnabled): New method.
4245 (setWheelScrollingEnabled): New method.
4246
4247 2003-03-02 Michael Koch <konqueror@gmx.de>
4248
4249 * java/net/DatagramSocket.java
4250 (closed): New member variable.
4251 (close): Use closed variable.
4252 (getInetAddress): No need to call isConnected().
4253 (getPort): No need to call isConnected().
4254 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4255 (isClosed): Reimplemented.
4256
4257 2003-03-02 Michael Koch <konqueror@gmx.de>
4258
4259 * configure.in: Added check for memory mapping of files.
4260 * configure: Regenerated.
4261 * config.h.in: Regenerated.
4262
4263 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4264
4265 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4266 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4267
4268 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4269
4270 * java/io/File.java (normalizePath): Remove trailing separator
4271 on Windows only if path is not of the form "x:\".
4272
4273 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4274 (java::io::File::attr): Change formatting a bit and use
4275 WIN32_EPOCH_MILLIS instead of magic numbers.
4276 (java::io::File::isAbsolute): Path must have at least 3
4277 characters for a UNC network path.
4278 (java::io::File::init_native): Define.
4279 (java::io::File::performCreate): Likewise.
4280 (java::io::File::performSetReadOnly): Likewise.
4281 (java::io::File::performSetLastModified): Likewise.
4282 (java::io::File::performListRoots): Likewise.
4283
4284 2003-03-01 Tom Tromey <tromey@redhat.com>
4285
4286 * java/lang/natObject.cc: Don't include assert.h.
4287 (heavy_lock_obj_finalization_proc): Use JvAssert.
4288 (remove_all_heavy): Likewise.
4289 (_Jv_MonitorEnter): Likewise.
4290 (_Jv_MonitorExit): Likewise.
4291 (wait): Likewise.
4292
4293 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4294
4295 * java/io/File (getAbsolutePath): Prefix drive specifier on
4296 Windows for paths starting with a '\'.
4297 (toURL): Make URL more consistent with what Sun's JDK returns.
4298
4299 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4300 true only if the path is a UNC network path or it starts with a
4301 drive specifier.
4302
4303 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4304 Be prepared to handle either '/' or '\\' in the file path for
4305 Windows if using the "file" protocol.
4306 Canonicalise the file path if using a relative path in the given
4307 context and the "file" protocol.
4308
4309 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4310
4311 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4312 program array element passed to CreateProcess.
4313
4314 2003-03-01 Tom Tromey <tromey@redhat.com>
4315
4316 * java/rmi/registry/RegistryHandler.java: Deprecate.
4317
4318 2003-03-01 Tom Tromey <tromey@redhat.com>
4319
4320 * javax/accessibility/AccessibleEditableText.java,
4321 javax/accessibility/AccessibleHyperlink.java: New versions from
4322 Classpath.
4323
4324 * gnu/java/locale/LocaleInformation_af_ZA.java,
4325 gnu/java/locale/LocaleInformation_ar_AE.java,
4326 gnu/java/locale/LocaleInformation_ar_BH.java,
4327 gnu/java/locale/LocaleInformation_ar_DZ.java,
4328 gnu/java/locale/LocaleInformation_ar_EG.java,
4329 gnu/java/locale/LocaleInformation_ar_IN.java,
4330 gnu/java/locale/LocaleInformation_ar_IQ.java,
4331 gnu/java/locale/LocaleInformation_ar_JO.java,
4332 gnu/java/locale/LocaleInformation_ar_KW.java,
4333 gnu/java/locale/LocaleInformation_ar_LB.java,
4334 gnu/java/locale/LocaleInformation_ar_LY.java,
4335 gnu/java/locale/LocaleInformation_ar_MA.java,
4336 gnu/java/locale/LocaleInformation_ar_OM.java,
4337 gnu/java/locale/LocaleInformation_ar_QA.java,
4338 gnu/java/locale/LocaleInformation_ar_SD.java,
4339 gnu/java/locale/LocaleInformation_ar_SY.java,
4340 gnu/java/locale/LocaleInformation_ar_TN.java,
4341 gnu/java/locale/LocaleInformation_ar_YE.java,
4342 gnu/java/locale/LocaleInformation_be_BY.java,
4343 gnu/java/locale/LocaleInformation_bn_IN.java,
4344 gnu/java/locale/LocaleInformation_br_FR.java,
4345 gnu/java/locale/LocaleInformation_bs_BA.java,
4346 gnu/java/locale/LocaleInformation_ca_ES.java,
4347 gnu/java/locale/LocaleInformation_cs_CZ.java,
4348 gnu/java/locale/LocaleInformation_cy_GB.java,
4349 gnu/java/locale/LocaleInformation_da_DK.java,
4350 gnu/java/locale/LocaleInformation_de_AT.java,
4351 gnu/java/locale/LocaleInformation_de_BE.java,
4352 gnu/java/locale/LocaleInformation_de_CH.java,
4353 gnu/java/locale/LocaleInformation_de_DE.java,
4354 gnu/java/locale/LocaleInformation_de_LU.java,
4355 gnu/java/locale/LocaleInformation_el_GR.java,
4356 gnu/java/locale/LocaleInformation_en_AU.java,
4357 gnu/java/locale/LocaleInformation_en_BW.java,
4358 gnu/java/locale/LocaleInformation_en_CA.java,
4359 gnu/java/locale/LocaleInformation_en_DK.java,
4360 gnu/java/locale/LocaleInformation_en_GB.java,
4361 gnu/java/locale/LocaleInformation_en_HK.java,
4362 gnu/java/locale/LocaleInformation_en_IE.java,
4363 gnu/java/locale/LocaleInformation_en_IN.java,
4364 gnu/java/locale/LocaleInformation_en_NZ.java,
4365 gnu/java/locale/LocaleInformation_en_PH.java,
4366 gnu/java/locale/LocaleInformation_en_SG.java,
4367 gnu/java/locale/LocaleInformation_en_US.java,
4368 gnu/java/locale/LocaleInformation_en_ZA.java,
4369 gnu/java/locale/LocaleInformation_en_ZW.java,
4370 gnu/java/locale/LocaleInformation_es_AR.java,
4371 gnu/java/locale/LocaleInformation_es_BO.java,
4372 gnu/java/locale/LocaleInformation_es_CL.java,
4373 gnu/java/locale/LocaleInformation_es_CO.java,
4374 gnu/java/locale/LocaleInformation_es_CR.java,
4375 gnu/java/locale/LocaleInformation_es_DO.java,
4376 gnu/java/locale/LocaleInformation_es_EC.java,
4377 gnu/java/locale/LocaleInformation_es_ES.java,
4378 gnu/java/locale/LocaleInformation_es_GT.java,
4379 gnu/java/locale/LocaleInformation_es_HN.java,
4380 gnu/java/locale/LocaleInformation_es_MX.java,
4381 gnu/java/locale/LocaleInformation_es_NI.java,
4382 gnu/java/locale/LocaleInformation_es_PA.java,
4383 gnu/java/locale/LocaleInformation_es_PE.java,
4384 gnu/java/locale/LocaleInformation_es_PR.java,
4385 gnu/java/locale/LocaleInformation_es_PY.java,
4386 gnu/java/locale/LocaleInformation_es_SV.java,
4387 gnu/java/locale/LocaleInformation_es_US.java,
4388 gnu/java/locale/LocaleInformation_es_UY.java,
4389 gnu/java/locale/LocaleInformation_es_VE.java,
4390 gnu/java/locale/LocaleInformation_et_EE.java,
4391 gnu/java/locale/LocaleInformation_eu_ES.java,
4392 gnu/java/locale/LocaleInformation_fa_IR.java,
4393 gnu/java/locale/LocaleInformation_fi_FI.java,
4394 gnu/java/locale/LocaleInformation_fo_FO.java,
4395 gnu/java/locale/LocaleInformation_fr_BE.java,
4396 gnu/java/locale/LocaleInformation_fr_CA.java,
4397 gnu/java/locale/LocaleInformation_fr_CH.java,
4398 gnu/java/locale/LocaleInformation_fr_FR.java,
4399 gnu/java/locale/LocaleInformation_fr_LU.java,
4400 gnu/java/locale/LocaleInformation_ga_IE.java,
4401 gnu/java/locale/LocaleInformation_gd_GB.java,
4402 gnu/java/locale/LocaleInformation_gl_ES.java,
4403 gnu/java/locale/LocaleInformation_gv_GB.java,
4404 gnu/java/locale/LocaleInformation_he_IL.java,
4405 gnu/java/locale/LocaleInformation_hi_IN.java,
4406 gnu/java/locale/LocaleInformation_hr_HR.java,
4407 gnu/java/locale/LocaleInformation_hu_HU.java,
4408 gnu/java/locale/LocaleInformation_id_ID.java,
4409 gnu/java/locale/LocaleInformation_it_CH.java,
4410 gnu/java/locale/LocaleInformation_it_IT.java,
4411 gnu/java/locale/LocaleInformation_iw_IL.java,
4412 gnu/java/locale/LocaleInformation_ja_JP.java,
4413 gnu/java/locale/LocaleInformation_ka_GE.java,
4414 gnu/java/locale/LocaleInformation_kl_GL.java,
4415 gnu/java/locale/LocaleInformation_ko_KR.java,
4416 gnu/java/locale/LocaleInformation_kw_GB.java,
4417 gnu/java/locale/LocaleInformation_lt_LT.java,
4418 gnu/java/locale/LocaleInformation_lv_LV.java,
4419 gnu/java/locale/LocaleInformation_mi_NZ.java,
4420 gnu/java/locale/LocaleInformation_mk_MK.java,
4421 gnu/java/locale/LocaleInformation_mr_IN.java,
4422 gnu/java/locale/LocaleInformation_mt_MT.java,
4423 gnu/java/locale/LocaleInformation_nl_BE.java,
4424 gnu/java/locale/LocaleInformation_nl_NL.java,
4425 gnu/java/locale/LocaleInformation_nn_NO.java,
4426 gnu/java/locale/LocaleInformation_no_NO.java,
4427 gnu/java/locale/LocaleInformation_oc_FR.java,
4428 gnu/java/locale/LocaleInformation_pl_PL.java,
4429 gnu/java/locale/LocaleInformation_pt_BR.java,
4430 gnu/java/locale/LocaleInformation_pt_PT.java,
4431 gnu/java/locale/LocaleInformation_ro_RO.java,
4432 gnu/java/locale/LocaleInformation_ru_RU.java,
4433 gnu/java/locale/LocaleInformation_ru_UA.java,
4434 gnu/java/locale/LocaleInformation_se_NO.java,
4435 gnu/java/locale/LocaleInformation_sk_SK.java,
4436 gnu/java/locale/LocaleInformation_sl_SI.java,
4437 gnu/java/locale/LocaleInformation_sq_AL.java,
4438 gnu/java/locale/LocaleInformation_sr_YU.java,
4439 gnu/java/locale/LocaleInformation_sv_FI.java,
4440 gnu/java/locale/LocaleInformation_sv_SE.java,
4441 gnu/java/locale/LocaleInformation_ta_IN.java,
4442 gnu/java/locale/LocaleInformation_te_IN.java,
4443 gnu/java/locale/LocaleInformation_tg_TJ.java,
4444 gnu/java/locale/LocaleInformation_tl_PH.java,
4445 gnu/java/locale/LocaleInformation_tr_TR.java,
4446 gnu/java/locale/LocaleInformation_uk_UA.java,
4447 gnu/java/locale/LocaleInformation_ur_PK.java,
4448 gnu/java/locale/LocaleInformation_uz_UZ.java,
4449 gnu/java/locale/LocaleInformation_vi_VN.java,
4450 gnu/java/locale/LocaleInformation_yi_US.java,
4451 gnu/java/locale/LocaleInformation_zh_CN.java,
4452 gnu/java/locale/LocaleInformation_zh_HK.java,
4453 gnu/java/locale/LocaleInformation_zh_SG.java,
4454 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4455 info; from Classpath.
4456
4457 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4458 isPaintPending): New methods.
4459 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4460 setMaximizedBounds): New methods.
4461 (beginLayout, endLayout, isPaintPending): Likewise.
4462 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4463 (requestFocus): Likewise.
4464 (isObscured): Likewise.
4465 (canDetermineObscurity): Likewise.
4466 (coalescePaintEvent): Likewise.
4467 (updateCursorImmediately): Likewise.
4468 (createVolatileImage): Likewise.
4469 (handlesWheelScrolling): Likewise.
4470 (createBuffers): Likewise.
4471 (getBackBuffer): Likewise.
4472 (flip): Likewise.
4473 (destroyBuffers): Likewise.
4474
4475 * Makefile.in: Rebuilt.
4476 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4477 RobotPeer.java.
4478 * gnu/java/awt/GLightweightPeer.java,
4479 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4480 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4481 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4482 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4483 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4484 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4485 java/awt/dnd/peer/DragSourceContextPeer.java,
4486 java/awt/dnd/peer/DropTargetContextPeer.java,
4487 java/awt/peer/ButtonPeer.java,
4488 java/awt/peer/CheckboxMenuItemPeer.java,
4489 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4490 java/awt/peer/ComponentPeer.java,
4491 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4492 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4493 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4494 java/awt/peer/MenuBarPeer.java,
4495 java/awt/peer/MenuComponentPeer.java,
4496 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4497 java/awt/peer/PopupMenuPeer.java,
4498 java/awt/peer/ScrollPanePeer.java,
4499 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4500 java/awt/peer/TextComponentPeer.java,
4501 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4502 New versions from Classpath.
4503 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4504 * java/awt/peer/RobotPeer.java: Likewise.
4505
4506 2003-03-01 Mark Wielaard <mark@klomp.org>
4507
4508 * java/io/ObjectInputStream.java: Reindent.
4509 * java/io/ObjectOutputStream.java: Likewise.
4510
4511 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4512
4513 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4514 jvalue for each argument. Simplify.
4515 * testsuite/libjava.jni/calls.c (docall),
4516 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4517 misalignment.
4518
4519 2003-02-28 Mark Wielaard <mark@klomp.org>
4520
4521 * Makefile.am (nat_source_files): Remove
4522 java/io/natObjectOutputStream.cc.
4523 * Makefile.in: Regenerated.
4524 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4525 * java/io/ObjectStreamField.java (typename): New field.
4526 (ObjectStreamField(String, Class)): Initialize new field.
4527 (ObjectStreamField(String, String)): New Constructor.
4528 (getTypeCode): Use new field.
4529 (getTypeString): Use new field.
4530 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4531 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4532 Handle reading of Proxy classes. Never drain(), just write
4533 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4534 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4535 (flush): Call flush(), not just drain().
4536 (writeBoolean): Always use blockDataOutput.
4537 (writeByte): Likewise.
4538 (writeShort): Likewise.
4539 (writeChar): Likewise.
4540 (writeInt): Likewise.
4541 (writeLong): Likewise.
4542 (writeFloat): Likewise.
4543 (writeDouble): Likewise.
4544 (writeBytes): Likewise.
4545 (putfield (put(String,Object))): Throw IllegalArgumentException if
4546 field cannot be found.
4547 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4548 (writeArraySizeAndElements): Write byte[] in one go.
4549 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4550 set BlockDataMode to false.
4551 (annotateProxyClass): New method.
4552 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4553 (getField): No longer native.
4554 (getMethod): Likewise.
4555 (setBlockDataMode): Always drain() on switch, return old mode.
4556 (static): New static code block.
4557 * java/io/natObjectOutputStream.cc: Removed.
4558 * java/io/ObjectInputStream.java (getField): No longer native.
4559 (getMethod): Likewise.
4560 (readObject): Remember and reset old BlockDataMode. Track whether
4561 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4562 TC_LONGSTRING.
4563 (defaultReadObject): Set BlockDataMode to false during readFields.
4564 (resolveClass): Create new SecurityManager if necessary.
4565 Use Class.forName() if null ClassLoader found.
4566 (read(byte[],int,int): Copy remaining bytes to data before calling
4567 readNextBlock().
4568 (readFields): Set and reset BlockDataMode on call_read_method.
4569 Catch NoSuchFieldErrors.
4570 (setBlockDataMode): Return old mode.
4571 (static): New static code block.
4572 * java/io/natObjectInputStream.cc (getField): Removed.
4573 (getMethod): Likewise.
4574
4575 2003-02-27 Michael Koch <konqueror@gmx.de>
4576
4577 * java/beans/Beans.java,
4578 java/beans/FeatureDescriptor.java
4579 java/beans/PropertyEditorManager.java:
4580 Reformated to GNU style.
4581
4582 2003-02-25 Michael Koch <konqueror@gmx.de>
4583
4584 * gnu/java/nio/MappedByteFileBuffer.java,
4585 gnu/java/nio/natMappedByteFileBuffer.cc:
4586 New files, both are not compiled yet to get not noncompiling CVS.
4587
4588 2003-02-24 Tom Tromey <tromey@redhat.com>
4589
4590 * java/util/prefs/AbstractPreferences.java (isUserNode):
4591 Implemented.
4592
4593 2003-02-24 Tom Tromey <tromey@redhat.com>
4594
4595 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4596 Deprecate.
4597 * java/lang/Thread.java (resume): Deprecate.
4598 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4599 in @deprecated.
4600
4601 2003-02-23 Tom Tromey <tromey@redhat.com>
4602
4603 * Makefile.in: Rebuilt.
4604 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4605
4606 2003-02-23 Tom Tromey <tromey@redhat.com>
4607
4608 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4609 libraries): Removed.
4610 (add_library): Removed.
4611 (_load): Don't call add_library.
4612 (loadLibraryInternal): Likewise.
4613 (init): Likewise.
4614 (lookup_data): New struct.
4615 (find_symbol): New function.
4616 (_Jv_FindSymbolInExecutable): Use it.
4617
4618 2002-02-21 Anthony Green <green@redhat.com>
4619
4620 * java/lang/Thread.java (Thread): New constructor taking stack
4621 size parameter (ignored for now).
4622 * Many methods: Merged GNU Classpath documentation.
4623
4624 * java/lang/Class.java (finalize): throws a Throwable.
4625
4626 2003-02-21 Mark Wielaard <mark@klomp.org>
4627
4628 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4629 argument is null.
4630
4631 2003-02-21 Mark Wielaard <mark@klomp.org>
4632
4633 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4634 then 65535 chars throw IllegalArgumentException.
4635
4636 2003-02-21 Mark Wielaard <mark@klomp.org>
4637
4638 * java/util/zip/ZipFile.java (finalize): New method.
4639
4640 2003-02-21 Michael Koch <konqueror@gmx.de>
4641
4642 * gnu/java/nio/natSocketChannelImpl.cc:
4643 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4644 <cato@df.lth.se> for pointing to it.
4645
4646 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4647
4648 * java/math/BigInteger.java (euclidInv): Take result array as an
4649 argument. Updated all callers.
4650 (modInverse): Removed unused variables.
4651
4652 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4653
4654 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4655 config.status.
4656 * configure: Rebuilt.
4657
4658 2003-02-19 Michael Koch <konqueror@gmx.de>
4659
4660 * gnu/java/nio/natSocketChannelImpl.cc:
4661 Added support for platforms without network support.
4662
4663 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4664
4665 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4666 after config.h. Use <> for consistency.
4667 * java/lang/natObject.cc: Likewise.
4668 * java/lang/natRuntime.cc: Likewise.
4669 * java/lang/natSystem.cc: Likewise.
4670 * java/util/natTimeZone.cc: Likewise.
4671 * win32.cc: Likewise.
4672 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4673 listen, write, read): Undef to avoid interference from OS macros.
4674
4675 2003-02-19 Michael Koch <konqueror@gmx.de>
4676
4677 * gnu/java/nio/ByteBufferImpl.java
4678 (ByteBufferImpl): Renamed two variables.
4679 * gnu/java/nio/CharBufferImpl.java
4680 (CharBufferImpl): Renamed two variables.
4681 * gnu/java/nio/DoubleBufferImpl.java
4682 (DoubleBufferImpl): Renamed two variables.
4683 * gnu/java/nio/FloatBufferImpl.java
4684 (FloatBufferImpl): Renamed two variables.
4685 * gnu/java/nio/IntBufferImpl.java
4686 (IntBufferImpl): Renamed two variables.
4687 * gnu/java/nio/LongBufferImpl.java
4688 (LongBufferImpl): Renamed two variables.
4689 * gnu/java/nio/ShortBufferImpl.java
4690 (ShortBufferImpl): Renamed two variables.
4691 * java/nio/CharBuffer.java
4692 (wrap): Fixed arguments to CharBufferImpl constructor.
4693 (hasArray): Only not read-only buffers have backing arrays.
4694 (length): Documentation added.
4695 (subSequence): Documentation added.
4696 * java/nio/DoubleBuffer.java
4697 (hasArray): Only not read-only buffers have backing arrays.
4698 * java/nio/FloatBuffer.java
4699 (hasArray): Only not read-only buffers have backing arrays.
4700 * java/nio/IntBuffer.java
4701 (hasArray): Only not read-only buffers have backing arrays.
4702 * java/nio/LongBuffer.java
4703 (hasArray): Only not read-only buffers have backing arrays.
4704 * java/nio/ShortBuffer.java
4705 (hasArray): Only not read-only buffers have backing arrays.
4706
4707 2003-02-19 Michael Koch <konqueror@gmx.de>
4708
4709 * javax/accessibility/AccessibleContext.java
4710 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4711
4712 2003-02-19 Michael Koch <konqueror@gmx.de>
4713
4714 * java/awt/ScrollPaneAdjustable.java: Reformated.
4715
4716 2003-02-19 Michael Koch <konqueror@gmx.de>
4717
4718 * gnu/awt/j2d/Graphics2DImpl.java
4719 (getFontRenderContext): New method.
4720 (drawGlyphVector): New method.
4721 * java/awt/Graphics2D.java
4722 (getFontRenderContext): New abstract method.
4723 (drawGlyphVector): New abstract method.
4724
4725 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4726
4727 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4728 if necessary.
4729
4730 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4731 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4732 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4733 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4734 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4735 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4736 (setFont, gtkSetFont): add.
4737 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4738 Propagate font to peer. (setFont): add FIXME comment.
4739
4740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4741 (gtkTextGetSize): fix height, width computation.
4742
4743 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4744 Make X font name a bit less bogus.
4745
4746 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4747 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4748
4749 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4750 (processAdjustmentEvent): Adjust value.
4751
4752 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4753 logic errors.
4754
4755 * java/awt/Component.java (setVisible, show, hide): Call show and
4756 hide methods in subclasses.
4757 (getPreferredSize): don't set prefSize before we have peer.
4758
4759 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4760 Guess (0,0) if we don't have peer.
4761
4762
4763 2003-02-18 Michael Koch <konqueror@gmx.de>
4764
4765 * java/nio/channels/FileChannel.java
4766 (toString): New implementation, added documentation.
4767 (map): Added exception documentation.
4768 (size): Added exception documentation.
4769 (write): New methods, documentation work.
4770 (read): New methods, documentation work.
4771 (implCloseChannel): Rewrote exception documentation.
4772 (force): Throws IOException, added documentation.
4773 (lock): New methods.
4774 (tryLock): New methods.
4775 (position): New methods.
4776 (transferTo): New method.
4777 (transferFrom): New method.
4778 (truncate): New method.
4779 * java/nio/channels/spi/SelectorProvider.java
4780 (provider): Implemented.
4781 * Makefile.am
4782 (ordinary_java_source_files): Added the following files:
4783 gnu/java/nio/DatagramChannelImpl.java
4784 gnu/java/nio/FileChannelImpl.java
4785 gnu/java/nio/PipeImpl.java
4786 gnu/java/nio/SelectionKeyImpl.java
4787 gnu/java/nio/SelectorImpl.java
4788 gnu/java/nio/SelectorProviderImpl.java
4789 gnu/java/nio/ServerSocketChannelImpl.java
4790 gnu/java/nio/SocketChannelImpl.java
4791 java/nio/channels/FileLock.java
4792 (nat_java_source_files): Added the following files:
4793 gnu/java/nio/natFileChannelImpl.cc
4794 gnu/java/nio/natSelectorImpl.cc
4795 gnu/java/nio/natSocketChannelImpl.cc
4796 * Makefile.in: Regenerated.
4797
4798 2003-02-17 Tom Tromey <tromey@redhat.com>
4799
4800 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4801 * java/awt/image/ImageFilter.java: Likewise.
4802
4803 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4804
4805 * java/math/BigInteger.java (euclidInv): Return array of
4806 `BigInteger's. Changed all callers.
4807
4808 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4809
4810 * java/util/Properties.java (store): Move the code formerly in
4811 list(), into this method.
4812 (list (PrintStream)): Just call list (PrintWriter) with a
4813 PrintWriter object constructed from the given PrintStream object.
4814 (list (PrintWriter)): Emulate the output of Properties.list()
4815 as found in JDK 1.3/1.4.
4816
4817 2003-02-17 Michael Koch <konqueror@gmx.de>
4818
4819 * java/net/DatagramSocket.java
4820 (connect): Merged with classpath.
4821 (disconnect): Merged documentation with classpath.
4822 (receice): Merged documentation with classpath.
4823 (send): Merged documentation with classpath.
4824
4825 2003-02-17 Michael Koch <konqueror@gmx.de>
4826
4827 * java/awt/dnd/DragSourceContext.java
4828 (addDragSourceListener): Added documentation.
4829 * java/awt/dnd/DragSourceDragEvent.java
4830 (serialVersionUID): New member variable.
4831 (getDropAction): Reformated.
4832 * java/awt/dnd/DragSourceDropEvent.java
4833 (serialVersionUID): New member variable.
4834 (dropSuccess): Renamed from success for serialization issues.
4835 * java/awt/dnd/DragSourceEvent.java
4836 (serialVersionUID): New member variable.
4837 * java/awt/dnd/DropTarget.java
4838 (serialVersionUID): New member variable.
4839 (DropTarget): Implemented, documentation reworked.
4840 (setComponent): Documentation added.
4841 (getComponent): Documentation added.
4842 (setDefaultActions): Documentation added.
4843 (getDefaultActions): Documentation added.
4844 (addDropTargetListener): Documentation added.
4845 * java/awt/dnd/DropTargetContext.java
4846 (DropTargetContext): Documentation added.
4847 (TransferableProxy.TransferableProxy): New method.
4848 (dropComplete): Fixed documentation.
4849 (getTransferable): Fixed documentation.
4850 (createTransferableProxy): Implemented.
4851 * java/awt/dnd/DropTargetDragEvent.java
4852 (DropTargetDragEvent): Documentation added.
4853 (serialVersionUID): New member variable.
4854 (DropTargetDragEvent): Throw exceptions, documentation added.
4855 (acceptDrag): Implemented.
4856 (getCurrentDataFlavors): Implemented.3yy
4857 (getCurrentDataFlavorsAsList): Implemented.
4858 (isDataFlavorSupported): Implemented.
4859 (rejectDrag): Implemented.
4860 * java/awt/dnd/DropTargetDropEvent.java
4861 (DropTargetDropEvent): Documentation added.
4862 (serialVersionUID): New member variable.
4863 (actions): Renamed from srcActions for serialization issues.
4864 (isLocalTx): Renamed from isLocalTx for serialization issues.
4865 (DropTargetDropEvent): New implementation, throw exceptions,
4866 documentation added.
4867 (getCurrentDataFlavors): Implemented.
4868 (getCurrentDataFlavorsAsList): Implemented.
4869 (isDataFlavorSupported): Implemented.
4870 (getSourceActions): Implemented.
4871 (getDropAction): Implemented.
4872 (getTransferable): Implemented.
4873 (acceptDrop): Implemented.
4874 (rejectDrop): Implemented.
4875 * java/awt/dnd/DropTargetListener.java
4876 (drop): Fixed documentation.
4877 * java/awt/dnd/MouseDragGestureRecognizer.java
4878 (MouseDragGestureRecognizer): Documentation added.
4879
4880 2003-02-17 Michael Koch <konqueror@gmx.de>
4881
4882 * java/awt/font/FontRenderContext.java,
4883 java/awt/font/ShapeGraphicAttribute.java,
4884 java/awt/font/MultipleMaster.java,
4885 java/awt/font/TransformAttribute.java,
4886 java/awt/font/GlyphJustificationInfo.java,
4887 java/awt/font/LineBreakMeasurer.java,
4888 java/awt/font/TextMeasurer.java,
4889 java/awt/font/TextLayout.java,
4890 java/awt/font/LineMetrics.java,
4891 java/awt/font/TextAttribute.java,
4892 java/awt/font/GlyphMetrics.java,
4893 java/awt/font/OpenType.java,
4894 java/awt/font/GlyphVector.java,
4895 java/awt/font/GraphicAttribute.java,
4896 java/awt/font/ImageGraphicAttribute.java,
4897 java/awt/font/NumericShaper.java: New files.
4898 * Makefile.am
4899 (awt_java_source_files): Added the following files:
4900 java/awt/font/FontRenderContext.java
4901 java/awt/font/ShapeGraphicAttribute.java
4902 java/awt/font/MultipleMaster.java
4903 java/awt/font/TransformAttribute.java
4904 java/awt/font/GlyphJustificationInfo.java
4905 java/awt/font/LineBreakMeasurer.java
4906 java/awt/font/TextMeasurer.java
4907 java/awt/font/TextLayout.java
4908 java/awt/font/LineMetrics.java
4909 java/awt/font/TextAttribute.java
4910 java/awt/font/GlyphMetrics.java
4911 java/awt/font/OpenType.java
4912 java/awt/font/GlyphVector.java
4913 java/awt/font/GraphicAttribute.java
4914 java/awt/font/ImageGraphicAttribute.java
4915 java/awt/font/NumericShaper.java
4916 * Makefile.in: Regenerated.
4917
4918 2003-02-17 Michael Koch <konqueror@gmx.de>
4919
4920 * java/awt/print/Paper.java
4921 (Paper): Implements Cloneable.
4922 * java/awt/print/PrinterJob.java
4923 (setJobName): Return value must be void.
4924 (print): Throws PrinterException.
4925
4926 2003-02-16 Tom Tromey <tromey@redhat.com>
4927
4928 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4929 variable.
4930
4931 2003-02-15 Michael Koch <konqueror@gmx.de>
4932
4933 * java/awt/datatransfer/DataFlavor.java
4934 (isRepresentationClassByteBuffer): Removed try-catch block.
4935 (isRepresentationClassCharBuffer): Removed try-catch block.
4936 (isRepresentationClassReader): Removed try-catch block.
4937
4938 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4939
4940 * java/nio/charset/Charset.java
4941 (isRegistered): Fixed method args and implementation.
4942 * java/nio/charset/CharsetEncoder.java
4943 (unmappableCharacterAction): New method.
4944
4945 2003-02-15 Michael Koch <konqueror@gmx.de>
4946
4947 * java/awt/CheckboxMenuItem.java
4948 (CheckBoxMenuItem): Dont implement Serializable.
4949 (getListeners): New method,
4950 (getItemListeners): New method.
4951 * java/awt/Choice.java
4952 (getListeners): New method,
4953 (getItemListeners): New method.
4954 * java/awt/Container.java
4955 (getListeners): Added exception documentation.
4956 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4957 (getFocusTraversalKeys): Added documentation.
4958 (areFocusTraversalKeysSet): Added documentation.
4959 (applyComponentOrientation): Added documentation.
4960 * java/awt/ContainerOrderFocusTraversalPolicy.java
4961 (implicitDownCycleTraversal): Renamed from downCycle for
4962 serialization.
4963 (ContainerOrderFocusTraversalPolicy): Added documentation.
4964 (accept): Reformated.
4965 * java/awt/Dialog.java
4966 (Dialog): Dont implement Serializable.
4967 (Dialog): Added documentation.
4968 * java/awt/Font.java
4969 (Font): Dont use absolute class name.
4970 * java/awt/Frame.java
4971 (Frame): Font implement Serializable.
4972 * java/awt/List.java
4973 (getListeners): New method,
4974 (getActionListeners): New method.
4975 (getItemListeners): New method.
4976 * java/awt/Menu.java
4977 (countItems): New deprecated method.
4978 * java/awt/Scrollbar.java
4979 (getListeners): New method,
4980 (getAdjustmentListeners): New method,
4981 * java/awt/TextComponent.java
4982 (getListeners): New method,
4983 (getTextListeners): New method,
4984 * java/awt/TextField.java
4985 (getListeners): New method,
4986 (getActionListeners): New method.
4987 * java/awt/Window.java
4988 (windowFocusListener): New member variable.
4989 (windowStateListener): New member variable.
4990 (getWindowFocusListeners): New method.
4991 (getWindowStateListeners): New method.
4992 (addWindowFocusListener): New method.
4993 (addWindowStateListener): New method.
4994 (removeWindowFocusListener): New method.
4995 (removeWindowStateListener): New method.
4996 * java/awt/datatransfer/DataFlavor.java
4997 (isRepresentationClassByteBuffer): New method.
4998 (isRepresentationClassCharBuffer): New method.
4999 (isRepresentationClassReader): New method.
5000
5001 2003-02-14 Mark Wielaard <mark@klomp.org>
5002
5003 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5004 zero when there is an exponent and the significant is zero.
5005 (divide): Always set scale to newScale even in special ZERO case.
5006
5007 2003-02-14 Tom Tromey <tromey@redhat.com>
5008
5009 * java/lang/System.java (properties): Use Properties.clone.
5010 (setProperties): Likewise.
5011
5012 2003-02-14 Michael Koch <konqueror@gmx.de>
5013
5014 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5015 * gnu/java/nio/ServerSocketChannelImpl.java
5016 (SocketAccept): Removed.
5017 (accept): Commented out use of SocketAccept.
5018
5019 2003-02-13 Tom Tromey <tromey@redhat.com>
5020
5021 * verify.cc (state::seen_subrs): New field.
5022 (state::state): Initialize it.
5023 (state::clean_subrs): New method.
5024 (state::~state): Call it.
5025 (state::copy): Copy subroutine list.
5026 (state::add_subr): New method.
5027 (state::merge): Only register a change if the current subroutine
5028 hasn't yet been noted.
5029
5030 2003-02-13 Mark Wielaard <mark@klomp.org>
5031
5032 * java/io/InputStreamReader.java (getEncoding): Return null when
5033 closed.
5034 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5035
5036 2003-02-13 Mark Wielaard <mark@klomp.org>
5037
5038 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5039 is zero.
5040
5041 2003-02-13 Mark Wielaard <mark@klomp.org>
5042
5043 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5044 next byte cannot be buffered.
5045
5046 2003-02-13 Michael Koch <konqueror@gmx.de>
5047
5048 * java/awt/Label.java
5049 (Label): Don't implement Serializable directly.
5050 (addNotify): Fixed typo in documentation.
5051 * java/awt/List.java
5052 (List): Don't implement Serializable directly.
5053 * java/awt/PopupMenu.java
5054 (PopupMenu): Don't implement Serializable directly.
5055 * java/awt/ScrollPane.java
5056 (ScrollPane): Don't implement Serializable directly.
5057 * java/awt/Scrollbar.java
5058 (Scrollbar): Don't implement Serializable directly.
5059 * java/awt/TextArea.java
5060 (preferredSize): Fixed method arguments.
5061 * java/awt/TextField.java
5062 (TextField): Don't implement Serializable directly.
5063 * java/awt/color/ICC_ColorSpace.java
5064 (fromCIOXYZ): Documentation added.
5065 (getMinValue): Documentation added.
5066 (getMaxValue): Documentation added.
5067 * java/awt/datatransfer/DataFlavor.java
5068 (isMimeTypeEqual): May not be final.
5069 (clone): Throws CloneNotSupportedException.
5070 (getReaderForText): Don't throws UnsupportedEncodingException.
5071
5072 2003-02-13 Michael Koch <konqueror@gmx.de>
5073
5074 * gnu/java/awt/peer/gtk/GdkGraphics.java
5075 (drawString): New stubbed method.
5076 * java/awt/Graphics.java
5077 (drawString): New method.
5078
5079 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5080
5081 PR libgcj/9271:
5082 * java/security/SecureRandom.java (next): Avoid bias in results.
5083
5084 2003-02-13 Michael <konqueror@gmx.de>
5085
5086 * gnu/java/nio/FileChannelImpl.java
5087 (lengthInternal): Must be native.
5088 (size): Check if channel is already closed.
5089 (implCloseChannel): Reformated.
5090 (read): w was unused, removed it.
5091 (read): Removed.
5092 (read): New method.
5093 (write): New method.
5094 (map): Check arguments.
5095 (force): Throws IOException, check if channel is closed.
5096 (transferTo): New method.
5097 (transferFrom): New method.
5098 (lock): New method.
5099 (tryLock): New method.
5100 (position): New method.
5101 (truncate): New method.
5102 (nio_mmap_file): Uncommented.
5103 (nio_munmap_file): Uncommented.
5104 (nio_msync): Uncommented.
5105 * gnu/java/nio/natFileChannelImpl.cc: New file.
5106
5107 2003-02-13 Michael Koch <konqueror@gmx.de>
5108
5109 * java/nio/ByteBuffer.java
5110 (endian): New member variable.
5111 (get): New methods.
5112 (equals): New method.
5113 (compareTo): New method.
5114 (order): New methods.
5115 (compact): New method.
5116 (isDirect): New method.
5117 (slice): New method.
5118 (duplicate): New method.
5119 (asReadOnlyBuffer): New method.
5120 (asCharBuffer): New method.
5121 (asDoubleBuffer): New method.
5122 (asFloatBuffer): New method.
5123 (asIntBuffer): New method.
5124 (asLongBuffer): New method.
5125 (asShortBuffer): New method.
5126 (get*): New methods.
5127 (put*): New methods.
5128 (toString): New method.
5129 * java/nio/CharBuffer.java
5130 (CharBuffer): Implement Comparable instead of Cloneable.
5131 (get): May not be final.
5132 (put): May not be final.
5133
5134 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5135
5136 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5137 lastIndexOf( ) instead of indexOf( ) to find the colon before
5138 the line number, because Win32 file names might contain a
5139 drive letter and a colon at the start of an absolute path.
5140
5141 2003-02-13 Michael Koch <konqueror@gmx.de>
5142
5143 * gnu/java/nio/natSocketChannelImpl.cc
5144 (SocketConnect): This is not implemented yet.
5145 (SocketBind): This is not implemented yet.
5146
5147 2003-02-13 Michael Koch <konqueror@gmx.de>
5148
5149 * gnu/java/nio/natByteBufferImpl.cc,
5150 gnu/java/nio/natCharBufferImpl.cc,
5151 gnu/java/nio/natDoubleBufferImpl.cc,
5152 gnu/java/nio/natFloatBufferImpl.cc,
5153 gnu/java/nio/natIntBufferImpl.cc,
5154 gnu/java/nio/natLongBufferImpl.cc,
5155 gnu/java/nio/natShortBufferImpl.cc:
5156 Added copyright and license.
5157 * java/nio/DoubleBuffer.java,
5158 java/nio/FloatBuffer.java,
5159 java/nio/IntBuffer.java,
5160 java/nio/LongBuffer.java,
5161 java/nio/ShortBuffer.java
5162 (array): Throw exceptions.
5163 (arrayOffset): Throw exceptions.
5164
5165 2003-02-13 Michael Koch <konqueror@gmx.de>
5166
5167 * gnu/java/util/prefs/FileBasedFactory.java,
5168 gnu/java/util/prefs/MemmoryBasedFactory.java,
5169 gnu/java/util/prefs/MemoryBasedPreferences.java,
5170 gnu/java/util/prefs/NodeReader.java,
5171 gnu/java/util/prefs/NodeWriter.java,
5172 java/util/prefs/AbstractPreferences.java,
5173 java/util/prefs/BackingStoreException.java,
5174 java/util/prefs/InvalidPreferencesFormatException.java,
5175 java/util/prefs/NodeChangeEvent.java,
5176 java/util/prefs/NodeChangeListener.java,
5177 java/util/prefs/PreferenceChangeEvent.java,
5178 java/util/prefs/PreferenceChangeListener.java,
5179 java/util/prefs/Preferences.java,
5180 java/util/prefs/PreferencesFactory.java:
5181 New files, all merged from classpath.
5182 * Makefile.am
5183 (ordinary_java_source_files): Added the following files:
5184 gnu/java/util/prefs/FileBasedFactory.java,
5185 gnu/java/util/prefs/MemmoryBasedFactory.java,
5186 gnu/java/util/prefs/MemoryBasedPreferences.java,
5187 gnu/java/util/prefs/NodeReader.java,
5188 gnu/java/util/prefs/NodeWriter.java,
5189 (core_java_source_files): Added the following files:
5190 java/util/prefs/AbstractPreferences.java,
5191 java/util/prefs/BackingStoreException.java,
5192 java/util/prefs/InvalidPreferencesFormatException.java,
5193 java/util/prefs/NodeChangeEvent.java,
5194 java/util/prefs/NodeChangeListener.java,
5195 java/util/prefs/PreferenceChangeEvent.java,
5196 java/util/prefs/PreferenceChangeListener.java,
5197 java/util/prefs/Preferences.java,
5198 java/util/prefs/PreferencesFactory.java
5199 * Makefile.in: Regenerated.
5200
5201 2003-02-13 Michael Koch <konqueror@gmx.de>
5202
5203 * java/net/NetPermission.java
5204 (NetPermission): Make doucmentation match the method declaration.
5205 * java/net/NetworkInterface.java
5206 (equals): Reformated for GNU coding style.
5207 * java/net/ServerSocket.java: Merged with classpath.
5208 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5209 * java/net/SocketImpl.java
5210 (localPort): Merged with classpath (initialize with -1).
5211 * java/net/SocketPermission.java: Merged with classpath (reindented).
5212 * java/net/URLDecoder.java: Merged with classpath (reindented).
5213
5214 2003-02-13 Michael Koch <konqueror@gmx.de>
5215
5216 * java/awt/GridBagConstraints.java
5217 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5218 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5219 * java/awt/KeyboardFocusManager.java
5220 (setGlobalCurrentFocusCycleRoot): Must be public.
5221 * java/awt/MenuComponent.java
5222 (MenuComponent): Must be public.
5223 * java/awt/Toolkit.java:
5224 Added some empty lines to make documentation more readable.
5225 (getFontPeer): Added @deprecated.
5226 (getColorModel): Added exception documentation.
5227 (getProperty): Fixed documentation.
5228
5229 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5230
5231 * configure.host (alpha*-*): Default to -mieee.
5232 * configure.in (IEEESPEC): New.
5233 * libgcj.spec.in (jc1): Add IEEESPEC.
5234 * configure: Rebuild.
5235
5236 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5237
5238 * include/win32.h: Include ws2tcpip.h instead of
5239 winsock.h to obtain definition of the socklen_t type.
5240 Remove IP_TOS definition - not needed with ws2tcpip.h
5241 (_Jv_connect): Correct slight formatting error.
5242
5243 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5244
5245 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5246 size of the arguments for a JNI function. For Win32,
5247 modify to search for all forms of possible exported
5248 names of an stdcall JNI function.
5249 (_Jv_JNIMethod::call): Modify to calculate the size
5250 of the arguments passed to a JNI function and pass
5251 it to _Jv_LookupJNIMethod.
5252
5253 2003-02-12 Michael Koch <konqueror@gmx.de>
5254
5255 * java/nio/channels/Channels.java: New file.
5256 * Makefile.am
5257 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5258 * Makefile.in: Regenerated.
5259
5260 2003-02-12 Michael Koch <konqueror@gmx.de>
5261
5262 * java/nio/ByteBuffer.java
5263 (allocate): Implemented.
5264 (wrap): Implemented.
5265 * java/nio/CharBuffer.java:
5266 Some documentation added and reworked.
5267 (endian): Removed.
5268 (allocate): Implemented.
5269 (wrap): Implemented.
5270 (array): Throw exceptions.
5271 (arrayOffset): Throw exceptions.
5272 (toString): Implemented.
5273 (length): Implemented.
5274 (put): Implemented.
5275 (charAt): Implemented.
5276
5277 2003-02-11 John Leuner <jewel@debian.org>
5278
5279 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5280 reads from end of file.
5281
5282 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5283
5284 * java/io/natFileDescriptorWin32.cc
5285 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5286 returns with Win32 error code ERROR_BROKEN_PIPE.
5287
5288 2003-02-11 Michael Koch <konqueror@gmx.de>
5289
5290 * Makefile.in
5291 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5292
5293 2003-02-11 Michael Koch <konqueror@gmx.de>
5294
5295 * gnu/java/nio/ByteBufferImpl.java:
5296 Reformated and removed some code.
5297 (backing_buffer): Removed.
5298 (array_offset): Removed.
5299 (ro): Renamed to readOnly.
5300 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5301 * gnu/java/nio/CharBufferImpl.java:
5302 Reformated and removed some code.
5303 (array_offset): Removed.
5304 (ro): Renamed to readOnly.
5305 (CharBufferImpl): Use parent constructor, initialize readOnly.
5306 (inc_pos): Removed.
5307 (order): New method.
5308 * gnu/java/nio/DoubleBufferImpl.java:
5309 Reformated and removed some code.
5310 (array_offset): Removed.
5311 (ro): Renamed to readOnly.
5312 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5313 (inc_pos): Removed.
5314 (order): New method.
5315 * gnu/java/nio/FloatBufferImpl.java:
5316 Reformated and removed some code.
5317 (array_offset): Removed.
5318 (ro): Renamed to readOnly.
5319 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5320 (inc_pos): Removed.
5321 (order): New method.
5322 * gnu/java/nio/IntBufferImpl.java:
5323 Reformated and removed some code.
5324 (array_offset): Removed.
5325 (ro): Renamed to readOnly.
5326 (IntBufferImpl): Use parent constructor, initialize readOnly.
5327 (inc_pos): Removed.
5328 (order): New method.
5329 * gnu/java/nio/LongBufferImpl.java:
5330 Reformated and removed some code.
5331 (array_offset): Removed.
5332 (ro): Renamed to readOnly.
5333 (LongBufferImpl): Use parent constructor, initialize readOnly.
5334 (inc_pos): Removed.
5335 (order): New method.
5336 * gnu/java/nio/ShortBufferImpl.java:
5337 Reformated and removed some code.
5338 (array_offset): Removed.
5339 (ro): Renamed to readOnly.
5340 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5341 (inc_pos): Removed.
5342 (order): New method.
5343 * Makefile.am
5344 (ordinary_java_source_files): Added the following files:
5345 gnu/java/nio/ByteBufferImpl.java
5346 gnu/java/nio/CharBufferImpl.java
5347 gnu/java/nio/DoubleBufferImpl.java
5348 gnu/java/nio/FloatBufferImpl.java
5349 gnu/java/nio/IntBufferImpl.java
5350 gnu/java/nio/LongBufferImpl.java
5351 gnu/java/nio/ShortBufferImpl.java
5352 java/nio/DoubleBuffer.java
5353 java/nio/FloatBuffer.java
5354 java/nio/IntBuffer.java
5355 java/nio/LongBuffer.java
5356 java/nio/ShortBuffer.java
5357 (nat_source_files): Added the following files:
5358 gnu/java/nio/natByteBufferImpl.cc
5359 gnu/java/nio/natCharBufferImpl.cc
5360 gnu/java/nio/natDoubleBufferImpl.cc
5361 gnu/java/nio/natFloatBufferImpl.cc
5362 gnu/java/nio/natIntBufferImpl.cc
5363 gnu/java/nio/natLongBufferImpl.cc
5364 gnu/java/nio/natShortBufferImpl.cc
5365 * Makefile.in: Regenerated.
5366
5367 2003-02-11 Michael Koch <konqueror@gmx.de>
5368
5369 * gnu/java/nio/natCharBufferImpl.cc
5370 (nio_cast): Removed.
5371 (nio_put_*): Removed.
5372 (nio_get_*): Removed.
5373 * gnu/java/nio/natDoubleBufferImpl.cc
5374 (nio_cast): Removed.
5375 (nio_put_*): Removed.
5376 (nio_get_*): Removed.
5377 * gnu/java/nio/natFloatBufferImpl.cc
5378 (nio_cast): Removed.
5379 (nio_put_*): Removed.
5380 (nio_get_*): Removed.
5381 * gnu/java/nio/natIntBufferImpl.cc
5382 (nio_cast): Removed.
5383 (nio_put_*): Removed.
5384 (nio_get_*): Removed.
5385 * gnu/java/nio/natLongBufferImpl.cc
5386 (nio_cast): Removed.
5387 (nio_put_*): Removed.
5388 (nio_get_*): Removed.
5389 * gnu/java/nio/natShortBufferImpl.cc
5390 (nio_cast): Removed.
5391 (nio_put_*): Removed.
5392 (nio_get_*): Removed.
5393 * gnu/java/nio/SelectorProviderImpl.java
5394 (openDatagramChannel): Throws IOException.
5395 (openPipe): Throws IOException.
5396 (openSelector): Throws IOException.
5397 (openServerSocketChannel): Throws IOException.
5398 (openSocketChannel): Throws IOException.
5399 * gnu/java/nio/ServerSocketChannelImpl.java
5400 (ServerSocketChannelImpl): Throws IOException.
5401 (implCloseSelectableChannel): Throws IOException.
5402 (implConfigureBlocking): Throws IOException.
5403 * java/nio/ByteBuffer.java
5404 (readOnly): Removed.
5405 (hasArray): Use isReadOnly() instead of readOnly.
5406 (array): Use isReadOnly() instead of readOnly.
5407 (arrayOffset): Use isReadOnly() instead of readOnly.
5408 * java/nio/CharBuffer.java
5409 (CharBuffer): Implements Cloneable and CharSequence.
5410
5411 2003-02-11 Michael Koch <konqueror@gmx.de>
5412
5413 * java/nio/DoubleBuffer.java
5414 (DoubleBuffer): Implements Comparable.
5415 (endian): Removed.
5416 (array_offset): New member variable.
5417 (DoubleBuffer): New constuctor.
5418 (get): May not be final.
5419 (put): May not be final.
5420 (arrayOffset): Implemented.
5421 (order): Made abstract.
5422 (order): Removed.
5423 (as*Buffer): Removed.
5424 (get*): Removed.
5425 (put*): Removed.
5426 * java/nio/FloatBuffer.java
5427 (FloatBuffer): Implements Comparable.
5428 (endian): Removed.
5429 (array_offset): New member variable.
5430 (FloatBuffer): New constuctor.
5431 (get): May not be final.
5432 (put): May not be final.
5433 (arrayOffset): Implemented.
5434 (order): Made abstract.
5435 (order): Removed.
5436 (as*Buffer): Removed.
5437 (get*): Removed.
5438 (put*): Removed.
5439 * java/nio/IntBuffer.java
5440 (IntBuffer): Implements Comparable.
5441 (endian): Removed.
5442 (array_offset): New member variable.
5443 (IntBuffer): New constuctor.
5444 (get): May not be final.
5445 (put): May not be final.
5446 (arrayOffset): Implemented.
5447 (order): Made abstract.
5448 (order): Removed.
5449 (as*Buffer): Removed.
5450 (get*): Removed.
5451 (put*): Removed.
5452 * java/nio/LongBuffer.java
5453 (LongBuffer): Implements Comparable.
5454 (endian): Removed.
5455 (array_offset): New member variable.
5456 (LongBuffer): New constuctor.
5457 (get): May not be final.
5458 (put): May not be final.
5459 (arrayOffset): Implemented.
5460 (order): Made abstract.
5461 (order): Removed.
5462 (as*Buffer): Removed.
5463 (get*): Removed.
5464 (put*): Removed.
5465 * java/nio/ShortBuffer.java
5466 (ShortBuffer): Implements Comparable.
5467 (endian): Removed.
5468 (array_offset): New member variable.
5469 (ShortBuffer): New constuctor.
5470 (get): May not be final.
5471 (put): May not be final.
5472 (arrayOffset): Implemented.
5473 (order): Made abstract.
5474 (order): Removed.
5475 (as*Buffer): Removed.
5476 (get*): Removed.
5477 (put*): Removed.
5478
5479 2003-02-11 Michael Koch <konqueror@gmx.de>
5480
5481 * java/nio/channels/SelectionKey.java
5482 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5483 values.
5484
5485 2003-02-11 Michael Koch <konqueror@gmx.de>
5486
5487 * java/nio/channels/DatagramChannel.java
5488 (write): Throws IOException.
5489 (connect): Throws IOException.
5490 (disconnect): Throws IOException.
5491 (read): Throws IOException.
5492 (receive): Throws IOException.
5493 (send): Throws IOException.
5494 * java/nio/channels/Pipe.java
5495 (open): Throws IOException.
5496 * java/nio/channels/SelectableChannel.java
5497 (configureBlocking): Throws IOException.
5498 * java/nio/channels/ServerSocketChannel.java
5499 (accept): Throws IOException.
5500 * java/nio/channels/SocketChannel.java
5501 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5502 GatheringByteChannel.
5503 (read): Throws IOException.
5504 (write): Throws IOException.
5505 (finishConnect): Throws IOException.
5506 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5507 (end): Throws AsynchronousCloseException.
5508 * java/nio/channels/spi/AbstractSelectableChannel.java
5509 (configureBlocking): Throws IOException.
5510 (implCloseChannel): Throws IOException.
5511 (implCloseSelectableChannel): Throws IOException.
5512 (implConfigureBlocking): Throws IOException.
5513 * java/nio/channels/spi/SelectorProvider.java
5514 (openDatagramChannel): Throws IOException.
5515 (openPipe): Throws IOException.
5516 (openSelector): Throws IOException.
5517 (openServerSocketChannel): Throws IOException.
5518 (openSocketChannel): Throws IOException.
5519
5520 2003-02-11 Michael Koch <konqueror@gmx.de>
5521
5522 * gnu/java/nio/FileLockImpl.java,
5523 java/nio/channels/FileLock.java: New files.
5524
5525 2003-02-11 Michael Koch <konqueror@gmx.de>
5526
5527 * java/nio/charset/IllegalCharsetNameException.java
5528 (serialVersionUID): New member variable.
5529 (charsetName): New member variable.
5530 (IllegalCharsetException): New implementation.
5531 (getCharsetName): New implementation.
5532 * java/nio/charset/UnsupportedCharsetException.java
5533 (serialVersionUID): New member variable.
5534 (charsetName): New member variable.
5535 (UnsupportedCharsetException): New implementation.
5536 (getCharsetName): New implementation.
5537
5538 2003-02-10 Tom Tromey <tromey@redhat.com>
5539
5540 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5541 (ex): Renamed from sqlException.
5542
5543 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5544
5545 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5546 method used to ensure seeding has occurred and that a specific
5547 seed can be set and used.
5548
5549 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5550
5551 * java/lang/Win32Process.java (destroy): Declare as native.
5552 (hasExited): New native method.
5553 (exitValue): Define.
5554 (getErrorStream): Likewise.
5555 (getInputStream): Likewise.
5556 (getOutputStream): Likewise.
5557 (waitFor): Declare as native.
5558 (startProcess): New native method.
5559 (cleanup): Likewise.
5560 (ConcreteProcess): Define.
5561 (outputStream, inputStream, errorStream): New members.
5562 (procHandle, exitCode): Likewise.
5563
5564 * java/lang/natWin32Process.cc
5565 (java::lang::ConcreteProcess::cleanup): Define.
5566 (java::lang::ConcreteProcess::destroy): Likewise.
5567 (java::lang::ConcreteProcess::hasExited): Likewise.
5568 (java::lang::ConcreteProcess::waitFor): Likewise.
5569 (new_string): Likewise.
5570 (java::lang::ConcreteProcess::startProcess): Likewise.
5571
5572 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5573
5574 * java/math/BigInteger.java:
5575 Updated notice to include years 2002 and 3.
5576 Added 2 private (int) arrays with values from the HAC (Handbook of
5577 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5578 and t[] that contains nbr. of tests --used in isProbablePrime().
5579
5580 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5581
5582 * java/math/BigInteger.java (make(int[],int), add(int,int),
5583 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5584 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5585 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5586 make(long).
5587
5588 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5589 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5590 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5591 BIs and returns void.
5592 (modInverse(BI)): Use new signatures of euclidInv().
5593
5594 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5595 static small primes instead of remainder().
5596 Use pre-computed max nbr of trials based on bitlength of BI to test.
5597 Use pre-computed small primes for the trial tests instead of random
5598 numbers.
5599
5600 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5601 not used.
5602
5603 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5604 invoacation of MPN.chars_per_word(). not used.
5605
5606 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5607 local var and used where needed.
5608
5609 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5610 Combined declaration with initialisation of locals.
5611 Removed unused var.
5612
5613 * java/math/BigInteger.java: Style changes
5614 (pow(int)): Removed 'else' keyword.
5615 (toString(int)): idem.
5616 (doubleValue()): idem.
5617 (bitLength()): idem.
5618 (equals(Object)): Use static methods name in same class w/o prepending
5619 class name.
5620 (doubleValue()): idem.
5621 (setNegative(BI)): idem.
5622 (negate()): idem.
5623 (and(BI,int)): idem.
5624 (and(BI)): idem.
5625 (gcd(BI)): idem.
5626 (byteArrayToIntArray()): Removed casting to (int). this is
5627 std. behaviour.
5628 (canonicalize()): idem.
5629 (alloc(int)): Always instantiate a new BI.
5630
5631 2003-02-10 Tom Tromey <tromey@redhat.com>
5632
5633 * java/sql/Timestamp.java (compareTo(Object)): New method.
5634 (compareTo(Timestamp)): Likewise.
5635 (serialVersionUID): Updated.
5636
5637 2003-02-07 Mark Wielaard <mark@klomp.org>
5638
5639 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5640 when verify is true.
5641 (JarFile(File, boolean)): Likewise.
5642 (manifestRead): Set manifestRead field correctly.
5643
5644 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5645
5646 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5647 tests; see patch #1016 on Savannah.
5648
5649 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5650
5651 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5652 (toString): do not return Strings starting with . and - erroneously.
5653 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5654 DiagBigDecimal.
5655
5656 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5657
5658 * java/beans/PropertyDescriptor.java
5659 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5660 methods.
5661 (PropertyDescriptor(String, Class, String, String)): Likewise.
5662 (PropertyDescriptor(String, Method, Method): Factor out getter and
5663 setter method sanity checks into new method.
5664 (findMethods): Don't do parameter sanity checking of get method here.
5665 (checkMethods): New method.
5666
5667 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5668
5669 * java/beans/PropertyDescriptor.java: Reformat.
5670
5671 2003-02-04 Tom Tromey <tromey@redhat.com>
5672
5673 * java/io/PipedOutputStream.java (flush): Declare as throwing
5674 IOException.
5675 (close): Likewise.
5676 * java/io/PipedWriter.java (close): Declare as throwing
5677 IOException.
5678 * java/io/StringWriter.java (close): Declare as throwing
5679 IOException.
5680
5681 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5682
5683 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5684 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5685 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5686 "_JNI_OnLoad@8" (MSVC).
5687
5688 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5689
5690 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5691 convention on Win32 to invoke native JNI methods.
5692
5693 2003-02-03 Andrew Haley <aph@redhat.com>
5694
5695 * configure.host (x86_64): Enable interpreter.
5696
5697 2003-02-03 Andrew Haley <aph@redhat.com>
5698
5699 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5700 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5701 * configure.in (BACKTRACESPEC): New.
5702 * configure: Regenerate.
5703
5704 2003-02-02 Tom Tromey <tromey@redhat.com>
5705
5706 * configure: Rebuilt.
5707 * configure.in (TOOLKIT) [xlib]: Set correctly.
5708
5709 * Makefile.in: Rebuilt.
5710 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5711 libstdc++.
5712
5713 2003-01-31 Mark WIelaard <mark@klomp.org>
5714
5715 * Makefile.in: Rebuilt.
5716 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5717
5718 2003-01-31 Tom Tromey <tromey@redhat.com>
5719
5720 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5721 cast to element type.
5722 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5723 (_Jv_JNI_GetObjectArrayElement): Likewise.
5724
5725 * Makefile.in: Rebuilt.
5726 * Makefile.am (cond_x_ltlibrary): Renamed library to
5727 lib-gnu-awt-xlib.la.
5728 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5729 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5730 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5731 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5732 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5733 (lib_gnu_awt_xlib_la_LINK): Likewise.
5734 (install-exec-hook): Removed.
5735 (lib-gnu-awt-xlib.la): Renamed.
5736
5737 2003-01-31 Tom Tromey <tromey@redhat.com>
5738
5739 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5740 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5741 aclocal.m4 and lost in some merge.
5742
5743 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5744 Don't try to find graphics configuration.
5745 * java/awt/Toolkit.java (default_toolkit_name): Use new
5746 Configuration entry.
5747 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5748 New global.
5749 * configure: Rebuilt.
5750 * configure.in (TOOLKIT): New subst.
5751 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5752 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5753 directory. Make output directories for .c files.
5754 * Makefile.in: Rebuilt.
5755 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5756 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5757 (all_java_source_files): Added new sources.
5758 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5759 (gtk_c_files): New macro.
5760 (gtk_c_source_files): New macro.
5761 (cond_gtk_ltlibrary): New macro.
5762 ($(gtk_c_files)): New target.
5763 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5764 (gtk_awt_peer_sources): New macro.
5765 (gtk_c_headers): New macro.
5766 ($(gtk_c_headers)): New target.
5767 (ACLOCAL_AMFLAGS): New macro.
5768 * gtk.m4, glib.m4, libart.m4: New files.
5769 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5770 gnu/java/awt/peer/gtk/GdkGraphics.java,
5771 gnu/java/awt/peer/gtk/GtkArg.java,
5772 gnu/java/awt/peer/gtk/GtkArgList.java,
5773 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5774 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5775 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5776 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5777 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5778 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5779 gnu/java/awt/peer/gtk/GtkClipboard.java,
5780 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5781 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5782 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5783 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5784 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5785 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5786 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5787 gnu/java/awt/peer/gtk/GtkImage.java,
5788 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5789 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5790 gnu/java/awt/peer/gtk/GtkListPeer.java,
5791 gnu/java/awt/peer/gtk/GtkMainThread.java,
5792 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5793 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5794 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5795 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5796 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5797 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5798 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5799 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5800 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5801 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5802 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5803 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5804 gnu/java/awt/peer/gtk/GtkToolkit.java,
5805 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5806 gnu/java/awt/peer/gtk/TestAWT.java,
5807 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5808 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5809 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5810 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5811 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5812 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5813 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5814 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5815 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5816 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5817 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5818 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5819 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5820 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5821 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5822 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5823 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5824 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5825 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5826 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5827 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5828 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5829 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5830 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5831 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5832 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5833 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5834 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5835 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5836 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5837 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5838 jni/classpath/native_state.c, jni/classpath/native_state.h,
5839 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5840
5841 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5842
5843 * java/util/Properties.java (load): Ignore backslash before EOF.
5844
5845 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5846
5847 * java/lang/natClass.cc (initializeClass): Check tables when
5848 (state == JV_STATE_IN_PROGRESS).
5849 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5850 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5851 interpreted classes.
5852 (linkClass0): Use _Jv_WaitForState.
5853
5854 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5855
5856 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5857 object when finished.
5858
5859 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5860
5861 * libjava/configure.host: Disable can_unwind_signal on darwin.
5862
5863 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5864
5865 Fixes PR java/9254:
5866 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5867 additionally containing id of the owner thread as well as
5868 the number of nested times the thread has acquired the mutex.
5869 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5870 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5871 (_Jv_MutexUnlock): Check if really the owner thread, reset
5872 owner thread id to 0 before leaving, if leaving for the last
5873 time.
5874 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5875 refcount.
5876 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5877 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5878 the passed mutex.
5879 Pass handle of the broadcast event, instead of a pointer to it
5880 in Win32 ResetEvent( ) call.
5881 Remove incorrect return values.
5882 (_Jv_CondDestroy): Close both event handles and delete
5883 critical section.
5884 (_Jv_CondNotify): Check if really the owner thread.
5885 (_Jv_CondNotifyAll): Check if really the owner thread.
5886 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5887 (really_start): Use SetEvent( ) to signal daemon_cond.
5888 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5889 WaitForSingleObject( ) instead to wait for daemon_cond to be
5890 signalled.
5891
5892 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5893
5894 * configure.in: Specifically define HAVE_BACKTRACE if building
5895 for MinGW.
5896 * include/win32.h: Remove HAVE_BACKTRACE definition.
5897 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5898 * configure: Rebuilt.
5899
5900 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5901
5902 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5903 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5904 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5905 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5906 * Makefile.in, configure: Rebuilt.
5907
5908 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5909
5910 Fixes PR java/9253:
5911 * java/io/natFileWin32.cc (performList): Append only "*.*"
5912 if the canonical file path already has a "\" at the end.
5913
5914 2003-01-24 Tom Tromey <tromey@redhat.com>
5915
5916 * defineclass.cc (handleMethodsEnd): Precompute code for static
5917 method.
5918 (handleCodeAttribute): Likewise.
5919 * resolve.cc (ncode): Use run_class for unsynchronized static
5920 methods.
5921 * include/java-interp.h (class _Jv_InterpMethod): Declare
5922 run_class.
5923 * interpret.cc (run_synch_class): Initialize class.
5924 (run) [insn_invokestatic]: Don't initialize class.
5925 [insn_anewarray]: Likewise.
5926 [insn_multianewarray]: Likewise.
5927 (run_class): New function.
5928
5929 2003-01-24 Tom Tromey <tromey@redhat.com>
5930
5931 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5932 comment.
5933
5934 2003-01-22 Andrew Haley <aph@redhat.com>
5935
5936 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5937 * configure.host (CHECKREFSPEC): Define for x86_64.
5938
5939 2003-01-21 Tom Tromey <tromey@redhat.com>
5940
5941 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5942 search at 2, not 3.
5943
5944 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5945
5946 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5947 looking at any characters.
5948 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5949 be used.
5950 (isAbsolute): Check path's length as well.
5951
5952 2003-01-17 Mark Wielaard <mark@klomp.org>
5953
5954 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5955 (nat_source_files): Add natVMObjectStreamClass.cc.
5956 * Makefile.in: Regenerated.
5957 * gcj/javaprims.h (namespace java): Regenerated.
5958 * java/io/ObjectStreamClass.java (getClassUID): Call
5959 VMObjectStreamClass.hasClassInitializer().
5960 (hasClassInitializer): Removed.
5961 * java/io/VMObjectStreamClass.java: New class.
5962 * java/io/natVMObjectStreamClass.cc: New file.
5963 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5964
5965 2003-01-16 Mark Wielaard <mark@klomp.org>
5966
5967 * java/net/SocketImpl.java (toString): Don't explicitly call
5968 toString() on possible null address.
5969
5970 2003-01-16 Michael Koch <konqueror@gmx.de>
5971
5972 * java/net/MulticastSocket.java
5973 (setInterface): Reindented.
5974
5975 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5976
5977 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5978 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5979 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5980 translateY arguments. Implement.
5981 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5982 down translation arguments.
5983 (drawPolyline, drawPolygon): Fix incorrect tests.
5984 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5985 translateX and translateY arguments.
5986
5987 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5988
5989 * Makefile.in: Rebuilt.
5990 * Makefile.am (xlib_includes): New macro.
5991 (INCLUDES): Use it.
5992
5993 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5994
5995 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5996 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5997 16-bit display mode.
5998
5999 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6000
6001 * java/awt/CardLayout.java (show): Rewrote.
6002 (gotoComponent): Removed `target' argument. Simplified code.
6003 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6004 Changed all callers.
6005 (NONE): Removed.
6006
6007 2003-01-14 Michael Koch <konqueror@gmx.de>
6008
6009 * java/net/InetSocketAddress.java
6010 (serialVersionUID): New member variable.
6011 * java/net/NetPermission.java
6012 (NetPermission): Dont implement java.io.Serialization directly.
6013 * java/net/SocketAddress.java:
6014 (serialVersionUID): Documentation added.
6015
6016 2003-01-14 Michael Koch <konqueror@gmx.de>
6017
6018 * java/awt/Label.java
6019 (Label): Implements javax.accessibility.Accessible;
6020 * java/awt/List.java
6021 (List): Implements javax.accessibility.Accessible;
6022 * java/awt/ScrollPane.java
6023 (ScrollPane): Implements javax.accessibility.Accessible;
6024 * java/awt/Scrollbar.java
6025 (Scrollbar): Implements javax.accessibility.Accessible;
6026 * java/awt/TextComponent.java
6027 (setCaretPosition): Throw exception, documentation added.
6028 * java/awt/Toolkit.java:
6029 Added some newlines in method documentations.
6030 (createButton): Exception documentation added.
6031 (createTextField): Exception documentation added.
6032 (createLabel): Exception documentation added.
6033 (createList): Exception documentation added.
6034 (createCheckbox): Exception documentation added.
6035 (createScrollbar): Exception documentation added.
6036 (createScrollPane): Exception documentation added.
6037 (createTextArea): Exception documentation added.
6038 (createChoice): Exception documentation added.
6039 (createFrame): Exception documentation added.
6040 (createWindow): Exception documentation added.
6041 (createDialog): Exception documentation added.
6042 (createMenuBar): Exception documentation added.
6043 (createMenu): Exception documentation added.
6044 (createMenuItem): Exception documentation added.
6045 (createFileDialog): Exception documentation added.
6046 (createCheckboxMenuItem): Exception documentation added.
6047 (loadSystemColors): Exception documentation added.
6048 (setDynamicLayout): Exception documentation added.
6049 (isDynamicLayoutSet): Exception documentation added.
6050 (isDynamicLayoutActive): Exception documentation added.
6051 (getScreenSize): Exception documentation added.
6052 (getScreenResolution): Exception documentation added.
6053 (getScreenInsets): Exception documentation added.
6054 (getColorModel): Exception documentation added.
6055 (getSystemClipboard): Exception documentation added.
6056 (getSystemSelection): Exception documentation added.
6057 (getMenuShortcutKeyMask): Exception documentation added.
6058 (getSystemEventQueue): Exception documentation added.
6059 * java/awt/Window.java:
6060 Reindented some code.
6061 (Window): Centralized implementation, documentation added.
6062 (finalize): Documentation added.
6063 (hide): Fixed typo in comment.
6064 (getWindowListeners): Documentation added.
6065 * java/awt/color/ColorSpace.java
6066 (toRGB): Documentation added.
6067 * java/awt/color/ICC_ColorSpace.java
6068 (ICC_ColorSpace): Documentation added.
6069 (toRGB): Throw exception, documentation added.
6070 (fromRGB): Throw exception, documentation added.
6071 (toCIEXYZ): Documentation added.
6072 (fromCIEXYZ): Documentation added.
6073 (getMinValue): Documentation added.
6074 (getMaxValue): Documentation added.
6075 * java/awt/geom/Dimension2D.java
6076 (clone): Documentation added.
6077 * java/awt/geom/GeneralPath.java
6078 (clone): Documentation added.
6079 * java/awt/geom/Line2D.java
6080 (clone): Documentation added.
6081 * java/awt/geom/QuadCurve2D.java
6082 (clone): Documentation added.
6083 * java/awt/image/ColorModel.java
6084 (ColorModel): Throw exception, documentation added.
6085 * java/awt/image/ImageFilter.java
6086 (clone): Doesnt throw CloneNotSupportedException.
6087
6088 2003-01-14 Andrew Haley <aph@redhat.com>
6089
6090 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6091 in a try block.
6092
6093 2003-01-10 Andrew Haley <aph@redhat.com>
6094
6095 * include/dwarf2-signal.h: Remove x86_64.
6096 * configure.host (x86_64 DIVIDESPEC): Remove.
6097 * include/x86_64-signal.h: New file.
6098 * configure.in: Regenerate.
6099
6100 2003-01-10 Michael Koch <konqueror@gmx.de>
6101
6102 * java/net/DatagramSocket.java
6103 (ch): Description added.
6104 (remotePort): Initialize with -1.
6105 (connect): Doesnt throws SocketException.
6106 * java/net/MulticastSocket.java
6107 (setInterface): Merge with Classpath.
6108 * java/net/ServerSocket.java
6109 (closed): New member variable.
6110 (bind): Check if socket is closed.
6111 (close): Close an associated channel too, set new value to closed.
6112 (isBound): Reindented.
6113 (isClosed): Implemented.
6114 * java/net/Socket.java
6115 (closed): New member variable.
6116 (bind): Check if socket is closed.
6117 (connect): Check if socket is closed.
6118 (close): Close an associated channel too, set new value to closed.
6119 (isClosed): Implemented.
6120
6121 2003-01-10 Michael Koch <konqueror@gmx.de>
6122
6123 * java/awt/DisplayMode.java
6124 (equals): Fixed argument type and implementation.
6125
6126 2003-01-07 Tom Tromey <tromey@redhat.com>
6127
6128 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6129 JV_HASH_SYNCHRONIZATION.
6130 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6131 JV_HASH_SYNCHRONIZATION.
6132
6133 2003-01-07 Michael Koch <konqueror@gmx.de>
6134
6135 * java/net/DatagramSocket.java:
6136 Added classpath license info.
6137 (DatagramSocket): Merged description with classpath.
6138 (close): Merged description with classpath.
6139 (getChannel): Merged description with classpath.
6140 (getInetAddress): Merged description with classpath.
6141 (getPort): Merged description with classpath.
6142 (getLocalAddress): Merged description with classpath.
6143 (getLocalPort): Merged description with classpath.
6144 (getSoTimeout): Merged description with classpath.
6145 (setSoTimeout): Merged description with classpath.
6146 (getSendBufferSize): Merged description with classpath.
6147 (setSendBufferSize): Merged description with classpath.
6148 (getReceiveBufferSize): Merged description with classpath.
6149 (setReceiveBufferSize): Merged description with classpath.
6150
6151 2003-01-04 Tom Tromey <tromey@redhat.com>
6152
6153 * java/awt/List.java: Merged with Classpath.
6154
6155 2003-01-03 Mark Wielaard <mark@klomp.org>
6156
6157 * java/io/FileDescriptor.java (position): New private field.
6158 * java/io/natFileDescriptorPosix.cc (write): Up position.
6159 (setLength): Use and set position.
6160 (seek): Set position.
6161 (getFilePointer): Return position.
6162 (read): Up position.
6163
6164 2003-01-03 Mark Wielaard <mark@klomp.org>
6165
6166 Merge with Classpath:
6167 * java/io/ObjectStreamClass.java (lookup): Split method and call
6168 lookupForClassObject().
6169 (lookupForClassObject): New method.
6170 (isProxyClass): New field.
6171 (setClass): Set isProxyClass, add object to classLookupTable, set
6172 superClass and calculateOffsets.
6173 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6174 and not a proxy class.
6175 (setFields): Set accessible true for serialPersistentFields.
6176 (getClassUID): Same for suid. And check if suid is of type long.
6177 (hasClassInitializer): Don't throw NoSuchMethodError.
6178
6179 2003-01-03 Mark Wielaard <mark@klomp.org>
6180
6181 * java/io/FileInputStream.java (finalize): Don't explicitly
6182 finalize FileDescriptor.
6183
6184 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6185
6186 * configure.host (sparc*-*): Enable bytecode interpreter.
6187
6188 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6189
6190 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6191 Don't throw RemoteException.
6192 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6193 throw RemoteException.
6194
6195 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6196
6197 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6198 proxyHost): New static fields.
6199 (<clinit>): Initialize new fields.
6200 (connect): Use proxy if necessary.
6201 (usingProxy): Implement.
6202
6203 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6204
6205 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6206 (TreeIterator.remove): Prefer IllegalStateException over
6207 ConcurrentModificationException, to match Sun.
6208
6209 2002-12-22 Anthony Green <green@redhat.com>
6210
6211 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6212
6213 2003-01-02 Mark Wielaard <mark@klomp.org>
6214
6215 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6216 public.
6217 (HTTP_USE_PROXY): Add field.
6218 (getResponseVals): Only set responseCode when not yet explicitly
6219 set by subclass.
6220
6221 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6222 Mark Wielaard <mark@klomp.org>
6223
6224 * java/util/zip/ZipFile.java (entries): Now HashMap.
6225 (readLeShort(DataInput, byte[])): Read from given byte array.
6226 (readLeInt(DataInput, byte[]): Likewise.
6227 (readLeShort(byte[] b, int off)): New method.
6228 (readLeInt(byte[] b, int off)): Likewise.
6229 (readEntries): Use byte arrays to read info in bigger chunks.
6230 (getEntries): Return HashMap.
6231 (getEntry): Use HashMap.
6232 (locBuf): New private field.
6233 (checkLocalHeader): Use locBuf to read info in one chunk.
6234 (getInputStream): Use entries HashMap, wrap PartialInputStream
6235 in BufferedInputStream.
6236 (ZipEntryEnumeration): Use HashMap and Interator.
6237
6238 2003-01-02 Mark Wielaard <mark@klomp.org>
6239 Jeroen Frijters <jeroen@sumatra.nl>
6240
6241 * java/net/URLClassLoader.java (Resource.getCodeSource):
6242 Fix check certs == null.
6243 (getCanonicalFileURL): Removed method.
6244 (JarURLLoader): Don't call removed method.
6245 (FileURLLoader): Likewise.
6246 (FileURLLoader.getResource): Don't canonicalize file name.
6247
6248 2003-01-01 Tom Tromey <tromey@redhat.com>
6249
6250 * Makefile.in: Rebuilt.
6251 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6252 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6253 java/awt/BufferCapabilities.java, java/awt/Button.java,
6254 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6255 java/awt/Container.java, java/awt/Cursor.java,
6256 java/awt/EventQueue.java, java/awt/FileDialog.java,
6257 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6258 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6259 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6260 java/awt/Scrollbar.java, java/awt/TextArea.java,
6261 java/awt/TextField.java, java/awt/color/CMMException.java,
6262 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6263 java/awt/color/ProfileDataException.java,
6264 java/awt/datatransfer/Clipboard.java,
6265 java/awt/datatransfer/DataFlavor.java,
6266 java/awt/datatransfer/FlavorMap.java,
6267 java/awt/datatransfer/SystemFlavorMap.java,
6268 java/awt/dnd/DragGestureEvent.java,
6269 java/awt/dnd/DragGestureRecognizer.java,
6270 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6271 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6272 java/awt/im/InputMethodHighlight.java,
6273 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6274 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6275
6276 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6277 `op' to BufferedImageOp.
6278
6279 2002-12-31 Tom Tromey <tromey@redhat.com>
6280
6281 Fix for PR libgcj/7416:
6282 * javax/naming/InitialContext.java (init): Use
6283 gnu.classpath.home.url.
6284 * java/security/Security.java: Use new properties.
6285 (loadProviders): Accept base url; use it.
6286 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6287 gnu.classpath.home.url.
6288 (gnu.classpath.home.url): Define.
6289 (gnu.classpath.vm.shortname): Likewise.
6290
6291 2002-12-31 Tom Tromey <tromey@redhat.com>
6292 Ranjit Mathew <rmathew@hotmail.com>
6293
6294 Fix for PR libgcj/8997:
6295 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6296 Include platform.h.
6297 * include/posix.h (_Jv_platform_usleep): New function.
6298 * include/win32.h (_Jv_platform_usleep): New function.
6299
6300 2002-12-29 Tom Tromey <tromey@redhat.com>
6301
6302 * gcj/javaprims.h: Updated.
6303 * scripts/classes.pl (scan): Removed stray semicolon.
6304
6305 2002-12-30 Mark Wielaard <mark@klomp.org>
6306
6307 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6308 if zero or smaller.
6309
6310 2002-12-30 Mark Wielaard <mark@klomp.org>
6311
6312 * java/util/Properties (formatForOutput): Don't fall through to
6313 default case after escaping character.
6314
6315 2002-12-30 Mark Wielaard <mark@klomp.org>
6316
6317 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6318 against count.
6319
6320 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6321
6322 * boehm.cc: Remove stray semicolon.
6323 * interpret.cc: Likewise.
6324 * prims.cc: Likewise.
6325 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6326 earlier to ensure default arguments are processed.
6327 * gcj/array.h (JArray): Add forward declaration.
6328 (elements): Likewise.
6329 * gcj/javaprim.h: Remove stray semicolons.
6330 * include/bohm-gc.h: Likewise.
6331 * include/jni.h: Likewise.
6332 * include/jvm.h: Likewise.
6333 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6334
6335 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6336
6337 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6338 of catch_type.
6339 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6340 idt tables after initializing superclass.
6341 * java/lang/natClassLoader.cc (uaddr): New typedef.
6342 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6343 if they are constant pool indicies. Don't link vtable, otable yet.
6344
6345 2002-12-21 Anthony Green <green@redhat.com>
6346
6347 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6348 libraries.
6349 * Makefile.in: Rebuilt.
6350
6351 2002-12-19 Anthony Green <green@redhat.com>
6352
6353 * Makefile.am (ordinary_java_source_files): Add
6354 org/xml/sax/helpers/NewInstance.java.
6355 * Makefile.in: Rebuilt.
6356 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6357 org/xml/sax/helpers/package.html: New files.
6358 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6359 http://www.saxproject.org.
6360
6361 2002-12-19 Andrew Haley <aph@redhat.com>
6362
6363 * java/util/natResourceBundle.cc: Include
6364 ArrayIndexOutOfBoundsException.h.
6365 (getCallingClassLoader): Don't put upper bound on stack search.
6366 Catch ArrayIndexOutOfBoundsException.
6367
6368 2002-12-19 Tom Tromey <tromey@redhat.com>
6369
6370 * libtool-version: Increased `current'.
6371
6372 2002-12-19 Tom Tromey <tromey@redhat.com>
6373
6374 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6375 comment.
6376 * java/lang/ClassLoader.java (defineClass): Use chained
6377 exception when rethrowing.
6378 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6379 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6380 constants.
6381 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6382 (_Jv_PrepareClass): Use it.
6383 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6384 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6385 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6386 (Class): _Jv_PrepareMissingMethods now friend.
6387 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6388 Record `NULL' for system class loader.
6389 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6390 system class loader.
6391 (_Jv_FindClassInCache): Likewise.
6392 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6393 (_Jv_FindClass): Special case system class loader.
6394 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6395 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6396 vtable slots.
6397 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6398 in a final class.
6399 (_getDeclaredMethod): Don't return synthetic methods.
6400 (getDeclaredMethods): Likewise.
6401 (_getMethod): Likewise.
6402 (_getMethods): Likewise.
6403
6404 2002-12-18 Raif Naffah <raif@fl.net.au>
6405
6406 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6407 canonical form after divide().
6408 (modInverse): Likewise.
6409
6410 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6411 Mark Wielaard <mark@klomp.org>
6412
6413 * java/security/SecurityRandom (digest): Removed field.
6414 (SecureRandom): Check all providers for case-insensitive SecureRandom
6415 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6416 if necessary.
6417 (getInstance(String,Provider,boolean): New method.
6418 (getInstance(String)): Use new method.
6419 (getInstance(String,String)): Likewise.
6420 (getInstance(String,Provider)): Likewise.
6421
6422 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6423
6424 * java/security/Security.java (loadProviders): Increment i only once.
6425
6426 2002-12-12 Mark Wielaard <mark@klomp.org>
6427
6428 * java/lang/ClassLoader.java (resolveClass0): Transform
6429 ClassNotFoundException to NoClassDefFoundError. Transform all other
6430 throwables to LinkageError.
6431
6432 2002-12-11 Tom Tromey <tromey@redhat.com>
6433
6434 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6435
6436 * java/lang/ClassLoader.java (loadedClasses): New field.
6437 (defineClass): Fixed indentation. Put new class in
6438 loadedClasses.
6439 (findLoadedClass): Implement here.
6440 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6441
6442 2002-12-10 Tom Tromey <tromey@redhat.com>
6443
6444 * Makefile.in: Rebuilt.
6445 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6446 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6447 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6448 * java/lang/natClassLoader.cc
6449 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6450
6451 2002-12-10 Mark Wielaard <mark@klomp.org>
6452 Tom Tromey <tromey@redhat.com>
6453
6454 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6455 (JarURLLoader): Use it.
6456 (FileURLLoader): Likewise.
6457 (JarURLResource.getURL): Use chained exception.
6458 (FileResource.getURL): Likewise.
6459 (FileURLLoader.getResource): Use canonical file name.
6460 (addURL): Indentation fix.
6461
6462 2002-12-10 Tom Tromey <tromey@redhat.com>
6463
6464 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6465 From Laurent Bardet <l.bardet@magic.fr>.
6466
6467 2002-12-09 Tom Tromey <tromey@redhat.com>
6468
6469 * include/win32.h (_Jv_platform_solib_prefix): New define.
6470 (_Jv_platform_solib_suffix): Likewise.
6471 * include/posix.h (_Jv_platform_solib_prefix): New define.
6472 (_Jv_platform_solib_suffix): Likewise.
6473 * java/lang/natRuntime.cc: Include StackTrace.h.
6474 (_load): Use findLibrary and new platform defines.
6475 (nativeGetLibname): Use new platform defines.
6476
6477 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6478 `t' won't be null.
6479
6480 2002-12-08 Mark Wielaard <mark@klomp.org>
6481
6482 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6483 cache remote jar files.
6484 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6485 add File.separator to URL when it is a directory.
6486 * java/lang/ClassLoader.java: Add Classpath javadoc.
6487 (parent): final.
6488 (getParent): Add (disabled) security check.
6489 (findLibrary): New default method.
6490 * java/net/JarURLConnection.java (getManifest): Implement.
6491 (getInputStream): Only create InputStream when entry exists.
6492 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6493 when they exist.
6494 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6495
6496 2002-12-08 Mark Wielaard <mark@klomp.org>
6497
6498 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6499 (lastDefaultLocale): New field.
6500 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6501 resourceBundleCache.
6502
6503 2002-12-06 Mark Wielaard <mark@klomp.org>
6504
6505 * java/net/InetAddress.java (toString): Use hostname when not null,
6506 don't do an explicit reverse getHostName() lookup.
6507 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6508 NullPointerException.
6509
6510 2002-12-06 Tom Tromey <tromey@redhat.com>
6511
6512 * include/java-interp.h (class _Jv_InterpMethod): Added
6513 JV_MARKOBJ_DECL.
6514 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6515 mark `prepared' field of interpreted method.
6516 * interpret.cc (compile): Use _Jv_AllocBytes.
6517
6518 2002-12-05 Andrew Haley <aph@redhat.com>
6519
6520 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6521 #ifdef (HAVE_BACKTRACE) around the whole function body.
6522
6523 2002-12-05 Tom Tromey <tromey@redhat.com>
6524
6525 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6526 * resolve.cc: Don't include AbstractMethodError.h.
6527 (_Jv_abstractMethodError): Removed.
6528 * defineclass.cc (handleMethodsBegin): Initialize method index to
6529 -1.
6530 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6531 method index for "new" final method.
6532 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6533 isVirtualMethod. Added `flags' argument.
6534 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6535 class.
6536
6537 2002-12-04 Tom Tromey <tromey@redhat.com>
6538
6539 * java/net/SocketPermission.java (hashCode): Rewrote.
6540
6541 2002-12-04 Tom Tromey <tromey@redhat.com>
6542
6543 * Makefile.in: Rebuilt.
6544 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6545 natResourceBundle.
6546 * java/util/ResourceBundle.java (Security): Removed.
6547 (getCallingClassLoader): Now native.
6548 * java/util/natResourceBundle.cc: New file.
6549 * java/lang/natVMSecurityManager.cc: New file.
6550 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6551
6552 2002-12-03 Mark Wielaard <mark@klomp.org>
6553
6554 * java/util/jar/JarFile.java (manifest): Not final.
6555 (manifestRead): New field.
6556 (JarFile): Don't read Manifest in constructor.
6557 (getManifest): New method.
6558 (JarEnumeration.nextElement): Use new method.
6559 (getEntry): Likewise.
6560 * java/util/zip/ZipFile.java (name): Final.
6561 (raf): Likewsie.
6562 (entries): Change type to Hashtable.
6563 (closed): New field.
6564 (ZipFile): Don't read enties in constructor.
6565 (readEntries): Use Hashtable.
6566 (close): Set new close flag and set entries to null inside
6567 synchronized block.
6568 (entries): Contruct enumeration using new getEntries() method and
6569 entries Hashtable.
6570 (getEntryIndex): Removed.
6571 (getEntries): New method.
6572 (getEntry): Use new getEntries() method and entries Hastable.
6573 (getInputStream): Likewise.
6574 (size): Return getEntries().size().
6575 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6576 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6577 (time): Removed
6578 (dostime): New field.
6579 (zipFileIndex): Removed.
6580 (ZipEntry(ZipEntry)): Copy dostime.
6581 (setDOSTime): Now final and doesn't convert dos time.
6582 (getDOSTime): Likewise.
6583 (setTime): Convert dos time.
6584 (getTime): Likewise.
6585 (getCalendar): New method.
6586 (setExtra): Use setTime().
6587 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6588
6589 2002-12-03 Tom Tromey <tromey@redhat.com>
6590
6591 * java/lang/Character.java (forDigit): Formatting fix.
6592
6593 2002-12-03 Raif Naffah <raif@fl.net.au>
6594
6595 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6596 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6597 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6598
6599 2002-12-03 Andrew Haley <aph@redhat.com>
6600
6601 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6602 _Jv_PushClass.
6603 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6604 (_Jv_PopClass): New.
6605 (_Jv_PushClass): New.
6606 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6607 discover the ClassLoader of our caller.
6608 (_Jv_CheckArrayStore): Don't check that a class is assignment
6609 compatible with Object.
6610 * java/lang/natVMTHrowable.cc: Delete.
6611 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6612 java.lang.VMThrowable.
6613 (StackTrace(), StackTrace(int)): New constructors.
6614 (classAt, methodAt, update, methodAtAddress): New methods.
6615 (map): New field.
6616 * java/lang/VMThrowable.java: Use StackTrace instead of
6617 natVMTHrowable.
6618 * java/lang/Class.h (getClassLoaderInternal): New.
6619 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6620 Be friendly with gnu::gcj::runtime::StackTrace.
6621 (Object.chain): New field.
6622 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6623 gnu::gcj::runtime::StackTrace.
6624 * gnu/gcj/runtime/natStackTrace.cc: New file.
6625 * gnu/gcj/runtime/MethodRef.java: New file.
6626 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6627 instead of getClassLoader().
6628 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6629 java::lang::VMThrowable.
6630 * Makefile.am (core_java_source_files): Add MethodRef.java,
6631 StackTrace.java.
6632 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6633 * Makefile.in: Rebuild.
6634
6635 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6636
6637 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6638 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6639 yes also for sh-linux* and sh[34]*-linux*.
6640 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6641 set SIGNAL_HANDLER to use DWARF2 exception for them.
6642 * configure: Regenerate.
6643
6644 2002-12-02 Tom Tromey <tromey@redhat.com>
6645
6646 * jni.cc: Added `name' argument.
6647 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6648 `const char *' argument.
6649 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6650
6651 2002-12-01 Tom Tromey <tromey@redhat.com>
6652
6653 Bug compatibility, for PR libgcj/8738:
6654 * java/io/CharArrayWriter.java (close): Do nothing.
6655 (flush): Likewise.
6656 (reset): Don't touch `closed'.
6657 (write(int)): Don't throw IOException.
6658 (write(char[],int,int)): Likewise.
6659 (write(String,int,int)): Likewise.
6660 (closed): Removed.
6661
6662 2002-12-01 Mark Wielaard <mark@klomp.org>
6663
6664 * java/lang/SecurityManager.java: Remerge comments, indenting and
6665 checkXXX methods with Classpath.
6666
6667 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6668
6669 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6670 getNormalizedComponents): Fix calculation which was using one too
6671 many bits in the unnormalized format.
6672
6673 2002-11-29 Gary Benson <gbenson@redhat.com>
6674
6675 For PR libgcj/8759:
6676 * java/beans/Introspector.java (flushCaches): New method.
6677 (flushFromCaches): Likewise.
6678
6679 2002-11-29 Michael Koch <konqueror@gmx.de>
6680
6681 * java/nio/channels/DatagramChannel.java
6682 (open): Added exception documentation.
6683 (write): Added exception documentation.
6684 (connect): Added exception documentation.
6685 (disconnect): Added exception documentation.
6686 (isConnected): Added exception documentation.
6687 (read): Added exception documentation.
6688 (receive): Added exception documentation.
6689 (send): Added exception documentation.
6690 (validOps): Added exception documentation.
6691 * java/nio/channels/SocketChannel.java
6692 (open): Added exception documentation.
6693 (read): Added exception documentation.
6694 (write): Added exception documentation.
6695 (connect): Added exception documentation.
6696 (finishConnect): Added exception documentation.
6697
6698 2002-11-29 Michael Koch <konqueror@gmx.de>
6699
6700 * gnu/java/nio/DatagramChannelImpl:
6701 (fd): New member variable to store file descriptor of socket.
6702 * gnu/java/nio/SelectionKeyImpl.java:
6703 (ops): Removed.
6704 (readyOps): New member variable.
6705 (interestOps): New member variable.
6706 (readyOps): Implemented.
6707 (readyOps): New method to set member variable readyOps.
6708 (interestOps): Replaced ops by interestOps.
6709 * gnu/java/nio/SelectorImpl.java:
6710 (SelectorImpl): Initialize key sets.
6711 (select): Call select with -1 instead of Long.MAX_VALUE).
6712 (java_do_select): Make it a native method.
6713 (getFDsAsArray): New helper method.
6714 (select): Remove canceled keys, give only interested file discriptors
6715 to java_do_select, set ready ops.
6716 (add): No need to initialize keys set here.
6717 (add_selected): No need to initialize selected set here.
6718 (deregisterCanceledKeys): New helper method.
6719 (register): Set interest ops, set attachments, added handling of datagram
6720 channels.
6721 * gnu/java/nio/ServerSocketChannelImpl:
6722 (SocketAccept): Renamed from NioSocketAccept.
6723 (implConfigureBlocking): Implemented.
6724 (accept): Use SocketAccept instead of NioSocketAccept.
6725 * gnu/java/nio/SocketChannelImpl:
6726 Reactivate native methods.
6727
6728 2002-11-29 Michael Koch <konqueror@gmx.de>
6729
6730 * gnu/java/nio/natByteBufferImpl.cc,
6731 gnu/java/nio/natCharBufferImpl.cc,
6732 gnu/java/nio/natDoubleBufferImpl.cc,
6733 gnu/java/nio/natFloatBufferImpl.cc,
6734 gnu/java/nio/natIntBufferImpl.cc,
6735 gnu/java/nio/natLongBufferImpl.cc,
6736 gnu/java/nio/natSelectorImpl.cc,
6737 gnu/java/nio/natServerSocketChannelImpl.cc,
6738 gnu/java/nio/natShortBufferImpl.cc,
6739 gnu/java/nio/natSocketChannelImpl.cc:
6740 New files that implement native functionalities.
6741
6742 2002-11-29 Michael Koch <konqueror@gmx.de>
6743
6744 * gnu/java/nio/ByteBufferImpl.java
6745 (ByteBufferImpl): Moved position() after limit.
6746 (nio_*): Use native implementation.
6747 * gnu/java/nio/CharBufferImpl.java:
6748 Reformated.
6749 (endian): New member variable string endianess of buffer.
6750 (CharBufferImpl): Moved position() after limit.
6751 (nio_*): Use native implementation.
6752 (subSequence): Implemented.
6753 * gnu/java/nio/DoubleBufferImpl.java
6754 (DoubleBufferImpl): Moved position() after limit.
6755 (nio_*): Use native implementation.
6756 * gnu/java/nio/FloatBufferImpl.java
6757 Reformated.
6758 (FloatBufferImpl): Moved position() after limit.
6759 (nio_*): Use native implementation.
6760 * gnu/java/nio/IntBufferImpl.java
6761 Added needed imports, Reformated.
6762 (IntBufferImpl): Moved position() after limit.
6763 (nio_*): Use native implementation.
6764 * gnu/java/nio/LongBufferImpl.java
6765 Reformated.
6766 (LongBufferImpl): Moved position() after limit.
6767 (nio_*): Use native implementation.
6768 * gnu/java/nio/ShortBufferImpl.java
6769 Reformated.
6770 (ShortBufferImpl): Moved position() after limit.
6771 (nio_*): Use native implementation.
6772
6773 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6774
6775 * java/util/Locale.java (toString): Improve efficiency if country
6776 and variant are both empty.
6777
6778 2002-11-26 Tom Tromey <tromey@redhat.com>
6779
6780 * verify.cc (pop_init_ref): New method.
6781 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6782 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6783 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6784 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6785 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6786 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6787 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6788 let `this' argument be uninitialized. Don't let `null' be passed
6789 as `this' to construtor.
6790
6791 2002-11-26 Mark Wielaard <mark@klomp.org>
6792
6793 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6794 * javax/transaction/HeuristicMixedException.java: Likewise.
6795 * javax/transaction/HeuristicRollbackException.java: Likewise.
6796 * javax/transaction/InvalidTransactionException.java: Likewise.
6797 * javax/transaction/NotSupportedException.java: Likewise.
6798 * javax/transaction/RollbackException.java: Likewise.
6799 * javax/transaction/Status.java: Likewise.
6800 * javax/transaction/Synchronization.java: Likewise.
6801 * javax/transaction/SystemException.java: Likewise.
6802 * javax/transaction/Transaction.java: Likewise.
6803 * javax/transaction/TransactionManager.java: Likewise.
6804 * javax/transaction/TransactionRequiredException.java: Likewise.
6805 * javax/transaction/TransactionRolledbackException.java: Likewise.
6806 * javax/transaction/UserTransaction.java: Likewise.
6807 * javax/transaction/xa/XAException.java: Likewise.
6808 * javax/transaction/xa/XAResource.java: Likewise.
6809 * javax/transaction/xa/Xid.java: Likewise.
6810
6811 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6812
6813 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6814 define.
6815 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6816 * include/posix.h (socklen_t): Define if not already defined.
6817
6818 2002-11-25 Tom Tromey <tromey@redhat.com>
6819
6820 * verify.cc (type::compatible): Backed out broken change.
6821
6822 * verify.cc (type::compatible): Check initialization status
6823 first.
6824 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6825 Don't use NULLCHECK.
6826
6827 2002-11-23 H.J. Lu <hjl@gnu.org>
6828
6829 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6830 Include ../config/accross.m4.
6831 * aclocal.m4; Rebuild.
6832 * configure: Likewise.
6833
6834 2002-11-23 Mark Wielaard <mark@klomp.org>
6835
6836 * javax/naming/AuthenticationException.java: Update copyright header.
6837 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6838 * javax/naming/Binding.java: Likewise.
6839 * javax/naming/CannotProceedException.java: Likewise.
6840 * javax/naming/CommunicationException.java: Likewise.
6841 * javax/naming/CompositeName.java: Likewise.
6842 * javax/naming/CompoundName.java: Likewise.
6843 * javax/naming/ConfigurationException.java: Likewise.
6844 * javax/naming/Context.java: Likewise.
6845 * javax/naming/ContextNotEmptyException.java: Likewise.
6846 * javax/naming/InitialContext.java: Likewise.
6847 * javax/naming/InsufficientResourcesException.java: Likewise.
6848 * javax/naming/InterruptedNamingException.java: Likewise.
6849 * javax/naming/LimitExceededException.java: Likewise.
6850 * javax/naming/LinkException.java: Likewise.
6851 * javax/naming/LinkLoopException.java: Likewise.
6852 * javax/naming/LinkRef.java: Likewise.
6853 * javax/naming/MalformedLinkException.java: Likewise.
6854 * javax/naming/NameAlreadyBoundException.java: Likewise.
6855 * javax/naming/NameClassPair.java: Likewise.
6856 * javax/naming/NameNotFoundException.java: Likewise.
6857 * javax/naming/NameParser.java: Likewise.
6858 * javax/naming/NamingEnumeration.java: Likewise.
6859 * javax/naming/NamingSecurityException.java: Likewise.
6860 * javax/naming/NoInitialContextException.java: Likewise.
6861 * javax/naming/NoPermissionException.java: Likewise.
6862 * javax/naming/NotContextException.java: Likewise.
6863 * javax/naming/OperationNotSupportedException.java: Likewise.
6864 * javax/naming/PartialResultException.java: Likewise.
6865 * javax/naming/Reference.java: Likewise.
6866 * javax/naming/Referenceable.java: Likewise.
6867 * javax/naming/ReferralException.java: Likewise.
6868 * javax/naming/ServiceUnavailableException.java: Likewise.
6869 * javax/naming/SizeLimitExceededException.java: Likewise.
6870 * javax/naming/TimeLimitExceededException.java: Likewise.
6871 * javax/naming/directory/Attribute.java: Likewise.
6872 * javax/naming/directory/AttributeInUseException.java: Likewise.
6873 * javax/naming/directory/AttributeModificationException.java: Likewise.
6874 * javax/naming/directory/Attributes.java: Likewise.
6875 * javax/naming/directory/BasicAttribute.java: Likewise.
6876 * javax/naming/directory/BasicAttributes.java: Likewise.
6877 * javax/naming/directory/DirContext.java: Likewise.
6878 * javax/naming/directory/InitialDirContext.java: Likewise.
6879 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6880 Likewise.
6881 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6882 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6883 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6884 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6885 * javax/naming/directory/ModificationItem.java: Likewise.
6886 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6887 * javax/naming/directory/SchemaViolationException.java: Likewise.
6888 * javax/naming/directory/SearchControls.java: Likewise.
6889 * javax/naming/directory/SearchResult.java: Likewise.
6890 * javax/naming/event/EventContext.java: Likewise.
6891 * javax/naming/event/EventDirContext.java: Likewise.
6892 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6893 * javax/naming/event/NamingEvent.java: Likewise.
6894 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6895 * javax/naming/event/NamingListener.java: Likewise.
6896 * javax/naming/event/ObjectChangeListener.java: Likewise.
6897 * javax/naming/ldap/Control.java: Likewise.
6898 * javax/naming/ldap/ControlFactory.java: Likewise.
6899 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6900 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6901 * javax/naming/ldap/HasControls.java: Likewise.
6902 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6903 * javax/naming/ldap/LdapContext.java: Likewise.
6904 * javax/naming/ldap/LdapReferralException.java: Likewise.
6905 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6906 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6907 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6908 * javax/naming/spi/DirObjectFactory.java: Likewise.
6909 * javax/naming/spi/DirStateFactory.java: Likewise.
6910 * javax/naming/spi/DirectoryManager.java: Likewise.
6911 * javax/naming/spi/InitialContextFactory.java: Likewise.
6912 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6913 * javax/naming/spi/NamingManager.java: Likewise.
6914 * javax/naming/spi/ObjectFactory.java: Likewise.
6915 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6916 * javax/naming/spi/ResolveResult.java: Likewise.
6917 * javax/naming/spi/Resolver.java: Likewise.
6918 * javax/naming/spi/StateFactory.java: Likewise.
6919
6920 * javax/naming/spi/NamingManager.java (ofb): Package private.
6921
6922 2002-11-21 Mark Wielaard <mark@klomp.org>
6923
6924 * java/net/URL.java: Merge with Classpath (partly).
6925 * java/net/URLStreamHandler: Merge with Classpath.
6926
6927 2002-11-22 Michael Koch <konqueror@gmx.de>
6928
6929 * include/posix.h:
6930 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6931 * include/win32.h:
6932 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6933 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6934
6935 2002-11-21 Michael Koch <konqueror@gmx.de>
6936
6937 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6938 Only the new network functions should be in it.
6939
6940 2002-11-21 Michael Koch <konqueror@gmx.de>
6941
6942 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6943 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6944
6945 2002-11-21 Michael Koch <konqueror@gmx.de>
6946
6947 * java/nio/channels/AsynchronousCloseException.java,
6948 java/nio/channels/CancelledKeyException.java,
6949 java/nio/channels/ClosedByInterruptException.java,
6950 java/nio/channels/ConnectionPendingException.java,
6951 java/nio/channels/FileLockInterruptionException.java,
6952 java/nio/channels/IllegalSelectorException.java,
6953 java/nio/channels/NoConnectionPendingException.java,
6954 java/nio/channels/NonReadableChannelException.java,
6955 java/nio/channels/NonWritableChannelException.java,
6956 java/nio/channels/NotYetBoundException.java,
6957 java/nio/channels/NotYetConnectedException.java,
6958 java/nio/channels/OverlappingFileLockException.java,
6959 java/nio/channels/UnresolvedAddressException.java,
6960 java/nio/channels/UnsupportedAddressTypeException.java:
6961 New files.
6962 * Makefile.am (ordinary_java_source_files): Added new files.
6963 * Makefile.in: Regenerated.
6964
6965 2002-11-21 Michael Koch <konqueror@gmx.de>
6966
6967 * include/posix.h
6968 (_Jv_socket): New method.
6969 (_Jv_connect): New method.
6970 (_Jv_close): New method.
6971 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6972 (_Jv_bind): New method.
6973 (_Jv_listen): New method.
6974 (_Jv_write): New method.
6975 (_Jv_read): New method.
6976 * include/win32.h
6977 (_Jv_socket): New method.
6978 (_Jv_connect): New method.
6979 (_Jv_close): New method.
6980 (_Jv_bind): New method.
6981 (_Jv_listen): New method.
6982 (_Jv_write): New method.
6983 (_Jv_read): New method.
6984 * java/net/natNetworkInterface.cc:
6985 Include platform.h, removed inclusion of socket.h
6986 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6987 ::close() by _Jv_close().
6988 * java/net/natPlainDatagramSocketImpl.cc:
6989 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6990 added some new lines to make code more readable.
6991 (create): Replaced ::socket() by _Jv_socket().
6992 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6993 * java/net/natPlainSocketImpl.cc:
6994 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6995 removed include of socket.h, removed some windows defines
6996 (now in include/win32.h).
6997 (create): Replaced ::socket() by _Jv_socket().
6998 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6999 (write): Replaced ::read by _Jv_write().
7000 (read): Replaced ::read by _Jv_read().
7001
7002 2002-11-20 Michael Koch <konqueror@gmx.de>
7003
7004 * Makefile.am (ordinary_java_source_files):
7005 Added java/nio/channels/FileChannel.java.
7006 * Makefile.in: Regenerated.
7007
7008 2002-11-20 Michael Koch <konqueror@gmx.de>
7009
7010 * java/io/FileInputStream.java
7011 (getChannel): New method.
7012 * java/io/FileOutputStream.java
7013 (getChannel): New method.
7014 * java/net/ServerSocket.java
7015 (bind): Removed duplicate code and called another bind method instead.
7016 * java/nio/channels/SelectionKey.java
7017 (isValid): Removed wrong exception documentation.
7018 * java/nio/channels/ServerSocketChannel.java
7019 (accept): Added exception documentation.
7020 (open): Fixed typo, added exception documentation.
7021 * java/nio/channels/spi/AbstractSelectableChannel.java
7022 (implCloseChannel): Added exception documentation.
7023 (add): Reformated.
7024 (register): Added exception documentation.
7025
7026 2002-11-20 Andreas Jaeger <aj@suse.de>
7027
7028 * configure: Regenerated with new libtool.m4.
7029
7030 2002-11-19 Tom Tromey <tromey@redhat.com>
7031
7032 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7033 `referent'.
7034 (finalize_referred_to_object): Don't modify `referent' or `copy'
7035 fields.
7036 (add_to_hash): Correctly set `n->next' when updating list.
7037 * java/lang/ref/Reference.java (enqueue): Return false if already
7038 enqueued.
7039
7040 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7041
7042 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7043 to function and function pointer declarations in accordance with
7044 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7045 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7046 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7047 JNI function definitions.
7048
7049 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7050
7051 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7052 that was causing CoderResults to be cached, not WeakReferences
7053 to CoderResults.
7054
7055 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7056
7057 * java/security/KeyStore.java (getInstance): Fix
7058 comment and throw IllegalArgumentException if
7059 given provider is null.
7060 (getInstance): New method for jdk1.4 compatibility.
7061
7062 2002-11-18 Michael Koch <konqueror@gmx.de>
7063
7064 * java/net/PlainSocketImpl.java: Fix imports.
7065
7066 2002-11-18 Michael Koch <konqueror@gmx.de>
7067
7068 * java/nio/channels/SelectionKey.java
7069 (isValid): Added exception documentation.
7070 * java/nio/channels/Selector.java
7071 (open): Declare "throws IOException".
7072
7073 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7074
7075 * java/nio/charset/Charset.java
7076 (<clinit>): New method.
7077 (encode): Synchronize use of cached encoder object.
7078 (decode): Synchronize use of cached encoder object.
7079
7080 2002-11-18 Michael Koch <konqueror@gmx.de>
7081
7082 * gnu/java/nio/ByteBufferImpl.java,
7083 gnu/java/nio/CharBufferImpl.java,
7084 gnu/java/nio/DatagramChannelImpl.java,
7085 gnu/java/nio/DoubleBufferImpl.java,
7086 gnu/java/nio/FileChannelImpl.java,
7087 gnu/java/nio/FloatBufferImpl.java,
7088 gnu/java/nio/IntBufferImpl.java,
7089 gnu/java/nio/LongBufferImpl.java,
7090 gnu/java/nio/PipeImpl.java,
7091 gnu/java/nio/SelectionKeyImpl.java,
7092 gnu/java/nio/SelectorImpl.java,
7093 gnu/java/nio/SelectorProviderImpl.java,
7094 gnu/java/nio/ServerSocketChannelImpl.java,
7095 gnu/java/nio/ShortBufferImpl.java,
7096 gnu/java/nio/SocketChannelImpl.java,
7097 java/nio/DoubleBuffer.java,
7098 java/nio/FloatBuffer.java,
7099 java/nio/IntBuffer.java,
7100 java/nio/LongBuffer.java,
7101 java/nio/ShortBuffer.java,
7102 java/nio/channels/FileChannel.java: New files.
7103
7104 2002-11-18 Michael Koch <konqueror@gmx.de>
7105
7106 * Makefile.am (ordinary_java_source_files):
7107 Added java/nio/ReadOnlyBufferException.java and
7108 java/nio/channels/ClosedSelectorException.java.
7109 * Makefile.in: Regenerated.
7110
7111 2002-11-18 Michael Koch <konqueror@gmx.de>
7112
7113 * java/net/PlainSocketImpl.java: Reworked imports.
7114 * java/net/ServerSocket.java
7115 (ServerSocket): Create socket.
7116 * java/net/SocketAddress.java: Documentation added.
7117 * java/net/natPlainSocketImpl.cc: Reindented.
7118 * java/nio/ReadOnlyBufferException.java: New file
7119 * java/nio/channels/ClosedChannelException.java: Documentation added.
7120 * java/nio/channels/ClosedSelectorException.java: New file.
7121
7122 2002-11-17 Mark Wielaard <mark@klomp.org>
7123
7124 * java/net/HttpURLConnection.java ((getPermission): Take port
7125 into consideration.
7126 (getErrorStream): Implement.
7127
7128 2002-11-17 Mark Wielaard <mark@klomp.org>
7129
7130 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7131
7132 2002-11-16 Mark Wielaard <mark@klomp.org>
7133
7134 Integrate work by Raif S. Naffah (raif@fl.net.au)
7135 * java/security/DummyKeyPairGenerator.java (clone): New method.
7136 * java/security/DummyMessageDigest.java (clone): New method.
7137 (engineUpdate): Now public.
7138 (engineReset): Likewise.
7139 (engineDigest): Likewise.
7140 (engineGetDigestLength): New method.
7141 * java/security/DummySignature.java (clone): New method.
7142 * java/security/KeyPairGenerator.java (provider): Now package private.
7143 (getInstance(String)): Use getInstance(String,Provider).
7144 (getInstance(String,String): Use getInstance(String,Provider)
7145 (getInstance(String,Provider): New method.
7146 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7147 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7148 * java/security/MessageDigest.java (provider): Now package private.
7149 (getInstance(String): Use getInstance(String,Provider).
7150 (getInstance(String,String): Use getInstance(String,Provider)
7151 (getInstance(String,Provider): New method.
7152 * java/security/Provider.java (toCanonicalKey): New method.
7153 (get): New method that uses toCanonicalKey().
7154 (put): Use toCanonicalKey().
7155 (remove): Likewise.
7156 * java/security/Security.java (insertProviderAt): Provider index is one
7157 based, not zero based.
7158 (addProvider): Likewise.
7159 (removeProvider): Likewise.
7160 * java/security/Signature.java (provider): Now package private.
7161 (getInstance(String)): Use getInstance(String,Provider).
7162 (getInstance(String,String): Use getInstance(String,Provider)
7163 (getInstance(String,Provider): New method.
7164 (getInstance(String,String,Provider): Don't cast DummySignature.
7165
7166 2002-11-15 Tom Tromey <tromey@redhat.com>
7167
7168 For PR libgcj/8593:
7169 * java/util/zip/GZIPInputStream.java (read): Check file size.
7170 Look in inflater for remaining input bytes.
7171 (read4): Added buf and offset arguments.
7172
7173 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7174
7175 * java/applet/AppletContext.java: Fix typo and remove redundant
7176 modifiers.
7177
7178 2002-11-14 Tom Tromey <tromey@redhat.com>
7179
7180 * java/lang/natRuntime.cc (insertSystemProperties): Set
7181 gnu.classpath.home.
7182
7183 2002-11-13 Michael Koch <konqueror@gmx.de>
7184
7185 * java/nio/ByteBuffer.java
7186 (allocate): New method.
7187 (wrap): New method.
7188 (put): New method.
7189 (get): New method.
7190
7191 2002-11-13 Michael Koch <konqueror@gmx.de>
7192
7193 * java/nio/channels/AlreadyConnectedException.java:
7194 Removed unneeded import.
7195 (AlreadyConnectedException): Documentation added.
7196 * java/nio/channels/Pipe.java
7197 (SinkChannel.SinkChannel): Documentation added.
7198 (SinkChannel.validOps): New method.
7199 (SourceChannel.SourceChannel): Documentation added.
7200 (SourceChannel.validOps): New method.
7201 (Pipe): Documentation added.
7202 (open): Documentation added.
7203 (SinkChannel.channel): Documentation added.
7204 (SourceChannel.channel): Documentation added.
7205 * java/nio/channel/SelectableChannel.java
7206 (SelectableChannel): Documentation added.
7207 (blockingLock): Documentation added.
7208 (configureBlocking):Documentation added.
7209 (isBlocking):Documentation added.
7210 (isRegistered):Documentation added.
7211 (keyFor):Documentation added.
7212 (provider):Documentation added.
7213 (register): Documentation added.
7214 (validOps): Documentation added.
7215 * jaba/nio/channels/SelectionKey.java
7216 (SelectionKey): Documentation added.
7217 (attach): Documentation added.
7218 (attachment): Documentation added.
7219 (isAcceptable): Documentation added.
7220 (isConnetable): Documentation added.
7221 (isReadable): Documentation added.
7222 (isWritable): Documentation added.
7223 (cancel): Documentation added.
7224 (channel): Documentation added.
7225 (interestOps): Documentation added.
7226 (isValid): Documentation added.
7227 (readyOps): Documentation added.
7228 (selector): Documentation added.
7229 * jaba/nio/channels/Selector.java
7230 (Selector): Documentation added.
7231 (open): Documentation added.
7232 (close): Documentation added.
7233 (isOpen): Documentation added.
7234 (keys): Documentation added.
7235 (provider): Documentation added.
7236 (select): Documentation added.
7237 (selectedKeys): Documentation added.
7238 (selectNow): Documentation added.
7239 (wakeup): Documentation added.
7240 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7241 (AbstractInterruptibleChannel): Documentation added.
7242 (opened): Default to true;
7243 (begin): Documentation added.
7244 (close): Set opened to false, documentation added.
7245 (isOpen): Documentation added.
7246 * java/nio/channels/spi/AbstractSelectionKey.java
7247 (AbstractSelectionKey): Documentation added.
7248 (cancel): Documentation added.
7249 (isValid): Documentation added.
7250 * java/nio/channels/spi/AbstractSelector.java
7251 (AbstractSelector): Documentation added.
7252 (begin): Documentation added.
7253 (close): Documentation added.
7254 (isOpen): Documentation added.
7255 (deregister): Documentation added.
7256 (end): Documentation added.
7257 (provider): Documentation added.
7258 (implCloseSelector): Documentation added.
7259 (register): Documentation added.
7260 * java/nio/channels/spi/SelectorProvider.java
7261 (SelectorProvider): Documentation added.
7262 (openDatagramChannel): Documentation added.
7263 (openPipe): Documentation added.
7264 (openSelector): Documentation added.
7265 (openServerSocketChannel): Documentation added.
7266 (openSocketChannel): Documentation added.
7267 (provider): Documentation added.
7268
7269 2002-11-12 Michael Koch <konqueror@gmx.de>
7270
7271 * java/nio/Buffer.java: Implemented.
7272 * java/nio/CharBuffer.java: New file.
7273 * java/nio/InvalidMarkException.java: New file.
7274 * java/nio/channels/DatagramChannel.java: Implemented.
7275 * java/nio/channels/ServerSocketChannel.java: Implemented.
7276 * java/nio/channels/SocketChannel.java: Implemented.
7277 * java/nio/channels/spi/AbstractChannel.java: Removed.
7278 * java/nio/channels/spi/AbstractSelectableChannel.java:
7279 Implemented.
7280 * java/nio/charset/Charset.java:
7281 Merge from Classpath.
7282 * java/nio/charset/CharsetDecoder.java: New file.
7283 * java/nio/charset/CharsetEncoder.java: New file.
7284 * java/nio/charset/CoderResult.java: New file.
7285 * Makefile.am (ordinary_java_source_files): Added new files.
7286 * Makefile.in: Regenerated.
7287
7288 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7289
7290 * gnu/java/nio/charset/ISO_8859_1.java,
7291 gnu/java/nio/charset/Provider.java,
7292 gnu/java/nio/charset/US_ASCII.java,
7293 gnu/java/nio/charset/UTF_16.java,
7294 gnu/java/nio/charset/UTF_16BE.java,
7295 gnu/java/nio/charset/UTF_16Decoder.java,
7296 gnu/java/nio/charset/UTF_16Encoder.java,
7297 gnu/java/nio/charset/UTF_16LE.java,
7298 gnu/java/nio/charset/UTF_8.java: New files.
7299
7300 2002-11-11 Michael Koch <konqueror@gmx.de>
7301
7302 * java/nio/charset/CharacterCodingException.java:
7303 This class must be public.
7304 * java/nio/charset/CoderMalfunctionError.java:
7305 This class must be public.
7306 * java/nio/charset/CodingErrorAction.java:
7307 This class must be public.
7308 * java/nio/charset/IllegalCharsetNameException.java:
7309 This class must be public, better implementation.
7310 * java/nio/charset/MalformedInputException.java:
7311 This class must be public, better implementation.
7312 * java/nio/charset/UnmappableCharacterException.java:
7313 This class must be public, better implementation.
7314 * java/nio/charset/UnsupportedCharsetException.java:
7315 This class must be public, better implementation.
7316
7317 2002-11-11 Michael Koch <konqueror@gmx.de>
7318
7319 * java/nio/BufferOverflowException.java,
7320 java/nio/BufferUnderflowException.java: New file.
7321 * Makefile.am (ordinary_java_source_files):
7322 Added new files.
7323 * Makefile.in: Regenerated.
7324
7325 2002-11-10 Tom Tromey <tromey@redhat.com>
7326
7327 * java/awt/Container.java (validate): Use tree lock.
7328 (getComponent): Likewise.
7329 (getComponents): Likewise.
7330 (addImpl): Likewise.
7331 (remove): Likewise.
7332 (removeAll): Likewise.
7333 (processEvent): Fixed indentation.
7334 (getComponentAt): Use tree lock.
7335 (findComponentAt): Likewise.
7336 (removeNotify): Likewise.
7337 (isAncestorOf): Likewise.
7338 (list): Likewise.
7339 (visitChildren): Likewise.
7340 (findNextFocusComponent): Likewise.
7341 (addNotifyContainerChildren): Likewise.
7342 (getAccessibleChildrenCount): Likewise.
7343 (getAccessibleChild): Likewise.
7344
7345 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7346 (getSize): Likewise.
7347 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7348 (getSize): Likewise.
7349 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7350 (calcSize): Likewise.
7351 * java/awt/CardLayout.java (getSize): Use tree lock.
7352 (gotoComponent): Likewise.
7353 (layoutContainer): Likewise.
7354
7355 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7356 count is 0.
7357 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7358 count is 0.
7359
7360 * java/io/Externalizable.java, java/io/FilePermission.java,
7361 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7362 java/io/SerializablePermission.java, java/text/Format.java,
7363 java/util/AbstractMap.java, java/util/HashMap.java,
7364 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7365 versions from Classpath.
7366
7367 2002-11-10 Anthony Green <green@redhat.com>
7368
7369 * java/util/jar/Attributes.java (Name): Fix name check.
7370
7371 2002-11-10 Mark Wielaard <mark@klomp.org>
7372
7373 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7374 with getName() as message.
7375 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7376 type as message.
7377
7378 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7379 unused.
7380
7381 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7382
7383 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7384 for Win32. JNICALL has been defined to __stdcall to be compatible
7385 with Sun's JDKs.
7386
7387 2002-11-10 Tom Tromey <tromey@redhat.com>
7388
7389 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7390 (setRows): Check newRows, not rows.
7391
7392 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7393
7394 2002-11-09 Tom Tromey <tromey@redhat.com>
7395
7396 * java/applet/Applet.java, java/applet/AppletContext.java,
7397 java/applet/AppletStub.java, java/applet/AudioClip.java,
7398 java/awt/CardLayout.java,
7399 java/awt/ContainerOrderFocusTraversalPolicy.java,
7400 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7401 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7402 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7403 java/awt/color/ICC_ColorSpace.java,
7404 java/awt/color/ICC_Profile.java,
7405 java/awt/color/ICC_ProfileGray.java,
7406 java/awt/color/ICC_ProfileRGB.java,
7407 java/awt/datatransfer/DataFlavor.java,
7408 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7409 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7410 New versions from Classpath.
7411 * Makefile.in: Rebuilt.
7412 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7413 ICC_ProfileRGB.
7414
7415 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7416 display policy.
7417
7418 * java/awt/List.java (processEvent): Added missing `else's.
7419
7420 * java/awt/Window.java (show): validate() before showing. Make
7421 parent displayable.
7422 (isDisplayable): New method.
7423
7424 2002-11-07 Mark Wielaard <mark@klomp.org>
7425
7426 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7427 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7428
7429 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7430 annotation.
7431 (loadClass): Take String as codebases.
7432 (getClassAnnotation): Use MyClassLoader annotations.
7433 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7434 call exportObject(this).
7435
7436 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7437 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7438 (setAnnotation): Don't set locBytesStream and locStream.
7439 (replaceObject): Removed.
7440 (flush): Don't test locStream.
7441 (getLocBytes): LikeWise.
7442 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7443 (leaseCache): New field.
7444 (dirty): Use leaseCache.
7445 (LeaseRecord): New inner class.
7446 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7447 explicitly call exportObject().
7448 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7449 false to communicate with Sun JDK130.
7450 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7451 * gnu/java/rmi/server/RMIObjectInputStream.java
7452 (UnicastConnectionManager): Removed field.
7453 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7454 Use UnicastServer.getExportedRef().
7455 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7456 (expireTime): Likewise.
7457 (CONNECTION_TIMEOUT): Likewise.
7458 (disconnect): Call sock.close().
7459 (isExpired): New method.
7460 (resetTime): Likewise.
7461 (run): Use do while loop and catch Exception for discardConnection().
7462 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7463 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7464 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7465 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7466 (exportObject): Use refcache.
7467 (unexportObject): Likewise.
7468 (getExportedRef): New method.
7469 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7470 constructor.
7471 (exportObject): Save manager.serverobj.
7472 (getStub): New method.
7473
7474 2002-11-07 Mark Wielaard <mark@klomp.org>
7475
7476 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7477 (getByte): Likewise.
7478 (getShort): Likewise.
7479 (getInt): Likewise.
7480 (getLong): Likewise.
7481 (getFloat): Likewise.
7482 (getDouble): Likewise.
7483 (get): Likewise.
7484 (setChar): Likewise.
7485 (setByte): Likewise.
7486 (setShort): Likewise.
7487 (setInt): Likewise.
7488 (setLong): Likewise.
7489 (setFloat): Likewise.
7490 (setDouble): Likewise.
7491
7492 2002-11-07 Michael Koch <konqueror@gmx.de>
7493
7494 * java/awt/Choice.java,
7495 java/awt/Container.java,
7496 java/awt/GridBagLayout.java:
7497 Fixed documentation.
7498 * java/awt/peer/ContainerPeer.java:
7499 Reindented.
7500
7501 2002-11-07 Michael Koch <konqueror@gmx.de>
7502
7503 * java/awt/color/ICC_Profile.java:
7504 Added missing constants.
7505 * java/awt/color/ICC_ColorSpace.java
7506 (getMinValue): Added dummy implementation.
7507 (getMaxValue): Added dummy implementation.
7508 * java/awt/datatransfer/DataFlavor.java
7509 (imageFlavor): Added.
7510 (isMimeTypeEqual): Must be final.
7511 (getDefaultRepresentationClass): Must be non-static.
7512 (getDefaultRepresentationClassAsString): Must be non-static.
7513 * java/awt/dnd/DragSourceContext.java
7514 (dragExit): Corrected argument.
7515 (dragDropEnd): Corrected argument.
7516 * java/awt/dnd/DragSourceListener.java.java
7517 (dragExit): Corrected argument.
7518 (dragDropEnd): Corrected argument.
7519 * java/awt/font/TextHitInfo.java
7520 (toString): Added stubbed implementation.
7521 * java/awt/geom/PathIterator.java:
7522 The constants must be static.
7523 * java/awt/image/VolatileImage.java
7524 (IMAGE_INCOMPATIBLE): Fixed typo.
7525 * java/awt/image/renderable/RenderableImage.java
7526 (HINTS_OBSERVED): Must be static.
7527 * java/beans/BeanInfo.java:
7528 Constants must be final.
7529
7530 2002-11-06 Tom Tromey <tromey@redhat.com>
7531
7532 From svens@it.uu.se. For PR libgcj/8481.
7533 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7534
7535 2002-11-06 Tom Tromey <tromey@redhat.com>
7536
7537 * jni.cc (array_from_valist): Assume that jlong won't be
7538 promoted.
7539
7540 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7541
7542 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7543 Return 20.
7544 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7545 Return 16.
7546
7547 2002-11-03 Tom Tromey <tromey@redhat.com>
7548
7549 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7550 VMClassLoader, not findClass.
7551
7552 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7553
7554 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7555 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7556 _Jv_DetermineVTableIndex, to determine vtable offset.
7557 (_Jv_DetermineVTableIndex): Remove.
7558 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7559
7560 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7561
7562 2002-11-03 Tom Tromey <tromey@redhat.com>
7563
7564 * java/nio/channels/AlreadyConnectedException.java: Extend
7565 IllegalStateException, per spec.
7566
7567 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7568
7569 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7570
7571 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7572
7573 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7574 size items.
7575
7576 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7577
7578 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7579 initial estimated size to avoid enlarge buffer frequently.
7580
7581 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7582
7583 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7584 ClassLoader when null.
7585 (ProxyType.hashCode): Loader null check no longer needed.
7586 (ProxyType.sameTypes): New method.
7587 (ProxyType.equals): Use new method.
7588
7589 2002-10-31 Mark Wielaard <mark@klomp.org>
7590
7591 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7592 length of String.
7593 * java/net/URLEncoder.java (encode): Likewise.
7594
7595 2002-10-31 Mark Wielaard <mark@klomp.org>
7596
7597 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7598 when stream is closed.
7599 (closeEntry): Likewise.
7600 (read): Likewise.
7601 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7602 ZipException when no entry active.
7603 (closeEntry): Likewise.
7604 (write): Likewise.
7605
7606 2002-11-02 Tom Tromey <tromey@redhat.com>
7607
7608 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7609 * java/lang/natClass.cc (initializeClass): Don't return just
7610 because self==thread.
7611
7612 For PR java/8415:
7613 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7614 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7615
7616 2002-11-02 Andreas Schwab <schwab@suse.de>
7617
7618 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7619 pass GCJFLAGS.
7620 (FLAGS_TO_PASS): Define.
7621 * Makefile.in: Regenerated.
7622
7623 2002-11-01 Michael Koch <konqueror@gmx.de>
7624
7625 * java/nio/ByteOrder.java: New file.
7626 * java/nio/channels/DatagramChannel.java:
7627 (DatagramChannel): New constructor.
7628 * java/nio/channels/Pipe.java: New file.
7629 * java/nio/channels/SelectableChannel.java: New file.
7630 * java/nio/channels/SelectionKey.java: New file.
7631 * java/nio/channels/Selector.java: New file.
7632 * java/nio/channels/ServerSocketChannel.java
7633 (ServerSocketChannel): New constructor.
7634 * java/nio/channels/SocketChannel.java
7635 (SocketChannel): New constructor.
7636 * java/nio/channels/Pipe.java: New file.
7637 * java/nio/channels/spi/AbstractChannel.java: New file.
7638 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7639 * java/nio/channels/spi/AbstractSelectableChannel.java:
7640 License added
7641 (AbstractSelectableChannel): New stubbed method.
7642 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7643 * java/nio/channels/spi/AbstractSelector.java: New file.
7644 * java/nio/channels/spi/SelectorProvider.java: New file.
7645 * java/nio/charset/Charset.java: New file.
7646 * java/nio/charset/CoderMalfunctionError.java: New file.
7647 * java/nio/charset/CodingErrorAction.java: New file.
7648 * java/nio/charset/spi/CharsetProvider.java
7649 (charsetForName): Uncommented.
7650 * Makefile.am (java_native_source_files): Added new files.
7651 * Makefile.in: Regenerated.
7652
7653 2002-11-01 Michael Koch <konqueror@gmx.de>
7654
7655 * java/net/InetAddress.java:
7656 (isAnyLocalAddress): Implemented.
7657 (isLoopbackAddress): Implemented, comment added.
7658 (isLinkLocalAddress): Implemented, documentation added.
7659 (isSiteLocalAddress): Implemented, documentation added.
7660 (isMCGlobal): Implemented, documentation added.
7661 (isMCNodeLocal): Implemented, documentation added.
7662 (isMCLinkLocal): Implemented, documentation added.
7663 (isMCSiteLocal): Implemented, documentation added.
7664 (isMCOrgLocal): Implemented, documentation added.
7665 (getHostName): Documentation added.
7666 (getCanonicalHostName): Implemented, documentation added.
7667 (getAddress): Documentation added.
7668 (hashCode): Documentation added.
7669 (equals): Documentation added.
7670 (toString): Fixed implementation.
7671 (getByAddress): Use Inet4Address and Inet6Address.
7672 (lookup): New linewrap.
7673 (getByName): SecurityManager check added, support Inet4Address and
7674 Inet6address, comments added.
7675 (getAllByName): SecurityManager check added, comments added.
7676 * java/net/Inet6Address.java:
7677 (Inet6Address): Initialize parent class with addr instead of null.
7678 * java/net/URL.java
7679 (equals): Documentation added.
7680 (getFile): Documentation added.
7681 (hashCode): Documentation added.
7682 * java/net/natInetAddress.cc:
7683 (aton): Fix IPv6 support.
7684 * java/net/natPlainDatagramSocketImpl.cc:
7685 (peek): Throw PortUnreachableException when suitable.
7686 (peekData): Throw PortUnreachableException when suitable.
7687 (send): Throw PortUnreachableException when suitable.
7688 (receive): Throw PortUnreachableException when suitable.
7689
7690 2002-10-27 Mark Wielaard <mark@klomp.org>
7691
7692 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7693 argument.
7694 (readLeShort): Likewise and use byte[].
7695 (readLeInt): Likewise.
7696 (readEntries): Use new versions of methods and use byte[] for reading
7697 a complete zip entry. Add ZipFile name to exceptions.
7698 (entries): Add ZipFile name to exceptions.
7699 (getEntry): Likewise.
7700 (checkLocalHeader): Use new versions of methods and add ZipFile name
7701 to exceptions.
7702
7703 2002-10-31 Mark Anderson <mark@panonet.net>
7704
7705 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7706 added
7707
7708 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7709
7710 * configure.in: Disable hash sync when not using threads.
7711 * configure: Regenerated.
7712
7713 2002-10-24 Tom Tromey <tromey@redhat.com>
7714
7715 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7716 (_Jv_FindSymbolInExecutable): Removed argument name.
7717 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7718 java.library.path is set.
7719
7720 * gij.cc (help): Document --showversion.
7721 (version): Don't exit.
7722 (main): Handle --showversion. Exit if --version given.
7723
7724 2002-10-23 Tom Tromey <tromey@redhat.com>
7725
7726 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7727 (array_from_valist): Correctly handle promotion for jint, jlong,
7728 jfloat, and jdouble.
7729
7730 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7731
7732 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7733 GetFileAttributesEx( ) to find file length and modification times,
7734 as the latter is not present on Windows 95.
7735
7736 2002-10-21 Michael Koch <konqueror@gmx.de>
7737
7738 * java/net/URL.java
7739 (URL): Activate SecurityManager checks.
7740 (equals): Use URLStreamHandler implementation instead of doing it
7741 alone. This allows special protocol stream handlers to change default
7742 behaviour.
7743 (hashCode): Use URLStreamHandler implementation instead of doing it
7744 alone. This allows special protocol stream handlers to change default
7745 behaviour.
7746 * java/net/URLStreamHandler.java
7747 (equals): Implemented default URL equality check.
7748 (hostsEqual): Implemented default URL equality check.
7749 (hashCode): Implemented default URL hashCode algorithm.
7750 * java/net/natPlainDatagramSocketImpl.cc:
7751 No lines longer then 80 characters.
7752
7753 2002-10-20 Adam Megacz <adam@xwt.org>
7754
7755 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7756 * configure.in: enabled hash sync on Win32
7757 * include/win32-threads.h (_Jv_ThreadId_t): added.
7758 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7759 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7760 removed some posix-isms, use Thread::sleep() instead of usleep,
7761 added code to clear bottom three bits if platform has a broken
7762 linker.
7763 * include/win32-threads.h (_Jv_ThreadId_t): added.
7764
7765 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7766
7767 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7768 runtime property "gnu.gcj.progname" containing the name used to
7769 invoke the current Java program (similar to argv[0] for C
7770 programs).
7771
7772 2002-10-15 Tom Tromey <tromey@redhat.com>
7773
7774 Fix for PR libgcj/8234:
7775 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7776 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7777
7778 2002-10-13 Mark Wielaard <mark@klomp.org>
7779
7780 * mauve-libgcj: Enable Mauve tests that compile now.
7781
7782 2002-10-11 Mark Wielaard <mark@klomp.org>
7783
7784 Fix for PR libgcj/8142
7785 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7786 loading native modules.
7787
7788 2002-10-10 Michael Koch <konqueror@gmx.de>
7789
7790 * javax/swing/AbstractListModel.java
7791 (getListDataListeners): New stubbed method.
7792 javax/swing/DefaultBoundedRangeModel.java
7793 (getChangeListeners): New stubbed method.
7794 javax/swing/DefaultSingleSelectionModel.java
7795 (getChangeListeners): New stubbed method.
7796
7797 2002-10-10 Michael Koch <konqueror@gmx.de>
7798
7799 * gcj/.cvsignore: New file to ignore files generated during build.
7800 * include/.cvsignore: New file to ignore files generated during build.
7801
7802 2002-10-10 Michael Koch <konqueror@gmx.de>
7803
7804 * java/net/HttpURLConnection.java
7805 (getPermission): New method.
7806 (getErrorStream): New stub method.
7807 (getHeaderFieldDate): New stub method.
7808 * java/net/Inet4Address.java:
7809 (isLinkLocalAddress): Typo fixed.
7810 * java/net/InetAddress.java:
7811 (readResolve): New stubbed method (for serialization).
7812 (isAnyLocalAddress): New stubbed method.
7813 (isLoopbackAddress): New stubbed method.
7814 (isLinkLocalAddress): New stubbed method.
7815 (isSiteLocalAddress): New stubbed method.
7816 (isMCGlobal): New stubbed method.
7817 (isMCNodeGlobal): New stubbed method.
7818 (isMCLinkLocal): New stubbed method.
7819 (isMCSiteLocal): New stubbed method.
7820 (isMCOrgLocal): New stubbed method.
7821 (getCanonicalHostName): New stubbed method.
7822 (getByAddress): Create instances of Inet4Address/Inet6Address,
7823 instead of InetAddress, documentation added.
7824 * java/net/MulticastSocket.java
7825 (getInterface): Removed FIXME.
7826 (getNetworkInterface): New method.
7827 (setNetworkInterface): New method.
7828 * java/net/NetworkInterface.java:
7829 (toString): Use property "line.separator" instead of "\n".
7830 * java/net/URLConnection.java
7831 (getContent): New stubbed method.
7832 * java/net/URLStreamHandler.java:
7833 (equals): New stubbed method.
7834 (hostsEqual): New stubbed method.
7835 (hashCode): New stubbed method.
7836 * java/net/natNetworkInterface.cc:
7837 (getRealNetworkInterfaces): Create Inet4Address object
7838 instead of InetAddress.
7839
7840 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7841
7842 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7843 unsigned long temporary to implement insn_iushr shifts.
7844
7845 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7846
7847 * configure.host [s390*-*]: Enable Java interpreter.
7848 Enable hash synchronization. Add sysdeps dir.
7849 * sysdep/s390/locks.h: New file.
7850
7851 2002-10-06 Mark Wielaard <mark@klomp.org>
7852
7853 * java/lang/Thread.java (setDaemon): Check startable_flag,
7854 not isAlive().
7855
7856 2002-10-07 Michael Koch <konqueror@gmx.de>
7857
7858 * java/nio/Buffer.java: New stub file.
7859 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7860 of class Charset.
7861 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7862 * Makefile.in: Regenerated.
7863
7864 2002-10-07 Michael Koch <konqueror@gmx.de>
7865
7866 * java/nio/ByteBuffer.java:
7867 removed import of not commited class.
7868
7869 2002-10-07 Michael Koch <konqueror@gmx.de>
7870
7871 * java/nio/ByteBuffer.java,
7872 java/nio/MappedByteBuffer.java:
7873 New files, forgot to add these dummies.
7874 * Makefile.am (java_native_source_files): Added new files.
7875 * Makefile.in: Regenerated.
7876
7877 2002-10-07 Michael Koch <konqueror@gmx.de>
7878
7879 * java/nio/channels/AlreadyConnectedException.java,
7880 java/nio/channels/ClosedChannelException.java,
7881 java/nio/channels/ReadableByteChannel.java,
7882 java/nio/channels/InterruptibleChannel.java,
7883 java/nio/channels/Channel.java,
7884 java/nio/channels/ByteChannel.java,
7885 java/nio/channels/GatheringByteChannel.java,
7886 java/nio/channels/ScatteringByteChannel.java,
7887 java/nio/channels/WritableByteChannel.java,
7888 java/nio/charset/CharacterCodingException.java,
7889 java/nio/charset/IllegalCharsetNameException.java,
7890 java/nio/charset/MalformedInputException.java,
7891 java/nio/charset/UnmappableCharacterException.java,
7892 java/nio/charset/UnsupportedCharsetException.java,
7893 java/nio/charset/spi/CharsetProvider.java: New file.
7894 These files are exceptions or interfaces,
7895 no real or abstract classes.
7896 * Makefile.am (java_native_source_files): Added new files.
7897 * Makefile.in: Regenerated.
7898
7899 2002-10-05 Michael Koch <konqueror@gmx.de>
7900
7901 * java/net/InetAddress.java
7902 (getByAddress): Fixed documentation.
7903 (getByAddress): New method.
7904 * java/net/Inet4Address.java: New file.
7905 * java/net/URL.java
7906 (URL): Documentation added.
7907 (getContent): Documentation added.
7908 (getContent): New stubbed method.
7909 (getQuery): New method.
7910 (openConnection): Documentation added.
7911 (openStream): Documentation added.
7912 (setURLStreamHandlerFactory): Documentation added.
7913 * java/net/URI.java: New stub file.
7914 * Makefile.am
7915 (java_native_source_files): Added java/net/Inet4Address.java,
7916 java/net/Inet6Address.java and java/net/URI.java.
7917 * Makefile.in: Regenerated.
7918
7919 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7920
7921 * java/lang/ProtectionDomain.java (linesep): Remove field.
7922 (toString): Use System.getProperty("line.separator").
7923
7924 2002-10-04 Michael Koch <konqueror@gmx.de>
7925
7926 * java/security/Identity.java: Added serialVersionUID.
7927 * java/security/KeyPair.java: Added serialVersionUID.
7928 * java/security/Provider.java: Added serialVersionUID.
7929 * java/security/SecureRandom.java: Added serialVersionUID.
7930 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7931 * java/security/SignedObject.java: Added serialVersionUID.
7932 * java/security/cert/Certificate.java: Added serialVersionUID.
7933
7934 2002-10-04 Mark Wielaard <mark@klomp.org>
7935
7936 * java/security/Security.java: Use java.home or gnu.classpath.home
7937 to load providers.
7938 (loadProviders): Extra dir argument.
7939 (getProvider): Return null when not found.
7940
7941 2002-10-04 Mark Wielaard <mark@klomp.org>
7942
7943 * java/lang/Throwable.java: Remerge with Classpath.
7944
7945 2002-10-04 Michael Koch <konqueror@gmx.de>
7946
7947 * java/net/InetAddress.java:
7948 (isMulticastAddress): Added documentation.
7949 (getHostAddress): Added documentation.
7950 (toString): Added documentation.
7951 (getByAddress): Fixed documentation.
7952 (getByName): Added documentation.
7953 (getAllByName): Added documentation.
7954 (getLocalHost): Added documentation.
7955
7956 2002-10-04 Michael Koch <konqueror@gmx.de>
7957
7958 * java/beans/beancontext/BeanContextChildSupport.java:
7959 Added serialVersionUID.
7960 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7961 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7962 * javax/naming/Name.java: Added serialVersionUID.
7963
7964 2002-10-03 Adam Megacz <adam@xwt.org>
7965
7966 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7967 some functionality that isn't supported yet on WIN32.
7968
7969 2002-10-03 Tom Tromey <tromey@redhat.com>
7970
7971 * Makefile.in: Rebuilt.
7972 * Makefile.am (awt_java_source_files): Added new files.
7973
7974 2002-10-03 Michael Koch <konqueror@gmx.de>
7975
7976 * java/net/InetAddress.java
7977 (class InetAddress): Removed final keyword.
7978 (equals): Fixed typo.
7979 (getByAddress): New method.
7980
7981 2002-10-03 Michael Koch <konqueror@gmx.de>
7982
7983 * java/awt/dnd/Autoscroll.java:
7984 New file, merge from Classpath.
7985 * java/awt/dnd/DragSourceAdapter.java:
7986 (dragExit): Fixed typos in argument type.
7987 (dragDropEnd): Fixed typos in argument type.
7988 * java/awt/dnd/DragSourceDropEvent.java:
7989 New file, merge from Classpath.
7990 * java/awt/dnd/DropTarget.java:
7991 Added stubs, merge from Classpath.
7992 * java/awt/dnd/DropTargetAdapter.java:
7993 New file, merge from Classpath.
7994 * java/awt/dnd/DropTargetContext.java:
7995 New file, merge from Classpath.
7996 * java/awt/dnd/DropTargetDragEvent.java:
7997 New file, merge from Classpath.
7998 * java/awt/dnd/DropTargetDropEvent.java:
7999 New file, merge from Classpath.
8000 * java/awt/dnd/DropTargetEvent.java:
8001 New file, merge from Classpath.
8002 * java/awt/dnd/DropTargetListener.java:
8003 New file, merge from Classpath.
8004 * java/awt/dnd/MouseDragGestureRecognizer.java:
8005 New file, merge from Classpath.
8006 * java/awt/dnd/peer/DropTargetContextPeer.java:
8007 New file, merge from Classpath.
8008
8009 2002-10-03 Michael Koch <konqueror@gmx.de>
8010
8011 * java/net/DatagramPacket.java
8012 (setLength): Fixed typo and be HTML-aware.
8013 * java/net/InetSocketAddress.java
8014 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8015 (equals): Added comment about equality of InetSocketAddress objects.
8016 * java/net/ServerSocket.java
8017 (accept): Added checks.
8018 (isClosed): New stubbed method.
8019 * java/net/SocketOptions.java: Reindention.
8020 * java/net/SocketPermission
8021 (SocketPermission): Documentation fixed.
8022
8023 2002-10-03 Michael Koch <konqueror@gmx.de>
8024
8025 * java/net/DatagramSocket.java
8026 (receive): Check with SecurityManager AFTER the packet is received,
8027 check if connected to multicast address, documentation added.
8028 (send): Only check SecurityManager if connected, check address of
8029 packet to send.
8030 (connect): Implemented, documentation added.
8031 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8032 * java/net/InetSocketAddress.java
8033 (whole file): Reindented.
8034 (hostname): New attribute.
8035 (InetSocketAddress): Initialize new attribute.
8036 (getAddress): Documentation added.
8037 (getHostName): Documentation added.
8038 (getPort): Documentation added.
8039 (hashCode): Documentation added.
8040 (isUnresolved): Documentation added.
8041 (toString): Conform to output of JDK 1.4.1, documentation added.
8042 * java/net/MulticastSocket.java
8043 (joinGroup): Removed FIXME, documentation added.
8044 (leaveGroup): Removed FIXME, documentation added.
8045 (send): Documentation added.
8046 * java/net/Socket.java
8047 (inputShutdown): New variable.
8048 (outputShutdown): New variable.
8049 (Socket): Initialize new variables.
8050 (getRemoteSocketAddress): Check if connected.
8051 (shutdownInput): Set new variable.
8052 (shutdownOutput): Set new variable.
8053 (isConnected): New method.
8054 (isClosed): New method.
8055 (isInputShutdown): New method.
8056 (isOutputShutdown): New method.
8057 * java/net/URLStreamHandler.java
8058 (URLStreamHandler): New method.
8059 (openConnection): Added documentation.
8060 (parseURL): Added documentation.
8061 (getHostAddress): New method.
8062 (getDefaultPort): New method.
8063
8064 2002-10-02 Tom Tromey <tromey@redhat.com>
8065
8066 * java/rmi/activation/ActivationDesc.java,
8067 java/rmi/activation/ActivationGroupDesc.java,
8068 java/rmi/activation/ActivationGroupID.java,
8069 java/rmi/activation/ActivationID.java: New versions from
8070 Classpath.
8071
8072 2002-09-30 Bo Thorsen <bo@suse.de>
8073
8074 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8075
8076 2002-09-30 Tom Tromey <tromey@redhat.com>
8077
8078 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8079 from Classpath.
8080 * Makefile.in: Rebuilt.
8081 * Makefile.am (rmi_java_source_files): Added new files.
8082 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8083 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8084 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8085 Classpath.
8086 * gnu/java/rmi/dgc/DGCImpl.java,
8087 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8088 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8089 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8090 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8091 gnu/java/rmi/server/RMIHashes.java,
8092 gnu/java/rmi/server/RMIObjectInputStream.java,
8093 gnu/java/rmi/server/RMIObjectOutputStream.java,
8094 gnu/java/rmi/server/UnicastConnection.java,
8095 gnu/java/rmi/server/UnicastConnectionManager.java,
8096 gnu/java/rmi/server/UnicastRef.java,
8097 gnu/java/rmi/server/UnicastServer.java,
8098 gnu/java/rmi/server/UnicastServerRef.java,
8099 java/rmi/MarshalledObject.java,
8100 java/rmi/server/RMIClassLoader.java,
8101 java/rmi/server/RemoteObject.java,
8102 java/rmi/server/UnicastRemoteObject.java,
8103 java/security/SecureClassLoader.java: Merged from Classpath.
8104
8105 2002-09-29 Anthony Green <green@redhat.com>
8106
8107 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8108 Imported from GNU Classpath.
8109 * java/lang/reflect/natProxy.cc: New file.
8110 * java/lang/reflect/InvocationHandler.java: New file. Imported
8111 from GNU Classpath.
8112 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8113 Classpath.
8114 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8115 Classpath.
8116 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8117 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8118 New statics.
8119 * gcj/javaprims.h ("Java"): Add new classes.
8120 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8121 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8122 java/lang/reflect/Proxy$$ProxyType.h): And this.
8123 (inner_nat_headers): Add these new headers.
8124 (ordinary_java_source_files): Add new files.
8125 (nat_source_files): Add new file.
8126 * Makefile.in: Rebuilt.
8127
8128 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8129
8130 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8131 a single configuration.
8132
8133 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8134
8135 * java/util/TimeZone.java (getDSTSavings): New method.
8136 Fixes PR libgcj/7786.
8137
8138 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8139
8140 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8141 to see if `the_method == 0' before looking up vtable index.
8142 Fixes PR libgcj/7709.
8143
8144 2002-09-25 Tom Tromey <tromey@redhat.com>
8145
8146 * java/lang/natClassLoader.cc:
8147 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8148 * resolve.cc: Include NoClassDefFoundError.h, not
8149 ClassNotFoundException.h.
8150 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8151
8152 * defineclass.cc: Don't include ClassNotFoundException.h.
8153
8154 * resolve.cc: Include StringBuffer.
8155 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8156
8157 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8158 allocated but not initialized.
8159
8160 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8161
8162 Fix for PR libgcj/7766:
8163 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8164 (getNextEntry): Set it.
8165 (closeEntry): Likewise.
8166 (read): Likewise.
8167 (close): Likewise.
8168 (available): Use it.
8169
8170 2002-09-25 Michael Koch <konqueror@gmx.de>
8171
8172 * java/net/DatagramSocket.java
8173 (DatagramSocket): Initialize new instance variables.
8174 (close): Reset new instance variables.
8175 (getLocalAddress): Remove unneeded SecurityManager usage.
8176 (getLocalPort): Check if socket is already bound.
8177 (isConnected): New method.
8178 (getInetAddress): Implemented.
8179 (getPort): Better Implementation, documentation fixed.
8180 (getRemoteSocketAddress): New method.
8181 * java/net/JarURLConnection.java
8182 (element): Typo fixed.
8183 (getMainAttributes): New method.
8184 (getAttributes): New method (stub only).
8185 (getManifest): New method (stub only).
8186 * java/net/NetPermission.java: Added serialVersionsUID.
8187 * java/net/Socket.java
8188 (connect): Check blocking mode of associated channel,
8189 documentation added.
8190 (getLocalSocketAddress): Better implementation.
8191 (getRemoteSocketAddress): Implemented.
8192 (isBound): New method.
8193 (setSendBufferSize): Documentation added.
8194 * java/net/SocketAddress.java: Added serialVersionsUID.
8195 * java/net/SocketPermission.java: Added serialVersionsUID.
8196 * java/net/URL.java
8197 (URL): Wrap for shorter lines, initialize new instance variables,
8198 documentation added.
8199 (equals): Check new instance variables too.
8200 (getContent): Documentation added.
8201 (getPath): Documentation added.
8202 (getAuthority): New method.
8203 (getHost): Documentation added.
8204 (getPort): Documentation added.
8205 (getDefaultPort): New method.
8206 (getProtocol): Documentation added.
8207 (getUserInfo): Documentation added.
8208 (set): Initialize new instance variables, documentation added.
8209 * java/net/URLStreamHandler.java
8210 (setURL): New method.
8211 * java/net/natPlainDatagramSocketImpl.cc
8212 (connect): Fix exception name.
8213 (disconnect): Fix exception name.
8214
8215 2002-09-25 Michael Koch <konqueror@gmx.de>
8216
8217 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8218 * java/nio/channels/DatagramChannel.java:
8219 extends AbstractSelectableChannel
8220 * java/nio/channels/ServerSocketChannel.java:
8221 extends AbstractSelectableChannel
8222 * java/nio/channels/SocketChannel.java:
8223 extends AbstractSelectableChannel
8224 * Makefile.am (ordinary_java_source_files):
8225 java/nio/channels/spi/AbstractSelectableChannel.java added.
8226 * Makefile.in: Regenerated.
8227
8228 2002-09-25 Michael Koch <konqueror@gmx.de>
8229
8230 * java/net/DatagramSocket.java
8231 (DatagramSocket): Exception documentation added.
8232 (bind): Exception documentation added, addded SecurityManager check,
8233 added SocketAddress type check.
8234 (getSoTimeout): Check impl.
8235 (receive): Fix SecurityManager check, check impl, documentation added.
8236 (send): Check channel mode, documentation added.
8237 (connect): New method.
8238 (disconnect): Implemented.
8239 (getLocalSocketAddress): New method.
8240 (getReceiveBufferSize): Check impl.
8241 (setReuseAddress): Check impl.
8242 (getReuseAddress): Check impl.
8243 (setBroadcast): Check impl.
8244 (getBroadcast): Check impl.
8245 (setTrafficClass): Check impl, Documentation cleared.
8246 (getTrafficClass): Check impl.
8247 (getSendBufferSize): Check impl.
8248 (setReceiveBufferSize): Check impl, documentation added.
8249 (setSendBufferSize): Documentation added.
8250 (setDatagramSocketImplFactory): New method.
8251 * java/net/HttpURLConnection.java
8252 (HTTP_INTERNAL_ERROR): The correct code is 500.
8253 (HTTP_NOT_IMPLEMENTED): Added new constant.
8254 (setFollowRedirects): Documentation added.
8255 (getInstanceFollowRedirects): New method.
8256 (setInstanceFollowRedirects): New method.
8257 (setRequestMethod): Documentation added.
8258 (getResponseCode): Documentation added.
8259 (getResponseMessage): Documentation added.
8260 * java/net/JarURLConnection.java
8261 (JarURLConnection): protected since JDK 1.4.
8262 (getJarEntry): java.io.IOException to IOException, documentation added.
8263 (getJarFile): Documentation added.
8264 * java/net/ServerSocket.java
8265 (ServerSocket): Private to public, exception added.
8266 (ServerSocket): java.io.IOException to IOException, documentation added.
8267 (bind): Check socket address type, documentation added.
8268 (bind): java.io.IOException to IOException, documentation added.
8269 (accept): Documentation added.
8270 (implAccept): Check ch is not non-blocking, documentation added.
8271 (setSoTimeout): Documentation fixed.
8272 (setReceiveBufferSize): Documentation added.
8273 * java/net/Socket.java
8274 (Socket): Documentation added.
8275 (bind): Documentation added.
8276 (connect): Check socket address type, documentation added.
8277 (getRemoteSocketAddress): New method.
8278 (getLocalSocketAddress): New method.
8279 (setSoLinger): Documentation added.
8280 (getReuseAddress): New method.
8281 (setReuseAddress): New method.
8282 (getTrafficClass): New method.
8283 (setTrafficClass): New method.
8284 * java/net/URLStreamHandler.java
8285 (openConnection): java.io.IOException to IOException.
8286 (parseURL): Documentation added.
8287 (sameFile): public to protected, documentation added.
8288 (setURL): Documentation added.
8289 * java/nio/IllegalBlockingModeException.java: New file.
8290 * Makefile.am (ordinary_java_source_files):
8291 added java/nio/IllegalBlockingModeException.java
8292 * Makefile.in: Regenerated.
8293
8294 2002-09-25 Michael Koch <konqueror@gmx.de>
8295
8296 * java/net/DatagramPacket
8297 (DatagramPacket): Exception documentation added.
8298 (setData): Likewise.
8299 (setSocketAddress): Likewise.
8300 * java/net/DatagramSocketImpl.java
8301 (peek): Documentation addded.
8302 (peekData): Documentation addded.
8303 (send): Documentation addded.
8304 (receive): Documentation addded.
8305 (connect): New method.
8306 (disconnect): New method.
8307 (joinGroup): New abstract method.
8308 (leaveGroup): New abstract method.
8309 * java/net/InetSocketAddress.java
8310 (InetSocketAddress): Documentation added.
8311 (equals): final keyword added.
8312 (getAddress): final keyword added.
8313 (getHostName): final keyword added.
8314 (getPort): final keyword added.
8315 (hashCode): final keyword added.
8316 (isUnresolved): final keyword added.
8317 * java/net/MulticastSocket.java
8318 (MulticastSocket): Documentation added.
8319 (MulticastSocket): New method.
8320 (joinGroup): Documentation added.
8321 (joinGroup): New method.
8322 (leaveGroup): Documentation added.
8323 (leaveGroup): New method.
8324 (send): Documentation added.
8325 * java/net/NetworkInterface.java
8326 (getByName): Documentation added.
8327 (getByInetAddress): Documentation added.
8328 (getNetworkInterfaces): Documentation added.
8329 * java/net/PlainDatagramSocketImpl.java
8330 (connect): New method.
8331 (disconnect): New method.
8332 * java/net/SocketImpl.java
8333 (create): Documentation added.
8334 (shutdownInput): Convert public to protected, as it always was.
8335 (shutdownOutput): Convert public to protected, as it always was.
8336 * java/net/SocketOptions.java
8337 (whole file): Reintented.
8338 * java/net/URLClassLoader.java
8339 (URLClassLoader): SecurityManager check added, documentation added.
8340 (findResources): Documentation added.
8341 (findClass): Documentation added.
8342 (newInstance): More correct method arguments.
8343 * java/net/URLConnection.java
8344 (connect): Documentation added.
8345 (getContent): Documentation added.
8346 (getPermission): Documentation added.
8347 (getInputStream): Documentation added.
8348 (getOutputStream): Documentation added.
8349 (setDoInput): Throw correct exception, documentation added.
8350 (setDoOutput): Throw correct exception, documentation added.
8351 (setAllowUserInteraction): Throw correct exception, documentation added.
8352 (setUseCaches): Throw correct exception, documentation added.
8353 (setIfModifiedSince): Throw correct exception, documentation added.
8354 (setRequestProperty): Throw exception, documentation added.
8355 (addRequestProperty): Throw exception, documentation added.
8356 (getRequestProperty): Throw exception, documentation added.
8357 (getRequestProperties): Documentation added.
8358 (setContentHandlerFactory): Documentation added.
8359 (guessContentTypeFromName): protected to public.
8360 (setFileNameMap): Documentation added.
8361 * java/net/URLDecoder.java
8362 (URLDecoder): New method.
8363 (decode): Documentation added.
8364 (whole file): Reindented.
8365 * java/net/URLEncoder.java
8366 (encode): Documentation added.
8367 * java/net/natPlainDatagramSocketImpl.cc
8368 (connect): New method.
8369 (disconnect): New method.
8370 * javax/naming/RefAddr:
8371 (addrType): addrType was never final.
8372 (equals): Fix typo in method name.
8373 * javax/naming/BinaryRefAddr:
8374 (equals): Fix typo in method name.
8375
8376 2002-09-22 Tom Tromey <tromey@redhat.com>
8377
8378 Fix for PR libgcj/6576:
8379 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8380 didn't find a given bundle.
8381 (getBundle): Don't require base bundle.
8382 (setParent): Removed old comment.
8383 (tryLocalBundle): Try components even if preceding components were
8384 empty.
8385
8386 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8387
8388 * Makefile.am (all-multi): Fix multilib parallel build.
8389
8390 2002-09-21 Michael Koch <konqueror@gmx.de>
8391
8392 * java/net/Socket.java
8393 (sendUrgentData): New method.
8394 (getChannel): New method.
8395 * java/net/ServerSocket.java
8396 (getChannel): New method.
8397 (isBound): New method.
8398 * java/net/DatagramSocket.java
8399 (DatagramSocket): Two new methods.
8400 (bind): New method.
8401 (getChannel): New method.
8402 (isBound): New method.
8403 (send): Added newline to to make shorter lines.
8404 * java/net/PlainDatagramSocketImpl.java
8405 (mcastGrp): Added argument.
8406 (join): Use new mcastGrp.
8407 (leave): Use new mcastGrp.
8408 (joinGroup): New method.
8409 (leaveGroup): New method.
8410 * java/net/natPlainDatagramSocketImpl.cc
8411 (mcastGrp): Added argument, no yet really implemented.
8412 (getOption): Added newline for shorter lines.
8413 * java/net/natPlainSocketImpl.cc
8414 (read, setOption, getOption): Added newline for shorter lines.
8415
8416 2002-09-19 Tom Tromey <tromey@redhat.com>
8417
8418 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8419 newly-created exception.
8420
8421 2002-09-18 Michael Koch <konqueror@gmx.de>
8422
8423 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8424 java/util/regex/PatternSyntaxException.java:
8425 Merge with classpath, new files.
8426 * Makefile.am (core_java_source_files):
8427 Added java/util/regex/Matcher.java,
8428 java/util/regex/Pattern.java,
8429 java/util/regex/PatternSyntaxException.java
8430 * Makefile.in: Regenerated.
8431 * include/config.h.in: Added HAVE_NET_IF_H.
8432 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8433 Removed #if 0 ... #endif.
8434
8435 2002-09-17 Michael Koch <konqueror@gmx.de>
8436
8437 * java/net/natNetworkInterface.cc:
8438 Removed unneed and yet wrong includes.
8439
8440 2002-09-17 Michael Koch <konqueror@gmx.de>
8441
8442 * java/net/NetworkInterface.java: New file.
8443 * java/net/natNetworkInterface.java: New file.
8444 * configure.in: Added check for net/if.h.
8445 * configure: Regenerated.
8446 * Makefile.am
8447 (ordinary_java_source_files): Added NetworkInterface.java.
8448 (nat_source_files): Added natNetworkInterface.cc.
8449 * Makefile.in: Regenerated.
8450
8451 2002-09-16 Tom Tromey <tromey@redhat.com>
8452
8453 * java/net/URLClassLoader.java (findClass): Code source for a
8454 class from a jar is not necessarily a jar: URL.
8455
8456 2002-09-16 Michael Koch <konqueror@gmx.de>
8457
8458 * java/lang/AssertionError.java:
8459 Merge with classpath, fixes HTML.
8460 * java/rmi/server/LogStream.java:
8461 Merge with classpath, fixes some constants.
8462 * java/net/server/RemoteServer.java:
8463 Merge with classpath, adds serialVersionUID.
8464 * javax/naming/BinaryRefAddr.java:
8465 Merge with classpath, s/equal/equals/.
8466 * javax/naming/NamingException.java:
8467 Merge with classpath, fixed typo.
8468 * javax/naming/RefAddr.java:
8469 Merge with classpath, s/equal/equals/.
8470 * java/awt/Toolkit.java:
8471 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8472 and typo fixed.
8473
8474 2002-09-15 Adam Megacz <adam@xwt.org>
8475
8476 * java/net/natPlainSocketImpl.cc: fixed typo.
8477
8478 2002-09-15 Adam Megacz <adam@xwt.org>
8479
8480 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8481 which don't work on Win32 (yet).
8482
8483 2002-09-14 Adam Megacz <adam@xwt.org>
8484
8485 * java/net/natPlainDatagramSocket.cc: removed #include
8486 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8487 * include/win32.h: included definition for IP_TOS to satisfy
8488 natPlainDatagramSocket.cc
8489
8490 2002-09-13 Michael Koch <konqueror@gmx.de>
8491
8492 * java/net/DatagramPacket.java (DatagramPacket):
8493 Added linebreak for 80 chars per line.
8494 * java/net/JarURLConection.java
8495 (getInputStreami, getJarEntry): Likewise.
8496 * java/net/SocketPErmission.java
8497 (SocketPermission class docu, implies): Likewise.
8498 * java/net/URLClassLoader.java (findResources): Likewise.
8499 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8500
8501 2002-09-13 Michael Koch <konqueror@gmx.de>
8502
8503 * java/nio/channels/DatagramChannel.java,
8504 java/nio/channels/ServerSocketChannel.java
8505 java/nio/channels/SocketChannel.java:
8506 New dummy files to make java.net fully JDK 1.4 compatible
8507 * Makefile.am (ordinary_java_source_files): Added
8508 java/net/DatagramSocketImplFactory.java (long forgotten),
8509 java/nio/SocketChannel.java,
8510 java/nio/ServerSocketChannel.java,
8511 java/nio/DatagramChannel.java
8512 * Makefile.in: Regenrated.
8513
8514 2002-09-12 Michael Koch <konqueror@gmx.de>
8515
8516 * java/net/DatagramSocketImpl.java
8517 (peekData): New method.
8518 * java/net/PlainDatagramSocketImpl.java
8519 (peekData): New method.
8520 * java/net/natPlainDatagramSocketImpl.cc
8521 (peekData): New method.
8522 * java/net/URLConnection
8523 (getPermission): New method.
8524 (addRequestProperty): New method.
8525 (getRequestProperties): New method.
8526 (guessContentTypeFromStream): New method, not really implemented.
8527 (URLConnection): Added/updated documentation.
8528 (connect): Added/updated documentation.
8529 (getURL): Added/updated documentation.
8530 (getContentLength): Added/updated documentation.
8531 (getContentType: Added/updated documentation.
8532 (getContentEncoding): Added/updated documentation.
8533 (getExpiration): Added/updated documentation.
8534 (getDate): Added/updated documentation.
8535 (getLastModified): Added/updated documentation.
8536 (getHeaderField): Added/updated documentation.
8537 (getHeaderFields): Added/updated documentation.
8538 (getHeaderFieldInt): Added/updated documentation.
8539 (getHeaderFieldDate): Added/updated documentation.
8540 (getHeaderFieldKey): Added/updated documentation.
8541 (getContent): Added/updated documentation.
8542 (getInputStream): Added/updated documentation.
8543 (getOutputStream): Added/updated documentation.
8544 (toString): Added/updated documentation.
8545 (setDoInput): Added/updated documentation.
8546 (getDoInput): Added/updated documentation.
8547 (setDoOutput): Added/updated documentation.
8548 (getDoOutput): Added/updated documentation.
8549 (setAllowUserInteraction): Added/updated documentation.
8550 (getAllowUserInteraction): Added/updated documentation.
8551 (setDefaultAllowUserInteraction): Added/updated documentation.
8552 (getDefaultAllowUserInteraction): Added/updated documentation.
8553 (setUseCaches): Added/updated documentation.
8554 (getUseCaches): Added/updated documentation.
8555 (setIfModifiedSince): Added/updated documentation.
8556 (getIfModifiedSince): Added/updated documentation.
8557 (getDefaultUseCaches): Added/updated documentation.
8558 (setDefaultUseCaches): Added/updated documentation.
8559 (setRequestProperty): Added/updated documentation.
8560 (getRequestProperty): Added/updated documentation.
8561 (setDefaultRequestProperty): Added/updated documentation.
8562 (getDefaultRequestProperty): Added/updated documentation.
8563 (setContentHandlerFactory): Added/updated documentation.
8564 (guessContentTypeFromName): Added/updated documentation.
8565 (getFileNameMap): Added/updated documentation.
8566 (setFileNameMap): Added/updated documentation.
8567
8568 2002-09-11 Michael Koch <konqueror@gmx.de>
8569
8570 * java/net/Socket.java
8571 (Socket): protected to public (since JDK 1.4). Added @specnote.
8572 (bind): New method.
8573 (connect): Two new methods.
8574 (getKeepalive): Get correct socket option.
8575 (setKeepalive): Set correct socket option.
8576 (getOOBInline): New method.
8577 (setOOBInline): New method.
8578 * java/net/ServerSocket.java
8579 (bind): Two new methods.
8580 (getInetAddress): Reimplemented, catch exception.
8581 (getLocalSocketAddress): New method.
8582 (setReuseAddress): New method.
8583 (getReuseAdress): New method.
8584 (setReceiveBufferSize): New method.
8585 (getReceiveBufferSize): New method.
8586 (toString): Made string JDK 1.4 compliant.
8587
8588 2002-09-10 Michael Koch <konqueror@gmx.de>
8589
8590 * java/net/SocketImpl.java
8591 (connect): New method.
8592 (supportsUrgentData): New method.
8593 (sendUrgentData): New method.
8594 * java/net/PlainSocketImpl.java
8595 (connect): One new method and two new implementation.
8596 (sendUrgentData): New method.
8597 * java/natPlainSocketImpl.cc
8598 (connect): Arguments changed, added support for timeouts.
8599 (getOption): Another __java_boolean to jboolean.
8600
8601 2002-09-07 Adam Megacz <adam@xwt.org>
8602
8603 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8604 definition of IP_TOS.
8605
8606 2002-09-04 Michael Koch <konqueror@gmx.de>
8607
8608 * java/net/DatagramSocket.java
8609 (DatagramSocket): Added documentation.
8610 (close): Likewise.
8611 (getLocalAddress): Likewise.
8612 (getLocalPort): Likewise.
8613 (receive): Likewise.
8614 (send): Likewise.
8615 (setSoTimeout): Likewise.
8616 (connect): New method.
8617 (disconnect): New method.
8618 (getInetAddress): New method (FIXME)
8619 (getPort): New method.
8620 (setReuseAddress): New method.
8621 (getReuseAddress): New method.
8622 (setBroadcast): New method.
8623 (getBroadcast): New method.
8624 (setTrafficClass): New method.
8625 (getTrafficClass): New method.
8626 * java/net/MulticastSocket.java):
8627 (getTTL): Added @see in documentation.
8628 (setTTL): Added @see in documentation.
8629 (setLoopbackMode): New method.
8630 (getLoopbackMode): New method.
8631 * java/net/PlainSocketImpl.java:
8632 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8633 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8634 * java/net/PlainDatagramSocketImpl.java
8635 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8636 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8637 * java/net/natPlainSocketImpl.cc
8638 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8639 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8640 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8641 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8642 This should also fix SO_KEEPALIVE
8643 * java/net/natPlainDatagramSocketImpl.cc
8644 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8645 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8646 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8647 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8648
8649 2002-09-04 Michael Koch <konqueror@gmx.de>
8650
8651 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8652 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8653 IP_MULTICAST_LOOP, IP_TOS
8654
8655 2002-09-03 Tom Tromey <tromey@redhat.com>
8656
8657 * java/lang/Class.h (_getDeclaredMethod): Declare.
8658 (_getMethod): Now private.
8659 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8660 getDeclaredMethod. Now returns NULL on failure.
8661 * java/lang/Class.java (_getDeclaredMethod): Declare.
8662 (getDeclaredMethod): No longer native; implements access checks.
8663
8664 2002-09-01 Mark Wielaard <mark@klomp.org>
8665
8666 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8667 (sanitizeStack): Correctly reset unknown and interpreter counters,
8668 detect interpreter runtime frames.
8669 (demangleInterpreterMethod): New method.
8670 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8671 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8672 filling in addrs[].
8673
8674 2002-09-02 Michael Koch <konqueror@gmx.de>
8675
8676 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8677 re-indented documentation.
8678
8679 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8680
8681 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8682 public, per 1.4 spec. Fixes PR libgcj/7785.
8683
8684 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8685
8686 * Makefile.in: Rebuilt.
8687 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8688
8689 2002-08-29 Tom Tromey <tromey@redhat.com>
8690
8691 * java/net/JarURLConnection.java (getCertificates): New method
8692 from Classpath.
8693 * java/net/URLClassLoader.java (URLClassLoader): Extends
8694 SecureClassLoader.
8695 (definePackage): New method from Classpath.
8696 (getPermissions): Likewise.
8697 (newInstance): Likewise.
8698 (findClass): Construct CodeSource for new class (from Classpath).
8699 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8700 methods.
8701 * java/net/URL.java (getUserInfo): New method.
8702 (set(String,String,int,String,String,String,String,String)): New
8703 method.
8704 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8705 (shutdownInput, shutdownOutput): Declare.
8706 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8707 Define.
8708 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8709 (getOption): Likewise.
8710 (shutdownInput): New method.
8711 (shutdownOutput): Likewise.
8712 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8713 keepalive.
8714 (getOption): Likewise.
8715 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8716 * java/net/Socket.java (setKeepAlive): New method.
8717 (getKeepAlive): Likewise.
8718 (shutdownInput, shutdownOutput): New methods.
8719
8720 2002-08-29 Michael Koch <konqueror@gmx.de>
8721
8722 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8723 new methods are:
8724 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8725 address),
8726 DatagramPacket(byte[] buf, int length, SocketAddress address),
8727 void setSocketAddress(SocketAddress address)
8728 public SocketAddress getSocketAddress()
8729
8730 2002-08-29 Tom Tromey <tromey@redhat.com>
8731
8732 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8733 ftruncate is missing.
8734 * configure, include/config.h.in: Rebuilt.
8735 * acconfig.h (HAVE_FTRUNCATE): Mention.
8736 * configure.in: Check for ftruncate.
8737
8738 2002-08-29 Tom Tromey <tromey@redhat.com>
8739
8740 * include/jvm.h (struct _Jv_frame_info): New structure.
8741 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8742 java-interp.h.
8743 (lookupInterp): New method.
8744 (getAddrAsString): Use _Jv_frame_info.
8745 (dladdrLookup): Likewise.
8746 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8747 interpreted frame.
8748 (lookupInterp): Declare.
8749 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8750 (fillInStackTrace): Collect information on interpreted frames.
8751 Use _Jv_frame_info.
8752 * interpret.cc: Include Thread.h.
8753 (run): Create and push _Jv_MethodChain object.
8754 (_Jv_EndOfInterpreter): New global.
8755 * java/lang/Thread.java (interp_frame): New field.
8756 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8757 Include NameFinder.h.
8758
8759 2002-08-28 Tom Tromey <tromey@redhat.com>
8760
8761 * java/lang/Class.h: Include Package.h.
8762 (Class::getProtectionDomain): Declare.
8763 (Class::getPackage): Declare.
8764
8765 2002-08-28 Michael Koch <konqueror@gmx.de>
8766
8767 * java/net/InetSocketAddress.java: Added some documentation and argument
8768 checks for the port numbers.
8769 * java/net/DatagramSocketImplFactory.java: New file.
8770
8771 2002-08-28 Michael Koch <konqueror@gmx.de>
8772
8773 * java/net/Authenticator.java: added some documentation.
8774
8775 2002-08-27 Tom Tromey <tromey@redhat.com>
8776
8777 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8778 class.
8779 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8780
8781 2002-08-27 Michael Koch <konqueror@gmx.de>
8782
8783 * java/net/BindException.java,
8784 java/net/JarURLConnection.java,
8785 java/net/FileNameMap.java,
8786 java/net/HttpURLConnection.java,
8787 java/net/InetSocketAddress.java,
8788 java/net/DatagramPacket.java,
8789 java/net/DatagramSocket.java,
8790 java/net/DatagramSocketImpl.java,
8791 java/net/MulticastSocket.java,
8792 java/net/PasswordAuthentication.java,
8793 java/net/ServerSocket.java,
8794 java/net/Socket.java,
8795 java/net/URLClassLoader.java,
8796 java/net/URLConnection.java: add/update of some @since/@deprecated
8797
8798 2002-08-27 Tony Kimball <alk@pobox.com>
8799 Tom Tromey <tromey@redhat.com>
8800
8801 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8802 define.
8803 (::close): Removed.
8804 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8805 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8806 (::close): Removed.
8807 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8808 * include/win32.h (getcwd): Removed declaration. Include io.h.
8809
8810 2002-08-25 Adam Megacz <adam@xwt.org>
8811
8812 * include/win32.h (getcwd): copied function declaration as
8813 temporary fix for header confusion.
8814
8815 2002-08-24 Mark Wielaard <mark@klomp.org>
8816
8817 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8818 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8819 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8820 and natNameFinder.cc.
8821 * Makefile.in: Regenerate.
8822 * prims.cc: Use trace_enabled from VMThrowable.
8823 * name-finder.cc: Removed.
8824 * gcj/javaprims.h: Add class VMThrowable.
8825 * gnu/gcj/runtime/NameFinder.java: New file.
8826 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8827 * include/name-finder.h: Removed.
8828 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8829 method stackTraceString().
8830 (printStackTrace (PrintWriter)): Likewise.
8831 (stackTraceString): Complete rewrite of old printStackTrace using
8832 StringBuffer.
8833 (stackTraceStringBuffer): New helper method for stackTraceString().
8834 (fillInStackTrace): Delegate to VMTrowable.
8835 (getStackTrace): Likewise.
8836 (getStackTrace0): Removed.
8837 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8838 (setStackTrace): Copy given array.
8839 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8840 * java/lang/VMThrowable.java: New class.
8841 * java/lang/natVMThrowable.cc: New file.
8842
8843 2003-08-23 Michael Koch <konqueror@gmx.de>
8844
8845 * java/net/URLConnection.java,
8846 java/netJarURLConnection.java,
8847 gnu/gcj/protocol/core/Connection.java,
8848 gnu/gcj/protocol/file/Connection.java,
8849 gnu/gcj/protocol/http/Connection.java: Added implementation of
8850 getHeaderFields().
8851
8852 2002-08-22 Tom Tromey <tromey@redhat.com>
8853
8854 * gij.cc (help): Document -cp and -classpath.
8855 (main): Handle -classpath.
8856
8857 2002-08-21 Tom Tromey <tromey@redhat.com>
8858
8859 * Makefile.in: Rebuilt.
8860 * Makefile.am (ordinary_java_source_files): Added
8861 SocketAddress.java, InetSocketAddress.java.
8862 * java/net/PortUnreachableException.java: Merged with Classpath.
8863 * java/net/SocketTimeoutException.java: Likewise.
8864 * java/net/URISyntaxException.java: Likewise.
8865 * java/net/SocketAddress.java: New class from Classpath.
8866 * java/net/InetSocketAddress.java: Likewise.
8867
8868 2003-08-21 Michael Koch <konqueror@gmx.de>
8869
8870 * java/net/Authenticator.java: updated JDK 1.4
8871 * java/net/ContentHandler.java: updated JDK 1.4
8872
8873 2002-08-20 Michael Koch <konqueror@gmx.de>
8874
8875 * java/net/URISyntaxException.java: New file.
8876 * java/net/SocketTimeoutException.java: New file.
8877 * java/net/PortUnreachableException.java: New file.
8878 * Makefile.am: Updated.
8879 * Makefile.in: Rebuilt.
8880
8881 2002-08-18 Mark Wielaard <mark@klomp.org>
8882
8883 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8884 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8885 MessageDigestSpi (fixes Classpath bug #783).
8886
8887 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8888
8889 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8890 (startProcess): Allocate path for chdir in async-signal-safe way.
8891
8892 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8893
8894 Fix for PR libgcj/7570 and PR libgcj/7578:
8895 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8896 (startProcess): Handle new `dir' argument.
8897 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8898 argument.
8899 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8900 argument.
8901 (startProcess): Likewise.
8902 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8903 argument.
8904 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8905 (exec): Don't create new environment if ENV==null. Pass DIR to
8906 execInternal.
8907 * java/lang/natRuntime.cc: Include java/io/File.h.
8908 (execInternal): Added `dir' argument.
8909
8910 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8911
8912 * java/io/RandomAccessFile.java (skipBytes): Return number of
8913 bytes skipped.
8914
8915 2002-08-01 Mark Wielaard <mark@klomp.org>
8916
8917 Reenable patch since shared library troubles on powerpc are solved:
8918 * gnu/java/security/provider/Gnu.java: Reference all implementation
8919 classes by using Class.getName().
8920 * gnu/java/security/der/DEREncodingException.java,
8921 gnu/java/security/provider/DERReader.java,
8922 gnu/java/security/provider/DERWriter.java,
8923 gnu/java/security/provider/DSAKeyPairGenerator.java,
8924 gnu/java/security/provider/DSAParameterGenerator.java,
8925 gnu/java/security/provider/DSAParameters.java,
8926 gnu/java/security/provider/DSASignature.java,
8927 gnu/java/security/provider/GnuDSAPrivateKey.java,
8928 gnu/java/security/provider/GnuDSAPublicKey.java,
8929 gnu/java/security/provider/MD5.java,
8930 gnu/java/security/util/Prime.java: New classes
8931 * Makefile.am (ordinary_java_source_files): Add above files.
8932 * Makefile.in: Regenerate.
8933 * gnu/java/security/provider/DefaultPolicy.java
8934 (getPermissions): Don't maintain static class variable of Permissions.
8935 * gnu/java/security/provider/SHA.java
8936 (engineUpdate): algorithm change.
8937 (engineDigest): algorithm change.
8938
8939 2002-08-09 Mark Wielaard <mark@klomp.org>
8940
8941 * java/awt/image/MemoryImageSource.java: Change constructor to take
8942 int[] not byte[].
8943 * java/awt/Graphics2D.java: Uncomment methods that can now be
8944 compiled.
8945 * java/awt/GridBagLayout.java: New stub implementation.
8946 * javax/swing/text/html/HTML.java: Stub implementation.
8947 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8948 implementation.
8949
8950 * Makefile.am: Add new files.
8951 * Makefile.in: Rebuilt.
8952
8953 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8954
8955 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8956 methods in Graphics2D.
8957
8958 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8959
8960 AWT/Swing merge from GNU Classpath.
8961
8962 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8963 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8964 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8965 java/awt/color/ProfileDataException.java,
8966 java/awt/CompositeContext.java, java/awt/Composite.java,
8967 java/awt/ContainerOrderFocusTraversalPolicy.java,
8968 java/awt/datatransfer/FlavorTable.java,
8969 java/awt/DefaultFocusTraversalPolicy.java,
8970 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8971 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8972 java/awt/dnd/DragGestureListener.java,
8973 java/awt/dnd/DragGestureRecognizer.java,
8974 java/awt/dnd/DragSourceAdapter.java,
8975 java/awt/dnd/DragSourceContext.java,
8976 java/awt/dnd/DragSourceDragEvent.java,
8977 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8978 java/awt/dnd/DragSourceListener.java,
8979 java/awt/dnd/DragSourceMotionListener.java,
8980 java/awt/dnd/DropTarget.java,
8981 java/awt/dnd/InvalidDnDOperationException.java,
8982 java/awt/dnd/peer/DragSourceContextPeer.java,
8983 java/awt/event/AWTEventListenerProxy.java,
8984 java/awt/event/MouseWheelEvent.java,
8985 java/awt/event/MouseWheelListener.java,
8986 java/awt/event/WindowFocusListener.java,
8987 java/awt/event/WindowStateListener.java,
8988 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8989 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8990 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8991 java/awt/geom/FlatteningPathIterator.java,
8992 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8993 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8994 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8995 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8996 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8997 java/awt/image/ImagingOpException.java,
8998 java/awt/image/RasterFormatException.java,
8999 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9000 java/awt/image/VolatileImage.java,
9001 java/awt/image/WritableRenderedImage.java,
9002 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9003 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9004 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9005 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9006 java/awt/PageAttributes.java, java/awt/print/Book.java,
9007 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9008 java/awt/print/Paper.java, java/awt/print/Printable.java,
9009 java/awt/print/PrinterAbortException.java,
9010 java/awt/print/PrinterException.java,
9011 java/awt/print/PrinterGraphics.java,
9012 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9013 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9014 java/awt/Stroke.java, java/awt/TexturePaint.java,
9015 javax/accessibility/AccessibleAction.java,
9016 javax/accessibility/AccessibleBundle.java,
9017 javax/accessibility/AccessibleComponent.java,
9018 javax/accessibility/AccessibleContext.java,
9019 javax/accessibility/AccessibleEditableText.java,
9020 javax/accessibility/AccessibleExtendedComponent.java,
9021 javax/accessibility/AccessibleExtendedTable.java,
9022 javax/accessibility/AccessibleHyperlink.java,
9023 javax/accessibility/AccessibleHypertext.java,
9024 javax/accessibility/AccessibleIcon.java,
9025 javax/accessibility/Accessible.java,
9026 javax/accessibility/AccessibleKeyBinding.java,
9027 javax/accessibility/AccessibleRelation.java,
9028 javax/accessibility/AccessibleRelationSet.java,
9029 javax/accessibility/AccessibleResourceBundle.java,
9030 javax/accessibility/AccessibleRole.java,
9031 javax/accessibility/AccessibleSelection.java,
9032 javax/accessibility/AccessibleState.java,
9033 javax/accessibility/AccessibleStateSet.java,
9034 javax/accessibility/AccessibleTable.java,
9035 javax/accessibility/AccessibleTableModelChange.java,
9036 javax/accessibility/AccessibleText.java,
9037 javax/accessibility/AccessibleValue.java,
9038 javax/swing/AbstractAction.java,
9039 javax/swing/AbstractButton.java,
9040 javax/swing/AbstractCellEditor.java,
9041 javax/swing/AbstractListModel.java,
9042 javax/swing/AbstractSet.java, javax/swing/Action.java,
9043 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9044 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9045 javax/swing/border/CompoundBorder.java,
9046 javax/swing/border/EmptyBorder.java,
9047 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9048 javax/swing/border/LineBorder.java,
9049 javax/swing/border/MatteBorder.java,
9050 javax/swing/border/TitledBorder.java,
9051 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9052 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9053 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9054 javax/swing/CellRendererPane.java,
9055 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9056 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9057 javax/swing/colorchooser/ColorSelectionModel.java,
9058 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9059 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9060 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9061 javax/swing/DefaultBoundedRangeModel.java,
9062 javax/swing/DefaultButtonModel.java,
9063 javax/swing/DefaultCellEditor.java,
9064 javax/swing/DefaultCellRenderer.java,
9065 javax/swing/DefaultComboBoxModel.java,
9066 javax/swing/DefaultDesktopManager.java,
9067 javax/swing/DefaultFocusManager.java,
9068 javax/swing/DefaultListCellRenderer.java,
9069 javax/swing/DefaultListModel.java,
9070 javax/swing/DefaultListSelectionModel.java,
9071 javax/swing/DefaultSingleSelectionModel.java,
9072 javax/swing/DesktopManager.java,
9073 javax/swing/event/AncestorEvent.java,
9074 javax/swing/event/AncestorListener.java,
9075 javax/swing/event/CaretEvent.java,
9076 javax/swing/event/CaretListener.java,
9077 javax/swing/event/CellEditorListener.java,
9078 javax/swing/event/ChangeEvent.java,
9079 javax/swing/event/ChangeListener.java,
9080 javax/swing/event/DocumentEvent.java,
9081 javax/swing/event/DocumentListener.java,
9082 javax/swing/event/EventListenerList.java,
9083 javax/swing/event/HyperlinkEvent.java,
9084 javax/swing/event/HyperlinkListener.java,
9085 javax/swing/event/InternalFrameAdapter.java,
9086 javax/swing/event/InternalFrameEvent.java,
9087 javax/swing/event/InternalFrameListener.java,
9088 javax/swing/event/ListDataEvent.java,
9089 javax/swing/event/ListDataListener.java,
9090 javax/swing/event/ListSelectionEvent.java,
9091 javax/swing/event/ListSelectionListener.java,
9092 javax/swing/event/MenuDragMouseEvent.java,
9093 javax/swing/event/MenuDragMouseListener.java,
9094 javax/swing/event/MenuEvent.java,
9095 javax/swing/event/MenuKeyEvent.java,
9096 javax/swing/event/MenuKeyListener.java,
9097 javax/swing/event/MenuListener.java,
9098 javax/swing/event/MouseInputAdapter.java,
9099 javax/swing/event/MouseInputListener.java,
9100 javax/swing/event/PopupMenuEvent.java,
9101 javax/swing/event/PopupMenuListener.java,
9102 javax/swing/event/SwingPropertyChangeSupport.java,
9103 javax/swing/event/TableColumnModelEvent.java,
9104 javax/swing/event/TableColumnModelListener.java,
9105 javax/swing/event/TableModelEvent.java,
9106 javax/swing/event/TableModelListener.java,
9107 javax/swing/event/TreeExpansionEvent.java,
9108 javax/swing/event/TreeExpansionListener.java,
9109 javax/swing/event/TreeModelEvent.java,
9110 javax/swing/event/TreeModelListener.java,
9111 javax/swing/event/TreeSelectionEvent.java,
9112 javax/swing/event/TreeSelectionListener.java,
9113 javax/swing/event/TreeWillExpandListener.java,
9114 javax/swing/event/UndoableEditEvent.java,
9115 javax/swing/event/UndoableEditListener.java,
9116 javax/swing/filechooser/FileFilter.java,
9117 javax/swing/filechooser/FileSystemView.java,
9118 javax/swing/filechooser/FileView.java,
9119 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9120 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9121 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9122 javax/swing/JApplet.java, javax/swing/JButton.java,
9123 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9124 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9125 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9126 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9127 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9128 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9129 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9130 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9131 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9132 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9133 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9134 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9135 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9136 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9137 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9138 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9139 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9140 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9141 javax/swing/JToolTip.java, javax/swing/JTree.java,
9142 javax/swing/JViewport.java, javax/swing/JWindow.java,
9143 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9144 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9145 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9146 javax/swing/MenuSelectionManager.java,
9147 javax/swing/MutableComboBoxModel.java,
9148 javax/swing/OverlayLayout.java,
9149 javax/swing/plaf/ActionMapUIResource.java,
9150 javax/swing/plaf/basic/BasicBorders.java,
9151 javax/swing/plaf/basic/BasicButtonUI.java,
9152 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9153 javax/swing/plaf/basic/BasicDefaults.java,
9154 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9155 javax/swing/plaf/basic/BasicIconFactory.java,
9156 javax/swing/plaf/basic/BasicLabelUI.java,
9157 javax/swing/plaf/basic/BasicListUI.java,
9158 javax/swing/plaf/basic/BasicLookAndFeel.java,
9159 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9160 javax/swing/plaf/basic/BasicPanelUI.java,
9161 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9162 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9163 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9164 javax/swing/plaf/basic/BasicTextUI.java,
9165 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9166 javax/swing/plaf/basic/BasicTreeUI.java,
9167 javax/swing/plaf/basic/BasicViewportUI.java,
9168 javax/swing/plaf/BorderUIResource.java,
9169 javax/swing/plaf/ButtonUI.java,
9170 javax/swing/plaf/ColorChooserUI.java,
9171 javax/swing/plaf/ColorUIResource.java,
9172 javax/swing/plaf/ComboBoxUI.java,
9173 javax/swing/plaf/ComponentInputMapUIResource.java,
9174 javax/swing/plaf/ComponentUI.java,
9175 javax/swing/plaf/DesktopIconUI.java,
9176 javax/swing/plaf/DesktopPaneUI.java,
9177 javax/swing/plaf/DimensionUIResource.java,
9178 javax/swing/plaf/FileChooserUI.java,
9179 javax/swing/plaf/FontUIResource.java,
9180 javax/swing/plaf/IconUIResource.java,
9181 javax/swing/plaf/InputMapUIResource.java,
9182 javax/swing/plaf/InsetsUIResource.java,
9183 javax/swing/plaf/InternalFrameUI.java,
9184 javax/swing/plaf/LabelUI.java,
9185 javax/swing/plaf/ListUI.java,
9186 javax/swing/plaf/MenuBarUI.java,
9187 javax/swing/plaf/MenuItemUI.java,
9188 javax/swing/plaf/OptionPaneUI.java,
9189 javax/swing/plaf/PanelUI.java,
9190 javax/swing/plaf/PopupMenuUI.java,
9191 javax/swing/plaf/ProgressBarUI.java,
9192 javax/swing/plaf/RootPaneUI.java,
9193 javax/swing/plaf/ScrollBarUI.java,
9194 javax/swing/plaf/ScrollPaneUI.java,
9195 javax/swing/plaf/SeparatorUI.java,
9196 javax/swing/plaf/SliderUI.java,
9197 javax/swing/plaf/SplitPaneUI.java,
9198 javax/swing/plaf/TabbedPaneUI.java,
9199 javax/swing/plaf/TableHeaderUI.java,
9200 javax/swing/plaf/TableUI.java,
9201 javax/swing/plaf/TextUI.java,
9202 javax/swing/plaf/ToolBarUI.java,
9203 javax/swing/plaf/ToolTipUI.java,
9204 javax/swing/plaf/TreeUI.java,
9205 javax/swing/plaf/UIResource.java,
9206 javax/swing/plaf/ViewportUI.java,
9207 javax/swing/ProgressMonitorInputStream.java,
9208 javax/swing/ProgressMonitor.java,
9209 javax/swing/Renderer.java,
9210 javax/swing/RepaintManager.java,
9211 javax/swing/RootPaneContainer.java,
9212 javax/swing/Scrollable.java,
9213 javax/swing/ScrollPaneConstants.java,
9214 javax/swing/ScrollPaneLayout.java,
9215 javax/swing/SingleSelectionModel.java,
9216 javax/swing/SizeRequirements.java,
9217 javax/swing/SizeSequence.java,
9218 javax/swing/SwingConstants.java,
9219 javax/swing/SwingUtilities.java,
9220 javax/swing/table/AbstractTableModel.java,
9221 javax/swing/table/DefaultTableCellRenderer.java,
9222 javax/swing/table/DefaultTableColumnModel.java,
9223 javax/swing/table/DefaultTableModel.java,
9224 javax/swing/table/TableCellEditor.java,
9225 javax/swing/table/TableCellRenderer.java,
9226 javax/swing/table/TableColumn.java,
9227 javax/swing/table/TableColumnModel.java,
9228 javax/swing/table/TableModel.java,
9229 javax/swing/text/AbstractDocument.java,
9230 javax/swing/text/AttributeSet.java,
9231 javax/swing/text/BadLocationException.java,
9232 javax/swing/text/Caret.java,
9233 javax/swing/text/CharacterIterator.java,
9234 javax/swing/text/ComponentView.java,
9235 javax/swing/text/DefaultCaret.java,
9236 javax/swing/text/DefaultEditorKit.java,
9237 javax/swing/text/Document.java,
9238 javax/swing/text/EditorKit.java,
9239 javax/swing/text/Element.java,
9240 javax/swing/text/GapContent.java,
9241 javax/swing/text/JTextComponent.java,
9242 javax/swing/text/Keymap.java,
9243 javax/swing/text/MutableAttributeSet.java,
9244 javax/swing/text/PlainDocument.java,
9245 javax/swing/text/PlainEditorKit.java,
9246 javax/swing/text/Position.java,
9247 javax/swing/text/Segment.java,
9248 javax/swing/text/StyledDocument.java,
9249 javax/swing/text/StyledEditorKit.java,
9250 javax/swing/text/Style.java,
9251 javax/swing/text/TextAction.java,
9252 javax/swing/text/ViewFactory.java,
9253 javax/swing/text/View.java,
9254 javax/swing/Timer.java,
9255 javax/swing/ToggleButtonModel.java,
9256 javax/swing/ToolTipManager.java,
9257 javax/swing/tree/AbstractLayoutCache.java,
9258 javax/swing/tree/DefaultMutableTreeNode.java,
9259 javax/swing/tree/DefaultTreeCellEditor.java,
9260 javax/swing/tree/DefaultTreeCellRenderer.java,
9261 javax/swing/tree/DefaultTreeModel.java,
9262 javax/swing/tree/DefaultTreeSelectionModel.java,
9263 javax/swing/tree/ExpandVetoException.java,
9264 javax/swing/tree/FixedHeightLayoutCache.java,
9265 javax/swing/tree/MutableTreeNode.java,
9266 javax/swing/tree/RowMapper.java,
9267 javax/swing/tree/TreeCellEditor.java,
9268 javax/swing/tree/TreeCellRenderer.java,
9269 javax/swing/tree/TreeModel.java,
9270 javax/swing/tree/TreeNode.java,
9271 javax/swing/tree/TreePath.java,
9272 javax/swing/tree/TreeSelectionModel.java,
9273 javax/swing/tree/VariableHeightLayoutCache.java,
9274 javax/swing/UIDefaults.java,
9275 javax/swing/UIManager.java,
9276 javax/swing/undo/AbstractUndoableEdit.java,
9277 javax/swing/undo/CannotRedoException.java,
9278 javax/swing/undo/CannotUndoException.java,
9279 javax/swing/undo/CompoundEdit.java,
9280 javax/swing/undo/StateEditable.java,
9281 javax/swing/undo/StateEdit.java,
9282 javax/swing/undo/UndoableEdit.java,
9283 javax/swing/undo/UndoableEditSupport.java,
9284 javax/swing/undo/UndoManager.java,
9285 javax/swing/UnsupportedLookAndFeelException.java,
9286 javax/swing/ViewportLayout.java,
9287 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9288
9289 * java/awt/ActiveEvent.java,
9290 java/awt/Adjustable.java, java/awt/AWTError.java,
9291 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9292 java/awt/AWTException.java, java/awt/AWTPermission.java,
9293 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9294 java/awt/Color.java, java/awt/Component.java,
9295 java/awt/ComponentOrientation.java, java/awt/Container.java,
9296 java/awt/datatransfer/MimeTypeParseException.java,
9297 java/awt/datatransfer/Transferable.java,
9298 java/awt/datatransfer/UnsupportedFlavorException.java,
9299 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9300 java/awt/event/ActionListener.java,
9301 java/awt/event/AdjustmentEvent.java,
9302 java/awt/event/AdjustmentListener.java,
9303 java/awt/event/AWTEventListener.java,
9304 java/awt/event/ComponentAdapter.java,
9305 java/awt/event/ComponentEvent.java,
9306 java/awt/event/ComponentListener.java,
9307 java/awt/event/ContainerAdapter.java,
9308 java/awt/event/ContainerEvent.java,
9309 java/awt/event/ContainerListener.java,
9310 java/awt/event/FocusAdapter.java,
9311 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9312 java/awt/event/HierarchyBoundsAdapter.java,
9313 java/awt/event/HierarchyBoundsListener.java,
9314 java/awt/event/HierarchyEvent.java,
9315 java/awt/event/HierarchyListener.java,
9316 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9317 java/awt/event/InputMethodListener.java,
9318 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9319 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9320 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9321 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9322 java/awt/event/MouseListener.java,
9323 java/awt/event/MouseMotionAdapter.java,
9324 java/awt/event/MouseMotionListener.java,
9325 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9326 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9327 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9328 java/awt/event/WindowListener.java, java/awt/Font.java,
9329 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9330 java/awt/geom/Ellipse2D.java,
9331 java/awt/geom/IllegalPathStateException.java,
9332 java/awt/geom/Line2D.java,
9333 java/awt/geom/NoninvertibleTransformException.java,
9334 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9335 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9336 java/awt/geom/RoundRectangle2D.java,
9337 java/awt/GraphicsConfiguration.java,
9338 java/awt/IllegalComponentStateException.java,
9339 java/awt/image/IndexColorModel.java,
9340 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9341 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9342 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9343 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9344 java/awt/MenuItem.java, java/awt/PaintContext.java,
9345 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9346 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9347 java/awt/PrintJob.java, java/awt/Rectangle.java,
9348 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9349 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9350 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9351
9352 * java/awt/im/spi/InputMethod.java,
9353 java/awt/im/spi/InputMethodContext.java,
9354 java/awt/im/spi/InputMethodDescriptor.java,
9355 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9356 java/awt/image/renderable/ParameterBlock.java,
9357 java/awt/image/renderable/RenderContext.java,
9358 java/awt/image/renderable/RenderableImage.java,
9359 java/awt/image/renderable/RenderableImageOp.java,
9360 java/awt/image/renderable/RenderableImageProducer.java,
9361 java/awt/image/renderable/RenderedImageFactory.java: New files from
9362 classpath.
9363
9364 * gnu/java/awt/EventModifier.java,
9365 gnu/java/awt/image/ImageDecoder.java,
9366 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9367
9368 * gnu/awt/xlib/XGraphicsConfiguration.java,
9369 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9370 API.
9371
9372 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9373 GNU Classpath.
9374
9375 * Makefile.am: Add new files.
9376 * Makefile.in: Rebuilt.
9377
9378 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9379
9380 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9381 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9382 findResource, getResources, findResources): Add javadoc from classpath.
9383 (getSystemResources): Implemented.
9384
9385 2002-08-01 Mark Wielaard <mark@klomp.org>
9386
9387 Revert patch that breaks libgcj shared library on powerpc:
9388 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9389 implementation classes by using Class.getName(). Uses Strings again.
9390 * gnu/java/security/der/DEREncodingException.java,
9391 gnu/java/security/provider/DERReader.java,
9392 gnu/java/security/provider/DERWriter.java,
9393 gnu/java/security/provider/DSAKeyPairGenerator.java,
9394 gnu/java/security/provider/DSAParameterGenerator.java,
9395 gnu/java/security/provider/DSAParameters.java,
9396 gnu/java/security/provider/DSASignature.java,
9397 gnu/java/security/provider/GnuDSAPrivateKey.java,
9398 gnu/java/security/provider/GnuDSAPublicKey.java,
9399 gnu/java/security/provider/MD5.java,
9400 gnu/java/security/util/Prime.java: Removed.
9401 * Makefile.am (ordinary_java_source_files): Remove above files.
9402 * Makefile.in: Regenerate.
9403 * gnu/java/security/provider/DefaultPolicy.java
9404 (getPermissions): Revert to maintaining static class variable of
9405 Permissions.
9406 * gnu/java/security/provider/SHA.java
9407 (engineUpdate): Revert algorithm change.
9408 (engineDigest): Revert algorithm change.
9409
9410 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9411
9412 * configure.host: Add SH support.
9413 * sysdep/sh/locks.h: New file.
9414
9415 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9416
9417 * java/awt/Frame.java (Frame): Remove println calls.
9418
9419 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9420
9421 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9422 * configure: Rebuilt.
9423
9424 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9425
9426 * sysdep/powerpc/locks.h: Formatting.
9427 (_LARX): Define.
9428 (_STCX): Define.
9429 (compare_and_swap): Use _LARX and _STCX.
9430 (compare_and_swap_release): Likewise.
9431
9432 2002-07-26 Tom Tromey <tromey@redhat.com>
9433
9434 * java/net/Authenticator.java: New version from Classpath.
9435 * java/net/DatagramSocketImpl.java: New version from Classpath.
9436
9437 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9438
9439 * configure.host: Add powerpc64*-* entry.
9440
9441 2002-07-26 Tom Tromey <tromey@redhat.com>
9442
9443 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9444 fcntl.h.
9445
9446 2002-07-24 Tom Tromey <tromey@redhat.com>
9447
9448 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9449 argument to _load.
9450
9451 2002-07-24 Tom Tromey <tromey@redhat.com>
9452 Tony Kimball <alk@pobox.com>
9453
9454 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9455 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9456 * java/io/RandomAccessFile.java (setLength): New method.
9457 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9458 * java/io/FileDescriptor.java (setLength): New method.
9459
9460 2002-07-24 Mark Wielaard <mark@klomp.org>
9461
9462 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9463 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9464 field call setAccessible(true).
9465 (setByteField): Likewise.
9466 (setCharField): Likewise.
9467 (setDoubleField): Likewise.
9468 (setFloatField): Likewise.
9469 (setIntField): Likewise.
9470 (setLongField): Likewise.
9471 (setShortField): Likewise.
9472 (setObjectField): Likewise.
9473
9474 2002-07-24 Tom Tromey <tromey@redhat.com>
9475
9476 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9477 use toString() to format array element.
9478
9479 2002-07-23 Mark Wielaard <mark@klomp.org>
9480
9481 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9482 MessageDigestSpi (fixes Classpath bug #783).
9483
9484 2002-07-21 Mark Wielaard <mark@klomp.org>
9485
9486 * gnu/java/security/provider/Gnu.java: Reference all implementation
9487 classes by using Class.getName().
9488
9489 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9490
9491 * java/lang/ieeefp.h: Add x86-64 support.
9492 * configure.in: Likewise.
9493 * configure.host: Likewise.
9494 * configure: Regenerated.
9495 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9496
9497 2002-07-16 Mark Wielaard <mark@klomp.org>
9498
9499 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9500 (whitespaceChars): call resetChar().
9501
9502 2002-07-15 Tom Tromey <tromey@redhat.com>
9503
9504 * Makefile.in: Rebuilt.
9505 * Makefile.am (awt_java_source_files): Added new files.
9506 * java/beans/ExceptionListener.java: Merged with Classpath.
9507 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9508 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9509 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9510 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9511 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9512 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9513 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9514
9515 2002-07-14 Mark Wielaard <mark@klomp.org>
9516
9517 * gnu/java/security/der/DEREncodingException.java,
9518 gnu/java/security/provider/DERReader.java,
9519 gnu/java/security/provider/DERWriter.java,
9520 gnu/java/security/provider/DSAKeyPairGenerator.java,
9521 gnu/java/security/provider/DSAParameterGenerator.java,
9522 gnu/java/security/provider/DSAParameters.java,
9523 gnu/java/security/provider/DSASignature.java,
9524 gnu/java/security/provider/GnuDSAPrivateKey.java,
9525 gnu/java/security/provider/GnuDSAPublicKey.java,
9526 gnu/java/security/provider/MD5.java,
9527 gnu/java/security/util/Prime.java: New files from Classpath.
9528 * Makefile.am (ordinary_java_source_files): Add new files.
9529 * Makefile.in: Regenerate.
9530
9531 2002-07-14 C. Brian Jones <cbj@gnu.org>
9532
9533 * gnu/java/security/provider/DefaultPolicy.java
9534 (getPermissions): do not maintain static class variable of
9535 Permissions
9536 * gnu/java/security/provider/SHA.java
9537 (engineUpdate): algorithm change
9538 (engineDigest): algorithm change
9539
9540 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9541
9542 For PR libgcj/7292:
9543 * java/lang/Character.java (toString(char)): Now static.
9544
9545 2002-07-12 Mark Wielaard <mark@klomp.org>
9546
9547 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9548 (getStackTrace0): new method.
9549 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9550 (printStackTrace(PrintWriter)): replace with pure java implementation.
9551 (printRawStackTrace): removed.
9552 (getStackTrace0): new method.
9553 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9554 * gcj/javaprims.h: regenerate class list.
9555 * include/name-finder.h (lookup): new returns StackTraceElement*.
9556 (method_name, file_name): fields removed.
9557 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9558 (~_Jv_name_finder): close new descriptors.
9559 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9560 (createStackTraceElement): new method.
9561 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9562
9563 2002-07-10 Tom Tromey <tromey@redhat.com>
9564
9565 * configure: Rebuilt.
9566 * configure.in: Use `test' after `&&'. From Chris Faylor.
9567
9568 2002-07-08 Mark Wielaard <mark@klomp.org>
9569
9570 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9571 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9572 java.sql.DatabaseMetaData.TestJdbc20
9573
9574 2002-07-05 Tony Kimball <alk@pobox.com>
9575
9576 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9577
9578 2002-07-04 Tom Tromey <tromey@redhat.com>
9579 Jeff Sturm <jsturm@one-point.com>
9580
9581 Fix for PR libgcj/7060:
9582 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9583 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9584 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9585 * java/lang/Class.java (getMethod): New Java implementation;
9586 complies with spec.
9587 (_getMethod): New native method.
9588
9589 2002-07-02 Tom Tromey <tromey@redhat.com>
9590 David Hovemeyer <daveho@cs.umd.edu>
9591
9592 * java/text/ChoiceFormat.java
9593 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9594 in check loop.
9595 * java/text/MessageFormat.java
9596 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9597 to MessageFormat.
9598
9599 2002-07-01 Tom Tromey <tromey@redhat.com>
9600
9601 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9602 StringTokenizer on null string. For PR libgcj/7180.
9603 From daveho@cs.umd.edu.
9604
9605 2002-06-24 Tom Tromey <tromey@redhat.com>
9606
9607 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9608 (IntegerClass): Likewise.
9609 * java/lang/natClass.cc (CloneableClass): Removed.
9610 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9611 ConstructorClass): Likewise.
9612 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9613 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9614 SerializableClass): Likewise.
9615 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9616 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9617 LongClass, FloatClass, DoubleClass): Likewise.
9618
9619 * verify.cc (branch_prepass): Updated for change to exception
9620 handler type.
9621 (verify_instructions_0): Likewise.
9622 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9623 (handleExceptionTableEntry): Updated for change to exception
9624 handler type.
9625 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9626 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9627 (union _Jv_InterpPC): New.
9628 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9629 (class _Jv_InterpMethod): Added new `prepared' field.
9630 (class _Jv_InterpMethod): Added `compile' method. Removed
9631 `continue1' and `find_exception'. Changed arguments to `run'.
9632 * interpret.cc (union insn_slot): New.
9633 (find_exception): Removed.
9634 (run_normal): Removed most logic.
9635 (run_synch_object): Likewise; also, use JvSynchronize.
9636 (run_synch_class): Likewise.
9637 (run): Removed.
9638 (continue1): Renamed as `run'. Compile bytecode if required.
9639 Add new code to allow refinement of direct-threaded code at
9640 runtime. Handle exceptions.
9641 (SAVE_PC): Removed.
9642 (compile): New method.
9643 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9644 (NULLARRAYCHECK): Don't use SAVE_PC.
9645 (pc_t): New typedef.
9646 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9647 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9648
9649 2002-06-23 Tom Tromey <tromey@redhat.com>
9650
9651 * configure: Rebuilt.
9652 * configure.in (INTERPRETER): New subst.
9653 (AM_RUNTESTFLAGS): Don't subst.
9654
9655 * Makefile.in: Rebuilt.
9656 * Makefile.am ($(srcdir)/java/lang/Object.h,
9657 $(srcdir)/java/lang/Class.h): Added dummy targets.
9658
9659 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9660
9661 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9662
9663 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9664 java/sql/Savepoint.java: New files.
9665 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9666 java/sql/Blob.java, java/sql/CallableStatement.java,
9667 java/sql/Clob.java, java/sql/Connection.java,
9668 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9669 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9670 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9671 java/sql/Ref.java, java/sql/ResultSet.java,
9672 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9673 java/sql/SQLException.java, java/sql/SQLInput.java,
9674 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9675 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9676 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9677 (JDK 1.4) specification.
9678 * javax/sql/ConnectionEvent.java,
9679 javax/sql/ConnectionEventListener.java,
9680 javax/sql/ConnectionPoolDataSource.java,
9681 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9682 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9683 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9684 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9685 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9686 javax/sql/XADataSource.java: New files.
9687 * Makefile.am: Add new files.
9688 * Makefile.in: Rebuilt.
9689
9690 2002-06-20 Tom Tromey <tromey@redhat.com>
9691
9692 For PR libgcj/7073:
9693 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9694 exists.
9695 * defineclass.cc (handleClassBegin): Superclass for interface is
9696 `null'.
9697
9698 2002-06-18 Tom Tromey <tromey@redhat.com>
9699
9700 * gcj/javaprims.h: Updated class declaration list.
9701 * Makefile.in: Rebuilt.
9702 * Makefile.am (core_java_source_files): Removed
9703 BasicMapEntry.java.
9704 * java/util/BasicMapEntry.java: Removed.
9705
9706 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9707
9708 * java/net/natPlainDatagramSocketImpl.cc (receive):
9709 Check bounds of argument to FD_SET.
9710 (setOption): Throw exception if socket is closed.
9711
9712 * java/net/natPlainSocketImpl.cc (accept, read):
9713 Check bounds of argument to FD_SET.
9714 (setOption): Throw exception if socket is closed.
9715
9716 2002-06-18 Tom Tromey <tromey@redhat.com>
9717
9718 * gcj/javaprims.h: Updated class declaration list.
9719 * Makefile.in: Rebuilt.
9720 * Makefile.am (core_java_source_files): Added
9721 PropertyPermissionCollection.java.
9722 * java/lang/Thread.java (group, name): Now package-private.
9723 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9724 * java/util/AbstractList.java: Likewise.
9725 * java/util/AbstractMap.java: Likewise.
9726 * java/util/Calendar.java: Likewise.
9727 * java/util/Collections.java: Likewise.
9728 * java/util/HashMap.java: Likewise.
9729 * java/util/Hashtable.java: Likewise.
9730 * java/util/LinkedHashMap.java: Likewise.
9731 * java/util/LinkedList.java: Likewise.
9732 * java/util/List.java: Likewise.
9733 * java/util/ListResourceBundle.java: Likewise.
9734 * java/util/Map.java: Likewise.
9735 * java/util/Observable.java: Likewise.
9736 * java/util/Properties.java: Likewise.
9737 * java/util/PropertyPermission.java: Likewise.
9738 * java/util/PropertyPermissionCollection.java: Likewise.
9739 * java/util/PropertyResourceBundle.java: Likewise.
9740 * java/util/Random.java: Likewise.
9741 * java/util/SimpleTimeZone.java: Likewise.
9742 * java/util/StringTokenizer.java: Likewise.
9743 * java/util/TimerTask.java: Likewise.
9744 * java/util/TreeMap.java: Likewise.
9745 * java/util/WeakHashMap.java: Likewise.
9746 * java/util/jar/Attributes.java: Likewise.
9747 * java/util/jar/JarException.java: Likewise.
9748 * java/util/jar/Manifest.java: Likewise.
9749
9750 2002-06-17 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 new file.
9755 * java/util/EventListenerProxy.java: New file.
9756 * java/util/EventListener.java: Re-merge with Classpath.
9757 * java/util/EventObject.java: Re-merge with Classpath.
9758
9759 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9760
9761 * java/lang/ClassNotFoundException.java: New Classpath version.
9762
9763 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9764
9765 * java/rmi/activation/ActivateFailedException.java: Remerge from
9766 Classpath version.
9767 * java/rmi/activation/ActivationException.java: Ditto.
9768 * java/rmi/activation/UnknownGroupException.java: Ditto.
9769 * java/rmi/activation/UnknownObjectException.java: Ditto.
9770 * java/rmi/server/ExportException: Ditto.
9771 * java/rmi/server/ServerCloneException: Ditto.
9772 * java/rmi/server/ServerNotActiveException: Ditto.
9773 * java/rmi/server/SkeletonMismatchException: Ditto.
9774 * java/rmi/server/SkeletonNotFoundException: Ditto.
9775 * java/rmi/server/SocketSecurityException: Ditto.
9776
9777 2002-06-16 Tom Tromey <tromey@redhat.com>
9778
9779 * gcj/javaprims.h: Updated class declaration list.
9780
9781 * java/io/LineNumberInputStream.java: Merged with Classpath.
9782
9783 * java/lang/RuntimeException.java: Re-merge with Classpath.
9784 * java/util/ArrayList.java: Likewise.
9785 * java/util/Arrays.java: Likewise.
9786 * java/util/BitSet.java: Likewise.
9787 * java/util/Dictionary.java: Likewise.
9788 * java/util/IdentityHashMap.java: Likewise.
9789 * java/util/MissingResourceException.java: Likewise.
9790 * java/util/Observer.java: Likewise.
9791 * java/util/TooManyListenersException.java: Likewise.
9792 * java/util/zip/DataFormatException.java: Likewise.
9793 * java/util/zip/ZipException.java: Likewise.
9794
9795 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9796
9797 * java/rmi/AccessException.java: Remerge from Classpath.
9798 * java/rmi/AlreadyBoundException.java: Ditto.
9799 * java/rmi/ConnectException.java: Ditto.
9800 * java/rmi/ConnectIOException.java: Ditto.
9801 * java/rmi/MarshalException.java: Ditto.
9802 * java/rmi/NoSuchObjectException.java: Ditto.
9803 * java/rmi/NotBoundException.java: Ditto.
9804 * java/rmi/RemoteException.java: Ditto.
9805 * java/rmi/RMISecurityException.java: Ditto.
9806 * java/rmi/ServerError.java: Ditto.
9807 * java/rmi/ServerException.java: Ditto.
9808 * java/rmi/ServerRuntimeException.java: Ditto.
9809 * java/rmi/StubNotFoundException.java: Ditto.
9810 * java/rmi/UnexpectedExcpetion.java: Ditto.
9811 * java/rmi/UnknownHostException.java: Ditto.
9812 * java/rmi/UnmarshalException.java: Ditto.
9813
9814 2002-06-15 Tom Tromey <tromey@redhat.com>
9815
9816 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9817 * java/lang/ArithmeticException.java: Likewise.
9818 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9819 * java/lang/ArrayStoreException.java: Likewise.
9820 * java/lang/Byte.java: Likewise.
9821 * java/lang/CharSequence.java: Likewise.
9822 * java/lang/ClassCastException.java: Likewise.
9823 * java/lang/ClassCircularityError.java: Likewise.
9824 * java/lang/ClassFormatError.java: Likewise.
9825 * java/lang/CloneNotSupportedException.java: Likewise.
9826 * java/lang/Cloneable.java: Likewise.
9827 * java/lang/Comparable.java: Likewise.
9828 * java/lang/Compiler.java: Likewise.
9829 * java/lang/Error.java: Likewise.
9830 * java/lang/ExceptionInInitializerError.java: Likewise.
9831 * java/lang/IllegalAccessError.java: Likewise.
9832 * java/lang/IllegalAccessException.java: Likewise.
9833 * java/lang/IllegalArgumentException.java: Likewise.
9834 * java/lang/IllegalMonitorStateException.java: Likewise.
9835 * java/lang/IllegalStateException.java: Likewise.
9836 * java/lang/IllegalThreadStateException.java: Likewise.
9837 * java/lang/IncompatibleClassChangeError.java: Likewise.
9838 * java/lang/IndexOutOfBoundsException.java: Likewise.
9839 * java/lang/InheritableThreadLocal.java: Likewise.
9840 * java/lang/InstantiationError.java: Likewise.
9841 * java/lang/InstantiationException.java: Likewise.
9842 * java/lang/InternalError.java: Likewise.
9843 * java/lang/InterruptedException.java: Likewise.
9844 * java/lang/LinkageError.java: Likewise.
9845 * java/lang/NegativeArraySizeException.java: Likewise.
9846 * java/lang/NoClassDefFoundError.java: Likewise.
9847 * java/lang/NoSuchFieldError.java: Likewise.
9848 * java/lang/NoSuchFieldException.java: Likewise.
9849 * java/lang/NoSuchMethodError.java: Likewise.
9850 * java/lang/NoSuchMethodException.java: Likewise.
9851 * java/lang/NullPointerException.java: Likewise.
9852 * java/lang/NumberFormatException.java: Likewise.
9853 * java/lang/OutOfMemoryError.java: Likewise.
9854 * java/lang/Process.java: Likewise.
9855 * java/lang/Runnable.java: Likewise.
9856 * java/lang/RuntimePermission.java: Likewise.
9857 * java/lang/SecurityException.java: Likewise.
9858 * java/lang/Short.java: Likewise.
9859 * java/lang/StackOverflowError.java: Likewise.
9860 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9861 * java/lang/ThreadDeath.java: Likewise.
9862 * java/lang/ThreadLocal.java: Likewise.
9863 * java/lang/UnknownError.java: Likewise.
9864 * java/lang/UnsatisfiedLinkError.java: Likewise.
9865 * java/lang/UnsupportedClassVersionError.java: Likewise.
9866 * java/lang/UnsupportedOperationException.java: Likewise.
9867 * java/lang/VerifyError.java: Likewise.
9868 * java/lang/VirtualMachineError.java: Likewise.
9869 * java/lang/reflect/InvocationTargetException.java: Likewise.
9870 * java/net/BindException.java: Likewise.
9871 * java/net/ConnectException.java: Likewise.
9872 * java/net/MalformedURLException.java: Likewise.
9873 * java/net/NoRouteToHostException.java: Likewise.
9874 * java/net/ProtocolException.java: Likewise.
9875 * java/net/SocketException.java: Likewise.
9876 * java/net/UnknownHostException.java: Likewise.
9877 * java/net/UnknownServiceException.java: Likewise.
9878
9879 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9880 * java/io/CharConversionException.java: Likewise.
9881 * java/io/EOFException.java: Likewise.
9882 * java/io/FileNotFoundException.java: Likewise.
9883 * java/io/IOException.java: Likewise.
9884 * java/io/InterruptedIOException.java: Likewise.
9885 * java/io/InvalidClassException.java: Likewise.
9886 * java/io/InvalidObjectException.java: Likewise.
9887 * java/io/NotActiveException.java: Likewise.
9888 * java/io/NotSerializableException.java: Likewise.
9889 * java/io/ObjectStreamException.java: Likewise.
9890 * java/io/ObjectStreamConstants.java: Likewise.
9891 * java/io/OptionalDataException.java: Likewise.
9892 * java/io/PipedInputStream.java: Likewise.
9893 * java/io/PushbackInputStream.java: Likewise.
9894 * java/io/StreamCorruptedException.java: Likewise.
9895 * java/io/SyncFailedException.java: Likewise.
9896 * java/io/UTFDataFormatException.java: Likewise.
9897 * java/io/UnsupportedEncodingException.java: Likewise.
9898 * java/io/WriteAbortedException.java: Likewise.
9899
9900 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9901
9902 * java/text/ChoiceFormat.java: Update comments from Classpath.
9903 * java/text/ParseException.java (serialVersionUID): New
9904 field from Classpath.
9905 * java/text/ParseException.java: Update formatting & comments
9906 from Classpath.
9907
9908 2002-06-15 Tom Tromey <tromey@redhat.com>
9909
9910 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9911 been read but none output by inflater.
9912 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9913 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9914 is_finished.
9915 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9916 version.
9917 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9918 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9919 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9920 version.
9921 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9922
9923 2002-06-13 Tom Tromey <tromey@redhat.com>
9924
9925 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9926 true and OFFSET!=0.
9927 * java/lang/String.java (String(char[],int,int,boolean): New
9928 constructor.
9929 * java/lang/Long.java: Imported new version from Classpath.
9930 * java/lang/Number.java: Likewise.
9931 * java/lang/Integer.java: Likewise.
9932 * java/lang/Long.java: Likewise.
9933 * java/lang/Float.java: Likewise.
9934 * java/lang/Boolean.java: Likewise.
9935 * java/lang/Double.java: Likewise.
9936 * java/lang/Void.java: Likewise.
9937
9938 2002-06-12 Tom Tromey <tromey@redhat.com>
9939
9940 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9941 Fixes PR libgcj/6652.
9942
9943 2002-06-10 Tom Tromey <tromey@redhat.com>
9944
9945 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9946 (Class::getPackagePortion): Likewise.
9947 * java/lang/Class.java (desiredAssertionStatus): New method from
9948 Classpath.
9949 (getPackagePortion): Likewise.
9950 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9951 packageAssertionStatus, classAssertionStatus): New methods from
9952 Classpath.
9953 * java/lang/ClassLoader.java (defaultAssertionStatus,
9954 systemPackageAssertionStatus, packageAssertionStatus,
9955 systemClassAssertionStatus, classAssertionStatus): New fields from
9956 Classpath.
9957 (setDefaultAssertionStatus, setPackageAssertionStatus,
9958 setClassAssertionStatus, clearAssertionStatus): New methods from
9959 Classpath.
9960 * Makefile.in: Rebuilt.
9961 * Makefile.am (core_java_source_files): Added AssertionError.java.
9962 * java/lang/AssertionError.java: New from Classpath.
9963
9964 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9965
9966 * configure.host: Disable hash synchronization and slow_pthread_self
9967 for cygwin.
9968
9969 2002-06-06 Adam Megacz <adam@xwt.org>
9970
9971 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9972 locking, just like the Sun JVM does.
9973
9974 2002-06-05 H.J. Lu (hjl@gnu.org)
9975
9976 * Makefile.am (libgcj_convenience.la): Revert the last change.
9977 (libgcj.la): Likewise.
9978 * Makefile.in: Regenerated.
9979
9980 2002-06-04 H.J. Lu (hjl@gnu.org)
9981
9982 * Makefile.am (libgcj_convenience.la): New target.
9983 (libgcj.la): Depend on libgcj_convenience.la.
9984 * Makefile.in: Regenerated.
9985
9986 2002-06-04 H.J. Lu (hjl@gnu.org)
9987
9988 * configure.in (--with-newlib): New option:
9989 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9990 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9991 Linux.
9992 * configure: Regenerated.
9993
9994 2002-06-04 Tom Tromey <tromey@redhat.com>
9995
9996 * java/util/natTimeZone.cc: Include <stdio.h>.
9997
9998 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9999
10000 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10001 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10002 Set SIGNAL_HANDLER=include/s390-linux.h.
10003 * configure: Regenerate.
10004 * include/s390-linux.h: New file.
10005
10006 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10007
10008 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10009 not "stackTrace".
10010
10011 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10012
10013 Merge JDK 1.4 java.security changes from classpath.
10014
10015 * java/security/AccessControlException.java: Merge from Classpath.
10016 * java/security/AccessController.java: Likewise.
10017 * java/security/AllPermission.java: Likewise.
10018 * java/security/BasicPermission.java: Likewise.
10019 * java/security/Certificate.java: Likewise.
10020 * java/security/CodeSource.java: Likewise.
10021 * java/security/DigestException.java: Likewise.
10022 * java/security/DigestOutputStream.java: Likewise.
10023 * java/security/DomainCombiner.java: Likewise.
10024 * java/security/GeneralSecurityException.java: Likewise.
10025 * java/security/Guard.java: Likewise.
10026 * java/security/GuardedObject.java: Likewise.
10027 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10028 * java/security/InvalidKeyException.java: Likewise.
10029 * java/security/InvalidParameterException.java: Likewise.
10030 * java/security/Key.java: Likewise.
10031 * java/security/KeyException.java: Likewise.
10032 * java/security/KeyManagementException.java: Likewise.
10033 * java/security/KeyStoreException.java: Likewise.
10034 * java/security/MessageDigest.java: Likewise.
10035 * java/security/NoSuchAlgorithmException.java: Likewise.
10036 * java/security/NoSuchProviderException.java: Likewise.
10037 * java/security/Permission.java: Likewise.
10038 * java/security/PermissionCollection.java: Likewise.
10039 * java/security/Permissions.java: Likewise.
10040 * java/security/Policy.java: Likewise.
10041 * java/security/Principal.java: Likewise.
10042 * java/security/PrivateKey.java: Likewise.
10043 * java/security/PrivilegedAction.java: Likewise.
10044 * java/security/PrivilegedActionException.java: Likewise.
10045 * java/security/PrivilegedExceptionAction.java: Likewise.
10046 * java/security/ProtectionDomain.java: Likewise.
10047 * java/security/ProviderException.java: Likewise.
10048 * java/security/PublicKey.java: Likewise.
10049 * java/security/SecureClassLoader.java: Likewise.
10050 * java/security/SecurityPermission.java: Likewise.
10051 * java/security/SignatureException.java: Likewise.
10052 * java/security/UnrecoverableKeyException.java: Likewise.
10053 * java/security/UnresolvedPermission.java: Likewise.
10054 * java/security/acl/AclNotFoundException.java: Likewise.
10055 * java/security/acl/LastOwnerException.java: Likewise.
10056 * java/security/acl/NotOwnerException.java: Likewise.
10057 * java/security/cert/CRLException.java: Likewise.
10058 * java/security/cert/CertificateEncodingException.java: Likewise.
10059 * java/security/cert/CertificateException.java: Likewise.
10060 * java/security/cert/CertificateExpiredException.java: Likewise.
10061 * java/security/cert/CertificateFactory.java: Likewise.
10062 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10063 * java/security/cert/CertificateParsingException.java: Likewise.
10064 * java/security/spec/InvalidKeySpecException.java: Likewise.
10065 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10066
10067 * java/security/cert/CertPath.java: New file.
10068 * java/security/cert/CertPathBuilderException.java: New file.
10069 * java/security/cert/CertPathValidatorException.java: New file.
10070 * java/security/cert/CertStoreException.java: New file.
10071
10072 * Makefile.am: Add new CertPath classes.
10073 * Makefile.in: Rebuilt.
10074
10075 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10076
10077 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10078
10079 Merge JDK 1.4 exception chaining support from classpath.
10080
10081 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10082 (stackTraceBytes): Rename from stackTrace.
10083 * java/lang/Exception.java: Merge from classpath.
10084 * java/lang/StackTraceElement: New file from classpath.
10085 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10086 * Makefile.am: Add StackTraceElement.
10087 * Makefile.in: Rebuilt.
10088
10089 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10090
10091 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10092 they build first.
10093 * Makefile.in: Rebuilt.
10094
10095 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10096
10097 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10098 * configure.in: Likewise.
10099 * aclocal.m4: Regenerate.
10100 * configure: Regenerate.
10101
10102 2002-05-13 Tom Tromey <tromey@redhat.com>
10103
10104 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10105 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10106 Include platform.h.
10107
10108 Fixes PR libgcj/6389:
10109 * Makefile.in: Rebuilt.
10110 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10111 * java/util/natTimeZone.cc: New file.
10112 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10113 * java/lang/System.java: Merged with Classpath.
10114 * java/lang/Runtime.java: Merged with Classpath.
10115 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10116 security check.
10117 (setIn0): Renamed from setIn; don't run security check.
10118 (setOut0): Renamed from setOut; don't run security check.
10119 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10120 init_properties): Moved to natRuntime.cc.
10121 Moved many includes to natRuntime.cc.
10122 (isWordsBigEndian): New method.
10123 * java/lang/natRuntime.cc: Include Long.h, also other includes
10124 previously in natSystem.cc.
10125 (maxMemory): New function.
10126 (exitInternal): Renamed from `_exit'.
10127 (exit): Removed.
10128 (init): Don't set finalize_on_exit.
10129 (exitInternal): Use `finalizeOnExit'.
10130 (file_encoding, getpwuid_adaptor): New functions from
10131 natSystem.cc.
10132 (insertSystemProperties): New method, renamed from
10133 System::init_properties. Don't set user.timezone.
10134 (_load): Don't call checkLink.
10135 (execInternal): New method.
10136 (availableProcessors): Likewise.
10137 (nativeGetLibname): Likewise.
10138
10139 2002-05-11 Mark Wielaard <mark@klomp.org>
10140
10141 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10142 space characters.
10143 (previous_internal): Likewise.
10144
10145 2002-05-09 Tom Tromey <tromey@redhat.com>
10146
10147 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10148
10149 * java/util/ResourceBundle.java: New version from Classpath.
10150 * java/util/Locale.java: Likewise.
10151
10152 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10153
10154 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10155 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10156 LD_LIBRARY_PATH.
10157
10158 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10159
10160 * libjava/Makefile.am (all_java_source_files): New variable.
10161 (all_java_class_files): Likewise.
10162 .java.class: New rule.
10163 (CLEANFILES): Remove tmp-list.
10164 * libjava/Makefile.in: Regenerated.
10165
10166 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10167
10168 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10169 Append .exe to executable names. Fix for cygwin.
10170
10171 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10172
10173 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10174 script entry, and set LD to it when configuring multilibs.
10175 * configure: Rebuilt.
10176
10177 2002-05-07 Tom Tromey <tromey@redhat.com>
10178
10179 * java/lang/natString.cc (unintern): Fixed typo.
10180
10181 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10182
10183 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10184 with -no-install on *-*-cygwin*.
10185
10186 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10187
10188 * testsuite/lib/libjava.exp (test_libjava_from_source):
10189 Add comment explaining last patch
10190
10191 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10192
10193 * testsuite/lib/libjava.exp (test_libjava_from_source):
10194 Append .exe to executable names. If no suffix is present,
10195 then ".exe" is added by default on win32. Harmless
10196 elsewhere so always do it.
10197
10198 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10199 Tom Tromey <tromey@redhat.com>
10200
10201 * java/lang/natSystem.cc (getSystemTimeZone): Use
10202 HAVE_UNDERSCORE_TIMEZONE.
10203 * include/config.h.in: Rebuilt.
10204 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10205 * aclocal.m4, configure: Rebuilt.
10206 * acinclude.m4: Run AC_EXEEXT.
10207 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10208 Add test for `_timezone'.
10209
10210 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10211
10212 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10213 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10214 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10215 * Makefile.in: Rebuilt.
10216
10217 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10218
10219 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10220 use sigaction instead of __libc_sigaction.
10221
10222 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10223
10224 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10225 (libjava_init): Use it to find libgcj.spec.
10226 (libjava_arguments): Likewise.
10227
10228 2002-05-02 David S. Miller <davem@redhat.com>
10229
10230 PR bootstrap/6525
10231 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10232 __libc_sigaction on Sparc.
10233
10234 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10235
10236 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10237 sys/filio.h, if present.
10238
10239 2002-04-30 Tom Tromey <tromey@redhat.com>
10240
10241 * java/io/BufferedReader.java (fill): Handle case where markPos
10242 point to ignored \n. Fixes PR libgcj/6301.
10243
10244 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10245
10246 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10247
10248 2002-04-29 Adam King <aking@dreammechanics.com>
10249
10250 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10251 of file in APPEND mode.
10252
10253 2002-04-25 David S. Miller <davem@redhat.com>
10254
10255 PR target/6422
10256 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10257 program counter to next program counter minus 8. Update
10258 comments in this macro to explain why.
10259
10260 2002-04-26 Tom Tromey <tromey@redhat.com>
10261
10262 * verify.cc (construct_primitive_array_type) [void_type]: New
10263 case.
10264 (branch_prepass): Added dummy entries for unused instruction
10265 values.
10266 (verify_instructions_0): Likewise.
10267 * interpret.cc (continue1): Comment fix.
10268 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10269 * Makefile.in: Rebuilt.
10270 * Makefile.am: Added -Wswitch-enum.
10271
10272 2002-04-24 Tom Tromey <tromey@redhat.com>
10273
10274 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10275 correct length of UTF-8 encoded name. Strip leading `/'.
10276 (_Jv_RegisterResource): Use _Jv_Malloc.
10277
10278 2002-04-23 Adam Megacz <adam@xwt.org>
10279
10280 * win32.cc, include/win32.cc (backtrace): Added this function
10281 because Win32 does not supply it.
10282
10283 2002-04-21 David S. Miller <davem@redhat.com>
10284
10285 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10286 magic instruction reading sequence.
10287
10288 2002-04-21 Mark Wielaard <mark@klomp.org>
10289
10290 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10291
10292 2002-04-19 David S. Miller <davem@redhat.com>
10293
10294 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10295 arg.
10296 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10297 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10298 on Sparc too.
10299 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10300 for 64-bit sparc.
10301 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10302 * sysdeps/sparc/locks.h: New file.
10303 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10304 on all sparc Solaris configurations. Set to
10305 include/dwarf2-signal.h on sparc Linux.
10306 * configure: Regenerate
10307 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10308
10309 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10310
10311 * configure: Rebuilt.
10312 * configure.in (backtrace): Function doesn't work on IA-64.
10313
10314 2002-04-17 Adam King <aking@dreammechanics.com>
10315
10316 * java/io/File.java (normalizePath): Add Win32 support for auto
10317 conversion of a '/' path separator to Win32's '\' separator.
10318
10319 2002-04-16 Tom Tromey <tromey@redhat.com>
10320
10321 Fix for PR libgcj/6081:
10322 * Makefile.in: Rebuilt.
10323 * Makefile.am (install-data-local): Use GNU make trick to avoid
10324 shell limit.
10325
10326 2002-04-16 Adam King <aking@dreammechanics.com>
10327 Tom Tromey <tromey@redhat.com>
10328
10329 * java/io/natFileWin32.cc (performList): Return the correct array
10330 type. Don't duplicate the creation of a File since it's already
10331 done earlier in the method and the existing code would cause a
10332 ArrayStoreException. Don't use fixed-size array.
10333 (_access, _stat, attr, getCanonicalPath, performMkdir,
10334 performRenameTo): Don't use fixed-size array.
10335 (getCanonicalPath): Use throw, not _Jv_Throw.
10336
10337 2002-04-15 DJ Delorie <dj@redhat.com>
10338
10339 * configure.in: Allow building in $srcdir.
10340 * configure: Regenerated.
10341
10342 2002-04-14 Mark Wielaard <mark@klomp.org>
10343
10344 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10345 * java/net/natSocketImpl.cc (close): Likewise.
10346
10347 2002-04-14 Mark Wielaard <mark@klomp.org>
10348
10349 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10350
10351 2002-04-13 Adam King <aking@dreammechanics.com>
10352
10353 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10354 the f/F/d/D modifiers.
10355
10356 2002-04-12 Anthony Green <green@redhat.com>
10357
10358 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10359 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10360 * Makefile.in: Rebuilt.
10361 * configure.in: Substitute gcc_version.
10362 * configure: Rebuilt.
10363
10364 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10365
10366 * configure.host: Set can_unwind_signal on hosts which support it.
10367 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10368 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10369 exceptions and can_unwind_signal isn't set.
10370 * configure: Rebuilt.
10371
10372 2002-04-11 Tom Tromey <tromey@redhat.com>
10373
10374 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10375
10376 2002-04-11 Adam King <aking@dreammechanics.com>
10377 Tom Tromey <tromey@redhat.com>
10378
10379 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10380 _Jv_ThrowNullPointerException): Mark as noreturn.
10381 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10382 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10383 fixes.
10384
10385 2002-04-10 Tom Tromey <tromey@redhat.com>
10386
10387 * Makefile.in: Rebuilt.
10388 * Makefile.am (java/lang/Thread.h): Mark
10389 _Jv_AttachCurrentThreadAsDaemon as friend.
10390 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10391 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10392 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10393 function.
10394 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10395 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10396 (_Jv_JNI_InvokeFunctions): Added
10397 _Jv_JNI_AttachCurrentThreadAsDaemon.
10398 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10399 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10400 (JNI_CreateJavaVM): Likewise.
10401 (_Jv_JNI_AttachCurrentThread): Likewise.
10402 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10403 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10404 (_Jv_JNIFunctions): Initialize new fields.
10405 (_Jv_JNI_NewDirectByteBuffer): New function.
10406 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10407 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10408 * include/jni.h (JNI_VERSION_1_4): New macro.
10409 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10410 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10411 (JNINativeInterface::NewDirectByteBuffer): New field.
10412 (JNINativeInterface::GetDirectBufferAddress): New field.
10413 (JNINativeInterface::GetDirectBufferCapacity): New field.
10414 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10415 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10416 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10417
10418 2002-04-09 Tom Tromey <tromey@redhat.com>
10419
10420 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10421
10422 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10423
10424 Fix for PR libgcj/6187:
10425 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10426 distance.
10427
10428 2002-04-07 Mark Wielaard <mark@klomp.org>
10429
10430 * java/util/AbstractMap.java (putAll): Use entrySet size.
10431 (toString): Explicitly use getKey() and getValue().
10432
10433 2002-04-07 Mark Wielaard <mark@klomp.org>
10434
10435 * java/util/Hashtable.java (contains): Remove NullPointer check.
10436 (containsValue): Add NullPointer check.
10437 (remove): Always throw NullPointerException when key
10438 is null.
10439
10440 2002-04-07 Adam King <aking@dreammechanics.com>
10441
10442 * java/lang/natSystem.cc (init_properties): Call new function
10443 _Jv_platform_initProperties.
10444 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10445 support for the System properties os.name, os.arch, os.version,
10446 user.name, user.home, and user.dir.
10447 * include/posix.h, include/win32.h, posix.cc: New function
10448 _Jv_platform_initProperties.
10449
10450 2002-04-06 Mark Wielaard <mark@klomp.org>
10451
10452 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10453
10454 2002-04-06 Mark Wielaard <mark@klomp.org>
10455
10456 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10457 all of the remaining elements.
10458 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10459 (removeRange): If toIndex == fromIndex do
10460 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10461 (removeAll): Always throw NullPointerException when collection is
10462 null.
10463 (retrainAll): Likewise.
10464
10465 2002-04-05 Mark Wielaard <mark@klomp.org>
10466
10467 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10468 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10469
10470 2002-04-05 Adam Megacz <adam@xwt.org>
10471
10472 * exception.cc (abort): added static modifier
10473
10474 2002-04-04 Adam Megacz <adam@xwt.org>
10475
10476 * include/win32.h (_Jv_platform_close_on_exec): added inline
10477 modifier.
10478
10479 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10480
10481 * configure.host: Add case statement to support generic port
10482 properties. Add *-*-freebsd* section.
10483
10484 2002-04-04 Mark Wielaard <mark@klomp.org>
10485
10486 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10487 test.
10488 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10489 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10490 that depend on awt code and BufferedByteOutputStream.interrupt.
10491
10492 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10493
10494 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10495 incorrect "hi" value when count > 40.
10496
10497 2002-04-03 Mark Wielaard <mark@klomp.org>
10498
10499 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10500 ordering.
10501
10502 2002-04-02 Tom Tromey <tromey@redhat.com>
10503
10504 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10505 not `0'.
10506
10507 2002-04-02 Mark Wielaard <mark@klomp.org>
10508
10509 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10510 list of testsuite crashers.
10511
10512 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10513
10514 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10515 when resizing table.
10516
10517 2002-04-01 Mark Wielaard <mark@klomp.org>
10518
10519 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10520 NegativeArraySizeException
10521 (clear(int)): Use sign extended shift.
10522 (flip(int)): Likewise.
10523 (get(int)): Likewise.
10524 (nextClearBit(int)): Likewise.
10525 (nextSetBit(int)): Likewise.
10526 (set(int)): Likewise.
10527
10528 2002-04-01 Mark Wielaard <mark@klomp.org>
10529
10530 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10531 that can be compiled now and add testsuite crashers to ignore list.
10532
10533 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10534
10535 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10536
10537 * libgcj.spec.in: Override libgcc, not lib.
10538 * libgcj-test.spec.in: Likewise.
10539
10540 2002-03-29 Tom Tromey <tromey@redhat.com>
10541
10542 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10543 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10544
10545 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10546
10547 * java/net/PlainDatagramSocketImpl.java
10548 (close): Use native implementation.
10549 (finalize): New method.
10550
10551 * java/net/PlainSocketImpl.java (finalize): New method.
10552
10553 * java/net/natPlainDatagramSocketImpl.cc
10554 (java/io/FileDescriptor.h): Don't include.
10555 (close): Implement method here.
10556 (create): Don't assign fd.
10557
10558 * java/net/natPlainSocketImpl.cc
10559 (java/io/FileDescriptor.h): Don't include.
10560 (create): Don't assign fd.
10561 (accept): Likewise.
10562 (close): Synchronize.
10563
10564 2002-03-27 Richard Henderson <rth@redhat.com>
10565
10566 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10567
10568 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10569
10570 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10571 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10572 instead of syscall on IA-64.
10573 Add FIXME comment.
10574
10575 2002-03-27 Anthony Green <green@redhat.com>
10576
10577 * libgcj.spec.in: Add CHECKREFSPEC.
10578 * configure.in: Ditto.
10579 * configure.host: Ditto. Check references for xscale-elf.
10580 * configure: Rebuilt.
10581
10582 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10583
10584 * include/dwarf2-signal.h: Temporarily back out last change.
10585
10586 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10587
10588 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10589
10590 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10591
10592 * configure.in, configure: enable dwarf2-exception-style
10593 exception handling on IA-64.
10594 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10595 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10596 Add FIXME comment.
10597
10598 2002-03-25 Tom Tromey <tromey@redhat.com>
10599
10600 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10601 (jv_convert_LDFLAGS): Likewise.
10602 (gij_LDFLAGS): Likewise.
10603 (rmic_LDFLAGS): Likewise.
10604 (rmiregistry_LDFLAGS): Likewise.
10605 * configure.in (THREADLDFLAGS): New subst; set correctly for
10606 *BSD.
10607
10608 2002-03-25 Tom Tromey <tromey@redhat.com>
10609
10610 For PR libgcj/5303:
10611 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10612 and --version.
10613 (help): New method.
10614 (version): Likewise.
10615 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10616 "GNU".
10617 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10618 "GNU".
10619
10620 2002-03-25 Tom Tromey <tromey@redhat.com>
10621
10622 * java/awt/Component.java (processEvent): Check ComponentEvent
10623 after KeyEvent.
10624
10625 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10626
10627 * java/io/PushbackReader.java: Reformat.
10628
10629 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10630 calculate correct number of bytes skipped.
10631
10632 Based on patch from Intel's ORP team:
10633 * java/io/PushbackInputStream.java (available): Calculate correct
10634 number of bytes in buffer.
10635 (read): Remove redundant bound check. Return bytes from both the
10636 buffer and the stream.
10637
10638 2002-03-24 Tom Tromey <tromey@redhat.com>
10639
10640 * java/awt/TextComponent.java (TextComponent): Editable by
10641 default.
10642
10643 * java/awt/MenuItem.java (eventMask): No longer private.
10644 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10645 superclass if we didn't handle event.
10646 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10647 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10648 * java/awt/Choice.java (dispatchEventImpl): New method.
10649 * java/awt/List.java (dispatchEventImpl): New method.
10650 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10651 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10652 * java/awt/TextField.java (dispatchEventImpl): New method.
10653
10654 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10655
10656 * java/beans/IntrospectionException.java: Update to 1.4.
10657 * java/beans/PropertyVetoException.java: Ditto.
10658
10659 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10660
10661 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10662 Arrays.equals instead of ArrayHelper.equalsArray.
10663
10664 2002-03-24 C. Brian Jones <cbj@gnu.org>
10665
10666 * java/beans/Introspector.java: added new static final fields
10667 introduced in 1.2, lots of other updates remain to be done
10668
10669 2002-03-24 C. Brian Jones <cbj@gnu.org>
10670
10671 * java/beans/Introspector.java: reformatting
10672
10673 2002-03-24 C. Brian Jones <cbj@gnu.org>
10674
10675 * java/beans/Introspector.java: default beanInfoSearchPath will
10676 not include sun.beans.infos given we provide no such package and
10677 the API doesn't really require it; gnu.java.beans.info is the
10678 default.
10679
10680 2002-03-24 Mark Wielaard <mark@klomp.org>
10681
10682 Thanks to Orp developers
10683 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10684 switch TRUE and FALSE return values.
10685
10686 2002-03-23 Tom Tromey <tromey@redhat.com>
10687
10688 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10689 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10690
10691 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10692
10693 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10694 MONTH entry. Fixes PR libgcj/6045.
10695
10696 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10697
10698 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10699
10700 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10701
10702 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10703 not release_set.
10704 * sysdep/powerpc/locks.h (write_barrier): New function.
10705 * sysdep/i386/locks.h (write_barrier): New function.
10706
10707 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10708
10709 * include/jni.h Use correct C comments.
10710
10711 2002-03-18 Tom Tromey <tromey@redhat.com>
10712
10713 * include/jni.h (JNIIMPORT): New macro.
10714 (JNIEXPORT): Likewise.
10715 (JNICALL): Likewise.
10716
10717 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10718
10719 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10720 systems.
10721
10722 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10723
10724 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10725 INIT_SEGV: Use old_i386_kernel_sigaction.
10726 INIT_FP: Likewise.
10727
10728 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10729
10730 * java/lang/natSystem.cc (init_properties): Update VM version
10731 properties.
10732 * configure.in: Set GCJVERSION.
10733 * acconfig.h: Add GCJVERSION.
10734 * configure: Rebuilt.
10735 * include/config.h.in: Rebuilt.
10736
10737 2002-03-17 Anthony Green <green@redhat.com>
10738
10739 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10740
10741 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10742
10743 Build a single libgcj.so, without separate gc and zlib libraries.
10744 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10745 SYS_ZLIBS if system zlib is used.
10746 * configure: Rebuilt.
10747 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10748 * Makefile.in: Rebuilt.
10749 * libtool-version: Increment .so version number.
10750
10751 * Makefile.am: Escape quotes in echo.
10752 * Makefile.in: Rebuilt.
10753
10754 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10755
10756 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10757 * Makefile.in: Rebuilt.
10758
10759 2002-03-15 Anthony Green <green@redhat.com>
10760
10761 * configure.host (FILE): New macro for specifing File
10762 implementation.
10763 * configure: Rebuilt.
10764 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10765
10766 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10767
10768 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10769 already implicitly brought in from libgcj.la.
10770 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10771 * Makefile.in: Rebuilt.
10772
10773 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10774
10775 * THANKS: Fix punctuation, alphabetization.
10776
10777 2002-03-15 Tom Tromey <tromey@redhat.com>
10778 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10779
10780 Fix for PR libgcj/5944.
10781 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10782
10783 2002-03-15 Anthony Green <green@redhat.com>
10784
10785 * configure.in (tool_include_dir): Define.
10786 * configure: Rebuilt.
10787 * gcj/Makefile.am: Install libgcj-config.h relative to
10788 tool_include_dir.
10789 * gcj/Makefile: Rebuilt.
10790 * gcj/libgcj-config.h: Add warning comment.
10791
10792 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10793
10794 * configure.host (powerpc*-darwin*): Enable interpreter.
10795
10796 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10797
10798 * include/posix.h: Add multiple include header protection.
10799 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10800
10801 2002-03-10 Adam Megacz <adam@xwt.org>
10802
10803 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10804
10805 2002-03-10 Tom Tromey <tromey@redhat.com>
10806
10807 * java/awt/GridLayout.java (layoutContainer): Handle case where
10808 there are no items in container.
10809
10810 * java/lang/Win32Process.java: Added comment.
10811 * include/posix.h (_Jv_platform_close_on_exec): New function.
10812 Include fcntl.h.
10813 * include/win32.h (_Jv_platform_close_on_exec): New function.
10814 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10815 flag.
10816 (accept): Likewise.
10817 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10818 close-on-exec flag.
10819 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10820 flag.
10821
10822 2002-03-09 Tom Tromey <tromey@redhat.com>
10823
10824 * verify.cc (state::NO_STACK): New constant.
10825 (state::is_unmerged_ret_state): Handle case where stacktop is
10826 NO_STACK.
10827 (state::merge): Handle NO_STACK merges.
10828 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10829 for instruction following jsr.
10830 (stacktop, stackdepth): Removed unused variables.
10831 (pop_jump): Ignore case where all remaining states are skipped.
10832
10833 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10834
10835 * java/awt/ImageMediaEntry: Removed.
10836 * java/awt/MediaEntry: Removed.
10837
10838 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10839
10840 Hashtable synchronization for PowerPC.
10841 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10842 slow_pthread_self. Set up symlink for sysdeps directory.
10843 * configure: Rebuild.
10844 * configure.host: Document more shell variables. Set sysdeps_dir
10845 for most platforms. Set slow_pthread_self for i686. Set
10846 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10847 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10848 that memory barrier is emitted where required.
10849 * prims.cc: 64-bit align static primitive class instances.
10850 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10851 read_barrier() to enforce ordering of reads.
10852 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10853 primitives for PowerPC.
10854 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10855 moved from natObject.cc.
10856 * sysdep/alpha/locks.h: Likewise.
10857 * sysdep/ia64/locks.h: Likewise.
10858 * sysdep/generic/locks.h: Likewise.
10859 * java/lang/natObject.cc: Move thread synchronization primitives to
10860 system-dependent headers.
10861
10862 2002-03-09 Adam Megacz <adam@xwt.org>
10863
10864 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10865 bytes read and no failure code returned.
10866
10867 2002-03-09 Adam Megacz <adam@xwt.org>
10868
10869 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10870 definitions to simulate -mthreads.
10871
10872 2002-03-09 Adam Megacz <adam@xwt.org>
10873
10874 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10875 avoid precision loss.
10876
10877 2002-03-09 Per Bothner <per@bothner.com>
10878
10879 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10880 * gnu/gcj/xlib/XImage.java: Likewise.
10881 * gnu/gcj/xlib/XColor.java: Likewise.
10882
10883 2002-03-09 Adam Megacz <adam@xwt.org>
10884
10885 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10886 IOException so that Throwable.printStackTrace fails correctly.
10887
10888 2002-03-08 Adam Megacz <adam@xwt.org>
10889
10890 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10891 fixed.
10892
10893 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10894
10895 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10896 truncated to int.
10897
10898 2002-03-08 Tom Tromey <tromey@redhat.com>
10899
10900 * include/jni.h: Include stdio.h.
10901
10902 2002-03-08 Tom Tromey <tromey@redhat.com>
10903
10904 * posix.cc (internal_gettimeofday): New function.
10905 (_Jv_select): Use it.
10906
10907 2002-03-07 Adam Megacz <adam@xwt.org>
10908
10909 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10910 WIN32, and added thunks for read(), write(), and close().
10911 * java/net/natPlainSocketImpl.cc (accept, read, read):
10912 Disabled timeouts on WIN32 pending discussion.
10913
10914 2002-03-07 Adam Megacz <adam@xwt.org>
10915
10916 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10917 returns jlong. Added implementation
10918 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10919 returns jlong.
10920 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10921 returns jlong.
10922 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10923 returns jlong.
10924 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10925 _Jv_platform_gettimeofday signature.
10926
10927 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10928
10929 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10930 (read): Call recv() directly, not _Jv_recv().
10931
10932 2002-03-06 Tom Tromey <tromey@redhat.com>
10933
10934 * java/io/natFileDescriptorEcos.cc (init): Don't use
10935 GetStdHandle.
10936 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10937 is negative.
10938 (init): Don't use GetStdHandle.
10939
10940 * include/config.h.in: Rebuilt.
10941 * configure: Rebuilt.
10942 * Makefile.in: Rebuilt.
10943
10944 2002-03-06 Adam Megacz <adam@xwt.org>
10945
10946 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10947 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10948 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10949 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10950
10951 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10952
10953 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10954 the code for generating include/java-chartables.h.
10955 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10956 merge with Classpath.
10957 * scripts/unicode-muncher.pl: Copy from Classpath.
10958 * scritps/MakeCharTables.java: New file.
10959 * gnu/gcj/convert/Blocks-3.txt: New file.
10960 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10961 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10962 * gnu/java/lang/CharData.java: Copy from Classpath.
10963 * Makefile.am (ordinary_java_source_files): Add
10964 gnu/java/lang/CharData.java.
10965 * configure.in: Remove --enable-fast-character option.
10966 * java/lang/Character.java: Merge algorithms and Javadoc with
10967 Classpath.
10968 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10969 efficiently.
10970 * include/java-chardecomp.h: Regenerate.
10971 * include/java-chartables.h: Regenerate.
10972
10973 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10974
10975 * java/awt/MediaTracker.java: Implemented.
10976 * Makefile.am: Add MediaTracker.
10977 * Makefile.in: Rebuilt.
10978
10979 2002-03-05 Tom Tromey <tromey@redhat.com>
10980
10981 * java/lang/natPosixProcess.cc (fail): Removed.
10982 (startProcess): Simplified error-handling. Preserve
10983 LD_LIBRARY_PATH across exec.
10984
10985 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10986 AbstractMethodError.
10987
10988 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10989
10990 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10991 * Makefile.in: Rebuilt.
10992
10993 2002-03-03 Mark Wielaard <mark@klomp.org>
10994
10995 * java/util/Timer (TaskQueue.stop): set elements to zero.
10996
10997 2002-02-28 Anthony Green <green@redhat.com>
10998
10999 * java/lang/reflect/natMethod.cc (result): Add void* element.
11000 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11001 constructor test.
11002
11003 2002-02-27 Adam Megacz <adam@xwt.org>
11004
11005 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11006 '#undef STRICT'.
11007
11008 2002-02-26 Tom Tromey <tromey@redhat.com>
11009
11010 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11011 * gij.cc (version): Use __VERSION__.
11012 * include/config.h.in: Rebuilt.
11013 * acconfig.h (GCJVERSION): Removed.
11014 * configure: Rebuilt.
11015 * configure.in (GCJVERSION): Removed.
11016
11017 2002-02-26 Andreas Schwab <schwab@suse.de>
11018
11019 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11020 glibcpp_CXX, since libjava uses even another CXX.
11021 * aclocal.m4, configure: Regenerated.
11022
11023 2002-02-26 Tom Tromey <tromey@redhat.com>
11024
11025 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11026 `1'.
11027
11028 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11029
11030 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11031 dependency tracking for .java files.
11032 * Makefile.in: Rebuilt.
11033
11034 2002-02-24 Adam Megacz <adam@xwt.org>
11035
11036 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11037 typo. Sorry.
11038
11039 2002-02-24 Adam Megacz <adam@xwt.org>
11040
11041 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11042 for Win32, changed #ifdefs to check WIN32 instead of the
11043 (now-obsolete) USE_WINSOCK, and removed support for socket
11044 timeouts on Win32 pending further discussion.
11045
11046 2002-02-24 Adam Megacz <adam@xwt.org>
11047
11048 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11049 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11050 delete
11051
11052 2002-02-24 Adam Megacz <adam@xwt.org>
11053
11054 * java/lang/Win32Process.java: Created a dummy class to allow
11055 build process to run to completion.
11056
11057 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11058
11059 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11060 Define ffi_result union for ffi_call result. Cast
11061 ffi_result members to jvalue.
11062
11063 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11064
11065 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11066 * testsuite/Makefile.in: Likewise.
11067
11068 2002-02-20 Per Bothner <per@bothner.com>
11069
11070 * java/net/URL.java (getPath): New JDK 1.3 method.
11071
11072 * java/net/URLStreamHandler.java (parseURL):
11073 It is wrong to prepend '/' to the file part of a relative url.
11074
11075 * java/net/URLStreamHandler.java (parseURL):
11076 Minor optizations - append '/' rather than "/".
11077
11078 * java/net/URLStreamHandler.java (parseURL):
11079 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11080 We probably should canonicalize for a context-relative url, though.
11081 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11082 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11083 (sameFile): New method. Uses canonicalizeFilename.
11084
11085 2002-02-22 Tom Tromey <tromey@redhat.com>
11086
11087 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11088 java.vendor and java.vm.vendor.
11089 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11090 recent copyright date.
11091 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11092 * gij.cc (version): Print `Inc'.
11093
11094 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11095
11096 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11097 * aclocal.m4, configure: Rebuilt.
11098
11099 2002-02-20 Per Bothner <per@bothner.com>
11100
11101 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11102 and/or output streams immediately here, instead of using File.exists.
11103 (inputStream, outputStream): New fields to save open streams.
11104 (getInputStream, getOutputStream): Use already-opened streams.
11105
11106 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11107
11108 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11109 Use it.
11110 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11111 * aclocal.m4, configure, Makefile.in: Rebuilt.
11112
11113 2002-02-19 Tom Tromey <tromey@redhat.com>
11114
11115 Fix for PR libgcj/5696:
11116 * verify.cc (is_assignable_from_slow): Never call
11117 _Jv_IsAssignableFrom.
11118 (verify_instructions_0): Added new debug statement.
11119 (state::print): Print information about whether local has
11120 changed.
11121 (state::merge): Don't call note_variable when merging locals.
11122 (state::set_exception): Removed old FIXME comment.
11123
11124 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11125
11126 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11127 enable SO_BROADCAST.
11128
11129 2002-02-18 Jason Merrill <jason@redhat.com>
11130
11131 * name-finder.cc (toHex): Use word mode, not long long.
11132
11133 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11134
11135 2002-02-15 Tom Tromey <tromey@redhat.com>
11136
11137 Fix for PR libgcj/5695:
11138 * verify.cc (is_assignable_from_slow): Check to see if target is
11139 an Object before checking to see if source is an interface.
11140 (verify_instructions_0) [op_invokeinterface]: Handle case where
11141 we're making an interface call on Object.
11142
11143 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11144
11145 * Makefile.in: Rebuilt with Eric's change below.
11146
11147 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11148 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11149 Removed functions which are now implemented in Math.java.
11150
11151 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11152
11153 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11154 * Makefile.am (core_java_source_files): Add
11155 java/lang/StrictMath.java.
11156 * java/lang/Math.java: Merge with Classpath.
11157 * java/lang/StrictMath.java: New file - merge with Classpath.
11158
11159 2002-02-14 Mark Wielaard <mark@klomp.org>
11160
11161 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11162 package as a workaround for gcj 3.0.x
11163
11164 2002-02-14 Mark Wielaard <mark@klomp.org>
11165
11166 * java/security/BasicPermission.java: extends with fully qualified
11167 classname as workaround for gcj 3.0.4.
11168
11169 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11170
11171 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11172 around gcj bug of wrong emitted qualifier for inherited method.
11173 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11174 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11175 constructor to reduce amount of emitted bytecode. While this
11176 happens to work around a jikes 1.15 bug, it is still a useful
11177 patch even for correct compilers.
11178 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11179 * gnu/java/rmi/server/UnicastRemoteCall.java
11180 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11181
11182 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11183
11184 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11185 * java/net/SocketImpl.java: Ditto.
11186 * java/rmi/server/RMIClassLoader.java: Ditto.
11187 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11188
11189 2002-02-14 Mark Wielaard <mark@klomp.org>
11190
11191 Thanks to Takashi Okamoto
11192 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11193 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11194 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11195
11196 2002-02-13 Todd Stock <toddastock@yahoo.com>
11197
11198 Fix for PR libgcj/5670:
11199 * verify.cc (is_assignable_from_slow): If `source' is interface,
11200 recursively look for merge with `target'.
11201
11202 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11203
11204 * include/jni.h: Fix typo.
11205
11206 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11207
11208 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11209 correctly.
11210
11211 2002-02-13 Todd Stock <toddastock@yahoo.com>
11212
11213 Fix for PR libgcj/5671:
11214 * verify.cc (state::merge): Handle case where we're merging
11215 against an interface.
11216
11217 2002-02-12 Tom Tromey <tromey@redhat.com>
11218
11219 * exception.cc (std::abort): Mark as noreturn.
11220
11221 2002-02-12 Adam Megacz <adam@xwt.org>
11222
11223 * java/lang/Win32Process.java: Filled in a placeholder
11224 implementation so Win32 will build.
11225
11226 2002-02-12 Adam Megacz <adam@xwt.org>
11227
11228 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11229 * java/io/natFile.cc: Removed from repository.
11230 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11231
11232 2002-02-12 Adam Megacz <adam@xwt.org>
11233
11234 * win32.cc: Added two #includes to make win32.cc compile.
11235
11236 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11237
11238 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11239 declarations.
11240 (_Jv_InitGC): Don't bother locking, as this is always called from a
11241 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11242
11243 2002-02-11 Adam Megacz <adam@xwt.org>
11244
11245 * include/win32.h: Added _Jv_platform_gettimeofday.
11246 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11247
11248 2002-02-11 Adam Megacz <adam@xwt.org>
11249
11250 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11251 Added #undef STRICT to make windows.h and
11252 java/lang/reflect/Modifier.h cooperate.
11253
11254 2002-02-11 Adam Megacz <adam@xwt.org>
11255
11256 * java/io/natFileWin32.cc: Created a placeholder class with lots
11257 of FIXMEs.
11258
11259 2002-02-11 Adam Megacz <adam@xwt.org>
11260
11261 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11262 std::abort() to simply abort(). Also added "fake" std::abort() so
11263 we can #include unwind-pe.h without having to link against
11264 libstdc++-v3.
11265
11266 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11267
11268 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11269
11270 2002-02-08 Tom Tromey <tromey@redhat.com>
11271
11272 * interpret.cc (convert): New function.
11273 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11274 convert.
11275 Include Long.h.
11276
11277 2002-02-08 Anthony Green <green@redhat.com>
11278
11279 * configure.host: Add support for xscale-elf embedded target.
11280
11281 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11282
11283 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11284 dereferenced.
11285 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11286 frame.
11287
11288 2002-02-07 Tom Tromey <tromey@redhat.com>
11289
11290 * java/io/natFile.cc (_access): Use __builtin_alloca.
11291 (_stat): Likewise.
11292 (attr): Likewise.
11293 (getCanonicalPath): Likewise.
11294 (performList): Likewise.
11295 (performMkdir): Likewise.
11296 (performSetReadOnly): Likewise.
11297 (performRenameTo): Likewise.
11298 (performSetLastModified): Likewise.
11299 (performCreate): Likewise.
11300 (performDelete): Likewise.
11301
11302 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11303
11304 * HACKING: Fix URL for the automake-gcj.
11305
11306 2002-02-07 Tom Tromey <tromey@redhat.com>
11307
11308 * java/lang/natThrowable.cc: Updated copyright.
11309 * java/io/natFileWin32.cc: Updated copyright.
11310 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11311 * win32-threads.cc: Updated copyright.
11312 * name-finder.cc: Updated copyright.
11313 * include/name-finder.h: Updated copyright.
11314
11315 * include/name-finder.h: Conditionally include sys/wait.h.
11316 * include/config.h.in: Rebuilt.
11317
11318 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11319 Size buffer based on real size of string.
11320 (_stat): Likewise.
11321 (attr): Likewise.
11322 (getCanonicalPath): Likewise.
11323 (performList): Likewise.
11324 (performMkdir): Likewise.
11325 (performSetReadOnly): Likewise.
11326 (unixroot): Removed.
11327 (performRenameTo): Likewise.
11328 (performSetLastModified): Likewise.
11329 (performCreate): Likewise.
11330 (performDelete): Likewise.
11331 (performListRoots): Always return new array.
11332
11333 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11334 * win32.cc (win32_exception_handler): Now static.
11335 * include/win32.h (_Jv_platform_initialize): Declare.
11336 (win32_exception_handler): Don't declare.
11337 * java/lang/natSystem.cc (currentTimeMillis): Use
11338 _Jv_platform_gettimeofday.
11339 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11340 (_Jv_select): Use new name.
11341 (_Jv_platform_initialize): New function.
11342 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11343 _Jv_gettimeofday.
11344 (_Jv_platform_initialize): Declare.
11345
11346 * configure: Rebuilt.
11347 * configure.in: Removed unnecessary parens.
11348
11349 2002-02-06 Adam Megacz <adam@xwt.org>
11350
11351 * configure.in: Changed mingw) to *mingw*).
11352 * win32.cc: Created this file.
11353 * win32.h: Created this file.
11354 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11355 win32_exception_handler from prims.cc to win32.cc, added
11356 header in win32.h.
11357 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11358 longer needed now that we have platform.h
11359
11360 2002-02-06 Adam Megacz <adam@xwt.org>
11361
11362 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11363 use uint<n>_t instead of LONG and BYTE
11364
11365 2002-02-06 Adam Megacz <adam@xwt.org>
11366
11367 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11368
11369 2002-02-06 Anthony Green <green@redhat.com>
11370
11371 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11372 Implement missing method stubs.
11373 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11374 targets.
11375 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11376 concept of timezones.
11377 (init_properties): Don't refer to _Jv_Environment_Properties
11378 when this feature is not available.
11379 * include/config.h.in: Rebuilt.
11380 * acconfig.h: Add DISABLE_MAIN_ARGS.
11381 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11382 * configure: Rebuilt.
11383 * configure.in: Add --disable-main-args option. Test for
11384 opendir function. Replace AC_CHECK_SIZEOF with
11385 AC_COMPILE_CHECK_SIZEOF.
11386 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11387 * aclocal.m4: Rebuilt.
11388 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11389
11390 2002-02-06 Tom Tromey <tromey@redhat.com>
11391
11392 * verify.cc (require_array_type): If argument is a null array of
11393 references, return null as the element type.
11394
11395 2002-02-06 Mark Wielaard <mark@klomp.org>
11396
11397 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11398 duplicate of a wide type.
11399
11400 2002-02-06 Tom Tromey <tromey@redhat.com>
11401
11402 * verify.cc (type::isnull): New method.
11403 (require_array_type): Handle case where array is null.
11404 (verify_instructions_0) [op_arraylength]: Likewise.
11405
11406 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11407
11408 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11409 Symlink PLATFORMH to platform.h.
11410 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11411 PLATFORMOBJS.
11412 * java/lang/natSystem.cc: #include platform.h not posix.h.
11413 * Makefile.in: Rebuilt with libgcj automake.
11414 * configure: Rebuilt.
11415
11416 2002-02-05 Richard Henderson <rth@redhat.com>
11417
11418 * Makefile.in: Undo munging last change.
11419
11420 2002-02-04 Adam Megacz <adam@xwt.org>
11421
11422 * win32.cc: Created it.
11423 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11424 which is set to posix.cc or win32.cc.
11425 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11426
11427 2002-02-04 Adam Megacz <adam@xwt.org>
11428
11429 * configure.in: Corrected mingw case branches; added * before
11430 and after.
11431
11432 2002-02-04 Adam Megacz <adam@xwt.org>
11433
11434 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11435 if compiling for win32
11436
11437 2002-02-04 Adam Megacz <adam@xwt.org>
11438
11439 * win32-threads.cc: #undef STRICT after gc.h inclusion
11440
11441 2002-02-02 Tom Tromey <tromey@redhat.com>
11442
11443 * Makefile.in: Rebuilt.
11444
11445 2002-02-02 Jason Merrill <jason@redhat.com>
11446
11447 * Makefile.am (clean-nat): New target.
11448
11449 2002-02-02 Tom Tromey <tromey@redhat.com>
11450
11451 * java/io/natFile.cc: Removed old "FIXME" comments.
11452
11453 2002-02-01 Tom Tromey <tromey@redhat.com>
11454
11455 * java/lang/natPosixProcess.cc (myclose): New function.
11456 (fail): Use it.
11457 (startProcess): Likewise.
11458
11459 2002-02-01 Adam Megacz <adam@xwt.org>
11460
11461 * prims.cc: Added #undef STRICT after #include<windows.h>.
11462
11463 2002-02-01 Adam Megacz <adam@xwt.org>
11464
11465 * prims.cc
11466 (_Jv_CreateJavaVM): We now use WIN32 instead of
11467 USE_WIN32_SIGNALLING and USE_WINSOCK.
11468 (win32_exception_handler): Now throws an exception out of
11469 the signal handler; assumes SJLJ.
11470
11471 2002-02-01 Adam Megacz <adam@xwt.org>
11472
11473 * win32-threads.cc:
11474 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11475 wait() algorithm to make it safe.
11476 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11477 Added lazy creation of Win32 Events for better performance
11478 (really_start): This now uses GC_CreateThread so boehm-gc
11479 knows about new threads even when statically linked.
11480
11481 2002-02-01 Adam Megacz <adam@xwt.org>
11482
11483 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11484 enable safer wait() algorithm.
11485 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11486 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11487 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11488 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11489 instead of mutex.
11490 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11491
11492 2002-02-01 Adam Megacz <adam@xwt.org>
11493
11494 * configure.in: Added support for mingw.
11495 * java/lang/Win32Process.java: Created as empty file.
11496 * java/lang/natWin32Process.cc: Created as empty file.
11497
11498 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11499
11500 PR java/4972
11501 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11502 for libiconv in LIBICONV variable.
11503 * configure: Regenerated.
11504
11505 2002-01-31 Tom Tromey <tromey@redhat.com>
11506
11507 * verify.cc (state::enter_subroutine): New method.
11508 (handle_jsr_insn): Use it.
11509 (state::merge): When processing a `ret', correctly use
11510 subroutine's state to determine which local variables have
11511 changed.
11512 (push_exception_jump): Don't let stack overflow.
11513
11514 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11515
11516 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11517 --version output.
11518
11519 2002-01-30 Tom Tromey <tromey@redhat.com>
11520
11521 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11522 parameter for `recv' return type.
11523
11524 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11525 (state::merge): ... not here.
11526 (subr_entry_info): New structure.
11527 (entry_points): New field.
11528 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11529 entry_points.
11530
11531 2002-01-29 Tom Tromey <tromey@redhat.com>
11532
11533 * java/awt/List.java (addNotify): Correctly check to see if peer
11534 does not exist.
11535
11536 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11537 to compute height of each cell, and number of columns to compute
11538 width of each cell.
11539 * java/awt/Window.java (getOwnedWindows): Don't return null.
11540 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11541 of component. Increment x using horizontal gap, not vertical
11542 gap.
11543
11544 2002-01-28 Tom Tromey <tromey@redhat.com>
11545
11546 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11547 `nargs' byte is number of words, not number of arguments.
11548
11549 2002-01-27 Tom Tromey <tromey@redhat.com>
11550
11551 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11552 (when): Likewise.
11553 * java/awt/event/InputEvent.java (modifiers, when): Now
11554 package-private.
11555
11556 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11557 and to-do list.
11558 (state::merge): Use current class' class loader.
11559 (state::print): Print subroutine.
11560 (state::merge): Don't look at subroutine of unmerged `ret'.
11561
11562 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11563
11564 * nogc.cc: Remove warnings.
11565 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11566 New functions.
11567
11568 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11569
11570 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11571 int, int): Remove empty "if" statement to work around compiler bug.
11572 (newPixels(int[], ColorModel, int, int): Likewise.
11573
11574 2002-01-25 Per Bothner <per@bothner.com>
11575
11576 * verify.cc (verify_fail): Change from being a top-level function
11577 to e method of _Jv_BytecodeVerifier. Emit current method name.
11578 Pass the current verifier to type: and state: methods as needed,
11579 for better error messages, and for resolve.
11580 (resolve): Pass current class's loader for Class.forName and
11581 _Jv_FindClassFromSignature, rather than using the default loader.
11582 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11583 (get_type_val_for_signature): Make non-static.
11584 (various methods): Pass start_PC implicitly, not explicitly.
11585
11586 2002-01-25 Tom Tromey <tromey@redhat.com>
11587
11588 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11589 loop termination condition.
11590 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11591 width.
11592
11593 2002-01-24 Tom Tromey <tromey@redhat.com>
11594
11595 * java/awt/Shape.java: Merged with Classpath.
11596 * java/awt/Scrollbar.java: Merged with Classpath.
11597
11598 * java/awt/Container.java (addNotify): Unconditionally call
11599 addNotifyContainerChildren and superclass addNotify.
11600
11601 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11602 getAlpha, not getBlue.
11603
11604 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11605
11606 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11607
11608 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11609 (grabPixels(long)): Wait to be notified that the ImageProducer has
11610 completed.
11611
11612 2002-01-24 Per Bothner <per@bothner.com>
11613
11614 * verify.cc (is_assignable_from_slow): If target is an interface,
11615 we must still check the source's superclass before giving up.
11616
11617 2002-01-24 Tom Tromey <tromey@redhat.com>
11618
11619 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11620
11621 2002-01-23 Tom Tromey <tromey@redhat.com>
11622
11623 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11624 `else'.
11625
11626 * Makefile.in: Rebuilt.
11627 * Makefile.am (awt_java_source_files): Added new files.
11628 * java/awt/Toolkit.java: Merged with Classpath.
11629 * java/awt/PrintGraphics.java: New file from Classpath.
11630 * java/awt/PrintJob.java: New file from Classpath.
11631 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11632 * java/awt/datatransfer/ClipboardOwner.java: New file from
11633 Classpath.
11634 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11635 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11636 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11637 Classpath.
11638 * java/awt/datatransfer/StringSelection.java: New file from
11639 Classpath.
11640 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11641 Classpath.
11642 * java/awt/datatransfer/Transferable.java: New file from
11643 Classpath.
11644 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11645 from Classpath.
11646
11647 * Makefile.in: Rebuilt.
11648 * Makefile.am (awt_java_source_files): Added new files.
11649 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11650 Classpath.
11651 * java/awt/image/CropImageFilter.java: New file from Classpath.
11652 * java/awt/image/FilteredImageSource.java: New file from
11653 Classpath.
11654 * java/awt/image/ImageFilter.java: New file from Classpath.
11655 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11656 * java/awt/image/PixelGrabber.java: New file from Classpath.
11657 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11658 * java/awt/image/ReplicateScaleFilter.java: New file from
11659 Classpath.
11660 * java/awt/image/ImageProducer.java: Replaced with Classpath
11661 version.
11662 * java/awt/image/ImageObserver.java: Replaced with Classpath
11663 version.
11664 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11665 version.
11666 * java/awt/GridBagConstraints.java (clone): Catch
11667 CloneNotSupportedException.
11668
11669 2002-01-23 Per Bothner <per@bothner.com>
11670
11671 * java/lang/reflect/natField.cc (setAddr): New function.
11672 Calls getAddr and then checks that the field isn't final.
11673 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11674 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11675 (set): Call setAddr before check that new value has right type,
11676 to better match specified semantics.
11677
11678 2002-01-22 Tom Tromey <tromey@redhat.com>
11679
11680 * java/awt/TextField.java: Replaced with Classpath version.
11681 * java/awt/TextArea.java: Replaced with Classpath version.
11682 * java/awt/TextComponent.java: Replaced with Classpath version.
11683
11684 * java/awt/GridBagConstraints.java: Updated copyright.
11685
11686 2002-01-22 Mark Wielaard <mark@klomp.org>
11687
11688 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11689 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11690 java/awt/Dialog.java java/awt/FileDialog.java
11691 java/awt/Font.java java/awt/FontMetrics.java
11692 java/awt/Image.java java/awt/ImageMediaEntry.java
11693 java/awt/Insets.java java/awt/List.java
11694 java/awt/MediaEntry.java java/awt/MediaTracker.java
11695 java/awt/Menu.java java/awt/MenuBar.java
11696 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11697 java/awt/PaintContext.java java/awt/Panel.java
11698 java/awt/PopupMenu.java java/awt/SystemColor.java
11699 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11700 java/awt/peer/CheckboxMenuItemPeer.java
11701 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11702 java/awt/peer/ComponentPeer.java
11703 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11704 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11705 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11706 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11707 java/awt/peer/MenuBarPeer.java
11708 java/awt/peer/MenuComponentPeer.java
11709 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11710 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11711 java/awt/peer/ScrollPanePeer.java
11712 java/awt/peer/ScrollbarPeer.java
11713 java/awt/peer/TextAreaPeer.java
11714 java/awt/peer/TextComponentPeer.java
11715 java/awt/peer/TextFieldPeer.java
11716 java/awt/peer/WindowPeer.java: Add license clarification.
11717
11718 2002-01-22 Mark Wielaard <mark@klomp.org>
11719
11720 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11721 gnu/gcj/runtime/StringBuffer.java
11722 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11723 gnu/java/awt/ComponentDataBlitOp.java
11724 gnu/java/awt/GLightweightPeer.java
11725 gnu/java/beans/BeanInfoEmbryo.java
11726 gnu/java/beans/EmptyBeanInfo.java
11727 gnu/java/beans/ExplicitBeanInfo.java
11728 gnu/java/beans/IntrospectionIncubator.java
11729 gnu/java/beans/editors/ColorEditor.java
11730 gnu/java/beans/editors/FontEditor.java
11731 gnu/java/beans/editors/NativeBooleanEditor.java
11732 gnu/java/beans/editors/NativeByteEditor.java
11733 gnu/java/beans/editors/NativeDoubleEditor.java
11734 gnu/java/beans/editors/NativeFloatEditor.java
11735 gnu/java/beans/editors/NativeIntEditor.java
11736 gnu/java/beans/editors/NativeLongEditor.java
11737 gnu/java/beans/editors/NativeShortEditor.java
11738 gnu/java/beans/editors/StringEditor.java
11739 gnu/java/beans/info/ComponentBeanInfo.java
11740 gnu/java/io/ClassLoaderObjectInputStream.java
11741 gnu/java/io/NullOutputStream.java
11742 gnu/java/io/ObjectIdentityWrapper.java
11743 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11744 gnu/java/lang/reflect/TypeSignature.java
11745 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11746 gnu/java/locale/Calendar_en.java
11747 gnu/java/locale/Calendar_nl.java
11748 gnu/java/locale/LocaleInformation.java
11749 gnu/java/locale/LocaleInformation_de.java
11750 gnu/java/locale/LocaleInformation_en.java
11751 gnu/java/locale/LocaleInformation_nl.java
11752 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11753 gnu/java/rmi/registry/RegistryImpl.java
11754 gnu/java/rmi/rmic/Compile_gcj.java
11755 gnu/java/rmi/rmic/Compiler.java
11756 gnu/java/rmi/rmic/CompilerProcess.java
11757 gnu/java/rmi/rmic/RMIC.java
11758 gnu/java/rmi/rmic/TabbedWriter.java
11759 gnu/java/rmi/server/ProtocolConstants.java
11760 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11761 gnu/java/rmi/server/RMIHashes.java
11762 gnu/java/rmi/server/RMIObjectInputStream.java
11763 gnu/java/rmi/server/RMIObjectOutputStream.java
11764 gnu/java/rmi/server/UnicastConnection.java
11765 gnu/java/rmi/server/UnicastConnectionManager.java
11766 gnu/java/rmi/server/UnicastRef.java
11767 gnu/java/rmi/server/UnicastRemoteCall.java
11768 gnu/java/rmi/server/UnicastRemoteStub.java
11769 gnu/java/rmi/server/UnicastServer.java
11770 gnu/java/rmi/server/UnicastServerRef.java
11771 gnu/java/security/provider/DefaultPolicy.java
11772 gnu/java/security/provider/Gnu.java
11773 gnu/java/security/provider/SHA.java
11774 gnu/java/security/provider/SHA1PRNG.java
11775 gnu/java/text/BaseBreakIterator.java
11776 gnu/java/text/CharacterBreakIterator.java
11777 gnu/java/text/LineBreakIterator.java
11778 gnu/java/text/SentenceBreakIterator.java
11779 gnu/java/text/WordBreakIterator.java
11780 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11781 java/applet/AppletContext.java java/applet/AppletStub.java
11782 java/applet/AudioClip.java java/awt/AWTError.java
11783 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11784 java/awt/AWTException.java java/awt/AWTPermission.java
11785 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11786 java/awt/Button.java java/awt/Canvas.java
11787 java/awt/CardLayout.java java/awt/Checkbox.java
11788 java/awt/CheckboxGroup.java java/awt/Component.java
11789 java/awt/ComponentOrientation.java java/awt/Container.java
11790 java/awt/Dimension.java java/awt/Event.java
11791 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11792 java/awt/FlowLayout.java java/awt/Frame.java
11793 java/awt/Graphics.java java/awt/Graphics2D.java
11794 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11795 java/awt/IllegalComponentStateException.java
11796 java/awt/ItemSelectable.java java/awt/Label.java
11797 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11798 java/awt/MenuComponent.java java/awt/MenuItem.java
11799 java/awt/Paint.java java/awt/Point.java
11800 java/awt/Rectangle.java java/awt/RenderingHints.java
11801 java/awt/Transparency.java java/awt/Window.java
11802 java/awt/color/ColorSpace.java
11803 java/awt/color/ICC_ColorSpace.java
11804 java/awt/color/ICC_Profile.java
11805 java/awt/event/HierarchyBoundsAdapter.java
11806 java/awt/event/HierarchyBoundsListener.java
11807 java/awt/event/HierarchyEvent.java
11808 java/awt/event/HierarchyListener.java
11809 java/awt/geom/AffineTransform.java
11810 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11811 java/awt/geom/IllegalPathStateException.java
11812 java/awt/geom/Line2D.java
11813 java/awt/geom/NoninvertibleTransformException.java
11814 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11815 java/awt/geom/Rectangle2D.java
11816 java/awt/geom/RectangularShape.java
11817 java/awt/geom/RoundRectangle2D.java
11818 java/awt/image/BufferedImage.java
11819 java/awt/image/ColorModel.java
11820 java/awt/image/ComponentColorModel.java
11821 java/awt/image/ComponentSampleModel.java
11822 java/awt/image/DataBuffer.java
11823 java/awt/image/DataBufferByte.java
11824 java/awt/image/DataBufferInt.java
11825 java/awt/image/DataBufferUShort.java
11826 java/awt/image/DirectColorModel.java
11827 java/awt/image/PackedColorModel.java
11828 java/awt/image/Raster.java java/awt/image/RasterOp.java
11829 java/awt/image/SampleModel.java
11830 java/awt/image/SinglePixelPackedSampleModel.java
11831 java/awt/image/WritableRaster.java
11832 java/beans/AppletInitializer.java
11833 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11834 java/beans/Beans.java java/beans/Customizer.java
11835 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11836 java/beans/FeatureDescriptor.java
11837 java/beans/IndexedPropertyDescriptor.java
11838 java/beans/IntrospectionException.java
11839 java/beans/Introspector.java java/beans/MethodDescriptor.java
11840 java/beans/ParameterDescriptor.java
11841 java/beans/PropertyChangeEvent.java
11842 java/beans/PropertyChangeListener.java
11843 java/beans/PropertyChangeSupport.java
11844 java/beans/PropertyDescriptor.java
11845 java/beans/PropertyEditor.java
11846 java/beans/PropertyEditorManager.java
11847 java/beans/PropertyEditorSupport.java
11848 java/beans/PropertyVetoException.java
11849 java/beans/SimpleBeanInfo.java
11850 java/beans/VetoableChangeListener.java
11851 java/beans/VetoableChangeSupport.java
11852 java/beans/Visibility.java
11853 java/beans/beancontext/BeanContext.java
11854 java/beans/beancontext/BeanContextChild.java
11855 java/beans/beancontext/BeanContextChildComponentProxy.java
11856 java/beans/beancontext/BeanContextChildSupport.java
11857 java/beans/beancontext/BeanContextContainerProxy.java
11858 java/beans/beancontext/BeanContextEvent.java
11859 java/beans/beancontext/BeanContextMembershipEvent.java
11860 java/beans/beancontext/BeanContextMembershipListener.java
11861 java/beans/beancontext/BeanContextProxy.java
11862 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11863 java/beans/beancontext/BeanContextServiceProvider.java
11864 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11865 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11866 java/beans/beancontext/BeanContextServiceRevokedListener.java
11867 java/beans/beancontext/BeanContextServices.java
11868 java/beans/beancontext/BeanContextServicesListener.java
11869 java/io/BufferedInputStream.java
11870 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11871 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11872 java/io/ByteArrayOutputStream.java
11873 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11874 java/io/CharConversionException.java java/io/DataInput.java
11875 java/io/DataInputStream.java java/io/DataOutput.java
11876 java/io/EOFException.java java/io/Externalizable.java
11877 java/io/FileFilter.java java/io/FileNotFoundException.java
11878 java/io/FilePermission.java java/io/FileReader.java
11879 java/io/FileWriter.java java/io/FilenameFilter.java
11880 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11881 java/io/FilterReader.java java/io/FilterWriter.java
11882 java/io/IOException.java java/io/InputStream.java
11883 java/io/InterruptedIOException.java
11884 java/io/InvalidClassException.java
11885 java/io/InvalidObjectException.java
11886 java/io/NotActiveException.java
11887 java/io/NotSerializableException.java java/io/ObjectInput.java
11888 java/io/ObjectInputStream.java
11889 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11890 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11891 java/io/ObjectStreamConstants.java
11892 java/io/ObjectStreamException.java
11893 java/io/ObjectStreamField.java
11894 java/io/OptionalDataException.java java/io/OutputStream.java
11895 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11896 java/io/PipedReader.java java/io/PipedWriter.java
11897 java/io/PrintWriter.java java/io/PushbackInputStream.java
11898 java/io/PushbackReader.java java/io/Reader.java
11899 java/io/SequenceInputStream.java java/io/Serializable.java
11900 java/io/SerializablePermission.java
11901 java/io/StreamCorruptedException.java
11902 java/io/StreamTokenizer.java
11903 java/io/StringBufferInputStream.java java/io/StringReader.java
11904 java/io/StringWriter.java java/io/SyncFailedException.java
11905 java/io/UTFDataFormatException.java
11906 java/io/UnsupportedEncodingException.java
11907 java/io/WriteAbortedException.java java/io/Writer.java
11908 java/lang/AbstractMethodError.java
11909 java/lang/ArithmeticException.java
11910 java/lang/ArrayIndexOutOfBoundsException.java
11911 java/lang/ArrayStoreException.java java/lang/Boolean.java
11912 java/lang/Byte.java java/lang/CharSequence.java
11913 java/lang/ClassCastException.java
11914 java/lang/ClassCircularityError.java
11915 java/lang/ClassFormatError.java
11916 java/lang/ClassNotFoundException.java
11917 java/lang/CloneNotSupportedException.java
11918 java/lang/Cloneable.java java/lang/Comparable.java
11919 java/lang/Compiler.java java/lang/Double.java
11920 java/lang/Error.java java/lang/Exception.java
11921 java/lang/ExceptionInInitializerError.java
11922 java/lang/Float.java java/lang/IllegalAccessError.java
11923 java/lang/IllegalAccessException.java
11924 java/lang/IllegalArgumentException.java
11925 java/lang/IllegalMonitorStateException.java
11926 java/lang/IllegalStateException.java
11927 java/lang/IllegalThreadStateException.java
11928 java/lang/IncompatibleClassChangeError.java
11929 java/lang/IndexOutOfBoundsException.java
11930 java/lang/InheritableThreadLocal.java
11931 java/lang/InstantiationError.java
11932 java/lang/InstantiationException.java java/lang/Integer.java
11933 java/lang/InternalError.java
11934 java/lang/InterruptedException.java
11935 java/lang/LinkageError.java java/lang/Long.java
11936 java/lang/NegativeArraySizeException.java
11937 java/lang/NoClassDefFoundError.java
11938 java/lang/NoSuchFieldError.java
11939 java/lang/NoSuchFieldException.java
11940 java/lang/NoSuchMethodError.java
11941 java/lang/NoSuchMethodException.java
11942 java/lang/NullPointerException.java java/lang/Number.java
11943 java/lang/NumberFormatException.java
11944 java/lang/OutOfMemoryError.java java/lang/Package.java
11945 java/lang/Process.java java/lang/Runnable.java
11946 java/lang/RuntimeException.java
11947 java/lang/RuntimePermission.java
11948 java/lang/SecurityException.java
11949 java/lang/SecurityManager.java java/lang/Short.java
11950 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11951 java/lang/StringIndexOutOfBoundsException.java
11952 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11953 java/lang/ThreadLocal.java java/lang/UnknownError.java
11954 java/lang/UnsatisfiedLinkError.java
11955 java/lang/UnsupportedClassVersionError.java
11956 java/lang/UnsupportedOperationException.java
11957 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11958 java/lang/Void.java java/lang/ref/PhantomReference.java
11959 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11960 java/lang/ref/SoftReference.java
11961 java/lang/ref/WeakReference.java
11962 java/lang/reflect/AccessibleObject.java
11963 java/lang/reflect/InvocationTargetException.java
11964 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11965 java/lang/reflect/ReflectPermission.java
11966 java/math/BigDecimal.java java/math/BigInteger.java
11967 java/net/Authenticator.java java/net/BindException.java
11968 java/net/ConnectException.java java/net/ContentHandler.java
11969 java/net/ContentHandlerFactory.java
11970 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11971 java/net/FileNameMap.java java/net/MalformedURLException.java
11972 java/net/MulticastSocket.java java/net/NetPermission.java
11973 java/net/NoRouteToHostException.java
11974 java/net/PasswordAuthentication.java
11975 java/net/ProtocolException.java java/net/ServerSocket.java
11976 java/net/Socket.java java/net/SocketException.java
11977 java/net/SocketImpl.java java/net/SocketImplFactory.java
11978 java/net/SocketOptions.java java/net/SocketPermission.java
11979 java/net/URLDecoder.java java/net/URLEncoder.java
11980 java/net/URLStreamHandlerFactory.java
11981 java/net/UnknownHostException.java
11982 java/net/UnknownServiceException.java
11983 java/rmi/AccessException.java
11984 java/rmi/AlreadyBoundException.java
11985 java/rmi/ConnectException.java
11986 java/rmi/ConnectIOException.java
11987 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11988 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11989 java/rmi/NotBoundException.java
11990 java/rmi/RMISecurityException.java
11991 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11992 java/rmi/RemoteException.java java/rmi/ServerError.java
11993 java/rmi/ServerException.java
11994 java/rmi/ServerRuntimeException.java
11995 java/rmi/StubNotFoundException.java
11996 java/rmi/UnexpectedException.java
11997 java/rmi/UnknownHostException.java
11998 java/rmi/UnmarshalException.java
11999 java/rmi/activation/Activatable.java
12000 java/rmi/activation/ActivateFailedException.java
12001 java/rmi/activation/ActivationDesc.java
12002 java/rmi/activation/ActivationException.java
12003 java/rmi/activation/ActivationGroup.java
12004 java/rmi/activation/ActivationGroupDesc.java
12005 java/rmi/activation/ActivationGroupID.java
12006 java/rmi/activation/ActivationID.java
12007 java/rmi/activation/ActivationInstantiator.java
12008 java/rmi/activation/ActivationMonitor.java
12009 java/rmi/activation/ActivationSystem.java
12010 java/rmi/activation/Activator.java
12011 java/rmi/activation/UnknownGroupException.java
12012 java/rmi/activation/UnknownObjectException.java
12013 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12014 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12015 java/rmi/registry/Registry.java
12016 java/rmi/registry/RegistryHandler.java
12017 java/rmi/server/ExportException.java
12018 java/rmi/server/LoaderHandler.java
12019 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12020 java/rmi/server/Operation.java
12021 java/rmi/server/RMIClassLoader.java
12022 java/rmi/server/RMIClientSocketFactory.java
12023 java/rmi/server/RMIFailureHandler.java
12024 java/rmi/server/RMIServerSocketFactory.java
12025 java/rmi/server/RMISocketFactory.java
12026 java/rmi/server/RemoteCall.java
12027 java/rmi/server/RemoteObject.java
12028 java/rmi/server/RemoteRef.java
12029 java/rmi/server/RemoteServer.java
12030 java/rmi/server/RemoteStub.java
12031 java/rmi/server/ServerCloneException.java
12032 java/rmi/server/ServerNotActiveException.java
12033 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12034 java/rmi/server/SkeletonMismatchException.java
12035 java/rmi/server/SkeletonNotFoundException.java
12036 java/rmi/server/SocketSecurityException.java
12037 java/rmi/server/UID.java
12038 java/rmi/server/UnicastRemoteObject.java
12039 java/rmi/server/Unreferenced.java
12040 java/security/AccessControlContext.java
12041 java/security/AccessControlException.java
12042 java/security/AccessController.java
12043 java/security/AlgorithmParameterGenerator.java
12044 java/security/AlgorithmParameterGeneratorSpi.java
12045 java/security/AlgorithmParameters.java
12046 java/security/AlgorithmParametersSpi.java
12047 java/security/AllPermission.java
12048 java/security/BasicPermission.java
12049 java/security/Certificate.java java/security/CodeSource.java
12050 java/security/DigestException.java
12051 java/security/DigestInputStream.java
12052 java/security/DigestOutputStream.java
12053 java/security/DomainCombiner.java
12054 java/security/DummyKeyPairGenerator.java
12055 java/security/DummyMessageDigest.java
12056 java/security/DummySignature.java
12057 java/security/GeneralSecurityException.java
12058 java/security/Guard.java java/security/GuardedObject.java
12059 java/security/Identity.java java/security/IdentityScope.java
12060 java/security/InvalidAlgorithmParameterException.java
12061 java/security/InvalidKeyException.java
12062 java/security/InvalidParameterException.java
12063 java/security/Key.java java/security/KeyException.java
12064 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12065 java/security/KeyManagementException.java
12066 java/security/KeyPair.java java/security/KeyPairGenerator.java
12067 java/security/KeyPairGeneratorSpi.java
12068 java/security/KeyStore.java
12069 java/security/KeyStoreException.java
12070 java/security/KeyStoreSpi.java
12071 java/security/MessageDigest.java
12072 java/security/MessageDigestSpi.java
12073 java/security/NoSuchAlgorithmException.java
12074 java/security/NoSuchProviderException.java
12075 java/security/Permission.java
12076 java/security/PermissionCollection.java
12077 java/security/Permissions.java java/security/Policy.java
12078 java/security/Principal.java java/security/PrivateKey.java
12079 java/security/PrivilegedAction.java
12080 java/security/PrivilegedActionException.java
12081 java/security/PrivilegedExceptionAction.java
12082 java/security/ProtectionDomain.java
12083 java/security/Provider.java
12084 java/security/ProviderException.java
12085 java/security/PublicKey.java
12086 java/security/SecureClassLoader.java
12087 java/security/SecureRandom.java
12088 java/security/SecureRandomSpi.java java/security/Security.java
12089 java/security/SecurityPermission.java
12090 java/security/Signature.java
12091 java/security/SignatureException.java
12092 java/security/SignatureSpi.java
12093 java/security/SignedObject.java java/security/Signer.java
12094 java/security/UnrecoverableKeyException.java
12095 java/security/UnresolvedPermission.java
12096 java/security/acl/Acl.java java/security/acl/AclEntry.java
12097 java/security/acl/AclNotFoundException.java
12098 java/security/acl/Group.java
12099 java/security/acl/LastOwnerException.java
12100 java/security/acl/NotOwnerException.java
12101 java/security/acl/Owner.java java/security/acl/Permission.java
12102 java/security/cert/CRL.java
12103 java/security/cert/CRLException.java
12104 java/security/cert/Certificate.java
12105 java/security/cert/CertificateEncodingException.java
12106 java/security/cert/CertificateException.java
12107 java/security/cert/CertificateExpiredException.java
12108 java/security/cert/CertificateFactory.java
12109 java/security/cert/CertificateFactorySpi.java
12110 java/security/cert/CertificateNotYetValidException.java
12111 java/security/cert/CertificateParsingException.java
12112 java/security/cert/X509CRL.java
12113 java/security/cert/X509CRLEntry.java
12114 java/security/cert/X509Certificate.java
12115 java/security/cert/X509Extension.java
12116 java/security/interfaces/DSAKey.java
12117 java/security/interfaces/DSAKeyPairGenerator.java
12118 java/security/interfaces/DSAParams.java
12119 java/security/interfaces/DSAPrivateKey.java
12120 java/security/interfaces/DSAPublicKey.java
12121 java/security/interfaces/RSAKey.java
12122 java/security/interfaces/RSAPrivateCrtKey.java
12123 java/security/interfaces/RSAPrivateKey.java
12124 java/security/interfaces/RSAPublicKey.java
12125 java/security/spec/AlgorithmParameterSpec.java
12126 java/security/spec/DSAParameterSpec.java
12127 java/security/spec/DSAPrivateKeySpec.java
12128 java/security/spec/DSAPublicKeySpec.java
12129 java/security/spec/EncodedKeySpec.java
12130 java/security/spec/InvalidKeySpecException.java
12131 java/security/spec/InvalidParameterSpecException.java
12132 java/security/spec/KeySpec.java
12133 java/security/spec/PKCS8EncodedKeySpec.java
12134 java/security/spec/RSAKeyGenParameterSpec.java
12135 java/security/spec/RSAPrivateCrtKeySpec.java
12136 java/security/spec/RSAPrivateKeySpec.java
12137 java/security/spec/RSAPublicKeySpec.java
12138 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12139 java/sql/BatchUpdateException.java java/sql/Blob.java
12140 java/sql/CallableStatement.java java/sql/Clob.java
12141 java/sql/Connection.java java/sql/DataTruncation.java
12142 java/sql/DatabaseMetaData.java java/sql/Date.java
12143 java/sql/Driver.java java/sql/DriverManager.java
12144 java/sql/DriverPropertyInfo.java
12145 java/sql/PreparedStatement.java java/sql/Ref.java
12146 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12147 java/sql/SQLData.java java/sql/SQLException.java
12148 java/sql/SQLInput.java java/sql/SQLOutput.java
12149 java/sql/SQLWarning.java java/sql/Statement.java
12150 java/sql/Struct.java java/sql/Time.java
12151 java/sql/Timestamp.java java/sql/Types.java
12152 java/text/Annotation.java
12153 java/text/AttributedCharacterIterator.java
12154 java/text/AttributedString.java
12155 java/text/AttributedStringIterator.java
12156 java/text/BreakIterator.java java/text/CharacterIterator.java
12157 java/text/ChoiceFormat.java java/text/Collator.java
12158 java/text/DateFormat.java java/text/DateFormatSymbols.java
12159 java/text/DecimalFormat.java
12160 java/text/DecimalFormatSymbols.java
12161 java/text/FieldPosition.java java/text/Format.java
12162 java/text/MessageFormat.java java/text/NumberFormat.java
12163 java/text/ParseException.java java/text/ParsePosition.java
12164 java/text/SimpleDateFormat.java
12165 java/text/StringCharacterIterator.java
12166 java/util/AbstractCollection.java java/util/AbstractList.java
12167 java/util/AbstractMap.java
12168 java/util/AbstractSequentialList.java
12169 java/util/AbstractSet.java java/util/ArrayList.java
12170 java/util/Arrays.java java/util/BasicMapEntry.java
12171 java/util/BitSet.java java/util/Calendar.java
12172 java/util/Collection.java java/util/Collections.java
12173 java/util/Comparator.java
12174 java/util/ConcurrentModificationException.java
12175 java/util/Date.java java/util/Dictionary.java
12176 java/util/EmptyStackException.java java/util/Enumeration.java
12177 java/util/EventListener.java java/util/EventObject.java
12178 java/util/GregorianCalendar.java java/util/HashMap.java
12179 java/util/HashSet.java java/util/Hashtable.java
12180 java/util/IdentityHashMap.java java/util/Iterator.java
12181 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12182 java/util/LinkedList.java java/util/List.java
12183 java/util/ListIterator.java java/util/ListResourceBundle.java
12184 java/util/Locale.java java/util/Map.java
12185 java/util/MissingResourceException.java
12186 java/util/NoSuchElementException.java
12187 java/util/Observable.java java/util/Observer.java
12188 java/util/Properties.java java/util/PropertyPermission.java
12189 java/util/PropertyResourceBundle.java java/util/Random.java
12190 java/util/RandomAccess.java java/util/ResourceBundle.java
12191 java/util/Set.java java/util/SimpleTimeZone.java
12192 java/util/SortedMap.java java/util/SortedSet.java
12193 java/util/Stack.java java/util/StringTokenizer.java
12194 java/util/TimeZone.java java/util/Timer.java
12195 java/util/TimerTask.java
12196 java/util/TooManyListenersException.java
12197 java/util/TreeMap.java java/util/TreeSet.java
12198 java/util/Vector.java java/util/WeakHashMap.java
12199 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12200 java/util/jar/JarException.java java/util/jar/JarFile.java
12201 java/util/jar/JarInputStream.java
12202 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12203 java/util/zip/Adler32.java java/util/zip/CRC32.java
12204 java/util/zip/CheckedInputStream.java
12205 java/util/zip/CheckedOutputStream.java
12206 java/util/zip/Checksum.java
12207 java/util/zip/DataFormatException.java
12208 java/util/zip/Deflater.java
12209 java/util/zip/DeflaterOutputStream.java
12210 java/util/zip/GZIPInputStream.java
12211 java/util/zip/GZIPOutputStream.java
12212 java/util/zip/Inflater.java
12213 java/util/zip/InflaterInputStream.java
12214 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12215 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12216 java/util/zip/ZipInputStream.java
12217 java/util/zip/ZipOutputStream.java
12218 javax/naming/BinaryRefAddr.java
12219 javax/naming/InvalidNameException.java javax/naming/Name.java
12220 javax/naming/NamingException.java javax/naming/RefAddr.java
12221 javax/naming/StringRefAddr.java: Add license clarification.
12222
12223 2002-01-22 Tom Tromey <tromey@redhat.com>
12224
12225 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12226 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12227 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12228 version.
12229 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12230 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12231 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12232 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12233 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12234 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12235 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12236 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12237 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12238 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12239 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12240 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12241 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12242 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12243 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12244 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12245 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12246 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12247 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12248 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12249 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12250 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12251 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12252 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12253 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12254 (minimumSize, preferredSize, reshape): Likewise.
12255 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12256 getColorModel): New methods.
12257 * java/awt/PopupMenu.java: Merged with Classpath.
12258 * java/awt/MenuBar.java: Merged with Classpath.
12259 * java/awt/SystemColor.java: Replace with Classpath version.
12260 * java/awt/Panel.java: Merged with Classpath.
12261 * java/awt/PaintContext.java: Updated copyright.
12262 * java/awt/MenuShortcut.java: Merged with Classpath.
12263 * java/awt/MenuContainer.java: Merged with Classpath.
12264 * java/awt/Menu.java: Merged with Classpath.
12265 * java/awt/MediaEntry.java: New file from Classpath.
12266 * java/awt/MediaTracker.java: New file from Classpath.
12267 * java/awt/List.java: Merged with Classpath version.
12268 * java/awt/Insets.java: Merged with Classpath version.
12269 * java/awt/ImageMediaEntry.java: New file from Classpath.
12270 * java/awt/Image.java: Replaced with Classpath version.
12271 * java/awt/FontMetrics.java: Merged with Classpath version.
12272 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12273 constant.
12274 * java/awt/Font.java: Merged with Classpath version.
12275 * java/awt/Dialog.java: Merged with Classpath version.
12276 * java/awt/Color.java: Merged with Classpath version.
12277 * java/awt/Choice.java: Merged with Classpath version.
12278 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12279 * java/awt/Adjustable.java: Replace with Classpath version.
12280 * java/awt/MenuItem.java (paramString): Don't include class name
12281 or brackets. Call superclass paramString.
12282 * java/awt/MenuComponent.java (toString): Call paramString.
12283 (paramString): Compute string; don't call toString.
12284 * java/awt/Label.java (paramString): Don't include class name
12285 or brackets. Call superclass paramString.
12286 * java/awt/Checkbox.java (paramString): Don't include class name
12287 or brackets. Call superclass paramString.
12288 * java/awt/Button.java (paramString): Don't include class name or
12289 brackets. Call superclass paramString.
12290 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12291
12292 2002-01-20 Andreas Schwab <schwab@suse.de>
12293
12294 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12295 function and of parameter recv_func to ssize_t, as specified by
12296 POSIX.
12297
12298 2002-01-19 Per Bothner <per@bothner.com>
12299
12300 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12301 uncompressed_size in readiness for next entry.
12302
12303 2002-01-18 Tom Tromey <tromey@redhat.com>
12304
12305 * java/net/natPlainSocketImpl.cc: Include
12306 IllegalArgumentException.h.
12307 (_Jv_recv): New template function.
12308 (BooleanClass): Removed.
12309 (read): Use _Jv_recv.
12310 (setOption): Use Boolean::class$. Throw exception if object is
12311 not Boolean or Integer.
12312
12313 2002-01-17 Tom Tromey <tromey@redhat.com>
12314
12315 * java/awt/MenuComponent.java: Merged with Classpath.
12316 * java/awt/MenuItem.java: Merged with Classpath.
12317 * java/awt/Button.java: Merged with Classpath.
12318
12319 * java/awt/ActiveEvent.java: Updated copyright.
12320
12321 * java/awt/AWTError.java: Replaced with Classpath version.
12322 * java/awt/AWTException.java: Replaced with Classpath version.
12323 * java/awt/IllegalComponentStateException.java: Replaced with
12324 Classpath version.
12325
12326 2002-01-16 Tom Tromey <tromey@redhat.com>
12327
12328 * java/awt/Canvas.java (serialVersionUID): New constant.
12329 Updated copyright. Added javadoc from Classpath.
12330 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12331
12332 * java/awt/CheckboxGroup.java: Merged with Classpath.
12333 * java/awt/Checkbox.java: Merged with Classpath.
12334
12335 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12336 Classpath.
12337 * java/awt/Point.java: Updated copyright.
12338
12339 * java/awt/Point.java (toString): Use getClass().getName().
12340 Added javadoc.
12341
12342 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12343 commented code.
12344 (hash): Correctly compute initial value for `h'.
12345
12346 * java/awt/Label.java: Merged with Classpath.
12347
12348 2002-01-15 Tom Tromey <tromey@redhat.com>
12349
12350 * java/awt/AWTPermission.java: Updated copyright.
12351
12352 * java/awt/LayoutManager2.java: Merged with Classpath.
12353 * java/awt/LayoutManager.java: Merged with Classpath.
12354 * java/awt/GridLayout.java: Updated copyright and javadoc.
12355 (getSize): Use `parent.ncomponents'. Handle insets.
12356 (layoutContainer): Use `parent.ncomponents'. Handle case where
12357 there are fewer children than columns. Correctly compute size of
12358 each cell in the grid. Handle case where there isn't enough
12359 space.
12360 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12361 all users.
12362 (gotoComponent): Use parent.ncomponents. Ensure child exists
12363 before calling setVisible() on it. Last item is `num - 1', not
12364 `num'.
12365 (layoutContainer): Hoist invariants out of loop.
12366
12367 Start of AWT merge with Classpath:
12368 * Makefile.in: Rebuilt.
12369 * Makefile.am (awt_java_source_files): Reference files in
12370 gnu/java/awt, not gnu/gcj/awt.
12371 * java/awt/image/BufferedImage.java: Updated copyright.
12372 * java/awt/image/ComponentColorModel.java: Updated copyright.
12373 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12374 * java/awt/image/DataBuffer.java: Updated copyright.
12375 * java/awt/image/DataBufferByte.java: Updated copyright.
12376 * java/awt/image/DataBufferInt.java: Updated copyright.
12377 * java/awt/image/DataBufferUShort.java: Updated copyright.
12378 * java/awt/image/IndexColorModel.java: Updated copyright.
12379 * java/awt/image/PackedColorModel.java: Updated copyright.
12380 * java/awt/image/Raster.java: Updated copyright.
12381 * java/awt/image/RasterOp.java: Updated copyright.
12382 * java/awt/image/SampleModel.java: Updated copyright.
12383 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12384 * java/awt/image/WritableRaster.java: Updated copyright.
12385 * java/awt/color/ColorSpace.java: Updated copyright.
12386 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12387 * java/awt/color/ICC_Profile.java: Updated copyright.
12388 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12389 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12390 * java/awt/event/HierarchyEvent.java: Updated copyright.
12391 * java/awt/event/HierarchyListener.java: Updated copyright.
12392 * java/awt/geom/AffineTransform.java: Updated copyright.
12393 * java/awt/geom/Dimension2D.java: Updated copyright.
12394 * java/awt/geom/Ellipse2D.java: Updated copyright.
12395 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12396 * java/awt/geom/Line2D.java: Updated copyright.
12397 * java/awt/geom/NoninvertibleTransformException.java: Updated
12398 copyright.
12399 * java/awt/geom/PathIterator.java: Updated copyright.
12400 * java/awt/geom/Point2D.java: Updated copyright.
12401 * java/awt/geom/Rectangle2D.java: Updated copyright.
12402 * java/awt/geom/RectangularShape.java: Updated copyright.
12403 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12404 * java/awt/Toolkit.java: Updated import for file moves.
12405 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12406 Classpath.
12407 (hashCode): New method from Classpath.
12408 * java/awt/Graphics2D.java: Updated copyright.
12409 * java/awt/Transparency.java: Updated copyright.
12410 * java/awt/Paint.java: Updated copyright.
12411 * java/awt/Graphics.java: New version from Classpath.
12412 * java/awt/EventDispatchThread.java: Updated copyright.
12413 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12414 children.
12415 (gotoComponent): Wrap around on next/previous.
12416 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12417 * gnu/gcj/awt/Buffers.java: Removed.
12418 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12419 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12420 * gnu/java/awt/BitMaskExtent.java: Added.
12421 * gnu/java/awt/Buffers.java: Added.
12422 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12423 * gnu/java/awt/GLightweightPeer.java: Added.
12424 * java/awt/geom/Line2D.java (clone): Ignore
12425 CloneNotSupportedException.
12426 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12427 * java/awt/Frame.java: Merged with Classpath.
12428 * java/awt/RenderingHints.java: Copyright update.
12429 * java/awt/Paint.java: Copyright update.
12430 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12431 * java/awt/image/ColorModel.java: Merged with Classpath.
12432 * java/awt/Window.java (show): New Implementation from Classpath.
12433 (isShowing): Use super.isShowing().
12434 * java/awt/EventQueue.java: Merged with Classpath.
12435 * java/awt/AWTEventMulticaster.java (save): Throw
12436 RuntimeException.
12437 (saveInternal): Likewise.
12438 * java/awt/AWTEvent.java: Now implements Serializable.
12439 * java/awt/Event.java: Copyright update.
12440 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12441 * java/awt/image/BufferedImage.java: Copyright update.
12442 * java/awt/GraphicsConfiguration.java: Copyright update.
12443 * java/awt/Component.java: (addNotify): Don't call
12444 addNotifyContainerChildren().
12445 (addNotifyContainerChildren): Removed.
12446 (setPeer): New method from Classpath.
12447 (setTreeLock): Likewise.
12448 (setVisible): Rewrote.
12449 (show): Use it.
12450 (hide): Likewise.
12451 (validate): Set `valid'.
12452 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12453 (createImage(ImageProducer)): Likewise.
12454 (prepareImage): Likewise.
12455 * java/awt/Container.java (addImpl): Handle case where constraint
12456 is not a String. Post event via system event queue.
12457 (remove): Post event via system event queue.
12458 (validateTree): Only validate child if it is invalid.
12459 (getAlignmentX): Call super method as default.
12460 (getAlignmentY): Likewise.
12461 (addContainerListener): Now synchronized.
12462 (removeContainerListener): Likewise.
12463 (addNotifyContainerChildren): Now private.
12464 * java/awt/ComponentOrientation.java: Updated copyright. Added
12465 @author.
12466 * java/awt/FlowLayout.java (serialVersionUID): New field.
12467 (setAlignment): Better exception message.
12468 (layoutContainer): Don't compute component's preferred size unless
12469 we're going to use it.
12470 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12471 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12472 (firstLine, lastLine, firstItem, lastItem): New fields.
12473 (addLayoutComponent): Handle case where constraints is null.
12474 Also, handle relative locations.
12475 (removeLayoutComponent): Handle relative locations.
12476 (MIN, MAX, PREF): New constants.
12477 (calcCompSize): New method.
12478 (calcSize): New method.
12479 (minimumLayoutSize): Use it.
12480 (preferredLayoutSize): Likewise.
12481 (maximumLayoutSize): Likewise.
12482 (toString): Include more information.
12483 (setBounds): New method.
12484 (layoutContainer): Use libgcj implementation; extended to handle
12485 relative locations.
12486
12487 2002-01-15 Tom Tromey <tromey@redhat.com>
12488
12489 * java/lang/Float.java (equals): Preserve old code.
12490 * java/lang/Double.java (equals): Preserve old code.
12491
12492 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12493
12494 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12495 * java/lang/Float.java (equals, compare): Ditto.
12496
12497 2002-01-13 Mark Wielaard <mark@klomp.org>
12498
12499 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12500 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12501 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12502 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12503
12504 2002-01-11 Mark Wielaard <mark@klomp.org>
12505
12506 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12507 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12508 InetAddress.
12509 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12510 * java/net/Socket.java: Merge with Classpath.
12511 * java/net/ServerSocket.java: Likewise.
12512
12513 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12514
12515 * interpret.cc (NULLARRAYCHECK): New macro.
12516 (SAVE_PC): Just store `pc'.
12517 (find_exception): Subtract one from `pc' here.
12518 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12519 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12520 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12521 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12522 don't call SAVE_PC.
12523 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12524 call SAVE_PC.
12525
12526 2002-01-11 Tom Tromey <tromey@redhat.com>
12527
12528 * java/lang/natSystem.cc (init_properties): Only look for default
12529 locale if LC_MESSAGES is defined.
12530 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12531 * configure.in: Call AM_LC_MESSAGES.
12532 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12533
12534 2002-01-10 Tom Tromey <tromey@redhat.com>
12535
12536 For PR libgcj/5303:
12537 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12538 --version. Recognize GNU-style long options. Print GNU-style
12539 error messages.
12540 (usage): Print GNU-style help. Exit with status 0.
12541 (error): New method.
12542 (run): Print error message if no class names found.
12543 (main): Don't print usage on error.
12544
12545 2002-01-09 Tom Tromey <tromey@redhat.com>
12546
12547 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12548 property.
12549 (help, version): Use println(), not println("").
12550
12551 For PR libgcj/5303:
12552 * gnu/gcj/convert/Convert.java (error): Program is called
12553 `jv-convert'. Print GNU-style message. Exit with status 1, not
12554 -1.
12555 (main): Handle --help and --version.
12556 (help): New method.
12557 (version): Likewise.
12558
12559 2002-01-08 Tom Tromey <tromey@redhat.com>
12560
12561 * Makefile.in: Rebuilt.
12562 * Makefile.am (ordinary_java_source_files): Added new files.
12563 * gnu/java/locale/LocaleInformation.java: Extend
12564 LocaleInformation_en.
12565 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12566 and time/date formats.
12567 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12568 generated.
12569 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12570 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12571 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12572 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12573 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12574 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12575 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12576 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12577 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12578 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12579 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12580 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12581 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12582 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12583 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12584 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12585 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12586 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12587 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12588 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12589 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12590 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12591 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12592 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12593 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12594 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12595 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12596 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12597 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12598 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12599 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12600 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12601 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12602 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12603 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12604 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12605 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12606 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12607 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12608 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12609 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12610 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12611 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12612 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12613 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12614 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12615 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12616 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12617 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12618 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12619 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12620 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12621 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12622 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12623 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12624 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12625 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12626 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12627 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12628 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12629 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12630 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12631 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12632 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12633 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12634 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12635 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12636 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12637 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12638 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12639 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12640 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12641 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12642 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12643 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12644 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12645 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12646 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12647 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12648 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12649 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12650 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12651 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12652 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12653 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12654 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12655 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12656 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12657 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12658 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12659 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12660 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12661 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12662 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12663 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12664 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12665 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12666 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12667 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12668 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12669 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12670 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12671 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12672 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12673 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12674 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12675 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12676 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12677 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12678 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12679 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12680 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12681 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12682 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12683 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12684 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12685 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12686 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12687 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12688 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12689 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12690 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12691 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12692 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12693 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12694 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12695 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12696 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12697 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12698 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12699
12700 For PR libgcj/5031:
12701 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12702 choose default locale.
12703
12704 * Makefile.in: Rebuilt.
12705 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12706
12707 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12708
12709 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12710 sockets.
12711 (close): New function closes the socket.
12712 (write): New functions for output to socket.
12713 (read): New functions for reading from socket.
12714 * java/net/PlainSocketImpl.java: Glue for new timeout
12715 implementation.
12716 (write): Call the native impl.
12717 (read): Likewise.
12718 (getInputStream): Get a stream to read from the socket.
12719 (getOutputStream): Get a stream to write to the socket.
12720
12721 2002-01-08 Tom Tromey <tromey@redhat.com>
12722
12723 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12724
12725 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12726
12727 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12728 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12729
12730 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12731
12732 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12733 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12734 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12735 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12736 insn_bastore, insn_castore, insn_sastore]: Use it.
12737 (continue1) [insn_arraylength]: Check for null array.
12738
12739 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12740
12741 * configure, include/config.h.in: Rebuilt.
12742 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12743 * configure.in: Call AC_STRUCT_TIMEZONE.
12744
12745 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12746
12747 * configure.host: Disable the interpreter for Darwin.
12748
12749 2002-01-04 Tom Tromey <tromey@redhat.com>
12750
12751 * java/lang/Thread.java (stop): No longer synchronized.
12752 (start): Likewise.
12753
12754 2002-01-02 Tom Tromey <tromey@redhat.com>
12755
12756 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12757 patch.
12758
12759 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12760
12761 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12762 PPC Darwin, not for all of Darwin.