re PR libgcj/11728 (HashMap serialization does not work)
[gcc.git] / libjava / ChangeLog
1 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
2
3 Fix for PR libgcj/11728:
4 * java/util/HashMap.java (readObject): Set size.
5
6 2003-07-31 Tom Tromey <tromey@redhat.com>
7
8 Fix for PR libgcj/11737:
9 * java/io/ObjectOutputStream.java (getMethod): Make method
10 accessible.
11 (getField): Likewise.
12 (writeObject): Use getMethod.
13 Import PrivilegedAction and AccessController.
14 (callWriteMethod): Don't check whether m is null. Catch
15 NoSuchMethodException.
16
17 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
18 (containsAngle): Likewise.
19 (getStartPoint): Rewrote.
20 (getEndPoint): Likewise.
21 (setAngleStart(Point2D)): Likewise.
22
23 2003-07-31 Roger Sayle <roger@eyesopen.com>
24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
25
26 * configure.in: Add new THREADCXXFLAGS variable.
27 Handle POSIX threads on alpha*-dec-osf*.
28 * configure: Regenerate.
29 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
30 * Makefile.in: Regenerate.
31
32 2003-07-08 Andrew Haley <aph@redhat.com>
33
34 * include/i386-signal.h (RESTORE): New.
35 (INIT_SEGV): Set restorer.
36 (INIT_FPE): Likewise.
37
38 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
39
40 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
41 than getXLFD.
42 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
43 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
44 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
45 (gtkSetFont): Scale size parameter by PANGO_SCALE.
46 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
47 Likewise.
48 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
49 Likewise.
50
51 2003-07-29 Tom Tromey <tromey@redhat.com>
52
53 * defineclass.cc (handleField): Throw exception if field name is
54 duplicated.
55 (handleMethod): Throw exception for duplicate method.
56
57 2003-07-29 Tom Tromey <tromey@redhat.com>
58
59 * gnu/gcj/convert/natIconv.cc (write): Handle case where
60 output buffer is too small.
61
62 2003-07-28 Tom Tromey <tromey@redhat.com>
63
64 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
65 New method.
66 Include gnu/gcj/runtime/StringBuffer.h.
67 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
68 native method.
69 (String(gnu.gcj.runtime.StringBuffer)): Use it.
70
71 2003-07-27 Anthony Green <green@redhat.com>
72
73 * configure.in: Fix newlib check.
74 * configure: Rebuilt.
75
76 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
77
78 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
79 Create vbox and layout for GtkPlug.
80
81 2003-07-27 Michael Koch <konqueror@gmx.de>
82
83 * java/awt/Window.java
84 (Window): Removed now unused constructor. It became oboslete with the
85 new embedded window patch.
86
87 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
88 Michael Koch <konqueror@gmx.de>
89
90 * gnu/java/awt/EmbeddedWindow.java
91 (EmbeddedWindow): Extends Frame instead of Window.
92 (window_id): New member variable to store the native window handle.
93 (create): Removed.
94 (EmbeddedWindow): New constructor.
95 (addNotify): New method.
96 (getHandler): Likewise.
97 (setWindowPeer): New native method.
98 * gnu/java/awt/EmbeddedWindowSupport.java
99 (EmbeddedWindowSupport): Fixed documentation.
100 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
101 WindowPeer, give it an EmbeddedWindow instance instead of the raw
102 window data.
103 * gnu/java/awt/natEmbeddedWindow.cc
104 (create): Removed.
105 (setWindowPeer): New method.
106 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
107 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
108 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
109 New files
110 * gnu/java/awt/peer/gtk/GtkToolkit.java
111 (GtkToolkit): Implements EmbeddedWindowSupport.
112 (createEmbeddedWindow): New method.
113 * java/awt/Window.java
114 (Window): Removed.
115 * Makefile.am
116 (java_source_files): Added EmbeddedWindowPeer.java.
117 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
118 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
119 * Makefile.in: Regenerated.
120
121 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
122
123 * java/lang/Win32Process.java (ConcreteProcess): Surround
124 a command line element with quotes if it contains an
125 embedded space or tab.
126 * java/lang/natWin32Process.cc (startProcess): Do not
127 surround command line elements with quotes here.
128
129 * configure.host: Use -fcheck-references and
130 -fuse-divide-subroutine for MinGW until we fix
131 win32_exception_handler( ) in win32.cc w.r.t. Win32
132 Structured Exception Handling (SEH).
133
134 * win32.cc (_Jv_platform_initProperties): Use generic names
135 like "x86" for the "os.arch" property to be consistent with
136 what Sun's JDK produces. Use the wProcessorArchitecture
137 member of the Win32 SYSTEM_INFO structure, filled in a call
138 to GetSystemInfo( ), instead of dwProcessorType.
139
140 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
141 Ranjit Mathew <rmathew@hotmail.com>
142
143 * Makefile.am: Use cross-compiling gcjh from the path for
144 a crossed-native build.
145 * Makefile.in: Rebuilt.
146 * configure.in: Include libltdl in non-newlib builds.
147 Moved determination of gcj used to build libraries to
148 its own section. Fixed cross-compilation issues for
149 non-newlib builds.
150 * configure: Rebuilt.
151
152 2003-07-25 Tom Tromey <tromey@redhat.com>
153
154 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
155 (write): Likewise.
156 (read): Likewise.
157 (read): Likewise.
158
159 2003-07-25 Mark Wielaard <mark@klomp.org>
160
161 * java/lang/natRuntime.cc (_load): Add library name to
162 UnsatisfiedLinkError when thrown.
163
164 2003-07-25 Mark Wielaard <mark@klomp.org>
165
166 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
167 added.
168 * Makefile.in: Likewise.
169
170 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
171
172 * java/awt/Component.java
173 (getPreferredSize): Call preferredSize.
174 (preferredSize): Moved body of getPreferredSize here.
175 (getMinimumSize): Call minimumSize.
176 (minimumSize): Moved body of getMinimumSize here.
177 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
178 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
179 pass -1
180 * java/awt/Container.java
181 (validate): Don't validate if there is no peer.
182 (update): Clear background before calling paint.
183 * java/awt/GridBagLayout.java
184 Completed the implementation and fixed several bugs.
185 * java/awt/MediaTracker.java
186 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
187 combine flags.
188 * java/awt/Window.java
189 (Window): Don't call setVisible(false). Windows are invisible by
190 default and calling virtual methods from constructor causes
191 compatibility problems (e.g. subclasses may assume that the peer
192 already exists).
193
194 2003-07-25 Michael Koch <konqueror@gmx.de>
195
196 * java/awt/GridBagLayout.java:
197 Totally reworked and partly implemented.
198 * java/awt/GridBagLayoutInfo.java:
199 New file.
200
201 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
202
203 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
204 Don't pack label in an event box.
205
206 2003-07-24 Tom Tromey <tromey@redhat.com>
207
208 For PR libgcj/7482:
209 * verify.cc (ref_intersection): New class.
210 (type_val): Removed unresolved_reference_type,
211 uninitialized_unresolved_reference_type.
212 (is_assignable_from_slow): Rewrote.
213 (type::data): Removed.
214 (type::klass): New field.
215 (type::type): Added verifier argument.
216 (type::resolve): Removed.
217 (type::set_uninitialized): Updated for change to type_val.
218 (type::set_initialized): Likewise.
219 (type::isinitialized): Likewise.
220 (type::print): Likewise.
221 (construct_primitive_array_type): Likewise.
222 (type::compatible): Updated for change to type_val and to use
223 ref_intersection.
224 (type::isarray): Updated to use ref_intersection.
225 (type::isinterface): Likewise.
226 (type::element_type): Likewise.
227 (type::to_array): Likewise.
228 (type::verify_dimensions): Rewrote.
229 (type::merge): Likewise.
230 (check_class_constant): Updated for type constructor change.
231 (check_constant): Likewise.
232 (check_field_constant): Likewise.
233 (get_one_type): Likewise.
234 (initialize_stack): Likewise.
235 (verify_instructions_0): Likewise.
236 (verify_instructions_0) [op_invokeinterface]: Removed special
237 case.
238 (isect_list): New field.
239 (_Jv_BytecodeVerifier): Initialize it.
240 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
241
242 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
243
244 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
245 unless field size is 2.
246
247 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
248
249 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
250 (connectHooks): New method.
251 (handleEvent): Remove.
252 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
253 (createHooks): Remove declaration.
254 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
255 (generates_key_typed_event): Change to handle only certain
256 keyvals.
257 (awt_event_handler): Add special handling for GtkTextView.
258 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
259 (textcomponent_commit_cb): New function.
260 (textcomponent_changed_cb): Likewise.
261 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
262 (connectHooks): Remove.
263
264 2003-07-23 Tom Tromey <tromey@redhat.com>
265
266 * java/lang/natSystem.cc (arraycopy): Check for overflow.
267
268 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
269
270 2003-07-22 Tom Tromey <tromey@redhat.com>
271
272 * boehm.cc (_Jv_BuildGCDescr): Wrote.
273 Include limits.h.
274
275 2003-07-22 Tom Tromey <tromey@redhat.com>
276
277 * java/awt/Window.java (getWarningString): Just return the
278 string.
279 (Window): Set warningString; check with security manager.
280
281 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
282
283 * gnu/awt/xlib/XGraphicsConfiguration.java
284 (FontMetricsCache): Made static.
285
286 2003-07-22 Tom Tromey <tromey@redhat.com>
287
288 * java/net/URLEncoder.java (encode(String)): Use platform default
289 encoding.
290 (encode(String,String)): Convert to 2-digit upper-case hex
291 number.
292 (hex): New field.
293
294 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
295
296 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
297 (create): Remove unused method implementation.
298 (connectHooks): Remove debug messages.
299
300 2003-07-20 Anthony Green <green@redhat.com>
301
302 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
303 CloneNotSupportedException.
304 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
305 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
306 * gnu/gcj/xlib/GC.java (clone): Ditto.
307 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
308 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
309
310 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
311 handler.
312 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
313
314 2003-07-20 Steve Pribyl <steve@netfuel.com.>
315
316 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
317 String. Put dlerror() message into exception.
318 Include UnsatisfiedLinkError.
319 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
320 String. Now native.
321
322 2003-07-20 Tom Tromey <tromey@redhat.com>
323
324 * java/lang/Runtime.java: Comment fix.
325 * java/lang/ClassLoader.java (isAncestorOf): New method.
326 (getParent): Uncommented security check. Use isAncestorOf.
327 * include/jvm.h (_Jv_CheckAccess): Declare.
328 * java/lang/reflect/natConstructor.cc (newInstance): Perform
329 access check.
330 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
331 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
332 class loader to _Jv_GetArrayClass.
333 Include ArrayIndexOutOfBoundsException.h.
334 * java/lang/reflect/Field.java: Update comment to reflect status.
335 (equals): Fixed indentation.
336 * java/lang/Class.h (Class): Declare memberAccessCheck, not
337 checkMemberAccess. Make _Jv_CheckAccess a friend.
338 * java/lang/Class.java (memberAccessCheck): New method from
339 Classpath.
340 (checkMemberAccess): Removed.
341 (getDeclaredMethod): Use memberAccessCheck.
342 (getField): Likewise.
343 (getMethod): Likewise.
344 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
345 (_Jv_SearchMethodInClass): Likewise.
346 * prims.cc (_Jv_CheckAccess): New function.
347 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
348 (_Jv_JNI_GetAnyFieldID): Likewise.
349 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
350 (getClassLoader): Added security check.
351 (getConstructor): Call memberAccessCheck.
352 (getDeclaredClasses): Likewise.
353 (getDeclaredField): Likewise.
354 (getDeclaredFields): Likewise.
355 (_getConstructors): Likewise.
356 (getDeclaredConstructor): Likewise.
357 (getDeclaredMethods): Likewise.
358 (getFields): Likewise.
359 (getMethods): Likewise.
360 (newInstance): Likewise.
361 (_Jv_MakeVTable): Put method name in exception.
362 * java/lang/reflect/natMethod.cc (getType): Use
363 getClassLoaderInternal.
364 (_Jv_GetTypesFromSignature): Likewise.
365 (invoke): Perform access check.
366 (_Jv_CallAnyMethodA): Removed old FIXME comments.
367 Include ArrayIndexOutOfBoundsException.h.
368 * java/lang/reflect/natField.cc (getType): Use
369 getClassLoaderInternal.
370 (_Jv_CheckFieldAccessibility): Removed.
371 (getAddr): Use _Jv_CheckAccess; find caller.
372 Include ArrayIndexOutOfBoundsException.h.
373
374 2003-07-20 Michael Koch <konqueror@gmx.de>
375
376 * java/net/URL.java
377 (URL): Fixed documentation to name an argument correcty, Reformatted
378 one method declaration.
379 (getURLStreamHandler): Added documentation from classpath.
380
381 2003-07-19 Tom Tromey <tromey@redhat.com>
382
383 * mauve-libgcj: Don't run CollationElementIterator tests.
384
385 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
386
387 * java/net/URLClassLoader.java (addURL): Moved implementation to
388 private addURLImpl() to avoid calling addURL from the constructor.
389 (addURLImpl): Contains the code that was previously in addURL.
390 (addURLs): Call addURLImpl(), not addURL().
391
392 2003-07-18 Graydon Hoare <graydon@redhat.com>
393
394 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
395 Handle missing event cases, connect to "value-changed" signal.
396
397 2003-07-18 Graydon Hoare <graydon@redhat.com>
398
399 * java/awt/geom/CubicCurve2D.java,
400 java/awt/geom/Line2D.java,
401 java/awt/geom/QuadCurve2D.java,
402 java/awt/geom/Rectangle2D.java:
403 Fix path some calculations, make path iterators follow
404 a consistent style.
405
406 2003-07-18 Mark Wielaard <mark@klomp.org>
407
408 * java/util/logging/Handler.java (isLoggable): Check record level
409 smaller or equal.
410
411 2003-07-17 Michael Koch <konqueror@gmx.de>
412
413 * gnu/java/awt/peer/gtk/GtkToolkit.java:
414 Reworked imports.
415
416 2003-07-14 Michael Koch <konqueror@gmx.de>
417
418 * gnu/java/rmi/server/UnicastServerRef.java:
419 New version from classpath.
420
421 2003-07-14 Michael Koch <konqueror@gmx.de>
422
423 * java/awt/image/MemoryImageSource.java,
424 java/beans/PropertyEditorManager.java,
425 javax/naming/CompoundName.java,
426 javax/naming/spi/NamingManager.java,
427 javax/swing/AbstractButton.java,
428 javax/swing/ButtonModel.java,
429 javax/swing/SwingUtilities.java,
430 javax/swing/UIManager.java,
431 javax/swing/colorchooser/DefaultColorSelectionModel.java,
432 javax/swing/event/AncestorEvent.java,
433 javax/swing/event/InternalFrameEvent.java,
434 java/util/zip/ZipFile.java:
435 New versions from classpath.
436
437 2003-07-13 Michael Koch <konqueror@gmx.de>
438
439 * gnu/java/nio/FileChannelImpl.java,
440 gnu/java/nio/natFileChannelImpl.cc: Removed.
441 * java/io/FileInputStream.java,
442 java/io/FileOutputStream.java,
443 java/io/RandomAccessFile.java,
444 java/nio/MappedByteBufferImpl.java:
445 Import java.nio.channels.FileChannelImpl instead of
446 gnu.java.nio.FileChannelImpl.
447 * java/nio/channels/FileChannelImpl.java,
448 java/nio/channels/natFileChannelImpl.cc:
449 New files.
450 * Makefile.am
451 (ordinary_java_source_files):
452 Removed gnu/java/nio/FileChannelImpl.java and added
453 java/nio/channels/FileChannelImpl.java.
454 (nat source_files):
455 Removed gnu/java/nio/natFileChannelImpl.cc and added
456 java/nio/channels/natFileChannelImpl.cc.
457 * Makefile.in: Regenerated.
458
459 2003-07-13 Michael Koch <konqueror@gmx.de>
460
461 * javax/swing/plaf/basic/BasicBorders.java,
462 javax/swing/plaf/basic/BasicLabelUI.java,
463 javax/swing/plaf/basic/BasicLookAndFeel.java,
464 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
465 javax/swing/plaf/basic/BasicTextUI.java,
466 javax/swing/plaf/metal/MetalLookAndFeel.java:
467 New versions from classpath.
468
469 2003-07-13 Michael Koch <konqueror@gmx.de>
470
471 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
472 * gnu/java/awt/peer/gtk/GdkGraphics.java
473 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
474 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
475 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
476 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
477 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
478 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
479 * gnu/java/awt/peer/gtk/GtkClipboard.java
480 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
481 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
482 * gnu/java/awt/peer/gtk/GtkFramePeer.java
483 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
484 * gnu/java/awt/peer/gtk/GtkImage.java
485 * gnu/java/awt/peer/gtk/GtkImagePainter.java
486 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
487 * gnu/java/awt/peer/gtk/GtkListPeer.java
488 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
489 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
490 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
491 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
492 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
493 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
494 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
495 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
496 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
497 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
498 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
499 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
500
501 2003-07-13 Michael Koch <konqueror@gmx.de>
502
503 * gnu/java/locale/LocaleInformation_de.java
504 * gnu/java/locale/LocaleInformation_en.java
505 * gnu/java/locale/LocaleInformation_nl.java
506
507 2003-07-13 Michael Koch <konqueror@gmx.de>
508
509 * gnu/java/awt/EmbeddedWindow.java,
510 gnu/java/awt/EmbeddedWindowSupport.java,
511 gnu/java/awt/natEmbeddedWindow.cc:
512 New files.
513 * java/awt/Window.java
514 (Window): New constructor to support embedded windows.
515 * Makefile.am
516 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
517 gnu/java/awt/EmbeddedWindowSupport.java.
518 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
519 * Makefile.in: Regenerated.
520
521 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
522
523 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
524 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
525 * java/awt/im/InputContext.java: Remove a redundant
526 partial line.
527
528 2003-07-09 Tom Tromey <tromey@redhat.com>
529
530 * Makefile.in: Rebuilt.
531 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
532
533 2003-07-09 Mark Wielaard <mark@klomp.org>
534
535 * java/io/ObjectOutputStream.java (writeObject): break after
536 calling writeClassDescriptor().
537
538 2003-07-09 Mark Mitchell <mark@codesourcery.com>
539
540 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
541
542 2003-07-09 Michael Koch <konqueror@gmx.de>
543
544 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
545 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
546 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
547 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
548 Explicitly import used classes.
549 * java/awt/Container.java: New version from classpath.
550
551 2003-07-09 Michael Koch <konqueror@gmx.de>
552
553 * libgcj.pc.in: New file.
554 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
555 * Makefile.in: Regenerated.
556 * configure: Regenrated.
557 * configure.in: Create libgcj.pc from libgcj.pc.in.
558
559 2003-07-08 Mark Wielaard <mark@klomp.org>
560
561 * gcj/cni.h: CNI now expands to Compiled Native Interface.
562
563 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
564 * java/lang/fdlibm.h: Likewise.
565
566 2003-07-07 Adam Megacz <adam@xwt.org>
567
568 * posix.cc: added #include<stdio.h>
569
570 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
571
572 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
573 formatting.
574
575 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
576 (setCaretPosition, setEditable): Rely entirely on native
577 implementation.
578 (getArgs): Remove.
579 (postTextEvent): New method.
580 (handleEvent): New method.
581 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
582 method.
583 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
584 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
585 (keysym_to_awt_keycode): Fix range checks.
586 (generates_key_typed_event): New function.
587 (awt_event_handler): Post AWT_KEY_RELEASED events to event
588 queue.
589 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
590 (gtkInit): Store TextComponent's postTextEvent method ID.
591 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
592 (setText): Post TEXT_VALUE_CHANGED event to event queue.
593
594 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
595
596 * configure.in: Check for usleep declaration.
597 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
598 * configure: Regenerate.
599 * include/config.h.in: Likewise.
600 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
601
602 2003-07-01 Michael Koch <konqueror@gmx.de>
603
604 * gnu/gcj/convert/natIconv.cc
605 (iconv_init): Fixed possible memory leak by releasing allocated iconv
606 handle.
607
608 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
609
610 * glib-2.0.m4: New file.
611 * gtk-2.0.m4: New file.
612 * glib.m4: Remove.
613 * gtk.m4: Remove.
614 * configure.in: Update AM_PATH_GTK macro call to
615 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
616 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
617 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
618 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
619 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
620 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
621 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
622 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
623 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
624 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
625 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
626 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
627 jni/gtk-peer/gthread-jni.c,
628 jni/gtk-peer/gthread-jni.h:
629 New versions from classpath.
630 * aclocal.m4: Regenerate.
631 * configure: Regenerate.
632 * Makefile.in: Regenerate.
633 * gcj/Makefile.in: Regenerate.
634 * include/Makefile.in: Regenerate.
635 * testsuite/Makefile.in: Regenerate.
636
637 2003-06-30 Gary Benson <gbenson@redhat.com>
638
639 For PR libgcj/11349:
640 * javax/naming/spi/NamingManager.java (getURLContext): Use
641 correct name for factory class.
642
643 2003-06-28 Michael Koch <konqueror@gmx.de>
644
645 * java/io/PrintStream.java
646 (checkError): Call flush() instead of direct flushing of the Writer
647 object.
648 (print): Call print(String) instead of direct print method of the
649 Writer Object.
650 (println): Call println(String) instead of direct println method of the
651 Writer Object.
652 (write): Simplified.
653
654 2003-06-28 Michael Koch <konqueror@gmx.de>
655
656 * java/net/ServerSocket.java
657 (setChannel): New method.
658 * java/net/Socket.java
659 (setChannel): New method.
660
661 2003-06-27 Michael Koch <konqueror@gmx.de>
662
663 * java/beans/beancontext/BeanContextSupport.java:
664 New version from classpath.
665
666 2003-06-27 Michael Koch <konqueror@gmx.de>
667
668 * java/awt/Window.java,
669 java/awt/font/GraphicAttribute.java,
670 java/awt/font/ImageGraphicAttribute.java,
671 java/awt/image/DataBufferByte.java,
672 java/awt/image/DataBufferInt.java,
673 java/awt/image/DataBufferUShort.java,
674 java/awt/image/DirectColorModel.java,
675 java/awt/image/PixelGrabber.java:
676 New versions from classpath.
677
678 2003-06-27 Michael Koch <konqueror@gmx.de>
679
680 * java/security/Certificate.java
681 (getGuarantor): Removed wrong @deprecated tag.
682 (getPrincipal): Likewise.
683 (getPublicKey): Likewise.
684 (encode): Likewise.
685 (decode): Likewise.
686 (getFormat): Likewise.
687 (toString): Likewise.
688 * java/security/cert/PolicyQualifierInfo.java
689 (PolicyQualifierInfo): Made final.
690 * javax/security/auth/x500/X500Principal.java
691 (serialVersionUID): New member variable.
692
693 2003-06-27 Michael Koch <konqueror@gmx.de>
694
695 * java/text/Format.java
696 (serialVersionUID): Fixed value.
697
698 2003-06-27 Michael Koch <konqueror@gmx.de>
699
700 * java/net/Inet4Address.java
701 (Inet4Address): Made package-private.
702 * java/net/Inet6Address.java
703 (Inet4Address): Made package-private.
704
705 2003-06-27 Michael Koch <konqueror@gmx.de>
706
707 * java/io/RandomAccessFile.java
708 (readLine): Removed wrong @deprecated tag.
709 (getChannel): Made final.
710
711 2003-06-27 Michael Koch <konqueror@gmx.de>
712
713 * gnu/java/nio/FileChannelImpl.java
714 (write): Removed.
715
716 2003-06-27 Michael Koch <konqueror@gmx.de>
717
718 * java/nio/ByteBufferImpl.java
719 (ByteBufferImpl): Made it a package-private class
720 * java/nio/CharBufferImpl.java
721 (CharBufferImpl): Made it a package-private class
722 * java/nio/DirectByteBufferImpl.java
723 (DirectByteBufferImpl): Made it a package-private class
724 * java/nio/DoubleBufferImpl.java
725 (DoubleBufferImpl): Made it a package-private class
726 * java/nio/FloatBufferImpl.java
727 (FloatBufferImpl): Made it a package-private class
728 * java/nio/IntBufferImpl.java
729 (IntBufferImpl): Made it a package-private class
730 * java/nio/LongBufferImpl.java
731 (LongBufferImpl): Made it a package-private class
732 * java/nio/ShortBufferImpl.java
733 (ShortBufferImpl): Made it a package-private class
734 * java/nio/channels/FileChannel.java
735 (write): Made final.
736 * java/nio/channels/ServerSocketChannel.java
737 (ServerSocketChanne): Made protected.
738
739 2003-06-27 Michael Koch <konqueror@gmx.de>
740
741 * javax/naming/CompositeName.java
742 (serialVersionUID): New member variable.
743 * javax/naming/CompoundName.java
744 (serialVersionUID): New member variable.
745 * javax/naming/InitialContext.java
746 (InitialContext): Throws NamingException.
747 (init): Likewise.
748 * javax/naming/LinkRef.java
749 (serialVersionUID): New member variable.
750 (gteLinkName): Throws NamingException.
751 * javax/naming/NamingException.java
752 (serialVersionUID): New member variable.
753 * javax/naming/NamingSecurityException.java
754 (NamingSecurityException): Made abstract.
755 (serialVersionUID): New member variable.
756 * javax/naming/ReferralException.java
757 (serialVersionUID): New member variable.
758 * javax/naming/StringRefAddr.java
759 (serialVersionUID): New member variable.
760 * javax/naming/directory/BasicAttribute.java:
761 Reworked imports.
762 (serialVersionUID): New member variable.
763 (get): Throws NamingException.
764 (getAll): Throws NamingException.
765 * javax/naming/directory/BasicAttributes.java:
766 Reworked imports.
767 (serialVersionUID): New member variable.
768 * javax/naming/ldap/UnsolicitedNotificationEvent.java
769 (serialVersionUID): New member variable.
770
771 2003-06-27 Michael Koch <konqueror@gmx.de>
772
773 * Makefile.am
774 (awt_java_source_files): Added new files:
775 javax/swing/Popup.java,
776 javax/swing/PopupFactory.java
777 * Makefile.in: Regenerated.
778
779 2003-06-27 Michael Koch <konqueror@gmx.de>
780
781 * javax/swing/JWindow.java,
782 javax/swing/event/AncestorEvent.java,
783 javax/swing/event/HyperlinkEvent.java,
784 javax/swing/event/InternalFrameEvent.java,
785 javax/swing/event/ListDataEvent.java,
786 javax/swing/event/TableModelEvent.java,
787 javax/swing/plaf/PopupMenuUI.java,
788 javax/swing/plaf/SplitPaneUI.java,
789 javax/swing/plaf/TabbedPaneUI.java,
790 javax/swing/plaf/TextUI.java,
791 javax/swing/plaf/TreeUI.java,
792 javax/swing/plaf/basic/BasicTextUI.java,
793 javax/swing/plaf/basic/BasicTreeUI.java:
794 New versions from classpath.
795 * javax/swing/Popup.java,
796 javax/swing/PopupFactory.jav:
797 New source files from classpath.
798 * javax/swing/plaf/doc-files/TreeUI-1.png:
799 New binary files from classpath.
800
801 2003-06-25 Michael Koch <konqueror@gmx.de>
802
803 * Makefile.am
804 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
805 * Makefile.in: Regenerated.
806
807 2003-06-25 Michael Koch <konqueror@gmx.de>
808
809 * javax/swing/plaf/ActionMapUIResource.java,
810 javax/swing/plaf/BorderUIResource.java,
811 javax/swing/plaf/ButtonUI.java,
812 javax/swing/plaf/ColorChooserUI.java,
813 javax/swing/plaf/ColorUIResource.java,
814 javax/swing/plaf/ComboBoxUI.java,
815 javax/swing/plaf/ComponentInputMapUIResource.java,
816 javax/swing/plaf/ComponentUI.java,
817 javax/swing/plaf/DesktopIconUI.java,
818 javax/swing/plaf/DesktopPaneUI.java,
819 javax/swing/plaf/DimensionUIResource.java,
820 javax/swing/plaf/FileChooserUI.java,
821 javax/swing/plaf/FontUIResource.java,
822 javax/swing/plaf/IconUIResource.java,
823 javax/swing/plaf/InputMapUIResource.java,
824 javax/swing/plaf/InsetsUIResource.java,
825 javax/swing/plaf/InternalFrameUI.java,
826 javax/swing/plaf/LabelUI.java,
827 javax/swing/plaf/ListUI.java,
828 javax/swing/plaf/MenuBarUI.java,
829 javax/swing/plaf/MenuItemUI.java,
830 javax/swing/plaf/OptionPaneUI.java,
831 javax/swing/plaf/PanelUI.java,
832 javax/swing/plaf/ProgressBarUI.java,
833 javax/swing/plaf/RootPaneUI.java,
834 javax/swing/plaf/ScrollBarUI.java,
835 javax/swing/plaf/ScrollPaneUI.java,
836 javax/swing/plaf/SeparatorUI.java,
837 javax/swing/plaf/SliderUI.java,
838 javax/swing/plaf/TableHeaderUI.java,
839 javax/swing/plaf/TableUI.java,
840 javax/swing/plaf/ToolBarUI.java,
841 javax/swing/plaf/ToolTipUI.java,
842 javax/swing/plaf/ViewportUI.java:
843 New versions from classpath.
844 * javax/swing/plaf/SpinnerUI.java:
845 New file from classpath
846
847 2003-06-25 Michael Koch <konqueror@gmx.de>
848
849 * java/awt/image/ColorModel.java:
850 New version from classpath.
851
852 2003-06-25 Michael Koch <konqueror@gmx.de>
853
854 * java/net/PlainDatagramSocketImpl.java:
855 Partly merged with classpath, this mainly adds documentation.
856
857 2003-06-25 Michael Koch <konqueror@gmx.de>
858
859 * java/io/ObjectInputStream.java
860 (readClassDescriptor): New method.
861 (readObject): Moved functionality to readClassDescriptor().
862 * java/io/ObjectOutputStream.java
863 (writeClassDescriptor): New method.
864 (writeObject): Moved functionality to writeClassDescriptor().
865
866 2003-06-25 Michael Koch <konqueror@gmx.de>
867
868 * javax/swing/plaf/basic/BasicListUI.java,
869 javax/swing/plaf/basic/BasicOptionPaneUI.java:
870 Added missing methods.
871
872 2003-06-25 Michael Koch <konqueror@gmx.de>
873
874 * javax/swing/event/AncestorEvent.java
875 javax/swing/event/HyperlinkEvent.java
876 javax/swing/event/InternalFrameEvent.java
877 javax/swing/event/ListDataEvent.java
878 javax/swing/event/TableModelEvent.java:
879 Compile fixes.
880
881 2003-06-24 Michael Koch <konqueror@gmx.de>
882
883 * java/net/URL.java:
884 Renamed "handler" to "ph" in the whole file to match classpaths
885 version.
886 * java/net/URLStreamHandler.java:
887 (equals): Renamed "handler" to "ph".
888
889 2003-06-24 Michael Koch <konqueror@gmx.de>
890
891 * javax/swing/event/AncestorEvent.java,
892 javax/swing/event/HyperlinkEvent.java,
893 javax/swing/event/InternalFrameEvent.java,
894 javax/swing/event/ListDataEvent.java,
895 javax/swing/event/TableModelEvent.java,
896 javax/swing/event/TreeWillExpandListener.java,
897 javax/swing/plaf/ComponentUI.java,
898 javax/swing/plaf/DesktopIconUI.java,
899 javax/swing/plaf/DesktopPaneUI.java,
900 javax/swing/plaf/DimensionUIResource.java,
901 javax/swing/plaf/FileChooserUI.java,
902 javax/swing/plaf/FontUIResource.java,
903 javax/swing/plaf/IconUIResource.java,
904 javax/swing/plaf/InputMapUIResource.java,
905 javax/swing/plaf/InsetsUIResource.java,
906 javax/swing/plaf/InternalFrameUI.java,
907 javax/swing/plaf/LabelUI.java,
908 javax/swing/plaf/ListUI.java,
909 javax/swing/plaf/MenuBarUI.java,
910 javax/swing/plaf/MenuItemUI.java,
911 javax/swing/plaf/OptionPaneUI.java,
912 javax/swing/plaf/PanelUI.java,
913 javax/swing/plaf/ProgressBarUI.java,
914 javax/swing/plaf/doc-files/ComponentUI-1.dia,
915 javax/swing/plaf/doc-files/ComponentUI-1.png:
916 New versions from classpath.
917
918 2003-06-24 Michael Koch <konqueror@gmx.de>
919
920 * java/nio/Buffer.java
921 (cap): Made package-private.
922 (pos): Likewise.
923 (limit): Likewise.
924 (mark): Likewise.
925
926 2003-06-24 Michael Koch <konqueror@gmx.de>
927
928 * java/net/SocketImpl.java
929 (shutdownInput): Made it non-abstract method throwing an exception
930 like in SUNs JRE.
931 (shutdownOutput): Likewise.
932 * java/net/SocketInputStream.java,
933 java/net/SocketOutputStream.java:
934 New files from classpath.
935
936 2003-06-24 Michael Koch <konqueror@gmx.de>
937
938 * java/awt/Font.java,
939 java/awt/Window.java,
940 java/awt/color/ColorSpace.java,
941 java/awt/datatransfer/StringSelection.java,
942 java/awt/image/ColorModel.java:
943 New versions from classpath.
944
945 2003-06-24 Michael Koch <konqueror@gmx.de>
946
947 * Makefile.am
948 (awt_java_source_files): Added new files:
949 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
950 javax/swing/plaf/basic/BasicSplitPaneUI.java
951 * Makefile.in: Regenerated.
952
953 2003-06-24 Michael Koch <konqueror@gmx.de>
954
955 * javax/swing/text/JTextComponent.java:
956 New version from classpath.
957
958 2003-06-24 Michael Koch <konqueror@gmx.de>
959
960 * javax/swing/Timer.java,
961 javax/swing/plaf/ActionMapUIResource.java,
962 javax/swing/plaf/ButtonUI.java,
963 javax/swing/plaf/ColorChooserUI.java,
964 javax/swing/plaf/ColorUIResource.java,
965 javax/swing/plaf/ComboBoxUI.java,
966 javax/swing/plaf/ComponentInputMapUIResource.java,
967 javax/swing/plaf/basic/BasicBorders.java:
968 New versions from classpath.
969 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
970 javax/swing/plaf/basic/BasicSplitPaneUI.java:
971 New file from classpath.
972 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
973 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
974 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
975 javax/swing/plaf/doc-files/ComponentUI-1.dia,
976 javax/swing/plaf/doc-files/ComponentUI-1.png:
977 New binary files from classpath.
978
979 2003-06-24 Michael Koch <konqueror@gmx.de>
980
981 * java/io/LineNumberReader.java
982 (skip): Dont do line number accounting here as this is already done in
983 read(), simplified.
984
985 2003-06-21 Michael Koch <konqueror@gmx.de>
986
987 * java/io/File.java
988 (static): Load javaio lib if existing (only in classpath).
989 (File): Revised documentation to show the correct argument name.
990 (createTempFile): Partly merged with classpath.
991 (compareTo): Simplified.
992 (lastModified): Throw exception if time < 0.
993 (deleteOnExit): Revised documentation.
994
995 2003-06-21 Michael Koch <konqueror@gmx.de>
996
997 * java/net/PlainSocketImpl.java:
998 Reformatted.
999 (PlainSocketImpl): Merged class documentaion with classpath.
1000 (in): Moved.
1001 (out): Moved.
1002 (PlainSocketImpl): New empty constructor.
1003 (finalize): Moved.
1004 (setOption): Merged documentation from classpath.
1005 (getOption): Likewise.
1006 (create): Likewise.
1007 (connect): Likewise.
1008 (bind): Likewise.
1009 (listen): Likewise.
1010 (accept): Likewise.
1011 (available): Likewise.
1012 (close): Likewise.
1013 (read): Likewise.
1014 (write): Likewise.
1015 (getInputStream): Made synchronozed to get sure that only one stream
1016 object can be created for this socket, merged documentation from
1017 classpath.
1018 (getOutputStream): Likewise.
1019
1020 2003-06-21 Michael Koch <konqueror@gmx.de>
1021
1022 * java/net/PlainSocketImpl.java:
1023 Reformatting.
1024 (static): New implicit method.
1025 (read): Made package private.
1026 (write): Likewise.
1027
1028 2003-06-21 Michael Koch <konqueror@gmx.de>
1029
1030 * java/util/SimpleTimeZone.java:
1031 Removed unneeded import, reformatting.
1032
1033 2003-06-21 Michael Koch <konqueror@gmx.de>
1034
1035 * java/text/DateFormat.java,
1036 java/text/SimpleDateFormat.java,
1037 java/util/Locale.java:
1038 New versions from classpath.
1039
1040 2003-06-21 Michael Koch <konqueror@gmx.de>
1041
1042 * javax/swing/SpinnerModel.java:
1043 New file from classpath.
1044 * javax/swing/border/LineBorder.java,
1045 javax/swing/border/SoftBevelBorder.java,
1046 javax/swing/plaf/BorderUIResource.java,
1047 javax/swing/plaf/basic/BasicBorders.java:
1048 New versions from classpath.
1049 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1050 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1051 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1052 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1053 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1054 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1055 New binary files from classpath.
1056
1057 2003-06-21 Michael Koch <konqueror@gmx.de>
1058
1059 * java/util/logging/LogRecord.java,
1060 java/util/logging/Logger.java,
1061 java/util/logging/SocketHandler.java,
1062 java/util/logging/SimpleFormatter.java,
1063 java/util/logging/Formatter.java,
1064 java/util/logging/ErrorManager.java,
1065 java/util/logging/Handler.java,
1066 java/util/logging/FileHandler.java,
1067 java/util/logging/LogManager.java,
1068 java/util/logging/Level.java,
1069 java/util/logging/ConsoleHandler.java,
1070 java/util/logging/StreamHandler.java,
1071 java/util/logging/LoggingPermission.java,
1072 java/util/logging/Filter.java,
1073 java/util/logging/MemoryHandler.java,
1074 java/util/logging/XMLFormatter.java:
1075 New files from classpath.
1076
1077 2003-06-20 Michael Koch <konqueror@gmx.de>
1078
1079 * java/io/ObjectStreamField.java
1080 (unshared): new member variable.
1081 (ObjectStreamField): New constructor.
1082 (isUnshared): New method.
1083
1084 2003-06-20 Michael Koch <konqueror@gmx.de>
1085
1086 * java/net/URLStreamHandler.java
1087 (hostsEqual): Rewritten.
1088
1089 2003-06-20 Michael Koch <konqueror@gmx.de>
1090
1091 * gnu/java/nio/MappedByteFileBuffer.java,
1092 gnu/java/nio/natMappedByteFileBuffer.cc:
1093 Removed
1094 * java/nio/MappedByteBufferImpl.java:
1095 New file.
1096 * gnu/java/nio/FileChannelImpl.java:
1097 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1098 * Makefile.am
1099 (ordinary_java_source_files): Removed
1100 gnu/java/nio/MappedByteFileBuffer.java and added
1101 java/nio/MappedByteBufferImpl.java.
1102 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1103 * Makefile.in: Regenerated.
1104
1105 2003-06-19 Michael Koch <konqueror@gmx.de>
1106
1107 * gnu/java/nio/DatagramChannelImpl.java
1108 (fd): Removed.
1109 (blocking): New member variable.
1110 (socket): Likewise.
1111 (DatagramChannelImpl): Throws IOException, initialize socket.
1112 (socket):Implemented.
1113 (implCloseSelectableChannel): Throws IOException, implemented.
1114 (implConfigureBlocking): Likewise.
1115 (connect): Likewise.
1116 (disconnect): Likewise.
1117 (isConnected): Likewise.
1118 (write): Likewise.
1119 (read): Likewise.
1120 (receive): Throws IOException.
1121 (send): Likewise.
1122 * gnu/java/nio/SocketChannelImpl.java
1123 (read): Implemented.
1124 (write): Implemented.
1125
1126 2003-06-19 Michael Koch <konqueror@gmx.de>
1127
1128 * javax/swing/JComponent.java,
1129 javax/swing/JInternalFrame.java,
1130 javax/swing/MenuSelectionManager.java,
1131 javax/swing/SwingUtilities.java,
1132 javax/swing/ToggleButtonModel.java:
1133 New versions from classpath.
1134
1135 2003-06-19 Michael Koch <konqueror@gmx.de>
1136
1137 * java/text/CollationElementIterator.java
1138 (NULLORDER): Initialize with -1 as JDK documentation says.
1139
1140 2003-06-19 Michael Koch <konqueror@gmx.de>
1141
1142 * java/net/HttpURLConnection.java,
1143 java/net/Inet4Address.java,
1144 java/net/Inet6Address.java,
1145 java/net/SocketImpl.java,
1146 java/net/URLClassLoader.java:
1147 Reworked import statements.
1148 * java/net/InetAddress.java
1149 (getByAddress): Simplified.
1150 * java/net/ServerSocket.java
1151 (ServerSocket): Moved special handling during bind operation to
1152 bind().
1153 (bind): Handle different cases when trying to bind a socket.
1154 * java/net/URLConnection.java
1155 (getHeaderFieldDate): Merged with classpath.
1156 (getHeaderFieldInt): Likewise.
1157
1158 2003-06-19 Michael Koch <konqueror@gmx.de>
1159
1160 * java/util/zip/InflaterInputStream.java
1161 (InflaterInputStream): Throw NullPointerException if in is null (as
1162 JDK does).
1163
1164 2003-06-19 Michael Koch <konqueror@gmx.de>
1165
1166 * java/awt/Font.java
1167 javax/swing/UIManager.java
1168 javax/swing/border/AbstractBorder.java
1169 javax/swing/border/BevelBorder.java
1170 javax/swing/border/Border.java
1171 javax/swing/border/CompoundBorder.java
1172 javax/swing/border/EmptyBorder.java
1173 javax/swing/border/EtchedBorder.java
1174 javax/swing/border/LineBorder.java
1175 javax/swing/border/MatteBorder.java
1176 javax/swing/border/TitledBorder.java
1177 javax/swing/plaf/BorderUIResource.java
1178 javax/swing/plaf/basic/BasicBorders.java
1179 javax/swing/plaf/basic/BasicButtonUI.java
1180 javax/swing/plaf/basic/BasicCheckBoxUI.java
1181 javax/swing/plaf/basic/BasicGraphicsUtils.java
1182 javax/swing/plaf/basic/BasicLabelUI.java
1183 javax/swing/plaf/basic/BasicRadioButtonUI.java
1184 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1185 New versions from classpath.
1186 * javax/swing/border/SoftBevelBorder.java:
1187 New file from classpath.
1188 * javax/swing/border/doc-files/LineBorder-1.png,
1189 javax/swing/border/doc-files/BevelBorder-1.png,
1190 javax/swing/border/doc-files/BevelBorder-2.png,
1191 javax/swing/border/doc-files/BevelBorder-3.png,
1192 javax/swing/border/doc-files/EmptyBorder-1.png,
1193 javax/swing/border/doc-files/EtchedBorder-1.png,
1194 javax/swing/border/doc-files/EtchedBorder-2.png,
1195 javax/swing/border/doc-files/MatteBorder-1.png,
1196 javax/swing/border/doc-files/MatteBorder-2.png,
1197 javax/swing/border/doc-files/MatteBorder-3.png,
1198 javax/swing/border/doc-files/MatteBorder-4.png,
1199 javax/swing/border/doc-files/MatteBorder-5.png,
1200 javax/swing/border/doc-files/MatteBorder-6.png,
1201 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1202 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1203 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1204 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1205 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1206 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1207 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1208 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1209 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1210 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1211 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1212 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1213 New binary files from classpath.
1214 * Makefile.am
1215 (awt_java_source_files): Added
1216 javax/swing/border/SoftBevelBorder.java.
1217 * Makefile.in: Regenerated.
1218
1219 2003-06-19 Michael Koch <konqueror@gmx.de>
1220
1221 * gnu/java/security/x509/X509Certificate.java
1222 (writeReplace): Merged from classpath.
1223
1224 2003-06-19 Michael Koch <konqueror@gmx.de>
1225
1226 * gnu/java/nio/FileChannelImpl.java
1227 (map_address): Made public.
1228 (FileChannelImpl): Merged with classpath.
1229 * gnu/java/nio/natFileChannelImpl.cc
1230 (nio_mmap_file): Commented out unused arguments.
1231 (nio_unmmap_file): Likewise.
1232 (niu_msync): Likewise.
1233
1234 2003-06-19 Michael Koch <konqueror@gmx.de>
1235
1236 * java/awt/image/IndexColorModel.java:
1237 New version from classpath.
1238
1239 2003-06-18 Tom Tromey <tromey@redhat.com>
1240
1241 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1242 on arrays.
1243 (isLoopbackAddress): Likewise.
1244 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1245 on arrays.
1246
1247 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1248
1249 * java/lang/natVMSecurityManager.cc (getClassContext):
1250 Use maxlen instead of len for loop bound.
1251
1252 2003-06-18 Michael Koch <konqueror@gmx.de>
1253
1254 * gnu/java/nio/SelectorImpl.java
1255 (register): Use fd with value 0 for now, will be fixed later.
1256 * gnu/java/nio/ServerSocketChannelImpl.java
1257 (fd): Removed.
1258 (local_port): Removed.
1259 (InetSocketAddress): Removed.
1260 (ServerSocketChannelImpl): Just initialize internal socket object.
1261 (implCloseSelectableChannel): Close internal socket object.
1262 (implConfigureBlocking): Added comment.
1263 (accept): Use jaba.net stuff to accept socket.
1264 * gnu/java/nio/SocketChannelImpl.java
1265 (fd): Removed.
1266 (local_port): Removed.
1267 (InetSocketAddress): Removed.
1268 (SocketCreate): Removed.
1269 (SocketConnect): Removed.
1270 (SocketBind): Removed.
1271 (SocketListen): Removed.
1272 (SocketAvailable): Removed.
1273 (SocketClose): Removed.
1274 (SocketRead): Removed.
1275 (SocketWrite): Removed.
1276 (SocketChannelImpl): Just initialize internal socket object.
1277 (implCloseSelectableChannel): Close internal socket object.
1278 (implConfigureBlocking): Fixed implementation, added comment.
1279 (connect): Use internal socket object to connect.
1280 (socket): No need for sanity checks.
1281 (read): Comment out some stuff, this will be reimplemented in the next
1282 commit.
1283 (write): Likewise.
1284 * gnu/java/nio/natFileChannelImpl.cc
1285 (nio_mmap_file): Line wrapped.
1286 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1287 * Makefile.am
1288 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1289 * Makefile.in: Regenerated.
1290
1291 2003-06-18 Michael Koch <konqueror@gmx.de>
1292
1293 * java/util/Locale.java
1294 (equals): Merged from classpath.
1295
1296 2003-06-18 Michael Koch <konqueror@gmx.de>
1297
1298 * java/net/InetAddress.java:
1299 Reformatted to better match classpath's version.
1300 * java/net/URL.java
1301 (equals): Simplified.
1302 * java/net/URLConnection.java
1303 (setDoInput): Revised documentation.
1304 (getDefaultUseCaches): Likewise.
1305 (setRequestProperty): Added @since tag.
1306
1307 2003-06-17 Michael Koch <konqueror@gmx.de>
1308
1309 * java/net/InetSocketAddress.java
1310 (InetSocketAddress): Use wildcard address if addr is null.
1311 (InetSocketAddress): Dont duplicate implementation.
1312 (InetSocketAddress): Throw exception when hostname is null.
1313 * java/net/Socket.java:
1314 Reworked imports.
1315 (Socket): Throw exception when raddr is null, handle case when laddr
1316 is null.
1317
1318 2003-06-17 Michael Koch <konqueror@gmx.de>
1319
1320 * java/nio/DirectByteBufferImpl.java
1321 (address): Made package private.
1322 (DirectByteBufferImpl): New constructor.
1323 * java/nio/natDirectByteBufferImpl.cc
1324 (allocateImpl): Moved to java.nio namespace, implemented.
1325 (freeImpl): Likewise.
1326 (getImpl): Likewise.
1327 (putImpl): Likewise.
1328 * jni.cc
1329 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1330 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1331 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1332
1333 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1334
1335 * include/powerpc-signal.h: New File.
1336 * configure.in: Use it.
1337 * configure: Regenerated.
1338
1339 2003-06-17 Michael Koch <konqueror@gmx.de>
1340
1341 * java/util/Locale.java
1342 (getDisplayLanguage): Made it final.
1343 (getDisplayCountry): Likewise.
1344 (getDisplayVariant): Likewise.
1345 (getDisplayName): Likewise.
1346
1347 2003-06-17 Michael Koch <konqueror@gmx.de>
1348
1349 * java/util/PropertyResourceBundle.java:
1350 Removed unneeded import.
1351
1352 2003-06-17 Michael Koch <konqueror@gmx.de>
1353
1354 * java/util/prefs/AbstractPreferences.java,
1355 java/util/prefs/PreferencesFactory.java:
1356 Reworked imports, removed unused imports.
1357 * java/util/prefs/Preferences.java
1358 (systemNodeForPackage): Method takes a Class not an Object.
1359 (userNodeForPackage): Likewise.
1360 (nodeForPackage): Likewise.
1361
1362 2003-06-17 Michael Koch <konqueror@gmx.de>
1363
1364 * gnu/java/security/x509/X509Certificate.java:
1365 Explicitely import used classes.
1366
1367 2003-06-17 Michael Koch <konqueror@gmx.de>
1368
1369 * java/util/zip/ZipEntry.java,
1370 java/util/zip/ZipFile.java,
1371 java/util/zip/ZipInputStream.java,
1372 java/util/zip/ZipOutputStream.java:
1373 Reworked imports, only import used classes.
1374
1375 2003-06-17 Michael Koch <konqueror@gmx.de>
1376
1377 * gnu/java/lang/ArrayHelper.java,
1378 gnu/java/lang/ClassHelper.java:
1379 Reformatted to match classpath's versions.
1380
1381 2003-06-14 Michael Koch <konqueror@gmx.de>
1382
1383 * gnu/java/nio/FileChannelImpl.java
1384 (map_address): Removed incorrect comment.
1385 * gnu/java/nio/SelectorImpl.java
1386 (register): Remove code duplication and code for file channel handling.
1387 * gnu/java/nio/ServerSocketChannelImpl.java
1388 (serverSocket): Renamed from sock_object.
1389 (ServerSocketChannel): Initialize serverSocket.
1390 (socket): Return serverSocket.
1391 * gnu/java/nio/SocketChannelImpl.java
1392 (socket): Renamed from sock_object.
1393 (isConnectionPenging): Simplified.
1394 (socket): Return socket.
1395 2003-06-14 Michael Koch <konqueror@gmx.de>
1396
1397 * java/security/BasicPermission.java:
1398 New version from classpath.
1399
1400 2003-06-14 Michael Koch <konqueror@gmx.de>
1401
1402 * javax/naming/directory/Attribute.java:
1403 New version from classpath.
1404
1405 2003-06-14 Michael Koch <konqueror@gmx.de>
1406
1407 * java/io/BufferedReader.java,
1408 java/io/FileOutputStream.java:
1409 New versions from classpath.
1410
1411 2003-06-12 Andrew Haley <aph@redhat.com>
1412
1413 * prims.cc (catch_segv): Create exception in handler.
1414 (catch_fpe): Likewise.
1415 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1416 (_Jv_ThrowSignal): Remove.
1417
1418 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1419 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1420 to nullp and arithexception.
1421 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1422 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1423 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1424 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1425 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1426
1427 2003-06-11 Andrew Haley <aph@redhat.com>
1428
1429 * jni.cc (_Jv_JNI_check_types): New.
1430 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1431 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1432 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1433 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1434
1435 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1436 infinite loop.
1437
1438 2003-06-11 Tom Tromey <tromey@redhat.com>
1439
1440 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1441 * java/io/PrintStream.java: Not deprecated.
1442
1443 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1444
1445 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1446 (fillOval): implemented
1447 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1448 (fillArc): implemented.
1449 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1450 (fillArc): added native method.
1451 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1452 (fillArc): added native method.
1453
1454 2003-06-11 Michael Koch <konqueror@gmx.de>
1455
1456 * java/awt/im/InputSubset.java:
1457 New version from classpath.
1458
1459 2003-06-11 Michael Koch <konqueror@gmx.de>
1460
1461 * javax/swing/AbstractAction.java,
1462 javax/swing/AbstractButton.java,
1463 javax/swing/AbstractCellEditor.java,
1464 javax/swing/AbstractListModel.java,
1465 javax/swing/BorderFactory.java,
1466 javax/swing/Box.java,
1467 javax/swing/BoxLayout.java,
1468 javax/swing/ButtonGroup.java,
1469 javax/swing/DefaultButtonModel.java,
1470 javax/swing/DefaultListModel.java,
1471 javax/swing/DefaultListSelectionModel.java,
1472 javax/swing/FocusManager.java,
1473 javax/swing/ImageIcon.java,
1474 javax/swing/InputMap.java,
1475 javax/swing/JApplet.java,
1476 javax/swing/JButton.java,
1477 javax/swing/JCheckBox.java,
1478 javax/swing/JCheckBoxMenuItem.java,
1479 javax/swing/JColorChooser.java,
1480 javax/swing/JComboBox.java,
1481 javax/swing/JComponent.java,
1482 javax/swing/JDesktopPane.java,
1483 javax/swing/JDialog.java,
1484 javax/swing/JEditorPane.java,
1485 javax/swing/JFileChooser.java,
1486 javax/swing/JFormattedTextField.java,
1487 javax/swing/JFrame.java,
1488 javax/swing/JLabel.java,
1489 javax/swing/JLayeredPane.java,
1490 javax/swing/JList.java,
1491 javax/swing/JMenuBar.java,
1492 javax/swing/JMenuItem.java,
1493 javax/swing/JOptionPane.java,
1494 javax/swing/JPanel.java,
1495 javax/swing/JPasswordField.java,
1496 javax/swing/JPopupMenu.java,
1497 javax/swing/JProgressBar.java,
1498 javax/swing/JRadioButton.java,
1499 javax/swing/JRadioButtonMenuItem.java,
1500 javax/swing/JRootPane.java,
1501 javax/swing/JScrollBar.java,
1502 javax/swing/JScrollPane.java,
1503 javax/swing/JSeparator.java,
1504 javax/swing/JSlider.java,
1505 javax/swing/JTabbedPane.java,
1506 javax/swing/JTable.java,
1507 javax/swing/JTextField.java,
1508 javax/swing/JToggleButton.java,
1509 javax/swing/JToolBar.java,
1510 javax/swing/JToolTip.java,
1511 javax/swing/JTree.java,
1512 javax/swing/JViewport.java,
1513 javax/swing/JWindow.java,
1514 javax/swing/KeyStroke.java,
1515 javax/swing/ListSelectionModel.java,
1516 javax/swing/LookAndFeel.java,
1517 javax/swing/RepaintManager.java,
1518 javax/swing/ScrollPaneLayout.java,
1519 javax/swing/SizeRequirements.java,
1520 javax/swing/SwingConstants.java,
1521 javax/swing/Timer.java,
1522 javax/swing/UIDefaults.java,
1523 javax/swing/UIManager.java,
1524 javax/swing/border/AbstractBorder.java,
1525 javax/swing/border/CompoundBorder.java,
1526 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1527 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1528 javax/swing/colorchooser/ColorSelectionModel.java,
1529 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1530 javax/swing/event/AncestorEvent.java,
1531 javax/swing/event/HyperlinkEvent.java,
1532 javax/swing/event/InternalFrameAdapter.java,
1533 javax/swing/event/InternalFrameEvent.java,
1534 javax/swing/event/ListDataEvent.java,
1535 javax/swing/event/MouseInputAdapter.java,
1536 javax/swing/event/SwingPropertyChangeSupport.java,
1537 javax/swing/event/TableModelEvent.java,
1538 javax/swing/event/TreeWillExpandListener.java,
1539 javax/swing/event/UndoableEditEvent.java,
1540 javax/swing/filechooser/FileFilter.java,
1541 javax/swing/filechooser/FileSystemView.java,
1542 javax/swing/filechooser/FileView.java,
1543 javax/swing/plaf/BorderUIResource.java,
1544 javax/swing/plaf/basic/BasicDefaults.java,
1545 javax/swing/table/AbstractTableModel.java,
1546 javax/swing/table/DefaultTableCellRenderer.java,
1547 javax/swing/table/DefaultTableColumnModel.java,
1548 javax/swing/table/DefaultTableModel.java,
1549 javax/swing/table/TableColumn.java,
1550 javax/swing/text/JTextComponent.java,
1551 javax/swing/tree/AbstractLayoutCache.java,
1552 javax/swing/tree/DefaultMutableTreeNode.java,
1553 javax/swing/tree/DefaultTreeCellEditor.java,
1554 javax/swing/tree/DefaultTreeCellRenderer.java,
1555 javax/swing/tree/DefaultTreeModel.java,
1556 javax/swing/tree/DefaultTreeSelectionModel.java,
1557 javax/swing/tree/FixedHeightLayoutCache.java,
1558 javax/swing/tree/TreeCellEditor.java,
1559 javax/swing/tree/TreeModel.java,
1560 javax/swing/tree/TreeNode.java,
1561 javax/swing/tree/TreePath.java,
1562 javax/swing/tree/TreeSelectionModel.java,
1563 javax/swing/tree/VariableHeightLayoutCache.java,
1564 javax/swing/undo/AbstractUndoableEdit.java,
1565 javax/swing/undo/CompoundEdit.java,
1566 javax/swing/undo/StateEdit.java,
1567 javax/swing/undo/UndoManager.java,
1568 javax/swing/undo/UndoableEditSupport.java:
1569 New versions from classpath.
1570 * javax/swing/table/JTableHeader.java:
1571 New file from classpath.
1572 * Makefile.am
1573 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1574 * Makefile.in: Regenerated.
1575
1576 2003-06-11 Michael Koch <konqueror@gmx.de>
1577
1578 * java/nio/MappedByteBuffer.java,
1579 java/nio/channels/Channels.java,
1580 java/nio/channels/ServerSocketChannel.java,
1581 java/nio/channels/spi/AbstractSelector.java:
1582 Removed unneeded imports.
1583
1584 2003-06-11 Michael Koch <konqueror@gmx.de>
1585
1586 * java/net/DatagramSocket.java:
1587 Partly merged with classpath.
1588
1589 2003-06-11 Michael Koch <konqueror@gmx.de>
1590
1591 * java/awt/Frame.java,
1592 java/awt/Graphics.java,
1593 java/awt/Menu.java,
1594 java/awt/Robot.java,
1595 java/awt/image/ColorModel.java:
1596 New versions from classpath.
1597
1598 2003-06-10 Michael Koch <konqueror@gmx.de>
1599
1600 * java/io/PrintStream.java:
1601 Merged version from classpath.
1602 (close): Removed sychronized keyword. This class is not garantied to
1603 be thread-safe.
1604 (write): Likewise.
1605
1606 2003-06-09 Tom Tromey <tromey@redhat.com>
1607
1608 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1609 field.
1610 (getDescent): Likewise, for "descent".
1611
1612 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1613
1614 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1615 (getMaxDescent): adjusted return value.
1616 (getAscent): modified to use metrics for 'O'.
1617 (getDescent): modified to use metrics for 'y'.
1618
1619 2003-06-08 Anthony Green <green@redhat.com>
1620
1621 * java/net/URLStreamHandler.java (sameFile): Fix port value
1622 comparison.
1623 * java/net/URL.java (handler): Make package private.
1624 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1625
1626 2003-06-07 Tom Tromey <tromey@redhat.com>
1627
1628 For PR libgcj/11085:
1629 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1630 Limit number of characters in numeric field when required.
1631 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1632 Respect maximumIntegerDigits.
1633
1634 2003-06-08 Michael Koch <konqueror@gmx.de>
1635
1636 * java/net/Socket.java
1637 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1638 call bind() and connect() to actually do the bind and connect tasks.
1639 (bind): Connect to canonical address if bindpoint is null, create
1640 socket and bind it to bindpoint.
1641 (connect): Check for exceptions.
1642
1643 2003-06-08 Michael Koch <konqueror@gmx.de>
1644
1645 * java/net/DatagramSocket.java
1646 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1647 into the Multicast constructors.
1648 * java/net/DatagramSocketImpl.java
1649 (getOption): Removed.
1650 (setOption): Removed.
1651 * java/net/MulticastSocket.java
1652 (MulticastSocket): Call setReuseAddress (true).
1653 * java/net/SocketImpl.java
1654 (getOption): Removed.
1655 (setOption): Removed.
1656
1657 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1658
1659 PR libgcj/10886:
1660 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1661 Test for empty vector.
1662
1663 2003-06-06 Mark Wielaard <mark@klomp.org>
1664
1665 * java/security/Security.java (secprops): Initialize.
1666 (loadProviders): Return boolean.
1667 (static): Check result of loadProvider calls. If necessary
1668 display WARNING and fallback to Gnu provider.
1669
1670 2002-06-06 James Clark <jjc@jclark.com>
1671
1672 Fix for PR libgcj/8738:
1673 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1674 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1675 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1676 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1677 (write): Always decrease avail when count is increased.
1678 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1679 and whether output buffer is full before increasing size.
1680
1681 2002-06-06 Mark Wielaard <mark@klomp dot org>
1682
1683 * java/io/PrintStream.java (writeChars(char[],int, int)):
1684 Check converter.havePendingBytes().
1685 (writeChars(String,int,int)): Likewise.
1686 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1687 Check converter.havePendingBytes() and flush buffer when stalled.
1688
1689 2003-06-07 Michael Koch <konqueror@gmx.de>
1690
1691 * include/posix.h
1692 (O_DSYNC): Define O_DSYNC on platforms not
1693 supporting O_FSYNC (newlib).
1694
1695 2003-06-06 Mark Wielaard <mark@klomp.org>
1696
1697 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1698 AWTError.
1699
1700 2003-06-06 Michael Koch <konqueror@gmx.de>
1701
1702 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1703 More compile fixes from my stupid work yesterday.
1704
1705 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1706
1707 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1708 if _IEEE_LIBM is undefined.
1709
1710 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1711
1712 * libjava/include/posix.h (O_SYNC): Define if not available
1713 and a reasonable, perhaps more conservative, replacement exists.
1714 (O_DSYNC): Likewise.
1715 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1716
1717 2003-06-05 Michael Koch <konqueror@gmx.de>
1718
1719 * javax/swing/plaf/BorderUIResource.java,
1720 javax/swing/plaf/basic/BasicDefaults.java,
1721 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1722 More compile fixes for latest Border commit. I should not commit
1723 something in this heat here ...
1724
1725 2003-06-05 Michael Koch <konqueror@gmx.de>
1726
1727 * javax/swing/border/BevelBorder.java
1728 (BevelBorder): Removed.
1729 * javax/swing/border/EmptyBorder.java:
1730 Reformatted.
1731 (EmptyBorder): Removed.
1732 (getBorderInsets): Dont use l, r, t and b.
1733 * javax/swing/border/EtchedBorder.java
1734 (EtchedBorder): Removed.
1735 * javax/swing/border/LineBorder.java
1736 (LineBorder): Removed.
1737 * javax/swing/border/MatteBorder.java
1738 (MatteBorder): Removed.
1739 * javax/swing/border/TitledBorder.java
1740 (defaultBorder): Use other default for now.
1741 (defaultFont): Likewise.
1742 (defaultColor): Likewise.
1743
1744 2003-06-05 Michael Koch <konqueror@gmx.de>
1745
1746 * javax/swing/border/Border.java:
1747 New version from classpath.
1748
1749 2003-06-05 Michael Koch <konqueror@gmx.de>
1750
1751 * javax/swing/border/AbstractBorder.java,
1752 javax/swing/border/BevelBorder.java,
1753 javax/swing/border/CompoundBorder.java,
1754 javax/swing/border/EmptyBorder.java,
1755 javax/swing/border/EtchedBorder.java,
1756 javax/swing/border/LineBorder.java,
1757 javax/swing/border/MatteBorder.java,
1758 javax/swing/border/TitledBorder.java:
1759 New versions from Classpath.
1760
1761 2003-06-05 Michael Koch <konqueror@gmx.de>
1762
1763 * java/awt/Button.java,
1764 java/awt/Checkbox.java,
1765 java/awt/CheckboxMenuItem.java,
1766 java/awt/Choice.java,
1767 java/awt/Container.java,
1768 java/awt/Dialog.java,
1769 java/awt/EventQueue.java,
1770 java/awt/FileDialog.java,
1771 java/awt/Frame.java,
1772 java/awt/Label.java,
1773 java/awt/List.java,
1774 java/awt/Menu.java,
1775 java/awt/MenuItem.java,
1776 java/awt/Panel.java,
1777 java/awt/PopupMenu.java,
1778 java/awt/Rectangle.java,
1779 java/awt/ScrollPane.java,
1780 java/awt/Scrollbar.java,
1781 java/awt/TextArea.java,
1782 java/awt/TextField.java,
1783 java/awt/Window.java,
1784 java/awt/datatransfer/DataFlavor.java,
1785 java/awt/dnd/DragSource.java,
1786 java/awt/dnd/DragSourceContext.java,
1787 java/awt/event/HierarchyEvent.java,
1788 java/awt/event/MouseWheelEvent.java,
1789 java/awt/im/InputContext.java,
1790 java/awt/image/BufferedImage.java,
1791 java/awt/image/ComponentColorModel.java,
1792 java/awt/image/Raster.java,
1793 java/awt/image/WritableRaster.java,
1794 java/awt/peer/ComponentPeer.java,
1795 java/awt/print/PageFormat.java,
1796 java/awt/print/PrinterJob.java:
1797 New versions from Classpath.
1798
1799 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1800
1801 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1802 numberFormat.setParseIntegerOnly(true).
1803
1804 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1805
1806 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1807
1808 2003-06-03 Andrew Haley <aph@redhat.com>
1809
1810 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1811 stack volatile to prevent optimization from removing it.
1812
1813 2003-05-27 Michael Koch <konqueror@gmx.de>
1814
1815 * java/util/zip/Deflater.java
1816 (FILTERED): Merged documentation from classpath.
1817 * java/util/zip/DeflaterOutputStream.java
1818 (DeflaterOutputStream): Merged documentation and argument validity
1819 check from classpath.
1820 (deflate): Merged documentation from classpath.
1821 (finish): Likewise.
1822 * java/util/zip/Inflater.java
1823 (Inflater): Merged class documentation from classpath.
1824 (zstream): Reordered.
1825 (is_finished): Reordered.
1826 (dict_needed): Reordered.
1827 (Inflater): Reordered, merged documentation from classpath.
1828 (end): Likewise.
1829 (finalize): Merged documentation from classpath.
1830 (finished): Likewise.
1831 (getAdler): Likewise.
1832 (getRemaining): Likewise.
1833 (getTotalIn): Likewise.
1834 (getTotalOut): Likewise.
1835 (inflate): Likewise.
1836 (needsDictionary): Likewise.
1837 (needsInput): Likewise.
1838 (reset): Likewise.
1839 (setDictionary): Likewise.
1840 (setInput): Likewise.
1841
1842 2003-05-27 Michael Koch <konqueror@gmx.de>
1843
1844 * java/net/URLConnection.java
1845 (getHeaderFieldInt): Merged with classpath.
1846
1847 2003-05-27 Michael Koch <konqueror@gmx.de>
1848
1849 * java/io/PrintStream.java
1850 (PrintStream): Reformatted.
1851 (PrintStream): New method, merged from classpath.
1852 (write): Reformatted.
1853
1854 2003-05-27 Michael Koch <konqueror@gmx.de>
1855
1856 * java/lang/System.java:
1857 Explicitely import needed classes.
1858
1859 2003-05-26 Michael Koch <konqueror@gmx.de>
1860
1861 * java/net/NetPermission.java,
1862 java/net/NetworkInterface.java,
1863 java/net/PasswordAuthentication.java,
1864 java/net/SocketPermission.java:
1865 New versions from classpath.
1866
1867 2003-05-25 Michael Koch <konqueror@gmx.de>
1868
1869 * java/io/PushbackInputStream.java,
1870 java/net/Authenticator.java,
1871 java/net/ContentHandler.java,
1872 java/net/ContentHandlerFactory.java,
1873 java/net/DatagramSocket.java,
1874 java/net/DatagramSocketImpl.java,
1875 java/net/DatagramSocketImplFactory.java,
1876 java/net/FileNameMap.java,
1877 java/net/SocketImplFactory.java,
1878 java/net/SocketOptions.java,
1879 java/net/URLStreamHandlerFactory.java:
1880 Merged new versions from classpath.
1881
1882 2003-05-25 Michael Koch <konqueror@gmx.de>
1883
1884 * java/awt/Checkbox.java,
1885 java/awt/Dialog.java,
1886 java/awt/Font.java,
1887 java/awt/Frame.java,
1888 java/awt/ScrollPaneAdjustable.java,
1889 java/awt/Scrollbar.java,
1890 java/awt/Window.java:
1891 New versions from classpath.
1892
1893 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1894
1895 PR libgcj/10838:
1896 * java/io/ObjectInputStream (enableResolveObject):
1897 Fixed spelling of permission name.
1898
1899 2003-05-20 Michael Koch <konqueror@gmx.de>
1900
1901 * java/io/DataInputStream.java
1902 (convertFromUTF): Merged comment from classpath.
1903 * java/io/PrintStream.java
1904 (error_occured): Renamed from error, merged comment from classpath.
1905 (PrintStream): No need to initialized error.
1906 (checkError): Replace error with error_occurred.
1907 (setError): Likewise.
1908
1909 2003-05-20 Michael Koch <konqueror@gmx.de>
1910
1911 * java/io/DataInputStream.java:
1912 Reformatted, Replaced < and & with html entitites in documentation.
1913 * java/io/File.java:
1914 Reformatted.
1915 * java/io/PrintWriter.java:
1916 Moved class documentation.
1917
1918 2003-05-20 Michael Koch <konqueror@gmx.de>
1919
1920 * gnu/java/nio/ByteBufferImpl.java,
1921 gnu/java/nio/CharBufferImpl.java,
1922 gnu/java/nio/CharViewBufferImpl.java,
1923 gnu/java/nio/DirectByteBufferImpl.java,
1924 gnu/java/nio/DoubleBufferImpl.java,
1925 gnu/java/nio/DoubleViewBufferImpl.java,
1926 gnu/java/nio/FloatBufferImpl.java,
1927 gnu/java/nio/FloatViewBufferImpl.java,
1928 gnu/java/nio/IntBufferImpl.java,
1929 gnu/java/nio/IntViewBufferImpl.java,
1930 gnu/java/nio/LongBufferImpl.java,
1931 gnu/java/nio/LongViewBufferImpl.java,
1932 gnu/java/nio/natDirectByteBufferImpl.cc,
1933 gnu/java/nio/ShortBufferImpl.java,
1934 gnu/java/nio/ShortViewBufferImpl.java:
1935 Moved files to java/nio.
1936 * gnu/java/nio/SocketChannelImpl.java
1937
1938 * java/nio/ByteBuffer.java,
1939 java/nio/CharBuffer.java,
1940 java/nio/DoubleBuffer.java,
1941 java/nio/FloatBuffer.java,
1942 java/nio/IntBuffer.java,
1943 java/nio/LongBuffer.java,
1944 java/nio/ShortBuffer.java:
1945 Dont import anything.
1946 * java/nio/ByteBufferImpl.java,
1947 java/nio/CharBufferImpl.java,
1948 java/nio/CharViewBufferImpl.java,
1949 java/nio/DirectByteBufferImpl.java,
1950 java/nio/DoubleBufferImpl.java,
1951 java/nio/DoubleViewBufferImpl.java,
1952 java/nio/FloatBufferImpl.java,
1953 java/nio/FloatViewBufferImpl.java,
1954 java/nio/IntBufferImpl.java,
1955 java/nio/IntViewBufferImpl.java,
1956 java/nio/LongBufferImpl.java,
1957 java/nio/LongViewBufferImpl.java,
1958 java/nio/natDirectByteBufferImpl.cc,
1959 java/nio/ShortBufferImpl.java,
1960 java/nio/ShortViewBufferImpl.java:
1961 Moved from gnu/java/nio.
1962 * Makefile.am
1963 (ordinary_java_source_files): Moved files from gnu/java/nio to
1964 java/nio.
1965 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1966 to java/nio.
1967 * Makefile.in: Regenerated.
1968
1969 2003-05-19 Michael Koch <konqueror@gmx.de>
1970
1971 * java/util/Calendar.java
1972 (get): Not final anymore since JDK 1.4
1973 (set): Likewise.
1974
1975 2003-05-19 Michael Koch <konqueror@gmx.de>
1976
1977 * java/text/CollationKey.java:
1978 Merged copyright and dat from classpath.
1979 * java/text/RuleBasedCollator.java:
1980 Merged class documentation from classpath.
1981
1982 2003-05-19 Michael Koch <konqueror@gmx.de>
1983
1984 * java/nio/CharBuffer.java
1985 (toString): Compile fix.
1986
1987 2003-05-19 Michael Koch <konqueror@gmx.de>
1988
1989 * gnu/java/nio/ByteBufferImpl.java
1990 (putLong): Fixed conversion to bytes.
1991 (putDouble): Fixed conversion to bytes.
1992 * gnu/java/nio/DirectByteBufferImpl.java
1993 (putLong): Fixed conversion to bytes.
1994 (putDouble): Fixed conversion to bytes.
1995 * gnu/java/nio/FileLockImpl.java
1996 (isValid): Reformatted.
1997 * java/nio/Buffer.java
1998 (Buffer): Fixed off-by-one bug in handling mark.
1999 * java/nio/ByteBuffer.java:
2000 Added newline.
2001 * java/nio/CharBuffer.java
2002 (toString): Don't use relative get to get string data.
2003
2004 2003-05-16 Michael Koch <konqueror@gmx.de>
2005
2006 * java/io/natFileDescriptorPosix.cc
2007 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2008 tested.
2009
2010 2003-05-14 Michael Koch <konqueror@gmx.de>
2011
2012 * gnu/java/nio/FileLockImpl.java
2013 (released): New member variable.
2014 (FileLockImpl): Initialize released.
2015 (releaseImpl): New native method.
2016 (release): Implemented.
2017 * gnu/java/nio/SelectorImpl.java: Reformatted.
2018 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2019 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2020 (accept): Throws IOException.
2021 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2022 (implConfigureBlocking): Throws IOException.
2023 (connect): Likewise.
2024 (read): Likewise.
2025 (write): Likewise.
2026 * gnu/java/nio/natFileLockImpl.cc: New file.
2027 * java/nio/channels/FileLock.java: Reformatted.
2028 * Makefile.am:
2029 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2030 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2031 * Makefile.in: Regenerated.
2032
2033 2003-05-13 Michael Koch <konqueror@gmx.de>
2034
2035 * gnu/java/nio/CharViewBufferImpl.java
2036 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2037 (get): Shift bits to the right direction.
2038 (put): Likewise.
2039 * gnu/java/nio/DoubleViewBufferImpl.java
2040 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2041 (get): Shift bits to the right direction.
2042 (put): Likewise.
2043 * gnu/java/nio/FloatViewBufferImpl.java
2044 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2045 (get): Shift bits to the right direction.
2046 (put): Likewise.
2047 * gnu/java/nio/IntViewBufferImpl.java
2048 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2049 (get): Shift bits to the right direction.
2050 (put): Likewise.
2051 * gnu/java/nio/LongViewBufferImpl.java
2052 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2053 (get): Shift bits to the right direction.
2054 (put): Likewise.
2055 * gnu/java/nio/ShortViewBufferImpl.java
2056 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2057 (get): Shift bits to the right direction.
2058 (put): Likewise.
2059
2060 2003-05-13 Michael Koch <konqueror@gmx.de>
2061
2062 * gnu/java/nio/natDirectByteBufferImpl.cc
2063 (allocateImpl): jlong -> RawData*.
2064 (freeImpl): Likewise.
2065
2066 2003-05-13 Michael Koch <konqueror@gmx.de>
2067
2068 * java/nio/channels/FileChannel.java
2069 (MapMode.m): Made it package-private to match JDK 1.4.
2070 * java/nio/charset/Charset.java
2071 (decode): Made it final to match JDK 1.4.
2072
2073 2003-05-13 Michael Koch <konqueror@gmx.de>
2074
2075 * java/io/FileDescriptor.java
2076 (SYNC): New constant.
2077 (DSYNC): Likewise.
2078 (getLength): Renamed from lenght() to match classpath's
2079 FileDescriptor.java.
2080 * java/io/RandomAccessFile.java
2081 (RandomAccessFile): Removed unneeded mode check, implemented mode
2082 "rws" and "rwd", merged documentation from classpath.
2083 (setLength): Reformatted.
2084 (length): Use new getLength() of FileDescriptor.
2085 * java/io/natFileDescriptorEcos.cc
2086 (getLength): Renamed from length().
2087 * java/io/natFileDescriptorPosix.cc
2088 (open): Implemented support for SYNC and DSYNC.
2089 (seek): Use getLength() instead of length().
2090 (getLength): Renamed from length().
2091 * java/io/natFileDescriptorWin32.cc
2092 (getLength): Renamed from length().
2093 (seek): Use getLength() instead of length().
2094 (available): Likewise.
2095 * gnu/java/nio/natFileChannelImpl.cc
2096 (size): Use getLength() instead of length().
2097
2098 2003-05-13 Michael Koch <konqueror@gmx.de>
2099
2100 * gnu/java/nio/ByteBufferImpl.java
2101 (ByteBufferImpl): All constructors revised.
2102 (slice): Reimplemented.
2103 (duplicate): Reimplemented.
2104 (asReadOnlyBuffer): Reimplemented.
2105 * java/nio/ByteBuffer.java:
2106 Reformatted.
2107 (array_offset): Renamed from "offset" to match all other buffer
2108 classes.
2109 (ByteBuffer): All constructors revised.
2110 (allocateDirect): Implemented.
2111 (allocate): New implementation, documentation reworked.
2112 (wrap): Likewise.
2113 (get): Documentation reworked.
2114 (put): New implementation, documentation reworked.
2115 (hasArray): Documentation reworked.
2116 (arrayOffset): Likewise.
2117 (hashCode): Likewise.
2118 (equals): Likewise.
2119 (compareTo): Likewise.
2120 (order): Likewise.
2121 (compact): Likewise.
2122 (isDirect): Likewise.
2123 (slice): Likewise.
2124 (duplicate): Likewise.
2125 (asReadOnlyBuffer): Likewise.
2126 * Makefile.am
2127 (ordinary_java_source_files):
2128 Added gnu/java/nio/DirectByteBufferImpl.java.
2129 (nat_source_files):
2130 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2131 * Makefile.in: Regenerated.
2132
2133 2003-05-12 Michael Koch <konqueror@gmx.de>
2134
2135 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2136 (nio_get_*): Removed.
2137 (nio_put_*): Removed.
2138 (as*Buffer): Implemented.
2139 (compact): Implemented.
2140 (get): Documentation added.
2141 (put): Documentation added.
2142 (get*): Newly implemented.
2143 (put*): Newly implemented.
2144 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2145 (CharBufferImpl): Revised.
2146 (slice): New implementation.
2147 (duplicate): New implementation.
2148 (compact): New implementation.
2149 (asReadOnlyBuffer): New implementation.
2150 (get): Documentation revised.
2151 (order): Return native byte order.
2152 * gnu/java/nio/DirectByteBufferImpl.java
2153 (allocateDirect): objects can be null not 0.
2154 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2155 (DoubleBufferImpl): Revised.
2156 (slice): New implementation.
2157 (duplicate): New implementation.
2158 (compact): New implementation.
2159 (asReadOnlyBuffer): New implementation.
2160 (get): Documentation revised.
2161 (order): Return native byte order.
2162 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2163 (FloatBufferImpl): Revised.
2164 (slice): New implementation.
2165 (duplicate): New implementation.
2166 (compact): New implementation.
2167 (asReadOnlyBuffer): New implementation.
2168 (get): Documentation revised.
2169 (order): Return native byte order.
2170 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2171 (IntBufferImpl): Revised.
2172 (slice): New implementation.
2173 (duplicate): New implementation.
2174 (compact): New implementation.
2175 (asReadOnlyBuffer): New implementation.
2176 (get): Documentation revised.
2177 (order): Return native byte order.
2178 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2179 (LongBufferImpl): Revised.
2180 (slice): New implementation.
2181 (duplicate): New implementation.
2182 (compact): New implementation.
2183 (asReadOnlyBuffer): New implementation.
2184 (get): Documentation revised.
2185 (order): Return native byte order.
2186 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2187 (ShortBufferImpl): Revised.
2188 (slice): New implementation.
2189 (duplicate): New implementation.
2190 (compact): New implementation.
2191 (asReadOnlyBuffer): New implementation.
2192 (get): Documentation revised.
2193 (order): Return native byte order.
2194 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2195 (CharBuffer): Revised.
2196 (order): Removed.
2197 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2198 (DoubleBuffer): Revised.
2199 (allocateDirect): Removed.
2200 (order): Removed.
2201 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2202 (FloatBuffer): Revised.
2203 (allocateDirect): Removed.
2204 (order): Removed.
2205 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2206 (IntBuffer): Revised.
2207 (allocateDirect): Removed.
2208 (order): Removed.
2209 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2210 (LongBuffer): Revised.
2211 (allocateDirect): Removed.
2212 (order): Removed.
2213 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2214 (ShortBuffer): Revised.
2215 (allocateDirect): Removed.
2216 (order): Removed.
2217 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2218 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2219 * Makefile.am
2220 (ordinary_java_source_files): Added the following files:
2221 gnu/java/nio/CharViewBufferImpl.java,
2222 gnu/java/nio/DoubleViewBufferImpl.java,
2223 gnu/java/nio/FloatViewBufferImpl.java,
2224 gnu/java/nio/IntViewBufferImpl.java,
2225 gnu/java/nio/LongViewBufferImpl.java,
2226 gnu/java/nio/ShortViewBufferImpl.java
2227 (nat_source_files): Removed the following files:
2228 gnu/java/nio/natByteBufferImpl.cc,
2229 gnu/java/nio/natCharBufferImpl.cc
2230 * Makefile.in: Regenerated.
2231
2232 2003-05-12 Michael Koch <konqueror@gmx.de>
2233
2234 * gnu/java/nio/CharViewBufferImpl.java,
2235 gnu/java/nio/DirectByteBufferImpl.java,
2236 gnu/java/nio/DoubleViewBufferImpl.java,
2237 gnu/java/nio/FloatViewBufferImpl.java,
2238 gnu/java/nio/IntViewBufferImpl.java,
2239 gnu/java/nio/LongViewBufferImpl.java,
2240 gnu/java/nio/ShortViewBufferImpl.java,
2241 gnu/java/nio/natDirectByteBufferImpl.cc:
2242 New files, not yet to be compiled.
2243
2244 2003-05-10 Michael Koch <konqueror@gmx.de>
2245
2246 * javax/swing/plaf/ButtonUI.java,
2247 javax/swing/plaf/ColorUIResource.java,
2248 javax/swing/plaf/ComponentUI.java,
2249 javax/swing/plaf/DimensionUIResource.java,
2250 javax/swing/plaf/FontUIResource.java,
2251 javax/swing/plaf/IconUIResource.java,
2252 javax/swing/plaf/InsetsUIResource.java,
2253 javax/swing/plaf/LabelUI.java,
2254 javax/swing/plaf/ListUI.java,
2255 javax/swing/plaf/OptionPaneUI.java,
2256 javax/swing/plaf/PanelUI.java,
2257 javax/swing/plaf/TabbedPaneUI.java,
2258 javax/swing/plaf/TextUI.java,
2259 javax/swing/plaf/TreeUI.java,
2260 javax/swing/plaf/ViewportUI.java,
2261 javax/swing/plaf/basic/BasicBorders.java,
2262 javax/swing/plaf/basic/BasicButtonUI.java,
2263 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2264 javax/swing/plaf/basic/BasicDefaults.java,
2265 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2266 javax/swing/plaf/basic/BasicIconFactory.java,
2267 javax/swing/plaf/basic/BasicLabelUI.java,
2268 javax/swing/plaf/basic/BasicListUI.java,
2269 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2270 javax/swing/plaf/basic/BasicPanelUI.java,
2271 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2272 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2273 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2274 javax/swing/plaf/basic/BasicTextUI.java,
2275 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2276 javax/swing/plaf/basic/BasicTreeUI.java,
2277 javax/swing/plaf/basic/BasicViewportUI.java,
2278 javax/swing/plaf/metal/MetalLookAndFeel.java:
2279 New versions from classpath. This adds copyrights to all files and
2280 some serialVersionUIDs.
2281
2282 2003-05-10 Michael Koch <konqueror@gmx.de>
2283
2284 * java/nio/CharBuffer.java
2285 (offset): Make it package-private.
2286 (backing_buffer): Likewise.
2287 * java/nio/DoubleBuffer.java
2288 (offset): Make it package-private.
2289 (backing_buffer): Likewise.
2290 (put): Reformatted.
2291 * java/nio/FloatBuffer.java
2292 (offset): Make it package-private.
2293 (backing_buffer): Likewise.
2294 * java/nio/IntBuffer.java
2295 (offset): Make it package-private.
2296 (backing_buffer): Likewise.
2297 * java/nio/LongBuffer.java
2298 (offset): Make it package-private.
2299 (backing_buffer): Likewise.
2300 * java/nio/ShortBuffer.java
2301 (offset): Make it package-private.
2302 (backing_buffer): Likewise.
2303
2304 2003-05-10 Michael Koch <konqueror@gmx.de>
2305
2306 * java/nio/CharBuffer.java
2307 (put): Fixed precondtion check.
2308 (toString): Make it work without backing array.
2309 (put): Skip one level of method calling.
2310
2311 2003-05-10 Michael Koch <konqueror@gmx.de>
2312
2313 * java/security/Identity.java,
2314 java/security/IdentityScope.java,
2315 java/security/Key.java,
2316 java/security/KeyPair.java,
2317 java/security/PrivateKey.java,
2318 java/security/Provider.java,
2319 java/security/PublicKey.java,
2320 java/security/SecureRandom.java,
2321 java/security/SecureRandomSpi.java,
2322 java/security/SignedObject.java,
2323 java/security/Signer.java,
2324 java/security/cert/Certificate.java,
2325 java/security/cert/PKIXCertPathBuilderResult.java,
2326 java/security/cert/X509Certificate.java:
2327 New versions from classpath.
2328
2329 2003-05-09 Tom Tromey <tromey@redhat.com>
2330
2331 * Makefile.in: Rebuilt.
2332 * Makefile.am (nat_source_files): Removed old files.
2333 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2334 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2335 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2336 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2337 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2338
2339 2003-05-09 Michael Koch <konqueror@gmx.de>
2340
2341 * gnu/java/nio/ByteBufferImpl.java
2342 (nio_cast): Removed.
2343 (ByteBufferImpl): Removed.
2344 (nio_get_Byte): Removed.
2345 (nio_put_Byte): Removed.
2346 (asByteBuffer): Removed.
2347 (asCharBuffer): Removed implementation and throw exception.
2348 (asShortBuffer): Likewise.
2349 (asIntBuffer): Likewise.
2350 (asLongBuffer): Likewise.
2351 (asFloatBuffer): Likewise.
2352 (asDoubleBuffer): Likewise.
2353 * gnu/java/nio/CharBufferImpl.java
2354 (CharBufferImpl): Removed.
2355 (nio_get_Byte): Removed.
2356 (nio_put_Byte): Removed.
2357 (asByteBuffer): Removed.
2358 * gnu/java/nio/DoubleBufferImpl.java
2359 (DoubleBufferImpl): Removed.
2360 (nio_get_Byte): Removed.
2361 (nio_put_Byte): Removed.
2362 (asByteBuffer): Removed.
2363 * gnu/java/nio/FloatBufferImpl.java
2364 (FloatBufferImpl): Removed.
2365 (nio_get_Byte): Removed.
2366 (nio_put_Byte): Removed.
2367 (asByteBuffer): Removed.
2368 * gnu/java/nio/IntBufferImpl.java
2369 (IntBufferImpl): Removed.
2370 (nio_get_Byte): Removed.
2371 (nio_put_Byte): Removed.
2372 (asByteBuffer): Removed.
2373 * gnu/java/nio/LongBufferImpl.java
2374 (LongBufferImpl): Removed.
2375 (nio_get_Byte): Removed.
2376 (nio_put_Byte): Removed.
2377 (asByteBuffer): Removed.
2378 * gnu/java/nio/ShortBufferImpl.java
2379 (ShortBufferImpl): Removed.
2380 (nio_get_Byte): Removed.
2381 (nio_put_Byte): Removed.
2382 (asByteBuffer): Removed.
2383 * gnu/java/nio/natByteBufferImpl.cc
2384 (nio_cast): Removed.
2385 (nio_get_Byte): Removed.
2386 (nio_put_Byte): Removed.
2387 * gnu/java/nio/natCharBufferImpl.cc
2388 (nio_get_Byte): Removed.
2389 (nio_put_Byte): Removed.
2390
2391 2003-05-09 Michael Koch <konqueror@gmx.de>
2392
2393 * java/net/JarURLConnection.java
2394 (getJarEntry): Merged documentation from classpath.
2395 (getJarFile): Likewise.
2396 (getMainAttributes): Likewise.
2397 (getAttributes): Likewise.
2398 (getManifest): Likewise.
2399 (getCertificates): Reformatted.
2400 * java/net/URLConnection.java:
2401 Little classpath merge.
2402
2403 2003-05-09 Michael Koch <konqueror@gmx.de>
2404
2405 * java/io/DataOutputStream.java
2406 (writeShort): Made it synchronized.
2407 (writeChar): Likewise.
2408 (writeInt): Likewise.
2409 (writeLong): Liekwise.
2410 (writeUTF): Made it synchronized, renamed argument to match classpath.
2411 * java/io/InputStreamReader.java
2412 (converter): Added documentation.
2413 (read): Merged documentation from classpath.
2414 * java/io/OutputStreamWriter.java
2415 (OutputStreamWriter): Merged documentation from classpath.
2416 (close): Reformatted.
2417 (getEncoding): Likewise.
2418 (flush): Likewise.
2419 (write): Merged documentation from classpath, reformatted.
2420
2421 2003-05-08 Tom Tromey <tromey@redhat.com>
2422
2423 * configure.host <powerpc64*-*>: Set with_libffi_default and
2424 libgcj_interpreter to "yes".
2425
2426 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2427
2428 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2429
2430 2003-05-06 Tom Tromey <tromey@redhat.com>
2431
2432 * verify.cc: Reverted previous patch.
2433
2434 2003-05-06 Michael Koch <konqueror@gmx.de>
2435
2436 * java/io/DataOutputStream.java
2437 (write): Renamed argument to "value", merged documentation from
2438 classpath.
2439 (writeBoolean): Likewise.
2440 (writeByte): Likewise.
2441 (writeShort): Likewise.
2442 (writeChar): Likewise.
2443 (writeInt): Likewise.
2444 (writeLong): Likewise.
2445 (writeFloat): Likewise.
2446 (writeDouble): Likewise.
2447 (writeBytes): Likewise.
2448 (writeChars): Likewise.
2449 (writeUTF): Likewise.
2450 * java/io/File.java
2451 (performDelete): Added documentation.
2452 (performList): Likewise.
2453 (performMkdir): Likewise.
2454 (performSetReadOnly): Likewise.
2455 (performRenameTo): Likewise.
2456 (performSetLastModified): Likewise.
2457 (delete): Made it sychronized.
2458 (renameTo): Made it sychronized.
2459 (equals): Reformatted.
2460 (isHidden): Likewise.
2461 (listFiles): Likewise.
2462 (setReadOnly): Likewise.
2463 (listRoots): Likewise.
2464 (setLastModified): Likewise.
2465 (checkRead): Likewise.
2466 (checkWrite): Likewise.
2467 * java/io/FileInputStream.java
2468 (skip): Made it sychronized, merged from classpath.
2469 * java/io/FileOutputStream.java
2470 (write): Merged from classpath.
2471 * java/io/InputStreamReader.java:
2472 (InputStreamReader): Merged documentation from classpath.
2473
2474 2003-05-05 Michael Koch <konqueror@gmx.de>
2475
2476 * java/net/NetworkInterface.java
2477 (networkInterfaces): Removed.
2478 (getByName): Use getRealNetworkInterfaces() instead of
2479 networkInterfaces.
2480 (getByInetAddress): Likewise.
2481 (getNetworkInterfaces): Likewise.
2482 (toString): Fix output of addresses of an interface.
2483
2484 2003-05-05 Michael Koch <konqueror@gmx.de>
2485
2486 * java/io/DataInputStream.java:
2487 Merged new documentation from classpath.
2488
2489 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2490
2491 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2492 "version".
2493 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2494 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2495 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2496 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2497 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2498 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2499 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2500 * java/security/Key.java: Likewise.
2501 * java/security/PrivateKey.java: Likewise.
2502 * java/security/Provider.java: Likewise.
2503 * java/security/PublicKey.java: Likewise.
2504
2505 2003-05-02 Michael Koch <konqueror@gmx.de>
2506
2507 * java/net/URI.java
2508 (create): Doesnt throws any exceptions.
2509 * java/net/URLConnection.java
2510 (URLConnection): Commend added.
2511 (getExpiration): The header field is called "expires" not
2512 "expiration".
2513 (getHeaderField): Merged documentation with classpath.
2514 (getHeaderFieldInt): Likewise.
2515 (getHeaderFieldDate): Likewise.
2516 (getHeaderFieldKey): Likewise.
2517 (getPermission): Likewise.
2518 (setDefaultUseCaches): Likewise.
2519 (setRequestProperty): Likewise.
2520 (addRequestProperty): Likewise.
2521 (getRequestProperty): Likewise.
2522 (getRequestProperties): Likewise.
2523 (setDefaultRequestProperty): Likewise.
2524 (getDefaultRequestProperty): Likewise.
2525 (guessContentTypeFromStream): Likewise.
2526 (getFileNameMap): Likewise.
2527 (setFileNameMap): Likewise.
2528 (setDoInput): Merged implementation and documentation with classpath.
2529 (setDoOutput): Likewise.
2530 (setAllowUserInteraction): Likewise.
2531 (setDefaultAllowUserInteraction): Likewise.
2532 (setContentHandlerFactory): Made it synchronized, merged documentation
2533 with classpath.
2534 (guessContentTypeFromName): Renamed argument fname to filename to
2535 match classpath, merged documentation with classpath.
2536
2537 2003-05-02 Michael Koch <konqueror@gmx.de>
2538
2539 * java/net/JarURLConnection.java
2540 (JarURLConnection): Class documentation merged with classpath.
2541 (getJarFileURL): Moved and documentation merged with classpath.
2542 (getEntryName): Likewise.
2543 (JarURLConnection): Documentation merged with classpath.
2544 (getJarEntry): Likewise.
2545 (getJarFile): Likewise.
2546 * java/net/PlainDatagramSocketImpl.java:
2547 Class documentation moved.
2548 * java/net/URLConnection.java
2549 (fileNameMap): Moved and documentation merged with classpath.
2550 (factory): Likewise.
2551 (defaultAllowUserInteraction): Likewis.
2552 (defaultUseCaches): Likewise.
2553 (allowUserInteraction): Likewise.
2554 (connected): Likewise.
2555 (url): Likewise.
2556 (connect): Documentation merged with classpath.
2557 (getURL): Likewise.
2558 (getContentLength): Likewise.
2559 (getContentType): Likewise.
2560 (getContentEncoding): Likewise.
2561 (getExpiration): Likewise.
2562 (getDate): Likewise.
2563 (getLastModified): Likewise.
2564 (getHeaderField): Likewise.
2565 (getContent): Likewise.
2566 (getPermission): Likewise.
2567 (getInputStream): Likewise.
2568 (getOutputStream): Likewise.
2569 (toString): Likewise.
2570 (getDoInput): Likewise.
2571 (getDoOutput): Likewise.
2572 (setAllowUserInteraction): Likewise.
2573 (getAllowUserInteraction): Likewise.
2574 (setDefaultAllowUserInteraction): Likewise.
2575 (getDefaultAllowUserInteraction): Likewise.
2576 (setUseCaches): Likewise.
2577 (getUseCaches): Likewise.
2578 (setIfModifiedSince): Likewise.
2579 (getIfModifiedSince): Likewise.
2580 (setDefaultRequestProperty): Likewise.
2581 (getDefaultRequestProperty): Likewise.
2582 (setContentHandlerFactory): Likewise.
2583 (setFileNameMap): Likewise.
2584
2585 2003-05-02 Michael Koch <konqueror@gmx.de>
2586
2587 * java/net/InetAddress.java:
2588 Merged class documentation with classpath.
2589 * java/net/JarURLConnection.java:
2590 Explicitely import all used classes.
2591 * java/net/URL.java:
2592 Reformatting.
2593 * java/net/ServerSocket.java,
2594 java/net/Socket.java:
2595 New versions from classpath.
2596
2597 2003-05-02 Michael Koch <konqueror@gmx.de>
2598
2599 * gnu/java/nio/FileChannelImpl.java
2600 (read): New implementation.
2601 (implRead): New methods.
2602 (write): New implementation, call other write insteal of read method.
2603 (implWrite): New methods.
2604 (map): Added comment.
2605 (transferFrom): Implemented.
2606 (transferTo): Implemented.
2607 (lock): Added checks to throw exceptions.
2608 (truncate): Added check to throw exception.
2609 * gnu/java/nio/natFileChannelImpl.cc
2610 (implRead): New method.
2611 (implWrite): New method.
2612 * java/nio/ByteBuffer.java
2613 (hashCode): Fixed comment.
2614 (get): Fixed exception documentation.
2615 (put): Fixed exception documentation.
2616 * java/nio/CharBuffer.java:
2617 Added comment for later optimizations.
2618
2619 2003-04-30 Tom Tromey <tromey@redhat.com>
2620
2621 PR libgcj/10582:
2622 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2623 Removed.
2624 (type::compatible): Use _Jv_IsAssignableFrom.
2625 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2626 (_Jv_IsAssignableFrom): Work even when source or target class is
2627 not prepared.
2628
2629 2003-04-30 Michael Koch <konqueror@gmx.de>
2630
2631 * java/text/BreakIterator.java
2632 (clone): New method.
2633
2634 2003-04-30 Michael Koch <konqueror@gmx.de>
2635
2636 * java/text/CollationElementIterator.java,
2637 java/text/CollationKey.java,
2638 java/text/RuleBasedCollator.java:
2639 Merged copyright and documentation from classpath and
2640 rearranged some code. No code changes done.
2641
2642 2003-04-30 Michael Koch <konqueror@gmx.de>
2643
2644 * java/util/regex/Matcher.java
2645 (pattern): New member variable.
2646 (appendReplacement): New method.
2647 (appendTail): New method.
2648 (end): New method.
2649 (find): New method.
2650 (group): New method.
2651 (replaceFirst): Added documentation.
2652 (replaceAll): Added documentation.
2653 (groupCount): New method.
2654 (lookingAt): New method.
2655 (matches): New method.
2656 (reset): New method.
2657 (start): New method.
2658 * java/util/regex/Pattern.java
2659 (serialVersionUID): New constant.
2660 (CANON_EQ): New constant.
2661 (CASE_INSENSITIVE): New constant.
2662 (COMMENTS): New constant.
2663 (DOTALL): New constant.
2664 (MULTILINE): New constant.
2665 (UNICODE_CASE): New constant.
2666 (UNIX_LINES): New constant.
2667 (regex): New member variable.
2668 (flags): New member variable.
2669 (Pattern): New method.
2670 (compile): Documentation added.
2671 (flags): New method.
2672 (matches): Documentation added.
2673 (matcher): Documentation added.
2674 (split): Documentation added.
2675 (pattern): New method.
2676
2677 2003-04-30 Michael Koch <konqueror@gmx.de>
2678
2679 * gnu/java/security/Engine.java,
2680 gnu/java/security/OID.java,
2681 gnu/java/security/der/BitString.java,
2682 gnu/java/security/der/DER.java,
2683 gnu/java/security/der/DERReader.java,
2684 gnu/java/security/der/DERValue.java,
2685 gnu/java/security/der/DERWriter.java,
2686 gnu/java/security/provider/DSAKeyFactory.java,
2687 gnu/java/security/provider/X509CertificateFactory.java,
2688 gnu/java/security/x509/X500DistinguishedName.java,
2689 gnu/java/security/x509/X509CRL.java,
2690 gnu/java/security/x509/X509CRLEntry.java,
2691 gnu/java/security/x509/X509Certificate.java,
2692 java/security/cert/CRLSelector.java,
2693 java/security/cert/CertPathBuilder.java,
2694 java/security/cert/CertPathBuilderResult.java,
2695 java/security/cert/CertPathBuilderSpi.java,
2696 java/security/cert/CertPathParameters.java,
2697 java/security/cert/CertPathValidator.java,
2698 java/security/cert/CertPathValidatorResult.java,
2699 java/security/cert/CertPathValidatorSpi.java,
2700 java/security/cert/CertSelector.java,
2701 java/security/cert/CertStore.java,
2702 java/security/cert/CertStoreParameters.java,
2703 java/security/cert/CertStoreSpi.java,
2704 java/security/cert/CollectionCertStoreParameters.java,
2705 java/security/cert/LDAPCertStoreParameters.java,
2706 java/security/cert/PKIXBuilderParameters.java,
2707 java/security/cert/PKIXCertPathBuilderResult.java,
2708 java/security/cert/PKIXCertPathChecker.java,
2709 java/security/cert/PKIXCertPathValidatorResult.java,
2710 java/security/cert/PKIXParameters.java,
2711 java/security/cert/PolicyNode.java,
2712 java/security/cert/PolicyQualifierInfo.java,
2713 java/security/cert/TrustAnchor.java,
2714 javax/security/auth/x500/X500Principal.java:
2715 New files from classpath.
2716 * gnu/java/io/ASN1ParsingException.java,
2717 gnu/java/io/Base64InputStream.java,
2718 gnu/java/security/der/DEREncodingException.java,
2719 gnu/java/security/provider/DSAParameters.java,
2720 gnu/java/security/provider/DSASignature.java,
2721 gnu/java/security/provider/Gnu.java,
2722 gnu/java/security/provider/GnuDSAPrivateKey.java,
2723 gnu/java/security/provider/GnuDSAPublicKey.java,
2724 java/security/AlgorithmParameterGenerator.java,
2725 java/security/AlgorithmParameters.java,
2726 java/security/KeyFactory.java,
2727 java/security/KeyPairGenerator.java,
2728 java/security/KeyStore.java,
2729 java/security/MessageDigest.java,
2730 java/security/SecureClassLoader.java,
2731 java/security/SecureRandom.java,
2732 java/security/Security.java,
2733 java/security/Signature.java,
2734 java/security/cert/Certificate.java,
2735 java/security/cert/CertificateFactory.java,
2736 java/security/cert/CertificateFactorySpi.java,
2737 java/security/cert/X509CRL.java,
2738 java/security/cert/X509Certificate.java,
2739 java/security/spec/DSAPublicKeySpec.java:
2740 New versions from classpath.
2741 * gnu/java/security/provider/DERReader.java,
2742 gnu/java/security/provider/DERWriter.java,
2743 java/security/Engine.java: Removed.
2744 * Makefile.am
2745 (java_source_files, javax_source_files): Added new files.
2746 * Makefile.in: Regenerated.
2747
2748 2003-04-29 Michael Koch <konqueror@gmx.de>
2749
2750 * javax/swing/JTable.java
2751 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2752 (AUTO_RESIZE_LAST_COLUMN): New constant.
2753 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2754 (AUTO_RESIZE_OFF): New constant.
2755 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2756 (JTable): New method.
2757 (columnAdded): New method.
2758 (columnMarginChanged): New method.
2759 (columnMoved): New method.
2760 (columnRemoved): New method.
2761 (columnSelectionChanged): New method.
2762 (editingCanceled): New method.
2763 (editingStopped): New method.
2764 (getColumnModel): New method.
2765 (getPreferredScrollableViewportSize): New method.
2766 (getScrollableBlockIncrement): New method.
2767 (getScrollableTracksViewportHeight): New method.
2768 (getScrollableTracksViewportWidth): New method.
2769 (getScrollableUnitIncrement): New method.
2770 (getSelectedRow): New method.
2771 (getSelectionModel): New method.
2772 (tableChanged): New method.
2773 (setModel): New method.
2774 (setSelectionMode): New method.
2775 (setSelectionModel): New method.
2776 (setShowGrid): New method.
2777 (valueChanged): New method.
2778 * javax/swing/text/DefaultEditorKit.java
2779 (backwardAction): New constant.
2780 (beepAction): New constant.
2781 (beginAction): New constant.
2782 (beginLineAction): New constant.
2783 (beginParagraphAction): New constant.
2784 (beginWordAction): New constant.
2785 (copyAction): New constant.
2786 (cutAction): New constant.
2787 (defaultKeyTypedAction): New constant.
2788 (deleteNextCharAction): New constant.
2789 (deletePrevCharAction): New constant.
2790 (downAction): New constant.
2791 (endAction): New constant.
2792 (endLineAction): New constant.
2793 (endOfLineStringProperty): New constant.
2794 (endParagraphAction): New constant.
2795 (endWordAction): New constant.
2796 (forwardAction): New constant.
2797 (insertBreakAction): New constant.
2798 (insertContentAction): New constant.
2799 (insertTabAction): New constant.
2800 (nextWordAction): New constant.
2801 (pageDownAction): New constant.
2802 (pageUpAction): New constant.
2803 (pasteAction): New constant.
2804 (previousWordAction): New constant.
2805 (readOnlyAction): New constant.
2806 (selectAllAction): New constant.
2807 (selectionBackwardAction): New constant.
2808 (selectionBeginAction): New constant.
2809 (selectionBeginLineAction): New constant.
2810 (selectionBeginParagraphAction): New constant.
2811 (selectionBeginWordAction): New constant.
2812 (selectionDownAction): New constant.
2813 (selectionEndAction): New constant.
2814 (selectionEndLineAction): New constant.
2815 (selectionEndParagraphAction): New constant.
2816 (selectionEndWordAction): New constant.
2817 (selectionForwardAction): New constant.
2818 (selectionNextWordAction): New constant.
2819 (selectionPreviousWordAction): New constant.
2820 (selectionUpAction): New constant.
2821 (selectLineAction): New constant.
2822 (selectParagraphAction): New constant.
2823 (selectWordAction): New constant.
2824 (upAction): New constant.
2825 (writableAction): New constant.
2826
2827 2003-04-29 Michael Koch <konqueror@gmx.de>
2828
2829 * java/util/PropertyPermission.java:
2830 New version from classpath
2831 * java/util/ResourceBundle.java:
2832 Partly merged from classpath
2833 (getObject): Reformated.
2834 (tryBundle): Set foundBundle = null if no bundle found.
2835
2836 2003-04-29 Michael Koch <konqueror@gmx.de>
2837
2838 * javax/swing/AbstractListModel.java,
2839 javax/swing/DefaultBoundedRangeModel.java,
2840 javax/swing/DefaultSingleSelectionModel.java:
2841 New Versions from classpath.
2842
2843 2003-04-29 Michael Koch <konqueror@gmx.de>
2844
2845 * java/awt/Window.java
2846 (show): Call super.show() instead of setVisible() to avoid endless
2847 loop.
2848 (hide): Call super.hide() instead of setVisible() to avoid endless
2849 loop.
2850
2851 2003-04-29 Michael Koch <konqueror@gmx.de>
2852
2853 * java/util/zip/Deflater.java,
2854 java/util/zip/DeflaterOutputStream.java:
2855 Partly merged with classpath.
2856
2857 2003-04-27 Tom Tromey <tromey@redhat.com>
2858
2859 * java/lang/natString.cc (_Jv_AllocString): Initialize
2860 cachedHashCode.
2861 (init): Likewise.
2862 (_Jv_NewStringUtf8Const): Likewise.
2863
2864 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2865
2866 * include/jvm.h: (_Jv_GetNbArgs) added
2867 (_Jv_GetSafeArg) added
2868 (_Jv_SetArgs) added
2869 * prims.cc: (_Jv_GetNbArgs) implemented
2870 (_Jv_GetSafeArg) implemented
2871 (_Jv_SetArgs) implemented
2872 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2873 setting _Jv_argc and _Jv_argv
2874 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2875 instead of _Jv_argv
2876 * java/lang/natRuntime.cc: (insertSystemProperties) use
2877 _Jv_GetSafeArg() instead of _Jv_argv
2878
2879 2003-04-23 Tom Tromey <tromey@redhat.com>
2880
2881 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2882 required by this object. Search superclasses to find required
2883 alignment.
2884 (get_alignment_from_class): Use alignment of type as it appears
2885 in a struct.
2886 (ALIGNOF): New macro.
2887 (struct aligner): New helper structure.
2888
2889 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2890
2891 * java/awt/Container.java (addImpl): Enable paint events if adding
2892 a lightweight to a heavyweight.
2893 (addNotify): Ensure that peer is created before
2894 addNotifyContainerChildren.
2895 (addNotifyContainerChildren): Enable paint events if a heavyweight
2896 container contains a lightweight.
2897
2898 2003-04-20 Tom Tromey <tromey@redhat.com>
2899
2900 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2901 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2902 Classpath.
2903
2904 2003-04-19 Tom Tromey <tromey@redhat.com>
2905
2906 * java/sql/Date.java, java/sql/DriverManager.java,
2907 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2908 Classpath.
2909
2910 * Makefile.in: Rebuilt.
2911 * Makefile.am (ordinary_java_source_files): Added new files.
2912 * java/security/AlgorithmParameterGenerator.java,
2913 java/security/AlgorithmParameters.java, java/security/Engine.java,
2914 java/security/Identity.java, java/security/IdentityScope.java,
2915 java/security/KeyFactory.java,
2916 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2917 java/security/MessageDigest.java, java/security/Policy.java,
2918 java/security/ProtectionDomain.java,
2919 java/security/SecureRandom.java, java/security/Security.java,
2920 java/security/Signature.java, java/security/SignatureSpi.java,
2921 java/security/SignedObject.java, java/security/Signer.java,
2922 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2923 java/security/spec/PSSParameterSpec.java,
2924 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2925 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2926 Classpath.
2927
2928 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2929
2930 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2931 (dispose): Null metrics.
2932 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2933 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2934 finalize.
2935 (finalize): Call dispose.
2936 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2937 (gcCachedCount): New field.
2938 (finalize): New method.
2939 (putGCInCache): New method.
2940 (getGCFromCache): New method.
2941 * gnu/gcj/xlib/GC.java (GC): Make protected.
2942 (clone): Get new GC from cache if possible.
2943 (create): New static method.
2944 (dispose): Save old GC in cache.
2945 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2946 deleting.
2947 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2948 is null.
2949 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2950 * java/awt/Container.java (visitChild): Dispose gfx2 when
2951 finished.
2952
2953 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2954
2955 * java/math/BigInteger.java (probablePrime): New.
2956 * java/math/BigDecimal.java (unscaledValue): New.
2957
2958 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2959
2960 * java/io/File.java (getAbsolutePath): On Windows, take care
2961 of paths like "C:", "G:foo\bar", etc.
2962 (getName): Make it work correctly on Windows.
2963 (getParent): Make it work correctly on Windows. For UNIX,
2964 fix bug that causes "/" to be returned as the parent of "/",
2965 instead of null as returned by Sun's JRE.
2966
2967 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2968
2969 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2970
2971 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2972 inner class.
2973 (CACHE_SIZE_PER_DISPLAY): New field
2974 (fontMetricsCache): New field
2975 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2976 loading ISO10646-1 fonts.
2977
2978 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2979
2980 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2981 characters.
2982 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2983 characters.
2984
2985 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2986
2987 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2988 floating point.
2989
2990 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2991
2992 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2993 installed libpthread is either linuxthreads with floating stacks or
2994 NPTL.
2995
2996 2003-04-14 Tom Tromey <tromey@redhat.com>
2997
2998 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2999 of alignment.
3000
3001 2003-04-10 Tom Tromey <tromey@redhat.com>
3002
3003 * verify.cc (pop64): Removed.
3004 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3005 exception if top-of-stack is narrow.
3006 (initialize_stack): Check to ensure that <init> is not static and
3007 <clinit> is.
3008
3009 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3010
3011 * java/io/ObjectStreamException
3012 * java/io/FileFilter
3013 * java/io/FilenameFilter
3014 * java/io/ObjectInput
3015 * java/io/ObjectOutput
3016 * java/io/ObjectStreamConstants
3017 Minor doc fixes, format fixes, spelling corrections, etc.
3018 * java/io/DataInput
3019 Corrected code samples in Javadocs to match reality
3020 * java/io/DataOutput
3021 * java/io/ObjectInputValidation
3022 Major documentation fixes - all Javadocs re-written or updated
3023
3024 2003-04-06 Michael Koch <konqueror@gmx.de>
3025
3026 * java/net/URLConnection.java:
3027 Import classes directly.
3028 (URLConnection): Merged class documentation with classpath.
3029 (url): Moved, documentation from classpath added.
3030 (doInput): Moved, documentation from classpath added.
3031 (doOutput): Moved, documentation from classpath added.
3032 (allowUserInteraction): Moved.
3033 (useCaches): Moved, documentation from classpath added.
3034 (ifModifiedSince): Moved, documentation from classpath added.
3035 (connected): Moved, documentation from classpath added.
3036
3037 2003-04-06 Michael Koch <konqueror@gmx.de>
3038
3039 * java/io/FileInputStream.java
3040 (skip): Renamed some variables to match classpath, added
3041 checks from classpath.
3042
3043 2003-03-31 Michael Koch <konqueror@gmx.de>
3044
3045 * javax/swing/AbstractAction.java
3046 (AbstractAction): Reformatted.
3047 (serialVersionUID): New private member variable.
3048 * javax/swing/plaf/BorderUIResource.java
3049 (serialVersionUID): New private member variable.
3050 * javax/swing/plaf/basic/BasicLookAndFeel.java
3051 (serialVersionUID): New private member variable.
3052
3053 2003-03-31 Michael Koch <konqueror@gmx.de>
3054
3055 * java/sql/Date.java
3056 (valueOf): Deprecated, reformatted.
3057 (toString): Deprecated, reformatted.
3058 * java/sql/Time.java
3059 (valueOf): Deprecated, reformatted.
3060 (toString): Deprecated, reformatted.
3061
3062 2003-03-31 Michael Koch <konqueror@gmx.de>
3063
3064 * java/rmi/dgc/VMID.java
3065 (isUnique): Deprecated.
3066
3067 2003-03-31 Michael Koch <konqueror@gmx.de>
3068
3069 * java/io/File.java
3070 (separator): Merged documentation from classpath.
3071 (separatorChar): Merged documentation from classpath.
3072 (pathSeparator): Merged documentation from classpath.
3073 (pathSeparatorChar): Merged documentation from classpath.
3074 (path): Merged documentation from classpath.
3075 (canRead): Merged documentation from classpath.
3076 (canWrite): Merged documentation from classpath.
3077 (createNewFile): Merged documentation from classpath.
3078 (delete): Merged documentation from classpath.
3079 (equals): Merged documentation from classpath.
3080 (exists): Merged documentation from classpath.
3081 (File): Renamed p to name to match classpath, merged documentation
3082 from classpath.
3083 (getAbsolutePath): Merged documentation from classpath.
3084 (getCanonicalPath): Merged documentation from classpath.
3085 (getCanonicalFile): Merged documentation from classpath.
3086 (getName): Merged documentation from classpath.
3087 (getParent): Merged documentation from classpath.
3088 (getParentFile): Merged documentation from classpath.
3089 (getPath): Merged documentation from classpath.
3090 (hashCode): Merged documentation from classpath.
3091 (isAbsolute): Merged documentation from classpath.
3092 (isDirectory): Merged documentation from classpath.
3093 (isFile): Merged documentation from classpath.
3094 (isHidden): Merged documentation from classpath.
3095 (lastModified): Merged documentation from classpath.
3096 (length): Merged documentation from classpath.
3097 (list): Merged documentation from classpath.
3098 (listFiles): Merged documentation from classpath.
3099 (toString): Merged documentation from classpath.
3100 (toURL): Merged documentation from classpath.
3101 (mkdir): Merged documentation from classpath.
3102 (mkdirs): Merged documentation from classpath.
3103 (createTempFile): Merged documentation from classpath.
3104 (setReadOnly): Merged documentation from classpath.
3105 (listRoots): Merged documentation from classpath.
3106 (compareTo): Merged documentation from classpath.
3107 (renameTo): Merged documentation from classpath.
3108 (setLastModified): Merged documentation from classpath.
3109 * java/io/PrintStream.java
3110 (auto_flush): Merged documentation from classpath.
3111 (PrintStream): Merged documentation from classpath.
3112 (checkError): Merged documentation from classpath.
3113 (setError): Merged documentation from classpath.
3114 (close): Merged documentation from classpath.
3115 (flush): Merged documentation from classpath.
3116 (print): Merged documentation from classpath.
3117 (println): Merged documentation from classpath.
3118 (write): Renamed count to len to match classpath,
3119 merged documentation from classpath.
3120 * java/io/RandomAccessFile.java
3121 (readShort): Merged documentation from classpath.
3122 (readUnsignedByte): Merged documentation from classpath.
3123 (readUnsignedShort): Merged documentation from classpath.
3124 (readUTF): Merged documentation from classpath.
3125 (seek): Reformatted, merged documentation from classpath.
3126 (skipBytes): Renamed some variables to match classpath, reformatted,
3127 merged documentation from classpath.
3128 (write): Merged documentation from classpath.
3129 (writeBoolean): Merged documentation from classpath.
3130 (writeByte): Merged documentation from classpath.
3131 (writeShort): Merged documentation from classpath.
3132 (writeChar): Merged documentation from classpath.
3133 (writeInt): Merged documentation from classpath.
3134 (writeLong): Merged documentation from classpath.
3135 (writeFloat): Merged documentation from classpath.
3136 (writeDouble): Merged documentation from classpath.
3137 (writeBytes): Merged documentation from classpath.
3138 (writeChars): Merged documentation from classpath.
3139 (writeUTF): Reformatted.
3140 (getChannel): Reformatted.
3141
3142 2003-03-31 Michael Koch <konqueror@gmx.de>
3143
3144 * java/awt/font/TextAttribute.java
3145 (readResolve): Throws java.io.InvalidObjectException.
3146
3147 2003-03-31 Michael Koch <konqueror@gmx.de>
3148
3149 * java/rmi/server/LoaderHandler.java
3150 (loadClass): Deprecated.
3151 (getSecurityContext): Deprecated.
3152 * java/rmi/server/LogStream.java
3153 (getDefaultStream): Deprecated.
3154 (setDefaultStream): Deprecated.
3155 (getOutputStream): Deprecated.
3156 (setOutputStream): Deprecated.
3157 (write): Deprecated.
3158 (toString): Deprecated.
3159 (parseLevel): Deprecated.
3160 * java/rmi/server/Operation.java
3161 (Operation): Deprecated.
3162 (getOperation): Deprecated.
3163 (toString): Deprecated.
3164 * java/rmi/server/RemoteCall.java
3165 (getOutputStream): Deprecated.
3166 (releaseOutputStream): Deprecated.
3167 (getInputStream): Deprecated.
3168 (releaseInputStream): Deprecated.
3169 (getResultStream): Deprecated.
3170 (executeCall): Deprecated.
3171 (done): Deprecated.
3172 * java/rmi/server/RemoteRef.java
3173 (invoke): Deprecated.
3174 (newCall): Deprecated.
3175 (done): Deprecated.
3176 * java/rmi/server/RemoteStub.java
3177 (setRef): Deprecated.
3178 * java/rmi/server/Skeleton.java:
3179 No need to import java.lang.Exception explicitly.
3180 (dispatch): Deprecated.
3181 (getOperations): Deprecated.
3182
3183 2003-03-31 Michael Koch <konqueror@gmx.de>
3184
3185 * java/rmi/dgc/VMID.java,
3186 java/rmi/registry/RegistryHandler.java,
3187 java/rmi/server/LogStream.java,
3188 java/rmi/server/Operation.java,
3189 java/rmi/server/RemoteCall.java,
3190 java/rmi/server/RemoteRef.java,
3191 java/rmi/server/RemoteStub.java:
3192 Reformatted.
3193
3194 2003-03-31 Michael Koch <konqueror@gmx.de>
3195
3196 * javax/swing/AbstractCellEditor.java,
3197 javax/swing/AbstractListModel.java,
3198 javax/swing/ActionMap.java,
3199 javax/swing/BorderFactory.java,
3200 javax/swing/ButtonGroup.java,
3201 javax/swing/DefaultBoundedRangeModel.java,
3202 javax/swing/DefaultButtonModel.java,
3203 javax/swing/DefaultCellEditor.java,
3204 javax/swing/DefaultComboBoxModel.java,
3205 javax/swing/DefaultDesktopManager.java,
3206 javax/swing/DefaultListCellRenderer.java,
3207 javax/swing/DefaultSingleSelectionModel.java,
3208 javax/swing/InputMap.java,
3209 javax/swing/JComponent.java,
3210 javax/swing/JMenu.java,
3211 javax/swing/JSlider.java,
3212 javax/swing/KeyStroke.java,
3213 javax/swing/OverlayLayout.java,
3214 javax/swing/ScrollPaneLayout.java,
3215 javax/swing/SizeRequirements.java,
3216 javax/swing/UIManager.java,
3217 javax/swing/ViewportLayout.java,
3218 javax/swing/border/AbstractBorder.java,
3219 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3220 javax/swing/event/EventListenerList.java,
3221 javax/swing/table/AbstractTableModel.java,
3222 javax/swing/table/DefaultTableCellRenderer.java,
3223 javax/swing/table/DefaultTableColumnModel.java,
3224 javax/swing/table/DefaultTableModel.java,
3225 javax/swing/table/TableColumn.java,
3226 javax/swing/text/StyledEditorKit.java,
3227 javax/swing/tree/DefaultMutableTreeNode.java,
3228 javax/swing/tree/DefaultTreeModel.java,
3229 javax/swing/tree/DefaultTreeSelectionModel.java,
3230 javax/swing/tree/TreePath.java,
3231 javax/swing/undo/AbstractUndoableEdit.java,
3232 javax/swing/undo/StateEdit.java,
3233 javax/swing/undo/StateEditable.java,
3234 javax/swing/undo/UndoableEditSupport.java:
3235 Merges from classpath.
3236
3237 2003-03-30 Tom Tromey <tromey@redhat.com>
3238
3239 * java/lang/String.java (data, boffset, count): Documented.
3240 (String(byte[],String)): Reformatted.
3241 (String(byte[])): Likewise.
3242 (lastIndexOf(int)): Likewise.
3243 (lastIndexOf(String)): Likewise.
3244 (substring(int)): Renamed argument to match Classpath.
3245 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3246
3247 * java/lang/String.java: Miscellaneous minor formatting changes
3248 to match Classpath more closely.
3249
3250 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3251 Tom Tromey <tromey@redhat.com>
3252
3253 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3254 (init()): Removed.
3255 (charAt): Put index in exception.
3256 (contentEquals): New method.
3257 Include StringBuffer.h.
3258 * java/lang/String.java (cachedHashCode): New field.
3259 (String()): Follow classpath implementation.
3260 (init()): Removed.
3261 (contentEquals): Declare.
3262 (subSequence): Don't declare IndexOutIfBoundsException in throws
3263 clause.
3264 (matches, replaceFirst, replaceAll, split): New methods from
3265 Classpath.
3266
3267 2003-03-29 Tom Tromey <tromey@redhat.com>
3268
3269 * java/lang/String.java: Reordered to follow Classpath; merged in
3270 javadoc.
3271
3272 * java/text/MessageFormat.java: Removed some whitespace.
3273
3274 * Makefile.in: Rebuilt.
3275 * Makefile.am (awt_java_source_files): Added new files.
3276 * gnu/javax/rmi/PortableServer.java,
3277 gnu/javax/rmi/CORBA/DelegateFactory.java,
3278 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3279 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3280 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3281 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3282 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3283 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3284 javax/rmi/PortableRemoteObject.java,
3285 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3286 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3287 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3288 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3289 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3290 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3291
3292 * java/lang/natClass.cc (newInstance): Put method name in
3293 exception.
3294 (getConstructor): Likewise.
3295 (getDeclaredConstructor): Likewise.
3296 (getPrivateMethod): Likewise.
3297
3298 2003-03-28 Tom Tromey <tromey@redhat.com>
3299
3300 * java/lang/reflect/Proxy.java: New version from Classpath.
3301 * java/lang/Package.java: New version from Classpath.
3302
3303 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3304
3305 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3306 * configure: Regenerate.
3307
3308 2003-03-28 Michael Koch <konqueror@gmx.de>
3309
3310 * java/io/File.java:
3311 Import needed classes instead of whole packages, merged class
3312 documentation with classpath, moved constants and variables to top of
3313 class.
3314 * java/io/PrintStream.java:
3315 Merged class documentation with classpath, moved constants and
3316 variables to top of class.
3317 * java/io/RandomAccessFile.java
3318 (RandomAccessFile): Merged with classpath.
3319 (read): Merged with classpath).
3320 (read*): Reformatted.
3321
3322 2003-03-28 Michael Koch <konqueror@gmx.de>
3323
3324 * java/io/FileDescriptor.java
3325 (finalize): Throws Throwable, not IOException.
3326 * java/io/ObjectOutputStream.java
3327 (PutField.put): Doesnt throws anything.
3328
3329 2003­03-28 Michael Koch <konqueror@gmx.de>
3330
3331 * java/io/FileOutputStream.java:
3332 Merged class documentation and authors with classpath.
3333 (FileOutputStream): Partly merged with classpath.
3334 (write): Merged with classpath.
3335 (getChannel): Make it synchronized instead of explicit block in this
3336 method.
3337 * java/io/RandomAccessFile.java:
3338 Merged class documentation and authors with classpath.
3339
3340 2003-03-26 Tom Tromey <tromey@redhat.com>
3341
3342 * java/lang/natRuntime.cc (insertSystemProperties): Set
3343 gnu.classpath.home.url.
3344 * Makefile.in: Rebuilt.
3345 * Makefile.am: Define LIBDIR.
3346
3347 2003-03-25 Michael Koch <konqueror@gmx.de>
3348
3349 * java/io/FileInputStream.java
3350 (read): Renamed b to buf and off to offset.
3351 * java/io/FileOutputStream.java
3352 (ch): Documentation added.
3353 (FileOutputStream): Documentation added.
3354 (getFD): Documentation added.
3355 (write): Documentation added.
3356 (close): Documentation added.
3357 (getChannel): Documentation added.
3358
3359 2003-03-24 Michael Koch <konqueror@gmx.de>
3360
3361 * java/io/DataOutputStream.java
3362 (write): Merged from classpath.
3363 * java/io/File.java:
3364 Merged copyrigth with classpath.
3365 * java/io/FileInputStream.java
3366 (getChannel): Made it synchronized instead of using a synchronized
3367 block.
3368 * java/io/FileOutputStream.java: Reformatted.
3369 * java/io/InputStreamReader.java
3370 (InputStreamReader): Renamed enc to encoding_name.
3371 (close): Merged documentation from classpath.
3372 (getEncoding): Merged documentation from classpath.
3373 (ready): Merged documentation from classpath.
3374 (read): Merged documentation from classpath.
3375 * java/io/LineNumberReader.java
3376 (lineNumber): Made it private.
3377 (LineNumberReader): Use Constant instead of a direct value.
3378 * java/io/OutputStreamWriter.java
3379 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3380 documentation from classpath.
3381 (close): Merged documentation from classpath.
3382 (flush): Merged documentation from classpath.
3383 (write): Merged documentation from classpath.
3384 * java/io/PrintStream.java: Reformatted.
3385
3386 2003-03-24 Michael Koch <konqueror@gmx.de>
3387
3388 * javax/swing/text/ComponentView.java
3389 (getComponent): Must be final.
3390 * javax/swing/tree/DefaultTreeCellRenderer.java:
3391 Reformatted.
3392 * javax/swing/undo/StateEditable.java:
3393 Reformatted.
3394
3395 2003-03-24 Michael Koch <konqueror@gmx.de>
3396
3397 * java/rmi/activation/ActivationInstantiator.java:
3398 Reformatted.
3399 * java/rmi/activation/Activator.java:
3400 Reformatted.
3401 * java/rmi/registry/RegistryHandler.java:
3402 Remerged from classpath.
3403
3404 2003-03-24 Michael Koch <konqueror@gmx.de>
3405
3406 * java/util/Date.java:
3407 Fixed documentation starting tag to make javadoc happy.
3408 * java/util/regex/Pattern.java
3409 (Pattern): Implements Serializable.
3410 * java/util/PatternSyntaxException.java
3411 (serialVersionUID): New member variable.
3412
3413 2003-03-24 Michael Koch <koqnueror@gmx.de>
3414
3415 * java/awt/ContainerOrderFocusTraversalPolicy.java
3416 (getFirstComponent): Implemented.
3417 (getLastComponent): Implemented.
3418 (getDefaultComponent): Implemented.
3419 (setImplicitDownCycleTraversal): Fixed implementation.
3420 * java/awt/Robot.java
3421 (Robot): Added documentation.
3422 * java/awt/Toolkit.java
3423 (getFontList): Deprecated.
3424 (getFontMetrics): Deprecated.
3425 (getPrintJob): Added documentation.
3426 (getSystemSelection): Added documentation.
3427 (getLockingKeyState): Added documentation.
3428 (setLockingKeyState): Added documentation.
3429 (createCustomCursor): Added documentation.
3430 (getBestCursorSize): Added documentation.
3431 (getMaximumCursorColors): Added documentation.
3432 (isFrameStateSupported): Added documentation.
3433
3434 2003-03-24 Michael Koch <konqueror@gmx.de>
3435
3436 * java/io/RandomAccessFile.java:
3437 More little merges with classpath. No code changes.
3438
3439 2003-03-24 Michael Koch <konqueror@gmx.de>
3440
3441 * java/net/natInetAddressNoNet.cc:
3442 Include stddef.h.
3443 * java/net/natPlainDatagramSocketImplNoNet.cc:
3444 Fixed inlcude of java/net/DatagramPacket.h.
3445 * java/net/natPlainSocketImplNoNet.cc:
3446 Include some missing classes.
3447
3448 2003-03-24 Michael Koch <konqueror@gmx.de>
3449
3450 * java/awt/dnd/DropTarget.java
3451 (DropTargetAutoScroller): According to the online documentation, this
3452 is protected, but in reality it is public.
3453 * java/awt/dnd/DropTargetContext.java
3454 (TransferableProxy): According to the online documentation, this
3455 is protected, but in reality it is public.
3456
3457 2003-03-24 Michael Koch <konqueror@gmx.de>
3458
3459 * java/io/DataInputStream.java
3460 (): Wrapped documentation line.
3461 (): Fixed @return tag.
3462 * java/io/DataOutputStream.java
3463 (written): Moved to top of class.
3464 (all methods): Merged documentation from classpath.
3465 * java/io/File.java:
3466 Merged copyright year with classpath.
3467 * java/io/FileInputStream.java
3468 (all methods): Merged documentation from classpath.
3469 * java/io/LineNumberReader.java
3470 (getLineNumber): Fixed @return tag.
3471 * java/io/ObjectInputStream.java.
3472 Reformatted.
3473 * java/io/ObjectOutputStream.java:
3474 Reformatted, fixed some @see tags.
3475 * java/io/OutputStreamWriter.java:
3476 Deleted empty line.
3477 * java/io/Writer.java:
3478 Reformatted.
3479
3480 2003-03-24 Michael Koch <konqueror@gmx.de>
3481
3482 * java/awt/Frame.java
3483 (DEFAULT_CURSOR): Fixed @deprecated tag.
3484 (setCursor): Fixed @deprecated tag.
3485
3486 2003-03-24 Michael Koch <konqueror@gmx.de>
3487
3488 * java/beans/beancontext/BeanContextEvent.java:
3489 Reformated.
3490
3491 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3492
3493 * java/lang/natStringBuffer.cc (regionMatches): New function.
3494 * java/lang/String.java (count): Now package-private.
3495 * java/lang/StringBuffer.java: Merged with Classpath.
3496
3497 2003-03-23 Michael Koch <konqueror@gmx.de>
3498
3499 * java/io/BufferedOutputStream.java:
3500 Reformated.
3501 * java/io/BufferedReader.java:
3502 Reformated.
3503 * java/io/ByteArrayOutputStream.java
3504 (size): Fixed @see tag.
3505 * java/io/CharArrayWriter.java
3506 (size): Fixed @see tag.
3507 * java/io/DataInput.java:
3508 Reformated.
3509 * java/io/DataOutput.java:
3510 Reformated.
3511 * java/io/DataOutputStream.java:
3512 Merged copyright years with classpath.
3513 * java/io/Externalizable.java:
3514 Reformated.
3515 * java/io/FileFilter.java:
3516 Reformated.
3517 * java/io/FileInputStream.java:
3518 Merged copyright years with classpath.
3519 * java/io/FileOutputStream.java:
3520 Merged copyright years with classpath.
3521 * java/io/FilePermission.java
3522 (FilePermission): Replaced @XXX with FIXME:.
3523 * java/io/FileWriter.java:
3524 Reformated.
3525 * java/io/FilenameFilter.java:
3526 Reformated.
3527 * java/io/FilterInputStream.java:
3528 Reformated.
3529 * java/io/FilterOutputStream.java:
3530 Reformated.
3531 * java/io/FilterReader.java:
3532 Reformated.
3533 * java/io/FilterWriter.java:
3534 Reformated.
3535 * java/io/LineNumberInputStream.java
3536 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3537 happy.
3538 (getLineNumber): Fixed @return tag.
3539 * java/io/ObjectInput.java:
3540 Reformated.
3541 * java/io/ObjectOutput.java:
3542 Reformated.
3543 * java/io/ObjectStreamClass.java:
3544 Reformated.
3545 * java/io/PrintStream.java:
3546 Merged copyright years with classpath.
3547 * java/io/PushbackReader.java
3548 (PushbackReader): Replaced @code with @param.
3549 * java/io/SerializablePermission.java:
3550 Reformated.
3551 * java/io/StreamTokenizer.java
3552 (resetSyntax): Fixed @see tag.
3553
3554 2003-03-22 Richard Henderson <rth@redhat.com>
3555
3556 * sysdep/ia64/locks.h: Include ia64intrin.h.
3557 (compare_and_swap): Use __sync_bool_compare_and_swap.
3558 (compare_and_swap_release): Expose ar.ccv assignment.
3559
3560 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3561
3562 * include/posix.h: Add suffix for darwin dynamic libraries.
3563
3564 2003-03-21 Michael Koch <konqueror@gmx.de>
3565
3566 * javax/swing/Action.java
3567 (ACCELERATOR_KEY): New constant.
3568 (ACTION_COMMAND_KEY): Likewise.
3569 (MNEMONIC_KEY): Likewise.
3570 * javax/swing/UnsupportedLookAndFeelException.java
3571 (UnsupportedLookAndFeelException): Must be public.
3572 * javax/swing/WindowConstants.java
3573 (EXIT_ON_CLOSE): New constant.
3574 * javax/swing/text/BadLocationException.java
3575 (offset): New member variable.
3576 (BadLocationException): New implementation, documentation added.
3577 (offsetRequested): New method.
3578 * javax/swing/text/Caret.java:
3579 Reformated.
3580 * javax/swing/text/Document.java:
3581 Reformated.
3582
3583 2003-03-21 Michael Koch <konqueror@gmx.de>
3584
3585 * java/rmi/activation/Activatable.java
3586 (serialVersionUID): New member variable.
3587 * java/rmi/activation/ActivationGroup.java
3588 (serialVersionUID): New member variable.
3589 * java/rmi/activation/ActivationGroupDesc.java
3590 (serialVersionUID): New member variable.
3591 * java/rmi/registry/Registry.java:
3592 Reformated.
3593 (Registry): Deprecated.
3594 * java/rmi/server/LoaderHandler.java
3595 Reformated.
3596 (LoaderHandler): Deprecated.
3597 * java/rmi/server/LogStream.java
3598 Reformated.
3599 (LogStream): Deprecated.
3600 * java/rmi/server/Operation.java
3601 (Operation): Deprecated.
3602 * java/rmi/server/RMIFailureHandler.java:
3603 Reformated.
3604 * java/rmi/server/RMISocketFactory.java:
3605 Reformated.
3606 * java/rmi/server/RemoteCall.java
3607 (RemoteCall): Deprecated.
3608 * java/rmi/server/RemoteStub.java:
3609 Reformated.
3610 * java/rmi/server/Skeleton.java
3611 Reformated.
3612 (Skeleton): Deprecated.
3613
3614 2003-03-21 Michael Koch <konqueror@gmx.de>
3615
3616 * java/io/LineNumberReader.java
3617 (LineNumberReader): Merged documentation with classpath.
3618 (getLineNumber): Likewise.
3619 (setLineNumber): Likewise.
3620 (mark): Likewise.
3621 (reset): Likewise.
3622 (read): Likewise.
3623 (readLine): Likewise.
3624 (skip): Likewise.
3625
3626 2003-03-21 Michael Koch <konqueror@gmx.de>
3627
3628 * java/rmi/RMISecurityManager.java
3629 (checkAccept): Removed.
3630 (checkAccess): Likewise.
3631 (checkAccess): Likewise.
3632 (checkAwtEventQueueAccess): Likewise.
3633 (checkConnect): Likewise.
3634 (checkCreateClassLoader): Likewise.
3635 (checkDelete): Likewise.
3636 (checkExec): Likewise.
3637 (checkExit): Likewise.
3638 (checkLink): Likewise.
3639 (checkListen): Likewise.
3640 (checkMemberAccess): Likewise.
3641 (checkMulticast): Likewise.
3642 (checkPackageAccess): Likewise.
3643 (checkPackageDefinition): Likewise.
3644 (checkPermission): Likewise.
3645 (checkPrintJobAccess): Likewise.
3646 (checkPropertiesAccess): Likewise.
3647 (checkPropertyAccess): Likewise.
3648 (checkRead): Likewise.
3649 (checkSecurityAccess): Likewise.
3650 (checkSetFactory): Likewise.
3651 (checkSystemClipboardAccess): Likewise.
3652 (checkTopLevelWindow): Likewise.
3653 (checkWrite): Likewise.
3654
3655 2003-03-20 Michael Koch <konqueror@gmx.de>
3656
3657 * gnu/java/nio/FileChannelImpl.java
3658 (address): Removed.
3659 (map_address): New member variable.
3660 (length): Make it package private.
3661 (fd): Make it package private.
3662 (buf): Make it package private.
3663 (file_obj): Make it package private.
3664 (FileChannelImpl): New constructor.
3665 (nio_mmap_file): Use RawData instead of long.
3666 (nio_munmap_file): Use RawData instead of long.
3667 (nio_msync): Use RawData instead of long.
3668 (implCloseChannel): New implementation using map_address.
3669 (read): Reformated.
3670 (map): Implemented.
3671 (create_direct_mapped_buffer): Implemented, use RawData, throws
3672 IOException.
3673 (force): Use map_address instead of address.
3674 * gnu/java/nio/MappedByteFileBuffer.java
3675 (address): Removed.
3676 (map_address): New member variable.
3677 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3678 (several methods): Use map_address instead of address, replaced long
3679 with RawData where appropriate.
3680 * gnu/java/nio/natFileChannelImpl.cc
3681 (nio_mmap_file): Replaced long with RawData.
3682 (nio_munmap_file): Replaced long with RawData.
3683 (nio_msync): Replaced long with RawData.
3684 * gnu/java/nio/natMappedByteFileBuffer.cc
3685 (several methods): Replaced long with RawData where appropriate.
3686
3687 2003-03-20 Michael Koch <konqueror@gmx.de>
3688
3689 * java/net/InetAddress.java,
3690 java/net/JarURLConnection.java,
3691 java/net/PlainDatagramSocketImpl.java,
3692 java/net/PlainSocketImpl.java,
3693 java/net/URLConnection.java:
3694 Merged copyright statements with classpath for easier merging.
3695
3696 2003-03-20 Michael Koch <konqueror@gmx.de>
3697
3698 * java/io/FileInputStream.java
3699 (getChannel): New implementation.
3700 * java/io/FileOutputStream.java
3701 (ch): New member variable.
3702 (getChannel): Implemented.
3703 * java/io/RandomAccessFile.java
3704 (RandomAccessFile): Throws FileNotFoundException instead of
3705 IOException.
3706 (getChannel): New method.
3707 (ch): New member variable.
3708
3709 2003-03-20 Michael Koch <konqueror@gmx.de>
3710
3711 * java/io/DataOutputStream.java,
3712 java/io/File.java,
3713 java/io/FileInputStream.java,
3714 java/io/FileOutputStream.java,
3715 java/io/InputStreamReader.java,
3716 java/io/LineNumberReader.java,
3717 java/io/OutputStreamWriter.java,
3718 java/io/PrintStream.java,
3719 java/io/RandomAccessFile.java:
3720 Merged copyright statements with classpath for easier merging.
3721
3722 2003-03-19 Michael Koch <konqueror@gmx.de>
3723
3724 * java/lang/Process.java:
3725 Merged from classpath.
3726
3727 2003-03-19 Michael Koch <konqueror@gmx.de>
3728
3729 * java/io/FileOutputStream.java
3730 (FileOutputStream): New constructor, merged from classpath.
3731 * java/io/FileWriter.java
3732 (FileWriter): New constructor, merged from classpath.
3733
3734 2003-03-18 Michael Koch <konqueror@gmx.de>
3735
3736 * java/awt/ScrollPane.java
3737 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3738 (getViewportSize): Likewise.
3739 (addNotify): Likewise.
3740 (removeNotify): Likewise.
3741 * java/awt/ScrollPaneAdjustable.java
3742 (ScrollPaneAdjustable): No longer extends Scrollbar.
3743 * java/beans/beancontext/BeanContextServices.java:
3744 Reformated.
3745 (getService): Added throws TooManyListenersException;
3746 * java/beans/beancontext/BeanContextServicesSupport.java:
3747 Reformated.
3748
3749 2003-03-18 Michael Koch <konqueror@gmx.de>
3750
3751 * java/io/BufferedOutputStream.java,
3752 java/io/DataInput.java,
3753 java/io/DataInputStream.java,
3754 java/io/DataOutput.java,
3755 java/io/Externalizable.java:
3756 More merges from classpath.
3757
3758 2003-03-18 Michael Koch <konqueror@gmx.de>
3759
3760 * configure.in: Fixed links to platform dependant java.net files.
3761 * configure: Regenerated.
3762 * java/net/natInetAddress.cc,
3763 java/net/natNetworkInterface.cc,
3764 java/net/natPlainDatagramSocketImpl.cc,
3765 java/net/natPlainSocketImpl.cc:
3766 Removed.
3767
3768 2003-03-18 Michael Koch <konqueror@gmx.de>
3769
3770 * configure.in: Create links to architecture dependent files,
3771 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3772 * configure: Regenerated.
3773 * java/net/natInetAddressNoNet.cc,
3774 java/net/natInetAddressPosix.cc,
3775 java/net/natInetAddressWin32.cc,
3776 java/net/natNetworkInterfaceNoNet.cc,
3777 java/net/natNetworkInterfacePosix.cc,
3778 java/net/natNetworkInterfaceWin32.cc,
3779 java/net/natPlainDatagramSocketImplNoNet.cc,
3780 java/net/natPlainDatagramSocketImplPosix.cc,
3781 java/net/natPlainDatagramSocketImplWin32.cc,
3782 java/net/natPlainSocketImplNoNet.cc,
3783 java/net/natPlainSocketImplPosix.cc,
3784 java/net/natPlainSocketImplWin32.cc: New files.
3785
3786 2003-03-18 Michael Koch <konqueror@gmx.de>
3787
3788 * java/io/BufferedReader.java,
3789 java/io/BufferedWriter.java,
3790 java/io/ByteArrayOutputStream.java,
3791 java/io/FileFilter.java,
3792 java/io/FilePermission.java,
3793 java/io/FileReader.java,
3794 java/io/FileWriter.java,
3795 java/io/FilenameFilter.java,
3796 java/io/FilterInputStream.java,
3797 java/io/FilterOutputStream.java,
3798 java/io/FilterReader.java,
3799 java/io/FilterWriter.java,
3800 java/io/ObjectInput.java,
3801 java/io/ObjectInputValidation.java,
3802 java/io/ObjectOutput.java,
3803 java/io/ObjectStreamField.java,
3804 java/io/PipedInputStream.java,
3805 java/io/PipedReader.java,
3806 java/io/PrintWriter.java,
3807 java/io/PushbackReader.java,
3808 java/io/Reader.java,
3809 java/io/SerializablePermission.java,
3810 java/io/StringReader.java,
3811 java/io/Writer.java:
3812 Merged from classpath.
3813
3814 2003-03-17 Michael Koch <konqueror@gmx.de>
3815
3816 * java/awt/ScrollPaneAdjustable.java:
3817 Compile fixes.
3818
3819 2003-03-17 Michael Koch <konqueror@gmx.de>
3820
3821 * java/net/DatagramSocket.java
3822 (connect): Fixed comment.
3823 * java/nio/ByteBuffer.java
3824 (hasArray): Fixed comment.
3825
3826 2003-03-17 Michael Koch <konqueror@gmx.de>
3827
3828 * java/beans/Beans.java:
3829 Explicitely import classes not packages.
3830 * java/beans/FeatureDescriptor.java
3831 (preferred): New member variable.
3832 (isPreferred): New method.
3833 (setPreferred): New method.
3834 * java/beans/PropertyEditorManager.java:
3835 Explicitely import used classes.
3836 * java/beans/beancontext/BeanContextChild.java:
3837 Added line wrapping.
3838 * java/beans/beancontext/BeanContextChildSupport.java:
3839 Reindented.
3840 * java/beans/beancontext/BeanContextEvent.java:
3841 Reindented.
3842
3843 2003-03-17 Michael Koch <konqueror@gmx.de>
3844
3845 * java/awt/Dialog.java
3846 (Dialog): New constructor, changed implementations, added
3847 documentation.
3848 * java/awt/ScrollPaneAdjustable.java
3849 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3850 Serializable.
3851 (serialVersionUID): New member variable.
3852 (sp): New member variable.
3853 (orientation): New member variable.
3854 (value): New member variable.
3855 (minimum): New member variable.
3856 (maximum): New member variable.
3857 (visibleAmount): New member variable.
3858 (unitIncrement): New member variable.
3859 (blockIncrement): New member variable.
3860 (AdjustmentListener): New member variable.
3861 (ScrollPaneAdjustable): New implementation.
3862 (addAdjustmentListener): New method.
3863 (removeAdjustmentListener): New method.
3864 (getAdjustmentListeners): New method.
3865 (getBlockIncrement): New method.
3866 (getMaximum): New method.
3867 (getMinimum): New method.
3868 (getOrientation): New method.
3869 (getUnitIncrement): New method.
3870 (getValue): New method.
3871 (getVisibleAmount): New method.
3872 (setBlockIncrement): New method.
3873 (setMaximum): Implemented.
3874 (setMinimum): Implemented.
3875 (setUnitIncrement): New method.
3876 (setValue): New method.
3877 (setVisibleAmount): Implemented.
3878 (paramString): New stubbed method.
3879 * java/awt/Window.java
3880 (show): Call setVisible().
3881 (hide): Call setVisible().
3882 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3883 and WINDOW_STATE_CHANGED.
3884 (processWindowFocusEvent): New method.
3885 (processWindowStateEvent): New method.
3886 (postEvent): Deprecated.
3887 (applyResourceBundle): Deprecated.
3888 * java/awt/datatransfer/DataFlavor.java
3889 (DataFlavor): Doesn't thow ClassNotFoundException.
3890
3891 2003-03-17 Michael Koch
3892
3893 * javax/print/attribute/Attribute.java,
3894 javax/print/attribute/AttributeSet.java,
3895 javax/print/attribute/PrintRequestAttributeSet.java:
3896 New files.
3897 * Makefile.am
3898 (javax_source_files): Added new files:
3899 javax/print/attribute/Attribute.java
3900 javax/print/attribute/AttributeSet.java
3901 javax/print/attribute/PrintRequestAttributeSet.java
3902 * Makefile.in: Regenerated.
3903
3904 2003-03-17 Michael Koch
3905
3906 * javax/print/attribute/Attribute.java,
3907 javax/print/attribute/AttributeSet.java,
3908 javax/print/attribute/PrintRequestAttributeSet.java:
3909 New files.
3910 * Makefile.am
3911 (awt_java_source_files): Added new files:
3912 javax/print/attribute/Attribute.java
3913 javax/print/attribute/AttributeSet.java
3914 javax/print/attribute/PrintRequestAttributeSet.java
3915 * Makefile.in: Regenerated.
3916
3917 2003-03-16 Tom Tromey <tromey@redhat.com>
3918
3919 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3920 Include platform.h.
3921 * java/lang/natRuntime.cc (insertSystemProperties): Use
3922 _Jv_platform_path_separator.
3923 (nativeGetLibname): Use _Jv_platform_file_separator.
3924 (_load): Use _Jv_platform_onload_names.
3925 (onload_names): New global.
3926 * include/win32.h (_Jv_platform_file_separator): New define.
3927 (_Jv_platform_path_separator): Likewise.
3928 (_Jv_platform_onload_names): Likewise.
3929 (_Jv_platform_ffi_abi): Likewise.
3930 * include/posix.h (_Jv_platform_file_separator): New define.
3931 (_Jv_platform_path_separator): Likewise.
3932 (_Jv_platform_onload_names): Likewise.
3933 (_Jv_platform_ffi_abi): Likewise.
3934
3935 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3936
3937 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3938
3939 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3940
3941 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3942 hierarchy loop.
3943 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3944 list to Object,ObjectStreamClass, moved callReadMethod code up into
3945 readObject and added Class argument to all setXxxField calls.
3946 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3947 consistent with ObjectOutputStream and to facilitate caching the
3948 Method in the future.
3949 (setBooleanField): Added Class argument.
3950 (setByteField): Likewise.
3951 (setCharField): Likewise.
3952 (setDoubleField): Likewise.
3953 (setFloatField): Likewise.
3954 (setIntField): Likewise.
3955 (setLongField): Likewise.
3956 (setShortField): Likewise.
3957 (setObjectField): Likewise.
3958 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3959 class hierarchy loop.
3960 (defaultWriteObject): Call writeFields with new argument list.
3961 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3962 list to Object,ObjectStreamClass, moved callWriteMethod up into
3963 writeObject and added Class argument to all getXxxField calls.
3964 (callWriteMethod): Added ObjectStreamClass argument to be able to
3965 get the proper class to call getMethod on (each class can have (or
3966 not have) its own writeObject method).
3967 (getBooleanField): Added Class argument.
3968 (getByteField): Likewise.
3969 (getCharField): Likewise.
3970 (getDoubleField): Likewise.
3971 (getFloatField): Likewise.
3972 (getIntField): Likewise.
3973 (getLongField): Likewise.
3974 (getShortField): Likewise.
3975 (getObjectField): Likewise.
3976 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3977 facilitate caching the Method object in the future.
3978
3979 2003-03-12 Andreas Schwab <schwab@suse.de>
3980
3981 * configure.in: Avoid trailing /. in toolexeclibdir.
3982 * configure: Rebuilt.
3983
3984 2003-03-11 Michael Koch <konqueror@gmx.de>
3985
3986 * gnu/java/nio/ByteBufferImpl.java
3987 (putInt): Use limit() instead of limit.
3988 * gnu/java/nio/CharBufferImpl.java
3989 (slice): Fixed implementation.
3990 (subSequence): Better bounds checking.
3991 * gnu/java/nio/MappedByteFileBuffer.java:
3992 Import all needed classes directly.
3993 * java/nio/ByteBuffer.java
3994 (hashCode): New dummy method.
3995 * java/nio/CharBuffer.java
3996 (array_offset): New member variable.
3997 (hasArray): Fixed documentation.
3998 (arrayOffset): Return array_offset.
3999
4000 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4001
4002 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4003 setter; made return value of getter const char* instead of char*
4004 * prims.cc: removed all references to _Jv_ThisExecutable().
4005 These are in the platform-specific sections now.
4006 * posix.cc: define platform-specific _Jv_ThisExecutable().
4007 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4008 * win32.cc: define platform-specific _Jv_ThisExecutable()
4009 using GetModuleFilename()
4010 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4011 to argv[0] instead of _Jv_ThisExecutable()
4012
4013 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4014
4015 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4016 that is set if we are using addr2name.awk instead of addr2line.
4017 (NameFinder): Set usingAddr2name if using addr2name.awk.
4018 (getExternalLabel): New native method to convert a method
4019 name to an external label.
4020 (lookup): Convert name given by addr2line to an external label
4021 before demangling.
4022
4023 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4024 constant representing the prefix attached to method names to
4025 convert them to an external label.
4026 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4027 using LABEL_PREFIX.
4028
4029 2003-03-10 Tom Tromey <tromey@redhat.com>
4030
4031 * Makefile.in: Rebuilt.
4032 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4033 (JC1FLAGS): Removed -Wno-deprecated.
4034
4035 2003-03-10 Michael Koch <konqueror@gmx.de>
4036
4037 * java/nio/ByteOrder.java
4038 (nativeOrder): Working implementation, added documentation.
4039 (toString): Added documentation.
4040
4041 2003-03-10 Michael Koch <konqueror@gmx.de>
4042
4043 * java/net/DatagramSocket.java,
4044 java/net/MulticastSocket.java,
4045 java/net/Socket.java,
4046 java/net/URL.java,
4047 java/net/URLConnection.java:
4048 Fixed some documentation tags to make javadoc and friends happy.
4049
4050 2003-03-10 Michael Koch <koqnueror@gmx.de>
4051
4052 * java/beans/beancontext/BeanContextServicesSupport.java,
4053 java/beans/beancontext/BeanContextSupport.java: New files.
4054 * Makefile.am
4055 (awt_source_files): Added new files.
4056 * Makefile.in: Regenerated.
4057
4058 2003-03-10 Michael Koch <konqueror@gmx.de>
4059
4060 * java/awt/FocusTraversalPolicy.java
4061 (FocusTraversalPolicy): Documentation added.
4062 (getComponentAfter): Documentation added.
4063 (getComponentBefore): Documentation added.
4064 (getFirstComponent): Documentation added.
4065 (getLastComponent): Documentation added.
4066 (getDefaultComponent): Documentation added.
4067 (getInitialComponent): Documentation added.
4068 * java/awt/ScrollPaneAdjustable.java
4069 (sp): New member variable.
4070 (orientation): New member variable.
4071 (value): New member variable.
4072 (minimum): New member variable.
4073 (maximum): New member variable.
4074 (visibleAmount): New member variable.
4075 (unitIncrement): New member variable.
4076 (blockIncrement): New member variable.
4077 (adjustmentListener): New member variable.
4078 (ScrollPaneAdjustable): Rewrote.
4079 (addAdjustmentListener): New method.
4080 (removeAdjustmentListener): New method.
4081 (getAdjustmentListeners): New method.
4082 (getBlockIncrement): New method.
4083 (getMaximum): New method.
4084 (getMinimum): New method.
4085 (getOrientation): New method.
4086 (getUnitIncrement): New method.
4087 (getValue): New method.
4088 (getVisibleAmount): New method.
4089 (setBlockIncrement): New method.
4090 (setUnitIncrement): New method.
4091 (setMaximum): Implemented.
4092 (setMinimum): Implemented.
4093 (setValue): New method.
4094 (setVisibleAmount): Implemented.
4095 (paramString): New method.
4096 * java/awt/Window.java
4097 (show): Use setVisible(true) instead of super.show().
4098 (hide): Use sevVisible(false) instead of super.hide().
4099 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4100 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4101 (postEvent): Deprecated.
4102 (applyResourceBundle): Deprecated.
4103 (processWindowFocusEvent): New method.
4104 (processWindowStateEvent): New method.
4105 * java/awt/datatransfer/DataFlavor.java: Reindented.
4106 * java/awt/font/TextHitInfo.java
4107 (charIndex): New member variable.
4108 (leadingEdge): New member variable.
4109 (TextHitInfo): New constructor.
4110 (getCharIndex): Implemented.
4111 (isLeadingEdge): Implemented.
4112 (getInsertionIndex): Implemented.
4113 (hashCode): Access charIndex directly.
4114 (equals): Reformated.
4115 (leading): Implemented.
4116 (trailing): Implemented.
4117 (beforeOffset): Implemented.
4118 (afterOffset): Implemented.
4119 (getOtherHit): Implemented.
4120 (getOffsetHit): Implemented.
4121 (toString): Implemented.
4122 * java/awt/image/BufferedImage.java
4123 (BufferedImage): Implements WritableRenderedImage.
4124 (observers): New member variable.
4125 (addTileObserver): New method.
4126 (removeTileObserver): New method.
4127
4128 2003-03-09 Tom Tromey <tromey@redhat.com>
4129
4130 PR libgcj/9934:
4131 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4132 to lseek. Return 0 if we can't compute the value.
4133
4134 2003-03-03 Michael Koch <konqueror@gmx.de>
4135
4136 * java/net/NetworkInterface.java: Merged with classpath.
4137
4138 2003-03-03 Tom Tromey <tromey@redhat.com>
4139
4140 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4141 of bytecode.
4142 (handle_ret_insn): Fail if returning to jsr that appears at end of
4143 bytecode.
4144
4145 2003-03-03 Michael Koch <konqueror@gmx.de>
4146
4147 * Makefile.am
4148 (ordinary_java_source_files):
4149 Added gnu/java/nio/MappedByteFileBuffer.java.
4150 (nat_source_files):
4151 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4152 * Makefile.in: Regenerated.
4153
4154 2003-03-03 Michael Koch <konqueror@gmx.de>
4155
4156 * java/net/DatagramSocket.java
4157 (connect): Merged comment from classpath.
4158 (receive): Merged documentation from classpath.
4159 * java/net/Socket.java
4160 (setSoTimeout): Clarified documentation.
4161 * java/net/URL.java
4162 (getPath): Merged from classpath.
4163 (getUserInfo): Merged from classpath.
4164 (getQuery): Merged from classpath.
4165 * java/net/URLStreamHandler.java
4166 (toExternalForm): Merged from classpath.
4167
4168 2003-03-02 Mark Wielaard <mark@klomp.org>
4169
4170 * java/util/Properties.java (load): Only skip line if the first
4171 character is a comment, whitespaces don't count.
4172
4173 2003-03-02 Michael Koch <konqueror@gmx.de>
4174
4175 * java/net/NetPermission.java:
4176 Merged copyright with classpath.
4177
4178 2003-03-02 Michael Koch <konqueror@gmx.de>
4179
4180 * java/lang/Package.java:
4181 Remerged from classpath.
4182
4183 2003-03-02 Michael Koch <konqueror@gmx.de>
4184
4185 * java/net/HttpURLConnection.java
4186 (HTTP_SERVER_ERROR): Deprecated.
4187 * java/net/MulticastSocket.java
4188 (send): Replaced checkMulticast with appropriate checkPermission call,
4189 deprecated.
4190 * java/net/URLDecoder.java
4191 (decode): Deprecated.
4192 * java/net/URLEncoder.java
4193 (encode): Deprecated.
4194
4195 2003-03-02 Michael Koch <konqueror@gmx.de>
4196
4197 * javax/swing/text/Caret.java
4198 (getMagicCaretPosition): Fixed typo in method name.
4199 * javax/swing/text/DefaultCaret.java
4200 (getMagicCaretPosition): Fixed typo in method name.
4201
4202 2003-03-02 Michael Koch <konqueror@gmx.de>
4203
4204 * java/awt/List.java
4205 (setMultipleSelections): Deprecated.
4206 (delItem): Deprecated.
4207 * java/awt/MenuComponent.java
4208 (getPeer): Deprecated.
4209 * java/awt/ScrollPane.java
4210 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4211 * java/awt/dnd/MouseDragGestureRecognizer.java
4212 (mouseClicked): Added comment.
4213 (mousePressed): Added comment.
4214 (mouseReleased): Added comment.
4215 (mouseEntered): Added comment.
4216 (mouseExited): Added comment.
4217 (mouseDragged): Added comment.
4218 (mouseMoved): Added comment.
4219 * java/awt/event/KeyEvent.java
4220 (KeyEvent): Deprecated.
4221 (setModifiers): Deprecated.
4222
4223 2003-03-02 Michael Koch <konqueror@gmx.de>
4224
4225 * gnu/java/nio/FileChannelImpl.java
4226 (fd): Type FileDescriptor instead of int.
4227 (lengthInternal): Removed.
4228 (FileChannelImpl): Fixed arguments, check type of file object.
4229 (size): Made it native.
4230 (implPosition): New native method.
4231 (implTruncate): New native method.
4232 (position): Implemented.
4233 (truncate): Implemented.
4234 (nio_mmap_file): Changed arguments.
4235 (nio_munmap_file): Changed arguments.
4236 (nio_msync): Changed arguments.
4237 * gnu/java/nio/natFileChannelImpl.cc
4238 (lengthInternal): Removed.
4239 (size): New method.
4240 (implPosition): New method.
4241 (implTruncate): New method.
4242 (nio_mmap_file): Changed arguments.
4243 (nio_munmap_file): Changed arguments.
4244 (nio_msync): Changed arguments.
4245
4246 2003-03-02 Michael Koch <konqueror@gmx.de>
4247
4248 * java/awt/dnd/DropTargetContext.java:
4249 Compile fix: Forgot to commit import.
4250
4251 2003-03-02 Michael Koch <konqueror@gmx.de>
4252
4253 * java/awt/Component.java,
4254 java/awt/ScrollPane.java:
4255 Fixed typos.
4256
4257 2003-03-02 Michael Koch <konqueror@gmx.de>
4258
4259 * java/awt/dnd/DnDEventMulticaster.java: New file.
4260 * java/awt/dnd/DragSource.java
4261 (flavorMap): New member variable.
4262 (dragSourceListener): New member variable.
4263 (dragSourceMotionListener): New member variable.
4264 (getFlavorMap): Implemented.
4265 (createDragGestureRecognizer): Implemented.
4266 (addDragSourceListener): Implemented.
4267 (removeDragSourceListener): Implemented.
4268 (getDragSourceListeners): Implemented.
4269 (addDragSourceMotionListener): Implemented.
4270 (removeDragSourceMotionListener): Implemented.
4271 (getDragSourceMotionListeners): Implemented.
4272 (getListeners): Implemented.
4273 * java/awt/dnd/DragSourceContext.java
4274 (peer): New member variable.
4275 (cursor): New member variable.
4276 (transferable): New member variable.
4277 (trigger): New member variable.
4278 (dragSourceListener): New member variable.
4279 (image): New member variable.
4280 (offset): New member variable.
4281 (DragSourceContext): Implemented.
4282 (getDragSource): Implemented.
4283 (getComponent): Implemented.
4284 (getTrigger): Implemented.
4285 (getSourceActions): Implemented.
4286 (setCursor): Implemented.
4287 (getCursor): Implemented.
4288 (addDragSourceListener): Implemented.
4289 (removeDragSourceListener): Implemented.
4290 (getTransferable): Implemented.
4291 * java/awt/dnd/DropTarget.java
4292 (DropTargetAutoScroller.component): New member variable.
4293 (DropTargetAutoScroller.point): New member variable.
4294 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4295 (DropTargetAutoScroller.updateLocation): Implemented.
4296 (active): Renamed from isActive, defaults to true now.
4297 (component): New member variable.
4298 (flavorMap): New member variable.
4299 (actions): New member variable.
4300 (dropTargetContext): New member variable.
4301 (dropTargetListener): New member variable.
4302 (DropTarget): Implemented.
4303 (getComponent): Implemented.
4304 (setComponent): Implemented.
4305 (setDefaultActions): Implemented.
4306 (getDefaultActions): Implemented.
4307 (setActive): Use active instead of isActive.
4308 (isActive): Use active instead of isActive.
4309 (addDropTargetListener): Implemented.
4310 (removeDropTargetListener): Implemented.
4311 (getFlavorMap): Implemented.
4312 (setFlavorMap): Implemented.
4313 (getDropTargetContext): Implemented.
4314 (createDropTargetContext): Implemented.
4315 (createDropTargetAutoScroller): Implemented.
4316 * java/awt/dnd/DropTargetContext.java
4317 (TransferableProxy.getTransferDataFlavors): Implemented.
4318 (TransferableProxy.isDataFlavorSupported): Implemented.
4319 (TransferableProxy.getTransferData): Implemented.
4320 (dropTarget): New member variable.
4321 (dtcp): New member variable.
4322 (DropTargetContext): New package private constructor.
4323 (getDropTarget): Implemented.
4324 (getComponent): Implemented.
4325 (addNotify): Implemented.
4326 (removeNotify): Implemented.
4327 (getCurrentDataFlavorsAsList): Implemented.
4328 (isDataFlavorSupported): Implemented.
4329 * java/awt/dnd/MouseDragGestureRecognizer.java
4330 (registerListeners): Implemented.
4331 (unregisterListeners): Implemented.
4332 * Makefile.am
4333 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4334 * Makefile.in: Regenerated.
4335
4336 2003-03-02 Michael Koch <konqueror@gmx.de>
4337
4338 * java/awt/Component.java
4339 (eventTypeEnabled): New method.
4340 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4341 * java/awt/Container.java
4342 (changeSupport): New member variable.
4343 (addPropertyChangeListener): New methods.
4344 * java/awt/ContainerOrderFocusTraversalPolicy.java
4345 (ContainerOrderFocusTraversalPolicy): Added comment.
4346 (getComponentAfter): Throw exception, documentation added.
4347 (getComponentBefore): Throw exception, documentation added.
4348 (getFirstComponent): Throw exception, documentation added.
4349 (getLastComponent): Throw exception, documentation added.
4350 (getDefaultComponent): Throw exception, documentation added.
4351 * java/awt/EventQueue.java: Reindented.
4352 * java/awt/FocusTraversalPolicy.java:
4353 (FocusTraversalPolicy): Added comment.
4354 (getComponentAfter): Documentation added.
4355 (getComponentBefore): Documentation added.
4356 (getFirstComponent): Documentation added.
4357 (getLastComponent): Documentation added.
4358 (getDefaultComponent): Documentation added.
4359 (getInitialComponent): Documentation added.
4360 * java/awt/ScrollPane.java
4361 (wheelScrollingEnabled): New member variable.
4362 (ScrollPane): Initialize wheelScollingEnabled.
4363 (eventTypeEnabled): New method.
4364 (isWheelScrollingEnabled): New method.
4365 (setWheelScrollingEnabled): New method.
4366
4367 2003-03-02 Michael Koch <konqueror@gmx.de>
4368
4369 * java/net/DatagramSocket.java
4370 (closed): New member variable.
4371 (close): Use closed variable.
4372 (getInetAddress): No need to call isConnected().
4373 (getPort): No need to call isConnected().
4374 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4375 (isClosed): Reimplemented.
4376
4377 2003-03-02 Michael Koch <konqueror@gmx.de>
4378
4379 * configure.in: Added check for memory mapping of files.
4380 * configure: Regenerated.
4381 * config.h.in: Regenerated.
4382
4383 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4384
4385 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4386 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4387
4388 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4389
4390 * java/io/File.java (normalizePath): Remove trailing separator
4391 on Windows only if path is not of the form "x:\".
4392
4393 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4394 (java::io::File::attr): Change formatting a bit and use
4395 WIN32_EPOCH_MILLIS instead of magic numbers.
4396 (java::io::File::isAbsolute): Path must have at least 3
4397 characters for a UNC network path.
4398 (java::io::File::init_native): Define.
4399 (java::io::File::performCreate): Likewise.
4400 (java::io::File::performSetReadOnly): Likewise.
4401 (java::io::File::performSetLastModified): Likewise.
4402 (java::io::File::performListRoots): Likewise.
4403
4404 2003-03-01 Tom Tromey <tromey@redhat.com>
4405
4406 * java/lang/natObject.cc: Don't include assert.h.
4407 (heavy_lock_obj_finalization_proc): Use JvAssert.
4408 (remove_all_heavy): Likewise.
4409 (_Jv_MonitorEnter): Likewise.
4410 (_Jv_MonitorExit): Likewise.
4411 (wait): Likewise.
4412
4413 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4414
4415 * java/io/File (getAbsolutePath): Prefix drive specifier on
4416 Windows for paths starting with a '\'.
4417 (toURL): Make URL more consistent with what Sun's JDK returns.
4418
4419 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4420 true only if the path is a UNC network path or it starts with a
4421 drive specifier.
4422
4423 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4424 Be prepared to handle either '/' or '\\' in the file path for
4425 Windows if using the "file" protocol.
4426 Canonicalise the file path if using a relative path in the given
4427 context and the "file" protocol.
4428
4429 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4430
4431 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4432 program array element passed to CreateProcess.
4433
4434 2003-03-01 Tom Tromey <tromey@redhat.com>
4435
4436 * java/rmi/registry/RegistryHandler.java: Deprecate.
4437
4438 2003-03-01 Tom Tromey <tromey@redhat.com>
4439
4440 * javax/accessibility/AccessibleEditableText.java,
4441 javax/accessibility/AccessibleHyperlink.java: New versions from
4442 Classpath.
4443
4444 * gnu/java/locale/LocaleInformation_af_ZA.java,
4445 gnu/java/locale/LocaleInformation_ar_AE.java,
4446 gnu/java/locale/LocaleInformation_ar_BH.java,
4447 gnu/java/locale/LocaleInformation_ar_DZ.java,
4448 gnu/java/locale/LocaleInformation_ar_EG.java,
4449 gnu/java/locale/LocaleInformation_ar_IN.java,
4450 gnu/java/locale/LocaleInformation_ar_IQ.java,
4451 gnu/java/locale/LocaleInformation_ar_JO.java,
4452 gnu/java/locale/LocaleInformation_ar_KW.java,
4453 gnu/java/locale/LocaleInformation_ar_LB.java,
4454 gnu/java/locale/LocaleInformation_ar_LY.java,
4455 gnu/java/locale/LocaleInformation_ar_MA.java,
4456 gnu/java/locale/LocaleInformation_ar_OM.java,
4457 gnu/java/locale/LocaleInformation_ar_QA.java,
4458 gnu/java/locale/LocaleInformation_ar_SD.java,
4459 gnu/java/locale/LocaleInformation_ar_SY.java,
4460 gnu/java/locale/LocaleInformation_ar_TN.java,
4461 gnu/java/locale/LocaleInformation_ar_YE.java,
4462 gnu/java/locale/LocaleInformation_be_BY.java,
4463 gnu/java/locale/LocaleInformation_bn_IN.java,
4464 gnu/java/locale/LocaleInformation_br_FR.java,
4465 gnu/java/locale/LocaleInformation_bs_BA.java,
4466 gnu/java/locale/LocaleInformation_ca_ES.java,
4467 gnu/java/locale/LocaleInformation_cs_CZ.java,
4468 gnu/java/locale/LocaleInformation_cy_GB.java,
4469 gnu/java/locale/LocaleInformation_da_DK.java,
4470 gnu/java/locale/LocaleInformation_de_AT.java,
4471 gnu/java/locale/LocaleInformation_de_BE.java,
4472 gnu/java/locale/LocaleInformation_de_CH.java,
4473 gnu/java/locale/LocaleInformation_de_DE.java,
4474 gnu/java/locale/LocaleInformation_de_LU.java,
4475 gnu/java/locale/LocaleInformation_el_GR.java,
4476 gnu/java/locale/LocaleInformation_en_AU.java,
4477 gnu/java/locale/LocaleInformation_en_BW.java,
4478 gnu/java/locale/LocaleInformation_en_CA.java,
4479 gnu/java/locale/LocaleInformation_en_DK.java,
4480 gnu/java/locale/LocaleInformation_en_GB.java,
4481 gnu/java/locale/LocaleInformation_en_HK.java,
4482 gnu/java/locale/LocaleInformation_en_IE.java,
4483 gnu/java/locale/LocaleInformation_en_IN.java,
4484 gnu/java/locale/LocaleInformation_en_NZ.java,
4485 gnu/java/locale/LocaleInformation_en_PH.java,
4486 gnu/java/locale/LocaleInformation_en_SG.java,
4487 gnu/java/locale/LocaleInformation_en_US.java,
4488 gnu/java/locale/LocaleInformation_en_ZA.java,
4489 gnu/java/locale/LocaleInformation_en_ZW.java,
4490 gnu/java/locale/LocaleInformation_es_AR.java,
4491 gnu/java/locale/LocaleInformation_es_BO.java,
4492 gnu/java/locale/LocaleInformation_es_CL.java,
4493 gnu/java/locale/LocaleInformation_es_CO.java,
4494 gnu/java/locale/LocaleInformation_es_CR.java,
4495 gnu/java/locale/LocaleInformation_es_DO.java,
4496 gnu/java/locale/LocaleInformation_es_EC.java,
4497 gnu/java/locale/LocaleInformation_es_ES.java,
4498 gnu/java/locale/LocaleInformation_es_GT.java,
4499 gnu/java/locale/LocaleInformation_es_HN.java,
4500 gnu/java/locale/LocaleInformation_es_MX.java,
4501 gnu/java/locale/LocaleInformation_es_NI.java,
4502 gnu/java/locale/LocaleInformation_es_PA.java,
4503 gnu/java/locale/LocaleInformation_es_PE.java,
4504 gnu/java/locale/LocaleInformation_es_PR.java,
4505 gnu/java/locale/LocaleInformation_es_PY.java,
4506 gnu/java/locale/LocaleInformation_es_SV.java,
4507 gnu/java/locale/LocaleInformation_es_US.java,
4508 gnu/java/locale/LocaleInformation_es_UY.java,
4509 gnu/java/locale/LocaleInformation_es_VE.java,
4510 gnu/java/locale/LocaleInformation_et_EE.java,
4511 gnu/java/locale/LocaleInformation_eu_ES.java,
4512 gnu/java/locale/LocaleInformation_fa_IR.java,
4513 gnu/java/locale/LocaleInformation_fi_FI.java,
4514 gnu/java/locale/LocaleInformation_fo_FO.java,
4515 gnu/java/locale/LocaleInformation_fr_BE.java,
4516 gnu/java/locale/LocaleInformation_fr_CA.java,
4517 gnu/java/locale/LocaleInformation_fr_CH.java,
4518 gnu/java/locale/LocaleInformation_fr_FR.java,
4519 gnu/java/locale/LocaleInformation_fr_LU.java,
4520 gnu/java/locale/LocaleInformation_ga_IE.java,
4521 gnu/java/locale/LocaleInformation_gd_GB.java,
4522 gnu/java/locale/LocaleInformation_gl_ES.java,
4523 gnu/java/locale/LocaleInformation_gv_GB.java,
4524 gnu/java/locale/LocaleInformation_he_IL.java,
4525 gnu/java/locale/LocaleInformation_hi_IN.java,
4526 gnu/java/locale/LocaleInformation_hr_HR.java,
4527 gnu/java/locale/LocaleInformation_hu_HU.java,
4528 gnu/java/locale/LocaleInformation_id_ID.java,
4529 gnu/java/locale/LocaleInformation_it_CH.java,
4530 gnu/java/locale/LocaleInformation_it_IT.java,
4531 gnu/java/locale/LocaleInformation_iw_IL.java,
4532 gnu/java/locale/LocaleInformation_ja_JP.java,
4533 gnu/java/locale/LocaleInformation_ka_GE.java,
4534 gnu/java/locale/LocaleInformation_kl_GL.java,
4535 gnu/java/locale/LocaleInformation_ko_KR.java,
4536 gnu/java/locale/LocaleInformation_kw_GB.java,
4537 gnu/java/locale/LocaleInformation_lt_LT.java,
4538 gnu/java/locale/LocaleInformation_lv_LV.java,
4539 gnu/java/locale/LocaleInformation_mi_NZ.java,
4540 gnu/java/locale/LocaleInformation_mk_MK.java,
4541 gnu/java/locale/LocaleInformation_mr_IN.java,
4542 gnu/java/locale/LocaleInformation_mt_MT.java,
4543 gnu/java/locale/LocaleInformation_nl_BE.java,
4544 gnu/java/locale/LocaleInformation_nl_NL.java,
4545 gnu/java/locale/LocaleInformation_nn_NO.java,
4546 gnu/java/locale/LocaleInformation_no_NO.java,
4547 gnu/java/locale/LocaleInformation_oc_FR.java,
4548 gnu/java/locale/LocaleInformation_pl_PL.java,
4549 gnu/java/locale/LocaleInformation_pt_BR.java,
4550 gnu/java/locale/LocaleInformation_pt_PT.java,
4551 gnu/java/locale/LocaleInformation_ro_RO.java,
4552 gnu/java/locale/LocaleInformation_ru_RU.java,
4553 gnu/java/locale/LocaleInformation_ru_UA.java,
4554 gnu/java/locale/LocaleInformation_se_NO.java,
4555 gnu/java/locale/LocaleInformation_sk_SK.java,
4556 gnu/java/locale/LocaleInformation_sl_SI.java,
4557 gnu/java/locale/LocaleInformation_sq_AL.java,
4558 gnu/java/locale/LocaleInformation_sr_YU.java,
4559 gnu/java/locale/LocaleInformation_sv_FI.java,
4560 gnu/java/locale/LocaleInformation_sv_SE.java,
4561 gnu/java/locale/LocaleInformation_ta_IN.java,
4562 gnu/java/locale/LocaleInformation_te_IN.java,
4563 gnu/java/locale/LocaleInformation_tg_TJ.java,
4564 gnu/java/locale/LocaleInformation_tl_PH.java,
4565 gnu/java/locale/LocaleInformation_tr_TR.java,
4566 gnu/java/locale/LocaleInformation_uk_UA.java,
4567 gnu/java/locale/LocaleInformation_ur_PK.java,
4568 gnu/java/locale/LocaleInformation_uz_UZ.java,
4569 gnu/java/locale/LocaleInformation_vi_VN.java,
4570 gnu/java/locale/LocaleInformation_yi_US.java,
4571 gnu/java/locale/LocaleInformation_zh_CN.java,
4572 gnu/java/locale/LocaleInformation_zh_HK.java,
4573 gnu/java/locale/LocaleInformation_zh_SG.java,
4574 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4575 info; from Classpath.
4576
4577 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4578 isPaintPending): New methods.
4579 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4580 setMaximizedBounds): New methods.
4581 (beginLayout, endLayout, isPaintPending): Likewise.
4582 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4583 (requestFocus): Likewise.
4584 (isObscured): Likewise.
4585 (canDetermineObscurity): Likewise.
4586 (coalescePaintEvent): Likewise.
4587 (updateCursorImmediately): Likewise.
4588 (createVolatileImage): Likewise.
4589 (handlesWheelScrolling): Likewise.
4590 (createBuffers): Likewise.
4591 (getBackBuffer): Likewise.
4592 (flip): Likewise.
4593 (destroyBuffers): Likewise.
4594
4595 * Makefile.in: Rebuilt.
4596 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4597 RobotPeer.java.
4598 * gnu/java/awt/GLightweightPeer.java,
4599 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4600 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4601 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4602 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4603 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4604 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4605 java/awt/dnd/peer/DragSourceContextPeer.java,
4606 java/awt/dnd/peer/DropTargetContextPeer.java,
4607 java/awt/peer/ButtonPeer.java,
4608 java/awt/peer/CheckboxMenuItemPeer.java,
4609 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4610 java/awt/peer/ComponentPeer.java,
4611 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4612 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4613 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4614 java/awt/peer/MenuBarPeer.java,
4615 java/awt/peer/MenuComponentPeer.java,
4616 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4617 java/awt/peer/PopupMenuPeer.java,
4618 java/awt/peer/ScrollPanePeer.java,
4619 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4620 java/awt/peer/TextComponentPeer.java,
4621 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4622 New versions from Classpath.
4623 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4624 * java/awt/peer/RobotPeer.java: Likewise.
4625
4626 2003-03-01 Mark Wielaard <mark@klomp.org>
4627
4628 * java/io/ObjectInputStream.java: Reindent.
4629 * java/io/ObjectOutputStream.java: Likewise.
4630
4631 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4632
4633 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4634 jvalue for each argument. Simplify.
4635 * testsuite/libjava.jni/calls.c (docall),
4636 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4637 misalignment.
4638
4639 2003-02-28 Mark Wielaard <mark@klomp.org>
4640
4641 * Makefile.am (nat_source_files): Remove
4642 java/io/natObjectOutputStream.cc.
4643 * Makefile.in: Regenerated.
4644 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4645 * java/io/ObjectStreamField.java (typename): New field.
4646 (ObjectStreamField(String, Class)): Initialize new field.
4647 (ObjectStreamField(String, String)): New Constructor.
4648 (getTypeCode): Use new field.
4649 (getTypeString): Use new field.
4650 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4651 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4652 Handle reading of Proxy classes. Never drain(), just write
4653 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4654 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4655 (flush): Call flush(), not just drain().
4656 (writeBoolean): Always use blockDataOutput.
4657 (writeByte): Likewise.
4658 (writeShort): Likewise.
4659 (writeChar): Likewise.
4660 (writeInt): Likewise.
4661 (writeLong): Likewise.
4662 (writeFloat): Likewise.
4663 (writeDouble): Likewise.
4664 (writeBytes): Likewise.
4665 (putfield (put(String,Object))): Throw IllegalArgumentException if
4666 field cannot be found.
4667 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4668 (writeArraySizeAndElements): Write byte[] in one go.
4669 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4670 set BlockDataMode to false.
4671 (annotateProxyClass): New method.
4672 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4673 (getField): No longer native.
4674 (getMethod): Likewise.
4675 (setBlockDataMode): Always drain() on switch, return old mode.
4676 (static): New static code block.
4677 * java/io/natObjectOutputStream.cc: Removed.
4678 * java/io/ObjectInputStream.java (getField): No longer native.
4679 (getMethod): Likewise.
4680 (readObject): Remember and reset old BlockDataMode. Track whether
4681 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4682 TC_LONGSTRING.
4683 (defaultReadObject): Set BlockDataMode to false during readFields.
4684 (resolveClass): Create new SecurityManager if necessary.
4685 Use Class.forName() if null ClassLoader found.
4686 (read(byte[],int,int): Copy remaining bytes to data before calling
4687 readNextBlock().
4688 (readFields): Set and reset BlockDataMode on call_read_method.
4689 Catch NoSuchFieldErrors.
4690 (setBlockDataMode): Return old mode.
4691 (static): New static code block.
4692 * java/io/natObjectInputStream.cc (getField): Removed.
4693 (getMethod): Likewise.
4694
4695 2003-02-27 Michael Koch <konqueror@gmx.de>
4696
4697 * java/beans/Beans.java,
4698 java/beans/FeatureDescriptor.java
4699 java/beans/PropertyEditorManager.java:
4700 Reformated to GNU style.
4701
4702 2003-02-25 Michael Koch <konqueror@gmx.de>
4703
4704 * gnu/java/nio/MappedByteFileBuffer.java,
4705 gnu/java/nio/natMappedByteFileBuffer.cc:
4706 New files, both are not compiled yet to get not noncompiling CVS.
4707
4708 2003-02-24 Tom Tromey <tromey@redhat.com>
4709
4710 * java/util/prefs/AbstractPreferences.java (isUserNode):
4711 Implemented.
4712
4713 2003-02-24 Tom Tromey <tromey@redhat.com>
4714
4715 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4716 Deprecate.
4717 * java/lang/Thread.java (resume): Deprecate.
4718 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4719 in @deprecated.
4720
4721 2003-02-23 Tom Tromey <tromey@redhat.com>
4722
4723 * Makefile.in: Rebuilt.
4724 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4725
4726 2003-02-23 Tom Tromey <tromey@redhat.com>
4727
4728 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4729 libraries): Removed.
4730 (add_library): Removed.
4731 (_load): Don't call add_library.
4732 (loadLibraryInternal): Likewise.
4733 (init): Likewise.
4734 (lookup_data): New struct.
4735 (find_symbol): New function.
4736 (_Jv_FindSymbolInExecutable): Use it.
4737
4738 2002-02-21 Anthony Green <green@redhat.com>
4739
4740 * java/lang/Thread.java (Thread): New constructor taking stack
4741 size parameter (ignored for now).
4742 * Many methods: Merged GNU Classpath documentation.
4743
4744 * java/lang/Class.java (finalize): throws a Throwable.
4745
4746 2003-02-21 Mark Wielaard <mark@klomp.org>
4747
4748 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4749 argument is null.
4750
4751 2003-02-21 Mark Wielaard <mark@klomp.org>
4752
4753 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4754 then 65535 chars throw IllegalArgumentException.
4755
4756 2003-02-21 Mark Wielaard <mark@klomp.org>
4757
4758 * java/util/zip/ZipFile.java (finalize): New method.
4759
4760 2003-02-21 Michael Koch <konqueror@gmx.de>
4761
4762 * gnu/java/nio/natSocketChannelImpl.cc:
4763 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4764 <cato@df.lth.se> for pointing to it.
4765
4766 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4767
4768 * java/math/BigInteger.java (euclidInv): Take result array as an
4769 argument. Updated all callers.
4770 (modInverse): Removed unused variables.
4771
4772 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4773
4774 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4775 config.status.
4776 * configure: Rebuilt.
4777
4778 2003-02-19 Michael Koch <konqueror@gmx.de>
4779
4780 * gnu/java/nio/natSocketChannelImpl.cc:
4781 Added support for platforms without network support.
4782
4783 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4784
4785 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4786 after config.h. Use <> for consistency.
4787 * java/lang/natObject.cc: Likewise.
4788 * java/lang/natRuntime.cc: Likewise.
4789 * java/lang/natSystem.cc: Likewise.
4790 * java/util/natTimeZone.cc: Likewise.
4791 * win32.cc: Likewise.
4792 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4793 listen, write, read): Undef to avoid interference from OS macros.
4794
4795 2003-02-19 Michael Koch <konqueror@gmx.de>
4796
4797 * gnu/java/nio/ByteBufferImpl.java
4798 (ByteBufferImpl): Renamed two variables.
4799 * gnu/java/nio/CharBufferImpl.java
4800 (CharBufferImpl): Renamed two variables.
4801 * gnu/java/nio/DoubleBufferImpl.java
4802 (DoubleBufferImpl): Renamed two variables.
4803 * gnu/java/nio/FloatBufferImpl.java
4804 (FloatBufferImpl): Renamed two variables.
4805 * gnu/java/nio/IntBufferImpl.java
4806 (IntBufferImpl): Renamed two variables.
4807 * gnu/java/nio/LongBufferImpl.java
4808 (LongBufferImpl): Renamed two variables.
4809 * gnu/java/nio/ShortBufferImpl.java
4810 (ShortBufferImpl): Renamed two variables.
4811 * java/nio/CharBuffer.java
4812 (wrap): Fixed arguments to CharBufferImpl constructor.
4813 (hasArray): Only not read-only buffers have backing arrays.
4814 (length): Documentation added.
4815 (subSequence): Documentation added.
4816 * java/nio/DoubleBuffer.java
4817 (hasArray): Only not read-only buffers have backing arrays.
4818 * java/nio/FloatBuffer.java
4819 (hasArray): Only not read-only buffers have backing arrays.
4820 * java/nio/IntBuffer.java
4821 (hasArray): Only not read-only buffers have backing arrays.
4822 * java/nio/LongBuffer.java
4823 (hasArray): Only not read-only buffers have backing arrays.
4824 * java/nio/ShortBuffer.java
4825 (hasArray): Only not read-only buffers have backing arrays.
4826
4827 2003-02-19 Michael Koch <konqueror@gmx.de>
4828
4829 * javax/accessibility/AccessibleContext.java
4830 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4831
4832 2003-02-19 Michael Koch <konqueror@gmx.de>
4833
4834 * java/awt/ScrollPaneAdjustable.java: Reformated.
4835
4836 2003-02-19 Michael Koch <konqueror@gmx.de>
4837
4838 * gnu/awt/j2d/Graphics2DImpl.java
4839 (getFontRenderContext): New method.
4840 (drawGlyphVector): New method.
4841 * java/awt/Graphics2D.java
4842 (getFontRenderContext): New abstract method.
4843 (drawGlyphVector): New abstract method.
4844
4845 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4846
4847 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4848 if necessary.
4849
4850 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4851 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4852 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4853 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4854 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4855 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4856 (setFont, gtkSetFont): add.
4857 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4858 Propagate font to peer. (setFont): add FIXME comment.
4859
4860 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4861 (gtkTextGetSize): fix height, width computation.
4862
4863 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4864 Make X font name a bit less bogus.
4865
4866 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4867 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4868
4869 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4870 (processAdjustmentEvent): Adjust value.
4871
4872 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4873 logic errors.
4874
4875 * java/awt/Component.java (setVisible, show, hide): Call show and
4876 hide methods in subclasses.
4877 (getPreferredSize): don't set prefSize before we have peer.
4878
4879 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4880 Guess (0,0) if we don't have peer.
4881
4882
4883 2003-02-18 Michael Koch <konqueror@gmx.de>
4884
4885 * java/nio/channels/FileChannel.java
4886 (toString): New implementation, added documentation.
4887 (map): Added exception documentation.
4888 (size): Added exception documentation.
4889 (write): New methods, documentation work.
4890 (read): New methods, documentation work.
4891 (implCloseChannel): Rewrote exception documentation.
4892 (force): Throws IOException, added documentation.
4893 (lock): New methods.
4894 (tryLock): New methods.
4895 (position): New methods.
4896 (transferTo): New method.
4897 (transferFrom): New method.
4898 (truncate): New method.
4899 * java/nio/channels/spi/SelectorProvider.java
4900 (provider): Implemented.
4901 * Makefile.am
4902 (ordinary_java_source_files): Added the following files:
4903 gnu/java/nio/DatagramChannelImpl.java
4904 gnu/java/nio/FileChannelImpl.java
4905 gnu/java/nio/PipeImpl.java
4906 gnu/java/nio/SelectionKeyImpl.java
4907 gnu/java/nio/SelectorImpl.java
4908 gnu/java/nio/SelectorProviderImpl.java
4909 gnu/java/nio/ServerSocketChannelImpl.java
4910 gnu/java/nio/SocketChannelImpl.java
4911 java/nio/channels/FileLock.java
4912 (nat_java_source_files): Added the following files:
4913 gnu/java/nio/natFileChannelImpl.cc
4914 gnu/java/nio/natSelectorImpl.cc
4915 gnu/java/nio/natSocketChannelImpl.cc
4916 * Makefile.in: Regenerated.
4917
4918 2003-02-17 Tom Tromey <tromey@redhat.com>
4919
4920 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4921 * java/awt/image/ImageFilter.java: Likewise.
4922
4923 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4924
4925 * java/math/BigInteger.java (euclidInv): Return array of
4926 `BigInteger's. Changed all callers.
4927
4928 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4929
4930 * java/util/Properties.java (store): Move the code formerly in
4931 list(), into this method.
4932 (list (PrintStream)): Just call list (PrintWriter) with a
4933 PrintWriter object constructed from the given PrintStream object.
4934 (list (PrintWriter)): Emulate the output of Properties.list()
4935 as found in JDK 1.3/1.4.
4936
4937 2003-02-17 Michael Koch <konqueror@gmx.de>
4938
4939 * java/net/DatagramSocket.java
4940 (connect): Merged with classpath.
4941 (disconnect): Merged documentation with classpath.
4942 (receice): Merged documentation with classpath.
4943 (send): Merged documentation with classpath.
4944
4945 2003-02-17 Michael Koch <konqueror@gmx.de>
4946
4947 * java/awt/dnd/DragSourceContext.java
4948 (addDragSourceListener): Added documentation.
4949 * java/awt/dnd/DragSourceDragEvent.java
4950 (serialVersionUID): New member variable.
4951 (getDropAction): Reformated.
4952 * java/awt/dnd/DragSourceDropEvent.java
4953 (serialVersionUID): New member variable.
4954 (dropSuccess): Renamed from success for serialization issues.
4955 * java/awt/dnd/DragSourceEvent.java
4956 (serialVersionUID): New member variable.
4957 * java/awt/dnd/DropTarget.java
4958 (serialVersionUID): New member variable.
4959 (DropTarget): Implemented, documentation reworked.
4960 (setComponent): Documentation added.
4961 (getComponent): Documentation added.
4962 (setDefaultActions): Documentation added.
4963 (getDefaultActions): Documentation added.
4964 (addDropTargetListener): Documentation added.
4965 * java/awt/dnd/DropTargetContext.java
4966 (DropTargetContext): Documentation added.
4967 (TransferableProxy.TransferableProxy): New method.
4968 (dropComplete): Fixed documentation.
4969 (getTransferable): Fixed documentation.
4970 (createTransferableProxy): Implemented.
4971 * java/awt/dnd/DropTargetDragEvent.java
4972 (DropTargetDragEvent): Documentation added.
4973 (serialVersionUID): New member variable.
4974 (DropTargetDragEvent): Throw exceptions, documentation added.
4975 (acceptDrag): Implemented.
4976 (getCurrentDataFlavors): Implemented.3yy
4977 (getCurrentDataFlavorsAsList): Implemented.
4978 (isDataFlavorSupported): Implemented.
4979 (rejectDrag): Implemented.
4980 * java/awt/dnd/DropTargetDropEvent.java
4981 (DropTargetDropEvent): Documentation added.
4982 (serialVersionUID): New member variable.
4983 (actions): Renamed from srcActions for serialization issues.
4984 (isLocalTx): Renamed from isLocalTx for serialization issues.
4985 (DropTargetDropEvent): New implementation, throw exceptions,
4986 documentation added.
4987 (getCurrentDataFlavors): Implemented.
4988 (getCurrentDataFlavorsAsList): Implemented.
4989 (isDataFlavorSupported): Implemented.
4990 (getSourceActions): Implemented.
4991 (getDropAction): Implemented.
4992 (getTransferable): Implemented.
4993 (acceptDrop): Implemented.
4994 (rejectDrop): Implemented.
4995 * java/awt/dnd/DropTargetListener.java
4996 (drop): Fixed documentation.
4997 * java/awt/dnd/MouseDragGestureRecognizer.java
4998 (MouseDragGestureRecognizer): Documentation added.
4999
5000 2003-02-17 Michael Koch <konqueror@gmx.de>
5001
5002 * java/awt/font/FontRenderContext.java,
5003 java/awt/font/ShapeGraphicAttribute.java,
5004 java/awt/font/MultipleMaster.java,
5005 java/awt/font/TransformAttribute.java,
5006 java/awt/font/GlyphJustificationInfo.java,
5007 java/awt/font/LineBreakMeasurer.java,
5008 java/awt/font/TextMeasurer.java,
5009 java/awt/font/TextLayout.java,
5010 java/awt/font/LineMetrics.java,
5011 java/awt/font/TextAttribute.java,
5012 java/awt/font/GlyphMetrics.java,
5013 java/awt/font/OpenType.java,
5014 java/awt/font/GlyphVector.java,
5015 java/awt/font/GraphicAttribute.java,
5016 java/awt/font/ImageGraphicAttribute.java,
5017 java/awt/font/NumericShaper.java: New files.
5018 * Makefile.am
5019 (awt_java_source_files): Added the following files:
5020 java/awt/font/FontRenderContext.java
5021 java/awt/font/ShapeGraphicAttribute.java
5022 java/awt/font/MultipleMaster.java
5023 java/awt/font/TransformAttribute.java
5024 java/awt/font/GlyphJustificationInfo.java
5025 java/awt/font/LineBreakMeasurer.java
5026 java/awt/font/TextMeasurer.java
5027 java/awt/font/TextLayout.java
5028 java/awt/font/LineMetrics.java
5029 java/awt/font/TextAttribute.java
5030 java/awt/font/GlyphMetrics.java
5031 java/awt/font/OpenType.java
5032 java/awt/font/GlyphVector.java
5033 java/awt/font/GraphicAttribute.java
5034 java/awt/font/ImageGraphicAttribute.java
5035 java/awt/font/NumericShaper.java
5036 * Makefile.in: Regenerated.
5037
5038 2003-02-17 Michael Koch <konqueror@gmx.de>
5039
5040 * java/awt/print/Paper.java
5041 (Paper): Implements Cloneable.
5042 * java/awt/print/PrinterJob.java
5043 (setJobName): Return value must be void.
5044 (print): Throws PrinterException.
5045
5046 2003-02-16 Tom Tromey <tromey@redhat.com>
5047
5048 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5049 variable.
5050
5051 2003-02-15 Michael Koch <konqueror@gmx.de>
5052
5053 * java/awt/datatransfer/DataFlavor.java
5054 (isRepresentationClassByteBuffer): Removed try-catch block.
5055 (isRepresentationClassCharBuffer): Removed try-catch block.
5056 (isRepresentationClassReader): Removed try-catch block.
5057
5058 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5059
5060 * java/nio/charset/Charset.java
5061 (isRegistered): Fixed method args and implementation.
5062 * java/nio/charset/CharsetEncoder.java
5063 (unmappableCharacterAction): New method.
5064
5065 2003-02-15 Michael Koch <konqueror@gmx.de>
5066
5067 * java/awt/CheckboxMenuItem.java
5068 (CheckBoxMenuItem): Dont implement Serializable.
5069 (getListeners): New method,
5070 (getItemListeners): New method.
5071 * java/awt/Choice.java
5072 (getListeners): New method,
5073 (getItemListeners): New method.
5074 * java/awt/Container.java
5075 (getListeners): Added exception documentation.
5076 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5077 (getFocusTraversalKeys): Added documentation.
5078 (areFocusTraversalKeysSet): Added documentation.
5079 (applyComponentOrientation): Added documentation.
5080 * java/awt/ContainerOrderFocusTraversalPolicy.java
5081 (implicitDownCycleTraversal): Renamed from downCycle for
5082 serialization.
5083 (ContainerOrderFocusTraversalPolicy): Added documentation.
5084 (accept): Reformated.
5085 * java/awt/Dialog.java
5086 (Dialog): Dont implement Serializable.
5087 (Dialog): Added documentation.
5088 * java/awt/Font.java
5089 (Font): Dont use absolute class name.
5090 * java/awt/Frame.java
5091 (Frame): Font implement Serializable.
5092 * java/awt/List.java
5093 (getListeners): New method,
5094 (getActionListeners): New method.
5095 (getItemListeners): New method.
5096 * java/awt/Menu.java
5097 (countItems): New deprecated method.
5098 * java/awt/Scrollbar.java
5099 (getListeners): New method,
5100 (getAdjustmentListeners): New method,
5101 * java/awt/TextComponent.java
5102 (getListeners): New method,
5103 (getTextListeners): New method,
5104 * java/awt/TextField.java
5105 (getListeners): New method,
5106 (getActionListeners): New method.
5107 * java/awt/Window.java
5108 (windowFocusListener): New member variable.
5109 (windowStateListener): New member variable.
5110 (getWindowFocusListeners): New method.
5111 (getWindowStateListeners): New method.
5112 (addWindowFocusListener): New method.
5113 (addWindowStateListener): New method.
5114 (removeWindowFocusListener): New method.
5115 (removeWindowStateListener): New method.
5116 * java/awt/datatransfer/DataFlavor.java
5117 (isRepresentationClassByteBuffer): New method.
5118 (isRepresentationClassCharBuffer): New method.
5119 (isRepresentationClassReader): New method.
5120
5121 2003-02-14 Mark Wielaard <mark@klomp.org>
5122
5123 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5124 zero when there is an exponent and the significant is zero.
5125 (divide): Always set scale to newScale even in special ZERO case.
5126
5127 2003-02-14 Tom Tromey <tromey@redhat.com>
5128
5129 * java/lang/System.java (properties): Use Properties.clone.
5130 (setProperties): Likewise.
5131
5132 2003-02-14 Michael Koch <konqueror@gmx.de>
5133
5134 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5135 * gnu/java/nio/ServerSocketChannelImpl.java
5136 (SocketAccept): Removed.
5137 (accept): Commented out use of SocketAccept.
5138
5139 2003-02-13 Tom Tromey <tromey@redhat.com>
5140
5141 * verify.cc (state::seen_subrs): New field.
5142 (state::state): Initialize it.
5143 (state::clean_subrs): New method.
5144 (state::~state): Call it.
5145 (state::copy): Copy subroutine list.
5146 (state::add_subr): New method.
5147 (state::merge): Only register a change if the current subroutine
5148 hasn't yet been noted.
5149
5150 2003-02-13 Mark Wielaard <mark@klomp.org>
5151
5152 * java/io/InputStreamReader.java (getEncoding): Return null when
5153 closed.
5154 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5155
5156 2003-02-13 Mark Wielaard <mark@klomp.org>
5157
5158 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5159 is zero.
5160
5161 2003-02-13 Mark Wielaard <mark@klomp.org>
5162
5163 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5164 next byte cannot be buffered.
5165
5166 2003-02-13 Michael Koch <konqueror@gmx.de>
5167
5168 * java/awt/Label.java
5169 (Label): Don't implement Serializable directly.
5170 (addNotify): Fixed typo in documentation.
5171 * java/awt/List.java
5172 (List): Don't implement Serializable directly.
5173 * java/awt/PopupMenu.java
5174 (PopupMenu): Don't implement Serializable directly.
5175 * java/awt/ScrollPane.java
5176 (ScrollPane): Don't implement Serializable directly.
5177 * java/awt/Scrollbar.java
5178 (Scrollbar): Don't implement Serializable directly.
5179 * java/awt/TextArea.java
5180 (preferredSize): Fixed method arguments.
5181 * java/awt/TextField.java
5182 (TextField): Don't implement Serializable directly.
5183 * java/awt/color/ICC_ColorSpace.java
5184 (fromCIOXYZ): Documentation added.
5185 (getMinValue): Documentation added.
5186 (getMaxValue): Documentation added.
5187 * java/awt/datatransfer/DataFlavor.java
5188 (isMimeTypeEqual): May not be final.
5189 (clone): Throws CloneNotSupportedException.
5190 (getReaderForText): Don't throws UnsupportedEncodingException.
5191
5192 2003-02-13 Michael Koch <konqueror@gmx.de>
5193
5194 * gnu/java/awt/peer/gtk/GdkGraphics.java
5195 (drawString): New stubbed method.
5196 * java/awt/Graphics.java
5197 (drawString): New method.
5198
5199 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5200
5201 PR libgcj/9271:
5202 * java/security/SecureRandom.java (next): Avoid bias in results.
5203
5204 2003-02-13 Michael <konqueror@gmx.de>
5205
5206 * gnu/java/nio/FileChannelImpl.java
5207 (lengthInternal): Must be native.
5208 (size): Check if channel is already closed.
5209 (implCloseChannel): Reformated.
5210 (read): w was unused, removed it.
5211 (read): Removed.
5212 (read): New method.
5213 (write): New method.
5214 (map): Check arguments.
5215 (force): Throws IOException, check if channel is closed.
5216 (transferTo): New method.
5217 (transferFrom): New method.
5218 (lock): New method.
5219 (tryLock): New method.
5220 (position): New method.
5221 (truncate): New method.
5222 (nio_mmap_file): Uncommented.
5223 (nio_munmap_file): Uncommented.
5224 (nio_msync): Uncommented.
5225 * gnu/java/nio/natFileChannelImpl.cc: New file.
5226
5227 2003-02-13 Michael Koch <konqueror@gmx.de>
5228
5229 * java/nio/ByteBuffer.java
5230 (endian): New member variable.
5231 (get): New methods.
5232 (equals): New method.
5233 (compareTo): New method.
5234 (order): New methods.
5235 (compact): New method.
5236 (isDirect): New method.
5237 (slice): New method.
5238 (duplicate): New method.
5239 (asReadOnlyBuffer): New method.
5240 (asCharBuffer): New method.
5241 (asDoubleBuffer): New method.
5242 (asFloatBuffer): New method.
5243 (asIntBuffer): New method.
5244 (asLongBuffer): New method.
5245 (asShortBuffer): New method.
5246 (get*): New methods.
5247 (put*): New methods.
5248 (toString): New method.
5249 * java/nio/CharBuffer.java
5250 (CharBuffer): Implement Comparable instead of Cloneable.
5251 (get): May not be final.
5252 (put): May not be final.
5253
5254 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5255
5256 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5257 lastIndexOf( ) instead of indexOf( ) to find the colon before
5258 the line number, because Win32 file names might contain a
5259 drive letter and a colon at the start of an absolute path.
5260
5261 2003-02-13 Michael Koch <konqueror@gmx.de>
5262
5263 * gnu/java/nio/natSocketChannelImpl.cc
5264 (SocketConnect): This is not implemented yet.
5265 (SocketBind): This is not implemented yet.
5266
5267 2003-02-13 Michael Koch <konqueror@gmx.de>
5268
5269 * gnu/java/nio/natByteBufferImpl.cc,
5270 gnu/java/nio/natCharBufferImpl.cc,
5271 gnu/java/nio/natDoubleBufferImpl.cc,
5272 gnu/java/nio/natFloatBufferImpl.cc,
5273 gnu/java/nio/natIntBufferImpl.cc,
5274 gnu/java/nio/natLongBufferImpl.cc,
5275 gnu/java/nio/natShortBufferImpl.cc:
5276 Added copyright and license.
5277 * java/nio/DoubleBuffer.java,
5278 java/nio/FloatBuffer.java,
5279 java/nio/IntBuffer.java,
5280 java/nio/LongBuffer.java,
5281 java/nio/ShortBuffer.java
5282 (array): Throw exceptions.
5283 (arrayOffset): Throw exceptions.
5284
5285 2003-02-13 Michael Koch <konqueror@gmx.de>
5286
5287 * gnu/java/util/prefs/FileBasedFactory.java,
5288 gnu/java/util/prefs/MemmoryBasedFactory.java,
5289 gnu/java/util/prefs/MemoryBasedPreferences.java,
5290 gnu/java/util/prefs/NodeReader.java,
5291 gnu/java/util/prefs/NodeWriter.java,
5292 java/util/prefs/AbstractPreferences.java,
5293 java/util/prefs/BackingStoreException.java,
5294 java/util/prefs/InvalidPreferencesFormatException.java,
5295 java/util/prefs/NodeChangeEvent.java,
5296 java/util/prefs/NodeChangeListener.java,
5297 java/util/prefs/PreferenceChangeEvent.java,
5298 java/util/prefs/PreferenceChangeListener.java,
5299 java/util/prefs/Preferences.java,
5300 java/util/prefs/PreferencesFactory.java:
5301 New files, all merged from classpath.
5302 * Makefile.am
5303 (ordinary_java_source_files): Added the following files:
5304 gnu/java/util/prefs/FileBasedFactory.java,
5305 gnu/java/util/prefs/MemmoryBasedFactory.java,
5306 gnu/java/util/prefs/MemoryBasedPreferences.java,
5307 gnu/java/util/prefs/NodeReader.java,
5308 gnu/java/util/prefs/NodeWriter.java,
5309 (core_java_source_files): Added the following files:
5310 java/util/prefs/AbstractPreferences.java,
5311 java/util/prefs/BackingStoreException.java,
5312 java/util/prefs/InvalidPreferencesFormatException.java,
5313 java/util/prefs/NodeChangeEvent.java,
5314 java/util/prefs/NodeChangeListener.java,
5315 java/util/prefs/PreferenceChangeEvent.java,
5316 java/util/prefs/PreferenceChangeListener.java,
5317 java/util/prefs/Preferences.java,
5318 java/util/prefs/PreferencesFactory.java
5319 * Makefile.in: Regenerated.
5320
5321 2003-02-13 Michael Koch <konqueror@gmx.de>
5322
5323 * java/net/NetPermission.java
5324 (NetPermission): Make doucmentation match the method declaration.
5325 * java/net/NetworkInterface.java
5326 (equals): Reformated for GNU coding style.
5327 * java/net/ServerSocket.java: Merged with classpath.
5328 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5329 * java/net/SocketImpl.java
5330 (localPort): Merged with classpath (initialize with -1).
5331 * java/net/SocketPermission.java: Merged with classpath (reindented).
5332 * java/net/URLDecoder.java: Merged with classpath (reindented).
5333
5334 2003-02-13 Michael Koch <konqueror@gmx.de>
5335
5336 * java/awt/GridBagConstraints.java
5337 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5338 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5339 * java/awt/KeyboardFocusManager.java
5340 (setGlobalCurrentFocusCycleRoot): Must be public.
5341 * java/awt/MenuComponent.java
5342 (MenuComponent): Must be public.
5343 * java/awt/Toolkit.java:
5344 Added some empty lines to make documentation more readable.
5345 (getFontPeer): Added @deprecated.
5346 (getColorModel): Added exception documentation.
5347 (getProperty): Fixed documentation.
5348
5349 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5350
5351 * configure.host (alpha*-*): Default to -mieee.
5352 * configure.in (IEEESPEC): New.
5353 * libgcj.spec.in (jc1): Add IEEESPEC.
5354 * configure: Rebuild.
5355
5356 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5357
5358 * include/win32.h: Include ws2tcpip.h instead of
5359 winsock.h to obtain definition of the socklen_t type.
5360 Remove IP_TOS definition - not needed with ws2tcpip.h
5361 (_Jv_connect): Correct slight formatting error.
5362
5363 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5364
5365 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5366 size of the arguments for a JNI function. For Win32,
5367 modify to search for all forms of possible exported
5368 names of an stdcall JNI function.
5369 (_Jv_JNIMethod::call): Modify to calculate the size
5370 of the arguments passed to a JNI function and pass
5371 it to _Jv_LookupJNIMethod.
5372
5373 2003-02-12 Michael Koch <konqueror@gmx.de>
5374
5375 * java/nio/channels/Channels.java: New file.
5376 * Makefile.am
5377 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5378 * Makefile.in: Regenerated.
5379
5380 2003-02-12 Michael Koch <konqueror@gmx.de>
5381
5382 * java/nio/ByteBuffer.java
5383 (allocate): Implemented.
5384 (wrap): Implemented.
5385 * java/nio/CharBuffer.java:
5386 Some documentation added and reworked.
5387 (endian): Removed.
5388 (allocate): Implemented.
5389 (wrap): Implemented.
5390 (array): Throw exceptions.
5391 (arrayOffset): Throw exceptions.
5392 (toString): Implemented.
5393 (length): Implemented.
5394 (put): Implemented.
5395 (charAt): Implemented.
5396
5397 2003-02-11 John Leuner <jewel@debian.org>
5398
5399 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5400 reads from end of file.
5401
5402 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5403
5404 * java/io/natFileDescriptorWin32.cc
5405 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5406 returns with Win32 error code ERROR_BROKEN_PIPE.
5407
5408 2003-02-11 Michael Koch <konqueror@gmx.de>
5409
5410 * Makefile.in
5411 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5412
5413 2003-02-11 Michael Koch <konqueror@gmx.de>
5414
5415 * gnu/java/nio/ByteBufferImpl.java:
5416 Reformated and removed some code.
5417 (backing_buffer): Removed.
5418 (array_offset): Removed.
5419 (ro): Renamed to readOnly.
5420 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5421 * gnu/java/nio/CharBufferImpl.java:
5422 Reformated and removed some code.
5423 (array_offset): Removed.
5424 (ro): Renamed to readOnly.
5425 (CharBufferImpl): Use parent constructor, initialize readOnly.
5426 (inc_pos): Removed.
5427 (order): New method.
5428 * gnu/java/nio/DoubleBufferImpl.java:
5429 Reformated and removed some code.
5430 (array_offset): Removed.
5431 (ro): Renamed to readOnly.
5432 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5433 (inc_pos): Removed.
5434 (order): New method.
5435 * gnu/java/nio/FloatBufferImpl.java:
5436 Reformated and removed some code.
5437 (array_offset): Removed.
5438 (ro): Renamed to readOnly.
5439 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5440 (inc_pos): Removed.
5441 (order): New method.
5442 * gnu/java/nio/IntBufferImpl.java:
5443 Reformated and removed some code.
5444 (array_offset): Removed.
5445 (ro): Renamed to readOnly.
5446 (IntBufferImpl): Use parent constructor, initialize readOnly.
5447 (inc_pos): Removed.
5448 (order): New method.
5449 * gnu/java/nio/LongBufferImpl.java:
5450 Reformated and removed some code.
5451 (array_offset): Removed.
5452 (ro): Renamed to readOnly.
5453 (LongBufferImpl): Use parent constructor, initialize readOnly.
5454 (inc_pos): Removed.
5455 (order): New method.
5456 * gnu/java/nio/ShortBufferImpl.java:
5457 Reformated and removed some code.
5458 (array_offset): Removed.
5459 (ro): Renamed to readOnly.
5460 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5461 (inc_pos): Removed.
5462 (order): New method.
5463 * Makefile.am
5464 (ordinary_java_source_files): Added the following files:
5465 gnu/java/nio/ByteBufferImpl.java
5466 gnu/java/nio/CharBufferImpl.java
5467 gnu/java/nio/DoubleBufferImpl.java
5468 gnu/java/nio/FloatBufferImpl.java
5469 gnu/java/nio/IntBufferImpl.java
5470 gnu/java/nio/LongBufferImpl.java
5471 gnu/java/nio/ShortBufferImpl.java
5472 java/nio/DoubleBuffer.java
5473 java/nio/FloatBuffer.java
5474 java/nio/IntBuffer.java
5475 java/nio/LongBuffer.java
5476 java/nio/ShortBuffer.java
5477 (nat_source_files): Added the following files:
5478 gnu/java/nio/natByteBufferImpl.cc
5479 gnu/java/nio/natCharBufferImpl.cc
5480 gnu/java/nio/natDoubleBufferImpl.cc
5481 gnu/java/nio/natFloatBufferImpl.cc
5482 gnu/java/nio/natIntBufferImpl.cc
5483 gnu/java/nio/natLongBufferImpl.cc
5484 gnu/java/nio/natShortBufferImpl.cc
5485 * Makefile.in: Regenerated.
5486
5487 2003-02-11 Michael Koch <konqueror@gmx.de>
5488
5489 * gnu/java/nio/natCharBufferImpl.cc
5490 (nio_cast): Removed.
5491 (nio_put_*): Removed.
5492 (nio_get_*): Removed.
5493 * gnu/java/nio/natDoubleBufferImpl.cc
5494 (nio_cast): Removed.
5495 (nio_put_*): Removed.
5496 (nio_get_*): Removed.
5497 * gnu/java/nio/natFloatBufferImpl.cc
5498 (nio_cast): Removed.
5499 (nio_put_*): Removed.
5500 (nio_get_*): Removed.
5501 * gnu/java/nio/natIntBufferImpl.cc
5502 (nio_cast): Removed.
5503 (nio_put_*): Removed.
5504 (nio_get_*): Removed.
5505 * gnu/java/nio/natLongBufferImpl.cc
5506 (nio_cast): Removed.
5507 (nio_put_*): Removed.
5508 (nio_get_*): Removed.
5509 * gnu/java/nio/natShortBufferImpl.cc
5510 (nio_cast): Removed.
5511 (nio_put_*): Removed.
5512 (nio_get_*): Removed.
5513 * gnu/java/nio/SelectorProviderImpl.java
5514 (openDatagramChannel): Throws IOException.
5515 (openPipe): Throws IOException.
5516 (openSelector): Throws IOException.
5517 (openServerSocketChannel): Throws IOException.
5518 (openSocketChannel): Throws IOException.
5519 * gnu/java/nio/ServerSocketChannelImpl.java
5520 (ServerSocketChannelImpl): Throws IOException.
5521 (implCloseSelectableChannel): Throws IOException.
5522 (implConfigureBlocking): Throws IOException.
5523 * java/nio/ByteBuffer.java
5524 (readOnly): Removed.
5525 (hasArray): Use isReadOnly() instead of readOnly.
5526 (array): Use isReadOnly() instead of readOnly.
5527 (arrayOffset): Use isReadOnly() instead of readOnly.
5528 * java/nio/CharBuffer.java
5529 (CharBuffer): Implements Cloneable and CharSequence.
5530
5531 2003-02-11 Michael Koch <konqueror@gmx.de>
5532
5533 * java/nio/DoubleBuffer.java
5534 (DoubleBuffer): Implements Comparable.
5535 (endian): Removed.
5536 (array_offset): New member variable.
5537 (DoubleBuffer): New constuctor.
5538 (get): May not be final.
5539 (put): May not be final.
5540 (arrayOffset): Implemented.
5541 (order): Made abstract.
5542 (order): Removed.
5543 (as*Buffer): Removed.
5544 (get*): Removed.
5545 (put*): Removed.
5546 * java/nio/FloatBuffer.java
5547 (FloatBuffer): Implements Comparable.
5548 (endian): Removed.
5549 (array_offset): New member variable.
5550 (FloatBuffer): New constuctor.
5551 (get): May not be final.
5552 (put): May not be final.
5553 (arrayOffset): Implemented.
5554 (order): Made abstract.
5555 (order): Removed.
5556 (as*Buffer): Removed.
5557 (get*): Removed.
5558 (put*): Removed.
5559 * java/nio/IntBuffer.java
5560 (IntBuffer): Implements Comparable.
5561 (endian): Removed.
5562 (array_offset): New member variable.
5563 (IntBuffer): New constuctor.
5564 (get): May not be final.
5565 (put): May not be final.
5566 (arrayOffset): Implemented.
5567 (order): Made abstract.
5568 (order): Removed.
5569 (as*Buffer): Removed.
5570 (get*): Removed.
5571 (put*): Removed.
5572 * java/nio/LongBuffer.java
5573 (LongBuffer): Implements Comparable.
5574 (endian): Removed.
5575 (array_offset): New member variable.
5576 (LongBuffer): New constuctor.
5577 (get): May not be final.
5578 (put): May not be final.
5579 (arrayOffset): Implemented.
5580 (order): Made abstract.
5581 (order): Removed.
5582 (as*Buffer): Removed.
5583 (get*): Removed.
5584 (put*): Removed.
5585 * java/nio/ShortBuffer.java
5586 (ShortBuffer): Implements Comparable.
5587 (endian): Removed.
5588 (array_offset): New member variable.
5589 (ShortBuffer): New constuctor.
5590 (get): May not be final.
5591 (put): May not be final.
5592 (arrayOffset): Implemented.
5593 (order): Made abstract.
5594 (order): Removed.
5595 (as*Buffer): Removed.
5596 (get*): Removed.
5597 (put*): Removed.
5598
5599 2003-02-11 Michael Koch <konqueror@gmx.de>
5600
5601 * java/nio/channels/SelectionKey.java
5602 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5603 values.
5604
5605 2003-02-11 Michael Koch <konqueror@gmx.de>
5606
5607 * java/nio/channels/DatagramChannel.java
5608 (write): Throws IOException.
5609 (connect): Throws IOException.
5610 (disconnect): Throws IOException.
5611 (read): Throws IOException.
5612 (receive): Throws IOException.
5613 (send): Throws IOException.
5614 * java/nio/channels/Pipe.java
5615 (open): Throws IOException.
5616 * java/nio/channels/SelectableChannel.java
5617 (configureBlocking): Throws IOException.
5618 * java/nio/channels/ServerSocketChannel.java
5619 (accept): Throws IOException.
5620 * java/nio/channels/SocketChannel.java
5621 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5622 GatheringByteChannel.
5623 (read): Throws IOException.
5624 (write): Throws IOException.
5625 (finishConnect): Throws IOException.
5626 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5627 (end): Throws AsynchronousCloseException.
5628 * java/nio/channels/spi/AbstractSelectableChannel.java
5629 (configureBlocking): Throws IOException.
5630 (implCloseChannel): Throws IOException.
5631 (implCloseSelectableChannel): Throws IOException.
5632 (implConfigureBlocking): Throws IOException.
5633 * java/nio/channels/spi/SelectorProvider.java
5634 (openDatagramChannel): Throws IOException.
5635 (openPipe): Throws IOException.
5636 (openSelector): Throws IOException.
5637 (openServerSocketChannel): Throws IOException.
5638 (openSocketChannel): Throws IOException.
5639
5640 2003-02-11 Michael Koch <konqueror@gmx.de>
5641
5642 * gnu/java/nio/FileLockImpl.java,
5643 java/nio/channels/FileLock.java: New files.
5644
5645 2003-02-11 Michael Koch <konqueror@gmx.de>
5646
5647 * java/nio/charset/IllegalCharsetNameException.java
5648 (serialVersionUID): New member variable.
5649 (charsetName): New member variable.
5650 (IllegalCharsetException): New implementation.
5651 (getCharsetName): New implementation.
5652 * java/nio/charset/UnsupportedCharsetException.java
5653 (serialVersionUID): New member variable.
5654 (charsetName): New member variable.
5655 (UnsupportedCharsetException): New implementation.
5656 (getCharsetName): New implementation.
5657
5658 2003-02-10 Tom Tromey <tromey@redhat.com>
5659
5660 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5661 (ex): Renamed from sqlException.
5662
5663 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5664
5665 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5666 method used to ensure seeding has occurred and that a specific
5667 seed can be set and used.
5668
5669 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5670
5671 * java/lang/Win32Process.java (destroy): Declare as native.
5672 (hasExited): New native method.
5673 (exitValue): Define.
5674 (getErrorStream): Likewise.
5675 (getInputStream): Likewise.
5676 (getOutputStream): Likewise.
5677 (waitFor): Declare as native.
5678 (startProcess): New native method.
5679 (cleanup): Likewise.
5680 (ConcreteProcess): Define.
5681 (outputStream, inputStream, errorStream): New members.
5682 (procHandle, exitCode): Likewise.
5683
5684 * java/lang/natWin32Process.cc
5685 (java::lang::ConcreteProcess::cleanup): Define.
5686 (java::lang::ConcreteProcess::destroy): Likewise.
5687 (java::lang::ConcreteProcess::hasExited): Likewise.
5688 (java::lang::ConcreteProcess::waitFor): Likewise.
5689 (new_string): Likewise.
5690 (java::lang::ConcreteProcess::startProcess): Likewise.
5691
5692 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5693
5694 * java/math/BigInteger.java:
5695 Updated notice to include years 2002 and 3.
5696 Added 2 private (int) arrays with values from the HAC (Handbook of
5697 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5698 and t[] that contains nbr. of tests --used in isProbablePrime().
5699
5700 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5701
5702 * java/math/BigInteger.java (make(int[],int), add(int,int),
5703 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5704 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5705 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5706 make(long).
5707
5708 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5709 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5710 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5711 BIs and returns void.
5712 (modInverse(BI)): Use new signatures of euclidInv().
5713
5714 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5715 static small primes instead of remainder().
5716 Use pre-computed max nbr of trials based on bitlength of BI to test.
5717 Use pre-computed small primes for the trial tests instead of random
5718 numbers.
5719
5720 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5721 not used.
5722
5723 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5724 invoacation of MPN.chars_per_word(). not used.
5725
5726 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5727 local var and used where needed.
5728
5729 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5730 Combined declaration with initialisation of locals.
5731 Removed unused var.
5732
5733 * java/math/BigInteger.java: Style changes
5734 (pow(int)): Removed 'else' keyword.
5735 (toString(int)): idem.
5736 (doubleValue()): idem.
5737 (bitLength()): idem.
5738 (equals(Object)): Use static methods name in same class w/o prepending
5739 class name.
5740 (doubleValue()): idem.
5741 (setNegative(BI)): idem.
5742 (negate()): idem.
5743 (and(BI,int)): idem.
5744 (and(BI)): idem.
5745 (gcd(BI)): idem.
5746 (byteArrayToIntArray()): Removed casting to (int). this is
5747 std. behaviour.
5748 (canonicalize()): idem.
5749 (alloc(int)): Always instantiate a new BI.
5750
5751 2003-02-10 Tom Tromey <tromey@redhat.com>
5752
5753 * java/sql/Timestamp.java (compareTo(Object)): New method.
5754 (compareTo(Timestamp)): Likewise.
5755 (serialVersionUID): Updated.
5756
5757 2003-02-07 Mark Wielaard <mark@klomp.org>
5758
5759 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5760 when verify is true.
5761 (JarFile(File, boolean)): Likewise.
5762 (manifestRead): Set manifestRead field correctly.
5763
5764 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5765
5766 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5767 tests; see patch #1016 on Savannah.
5768
5769 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5770
5771 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5772 (toString): do not return Strings starting with . and - erroneously.
5773 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5774 DiagBigDecimal.
5775
5776 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5777
5778 * java/beans/PropertyDescriptor.java
5779 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5780 methods.
5781 (PropertyDescriptor(String, Class, String, String)): Likewise.
5782 (PropertyDescriptor(String, Method, Method): Factor out getter and
5783 setter method sanity checks into new method.
5784 (findMethods): Don't do parameter sanity checking of get method here.
5785 (checkMethods): New method.
5786
5787 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5788
5789 * java/beans/PropertyDescriptor.java: Reformat.
5790
5791 2003-02-04 Tom Tromey <tromey@redhat.com>
5792
5793 * java/io/PipedOutputStream.java (flush): Declare as throwing
5794 IOException.
5795 (close): Likewise.
5796 * java/io/PipedWriter.java (close): Declare as throwing
5797 IOException.
5798 * java/io/StringWriter.java (close): Declare as throwing
5799 IOException.
5800
5801 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5802
5803 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5804 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5805 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5806 "_JNI_OnLoad@8" (MSVC).
5807
5808 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5809
5810 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5811 convention on Win32 to invoke native JNI methods.
5812
5813 2003-02-03 Andrew Haley <aph@redhat.com>
5814
5815 * configure.host (x86_64): Enable interpreter.
5816
5817 2003-02-03 Andrew Haley <aph@redhat.com>
5818
5819 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5820 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5821 * configure.in (BACKTRACESPEC): New.
5822 * configure: Regenerate.
5823
5824 2003-02-02 Tom Tromey <tromey@redhat.com>
5825
5826 * configure: Rebuilt.
5827 * configure.in (TOOLKIT) [xlib]: Set correctly.
5828
5829 * Makefile.in: Rebuilt.
5830 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5831 libstdc++.
5832
5833 2003-01-31 Mark WIelaard <mark@klomp.org>
5834
5835 * Makefile.in: Rebuilt.
5836 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5837
5838 2003-01-31 Tom Tromey <tromey@redhat.com>
5839
5840 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5841 cast to element type.
5842 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5843 (_Jv_JNI_GetObjectArrayElement): Likewise.
5844
5845 * Makefile.in: Rebuilt.
5846 * Makefile.am (cond_x_ltlibrary): Renamed library to
5847 lib-gnu-awt-xlib.la.
5848 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5849 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5850 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5851 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5852 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5853 (lib_gnu_awt_xlib_la_LINK): Likewise.
5854 (install-exec-hook): Removed.
5855 (lib-gnu-awt-xlib.la): Renamed.
5856
5857 2003-01-31 Tom Tromey <tromey@redhat.com>
5858
5859 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5860 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5861 aclocal.m4 and lost in some merge.
5862
5863 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5864 Don't try to find graphics configuration.
5865 * java/awt/Toolkit.java (default_toolkit_name): Use new
5866 Configuration entry.
5867 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5868 New global.
5869 * configure: Rebuilt.
5870 * configure.in (TOOLKIT): New subst.
5871 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5872 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5873 directory. Make output directories for .c files.
5874 * Makefile.in: Rebuilt.
5875 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5876 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5877 (all_java_source_files): Added new sources.
5878 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5879 (gtk_c_files): New macro.
5880 (gtk_c_source_files): New macro.
5881 (cond_gtk_ltlibrary): New macro.
5882 ($(gtk_c_files)): New target.
5883 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5884 (gtk_awt_peer_sources): New macro.
5885 (gtk_c_headers): New macro.
5886 ($(gtk_c_headers)): New target.
5887 (ACLOCAL_AMFLAGS): New macro.
5888 * gtk.m4, glib.m4, libart.m4: New files.
5889 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5890 gnu/java/awt/peer/gtk/GdkGraphics.java,
5891 gnu/java/awt/peer/gtk/GtkArg.java,
5892 gnu/java/awt/peer/gtk/GtkArgList.java,
5893 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5894 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5895 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5896 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5897 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5898 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5899 gnu/java/awt/peer/gtk/GtkClipboard.java,
5900 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5901 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5902 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5903 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5904 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5905 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5906 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5907 gnu/java/awt/peer/gtk/GtkImage.java,
5908 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5909 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5910 gnu/java/awt/peer/gtk/GtkListPeer.java,
5911 gnu/java/awt/peer/gtk/GtkMainThread.java,
5912 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5913 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5914 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5915 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5916 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5917 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5918 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5919 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5920 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5921 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5922 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5923 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5924 gnu/java/awt/peer/gtk/GtkToolkit.java,
5925 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5926 gnu/java/awt/peer/gtk/TestAWT.java,
5927 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5928 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5929 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5930 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5931 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5932 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5933 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5934 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5935 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5936 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5937 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5938 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5939 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5940 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5941 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5942 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5943 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5944 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5945 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5946 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5947 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5948 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5949 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5950 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5951 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5952 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5953 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5954 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5955 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5956 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5957 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5958 jni/classpath/native_state.c, jni/classpath/native_state.h,
5959 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5960
5961 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5962
5963 * java/util/Properties.java (load): Ignore backslash before EOF.
5964
5965 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5966
5967 * java/lang/natClass.cc (initializeClass): Check tables when
5968 (state == JV_STATE_IN_PROGRESS).
5969 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5970 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5971 interpreted classes.
5972 (linkClass0): Use _Jv_WaitForState.
5973
5974 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5975
5976 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5977 object when finished.
5978
5979 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5980
5981 * libjava/configure.host: Disable can_unwind_signal on darwin.
5982
5983 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5984
5985 Fixes PR java/9254:
5986 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5987 additionally containing id of the owner thread as well as
5988 the number of nested times the thread has acquired the mutex.
5989 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5990 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5991 (_Jv_MutexUnlock): Check if really the owner thread, reset
5992 owner thread id to 0 before leaving, if leaving for the last
5993 time.
5994 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5995 refcount.
5996 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5997 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5998 the passed mutex.
5999 Pass handle of the broadcast event, instead of a pointer to it
6000 in Win32 ResetEvent( ) call.
6001 Remove incorrect return values.
6002 (_Jv_CondDestroy): Close both event handles and delete
6003 critical section.
6004 (_Jv_CondNotify): Check if really the owner thread.
6005 (_Jv_CondNotifyAll): Check if really the owner thread.
6006 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6007 (really_start): Use SetEvent( ) to signal daemon_cond.
6008 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6009 WaitForSingleObject( ) instead to wait for daemon_cond to be
6010 signalled.
6011
6012 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6013
6014 * configure.in: Specifically define HAVE_BACKTRACE if building
6015 for MinGW.
6016 * include/win32.h: Remove HAVE_BACKTRACE definition.
6017 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6018 * configure: Rebuilt.
6019
6020 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6021
6022 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6023 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6024 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6025 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6026 * Makefile.in, configure: Rebuilt.
6027
6028 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6029
6030 Fixes PR java/9253:
6031 * java/io/natFileWin32.cc (performList): Append only "*.*"
6032 if the canonical file path already has a "\" at the end.
6033
6034 2003-01-24 Tom Tromey <tromey@redhat.com>
6035
6036 * defineclass.cc (handleMethodsEnd): Precompute code for static
6037 method.
6038 (handleCodeAttribute): Likewise.
6039 * resolve.cc (ncode): Use run_class for unsynchronized static
6040 methods.
6041 * include/java-interp.h (class _Jv_InterpMethod): Declare
6042 run_class.
6043 * interpret.cc (run_synch_class): Initialize class.
6044 (run) [insn_invokestatic]: Don't initialize class.
6045 [insn_anewarray]: Likewise.
6046 [insn_multianewarray]: Likewise.
6047 (run_class): New function.
6048
6049 2003-01-24 Tom Tromey <tromey@redhat.com>
6050
6051 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6052 comment.
6053
6054 2003-01-22 Andrew Haley <aph@redhat.com>
6055
6056 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6057 * configure.host (CHECKREFSPEC): Define for x86_64.
6058
6059 2003-01-21 Tom Tromey <tromey@redhat.com>
6060
6061 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6062 search at 2, not 3.
6063
6064 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6065
6066 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6067 looking at any characters.
6068 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6069 be used.
6070 (isAbsolute): Check path's length as well.
6071
6072 2003-01-17 Mark Wielaard <mark@klomp.org>
6073
6074 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6075 (nat_source_files): Add natVMObjectStreamClass.cc.
6076 * Makefile.in: Regenerated.
6077 * gcj/javaprims.h (namespace java): Regenerated.
6078 * java/io/ObjectStreamClass.java (getClassUID): Call
6079 VMObjectStreamClass.hasClassInitializer().
6080 (hasClassInitializer): Removed.
6081 * java/io/VMObjectStreamClass.java: New class.
6082 * java/io/natVMObjectStreamClass.cc: New file.
6083 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6084
6085 2003-01-16 Mark Wielaard <mark@klomp.org>
6086
6087 * java/net/SocketImpl.java (toString): Don't explicitly call
6088 toString() on possible null address.
6089
6090 2003-01-16 Michael Koch <konqueror@gmx.de>
6091
6092 * java/net/MulticastSocket.java
6093 (setInterface): Reindented.
6094
6095 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6096
6097 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6098 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6099 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6100 translateY arguments. Implement.
6101 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6102 down translation arguments.
6103 (drawPolyline, drawPolygon): Fix incorrect tests.
6104 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6105 translateX and translateY arguments.
6106
6107 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6108
6109 * Makefile.in: Rebuilt.
6110 * Makefile.am (xlib_includes): New macro.
6111 (INCLUDES): Use it.
6112
6113 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6114
6115 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6116 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6117 16-bit display mode.
6118
6119 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6120
6121 * java/awt/CardLayout.java (show): Rewrote.
6122 (gotoComponent): Removed `target' argument. Simplified code.
6123 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6124 Changed all callers.
6125 (NONE): Removed.
6126
6127 2003-01-14 Michael Koch <konqueror@gmx.de>
6128
6129 * java/net/InetSocketAddress.java
6130 (serialVersionUID): New member variable.
6131 * java/net/NetPermission.java
6132 (NetPermission): Dont implement java.io.Serialization directly.
6133 * java/net/SocketAddress.java:
6134 (serialVersionUID): Documentation added.
6135
6136 2003-01-14 Michael Koch <konqueror@gmx.de>
6137
6138 * java/awt/Label.java
6139 (Label): Implements javax.accessibility.Accessible;
6140 * java/awt/List.java
6141 (List): Implements javax.accessibility.Accessible;
6142 * java/awt/ScrollPane.java
6143 (ScrollPane): Implements javax.accessibility.Accessible;
6144 * java/awt/Scrollbar.java
6145 (Scrollbar): Implements javax.accessibility.Accessible;
6146 * java/awt/TextComponent.java
6147 (setCaretPosition): Throw exception, documentation added.
6148 * java/awt/Toolkit.java:
6149 Added some newlines in method documentations.
6150 (createButton): Exception documentation added.
6151 (createTextField): Exception documentation added.
6152 (createLabel): Exception documentation added.
6153 (createList): Exception documentation added.
6154 (createCheckbox): Exception documentation added.
6155 (createScrollbar): Exception documentation added.
6156 (createScrollPane): Exception documentation added.
6157 (createTextArea): Exception documentation added.
6158 (createChoice): Exception documentation added.
6159 (createFrame): Exception documentation added.
6160 (createWindow): Exception documentation added.
6161 (createDialog): Exception documentation added.
6162 (createMenuBar): Exception documentation added.
6163 (createMenu): Exception documentation added.
6164 (createMenuItem): Exception documentation added.
6165 (createFileDialog): Exception documentation added.
6166 (createCheckboxMenuItem): Exception documentation added.
6167 (loadSystemColors): Exception documentation added.
6168 (setDynamicLayout): Exception documentation added.
6169 (isDynamicLayoutSet): Exception documentation added.
6170 (isDynamicLayoutActive): Exception documentation added.
6171 (getScreenSize): Exception documentation added.
6172 (getScreenResolution): Exception documentation added.
6173 (getScreenInsets): Exception documentation added.
6174 (getColorModel): Exception documentation added.
6175 (getSystemClipboard): Exception documentation added.
6176 (getSystemSelection): Exception documentation added.
6177 (getMenuShortcutKeyMask): Exception documentation added.
6178 (getSystemEventQueue): Exception documentation added.
6179 * java/awt/Window.java:
6180 Reindented some code.
6181 (Window): Centralized implementation, documentation added.
6182 (finalize): Documentation added.
6183 (hide): Fixed typo in comment.
6184 (getWindowListeners): Documentation added.
6185 * java/awt/color/ColorSpace.java
6186 (toRGB): Documentation added.
6187 * java/awt/color/ICC_ColorSpace.java
6188 (ICC_ColorSpace): Documentation added.
6189 (toRGB): Throw exception, documentation added.
6190 (fromRGB): Throw exception, documentation added.
6191 (toCIEXYZ): Documentation added.
6192 (fromCIEXYZ): Documentation added.
6193 (getMinValue): Documentation added.
6194 (getMaxValue): Documentation added.
6195 * java/awt/geom/Dimension2D.java
6196 (clone): Documentation added.
6197 * java/awt/geom/GeneralPath.java
6198 (clone): Documentation added.
6199 * java/awt/geom/Line2D.java
6200 (clone): Documentation added.
6201 * java/awt/geom/QuadCurve2D.java
6202 (clone): Documentation added.
6203 * java/awt/image/ColorModel.java
6204 (ColorModel): Throw exception, documentation added.
6205 * java/awt/image/ImageFilter.java
6206 (clone): Doesnt throw CloneNotSupportedException.
6207
6208 2003-01-14 Andrew Haley <aph@redhat.com>
6209
6210 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6211 in a try block.
6212
6213 2003-01-10 Andrew Haley <aph@redhat.com>
6214
6215 * include/dwarf2-signal.h: Remove x86_64.
6216 * configure.host (x86_64 DIVIDESPEC): Remove.
6217 * include/x86_64-signal.h: New file.
6218 * configure.in: Regenerate.
6219
6220 2003-01-10 Michael Koch <konqueror@gmx.de>
6221
6222 * java/net/DatagramSocket.java
6223 (ch): Description added.
6224 (remotePort): Initialize with -1.
6225 (connect): Doesnt throws SocketException.
6226 * java/net/MulticastSocket.java
6227 (setInterface): Merge with Classpath.
6228 * java/net/ServerSocket.java
6229 (closed): New member variable.
6230 (bind): Check if socket is closed.
6231 (close): Close an associated channel too, set new value to closed.
6232 (isBound): Reindented.
6233 (isClosed): Implemented.
6234 * java/net/Socket.java
6235 (closed): New member variable.
6236 (bind): Check if socket is closed.
6237 (connect): Check if socket is closed.
6238 (close): Close an associated channel too, set new value to closed.
6239 (isClosed): Implemented.
6240
6241 2003-01-10 Michael Koch <konqueror@gmx.de>
6242
6243 * java/awt/DisplayMode.java
6244 (equals): Fixed argument type and implementation.
6245
6246 2003-01-07 Tom Tromey <tromey@redhat.com>
6247
6248 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6249 JV_HASH_SYNCHRONIZATION.
6250 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6251 JV_HASH_SYNCHRONIZATION.
6252
6253 2003-01-07 Michael Koch <konqueror@gmx.de>
6254
6255 * java/net/DatagramSocket.java:
6256 Added classpath license info.
6257 (DatagramSocket): Merged description with classpath.
6258 (close): Merged description with classpath.
6259 (getChannel): Merged description with classpath.
6260 (getInetAddress): Merged description with classpath.
6261 (getPort): Merged description with classpath.
6262 (getLocalAddress): Merged description with classpath.
6263 (getLocalPort): Merged description with classpath.
6264 (getSoTimeout): Merged description with classpath.
6265 (setSoTimeout): Merged description with classpath.
6266 (getSendBufferSize): Merged description with classpath.
6267 (setSendBufferSize): Merged description with classpath.
6268 (getReceiveBufferSize): Merged description with classpath.
6269 (setReceiveBufferSize): Merged description with classpath.
6270
6271 2003-01-04 Tom Tromey <tromey@redhat.com>
6272
6273 * java/awt/List.java: Merged with Classpath.
6274
6275 2003-01-03 Mark Wielaard <mark@klomp.org>
6276
6277 * java/io/FileDescriptor.java (position): New private field.
6278 * java/io/natFileDescriptorPosix.cc (write): Up position.
6279 (setLength): Use and set position.
6280 (seek): Set position.
6281 (getFilePointer): Return position.
6282 (read): Up position.
6283
6284 2003-01-03 Mark Wielaard <mark@klomp.org>
6285
6286 Merge with Classpath:
6287 * java/io/ObjectStreamClass.java (lookup): Split method and call
6288 lookupForClassObject().
6289 (lookupForClassObject): New method.
6290 (isProxyClass): New field.
6291 (setClass): Set isProxyClass, add object to classLookupTable, set
6292 superClass and calculateOffsets.
6293 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6294 and not a proxy class.
6295 (setFields): Set accessible true for serialPersistentFields.
6296 (getClassUID): Same for suid. And check if suid is of type long.
6297 (hasClassInitializer): Don't throw NoSuchMethodError.
6298
6299 2003-01-03 Mark Wielaard <mark@klomp.org>
6300
6301 * java/io/FileInputStream.java (finalize): Don't explicitly
6302 finalize FileDescriptor.
6303
6304 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6305
6306 * configure.host (sparc*-*): Enable bytecode interpreter.
6307
6308 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6309
6310 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6311 Don't throw RemoteException.
6312 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6313 throw RemoteException.
6314
6315 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6316
6317 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6318 proxyHost): New static fields.
6319 (<clinit>): Initialize new fields.
6320 (connect): Use proxy if necessary.
6321 (usingProxy): Implement.
6322
6323 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6324
6325 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6326 (TreeIterator.remove): Prefer IllegalStateException over
6327 ConcurrentModificationException, to match Sun.
6328
6329 2002-12-22 Anthony Green <green@redhat.com>
6330
6331 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6332
6333 2003-01-02 Mark Wielaard <mark@klomp.org>
6334
6335 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6336 public.
6337 (HTTP_USE_PROXY): Add field.
6338 (getResponseVals): Only set responseCode when not yet explicitly
6339 set by subclass.
6340
6341 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6342 Mark Wielaard <mark@klomp.org>
6343
6344 * java/util/zip/ZipFile.java (entries): Now HashMap.
6345 (readLeShort(DataInput, byte[])): Read from given byte array.
6346 (readLeInt(DataInput, byte[]): Likewise.
6347 (readLeShort(byte[] b, int off)): New method.
6348 (readLeInt(byte[] b, int off)): Likewise.
6349 (readEntries): Use byte arrays to read info in bigger chunks.
6350 (getEntries): Return HashMap.
6351 (getEntry): Use HashMap.
6352 (locBuf): New private field.
6353 (checkLocalHeader): Use locBuf to read info in one chunk.
6354 (getInputStream): Use entries HashMap, wrap PartialInputStream
6355 in BufferedInputStream.
6356 (ZipEntryEnumeration): Use HashMap and Interator.
6357
6358 2003-01-02 Mark Wielaard <mark@klomp.org>
6359 Jeroen Frijters <jeroen@sumatra.nl>
6360
6361 * java/net/URLClassLoader.java (Resource.getCodeSource):
6362 Fix check certs == null.
6363 (getCanonicalFileURL): Removed method.
6364 (JarURLLoader): Don't call removed method.
6365 (FileURLLoader): Likewise.
6366 (FileURLLoader.getResource): Don't canonicalize file name.
6367
6368 2003-01-01 Tom Tromey <tromey@redhat.com>
6369
6370 * Makefile.in: Rebuilt.
6371 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6372 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6373 java/awt/BufferCapabilities.java, java/awt/Button.java,
6374 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6375 java/awt/Container.java, java/awt/Cursor.java,
6376 java/awt/EventQueue.java, java/awt/FileDialog.java,
6377 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6378 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6379 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6380 java/awt/Scrollbar.java, java/awt/TextArea.java,
6381 java/awt/TextField.java, java/awt/color/CMMException.java,
6382 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6383 java/awt/color/ProfileDataException.java,
6384 java/awt/datatransfer/Clipboard.java,
6385 java/awt/datatransfer/DataFlavor.java,
6386 java/awt/datatransfer/FlavorMap.java,
6387 java/awt/datatransfer/SystemFlavorMap.java,
6388 java/awt/dnd/DragGestureEvent.java,
6389 java/awt/dnd/DragGestureRecognizer.java,
6390 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6391 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6392 java/awt/im/InputMethodHighlight.java,
6393 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6394 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6395
6396 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6397 `op' to BufferedImageOp.
6398
6399 2002-12-31 Tom Tromey <tromey@redhat.com>
6400
6401 Fix for PR libgcj/7416:
6402 * javax/naming/InitialContext.java (init): Use
6403 gnu.classpath.home.url.
6404 * java/security/Security.java: Use new properties.
6405 (loadProviders): Accept base url; use it.
6406 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6407 gnu.classpath.home.url.
6408 (gnu.classpath.home.url): Define.
6409 (gnu.classpath.vm.shortname): Likewise.
6410
6411 2002-12-31 Tom Tromey <tromey@redhat.com>
6412 Ranjit Mathew <rmathew@hotmail.com>
6413
6414 Fix for PR libgcj/8997:
6415 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6416 Include platform.h.
6417 * include/posix.h (_Jv_platform_usleep): New function.
6418 * include/win32.h (_Jv_platform_usleep): New function.
6419
6420 2002-12-29 Tom Tromey <tromey@redhat.com>
6421
6422 * gcj/javaprims.h: Updated.
6423 * scripts/classes.pl (scan): Removed stray semicolon.
6424
6425 2002-12-30 Mark Wielaard <mark@klomp.org>
6426
6427 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6428 if zero or smaller.
6429
6430 2002-12-30 Mark Wielaard <mark@klomp.org>
6431
6432 * java/util/Properties (formatForOutput): Don't fall through to
6433 default case after escaping character.
6434
6435 2002-12-30 Mark Wielaard <mark@klomp.org>
6436
6437 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6438 against count.
6439
6440 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6441
6442 * boehm.cc: Remove stray semicolon.
6443 * interpret.cc: Likewise.
6444 * prims.cc: Likewise.
6445 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6446 earlier to ensure default arguments are processed.
6447 * gcj/array.h (JArray): Add forward declaration.
6448 (elements): Likewise.
6449 * gcj/javaprim.h: Remove stray semicolons.
6450 * include/bohm-gc.h: Likewise.
6451 * include/jni.h: Likewise.
6452 * include/jvm.h: Likewise.
6453 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6454
6455 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6456
6457 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6458 of catch_type.
6459 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6460 idt tables after initializing superclass.
6461 * java/lang/natClassLoader.cc (uaddr): New typedef.
6462 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6463 if they are constant pool indicies. Don't link vtable, otable yet.
6464
6465 2002-12-21 Anthony Green <green@redhat.com>
6466
6467 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6468 libraries.
6469 * Makefile.in: Rebuilt.
6470
6471 2002-12-19 Anthony Green <green@redhat.com>
6472
6473 * Makefile.am (ordinary_java_source_files): Add
6474 org/xml/sax/helpers/NewInstance.java.
6475 * Makefile.in: Rebuilt.
6476 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6477 org/xml/sax/helpers/package.html: New files.
6478 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6479 http://www.saxproject.org.
6480
6481 2002-12-19 Andrew Haley <aph@redhat.com>
6482
6483 * java/util/natResourceBundle.cc: Include
6484 ArrayIndexOutOfBoundsException.h.
6485 (getCallingClassLoader): Don't put upper bound on stack search.
6486 Catch ArrayIndexOutOfBoundsException.
6487
6488 2002-12-19 Tom Tromey <tromey@redhat.com>
6489
6490 * libtool-version: Increased `current'.
6491
6492 2002-12-19 Tom Tromey <tromey@redhat.com>
6493
6494 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6495 comment.
6496 * java/lang/ClassLoader.java (defineClass): Use chained
6497 exception when rethrowing.
6498 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6499 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6500 constants.
6501 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6502 (_Jv_PrepareClass): Use it.
6503 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6504 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6505 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6506 (Class): _Jv_PrepareMissingMethods now friend.
6507 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6508 Record `NULL' for system class loader.
6509 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6510 system class loader.
6511 (_Jv_FindClassInCache): Likewise.
6512 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6513 (_Jv_FindClass): Special case system class loader.
6514 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6515 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6516 vtable slots.
6517 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6518 in a final class.
6519 (_getDeclaredMethod): Don't return synthetic methods.
6520 (getDeclaredMethods): Likewise.
6521 (_getMethod): Likewise.
6522 (_getMethods): Likewise.
6523
6524 2002-12-18 Raif Naffah <raif@fl.net.au>
6525
6526 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6527 canonical form after divide().
6528 (modInverse): Likewise.
6529
6530 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6531 Mark Wielaard <mark@klomp.org>
6532
6533 * java/security/SecurityRandom (digest): Removed field.
6534 (SecureRandom): Check all providers for case-insensitive SecureRandom
6535 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6536 if necessary.
6537 (getInstance(String,Provider,boolean): New method.
6538 (getInstance(String)): Use new method.
6539 (getInstance(String,String)): Likewise.
6540 (getInstance(String,Provider)): Likewise.
6541
6542 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6543
6544 * java/security/Security.java (loadProviders): Increment i only once.
6545
6546 2002-12-12 Mark Wielaard <mark@klomp.org>
6547
6548 * java/lang/ClassLoader.java (resolveClass0): Transform
6549 ClassNotFoundException to NoClassDefFoundError. Transform all other
6550 throwables to LinkageError.
6551
6552 2002-12-11 Tom Tromey <tromey@redhat.com>
6553
6554 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6555
6556 * java/lang/ClassLoader.java (loadedClasses): New field.
6557 (defineClass): Fixed indentation. Put new class in
6558 loadedClasses.
6559 (findLoadedClass): Implement here.
6560 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6561
6562 2002-12-10 Tom Tromey <tromey@redhat.com>
6563
6564 * Makefile.in: Rebuilt.
6565 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6566 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6567 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6568 * java/lang/natClassLoader.cc
6569 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6570
6571 2002-12-10 Mark Wielaard <mark@klomp.org>
6572 Tom Tromey <tromey@redhat.com>
6573
6574 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6575 (JarURLLoader): Use it.
6576 (FileURLLoader): Likewise.
6577 (JarURLResource.getURL): Use chained exception.
6578 (FileResource.getURL): Likewise.
6579 (FileURLLoader.getResource): Use canonical file name.
6580 (addURL): Indentation fix.
6581
6582 2002-12-10 Tom Tromey <tromey@redhat.com>
6583
6584 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6585 From Laurent Bardet <l.bardet@magic.fr>.
6586
6587 2002-12-09 Tom Tromey <tromey@redhat.com>
6588
6589 * include/win32.h (_Jv_platform_solib_prefix): New define.
6590 (_Jv_platform_solib_suffix): Likewise.
6591 * include/posix.h (_Jv_platform_solib_prefix): New define.
6592 (_Jv_platform_solib_suffix): Likewise.
6593 * java/lang/natRuntime.cc: Include StackTrace.h.
6594 (_load): Use findLibrary and new platform defines.
6595 (nativeGetLibname): Use new platform defines.
6596
6597 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6598 `t' won't be null.
6599
6600 2002-12-08 Mark Wielaard <mark@klomp.org>
6601
6602 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6603 cache remote jar files.
6604 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6605 add File.separator to URL when it is a directory.
6606 * java/lang/ClassLoader.java: Add Classpath javadoc.
6607 (parent): final.
6608 (getParent): Add (disabled) security check.
6609 (findLibrary): New default method.
6610 * java/net/JarURLConnection.java (getManifest): Implement.
6611 (getInputStream): Only create InputStream when entry exists.
6612 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6613 when they exist.
6614 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6615
6616 2002-12-08 Mark Wielaard <mark@klomp.org>
6617
6618 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6619 (lastDefaultLocale): New field.
6620 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6621 resourceBundleCache.
6622
6623 2002-12-06 Mark Wielaard <mark@klomp.org>
6624
6625 * java/net/InetAddress.java (toString): Use hostname when not null,
6626 don't do an explicit reverse getHostName() lookup.
6627 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6628 NullPointerException.
6629
6630 2002-12-06 Tom Tromey <tromey@redhat.com>
6631
6632 * include/java-interp.h (class _Jv_InterpMethod): Added
6633 JV_MARKOBJ_DECL.
6634 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6635 mark `prepared' field of interpreted method.
6636 * interpret.cc (compile): Use _Jv_AllocBytes.
6637
6638 2002-12-05 Andrew Haley <aph@redhat.com>
6639
6640 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6641 #ifdef (HAVE_BACKTRACE) around the whole function body.
6642
6643 2002-12-05 Tom Tromey <tromey@redhat.com>
6644
6645 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6646 * resolve.cc: Don't include AbstractMethodError.h.
6647 (_Jv_abstractMethodError): Removed.
6648 * defineclass.cc (handleMethodsBegin): Initialize method index to
6649 -1.
6650 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6651 method index for "new" final method.
6652 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6653 isVirtualMethod. Added `flags' argument.
6654 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6655 class.
6656
6657 2002-12-04 Tom Tromey <tromey@redhat.com>
6658
6659 * java/net/SocketPermission.java (hashCode): Rewrote.
6660
6661 2002-12-04 Tom Tromey <tromey@redhat.com>
6662
6663 * Makefile.in: Rebuilt.
6664 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6665 natResourceBundle.
6666 * java/util/ResourceBundle.java (Security): Removed.
6667 (getCallingClassLoader): Now native.
6668 * java/util/natResourceBundle.cc: New file.
6669 * java/lang/natVMSecurityManager.cc: New file.
6670 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6671
6672 2002-12-03 Mark Wielaard <mark@klomp.org>
6673
6674 * java/util/jar/JarFile.java (manifest): Not final.
6675 (manifestRead): New field.
6676 (JarFile): Don't read Manifest in constructor.
6677 (getManifest): New method.
6678 (JarEnumeration.nextElement): Use new method.
6679 (getEntry): Likewise.
6680 * java/util/zip/ZipFile.java (name): Final.
6681 (raf): Likewsie.
6682 (entries): Change type to Hashtable.
6683 (closed): New field.
6684 (ZipFile): Don't read enties in constructor.
6685 (readEntries): Use Hashtable.
6686 (close): Set new close flag and set entries to null inside
6687 synchronized block.
6688 (entries): Contruct enumeration using new getEntries() method and
6689 entries Hashtable.
6690 (getEntryIndex): Removed.
6691 (getEntries): New method.
6692 (getEntry): Use new getEntries() method and entries Hastable.
6693 (getInputStream): Likewise.
6694 (size): Return getEntries().size().
6695 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6696 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6697 (time): Removed
6698 (dostime): New field.
6699 (zipFileIndex): Removed.
6700 (ZipEntry(ZipEntry)): Copy dostime.
6701 (setDOSTime): Now final and doesn't convert dos time.
6702 (getDOSTime): Likewise.
6703 (setTime): Convert dos time.
6704 (getTime): Likewise.
6705 (getCalendar): New method.
6706 (setExtra): Use setTime().
6707 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6708
6709 2002-12-03 Tom Tromey <tromey@redhat.com>
6710
6711 * java/lang/Character.java (forDigit): Formatting fix.
6712
6713 2002-12-03 Raif Naffah <raif@fl.net.au>
6714
6715 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6716 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6717 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6718
6719 2002-12-03 Andrew Haley <aph@redhat.com>
6720
6721 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6722 _Jv_PushClass.
6723 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6724 (_Jv_PopClass): New.
6725 (_Jv_PushClass): New.
6726 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6727 discover the ClassLoader of our caller.
6728 (_Jv_CheckArrayStore): Don't check that a class is assignment
6729 compatible with Object.
6730 * java/lang/natVMTHrowable.cc: Delete.
6731 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6732 java.lang.VMThrowable.
6733 (StackTrace(), StackTrace(int)): New constructors.
6734 (classAt, methodAt, update, methodAtAddress): New methods.
6735 (map): New field.
6736 * java/lang/VMThrowable.java: Use StackTrace instead of
6737 natVMTHrowable.
6738 * java/lang/Class.h (getClassLoaderInternal): New.
6739 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6740 Be friendly with gnu::gcj::runtime::StackTrace.
6741 (Object.chain): New field.
6742 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6743 gnu::gcj::runtime::StackTrace.
6744 * gnu/gcj/runtime/natStackTrace.cc: New file.
6745 * gnu/gcj/runtime/MethodRef.java: New file.
6746 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6747 instead of getClassLoader().
6748 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6749 java::lang::VMThrowable.
6750 * Makefile.am (core_java_source_files): Add MethodRef.java,
6751 StackTrace.java.
6752 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6753 * Makefile.in: Rebuild.
6754
6755 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6756
6757 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6758 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6759 yes also for sh-linux* and sh[34]*-linux*.
6760 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6761 set SIGNAL_HANDLER to use DWARF2 exception for them.
6762 * configure: Regenerate.
6763
6764 2002-12-02 Tom Tromey <tromey@redhat.com>
6765
6766 * jni.cc: Added `name' argument.
6767 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6768 `const char *' argument.
6769 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6770
6771 2002-12-01 Tom Tromey <tromey@redhat.com>
6772
6773 Bug compatibility, for PR libgcj/8738:
6774 * java/io/CharArrayWriter.java (close): Do nothing.
6775 (flush): Likewise.
6776 (reset): Don't touch `closed'.
6777 (write(int)): Don't throw IOException.
6778 (write(char[],int,int)): Likewise.
6779 (write(String,int,int)): Likewise.
6780 (closed): Removed.
6781
6782 2002-12-01 Mark Wielaard <mark@klomp.org>
6783
6784 * java/lang/SecurityManager.java: Remerge comments, indenting and
6785 checkXXX methods with Classpath.
6786
6787 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6788
6789 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6790 getNormalizedComponents): Fix calculation which was using one too
6791 many bits in the unnormalized format.
6792
6793 2002-11-29 Gary Benson <gbenson@redhat.com>
6794
6795 For PR libgcj/8759:
6796 * java/beans/Introspector.java (flushCaches): New method.
6797 (flushFromCaches): Likewise.
6798
6799 2002-11-29 Michael Koch <konqueror@gmx.de>
6800
6801 * java/nio/channels/DatagramChannel.java
6802 (open): Added exception documentation.
6803 (write): Added exception documentation.
6804 (connect): Added exception documentation.
6805 (disconnect): Added exception documentation.
6806 (isConnected): Added exception documentation.
6807 (read): Added exception documentation.
6808 (receive): Added exception documentation.
6809 (send): Added exception documentation.
6810 (validOps): Added exception documentation.
6811 * java/nio/channels/SocketChannel.java
6812 (open): Added exception documentation.
6813 (read): Added exception documentation.
6814 (write): Added exception documentation.
6815 (connect): Added exception documentation.
6816 (finishConnect): Added exception documentation.
6817
6818 2002-11-29 Michael Koch <konqueror@gmx.de>
6819
6820 * gnu/java/nio/DatagramChannelImpl:
6821 (fd): New member variable to store file descriptor of socket.
6822 * gnu/java/nio/SelectionKeyImpl.java:
6823 (ops): Removed.
6824 (readyOps): New member variable.
6825 (interestOps): New member variable.
6826 (readyOps): Implemented.
6827 (readyOps): New method to set member variable readyOps.
6828 (interestOps): Replaced ops by interestOps.
6829 * gnu/java/nio/SelectorImpl.java:
6830 (SelectorImpl): Initialize key sets.
6831 (select): Call select with -1 instead of Long.MAX_VALUE).
6832 (java_do_select): Make it a native method.
6833 (getFDsAsArray): New helper method.
6834 (select): Remove canceled keys, give only interested file discriptors
6835 to java_do_select, set ready ops.
6836 (add): No need to initialize keys set here.
6837 (add_selected): No need to initialize selected set here.
6838 (deregisterCanceledKeys): New helper method.
6839 (register): Set interest ops, set attachments, added handling of datagram
6840 channels.
6841 * gnu/java/nio/ServerSocketChannelImpl:
6842 (SocketAccept): Renamed from NioSocketAccept.
6843 (implConfigureBlocking): Implemented.
6844 (accept): Use SocketAccept instead of NioSocketAccept.
6845 * gnu/java/nio/SocketChannelImpl:
6846 Reactivate native methods.
6847
6848 2002-11-29 Michael Koch <konqueror@gmx.de>
6849
6850 * gnu/java/nio/natByteBufferImpl.cc,
6851 gnu/java/nio/natCharBufferImpl.cc,
6852 gnu/java/nio/natDoubleBufferImpl.cc,
6853 gnu/java/nio/natFloatBufferImpl.cc,
6854 gnu/java/nio/natIntBufferImpl.cc,
6855 gnu/java/nio/natLongBufferImpl.cc,
6856 gnu/java/nio/natSelectorImpl.cc,
6857 gnu/java/nio/natServerSocketChannelImpl.cc,
6858 gnu/java/nio/natShortBufferImpl.cc,
6859 gnu/java/nio/natSocketChannelImpl.cc:
6860 New files that implement native functionalities.
6861
6862 2002-11-29 Michael Koch <konqueror@gmx.de>
6863
6864 * gnu/java/nio/ByteBufferImpl.java
6865 (ByteBufferImpl): Moved position() after limit.
6866 (nio_*): Use native implementation.
6867 * gnu/java/nio/CharBufferImpl.java:
6868 Reformated.
6869 (endian): New member variable string endianess of buffer.
6870 (CharBufferImpl): Moved position() after limit.
6871 (nio_*): Use native implementation.
6872 (subSequence): Implemented.
6873 * gnu/java/nio/DoubleBufferImpl.java
6874 (DoubleBufferImpl): Moved position() after limit.
6875 (nio_*): Use native implementation.
6876 * gnu/java/nio/FloatBufferImpl.java
6877 Reformated.
6878 (FloatBufferImpl): Moved position() after limit.
6879 (nio_*): Use native implementation.
6880 * gnu/java/nio/IntBufferImpl.java
6881 Added needed imports, Reformated.
6882 (IntBufferImpl): Moved position() after limit.
6883 (nio_*): Use native implementation.
6884 * gnu/java/nio/LongBufferImpl.java
6885 Reformated.
6886 (LongBufferImpl): Moved position() after limit.
6887 (nio_*): Use native implementation.
6888 * gnu/java/nio/ShortBufferImpl.java
6889 Reformated.
6890 (ShortBufferImpl): Moved position() after limit.
6891 (nio_*): Use native implementation.
6892
6893 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6894
6895 * java/util/Locale.java (toString): Improve efficiency if country
6896 and variant are both empty.
6897
6898 2002-11-26 Tom Tromey <tromey@redhat.com>
6899
6900 * verify.cc (pop_init_ref): New method.
6901 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6902 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6903 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6904 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6905 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6906 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6907 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6908 let `this' argument be uninitialized. Don't let `null' be passed
6909 as `this' to construtor.
6910
6911 2002-11-26 Mark Wielaard <mark@klomp.org>
6912
6913 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6914 * javax/transaction/HeuristicMixedException.java: Likewise.
6915 * javax/transaction/HeuristicRollbackException.java: Likewise.
6916 * javax/transaction/InvalidTransactionException.java: Likewise.
6917 * javax/transaction/NotSupportedException.java: Likewise.
6918 * javax/transaction/RollbackException.java: Likewise.
6919 * javax/transaction/Status.java: Likewise.
6920 * javax/transaction/Synchronization.java: Likewise.
6921 * javax/transaction/SystemException.java: Likewise.
6922 * javax/transaction/Transaction.java: Likewise.
6923 * javax/transaction/TransactionManager.java: Likewise.
6924 * javax/transaction/TransactionRequiredException.java: Likewise.
6925 * javax/transaction/TransactionRolledbackException.java: Likewise.
6926 * javax/transaction/UserTransaction.java: Likewise.
6927 * javax/transaction/xa/XAException.java: Likewise.
6928 * javax/transaction/xa/XAResource.java: Likewise.
6929 * javax/transaction/xa/Xid.java: Likewise.
6930
6931 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6932
6933 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6934 define.
6935 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6936 * include/posix.h (socklen_t): Define if not already defined.
6937
6938 2002-11-25 Tom Tromey <tromey@redhat.com>
6939
6940 * verify.cc (type::compatible): Backed out broken change.
6941
6942 * verify.cc (type::compatible): Check initialization status
6943 first.
6944 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6945 Don't use NULLCHECK.
6946
6947 2002-11-23 H.J. Lu <hjl@gnu.org>
6948
6949 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6950 Include ../config/accross.m4.
6951 * aclocal.m4; Rebuild.
6952 * configure: Likewise.
6953
6954 2002-11-23 Mark Wielaard <mark@klomp.org>
6955
6956 * javax/naming/AuthenticationException.java: Update copyright header.
6957 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6958 * javax/naming/Binding.java: Likewise.
6959 * javax/naming/CannotProceedException.java: Likewise.
6960 * javax/naming/CommunicationException.java: Likewise.
6961 * javax/naming/CompositeName.java: Likewise.
6962 * javax/naming/CompoundName.java: Likewise.
6963 * javax/naming/ConfigurationException.java: Likewise.
6964 * javax/naming/Context.java: Likewise.
6965 * javax/naming/ContextNotEmptyException.java: Likewise.
6966 * javax/naming/InitialContext.java: Likewise.
6967 * javax/naming/InsufficientResourcesException.java: Likewise.
6968 * javax/naming/InterruptedNamingException.java: Likewise.
6969 * javax/naming/LimitExceededException.java: Likewise.
6970 * javax/naming/LinkException.java: Likewise.
6971 * javax/naming/LinkLoopException.java: Likewise.
6972 * javax/naming/LinkRef.java: Likewise.
6973 * javax/naming/MalformedLinkException.java: Likewise.
6974 * javax/naming/NameAlreadyBoundException.java: Likewise.
6975 * javax/naming/NameClassPair.java: Likewise.
6976 * javax/naming/NameNotFoundException.java: Likewise.
6977 * javax/naming/NameParser.java: Likewise.
6978 * javax/naming/NamingEnumeration.java: Likewise.
6979 * javax/naming/NamingSecurityException.java: Likewise.
6980 * javax/naming/NoInitialContextException.java: Likewise.
6981 * javax/naming/NoPermissionException.java: Likewise.
6982 * javax/naming/NotContextException.java: Likewise.
6983 * javax/naming/OperationNotSupportedException.java: Likewise.
6984 * javax/naming/PartialResultException.java: Likewise.
6985 * javax/naming/Reference.java: Likewise.
6986 * javax/naming/Referenceable.java: Likewise.
6987 * javax/naming/ReferralException.java: Likewise.
6988 * javax/naming/ServiceUnavailableException.java: Likewise.
6989 * javax/naming/SizeLimitExceededException.java: Likewise.
6990 * javax/naming/TimeLimitExceededException.java: Likewise.
6991 * javax/naming/directory/Attribute.java: Likewise.
6992 * javax/naming/directory/AttributeInUseException.java: Likewise.
6993 * javax/naming/directory/AttributeModificationException.java: Likewise.
6994 * javax/naming/directory/Attributes.java: Likewise.
6995 * javax/naming/directory/BasicAttribute.java: Likewise.
6996 * javax/naming/directory/BasicAttributes.java: Likewise.
6997 * javax/naming/directory/DirContext.java: Likewise.
6998 * javax/naming/directory/InitialDirContext.java: Likewise.
6999 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7000 Likewise.
7001 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7002 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7003 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7004 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7005 * javax/naming/directory/ModificationItem.java: Likewise.
7006 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7007 * javax/naming/directory/SchemaViolationException.java: Likewise.
7008 * javax/naming/directory/SearchControls.java: Likewise.
7009 * javax/naming/directory/SearchResult.java: Likewise.
7010 * javax/naming/event/EventContext.java: Likewise.
7011 * javax/naming/event/EventDirContext.java: Likewise.
7012 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7013 * javax/naming/event/NamingEvent.java: Likewise.
7014 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7015 * javax/naming/event/NamingListener.java: Likewise.
7016 * javax/naming/event/ObjectChangeListener.java: Likewise.
7017 * javax/naming/ldap/Control.java: Likewise.
7018 * javax/naming/ldap/ControlFactory.java: Likewise.
7019 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7020 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7021 * javax/naming/ldap/HasControls.java: Likewise.
7022 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7023 * javax/naming/ldap/LdapContext.java: Likewise.
7024 * javax/naming/ldap/LdapReferralException.java: Likewise.
7025 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7026 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7027 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7028 * javax/naming/spi/DirObjectFactory.java: Likewise.
7029 * javax/naming/spi/DirStateFactory.java: Likewise.
7030 * javax/naming/spi/DirectoryManager.java: Likewise.
7031 * javax/naming/spi/InitialContextFactory.java: Likewise.
7032 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7033 * javax/naming/spi/NamingManager.java: Likewise.
7034 * javax/naming/spi/ObjectFactory.java: Likewise.
7035 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7036 * javax/naming/spi/ResolveResult.java: Likewise.
7037 * javax/naming/spi/Resolver.java: Likewise.
7038 * javax/naming/spi/StateFactory.java: Likewise.
7039
7040 * javax/naming/spi/NamingManager.java (ofb): Package private.
7041
7042 2002-11-21 Mark Wielaard <mark@klomp.org>
7043
7044 * java/net/URL.java: Merge with Classpath (partly).
7045 * java/net/URLStreamHandler: Merge with Classpath.
7046
7047 2002-11-22 Michael Koch <konqueror@gmx.de>
7048
7049 * include/posix.h:
7050 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7051 * include/win32.h:
7052 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7053 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7054
7055 2002-11-21 Michael Koch <konqueror@gmx.de>
7056
7057 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7058 Only the new network functions should be in it.
7059
7060 2002-11-21 Michael Koch <konqueror@gmx.de>
7061
7062 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7063 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7064
7065 2002-11-21 Michael Koch <konqueror@gmx.de>
7066
7067 * java/nio/channels/AsynchronousCloseException.java,
7068 java/nio/channels/CancelledKeyException.java,
7069 java/nio/channels/ClosedByInterruptException.java,
7070 java/nio/channels/ConnectionPendingException.java,
7071 java/nio/channels/FileLockInterruptionException.java,
7072 java/nio/channels/IllegalSelectorException.java,
7073 java/nio/channels/NoConnectionPendingException.java,
7074 java/nio/channels/NonReadableChannelException.java,
7075 java/nio/channels/NonWritableChannelException.java,
7076 java/nio/channels/NotYetBoundException.java,
7077 java/nio/channels/NotYetConnectedException.java,
7078 java/nio/channels/OverlappingFileLockException.java,
7079 java/nio/channels/UnresolvedAddressException.java,
7080 java/nio/channels/UnsupportedAddressTypeException.java:
7081 New files.
7082 * Makefile.am (ordinary_java_source_files): Added new files.
7083 * Makefile.in: Regenerated.
7084
7085 2002-11-21 Michael Koch <konqueror@gmx.de>
7086
7087 * include/posix.h
7088 (_Jv_socket): New method.
7089 (_Jv_connect): New method.
7090 (_Jv_close): New method.
7091 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7092 (_Jv_bind): New method.
7093 (_Jv_listen): New method.
7094 (_Jv_write): New method.
7095 (_Jv_read): New method.
7096 * include/win32.h
7097 (_Jv_socket): New method.
7098 (_Jv_connect): New method.
7099 (_Jv_close): New method.
7100 (_Jv_bind): New method.
7101 (_Jv_listen): New method.
7102 (_Jv_write): New method.
7103 (_Jv_read): New method.
7104 * java/net/natNetworkInterface.cc:
7105 Include platform.h, removed inclusion of socket.h
7106 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7107 ::close() by _Jv_close().
7108 * java/net/natPlainDatagramSocketImpl.cc:
7109 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7110 added some new lines to make code more readable.
7111 (create): Replaced ::socket() by _Jv_socket().
7112 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7113 * java/net/natPlainSocketImpl.cc:
7114 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7115 removed include of socket.h, removed some windows defines
7116 (now in include/win32.h).
7117 (create): Replaced ::socket() by _Jv_socket().
7118 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7119 (write): Replaced ::read by _Jv_write().
7120 (read): Replaced ::read by _Jv_read().
7121
7122 2002-11-20 Michael Koch <konqueror@gmx.de>
7123
7124 * Makefile.am (ordinary_java_source_files):
7125 Added java/nio/channels/FileChannel.java.
7126 * Makefile.in: Regenerated.
7127
7128 2002-11-20 Michael Koch <konqueror@gmx.de>
7129
7130 * java/io/FileInputStream.java
7131 (getChannel): New method.
7132 * java/io/FileOutputStream.java
7133 (getChannel): New method.
7134 * java/net/ServerSocket.java
7135 (bind): Removed duplicate code and called another bind method instead.
7136 * java/nio/channels/SelectionKey.java
7137 (isValid): Removed wrong exception documentation.
7138 * java/nio/channels/ServerSocketChannel.java
7139 (accept): Added exception documentation.
7140 (open): Fixed typo, added exception documentation.
7141 * java/nio/channels/spi/AbstractSelectableChannel.java
7142 (implCloseChannel): Added exception documentation.
7143 (add): Reformated.
7144 (register): Added exception documentation.
7145
7146 2002-11-20 Andreas Jaeger <aj@suse.de>
7147
7148 * configure: Regenerated with new libtool.m4.
7149
7150 2002-11-19 Tom Tromey <tromey@redhat.com>
7151
7152 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7153 `referent'.
7154 (finalize_referred_to_object): Don't modify `referent' or `copy'
7155 fields.
7156 (add_to_hash): Correctly set `n->next' when updating list.
7157 * java/lang/ref/Reference.java (enqueue): Return false if already
7158 enqueued.
7159
7160 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7161
7162 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7163 to function and function pointer declarations in accordance with
7164 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7165 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7166 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7167 JNI function definitions.
7168
7169 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7170
7171 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7172 that was causing CoderResults to be cached, not WeakReferences
7173 to CoderResults.
7174
7175 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7176
7177 * java/security/KeyStore.java (getInstance): Fix
7178 comment and throw IllegalArgumentException if
7179 given provider is null.
7180 (getInstance): New method for jdk1.4 compatibility.
7181
7182 2002-11-18 Michael Koch <konqueror@gmx.de>
7183
7184 * java/net/PlainSocketImpl.java: Fix imports.
7185
7186 2002-11-18 Michael Koch <konqueror@gmx.de>
7187
7188 * java/nio/channels/SelectionKey.java
7189 (isValid): Added exception documentation.
7190 * java/nio/channels/Selector.java
7191 (open): Declare "throws IOException".
7192
7193 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7194
7195 * java/nio/charset/Charset.java
7196 (<clinit>): New method.
7197 (encode): Synchronize use of cached encoder object.
7198 (decode): Synchronize use of cached encoder object.
7199
7200 2002-11-18 Michael Koch <konqueror@gmx.de>
7201
7202 * gnu/java/nio/ByteBufferImpl.java,
7203 gnu/java/nio/CharBufferImpl.java,
7204 gnu/java/nio/DatagramChannelImpl.java,
7205 gnu/java/nio/DoubleBufferImpl.java,
7206 gnu/java/nio/FileChannelImpl.java,
7207 gnu/java/nio/FloatBufferImpl.java,
7208 gnu/java/nio/IntBufferImpl.java,
7209 gnu/java/nio/LongBufferImpl.java,
7210 gnu/java/nio/PipeImpl.java,
7211 gnu/java/nio/SelectionKeyImpl.java,
7212 gnu/java/nio/SelectorImpl.java,
7213 gnu/java/nio/SelectorProviderImpl.java,
7214 gnu/java/nio/ServerSocketChannelImpl.java,
7215 gnu/java/nio/ShortBufferImpl.java,
7216 gnu/java/nio/SocketChannelImpl.java,
7217 java/nio/DoubleBuffer.java,
7218 java/nio/FloatBuffer.java,
7219 java/nio/IntBuffer.java,
7220 java/nio/LongBuffer.java,
7221 java/nio/ShortBuffer.java,
7222 java/nio/channels/FileChannel.java: New files.
7223
7224 2002-11-18 Michael Koch <konqueror@gmx.de>
7225
7226 * Makefile.am (ordinary_java_source_files):
7227 Added java/nio/ReadOnlyBufferException.java and
7228 java/nio/channels/ClosedSelectorException.java.
7229 * Makefile.in: Regenerated.
7230
7231 2002-11-18 Michael Koch <konqueror@gmx.de>
7232
7233 * java/net/PlainSocketImpl.java: Reworked imports.
7234 * java/net/ServerSocket.java
7235 (ServerSocket): Create socket.
7236 * java/net/SocketAddress.java: Documentation added.
7237 * java/net/natPlainSocketImpl.cc: Reindented.
7238 * java/nio/ReadOnlyBufferException.java: New file
7239 * java/nio/channels/ClosedChannelException.java: Documentation added.
7240 * java/nio/channels/ClosedSelectorException.java: New file.
7241
7242 2002-11-17 Mark Wielaard <mark@klomp.org>
7243
7244 * java/net/HttpURLConnection.java ((getPermission): Take port
7245 into consideration.
7246 (getErrorStream): Implement.
7247
7248 2002-11-17 Mark Wielaard <mark@klomp.org>
7249
7250 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7251
7252 2002-11-16 Mark Wielaard <mark@klomp.org>
7253
7254 Integrate work by Raif S. Naffah (raif@fl.net.au)
7255 * java/security/DummyKeyPairGenerator.java (clone): New method.
7256 * java/security/DummyMessageDigest.java (clone): New method.
7257 (engineUpdate): Now public.
7258 (engineReset): Likewise.
7259 (engineDigest): Likewise.
7260 (engineGetDigestLength): New method.
7261 * java/security/DummySignature.java (clone): New method.
7262 * java/security/KeyPairGenerator.java (provider): Now package private.
7263 (getInstance(String)): Use getInstance(String,Provider).
7264 (getInstance(String,String): Use getInstance(String,Provider)
7265 (getInstance(String,Provider): New method.
7266 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7267 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7268 * java/security/MessageDigest.java (provider): Now package private.
7269 (getInstance(String): Use getInstance(String,Provider).
7270 (getInstance(String,String): Use getInstance(String,Provider)
7271 (getInstance(String,Provider): New method.
7272 * java/security/Provider.java (toCanonicalKey): New method.
7273 (get): New method that uses toCanonicalKey().
7274 (put): Use toCanonicalKey().
7275 (remove): Likewise.
7276 * java/security/Security.java (insertProviderAt): Provider index is one
7277 based, not zero based.
7278 (addProvider): Likewise.
7279 (removeProvider): Likewise.
7280 * java/security/Signature.java (provider): Now package private.
7281 (getInstance(String)): Use getInstance(String,Provider).
7282 (getInstance(String,String): Use getInstance(String,Provider)
7283 (getInstance(String,Provider): New method.
7284 (getInstance(String,String,Provider): Don't cast DummySignature.
7285
7286 2002-11-15 Tom Tromey <tromey@redhat.com>
7287
7288 For PR libgcj/8593:
7289 * java/util/zip/GZIPInputStream.java (read): Check file size.
7290 Look in inflater for remaining input bytes.
7291 (read4): Added buf and offset arguments.
7292
7293 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7294
7295 * java/applet/AppletContext.java: Fix typo and remove redundant
7296 modifiers.
7297
7298 2002-11-14 Tom Tromey <tromey@redhat.com>
7299
7300 * java/lang/natRuntime.cc (insertSystemProperties): Set
7301 gnu.classpath.home.
7302
7303 2002-11-13 Michael Koch <konqueror@gmx.de>
7304
7305 * java/nio/ByteBuffer.java
7306 (allocate): New method.
7307 (wrap): New method.
7308 (put): New method.
7309 (get): New method.
7310
7311 2002-11-13 Michael Koch <konqueror@gmx.de>
7312
7313 * java/nio/channels/AlreadyConnectedException.java:
7314 Removed unneeded import.
7315 (AlreadyConnectedException): Documentation added.
7316 * java/nio/channels/Pipe.java
7317 (SinkChannel.SinkChannel): Documentation added.
7318 (SinkChannel.validOps): New method.
7319 (SourceChannel.SourceChannel): Documentation added.
7320 (SourceChannel.validOps): New method.
7321 (Pipe): Documentation added.
7322 (open): Documentation added.
7323 (SinkChannel.channel): Documentation added.
7324 (SourceChannel.channel): Documentation added.
7325 * java/nio/channel/SelectableChannel.java
7326 (SelectableChannel): Documentation added.
7327 (blockingLock): Documentation added.
7328 (configureBlocking):Documentation added.
7329 (isBlocking):Documentation added.
7330 (isRegistered):Documentation added.
7331 (keyFor):Documentation added.
7332 (provider):Documentation added.
7333 (register): Documentation added.
7334 (validOps): Documentation added.
7335 * jaba/nio/channels/SelectionKey.java
7336 (SelectionKey): Documentation added.
7337 (attach): Documentation added.
7338 (attachment): Documentation added.
7339 (isAcceptable): Documentation added.
7340 (isConnetable): Documentation added.
7341 (isReadable): Documentation added.
7342 (isWritable): Documentation added.
7343 (cancel): Documentation added.
7344 (channel): Documentation added.
7345 (interestOps): Documentation added.
7346 (isValid): Documentation added.
7347 (readyOps): Documentation added.
7348 (selector): Documentation added.
7349 * jaba/nio/channels/Selector.java
7350 (Selector): Documentation added.
7351 (open): Documentation added.
7352 (close): Documentation added.
7353 (isOpen): Documentation added.
7354 (keys): Documentation added.
7355 (provider): Documentation added.
7356 (select): Documentation added.
7357 (selectedKeys): Documentation added.
7358 (selectNow): Documentation added.
7359 (wakeup): Documentation added.
7360 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7361 (AbstractInterruptibleChannel): Documentation added.
7362 (opened): Default to true;
7363 (begin): Documentation added.
7364 (close): Set opened to false, documentation added.
7365 (isOpen): Documentation added.
7366 * java/nio/channels/spi/AbstractSelectionKey.java
7367 (AbstractSelectionKey): Documentation added.
7368 (cancel): Documentation added.
7369 (isValid): Documentation added.
7370 * java/nio/channels/spi/AbstractSelector.java
7371 (AbstractSelector): Documentation added.
7372 (begin): Documentation added.
7373 (close): Documentation added.
7374 (isOpen): Documentation added.
7375 (deregister): Documentation added.
7376 (end): Documentation added.
7377 (provider): Documentation added.
7378 (implCloseSelector): Documentation added.
7379 (register): Documentation added.
7380 * java/nio/channels/spi/SelectorProvider.java
7381 (SelectorProvider): Documentation added.
7382 (openDatagramChannel): Documentation added.
7383 (openPipe): Documentation added.
7384 (openSelector): Documentation added.
7385 (openServerSocketChannel): Documentation added.
7386 (openSocketChannel): Documentation added.
7387 (provider): Documentation added.
7388
7389 2002-11-12 Michael Koch <konqueror@gmx.de>
7390
7391 * java/nio/Buffer.java: Implemented.
7392 * java/nio/CharBuffer.java: New file.
7393 * java/nio/InvalidMarkException.java: New file.
7394 * java/nio/channels/DatagramChannel.java: Implemented.
7395 * java/nio/channels/ServerSocketChannel.java: Implemented.
7396 * java/nio/channels/SocketChannel.java: Implemented.
7397 * java/nio/channels/spi/AbstractChannel.java: Removed.
7398 * java/nio/channels/spi/AbstractSelectableChannel.java:
7399 Implemented.
7400 * java/nio/charset/Charset.java:
7401 Merge from Classpath.
7402 * java/nio/charset/CharsetDecoder.java: New file.
7403 * java/nio/charset/CharsetEncoder.java: New file.
7404 * java/nio/charset/CoderResult.java: New file.
7405 * Makefile.am (ordinary_java_source_files): Added new files.
7406 * Makefile.in: Regenerated.
7407
7408 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7409
7410 * gnu/java/nio/charset/ISO_8859_1.java,
7411 gnu/java/nio/charset/Provider.java,
7412 gnu/java/nio/charset/US_ASCII.java,
7413 gnu/java/nio/charset/UTF_16.java,
7414 gnu/java/nio/charset/UTF_16BE.java,
7415 gnu/java/nio/charset/UTF_16Decoder.java,
7416 gnu/java/nio/charset/UTF_16Encoder.java,
7417 gnu/java/nio/charset/UTF_16LE.java,
7418 gnu/java/nio/charset/UTF_8.java: New files.
7419
7420 2002-11-11 Michael Koch <konqueror@gmx.de>
7421
7422 * java/nio/charset/CharacterCodingException.java:
7423 This class must be public.
7424 * java/nio/charset/CoderMalfunctionError.java:
7425 This class must be public.
7426 * java/nio/charset/CodingErrorAction.java:
7427 This class must be public.
7428 * java/nio/charset/IllegalCharsetNameException.java:
7429 This class must be public, better implementation.
7430 * java/nio/charset/MalformedInputException.java:
7431 This class must be public, better implementation.
7432 * java/nio/charset/UnmappableCharacterException.java:
7433 This class must be public, better implementation.
7434 * java/nio/charset/UnsupportedCharsetException.java:
7435 This class must be public, better implementation.
7436
7437 2002-11-11 Michael Koch <konqueror@gmx.de>
7438
7439 * java/nio/BufferOverflowException.java,
7440 java/nio/BufferUnderflowException.java: New file.
7441 * Makefile.am (ordinary_java_source_files):
7442 Added new files.
7443 * Makefile.in: Regenerated.
7444
7445 2002-11-10 Tom Tromey <tromey@redhat.com>
7446
7447 * java/awt/Container.java (validate): Use tree lock.
7448 (getComponent): Likewise.
7449 (getComponents): Likewise.
7450 (addImpl): Likewise.
7451 (remove): Likewise.
7452 (removeAll): Likewise.
7453 (processEvent): Fixed indentation.
7454 (getComponentAt): Use tree lock.
7455 (findComponentAt): Likewise.
7456 (removeNotify): Likewise.
7457 (isAncestorOf): Likewise.
7458 (list): Likewise.
7459 (visitChildren): Likewise.
7460 (findNextFocusComponent): Likewise.
7461 (addNotifyContainerChildren): Likewise.
7462 (getAccessibleChildrenCount): Likewise.
7463 (getAccessibleChild): Likewise.
7464
7465 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7466 (getSize): Likewise.
7467 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7468 (getSize): Likewise.
7469 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7470 (calcSize): Likewise.
7471 * java/awt/CardLayout.java (getSize): Use tree lock.
7472 (gotoComponent): Likewise.
7473 (layoutContainer): Likewise.
7474
7475 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7476 count is 0.
7477 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7478 count is 0.
7479
7480 * java/io/Externalizable.java, java/io/FilePermission.java,
7481 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7482 java/io/SerializablePermission.java, java/text/Format.java,
7483 java/util/AbstractMap.java, java/util/HashMap.java,
7484 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7485 versions from Classpath.
7486
7487 2002-11-10 Anthony Green <green@redhat.com>
7488
7489 * java/util/jar/Attributes.java (Name): Fix name check.
7490
7491 2002-11-10 Mark Wielaard <mark@klomp.org>
7492
7493 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7494 with getName() as message.
7495 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7496 type as message.
7497
7498 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7499 unused.
7500
7501 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7502
7503 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7504 for Win32. JNICALL has been defined to __stdcall to be compatible
7505 with Sun's JDKs.
7506
7507 2002-11-10 Tom Tromey <tromey@redhat.com>
7508
7509 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7510 (setRows): Check newRows, not rows.
7511
7512 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7513
7514 2002-11-09 Tom Tromey <tromey@redhat.com>
7515
7516 * java/applet/Applet.java, java/applet/AppletContext.java,
7517 java/applet/AppletStub.java, java/applet/AudioClip.java,
7518 java/awt/CardLayout.java,
7519 java/awt/ContainerOrderFocusTraversalPolicy.java,
7520 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7521 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7522 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7523 java/awt/color/ICC_ColorSpace.java,
7524 java/awt/color/ICC_Profile.java,
7525 java/awt/color/ICC_ProfileGray.java,
7526 java/awt/color/ICC_ProfileRGB.java,
7527 java/awt/datatransfer/DataFlavor.java,
7528 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7529 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7530 New versions from Classpath.
7531 * Makefile.in: Rebuilt.
7532 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7533 ICC_ProfileRGB.
7534
7535 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7536 display policy.
7537
7538 * java/awt/List.java (processEvent): Added missing `else's.
7539
7540 * java/awt/Window.java (show): validate() before showing. Make
7541 parent displayable.
7542 (isDisplayable): New method.
7543
7544 2002-11-07 Mark Wielaard <mark@klomp.org>
7545
7546 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7547 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7548
7549 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7550 annotation.
7551 (loadClass): Take String as codebases.
7552 (getClassAnnotation): Use MyClassLoader annotations.
7553 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7554 call exportObject(this).
7555
7556 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7557 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7558 (setAnnotation): Don't set locBytesStream and locStream.
7559 (replaceObject): Removed.
7560 (flush): Don't test locStream.
7561 (getLocBytes): LikeWise.
7562 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7563 (leaseCache): New field.
7564 (dirty): Use leaseCache.
7565 (LeaseRecord): New inner class.
7566 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7567 explicitly call exportObject().
7568 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7569 false to communicate with Sun JDK130.
7570 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7571 * gnu/java/rmi/server/RMIObjectInputStream.java
7572 (UnicastConnectionManager): Removed field.
7573 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7574 Use UnicastServer.getExportedRef().
7575 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7576 (expireTime): Likewise.
7577 (CONNECTION_TIMEOUT): Likewise.
7578 (disconnect): Call sock.close().
7579 (isExpired): New method.
7580 (resetTime): Likewise.
7581 (run): Use do while loop and catch Exception for discardConnection().
7582 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7583 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7584 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7585 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7586 (exportObject): Use refcache.
7587 (unexportObject): Likewise.
7588 (getExportedRef): New method.
7589 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7590 constructor.
7591 (exportObject): Save manager.serverobj.
7592 (getStub): New method.
7593
7594 2002-11-07 Mark Wielaard <mark@klomp.org>
7595
7596 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7597 (getByte): Likewise.
7598 (getShort): Likewise.
7599 (getInt): Likewise.
7600 (getLong): Likewise.
7601 (getFloat): Likewise.
7602 (getDouble): Likewise.
7603 (get): Likewise.
7604 (setChar): Likewise.
7605 (setByte): Likewise.
7606 (setShort): Likewise.
7607 (setInt): Likewise.
7608 (setLong): Likewise.
7609 (setFloat): Likewise.
7610 (setDouble): Likewise.
7611
7612 2002-11-07 Michael Koch <konqueror@gmx.de>
7613
7614 * java/awt/Choice.java,
7615 java/awt/Container.java,
7616 java/awt/GridBagLayout.java:
7617 Fixed documentation.
7618 * java/awt/peer/ContainerPeer.java:
7619 Reindented.
7620
7621 2002-11-07 Michael Koch <konqueror@gmx.de>
7622
7623 * java/awt/color/ICC_Profile.java:
7624 Added missing constants.
7625 * java/awt/color/ICC_ColorSpace.java
7626 (getMinValue): Added dummy implementation.
7627 (getMaxValue): Added dummy implementation.
7628 * java/awt/datatransfer/DataFlavor.java
7629 (imageFlavor): Added.
7630 (isMimeTypeEqual): Must be final.
7631 (getDefaultRepresentationClass): Must be non-static.
7632 (getDefaultRepresentationClassAsString): Must be non-static.
7633 * java/awt/dnd/DragSourceContext.java
7634 (dragExit): Corrected argument.
7635 (dragDropEnd): Corrected argument.
7636 * java/awt/dnd/DragSourceListener.java.java
7637 (dragExit): Corrected argument.
7638 (dragDropEnd): Corrected argument.
7639 * java/awt/font/TextHitInfo.java
7640 (toString): Added stubbed implementation.
7641 * java/awt/geom/PathIterator.java:
7642 The constants must be static.
7643 * java/awt/image/VolatileImage.java
7644 (IMAGE_INCOMPATIBLE): Fixed typo.
7645 * java/awt/image/renderable/RenderableImage.java
7646 (HINTS_OBSERVED): Must be static.
7647 * java/beans/BeanInfo.java:
7648 Constants must be final.
7649
7650 2002-11-06 Tom Tromey <tromey@redhat.com>
7651
7652 From svens@it.uu.se. For PR libgcj/8481.
7653 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7654
7655 2002-11-06 Tom Tromey <tromey@redhat.com>
7656
7657 * jni.cc (array_from_valist): Assume that jlong won't be
7658 promoted.
7659
7660 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7661
7662 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7663 Return 20.
7664 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7665 Return 16.
7666
7667 2002-11-03 Tom Tromey <tromey@redhat.com>
7668
7669 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7670 VMClassLoader, not findClass.
7671
7672 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7673
7674 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7675 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7676 _Jv_DetermineVTableIndex, to determine vtable offset.
7677 (_Jv_DetermineVTableIndex): Remove.
7678 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7679
7680 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7681
7682 2002-11-03 Tom Tromey <tromey@redhat.com>
7683
7684 * java/nio/channels/AlreadyConnectedException.java: Extend
7685 IllegalStateException, per spec.
7686
7687 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7688
7689 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7690
7691 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7692
7693 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7694 size items.
7695
7696 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7697
7698 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7699 initial estimated size to avoid enlarge buffer frequently.
7700
7701 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7702
7703 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7704 ClassLoader when null.
7705 (ProxyType.hashCode): Loader null check no longer needed.
7706 (ProxyType.sameTypes): New method.
7707 (ProxyType.equals): Use new method.
7708
7709 2002-10-31 Mark Wielaard <mark@klomp.org>
7710
7711 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7712 length of String.
7713 * java/net/URLEncoder.java (encode): Likewise.
7714
7715 2002-10-31 Mark Wielaard <mark@klomp.org>
7716
7717 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7718 when stream is closed.
7719 (closeEntry): Likewise.
7720 (read): Likewise.
7721 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7722 ZipException when no entry active.
7723 (closeEntry): Likewise.
7724 (write): Likewise.
7725
7726 2002-11-02 Tom Tromey <tromey@redhat.com>
7727
7728 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7729 * java/lang/natClass.cc (initializeClass): Don't return just
7730 because self==thread.
7731
7732 For PR java/8415:
7733 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7734 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7735
7736 2002-11-02 Andreas Schwab <schwab@suse.de>
7737
7738 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7739 pass GCJFLAGS.
7740 (FLAGS_TO_PASS): Define.
7741 * Makefile.in: Regenerated.
7742
7743 2002-11-01 Michael Koch <konqueror@gmx.de>
7744
7745 * java/nio/ByteOrder.java: New file.
7746 * java/nio/channels/DatagramChannel.java:
7747 (DatagramChannel): New constructor.
7748 * java/nio/channels/Pipe.java: New file.
7749 * java/nio/channels/SelectableChannel.java: New file.
7750 * java/nio/channels/SelectionKey.java: New file.
7751 * java/nio/channels/Selector.java: New file.
7752 * java/nio/channels/ServerSocketChannel.java
7753 (ServerSocketChannel): New constructor.
7754 * java/nio/channels/SocketChannel.java
7755 (SocketChannel): New constructor.
7756 * java/nio/channels/Pipe.java: New file.
7757 * java/nio/channels/spi/AbstractChannel.java: New file.
7758 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7759 * java/nio/channels/spi/AbstractSelectableChannel.java:
7760 License added
7761 (AbstractSelectableChannel): New stubbed method.
7762 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7763 * java/nio/channels/spi/AbstractSelector.java: New file.
7764 * java/nio/channels/spi/SelectorProvider.java: New file.
7765 * java/nio/charset/Charset.java: New file.
7766 * java/nio/charset/CoderMalfunctionError.java: New file.
7767 * java/nio/charset/CodingErrorAction.java: New file.
7768 * java/nio/charset/spi/CharsetProvider.java
7769 (charsetForName): Uncommented.
7770 * Makefile.am (java_native_source_files): Added new files.
7771 * Makefile.in: Regenerated.
7772
7773 2002-11-01 Michael Koch <konqueror@gmx.de>
7774
7775 * java/net/InetAddress.java:
7776 (isAnyLocalAddress): Implemented.
7777 (isLoopbackAddress): Implemented, comment added.
7778 (isLinkLocalAddress): Implemented, documentation added.
7779 (isSiteLocalAddress): Implemented, documentation added.
7780 (isMCGlobal): Implemented, documentation added.
7781 (isMCNodeLocal): Implemented, documentation added.
7782 (isMCLinkLocal): Implemented, documentation added.
7783 (isMCSiteLocal): Implemented, documentation added.
7784 (isMCOrgLocal): Implemented, documentation added.
7785 (getHostName): Documentation added.
7786 (getCanonicalHostName): Implemented, documentation added.
7787 (getAddress): Documentation added.
7788 (hashCode): Documentation added.
7789 (equals): Documentation added.
7790 (toString): Fixed implementation.
7791 (getByAddress): Use Inet4Address and Inet6Address.
7792 (lookup): New linewrap.
7793 (getByName): SecurityManager check added, support Inet4Address and
7794 Inet6address, comments added.
7795 (getAllByName): SecurityManager check added, comments added.
7796 * java/net/Inet6Address.java:
7797 (Inet6Address): Initialize parent class with addr instead of null.
7798 * java/net/URL.java
7799 (equals): Documentation added.
7800 (getFile): Documentation added.
7801 (hashCode): Documentation added.
7802 * java/net/natInetAddress.cc:
7803 (aton): Fix IPv6 support.
7804 * java/net/natPlainDatagramSocketImpl.cc:
7805 (peek): Throw PortUnreachableException when suitable.
7806 (peekData): Throw PortUnreachableException when suitable.
7807 (send): Throw PortUnreachableException when suitable.
7808 (receive): Throw PortUnreachableException when suitable.
7809
7810 2002-10-27 Mark Wielaard <mark@klomp.org>
7811
7812 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7813 argument.
7814 (readLeShort): Likewise and use byte[].
7815 (readLeInt): Likewise.
7816 (readEntries): Use new versions of methods and use byte[] for reading
7817 a complete zip entry. Add ZipFile name to exceptions.
7818 (entries): Add ZipFile name to exceptions.
7819 (getEntry): Likewise.
7820 (checkLocalHeader): Use new versions of methods and add ZipFile name
7821 to exceptions.
7822
7823 2002-10-31 Mark Anderson <mark@panonet.net>
7824
7825 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7826 added
7827
7828 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7829
7830 * configure.in: Disable hash sync when not using threads.
7831 * configure: Regenerated.
7832
7833 2002-10-24 Tom Tromey <tromey@redhat.com>
7834
7835 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7836 (_Jv_FindSymbolInExecutable): Removed argument name.
7837 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7838 java.library.path is set.
7839
7840 * gij.cc (help): Document --showversion.
7841 (version): Don't exit.
7842 (main): Handle --showversion. Exit if --version given.
7843
7844 2002-10-23 Tom Tromey <tromey@redhat.com>
7845
7846 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7847 (array_from_valist): Correctly handle promotion for jint, jlong,
7848 jfloat, and jdouble.
7849
7850 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7851
7852 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7853 GetFileAttributesEx( ) to find file length and modification times,
7854 as the latter is not present on Windows 95.
7855
7856 2002-10-21 Michael Koch <konqueror@gmx.de>
7857
7858 * java/net/URL.java
7859 (URL): Activate SecurityManager checks.
7860 (equals): Use URLStreamHandler implementation instead of doing it
7861 alone. This allows special protocol stream handlers to change default
7862 behaviour.
7863 (hashCode): Use URLStreamHandler implementation instead of doing it
7864 alone. This allows special protocol stream handlers to change default
7865 behaviour.
7866 * java/net/URLStreamHandler.java
7867 (equals): Implemented default URL equality check.
7868 (hostsEqual): Implemented default URL equality check.
7869 (hashCode): Implemented default URL hashCode algorithm.
7870 * java/net/natPlainDatagramSocketImpl.cc:
7871 No lines longer then 80 characters.
7872
7873 2002-10-20 Adam Megacz <adam@xwt.org>
7874
7875 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7876 * configure.in: enabled hash sync on Win32
7877 * include/win32-threads.h (_Jv_ThreadId_t): added.
7878 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7879 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7880 removed some posix-isms, use Thread::sleep() instead of usleep,
7881 added code to clear bottom three bits if platform has a broken
7882 linker.
7883 * include/win32-threads.h (_Jv_ThreadId_t): added.
7884
7885 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7886
7887 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7888 runtime property "gnu.gcj.progname" containing the name used to
7889 invoke the current Java program (similar to argv[0] for C
7890 programs).
7891
7892 2002-10-15 Tom Tromey <tromey@redhat.com>
7893
7894 Fix for PR libgcj/8234:
7895 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7896 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7897
7898 2002-10-13 Mark Wielaard <mark@klomp.org>
7899
7900 * mauve-libgcj: Enable Mauve tests that compile now.
7901
7902 2002-10-11 Mark Wielaard <mark@klomp.org>
7903
7904 Fix for PR libgcj/8142
7905 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7906 loading native modules.
7907
7908 2002-10-10 Michael Koch <konqueror@gmx.de>
7909
7910 * javax/swing/AbstractListModel.java
7911 (getListDataListeners): New stubbed method.
7912 javax/swing/DefaultBoundedRangeModel.java
7913 (getChangeListeners): New stubbed method.
7914 javax/swing/DefaultSingleSelectionModel.java
7915 (getChangeListeners): New stubbed method.
7916
7917 2002-10-10 Michael Koch <konqueror@gmx.de>
7918
7919 * gcj/.cvsignore: New file to ignore files generated during build.
7920 * include/.cvsignore: New file to ignore files generated during build.
7921
7922 2002-10-10 Michael Koch <konqueror@gmx.de>
7923
7924 * java/net/HttpURLConnection.java
7925 (getPermission): New method.
7926 (getErrorStream): New stub method.
7927 (getHeaderFieldDate): New stub method.
7928 * java/net/Inet4Address.java:
7929 (isLinkLocalAddress): Typo fixed.
7930 * java/net/InetAddress.java:
7931 (readResolve): New stubbed method (for serialization).
7932 (isAnyLocalAddress): New stubbed method.
7933 (isLoopbackAddress): New stubbed method.
7934 (isLinkLocalAddress): New stubbed method.
7935 (isSiteLocalAddress): New stubbed method.
7936 (isMCGlobal): New stubbed method.
7937 (isMCNodeGlobal): New stubbed method.
7938 (isMCLinkLocal): New stubbed method.
7939 (isMCSiteLocal): New stubbed method.
7940 (isMCOrgLocal): New stubbed method.
7941 (getCanonicalHostName): New stubbed method.
7942 (getByAddress): Create instances of Inet4Address/Inet6Address,
7943 instead of InetAddress, documentation added.
7944 * java/net/MulticastSocket.java
7945 (getInterface): Removed FIXME.
7946 (getNetworkInterface): New method.
7947 (setNetworkInterface): New method.
7948 * java/net/NetworkInterface.java:
7949 (toString): Use property "line.separator" instead of "\n".
7950 * java/net/URLConnection.java
7951 (getContent): New stubbed method.
7952 * java/net/URLStreamHandler.java:
7953 (equals): New stubbed method.
7954 (hostsEqual): New stubbed method.
7955 (hashCode): New stubbed method.
7956 * java/net/natNetworkInterface.cc:
7957 (getRealNetworkInterfaces): Create Inet4Address object
7958 instead of InetAddress.
7959
7960 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7961
7962 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7963 unsigned long temporary to implement insn_iushr shifts.
7964
7965 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7966
7967 * configure.host [s390*-*]: Enable Java interpreter.
7968 Enable hash synchronization. Add sysdeps dir.
7969 * sysdep/s390/locks.h: New file.
7970
7971 2002-10-06 Mark Wielaard <mark@klomp.org>
7972
7973 * java/lang/Thread.java (setDaemon): Check startable_flag,
7974 not isAlive().
7975
7976 2002-10-07 Michael Koch <konqueror@gmx.de>
7977
7978 * java/nio/Buffer.java: New stub file.
7979 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7980 of class Charset.
7981 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7982 * Makefile.in: Regenerated.
7983
7984 2002-10-07 Michael Koch <konqueror@gmx.de>
7985
7986 * java/nio/ByteBuffer.java:
7987 removed import of not commited class.
7988
7989 2002-10-07 Michael Koch <konqueror@gmx.de>
7990
7991 * java/nio/ByteBuffer.java,
7992 java/nio/MappedByteBuffer.java:
7993 New files, forgot to add these dummies.
7994 * Makefile.am (java_native_source_files): Added new files.
7995 * Makefile.in: Regenerated.
7996
7997 2002-10-07 Michael Koch <konqueror@gmx.de>
7998
7999 * java/nio/channels/AlreadyConnectedException.java,
8000 java/nio/channels/ClosedChannelException.java,
8001 java/nio/channels/ReadableByteChannel.java,
8002 java/nio/channels/InterruptibleChannel.java,
8003 java/nio/channels/Channel.java,
8004 java/nio/channels/ByteChannel.java,
8005 java/nio/channels/GatheringByteChannel.java,
8006 java/nio/channels/ScatteringByteChannel.java,
8007 java/nio/channels/WritableByteChannel.java,
8008 java/nio/charset/CharacterCodingException.java,
8009 java/nio/charset/IllegalCharsetNameException.java,
8010 java/nio/charset/MalformedInputException.java,
8011 java/nio/charset/UnmappableCharacterException.java,
8012 java/nio/charset/UnsupportedCharsetException.java,
8013 java/nio/charset/spi/CharsetProvider.java: New file.
8014 These files are exceptions or interfaces,
8015 no real or abstract classes.
8016 * Makefile.am (java_native_source_files): Added new files.
8017 * Makefile.in: Regenerated.
8018
8019 2002-10-05 Michael Koch <konqueror@gmx.de>
8020
8021 * java/net/InetAddress.java
8022 (getByAddress): Fixed documentation.
8023 (getByAddress): New method.
8024 * java/net/Inet4Address.java: New file.
8025 * java/net/URL.java
8026 (URL): Documentation added.
8027 (getContent): Documentation added.
8028 (getContent): New stubbed method.
8029 (getQuery): New method.
8030 (openConnection): Documentation added.
8031 (openStream): Documentation added.
8032 (setURLStreamHandlerFactory): Documentation added.
8033 * java/net/URI.java: New stub file.
8034 * Makefile.am
8035 (java_native_source_files): Added java/net/Inet4Address.java,
8036 java/net/Inet6Address.java and java/net/URI.java.
8037 * Makefile.in: Regenerated.
8038
8039 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8040
8041 * java/lang/ProtectionDomain.java (linesep): Remove field.
8042 (toString): Use System.getProperty("line.separator").
8043
8044 2002-10-04 Michael Koch <konqueror@gmx.de>
8045
8046 * java/security/Identity.java: Added serialVersionUID.
8047 * java/security/KeyPair.java: Added serialVersionUID.
8048 * java/security/Provider.java: Added serialVersionUID.
8049 * java/security/SecureRandom.java: Added serialVersionUID.
8050 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8051 * java/security/SignedObject.java: Added serialVersionUID.
8052 * java/security/cert/Certificate.java: Added serialVersionUID.
8053
8054 2002-10-04 Mark Wielaard <mark@klomp.org>
8055
8056 * java/security/Security.java: Use java.home or gnu.classpath.home
8057 to load providers.
8058 (loadProviders): Extra dir argument.
8059 (getProvider): Return null when not found.
8060
8061 2002-10-04 Mark Wielaard <mark@klomp.org>
8062
8063 * java/lang/Throwable.java: Remerge with Classpath.
8064
8065 2002-10-04 Michael Koch <konqueror@gmx.de>
8066
8067 * java/net/InetAddress.java:
8068 (isMulticastAddress): Added documentation.
8069 (getHostAddress): Added documentation.
8070 (toString): Added documentation.
8071 (getByAddress): Fixed documentation.
8072 (getByName): Added documentation.
8073 (getAllByName): Added documentation.
8074 (getLocalHost): Added documentation.
8075
8076 2002-10-04 Michael Koch <konqueror@gmx.de>
8077
8078 * java/beans/beancontext/BeanContextChildSupport.java:
8079 Added serialVersionUID.
8080 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8081 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8082 * javax/naming/Name.java: Added serialVersionUID.
8083
8084 2002-10-03 Adam Megacz <adam@xwt.org>
8085
8086 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8087 some functionality that isn't supported yet on WIN32.
8088
8089 2002-10-03 Tom Tromey <tromey@redhat.com>
8090
8091 * Makefile.in: Rebuilt.
8092 * Makefile.am (awt_java_source_files): Added new files.
8093
8094 2002-10-03 Michael Koch <konqueror@gmx.de>
8095
8096 * java/net/InetAddress.java
8097 (class InetAddress): Removed final keyword.
8098 (equals): Fixed typo.
8099 (getByAddress): New method.
8100
8101 2002-10-03 Michael Koch <konqueror@gmx.de>
8102
8103 * java/awt/dnd/Autoscroll.java:
8104 New file, merge from Classpath.
8105 * java/awt/dnd/DragSourceAdapter.java:
8106 (dragExit): Fixed typos in argument type.
8107 (dragDropEnd): Fixed typos in argument type.
8108 * java/awt/dnd/DragSourceDropEvent.java:
8109 New file, merge from Classpath.
8110 * java/awt/dnd/DropTarget.java:
8111 Added stubs, merge from Classpath.
8112 * java/awt/dnd/DropTargetAdapter.java:
8113 New file, merge from Classpath.
8114 * java/awt/dnd/DropTargetContext.java:
8115 New file, merge from Classpath.
8116 * java/awt/dnd/DropTargetDragEvent.java:
8117 New file, merge from Classpath.
8118 * java/awt/dnd/DropTargetDropEvent.java:
8119 New file, merge from Classpath.
8120 * java/awt/dnd/DropTargetEvent.java:
8121 New file, merge from Classpath.
8122 * java/awt/dnd/DropTargetListener.java:
8123 New file, merge from Classpath.
8124 * java/awt/dnd/MouseDragGestureRecognizer.java:
8125 New file, merge from Classpath.
8126 * java/awt/dnd/peer/DropTargetContextPeer.java:
8127 New file, merge from Classpath.
8128
8129 2002-10-03 Michael Koch <konqueror@gmx.de>
8130
8131 * java/net/DatagramPacket.java
8132 (setLength): Fixed typo and be HTML-aware.
8133 * java/net/InetSocketAddress.java
8134 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8135 (equals): Added comment about equality of InetSocketAddress objects.
8136 * java/net/ServerSocket.java
8137 (accept): Added checks.
8138 (isClosed): New stubbed method.
8139 * java/net/SocketOptions.java: Reindention.
8140 * java/net/SocketPermission
8141 (SocketPermission): Documentation fixed.
8142
8143 2002-10-03 Michael Koch <konqueror@gmx.de>
8144
8145 * java/net/DatagramSocket.java
8146 (receive): Check with SecurityManager AFTER the packet is received,
8147 check if connected to multicast address, documentation added.
8148 (send): Only check SecurityManager if connected, check address of
8149 packet to send.
8150 (connect): Implemented, documentation added.
8151 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8152 * java/net/InetSocketAddress.java
8153 (whole file): Reindented.
8154 (hostname): New attribute.
8155 (InetSocketAddress): Initialize new attribute.
8156 (getAddress): Documentation added.
8157 (getHostName): Documentation added.
8158 (getPort): Documentation added.
8159 (hashCode): Documentation added.
8160 (isUnresolved): Documentation added.
8161 (toString): Conform to output of JDK 1.4.1, documentation added.
8162 * java/net/MulticastSocket.java
8163 (joinGroup): Removed FIXME, documentation added.
8164 (leaveGroup): Removed FIXME, documentation added.
8165 (send): Documentation added.
8166 * java/net/Socket.java
8167 (inputShutdown): New variable.
8168 (outputShutdown): New variable.
8169 (Socket): Initialize new variables.
8170 (getRemoteSocketAddress): Check if connected.
8171 (shutdownInput): Set new variable.
8172 (shutdownOutput): Set new variable.
8173 (isConnected): New method.
8174 (isClosed): New method.
8175 (isInputShutdown): New method.
8176 (isOutputShutdown): New method.
8177 * java/net/URLStreamHandler.java
8178 (URLStreamHandler): New method.
8179 (openConnection): Added documentation.
8180 (parseURL): Added documentation.
8181 (getHostAddress): New method.
8182 (getDefaultPort): New method.
8183
8184 2002-10-02 Tom Tromey <tromey@redhat.com>
8185
8186 * java/rmi/activation/ActivationDesc.java,
8187 java/rmi/activation/ActivationGroupDesc.java,
8188 java/rmi/activation/ActivationGroupID.java,
8189 java/rmi/activation/ActivationID.java: New versions from
8190 Classpath.
8191
8192 2002-09-30 Bo Thorsen <bo@suse.de>
8193
8194 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8195
8196 2002-09-30 Tom Tromey <tromey@redhat.com>
8197
8198 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8199 from Classpath.
8200 * Makefile.in: Rebuilt.
8201 * Makefile.am (rmi_java_source_files): Added new files.
8202 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8203 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8204 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8205 Classpath.
8206 * gnu/java/rmi/dgc/DGCImpl.java,
8207 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8208 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8209 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8210 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8211 gnu/java/rmi/server/RMIHashes.java,
8212 gnu/java/rmi/server/RMIObjectInputStream.java,
8213 gnu/java/rmi/server/RMIObjectOutputStream.java,
8214 gnu/java/rmi/server/UnicastConnection.java,
8215 gnu/java/rmi/server/UnicastConnectionManager.java,
8216 gnu/java/rmi/server/UnicastRef.java,
8217 gnu/java/rmi/server/UnicastServer.java,
8218 gnu/java/rmi/server/UnicastServerRef.java,
8219 java/rmi/MarshalledObject.java,
8220 java/rmi/server/RMIClassLoader.java,
8221 java/rmi/server/RemoteObject.java,
8222 java/rmi/server/UnicastRemoteObject.java,
8223 java/security/SecureClassLoader.java: Merged from Classpath.
8224
8225 2002-09-29 Anthony Green <green@redhat.com>
8226
8227 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8228 Imported from GNU Classpath.
8229 * java/lang/reflect/natProxy.cc: New file.
8230 * java/lang/reflect/InvocationHandler.java: New file. Imported
8231 from GNU Classpath.
8232 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8233 Classpath.
8234 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8235 Classpath.
8236 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8237 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8238 New statics.
8239 * gcj/javaprims.h ("Java"): Add new classes.
8240 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8241 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8242 java/lang/reflect/Proxy$$ProxyType.h): And this.
8243 (inner_nat_headers): Add these new headers.
8244 (ordinary_java_source_files): Add new files.
8245 (nat_source_files): Add new file.
8246 * Makefile.in: Rebuilt.
8247
8248 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8249
8250 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8251 a single configuration.
8252
8253 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8254
8255 * java/util/TimeZone.java (getDSTSavings): New method.
8256 Fixes PR libgcj/7786.
8257
8258 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8259
8260 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8261 to see if `the_method == 0' before looking up vtable index.
8262 Fixes PR libgcj/7709.
8263
8264 2002-09-25 Tom Tromey <tromey@redhat.com>
8265
8266 * java/lang/natClassLoader.cc:
8267 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8268 * resolve.cc: Include NoClassDefFoundError.h, not
8269 ClassNotFoundException.h.
8270 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8271
8272 * defineclass.cc: Don't include ClassNotFoundException.h.
8273
8274 * resolve.cc: Include StringBuffer.
8275 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8276
8277 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8278 allocated but not initialized.
8279
8280 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8281
8282 Fix for PR libgcj/7766:
8283 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8284 (getNextEntry): Set it.
8285 (closeEntry): Likewise.
8286 (read): Likewise.
8287 (close): Likewise.
8288 (available): Use it.
8289
8290 2002-09-25 Michael Koch <konqueror@gmx.de>
8291
8292 * java/net/DatagramSocket.java
8293 (DatagramSocket): Initialize new instance variables.
8294 (close): Reset new instance variables.
8295 (getLocalAddress): Remove unneeded SecurityManager usage.
8296 (getLocalPort): Check if socket is already bound.
8297 (isConnected): New method.
8298 (getInetAddress): Implemented.
8299 (getPort): Better Implementation, documentation fixed.
8300 (getRemoteSocketAddress): New method.
8301 * java/net/JarURLConnection.java
8302 (element): Typo fixed.
8303 (getMainAttributes): New method.
8304 (getAttributes): New method (stub only).
8305 (getManifest): New method (stub only).
8306 * java/net/NetPermission.java: Added serialVersionsUID.
8307 * java/net/Socket.java
8308 (connect): Check blocking mode of associated channel,
8309 documentation added.
8310 (getLocalSocketAddress): Better implementation.
8311 (getRemoteSocketAddress): Implemented.
8312 (isBound): New method.
8313 (setSendBufferSize): Documentation added.
8314 * java/net/SocketAddress.java: Added serialVersionsUID.
8315 * java/net/SocketPermission.java: Added serialVersionsUID.
8316 * java/net/URL.java
8317 (URL): Wrap for shorter lines, initialize new instance variables,
8318 documentation added.
8319 (equals): Check new instance variables too.
8320 (getContent): Documentation added.
8321 (getPath): Documentation added.
8322 (getAuthority): New method.
8323 (getHost): Documentation added.
8324 (getPort): Documentation added.
8325 (getDefaultPort): New method.
8326 (getProtocol): Documentation added.
8327 (getUserInfo): Documentation added.
8328 (set): Initialize new instance variables, documentation added.
8329 * java/net/URLStreamHandler.java
8330 (setURL): New method.
8331 * java/net/natPlainDatagramSocketImpl.cc
8332 (connect): Fix exception name.
8333 (disconnect): Fix exception name.
8334
8335 2002-09-25 Michael Koch <konqueror@gmx.de>
8336
8337 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8338 * java/nio/channels/DatagramChannel.java:
8339 extends AbstractSelectableChannel
8340 * java/nio/channels/ServerSocketChannel.java:
8341 extends AbstractSelectableChannel
8342 * java/nio/channels/SocketChannel.java:
8343 extends AbstractSelectableChannel
8344 * Makefile.am (ordinary_java_source_files):
8345 java/nio/channels/spi/AbstractSelectableChannel.java added.
8346 * Makefile.in: Regenerated.
8347
8348 2002-09-25 Michael Koch <konqueror@gmx.de>
8349
8350 * java/net/DatagramSocket.java
8351 (DatagramSocket): Exception documentation added.
8352 (bind): Exception documentation added, addded SecurityManager check,
8353 added SocketAddress type check.
8354 (getSoTimeout): Check impl.
8355 (receive): Fix SecurityManager check, check impl, documentation added.
8356 (send): Check channel mode, documentation added.
8357 (connect): New method.
8358 (disconnect): Implemented.
8359 (getLocalSocketAddress): New method.
8360 (getReceiveBufferSize): Check impl.
8361 (setReuseAddress): Check impl.
8362 (getReuseAddress): Check impl.
8363 (setBroadcast): Check impl.
8364 (getBroadcast): Check impl.
8365 (setTrafficClass): Check impl, Documentation cleared.
8366 (getTrafficClass): Check impl.
8367 (getSendBufferSize): Check impl.
8368 (setReceiveBufferSize): Check impl, documentation added.
8369 (setSendBufferSize): Documentation added.
8370 (setDatagramSocketImplFactory): New method.
8371 * java/net/HttpURLConnection.java
8372 (HTTP_INTERNAL_ERROR): The correct code is 500.
8373 (HTTP_NOT_IMPLEMENTED): Added new constant.
8374 (setFollowRedirects): Documentation added.
8375 (getInstanceFollowRedirects): New method.
8376 (setInstanceFollowRedirects): New method.
8377 (setRequestMethod): Documentation added.
8378 (getResponseCode): Documentation added.
8379 (getResponseMessage): Documentation added.
8380 * java/net/JarURLConnection.java
8381 (JarURLConnection): protected since JDK 1.4.
8382 (getJarEntry): java.io.IOException to IOException, documentation added.
8383 (getJarFile): Documentation added.
8384 * java/net/ServerSocket.java
8385 (ServerSocket): Private to public, exception added.
8386 (ServerSocket): java.io.IOException to IOException, documentation added.
8387 (bind): Check socket address type, documentation added.
8388 (bind): java.io.IOException to IOException, documentation added.
8389 (accept): Documentation added.
8390 (implAccept): Check ch is not non-blocking, documentation added.
8391 (setSoTimeout): Documentation fixed.
8392 (setReceiveBufferSize): Documentation added.
8393 * java/net/Socket.java
8394 (Socket): Documentation added.
8395 (bind): Documentation added.
8396 (connect): Check socket address type, documentation added.
8397 (getRemoteSocketAddress): New method.
8398 (getLocalSocketAddress): New method.
8399 (setSoLinger): Documentation added.
8400 (getReuseAddress): New method.
8401 (setReuseAddress): New method.
8402 (getTrafficClass): New method.
8403 (setTrafficClass): New method.
8404 * java/net/URLStreamHandler.java
8405 (openConnection): java.io.IOException to IOException.
8406 (parseURL): Documentation added.
8407 (sameFile): public to protected, documentation added.
8408 (setURL): Documentation added.
8409 * java/nio/IllegalBlockingModeException.java: New file.
8410 * Makefile.am (ordinary_java_source_files):
8411 added java/nio/IllegalBlockingModeException.java
8412 * Makefile.in: Regenerated.
8413
8414 2002-09-25 Michael Koch <konqueror@gmx.de>
8415
8416 * java/net/DatagramPacket
8417 (DatagramPacket): Exception documentation added.
8418 (setData): Likewise.
8419 (setSocketAddress): Likewise.
8420 * java/net/DatagramSocketImpl.java
8421 (peek): Documentation addded.
8422 (peekData): Documentation addded.
8423 (send): Documentation addded.
8424 (receive): Documentation addded.
8425 (connect): New method.
8426 (disconnect): New method.
8427 (joinGroup): New abstract method.
8428 (leaveGroup): New abstract method.
8429 * java/net/InetSocketAddress.java
8430 (InetSocketAddress): Documentation added.
8431 (equals): final keyword added.
8432 (getAddress): final keyword added.
8433 (getHostName): final keyword added.
8434 (getPort): final keyword added.
8435 (hashCode): final keyword added.
8436 (isUnresolved): final keyword added.
8437 * java/net/MulticastSocket.java
8438 (MulticastSocket): Documentation added.
8439 (MulticastSocket): New method.
8440 (joinGroup): Documentation added.
8441 (joinGroup): New method.
8442 (leaveGroup): Documentation added.
8443 (leaveGroup): New method.
8444 (send): Documentation added.
8445 * java/net/NetworkInterface.java
8446 (getByName): Documentation added.
8447 (getByInetAddress): Documentation added.
8448 (getNetworkInterfaces): Documentation added.
8449 * java/net/PlainDatagramSocketImpl.java
8450 (connect): New method.
8451 (disconnect): New method.
8452 * java/net/SocketImpl.java
8453 (create): Documentation added.
8454 (shutdownInput): Convert public to protected, as it always was.
8455 (shutdownOutput): Convert public to protected, as it always was.
8456 * java/net/SocketOptions.java
8457 (whole file): Reintented.
8458 * java/net/URLClassLoader.java
8459 (URLClassLoader): SecurityManager check added, documentation added.
8460 (findResources): Documentation added.
8461 (findClass): Documentation added.
8462 (newInstance): More correct method arguments.
8463 * java/net/URLConnection.java
8464 (connect): Documentation added.
8465 (getContent): Documentation added.
8466 (getPermission): Documentation added.
8467 (getInputStream): Documentation added.
8468 (getOutputStream): Documentation added.
8469 (setDoInput): Throw correct exception, documentation added.
8470 (setDoOutput): Throw correct exception, documentation added.
8471 (setAllowUserInteraction): Throw correct exception, documentation added.
8472 (setUseCaches): Throw correct exception, documentation added.
8473 (setIfModifiedSince): Throw correct exception, documentation added.
8474 (setRequestProperty): Throw exception, documentation added.
8475 (addRequestProperty): Throw exception, documentation added.
8476 (getRequestProperty): Throw exception, documentation added.
8477 (getRequestProperties): Documentation added.
8478 (setContentHandlerFactory): Documentation added.
8479 (guessContentTypeFromName): protected to public.
8480 (setFileNameMap): Documentation added.
8481 * java/net/URLDecoder.java
8482 (URLDecoder): New method.
8483 (decode): Documentation added.
8484 (whole file): Reindented.
8485 * java/net/URLEncoder.java
8486 (encode): Documentation added.
8487 * java/net/natPlainDatagramSocketImpl.cc
8488 (connect): New method.
8489 (disconnect): New method.
8490 * javax/naming/RefAddr:
8491 (addrType): addrType was never final.
8492 (equals): Fix typo in method name.
8493 * javax/naming/BinaryRefAddr:
8494 (equals): Fix typo in method name.
8495
8496 2002-09-22 Tom Tromey <tromey@redhat.com>
8497
8498 Fix for PR libgcj/6576:
8499 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8500 didn't find a given bundle.
8501 (getBundle): Don't require base bundle.
8502 (setParent): Removed old comment.
8503 (tryLocalBundle): Try components even if preceding components were
8504 empty.
8505
8506 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8507
8508 * Makefile.am (all-multi): Fix multilib parallel build.
8509
8510 2002-09-21 Michael Koch <konqueror@gmx.de>
8511
8512 * java/net/Socket.java
8513 (sendUrgentData): New method.
8514 (getChannel): New method.
8515 * java/net/ServerSocket.java
8516 (getChannel): New method.
8517 (isBound): New method.
8518 * java/net/DatagramSocket.java
8519 (DatagramSocket): Two new methods.
8520 (bind): New method.
8521 (getChannel): New method.
8522 (isBound): New method.
8523 (send): Added newline to to make shorter lines.
8524 * java/net/PlainDatagramSocketImpl.java
8525 (mcastGrp): Added argument.
8526 (join): Use new mcastGrp.
8527 (leave): Use new mcastGrp.
8528 (joinGroup): New method.
8529 (leaveGroup): New method.
8530 * java/net/natPlainDatagramSocketImpl.cc
8531 (mcastGrp): Added argument, no yet really implemented.
8532 (getOption): Added newline for shorter lines.
8533 * java/net/natPlainSocketImpl.cc
8534 (read, setOption, getOption): Added newline for shorter lines.
8535
8536 2002-09-19 Tom Tromey <tromey@redhat.com>
8537
8538 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8539 newly-created exception.
8540
8541 2002-09-18 Michael Koch <konqueror@gmx.de>
8542
8543 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8544 java/util/regex/PatternSyntaxException.java:
8545 Merge with classpath, new files.
8546 * Makefile.am (core_java_source_files):
8547 Added java/util/regex/Matcher.java,
8548 java/util/regex/Pattern.java,
8549 java/util/regex/PatternSyntaxException.java
8550 * Makefile.in: Regenerated.
8551 * include/config.h.in: Added HAVE_NET_IF_H.
8552 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8553 Removed #if 0 ... #endif.
8554
8555 2002-09-17 Michael Koch <konqueror@gmx.de>
8556
8557 * java/net/natNetworkInterface.cc:
8558 Removed unneed and yet wrong includes.
8559
8560 2002-09-17 Michael Koch <konqueror@gmx.de>
8561
8562 * java/net/NetworkInterface.java: New file.
8563 * java/net/natNetworkInterface.java: New file.
8564 * configure.in: Added check for net/if.h.
8565 * configure: Regenerated.
8566 * Makefile.am
8567 (ordinary_java_source_files): Added NetworkInterface.java.
8568 (nat_source_files): Added natNetworkInterface.cc.
8569 * Makefile.in: Regenerated.
8570
8571 2002-09-16 Tom Tromey <tromey@redhat.com>
8572
8573 * java/net/URLClassLoader.java (findClass): Code source for a
8574 class from a jar is not necessarily a jar: URL.
8575
8576 2002-09-16 Michael Koch <konqueror@gmx.de>
8577
8578 * java/lang/AssertionError.java:
8579 Merge with classpath, fixes HTML.
8580 * java/rmi/server/LogStream.java:
8581 Merge with classpath, fixes some constants.
8582 * java/net/server/RemoteServer.java:
8583 Merge with classpath, adds serialVersionUID.
8584 * javax/naming/BinaryRefAddr.java:
8585 Merge with classpath, s/equal/equals/.
8586 * javax/naming/NamingException.java:
8587 Merge with classpath, fixed typo.
8588 * javax/naming/RefAddr.java:
8589 Merge with classpath, s/equal/equals/.
8590 * java/awt/Toolkit.java:
8591 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8592 and typo fixed.
8593
8594 2002-09-15 Adam Megacz <adam@xwt.org>
8595
8596 * java/net/natPlainSocketImpl.cc: fixed typo.
8597
8598 2002-09-15 Adam Megacz <adam@xwt.org>
8599
8600 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8601 which don't work on Win32 (yet).
8602
8603 2002-09-14 Adam Megacz <adam@xwt.org>
8604
8605 * java/net/natPlainDatagramSocket.cc: removed #include
8606 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8607 * include/win32.h: included definition for IP_TOS to satisfy
8608 natPlainDatagramSocket.cc
8609
8610 2002-09-13 Michael Koch <konqueror@gmx.de>
8611
8612 * java/net/DatagramPacket.java (DatagramPacket):
8613 Added linebreak for 80 chars per line.
8614 * java/net/JarURLConection.java
8615 (getInputStreami, getJarEntry): Likewise.
8616 * java/net/SocketPErmission.java
8617 (SocketPermission class docu, implies): Likewise.
8618 * java/net/URLClassLoader.java (findResources): Likewise.
8619 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8620
8621 2002-09-13 Michael Koch <konqueror@gmx.de>
8622
8623 * java/nio/channels/DatagramChannel.java,
8624 java/nio/channels/ServerSocketChannel.java
8625 java/nio/channels/SocketChannel.java:
8626 New dummy files to make java.net fully JDK 1.4 compatible
8627 * Makefile.am (ordinary_java_source_files): Added
8628 java/net/DatagramSocketImplFactory.java (long forgotten),
8629 java/nio/SocketChannel.java,
8630 java/nio/ServerSocketChannel.java,
8631 java/nio/DatagramChannel.java
8632 * Makefile.in: Regenrated.
8633
8634 2002-09-12 Michael Koch <konqueror@gmx.de>
8635
8636 * java/net/DatagramSocketImpl.java
8637 (peekData): New method.
8638 * java/net/PlainDatagramSocketImpl.java
8639 (peekData): New method.
8640 * java/net/natPlainDatagramSocketImpl.cc
8641 (peekData): New method.
8642 * java/net/URLConnection
8643 (getPermission): New method.
8644 (addRequestProperty): New method.
8645 (getRequestProperties): New method.
8646 (guessContentTypeFromStream): New method, not really implemented.
8647 (URLConnection): Added/updated documentation.
8648 (connect): Added/updated documentation.
8649 (getURL): Added/updated documentation.
8650 (getContentLength): Added/updated documentation.
8651 (getContentType: Added/updated documentation.
8652 (getContentEncoding): Added/updated documentation.
8653 (getExpiration): Added/updated documentation.
8654 (getDate): Added/updated documentation.
8655 (getLastModified): Added/updated documentation.
8656 (getHeaderField): Added/updated documentation.
8657 (getHeaderFields): Added/updated documentation.
8658 (getHeaderFieldInt): Added/updated documentation.
8659 (getHeaderFieldDate): Added/updated documentation.
8660 (getHeaderFieldKey): Added/updated documentation.
8661 (getContent): Added/updated documentation.
8662 (getInputStream): Added/updated documentation.
8663 (getOutputStream): Added/updated documentation.
8664 (toString): Added/updated documentation.
8665 (setDoInput): Added/updated documentation.
8666 (getDoInput): Added/updated documentation.
8667 (setDoOutput): Added/updated documentation.
8668 (getDoOutput): Added/updated documentation.
8669 (setAllowUserInteraction): Added/updated documentation.
8670 (getAllowUserInteraction): Added/updated documentation.
8671 (setDefaultAllowUserInteraction): Added/updated documentation.
8672 (getDefaultAllowUserInteraction): Added/updated documentation.
8673 (setUseCaches): Added/updated documentation.
8674 (getUseCaches): Added/updated documentation.
8675 (setIfModifiedSince): Added/updated documentation.
8676 (getIfModifiedSince): Added/updated documentation.
8677 (getDefaultUseCaches): Added/updated documentation.
8678 (setDefaultUseCaches): Added/updated documentation.
8679 (setRequestProperty): Added/updated documentation.
8680 (getRequestProperty): Added/updated documentation.
8681 (setDefaultRequestProperty): Added/updated documentation.
8682 (getDefaultRequestProperty): Added/updated documentation.
8683 (setContentHandlerFactory): Added/updated documentation.
8684 (guessContentTypeFromName): Added/updated documentation.
8685 (getFileNameMap): Added/updated documentation.
8686 (setFileNameMap): Added/updated documentation.
8687
8688 2002-09-11 Michael Koch <konqueror@gmx.de>
8689
8690 * java/net/Socket.java
8691 (Socket): protected to public (since JDK 1.4). Added @specnote.
8692 (bind): New method.
8693 (connect): Two new methods.
8694 (getKeepalive): Get correct socket option.
8695 (setKeepalive): Set correct socket option.
8696 (getOOBInline): New method.
8697 (setOOBInline): New method.
8698 * java/net/ServerSocket.java
8699 (bind): Two new methods.
8700 (getInetAddress): Reimplemented, catch exception.
8701 (getLocalSocketAddress): New method.
8702 (setReuseAddress): New method.
8703 (getReuseAdress): New method.
8704 (setReceiveBufferSize): New method.
8705 (getReceiveBufferSize): New method.
8706 (toString): Made string JDK 1.4 compliant.
8707
8708 2002-09-10 Michael Koch <konqueror@gmx.de>
8709
8710 * java/net/SocketImpl.java
8711 (connect): New method.
8712 (supportsUrgentData): New method.
8713 (sendUrgentData): New method.
8714 * java/net/PlainSocketImpl.java
8715 (connect): One new method and two new implementation.
8716 (sendUrgentData): New method.
8717 * java/natPlainSocketImpl.cc
8718 (connect): Arguments changed, added support for timeouts.
8719 (getOption): Another __java_boolean to jboolean.
8720
8721 2002-09-07 Adam Megacz <adam@xwt.org>
8722
8723 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8724 definition of IP_TOS.
8725
8726 2002-09-04 Michael Koch <konqueror@gmx.de>
8727
8728 * java/net/DatagramSocket.java
8729 (DatagramSocket): Added documentation.
8730 (close): Likewise.
8731 (getLocalAddress): Likewise.
8732 (getLocalPort): Likewise.
8733 (receive): Likewise.
8734 (send): Likewise.
8735 (setSoTimeout): Likewise.
8736 (connect): New method.
8737 (disconnect): New method.
8738 (getInetAddress): New method (FIXME)
8739 (getPort): New method.
8740 (setReuseAddress): New method.
8741 (getReuseAddress): New method.
8742 (setBroadcast): New method.
8743 (getBroadcast): New method.
8744 (setTrafficClass): New method.
8745 (getTrafficClass): New method.
8746 * java/net/MulticastSocket.java):
8747 (getTTL): Added @see in documentation.
8748 (setTTL): Added @see in documentation.
8749 (setLoopbackMode): New method.
8750 (getLoopbackMode): New method.
8751 * java/net/PlainSocketImpl.java:
8752 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8753 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8754 * java/net/PlainDatagramSocketImpl.java
8755 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8756 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8757 * java/net/natPlainSocketImpl.cc
8758 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8759 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8760 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8761 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8762 This should also fix SO_KEEPALIVE
8763 * java/net/natPlainDatagramSocketImpl.cc
8764 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8765 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8766 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8767 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8768
8769 2002-09-04 Michael Koch <konqueror@gmx.de>
8770
8771 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8772 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8773 IP_MULTICAST_LOOP, IP_TOS
8774
8775 2002-09-03 Tom Tromey <tromey@redhat.com>
8776
8777 * java/lang/Class.h (_getDeclaredMethod): Declare.
8778 (_getMethod): Now private.
8779 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8780 getDeclaredMethod. Now returns NULL on failure.
8781 * java/lang/Class.java (_getDeclaredMethod): Declare.
8782 (getDeclaredMethod): No longer native; implements access checks.
8783
8784 2002-09-01 Mark Wielaard <mark@klomp.org>
8785
8786 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8787 (sanitizeStack): Correctly reset unknown and interpreter counters,
8788 detect interpreter runtime frames.
8789 (demangleInterpreterMethod): New method.
8790 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8791 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8792 filling in addrs[].
8793
8794 2002-09-02 Michael Koch <konqueror@gmx.de>
8795
8796 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8797 re-indented documentation.
8798
8799 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8800
8801 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8802 public, per 1.4 spec. Fixes PR libgcj/7785.
8803
8804 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8805
8806 * Makefile.in: Rebuilt.
8807 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8808
8809 2002-08-29 Tom Tromey <tromey@redhat.com>
8810
8811 * java/net/JarURLConnection.java (getCertificates): New method
8812 from Classpath.
8813 * java/net/URLClassLoader.java (URLClassLoader): Extends
8814 SecureClassLoader.
8815 (definePackage): New method from Classpath.
8816 (getPermissions): Likewise.
8817 (newInstance): Likewise.
8818 (findClass): Construct CodeSource for new class (from Classpath).
8819 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8820 methods.
8821 * java/net/URL.java (getUserInfo): New method.
8822 (set(String,String,int,String,String,String,String,String)): New
8823 method.
8824 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8825 (shutdownInput, shutdownOutput): Declare.
8826 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8827 Define.
8828 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8829 (getOption): Likewise.
8830 (shutdownInput): New method.
8831 (shutdownOutput): Likewise.
8832 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8833 keepalive.
8834 (getOption): Likewise.
8835 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8836 * java/net/Socket.java (setKeepAlive): New method.
8837 (getKeepAlive): Likewise.
8838 (shutdownInput, shutdownOutput): New methods.
8839
8840 2002-08-29 Michael Koch <konqueror@gmx.de>
8841
8842 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8843 new methods are:
8844 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8845 address),
8846 DatagramPacket(byte[] buf, int length, SocketAddress address),
8847 void setSocketAddress(SocketAddress address)
8848 public SocketAddress getSocketAddress()
8849
8850 2002-08-29 Tom Tromey <tromey@redhat.com>
8851
8852 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8853 ftruncate is missing.
8854 * configure, include/config.h.in: Rebuilt.
8855 * acconfig.h (HAVE_FTRUNCATE): Mention.
8856 * configure.in: Check for ftruncate.
8857
8858 2002-08-29 Tom Tromey <tromey@redhat.com>
8859
8860 * include/jvm.h (struct _Jv_frame_info): New structure.
8861 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8862 java-interp.h.
8863 (lookupInterp): New method.
8864 (getAddrAsString): Use _Jv_frame_info.
8865 (dladdrLookup): Likewise.
8866 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8867 interpreted frame.
8868 (lookupInterp): Declare.
8869 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8870 (fillInStackTrace): Collect information on interpreted frames.
8871 Use _Jv_frame_info.
8872 * interpret.cc: Include Thread.h.
8873 (run): Create and push _Jv_MethodChain object.
8874 (_Jv_EndOfInterpreter): New global.
8875 * java/lang/Thread.java (interp_frame): New field.
8876 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8877 Include NameFinder.h.
8878
8879 2002-08-28 Tom Tromey <tromey@redhat.com>
8880
8881 * java/lang/Class.h: Include Package.h.
8882 (Class::getProtectionDomain): Declare.
8883 (Class::getPackage): Declare.
8884
8885 2002-08-28 Michael Koch <konqueror@gmx.de>
8886
8887 * java/net/InetSocketAddress.java: Added some documentation and argument
8888 checks for the port numbers.
8889 * java/net/DatagramSocketImplFactory.java: New file.
8890
8891 2002-08-28 Michael Koch <konqueror@gmx.de>
8892
8893 * java/net/Authenticator.java: added some documentation.
8894
8895 2002-08-27 Tom Tromey <tromey@redhat.com>
8896
8897 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8898 class.
8899 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8900
8901 2002-08-27 Michael Koch <konqueror@gmx.de>
8902
8903 * java/net/BindException.java,
8904 java/net/JarURLConnection.java,
8905 java/net/FileNameMap.java,
8906 java/net/HttpURLConnection.java,
8907 java/net/InetSocketAddress.java,
8908 java/net/DatagramPacket.java,
8909 java/net/DatagramSocket.java,
8910 java/net/DatagramSocketImpl.java,
8911 java/net/MulticastSocket.java,
8912 java/net/PasswordAuthentication.java,
8913 java/net/ServerSocket.java,
8914 java/net/Socket.java,
8915 java/net/URLClassLoader.java,
8916 java/net/URLConnection.java: add/update of some @since/@deprecated
8917
8918 2002-08-27 Tony Kimball <alk@pobox.com>
8919 Tom Tromey <tromey@redhat.com>
8920
8921 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8922 define.
8923 (::close): Removed.
8924 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8925 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8926 (::close): Removed.
8927 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8928 * include/win32.h (getcwd): Removed declaration. Include io.h.
8929
8930 2002-08-25 Adam Megacz <adam@xwt.org>
8931
8932 * include/win32.h (getcwd): copied function declaration as
8933 temporary fix for header confusion.
8934
8935 2002-08-24 Mark Wielaard <mark@klomp.org>
8936
8937 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8938 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8939 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8940 and natNameFinder.cc.
8941 * Makefile.in: Regenerate.
8942 * prims.cc: Use trace_enabled from VMThrowable.
8943 * name-finder.cc: Removed.
8944 * gcj/javaprims.h: Add class VMThrowable.
8945 * gnu/gcj/runtime/NameFinder.java: New file.
8946 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8947 * include/name-finder.h: Removed.
8948 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8949 method stackTraceString().
8950 (printStackTrace (PrintWriter)): Likewise.
8951 (stackTraceString): Complete rewrite of old printStackTrace using
8952 StringBuffer.
8953 (stackTraceStringBuffer): New helper method for stackTraceString().
8954 (fillInStackTrace): Delegate to VMTrowable.
8955 (getStackTrace): Likewise.
8956 (getStackTrace0): Removed.
8957 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8958 (setStackTrace): Copy given array.
8959 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8960 * java/lang/VMThrowable.java: New class.
8961 * java/lang/natVMThrowable.cc: New file.
8962
8963 2003-08-23 Michael Koch <konqueror@gmx.de>
8964
8965 * java/net/URLConnection.java,
8966 java/netJarURLConnection.java,
8967 gnu/gcj/protocol/core/Connection.java,
8968 gnu/gcj/protocol/file/Connection.java,
8969 gnu/gcj/protocol/http/Connection.java: Added implementation of
8970 getHeaderFields().
8971
8972 2002-08-22 Tom Tromey <tromey@redhat.com>
8973
8974 * gij.cc (help): Document -cp and -classpath.
8975 (main): Handle -classpath.
8976
8977 2002-08-21 Tom Tromey <tromey@redhat.com>
8978
8979 * Makefile.in: Rebuilt.
8980 * Makefile.am (ordinary_java_source_files): Added
8981 SocketAddress.java, InetSocketAddress.java.
8982 * java/net/PortUnreachableException.java: Merged with Classpath.
8983 * java/net/SocketTimeoutException.java: Likewise.
8984 * java/net/URISyntaxException.java: Likewise.
8985 * java/net/SocketAddress.java: New class from Classpath.
8986 * java/net/InetSocketAddress.java: Likewise.
8987
8988 2003-08-21 Michael Koch <konqueror@gmx.de>
8989
8990 * java/net/Authenticator.java: updated JDK 1.4
8991 * java/net/ContentHandler.java: updated JDK 1.4
8992
8993 2002-08-20 Michael Koch <konqueror@gmx.de>
8994
8995 * java/net/URISyntaxException.java: New file.
8996 * java/net/SocketTimeoutException.java: New file.
8997 * java/net/PortUnreachableException.java: New file.
8998 * Makefile.am: Updated.
8999 * Makefile.in: Rebuilt.
9000
9001 2002-08-18 Mark Wielaard <mark@klomp.org>
9002
9003 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9004 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9005 MessageDigestSpi (fixes Classpath bug #783).
9006
9007 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9008
9009 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9010 (startProcess): Allocate path for chdir in async-signal-safe way.
9011
9012 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9013
9014 Fix for PR libgcj/7570 and PR libgcj/7578:
9015 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9016 (startProcess): Handle new `dir' argument.
9017 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9018 argument.
9019 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9020 argument.
9021 (startProcess): Likewise.
9022 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9023 argument.
9024 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9025 (exec): Don't create new environment if ENV==null. Pass DIR to
9026 execInternal.
9027 * java/lang/natRuntime.cc: Include java/io/File.h.
9028 (execInternal): Added `dir' argument.
9029
9030 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9031
9032 * java/io/RandomAccessFile.java (skipBytes): Return number of
9033 bytes skipped.
9034
9035 2002-08-01 Mark Wielaard <mark@klomp.org>
9036
9037 Reenable patch since shared library troubles on powerpc are solved:
9038 * gnu/java/security/provider/Gnu.java: Reference all implementation
9039 classes by using Class.getName().
9040 * gnu/java/security/der/DEREncodingException.java,
9041 gnu/java/security/provider/DERReader.java,
9042 gnu/java/security/provider/DERWriter.java,
9043 gnu/java/security/provider/DSAKeyPairGenerator.java,
9044 gnu/java/security/provider/DSAParameterGenerator.java,
9045 gnu/java/security/provider/DSAParameters.java,
9046 gnu/java/security/provider/DSASignature.java,
9047 gnu/java/security/provider/GnuDSAPrivateKey.java,
9048 gnu/java/security/provider/GnuDSAPublicKey.java,
9049 gnu/java/security/provider/MD5.java,
9050 gnu/java/security/util/Prime.java: New classes
9051 * Makefile.am (ordinary_java_source_files): Add above files.
9052 * Makefile.in: Regenerate.
9053 * gnu/java/security/provider/DefaultPolicy.java
9054 (getPermissions): Don't maintain static class variable of Permissions.
9055 * gnu/java/security/provider/SHA.java
9056 (engineUpdate): algorithm change.
9057 (engineDigest): algorithm change.
9058
9059 2002-08-09 Mark Wielaard <mark@klomp.org>
9060
9061 * java/awt/image/MemoryImageSource.java: Change constructor to take
9062 int[] not byte[].
9063 * java/awt/Graphics2D.java: Uncomment methods that can now be
9064 compiled.
9065 * java/awt/GridBagLayout.java: New stub implementation.
9066 * javax/swing/text/html/HTML.java: Stub implementation.
9067 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9068 implementation.
9069
9070 * Makefile.am: Add new files.
9071 * Makefile.in: Rebuilt.
9072
9073 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9074
9075 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9076 methods in Graphics2D.
9077
9078 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9079
9080 AWT/Swing merge from GNU Classpath.
9081
9082 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9083 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9084 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9085 java/awt/color/ProfileDataException.java,
9086 java/awt/CompositeContext.java, java/awt/Composite.java,
9087 java/awt/ContainerOrderFocusTraversalPolicy.java,
9088 java/awt/datatransfer/FlavorTable.java,
9089 java/awt/DefaultFocusTraversalPolicy.java,
9090 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9091 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9092 java/awt/dnd/DragGestureListener.java,
9093 java/awt/dnd/DragGestureRecognizer.java,
9094 java/awt/dnd/DragSourceAdapter.java,
9095 java/awt/dnd/DragSourceContext.java,
9096 java/awt/dnd/DragSourceDragEvent.java,
9097 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9098 java/awt/dnd/DragSourceListener.java,
9099 java/awt/dnd/DragSourceMotionListener.java,
9100 java/awt/dnd/DropTarget.java,
9101 java/awt/dnd/InvalidDnDOperationException.java,
9102 java/awt/dnd/peer/DragSourceContextPeer.java,
9103 java/awt/event/AWTEventListenerProxy.java,
9104 java/awt/event/MouseWheelEvent.java,
9105 java/awt/event/MouseWheelListener.java,
9106 java/awt/event/WindowFocusListener.java,
9107 java/awt/event/WindowStateListener.java,
9108 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9109 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9110 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9111 java/awt/geom/FlatteningPathIterator.java,
9112 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9113 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9114 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9115 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9116 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9117 java/awt/image/ImagingOpException.java,
9118 java/awt/image/RasterFormatException.java,
9119 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9120 java/awt/image/VolatileImage.java,
9121 java/awt/image/WritableRenderedImage.java,
9122 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9123 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9124 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9125 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9126 java/awt/PageAttributes.java, java/awt/print/Book.java,
9127 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9128 java/awt/print/Paper.java, java/awt/print/Printable.java,
9129 java/awt/print/PrinterAbortException.java,
9130 java/awt/print/PrinterException.java,
9131 java/awt/print/PrinterGraphics.java,
9132 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9133 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9134 java/awt/Stroke.java, java/awt/TexturePaint.java,
9135 javax/accessibility/AccessibleAction.java,
9136 javax/accessibility/AccessibleBundle.java,
9137 javax/accessibility/AccessibleComponent.java,
9138 javax/accessibility/AccessibleContext.java,
9139 javax/accessibility/AccessibleEditableText.java,
9140 javax/accessibility/AccessibleExtendedComponent.java,
9141 javax/accessibility/AccessibleExtendedTable.java,
9142 javax/accessibility/AccessibleHyperlink.java,
9143 javax/accessibility/AccessibleHypertext.java,
9144 javax/accessibility/AccessibleIcon.java,
9145 javax/accessibility/Accessible.java,
9146 javax/accessibility/AccessibleKeyBinding.java,
9147 javax/accessibility/AccessibleRelation.java,
9148 javax/accessibility/AccessibleRelationSet.java,
9149 javax/accessibility/AccessibleResourceBundle.java,
9150 javax/accessibility/AccessibleRole.java,
9151 javax/accessibility/AccessibleSelection.java,
9152 javax/accessibility/AccessibleState.java,
9153 javax/accessibility/AccessibleStateSet.java,
9154 javax/accessibility/AccessibleTable.java,
9155 javax/accessibility/AccessibleTableModelChange.java,
9156 javax/accessibility/AccessibleText.java,
9157 javax/accessibility/AccessibleValue.java,
9158 javax/swing/AbstractAction.java,
9159 javax/swing/AbstractButton.java,
9160 javax/swing/AbstractCellEditor.java,
9161 javax/swing/AbstractListModel.java,
9162 javax/swing/AbstractSet.java, javax/swing/Action.java,
9163 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9164 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9165 javax/swing/border/CompoundBorder.java,
9166 javax/swing/border/EmptyBorder.java,
9167 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9168 javax/swing/border/LineBorder.java,
9169 javax/swing/border/MatteBorder.java,
9170 javax/swing/border/TitledBorder.java,
9171 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9172 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9173 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9174 javax/swing/CellRendererPane.java,
9175 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9176 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9177 javax/swing/colorchooser/ColorSelectionModel.java,
9178 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9179 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9180 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9181 javax/swing/DefaultBoundedRangeModel.java,
9182 javax/swing/DefaultButtonModel.java,
9183 javax/swing/DefaultCellEditor.java,
9184 javax/swing/DefaultCellRenderer.java,
9185 javax/swing/DefaultComboBoxModel.java,
9186 javax/swing/DefaultDesktopManager.java,
9187 javax/swing/DefaultFocusManager.java,
9188 javax/swing/DefaultListCellRenderer.java,
9189 javax/swing/DefaultListModel.java,
9190 javax/swing/DefaultListSelectionModel.java,
9191 javax/swing/DefaultSingleSelectionModel.java,
9192 javax/swing/DesktopManager.java,
9193 javax/swing/event/AncestorEvent.java,
9194 javax/swing/event/AncestorListener.java,
9195 javax/swing/event/CaretEvent.java,
9196 javax/swing/event/CaretListener.java,
9197 javax/swing/event/CellEditorListener.java,
9198 javax/swing/event/ChangeEvent.java,
9199 javax/swing/event/ChangeListener.java,
9200 javax/swing/event/DocumentEvent.java,
9201 javax/swing/event/DocumentListener.java,
9202 javax/swing/event/EventListenerList.java,
9203 javax/swing/event/HyperlinkEvent.java,
9204 javax/swing/event/HyperlinkListener.java,
9205 javax/swing/event/InternalFrameAdapter.java,
9206 javax/swing/event/InternalFrameEvent.java,
9207 javax/swing/event/InternalFrameListener.java,
9208 javax/swing/event/ListDataEvent.java,
9209 javax/swing/event/ListDataListener.java,
9210 javax/swing/event/ListSelectionEvent.java,
9211 javax/swing/event/ListSelectionListener.java,
9212 javax/swing/event/MenuDragMouseEvent.java,
9213 javax/swing/event/MenuDragMouseListener.java,
9214 javax/swing/event/MenuEvent.java,
9215 javax/swing/event/MenuKeyEvent.java,
9216 javax/swing/event/MenuKeyListener.java,
9217 javax/swing/event/MenuListener.java,
9218 javax/swing/event/MouseInputAdapter.java,
9219 javax/swing/event/MouseInputListener.java,
9220 javax/swing/event/PopupMenuEvent.java,
9221 javax/swing/event/PopupMenuListener.java,
9222 javax/swing/event/SwingPropertyChangeSupport.java,
9223 javax/swing/event/TableColumnModelEvent.java,
9224 javax/swing/event/TableColumnModelListener.java,
9225 javax/swing/event/TableModelEvent.java,
9226 javax/swing/event/TableModelListener.java,
9227 javax/swing/event/TreeExpansionEvent.java,
9228 javax/swing/event/TreeExpansionListener.java,
9229 javax/swing/event/TreeModelEvent.java,
9230 javax/swing/event/TreeModelListener.java,
9231 javax/swing/event/TreeSelectionEvent.java,
9232 javax/swing/event/TreeSelectionListener.java,
9233 javax/swing/event/TreeWillExpandListener.java,
9234 javax/swing/event/UndoableEditEvent.java,
9235 javax/swing/event/UndoableEditListener.java,
9236 javax/swing/filechooser/FileFilter.java,
9237 javax/swing/filechooser/FileSystemView.java,
9238 javax/swing/filechooser/FileView.java,
9239 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9240 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9241 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9242 javax/swing/JApplet.java, javax/swing/JButton.java,
9243 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9244 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9245 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9246 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9247 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9248 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9249 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9250 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9251 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9252 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9253 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9254 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9255 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9256 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9257 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9258 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9259 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9260 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9261 javax/swing/JToolTip.java, javax/swing/JTree.java,
9262 javax/swing/JViewport.java, javax/swing/JWindow.java,
9263 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9264 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9265 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9266 javax/swing/MenuSelectionManager.java,
9267 javax/swing/MutableComboBoxModel.java,
9268 javax/swing/OverlayLayout.java,
9269 javax/swing/plaf/ActionMapUIResource.java,
9270 javax/swing/plaf/basic/BasicBorders.java,
9271 javax/swing/plaf/basic/BasicButtonUI.java,
9272 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9273 javax/swing/plaf/basic/BasicDefaults.java,
9274 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9275 javax/swing/plaf/basic/BasicIconFactory.java,
9276 javax/swing/plaf/basic/BasicLabelUI.java,
9277 javax/swing/plaf/basic/BasicListUI.java,
9278 javax/swing/plaf/basic/BasicLookAndFeel.java,
9279 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9280 javax/swing/plaf/basic/BasicPanelUI.java,
9281 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9282 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9283 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9284 javax/swing/plaf/basic/BasicTextUI.java,
9285 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9286 javax/swing/plaf/basic/BasicTreeUI.java,
9287 javax/swing/plaf/basic/BasicViewportUI.java,
9288 javax/swing/plaf/BorderUIResource.java,
9289 javax/swing/plaf/ButtonUI.java,
9290 javax/swing/plaf/ColorChooserUI.java,
9291 javax/swing/plaf/ColorUIResource.java,
9292 javax/swing/plaf/ComboBoxUI.java,
9293 javax/swing/plaf/ComponentInputMapUIResource.java,
9294 javax/swing/plaf/ComponentUI.java,
9295 javax/swing/plaf/DesktopIconUI.java,
9296 javax/swing/plaf/DesktopPaneUI.java,
9297 javax/swing/plaf/DimensionUIResource.java,
9298 javax/swing/plaf/FileChooserUI.java,
9299 javax/swing/plaf/FontUIResource.java,
9300 javax/swing/plaf/IconUIResource.java,
9301 javax/swing/plaf/InputMapUIResource.java,
9302 javax/swing/plaf/InsetsUIResource.java,
9303 javax/swing/plaf/InternalFrameUI.java,
9304 javax/swing/plaf/LabelUI.java,
9305 javax/swing/plaf/ListUI.java,
9306 javax/swing/plaf/MenuBarUI.java,
9307 javax/swing/plaf/MenuItemUI.java,
9308 javax/swing/plaf/OptionPaneUI.java,
9309 javax/swing/plaf/PanelUI.java,
9310 javax/swing/plaf/PopupMenuUI.java,
9311 javax/swing/plaf/ProgressBarUI.java,
9312 javax/swing/plaf/RootPaneUI.java,
9313 javax/swing/plaf/ScrollBarUI.java,
9314 javax/swing/plaf/ScrollPaneUI.java,
9315 javax/swing/plaf/SeparatorUI.java,
9316 javax/swing/plaf/SliderUI.java,
9317 javax/swing/plaf/SplitPaneUI.java,
9318 javax/swing/plaf/TabbedPaneUI.java,
9319 javax/swing/plaf/TableHeaderUI.java,
9320 javax/swing/plaf/TableUI.java,
9321 javax/swing/plaf/TextUI.java,
9322 javax/swing/plaf/ToolBarUI.java,
9323 javax/swing/plaf/ToolTipUI.java,
9324 javax/swing/plaf/TreeUI.java,
9325 javax/swing/plaf/UIResource.java,
9326 javax/swing/plaf/ViewportUI.java,
9327 javax/swing/ProgressMonitorInputStream.java,
9328 javax/swing/ProgressMonitor.java,
9329 javax/swing/Renderer.java,
9330 javax/swing/RepaintManager.java,
9331 javax/swing/RootPaneContainer.java,
9332 javax/swing/Scrollable.java,
9333 javax/swing/ScrollPaneConstants.java,
9334 javax/swing/ScrollPaneLayout.java,
9335 javax/swing/SingleSelectionModel.java,
9336 javax/swing/SizeRequirements.java,
9337 javax/swing/SizeSequence.java,
9338 javax/swing/SwingConstants.java,
9339 javax/swing/SwingUtilities.java,
9340 javax/swing/table/AbstractTableModel.java,
9341 javax/swing/table/DefaultTableCellRenderer.java,
9342 javax/swing/table/DefaultTableColumnModel.java,
9343 javax/swing/table/DefaultTableModel.java,
9344 javax/swing/table/TableCellEditor.java,
9345 javax/swing/table/TableCellRenderer.java,
9346 javax/swing/table/TableColumn.java,
9347 javax/swing/table/TableColumnModel.java,
9348 javax/swing/table/TableModel.java,
9349 javax/swing/text/AbstractDocument.java,
9350 javax/swing/text/AttributeSet.java,
9351 javax/swing/text/BadLocationException.java,
9352 javax/swing/text/Caret.java,
9353 javax/swing/text/CharacterIterator.java,
9354 javax/swing/text/ComponentView.java,
9355 javax/swing/text/DefaultCaret.java,
9356 javax/swing/text/DefaultEditorKit.java,
9357 javax/swing/text/Document.java,
9358 javax/swing/text/EditorKit.java,
9359 javax/swing/text/Element.java,
9360 javax/swing/text/GapContent.java,
9361 javax/swing/text/JTextComponent.java,
9362 javax/swing/text/Keymap.java,
9363 javax/swing/text/MutableAttributeSet.java,
9364 javax/swing/text/PlainDocument.java,
9365 javax/swing/text/PlainEditorKit.java,
9366 javax/swing/text/Position.java,
9367 javax/swing/text/Segment.java,
9368 javax/swing/text/StyledDocument.java,
9369 javax/swing/text/StyledEditorKit.java,
9370 javax/swing/text/Style.java,
9371 javax/swing/text/TextAction.java,
9372 javax/swing/text/ViewFactory.java,
9373 javax/swing/text/View.java,
9374 javax/swing/Timer.java,
9375 javax/swing/ToggleButtonModel.java,
9376 javax/swing/ToolTipManager.java,
9377 javax/swing/tree/AbstractLayoutCache.java,
9378 javax/swing/tree/DefaultMutableTreeNode.java,
9379 javax/swing/tree/DefaultTreeCellEditor.java,
9380 javax/swing/tree/DefaultTreeCellRenderer.java,
9381 javax/swing/tree/DefaultTreeModel.java,
9382 javax/swing/tree/DefaultTreeSelectionModel.java,
9383 javax/swing/tree/ExpandVetoException.java,
9384 javax/swing/tree/FixedHeightLayoutCache.java,
9385 javax/swing/tree/MutableTreeNode.java,
9386 javax/swing/tree/RowMapper.java,
9387 javax/swing/tree/TreeCellEditor.java,
9388 javax/swing/tree/TreeCellRenderer.java,
9389 javax/swing/tree/TreeModel.java,
9390 javax/swing/tree/TreeNode.java,
9391 javax/swing/tree/TreePath.java,
9392 javax/swing/tree/TreeSelectionModel.java,
9393 javax/swing/tree/VariableHeightLayoutCache.java,
9394 javax/swing/UIDefaults.java,
9395 javax/swing/UIManager.java,
9396 javax/swing/undo/AbstractUndoableEdit.java,
9397 javax/swing/undo/CannotRedoException.java,
9398 javax/swing/undo/CannotUndoException.java,
9399 javax/swing/undo/CompoundEdit.java,
9400 javax/swing/undo/StateEditable.java,
9401 javax/swing/undo/StateEdit.java,
9402 javax/swing/undo/UndoableEdit.java,
9403 javax/swing/undo/UndoableEditSupport.java,
9404 javax/swing/undo/UndoManager.java,
9405 javax/swing/UnsupportedLookAndFeelException.java,
9406 javax/swing/ViewportLayout.java,
9407 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9408
9409 * java/awt/ActiveEvent.java,
9410 java/awt/Adjustable.java, java/awt/AWTError.java,
9411 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9412 java/awt/AWTException.java, java/awt/AWTPermission.java,
9413 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9414 java/awt/Color.java, java/awt/Component.java,
9415 java/awt/ComponentOrientation.java, java/awt/Container.java,
9416 java/awt/datatransfer/MimeTypeParseException.java,
9417 java/awt/datatransfer/Transferable.java,
9418 java/awt/datatransfer/UnsupportedFlavorException.java,
9419 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9420 java/awt/event/ActionListener.java,
9421 java/awt/event/AdjustmentEvent.java,
9422 java/awt/event/AdjustmentListener.java,
9423 java/awt/event/AWTEventListener.java,
9424 java/awt/event/ComponentAdapter.java,
9425 java/awt/event/ComponentEvent.java,
9426 java/awt/event/ComponentListener.java,
9427 java/awt/event/ContainerAdapter.java,
9428 java/awt/event/ContainerEvent.java,
9429 java/awt/event/ContainerListener.java,
9430 java/awt/event/FocusAdapter.java,
9431 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9432 java/awt/event/HierarchyBoundsAdapter.java,
9433 java/awt/event/HierarchyBoundsListener.java,
9434 java/awt/event/HierarchyEvent.java,
9435 java/awt/event/HierarchyListener.java,
9436 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9437 java/awt/event/InputMethodListener.java,
9438 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9439 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9440 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9441 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9442 java/awt/event/MouseListener.java,
9443 java/awt/event/MouseMotionAdapter.java,
9444 java/awt/event/MouseMotionListener.java,
9445 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9446 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9447 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9448 java/awt/event/WindowListener.java, java/awt/Font.java,
9449 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9450 java/awt/geom/Ellipse2D.java,
9451 java/awt/geom/IllegalPathStateException.java,
9452 java/awt/geom/Line2D.java,
9453 java/awt/geom/NoninvertibleTransformException.java,
9454 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9455 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9456 java/awt/geom/RoundRectangle2D.java,
9457 java/awt/GraphicsConfiguration.java,
9458 java/awt/IllegalComponentStateException.java,
9459 java/awt/image/IndexColorModel.java,
9460 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9461 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9462 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9463 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9464 java/awt/MenuItem.java, java/awt/PaintContext.java,
9465 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9466 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9467 java/awt/PrintJob.java, java/awt/Rectangle.java,
9468 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9469 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9470 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9471
9472 * java/awt/im/spi/InputMethod.java,
9473 java/awt/im/spi/InputMethodContext.java,
9474 java/awt/im/spi/InputMethodDescriptor.java,
9475 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9476 java/awt/image/renderable/ParameterBlock.java,
9477 java/awt/image/renderable/RenderContext.java,
9478 java/awt/image/renderable/RenderableImage.java,
9479 java/awt/image/renderable/RenderableImageOp.java,
9480 java/awt/image/renderable/RenderableImageProducer.java,
9481 java/awt/image/renderable/RenderedImageFactory.java: New files from
9482 classpath.
9483
9484 * gnu/java/awt/EventModifier.java,
9485 gnu/java/awt/image/ImageDecoder.java,
9486 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9487
9488 * gnu/awt/xlib/XGraphicsConfiguration.java,
9489 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9490 API.
9491
9492 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9493 GNU Classpath.
9494
9495 * Makefile.am: Add new files.
9496 * Makefile.in: Rebuilt.
9497
9498 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9499
9500 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9501 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9502 findResource, getResources, findResources): Add javadoc from classpath.
9503 (getSystemResources): Implemented.
9504
9505 2002-08-01 Mark Wielaard <mark@klomp.org>
9506
9507 Revert patch that breaks libgcj shared library on powerpc:
9508 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9509 implementation classes by using Class.getName(). Uses Strings again.
9510 * gnu/java/security/der/DEREncodingException.java,
9511 gnu/java/security/provider/DERReader.java,
9512 gnu/java/security/provider/DERWriter.java,
9513 gnu/java/security/provider/DSAKeyPairGenerator.java,
9514 gnu/java/security/provider/DSAParameterGenerator.java,
9515 gnu/java/security/provider/DSAParameters.java,
9516 gnu/java/security/provider/DSASignature.java,
9517 gnu/java/security/provider/GnuDSAPrivateKey.java,
9518 gnu/java/security/provider/GnuDSAPublicKey.java,
9519 gnu/java/security/provider/MD5.java,
9520 gnu/java/security/util/Prime.java: Removed.
9521 * Makefile.am (ordinary_java_source_files): Remove above files.
9522 * Makefile.in: Regenerate.
9523 * gnu/java/security/provider/DefaultPolicy.java
9524 (getPermissions): Revert to maintaining static class variable of
9525 Permissions.
9526 * gnu/java/security/provider/SHA.java
9527 (engineUpdate): Revert algorithm change.
9528 (engineDigest): Revert algorithm change.
9529
9530 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9531
9532 * configure.host: Add SH support.
9533 * sysdep/sh/locks.h: New file.
9534
9535 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9536
9537 * java/awt/Frame.java (Frame): Remove println calls.
9538
9539 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9540
9541 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9542 * configure: Rebuilt.
9543
9544 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9545
9546 * sysdep/powerpc/locks.h: Formatting.
9547 (_LARX): Define.
9548 (_STCX): Define.
9549 (compare_and_swap): Use _LARX and _STCX.
9550 (compare_and_swap_release): Likewise.
9551
9552 2002-07-26 Tom Tromey <tromey@redhat.com>
9553
9554 * java/net/Authenticator.java: New version from Classpath.
9555 * java/net/DatagramSocketImpl.java: New version from Classpath.
9556
9557 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9558
9559 * configure.host: Add powerpc64*-* entry.
9560
9561 2002-07-26 Tom Tromey <tromey@redhat.com>
9562
9563 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9564 fcntl.h.
9565
9566 2002-07-24 Tom Tromey <tromey@redhat.com>
9567
9568 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9569 argument to _load.
9570
9571 2002-07-24 Tom Tromey <tromey@redhat.com>
9572 Tony Kimball <alk@pobox.com>
9573
9574 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9575 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9576 * java/io/RandomAccessFile.java (setLength): New method.
9577 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9578 * java/io/FileDescriptor.java (setLength): New method.
9579
9580 2002-07-24 Mark Wielaard <mark@klomp.org>
9581
9582 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9583 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9584 field call setAccessible(true).
9585 (setByteField): Likewise.
9586 (setCharField): Likewise.
9587 (setDoubleField): Likewise.
9588 (setFloatField): Likewise.
9589 (setIntField): Likewise.
9590 (setLongField): Likewise.
9591 (setShortField): Likewise.
9592 (setObjectField): Likewise.
9593
9594 2002-07-24 Tom Tromey <tromey@redhat.com>
9595
9596 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9597 use toString() to format array element.
9598
9599 2002-07-23 Mark Wielaard <mark@klomp.org>
9600
9601 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9602 MessageDigestSpi (fixes Classpath bug #783).
9603
9604 2002-07-21 Mark Wielaard <mark@klomp.org>
9605
9606 * gnu/java/security/provider/Gnu.java: Reference all implementation
9607 classes by using Class.getName().
9608
9609 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9610
9611 * java/lang/ieeefp.h: Add x86-64 support.
9612 * configure.in: Likewise.
9613 * configure.host: Likewise.
9614 * configure: Regenerated.
9615 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9616
9617 2002-07-16 Mark Wielaard <mark@klomp.org>
9618
9619 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9620 (whitespaceChars): call resetChar().
9621
9622 2002-07-15 Tom Tromey <tromey@redhat.com>
9623
9624 * Makefile.in: Rebuilt.
9625 * Makefile.am (awt_java_source_files): Added new files.
9626 * java/beans/ExceptionListener.java: Merged with Classpath.
9627 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9628 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9629 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9630 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9631 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9632 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9633 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9634
9635 2002-07-14 Mark Wielaard <mark@klomp.org>
9636
9637 * gnu/java/security/der/DEREncodingException.java,
9638 gnu/java/security/provider/DERReader.java,
9639 gnu/java/security/provider/DERWriter.java,
9640 gnu/java/security/provider/DSAKeyPairGenerator.java,
9641 gnu/java/security/provider/DSAParameterGenerator.java,
9642 gnu/java/security/provider/DSAParameters.java,
9643 gnu/java/security/provider/DSASignature.java,
9644 gnu/java/security/provider/GnuDSAPrivateKey.java,
9645 gnu/java/security/provider/GnuDSAPublicKey.java,
9646 gnu/java/security/provider/MD5.java,
9647 gnu/java/security/util/Prime.java: New files from Classpath.
9648 * Makefile.am (ordinary_java_source_files): Add new files.
9649 * Makefile.in: Regenerate.
9650
9651 2002-07-14 C. Brian Jones <cbj@gnu.org>
9652
9653 * gnu/java/security/provider/DefaultPolicy.java
9654 (getPermissions): do not maintain static class variable of
9655 Permissions
9656 * gnu/java/security/provider/SHA.java
9657 (engineUpdate): algorithm change
9658 (engineDigest): algorithm change
9659
9660 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9661
9662 For PR libgcj/7292:
9663 * java/lang/Character.java (toString(char)): Now static.
9664
9665 2002-07-12 Mark Wielaard <mark@klomp.org>
9666
9667 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9668 (getStackTrace0): new method.
9669 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9670 (printStackTrace(PrintWriter)): replace with pure java implementation.
9671 (printRawStackTrace): removed.
9672 (getStackTrace0): new method.
9673 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9674 * gcj/javaprims.h: regenerate class list.
9675 * include/name-finder.h (lookup): new returns StackTraceElement*.
9676 (method_name, file_name): fields removed.
9677 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9678 (~_Jv_name_finder): close new descriptors.
9679 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9680 (createStackTraceElement): new method.
9681 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9682
9683 2002-07-10 Tom Tromey <tromey@redhat.com>
9684
9685 * configure: Rebuilt.
9686 * configure.in: Use `test' after `&&'. From Chris Faylor.
9687
9688 2002-07-08 Mark Wielaard <mark@klomp.org>
9689
9690 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9691 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9692 java.sql.DatabaseMetaData.TestJdbc20
9693
9694 2002-07-05 Tony Kimball <alk@pobox.com>
9695
9696 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9697
9698 2002-07-04 Tom Tromey <tromey@redhat.com>
9699 Jeff Sturm <jsturm@one-point.com>
9700
9701 Fix for PR libgcj/7060:
9702 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9703 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9704 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9705 * java/lang/Class.java (getMethod): New Java implementation;
9706 complies with spec.
9707 (_getMethod): New native method.
9708
9709 2002-07-02 Tom Tromey <tromey@redhat.com>
9710 David Hovemeyer <daveho@cs.umd.edu>
9711
9712 * java/text/ChoiceFormat.java
9713 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9714 in check loop.
9715 * java/text/MessageFormat.java
9716 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9717 to MessageFormat.
9718
9719 2002-07-01 Tom Tromey <tromey@redhat.com>
9720
9721 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9722 StringTokenizer on null string. For PR libgcj/7180.
9723 From daveho@cs.umd.edu.
9724
9725 2002-06-24 Tom Tromey <tromey@redhat.com>
9726
9727 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9728 (IntegerClass): Likewise.
9729 * java/lang/natClass.cc (CloneableClass): Removed.
9730 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9731 ConstructorClass): Likewise.
9732 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9733 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9734 SerializableClass): Likewise.
9735 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9736 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9737 LongClass, FloatClass, DoubleClass): Likewise.
9738
9739 * verify.cc (branch_prepass): Updated for change to exception
9740 handler type.
9741 (verify_instructions_0): Likewise.
9742 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9743 (handleExceptionTableEntry): Updated for change to exception
9744 handler type.
9745 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9746 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9747 (union _Jv_InterpPC): New.
9748 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9749 (class _Jv_InterpMethod): Added new `prepared' field.
9750 (class _Jv_InterpMethod): Added `compile' method. Removed
9751 `continue1' and `find_exception'. Changed arguments to `run'.
9752 * interpret.cc (union insn_slot): New.
9753 (find_exception): Removed.
9754 (run_normal): Removed most logic.
9755 (run_synch_object): Likewise; also, use JvSynchronize.
9756 (run_synch_class): Likewise.
9757 (run): Removed.
9758 (continue1): Renamed as `run'. Compile bytecode if required.
9759 Add new code to allow refinement of direct-threaded code at
9760 runtime. Handle exceptions.
9761 (SAVE_PC): Removed.
9762 (compile): New method.
9763 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9764 (NULLARRAYCHECK): Don't use SAVE_PC.
9765 (pc_t): New typedef.
9766 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9767 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9768
9769 2002-06-23 Tom Tromey <tromey@redhat.com>
9770
9771 * configure: Rebuilt.
9772 * configure.in (INTERPRETER): New subst.
9773 (AM_RUNTESTFLAGS): Don't subst.
9774
9775 * Makefile.in: Rebuilt.
9776 * Makefile.am ($(srcdir)/java/lang/Object.h,
9777 $(srcdir)/java/lang/Class.h): Added dummy targets.
9778
9779 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9780
9781 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9782
9783 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9784 java/sql/Savepoint.java: New files.
9785 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9786 java/sql/Blob.java, java/sql/CallableStatement.java,
9787 java/sql/Clob.java, java/sql/Connection.java,
9788 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9789 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9790 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9791 java/sql/Ref.java, java/sql/ResultSet.java,
9792 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9793 java/sql/SQLException.java, java/sql/SQLInput.java,
9794 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9795 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9796 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9797 (JDK 1.4) specification.
9798 * javax/sql/ConnectionEvent.java,
9799 javax/sql/ConnectionEventListener.java,
9800 javax/sql/ConnectionPoolDataSource.java,
9801 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9802 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9803 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9804 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9805 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9806 javax/sql/XADataSource.java: New files.
9807 * Makefile.am: Add new files.
9808 * Makefile.in: Rebuilt.
9809
9810 2002-06-20 Tom Tromey <tromey@redhat.com>
9811
9812 For PR libgcj/7073:
9813 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9814 exists.
9815 * defineclass.cc (handleClassBegin): Superclass for interface is
9816 `null'.
9817
9818 2002-06-18 Tom Tromey <tromey@redhat.com>
9819
9820 * gcj/javaprims.h: Updated class declaration list.
9821 * Makefile.in: Rebuilt.
9822 * Makefile.am (core_java_source_files): Removed
9823 BasicMapEntry.java.
9824 * java/util/BasicMapEntry.java: Removed.
9825
9826 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9827
9828 * java/net/natPlainDatagramSocketImpl.cc (receive):
9829 Check bounds of argument to FD_SET.
9830 (setOption): Throw exception if socket is closed.
9831
9832 * java/net/natPlainSocketImpl.cc (accept, read):
9833 Check bounds of argument to FD_SET.
9834 (setOption): Throw exception if socket is closed.
9835
9836 2002-06-18 Tom Tromey <tromey@redhat.com>
9837
9838 * gcj/javaprims.h: Updated class declaration list.
9839 * Makefile.in: Rebuilt.
9840 * Makefile.am (core_java_source_files): Added
9841 PropertyPermissionCollection.java.
9842 * java/lang/Thread.java (group, name): Now package-private.
9843 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9844 * java/util/AbstractList.java: Likewise.
9845 * java/util/AbstractMap.java: Likewise.
9846 * java/util/Calendar.java: Likewise.
9847 * java/util/Collections.java: Likewise.
9848 * java/util/HashMap.java: Likewise.
9849 * java/util/Hashtable.java: Likewise.
9850 * java/util/LinkedHashMap.java: Likewise.
9851 * java/util/LinkedList.java: Likewise.
9852 * java/util/List.java: Likewise.
9853 * java/util/ListResourceBundle.java: Likewise.
9854 * java/util/Map.java: Likewise.
9855 * java/util/Observable.java: Likewise.
9856 * java/util/Properties.java: Likewise.
9857 * java/util/PropertyPermission.java: Likewise.
9858 * java/util/PropertyPermissionCollection.java: Likewise.
9859 * java/util/PropertyResourceBundle.java: Likewise.
9860 * java/util/Random.java: Likewise.
9861 * java/util/SimpleTimeZone.java: Likewise.
9862 * java/util/StringTokenizer.java: Likewise.
9863 * java/util/TimerTask.java: Likewise.
9864 * java/util/TreeMap.java: Likewise.
9865 * java/util/WeakHashMap.java: Likewise.
9866 * java/util/jar/Attributes.java: Likewise.
9867 * java/util/jar/JarException.java: Likewise.
9868 * java/util/jar/Manifest.java: Likewise.
9869
9870 2002-06-17 Tom Tromey <tromey@redhat.com>
9871
9872 * gcj/javaprims.h: Updated class declaration list.
9873 * Makefile.in: Rebuilt.
9874 * Makefile.am (core_java_source_files): Added new file.
9875 * java/util/EventListenerProxy.java: New file.
9876 * java/util/EventListener.java: Re-merge with Classpath.
9877 * java/util/EventObject.java: Re-merge with Classpath.
9878
9879 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9880
9881 * java/lang/ClassNotFoundException.java: New Classpath version.
9882
9883 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9884
9885 * java/rmi/activation/ActivateFailedException.java: Remerge from
9886 Classpath version.
9887 * java/rmi/activation/ActivationException.java: Ditto.
9888 * java/rmi/activation/UnknownGroupException.java: Ditto.
9889 * java/rmi/activation/UnknownObjectException.java: Ditto.
9890 * java/rmi/server/ExportException: Ditto.
9891 * java/rmi/server/ServerCloneException: Ditto.
9892 * java/rmi/server/ServerNotActiveException: Ditto.
9893 * java/rmi/server/SkeletonMismatchException: Ditto.
9894 * java/rmi/server/SkeletonNotFoundException: Ditto.
9895 * java/rmi/server/SocketSecurityException: Ditto.
9896
9897 2002-06-16 Tom Tromey <tromey@redhat.com>
9898
9899 * gcj/javaprims.h: Updated class declaration list.
9900
9901 * java/io/LineNumberInputStream.java: Merged with Classpath.
9902
9903 * java/lang/RuntimeException.java: Re-merge with Classpath.
9904 * java/util/ArrayList.java: Likewise.
9905 * java/util/Arrays.java: Likewise.
9906 * java/util/BitSet.java: Likewise.
9907 * java/util/Dictionary.java: Likewise.
9908 * java/util/IdentityHashMap.java: Likewise.
9909 * java/util/MissingResourceException.java: Likewise.
9910 * java/util/Observer.java: Likewise.
9911 * java/util/TooManyListenersException.java: Likewise.
9912 * java/util/zip/DataFormatException.java: Likewise.
9913 * java/util/zip/ZipException.java: Likewise.
9914
9915 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9916
9917 * java/rmi/AccessException.java: Remerge from Classpath.
9918 * java/rmi/AlreadyBoundException.java: Ditto.
9919 * java/rmi/ConnectException.java: Ditto.
9920 * java/rmi/ConnectIOException.java: Ditto.
9921 * java/rmi/MarshalException.java: Ditto.
9922 * java/rmi/NoSuchObjectException.java: Ditto.
9923 * java/rmi/NotBoundException.java: Ditto.
9924 * java/rmi/RemoteException.java: Ditto.
9925 * java/rmi/RMISecurityException.java: Ditto.
9926 * java/rmi/ServerError.java: Ditto.
9927 * java/rmi/ServerException.java: Ditto.
9928 * java/rmi/ServerRuntimeException.java: Ditto.
9929 * java/rmi/StubNotFoundException.java: Ditto.
9930 * java/rmi/UnexpectedExcpetion.java: Ditto.
9931 * java/rmi/UnknownHostException.java: Ditto.
9932 * java/rmi/UnmarshalException.java: Ditto.
9933
9934 2002-06-15 Tom Tromey <tromey@redhat.com>
9935
9936 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9937 * java/lang/ArithmeticException.java: Likewise.
9938 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9939 * java/lang/ArrayStoreException.java: Likewise.
9940 * java/lang/Byte.java: Likewise.
9941 * java/lang/CharSequence.java: Likewise.
9942 * java/lang/ClassCastException.java: Likewise.
9943 * java/lang/ClassCircularityError.java: Likewise.
9944 * java/lang/ClassFormatError.java: Likewise.
9945 * java/lang/CloneNotSupportedException.java: Likewise.
9946 * java/lang/Cloneable.java: Likewise.
9947 * java/lang/Comparable.java: Likewise.
9948 * java/lang/Compiler.java: Likewise.
9949 * java/lang/Error.java: Likewise.
9950 * java/lang/ExceptionInInitializerError.java: Likewise.
9951 * java/lang/IllegalAccessError.java: Likewise.
9952 * java/lang/IllegalAccessException.java: Likewise.
9953 * java/lang/IllegalArgumentException.java: Likewise.
9954 * java/lang/IllegalMonitorStateException.java: Likewise.
9955 * java/lang/IllegalStateException.java: Likewise.
9956 * java/lang/IllegalThreadStateException.java: Likewise.
9957 * java/lang/IncompatibleClassChangeError.java: Likewise.
9958 * java/lang/IndexOutOfBoundsException.java: Likewise.
9959 * java/lang/InheritableThreadLocal.java: Likewise.
9960 * java/lang/InstantiationError.java: Likewise.
9961 * java/lang/InstantiationException.java: Likewise.
9962 * java/lang/InternalError.java: Likewise.
9963 * java/lang/InterruptedException.java: Likewise.
9964 * java/lang/LinkageError.java: Likewise.
9965 * java/lang/NegativeArraySizeException.java: Likewise.
9966 * java/lang/NoClassDefFoundError.java: Likewise.
9967 * java/lang/NoSuchFieldError.java: Likewise.
9968 * java/lang/NoSuchFieldException.java: Likewise.
9969 * java/lang/NoSuchMethodError.java: Likewise.
9970 * java/lang/NoSuchMethodException.java: Likewise.
9971 * java/lang/NullPointerException.java: Likewise.
9972 * java/lang/NumberFormatException.java: Likewise.
9973 * java/lang/OutOfMemoryError.java: Likewise.
9974 * java/lang/Process.java: Likewise.
9975 * java/lang/Runnable.java: Likewise.
9976 * java/lang/RuntimePermission.java: Likewise.
9977 * java/lang/SecurityException.java: Likewise.
9978 * java/lang/Short.java: Likewise.
9979 * java/lang/StackOverflowError.java: Likewise.
9980 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9981 * java/lang/ThreadDeath.java: Likewise.
9982 * java/lang/ThreadLocal.java: Likewise.
9983 * java/lang/UnknownError.java: Likewise.
9984 * java/lang/UnsatisfiedLinkError.java: Likewise.
9985 * java/lang/UnsupportedClassVersionError.java: Likewise.
9986 * java/lang/UnsupportedOperationException.java: Likewise.
9987 * java/lang/VerifyError.java: Likewise.
9988 * java/lang/VirtualMachineError.java: Likewise.
9989 * java/lang/reflect/InvocationTargetException.java: Likewise.
9990 * java/net/BindException.java: Likewise.
9991 * java/net/ConnectException.java: Likewise.
9992 * java/net/MalformedURLException.java: Likewise.
9993 * java/net/NoRouteToHostException.java: Likewise.
9994 * java/net/ProtocolException.java: Likewise.
9995 * java/net/SocketException.java: Likewise.
9996 * java/net/UnknownHostException.java: Likewise.
9997 * java/net/UnknownServiceException.java: Likewise.
9998
9999 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10000 * java/io/CharConversionException.java: Likewise.
10001 * java/io/EOFException.java: Likewise.
10002 * java/io/FileNotFoundException.java: Likewise.
10003 * java/io/IOException.java: Likewise.
10004 * java/io/InterruptedIOException.java: Likewise.
10005 * java/io/InvalidClassException.java: Likewise.
10006 * java/io/InvalidObjectException.java: Likewise.
10007 * java/io/NotActiveException.java: Likewise.
10008 * java/io/NotSerializableException.java: Likewise.
10009 * java/io/ObjectStreamException.java: Likewise.
10010 * java/io/ObjectStreamConstants.java: Likewise.
10011 * java/io/OptionalDataException.java: Likewise.
10012 * java/io/PipedInputStream.java: Likewise.
10013 * java/io/PushbackInputStream.java: Likewise.
10014 * java/io/StreamCorruptedException.java: Likewise.
10015 * java/io/SyncFailedException.java: Likewise.
10016 * java/io/UTFDataFormatException.java: Likewise.
10017 * java/io/UnsupportedEncodingException.java: Likewise.
10018 * java/io/WriteAbortedException.java: Likewise.
10019
10020 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10021
10022 * java/text/ChoiceFormat.java: Update comments from Classpath.
10023 * java/text/ParseException.java (serialVersionUID): New
10024 field from Classpath.
10025 * java/text/ParseException.java: Update formatting & comments
10026 from Classpath.
10027
10028 2002-06-15 Tom Tromey <tromey@redhat.com>
10029
10030 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10031 been read but none output by inflater.
10032 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10033 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10034 is_finished.
10035 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10036 version.
10037 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10038 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10039 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10040 version.
10041 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10042
10043 2002-06-13 Tom Tromey <tromey@redhat.com>
10044
10045 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10046 true and OFFSET!=0.
10047 * java/lang/String.java (String(char[],int,int,boolean): New
10048 constructor.
10049 * java/lang/Long.java: Imported new version from Classpath.
10050 * java/lang/Number.java: Likewise.
10051 * java/lang/Integer.java: Likewise.
10052 * java/lang/Long.java: Likewise.
10053 * java/lang/Float.java: Likewise.
10054 * java/lang/Boolean.java: Likewise.
10055 * java/lang/Double.java: Likewise.
10056 * java/lang/Void.java: Likewise.
10057
10058 2002-06-12 Tom Tromey <tromey@redhat.com>
10059
10060 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10061 Fixes PR libgcj/6652.
10062
10063 2002-06-10 Tom Tromey <tromey@redhat.com>
10064
10065 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10066 (Class::getPackagePortion): Likewise.
10067 * java/lang/Class.java (desiredAssertionStatus): New method from
10068 Classpath.
10069 (getPackagePortion): Likewise.
10070 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10071 packageAssertionStatus, classAssertionStatus): New methods from
10072 Classpath.
10073 * java/lang/ClassLoader.java (defaultAssertionStatus,
10074 systemPackageAssertionStatus, packageAssertionStatus,
10075 systemClassAssertionStatus, classAssertionStatus): New fields from
10076 Classpath.
10077 (setDefaultAssertionStatus, setPackageAssertionStatus,
10078 setClassAssertionStatus, clearAssertionStatus): New methods from
10079 Classpath.
10080 * Makefile.in: Rebuilt.
10081 * Makefile.am (core_java_source_files): Added AssertionError.java.
10082 * java/lang/AssertionError.java: New from Classpath.
10083
10084 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10085
10086 * configure.host: Disable hash synchronization and slow_pthread_self
10087 for cygwin.
10088
10089 2002-06-06 Adam Megacz <adam@xwt.org>
10090
10091 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10092 locking, just like the Sun JVM does.
10093
10094 2002-06-05 H.J. Lu (hjl@gnu.org)
10095
10096 * Makefile.am (libgcj_convenience.la): Revert the last change.
10097 (libgcj.la): Likewise.
10098 * Makefile.in: Regenerated.
10099
10100 2002-06-04 H.J. Lu (hjl@gnu.org)
10101
10102 * Makefile.am (libgcj_convenience.la): New target.
10103 (libgcj.la): Depend on libgcj_convenience.la.
10104 * Makefile.in: Regenerated.
10105
10106 2002-06-04 H.J. Lu (hjl@gnu.org)
10107
10108 * configure.in (--with-newlib): New option:
10109 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10110 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10111 Linux.
10112 * configure: Regenerated.
10113
10114 2002-06-04 Tom Tromey <tromey@redhat.com>
10115
10116 * java/util/natTimeZone.cc: Include <stdio.h>.
10117
10118 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10119
10120 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10121 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10122 Set SIGNAL_HANDLER=include/s390-linux.h.
10123 * configure: Regenerate.
10124 * include/s390-linux.h: New file.
10125
10126 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10127
10128 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10129 not "stackTrace".
10130
10131 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10132
10133 Merge JDK 1.4 java.security changes from classpath.
10134
10135 * java/security/AccessControlException.java: Merge from Classpath.
10136 * java/security/AccessController.java: Likewise.
10137 * java/security/AllPermission.java: Likewise.
10138 * java/security/BasicPermission.java: Likewise.
10139 * java/security/Certificate.java: Likewise.
10140 * java/security/CodeSource.java: Likewise.
10141 * java/security/DigestException.java: Likewise.
10142 * java/security/DigestOutputStream.java: Likewise.
10143 * java/security/DomainCombiner.java: Likewise.
10144 * java/security/GeneralSecurityException.java: Likewise.
10145 * java/security/Guard.java: Likewise.
10146 * java/security/GuardedObject.java: Likewise.
10147 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10148 * java/security/InvalidKeyException.java: Likewise.
10149 * java/security/InvalidParameterException.java: Likewise.
10150 * java/security/Key.java: Likewise.
10151 * java/security/KeyException.java: Likewise.
10152 * java/security/KeyManagementException.java: Likewise.
10153 * java/security/KeyStoreException.java: Likewise.
10154 * java/security/MessageDigest.java: Likewise.
10155 * java/security/NoSuchAlgorithmException.java: Likewise.
10156 * java/security/NoSuchProviderException.java: Likewise.
10157 * java/security/Permission.java: Likewise.
10158 * java/security/PermissionCollection.java: Likewise.
10159 * java/security/Permissions.java: Likewise.
10160 * java/security/Policy.java: Likewise.
10161 * java/security/Principal.java: Likewise.
10162 * java/security/PrivateKey.java: Likewise.
10163 * java/security/PrivilegedAction.java: Likewise.
10164 * java/security/PrivilegedActionException.java: Likewise.
10165 * java/security/PrivilegedExceptionAction.java: Likewise.
10166 * java/security/ProtectionDomain.java: Likewise.
10167 * java/security/ProviderException.java: Likewise.
10168 * java/security/PublicKey.java: Likewise.
10169 * java/security/SecureClassLoader.java: Likewise.
10170 * java/security/SecurityPermission.java: Likewise.
10171 * java/security/SignatureException.java: Likewise.
10172 * java/security/UnrecoverableKeyException.java: Likewise.
10173 * java/security/UnresolvedPermission.java: Likewise.
10174 * java/security/acl/AclNotFoundException.java: Likewise.
10175 * java/security/acl/LastOwnerException.java: Likewise.
10176 * java/security/acl/NotOwnerException.java: Likewise.
10177 * java/security/cert/CRLException.java: Likewise.
10178 * java/security/cert/CertificateEncodingException.java: Likewise.
10179 * java/security/cert/CertificateException.java: Likewise.
10180 * java/security/cert/CertificateExpiredException.java: Likewise.
10181 * java/security/cert/CertificateFactory.java: Likewise.
10182 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10183 * java/security/cert/CertificateParsingException.java: Likewise.
10184 * java/security/spec/InvalidKeySpecException.java: Likewise.
10185 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10186
10187 * java/security/cert/CertPath.java: New file.
10188 * java/security/cert/CertPathBuilderException.java: New file.
10189 * java/security/cert/CertPathValidatorException.java: New file.
10190 * java/security/cert/CertStoreException.java: New file.
10191
10192 * Makefile.am: Add new CertPath classes.
10193 * Makefile.in: Rebuilt.
10194
10195 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10196
10197 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10198
10199 Merge JDK 1.4 exception chaining support from classpath.
10200
10201 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10202 (stackTraceBytes): Rename from stackTrace.
10203 * java/lang/Exception.java: Merge from classpath.
10204 * java/lang/StackTraceElement: New file from classpath.
10205 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10206 * Makefile.am: Add StackTraceElement.
10207 * Makefile.in: Rebuilt.
10208
10209 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10210
10211 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10212 they build first.
10213 * Makefile.in: Rebuilt.
10214
10215 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10216
10217 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10218 * configure.in: Likewise.
10219 * aclocal.m4: Regenerate.
10220 * configure: Regenerate.
10221
10222 2002-05-13 Tom Tromey <tromey@redhat.com>
10223
10224 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10225 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10226 Include platform.h.
10227
10228 Fixes PR libgcj/6389:
10229 * Makefile.in: Rebuilt.
10230 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10231 * java/util/natTimeZone.cc: New file.
10232 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10233 * java/lang/System.java: Merged with Classpath.
10234 * java/lang/Runtime.java: Merged with Classpath.
10235 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10236 security check.
10237 (setIn0): Renamed from setIn; don't run security check.
10238 (setOut0): Renamed from setOut; don't run security check.
10239 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10240 init_properties): Moved to natRuntime.cc.
10241 Moved many includes to natRuntime.cc.
10242 (isWordsBigEndian): New method.
10243 * java/lang/natRuntime.cc: Include Long.h, also other includes
10244 previously in natSystem.cc.
10245 (maxMemory): New function.
10246 (exitInternal): Renamed from `_exit'.
10247 (exit): Removed.
10248 (init): Don't set finalize_on_exit.
10249 (exitInternal): Use `finalizeOnExit'.
10250 (file_encoding, getpwuid_adaptor): New functions from
10251 natSystem.cc.
10252 (insertSystemProperties): New method, renamed from
10253 System::init_properties. Don't set user.timezone.
10254 (_load): Don't call checkLink.
10255 (execInternal): New method.
10256 (availableProcessors): Likewise.
10257 (nativeGetLibname): Likewise.
10258
10259 2002-05-11 Mark Wielaard <mark@klomp.org>
10260
10261 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10262 space characters.
10263 (previous_internal): Likewise.
10264
10265 2002-05-09 Tom Tromey <tromey@redhat.com>
10266
10267 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10268
10269 * java/util/ResourceBundle.java: New version from Classpath.
10270 * java/util/Locale.java: Likewise.
10271
10272 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10273
10274 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10275 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10276 LD_LIBRARY_PATH.
10277
10278 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10279
10280 * libjava/Makefile.am (all_java_source_files): New variable.
10281 (all_java_class_files): Likewise.
10282 .java.class: New rule.
10283 (CLEANFILES): Remove tmp-list.
10284 * libjava/Makefile.in: Regenerated.
10285
10286 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10287
10288 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10289 Append .exe to executable names. Fix for cygwin.
10290
10291 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10292
10293 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10294 script entry, and set LD to it when configuring multilibs.
10295 * configure: Rebuilt.
10296
10297 2002-05-07 Tom Tromey <tromey@redhat.com>
10298
10299 * java/lang/natString.cc (unintern): Fixed typo.
10300
10301 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10302
10303 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10304 with -no-install on *-*-cygwin*.
10305
10306 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10307
10308 * testsuite/lib/libjava.exp (test_libjava_from_source):
10309 Add comment explaining last patch
10310
10311 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10312
10313 * testsuite/lib/libjava.exp (test_libjava_from_source):
10314 Append .exe to executable names. If no suffix is present,
10315 then ".exe" is added by default on win32. Harmless
10316 elsewhere so always do it.
10317
10318 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10319 Tom Tromey <tromey@redhat.com>
10320
10321 * java/lang/natSystem.cc (getSystemTimeZone): Use
10322 HAVE_UNDERSCORE_TIMEZONE.
10323 * include/config.h.in: Rebuilt.
10324 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10325 * aclocal.m4, configure: Rebuilt.
10326 * acinclude.m4: Run AC_EXEEXT.
10327 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10328 Add test for `_timezone'.
10329
10330 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10331
10332 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10333 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10334 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10335 * Makefile.in: Rebuilt.
10336
10337 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10338
10339 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10340 use sigaction instead of __libc_sigaction.
10341
10342 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10343
10344 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10345 (libjava_init): Use it to find libgcj.spec.
10346 (libjava_arguments): Likewise.
10347
10348 2002-05-02 David S. Miller <davem@redhat.com>
10349
10350 PR bootstrap/6525
10351 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10352 __libc_sigaction on Sparc.
10353
10354 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10355
10356 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10357 sys/filio.h, if present.
10358
10359 2002-04-30 Tom Tromey <tromey@redhat.com>
10360
10361 * java/io/BufferedReader.java (fill): Handle case where markPos
10362 point to ignored \n. Fixes PR libgcj/6301.
10363
10364 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10365
10366 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10367
10368 2002-04-29 Adam King <aking@dreammechanics.com>
10369
10370 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10371 of file in APPEND mode.
10372
10373 2002-04-25 David S. Miller <davem@redhat.com>
10374
10375 PR target/6422
10376 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10377 program counter to next program counter minus 8. Update
10378 comments in this macro to explain why.
10379
10380 2002-04-26 Tom Tromey <tromey@redhat.com>
10381
10382 * verify.cc (construct_primitive_array_type) [void_type]: New
10383 case.
10384 (branch_prepass): Added dummy entries for unused instruction
10385 values.
10386 (verify_instructions_0): Likewise.
10387 * interpret.cc (continue1): Comment fix.
10388 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10389 * Makefile.in: Rebuilt.
10390 * Makefile.am: Added -Wswitch-enum.
10391
10392 2002-04-24 Tom Tromey <tromey@redhat.com>
10393
10394 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10395 correct length of UTF-8 encoded name. Strip leading `/'.
10396 (_Jv_RegisterResource): Use _Jv_Malloc.
10397
10398 2002-04-23 Adam Megacz <adam@xwt.org>
10399
10400 * win32.cc, include/win32.cc (backtrace): Added this function
10401 because Win32 does not supply it.
10402
10403 2002-04-21 David S. Miller <davem@redhat.com>
10404
10405 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10406 magic instruction reading sequence.
10407
10408 2002-04-21 Mark Wielaard <mark@klomp.org>
10409
10410 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10411
10412 2002-04-19 David S. Miller <davem@redhat.com>
10413
10414 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10415 arg.
10416 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10417 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10418 on Sparc too.
10419 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10420 for 64-bit sparc.
10421 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10422 * sysdeps/sparc/locks.h: New file.
10423 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10424 on all sparc Solaris configurations. Set to
10425 include/dwarf2-signal.h on sparc Linux.
10426 * configure: Regenerate
10427 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10428
10429 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10430
10431 * configure: Rebuilt.
10432 * configure.in (backtrace): Function doesn't work on IA-64.
10433
10434 2002-04-17 Adam King <aking@dreammechanics.com>
10435
10436 * java/io/File.java (normalizePath): Add Win32 support for auto
10437 conversion of a '/' path separator to Win32's '\' separator.
10438
10439 2002-04-16 Tom Tromey <tromey@redhat.com>
10440
10441 Fix for PR libgcj/6081:
10442 * Makefile.in: Rebuilt.
10443 * Makefile.am (install-data-local): Use GNU make trick to avoid
10444 shell limit.
10445
10446 2002-04-16 Adam King <aking@dreammechanics.com>
10447 Tom Tromey <tromey@redhat.com>
10448
10449 * java/io/natFileWin32.cc (performList): Return the correct array
10450 type. Don't duplicate the creation of a File since it's already
10451 done earlier in the method and the existing code would cause a
10452 ArrayStoreException. Don't use fixed-size array.
10453 (_access, _stat, attr, getCanonicalPath, performMkdir,
10454 performRenameTo): Don't use fixed-size array.
10455 (getCanonicalPath): Use throw, not _Jv_Throw.
10456
10457 2002-04-15 DJ Delorie <dj@redhat.com>
10458
10459 * configure.in: Allow building in $srcdir.
10460 * configure: Regenerated.
10461
10462 2002-04-14 Mark Wielaard <mark@klomp.org>
10463
10464 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10465 * java/net/natSocketImpl.cc (close): Likewise.
10466
10467 2002-04-14 Mark Wielaard <mark@klomp.org>
10468
10469 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10470
10471 2002-04-13 Adam King <aking@dreammechanics.com>
10472
10473 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10474 the f/F/d/D modifiers.
10475
10476 2002-04-12 Anthony Green <green@redhat.com>
10477
10478 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10479 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10480 * Makefile.in: Rebuilt.
10481 * configure.in: Substitute gcc_version.
10482 * configure: Rebuilt.
10483
10484 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10485
10486 * configure.host: Set can_unwind_signal on hosts which support it.
10487 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10488 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10489 exceptions and can_unwind_signal isn't set.
10490 * configure: Rebuilt.
10491
10492 2002-04-11 Tom Tromey <tromey@redhat.com>
10493
10494 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10495
10496 2002-04-11 Adam King <aking@dreammechanics.com>
10497 Tom Tromey <tromey@redhat.com>
10498
10499 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10500 _Jv_ThrowNullPointerException): Mark as noreturn.
10501 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10502 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10503 fixes.
10504
10505 2002-04-10 Tom Tromey <tromey@redhat.com>
10506
10507 * Makefile.in: Rebuilt.
10508 * Makefile.am (java/lang/Thread.h): Mark
10509 _Jv_AttachCurrentThreadAsDaemon as friend.
10510 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10511 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10512 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10513 function.
10514 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10515 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10516 (_Jv_JNI_InvokeFunctions): Added
10517 _Jv_JNI_AttachCurrentThreadAsDaemon.
10518 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10519 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10520 (JNI_CreateJavaVM): Likewise.
10521 (_Jv_JNI_AttachCurrentThread): Likewise.
10522 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10523 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10524 (_Jv_JNIFunctions): Initialize new fields.
10525 (_Jv_JNI_NewDirectByteBuffer): New function.
10526 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10527 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10528 * include/jni.h (JNI_VERSION_1_4): New macro.
10529 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10530 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10531 (JNINativeInterface::NewDirectByteBuffer): New field.
10532 (JNINativeInterface::GetDirectBufferAddress): New field.
10533 (JNINativeInterface::GetDirectBufferCapacity): New field.
10534 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10535 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10536 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10537
10538 2002-04-09 Tom Tromey <tromey@redhat.com>
10539
10540 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10541
10542 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10543
10544 Fix for PR libgcj/6187:
10545 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10546 distance.
10547
10548 2002-04-07 Mark Wielaard <mark@klomp.org>
10549
10550 * java/util/AbstractMap.java (putAll): Use entrySet size.
10551 (toString): Explicitly use getKey() and getValue().
10552
10553 2002-04-07 Mark Wielaard <mark@klomp.org>
10554
10555 * java/util/Hashtable.java (contains): Remove NullPointer check.
10556 (containsValue): Add NullPointer check.
10557 (remove): Always throw NullPointerException when key
10558 is null.
10559
10560 2002-04-07 Adam King <aking@dreammechanics.com>
10561
10562 * java/lang/natSystem.cc (init_properties): Call new function
10563 _Jv_platform_initProperties.
10564 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10565 support for the System properties os.name, os.arch, os.version,
10566 user.name, user.home, and user.dir.
10567 * include/posix.h, include/win32.h, posix.cc: New function
10568 _Jv_platform_initProperties.
10569
10570 2002-04-06 Mark Wielaard <mark@klomp.org>
10571
10572 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10573
10574 2002-04-06 Mark Wielaard <mark@klomp.org>
10575
10576 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10577 all of the remaining elements.
10578 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10579 (removeRange): If toIndex == fromIndex do
10580 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10581 (removeAll): Always throw NullPointerException when collection is
10582 null.
10583 (retrainAll): Likewise.
10584
10585 2002-04-05 Mark Wielaard <mark@klomp.org>
10586
10587 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10588 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10589
10590 2002-04-05 Adam Megacz <adam@xwt.org>
10591
10592 * exception.cc (abort): added static modifier
10593
10594 2002-04-04 Adam Megacz <adam@xwt.org>
10595
10596 * include/win32.h (_Jv_platform_close_on_exec): added inline
10597 modifier.
10598
10599 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10600
10601 * configure.host: Add case statement to support generic port
10602 properties. Add *-*-freebsd* section.
10603
10604 2002-04-04 Mark Wielaard <mark@klomp.org>
10605
10606 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10607 test.
10608 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10609 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10610 that depend on awt code and BufferedByteOutputStream.interrupt.
10611
10612 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10613
10614 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10615 incorrect "hi" value when count > 40.
10616
10617 2002-04-03 Mark Wielaard <mark@klomp.org>
10618
10619 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10620 ordering.
10621
10622 2002-04-02 Tom Tromey <tromey@redhat.com>
10623
10624 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10625 not `0'.
10626
10627 2002-04-02 Mark Wielaard <mark@klomp.org>
10628
10629 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10630 list of testsuite crashers.
10631
10632 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10633
10634 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10635 when resizing table.
10636
10637 2002-04-01 Mark Wielaard <mark@klomp.org>
10638
10639 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10640 NegativeArraySizeException
10641 (clear(int)): Use sign extended shift.
10642 (flip(int)): Likewise.
10643 (get(int)): Likewise.
10644 (nextClearBit(int)): Likewise.
10645 (nextSetBit(int)): Likewise.
10646 (set(int)): Likewise.
10647
10648 2002-04-01 Mark Wielaard <mark@klomp.org>
10649
10650 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10651 that can be compiled now and add testsuite crashers to ignore list.
10652
10653 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10654
10655 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10656
10657 * libgcj.spec.in: Override libgcc, not lib.
10658 * libgcj-test.spec.in: Likewise.
10659
10660 2002-03-29 Tom Tromey <tromey@redhat.com>
10661
10662 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10663 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10664
10665 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10666
10667 * java/net/PlainDatagramSocketImpl.java
10668 (close): Use native implementation.
10669 (finalize): New method.
10670
10671 * java/net/PlainSocketImpl.java (finalize): New method.
10672
10673 * java/net/natPlainDatagramSocketImpl.cc
10674 (java/io/FileDescriptor.h): Don't include.
10675 (close): Implement method here.
10676 (create): Don't assign fd.
10677
10678 * java/net/natPlainSocketImpl.cc
10679 (java/io/FileDescriptor.h): Don't include.
10680 (create): Don't assign fd.
10681 (accept): Likewise.
10682 (close): Synchronize.
10683
10684 2002-03-27 Richard Henderson <rth@redhat.com>
10685
10686 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10687
10688 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10689
10690 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10691 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10692 instead of syscall on IA-64.
10693 Add FIXME comment.
10694
10695 2002-03-27 Anthony Green <green@redhat.com>
10696
10697 * libgcj.spec.in: Add CHECKREFSPEC.
10698 * configure.in: Ditto.
10699 * configure.host: Ditto. Check references for xscale-elf.
10700 * configure: Rebuilt.
10701
10702 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10703
10704 * include/dwarf2-signal.h: Temporarily back out last change.
10705
10706 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10707
10708 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10709
10710 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10711
10712 * configure.in, configure: enable dwarf2-exception-style
10713 exception handling on IA-64.
10714 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10715 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10716 Add FIXME comment.
10717
10718 2002-03-25 Tom Tromey <tromey@redhat.com>
10719
10720 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10721 (jv_convert_LDFLAGS): Likewise.
10722 (gij_LDFLAGS): Likewise.
10723 (rmic_LDFLAGS): Likewise.
10724 (rmiregistry_LDFLAGS): Likewise.
10725 * configure.in (THREADLDFLAGS): New subst; set correctly for
10726 *BSD.
10727
10728 2002-03-25 Tom Tromey <tromey@redhat.com>
10729
10730 For PR libgcj/5303:
10731 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10732 and --version.
10733 (help): New method.
10734 (version): Likewise.
10735 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10736 "GNU".
10737 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10738 "GNU".
10739
10740 2002-03-25 Tom Tromey <tromey@redhat.com>
10741
10742 * java/awt/Component.java (processEvent): Check ComponentEvent
10743 after KeyEvent.
10744
10745 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10746
10747 * java/io/PushbackReader.java: Reformat.
10748
10749 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10750 calculate correct number of bytes skipped.
10751
10752 Based on patch from Intel's ORP team:
10753 * java/io/PushbackInputStream.java (available): Calculate correct
10754 number of bytes in buffer.
10755 (read): Remove redundant bound check. Return bytes from both the
10756 buffer and the stream.
10757
10758 2002-03-24 Tom Tromey <tromey@redhat.com>
10759
10760 * java/awt/TextComponent.java (TextComponent): Editable by
10761 default.
10762
10763 * java/awt/MenuItem.java (eventMask): No longer private.
10764 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10765 superclass if we didn't handle event.
10766 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10767 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10768 * java/awt/Choice.java (dispatchEventImpl): New method.
10769 * java/awt/List.java (dispatchEventImpl): New method.
10770 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10771 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10772 * java/awt/TextField.java (dispatchEventImpl): New method.
10773
10774 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10775
10776 * java/beans/IntrospectionException.java: Update to 1.4.
10777 * java/beans/PropertyVetoException.java: Ditto.
10778
10779 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10780
10781 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10782 Arrays.equals instead of ArrayHelper.equalsArray.
10783
10784 2002-03-24 C. Brian Jones <cbj@gnu.org>
10785
10786 * java/beans/Introspector.java: added new static final fields
10787 introduced in 1.2, lots of other updates remain to be done
10788
10789 2002-03-24 C. Brian Jones <cbj@gnu.org>
10790
10791 * java/beans/Introspector.java: reformatting
10792
10793 2002-03-24 C. Brian Jones <cbj@gnu.org>
10794
10795 * java/beans/Introspector.java: default beanInfoSearchPath will
10796 not include sun.beans.infos given we provide no such package and
10797 the API doesn't really require it; gnu.java.beans.info is the
10798 default.
10799
10800 2002-03-24 Mark Wielaard <mark@klomp.org>
10801
10802 Thanks to Orp developers
10803 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10804 switch TRUE and FALSE return values.
10805
10806 2002-03-23 Tom Tromey <tromey@redhat.com>
10807
10808 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10809 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10810
10811 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10812
10813 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10814 MONTH entry. Fixes PR libgcj/6045.
10815
10816 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10817
10818 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10819
10820 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10821
10822 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10823 not release_set.
10824 * sysdep/powerpc/locks.h (write_barrier): New function.
10825 * sysdep/i386/locks.h (write_barrier): New function.
10826
10827 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10828
10829 * include/jni.h Use correct C comments.
10830
10831 2002-03-18 Tom Tromey <tromey@redhat.com>
10832
10833 * include/jni.h (JNIIMPORT): New macro.
10834 (JNIEXPORT): Likewise.
10835 (JNICALL): Likewise.
10836
10837 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10838
10839 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10840 systems.
10841
10842 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10843
10844 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10845 INIT_SEGV: Use old_i386_kernel_sigaction.
10846 INIT_FP: Likewise.
10847
10848 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10849
10850 * java/lang/natSystem.cc (init_properties): Update VM version
10851 properties.
10852 * configure.in: Set GCJVERSION.
10853 * acconfig.h: Add GCJVERSION.
10854 * configure: Rebuilt.
10855 * include/config.h.in: Rebuilt.
10856
10857 2002-03-17 Anthony Green <green@redhat.com>
10858
10859 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10860
10861 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10862
10863 Build a single libgcj.so, without separate gc and zlib libraries.
10864 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10865 SYS_ZLIBS if system zlib is used.
10866 * configure: Rebuilt.
10867 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10868 * Makefile.in: Rebuilt.
10869 * libtool-version: Increment .so version number.
10870
10871 * Makefile.am: Escape quotes in echo.
10872 * Makefile.in: Rebuilt.
10873
10874 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10875
10876 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10877 * Makefile.in: Rebuilt.
10878
10879 2002-03-15 Anthony Green <green@redhat.com>
10880
10881 * configure.host (FILE): New macro for specifing File
10882 implementation.
10883 * configure: Rebuilt.
10884 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10885
10886 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10887
10888 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10889 already implicitly brought in from libgcj.la.
10890 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10891 * Makefile.in: Rebuilt.
10892
10893 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10894
10895 * THANKS: Fix punctuation, alphabetization.
10896
10897 2002-03-15 Tom Tromey <tromey@redhat.com>
10898 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10899
10900 Fix for PR libgcj/5944.
10901 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10902
10903 2002-03-15 Anthony Green <green@redhat.com>
10904
10905 * configure.in (tool_include_dir): Define.
10906 * configure: Rebuilt.
10907 * gcj/Makefile.am: Install libgcj-config.h relative to
10908 tool_include_dir.
10909 * gcj/Makefile: Rebuilt.
10910 * gcj/libgcj-config.h: Add warning comment.
10911
10912 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10913
10914 * configure.host (powerpc*-darwin*): Enable interpreter.
10915
10916 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10917
10918 * include/posix.h: Add multiple include header protection.
10919 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10920
10921 2002-03-10 Adam Megacz <adam@xwt.org>
10922
10923 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10924
10925 2002-03-10 Tom Tromey <tromey@redhat.com>
10926
10927 * java/awt/GridLayout.java (layoutContainer): Handle case where
10928 there are no items in container.
10929
10930 * java/lang/Win32Process.java: Added comment.
10931 * include/posix.h (_Jv_platform_close_on_exec): New function.
10932 Include fcntl.h.
10933 * include/win32.h (_Jv_platform_close_on_exec): New function.
10934 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10935 flag.
10936 (accept): Likewise.
10937 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10938 close-on-exec flag.
10939 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10940 flag.
10941
10942 2002-03-09 Tom Tromey <tromey@redhat.com>
10943
10944 * verify.cc (state::NO_STACK): New constant.
10945 (state::is_unmerged_ret_state): Handle case where stacktop is
10946 NO_STACK.
10947 (state::merge): Handle NO_STACK merges.
10948 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10949 for instruction following jsr.
10950 (stacktop, stackdepth): Removed unused variables.
10951 (pop_jump): Ignore case where all remaining states are skipped.
10952
10953 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10954
10955 * java/awt/ImageMediaEntry: Removed.
10956 * java/awt/MediaEntry: Removed.
10957
10958 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10959
10960 Hashtable synchronization for PowerPC.
10961 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10962 slow_pthread_self. Set up symlink for sysdeps directory.
10963 * configure: Rebuild.
10964 * configure.host: Document more shell variables. Set sysdeps_dir
10965 for most platforms. Set slow_pthread_self for i686. Set
10966 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10967 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10968 that memory barrier is emitted where required.
10969 * prims.cc: 64-bit align static primitive class instances.
10970 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10971 read_barrier() to enforce ordering of reads.
10972 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10973 primitives for PowerPC.
10974 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10975 moved from natObject.cc.
10976 * sysdep/alpha/locks.h: Likewise.
10977 * sysdep/ia64/locks.h: Likewise.
10978 * sysdep/generic/locks.h: Likewise.
10979 * java/lang/natObject.cc: Move thread synchronization primitives to
10980 system-dependent headers.
10981
10982 2002-03-09 Adam Megacz <adam@xwt.org>
10983
10984 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10985 bytes read and no failure code returned.
10986
10987 2002-03-09 Adam Megacz <adam@xwt.org>
10988
10989 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10990 definitions to simulate -mthreads.
10991
10992 2002-03-09 Adam Megacz <adam@xwt.org>
10993
10994 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10995 avoid precision loss.
10996
10997 2002-03-09 Per Bothner <per@bothner.com>
10998
10999 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11000 * gnu/gcj/xlib/XImage.java: Likewise.
11001 * gnu/gcj/xlib/XColor.java: Likewise.
11002
11003 2002-03-09 Adam Megacz <adam@xwt.org>
11004
11005 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11006 IOException so that Throwable.printStackTrace fails correctly.
11007
11008 2002-03-08 Adam Megacz <adam@xwt.org>
11009
11010 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11011 fixed.
11012
11013 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11014
11015 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11016 truncated to int.
11017
11018 2002-03-08 Tom Tromey <tromey@redhat.com>
11019
11020 * include/jni.h: Include stdio.h.
11021
11022 2002-03-08 Tom Tromey <tromey@redhat.com>
11023
11024 * posix.cc (internal_gettimeofday): New function.
11025 (_Jv_select): Use it.
11026
11027 2002-03-07 Adam Megacz <adam@xwt.org>
11028
11029 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11030 WIN32, and added thunks for read(), write(), and close().
11031 * java/net/natPlainSocketImpl.cc (accept, read, read):
11032 Disabled timeouts on WIN32 pending discussion.
11033
11034 2002-03-07 Adam Megacz <adam@xwt.org>
11035
11036 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11037 returns jlong. Added implementation
11038 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11039 returns jlong.
11040 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11041 returns jlong.
11042 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11043 returns jlong.
11044 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11045 _Jv_platform_gettimeofday signature.
11046
11047 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11048
11049 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11050 (read): Call recv() directly, not _Jv_recv().
11051
11052 2002-03-06 Tom Tromey <tromey@redhat.com>
11053
11054 * java/io/natFileDescriptorEcos.cc (init): Don't use
11055 GetStdHandle.
11056 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11057 is negative.
11058 (init): Don't use GetStdHandle.
11059
11060 * include/config.h.in: Rebuilt.
11061 * configure: Rebuilt.
11062 * Makefile.in: Rebuilt.
11063
11064 2002-03-06 Adam Megacz <adam@xwt.org>
11065
11066 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11067 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11068 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11069 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11070
11071 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11072
11073 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11074 the code for generating include/java-chartables.h.
11075 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11076 merge with Classpath.
11077 * scripts/unicode-muncher.pl: Copy from Classpath.
11078 * scritps/MakeCharTables.java: New file.
11079 * gnu/gcj/convert/Blocks-3.txt: New file.
11080 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11081 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11082 * gnu/java/lang/CharData.java: Copy from Classpath.
11083 * Makefile.am (ordinary_java_source_files): Add
11084 gnu/java/lang/CharData.java.
11085 * configure.in: Remove --enable-fast-character option.
11086 * java/lang/Character.java: Merge algorithms and Javadoc with
11087 Classpath.
11088 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11089 efficiently.
11090 * include/java-chardecomp.h: Regenerate.
11091 * include/java-chartables.h: Regenerate.
11092
11093 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11094
11095 * java/awt/MediaTracker.java: Implemented.
11096 * Makefile.am: Add MediaTracker.
11097 * Makefile.in: Rebuilt.
11098
11099 2002-03-05 Tom Tromey <tromey@redhat.com>
11100
11101 * java/lang/natPosixProcess.cc (fail): Removed.
11102 (startProcess): Simplified error-handling. Preserve
11103 LD_LIBRARY_PATH across exec.
11104
11105 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11106 AbstractMethodError.
11107
11108 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11109
11110 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11111 * Makefile.in: Rebuilt.
11112
11113 2002-03-03 Mark Wielaard <mark@klomp.org>
11114
11115 * java/util/Timer (TaskQueue.stop): set elements to zero.
11116
11117 2002-02-28 Anthony Green <green@redhat.com>
11118
11119 * java/lang/reflect/natMethod.cc (result): Add void* element.
11120 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11121 constructor test.
11122
11123 2002-02-27 Adam Megacz <adam@xwt.org>
11124
11125 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11126 '#undef STRICT'.
11127
11128 2002-02-26 Tom Tromey <tromey@redhat.com>
11129
11130 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11131 * gij.cc (version): Use __VERSION__.
11132 * include/config.h.in: Rebuilt.
11133 * acconfig.h (GCJVERSION): Removed.
11134 * configure: Rebuilt.
11135 * configure.in (GCJVERSION): Removed.
11136
11137 2002-02-26 Andreas Schwab <schwab@suse.de>
11138
11139 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11140 glibcpp_CXX, since libjava uses even another CXX.
11141 * aclocal.m4, configure: Regenerated.
11142
11143 2002-02-26 Tom Tromey <tromey@redhat.com>
11144
11145 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11146 `1'.
11147
11148 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11149
11150 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11151 dependency tracking for .java files.
11152 * Makefile.in: Rebuilt.
11153
11154 2002-02-24 Adam Megacz <adam@xwt.org>
11155
11156 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11157 typo. Sorry.
11158
11159 2002-02-24 Adam Megacz <adam@xwt.org>
11160
11161 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11162 for Win32, changed #ifdefs to check WIN32 instead of the
11163 (now-obsolete) USE_WINSOCK, and removed support for socket
11164 timeouts on Win32 pending further discussion.
11165
11166 2002-02-24 Adam Megacz <adam@xwt.org>
11167
11168 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11169 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11170 delete
11171
11172 2002-02-24 Adam Megacz <adam@xwt.org>
11173
11174 * java/lang/Win32Process.java: Created a dummy class to allow
11175 build process to run to completion.
11176
11177 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11178
11179 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11180 Define ffi_result union for ffi_call result. Cast
11181 ffi_result members to jvalue.
11182
11183 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11184
11185 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11186 * testsuite/Makefile.in: Likewise.
11187
11188 2002-02-20 Per Bothner <per@bothner.com>
11189
11190 * java/net/URL.java (getPath): New JDK 1.3 method.
11191
11192 * java/net/URLStreamHandler.java (parseURL):
11193 It is wrong to prepend '/' to the file part of a relative url.
11194
11195 * java/net/URLStreamHandler.java (parseURL):
11196 Minor optizations - append '/' rather than "/".
11197
11198 * java/net/URLStreamHandler.java (parseURL):
11199 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11200 We probably should canonicalize for a context-relative url, though.
11201 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11202 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11203 (sameFile): New method. Uses canonicalizeFilename.
11204
11205 2002-02-22 Tom Tromey <tromey@redhat.com>
11206
11207 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11208 java.vendor and java.vm.vendor.
11209 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11210 recent copyright date.
11211 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11212 * gij.cc (version): Print `Inc'.
11213
11214 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11215
11216 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11217 * aclocal.m4, configure: Rebuilt.
11218
11219 2002-02-20 Per Bothner <per@bothner.com>
11220
11221 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11222 and/or output streams immediately here, instead of using File.exists.
11223 (inputStream, outputStream): New fields to save open streams.
11224 (getInputStream, getOutputStream): Use already-opened streams.
11225
11226 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11227
11228 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11229 Use it.
11230 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11231 * aclocal.m4, configure, Makefile.in: Rebuilt.
11232
11233 2002-02-19 Tom Tromey <tromey@redhat.com>
11234
11235 Fix for PR libgcj/5696:
11236 * verify.cc (is_assignable_from_slow): Never call
11237 _Jv_IsAssignableFrom.
11238 (verify_instructions_0): Added new debug statement.
11239 (state::print): Print information about whether local has
11240 changed.
11241 (state::merge): Don't call note_variable when merging locals.
11242 (state::set_exception): Removed old FIXME comment.
11243
11244 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11245
11246 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11247 enable SO_BROADCAST.
11248
11249 2002-02-18 Jason Merrill <jason@redhat.com>
11250
11251 * name-finder.cc (toHex): Use word mode, not long long.
11252
11253 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11254
11255 2002-02-15 Tom Tromey <tromey@redhat.com>
11256
11257 Fix for PR libgcj/5695:
11258 * verify.cc (is_assignable_from_slow): Check to see if target is
11259 an Object before checking to see if source is an interface.
11260 (verify_instructions_0) [op_invokeinterface]: Handle case where
11261 we're making an interface call on Object.
11262
11263 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11264
11265 * Makefile.in: Rebuilt with Eric's change below.
11266
11267 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11268 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11269 Removed functions which are now implemented in Math.java.
11270
11271 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11272
11273 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11274 * Makefile.am (core_java_source_files): Add
11275 java/lang/StrictMath.java.
11276 * java/lang/Math.java: Merge with Classpath.
11277 * java/lang/StrictMath.java: New file - merge with Classpath.
11278
11279 2002-02-14 Mark Wielaard <mark@klomp.org>
11280
11281 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11282 package as a workaround for gcj 3.0.x
11283
11284 2002-02-14 Mark Wielaard <mark@klomp.org>
11285
11286 * java/security/BasicPermission.java: extends with fully qualified
11287 classname as workaround for gcj 3.0.4.
11288
11289 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11290
11291 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11292 around gcj bug of wrong emitted qualifier for inherited method.
11293 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11294 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11295 constructor to reduce amount of emitted bytecode. While this
11296 happens to work around a jikes 1.15 bug, it is still a useful
11297 patch even for correct compilers.
11298 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11299 * gnu/java/rmi/server/UnicastRemoteCall.java
11300 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11301
11302 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11303
11304 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11305 * java/net/SocketImpl.java: Ditto.
11306 * java/rmi/server/RMIClassLoader.java: Ditto.
11307 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11308
11309 2002-02-14 Mark Wielaard <mark@klomp.org>
11310
11311 Thanks to Takashi Okamoto
11312 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11313 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11314 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11315
11316 2002-02-13 Todd Stock <toddastock@yahoo.com>
11317
11318 Fix for PR libgcj/5670:
11319 * verify.cc (is_assignable_from_slow): If `source' is interface,
11320 recursively look for merge with `target'.
11321
11322 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11323
11324 * include/jni.h: Fix typo.
11325
11326 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11327
11328 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11329 correctly.
11330
11331 2002-02-13 Todd Stock <toddastock@yahoo.com>
11332
11333 Fix for PR libgcj/5671:
11334 * verify.cc (state::merge): Handle case where we're merging
11335 against an interface.
11336
11337 2002-02-12 Tom Tromey <tromey@redhat.com>
11338
11339 * exception.cc (std::abort): Mark as noreturn.
11340
11341 2002-02-12 Adam Megacz <adam@xwt.org>
11342
11343 * java/lang/Win32Process.java: Filled in a placeholder
11344 implementation so Win32 will build.
11345
11346 2002-02-12 Adam Megacz <adam@xwt.org>
11347
11348 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11349 * java/io/natFile.cc: Removed from repository.
11350 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11351
11352 2002-02-12 Adam Megacz <adam@xwt.org>
11353
11354 * win32.cc: Added two #includes to make win32.cc compile.
11355
11356 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11357
11358 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11359 declarations.
11360 (_Jv_InitGC): Don't bother locking, as this is always called from a
11361 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11362
11363 2002-02-11 Adam Megacz <adam@xwt.org>
11364
11365 * include/win32.h: Added _Jv_platform_gettimeofday.
11366 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11367
11368 2002-02-11 Adam Megacz <adam@xwt.org>
11369
11370 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11371 Added #undef STRICT to make windows.h and
11372 java/lang/reflect/Modifier.h cooperate.
11373
11374 2002-02-11 Adam Megacz <adam@xwt.org>
11375
11376 * java/io/natFileWin32.cc: Created a placeholder class with lots
11377 of FIXMEs.
11378
11379 2002-02-11 Adam Megacz <adam@xwt.org>
11380
11381 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11382 std::abort() to simply abort(). Also added "fake" std::abort() so
11383 we can #include unwind-pe.h without having to link against
11384 libstdc++-v3.
11385
11386 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11387
11388 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11389
11390 2002-02-08 Tom Tromey <tromey@redhat.com>
11391
11392 * interpret.cc (convert): New function.
11393 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11394 convert.
11395 Include Long.h.
11396
11397 2002-02-08 Anthony Green <green@redhat.com>
11398
11399 * configure.host: Add support for xscale-elf embedded target.
11400
11401 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11402
11403 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11404 dereferenced.
11405 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11406 frame.
11407
11408 2002-02-07 Tom Tromey <tromey@redhat.com>
11409
11410 * java/io/natFile.cc (_access): Use __builtin_alloca.
11411 (_stat): Likewise.
11412 (attr): Likewise.
11413 (getCanonicalPath): Likewise.
11414 (performList): Likewise.
11415 (performMkdir): Likewise.
11416 (performSetReadOnly): Likewise.
11417 (performRenameTo): Likewise.
11418 (performSetLastModified): Likewise.
11419 (performCreate): Likewise.
11420 (performDelete): Likewise.
11421
11422 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11423
11424 * HACKING: Fix URL for the automake-gcj.
11425
11426 2002-02-07 Tom Tromey <tromey@redhat.com>
11427
11428 * java/lang/natThrowable.cc: Updated copyright.
11429 * java/io/natFileWin32.cc: Updated copyright.
11430 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11431 * win32-threads.cc: Updated copyright.
11432 * name-finder.cc: Updated copyright.
11433 * include/name-finder.h: Updated copyright.
11434
11435 * include/name-finder.h: Conditionally include sys/wait.h.
11436 * include/config.h.in: Rebuilt.
11437
11438 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11439 Size buffer based on real size of string.
11440 (_stat): Likewise.
11441 (attr): Likewise.
11442 (getCanonicalPath): Likewise.
11443 (performList): Likewise.
11444 (performMkdir): Likewise.
11445 (performSetReadOnly): Likewise.
11446 (unixroot): Removed.
11447 (performRenameTo): Likewise.
11448 (performSetLastModified): Likewise.
11449 (performCreate): Likewise.
11450 (performDelete): Likewise.
11451 (performListRoots): Always return new array.
11452
11453 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11454 * win32.cc (win32_exception_handler): Now static.
11455 * include/win32.h (_Jv_platform_initialize): Declare.
11456 (win32_exception_handler): Don't declare.
11457 * java/lang/natSystem.cc (currentTimeMillis): Use
11458 _Jv_platform_gettimeofday.
11459 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11460 (_Jv_select): Use new name.
11461 (_Jv_platform_initialize): New function.
11462 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11463 _Jv_gettimeofday.
11464 (_Jv_platform_initialize): Declare.
11465
11466 * configure: Rebuilt.
11467 * configure.in: Removed unnecessary parens.
11468
11469 2002-02-06 Adam Megacz <adam@xwt.org>
11470
11471 * configure.in: Changed mingw) to *mingw*).
11472 * win32.cc: Created this file.
11473 * win32.h: Created this file.
11474 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11475 win32_exception_handler from prims.cc to win32.cc, added
11476 header in win32.h.
11477 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11478 longer needed now that we have platform.h
11479
11480 2002-02-06 Adam Megacz <adam@xwt.org>
11481
11482 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11483 use uint<n>_t instead of LONG and BYTE
11484
11485 2002-02-06 Adam Megacz <adam@xwt.org>
11486
11487 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11488
11489 2002-02-06 Anthony Green <green@redhat.com>
11490
11491 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11492 Implement missing method stubs.
11493 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11494 targets.
11495 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11496 concept of timezones.
11497 (init_properties): Don't refer to _Jv_Environment_Properties
11498 when this feature is not available.
11499 * include/config.h.in: Rebuilt.
11500 * acconfig.h: Add DISABLE_MAIN_ARGS.
11501 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11502 * configure: Rebuilt.
11503 * configure.in: Add --disable-main-args option. Test for
11504 opendir function. Replace AC_CHECK_SIZEOF with
11505 AC_COMPILE_CHECK_SIZEOF.
11506 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11507 * aclocal.m4: Rebuilt.
11508 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11509
11510 2002-02-06 Tom Tromey <tromey@redhat.com>
11511
11512 * verify.cc (require_array_type): If argument is a null array of
11513 references, return null as the element type.
11514
11515 2002-02-06 Mark Wielaard <mark@klomp.org>
11516
11517 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11518 duplicate of a wide type.
11519
11520 2002-02-06 Tom Tromey <tromey@redhat.com>
11521
11522 * verify.cc (type::isnull): New method.
11523 (require_array_type): Handle case where array is null.
11524 (verify_instructions_0) [op_arraylength]: Likewise.
11525
11526 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11527
11528 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11529 Symlink PLATFORMH to platform.h.
11530 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11531 PLATFORMOBJS.
11532 * java/lang/natSystem.cc: #include platform.h not posix.h.
11533 * Makefile.in: Rebuilt with libgcj automake.
11534 * configure: Rebuilt.
11535
11536 2002-02-05 Richard Henderson <rth@redhat.com>
11537
11538 * Makefile.in: Undo munging last change.
11539
11540 2002-02-04 Adam Megacz <adam@xwt.org>
11541
11542 * win32.cc: Created it.
11543 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11544 which is set to posix.cc or win32.cc.
11545 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11546
11547 2002-02-04 Adam Megacz <adam@xwt.org>
11548
11549 * configure.in: Corrected mingw case branches; added * before
11550 and after.
11551
11552 2002-02-04 Adam Megacz <adam@xwt.org>
11553
11554 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11555 if compiling for win32
11556
11557 2002-02-04 Adam Megacz <adam@xwt.org>
11558
11559 * win32-threads.cc: #undef STRICT after gc.h inclusion
11560
11561 2002-02-02 Tom Tromey <tromey@redhat.com>
11562
11563 * Makefile.in: Rebuilt.
11564
11565 2002-02-02 Jason Merrill <jason@redhat.com>
11566
11567 * Makefile.am (clean-nat): New target.
11568
11569 2002-02-02 Tom Tromey <tromey@redhat.com>
11570
11571 * java/io/natFile.cc: Removed old "FIXME" comments.
11572
11573 2002-02-01 Tom Tromey <tromey@redhat.com>
11574
11575 * java/lang/natPosixProcess.cc (myclose): New function.
11576 (fail): Use it.
11577 (startProcess): Likewise.
11578
11579 2002-02-01 Adam Megacz <adam@xwt.org>
11580
11581 * prims.cc: Added #undef STRICT after #include<windows.h>.
11582
11583 2002-02-01 Adam Megacz <adam@xwt.org>
11584
11585 * prims.cc
11586 (_Jv_CreateJavaVM): We now use WIN32 instead of
11587 USE_WIN32_SIGNALLING and USE_WINSOCK.
11588 (win32_exception_handler): Now throws an exception out of
11589 the signal handler; assumes SJLJ.
11590
11591 2002-02-01 Adam Megacz <adam@xwt.org>
11592
11593 * win32-threads.cc:
11594 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11595 wait() algorithm to make it safe.
11596 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11597 Added lazy creation of Win32 Events for better performance
11598 (really_start): This now uses GC_CreateThread so boehm-gc
11599 knows about new threads even when statically linked.
11600
11601 2002-02-01 Adam Megacz <adam@xwt.org>
11602
11603 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11604 enable safer wait() algorithm.
11605 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11606 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11607 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11608 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11609 instead of mutex.
11610 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11611
11612 2002-02-01 Adam Megacz <adam@xwt.org>
11613
11614 * configure.in: Added support for mingw.
11615 * java/lang/Win32Process.java: Created as empty file.
11616 * java/lang/natWin32Process.cc: Created as empty file.
11617
11618 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11619
11620 PR java/4972
11621 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11622 for libiconv in LIBICONV variable.
11623 * configure: Regenerated.
11624
11625 2002-01-31 Tom Tromey <tromey@redhat.com>
11626
11627 * verify.cc (state::enter_subroutine): New method.
11628 (handle_jsr_insn): Use it.
11629 (state::merge): When processing a `ret', correctly use
11630 subroutine's state to determine which local variables have
11631 changed.
11632 (push_exception_jump): Don't let stack overflow.
11633
11634 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11635
11636 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11637 --version output.
11638
11639 2002-01-30 Tom Tromey <tromey@redhat.com>
11640
11641 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11642 parameter for `recv' return type.
11643
11644 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11645 (state::merge): ... not here.
11646 (subr_entry_info): New structure.
11647 (entry_points): New field.
11648 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11649 entry_points.
11650
11651 2002-01-29 Tom Tromey <tromey@redhat.com>
11652
11653 * java/awt/List.java (addNotify): Correctly check to see if peer
11654 does not exist.
11655
11656 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11657 to compute height of each cell, and number of columns to compute
11658 width of each cell.
11659 * java/awt/Window.java (getOwnedWindows): Don't return null.
11660 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11661 of component. Increment x using horizontal gap, not vertical
11662 gap.
11663
11664 2002-01-28 Tom Tromey <tromey@redhat.com>
11665
11666 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11667 `nargs' byte is number of words, not number of arguments.
11668
11669 2002-01-27 Tom Tromey <tromey@redhat.com>
11670
11671 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11672 (when): Likewise.
11673 * java/awt/event/InputEvent.java (modifiers, when): Now
11674 package-private.
11675
11676 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11677 and to-do list.
11678 (state::merge): Use current class' class loader.
11679 (state::print): Print subroutine.
11680 (state::merge): Don't look at subroutine of unmerged `ret'.
11681
11682 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11683
11684 * nogc.cc: Remove warnings.
11685 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11686 New functions.
11687
11688 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11689
11690 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11691 int, int): Remove empty "if" statement to work around compiler bug.
11692 (newPixels(int[], ColorModel, int, int): Likewise.
11693
11694 2002-01-25 Per Bothner <per@bothner.com>
11695
11696 * verify.cc (verify_fail): Change from being a top-level function
11697 to e method of _Jv_BytecodeVerifier. Emit current method name.
11698 Pass the current verifier to type: and state: methods as needed,
11699 for better error messages, and for resolve.
11700 (resolve): Pass current class's loader for Class.forName and
11701 _Jv_FindClassFromSignature, rather than using the default loader.
11702 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11703 (get_type_val_for_signature): Make non-static.
11704 (various methods): Pass start_PC implicitly, not explicitly.
11705
11706 2002-01-25 Tom Tromey <tromey@redhat.com>
11707
11708 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11709 loop termination condition.
11710 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11711 width.
11712
11713 2002-01-24 Tom Tromey <tromey@redhat.com>
11714
11715 * java/awt/Shape.java: Merged with Classpath.
11716 * java/awt/Scrollbar.java: Merged with Classpath.
11717
11718 * java/awt/Container.java (addNotify): Unconditionally call
11719 addNotifyContainerChildren and superclass addNotify.
11720
11721 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11722 getAlpha, not getBlue.
11723
11724 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11725
11726 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11727
11728 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11729 (grabPixels(long)): Wait to be notified that the ImageProducer has
11730 completed.
11731
11732 2002-01-24 Per Bothner <per@bothner.com>
11733
11734 * verify.cc (is_assignable_from_slow): If target is an interface,
11735 we must still check the source's superclass before giving up.
11736
11737 2002-01-24 Tom Tromey <tromey@redhat.com>
11738
11739 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11740
11741 2002-01-23 Tom Tromey <tromey@redhat.com>
11742
11743 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11744 `else'.
11745
11746 * Makefile.in: Rebuilt.
11747 * Makefile.am (awt_java_source_files): Added new files.
11748 * java/awt/Toolkit.java: Merged with Classpath.
11749 * java/awt/PrintGraphics.java: New file from Classpath.
11750 * java/awt/PrintJob.java: New file from Classpath.
11751 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11752 * java/awt/datatransfer/ClipboardOwner.java: New file from
11753 Classpath.
11754 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11755 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11756 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11757 Classpath.
11758 * java/awt/datatransfer/StringSelection.java: New file from
11759 Classpath.
11760 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11761 Classpath.
11762 * java/awt/datatransfer/Transferable.java: New file from
11763 Classpath.
11764 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11765 from Classpath.
11766
11767 * Makefile.in: Rebuilt.
11768 * Makefile.am (awt_java_source_files): Added new files.
11769 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11770 Classpath.
11771 * java/awt/image/CropImageFilter.java: New file from Classpath.
11772 * java/awt/image/FilteredImageSource.java: New file from
11773 Classpath.
11774 * java/awt/image/ImageFilter.java: New file from Classpath.
11775 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11776 * java/awt/image/PixelGrabber.java: New file from Classpath.
11777 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11778 * java/awt/image/ReplicateScaleFilter.java: New file from
11779 Classpath.
11780 * java/awt/image/ImageProducer.java: Replaced with Classpath
11781 version.
11782 * java/awt/image/ImageObserver.java: Replaced with Classpath
11783 version.
11784 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11785 version.
11786 * java/awt/GridBagConstraints.java (clone): Catch
11787 CloneNotSupportedException.
11788
11789 2002-01-23 Per Bothner <per@bothner.com>
11790
11791 * java/lang/reflect/natField.cc (setAddr): New function.
11792 Calls getAddr and then checks that the field isn't final.
11793 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11794 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11795 (set): Call setAddr before check that new value has right type,
11796 to better match specified semantics.
11797
11798 2002-01-22 Tom Tromey <tromey@redhat.com>
11799
11800 * java/awt/TextField.java: Replaced with Classpath version.
11801 * java/awt/TextArea.java: Replaced with Classpath version.
11802 * java/awt/TextComponent.java: Replaced with Classpath version.
11803
11804 * java/awt/GridBagConstraints.java: Updated copyright.
11805
11806 2002-01-22 Mark Wielaard <mark@klomp.org>
11807
11808 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11809 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11810 java/awt/Dialog.java java/awt/FileDialog.java
11811 java/awt/Font.java java/awt/FontMetrics.java
11812 java/awt/Image.java java/awt/ImageMediaEntry.java
11813 java/awt/Insets.java java/awt/List.java
11814 java/awt/MediaEntry.java java/awt/MediaTracker.java
11815 java/awt/Menu.java java/awt/MenuBar.java
11816 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11817 java/awt/PaintContext.java java/awt/Panel.java
11818 java/awt/PopupMenu.java java/awt/SystemColor.java
11819 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11820 java/awt/peer/CheckboxMenuItemPeer.java
11821 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11822 java/awt/peer/ComponentPeer.java
11823 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11824 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11825 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11826 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11827 java/awt/peer/MenuBarPeer.java
11828 java/awt/peer/MenuComponentPeer.java
11829 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11830 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11831 java/awt/peer/ScrollPanePeer.java
11832 java/awt/peer/ScrollbarPeer.java
11833 java/awt/peer/TextAreaPeer.java
11834 java/awt/peer/TextComponentPeer.java
11835 java/awt/peer/TextFieldPeer.java
11836 java/awt/peer/WindowPeer.java: Add license clarification.
11837
11838 2002-01-22 Mark Wielaard <mark@klomp.org>
11839
11840 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11841 gnu/gcj/runtime/StringBuffer.java
11842 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11843 gnu/java/awt/ComponentDataBlitOp.java
11844 gnu/java/awt/GLightweightPeer.java
11845 gnu/java/beans/BeanInfoEmbryo.java
11846 gnu/java/beans/EmptyBeanInfo.java
11847 gnu/java/beans/ExplicitBeanInfo.java
11848 gnu/java/beans/IntrospectionIncubator.java
11849 gnu/java/beans/editors/ColorEditor.java
11850 gnu/java/beans/editors/FontEditor.java
11851 gnu/java/beans/editors/NativeBooleanEditor.java
11852 gnu/java/beans/editors/NativeByteEditor.java
11853 gnu/java/beans/editors/NativeDoubleEditor.java
11854 gnu/java/beans/editors/NativeFloatEditor.java
11855 gnu/java/beans/editors/NativeIntEditor.java
11856 gnu/java/beans/editors/NativeLongEditor.java
11857 gnu/java/beans/editors/NativeShortEditor.java
11858 gnu/java/beans/editors/StringEditor.java
11859 gnu/java/beans/info/ComponentBeanInfo.java
11860 gnu/java/io/ClassLoaderObjectInputStream.java
11861 gnu/java/io/NullOutputStream.java
11862 gnu/java/io/ObjectIdentityWrapper.java
11863 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11864 gnu/java/lang/reflect/TypeSignature.java
11865 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11866 gnu/java/locale/Calendar_en.java
11867 gnu/java/locale/Calendar_nl.java
11868 gnu/java/locale/LocaleInformation.java
11869 gnu/java/locale/LocaleInformation_de.java
11870 gnu/java/locale/LocaleInformation_en.java
11871 gnu/java/locale/LocaleInformation_nl.java
11872 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11873 gnu/java/rmi/registry/RegistryImpl.java
11874 gnu/java/rmi/rmic/Compile_gcj.java
11875 gnu/java/rmi/rmic/Compiler.java
11876 gnu/java/rmi/rmic/CompilerProcess.java
11877 gnu/java/rmi/rmic/RMIC.java
11878 gnu/java/rmi/rmic/TabbedWriter.java
11879 gnu/java/rmi/server/ProtocolConstants.java
11880 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11881 gnu/java/rmi/server/RMIHashes.java
11882 gnu/java/rmi/server/RMIObjectInputStream.java
11883 gnu/java/rmi/server/RMIObjectOutputStream.java
11884 gnu/java/rmi/server/UnicastConnection.java
11885 gnu/java/rmi/server/UnicastConnectionManager.java
11886 gnu/java/rmi/server/UnicastRef.java
11887 gnu/java/rmi/server/UnicastRemoteCall.java
11888 gnu/java/rmi/server/UnicastRemoteStub.java
11889 gnu/java/rmi/server/UnicastServer.java
11890 gnu/java/rmi/server/UnicastServerRef.java
11891 gnu/java/security/provider/DefaultPolicy.java
11892 gnu/java/security/provider/Gnu.java
11893 gnu/java/security/provider/SHA.java
11894 gnu/java/security/provider/SHA1PRNG.java
11895 gnu/java/text/BaseBreakIterator.java
11896 gnu/java/text/CharacterBreakIterator.java
11897 gnu/java/text/LineBreakIterator.java
11898 gnu/java/text/SentenceBreakIterator.java
11899 gnu/java/text/WordBreakIterator.java
11900 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11901 java/applet/AppletContext.java java/applet/AppletStub.java
11902 java/applet/AudioClip.java java/awt/AWTError.java
11903 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11904 java/awt/AWTException.java java/awt/AWTPermission.java
11905 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11906 java/awt/Button.java java/awt/Canvas.java
11907 java/awt/CardLayout.java java/awt/Checkbox.java
11908 java/awt/CheckboxGroup.java java/awt/Component.java
11909 java/awt/ComponentOrientation.java java/awt/Container.java
11910 java/awt/Dimension.java java/awt/Event.java
11911 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11912 java/awt/FlowLayout.java java/awt/Frame.java
11913 java/awt/Graphics.java java/awt/Graphics2D.java
11914 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11915 java/awt/IllegalComponentStateException.java
11916 java/awt/ItemSelectable.java java/awt/Label.java
11917 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11918 java/awt/MenuComponent.java java/awt/MenuItem.java
11919 java/awt/Paint.java java/awt/Point.java
11920 java/awt/Rectangle.java java/awt/RenderingHints.java
11921 java/awt/Transparency.java java/awt/Window.java
11922 java/awt/color/ColorSpace.java
11923 java/awt/color/ICC_ColorSpace.java
11924 java/awt/color/ICC_Profile.java
11925 java/awt/event/HierarchyBoundsAdapter.java
11926 java/awt/event/HierarchyBoundsListener.java
11927 java/awt/event/HierarchyEvent.java
11928 java/awt/event/HierarchyListener.java
11929 java/awt/geom/AffineTransform.java
11930 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11931 java/awt/geom/IllegalPathStateException.java
11932 java/awt/geom/Line2D.java
11933 java/awt/geom/NoninvertibleTransformException.java
11934 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11935 java/awt/geom/Rectangle2D.java
11936 java/awt/geom/RectangularShape.java
11937 java/awt/geom/RoundRectangle2D.java
11938 java/awt/image/BufferedImage.java
11939 java/awt/image/ColorModel.java
11940 java/awt/image/ComponentColorModel.java
11941 java/awt/image/ComponentSampleModel.java
11942 java/awt/image/DataBuffer.java
11943 java/awt/image/DataBufferByte.java
11944 java/awt/image/DataBufferInt.java
11945 java/awt/image/DataBufferUShort.java
11946 java/awt/image/DirectColorModel.java
11947 java/awt/image/PackedColorModel.java
11948 java/awt/image/Raster.java java/awt/image/RasterOp.java
11949 java/awt/image/SampleModel.java
11950 java/awt/image/SinglePixelPackedSampleModel.java
11951 java/awt/image/WritableRaster.java
11952 java/beans/AppletInitializer.java
11953 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11954 java/beans/Beans.java java/beans/Customizer.java
11955 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11956 java/beans/FeatureDescriptor.java
11957 java/beans/IndexedPropertyDescriptor.java
11958 java/beans/IntrospectionException.java
11959 java/beans/Introspector.java java/beans/MethodDescriptor.java
11960 java/beans/ParameterDescriptor.java
11961 java/beans/PropertyChangeEvent.java
11962 java/beans/PropertyChangeListener.java
11963 java/beans/PropertyChangeSupport.java
11964 java/beans/PropertyDescriptor.java
11965 java/beans/PropertyEditor.java
11966 java/beans/PropertyEditorManager.java
11967 java/beans/PropertyEditorSupport.java
11968 java/beans/PropertyVetoException.java
11969 java/beans/SimpleBeanInfo.java
11970 java/beans/VetoableChangeListener.java
11971 java/beans/VetoableChangeSupport.java
11972 java/beans/Visibility.java
11973 java/beans/beancontext/BeanContext.java
11974 java/beans/beancontext/BeanContextChild.java
11975 java/beans/beancontext/BeanContextChildComponentProxy.java
11976 java/beans/beancontext/BeanContextChildSupport.java
11977 java/beans/beancontext/BeanContextContainerProxy.java
11978 java/beans/beancontext/BeanContextEvent.java
11979 java/beans/beancontext/BeanContextMembershipEvent.java
11980 java/beans/beancontext/BeanContextMembershipListener.java
11981 java/beans/beancontext/BeanContextProxy.java
11982 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11983 java/beans/beancontext/BeanContextServiceProvider.java
11984 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11985 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11986 java/beans/beancontext/BeanContextServiceRevokedListener.java
11987 java/beans/beancontext/BeanContextServices.java
11988 java/beans/beancontext/BeanContextServicesListener.java
11989 java/io/BufferedInputStream.java
11990 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11991 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11992 java/io/ByteArrayOutputStream.java
11993 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11994 java/io/CharConversionException.java java/io/DataInput.java
11995 java/io/DataInputStream.java java/io/DataOutput.java
11996 java/io/EOFException.java java/io/Externalizable.java
11997 java/io/FileFilter.java java/io/FileNotFoundException.java
11998 java/io/FilePermission.java java/io/FileReader.java
11999 java/io/FileWriter.java java/io/FilenameFilter.java
12000 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12001 java/io/FilterReader.java java/io/FilterWriter.java
12002 java/io/IOException.java java/io/InputStream.java
12003 java/io/InterruptedIOException.java
12004 java/io/InvalidClassException.java
12005 java/io/InvalidObjectException.java
12006 java/io/NotActiveException.java
12007 java/io/NotSerializableException.java java/io/ObjectInput.java
12008 java/io/ObjectInputStream.java
12009 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12010 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12011 java/io/ObjectStreamConstants.java
12012 java/io/ObjectStreamException.java
12013 java/io/ObjectStreamField.java
12014 java/io/OptionalDataException.java java/io/OutputStream.java
12015 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12016 java/io/PipedReader.java java/io/PipedWriter.java
12017 java/io/PrintWriter.java java/io/PushbackInputStream.java
12018 java/io/PushbackReader.java java/io/Reader.java
12019 java/io/SequenceInputStream.java java/io/Serializable.java
12020 java/io/SerializablePermission.java
12021 java/io/StreamCorruptedException.java
12022 java/io/StreamTokenizer.java
12023 java/io/StringBufferInputStream.java java/io/StringReader.java
12024 java/io/StringWriter.java java/io/SyncFailedException.java
12025 java/io/UTFDataFormatException.java
12026 java/io/UnsupportedEncodingException.java
12027 java/io/WriteAbortedException.java java/io/Writer.java
12028 java/lang/AbstractMethodError.java
12029 java/lang/ArithmeticException.java
12030 java/lang/ArrayIndexOutOfBoundsException.java
12031 java/lang/ArrayStoreException.java java/lang/Boolean.java
12032 java/lang/Byte.java java/lang/CharSequence.java
12033 java/lang/ClassCastException.java
12034 java/lang/ClassCircularityError.java
12035 java/lang/ClassFormatError.java
12036 java/lang/ClassNotFoundException.java
12037 java/lang/CloneNotSupportedException.java
12038 java/lang/Cloneable.java java/lang/Comparable.java
12039 java/lang/Compiler.java java/lang/Double.java
12040 java/lang/Error.java java/lang/Exception.java
12041 java/lang/ExceptionInInitializerError.java
12042 java/lang/Float.java java/lang/IllegalAccessError.java
12043 java/lang/IllegalAccessException.java
12044 java/lang/IllegalArgumentException.java
12045 java/lang/IllegalMonitorStateException.java
12046 java/lang/IllegalStateException.java
12047 java/lang/IllegalThreadStateException.java
12048 java/lang/IncompatibleClassChangeError.java
12049 java/lang/IndexOutOfBoundsException.java
12050 java/lang/InheritableThreadLocal.java
12051 java/lang/InstantiationError.java
12052 java/lang/InstantiationException.java java/lang/Integer.java
12053 java/lang/InternalError.java
12054 java/lang/InterruptedException.java
12055 java/lang/LinkageError.java java/lang/Long.java
12056 java/lang/NegativeArraySizeException.java
12057 java/lang/NoClassDefFoundError.java
12058 java/lang/NoSuchFieldError.java
12059 java/lang/NoSuchFieldException.java
12060 java/lang/NoSuchMethodError.java
12061 java/lang/NoSuchMethodException.java
12062 java/lang/NullPointerException.java java/lang/Number.java
12063 java/lang/NumberFormatException.java
12064 java/lang/OutOfMemoryError.java java/lang/Package.java
12065 java/lang/Process.java java/lang/Runnable.java
12066 java/lang/RuntimeException.java
12067 java/lang/RuntimePermission.java
12068 java/lang/SecurityException.java
12069 java/lang/SecurityManager.java java/lang/Short.java
12070 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12071 java/lang/StringIndexOutOfBoundsException.java
12072 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12073 java/lang/ThreadLocal.java java/lang/UnknownError.java
12074 java/lang/UnsatisfiedLinkError.java
12075 java/lang/UnsupportedClassVersionError.java
12076 java/lang/UnsupportedOperationException.java
12077 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12078 java/lang/Void.java java/lang/ref/PhantomReference.java
12079 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12080 java/lang/ref/SoftReference.java
12081 java/lang/ref/WeakReference.java
12082 java/lang/reflect/AccessibleObject.java
12083 java/lang/reflect/InvocationTargetException.java
12084 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12085 java/lang/reflect/ReflectPermission.java
12086 java/math/BigDecimal.java java/math/BigInteger.java
12087 java/net/Authenticator.java java/net/BindException.java
12088 java/net/ConnectException.java java/net/ContentHandler.java
12089 java/net/ContentHandlerFactory.java
12090 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12091 java/net/FileNameMap.java java/net/MalformedURLException.java
12092 java/net/MulticastSocket.java java/net/NetPermission.java
12093 java/net/NoRouteToHostException.java
12094 java/net/PasswordAuthentication.java
12095 java/net/ProtocolException.java java/net/ServerSocket.java
12096 java/net/Socket.java java/net/SocketException.java
12097 java/net/SocketImpl.java java/net/SocketImplFactory.java
12098 java/net/SocketOptions.java java/net/SocketPermission.java
12099 java/net/URLDecoder.java java/net/URLEncoder.java
12100 java/net/URLStreamHandlerFactory.java
12101 java/net/UnknownHostException.java
12102 java/net/UnknownServiceException.java
12103 java/rmi/AccessException.java
12104 java/rmi/AlreadyBoundException.java
12105 java/rmi/ConnectException.java
12106 java/rmi/ConnectIOException.java
12107 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12108 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12109 java/rmi/NotBoundException.java
12110 java/rmi/RMISecurityException.java
12111 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12112 java/rmi/RemoteException.java java/rmi/ServerError.java
12113 java/rmi/ServerException.java
12114 java/rmi/ServerRuntimeException.java
12115 java/rmi/StubNotFoundException.java
12116 java/rmi/UnexpectedException.java
12117 java/rmi/UnknownHostException.java
12118 java/rmi/UnmarshalException.java
12119 java/rmi/activation/Activatable.java
12120 java/rmi/activation/ActivateFailedException.java
12121 java/rmi/activation/ActivationDesc.java
12122 java/rmi/activation/ActivationException.java
12123 java/rmi/activation/ActivationGroup.java
12124 java/rmi/activation/ActivationGroupDesc.java
12125 java/rmi/activation/ActivationGroupID.java
12126 java/rmi/activation/ActivationID.java
12127 java/rmi/activation/ActivationInstantiator.java
12128 java/rmi/activation/ActivationMonitor.java
12129 java/rmi/activation/ActivationSystem.java
12130 java/rmi/activation/Activator.java
12131 java/rmi/activation/UnknownGroupException.java
12132 java/rmi/activation/UnknownObjectException.java
12133 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12134 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12135 java/rmi/registry/Registry.java
12136 java/rmi/registry/RegistryHandler.java
12137 java/rmi/server/ExportException.java
12138 java/rmi/server/LoaderHandler.java
12139 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12140 java/rmi/server/Operation.java
12141 java/rmi/server/RMIClassLoader.java
12142 java/rmi/server/RMIClientSocketFactory.java
12143 java/rmi/server/RMIFailureHandler.java
12144 java/rmi/server/RMIServerSocketFactory.java
12145 java/rmi/server/RMISocketFactory.java
12146 java/rmi/server/RemoteCall.java
12147 java/rmi/server/RemoteObject.java
12148 java/rmi/server/RemoteRef.java
12149 java/rmi/server/RemoteServer.java
12150 java/rmi/server/RemoteStub.java
12151 java/rmi/server/ServerCloneException.java
12152 java/rmi/server/ServerNotActiveException.java
12153 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12154 java/rmi/server/SkeletonMismatchException.java
12155 java/rmi/server/SkeletonNotFoundException.java
12156 java/rmi/server/SocketSecurityException.java
12157 java/rmi/server/UID.java
12158 java/rmi/server/UnicastRemoteObject.java
12159 java/rmi/server/Unreferenced.java
12160 java/security/AccessControlContext.java
12161 java/security/AccessControlException.java
12162 java/security/AccessController.java
12163 java/security/AlgorithmParameterGenerator.java
12164 java/security/AlgorithmParameterGeneratorSpi.java
12165 java/security/AlgorithmParameters.java
12166 java/security/AlgorithmParametersSpi.java
12167 java/security/AllPermission.java
12168 java/security/BasicPermission.java
12169 java/security/Certificate.java java/security/CodeSource.java
12170 java/security/DigestException.java
12171 java/security/DigestInputStream.java
12172 java/security/DigestOutputStream.java
12173 java/security/DomainCombiner.java
12174 java/security/DummyKeyPairGenerator.java
12175 java/security/DummyMessageDigest.java
12176 java/security/DummySignature.java
12177 java/security/GeneralSecurityException.java
12178 java/security/Guard.java java/security/GuardedObject.java
12179 java/security/Identity.java java/security/IdentityScope.java
12180 java/security/InvalidAlgorithmParameterException.java
12181 java/security/InvalidKeyException.java
12182 java/security/InvalidParameterException.java
12183 java/security/Key.java java/security/KeyException.java
12184 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12185 java/security/KeyManagementException.java
12186 java/security/KeyPair.java java/security/KeyPairGenerator.java
12187 java/security/KeyPairGeneratorSpi.java
12188 java/security/KeyStore.java
12189 java/security/KeyStoreException.java
12190 java/security/KeyStoreSpi.java
12191 java/security/MessageDigest.java
12192 java/security/MessageDigestSpi.java
12193 java/security/NoSuchAlgorithmException.java
12194 java/security/NoSuchProviderException.java
12195 java/security/Permission.java
12196 java/security/PermissionCollection.java
12197 java/security/Permissions.java java/security/Policy.java
12198 java/security/Principal.java java/security/PrivateKey.java
12199 java/security/PrivilegedAction.java
12200 java/security/PrivilegedActionException.java
12201 java/security/PrivilegedExceptionAction.java
12202 java/security/ProtectionDomain.java
12203 java/security/Provider.java
12204 java/security/ProviderException.java
12205 java/security/PublicKey.java
12206 java/security/SecureClassLoader.java
12207 java/security/SecureRandom.java
12208 java/security/SecureRandomSpi.java java/security/Security.java
12209 java/security/SecurityPermission.java
12210 java/security/Signature.java
12211 java/security/SignatureException.java
12212 java/security/SignatureSpi.java
12213 java/security/SignedObject.java java/security/Signer.java
12214 java/security/UnrecoverableKeyException.java
12215 java/security/UnresolvedPermission.java
12216 java/security/acl/Acl.java java/security/acl/AclEntry.java
12217 java/security/acl/AclNotFoundException.java
12218 java/security/acl/Group.java
12219 java/security/acl/LastOwnerException.java
12220 java/security/acl/NotOwnerException.java
12221 java/security/acl/Owner.java java/security/acl/Permission.java
12222 java/security/cert/CRL.java
12223 java/security/cert/CRLException.java
12224 java/security/cert/Certificate.java
12225 java/security/cert/CertificateEncodingException.java
12226 java/security/cert/CertificateException.java
12227 java/security/cert/CertificateExpiredException.java
12228 java/security/cert/CertificateFactory.java
12229 java/security/cert/CertificateFactorySpi.java
12230 java/security/cert/CertificateNotYetValidException.java
12231 java/security/cert/CertificateParsingException.java
12232 java/security/cert/X509CRL.java
12233 java/security/cert/X509CRLEntry.java
12234 java/security/cert/X509Certificate.java
12235 java/security/cert/X509Extension.java
12236 java/security/interfaces/DSAKey.java
12237 java/security/interfaces/DSAKeyPairGenerator.java
12238 java/security/interfaces/DSAParams.java
12239 java/security/interfaces/DSAPrivateKey.java
12240 java/security/interfaces/DSAPublicKey.java
12241 java/security/interfaces/RSAKey.java
12242 java/security/interfaces/RSAPrivateCrtKey.java
12243 java/security/interfaces/RSAPrivateKey.java
12244 java/security/interfaces/RSAPublicKey.java
12245 java/security/spec/AlgorithmParameterSpec.java
12246 java/security/spec/DSAParameterSpec.java
12247 java/security/spec/DSAPrivateKeySpec.java
12248 java/security/spec/DSAPublicKeySpec.java
12249 java/security/spec/EncodedKeySpec.java
12250 java/security/spec/InvalidKeySpecException.java
12251 java/security/spec/InvalidParameterSpecException.java
12252 java/security/spec/KeySpec.java
12253 java/security/spec/PKCS8EncodedKeySpec.java
12254 java/security/spec/RSAKeyGenParameterSpec.java
12255 java/security/spec/RSAPrivateCrtKeySpec.java
12256 java/security/spec/RSAPrivateKeySpec.java
12257 java/security/spec/RSAPublicKeySpec.java
12258 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12259 java/sql/BatchUpdateException.java java/sql/Blob.java
12260 java/sql/CallableStatement.java java/sql/Clob.java
12261 java/sql/Connection.java java/sql/DataTruncation.java
12262 java/sql/DatabaseMetaData.java java/sql/Date.java
12263 java/sql/Driver.java java/sql/DriverManager.java
12264 java/sql/DriverPropertyInfo.java
12265 java/sql/PreparedStatement.java java/sql/Ref.java
12266 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12267 java/sql/SQLData.java java/sql/SQLException.java
12268 java/sql/SQLInput.java java/sql/SQLOutput.java
12269 java/sql/SQLWarning.java java/sql/Statement.java
12270 java/sql/Struct.java java/sql/Time.java
12271 java/sql/Timestamp.java java/sql/Types.java
12272 java/text/Annotation.java
12273 java/text/AttributedCharacterIterator.java
12274 java/text/AttributedString.java
12275 java/text/AttributedStringIterator.java
12276 java/text/BreakIterator.java java/text/CharacterIterator.java
12277 java/text/ChoiceFormat.java java/text/Collator.java
12278 java/text/DateFormat.java java/text/DateFormatSymbols.java
12279 java/text/DecimalFormat.java
12280 java/text/DecimalFormatSymbols.java
12281 java/text/FieldPosition.java java/text/Format.java
12282 java/text/MessageFormat.java java/text/NumberFormat.java
12283 java/text/ParseException.java java/text/ParsePosition.java
12284 java/text/SimpleDateFormat.java
12285 java/text/StringCharacterIterator.java
12286 java/util/AbstractCollection.java java/util/AbstractList.java
12287 java/util/AbstractMap.java
12288 java/util/AbstractSequentialList.java
12289 java/util/AbstractSet.java java/util/ArrayList.java
12290 java/util/Arrays.java java/util/BasicMapEntry.java
12291 java/util/BitSet.java java/util/Calendar.java
12292 java/util/Collection.java java/util/Collections.java
12293 java/util/Comparator.java
12294 java/util/ConcurrentModificationException.java
12295 java/util/Date.java java/util/Dictionary.java
12296 java/util/EmptyStackException.java java/util/Enumeration.java
12297 java/util/EventListener.java java/util/EventObject.java
12298 java/util/GregorianCalendar.java java/util/HashMap.java
12299 java/util/HashSet.java java/util/Hashtable.java
12300 java/util/IdentityHashMap.java java/util/Iterator.java
12301 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12302 java/util/LinkedList.java java/util/List.java
12303 java/util/ListIterator.java java/util/ListResourceBundle.java
12304 java/util/Locale.java java/util/Map.java
12305 java/util/MissingResourceException.java
12306 java/util/NoSuchElementException.java
12307 java/util/Observable.java java/util/Observer.java
12308 java/util/Properties.java java/util/PropertyPermission.java
12309 java/util/PropertyResourceBundle.java java/util/Random.java
12310 java/util/RandomAccess.java java/util/ResourceBundle.java
12311 java/util/Set.java java/util/SimpleTimeZone.java
12312 java/util/SortedMap.java java/util/SortedSet.java
12313 java/util/Stack.java java/util/StringTokenizer.java
12314 java/util/TimeZone.java java/util/Timer.java
12315 java/util/TimerTask.java
12316 java/util/TooManyListenersException.java
12317 java/util/TreeMap.java java/util/TreeSet.java
12318 java/util/Vector.java java/util/WeakHashMap.java
12319 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12320 java/util/jar/JarException.java java/util/jar/JarFile.java
12321 java/util/jar/JarInputStream.java
12322 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12323 java/util/zip/Adler32.java java/util/zip/CRC32.java
12324 java/util/zip/CheckedInputStream.java
12325 java/util/zip/CheckedOutputStream.java
12326 java/util/zip/Checksum.java
12327 java/util/zip/DataFormatException.java
12328 java/util/zip/Deflater.java
12329 java/util/zip/DeflaterOutputStream.java
12330 java/util/zip/GZIPInputStream.java
12331 java/util/zip/GZIPOutputStream.java
12332 java/util/zip/Inflater.java
12333 java/util/zip/InflaterInputStream.java
12334 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12335 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12336 java/util/zip/ZipInputStream.java
12337 java/util/zip/ZipOutputStream.java
12338 javax/naming/BinaryRefAddr.java
12339 javax/naming/InvalidNameException.java javax/naming/Name.java
12340 javax/naming/NamingException.java javax/naming/RefAddr.java
12341 javax/naming/StringRefAddr.java: Add license clarification.
12342
12343 2002-01-22 Tom Tromey <tromey@redhat.com>
12344
12345 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12346 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12347 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12348 version.
12349 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12350 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12351 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12352 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12353 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12354 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12355 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12356 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12357 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12358 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12359 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12360 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12361 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12362 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12363 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12364 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12365 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12366 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12367 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12368 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12369 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12370 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12371 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12372 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12373 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12374 (minimumSize, preferredSize, reshape): Likewise.
12375 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12376 getColorModel): New methods.
12377 * java/awt/PopupMenu.java: Merged with Classpath.
12378 * java/awt/MenuBar.java: Merged with Classpath.
12379 * java/awt/SystemColor.java: Replace with Classpath version.
12380 * java/awt/Panel.java: Merged with Classpath.
12381 * java/awt/PaintContext.java: Updated copyright.
12382 * java/awt/MenuShortcut.java: Merged with Classpath.
12383 * java/awt/MenuContainer.java: Merged with Classpath.
12384 * java/awt/Menu.java: Merged with Classpath.
12385 * java/awt/MediaEntry.java: New file from Classpath.
12386 * java/awt/MediaTracker.java: New file from Classpath.
12387 * java/awt/List.java: Merged with Classpath version.
12388 * java/awt/Insets.java: Merged with Classpath version.
12389 * java/awt/ImageMediaEntry.java: New file from Classpath.
12390 * java/awt/Image.java: Replaced with Classpath version.
12391 * java/awt/FontMetrics.java: Merged with Classpath version.
12392 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12393 constant.
12394 * java/awt/Font.java: Merged with Classpath version.
12395 * java/awt/Dialog.java: Merged with Classpath version.
12396 * java/awt/Color.java: Merged with Classpath version.
12397 * java/awt/Choice.java: Merged with Classpath version.
12398 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12399 * java/awt/Adjustable.java: Replace with Classpath version.
12400 * java/awt/MenuItem.java (paramString): Don't include class name
12401 or brackets. Call superclass paramString.
12402 * java/awt/MenuComponent.java (toString): Call paramString.
12403 (paramString): Compute string; don't call toString.
12404 * java/awt/Label.java (paramString): Don't include class name
12405 or brackets. Call superclass paramString.
12406 * java/awt/Checkbox.java (paramString): Don't include class name
12407 or brackets. Call superclass paramString.
12408 * java/awt/Button.java (paramString): Don't include class name or
12409 brackets. Call superclass paramString.
12410 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12411
12412 2002-01-20 Andreas Schwab <schwab@suse.de>
12413
12414 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12415 function and of parameter recv_func to ssize_t, as specified by
12416 POSIX.
12417
12418 2002-01-19 Per Bothner <per@bothner.com>
12419
12420 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12421 uncompressed_size in readiness for next entry.
12422
12423 2002-01-18 Tom Tromey <tromey@redhat.com>
12424
12425 * java/net/natPlainSocketImpl.cc: Include
12426 IllegalArgumentException.h.
12427 (_Jv_recv): New template function.
12428 (BooleanClass): Removed.
12429 (read): Use _Jv_recv.
12430 (setOption): Use Boolean::class$. Throw exception if object is
12431 not Boolean or Integer.
12432
12433 2002-01-17 Tom Tromey <tromey@redhat.com>
12434
12435 * java/awt/MenuComponent.java: Merged with Classpath.
12436 * java/awt/MenuItem.java: Merged with Classpath.
12437 * java/awt/Button.java: Merged with Classpath.
12438
12439 * java/awt/ActiveEvent.java: Updated copyright.
12440
12441 * java/awt/AWTError.java: Replaced with Classpath version.
12442 * java/awt/AWTException.java: Replaced with Classpath version.
12443 * java/awt/IllegalComponentStateException.java: Replaced with
12444 Classpath version.
12445
12446 2002-01-16 Tom Tromey <tromey@redhat.com>
12447
12448 * java/awt/Canvas.java (serialVersionUID): New constant.
12449 Updated copyright. Added javadoc from Classpath.
12450 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12451
12452 * java/awt/CheckboxGroup.java: Merged with Classpath.
12453 * java/awt/Checkbox.java: Merged with Classpath.
12454
12455 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12456 Classpath.
12457 * java/awt/Point.java: Updated copyright.
12458
12459 * java/awt/Point.java (toString): Use getClass().getName().
12460 Added javadoc.
12461
12462 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12463 commented code.
12464 (hash): Correctly compute initial value for `h'.
12465
12466 * java/awt/Label.java: Merged with Classpath.
12467
12468 2002-01-15 Tom Tromey <tromey@redhat.com>
12469
12470 * java/awt/AWTPermission.java: Updated copyright.
12471
12472 * java/awt/LayoutManager2.java: Merged with Classpath.
12473 * java/awt/LayoutManager.java: Merged with Classpath.
12474 * java/awt/GridLayout.java: Updated copyright and javadoc.
12475 (getSize): Use `parent.ncomponents'. Handle insets.
12476 (layoutContainer): Use `parent.ncomponents'. Handle case where
12477 there are fewer children than columns. Correctly compute size of
12478 each cell in the grid. Handle case where there isn't enough
12479 space.
12480 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12481 all users.
12482 (gotoComponent): Use parent.ncomponents. Ensure child exists
12483 before calling setVisible() on it. Last item is `num - 1', not
12484 `num'.
12485 (layoutContainer): Hoist invariants out of loop.
12486
12487 Start of AWT merge with Classpath:
12488 * Makefile.in: Rebuilt.
12489 * Makefile.am (awt_java_source_files): Reference files in
12490 gnu/java/awt, not gnu/gcj/awt.
12491 * java/awt/image/BufferedImage.java: Updated copyright.
12492 * java/awt/image/ComponentColorModel.java: Updated copyright.
12493 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12494 * java/awt/image/DataBuffer.java: Updated copyright.
12495 * java/awt/image/DataBufferByte.java: Updated copyright.
12496 * java/awt/image/DataBufferInt.java: Updated copyright.
12497 * java/awt/image/DataBufferUShort.java: Updated copyright.
12498 * java/awt/image/IndexColorModel.java: Updated copyright.
12499 * java/awt/image/PackedColorModel.java: Updated copyright.
12500 * java/awt/image/Raster.java: Updated copyright.
12501 * java/awt/image/RasterOp.java: Updated copyright.
12502 * java/awt/image/SampleModel.java: Updated copyright.
12503 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12504 * java/awt/image/WritableRaster.java: Updated copyright.
12505 * java/awt/color/ColorSpace.java: Updated copyright.
12506 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12507 * java/awt/color/ICC_Profile.java: Updated copyright.
12508 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12509 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12510 * java/awt/event/HierarchyEvent.java: Updated copyright.
12511 * java/awt/event/HierarchyListener.java: Updated copyright.
12512 * java/awt/geom/AffineTransform.java: Updated copyright.
12513 * java/awt/geom/Dimension2D.java: Updated copyright.
12514 * java/awt/geom/Ellipse2D.java: Updated copyright.
12515 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12516 * java/awt/geom/Line2D.java: Updated copyright.
12517 * java/awt/geom/NoninvertibleTransformException.java: Updated
12518 copyright.
12519 * java/awt/geom/PathIterator.java: Updated copyright.
12520 * java/awt/geom/Point2D.java: Updated copyright.
12521 * java/awt/geom/Rectangle2D.java: Updated copyright.
12522 * java/awt/geom/RectangularShape.java: Updated copyright.
12523 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12524 * java/awt/Toolkit.java: Updated import for file moves.
12525 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12526 Classpath.
12527 (hashCode): New method from Classpath.
12528 * java/awt/Graphics2D.java: Updated copyright.
12529 * java/awt/Transparency.java: Updated copyright.
12530 * java/awt/Paint.java: Updated copyright.
12531 * java/awt/Graphics.java: New version from Classpath.
12532 * java/awt/EventDispatchThread.java: Updated copyright.
12533 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12534 children.
12535 (gotoComponent): Wrap around on next/previous.
12536 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12537 * gnu/gcj/awt/Buffers.java: Removed.
12538 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12539 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12540 * gnu/java/awt/BitMaskExtent.java: Added.
12541 * gnu/java/awt/Buffers.java: Added.
12542 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12543 * gnu/java/awt/GLightweightPeer.java: Added.
12544 * java/awt/geom/Line2D.java (clone): Ignore
12545 CloneNotSupportedException.
12546 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12547 * java/awt/Frame.java: Merged with Classpath.
12548 * java/awt/RenderingHints.java: Copyright update.
12549 * java/awt/Paint.java: Copyright update.
12550 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12551 * java/awt/image/ColorModel.java: Merged with Classpath.
12552 * java/awt/Window.java (show): New Implementation from Classpath.
12553 (isShowing): Use super.isShowing().
12554 * java/awt/EventQueue.java: Merged with Classpath.
12555 * java/awt/AWTEventMulticaster.java (save): Throw
12556 RuntimeException.
12557 (saveInternal): Likewise.
12558 * java/awt/AWTEvent.java: Now implements Serializable.
12559 * java/awt/Event.java: Copyright update.
12560 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12561 * java/awt/image/BufferedImage.java: Copyright update.
12562 * java/awt/GraphicsConfiguration.java: Copyright update.
12563 * java/awt/Component.java: (addNotify): Don't call
12564 addNotifyContainerChildren().
12565 (addNotifyContainerChildren): Removed.
12566 (setPeer): New method from Classpath.
12567 (setTreeLock): Likewise.
12568 (setVisible): Rewrote.
12569 (show): Use it.
12570 (hide): Likewise.
12571 (validate): Set `valid'.
12572 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12573 (createImage(ImageProducer)): Likewise.
12574 (prepareImage): Likewise.
12575 * java/awt/Container.java (addImpl): Handle case where constraint
12576 is not a String. Post event via system event queue.
12577 (remove): Post event via system event queue.
12578 (validateTree): Only validate child if it is invalid.
12579 (getAlignmentX): Call super method as default.
12580 (getAlignmentY): Likewise.
12581 (addContainerListener): Now synchronized.
12582 (removeContainerListener): Likewise.
12583 (addNotifyContainerChildren): Now private.
12584 * java/awt/ComponentOrientation.java: Updated copyright. Added
12585 @author.
12586 * java/awt/FlowLayout.java (serialVersionUID): New field.
12587 (setAlignment): Better exception message.
12588 (layoutContainer): Don't compute component's preferred size unless
12589 we're going to use it.
12590 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12591 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12592 (firstLine, lastLine, firstItem, lastItem): New fields.
12593 (addLayoutComponent): Handle case where constraints is null.
12594 Also, handle relative locations.
12595 (removeLayoutComponent): Handle relative locations.
12596 (MIN, MAX, PREF): New constants.
12597 (calcCompSize): New method.
12598 (calcSize): New method.
12599 (minimumLayoutSize): Use it.
12600 (preferredLayoutSize): Likewise.
12601 (maximumLayoutSize): Likewise.
12602 (toString): Include more information.
12603 (setBounds): New method.
12604 (layoutContainer): Use libgcj implementation; extended to handle
12605 relative locations.
12606
12607 2002-01-15 Tom Tromey <tromey@redhat.com>
12608
12609 * java/lang/Float.java (equals): Preserve old code.
12610 * java/lang/Double.java (equals): Preserve old code.
12611
12612 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12613
12614 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12615 * java/lang/Float.java (equals, compare): Ditto.
12616
12617 2002-01-13 Mark Wielaard <mark@klomp.org>
12618
12619 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12620 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12621 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12622 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12623
12624 2002-01-11 Mark Wielaard <mark@klomp.org>
12625
12626 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12627 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12628 InetAddress.
12629 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12630 * java/net/Socket.java: Merge with Classpath.
12631 * java/net/ServerSocket.java: Likewise.
12632
12633 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12634
12635 * interpret.cc (NULLARRAYCHECK): New macro.
12636 (SAVE_PC): Just store `pc'.
12637 (find_exception): Subtract one from `pc' here.
12638 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12639 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12640 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12641 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12642 don't call SAVE_PC.
12643 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12644 call SAVE_PC.
12645
12646 2002-01-11 Tom Tromey <tromey@redhat.com>
12647
12648 * java/lang/natSystem.cc (init_properties): Only look for default
12649 locale if LC_MESSAGES is defined.
12650 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12651 * configure.in: Call AM_LC_MESSAGES.
12652 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12653
12654 2002-01-10 Tom Tromey <tromey@redhat.com>
12655
12656 For PR libgcj/5303:
12657 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12658 --version. Recognize GNU-style long options. Print GNU-style
12659 error messages.
12660 (usage): Print GNU-style help. Exit with status 0.
12661 (error): New method.
12662 (run): Print error message if no class names found.
12663 (main): Don't print usage on error.
12664
12665 2002-01-09 Tom Tromey <tromey@redhat.com>
12666
12667 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12668 property.
12669 (help, version): Use println(), not println("").
12670
12671 For PR libgcj/5303:
12672 * gnu/gcj/convert/Convert.java (error): Program is called
12673 `jv-convert'. Print GNU-style message. Exit with status 1, not
12674 -1.
12675 (main): Handle --help and --version.
12676 (help): New method.
12677 (version): Likewise.
12678
12679 2002-01-08 Tom Tromey <tromey@redhat.com>
12680
12681 * Makefile.in: Rebuilt.
12682 * Makefile.am (ordinary_java_source_files): Added new files.
12683 * gnu/java/locale/LocaleInformation.java: Extend
12684 LocaleInformation_en.
12685 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12686 and time/date formats.
12687 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12688 generated.
12689 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12690 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12691 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12692 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12693 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12694 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12695 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12696 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12697 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12698 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12699 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12700 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12701 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12702 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12703 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12704 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12705 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12706 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12707 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12708 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12709 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12710 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12711 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12712 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12713 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12714 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12715 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12716 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12717 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12718 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12719 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12720 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12721 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12722 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12723 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12724 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12725 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12726 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12727 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12728 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12729 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12730 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12731 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12732 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12733 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12734 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12735 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12736 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12737 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12738 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12739 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12740 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12741 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12742 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12743 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12744 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12745 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12746 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12747 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12748 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12749 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12750 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12751 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12752 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12753 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12754 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12755 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12756 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12757 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12758 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12759 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12760 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12761 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12762 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12763 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12764 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12765 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12766 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12767 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12768 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12769 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12770 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12771 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12772 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12773 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12774 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12775 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12776 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12777 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12778 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12779 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12780 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12781 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12782 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12783 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12784 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12785 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12786 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12787 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12788 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12789 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12790 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12791 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12792 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12793 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12794 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12795 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12796 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12797 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12798 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12799 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12800 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12801 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12802 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12803 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12804 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12805 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12806 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12807 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12808 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12809 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12810 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12811 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12812 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12813 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12814 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12815 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12816 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12817 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12818 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12819
12820 For PR libgcj/5031:
12821 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12822 choose default locale.
12823
12824 * Makefile.in: Rebuilt.
12825 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12826
12827 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12828
12829 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12830 sockets.
12831 (close): New function closes the socket.
12832 (write): New functions for output to socket.
12833 (read): New functions for reading from socket.
12834 * java/net/PlainSocketImpl.java: Glue for new timeout
12835 implementation.
12836 (write): Call the native impl.
12837 (read): Likewise.
12838 (getInputStream): Get a stream to read from the socket.
12839 (getOutputStream): Get a stream to write to the socket.
12840
12841 2002-01-08 Tom Tromey <tromey@redhat.com>
12842
12843 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12844
12845 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12846
12847 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12848 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12849
12850 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12851
12852 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12853 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12854 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12855 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12856 insn_bastore, insn_castore, insn_sastore]: Use it.
12857 (continue1) [insn_arraylength]: Check for null array.
12858
12859 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12860
12861 * configure, include/config.h.in: Rebuilt.
12862 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12863 * configure.in: Call AC_STRUCT_TIMEZONE.
12864
12865 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12866
12867 * configure.host: Disable the interpreter for Darwin.
12868
12869 2002-01-04 Tom Tromey <tromey@redhat.com>
12870
12871 * java/lang/Thread.java (stop): No longer synchronized.
12872 (start): Likewise.
12873
12874 2002-01-02 Tom Tromey <tromey@redhat.com>
12875
12876 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12877 patch.
12878
12879 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12880
12881 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12882 PPC Darwin, not for all of Darwin.