acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
[gcc.git] / libjava / ChangeLog
1 2003-08-06 Alan Modra <amodra@bigpond.net.au>
2
3 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4 * configure.in: Compare with_cross_host to build_alias, not build.
5 * aclocal.m4: Regenerate.
6 * configure: Regenerate.
7
8 2003-08-05 Tom Tromey <tromey@redhat.com>
9
10 Fix for PR libgcj/11779:
11 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
12 class.
13
14 * java/lang/reflect/Method.java: Updated status comment.
15 Imported javadoc from Classpath and re-ordered methods.
16 * java/lang/reflect/Constructor.java: Reindented. Updated
17 status comment. Imported javadoc from Classpath and re-ordered
18 methods.
19
20 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
21
22 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
23 Add keyLocation parameter.
24 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
25 string.
26 (paramString): Generate keyChar string according to keyChar, not
27 keyCode.
28 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
29 (state_to_awt_mods): Handle ALT key.
30 (keyevent_state_to_awt_mods): New function.
31 (get_first_keyval_from_keymap): New function.
32 (keysym_to_awt_keycode): Get virtual key code from keymap.
33 Handle missing VK_ values.
34 (keysym_to_awt_keylocation): New function.
35 (keyevent_to_awt_keychar): New function.
36 (generates_key_typed_event): Handle non-text-component case.
37 Handle GDK_KP_Delete and GDK_KP_Enter.
38 (awt_event_handler): Call new functions to get postKeyEvent
39 parameters.
40 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
41 Update postKeyEvent method signature.
42 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
43 VK_ defines.
44
45 2003-08-05 Matthias Klose <doko@debian.org>
46
47 * aclocal.m4: check for libart-config binary
48 under the name libart2-config as well.
49 * configure: regenerated.
50
51 2003-08-04 David P Grove <groved@us.ibm.com>
52
53 * java/text/DecimalFormat.java (format): avoid ArithmeticException
54 when groupingSize is 0.
55 (parse): Likewise.
56
57 2003-08-04 Matthias Klose <doko@debian.org>
58
59 * libart.m4: check for libart-config binary
60 under the name libart2-config as well.
61 * configure, aclocal.m4: regenerated.
62
63 2003-08-02 Michael Koch <konqueror@gmx.de>
64
65 * java/nio/ByteBufferImpl.java
66 (getChar): Check remaining bytes, fixed comment about endianess.
67 (putChar): Likewise.
68 (getShort): Likewise.
69 (putShort): Likewise.
70 (getInt): Check remaining bytes, fixed conversion, fixed comment about
71 endianess.
72 (putInt): Likewise.
73 (getLong): Likewise.
74 (putLong): Likewise.
75 (getFloat): Likewise.
76 (putFloat): Likewise.
77 (getDouble): Likewise.
78 (putDouble): Likewise.
79 * java/nio/DirectByteBufferImpl.java
80 (getChar): Wrapped code, fixed comment about endianess.
81 (putchar): Likewise.
82 (getShort): Likewise.
83 (putShort): Likewise.
84 (getInt): Fixed conversion, fixed comment about endianess.
85 (putInt): Likewise.
86 (getLong): Likewise.
87 (putLong): Likewise.
88 (getFloat): Likewise.
89 (putFloat): Likewise.
90 (getDouble): Likewise.
91 (putDouble): Likewise.
92 * java/nio/MappedByteBufferImpl.java
93 (compact): Implemented.
94 (getChar): Implemented.
95 (putChar): Implemented.
96 (getDouble): Implemented.
97 (putdouble): Implemented.
98 (getFloat): Implemented.
99 (putFloat): Implemented.
100 (getInt): Implemented.
101 (putInt): Implemented.
102 (getLong): Implemented.
103 (putLong): Implemented.
104 (getShort): Implemented.
105 (putShort): Implemented.
106 * java/nio/channels/FileChannelImpl.java
107 (read): Set position where to access file.
108 (write): Likewise.
109 (transferTo): Flip buffer after read and before write.
110 (transferFrom): Likewise.
111
112 2003-08-02 Michael Koch <konqueror@gmx.de>
113
114 * gnu/java/lang/ArrayHelper.java
115 (equalsArray): Reformated, added method documentation.
116
117 2003-08-02 Michael Koch <konqueror@gmx.de>
118
119 * java/net/URL.java
120 (URL): Added paragraph about the
121 gnu.java.net.nocache_protocol_handlers property.
122 (ph_cache): Renamed from handlers to match classpath's implementation.
123 Reordered it with factory and serialVersionUID member variables.
124 (cache_handlers): New member variable.
125 (static): New static initializer to initialize cache_handlers from
126 gnu.java.net.nocache_protocol_handlers property.
127 (URL): Use ph_cache instead of handlers, reformatted some code to
128 match classpath's implementation.
129
130 2003-08-01 Tom Tromey <tromey@redhat.com>
131
132 Fix for PR libgcj/11241:
133 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
134 initialCapacity is 0, set it to 1.
135
136 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
137
138 * java/net/SocketImpl.java (toString): Display the remote address
139 of an unconnected server socket as "0.0.0.0/0.0.0.0".
140
141 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
142
143 * javax/swing/border/BevelBorder.java,
144 javax/swing/border/EtchedBorder.java,
145 javax/swing/border/LineBorder.java,
146 javax/swing/border/MatteBorder.java,
147 javax/swing/border/SoftBevelBorder.java,
148 javax/swing/plaf/BorderUIResource.java,
149 javax/swing/plaf/ComponentUI.java,
150 javax/swing/plaf/TreeUI.java,
151 javax/swing/plaf/basic/BasicBorders.java,
152 javax/swing/plaf/basic/BasicGraphicsUtils.java,
153 javax/swing/plaf/basic/BasicTreeUI.java:
154 Prepend "doc-files" to all paths to embedded Javadoc images, so
155 that the generated documentation contains the correct URL.
156
157 2003-08-01 Tom Tromey <tromey@redhat.com>
158
159 * configure: Rebuilt.
160 * configure.in (tool_include_dir): Redefine to match gcc.
161
162 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
163 Mark Wielaard <mark@klomp.org>
164
165 * java/math/BigDecimal (divide): Correctly handle
166 ROUND_HALF_EVEN when amount is greater than 0.5.
167 Simplify and optimize code.
168
169 2003-07-31 Tom Tromey <tromey@redhat.com>
170
171 More for PR libgcj/11737:
172 * java/io/ObjectInputStream.java (processResolution): Use
173 getMethod.
174 (getMethod): Make method accessible.
175 (getField): Make field accessible.
176 (setBooleanField): Don't call setAccessible here.
177 (setByteField, setCharField, setDoubleField, setFloatField,
178 setIntField, setLongField, setShortField, setObjectField):
179 Likewise.
180 (callReadMethod): Don't check whether method is null. Catch
181 NoSuchMethodException.
182 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
183 cause on thrown exceptions.
184
185 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
186
187 Fix for PR libgcj/11728:
188 * java/util/HashMap.java (readObject): Set size.
189
190 2003-07-31 Tom Tromey <tromey@redhat.com>
191
192 Fix for PR libgcj/11737:
193 * java/io/ObjectOutputStream.java (getMethod): Make method
194 accessible.
195 (getField): Likewise.
196 (writeObject): Use getMethod.
197 Import PrivilegedAction and AccessController.
198 (callWriteMethod): Don't check whether m is null. Catch
199 NoSuchMethodException.
200
201 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
202 (containsAngle): Likewise.
203 (getStartPoint): Rewrote.
204 (getEndPoint): Likewise.
205 (setAngleStart(Point2D)): Likewise.
206
207 2003-07-31 Roger Sayle <roger@eyesopen.com>
208 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
209
210 * configure.in: Add new THREADCXXFLAGS variable.
211 Handle POSIX threads on alpha*-dec-osf*.
212 * configure: Regenerate.
213 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
214 * Makefile.in: Regenerate.
215
216 2003-07-08 Andrew Haley <aph@redhat.com>
217
218 * include/i386-signal.h (RESTORE): New.
219 (INIT_SEGV): Set restorer.
220 (INIT_FPE): Likewise.
221
222 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
223
224 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
225 than getXLFD.
226 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
227 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
229 (gtkSetFont): Scale size parameter by PANGO_SCALE.
230 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
231 Likewise.
232 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
233 Likewise.
234
235 2003-07-29 Tom Tromey <tromey@redhat.com>
236
237 * defineclass.cc (handleField): Throw exception if field name is
238 duplicated.
239 (handleMethod): Throw exception for duplicate method.
240
241 2003-07-29 Tom Tromey <tromey@redhat.com>
242
243 * gnu/gcj/convert/natIconv.cc (write): Handle case where
244 output buffer is too small.
245
246 2003-07-28 Tom Tromey <tromey@redhat.com>
247
248 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
249 New method.
250 Include gnu/gcj/runtime/StringBuffer.h.
251 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
252 native method.
253 (String(gnu.gcj.runtime.StringBuffer)): Use it.
254
255 2003-07-27 Anthony Green <green@redhat.com>
256
257 * configure.in: Fix newlib check.
258 * configure: Rebuilt.
259
260 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
261
262 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
263 Create vbox and layout for GtkPlug.
264
265 2003-07-27 Michael Koch <konqueror@gmx.de>
266
267 * java/awt/Window.java
268 (Window): Removed now unused constructor. It became oboslete with the
269 new embedded window patch.
270
271 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
272 Michael Koch <konqueror@gmx.de>
273
274 * gnu/java/awt/EmbeddedWindow.java
275 (EmbeddedWindow): Extends Frame instead of Window.
276 (window_id): New member variable to store the native window handle.
277 (create): Removed.
278 (EmbeddedWindow): New constructor.
279 (addNotify): New method.
280 (getHandler): Likewise.
281 (setWindowPeer): New native method.
282 * gnu/java/awt/EmbeddedWindowSupport.java
283 (EmbeddedWindowSupport): Fixed documentation.
284 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
285 WindowPeer, give it an EmbeddedWindow instance instead of the raw
286 window data.
287 * gnu/java/awt/natEmbeddedWindow.cc
288 (create): Removed.
289 (setWindowPeer): New method.
290 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
291 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
292 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
293 New files
294 * gnu/java/awt/peer/gtk/GtkToolkit.java
295 (GtkToolkit): Implements EmbeddedWindowSupport.
296 (createEmbeddedWindow): New method.
297 * java/awt/Window.java
298 (Window): Removed.
299 * Makefile.am
300 (java_source_files): Added EmbeddedWindowPeer.java.
301 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
302 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
303 * Makefile.in: Regenerated.
304
305 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
306
307 * java/lang/Win32Process.java (ConcreteProcess): Surround
308 a command line element with quotes if it contains an
309 embedded space or tab.
310 * java/lang/natWin32Process.cc (startProcess): Do not
311 surround command line elements with quotes here.
312
313 * configure.host: Use -fcheck-references and
314 -fuse-divide-subroutine for MinGW until we fix
315 win32_exception_handler( ) in win32.cc w.r.t. Win32
316 Structured Exception Handling (SEH).
317
318 * win32.cc (_Jv_platform_initProperties): Use generic names
319 like "x86" for the "os.arch" property to be consistent with
320 what Sun's JDK produces. Use the wProcessorArchitecture
321 member of the Win32 SYSTEM_INFO structure, filled in a call
322 to GetSystemInfo( ), instead of dwProcessorType.
323
324 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
325 Ranjit Mathew <rmathew@hotmail.com>
326
327 * Makefile.am: Use cross-compiling gcjh from the path for
328 a crossed-native build.
329 * Makefile.in: Rebuilt.
330 * configure.in: Include libltdl in non-newlib builds.
331 Moved determination of gcj used to build libraries to
332 its own section. Fixed cross-compilation issues for
333 non-newlib builds.
334 * configure: Rebuilt.
335
336 2003-07-25 Tom Tromey <tromey@redhat.com>
337
338 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
339 (write): Likewise.
340 (read): Likewise.
341 (read): Likewise.
342
343 2003-07-25 Mark Wielaard <mark@klomp.org>
344
345 * java/lang/natRuntime.cc (_load): Add library name to
346 UnsatisfiedLinkError when thrown.
347
348 2003-07-25 Mark Wielaard <mark@klomp.org>
349
350 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
351 added.
352 * Makefile.in: Likewise.
353
354 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
355
356 * java/awt/Component.java
357 (getPreferredSize): Call preferredSize.
358 (preferredSize): Moved body of getPreferredSize here.
359 (getMinimumSize): Call minimumSize.
360 (minimumSize): Moved body of getMinimumSize here.
361 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
362 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
363 pass -1
364 * java/awt/Container.java
365 (validate): Don't validate if there is no peer.
366 (update): Clear background before calling paint.
367 * java/awt/GridBagLayout.java
368 Completed the implementation and fixed several bugs.
369 * java/awt/MediaTracker.java
370 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
371 combine flags.
372 * java/awt/Window.java
373 (Window): Don't call setVisible(false). Windows are invisible by
374 default and calling virtual methods from constructor causes
375 compatibility problems (e.g. subclasses may assume that the peer
376 already exists).
377
378 2003-07-25 Michael Koch <konqueror@gmx.de>
379
380 * java/awt/GridBagLayout.java:
381 Totally reworked and partly implemented.
382 * java/awt/GridBagLayoutInfo.java:
383 New file.
384
385 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
386
387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
388 Don't pack label in an event box.
389
390 2003-07-24 Tom Tromey <tromey@redhat.com>
391
392 For PR libgcj/7482:
393 * verify.cc (ref_intersection): New class.
394 (type_val): Removed unresolved_reference_type,
395 uninitialized_unresolved_reference_type.
396 (is_assignable_from_slow): Rewrote.
397 (type::data): Removed.
398 (type::klass): New field.
399 (type::type): Added verifier argument.
400 (type::resolve): Removed.
401 (type::set_uninitialized): Updated for change to type_val.
402 (type::set_initialized): Likewise.
403 (type::isinitialized): Likewise.
404 (type::print): Likewise.
405 (construct_primitive_array_type): Likewise.
406 (type::compatible): Updated for change to type_val and to use
407 ref_intersection.
408 (type::isarray): Updated to use ref_intersection.
409 (type::isinterface): Likewise.
410 (type::element_type): Likewise.
411 (type::to_array): Likewise.
412 (type::verify_dimensions): Rewrote.
413 (type::merge): Likewise.
414 (check_class_constant): Updated for type constructor change.
415 (check_constant): Likewise.
416 (check_field_constant): Likewise.
417 (get_one_type): Likewise.
418 (initialize_stack): Likewise.
419 (verify_instructions_0): Likewise.
420 (verify_instructions_0) [op_invokeinterface]: Removed special
421 case.
422 (isect_list): New field.
423 (_Jv_BytecodeVerifier): Initialize it.
424 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
425
426 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
427
428 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
429 unless field size is 2.
430
431 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
432
433 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
434 (connectHooks): New method.
435 (handleEvent): Remove.
436 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
437 (createHooks): Remove declaration.
438 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
439 (generates_key_typed_event): Change to handle only certain
440 keyvals.
441 (awt_event_handler): Add special handling for GtkTextView.
442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
443 (textcomponent_commit_cb): New function.
444 (textcomponent_changed_cb): Likewise.
445 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
446 (connectHooks): Remove.
447
448 2003-07-23 Tom Tromey <tromey@redhat.com>
449
450 * java/lang/natSystem.cc (arraycopy): Check for overflow.
451
452 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
453
454 2003-07-22 Tom Tromey <tromey@redhat.com>
455
456 * boehm.cc (_Jv_BuildGCDescr): Wrote.
457 Include limits.h.
458
459 2003-07-22 Tom Tromey <tromey@redhat.com>
460
461 * java/awt/Window.java (getWarningString): Just return the
462 string.
463 (Window): Set warningString; check with security manager.
464
465 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
466
467 * gnu/awt/xlib/XGraphicsConfiguration.java
468 (FontMetricsCache): Made static.
469
470 2003-07-22 Tom Tromey <tromey@redhat.com>
471
472 * java/net/URLEncoder.java (encode(String)): Use platform default
473 encoding.
474 (encode(String,String)): Convert to 2-digit upper-case hex
475 number.
476 (hex): New field.
477
478 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
479
480 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
481 (create): Remove unused method implementation.
482 (connectHooks): Remove debug messages.
483
484 2003-07-20 Anthony Green <green@redhat.com>
485
486 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
487 CloneNotSupportedException.
488 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
489 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
490 * gnu/gcj/xlib/GC.java (clone): Ditto.
491 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
492 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
493
494 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
495 handler.
496 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
497
498 2003-07-20 Steve Pribyl <steve@netfuel.com.>
499
500 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
501 String. Put dlerror() message into exception.
502 Include UnsatisfiedLinkError.
503 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
504 String. Now native.
505
506 2003-07-20 Tom Tromey <tromey@redhat.com>
507
508 * java/lang/Runtime.java: Comment fix.
509 * java/lang/ClassLoader.java (isAncestorOf): New method.
510 (getParent): Uncommented security check. Use isAncestorOf.
511 * include/jvm.h (_Jv_CheckAccess): Declare.
512 * java/lang/reflect/natConstructor.cc (newInstance): Perform
513 access check.
514 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
515 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
516 class loader to _Jv_GetArrayClass.
517 Include ArrayIndexOutOfBoundsException.h.
518 * java/lang/reflect/Field.java: Update comment to reflect status.
519 (equals): Fixed indentation.
520 * java/lang/Class.h (Class): Declare memberAccessCheck, not
521 checkMemberAccess. Make _Jv_CheckAccess a friend.
522 * java/lang/Class.java (memberAccessCheck): New method from
523 Classpath.
524 (checkMemberAccess): Removed.
525 (getDeclaredMethod): Use memberAccessCheck.
526 (getField): Likewise.
527 (getMethod): Likewise.
528 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
529 (_Jv_SearchMethodInClass): Likewise.
530 * prims.cc (_Jv_CheckAccess): New function.
531 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
532 (_Jv_JNI_GetAnyFieldID): Likewise.
533 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
534 (getClassLoader): Added security check.
535 (getConstructor): Call memberAccessCheck.
536 (getDeclaredClasses): Likewise.
537 (getDeclaredField): Likewise.
538 (getDeclaredFields): Likewise.
539 (_getConstructors): Likewise.
540 (getDeclaredConstructor): Likewise.
541 (getDeclaredMethods): Likewise.
542 (getFields): Likewise.
543 (getMethods): Likewise.
544 (newInstance): Likewise.
545 (_Jv_MakeVTable): Put method name in exception.
546 * java/lang/reflect/natMethod.cc (getType): Use
547 getClassLoaderInternal.
548 (_Jv_GetTypesFromSignature): Likewise.
549 (invoke): Perform access check.
550 (_Jv_CallAnyMethodA): Removed old FIXME comments.
551 Include ArrayIndexOutOfBoundsException.h.
552 * java/lang/reflect/natField.cc (getType): Use
553 getClassLoaderInternal.
554 (_Jv_CheckFieldAccessibility): Removed.
555 (getAddr): Use _Jv_CheckAccess; find caller.
556 Include ArrayIndexOutOfBoundsException.h.
557
558 2003-07-20 Michael Koch <konqueror@gmx.de>
559
560 * java/net/URL.java
561 (URL): Fixed documentation to name an argument correcty, Reformatted
562 one method declaration.
563 (getURLStreamHandler): Added documentation from classpath.
564
565 2003-07-19 Tom Tromey <tromey@redhat.com>
566
567 * mauve-libgcj: Don't run CollationElementIterator tests.
568
569 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
570
571 * java/net/URLClassLoader.java (addURL): Moved implementation to
572 private addURLImpl() to avoid calling addURL from the constructor.
573 (addURLImpl): Contains the code that was previously in addURL.
574 (addURLs): Call addURLImpl(), not addURL().
575
576 2003-07-18 Graydon Hoare <graydon@redhat.com>
577
578 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
579 Handle missing event cases, connect to "value-changed" signal.
580
581 2003-07-18 Graydon Hoare <graydon@redhat.com>
582
583 * java/awt/geom/CubicCurve2D.java,
584 java/awt/geom/Line2D.java,
585 java/awt/geom/QuadCurve2D.java,
586 java/awt/geom/Rectangle2D.java:
587 Fix path some calculations, make path iterators follow
588 a consistent style.
589
590 2003-07-18 Mark Wielaard <mark@klomp.org>
591
592 * java/util/logging/Handler.java (isLoggable): Check record level
593 smaller or equal.
594
595 2003-07-17 Michael Koch <konqueror@gmx.de>
596
597 * gnu/java/awt/peer/gtk/GtkToolkit.java:
598 Reworked imports.
599
600 2003-07-14 Michael Koch <konqueror@gmx.de>
601
602 * gnu/java/rmi/server/UnicastServerRef.java:
603 New version from classpath.
604
605 2003-07-14 Michael Koch <konqueror@gmx.de>
606
607 * java/awt/image/MemoryImageSource.java,
608 java/beans/PropertyEditorManager.java,
609 javax/naming/CompoundName.java,
610 javax/naming/spi/NamingManager.java,
611 javax/swing/AbstractButton.java,
612 javax/swing/ButtonModel.java,
613 javax/swing/SwingUtilities.java,
614 javax/swing/UIManager.java,
615 javax/swing/colorchooser/DefaultColorSelectionModel.java,
616 javax/swing/event/AncestorEvent.java,
617 javax/swing/event/InternalFrameEvent.java,
618 java/util/zip/ZipFile.java:
619 New versions from classpath.
620
621 2003-07-13 Michael Koch <konqueror@gmx.de>
622
623 * gnu/java/nio/FileChannelImpl.java,
624 gnu/java/nio/natFileChannelImpl.cc: Removed.
625 * java/io/FileInputStream.java,
626 java/io/FileOutputStream.java,
627 java/io/RandomAccessFile.java,
628 java/nio/MappedByteBufferImpl.java:
629 Import java.nio.channels.FileChannelImpl instead of
630 gnu.java.nio.FileChannelImpl.
631 * java/nio/channels/FileChannelImpl.java,
632 java/nio/channels/natFileChannelImpl.cc:
633 New files.
634 * Makefile.am
635 (ordinary_java_source_files):
636 Removed gnu/java/nio/FileChannelImpl.java and added
637 java/nio/channels/FileChannelImpl.java.
638 (nat source_files):
639 Removed gnu/java/nio/natFileChannelImpl.cc and added
640 java/nio/channels/natFileChannelImpl.cc.
641 * Makefile.in: Regenerated.
642
643 2003-07-13 Michael Koch <konqueror@gmx.de>
644
645 * javax/swing/plaf/basic/BasicBorders.java,
646 javax/swing/plaf/basic/BasicLabelUI.java,
647 javax/swing/plaf/basic/BasicLookAndFeel.java,
648 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
649 javax/swing/plaf/basic/BasicTextUI.java,
650 javax/swing/plaf/metal/MetalLookAndFeel.java:
651 New versions from classpath.
652
653 2003-07-13 Michael Koch <konqueror@gmx.de>
654
655 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
656 * gnu/java/awt/peer/gtk/GdkGraphics.java
657 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
658 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
659 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
660 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
661 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
662 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
663 * gnu/java/awt/peer/gtk/GtkClipboard.java
664 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
665 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
666 * gnu/java/awt/peer/gtk/GtkFramePeer.java
667 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
668 * gnu/java/awt/peer/gtk/GtkImage.java
669 * gnu/java/awt/peer/gtk/GtkImagePainter.java
670 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
671 * gnu/java/awt/peer/gtk/GtkListPeer.java
672 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
673 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
674 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
675 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
676 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
677 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
678 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
679 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
680 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
681 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
682 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
683 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
684
685 2003-07-13 Michael Koch <konqueror@gmx.de>
686
687 * gnu/java/locale/LocaleInformation_de.java
688 * gnu/java/locale/LocaleInformation_en.java
689 * gnu/java/locale/LocaleInformation_nl.java
690
691 2003-07-13 Michael Koch <konqueror@gmx.de>
692
693 * gnu/java/awt/EmbeddedWindow.java,
694 gnu/java/awt/EmbeddedWindowSupport.java,
695 gnu/java/awt/natEmbeddedWindow.cc:
696 New files.
697 * java/awt/Window.java
698 (Window): New constructor to support embedded windows.
699 * Makefile.am
700 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
701 gnu/java/awt/EmbeddedWindowSupport.java.
702 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
703 * Makefile.in: Regenerated.
704
705 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
706
707 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
708 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
709 * java/awt/im/InputContext.java: Remove a redundant
710 partial line.
711
712 2003-07-09 Tom Tromey <tromey@redhat.com>
713
714 * Makefile.in: Rebuilt.
715 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
716
717 2003-07-09 Mark Wielaard <mark@klomp.org>
718
719 * java/io/ObjectOutputStream.java (writeObject): break after
720 calling writeClassDescriptor().
721
722 2003-07-09 Mark Mitchell <mark@codesourcery.com>
723
724 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
725
726 2003-07-09 Michael Koch <konqueror@gmx.de>
727
728 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
729 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
730 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
731 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
732 Explicitly import used classes.
733 * java/awt/Container.java: New version from classpath.
734
735 2003-07-09 Michael Koch <konqueror@gmx.de>
736
737 * libgcj.pc.in: New file.
738 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
739 * Makefile.in: Regenerated.
740 * configure: Regenrated.
741 * configure.in: Create libgcj.pc from libgcj.pc.in.
742
743 2003-07-08 Mark Wielaard <mark@klomp.org>
744
745 * gcj/cni.h: CNI now expands to Compiled Native Interface.
746
747 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
748 * java/lang/fdlibm.h: Likewise.
749
750 2003-07-07 Adam Megacz <adam@xwt.org>
751
752 * posix.cc: added #include<stdio.h>
753
754 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
755
756 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
757 formatting.
758
759 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
760 (setCaretPosition, setEditable): Rely entirely on native
761 implementation.
762 (getArgs): Remove.
763 (postTextEvent): New method.
764 (handleEvent): New method.
765 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
766 method.
767 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
769 (keysym_to_awt_keycode): Fix range checks.
770 (generates_key_typed_event): New function.
771 (awt_event_handler): Post AWT_KEY_RELEASED events to event
772 queue.
773 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
774 (gtkInit): Store TextComponent's postTextEvent method ID.
775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
776 (setText): Post TEXT_VALUE_CHANGED event to event queue.
777
778 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
779
780 * configure.in: Check for usleep declaration.
781 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
782 * configure: Regenerate.
783 * include/config.h.in: Likewise.
784 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
785
786 2003-07-01 Michael Koch <konqueror@gmx.de>
787
788 * gnu/gcj/convert/natIconv.cc
789 (iconv_init): Fixed possible memory leak by releasing allocated iconv
790 handle.
791
792 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
793
794 * glib-2.0.m4: New file.
795 * gtk-2.0.m4: New file.
796 * glib.m4: Remove.
797 * gtk.m4: Remove.
798 * configure.in: Update AM_PATH_GTK macro call to
799 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
800 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
801 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
802 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
803 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
804 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
805 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
806 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
807 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
808 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
809 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
810 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
811 jni/gtk-peer/gthread-jni.c,
812 jni/gtk-peer/gthread-jni.h:
813 New versions from classpath.
814 * aclocal.m4: Regenerate.
815 * configure: Regenerate.
816 * Makefile.in: Regenerate.
817 * gcj/Makefile.in: Regenerate.
818 * include/Makefile.in: Regenerate.
819 * testsuite/Makefile.in: Regenerate.
820
821 2003-06-30 Gary Benson <gbenson@redhat.com>
822
823 For PR libgcj/11349:
824 * javax/naming/spi/NamingManager.java (getURLContext): Use
825 correct name for factory class.
826
827 2003-06-28 Michael Koch <konqueror@gmx.de>
828
829 * java/io/PrintStream.java
830 (checkError): Call flush() instead of direct flushing of the Writer
831 object.
832 (print): Call print(String) instead of direct print method of the
833 Writer Object.
834 (println): Call println(String) instead of direct println method of the
835 Writer Object.
836 (write): Simplified.
837
838 2003-06-28 Michael Koch <konqueror@gmx.de>
839
840 * java/net/ServerSocket.java
841 (setChannel): New method.
842 * java/net/Socket.java
843 (setChannel): New method.
844
845 2003-06-27 Michael Koch <konqueror@gmx.de>
846
847 * java/beans/beancontext/BeanContextSupport.java:
848 New version from classpath.
849
850 2003-06-27 Michael Koch <konqueror@gmx.de>
851
852 * java/awt/Window.java,
853 java/awt/font/GraphicAttribute.java,
854 java/awt/font/ImageGraphicAttribute.java,
855 java/awt/image/DataBufferByte.java,
856 java/awt/image/DataBufferInt.java,
857 java/awt/image/DataBufferUShort.java,
858 java/awt/image/DirectColorModel.java,
859 java/awt/image/PixelGrabber.java:
860 New versions from classpath.
861
862 2003-06-27 Michael Koch <konqueror@gmx.de>
863
864 * java/security/Certificate.java
865 (getGuarantor): Removed wrong @deprecated tag.
866 (getPrincipal): Likewise.
867 (getPublicKey): Likewise.
868 (encode): Likewise.
869 (decode): Likewise.
870 (getFormat): Likewise.
871 (toString): Likewise.
872 * java/security/cert/PolicyQualifierInfo.java
873 (PolicyQualifierInfo): Made final.
874 * javax/security/auth/x500/X500Principal.java
875 (serialVersionUID): New member variable.
876
877 2003-06-27 Michael Koch <konqueror@gmx.de>
878
879 * java/text/Format.java
880 (serialVersionUID): Fixed value.
881
882 2003-06-27 Michael Koch <konqueror@gmx.de>
883
884 * java/net/Inet4Address.java
885 (Inet4Address): Made package-private.
886 * java/net/Inet6Address.java
887 (Inet4Address): Made package-private.
888
889 2003-06-27 Michael Koch <konqueror@gmx.de>
890
891 * java/io/RandomAccessFile.java
892 (readLine): Removed wrong @deprecated tag.
893 (getChannel): Made final.
894
895 2003-06-27 Michael Koch <konqueror@gmx.de>
896
897 * gnu/java/nio/FileChannelImpl.java
898 (write): Removed.
899
900 2003-06-27 Michael Koch <konqueror@gmx.de>
901
902 * java/nio/ByteBufferImpl.java
903 (ByteBufferImpl): Made it a package-private class
904 * java/nio/CharBufferImpl.java
905 (CharBufferImpl): Made it a package-private class
906 * java/nio/DirectByteBufferImpl.java
907 (DirectByteBufferImpl): Made it a package-private class
908 * java/nio/DoubleBufferImpl.java
909 (DoubleBufferImpl): Made it a package-private class
910 * java/nio/FloatBufferImpl.java
911 (FloatBufferImpl): Made it a package-private class
912 * java/nio/IntBufferImpl.java
913 (IntBufferImpl): Made it a package-private class
914 * java/nio/LongBufferImpl.java
915 (LongBufferImpl): Made it a package-private class
916 * java/nio/ShortBufferImpl.java
917 (ShortBufferImpl): Made it a package-private class
918 * java/nio/channels/FileChannel.java
919 (write): Made final.
920 * java/nio/channels/ServerSocketChannel.java
921 (ServerSocketChanne): Made protected.
922
923 2003-06-27 Michael Koch <konqueror@gmx.de>
924
925 * javax/naming/CompositeName.java
926 (serialVersionUID): New member variable.
927 * javax/naming/CompoundName.java
928 (serialVersionUID): New member variable.
929 * javax/naming/InitialContext.java
930 (InitialContext): Throws NamingException.
931 (init): Likewise.
932 * javax/naming/LinkRef.java
933 (serialVersionUID): New member variable.
934 (gteLinkName): Throws NamingException.
935 * javax/naming/NamingException.java
936 (serialVersionUID): New member variable.
937 * javax/naming/NamingSecurityException.java
938 (NamingSecurityException): Made abstract.
939 (serialVersionUID): New member variable.
940 * javax/naming/ReferralException.java
941 (serialVersionUID): New member variable.
942 * javax/naming/StringRefAddr.java
943 (serialVersionUID): New member variable.
944 * javax/naming/directory/BasicAttribute.java:
945 Reworked imports.
946 (serialVersionUID): New member variable.
947 (get): Throws NamingException.
948 (getAll): Throws NamingException.
949 * javax/naming/directory/BasicAttributes.java:
950 Reworked imports.
951 (serialVersionUID): New member variable.
952 * javax/naming/ldap/UnsolicitedNotificationEvent.java
953 (serialVersionUID): New member variable.
954
955 2003-06-27 Michael Koch <konqueror@gmx.de>
956
957 * Makefile.am
958 (awt_java_source_files): Added new files:
959 javax/swing/Popup.java,
960 javax/swing/PopupFactory.java
961 * Makefile.in: Regenerated.
962
963 2003-06-27 Michael Koch <konqueror@gmx.de>
964
965 * javax/swing/JWindow.java,
966 javax/swing/event/AncestorEvent.java,
967 javax/swing/event/HyperlinkEvent.java,
968 javax/swing/event/InternalFrameEvent.java,
969 javax/swing/event/ListDataEvent.java,
970 javax/swing/event/TableModelEvent.java,
971 javax/swing/plaf/PopupMenuUI.java,
972 javax/swing/plaf/SplitPaneUI.java,
973 javax/swing/plaf/TabbedPaneUI.java,
974 javax/swing/plaf/TextUI.java,
975 javax/swing/plaf/TreeUI.java,
976 javax/swing/plaf/basic/BasicTextUI.java,
977 javax/swing/plaf/basic/BasicTreeUI.java:
978 New versions from classpath.
979 * javax/swing/Popup.java,
980 javax/swing/PopupFactory.jav:
981 New source files from classpath.
982 * javax/swing/plaf/doc-files/TreeUI-1.png:
983 New binary files from classpath.
984
985 2003-06-25 Michael Koch <konqueror@gmx.de>
986
987 * Makefile.am
988 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
989 * Makefile.in: Regenerated.
990
991 2003-06-25 Michael Koch <konqueror@gmx.de>
992
993 * javax/swing/plaf/ActionMapUIResource.java,
994 javax/swing/plaf/BorderUIResource.java,
995 javax/swing/plaf/ButtonUI.java,
996 javax/swing/plaf/ColorChooserUI.java,
997 javax/swing/plaf/ColorUIResource.java,
998 javax/swing/plaf/ComboBoxUI.java,
999 javax/swing/plaf/ComponentInputMapUIResource.java,
1000 javax/swing/plaf/ComponentUI.java,
1001 javax/swing/plaf/DesktopIconUI.java,
1002 javax/swing/plaf/DesktopPaneUI.java,
1003 javax/swing/plaf/DimensionUIResource.java,
1004 javax/swing/plaf/FileChooserUI.java,
1005 javax/swing/plaf/FontUIResource.java,
1006 javax/swing/plaf/IconUIResource.java,
1007 javax/swing/plaf/InputMapUIResource.java,
1008 javax/swing/plaf/InsetsUIResource.java,
1009 javax/swing/plaf/InternalFrameUI.java,
1010 javax/swing/plaf/LabelUI.java,
1011 javax/swing/plaf/ListUI.java,
1012 javax/swing/plaf/MenuBarUI.java,
1013 javax/swing/plaf/MenuItemUI.java,
1014 javax/swing/plaf/OptionPaneUI.java,
1015 javax/swing/plaf/PanelUI.java,
1016 javax/swing/plaf/ProgressBarUI.java,
1017 javax/swing/plaf/RootPaneUI.java,
1018 javax/swing/plaf/ScrollBarUI.java,
1019 javax/swing/plaf/ScrollPaneUI.java,
1020 javax/swing/plaf/SeparatorUI.java,
1021 javax/swing/plaf/SliderUI.java,
1022 javax/swing/plaf/TableHeaderUI.java,
1023 javax/swing/plaf/TableUI.java,
1024 javax/swing/plaf/ToolBarUI.java,
1025 javax/swing/plaf/ToolTipUI.java,
1026 javax/swing/plaf/ViewportUI.java:
1027 New versions from classpath.
1028 * javax/swing/plaf/SpinnerUI.java:
1029 New file from classpath
1030
1031 2003-06-25 Michael Koch <konqueror@gmx.de>
1032
1033 * java/awt/image/ColorModel.java:
1034 New version from classpath.
1035
1036 2003-06-25 Michael Koch <konqueror@gmx.de>
1037
1038 * java/net/PlainDatagramSocketImpl.java:
1039 Partly merged with classpath, this mainly adds documentation.
1040
1041 2003-06-25 Michael Koch <konqueror@gmx.de>
1042
1043 * java/io/ObjectInputStream.java
1044 (readClassDescriptor): New method.
1045 (readObject): Moved functionality to readClassDescriptor().
1046 * java/io/ObjectOutputStream.java
1047 (writeClassDescriptor): New method.
1048 (writeObject): Moved functionality to writeClassDescriptor().
1049
1050 2003-06-25 Michael Koch <konqueror@gmx.de>
1051
1052 * javax/swing/plaf/basic/BasicListUI.java,
1053 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1054 Added missing methods.
1055
1056 2003-06-25 Michael Koch <konqueror@gmx.de>
1057
1058 * javax/swing/event/AncestorEvent.java
1059 javax/swing/event/HyperlinkEvent.java
1060 javax/swing/event/InternalFrameEvent.java
1061 javax/swing/event/ListDataEvent.java
1062 javax/swing/event/TableModelEvent.java:
1063 Compile fixes.
1064
1065 2003-06-24 Michael Koch <konqueror@gmx.de>
1066
1067 * java/net/URL.java:
1068 Renamed "handler" to "ph" in the whole file to match classpaths
1069 version.
1070 * java/net/URLStreamHandler.java:
1071 (equals): Renamed "handler" to "ph".
1072
1073 2003-06-24 Michael Koch <konqueror@gmx.de>
1074
1075 * javax/swing/event/AncestorEvent.java,
1076 javax/swing/event/HyperlinkEvent.java,
1077 javax/swing/event/InternalFrameEvent.java,
1078 javax/swing/event/ListDataEvent.java,
1079 javax/swing/event/TableModelEvent.java,
1080 javax/swing/event/TreeWillExpandListener.java,
1081 javax/swing/plaf/ComponentUI.java,
1082 javax/swing/plaf/DesktopIconUI.java,
1083 javax/swing/plaf/DesktopPaneUI.java,
1084 javax/swing/plaf/DimensionUIResource.java,
1085 javax/swing/plaf/FileChooserUI.java,
1086 javax/swing/plaf/FontUIResource.java,
1087 javax/swing/plaf/IconUIResource.java,
1088 javax/swing/plaf/InputMapUIResource.java,
1089 javax/swing/plaf/InsetsUIResource.java,
1090 javax/swing/plaf/InternalFrameUI.java,
1091 javax/swing/plaf/LabelUI.java,
1092 javax/swing/plaf/ListUI.java,
1093 javax/swing/plaf/MenuBarUI.java,
1094 javax/swing/plaf/MenuItemUI.java,
1095 javax/swing/plaf/OptionPaneUI.java,
1096 javax/swing/plaf/PanelUI.java,
1097 javax/swing/plaf/ProgressBarUI.java,
1098 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1099 javax/swing/plaf/doc-files/ComponentUI-1.png:
1100 New versions from classpath.
1101
1102 2003-06-24 Michael Koch <konqueror@gmx.de>
1103
1104 * java/nio/Buffer.java
1105 (cap): Made package-private.
1106 (pos): Likewise.
1107 (limit): Likewise.
1108 (mark): Likewise.
1109
1110 2003-06-24 Michael Koch <konqueror@gmx.de>
1111
1112 * java/net/SocketImpl.java
1113 (shutdownInput): Made it non-abstract method throwing an exception
1114 like in SUNs JRE.
1115 (shutdownOutput): Likewise.
1116 * java/net/SocketInputStream.java,
1117 java/net/SocketOutputStream.java:
1118 New files from classpath.
1119
1120 2003-06-24 Michael Koch <konqueror@gmx.de>
1121
1122 * java/awt/Font.java,
1123 java/awt/Window.java,
1124 java/awt/color/ColorSpace.java,
1125 java/awt/datatransfer/StringSelection.java,
1126 java/awt/image/ColorModel.java:
1127 New versions from classpath.
1128
1129 2003-06-24 Michael Koch <konqueror@gmx.de>
1130
1131 * Makefile.am
1132 (awt_java_source_files): Added new files:
1133 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1134 javax/swing/plaf/basic/BasicSplitPaneUI.java
1135 * Makefile.in: Regenerated.
1136
1137 2003-06-24 Michael Koch <konqueror@gmx.de>
1138
1139 * javax/swing/text/JTextComponent.java:
1140 New version from classpath.
1141
1142 2003-06-24 Michael Koch <konqueror@gmx.de>
1143
1144 * javax/swing/Timer.java,
1145 javax/swing/plaf/ActionMapUIResource.java,
1146 javax/swing/plaf/ButtonUI.java,
1147 javax/swing/plaf/ColorChooserUI.java,
1148 javax/swing/plaf/ColorUIResource.java,
1149 javax/swing/plaf/ComboBoxUI.java,
1150 javax/swing/plaf/ComponentInputMapUIResource.java,
1151 javax/swing/plaf/basic/BasicBorders.java:
1152 New versions from classpath.
1153 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1154 javax/swing/plaf/basic/BasicSplitPaneUI.java:
1155 New file from classpath.
1156 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1157 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1158 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1159 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1160 javax/swing/plaf/doc-files/ComponentUI-1.png:
1161 New binary files from classpath.
1162
1163 2003-06-24 Michael Koch <konqueror@gmx.de>
1164
1165 * java/io/LineNumberReader.java
1166 (skip): Dont do line number accounting here as this is already done in
1167 read(), simplified.
1168
1169 2003-06-21 Michael Koch <konqueror@gmx.de>
1170
1171 * java/io/File.java
1172 (static): Load javaio lib if existing (only in classpath).
1173 (File): Revised documentation to show the correct argument name.
1174 (createTempFile): Partly merged with classpath.
1175 (compareTo): Simplified.
1176 (lastModified): Throw exception if time < 0.
1177 (deleteOnExit): Revised documentation.
1178
1179 2003-06-21 Michael Koch <konqueror@gmx.de>
1180
1181 * java/net/PlainSocketImpl.java:
1182 Reformatted.
1183 (PlainSocketImpl): Merged class documentaion with classpath.
1184 (in): Moved.
1185 (out): Moved.
1186 (PlainSocketImpl): New empty constructor.
1187 (finalize): Moved.
1188 (setOption): Merged documentation from classpath.
1189 (getOption): Likewise.
1190 (create): Likewise.
1191 (connect): Likewise.
1192 (bind): Likewise.
1193 (listen): Likewise.
1194 (accept): Likewise.
1195 (available): Likewise.
1196 (close): Likewise.
1197 (read): Likewise.
1198 (write): Likewise.
1199 (getInputStream): Made synchronozed to get sure that only one stream
1200 object can be created for this socket, merged documentation from
1201 classpath.
1202 (getOutputStream): Likewise.
1203
1204 2003-06-21 Michael Koch <konqueror@gmx.de>
1205
1206 * java/net/PlainSocketImpl.java:
1207 Reformatting.
1208 (static): New implicit method.
1209 (read): Made package private.
1210 (write): Likewise.
1211
1212 2003-06-21 Michael Koch <konqueror@gmx.de>
1213
1214 * java/util/SimpleTimeZone.java:
1215 Removed unneeded import, reformatting.
1216
1217 2003-06-21 Michael Koch <konqueror@gmx.de>
1218
1219 * java/text/DateFormat.java,
1220 java/text/SimpleDateFormat.java,
1221 java/util/Locale.java:
1222 New versions from classpath.
1223
1224 2003-06-21 Michael Koch <konqueror@gmx.de>
1225
1226 * javax/swing/SpinnerModel.java:
1227 New file from classpath.
1228 * javax/swing/border/LineBorder.java,
1229 javax/swing/border/SoftBevelBorder.java,
1230 javax/swing/plaf/BorderUIResource.java,
1231 javax/swing/plaf/basic/BasicBorders.java:
1232 New versions from classpath.
1233 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1234 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1235 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1236 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1237 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1238 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1239 New binary files from classpath.
1240
1241 2003-06-21 Michael Koch <konqueror@gmx.de>
1242
1243 * java/util/logging/LogRecord.java,
1244 java/util/logging/Logger.java,
1245 java/util/logging/SocketHandler.java,
1246 java/util/logging/SimpleFormatter.java,
1247 java/util/logging/Formatter.java,
1248 java/util/logging/ErrorManager.java,
1249 java/util/logging/Handler.java,
1250 java/util/logging/FileHandler.java,
1251 java/util/logging/LogManager.java,
1252 java/util/logging/Level.java,
1253 java/util/logging/ConsoleHandler.java,
1254 java/util/logging/StreamHandler.java,
1255 java/util/logging/LoggingPermission.java,
1256 java/util/logging/Filter.java,
1257 java/util/logging/MemoryHandler.java,
1258 java/util/logging/XMLFormatter.java:
1259 New files from classpath.
1260
1261 2003-06-20 Michael Koch <konqueror@gmx.de>
1262
1263 * java/io/ObjectStreamField.java
1264 (unshared): new member variable.
1265 (ObjectStreamField): New constructor.
1266 (isUnshared): New method.
1267
1268 2003-06-20 Michael Koch <konqueror@gmx.de>
1269
1270 * java/net/URLStreamHandler.java
1271 (hostsEqual): Rewritten.
1272
1273 2003-06-20 Michael Koch <konqueror@gmx.de>
1274
1275 * gnu/java/nio/MappedByteFileBuffer.java,
1276 gnu/java/nio/natMappedByteFileBuffer.cc:
1277 Removed
1278 * java/nio/MappedByteBufferImpl.java:
1279 New file.
1280 * gnu/java/nio/FileChannelImpl.java:
1281 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1282 * Makefile.am
1283 (ordinary_java_source_files): Removed
1284 gnu/java/nio/MappedByteFileBuffer.java and added
1285 java/nio/MappedByteBufferImpl.java.
1286 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1287 * Makefile.in: Regenerated.
1288
1289 2003-06-19 Michael Koch <konqueror@gmx.de>
1290
1291 * gnu/java/nio/DatagramChannelImpl.java
1292 (fd): Removed.
1293 (blocking): New member variable.
1294 (socket): Likewise.
1295 (DatagramChannelImpl): Throws IOException, initialize socket.
1296 (socket):Implemented.
1297 (implCloseSelectableChannel): Throws IOException, implemented.
1298 (implConfigureBlocking): Likewise.
1299 (connect): Likewise.
1300 (disconnect): Likewise.
1301 (isConnected): Likewise.
1302 (write): Likewise.
1303 (read): Likewise.
1304 (receive): Throws IOException.
1305 (send): Likewise.
1306 * gnu/java/nio/SocketChannelImpl.java
1307 (read): Implemented.
1308 (write): Implemented.
1309
1310 2003-06-19 Michael Koch <konqueror@gmx.de>
1311
1312 * javax/swing/JComponent.java,
1313 javax/swing/JInternalFrame.java,
1314 javax/swing/MenuSelectionManager.java,
1315 javax/swing/SwingUtilities.java,
1316 javax/swing/ToggleButtonModel.java:
1317 New versions from classpath.
1318
1319 2003-06-19 Michael Koch <konqueror@gmx.de>
1320
1321 * java/text/CollationElementIterator.java
1322 (NULLORDER): Initialize with -1 as JDK documentation says.
1323
1324 2003-06-19 Michael Koch <konqueror@gmx.de>
1325
1326 * java/net/HttpURLConnection.java,
1327 java/net/Inet4Address.java,
1328 java/net/Inet6Address.java,
1329 java/net/SocketImpl.java,
1330 java/net/URLClassLoader.java:
1331 Reworked import statements.
1332 * java/net/InetAddress.java
1333 (getByAddress): Simplified.
1334 * java/net/ServerSocket.java
1335 (ServerSocket): Moved special handling during bind operation to
1336 bind().
1337 (bind): Handle different cases when trying to bind a socket.
1338 * java/net/URLConnection.java
1339 (getHeaderFieldDate): Merged with classpath.
1340 (getHeaderFieldInt): Likewise.
1341
1342 2003-06-19 Michael Koch <konqueror@gmx.de>
1343
1344 * java/util/zip/InflaterInputStream.java
1345 (InflaterInputStream): Throw NullPointerException if in is null (as
1346 JDK does).
1347
1348 2003-06-19 Michael Koch <konqueror@gmx.de>
1349
1350 * java/awt/Font.java
1351 javax/swing/UIManager.java
1352 javax/swing/border/AbstractBorder.java
1353 javax/swing/border/BevelBorder.java
1354 javax/swing/border/Border.java
1355 javax/swing/border/CompoundBorder.java
1356 javax/swing/border/EmptyBorder.java
1357 javax/swing/border/EtchedBorder.java
1358 javax/swing/border/LineBorder.java
1359 javax/swing/border/MatteBorder.java
1360 javax/swing/border/TitledBorder.java
1361 javax/swing/plaf/BorderUIResource.java
1362 javax/swing/plaf/basic/BasicBorders.java
1363 javax/swing/plaf/basic/BasicButtonUI.java
1364 javax/swing/plaf/basic/BasicCheckBoxUI.java
1365 javax/swing/plaf/basic/BasicGraphicsUtils.java
1366 javax/swing/plaf/basic/BasicLabelUI.java
1367 javax/swing/plaf/basic/BasicRadioButtonUI.java
1368 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1369 New versions from classpath.
1370 * javax/swing/border/SoftBevelBorder.java:
1371 New file from classpath.
1372 * javax/swing/border/doc-files/LineBorder-1.png,
1373 javax/swing/border/doc-files/BevelBorder-1.png,
1374 javax/swing/border/doc-files/BevelBorder-2.png,
1375 javax/swing/border/doc-files/BevelBorder-3.png,
1376 javax/swing/border/doc-files/EmptyBorder-1.png,
1377 javax/swing/border/doc-files/EtchedBorder-1.png,
1378 javax/swing/border/doc-files/EtchedBorder-2.png,
1379 javax/swing/border/doc-files/MatteBorder-1.png,
1380 javax/swing/border/doc-files/MatteBorder-2.png,
1381 javax/swing/border/doc-files/MatteBorder-3.png,
1382 javax/swing/border/doc-files/MatteBorder-4.png,
1383 javax/swing/border/doc-files/MatteBorder-5.png,
1384 javax/swing/border/doc-files/MatteBorder-6.png,
1385 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1386 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1387 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1388 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1389 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1390 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1391 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1392 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1393 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1394 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1395 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1396 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1397 New binary files from classpath.
1398 * Makefile.am
1399 (awt_java_source_files): Added
1400 javax/swing/border/SoftBevelBorder.java.
1401 * Makefile.in: Regenerated.
1402
1403 2003-06-19 Michael Koch <konqueror@gmx.de>
1404
1405 * gnu/java/security/x509/X509Certificate.java
1406 (writeReplace): Merged from classpath.
1407
1408 2003-06-19 Michael Koch <konqueror@gmx.de>
1409
1410 * gnu/java/nio/FileChannelImpl.java
1411 (map_address): Made public.
1412 (FileChannelImpl): Merged with classpath.
1413 * gnu/java/nio/natFileChannelImpl.cc
1414 (nio_mmap_file): Commented out unused arguments.
1415 (nio_unmmap_file): Likewise.
1416 (niu_msync): Likewise.
1417
1418 2003-06-19 Michael Koch <konqueror@gmx.de>
1419
1420 * java/awt/image/IndexColorModel.java:
1421 New version from classpath.
1422
1423 2003-06-18 Tom Tromey <tromey@redhat.com>
1424
1425 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1426 on arrays.
1427 (isLoopbackAddress): Likewise.
1428 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1429 on arrays.
1430
1431 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1432
1433 * java/lang/natVMSecurityManager.cc (getClassContext):
1434 Use maxlen instead of len for loop bound.
1435
1436 2003-06-18 Michael Koch <konqueror@gmx.de>
1437
1438 * gnu/java/nio/SelectorImpl.java
1439 (register): Use fd with value 0 for now, will be fixed later.
1440 * gnu/java/nio/ServerSocketChannelImpl.java
1441 (fd): Removed.
1442 (local_port): Removed.
1443 (InetSocketAddress): Removed.
1444 (ServerSocketChannelImpl): Just initialize internal socket object.
1445 (implCloseSelectableChannel): Close internal socket object.
1446 (implConfigureBlocking): Added comment.
1447 (accept): Use jaba.net stuff to accept socket.
1448 * gnu/java/nio/SocketChannelImpl.java
1449 (fd): Removed.
1450 (local_port): Removed.
1451 (InetSocketAddress): Removed.
1452 (SocketCreate): Removed.
1453 (SocketConnect): Removed.
1454 (SocketBind): Removed.
1455 (SocketListen): Removed.
1456 (SocketAvailable): Removed.
1457 (SocketClose): Removed.
1458 (SocketRead): Removed.
1459 (SocketWrite): Removed.
1460 (SocketChannelImpl): Just initialize internal socket object.
1461 (implCloseSelectableChannel): Close internal socket object.
1462 (implConfigureBlocking): Fixed implementation, added comment.
1463 (connect): Use internal socket object to connect.
1464 (socket): No need for sanity checks.
1465 (read): Comment out some stuff, this will be reimplemented in the next
1466 commit.
1467 (write): Likewise.
1468 * gnu/java/nio/natFileChannelImpl.cc
1469 (nio_mmap_file): Line wrapped.
1470 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1471 * Makefile.am
1472 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1473 * Makefile.in: Regenerated.
1474
1475 2003-06-18 Michael Koch <konqueror@gmx.de>
1476
1477 * java/util/Locale.java
1478 (equals): Merged from classpath.
1479
1480 2003-06-18 Michael Koch <konqueror@gmx.de>
1481
1482 * java/net/InetAddress.java:
1483 Reformatted to better match classpath's version.
1484 * java/net/URL.java
1485 (equals): Simplified.
1486 * java/net/URLConnection.java
1487 (setDoInput): Revised documentation.
1488 (getDefaultUseCaches): Likewise.
1489 (setRequestProperty): Added @since tag.
1490
1491 2003-06-17 Michael Koch <konqueror@gmx.de>
1492
1493 * java/net/InetSocketAddress.java
1494 (InetSocketAddress): Use wildcard address if addr is null.
1495 (InetSocketAddress): Dont duplicate implementation.
1496 (InetSocketAddress): Throw exception when hostname is null.
1497 * java/net/Socket.java:
1498 Reworked imports.
1499 (Socket): Throw exception when raddr is null, handle case when laddr
1500 is null.
1501
1502 2003-06-17 Michael Koch <konqueror@gmx.de>
1503
1504 * java/nio/DirectByteBufferImpl.java
1505 (address): Made package private.
1506 (DirectByteBufferImpl): New constructor.
1507 * java/nio/natDirectByteBufferImpl.cc
1508 (allocateImpl): Moved to java.nio namespace, implemented.
1509 (freeImpl): Likewise.
1510 (getImpl): Likewise.
1511 (putImpl): Likewise.
1512 * jni.cc
1513 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1514 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1515 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1516
1517 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1518
1519 * include/powerpc-signal.h: New File.
1520 * configure.in: Use it.
1521 * configure: Regenerated.
1522
1523 2003-06-17 Michael Koch <konqueror@gmx.de>
1524
1525 * java/util/Locale.java
1526 (getDisplayLanguage): Made it final.
1527 (getDisplayCountry): Likewise.
1528 (getDisplayVariant): Likewise.
1529 (getDisplayName): Likewise.
1530
1531 2003-06-17 Michael Koch <konqueror@gmx.de>
1532
1533 * java/util/PropertyResourceBundle.java:
1534 Removed unneeded import.
1535
1536 2003-06-17 Michael Koch <konqueror@gmx.de>
1537
1538 * java/util/prefs/AbstractPreferences.java,
1539 java/util/prefs/PreferencesFactory.java:
1540 Reworked imports, removed unused imports.
1541 * java/util/prefs/Preferences.java
1542 (systemNodeForPackage): Method takes a Class not an Object.
1543 (userNodeForPackage): Likewise.
1544 (nodeForPackage): Likewise.
1545
1546 2003-06-17 Michael Koch <konqueror@gmx.de>
1547
1548 * gnu/java/security/x509/X509Certificate.java:
1549 Explicitely import used classes.
1550
1551 2003-06-17 Michael Koch <konqueror@gmx.de>
1552
1553 * java/util/zip/ZipEntry.java,
1554 java/util/zip/ZipFile.java,
1555 java/util/zip/ZipInputStream.java,
1556 java/util/zip/ZipOutputStream.java:
1557 Reworked imports, only import used classes.
1558
1559 2003-06-17 Michael Koch <konqueror@gmx.de>
1560
1561 * gnu/java/lang/ArrayHelper.java,
1562 gnu/java/lang/ClassHelper.java:
1563 Reformatted to match classpath's versions.
1564
1565 2003-06-14 Michael Koch <konqueror@gmx.de>
1566
1567 * gnu/java/nio/FileChannelImpl.java
1568 (map_address): Removed incorrect comment.
1569 * gnu/java/nio/SelectorImpl.java
1570 (register): Remove code duplication and code for file channel handling.
1571 * gnu/java/nio/ServerSocketChannelImpl.java
1572 (serverSocket): Renamed from sock_object.
1573 (ServerSocketChannel): Initialize serverSocket.
1574 (socket): Return serverSocket.
1575 * gnu/java/nio/SocketChannelImpl.java
1576 (socket): Renamed from sock_object.
1577 (isConnectionPenging): Simplified.
1578 (socket): Return socket.
1579 2003-06-14 Michael Koch <konqueror@gmx.de>
1580
1581 * java/security/BasicPermission.java:
1582 New version from classpath.
1583
1584 2003-06-14 Michael Koch <konqueror@gmx.de>
1585
1586 * javax/naming/directory/Attribute.java:
1587 New version from classpath.
1588
1589 2003-06-14 Michael Koch <konqueror@gmx.de>
1590
1591 * java/io/BufferedReader.java,
1592 java/io/FileOutputStream.java:
1593 New versions from classpath.
1594
1595 2003-06-12 Andrew Haley <aph@redhat.com>
1596
1597 * prims.cc (catch_segv): Create exception in handler.
1598 (catch_fpe): Likewise.
1599 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1600 (_Jv_ThrowSignal): Remove.
1601
1602 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1603 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1604 to nullp and arithexception.
1605 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1606 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1607 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1608 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1609 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1610
1611 2003-06-11 Andrew Haley <aph@redhat.com>
1612
1613 * jni.cc (_Jv_JNI_check_types): New.
1614 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1615 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1616 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1617 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1618
1619 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1620 infinite loop.
1621
1622 2003-06-11 Tom Tromey <tromey@redhat.com>
1623
1624 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1625 * java/io/PrintStream.java: Not deprecated.
1626
1627 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1628
1629 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1630 (fillOval): implemented
1631 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1632 (fillArc): implemented.
1633 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1634 (fillArc): added native method.
1635 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1636 (fillArc): added native method.
1637
1638 2003-06-11 Michael Koch <konqueror@gmx.de>
1639
1640 * java/awt/im/InputSubset.java:
1641 New version from classpath.
1642
1643 2003-06-11 Michael Koch <konqueror@gmx.de>
1644
1645 * javax/swing/AbstractAction.java,
1646 javax/swing/AbstractButton.java,
1647 javax/swing/AbstractCellEditor.java,
1648 javax/swing/AbstractListModel.java,
1649 javax/swing/BorderFactory.java,
1650 javax/swing/Box.java,
1651 javax/swing/BoxLayout.java,
1652 javax/swing/ButtonGroup.java,
1653 javax/swing/DefaultButtonModel.java,
1654 javax/swing/DefaultListModel.java,
1655 javax/swing/DefaultListSelectionModel.java,
1656 javax/swing/FocusManager.java,
1657 javax/swing/ImageIcon.java,
1658 javax/swing/InputMap.java,
1659 javax/swing/JApplet.java,
1660 javax/swing/JButton.java,
1661 javax/swing/JCheckBox.java,
1662 javax/swing/JCheckBoxMenuItem.java,
1663 javax/swing/JColorChooser.java,
1664 javax/swing/JComboBox.java,
1665 javax/swing/JComponent.java,
1666 javax/swing/JDesktopPane.java,
1667 javax/swing/JDialog.java,
1668 javax/swing/JEditorPane.java,
1669 javax/swing/JFileChooser.java,
1670 javax/swing/JFormattedTextField.java,
1671 javax/swing/JFrame.java,
1672 javax/swing/JLabel.java,
1673 javax/swing/JLayeredPane.java,
1674 javax/swing/JList.java,
1675 javax/swing/JMenuBar.java,
1676 javax/swing/JMenuItem.java,
1677 javax/swing/JOptionPane.java,
1678 javax/swing/JPanel.java,
1679 javax/swing/JPasswordField.java,
1680 javax/swing/JPopupMenu.java,
1681 javax/swing/JProgressBar.java,
1682 javax/swing/JRadioButton.java,
1683 javax/swing/JRadioButtonMenuItem.java,
1684 javax/swing/JRootPane.java,
1685 javax/swing/JScrollBar.java,
1686 javax/swing/JScrollPane.java,
1687 javax/swing/JSeparator.java,
1688 javax/swing/JSlider.java,
1689 javax/swing/JTabbedPane.java,
1690 javax/swing/JTable.java,
1691 javax/swing/JTextField.java,
1692 javax/swing/JToggleButton.java,
1693 javax/swing/JToolBar.java,
1694 javax/swing/JToolTip.java,
1695 javax/swing/JTree.java,
1696 javax/swing/JViewport.java,
1697 javax/swing/JWindow.java,
1698 javax/swing/KeyStroke.java,
1699 javax/swing/ListSelectionModel.java,
1700 javax/swing/LookAndFeel.java,
1701 javax/swing/RepaintManager.java,
1702 javax/swing/ScrollPaneLayout.java,
1703 javax/swing/SizeRequirements.java,
1704 javax/swing/SwingConstants.java,
1705 javax/swing/Timer.java,
1706 javax/swing/UIDefaults.java,
1707 javax/swing/UIManager.java,
1708 javax/swing/border/AbstractBorder.java,
1709 javax/swing/border/CompoundBorder.java,
1710 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1711 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1712 javax/swing/colorchooser/ColorSelectionModel.java,
1713 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1714 javax/swing/event/AncestorEvent.java,
1715 javax/swing/event/HyperlinkEvent.java,
1716 javax/swing/event/InternalFrameAdapter.java,
1717 javax/swing/event/InternalFrameEvent.java,
1718 javax/swing/event/ListDataEvent.java,
1719 javax/swing/event/MouseInputAdapter.java,
1720 javax/swing/event/SwingPropertyChangeSupport.java,
1721 javax/swing/event/TableModelEvent.java,
1722 javax/swing/event/TreeWillExpandListener.java,
1723 javax/swing/event/UndoableEditEvent.java,
1724 javax/swing/filechooser/FileFilter.java,
1725 javax/swing/filechooser/FileSystemView.java,
1726 javax/swing/filechooser/FileView.java,
1727 javax/swing/plaf/BorderUIResource.java,
1728 javax/swing/plaf/basic/BasicDefaults.java,
1729 javax/swing/table/AbstractTableModel.java,
1730 javax/swing/table/DefaultTableCellRenderer.java,
1731 javax/swing/table/DefaultTableColumnModel.java,
1732 javax/swing/table/DefaultTableModel.java,
1733 javax/swing/table/TableColumn.java,
1734 javax/swing/text/JTextComponent.java,
1735 javax/swing/tree/AbstractLayoutCache.java,
1736 javax/swing/tree/DefaultMutableTreeNode.java,
1737 javax/swing/tree/DefaultTreeCellEditor.java,
1738 javax/swing/tree/DefaultTreeCellRenderer.java,
1739 javax/swing/tree/DefaultTreeModel.java,
1740 javax/swing/tree/DefaultTreeSelectionModel.java,
1741 javax/swing/tree/FixedHeightLayoutCache.java,
1742 javax/swing/tree/TreeCellEditor.java,
1743 javax/swing/tree/TreeModel.java,
1744 javax/swing/tree/TreeNode.java,
1745 javax/swing/tree/TreePath.java,
1746 javax/swing/tree/TreeSelectionModel.java,
1747 javax/swing/tree/VariableHeightLayoutCache.java,
1748 javax/swing/undo/AbstractUndoableEdit.java,
1749 javax/swing/undo/CompoundEdit.java,
1750 javax/swing/undo/StateEdit.java,
1751 javax/swing/undo/UndoManager.java,
1752 javax/swing/undo/UndoableEditSupport.java:
1753 New versions from classpath.
1754 * javax/swing/table/JTableHeader.java:
1755 New file from classpath.
1756 * Makefile.am
1757 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1758 * Makefile.in: Regenerated.
1759
1760 2003-06-11 Michael Koch <konqueror@gmx.de>
1761
1762 * java/nio/MappedByteBuffer.java,
1763 java/nio/channels/Channels.java,
1764 java/nio/channels/ServerSocketChannel.java,
1765 java/nio/channels/spi/AbstractSelector.java:
1766 Removed unneeded imports.
1767
1768 2003-06-11 Michael Koch <konqueror@gmx.de>
1769
1770 * java/net/DatagramSocket.java:
1771 Partly merged with classpath.
1772
1773 2003-06-11 Michael Koch <konqueror@gmx.de>
1774
1775 * java/awt/Frame.java,
1776 java/awt/Graphics.java,
1777 java/awt/Menu.java,
1778 java/awt/Robot.java,
1779 java/awt/image/ColorModel.java:
1780 New versions from classpath.
1781
1782 2003-06-10 Michael Koch <konqueror@gmx.de>
1783
1784 * java/io/PrintStream.java:
1785 Merged version from classpath.
1786 (close): Removed sychronized keyword. This class is not garantied to
1787 be thread-safe.
1788 (write): Likewise.
1789
1790 2003-06-09 Tom Tromey <tromey@redhat.com>
1791
1792 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1793 field.
1794 (getDescent): Likewise, for "descent".
1795
1796 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1797
1798 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1799 (getMaxDescent): adjusted return value.
1800 (getAscent): modified to use metrics for 'O'.
1801 (getDescent): modified to use metrics for 'y'.
1802
1803 2003-06-08 Anthony Green <green@redhat.com>
1804
1805 * java/net/URLStreamHandler.java (sameFile): Fix port value
1806 comparison.
1807 * java/net/URL.java (handler): Make package private.
1808 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1809
1810 2003-06-07 Tom Tromey <tromey@redhat.com>
1811
1812 For PR libgcj/11085:
1813 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1814 Limit number of characters in numeric field when required.
1815 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1816 Respect maximumIntegerDigits.
1817
1818 2003-06-08 Michael Koch <konqueror@gmx.de>
1819
1820 * java/net/Socket.java
1821 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1822 call bind() and connect() to actually do the bind and connect tasks.
1823 (bind): Connect to canonical address if bindpoint is null, create
1824 socket and bind it to bindpoint.
1825 (connect): Check for exceptions.
1826
1827 2003-06-08 Michael Koch <konqueror@gmx.de>
1828
1829 * java/net/DatagramSocket.java
1830 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1831 into the Multicast constructors.
1832 * java/net/DatagramSocketImpl.java
1833 (getOption): Removed.
1834 (setOption): Removed.
1835 * java/net/MulticastSocket.java
1836 (MulticastSocket): Call setReuseAddress (true).
1837 * java/net/SocketImpl.java
1838 (getOption): Removed.
1839 (setOption): Removed.
1840
1841 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1842
1843 PR libgcj/10886:
1844 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1845 Test for empty vector.
1846
1847 2003-06-06 Mark Wielaard <mark@klomp.org>
1848
1849 * java/security/Security.java (secprops): Initialize.
1850 (loadProviders): Return boolean.
1851 (static): Check result of loadProvider calls. If necessary
1852 display WARNING and fallback to Gnu provider.
1853
1854 2002-06-06 James Clark <jjc@jclark.com>
1855
1856 Fix for PR libgcj/8738:
1857 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1858 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1859 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1860 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1861 (write): Always decrease avail when count is increased.
1862 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1863 and whether output buffer is full before increasing size.
1864
1865 2002-06-06 Mark Wielaard <mark@klomp dot org>
1866
1867 * java/io/PrintStream.java (writeChars(char[],int, int)):
1868 Check converter.havePendingBytes().
1869 (writeChars(String,int,int)): Likewise.
1870 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1871 Check converter.havePendingBytes() and flush buffer when stalled.
1872
1873 2003-06-07 Michael Koch <konqueror@gmx.de>
1874
1875 * include/posix.h
1876 (O_DSYNC): Define O_DSYNC on platforms not
1877 supporting O_FSYNC (newlib).
1878
1879 2003-06-06 Mark Wielaard <mark@klomp.org>
1880
1881 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1882 AWTError.
1883
1884 2003-06-06 Michael Koch <konqueror@gmx.de>
1885
1886 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1887 More compile fixes from my stupid work yesterday.
1888
1889 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1890
1891 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1892 if _IEEE_LIBM is undefined.
1893
1894 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1895
1896 * libjava/include/posix.h (O_SYNC): Define if not available
1897 and a reasonable, perhaps more conservative, replacement exists.
1898 (O_DSYNC): Likewise.
1899 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1900
1901 2003-06-05 Michael Koch <konqueror@gmx.de>
1902
1903 * javax/swing/plaf/BorderUIResource.java,
1904 javax/swing/plaf/basic/BasicDefaults.java,
1905 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1906 More compile fixes for latest Border commit. I should not commit
1907 something in this heat here ...
1908
1909 2003-06-05 Michael Koch <konqueror@gmx.de>
1910
1911 * javax/swing/border/BevelBorder.java
1912 (BevelBorder): Removed.
1913 * javax/swing/border/EmptyBorder.java:
1914 Reformatted.
1915 (EmptyBorder): Removed.
1916 (getBorderInsets): Dont use l, r, t and b.
1917 * javax/swing/border/EtchedBorder.java
1918 (EtchedBorder): Removed.
1919 * javax/swing/border/LineBorder.java
1920 (LineBorder): Removed.
1921 * javax/swing/border/MatteBorder.java
1922 (MatteBorder): Removed.
1923 * javax/swing/border/TitledBorder.java
1924 (defaultBorder): Use other default for now.
1925 (defaultFont): Likewise.
1926 (defaultColor): Likewise.
1927
1928 2003-06-05 Michael Koch <konqueror@gmx.de>
1929
1930 * javax/swing/border/Border.java:
1931 New version from classpath.
1932
1933 2003-06-05 Michael Koch <konqueror@gmx.de>
1934
1935 * javax/swing/border/AbstractBorder.java,
1936 javax/swing/border/BevelBorder.java,
1937 javax/swing/border/CompoundBorder.java,
1938 javax/swing/border/EmptyBorder.java,
1939 javax/swing/border/EtchedBorder.java,
1940 javax/swing/border/LineBorder.java,
1941 javax/swing/border/MatteBorder.java,
1942 javax/swing/border/TitledBorder.java:
1943 New versions from Classpath.
1944
1945 2003-06-05 Michael Koch <konqueror@gmx.de>
1946
1947 * java/awt/Button.java,
1948 java/awt/Checkbox.java,
1949 java/awt/CheckboxMenuItem.java,
1950 java/awt/Choice.java,
1951 java/awt/Container.java,
1952 java/awt/Dialog.java,
1953 java/awt/EventQueue.java,
1954 java/awt/FileDialog.java,
1955 java/awt/Frame.java,
1956 java/awt/Label.java,
1957 java/awt/List.java,
1958 java/awt/Menu.java,
1959 java/awt/MenuItem.java,
1960 java/awt/Panel.java,
1961 java/awt/PopupMenu.java,
1962 java/awt/Rectangle.java,
1963 java/awt/ScrollPane.java,
1964 java/awt/Scrollbar.java,
1965 java/awt/TextArea.java,
1966 java/awt/TextField.java,
1967 java/awt/Window.java,
1968 java/awt/datatransfer/DataFlavor.java,
1969 java/awt/dnd/DragSource.java,
1970 java/awt/dnd/DragSourceContext.java,
1971 java/awt/event/HierarchyEvent.java,
1972 java/awt/event/MouseWheelEvent.java,
1973 java/awt/im/InputContext.java,
1974 java/awt/image/BufferedImage.java,
1975 java/awt/image/ComponentColorModel.java,
1976 java/awt/image/Raster.java,
1977 java/awt/image/WritableRaster.java,
1978 java/awt/peer/ComponentPeer.java,
1979 java/awt/print/PageFormat.java,
1980 java/awt/print/PrinterJob.java:
1981 New versions from Classpath.
1982
1983 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1984
1985 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1986 numberFormat.setParseIntegerOnly(true).
1987
1988 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1989
1990 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1991
1992 2003-06-03 Andrew Haley <aph@redhat.com>
1993
1994 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1995 stack volatile to prevent optimization from removing it.
1996
1997 2003-05-27 Michael Koch <konqueror@gmx.de>
1998
1999 * java/util/zip/Deflater.java
2000 (FILTERED): Merged documentation from classpath.
2001 * java/util/zip/DeflaterOutputStream.java
2002 (DeflaterOutputStream): Merged documentation and argument validity
2003 check from classpath.
2004 (deflate): Merged documentation from classpath.
2005 (finish): Likewise.
2006 * java/util/zip/Inflater.java
2007 (Inflater): Merged class documentation from classpath.
2008 (zstream): Reordered.
2009 (is_finished): Reordered.
2010 (dict_needed): Reordered.
2011 (Inflater): Reordered, merged documentation from classpath.
2012 (end): Likewise.
2013 (finalize): Merged documentation from classpath.
2014 (finished): Likewise.
2015 (getAdler): Likewise.
2016 (getRemaining): Likewise.
2017 (getTotalIn): Likewise.
2018 (getTotalOut): Likewise.
2019 (inflate): Likewise.
2020 (needsDictionary): Likewise.
2021 (needsInput): Likewise.
2022 (reset): Likewise.
2023 (setDictionary): Likewise.
2024 (setInput): Likewise.
2025
2026 2003-05-27 Michael Koch <konqueror@gmx.de>
2027
2028 * java/net/URLConnection.java
2029 (getHeaderFieldInt): Merged with classpath.
2030
2031 2003-05-27 Michael Koch <konqueror@gmx.de>
2032
2033 * java/io/PrintStream.java
2034 (PrintStream): Reformatted.
2035 (PrintStream): New method, merged from classpath.
2036 (write): Reformatted.
2037
2038 2003-05-27 Michael Koch <konqueror@gmx.de>
2039
2040 * java/lang/System.java:
2041 Explicitely import needed classes.
2042
2043 2003-05-26 Michael Koch <konqueror@gmx.de>
2044
2045 * java/net/NetPermission.java,
2046 java/net/NetworkInterface.java,
2047 java/net/PasswordAuthentication.java,
2048 java/net/SocketPermission.java:
2049 New versions from classpath.
2050
2051 2003-05-25 Michael Koch <konqueror@gmx.de>
2052
2053 * java/io/PushbackInputStream.java,
2054 java/net/Authenticator.java,
2055 java/net/ContentHandler.java,
2056 java/net/ContentHandlerFactory.java,
2057 java/net/DatagramSocket.java,
2058 java/net/DatagramSocketImpl.java,
2059 java/net/DatagramSocketImplFactory.java,
2060 java/net/FileNameMap.java,
2061 java/net/SocketImplFactory.java,
2062 java/net/SocketOptions.java,
2063 java/net/URLStreamHandlerFactory.java:
2064 Merged new versions from classpath.
2065
2066 2003-05-25 Michael Koch <konqueror@gmx.de>
2067
2068 * java/awt/Checkbox.java,
2069 java/awt/Dialog.java,
2070 java/awt/Font.java,
2071 java/awt/Frame.java,
2072 java/awt/ScrollPaneAdjustable.java,
2073 java/awt/Scrollbar.java,
2074 java/awt/Window.java:
2075 New versions from classpath.
2076
2077 2003-05-22 Jeff Sturm <jsturm@one-point.com>
2078
2079 PR libgcj/10838:
2080 * java/io/ObjectInputStream (enableResolveObject):
2081 Fixed spelling of permission name.
2082
2083 2003-05-20 Michael Koch <konqueror@gmx.de>
2084
2085 * java/io/DataInputStream.java
2086 (convertFromUTF): Merged comment from classpath.
2087 * java/io/PrintStream.java
2088 (error_occured): Renamed from error, merged comment from classpath.
2089 (PrintStream): No need to initialized error.
2090 (checkError): Replace error with error_occurred.
2091 (setError): Likewise.
2092
2093 2003-05-20 Michael Koch <konqueror@gmx.de>
2094
2095 * java/io/DataInputStream.java:
2096 Reformatted, Replaced < and & with html entitites in documentation.
2097 * java/io/File.java:
2098 Reformatted.
2099 * java/io/PrintWriter.java:
2100 Moved class documentation.
2101
2102 2003-05-20 Michael Koch <konqueror@gmx.de>
2103
2104 * gnu/java/nio/ByteBufferImpl.java,
2105 gnu/java/nio/CharBufferImpl.java,
2106 gnu/java/nio/CharViewBufferImpl.java,
2107 gnu/java/nio/DirectByteBufferImpl.java,
2108 gnu/java/nio/DoubleBufferImpl.java,
2109 gnu/java/nio/DoubleViewBufferImpl.java,
2110 gnu/java/nio/FloatBufferImpl.java,
2111 gnu/java/nio/FloatViewBufferImpl.java,
2112 gnu/java/nio/IntBufferImpl.java,
2113 gnu/java/nio/IntViewBufferImpl.java,
2114 gnu/java/nio/LongBufferImpl.java,
2115 gnu/java/nio/LongViewBufferImpl.java,
2116 gnu/java/nio/natDirectByteBufferImpl.cc,
2117 gnu/java/nio/ShortBufferImpl.java,
2118 gnu/java/nio/ShortViewBufferImpl.java:
2119 Moved files to java/nio.
2120 * gnu/java/nio/SocketChannelImpl.java
2121
2122 * java/nio/ByteBuffer.java,
2123 java/nio/CharBuffer.java,
2124 java/nio/DoubleBuffer.java,
2125 java/nio/FloatBuffer.java,
2126 java/nio/IntBuffer.java,
2127 java/nio/LongBuffer.java,
2128 java/nio/ShortBuffer.java:
2129 Dont import anything.
2130 * java/nio/ByteBufferImpl.java,
2131 java/nio/CharBufferImpl.java,
2132 java/nio/CharViewBufferImpl.java,
2133 java/nio/DirectByteBufferImpl.java,
2134 java/nio/DoubleBufferImpl.java,
2135 java/nio/DoubleViewBufferImpl.java,
2136 java/nio/FloatBufferImpl.java,
2137 java/nio/FloatViewBufferImpl.java,
2138 java/nio/IntBufferImpl.java,
2139 java/nio/IntViewBufferImpl.java,
2140 java/nio/LongBufferImpl.java,
2141 java/nio/LongViewBufferImpl.java,
2142 java/nio/natDirectByteBufferImpl.cc,
2143 java/nio/ShortBufferImpl.java,
2144 java/nio/ShortViewBufferImpl.java:
2145 Moved from gnu/java/nio.
2146 * Makefile.am
2147 (ordinary_java_source_files): Moved files from gnu/java/nio to
2148 java/nio.
2149 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2150 to java/nio.
2151 * Makefile.in: Regenerated.
2152
2153 2003-05-19 Michael Koch <konqueror@gmx.de>
2154
2155 * java/util/Calendar.java
2156 (get): Not final anymore since JDK 1.4
2157 (set): Likewise.
2158
2159 2003-05-19 Michael Koch <konqueror@gmx.de>
2160
2161 * java/text/CollationKey.java:
2162 Merged copyright and dat from classpath.
2163 * java/text/RuleBasedCollator.java:
2164 Merged class documentation from classpath.
2165
2166 2003-05-19 Michael Koch <konqueror@gmx.de>
2167
2168 * java/nio/CharBuffer.java
2169 (toString): Compile fix.
2170
2171 2003-05-19 Michael Koch <konqueror@gmx.de>
2172
2173 * gnu/java/nio/ByteBufferImpl.java
2174 (putLong): Fixed conversion to bytes.
2175 (putDouble): Fixed conversion to bytes.
2176 * gnu/java/nio/DirectByteBufferImpl.java
2177 (putLong): Fixed conversion to bytes.
2178 (putDouble): Fixed conversion to bytes.
2179 * gnu/java/nio/FileLockImpl.java
2180 (isValid): Reformatted.
2181 * java/nio/Buffer.java
2182 (Buffer): Fixed off-by-one bug in handling mark.
2183 * java/nio/ByteBuffer.java:
2184 Added newline.
2185 * java/nio/CharBuffer.java
2186 (toString): Don't use relative get to get string data.
2187
2188 2003-05-16 Michael Koch <konqueror@gmx.de>
2189
2190 * java/io/natFileDescriptorPosix.cc
2191 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2192 tested.
2193
2194 2003-05-14 Michael Koch <konqueror@gmx.de>
2195
2196 * gnu/java/nio/FileLockImpl.java
2197 (released): New member variable.
2198 (FileLockImpl): Initialize released.
2199 (releaseImpl): New native method.
2200 (release): Implemented.
2201 * gnu/java/nio/SelectorImpl.java: Reformatted.
2202 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2203 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2204 (accept): Throws IOException.
2205 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2206 (implConfigureBlocking): Throws IOException.
2207 (connect): Likewise.
2208 (read): Likewise.
2209 (write): Likewise.
2210 * gnu/java/nio/natFileLockImpl.cc: New file.
2211 * java/nio/channels/FileLock.java: Reformatted.
2212 * Makefile.am:
2213 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2214 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2215 * Makefile.in: Regenerated.
2216
2217 2003-05-13 Michael Koch <konqueror@gmx.de>
2218
2219 * gnu/java/nio/CharViewBufferImpl.java
2220 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2221 (get): Shift bits to the right direction.
2222 (put): Likewise.
2223 * gnu/java/nio/DoubleViewBufferImpl.java
2224 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2225 (get): Shift bits to the right direction.
2226 (put): Likewise.
2227 * gnu/java/nio/FloatViewBufferImpl.java
2228 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2229 (get): Shift bits to the right direction.
2230 (put): Likewise.
2231 * gnu/java/nio/IntViewBufferImpl.java
2232 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2233 (get): Shift bits to the right direction.
2234 (put): Likewise.
2235 * gnu/java/nio/LongViewBufferImpl.java
2236 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2237 (get): Shift bits to the right direction.
2238 (put): Likewise.
2239 * gnu/java/nio/ShortViewBufferImpl.java
2240 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2241 (get): Shift bits to the right direction.
2242 (put): Likewise.
2243
2244 2003-05-13 Michael Koch <konqueror@gmx.de>
2245
2246 * gnu/java/nio/natDirectByteBufferImpl.cc
2247 (allocateImpl): jlong -> RawData*.
2248 (freeImpl): Likewise.
2249
2250 2003-05-13 Michael Koch <konqueror@gmx.de>
2251
2252 * java/nio/channels/FileChannel.java
2253 (MapMode.m): Made it package-private to match JDK 1.4.
2254 * java/nio/charset/Charset.java
2255 (decode): Made it final to match JDK 1.4.
2256
2257 2003-05-13 Michael Koch <konqueror@gmx.de>
2258
2259 * java/io/FileDescriptor.java
2260 (SYNC): New constant.
2261 (DSYNC): Likewise.
2262 (getLength): Renamed from lenght() to match classpath's
2263 FileDescriptor.java.
2264 * java/io/RandomAccessFile.java
2265 (RandomAccessFile): Removed unneeded mode check, implemented mode
2266 "rws" and "rwd", merged documentation from classpath.
2267 (setLength): Reformatted.
2268 (length): Use new getLength() of FileDescriptor.
2269 * java/io/natFileDescriptorEcos.cc
2270 (getLength): Renamed from length().
2271 * java/io/natFileDescriptorPosix.cc
2272 (open): Implemented support for SYNC and DSYNC.
2273 (seek): Use getLength() instead of length().
2274 (getLength): Renamed from length().
2275 * java/io/natFileDescriptorWin32.cc
2276 (getLength): Renamed from length().
2277 (seek): Use getLength() instead of length().
2278 (available): Likewise.
2279 * gnu/java/nio/natFileChannelImpl.cc
2280 (size): Use getLength() instead of length().
2281
2282 2003-05-13 Michael Koch <konqueror@gmx.de>
2283
2284 * gnu/java/nio/ByteBufferImpl.java
2285 (ByteBufferImpl): All constructors revised.
2286 (slice): Reimplemented.
2287 (duplicate): Reimplemented.
2288 (asReadOnlyBuffer): Reimplemented.
2289 * java/nio/ByteBuffer.java:
2290 Reformatted.
2291 (array_offset): Renamed from "offset" to match all other buffer
2292 classes.
2293 (ByteBuffer): All constructors revised.
2294 (allocateDirect): Implemented.
2295 (allocate): New implementation, documentation reworked.
2296 (wrap): Likewise.
2297 (get): Documentation reworked.
2298 (put): New implementation, documentation reworked.
2299 (hasArray): Documentation reworked.
2300 (arrayOffset): Likewise.
2301 (hashCode): Likewise.
2302 (equals): Likewise.
2303 (compareTo): Likewise.
2304 (order): Likewise.
2305 (compact): Likewise.
2306 (isDirect): Likewise.
2307 (slice): Likewise.
2308 (duplicate): Likewise.
2309 (asReadOnlyBuffer): Likewise.
2310 * Makefile.am
2311 (ordinary_java_source_files):
2312 Added gnu/java/nio/DirectByteBufferImpl.java.
2313 (nat_source_files):
2314 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2315 * Makefile.in: Regenerated.
2316
2317 2003-05-12 Michael Koch <konqueror@gmx.de>
2318
2319 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2320 (nio_get_*): Removed.
2321 (nio_put_*): Removed.
2322 (as*Buffer): Implemented.
2323 (compact): Implemented.
2324 (get): Documentation added.
2325 (put): Documentation added.
2326 (get*): Newly implemented.
2327 (put*): Newly implemented.
2328 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2329 (CharBufferImpl): Revised.
2330 (slice): New implementation.
2331 (duplicate): New implementation.
2332 (compact): New implementation.
2333 (asReadOnlyBuffer): New implementation.
2334 (get): Documentation revised.
2335 (order): Return native byte order.
2336 * gnu/java/nio/DirectByteBufferImpl.java
2337 (allocateDirect): objects can be null not 0.
2338 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2339 (DoubleBufferImpl): Revised.
2340 (slice): New implementation.
2341 (duplicate): New implementation.
2342 (compact): New implementation.
2343 (asReadOnlyBuffer): New implementation.
2344 (get): Documentation revised.
2345 (order): Return native byte order.
2346 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2347 (FloatBufferImpl): Revised.
2348 (slice): New implementation.
2349 (duplicate): New implementation.
2350 (compact): New implementation.
2351 (asReadOnlyBuffer): New implementation.
2352 (get): Documentation revised.
2353 (order): Return native byte order.
2354 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2355 (IntBufferImpl): Revised.
2356 (slice): New implementation.
2357 (duplicate): New implementation.
2358 (compact): New implementation.
2359 (asReadOnlyBuffer): New implementation.
2360 (get): Documentation revised.
2361 (order): Return native byte order.
2362 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2363 (LongBufferImpl): Revised.
2364 (slice): New implementation.
2365 (duplicate): New implementation.
2366 (compact): New implementation.
2367 (asReadOnlyBuffer): New implementation.
2368 (get): Documentation revised.
2369 (order): Return native byte order.
2370 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2371 (ShortBufferImpl): Revised.
2372 (slice): New implementation.
2373 (duplicate): New implementation.
2374 (compact): New implementation.
2375 (asReadOnlyBuffer): New implementation.
2376 (get): Documentation revised.
2377 (order): Return native byte order.
2378 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2379 (CharBuffer): Revised.
2380 (order): Removed.
2381 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2382 (DoubleBuffer): Revised.
2383 (allocateDirect): Removed.
2384 (order): Removed.
2385 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2386 (FloatBuffer): Revised.
2387 (allocateDirect): Removed.
2388 (order): Removed.
2389 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2390 (IntBuffer): Revised.
2391 (allocateDirect): Removed.
2392 (order): Removed.
2393 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2394 (LongBuffer): Revised.
2395 (allocateDirect): Removed.
2396 (order): Removed.
2397 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2398 (ShortBuffer): Revised.
2399 (allocateDirect): Removed.
2400 (order): Removed.
2401 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2402 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2403 * Makefile.am
2404 (ordinary_java_source_files): Added the following files:
2405 gnu/java/nio/CharViewBufferImpl.java,
2406 gnu/java/nio/DoubleViewBufferImpl.java,
2407 gnu/java/nio/FloatViewBufferImpl.java,
2408 gnu/java/nio/IntViewBufferImpl.java,
2409 gnu/java/nio/LongViewBufferImpl.java,
2410 gnu/java/nio/ShortViewBufferImpl.java
2411 (nat_source_files): Removed the following files:
2412 gnu/java/nio/natByteBufferImpl.cc,
2413 gnu/java/nio/natCharBufferImpl.cc
2414 * Makefile.in: Regenerated.
2415
2416 2003-05-12 Michael Koch <konqueror@gmx.de>
2417
2418 * gnu/java/nio/CharViewBufferImpl.java,
2419 gnu/java/nio/DirectByteBufferImpl.java,
2420 gnu/java/nio/DoubleViewBufferImpl.java,
2421 gnu/java/nio/FloatViewBufferImpl.java,
2422 gnu/java/nio/IntViewBufferImpl.java,
2423 gnu/java/nio/LongViewBufferImpl.java,
2424 gnu/java/nio/ShortViewBufferImpl.java,
2425 gnu/java/nio/natDirectByteBufferImpl.cc:
2426 New files, not yet to be compiled.
2427
2428 2003-05-10 Michael Koch <konqueror@gmx.de>
2429
2430 * javax/swing/plaf/ButtonUI.java,
2431 javax/swing/plaf/ColorUIResource.java,
2432 javax/swing/plaf/ComponentUI.java,
2433 javax/swing/plaf/DimensionUIResource.java,
2434 javax/swing/plaf/FontUIResource.java,
2435 javax/swing/plaf/IconUIResource.java,
2436 javax/swing/plaf/InsetsUIResource.java,
2437 javax/swing/plaf/LabelUI.java,
2438 javax/swing/plaf/ListUI.java,
2439 javax/swing/plaf/OptionPaneUI.java,
2440 javax/swing/plaf/PanelUI.java,
2441 javax/swing/plaf/TabbedPaneUI.java,
2442 javax/swing/plaf/TextUI.java,
2443 javax/swing/plaf/TreeUI.java,
2444 javax/swing/plaf/ViewportUI.java,
2445 javax/swing/plaf/basic/BasicBorders.java,
2446 javax/swing/plaf/basic/BasicButtonUI.java,
2447 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2448 javax/swing/plaf/basic/BasicDefaults.java,
2449 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2450 javax/swing/plaf/basic/BasicIconFactory.java,
2451 javax/swing/plaf/basic/BasicLabelUI.java,
2452 javax/swing/plaf/basic/BasicListUI.java,
2453 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2454 javax/swing/plaf/basic/BasicPanelUI.java,
2455 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2456 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2457 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2458 javax/swing/plaf/basic/BasicTextUI.java,
2459 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2460 javax/swing/plaf/basic/BasicTreeUI.java,
2461 javax/swing/plaf/basic/BasicViewportUI.java,
2462 javax/swing/plaf/metal/MetalLookAndFeel.java:
2463 New versions from classpath. This adds copyrights to all files and
2464 some serialVersionUIDs.
2465
2466 2003-05-10 Michael Koch <konqueror@gmx.de>
2467
2468 * java/nio/CharBuffer.java
2469 (offset): Make it package-private.
2470 (backing_buffer): Likewise.
2471 * java/nio/DoubleBuffer.java
2472 (offset): Make it package-private.
2473 (backing_buffer): Likewise.
2474 (put): Reformatted.
2475 * java/nio/FloatBuffer.java
2476 (offset): Make it package-private.
2477 (backing_buffer): Likewise.
2478 * java/nio/IntBuffer.java
2479 (offset): Make it package-private.
2480 (backing_buffer): Likewise.
2481 * java/nio/LongBuffer.java
2482 (offset): Make it package-private.
2483 (backing_buffer): Likewise.
2484 * java/nio/ShortBuffer.java
2485 (offset): Make it package-private.
2486 (backing_buffer): Likewise.
2487
2488 2003-05-10 Michael Koch <konqueror@gmx.de>
2489
2490 * java/nio/CharBuffer.java
2491 (put): Fixed precondtion check.
2492 (toString): Make it work without backing array.
2493 (put): Skip one level of method calling.
2494
2495 2003-05-10 Michael Koch <konqueror@gmx.de>
2496
2497 * java/security/Identity.java,
2498 java/security/IdentityScope.java,
2499 java/security/Key.java,
2500 java/security/KeyPair.java,
2501 java/security/PrivateKey.java,
2502 java/security/Provider.java,
2503 java/security/PublicKey.java,
2504 java/security/SecureRandom.java,
2505 java/security/SecureRandomSpi.java,
2506 java/security/SignedObject.java,
2507 java/security/Signer.java,
2508 java/security/cert/Certificate.java,
2509 java/security/cert/PKIXCertPathBuilderResult.java,
2510 java/security/cert/X509Certificate.java:
2511 New versions from classpath.
2512
2513 2003-05-09 Tom Tromey <tromey@redhat.com>
2514
2515 * Makefile.in: Rebuilt.
2516 * Makefile.am (nat_source_files): Removed old files.
2517 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2518 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2519 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2520 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2521 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2522
2523 2003-05-09 Michael Koch <konqueror@gmx.de>
2524
2525 * gnu/java/nio/ByteBufferImpl.java
2526 (nio_cast): Removed.
2527 (ByteBufferImpl): Removed.
2528 (nio_get_Byte): Removed.
2529 (nio_put_Byte): Removed.
2530 (asByteBuffer): Removed.
2531 (asCharBuffer): Removed implementation and throw exception.
2532 (asShortBuffer): Likewise.
2533 (asIntBuffer): Likewise.
2534 (asLongBuffer): Likewise.
2535 (asFloatBuffer): Likewise.
2536 (asDoubleBuffer): Likewise.
2537 * gnu/java/nio/CharBufferImpl.java
2538 (CharBufferImpl): Removed.
2539 (nio_get_Byte): Removed.
2540 (nio_put_Byte): Removed.
2541 (asByteBuffer): Removed.
2542 * gnu/java/nio/DoubleBufferImpl.java
2543 (DoubleBufferImpl): Removed.
2544 (nio_get_Byte): Removed.
2545 (nio_put_Byte): Removed.
2546 (asByteBuffer): Removed.
2547 * gnu/java/nio/FloatBufferImpl.java
2548 (FloatBufferImpl): Removed.
2549 (nio_get_Byte): Removed.
2550 (nio_put_Byte): Removed.
2551 (asByteBuffer): Removed.
2552 * gnu/java/nio/IntBufferImpl.java
2553 (IntBufferImpl): Removed.
2554 (nio_get_Byte): Removed.
2555 (nio_put_Byte): Removed.
2556 (asByteBuffer): Removed.
2557 * gnu/java/nio/LongBufferImpl.java
2558 (LongBufferImpl): Removed.
2559 (nio_get_Byte): Removed.
2560 (nio_put_Byte): Removed.
2561 (asByteBuffer): Removed.
2562 * gnu/java/nio/ShortBufferImpl.java
2563 (ShortBufferImpl): Removed.
2564 (nio_get_Byte): Removed.
2565 (nio_put_Byte): Removed.
2566 (asByteBuffer): Removed.
2567 * gnu/java/nio/natByteBufferImpl.cc
2568 (nio_cast): Removed.
2569 (nio_get_Byte): Removed.
2570 (nio_put_Byte): Removed.
2571 * gnu/java/nio/natCharBufferImpl.cc
2572 (nio_get_Byte): Removed.
2573 (nio_put_Byte): Removed.
2574
2575 2003-05-09 Michael Koch <konqueror@gmx.de>
2576
2577 * java/net/JarURLConnection.java
2578 (getJarEntry): Merged documentation from classpath.
2579 (getJarFile): Likewise.
2580 (getMainAttributes): Likewise.
2581 (getAttributes): Likewise.
2582 (getManifest): Likewise.
2583 (getCertificates): Reformatted.
2584 * java/net/URLConnection.java:
2585 Little classpath merge.
2586
2587 2003-05-09 Michael Koch <konqueror@gmx.de>
2588
2589 * java/io/DataOutputStream.java
2590 (writeShort): Made it synchronized.
2591 (writeChar): Likewise.
2592 (writeInt): Likewise.
2593 (writeLong): Liekwise.
2594 (writeUTF): Made it synchronized, renamed argument to match classpath.
2595 * java/io/InputStreamReader.java
2596 (converter): Added documentation.
2597 (read): Merged documentation from classpath.
2598 * java/io/OutputStreamWriter.java
2599 (OutputStreamWriter): Merged documentation from classpath.
2600 (close): Reformatted.
2601 (getEncoding): Likewise.
2602 (flush): Likewise.
2603 (write): Merged documentation from classpath, reformatted.
2604
2605 2003-05-08 Tom Tromey <tromey@redhat.com>
2606
2607 * configure.host <powerpc64*-*>: Set with_libffi_default and
2608 libgcj_interpreter to "yes".
2609
2610 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2611
2612 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2613
2614 2003-05-06 Tom Tromey <tromey@redhat.com>
2615
2616 * verify.cc: Reverted previous patch.
2617
2618 2003-05-06 Michael Koch <konqueror@gmx.de>
2619
2620 * java/io/DataOutputStream.java
2621 (write): Renamed argument to "value", merged documentation from
2622 classpath.
2623 (writeBoolean): Likewise.
2624 (writeByte): Likewise.
2625 (writeShort): Likewise.
2626 (writeChar): Likewise.
2627 (writeInt): Likewise.
2628 (writeLong): Likewise.
2629 (writeFloat): Likewise.
2630 (writeDouble): Likewise.
2631 (writeBytes): Likewise.
2632 (writeChars): Likewise.
2633 (writeUTF): Likewise.
2634 * java/io/File.java
2635 (performDelete): Added documentation.
2636 (performList): Likewise.
2637 (performMkdir): Likewise.
2638 (performSetReadOnly): Likewise.
2639 (performRenameTo): Likewise.
2640 (performSetLastModified): Likewise.
2641 (delete): Made it sychronized.
2642 (renameTo): Made it sychronized.
2643 (equals): Reformatted.
2644 (isHidden): Likewise.
2645 (listFiles): Likewise.
2646 (setReadOnly): Likewise.
2647 (listRoots): Likewise.
2648 (setLastModified): Likewise.
2649 (checkRead): Likewise.
2650 (checkWrite): Likewise.
2651 * java/io/FileInputStream.java
2652 (skip): Made it sychronized, merged from classpath.
2653 * java/io/FileOutputStream.java
2654 (write): Merged from classpath.
2655 * java/io/InputStreamReader.java:
2656 (InputStreamReader): Merged documentation from classpath.
2657
2658 2003-05-05 Michael Koch <konqueror@gmx.de>
2659
2660 * java/net/NetworkInterface.java
2661 (networkInterfaces): Removed.
2662 (getByName): Use getRealNetworkInterfaces() instead of
2663 networkInterfaces.
2664 (getByInetAddress): Likewise.
2665 (getNetworkInterfaces): Likewise.
2666 (toString): Fix output of addresses of an interface.
2667
2668 2003-05-05 Michael Koch <konqueror@gmx.de>
2669
2670 * java/io/DataInputStream.java:
2671 Merged new documentation from classpath.
2672
2673 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2674
2675 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2676 "version".
2677 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2678 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2679 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2680 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2681 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2682 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2683 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2684 * java/security/Key.java: Likewise.
2685 * java/security/PrivateKey.java: Likewise.
2686 * java/security/Provider.java: Likewise.
2687 * java/security/PublicKey.java: Likewise.
2688
2689 2003-05-02 Michael Koch <konqueror@gmx.de>
2690
2691 * java/net/URI.java
2692 (create): Doesnt throws any exceptions.
2693 * java/net/URLConnection.java
2694 (URLConnection): Commend added.
2695 (getExpiration): The header field is called "expires" not
2696 "expiration".
2697 (getHeaderField): Merged documentation with classpath.
2698 (getHeaderFieldInt): Likewise.
2699 (getHeaderFieldDate): Likewise.
2700 (getHeaderFieldKey): Likewise.
2701 (getPermission): Likewise.
2702 (setDefaultUseCaches): Likewise.
2703 (setRequestProperty): Likewise.
2704 (addRequestProperty): Likewise.
2705 (getRequestProperty): Likewise.
2706 (getRequestProperties): Likewise.
2707 (setDefaultRequestProperty): Likewise.
2708 (getDefaultRequestProperty): Likewise.
2709 (guessContentTypeFromStream): Likewise.
2710 (getFileNameMap): Likewise.
2711 (setFileNameMap): Likewise.
2712 (setDoInput): Merged implementation and documentation with classpath.
2713 (setDoOutput): Likewise.
2714 (setAllowUserInteraction): Likewise.
2715 (setDefaultAllowUserInteraction): Likewise.
2716 (setContentHandlerFactory): Made it synchronized, merged documentation
2717 with classpath.
2718 (guessContentTypeFromName): Renamed argument fname to filename to
2719 match classpath, merged documentation with classpath.
2720
2721 2003-05-02 Michael Koch <konqueror@gmx.de>
2722
2723 * java/net/JarURLConnection.java
2724 (JarURLConnection): Class documentation merged with classpath.
2725 (getJarFileURL): Moved and documentation merged with classpath.
2726 (getEntryName): Likewise.
2727 (JarURLConnection): Documentation merged with classpath.
2728 (getJarEntry): Likewise.
2729 (getJarFile): Likewise.
2730 * java/net/PlainDatagramSocketImpl.java:
2731 Class documentation moved.
2732 * java/net/URLConnection.java
2733 (fileNameMap): Moved and documentation merged with classpath.
2734 (factory): Likewise.
2735 (defaultAllowUserInteraction): Likewis.
2736 (defaultUseCaches): Likewise.
2737 (allowUserInteraction): Likewise.
2738 (connected): Likewise.
2739 (url): Likewise.
2740 (connect): Documentation merged with classpath.
2741 (getURL): Likewise.
2742 (getContentLength): Likewise.
2743 (getContentType): Likewise.
2744 (getContentEncoding): Likewise.
2745 (getExpiration): Likewise.
2746 (getDate): Likewise.
2747 (getLastModified): Likewise.
2748 (getHeaderField): Likewise.
2749 (getContent): Likewise.
2750 (getPermission): Likewise.
2751 (getInputStream): Likewise.
2752 (getOutputStream): Likewise.
2753 (toString): Likewise.
2754 (getDoInput): Likewise.
2755 (getDoOutput): Likewise.
2756 (setAllowUserInteraction): Likewise.
2757 (getAllowUserInteraction): Likewise.
2758 (setDefaultAllowUserInteraction): Likewise.
2759 (getDefaultAllowUserInteraction): Likewise.
2760 (setUseCaches): Likewise.
2761 (getUseCaches): Likewise.
2762 (setIfModifiedSince): Likewise.
2763 (getIfModifiedSince): Likewise.
2764 (setDefaultRequestProperty): Likewise.
2765 (getDefaultRequestProperty): Likewise.
2766 (setContentHandlerFactory): Likewise.
2767 (setFileNameMap): Likewise.
2768
2769 2003-05-02 Michael Koch <konqueror@gmx.de>
2770
2771 * java/net/InetAddress.java:
2772 Merged class documentation with classpath.
2773 * java/net/JarURLConnection.java:
2774 Explicitely import all used classes.
2775 * java/net/URL.java:
2776 Reformatting.
2777 * java/net/ServerSocket.java,
2778 java/net/Socket.java:
2779 New versions from classpath.
2780
2781 2003-05-02 Michael Koch <konqueror@gmx.de>
2782
2783 * gnu/java/nio/FileChannelImpl.java
2784 (read): New implementation.
2785 (implRead): New methods.
2786 (write): New implementation, call other write insteal of read method.
2787 (implWrite): New methods.
2788 (map): Added comment.
2789 (transferFrom): Implemented.
2790 (transferTo): Implemented.
2791 (lock): Added checks to throw exceptions.
2792 (truncate): Added check to throw exception.
2793 * gnu/java/nio/natFileChannelImpl.cc
2794 (implRead): New method.
2795 (implWrite): New method.
2796 * java/nio/ByteBuffer.java
2797 (hashCode): Fixed comment.
2798 (get): Fixed exception documentation.
2799 (put): Fixed exception documentation.
2800 * java/nio/CharBuffer.java:
2801 Added comment for later optimizations.
2802
2803 2003-04-30 Tom Tromey <tromey@redhat.com>
2804
2805 PR libgcj/10582:
2806 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2807 Removed.
2808 (type::compatible): Use _Jv_IsAssignableFrom.
2809 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2810 (_Jv_IsAssignableFrom): Work even when source or target class is
2811 not prepared.
2812
2813 2003-04-30 Michael Koch <konqueror@gmx.de>
2814
2815 * java/text/BreakIterator.java
2816 (clone): New method.
2817
2818 2003-04-30 Michael Koch <konqueror@gmx.de>
2819
2820 * java/text/CollationElementIterator.java,
2821 java/text/CollationKey.java,
2822 java/text/RuleBasedCollator.java:
2823 Merged copyright and documentation from classpath and
2824 rearranged some code. No code changes done.
2825
2826 2003-04-30 Michael Koch <konqueror@gmx.de>
2827
2828 * java/util/regex/Matcher.java
2829 (pattern): New member variable.
2830 (appendReplacement): New method.
2831 (appendTail): New method.
2832 (end): New method.
2833 (find): New method.
2834 (group): New method.
2835 (replaceFirst): Added documentation.
2836 (replaceAll): Added documentation.
2837 (groupCount): New method.
2838 (lookingAt): New method.
2839 (matches): New method.
2840 (reset): New method.
2841 (start): New method.
2842 * java/util/regex/Pattern.java
2843 (serialVersionUID): New constant.
2844 (CANON_EQ): New constant.
2845 (CASE_INSENSITIVE): New constant.
2846 (COMMENTS): New constant.
2847 (DOTALL): New constant.
2848 (MULTILINE): New constant.
2849 (UNICODE_CASE): New constant.
2850 (UNIX_LINES): New constant.
2851 (regex): New member variable.
2852 (flags): New member variable.
2853 (Pattern): New method.
2854 (compile): Documentation added.
2855 (flags): New method.
2856 (matches): Documentation added.
2857 (matcher): Documentation added.
2858 (split): Documentation added.
2859 (pattern): New method.
2860
2861 2003-04-30 Michael Koch <konqueror@gmx.de>
2862
2863 * gnu/java/security/Engine.java,
2864 gnu/java/security/OID.java,
2865 gnu/java/security/der/BitString.java,
2866 gnu/java/security/der/DER.java,
2867 gnu/java/security/der/DERReader.java,
2868 gnu/java/security/der/DERValue.java,
2869 gnu/java/security/der/DERWriter.java,
2870 gnu/java/security/provider/DSAKeyFactory.java,
2871 gnu/java/security/provider/X509CertificateFactory.java,
2872 gnu/java/security/x509/X500DistinguishedName.java,
2873 gnu/java/security/x509/X509CRL.java,
2874 gnu/java/security/x509/X509CRLEntry.java,
2875 gnu/java/security/x509/X509Certificate.java,
2876 java/security/cert/CRLSelector.java,
2877 java/security/cert/CertPathBuilder.java,
2878 java/security/cert/CertPathBuilderResult.java,
2879 java/security/cert/CertPathBuilderSpi.java,
2880 java/security/cert/CertPathParameters.java,
2881 java/security/cert/CertPathValidator.java,
2882 java/security/cert/CertPathValidatorResult.java,
2883 java/security/cert/CertPathValidatorSpi.java,
2884 java/security/cert/CertSelector.java,
2885 java/security/cert/CertStore.java,
2886 java/security/cert/CertStoreParameters.java,
2887 java/security/cert/CertStoreSpi.java,
2888 java/security/cert/CollectionCertStoreParameters.java,
2889 java/security/cert/LDAPCertStoreParameters.java,
2890 java/security/cert/PKIXBuilderParameters.java,
2891 java/security/cert/PKIXCertPathBuilderResult.java,
2892 java/security/cert/PKIXCertPathChecker.java,
2893 java/security/cert/PKIXCertPathValidatorResult.java,
2894 java/security/cert/PKIXParameters.java,
2895 java/security/cert/PolicyNode.java,
2896 java/security/cert/PolicyQualifierInfo.java,
2897 java/security/cert/TrustAnchor.java,
2898 javax/security/auth/x500/X500Principal.java:
2899 New files from classpath.
2900 * gnu/java/io/ASN1ParsingException.java,
2901 gnu/java/io/Base64InputStream.java,
2902 gnu/java/security/der/DEREncodingException.java,
2903 gnu/java/security/provider/DSAParameters.java,
2904 gnu/java/security/provider/DSASignature.java,
2905 gnu/java/security/provider/Gnu.java,
2906 gnu/java/security/provider/GnuDSAPrivateKey.java,
2907 gnu/java/security/provider/GnuDSAPublicKey.java,
2908 java/security/AlgorithmParameterGenerator.java,
2909 java/security/AlgorithmParameters.java,
2910 java/security/KeyFactory.java,
2911 java/security/KeyPairGenerator.java,
2912 java/security/KeyStore.java,
2913 java/security/MessageDigest.java,
2914 java/security/SecureClassLoader.java,
2915 java/security/SecureRandom.java,
2916 java/security/Security.java,
2917 java/security/Signature.java,
2918 java/security/cert/Certificate.java,
2919 java/security/cert/CertificateFactory.java,
2920 java/security/cert/CertificateFactorySpi.java,
2921 java/security/cert/X509CRL.java,
2922 java/security/cert/X509Certificate.java,
2923 java/security/spec/DSAPublicKeySpec.java:
2924 New versions from classpath.
2925 * gnu/java/security/provider/DERReader.java,
2926 gnu/java/security/provider/DERWriter.java,
2927 java/security/Engine.java: Removed.
2928 * Makefile.am
2929 (java_source_files, javax_source_files): Added new files.
2930 * Makefile.in: Regenerated.
2931
2932 2003-04-29 Michael Koch <konqueror@gmx.de>
2933
2934 * javax/swing/JTable.java
2935 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2936 (AUTO_RESIZE_LAST_COLUMN): New constant.
2937 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2938 (AUTO_RESIZE_OFF): New constant.
2939 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2940 (JTable): New method.
2941 (columnAdded): New method.
2942 (columnMarginChanged): New method.
2943 (columnMoved): New method.
2944 (columnRemoved): New method.
2945 (columnSelectionChanged): New method.
2946 (editingCanceled): New method.
2947 (editingStopped): New method.
2948 (getColumnModel): New method.
2949 (getPreferredScrollableViewportSize): New method.
2950 (getScrollableBlockIncrement): New method.
2951 (getScrollableTracksViewportHeight): New method.
2952 (getScrollableTracksViewportWidth): New method.
2953 (getScrollableUnitIncrement): New method.
2954 (getSelectedRow): New method.
2955 (getSelectionModel): New method.
2956 (tableChanged): New method.
2957 (setModel): New method.
2958 (setSelectionMode): New method.
2959 (setSelectionModel): New method.
2960 (setShowGrid): New method.
2961 (valueChanged): New method.
2962 * javax/swing/text/DefaultEditorKit.java
2963 (backwardAction): New constant.
2964 (beepAction): New constant.
2965 (beginAction): New constant.
2966 (beginLineAction): New constant.
2967 (beginParagraphAction): New constant.
2968 (beginWordAction): New constant.
2969 (copyAction): New constant.
2970 (cutAction): New constant.
2971 (defaultKeyTypedAction): New constant.
2972 (deleteNextCharAction): New constant.
2973 (deletePrevCharAction): New constant.
2974 (downAction): New constant.
2975 (endAction): New constant.
2976 (endLineAction): New constant.
2977 (endOfLineStringProperty): New constant.
2978 (endParagraphAction): New constant.
2979 (endWordAction): New constant.
2980 (forwardAction): New constant.
2981 (insertBreakAction): New constant.
2982 (insertContentAction): New constant.
2983 (insertTabAction): New constant.
2984 (nextWordAction): New constant.
2985 (pageDownAction): New constant.
2986 (pageUpAction): New constant.
2987 (pasteAction): New constant.
2988 (previousWordAction): New constant.
2989 (readOnlyAction): New constant.
2990 (selectAllAction): New constant.
2991 (selectionBackwardAction): New constant.
2992 (selectionBeginAction): New constant.
2993 (selectionBeginLineAction): New constant.
2994 (selectionBeginParagraphAction): New constant.
2995 (selectionBeginWordAction): New constant.
2996 (selectionDownAction): New constant.
2997 (selectionEndAction): New constant.
2998 (selectionEndLineAction): New constant.
2999 (selectionEndParagraphAction): New constant.
3000 (selectionEndWordAction): New constant.
3001 (selectionForwardAction): New constant.
3002 (selectionNextWordAction): New constant.
3003 (selectionPreviousWordAction): New constant.
3004 (selectionUpAction): New constant.
3005 (selectLineAction): New constant.
3006 (selectParagraphAction): New constant.
3007 (selectWordAction): New constant.
3008 (upAction): New constant.
3009 (writableAction): New constant.
3010
3011 2003-04-29 Michael Koch <konqueror@gmx.de>
3012
3013 * java/util/PropertyPermission.java:
3014 New version from classpath
3015 * java/util/ResourceBundle.java:
3016 Partly merged from classpath
3017 (getObject): Reformated.
3018 (tryBundle): Set foundBundle = null if no bundle found.
3019
3020 2003-04-29 Michael Koch <konqueror@gmx.de>
3021
3022 * javax/swing/AbstractListModel.java,
3023 javax/swing/DefaultBoundedRangeModel.java,
3024 javax/swing/DefaultSingleSelectionModel.java:
3025 New Versions from classpath.
3026
3027 2003-04-29 Michael Koch <konqueror@gmx.de>
3028
3029 * java/awt/Window.java
3030 (show): Call super.show() instead of setVisible() to avoid endless
3031 loop.
3032 (hide): Call super.hide() instead of setVisible() to avoid endless
3033 loop.
3034
3035 2003-04-29 Michael Koch <konqueror@gmx.de>
3036
3037 * java/util/zip/Deflater.java,
3038 java/util/zip/DeflaterOutputStream.java:
3039 Partly merged with classpath.
3040
3041 2003-04-27 Tom Tromey <tromey@redhat.com>
3042
3043 * java/lang/natString.cc (_Jv_AllocString): Initialize
3044 cachedHashCode.
3045 (init): Likewise.
3046 (_Jv_NewStringUtf8Const): Likewise.
3047
3048 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
3049
3050 * include/jvm.h: (_Jv_GetNbArgs) added
3051 (_Jv_GetSafeArg) added
3052 (_Jv_SetArgs) added
3053 * prims.cc: (_Jv_GetNbArgs) implemented
3054 (_Jv_GetSafeArg) implemented
3055 (_Jv_SetArgs) implemented
3056 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3057 setting _Jv_argc and _Jv_argv
3058 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3059 instead of _Jv_argv
3060 * java/lang/natRuntime.cc: (insertSystemProperties) use
3061 _Jv_GetSafeArg() instead of _Jv_argv
3062
3063 2003-04-23 Tom Tromey <tromey@redhat.com>
3064
3065 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3066 required by this object. Search superclasses to find required
3067 alignment.
3068 (get_alignment_from_class): Use alignment of type as it appears
3069 in a struct.
3070 (ALIGNOF): New macro.
3071 (struct aligner): New helper structure.
3072
3073 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
3074
3075 * java/awt/Container.java (addImpl): Enable paint events if adding
3076 a lightweight to a heavyweight.
3077 (addNotify): Ensure that peer is created before
3078 addNotifyContainerChildren.
3079 (addNotifyContainerChildren): Enable paint events if a heavyweight
3080 container contains a lightweight.
3081
3082 2003-04-20 Tom Tromey <tromey@redhat.com>
3083
3084 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3085 java/io/DataInput.java, java/io/DataOutput.java: Imports from
3086 Classpath.
3087
3088 2003-04-19 Tom Tromey <tromey@redhat.com>
3089
3090 * java/sql/Date.java, java/sql/DriverManager.java,
3091 java/sql/Time.java, java/sql/Timestamp.java: New versions from
3092 Classpath.
3093
3094 * Makefile.in: Rebuilt.
3095 * Makefile.am (ordinary_java_source_files): Added new files.
3096 * java/security/AlgorithmParameterGenerator.java,
3097 java/security/AlgorithmParameters.java, java/security/Engine.java,
3098 java/security/Identity.java, java/security/IdentityScope.java,
3099 java/security/KeyFactory.java,
3100 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3101 java/security/MessageDigest.java, java/security/Policy.java,
3102 java/security/ProtectionDomain.java,
3103 java/security/SecureRandom.java, java/security/Security.java,
3104 java/security/Signature.java, java/security/SignatureSpi.java,
3105 java/security/SignedObject.java, java/security/Signer.java,
3106 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3107 java/security/spec/PSSParameterSpec.java,
3108 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3109 java/security/spec/RSAOtherPrimeInfo.java: New versions from
3110 Classpath.
3111
3112 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3113
3114 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3115 (dispose): Null metrics.
3116 * gnu/awt/xlib/XToolkit.java (sync): Implement.
3117 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3118 finalize.
3119 (finalize): Call dispose.
3120 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3121 (gcCachedCount): New field.
3122 (finalize): New method.
3123 (putGCInCache): New method.
3124 (getGCFromCache): New method.
3125 * gnu/gcj/xlib/GC.java (GC): Make protected.
3126 (clone): Get new GC from cache if possible.
3127 (create): New static method.
3128 (dispose): Save old GC in cache.
3129 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3130 deleting.
3131 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3132 is null.
3133 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3134 * java/awt/Container.java (visitChild): Dispose gfx2 when
3135 finished.
3136
3137 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
3138
3139 * java/math/BigInteger.java (probablePrime): New.
3140 * java/math/BigDecimal.java (unscaledValue): New.
3141
3142 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
3143
3144 * java/io/File.java (getAbsolutePath): On Windows, take care
3145 of paths like "C:", "G:foo\bar", etc.
3146 (getName): Make it work correctly on Windows.
3147 (getParent): Make it work correctly on Windows. For UNIX,
3148 fix bug that causes "/" to be returned as the parent of "/",
3149 instead of null as returned by Sun's JRE.
3150
3151 * java/io/natFileWin32.cc: Change copyright owner to FSF.
3152
3153 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3154
3155 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3156 inner class.
3157 (CACHE_SIZE_PER_DISPLAY): New field
3158 (fontMetricsCache): New field
3159 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3160 loading ISO10646-1 fonts.
3161
3162 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3163
3164 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3165 characters.
3166 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3167 characters.
3168
3169 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
3170
3171 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3172 floating point.
3173
3174 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3175
3176 * configure.host (*-linux*): Don't set slow_pthread_self if primary
3177 installed libpthread is either linuxthreads with floating stacks or
3178 NPTL.
3179
3180 2003-04-14 Tom Tromey <tromey@redhat.com>
3181
3182 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3183 of alignment.
3184
3185 2003-04-10 Tom Tromey <tromey@redhat.com>
3186
3187 * verify.cc (pop64): Removed.
3188 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3189 exception if top-of-stack is narrow.
3190 (initialize_stack): Check to ensure that <init> is not static and
3191 <clinit> is.
3192
3193 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3194
3195 * java/io/ObjectStreamException
3196 * java/io/FileFilter
3197 * java/io/FilenameFilter
3198 * java/io/ObjectInput
3199 * java/io/ObjectOutput
3200 * java/io/ObjectStreamConstants
3201 Minor doc fixes, format fixes, spelling corrections, etc.
3202 * java/io/DataInput
3203 Corrected code samples in Javadocs to match reality
3204 * java/io/DataOutput
3205 * java/io/ObjectInputValidation
3206 Major documentation fixes - all Javadocs re-written or updated
3207
3208 2003-04-06 Michael Koch <konqueror@gmx.de>
3209
3210 * java/net/URLConnection.java:
3211 Import classes directly.
3212 (URLConnection): Merged class documentation with classpath.
3213 (url): Moved, documentation from classpath added.
3214 (doInput): Moved, documentation from classpath added.
3215 (doOutput): Moved, documentation from classpath added.
3216 (allowUserInteraction): Moved.
3217 (useCaches): Moved, documentation from classpath added.
3218 (ifModifiedSince): Moved, documentation from classpath added.
3219 (connected): Moved, documentation from classpath added.
3220
3221 2003-04-06 Michael Koch <konqueror@gmx.de>
3222
3223 * java/io/FileInputStream.java
3224 (skip): Renamed some variables to match classpath, added
3225 checks from classpath.
3226
3227 2003-03-31 Michael Koch <konqueror@gmx.de>
3228
3229 * javax/swing/AbstractAction.java
3230 (AbstractAction): Reformatted.
3231 (serialVersionUID): New private member variable.
3232 * javax/swing/plaf/BorderUIResource.java
3233 (serialVersionUID): New private member variable.
3234 * javax/swing/plaf/basic/BasicLookAndFeel.java
3235 (serialVersionUID): New private member variable.
3236
3237 2003-03-31 Michael Koch <konqueror@gmx.de>
3238
3239 * java/sql/Date.java
3240 (valueOf): Deprecated, reformatted.
3241 (toString): Deprecated, reformatted.
3242 * java/sql/Time.java
3243 (valueOf): Deprecated, reformatted.
3244 (toString): Deprecated, reformatted.
3245
3246 2003-03-31 Michael Koch <konqueror@gmx.de>
3247
3248 * java/rmi/dgc/VMID.java
3249 (isUnique): Deprecated.
3250
3251 2003-03-31 Michael Koch <konqueror@gmx.de>
3252
3253 * java/io/File.java
3254 (separator): Merged documentation from classpath.
3255 (separatorChar): Merged documentation from classpath.
3256 (pathSeparator): Merged documentation from classpath.
3257 (pathSeparatorChar): Merged documentation from classpath.
3258 (path): Merged documentation from classpath.
3259 (canRead): Merged documentation from classpath.
3260 (canWrite): Merged documentation from classpath.
3261 (createNewFile): Merged documentation from classpath.
3262 (delete): Merged documentation from classpath.
3263 (equals): Merged documentation from classpath.
3264 (exists): Merged documentation from classpath.
3265 (File): Renamed p to name to match classpath, merged documentation
3266 from classpath.
3267 (getAbsolutePath): Merged documentation from classpath.
3268 (getCanonicalPath): Merged documentation from classpath.
3269 (getCanonicalFile): Merged documentation from classpath.
3270 (getName): Merged documentation from classpath.
3271 (getParent): Merged documentation from classpath.
3272 (getParentFile): Merged documentation from classpath.
3273 (getPath): Merged documentation from classpath.
3274 (hashCode): Merged documentation from classpath.
3275 (isAbsolute): Merged documentation from classpath.
3276 (isDirectory): Merged documentation from classpath.
3277 (isFile): Merged documentation from classpath.
3278 (isHidden): Merged documentation from classpath.
3279 (lastModified): Merged documentation from classpath.
3280 (length): Merged documentation from classpath.
3281 (list): Merged documentation from classpath.
3282 (listFiles): Merged documentation from classpath.
3283 (toString): Merged documentation from classpath.
3284 (toURL): Merged documentation from classpath.
3285 (mkdir): Merged documentation from classpath.
3286 (mkdirs): Merged documentation from classpath.
3287 (createTempFile): Merged documentation from classpath.
3288 (setReadOnly): Merged documentation from classpath.
3289 (listRoots): Merged documentation from classpath.
3290 (compareTo): Merged documentation from classpath.
3291 (renameTo): Merged documentation from classpath.
3292 (setLastModified): Merged documentation from classpath.
3293 * java/io/PrintStream.java
3294 (auto_flush): Merged documentation from classpath.
3295 (PrintStream): Merged documentation from classpath.
3296 (checkError): Merged documentation from classpath.
3297 (setError): Merged documentation from classpath.
3298 (close): Merged documentation from classpath.
3299 (flush): Merged documentation from classpath.
3300 (print): Merged documentation from classpath.
3301 (println): Merged documentation from classpath.
3302 (write): Renamed count to len to match classpath,
3303 merged documentation from classpath.
3304 * java/io/RandomAccessFile.java
3305 (readShort): Merged documentation from classpath.
3306 (readUnsignedByte): Merged documentation from classpath.
3307 (readUnsignedShort): Merged documentation from classpath.
3308 (readUTF): Merged documentation from classpath.
3309 (seek): Reformatted, merged documentation from classpath.
3310 (skipBytes): Renamed some variables to match classpath, reformatted,
3311 merged documentation from classpath.
3312 (write): Merged documentation from classpath.
3313 (writeBoolean): Merged documentation from classpath.
3314 (writeByte): Merged documentation from classpath.
3315 (writeShort): Merged documentation from classpath.
3316 (writeChar): Merged documentation from classpath.
3317 (writeInt): Merged documentation from classpath.
3318 (writeLong): Merged documentation from classpath.
3319 (writeFloat): Merged documentation from classpath.
3320 (writeDouble): Merged documentation from classpath.
3321 (writeBytes): Merged documentation from classpath.
3322 (writeChars): Merged documentation from classpath.
3323 (writeUTF): Reformatted.
3324 (getChannel): Reformatted.
3325
3326 2003-03-31 Michael Koch <konqueror@gmx.de>
3327
3328 * java/awt/font/TextAttribute.java
3329 (readResolve): Throws java.io.InvalidObjectException.
3330
3331 2003-03-31 Michael Koch <konqueror@gmx.de>
3332
3333 * java/rmi/server/LoaderHandler.java
3334 (loadClass): Deprecated.
3335 (getSecurityContext): Deprecated.
3336 * java/rmi/server/LogStream.java
3337 (getDefaultStream): Deprecated.
3338 (setDefaultStream): Deprecated.
3339 (getOutputStream): Deprecated.
3340 (setOutputStream): Deprecated.
3341 (write): Deprecated.
3342 (toString): Deprecated.
3343 (parseLevel): Deprecated.
3344 * java/rmi/server/Operation.java
3345 (Operation): Deprecated.
3346 (getOperation): Deprecated.
3347 (toString): Deprecated.
3348 * java/rmi/server/RemoteCall.java
3349 (getOutputStream): Deprecated.
3350 (releaseOutputStream): Deprecated.
3351 (getInputStream): Deprecated.
3352 (releaseInputStream): Deprecated.
3353 (getResultStream): Deprecated.
3354 (executeCall): Deprecated.
3355 (done): Deprecated.
3356 * java/rmi/server/RemoteRef.java
3357 (invoke): Deprecated.
3358 (newCall): Deprecated.
3359 (done): Deprecated.
3360 * java/rmi/server/RemoteStub.java
3361 (setRef): Deprecated.
3362 * java/rmi/server/Skeleton.java:
3363 No need to import java.lang.Exception explicitly.
3364 (dispatch): Deprecated.
3365 (getOperations): Deprecated.
3366
3367 2003-03-31 Michael Koch <konqueror@gmx.de>
3368
3369 * java/rmi/dgc/VMID.java,
3370 java/rmi/registry/RegistryHandler.java,
3371 java/rmi/server/LogStream.java,
3372 java/rmi/server/Operation.java,
3373 java/rmi/server/RemoteCall.java,
3374 java/rmi/server/RemoteRef.java,
3375 java/rmi/server/RemoteStub.java:
3376 Reformatted.
3377
3378 2003-03-31 Michael Koch <konqueror@gmx.de>
3379
3380 * javax/swing/AbstractCellEditor.java,
3381 javax/swing/AbstractListModel.java,
3382 javax/swing/ActionMap.java,
3383 javax/swing/BorderFactory.java,
3384 javax/swing/ButtonGroup.java,
3385 javax/swing/DefaultBoundedRangeModel.java,
3386 javax/swing/DefaultButtonModel.java,
3387 javax/swing/DefaultCellEditor.java,
3388 javax/swing/DefaultComboBoxModel.java,
3389 javax/swing/DefaultDesktopManager.java,
3390 javax/swing/DefaultListCellRenderer.java,
3391 javax/swing/DefaultSingleSelectionModel.java,
3392 javax/swing/InputMap.java,
3393 javax/swing/JComponent.java,
3394 javax/swing/JMenu.java,
3395 javax/swing/JSlider.java,
3396 javax/swing/KeyStroke.java,
3397 javax/swing/OverlayLayout.java,
3398 javax/swing/ScrollPaneLayout.java,
3399 javax/swing/SizeRequirements.java,
3400 javax/swing/UIManager.java,
3401 javax/swing/ViewportLayout.java,
3402 javax/swing/border/AbstractBorder.java,
3403 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3404 javax/swing/event/EventListenerList.java,
3405 javax/swing/table/AbstractTableModel.java,
3406 javax/swing/table/DefaultTableCellRenderer.java,
3407 javax/swing/table/DefaultTableColumnModel.java,
3408 javax/swing/table/DefaultTableModel.java,
3409 javax/swing/table/TableColumn.java,
3410 javax/swing/text/StyledEditorKit.java,
3411 javax/swing/tree/DefaultMutableTreeNode.java,
3412 javax/swing/tree/DefaultTreeModel.java,
3413 javax/swing/tree/DefaultTreeSelectionModel.java,
3414 javax/swing/tree/TreePath.java,
3415 javax/swing/undo/AbstractUndoableEdit.java,
3416 javax/swing/undo/StateEdit.java,
3417 javax/swing/undo/StateEditable.java,
3418 javax/swing/undo/UndoableEditSupport.java:
3419 Merges from classpath.
3420
3421 2003-03-30 Tom Tromey <tromey@redhat.com>
3422
3423 * java/lang/String.java (data, boffset, count): Documented.
3424 (String(byte[],String)): Reformatted.
3425 (String(byte[])): Likewise.
3426 (lastIndexOf(int)): Likewise.
3427 (lastIndexOf(String)): Likewise.
3428 (substring(int)): Renamed argument to match Classpath.
3429 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3430
3431 * java/lang/String.java: Miscellaneous minor formatting changes
3432 to match Classpath more closely.
3433
3434 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3435 Tom Tromey <tromey@redhat.com>
3436
3437 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3438 (init()): Removed.
3439 (charAt): Put index in exception.
3440 (contentEquals): New method.
3441 Include StringBuffer.h.
3442 * java/lang/String.java (cachedHashCode): New field.
3443 (String()): Follow classpath implementation.
3444 (init()): Removed.
3445 (contentEquals): Declare.
3446 (subSequence): Don't declare IndexOutIfBoundsException in throws
3447 clause.
3448 (matches, replaceFirst, replaceAll, split): New methods from
3449 Classpath.
3450
3451 2003-03-29 Tom Tromey <tromey@redhat.com>
3452
3453 * java/lang/String.java: Reordered to follow Classpath; merged in
3454 javadoc.
3455
3456 * java/text/MessageFormat.java: Removed some whitespace.
3457
3458 * Makefile.in: Rebuilt.
3459 * Makefile.am (awt_java_source_files): Added new files.
3460 * gnu/javax/rmi/PortableServer.java,
3461 gnu/javax/rmi/CORBA/DelegateFactory.java,
3462 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3463 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3464 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3465 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3466 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3467 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3468 javax/rmi/PortableRemoteObject.java,
3469 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3470 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3471 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3472 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3473 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3474 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3475
3476 * java/lang/natClass.cc (newInstance): Put method name in
3477 exception.
3478 (getConstructor): Likewise.
3479 (getDeclaredConstructor): Likewise.
3480 (getPrivateMethod): Likewise.
3481
3482 2003-03-28 Tom Tromey <tromey@redhat.com>
3483
3484 * java/lang/reflect/Proxy.java: New version from Classpath.
3485 * java/lang/Package.java: New version from Classpath.
3486
3487 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3488
3489 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3490 * configure: Regenerate.
3491
3492 2003-03-28 Michael Koch <konqueror@gmx.de>
3493
3494 * java/io/File.java:
3495 Import needed classes instead of whole packages, merged class
3496 documentation with classpath, moved constants and variables to top of
3497 class.
3498 * java/io/PrintStream.java:
3499 Merged class documentation with classpath, moved constants and
3500 variables to top of class.
3501 * java/io/RandomAccessFile.java
3502 (RandomAccessFile): Merged with classpath.
3503 (read): Merged with classpath).
3504 (read*): Reformatted.
3505
3506 2003-03-28 Michael Koch <konqueror@gmx.de>
3507
3508 * java/io/FileDescriptor.java
3509 (finalize): Throws Throwable, not IOException.
3510 * java/io/ObjectOutputStream.java
3511 (PutField.put): Doesnt throws anything.
3512
3513 2003­03-28 Michael Koch <konqueror@gmx.de>
3514
3515 * java/io/FileOutputStream.java:
3516 Merged class documentation and authors with classpath.
3517 (FileOutputStream): Partly merged with classpath.
3518 (write): Merged with classpath.
3519 (getChannel): Make it synchronized instead of explicit block in this
3520 method.
3521 * java/io/RandomAccessFile.java:
3522 Merged class documentation and authors with classpath.
3523
3524 2003-03-26 Tom Tromey <tromey@redhat.com>
3525
3526 * java/lang/natRuntime.cc (insertSystemProperties): Set
3527 gnu.classpath.home.url.
3528 * Makefile.in: Rebuilt.
3529 * Makefile.am: Define LIBDIR.
3530
3531 2003-03-25 Michael Koch <konqueror@gmx.de>
3532
3533 * java/io/FileInputStream.java
3534 (read): Renamed b to buf and off to offset.
3535 * java/io/FileOutputStream.java
3536 (ch): Documentation added.
3537 (FileOutputStream): Documentation added.
3538 (getFD): Documentation added.
3539 (write): Documentation added.
3540 (close): Documentation added.
3541 (getChannel): Documentation added.
3542
3543 2003-03-24 Michael Koch <konqueror@gmx.de>
3544
3545 * java/io/DataOutputStream.java
3546 (write): Merged from classpath.
3547 * java/io/File.java:
3548 Merged copyrigth with classpath.
3549 * java/io/FileInputStream.java
3550 (getChannel): Made it synchronized instead of using a synchronized
3551 block.
3552 * java/io/FileOutputStream.java: Reformatted.
3553 * java/io/InputStreamReader.java
3554 (InputStreamReader): Renamed enc to encoding_name.
3555 (close): Merged documentation from classpath.
3556 (getEncoding): Merged documentation from classpath.
3557 (ready): Merged documentation from classpath.
3558 (read): Merged documentation from classpath.
3559 * java/io/LineNumberReader.java
3560 (lineNumber): Made it private.
3561 (LineNumberReader): Use Constant instead of a direct value.
3562 * java/io/OutputStreamWriter.java
3563 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3564 documentation from classpath.
3565 (close): Merged documentation from classpath.
3566 (flush): Merged documentation from classpath.
3567 (write): Merged documentation from classpath.
3568 * java/io/PrintStream.java: Reformatted.
3569
3570 2003-03-24 Michael Koch <konqueror@gmx.de>
3571
3572 * javax/swing/text/ComponentView.java
3573 (getComponent): Must be final.
3574 * javax/swing/tree/DefaultTreeCellRenderer.java:
3575 Reformatted.
3576 * javax/swing/undo/StateEditable.java:
3577 Reformatted.
3578
3579 2003-03-24 Michael Koch <konqueror@gmx.de>
3580
3581 * java/rmi/activation/ActivationInstantiator.java:
3582 Reformatted.
3583 * java/rmi/activation/Activator.java:
3584 Reformatted.
3585 * java/rmi/registry/RegistryHandler.java:
3586 Remerged from classpath.
3587
3588 2003-03-24 Michael Koch <konqueror@gmx.de>
3589
3590 * java/util/Date.java:
3591 Fixed documentation starting tag to make javadoc happy.
3592 * java/util/regex/Pattern.java
3593 (Pattern): Implements Serializable.
3594 * java/util/PatternSyntaxException.java
3595 (serialVersionUID): New member variable.
3596
3597 2003-03-24 Michael Koch <koqnueror@gmx.de>
3598
3599 * java/awt/ContainerOrderFocusTraversalPolicy.java
3600 (getFirstComponent): Implemented.
3601 (getLastComponent): Implemented.
3602 (getDefaultComponent): Implemented.
3603 (setImplicitDownCycleTraversal): Fixed implementation.
3604 * java/awt/Robot.java
3605 (Robot): Added documentation.
3606 * java/awt/Toolkit.java
3607 (getFontList): Deprecated.
3608 (getFontMetrics): Deprecated.
3609 (getPrintJob): Added documentation.
3610 (getSystemSelection): Added documentation.
3611 (getLockingKeyState): Added documentation.
3612 (setLockingKeyState): Added documentation.
3613 (createCustomCursor): Added documentation.
3614 (getBestCursorSize): Added documentation.
3615 (getMaximumCursorColors): Added documentation.
3616 (isFrameStateSupported): Added documentation.
3617
3618 2003-03-24 Michael Koch <konqueror@gmx.de>
3619
3620 * java/io/RandomAccessFile.java:
3621 More little merges with classpath. No code changes.
3622
3623 2003-03-24 Michael Koch <konqueror@gmx.de>
3624
3625 * java/net/natInetAddressNoNet.cc:
3626 Include stddef.h.
3627 * java/net/natPlainDatagramSocketImplNoNet.cc:
3628 Fixed inlcude of java/net/DatagramPacket.h.
3629 * java/net/natPlainSocketImplNoNet.cc:
3630 Include some missing classes.
3631
3632 2003-03-24 Michael Koch <konqueror@gmx.de>
3633
3634 * java/awt/dnd/DropTarget.java
3635 (DropTargetAutoScroller): According to the online documentation, this
3636 is protected, but in reality it is public.
3637 * java/awt/dnd/DropTargetContext.java
3638 (TransferableProxy): According to the online documentation, this
3639 is protected, but in reality it is public.
3640
3641 2003-03-24 Michael Koch <konqueror@gmx.de>
3642
3643 * java/io/DataInputStream.java
3644 (): Wrapped documentation line.
3645 (): Fixed @return tag.
3646 * java/io/DataOutputStream.java
3647 (written): Moved to top of class.
3648 (all methods): Merged documentation from classpath.
3649 * java/io/File.java:
3650 Merged copyright year with classpath.
3651 * java/io/FileInputStream.java
3652 (all methods): Merged documentation from classpath.
3653 * java/io/LineNumberReader.java
3654 (getLineNumber): Fixed @return tag.
3655 * java/io/ObjectInputStream.java.
3656 Reformatted.
3657 * java/io/ObjectOutputStream.java:
3658 Reformatted, fixed some @see tags.
3659 * java/io/OutputStreamWriter.java:
3660 Deleted empty line.
3661 * java/io/Writer.java:
3662 Reformatted.
3663
3664 2003-03-24 Michael Koch <konqueror@gmx.de>
3665
3666 * java/awt/Frame.java
3667 (DEFAULT_CURSOR): Fixed @deprecated tag.
3668 (setCursor): Fixed @deprecated tag.
3669
3670 2003-03-24 Michael Koch <konqueror@gmx.de>
3671
3672 * java/beans/beancontext/BeanContextEvent.java:
3673 Reformated.
3674
3675 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3676
3677 * java/lang/natStringBuffer.cc (regionMatches): New function.
3678 * java/lang/String.java (count): Now package-private.
3679 * java/lang/StringBuffer.java: Merged with Classpath.
3680
3681 2003-03-23 Michael Koch <konqueror@gmx.de>
3682
3683 * java/io/BufferedOutputStream.java:
3684 Reformated.
3685 * java/io/BufferedReader.java:
3686 Reformated.
3687 * java/io/ByteArrayOutputStream.java
3688 (size): Fixed @see tag.
3689 * java/io/CharArrayWriter.java
3690 (size): Fixed @see tag.
3691 * java/io/DataInput.java:
3692 Reformated.
3693 * java/io/DataOutput.java:
3694 Reformated.
3695 * java/io/DataOutputStream.java:
3696 Merged copyright years with classpath.
3697 * java/io/Externalizable.java:
3698 Reformated.
3699 * java/io/FileFilter.java:
3700 Reformated.
3701 * java/io/FileInputStream.java:
3702 Merged copyright years with classpath.
3703 * java/io/FileOutputStream.java:
3704 Merged copyright years with classpath.
3705 * java/io/FilePermission.java
3706 (FilePermission): Replaced @XXX with FIXME:.
3707 * java/io/FileWriter.java:
3708 Reformated.
3709 * java/io/FilenameFilter.java:
3710 Reformated.
3711 * java/io/FilterInputStream.java:
3712 Reformated.
3713 * java/io/FilterOutputStream.java:
3714 Reformated.
3715 * java/io/FilterReader.java:
3716 Reformated.
3717 * java/io/FilterWriter.java:
3718 Reformated.
3719 * java/io/LineNumberInputStream.java
3720 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3721 happy.
3722 (getLineNumber): Fixed @return tag.
3723 * java/io/ObjectInput.java:
3724 Reformated.
3725 * java/io/ObjectOutput.java:
3726 Reformated.
3727 * java/io/ObjectStreamClass.java:
3728 Reformated.
3729 * java/io/PrintStream.java:
3730 Merged copyright years with classpath.
3731 * java/io/PushbackReader.java
3732 (PushbackReader): Replaced @code with @param.
3733 * java/io/SerializablePermission.java:
3734 Reformated.
3735 * java/io/StreamTokenizer.java
3736 (resetSyntax): Fixed @see tag.
3737
3738 2003-03-22 Richard Henderson <rth@redhat.com>
3739
3740 * sysdep/ia64/locks.h: Include ia64intrin.h.
3741 (compare_and_swap): Use __sync_bool_compare_and_swap.
3742 (compare_and_swap_release): Expose ar.ccv assignment.
3743
3744 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3745
3746 * include/posix.h: Add suffix for darwin dynamic libraries.
3747
3748 2003-03-21 Michael Koch <konqueror@gmx.de>
3749
3750 * javax/swing/Action.java
3751 (ACCELERATOR_KEY): New constant.
3752 (ACTION_COMMAND_KEY): Likewise.
3753 (MNEMONIC_KEY): Likewise.
3754 * javax/swing/UnsupportedLookAndFeelException.java
3755 (UnsupportedLookAndFeelException): Must be public.
3756 * javax/swing/WindowConstants.java
3757 (EXIT_ON_CLOSE): New constant.
3758 * javax/swing/text/BadLocationException.java
3759 (offset): New member variable.
3760 (BadLocationException): New implementation, documentation added.
3761 (offsetRequested): New method.
3762 * javax/swing/text/Caret.java:
3763 Reformated.
3764 * javax/swing/text/Document.java:
3765 Reformated.
3766
3767 2003-03-21 Michael Koch <konqueror@gmx.de>
3768
3769 * java/rmi/activation/Activatable.java
3770 (serialVersionUID): New member variable.
3771 * java/rmi/activation/ActivationGroup.java
3772 (serialVersionUID): New member variable.
3773 * java/rmi/activation/ActivationGroupDesc.java
3774 (serialVersionUID): New member variable.
3775 * java/rmi/registry/Registry.java:
3776 Reformated.
3777 (Registry): Deprecated.
3778 * java/rmi/server/LoaderHandler.java
3779 Reformated.
3780 (LoaderHandler): Deprecated.
3781 * java/rmi/server/LogStream.java
3782 Reformated.
3783 (LogStream): Deprecated.
3784 * java/rmi/server/Operation.java
3785 (Operation): Deprecated.
3786 * java/rmi/server/RMIFailureHandler.java:
3787 Reformated.
3788 * java/rmi/server/RMISocketFactory.java:
3789 Reformated.
3790 * java/rmi/server/RemoteCall.java
3791 (RemoteCall): Deprecated.
3792 * java/rmi/server/RemoteStub.java:
3793 Reformated.
3794 * java/rmi/server/Skeleton.java
3795 Reformated.
3796 (Skeleton): Deprecated.
3797
3798 2003-03-21 Michael Koch <konqueror@gmx.de>
3799
3800 * java/io/LineNumberReader.java
3801 (LineNumberReader): Merged documentation with classpath.
3802 (getLineNumber): Likewise.
3803 (setLineNumber): Likewise.
3804 (mark): Likewise.
3805 (reset): Likewise.
3806 (read): Likewise.
3807 (readLine): Likewise.
3808 (skip): Likewise.
3809
3810 2003-03-21 Michael Koch <konqueror@gmx.de>
3811
3812 * java/rmi/RMISecurityManager.java
3813 (checkAccept): Removed.
3814 (checkAccess): Likewise.
3815 (checkAccess): Likewise.
3816 (checkAwtEventQueueAccess): Likewise.
3817 (checkConnect): Likewise.
3818 (checkCreateClassLoader): Likewise.
3819 (checkDelete): Likewise.
3820 (checkExec): Likewise.
3821 (checkExit): Likewise.
3822 (checkLink): Likewise.
3823 (checkListen): Likewise.
3824 (checkMemberAccess): Likewise.
3825 (checkMulticast): Likewise.
3826 (checkPackageAccess): Likewise.
3827 (checkPackageDefinition): Likewise.
3828 (checkPermission): Likewise.
3829 (checkPrintJobAccess): Likewise.
3830 (checkPropertiesAccess): Likewise.
3831 (checkPropertyAccess): Likewise.
3832 (checkRead): Likewise.
3833 (checkSecurityAccess): Likewise.
3834 (checkSetFactory): Likewise.
3835 (checkSystemClipboardAccess): Likewise.
3836 (checkTopLevelWindow): Likewise.
3837 (checkWrite): Likewise.
3838
3839 2003-03-20 Michael Koch <konqueror@gmx.de>
3840
3841 * gnu/java/nio/FileChannelImpl.java
3842 (address): Removed.
3843 (map_address): New member variable.
3844 (length): Make it package private.
3845 (fd): Make it package private.
3846 (buf): Make it package private.
3847 (file_obj): Make it package private.
3848 (FileChannelImpl): New constructor.
3849 (nio_mmap_file): Use RawData instead of long.
3850 (nio_munmap_file): Use RawData instead of long.
3851 (nio_msync): Use RawData instead of long.
3852 (implCloseChannel): New implementation using map_address.
3853 (read): Reformated.
3854 (map): Implemented.
3855 (create_direct_mapped_buffer): Implemented, use RawData, throws
3856 IOException.
3857 (force): Use map_address instead of address.
3858 * gnu/java/nio/MappedByteFileBuffer.java
3859 (address): Removed.
3860 (map_address): New member variable.
3861 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3862 (several methods): Use map_address instead of address, replaced long
3863 with RawData where appropriate.
3864 * gnu/java/nio/natFileChannelImpl.cc
3865 (nio_mmap_file): Replaced long with RawData.
3866 (nio_munmap_file): Replaced long with RawData.
3867 (nio_msync): Replaced long with RawData.
3868 * gnu/java/nio/natMappedByteFileBuffer.cc
3869 (several methods): Replaced long with RawData where appropriate.
3870
3871 2003-03-20 Michael Koch <konqueror@gmx.de>
3872
3873 * java/net/InetAddress.java,
3874 java/net/JarURLConnection.java,
3875 java/net/PlainDatagramSocketImpl.java,
3876 java/net/PlainSocketImpl.java,
3877 java/net/URLConnection.java:
3878 Merged copyright statements with classpath for easier merging.
3879
3880 2003-03-20 Michael Koch <konqueror@gmx.de>
3881
3882 * java/io/FileInputStream.java
3883 (getChannel): New implementation.
3884 * java/io/FileOutputStream.java
3885 (ch): New member variable.
3886 (getChannel): Implemented.
3887 * java/io/RandomAccessFile.java
3888 (RandomAccessFile): Throws FileNotFoundException instead of
3889 IOException.
3890 (getChannel): New method.
3891 (ch): New member variable.
3892
3893 2003-03-20 Michael Koch <konqueror@gmx.de>
3894
3895 * java/io/DataOutputStream.java,
3896 java/io/File.java,
3897 java/io/FileInputStream.java,
3898 java/io/FileOutputStream.java,
3899 java/io/InputStreamReader.java,
3900 java/io/LineNumberReader.java,
3901 java/io/OutputStreamWriter.java,
3902 java/io/PrintStream.java,
3903 java/io/RandomAccessFile.java:
3904 Merged copyright statements with classpath for easier merging.
3905
3906 2003-03-19 Michael Koch <konqueror@gmx.de>
3907
3908 * java/lang/Process.java:
3909 Merged from classpath.
3910
3911 2003-03-19 Michael Koch <konqueror@gmx.de>
3912
3913 * java/io/FileOutputStream.java
3914 (FileOutputStream): New constructor, merged from classpath.
3915 * java/io/FileWriter.java
3916 (FileWriter): New constructor, merged from classpath.
3917
3918 2003-03-18 Michael Koch <konqueror@gmx.de>
3919
3920 * java/awt/ScrollPane.java
3921 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3922 (getViewportSize): Likewise.
3923 (addNotify): Likewise.
3924 (removeNotify): Likewise.
3925 * java/awt/ScrollPaneAdjustable.java
3926 (ScrollPaneAdjustable): No longer extends Scrollbar.
3927 * java/beans/beancontext/BeanContextServices.java:
3928 Reformated.
3929 (getService): Added throws TooManyListenersException;
3930 * java/beans/beancontext/BeanContextServicesSupport.java:
3931 Reformated.
3932
3933 2003-03-18 Michael Koch <konqueror@gmx.de>
3934
3935 * java/io/BufferedOutputStream.java,
3936 java/io/DataInput.java,
3937 java/io/DataInputStream.java,
3938 java/io/DataOutput.java,
3939 java/io/Externalizable.java:
3940 More merges from classpath.
3941
3942 2003-03-18 Michael Koch <konqueror@gmx.de>
3943
3944 * configure.in: Fixed links to platform dependant java.net files.
3945 * configure: Regenerated.
3946 * java/net/natInetAddress.cc,
3947 java/net/natNetworkInterface.cc,
3948 java/net/natPlainDatagramSocketImpl.cc,
3949 java/net/natPlainSocketImpl.cc:
3950 Removed.
3951
3952 2003-03-18 Michael Koch <konqueror@gmx.de>
3953
3954 * configure.in: Create links to architecture dependent files,
3955 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3956 * configure: Regenerated.
3957 * java/net/natInetAddressNoNet.cc,
3958 java/net/natInetAddressPosix.cc,
3959 java/net/natInetAddressWin32.cc,
3960 java/net/natNetworkInterfaceNoNet.cc,
3961 java/net/natNetworkInterfacePosix.cc,
3962 java/net/natNetworkInterfaceWin32.cc,
3963 java/net/natPlainDatagramSocketImplNoNet.cc,
3964 java/net/natPlainDatagramSocketImplPosix.cc,
3965 java/net/natPlainDatagramSocketImplWin32.cc,
3966 java/net/natPlainSocketImplNoNet.cc,
3967 java/net/natPlainSocketImplPosix.cc,
3968 java/net/natPlainSocketImplWin32.cc: New files.
3969
3970 2003-03-18 Michael Koch <konqueror@gmx.de>
3971
3972 * java/io/BufferedReader.java,
3973 java/io/BufferedWriter.java,
3974 java/io/ByteArrayOutputStream.java,
3975 java/io/FileFilter.java,
3976 java/io/FilePermission.java,
3977 java/io/FileReader.java,
3978 java/io/FileWriter.java,
3979 java/io/FilenameFilter.java,
3980 java/io/FilterInputStream.java,
3981 java/io/FilterOutputStream.java,
3982 java/io/FilterReader.java,
3983 java/io/FilterWriter.java,
3984 java/io/ObjectInput.java,
3985 java/io/ObjectInputValidation.java,
3986 java/io/ObjectOutput.java,
3987 java/io/ObjectStreamField.java,
3988 java/io/PipedInputStream.java,
3989 java/io/PipedReader.java,
3990 java/io/PrintWriter.java,
3991 java/io/PushbackReader.java,
3992 java/io/Reader.java,
3993 java/io/SerializablePermission.java,
3994 java/io/StringReader.java,
3995 java/io/Writer.java:
3996 Merged from classpath.
3997
3998 2003-03-17 Michael Koch <konqueror@gmx.de>
3999
4000 * java/awt/ScrollPaneAdjustable.java:
4001 Compile fixes.
4002
4003 2003-03-17 Michael Koch <konqueror@gmx.de>
4004
4005 * java/net/DatagramSocket.java
4006 (connect): Fixed comment.
4007 * java/nio/ByteBuffer.java
4008 (hasArray): Fixed comment.
4009
4010 2003-03-17 Michael Koch <konqueror@gmx.de>
4011
4012 * java/beans/Beans.java:
4013 Explicitely import classes not packages.
4014 * java/beans/FeatureDescriptor.java
4015 (preferred): New member variable.
4016 (isPreferred): New method.
4017 (setPreferred): New method.
4018 * java/beans/PropertyEditorManager.java:
4019 Explicitely import used classes.
4020 * java/beans/beancontext/BeanContextChild.java:
4021 Added line wrapping.
4022 * java/beans/beancontext/BeanContextChildSupport.java:
4023 Reindented.
4024 * java/beans/beancontext/BeanContextEvent.java:
4025 Reindented.
4026
4027 2003-03-17 Michael Koch <konqueror@gmx.de>
4028
4029 * java/awt/Dialog.java
4030 (Dialog): New constructor, changed implementations, added
4031 documentation.
4032 * java/awt/ScrollPaneAdjustable.java
4033 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4034 Serializable.
4035 (serialVersionUID): New member variable.
4036 (sp): New member variable.
4037 (orientation): New member variable.
4038 (value): New member variable.
4039 (minimum): New member variable.
4040 (maximum): New member variable.
4041 (visibleAmount): New member variable.
4042 (unitIncrement): New member variable.
4043 (blockIncrement): New member variable.
4044 (AdjustmentListener): New member variable.
4045 (ScrollPaneAdjustable): New implementation.
4046 (addAdjustmentListener): New method.
4047 (removeAdjustmentListener): New method.
4048 (getAdjustmentListeners): New method.
4049 (getBlockIncrement): New method.
4050 (getMaximum): New method.
4051 (getMinimum): New method.
4052 (getOrientation): New method.
4053 (getUnitIncrement): New method.
4054 (getValue): New method.
4055 (getVisibleAmount): New method.
4056 (setBlockIncrement): New method.
4057 (setMaximum): Implemented.
4058 (setMinimum): Implemented.
4059 (setUnitIncrement): New method.
4060 (setValue): New method.
4061 (setVisibleAmount): Implemented.
4062 (paramString): New stubbed method.
4063 * java/awt/Window.java
4064 (show): Call setVisible().
4065 (hide): Call setVisible().
4066 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4067 and WINDOW_STATE_CHANGED.
4068 (processWindowFocusEvent): New method.
4069 (processWindowStateEvent): New method.
4070 (postEvent): Deprecated.
4071 (applyResourceBundle): Deprecated.
4072 * java/awt/datatransfer/DataFlavor.java
4073 (DataFlavor): Doesn't thow ClassNotFoundException.
4074
4075 2003-03-17 Michael Koch
4076
4077 * javax/print/attribute/Attribute.java,
4078 javax/print/attribute/AttributeSet.java,
4079 javax/print/attribute/PrintRequestAttributeSet.java:
4080 New files.
4081 * Makefile.am
4082 (javax_source_files): Added new files:
4083 javax/print/attribute/Attribute.java
4084 javax/print/attribute/AttributeSet.java
4085 javax/print/attribute/PrintRequestAttributeSet.java
4086 * Makefile.in: Regenerated.
4087
4088 2003-03-17 Michael Koch
4089
4090 * javax/print/attribute/Attribute.java,
4091 javax/print/attribute/AttributeSet.java,
4092 javax/print/attribute/PrintRequestAttributeSet.java:
4093 New files.
4094 * Makefile.am
4095 (awt_java_source_files): Added new files:
4096 javax/print/attribute/Attribute.java
4097 javax/print/attribute/AttributeSet.java
4098 javax/print/attribute/PrintRequestAttributeSet.java
4099 * Makefile.in: Regenerated.
4100
4101 2003-03-16 Tom Tromey <tromey@redhat.com>
4102
4103 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4104 Include platform.h.
4105 * java/lang/natRuntime.cc (insertSystemProperties): Use
4106 _Jv_platform_path_separator.
4107 (nativeGetLibname): Use _Jv_platform_file_separator.
4108 (_load): Use _Jv_platform_onload_names.
4109 (onload_names): New global.
4110 * include/win32.h (_Jv_platform_file_separator): New define.
4111 (_Jv_platform_path_separator): Likewise.
4112 (_Jv_platform_onload_names): Likewise.
4113 (_Jv_platform_ffi_abi): Likewise.
4114 * include/posix.h (_Jv_platform_file_separator): New define.
4115 (_Jv_platform_path_separator): Likewise.
4116 (_Jv_platform_onload_names): Likewise.
4117 (_Jv_platform_ffi_abi): Likewise.
4118
4119 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
4120
4121 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4122
4123 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
4124
4125 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4126 hierarchy loop.
4127 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4128 list to Object,ObjectStreamClass, moved callReadMethod code up into
4129 readObject and added Class argument to all setXxxField calls.
4130 (callReadMethod): Changed Class argument to ObjectStreamClass to be
4131 consistent with ObjectOutputStream and to facilitate caching the
4132 Method in the future.
4133 (setBooleanField): Added Class argument.
4134 (setByteField): Likewise.
4135 (setCharField): Likewise.
4136 (setDoubleField): Likewise.
4137 (setFloatField): Likewise.
4138 (setIntField): Likewise.
4139 (setLongField): Likewise.
4140 (setShortField): Likewise.
4141 (setObjectField): Likewise.
4142 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4143 class hierarchy loop.
4144 (defaultWriteObject): Call writeFields with new argument list.
4145 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4146 list to Object,ObjectStreamClass, moved callWriteMethod up into
4147 writeObject and added Class argument to all getXxxField calls.
4148 (callWriteMethod): Added ObjectStreamClass argument to be able to
4149 get the proper class to call getMethod on (each class can have (or
4150 not have) its own writeObject method).
4151 (getBooleanField): Added Class argument.
4152 (getByteField): Likewise.
4153 (getCharField): Likewise.
4154 (getDoubleField): Likewise.
4155 (getFloatField): Likewise.
4156 (getIntField): Likewise.
4157 (getLongField): Likewise.
4158 (getShortField): Likewise.
4159 (getObjectField): Likewise.
4160 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4161 facilitate caching the Method object in the future.
4162
4163 2003-03-12 Andreas Schwab <schwab@suse.de>
4164
4165 * configure.in: Avoid trailing /. in toolexeclibdir.
4166 * configure: Rebuilt.
4167
4168 2003-03-11 Michael Koch <konqueror@gmx.de>
4169
4170 * gnu/java/nio/ByteBufferImpl.java
4171 (putInt): Use limit() instead of limit.
4172 * gnu/java/nio/CharBufferImpl.java
4173 (slice): Fixed implementation.
4174 (subSequence): Better bounds checking.
4175 * gnu/java/nio/MappedByteFileBuffer.java:
4176 Import all needed classes directly.
4177 * java/nio/ByteBuffer.java
4178 (hashCode): New dummy method.
4179 * java/nio/CharBuffer.java
4180 (array_offset): New member variable.
4181 (hasArray): Fixed documentation.
4182 (arrayOffset): Return array_offset.
4183
4184 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4185
4186 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4187 setter; made return value of getter const char* instead of char*
4188 * prims.cc: removed all references to _Jv_ThisExecutable().
4189 These are in the platform-specific sections now.
4190 * posix.cc: define platform-specific _Jv_ThisExecutable().
4191 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4192 * win32.cc: define platform-specific _Jv_ThisExecutable()
4193 using GetModuleFilename()
4194 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4195 to argv[0] instead of _Jv_ThisExecutable()
4196
4197 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4198
4199 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4200 that is set if we are using addr2name.awk instead of addr2line.
4201 (NameFinder): Set usingAddr2name if using addr2name.awk.
4202 (getExternalLabel): New native method to convert a method
4203 name to an external label.
4204 (lookup): Convert name given by addr2line to an external label
4205 before demangling.
4206
4207 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4208 constant representing the prefix attached to method names to
4209 convert them to an external label.
4210 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4211 using LABEL_PREFIX.
4212
4213 2003-03-10 Tom Tromey <tromey@redhat.com>
4214
4215 * Makefile.in: Rebuilt.
4216 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4217 (JC1FLAGS): Removed -Wno-deprecated.
4218
4219 2003-03-10 Michael Koch <konqueror@gmx.de>
4220
4221 * java/nio/ByteOrder.java
4222 (nativeOrder): Working implementation, added documentation.
4223 (toString): Added documentation.
4224
4225 2003-03-10 Michael Koch <konqueror@gmx.de>
4226
4227 * java/net/DatagramSocket.java,
4228 java/net/MulticastSocket.java,
4229 java/net/Socket.java,
4230 java/net/URL.java,
4231 java/net/URLConnection.java:
4232 Fixed some documentation tags to make javadoc and friends happy.
4233
4234 2003-03-10 Michael Koch <koqnueror@gmx.de>
4235
4236 * java/beans/beancontext/BeanContextServicesSupport.java,
4237 java/beans/beancontext/BeanContextSupport.java: New files.
4238 * Makefile.am
4239 (awt_source_files): Added new files.
4240 * Makefile.in: Regenerated.
4241
4242 2003-03-10 Michael Koch <konqueror@gmx.de>
4243
4244 * java/awt/FocusTraversalPolicy.java
4245 (FocusTraversalPolicy): Documentation added.
4246 (getComponentAfter): Documentation added.
4247 (getComponentBefore): Documentation added.
4248 (getFirstComponent): Documentation added.
4249 (getLastComponent): Documentation added.
4250 (getDefaultComponent): Documentation added.
4251 (getInitialComponent): Documentation added.
4252 * java/awt/ScrollPaneAdjustable.java
4253 (sp): New member variable.
4254 (orientation): New member variable.
4255 (value): New member variable.
4256 (minimum): New member variable.
4257 (maximum): New member variable.
4258 (visibleAmount): New member variable.
4259 (unitIncrement): New member variable.
4260 (blockIncrement): New member variable.
4261 (adjustmentListener): New member variable.
4262 (ScrollPaneAdjustable): Rewrote.
4263 (addAdjustmentListener): New method.
4264 (removeAdjustmentListener): New method.
4265 (getAdjustmentListeners): New method.
4266 (getBlockIncrement): New method.
4267 (getMaximum): New method.
4268 (getMinimum): New method.
4269 (getOrientation): New method.
4270 (getUnitIncrement): New method.
4271 (getValue): New method.
4272 (getVisibleAmount): New method.
4273 (setBlockIncrement): New method.
4274 (setUnitIncrement): New method.
4275 (setMaximum): Implemented.
4276 (setMinimum): Implemented.
4277 (setValue): New method.
4278 (setVisibleAmount): Implemented.
4279 (paramString): New method.
4280 * java/awt/Window.java
4281 (show): Use setVisible(true) instead of super.show().
4282 (hide): Use sevVisible(false) instead of super.hide().
4283 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4284 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4285 (postEvent): Deprecated.
4286 (applyResourceBundle): Deprecated.
4287 (processWindowFocusEvent): New method.
4288 (processWindowStateEvent): New method.
4289 * java/awt/datatransfer/DataFlavor.java: Reindented.
4290 * java/awt/font/TextHitInfo.java
4291 (charIndex): New member variable.
4292 (leadingEdge): New member variable.
4293 (TextHitInfo): New constructor.
4294 (getCharIndex): Implemented.
4295 (isLeadingEdge): Implemented.
4296 (getInsertionIndex): Implemented.
4297 (hashCode): Access charIndex directly.
4298 (equals): Reformated.
4299 (leading): Implemented.
4300 (trailing): Implemented.
4301 (beforeOffset): Implemented.
4302 (afterOffset): Implemented.
4303 (getOtherHit): Implemented.
4304 (getOffsetHit): Implemented.
4305 (toString): Implemented.
4306 * java/awt/image/BufferedImage.java
4307 (BufferedImage): Implements WritableRenderedImage.
4308 (observers): New member variable.
4309 (addTileObserver): New method.
4310 (removeTileObserver): New method.
4311
4312 2003-03-09 Tom Tromey <tromey@redhat.com>
4313
4314 PR libgcj/9934:
4315 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4316 to lseek. Return 0 if we can't compute the value.
4317
4318 2003-03-03 Michael Koch <konqueror@gmx.de>
4319
4320 * java/net/NetworkInterface.java: Merged with classpath.
4321
4322 2003-03-03 Tom Tromey <tromey@redhat.com>
4323
4324 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4325 of bytecode.
4326 (handle_ret_insn): Fail if returning to jsr that appears at end of
4327 bytecode.
4328
4329 2003-03-03 Michael Koch <konqueror@gmx.de>
4330
4331 * Makefile.am
4332 (ordinary_java_source_files):
4333 Added gnu/java/nio/MappedByteFileBuffer.java.
4334 (nat_source_files):
4335 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4336 * Makefile.in: Regenerated.
4337
4338 2003-03-03 Michael Koch <konqueror@gmx.de>
4339
4340 * java/net/DatagramSocket.java
4341 (connect): Merged comment from classpath.
4342 (receive): Merged documentation from classpath.
4343 * java/net/Socket.java
4344 (setSoTimeout): Clarified documentation.
4345 * java/net/URL.java
4346 (getPath): Merged from classpath.
4347 (getUserInfo): Merged from classpath.
4348 (getQuery): Merged from classpath.
4349 * java/net/URLStreamHandler.java
4350 (toExternalForm): Merged from classpath.
4351
4352 2003-03-02 Mark Wielaard <mark@klomp.org>
4353
4354 * java/util/Properties.java (load): Only skip line if the first
4355 character is a comment, whitespaces don't count.
4356
4357 2003-03-02 Michael Koch <konqueror@gmx.de>
4358
4359 * java/net/NetPermission.java:
4360 Merged copyright with classpath.
4361
4362 2003-03-02 Michael Koch <konqueror@gmx.de>
4363
4364 * java/lang/Package.java:
4365 Remerged from classpath.
4366
4367 2003-03-02 Michael Koch <konqueror@gmx.de>
4368
4369 * java/net/HttpURLConnection.java
4370 (HTTP_SERVER_ERROR): Deprecated.
4371 * java/net/MulticastSocket.java
4372 (send): Replaced checkMulticast with appropriate checkPermission call,
4373 deprecated.
4374 * java/net/URLDecoder.java
4375 (decode): Deprecated.
4376 * java/net/URLEncoder.java
4377 (encode): Deprecated.
4378
4379 2003-03-02 Michael Koch <konqueror@gmx.de>
4380
4381 * javax/swing/text/Caret.java
4382 (getMagicCaretPosition): Fixed typo in method name.
4383 * javax/swing/text/DefaultCaret.java
4384 (getMagicCaretPosition): Fixed typo in method name.
4385
4386 2003-03-02 Michael Koch <konqueror@gmx.de>
4387
4388 * java/awt/List.java
4389 (setMultipleSelections): Deprecated.
4390 (delItem): Deprecated.
4391 * java/awt/MenuComponent.java
4392 (getPeer): Deprecated.
4393 * java/awt/ScrollPane.java
4394 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4395 * java/awt/dnd/MouseDragGestureRecognizer.java
4396 (mouseClicked): Added comment.
4397 (mousePressed): Added comment.
4398 (mouseReleased): Added comment.
4399 (mouseEntered): Added comment.
4400 (mouseExited): Added comment.
4401 (mouseDragged): Added comment.
4402 (mouseMoved): Added comment.
4403 * java/awt/event/KeyEvent.java
4404 (KeyEvent): Deprecated.
4405 (setModifiers): Deprecated.
4406
4407 2003-03-02 Michael Koch <konqueror@gmx.de>
4408
4409 * gnu/java/nio/FileChannelImpl.java
4410 (fd): Type FileDescriptor instead of int.
4411 (lengthInternal): Removed.
4412 (FileChannelImpl): Fixed arguments, check type of file object.
4413 (size): Made it native.
4414 (implPosition): New native method.
4415 (implTruncate): New native method.
4416 (position): Implemented.
4417 (truncate): Implemented.
4418 (nio_mmap_file): Changed arguments.
4419 (nio_munmap_file): Changed arguments.
4420 (nio_msync): Changed arguments.
4421 * gnu/java/nio/natFileChannelImpl.cc
4422 (lengthInternal): Removed.
4423 (size): New method.
4424 (implPosition): New method.
4425 (implTruncate): New method.
4426 (nio_mmap_file): Changed arguments.
4427 (nio_munmap_file): Changed arguments.
4428 (nio_msync): Changed arguments.
4429
4430 2003-03-02 Michael Koch <konqueror@gmx.de>
4431
4432 * java/awt/dnd/DropTargetContext.java:
4433 Compile fix: Forgot to commit import.
4434
4435 2003-03-02 Michael Koch <konqueror@gmx.de>
4436
4437 * java/awt/Component.java,
4438 java/awt/ScrollPane.java:
4439 Fixed typos.
4440
4441 2003-03-02 Michael Koch <konqueror@gmx.de>
4442
4443 * java/awt/dnd/DnDEventMulticaster.java: New file.
4444 * java/awt/dnd/DragSource.java
4445 (flavorMap): New member variable.
4446 (dragSourceListener): New member variable.
4447 (dragSourceMotionListener): New member variable.
4448 (getFlavorMap): Implemented.
4449 (createDragGestureRecognizer): Implemented.
4450 (addDragSourceListener): Implemented.
4451 (removeDragSourceListener): Implemented.
4452 (getDragSourceListeners): Implemented.
4453 (addDragSourceMotionListener): Implemented.
4454 (removeDragSourceMotionListener): Implemented.
4455 (getDragSourceMotionListeners): Implemented.
4456 (getListeners): Implemented.
4457 * java/awt/dnd/DragSourceContext.java
4458 (peer): New member variable.
4459 (cursor): New member variable.
4460 (transferable): New member variable.
4461 (trigger): New member variable.
4462 (dragSourceListener): New member variable.
4463 (image): New member variable.
4464 (offset): New member variable.
4465 (DragSourceContext): Implemented.
4466 (getDragSource): Implemented.
4467 (getComponent): Implemented.
4468 (getTrigger): Implemented.
4469 (getSourceActions): Implemented.
4470 (setCursor): Implemented.
4471 (getCursor): Implemented.
4472 (addDragSourceListener): Implemented.
4473 (removeDragSourceListener): Implemented.
4474 (getTransferable): Implemented.
4475 * java/awt/dnd/DropTarget.java
4476 (DropTargetAutoScroller.component): New member variable.
4477 (DropTargetAutoScroller.point): New member variable.
4478 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4479 (DropTargetAutoScroller.updateLocation): Implemented.
4480 (active): Renamed from isActive, defaults to true now.
4481 (component): New member variable.
4482 (flavorMap): New member variable.
4483 (actions): New member variable.
4484 (dropTargetContext): New member variable.
4485 (dropTargetListener): New member variable.
4486 (DropTarget): Implemented.
4487 (getComponent): Implemented.
4488 (setComponent): Implemented.
4489 (setDefaultActions): Implemented.
4490 (getDefaultActions): Implemented.
4491 (setActive): Use active instead of isActive.
4492 (isActive): Use active instead of isActive.
4493 (addDropTargetListener): Implemented.
4494 (removeDropTargetListener): Implemented.
4495 (getFlavorMap): Implemented.
4496 (setFlavorMap): Implemented.
4497 (getDropTargetContext): Implemented.
4498 (createDropTargetContext): Implemented.
4499 (createDropTargetAutoScroller): Implemented.
4500 * java/awt/dnd/DropTargetContext.java
4501 (TransferableProxy.getTransferDataFlavors): Implemented.
4502 (TransferableProxy.isDataFlavorSupported): Implemented.
4503 (TransferableProxy.getTransferData): Implemented.
4504 (dropTarget): New member variable.
4505 (dtcp): New member variable.
4506 (DropTargetContext): New package private constructor.
4507 (getDropTarget): Implemented.
4508 (getComponent): Implemented.
4509 (addNotify): Implemented.
4510 (removeNotify): Implemented.
4511 (getCurrentDataFlavorsAsList): Implemented.
4512 (isDataFlavorSupported): Implemented.
4513 * java/awt/dnd/MouseDragGestureRecognizer.java
4514 (registerListeners): Implemented.
4515 (unregisterListeners): Implemented.
4516 * Makefile.am
4517 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4518 * Makefile.in: Regenerated.
4519
4520 2003-03-02 Michael Koch <konqueror@gmx.de>
4521
4522 * java/awt/Component.java
4523 (eventTypeEnabled): New method.
4524 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4525 * java/awt/Container.java
4526 (changeSupport): New member variable.
4527 (addPropertyChangeListener): New methods.
4528 * java/awt/ContainerOrderFocusTraversalPolicy.java
4529 (ContainerOrderFocusTraversalPolicy): Added comment.
4530 (getComponentAfter): Throw exception, documentation added.
4531 (getComponentBefore): Throw exception, documentation added.
4532 (getFirstComponent): Throw exception, documentation added.
4533 (getLastComponent): Throw exception, documentation added.
4534 (getDefaultComponent): Throw exception, documentation added.
4535 * java/awt/EventQueue.java: Reindented.
4536 * java/awt/FocusTraversalPolicy.java:
4537 (FocusTraversalPolicy): Added comment.
4538 (getComponentAfter): Documentation added.
4539 (getComponentBefore): Documentation added.
4540 (getFirstComponent): Documentation added.
4541 (getLastComponent): Documentation added.
4542 (getDefaultComponent): Documentation added.
4543 (getInitialComponent): Documentation added.
4544 * java/awt/ScrollPane.java
4545 (wheelScrollingEnabled): New member variable.
4546 (ScrollPane): Initialize wheelScollingEnabled.
4547 (eventTypeEnabled): New method.
4548 (isWheelScrollingEnabled): New method.
4549 (setWheelScrollingEnabled): New method.
4550
4551 2003-03-02 Michael Koch <konqueror@gmx.de>
4552
4553 * java/net/DatagramSocket.java
4554 (closed): New member variable.
4555 (close): Use closed variable.
4556 (getInetAddress): No need to call isConnected().
4557 (getPort): No need to call isConnected().
4558 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4559 (isClosed): Reimplemented.
4560
4561 2003-03-02 Michael Koch <konqueror@gmx.de>
4562
4563 * configure.in: Added check for memory mapping of files.
4564 * configure: Regenerated.
4565 * config.h.in: Regenerated.
4566
4567 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4568
4569 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4570 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4571
4572 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4573
4574 * java/io/File.java (normalizePath): Remove trailing separator
4575 on Windows only if path is not of the form "x:\".
4576
4577 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4578 (java::io::File::attr): Change formatting a bit and use
4579 WIN32_EPOCH_MILLIS instead of magic numbers.
4580 (java::io::File::isAbsolute): Path must have at least 3
4581 characters for a UNC network path.
4582 (java::io::File::init_native): Define.
4583 (java::io::File::performCreate): Likewise.
4584 (java::io::File::performSetReadOnly): Likewise.
4585 (java::io::File::performSetLastModified): Likewise.
4586 (java::io::File::performListRoots): Likewise.
4587
4588 2003-03-01 Tom Tromey <tromey@redhat.com>
4589
4590 * java/lang/natObject.cc: Don't include assert.h.
4591 (heavy_lock_obj_finalization_proc): Use JvAssert.
4592 (remove_all_heavy): Likewise.
4593 (_Jv_MonitorEnter): Likewise.
4594 (_Jv_MonitorExit): Likewise.
4595 (wait): Likewise.
4596
4597 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4598
4599 * java/io/File (getAbsolutePath): Prefix drive specifier on
4600 Windows for paths starting with a '\'.
4601 (toURL): Make URL more consistent with what Sun's JDK returns.
4602
4603 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4604 true only if the path is a UNC network path or it starts with a
4605 drive specifier.
4606
4607 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4608 Be prepared to handle either '/' or '\\' in the file path for
4609 Windows if using the "file" protocol.
4610 Canonicalise the file path if using a relative path in the given
4611 context and the "file" protocol.
4612
4613 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4614
4615 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4616 program array element passed to CreateProcess.
4617
4618 2003-03-01 Tom Tromey <tromey@redhat.com>
4619
4620 * java/rmi/registry/RegistryHandler.java: Deprecate.
4621
4622 2003-03-01 Tom Tromey <tromey@redhat.com>
4623
4624 * javax/accessibility/AccessibleEditableText.java,
4625 javax/accessibility/AccessibleHyperlink.java: New versions from
4626 Classpath.
4627
4628 * gnu/java/locale/LocaleInformation_af_ZA.java,
4629 gnu/java/locale/LocaleInformation_ar_AE.java,
4630 gnu/java/locale/LocaleInformation_ar_BH.java,
4631 gnu/java/locale/LocaleInformation_ar_DZ.java,
4632 gnu/java/locale/LocaleInformation_ar_EG.java,
4633 gnu/java/locale/LocaleInformation_ar_IN.java,
4634 gnu/java/locale/LocaleInformation_ar_IQ.java,
4635 gnu/java/locale/LocaleInformation_ar_JO.java,
4636 gnu/java/locale/LocaleInformation_ar_KW.java,
4637 gnu/java/locale/LocaleInformation_ar_LB.java,
4638 gnu/java/locale/LocaleInformation_ar_LY.java,
4639 gnu/java/locale/LocaleInformation_ar_MA.java,
4640 gnu/java/locale/LocaleInformation_ar_OM.java,
4641 gnu/java/locale/LocaleInformation_ar_QA.java,
4642 gnu/java/locale/LocaleInformation_ar_SD.java,
4643 gnu/java/locale/LocaleInformation_ar_SY.java,
4644 gnu/java/locale/LocaleInformation_ar_TN.java,
4645 gnu/java/locale/LocaleInformation_ar_YE.java,
4646 gnu/java/locale/LocaleInformation_be_BY.java,
4647 gnu/java/locale/LocaleInformation_bn_IN.java,
4648 gnu/java/locale/LocaleInformation_br_FR.java,
4649 gnu/java/locale/LocaleInformation_bs_BA.java,
4650 gnu/java/locale/LocaleInformation_ca_ES.java,
4651 gnu/java/locale/LocaleInformation_cs_CZ.java,
4652 gnu/java/locale/LocaleInformation_cy_GB.java,
4653 gnu/java/locale/LocaleInformation_da_DK.java,
4654 gnu/java/locale/LocaleInformation_de_AT.java,
4655 gnu/java/locale/LocaleInformation_de_BE.java,
4656 gnu/java/locale/LocaleInformation_de_CH.java,
4657 gnu/java/locale/LocaleInformation_de_DE.java,
4658 gnu/java/locale/LocaleInformation_de_LU.java,
4659 gnu/java/locale/LocaleInformation_el_GR.java,
4660 gnu/java/locale/LocaleInformation_en_AU.java,
4661 gnu/java/locale/LocaleInformation_en_BW.java,
4662 gnu/java/locale/LocaleInformation_en_CA.java,
4663 gnu/java/locale/LocaleInformation_en_DK.java,
4664 gnu/java/locale/LocaleInformation_en_GB.java,
4665 gnu/java/locale/LocaleInformation_en_HK.java,
4666 gnu/java/locale/LocaleInformation_en_IE.java,
4667 gnu/java/locale/LocaleInformation_en_IN.java,
4668 gnu/java/locale/LocaleInformation_en_NZ.java,
4669 gnu/java/locale/LocaleInformation_en_PH.java,
4670 gnu/java/locale/LocaleInformation_en_SG.java,
4671 gnu/java/locale/LocaleInformation_en_US.java,
4672 gnu/java/locale/LocaleInformation_en_ZA.java,
4673 gnu/java/locale/LocaleInformation_en_ZW.java,
4674 gnu/java/locale/LocaleInformation_es_AR.java,
4675 gnu/java/locale/LocaleInformation_es_BO.java,
4676 gnu/java/locale/LocaleInformation_es_CL.java,
4677 gnu/java/locale/LocaleInformation_es_CO.java,
4678 gnu/java/locale/LocaleInformation_es_CR.java,
4679 gnu/java/locale/LocaleInformation_es_DO.java,
4680 gnu/java/locale/LocaleInformation_es_EC.java,
4681 gnu/java/locale/LocaleInformation_es_ES.java,
4682 gnu/java/locale/LocaleInformation_es_GT.java,
4683 gnu/java/locale/LocaleInformation_es_HN.java,
4684 gnu/java/locale/LocaleInformation_es_MX.java,
4685 gnu/java/locale/LocaleInformation_es_NI.java,
4686 gnu/java/locale/LocaleInformation_es_PA.java,
4687 gnu/java/locale/LocaleInformation_es_PE.java,
4688 gnu/java/locale/LocaleInformation_es_PR.java,
4689 gnu/java/locale/LocaleInformation_es_PY.java,
4690 gnu/java/locale/LocaleInformation_es_SV.java,
4691 gnu/java/locale/LocaleInformation_es_US.java,
4692 gnu/java/locale/LocaleInformation_es_UY.java,
4693 gnu/java/locale/LocaleInformation_es_VE.java,
4694 gnu/java/locale/LocaleInformation_et_EE.java,
4695 gnu/java/locale/LocaleInformation_eu_ES.java,
4696 gnu/java/locale/LocaleInformation_fa_IR.java,
4697 gnu/java/locale/LocaleInformation_fi_FI.java,
4698 gnu/java/locale/LocaleInformation_fo_FO.java,
4699 gnu/java/locale/LocaleInformation_fr_BE.java,
4700 gnu/java/locale/LocaleInformation_fr_CA.java,
4701 gnu/java/locale/LocaleInformation_fr_CH.java,
4702 gnu/java/locale/LocaleInformation_fr_FR.java,
4703 gnu/java/locale/LocaleInformation_fr_LU.java,
4704 gnu/java/locale/LocaleInformation_ga_IE.java,
4705 gnu/java/locale/LocaleInformation_gd_GB.java,
4706 gnu/java/locale/LocaleInformation_gl_ES.java,
4707 gnu/java/locale/LocaleInformation_gv_GB.java,
4708 gnu/java/locale/LocaleInformation_he_IL.java,
4709 gnu/java/locale/LocaleInformation_hi_IN.java,
4710 gnu/java/locale/LocaleInformation_hr_HR.java,
4711 gnu/java/locale/LocaleInformation_hu_HU.java,
4712 gnu/java/locale/LocaleInformation_id_ID.java,
4713 gnu/java/locale/LocaleInformation_it_CH.java,
4714 gnu/java/locale/LocaleInformation_it_IT.java,
4715 gnu/java/locale/LocaleInformation_iw_IL.java,
4716 gnu/java/locale/LocaleInformation_ja_JP.java,
4717 gnu/java/locale/LocaleInformation_ka_GE.java,
4718 gnu/java/locale/LocaleInformation_kl_GL.java,
4719 gnu/java/locale/LocaleInformation_ko_KR.java,
4720 gnu/java/locale/LocaleInformation_kw_GB.java,
4721 gnu/java/locale/LocaleInformation_lt_LT.java,
4722 gnu/java/locale/LocaleInformation_lv_LV.java,
4723 gnu/java/locale/LocaleInformation_mi_NZ.java,
4724 gnu/java/locale/LocaleInformation_mk_MK.java,
4725 gnu/java/locale/LocaleInformation_mr_IN.java,
4726 gnu/java/locale/LocaleInformation_mt_MT.java,
4727 gnu/java/locale/LocaleInformation_nl_BE.java,
4728 gnu/java/locale/LocaleInformation_nl_NL.java,
4729 gnu/java/locale/LocaleInformation_nn_NO.java,
4730 gnu/java/locale/LocaleInformation_no_NO.java,
4731 gnu/java/locale/LocaleInformation_oc_FR.java,
4732 gnu/java/locale/LocaleInformation_pl_PL.java,
4733 gnu/java/locale/LocaleInformation_pt_BR.java,
4734 gnu/java/locale/LocaleInformation_pt_PT.java,
4735 gnu/java/locale/LocaleInformation_ro_RO.java,
4736 gnu/java/locale/LocaleInformation_ru_RU.java,
4737 gnu/java/locale/LocaleInformation_ru_UA.java,
4738 gnu/java/locale/LocaleInformation_se_NO.java,
4739 gnu/java/locale/LocaleInformation_sk_SK.java,
4740 gnu/java/locale/LocaleInformation_sl_SI.java,
4741 gnu/java/locale/LocaleInformation_sq_AL.java,
4742 gnu/java/locale/LocaleInformation_sr_YU.java,
4743 gnu/java/locale/LocaleInformation_sv_FI.java,
4744 gnu/java/locale/LocaleInformation_sv_SE.java,
4745 gnu/java/locale/LocaleInformation_ta_IN.java,
4746 gnu/java/locale/LocaleInformation_te_IN.java,
4747 gnu/java/locale/LocaleInformation_tg_TJ.java,
4748 gnu/java/locale/LocaleInformation_tl_PH.java,
4749 gnu/java/locale/LocaleInformation_tr_TR.java,
4750 gnu/java/locale/LocaleInformation_uk_UA.java,
4751 gnu/java/locale/LocaleInformation_ur_PK.java,
4752 gnu/java/locale/LocaleInformation_uz_UZ.java,
4753 gnu/java/locale/LocaleInformation_vi_VN.java,
4754 gnu/java/locale/LocaleInformation_yi_US.java,
4755 gnu/java/locale/LocaleInformation_zh_CN.java,
4756 gnu/java/locale/LocaleInformation_zh_HK.java,
4757 gnu/java/locale/LocaleInformation_zh_SG.java,
4758 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4759 info; from Classpath.
4760
4761 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4762 isPaintPending): New methods.
4763 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4764 setMaximizedBounds): New methods.
4765 (beginLayout, endLayout, isPaintPending): Likewise.
4766 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4767 (requestFocus): Likewise.
4768 (isObscured): Likewise.
4769 (canDetermineObscurity): Likewise.
4770 (coalescePaintEvent): Likewise.
4771 (updateCursorImmediately): Likewise.
4772 (createVolatileImage): Likewise.
4773 (handlesWheelScrolling): Likewise.
4774 (createBuffers): Likewise.
4775 (getBackBuffer): Likewise.
4776 (flip): Likewise.
4777 (destroyBuffers): Likewise.
4778
4779 * Makefile.in: Rebuilt.
4780 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4781 RobotPeer.java.
4782 * gnu/java/awt/GLightweightPeer.java,
4783 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4784 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4785 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4786 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4787 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4788 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4789 java/awt/dnd/peer/DragSourceContextPeer.java,
4790 java/awt/dnd/peer/DropTargetContextPeer.java,
4791 java/awt/peer/ButtonPeer.java,
4792 java/awt/peer/CheckboxMenuItemPeer.java,
4793 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4794 java/awt/peer/ComponentPeer.java,
4795 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4796 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4797 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4798 java/awt/peer/MenuBarPeer.java,
4799 java/awt/peer/MenuComponentPeer.java,
4800 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4801 java/awt/peer/PopupMenuPeer.java,
4802 java/awt/peer/ScrollPanePeer.java,
4803 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4804 java/awt/peer/TextComponentPeer.java,
4805 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4806 New versions from Classpath.
4807 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4808 * java/awt/peer/RobotPeer.java: Likewise.
4809
4810 2003-03-01 Mark Wielaard <mark@klomp.org>
4811
4812 * java/io/ObjectInputStream.java: Reindent.
4813 * java/io/ObjectOutputStream.java: Likewise.
4814
4815 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4816
4817 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4818 jvalue for each argument. Simplify.
4819 * testsuite/libjava.jni/calls.c (docall),
4820 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4821 misalignment.
4822
4823 2003-02-28 Mark Wielaard <mark@klomp.org>
4824
4825 * Makefile.am (nat_source_files): Remove
4826 java/io/natObjectOutputStream.cc.
4827 * Makefile.in: Regenerated.
4828 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4829 * java/io/ObjectStreamField.java (typename): New field.
4830 (ObjectStreamField(String, Class)): Initialize new field.
4831 (ObjectStreamField(String, String)): New Constructor.
4832 (getTypeCode): Use new field.
4833 (getTypeString): Use new field.
4834 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4835 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4836 Handle reading of Proxy classes. Never drain(), just write
4837 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4838 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4839 (flush): Call flush(), not just drain().
4840 (writeBoolean): Always use blockDataOutput.
4841 (writeByte): Likewise.
4842 (writeShort): Likewise.
4843 (writeChar): Likewise.
4844 (writeInt): Likewise.
4845 (writeLong): Likewise.
4846 (writeFloat): Likewise.
4847 (writeDouble): Likewise.
4848 (writeBytes): Likewise.
4849 (putfield (put(String,Object))): Throw IllegalArgumentException if
4850 field cannot be found.
4851 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4852 (writeArraySizeAndElements): Write byte[] in one go.
4853 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4854 set BlockDataMode to false.
4855 (annotateProxyClass): New method.
4856 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4857 (getField): No longer native.
4858 (getMethod): Likewise.
4859 (setBlockDataMode): Always drain() on switch, return old mode.
4860 (static): New static code block.
4861 * java/io/natObjectOutputStream.cc: Removed.
4862 * java/io/ObjectInputStream.java (getField): No longer native.
4863 (getMethod): Likewise.
4864 (readObject): Remember and reset old BlockDataMode. Track whether
4865 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4866 TC_LONGSTRING.
4867 (defaultReadObject): Set BlockDataMode to false during readFields.
4868 (resolveClass): Create new SecurityManager if necessary.
4869 Use Class.forName() if null ClassLoader found.
4870 (read(byte[],int,int): Copy remaining bytes to data before calling
4871 readNextBlock().
4872 (readFields): Set and reset BlockDataMode on call_read_method.
4873 Catch NoSuchFieldErrors.
4874 (setBlockDataMode): Return old mode.
4875 (static): New static code block.
4876 * java/io/natObjectInputStream.cc (getField): Removed.
4877 (getMethod): Likewise.
4878
4879 2003-02-27 Michael Koch <konqueror@gmx.de>
4880
4881 * java/beans/Beans.java,
4882 java/beans/FeatureDescriptor.java
4883 java/beans/PropertyEditorManager.java:
4884 Reformated to GNU style.
4885
4886 2003-02-25 Michael Koch <konqueror@gmx.de>
4887
4888 * gnu/java/nio/MappedByteFileBuffer.java,
4889 gnu/java/nio/natMappedByteFileBuffer.cc:
4890 New files, both are not compiled yet to get not noncompiling CVS.
4891
4892 2003-02-24 Tom Tromey <tromey@redhat.com>
4893
4894 * java/util/prefs/AbstractPreferences.java (isUserNode):
4895 Implemented.
4896
4897 2003-02-24 Tom Tromey <tromey@redhat.com>
4898
4899 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4900 Deprecate.
4901 * java/lang/Thread.java (resume): Deprecate.
4902 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4903 in @deprecated.
4904
4905 2003-02-23 Tom Tromey <tromey@redhat.com>
4906
4907 * Makefile.in: Rebuilt.
4908 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4909
4910 2003-02-23 Tom Tromey <tromey@redhat.com>
4911
4912 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4913 libraries): Removed.
4914 (add_library): Removed.
4915 (_load): Don't call add_library.
4916 (loadLibraryInternal): Likewise.
4917 (init): Likewise.
4918 (lookup_data): New struct.
4919 (find_symbol): New function.
4920 (_Jv_FindSymbolInExecutable): Use it.
4921
4922 2002-02-21 Anthony Green <green@redhat.com>
4923
4924 * java/lang/Thread.java (Thread): New constructor taking stack
4925 size parameter (ignored for now).
4926 * Many methods: Merged GNU Classpath documentation.
4927
4928 * java/lang/Class.java (finalize): throws a Throwable.
4929
4930 2003-02-21 Mark Wielaard <mark@klomp.org>
4931
4932 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4933 argument is null.
4934
4935 2003-02-21 Mark Wielaard <mark@klomp.org>
4936
4937 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4938 then 65535 chars throw IllegalArgumentException.
4939
4940 2003-02-21 Mark Wielaard <mark@klomp.org>
4941
4942 * java/util/zip/ZipFile.java (finalize): New method.
4943
4944 2003-02-21 Michael Koch <konqueror@gmx.de>
4945
4946 * gnu/java/nio/natSocketChannelImpl.cc:
4947 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4948 <cato@df.lth.se> for pointing to it.
4949
4950 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4951
4952 * java/math/BigInteger.java (euclidInv): Take result array as an
4953 argument. Updated all callers.
4954 (modInverse): Removed unused variables.
4955
4956 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4957
4958 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4959 config.status.
4960 * configure: Rebuilt.
4961
4962 2003-02-19 Michael Koch <konqueror@gmx.de>
4963
4964 * gnu/java/nio/natSocketChannelImpl.cc:
4965 Added support for platforms without network support.
4966
4967 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4968
4969 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4970 after config.h. Use <> for consistency.
4971 * java/lang/natObject.cc: Likewise.
4972 * java/lang/natRuntime.cc: Likewise.
4973 * java/lang/natSystem.cc: Likewise.
4974 * java/util/natTimeZone.cc: Likewise.
4975 * win32.cc: Likewise.
4976 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4977 listen, write, read): Undef to avoid interference from OS macros.
4978
4979 2003-02-19 Michael Koch <konqueror@gmx.de>
4980
4981 * gnu/java/nio/ByteBufferImpl.java
4982 (ByteBufferImpl): Renamed two variables.
4983 * gnu/java/nio/CharBufferImpl.java
4984 (CharBufferImpl): Renamed two variables.
4985 * gnu/java/nio/DoubleBufferImpl.java
4986 (DoubleBufferImpl): Renamed two variables.
4987 * gnu/java/nio/FloatBufferImpl.java
4988 (FloatBufferImpl): Renamed two variables.
4989 * gnu/java/nio/IntBufferImpl.java
4990 (IntBufferImpl): Renamed two variables.
4991 * gnu/java/nio/LongBufferImpl.java
4992 (LongBufferImpl): Renamed two variables.
4993 * gnu/java/nio/ShortBufferImpl.java
4994 (ShortBufferImpl): Renamed two variables.
4995 * java/nio/CharBuffer.java
4996 (wrap): Fixed arguments to CharBufferImpl constructor.
4997 (hasArray): Only not read-only buffers have backing arrays.
4998 (length): Documentation added.
4999 (subSequence): Documentation added.
5000 * java/nio/DoubleBuffer.java
5001 (hasArray): Only not read-only buffers have backing arrays.
5002 * java/nio/FloatBuffer.java
5003 (hasArray): Only not read-only buffers have backing arrays.
5004 * java/nio/IntBuffer.java
5005 (hasArray): Only not read-only buffers have backing arrays.
5006 * java/nio/LongBuffer.java
5007 (hasArray): Only not read-only buffers have backing arrays.
5008 * java/nio/ShortBuffer.java
5009 (hasArray): Only not read-only buffers have backing arrays.
5010
5011 2003-02-19 Michael Koch <konqueror@gmx.de>
5012
5013 * javax/accessibility/AccessibleContext.java
5014 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5015
5016 2003-02-19 Michael Koch <konqueror@gmx.de>
5017
5018 * java/awt/ScrollPaneAdjustable.java: Reformated.
5019
5020 2003-02-19 Michael Koch <konqueror@gmx.de>
5021
5022 * gnu/awt/j2d/Graphics2DImpl.java
5023 (getFontRenderContext): New method.
5024 (drawGlyphVector): New method.
5025 * java/awt/Graphics2D.java
5026 (getFontRenderContext): New abstract method.
5027 (drawGlyphVector): New abstract method.
5028
5029 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
5030
5031 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5032 if necessary.
5033
5034 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5035 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5036 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5037 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5038 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5039 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5040 (setFont, gtkSetFont): add.
5041 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5042 Propagate font to peer. (setFont): add FIXME comment.
5043
5044 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5045 (gtkTextGetSize): fix height, width computation.
5046
5047 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5048 Make X font name a bit less bogus.
5049
5050 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5051 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5052
5053 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5054 (processAdjustmentEvent): Adjust value.
5055
5056 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5057 logic errors.
5058
5059 * java/awt/Component.java (setVisible, show, hide): Call show and
5060 hide methods in subclasses.
5061 (getPreferredSize): don't set prefSize before we have peer.
5062
5063 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5064 Guess (0,0) if we don't have peer.
5065
5066
5067 2003-02-18 Michael Koch <konqueror@gmx.de>
5068
5069 * java/nio/channels/FileChannel.java
5070 (toString): New implementation, added documentation.
5071 (map): Added exception documentation.
5072 (size): Added exception documentation.
5073 (write): New methods, documentation work.
5074 (read): New methods, documentation work.
5075 (implCloseChannel): Rewrote exception documentation.
5076 (force): Throws IOException, added documentation.
5077 (lock): New methods.
5078 (tryLock): New methods.
5079 (position): New methods.
5080 (transferTo): New method.
5081 (transferFrom): New method.
5082 (truncate): New method.
5083 * java/nio/channels/spi/SelectorProvider.java
5084 (provider): Implemented.
5085 * Makefile.am
5086 (ordinary_java_source_files): Added the following files:
5087 gnu/java/nio/DatagramChannelImpl.java
5088 gnu/java/nio/FileChannelImpl.java
5089 gnu/java/nio/PipeImpl.java
5090 gnu/java/nio/SelectionKeyImpl.java
5091 gnu/java/nio/SelectorImpl.java
5092 gnu/java/nio/SelectorProviderImpl.java
5093 gnu/java/nio/ServerSocketChannelImpl.java
5094 gnu/java/nio/SocketChannelImpl.java
5095 java/nio/channels/FileLock.java
5096 (nat_java_source_files): Added the following files:
5097 gnu/java/nio/natFileChannelImpl.cc
5098 gnu/java/nio/natSelectorImpl.cc
5099 gnu/java/nio/natSocketChannelImpl.cc
5100 * Makefile.in: Regenerated.
5101
5102 2003-02-17 Tom Tromey <tromey@redhat.com>
5103
5104 * java/awt/image/ColorModel.java: Re-merged with Classpath.
5105 * java/awt/image/ImageFilter.java: Likewise.
5106
5107 2003-02-17 Raif S. Naffah <raif@fl.net.au>
5108
5109 * java/math/BigInteger.java (euclidInv): Return array of
5110 `BigInteger's. Changed all callers.
5111
5112 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
5113
5114 * java/util/Properties.java (store): Move the code formerly in
5115 list(), into this method.
5116 (list (PrintStream)): Just call list (PrintWriter) with a
5117 PrintWriter object constructed from the given PrintStream object.
5118 (list (PrintWriter)): Emulate the output of Properties.list()
5119 as found in JDK 1.3/1.4.
5120
5121 2003-02-17 Michael Koch <konqueror@gmx.de>
5122
5123 * java/net/DatagramSocket.java
5124 (connect): Merged with classpath.
5125 (disconnect): Merged documentation with classpath.
5126 (receice): Merged documentation with classpath.
5127 (send): Merged documentation with classpath.
5128
5129 2003-02-17 Michael Koch <konqueror@gmx.de>
5130
5131 * java/awt/dnd/DragSourceContext.java
5132 (addDragSourceListener): Added documentation.
5133 * java/awt/dnd/DragSourceDragEvent.java
5134 (serialVersionUID): New member variable.
5135 (getDropAction): Reformated.
5136 * java/awt/dnd/DragSourceDropEvent.java
5137 (serialVersionUID): New member variable.
5138 (dropSuccess): Renamed from success for serialization issues.
5139 * java/awt/dnd/DragSourceEvent.java
5140 (serialVersionUID): New member variable.
5141 * java/awt/dnd/DropTarget.java
5142 (serialVersionUID): New member variable.
5143 (DropTarget): Implemented, documentation reworked.
5144 (setComponent): Documentation added.
5145 (getComponent): Documentation added.
5146 (setDefaultActions): Documentation added.
5147 (getDefaultActions): Documentation added.
5148 (addDropTargetListener): Documentation added.
5149 * java/awt/dnd/DropTargetContext.java
5150 (DropTargetContext): Documentation added.
5151 (TransferableProxy.TransferableProxy): New method.
5152 (dropComplete): Fixed documentation.
5153 (getTransferable): Fixed documentation.
5154 (createTransferableProxy): Implemented.
5155 * java/awt/dnd/DropTargetDragEvent.java
5156 (DropTargetDragEvent): Documentation added.
5157 (serialVersionUID): New member variable.
5158 (DropTargetDragEvent): Throw exceptions, documentation added.
5159 (acceptDrag): Implemented.
5160 (getCurrentDataFlavors): Implemented.3yy
5161 (getCurrentDataFlavorsAsList): Implemented.
5162 (isDataFlavorSupported): Implemented.
5163 (rejectDrag): Implemented.
5164 * java/awt/dnd/DropTargetDropEvent.java
5165 (DropTargetDropEvent): Documentation added.
5166 (serialVersionUID): New member variable.
5167 (actions): Renamed from srcActions for serialization issues.
5168 (isLocalTx): Renamed from isLocalTx for serialization issues.
5169 (DropTargetDropEvent): New implementation, throw exceptions,
5170 documentation added.
5171 (getCurrentDataFlavors): Implemented.
5172 (getCurrentDataFlavorsAsList): Implemented.
5173 (isDataFlavorSupported): Implemented.
5174 (getSourceActions): Implemented.
5175 (getDropAction): Implemented.
5176 (getTransferable): Implemented.
5177 (acceptDrop): Implemented.
5178 (rejectDrop): Implemented.
5179 * java/awt/dnd/DropTargetListener.java
5180 (drop): Fixed documentation.
5181 * java/awt/dnd/MouseDragGestureRecognizer.java
5182 (MouseDragGestureRecognizer): Documentation added.
5183
5184 2003-02-17 Michael Koch <konqueror@gmx.de>
5185
5186 * java/awt/font/FontRenderContext.java,
5187 java/awt/font/ShapeGraphicAttribute.java,
5188 java/awt/font/MultipleMaster.java,
5189 java/awt/font/TransformAttribute.java,
5190 java/awt/font/GlyphJustificationInfo.java,
5191 java/awt/font/LineBreakMeasurer.java,
5192 java/awt/font/TextMeasurer.java,
5193 java/awt/font/TextLayout.java,
5194 java/awt/font/LineMetrics.java,
5195 java/awt/font/TextAttribute.java,
5196 java/awt/font/GlyphMetrics.java,
5197 java/awt/font/OpenType.java,
5198 java/awt/font/GlyphVector.java,
5199 java/awt/font/GraphicAttribute.java,
5200 java/awt/font/ImageGraphicAttribute.java,
5201 java/awt/font/NumericShaper.java: New files.
5202 * Makefile.am
5203 (awt_java_source_files): Added the following files:
5204 java/awt/font/FontRenderContext.java
5205 java/awt/font/ShapeGraphicAttribute.java
5206 java/awt/font/MultipleMaster.java
5207 java/awt/font/TransformAttribute.java
5208 java/awt/font/GlyphJustificationInfo.java
5209 java/awt/font/LineBreakMeasurer.java
5210 java/awt/font/TextMeasurer.java
5211 java/awt/font/TextLayout.java
5212 java/awt/font/LineMetrics.java
5213 java/awt/font/TextAttribute.java
5214 java/awt/font/GlyphMetrics.java
5215 java/awt/font/OpenType.java
5216 java/awt/font/GlyphVector.java
5217 java/awt/font/GraphicAttribute.java
5218 java/awt/font/ImageGraphicAttribute.java
5219 java/awt/font/NumericShaper.java
5220 * Makefile.in: Regenerated.
5221
5222 2003-02-17 Michael Koch <konqueror@gmx.de>
5223
5224 * java/awt/print/Paper.java
5225 (Paper): Implements Cloneable.
5226 * java/awt/print/PrinterJob.java
5227 (setJobName): Return value must be void.
5228 (print): Throws PrinterException.
5229
5230 2003-02-16 Tom Tromey <tromey@redhat.com>
5231
5232 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5233 variable.
5234
5235 2003-02-15 Michael Koch <konqueror@gmx.de>
5236
5237 * java/awt/datatransfer/DataFlavor.java
5238 (isRepresentationClassByteBuffer): Removed try-catch block.
5239 (isRepresentationClassCharBuffer): Removed try-catch block.
5240 (isRepresentationClassReader): Removed try-catch block.
5241
5242 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5243
5244 * java/nio/charset/Charset.java
5245 (isRegistered): Fixed method args and implementation.
5246 * java/nio/charset/CharsetEncoder.java
5247 (unmappableCharacterAction): New method.
5248
5249 2003-02-15 Michael Koch <konqueror@gmx.de>
5250
5251 * java/awt/CheckboxMenuItem.java
5252 (CheckBoxMenuItem): Dont implement Serializable.
5253 (getListeners): New method,
5254 (getItemListeners): New method.
5255 * java/awt/Choice.java
5256 (getListeners): New method,
5257 (getItemListeners): New method.
5258 * java/awt/Container.java
5259 (getListeners): Added exception documentation.
5260 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5261 (getFocusTraversalKeys): Added documentation.
5262 (areFocusTraversalKeysSet): Added documentation.
5263 (applyComponentOrientation): Added documentation.
5264 * java/awt/ContainerOrderFocusTraversalPolicy.java
5265 (implicitDownCycleTraversal): Renamed from downCycle for
5266 serialization.
5267 (ContainerOrderFocusTraversalPolicy): Added documentation.
5268 (accept): Reformated.
5269 * java/awt/Dialog.java
5270 (Dialog): Dont implement Serializable.
5271 (Dialog): Added documentation.
5272 * java/awt/Font.java
5273 (Font): Dont use absolute class name.
5274 * java/awt/Frame.java
5275 (Frame): Font implement Serializable.
5276 * java/awt/List.java
5277 (getListeners): New method,
5278 (getActionListeners): New method.
5279 (getItemListeners): New method.
5280 * java/awt/Menu.java
5281 (countItems): New deprecated method.
5282 * java/awt/Scrollbar.java
5283 (getListeners): New method,
5284 (getAdjustmentListeners): New method,
5285 * java/awt/TextComponent.java
5286 (getListeners): New method,
5287 (getTextListeners): New method,
5288 * java/awt/TextField.java
5289 (getListeners): New method,
5290 (getActionListeners): New method.
5291 * java/awt/Window.java
5292 (windowFocusListener): New member variable.
5293 (windowStateListener): New member variable.
5294 (getWindowFocusListeners): New method.
5295 (getWindowStateListeners): New method.
5296 (addWindowFocusListener): New method.
5297 (addWindowStateListener): New method.
5298 (removeWindowFocusListener): New method.
5299 (removeWindowStateListener): New method.
5300 * java/awt/datatransfer/DataFlavor.java
5301 (isRepresentationClassByteBuffer): New method.
5302 (isRepresentationClassCharBuffer): New method.
5303 (isRepresentationClassReader): New method.
5304
5305 2003-02-14 Mark Wielaard <mark@klomp.org>
5306
5307 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5308 zero when there is an exponent and the significant is zero.
5309 (divide): Always set scale to newScale even in special ZERO case.
5310
5311 2003-02-14 Tom Tromey <tromey@redhat.com>
5312
5313 * java/lang/System.java (properties): Use Properties.clone.
5314 (setProperties): Likewise.
5315
5316 2003-02-14 Michael Koch <konqueror@gmx.de>
5317
5318 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5319 * gnu/java/nio/ServerSocketChannelImpl.java
5320 (SocketAccept): Removed.
5321 (accept): Commented out use of SocketAccept.
5322
5323 2003-02-13 Tom Tromey <tromey@redhat.com>
5324
5325 * verify.cc (state::seen_subrs): New field.
5326 (state::state): Initialize it.
5327 (state::clean_subrs): New method.
5328 (state::~state): Call it.
5329 (state::copy): Copy subroutine list.
5330 (state::add_subr): New method.
5331 (state::merge): Only register a change if the current subroutine
5332 hasn't yet been noted.
5333
5334 2003-02-13 Mark Wielaard <mark@klomp.org>
5335
5336 * java/io/InputStreamReader.java (getEncoding): Return null when
5337 closed.
5338 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5339
5340 2003-02-13 Mark Wielaard <mark@klomp.org>
5341
5342 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5343 is zero.
5344
5345 2003-02-13 Mark Wielaard <mark@klomp.org>
5346
5347 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5348 next byte cannot be buffered.
5349
5350 2003-02-13 Michael Koch <konqueror@gmx.de>
5351
5352 * java/awt/Label.java
5353 (Label): Don't implement Serializable directly.
5354 (addNotify): Fixed typo in documentation.
5355 * java/awt/List.java
5356 (List): Don't implement Serializable directly.
5357 * java/awt/PopupMenu.java
5358 (PopupMenu): Don't implement Serializable directly.
5359 * java/awt/ScrollPane.java
5360 (ScrollPane): Don't implement Serializable directly.
5361 * java/awt/Scrollbar.java
5362 (Scrollbar): Don't implement Serializable directly.
5363 * java/awt/TextArea.java
5364 (preferredSize): Fixed method arguments.
5365 * java/awt/TextField.java
5366 (TextField): Don't implement Serializable directly.
5367 * java/awt/color/ICC_ColorSpace.java
5368 (fromCIOXYZ): Documentation added.
5369 (getMinValue): Documentation added.
5370 (getMaxValue): Documentation added.
5371 * java/awt/datatransfer/DataFlavor.java
5372 (isMimeTypeEqual): May not be final.
5373 (clone): Throws CloneNotSupportedException.
5374 (getReaderForText): Don't throws UnsupportedEncodingException.
5375
5376 2003-02-13 Michael Koch <konqueror@gmx.de>
5377
5378 * gnu/java/awt/peer/gtk/GdkGraphics.java
5379 (drawString): New stubbed method.
5380 * java/awt/Graphics.java
5381 (drawString): New method.
5382
5383 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5384
5385 PR libgcj/9271:
5386 * java/security/SecureRandom.java (next): Avoid bias in results.
5387
5388 2003-02-13 Michael <konqueror@gmx.de>
5389
5390 * gnu/java/nio/FileChannelImpl.java
5391 (lengthInternal): Must be native.
5392 (size): Check if channel is already closed.
5393 (implCloseChannel): Reformated.
5394 (read): w was unused, removed it.
5395 (read): Removed.
5396 (read): New method.
5397 (write): New method.
5398 (map): Check arguments.
5399 (force): Throws IOException, check if channel is closed.
5400 (transferTo): New method.
5401 (transferFrom): New method.
5402 (lock): New method.
5403 (tryLock): New method.
5404 (position): New method.
5405 (truncate): New method.
5406 (nio_mmap_file): Uncommented.
5407 (nio_munmap_file): Uncommented.
5408 (nio_msync): Uncommented.
5409 * gnu/java/nio/natFileChannelImpl.cc: New file.
5410
5411 2003-02-13 Michael Koch <konqueror@gmx.de>
5412
5413 * java/nio/ByteBuffer.java
5414 (endian): New member variable.
5415 (get): New methods.
5416 (equals): New method.
5417 (compareTo): New method.
5418 (order): New methods.
5419 (compact): New method.
5420 (isDirect): New method.
5421 (slice): New method.
5422 (duplicate): New method.
5423 (asReadOnlyBuffer): New method.
5424 (asCharBuffer): New method.
5425 (asDoubleBuffer): New method.
5426 (asFloatBuffer): New method.
5427 (asIntBuffer): New method.
5428 (asLongBuffer): New method.
5429 (asShortBuffer): New method.
5430 (get*): New methods.
5431 (put*): New methods.
5432 (toString): New method.
5433 * java/nio/CharBuffer.java
5434 (CharBuffer): Implement Comparable instead of Cloneable.
5435 (get): May not be final.
5436 (put): May not be final.
5437
5438 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5439
5440 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5441 lastIndexOf( ) instead of indexOf( ) to find the colon before
5442 the line number, because Win32 file names might contain a
5443 drive letter and a colon at the start of an absolute path.
5444
5445 2003-02-13 Michael Koch <konqueror@gmx.de>
5446
5447 * gnu/java/nio/natSocketChannelImpl.cc
5448 (SocketConnect): This is not implemented yet.
5449 (SocketBind): This is not implemented yet.
5450
5451 2003-02-13 Michael Koch <konqueror@gmx.de>
5452
5453 * gnu/java/nio/natByteBufferImpl.cc,
5454 gnu/java/nio/natCharBufferImpl.cc,
5455 gnu/java/nio/natDoubleBufferImpl.cc,
5456 gnu/java/nio/natFloatBufferImpl.cc,
5457 gnu/java/nio/natIntBufferImpl.cc,
5458 gnu/java/nio/natLongBufferImpl.cc,
5459 gnu/java/nio/natShortBufferImpl.cc:
5460 Added copyright and license.
5461 * java/nio/DoubleBuffer.java,
5462 java/nio/FloatBuffer.java,
5463 java/nio/IntBuffer.java,
5464 java/nio/LongBuffer.java,
5465 java/nio/ShortBuffer.java
5466 (array): Throw exceptions.
5467 (arrayOffset): Throw exceptions.
5468
5469 2003-02-13 Michael Koch <konqueror@gmx.de>
5470
5471 * gnu/java/util/prefs/FileBasedFactory.java,
5472 gnu/java/util/prefs/MemmoryBasedFactory.java,
5473 gnu/java/util/prefs/MemoryBasedPreferences.java,
5474 gnu/java/util/prefs/NodeReader.java,
5475 gnu/java/util/prefs/NodeWriter.java,
5476 java/util/prefs/AbstractPreferences.java,
5477 java/util/prefs/BackingStoreException.java,
5478 java/util/prefs/InvalidPreferencesFormatException.java,
5479 java/util/prefs/NodeChangeEvent.java,
5480 java/util/prefs/NodeChangeListener.java,
5481 java/util/prefs/PreferenceChangeEvent.java,
5482 java/util/prefs/PreferenceChangeListener.java,
5483 java/util/prefs/Preferences.java,
5484 java/util/prefs/PreferencesFactory.java:
5485 New files, all merged from classpath.
5486 * Makefile.am
5487 (ordinary_java_source_files): Added the following files:
5488 gnu/java/util/prefs/FileBasedFactory.java,
5489 gnu/java/util/prefs/MemmoryBasedFactory.java,
5490 gnu/java/util/prefs/MemoryBasedPreferences.java,
5491 gnu/java/util/prefs/NodeReader.java,
5492 gnu/java/util/prefs/NodeWriter.java,
5493 (core_java_source_files): Added the following files:
5494 java/util/prefs/AbstractPreferences.java,
5495 java/util/prefs/BackingStoreException.java,
5496 java/util/prefs/InvalidPreferencesFormatException.java,
5497 java/util/prefs/NodeChangeEvent.java,
5498 java/util/prefs/NodeChangeListener.java,
5499 java/util/prefs/PreferenceChangeEvent.java,
5500 java/util/prefs/PreferenceChangeListener.java,
5501 java/util/prefs/Preferences.java,
5502 java/util/prefs/PreferencesFactory.java
5503 * Makefile.in: Regenerated.
5504
5505 2003-02-13 Michael Koch <konqueror@gmx.de>
5506
5507 * java/net/NetPermission.java
5508 (NetPermission): Make doucmentation match the method declaration.
5509 * java/net/NetworkInterface.java
5510 (equals): Reformated for GNU coding style.
5511 * java/net/ServerSocket.java: Merged with classpath.
5512 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5513 * java/net/SocketImpl.java
5514 (localPort): Merged with classpath (initialize with -1).
5515 * java/net/SocketPermission.java: Merged with classpath (reindented).
5516 * java/net/URLDecoder.java: Merged with classpath (reindented).
5517
5518 2003-02-13 Michael Koch <konqueror@gmx.de>
5519
5520 * java/awt/GridBagConstraints.java
5521 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5522 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5523 * java/awt/KeyboardFocusManager.java
5524 (setGlobalCurrentFocusCycleRoot): Must be public.
5525 * java/awt/MenuComponent.java
5526 (MenuComponent): Must be public.
5527 * java/awt/Toolkit.java:
5528 Added some empty lines to make documentation more readable.
5529 (getFontPeer): Added @deprecated.
5530 (getColorModel): Added exception documentation.
5531 (getProperty): Fixed documentation.
5532
5533 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5534
5535 * configure.host (alpha*-*): Default to -mieee.
5536 * configure.in (IEEESPEC): New.
5537 * libgcj.spec.in (jc1): Add IEEESPEC.
5538 * configure: Rebuild.
5539
5540 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5541
5542 * include/win32.h: Include ws2tcpip.h instead of
5543 winsock.h to obtain definition of the socklen_t type.
5544 Remove IP_TOS definition - not needed with ws2tcpip.h
5545 (_Jv_connect): Correct slight formatting error.
5546
5547 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5548
5549 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5550 size of the arguments for a JNI function. For Win32,
5551 modify to search for all forms of possible exported
5552 names of an stdcall JNI function.
5553 (_Jv_JNIMethod::call): Modify to calculate the size
5554 of the arguments passed to a JNI function and pass
5555 it to _Jv_LookupJNIMethod.
5556
5557 2003-02-12 Michael Koch <konqueror@gmx.de>
5558
5559 * java/nio/channels/Channels.java: New file.
5560 * Makefile.am
5561 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5562 * Makefile.in: Regenerated.
5563
5564 2003-02-12 Michael Koch <konqueror@gmx.de>
5565
5566 * java/nio/ByteBuffer.java
5567 (allocate): Implemented.
5568 (wrap): Implemented.
5569 * java/nio/CharBuffer.java:
5570 Some documentation added and reworked.
5571 (endian): Removed.
5572 (allocate): Implemented.
5573 (wrap): Implemented.
5574 (array): Throw exceptions.
5575 (arrayOffset): Throw exceptions.
5576 (toString): Implemented.
5577 (length): Implemented.
5578 (put): Implemented.
5579 (charAt): Implemented.
5580
5581 2003-02-11 John Leuner <jewel@debian.org>
5582
5583 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5584 reads from end of file.
5585
5586 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5587
5588 * java/io/natFileDescriptorWin32.cc
5589 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5590 returns with Win32 error code ERROR_BROKEN_PIPE.
5591
5592 2003-02-11 Michael Koch <konqueror@gmx.de>
5593
5594 * Makefile.in
5595 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5596
5597 2003-02-11 Michael Koch <konqueror@gmx.de>
5598
5599 * gnu/java/nio/ByteBufferImpl.java:
5600 Reformated and removed some code.
5601 (backing_buffer): Removed.
5602 (array_offset): Removed.
5603 (ro): Renamed to readOnly.
5604 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5605 * gnu/java/nio/CharBufferImpl.java:
5606 Reformated and removed some code.
5607 (array_offset): Removed.
5608 (ro): Renamed to readOnly.
5609 (CharBufferImpl): Use parent constructor, initialize readOnly.
5610 (inc_pos): Removed.
5611 (order): New method.
5612 * gnu/java/nio/DoubleBufferImpl.java:
5613 Reformated and removed some code.
5614 (array_offset): Removed.
5615 (ro): Renamed to readOnly.
5616 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5617 (inc_pos): Removed.
5618 (order): New method.
5619 * gnu/java/nio/FloatBufferImpl.java:
5620 Reformated and removed some code.
5621 (array_offset): Removed.
5622 (ro): Renamed to readOnly.
5623 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5624 (inc_pos): Removed.
5625 (order): New method.
5626 * gnu/java/nio/IntBufferImpl.java:
5627 Reformated and removed some code.
5628 (array_offset): Removed.
5629 (ro): Renamed to readOnly.
5630 (IntBufferImpl): Use parent constructor, initialize readOnly.
5631 (inc_pos): Removed.
5632 (order): New method.
5633 * gnu/java/nio/LongBufferImpl.java:
5634 Reformated and removed some code.
5635 (array_offset): Removed.
5636 (ro): Renamed to readOnly.
5637 (LongBufferImpl): Use parent constructor, initialize readOnly.
5638 (inc_pos): Removed.
5639 (order): New method.
5640 * gnu/java/nio/ShortBufferImpl.java:
5641 Reformated and removed some code.
5642 (array_offset): Removed.
5643 (ro): Renamed to readOnly.
5644 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5645 (inc_pos): Removed.
5646 (order): New method.
5647 * Makefile.am
5648 (ordinary_java_source_files): Added the following files:
5649 gnu/java/nio/ByteBufferImpl.java
5650 gnu/java/nio/CharBufferImpl.java
5651 gnu/java/nio/DoubleBufferImpl.java
5652 gnu/java/nio/FloatBufferImpl.java
5653 gnu/java/nio/IntBufferImpl.java
5654 gnu/java/nio/LongBufferImpl.java
5655 gnu/java/nio/ShortBufferImpl.java
5656 java/nio/DoubleBuffer.java
5657 java/nio/FloatBuffer.java
5658 java/nio/IntBuffer.java
5659 java/nio/LongBuffer.java
5660 java/nio/ShortBuffer.java
5661 (nat_source_files): Added the following files:
5662 gnu/java/nio/natByteBufferImpl.cc
5663 gnu/java/nio/natCharBufferImpl.cc
5664 gnu/java/nio/natDoubleBufferImpl.cc
5665 gnu/java/nio/natFloatBufferImpl.cc
5666 gnu/java/nio/natIntBufferImpl.cc
5667 gnu/java/nio/natLongBufferImpl.cc
5668 gnu/java/nio/natShortBufferImpl.cc
5669 * Makefile.in: Regenerated.
5670
5671 2003-02-11 Michael Koch <konqueror@gmx.de>
5672
5673 * gnu/java/nio/natCharBufferImpl.cc
5674 (nio_cast): Removed.
5675 (nio_put_*): Removed.
5676 (nio_get_*): Removed.
5677 * gnu/java/nio/natDoubleBufferImpl.cc
5678 (nio_cast): Removed.
5679 (nio_put_*): Removed.
5680 (nio_get_*): Removed.
5681 * gnu/java/nio/natFloatBufferImpl.cc
5682 (nio_cast): Removed.
5683 (nio_put_*): Removed.
5684 (nio_get_*): Removed.
5685 * gnu/java/nio/natIntBufferImpl.cc
5686 (nio_cast): Removed.
5687 (nio_put_*): Removed.
5688 (nio_get_*): Removed.
5689 * gnu/java/nio/natLongBufferImpl.cc
5690 (nio_cast): Removed.
5691 (nio_put_*): Removed.
5692 (nio_get_*): Removed.
5693 * gnu/java/nio/natShortBufferImpl.cc
5694 (nio_cast): Removed.
5695 (nio_put_*): Removed.
5696 (nio_get_*): Removed.
5697 * gnu/java/nio/SelectorProviderImpl.java
5698 (openDatagramChannel): Throws IOException.
5699 (openPipe): Throws IOException.
5700 (openSelector): Throws IOException.
5701 (openServerSocketChannel): Throws IOException.
5702 (openSocketChannel): Throws IOException.
5703 * gnu/java/nio/ServerSocketChannelImpl.java
5704 (ServerSocketChannelImpl): Throws IOException.
5705 (implCloseSelectableChannel): Throws IOException.
5706 (implConfigureBlocking): Throws IOException.
5707 * java/nio/ByteBuffer.java
5708 (readOnly): Removed.
5709 (hasArray): Use isReadOnly() instead of readOnly.
5710 (array): Use isReadOnly() instead of readOnly.
5711 (arrayOffset): Use isReadOnly() instead of readOnly.
5712 * java/nio/CharBuffer.java
5713 (CharBuffer): Implements Cloneable and CharSequence.
5714
5715 2003-02-11 Michael Koch <konqueror@gmx.de>
5716
5717 * java/nio/DoubleBuffer.java
5718 (DoubleBuffer): Implements Comparable.
5719 (endian): Removed.
5720 (array_offset): New member variable.
5721 (DoubleBuffer): New constuctor.
5722 (get): May not be final.
5723 (put): May not be final.
5724 (arrayOffset): Implemented.
5725 (order): Made abstract.
5726 (order): Removed.
5727 (as*Buffer): Removed.
5728 (get*): Removed.
5729 (put*): Removed.
5730 * java/nio/FloatBuffer.java
5731 (FloatBuffer): Implements Comparable.
5732 (endian): Removed.
5733 (array_offset): New member variable.
5734 (FloatBuffer): New constuctor.
5735 (get): May not be final.
5736 (put): May not be final.
5737 (arrayOffset): Implemented.
5738 (order): Made abstract.
5739 (order): Removed.
5740 (as*Buffer): Removed.
5741 (get*): Removed.
5742 (put*): Removed.
5743 * java/nio/IntBuffer.java
5744 (IntBuffer): Implements Comparable.
5745 (endian): Removed.
5746 (array_offset): New member variable.
5747 (IntBuffer): New constuctor.
5748 (get): May not be final.
5749 (put): May not be final.
5750 (arrayOffset): Implemented.
5751 (order): Made abstract.
5752 (order): Removed.
5753 (as*Buffer): Removed.
5754 (get*): Removed.
5755 (put*): Removed.
5756 * java/nio/LongBuffer.java
5757 (LongBuffer): Implements Comparable.
5758 (endian): Removed.
5759 (array_offset): New member variable.
5760 (LongBuffer): New constuctor.
5761 (get): May not be final.
5762 (put): May not be final.
5763 (arrayOffset): Implemented.
5764 (order): Made abstract.
5765 (order): Removed.
5766 (as*Buffer): Removed.
5767 (get*): Removed.
5768 (put*): Removed.
5769 * java/nio/ShortBuffer.java
5770 (ShortBuffer): Implements Comparable.
5771 (endian): Removed.
5772 (array_offset): New member variable.
5773 (ShortBuffer): New constuctor.
5774 (get): May not be final.
5775 (put): May not be final.
5776 (arrayOffset): Implemented.
5777 (order): Made abstract.
5778 (order): Removed.
5779 (as*Buffer): Removed.
5780 (get*): Removed.
5781 (put*): Removed.
5782
5783 2003-02-11 Michael Koch <konqueror@gmx.de>
5784
5785 * java/nio/channels/SelectionKey.java
5786 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5787 values.
5788
5789 2003-02-11 Michael Koch <konqueror@gmx.de>
5790
5791 * java/nio/channels/DatagramChannel.java
5792 (write): Throws IOException.
5793 (connect): Throws IOException.
5794 (disconnect): Throws IOException.
5795 (read): Throws IOException.
5796 (receive): Throws IOException.
5797 (send): Throws IOException.
5798 * java/nio/channels/Pipe.java
5799 (open): Throws IOException.
5800 * java/nio/channels/SelectableChannel.java
5801 (configureBlocking): Throws IOException.
5802 * java/nio/channels/ServerSocketChannel.java
5803 (accept): Throws IOException.
5804 * java/nio/channels/SocketChannel.java
5805 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5806 GatheringByteChannel.
5807 (read): Throws IOException.
5808 (write): Throws IOException.
5809 (finishConnect): Throws IOException.
5810 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5811 (end): Throws AsynchronousCloseException.
5812 * java/nio/channels/spi/AbstractSelectableChannel.java
5813 (configureBlocking): Throws IOException.
5814 (implCloseChannel): Throws IOException.
5815 (implCloseSelectableChannel): Throws IOException.
5816 (implConfigureBlocking): Throws IOException.
5817 * java/nio/channels/spi/SelectorProvider.java
5818 (openDatagramChannel): Throws IOException.
5819 (openPipe): Throws IOException.
5820 (openSelector): Throws IOException.
5821 (openServerSocketChannel): Throws IOException.
5822 (openSocketChannel): Throws IOException.
5823
5824 2003-02-11 Michael Koch <konqueror@gmx.de>
5825
5826 * gnu/java/nio/FileLockImpl.java,
5827 java/nio/channels/FileLock.java: New files.
5828
5829 2003-02-11 Michael Koch <konqueror@gmx.de>
5830
5831 * java/nio/charset/IllegalCharsetNameException.java
5832 (serialVersionUID): New member variable.
5833 (charsetName): New member variable.
5834 (IllegalCharsetException): New implementation.
5835 (getCharsetName): New implementation.
5836 * java/nio/charset/UnsupportedCharsetException.java
5837 (serialVersionUID): New member variable.
5838 (charsetName): New member variable.
5839 (UnsupportedCharsetException): New implementation.
5840 (getCharsetName): New implementation.
5841
5842 2003-02-10 Tom Tromey <tromey@redhat.com>
5843
5844 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5845 (ex): Renamed from sqlException.
5846
5847 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5848
5849 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5850 method used to ensure seeding has occurred and that a specific
5851 seed can be set and used.
5852
5853 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5854
5855 * java/lang/Win32Process.java (destroy): Declare as native.
5856 (hasExited): New native method.
5857 (exitValue): Define.
5858 (getErrorStream): Likewise.
5859 (getInputStream): Likewise.
5860 (getOutputStream): Likewise.
5861 (waitFor): Declare as native.
5862 (startProcess): New native method.
5863 (cleanup): Likewise.
5864 (ConcreteProcess): Define.
5865 (outputStream, inputStream, errorStream): New members.
5866 (procHandle, exitCode): Likewise.
5867
5868 * java/lang/natWin32Process.cc
5869 (java::lang::ConcreteProcess::cleanup): Define.
5870 (java::lang::ConcreteProcess::destroy): Likewise.
5871 (java::lang::ConcreteProcess::hasExited): Likewise.
5872 (java::lang::ConcreteProcess::waitFor): Likewise.
5873 (new_string): Likewise.
5874 (java::lang::ConcreteProcess::startProcess): Likewise.
5875
5876 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5877
5878 * java/math/BigInteger.java:
5879 Updated notice to include years 2002 and 3.
5880 Added 2 private (int) arrays with values from the HAC (Handbook of
5881 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5882 and t[] that contains nbr. of tests --used in isProbablePrime().
5883
5884 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5885
5886 * java/math/BigInteger.java (make(int[],int), add(int,int),
5887 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5888 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5889 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5890 make(long).
5891
5892 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5893 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5894 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5895 BIs and returns void.
5896 (modInverse(BI)): Use new signatures of euclidInv().
5897
5898 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5899 static small primes instead of remainder().
5900 Use pre-computed max nbr of trials based on bitlength of BI to test.
5901 Use pre-computed small primes for the trial tests instead of random
5902 numbers.
5903
5904 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5905 not used.
5906
5907 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5908 invoacation of MPN.chars_per_word(). not used.
5909
5910 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5911 local var and used where needed.
5912
5913 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5914 Combined declaration with initialisation of locals.
5915 Removed unused var.
5916
5917 * java/math/BigInteger.java: Style changes
5918 (pow(int)): Removed 'else' keyword.
5919 (toString(int)): idem.
5920 (doubleValue()): idem.
5921 (bitLength()): idem.
5922 (equals(Object)): Use static methods name in same class w/o prepending
5923 class name.
5924 (doubleValue()): idem.
5925 (setNegative(BI)): idem.
5926 (negate()): idem.
5927 (and(BI,int)): idem.
5928 (and(BI)): idem.
5929 (gcd(BI)): idem.
5930 (byteArrayToIntArray()): Removed casting to (int). this is
5931 std. behaviour.
5932 (canonicalize()): idem.
5933 (alloc(int)): Always instantiate a new BI.
5934
5935 2003-02-10 Tom Tromey <tromey@redhat.com>
5936
5937 * java/sql/Timestamp.java (compareTo(Object)): New method.
5938 (compareTo(Timestamp)): Likewise.
5939 (serialVersionUID): Updated.
5940
5941 2003-02-07 Mark Wielaard <mark@klomp.org>
5942
5943 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5944 when verify is true.
5945 (JarFile(File, boolean)): Likewise.
5946 (manifestRead): Set manifestRead field correctly.
5947
5948 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5949
5950 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5951 tests; see patch #1016 on Savannah.
5952
5953 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5954
5955 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5956 (toString): do not return Strings starting with . and - erroneously.
5957 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5958 DiagBigDecimal.
5959
5960 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5961
5962 * java/beans/PropertyDescriptor.java
5963 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5964 methods.
5965 (PropertyDescriptor(String, Class, String, String)): Likewise.
5966 (PropertyDescriptor(String, Method, Method): Factor out getter and
5967 setter method sanity checks into new method.
5968 (findMethods): Don't do parameter sanity checking of get method here.
5969 (checkMethods): New method.
5970
5971 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5972
5973 * java/beans/PropertyDescriptor.java: Reformat.
5974
5975 2003-02-04 Tom Tromey <tromey@redhat.com>
5976
5977 * java/io/PipedOutputStream.java (flush): Declare as throwing
5978 IOException.
5979 (close): Likewise.
5980 * java/io/PipedWriter.java (close): Declare as throwing
5981 IOException.
5982 * java/io/StringWriter.java (close): Declare as throwing
5983 IOException.
5984
5985 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5986
5987 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5988 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5989 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5990 "_JNI_OnLoad@8" (MSVC).
5991
5992 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5993
5994 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5995 convention on Win32 to invoke native JNI methods.
5996
5997 2003-02-03 Andrew Haley <aph@redhat.com>
5998
5999 * configure.host (x86_64): Enable interpreter.
6000
6001 2003-02-03 Andrew Haley <aph@redhat.com>
6002
6003 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6004 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6005 * configure.in (BACKTRACESPEC): New.
6006 * configure: Regenerate.
6007
6008 2003-02-02 Tom Tromey <tromey@redhat.com>
6009
6010 * configure: Rebuilt.
6011 * configure.in (TOOLKIT) [xlib]: Set correctly.
6012
6013 * Makefile.in: Rebuilt.
6014 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6015 libstdc++.
6016
6017 2003-01-31 Mark WIelaard <mark@klomp.org>
6018
6019 * Makefile.in: Rebuilt.
6020 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6021
6022 2003-01-31 Tom Tromey <tromey@redhat.com>
6023
6024 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6025 cast to element type.
6026 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6027 (_Jv_JNI_GetObjectArrayElement): Likewise.
6028
6029 * Makefile.in: Rebuilt.
6030 * Makefile.am (cond_x_ltlibrary): Renamed library to
6031 lib-gnu-awt-xlib.la.
6032 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6033 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6034 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6035 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6036 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6037 (lib_gnu_awt_xlib_la_LINK): Likewise.
6038 (install-exec-hook): Removed.
6039 (lib-gnu-awt-xlib.la): Renamed.
6040
6041 2003-01-31 Tom Tromey <tromey@redhat.com>
6042
6043 * aclocal.m4, configure, include/config.h.in: Rebuilt.
6044 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6045 aclocal.m4 and lost in some merge.
6046
6047 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6048 Don't try to find graphics configuration.
6049 * java/awt/Toolkit.java (default_toolkit_name): Use new
6050 Configuration entry.
6051 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6052 New global.
6053 * configure: Rebuilt.
6054 * configure.in (TOOLKIT): New subst.
6055 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6056 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
6057 directory. Make output directories for .c files.
6058 * Makefile.in: Rebuilt.
6059 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6060 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6061 (all_java_source_files): Added new sources.
6062 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6063 (gtk_c_files): New macro.
6064 (gtk_c_source_files): New macro.
6065 (cond_gtk_ltlibrary): New macro.
6066 ($(gtk_c_files)): New target.
6067 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6068 (gtk_awt_peer_sources): New macro.
6069 (gtk_c_headers): New macro.
6070 ($(gtk_c_headers)): New target.
6071 (ACLOCAL_AMFLAGS): New macro.
6072 * gtk.m4, glib.m4, libart.m4: New files.
6073 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6074 gnu/java/awt/peer/gtk/GdkGraphics.java,
6075 gnu/java/awt/peer/gtk/GtkArg.java,
6076 gnu/java/awt/peer/gtk/GtkArgList.java,
6077 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6078 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6079 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6080 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6081 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6082 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6083 gnu/java/awt/peer/gtk/GtkClipboard.java,
6084 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6085 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6086 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6087 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6088 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6089 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6090 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6091 gnu/java/awt/peer/gtk/GtkImage.java,
6092 gnu/java/awt/peer/gtk/GtkImagePainter.java,
6093 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6094 gnu/java/awt/peer/gtk/GtkListPeer.java,
6095 gnu/java/awt/peer/gtk/GtkMainThread.java,
6096 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6097 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6098 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6099 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6100 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6101 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6102 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6103 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6104 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6105 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6106 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6107 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6108 gnu/java/awt/peer/gtk/GtkToolkit.java,
6109 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6110 gnu/java/awt/peer/gtk/TestAWT.java,
6111 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6112 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6113 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6114 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6115 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6116 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6117 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6118 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6119 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6120 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6121 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6122 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6123 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6124 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6125 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6126 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6127 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6128 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6129 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6130 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6131 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6132 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6133 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6134 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6135 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6136 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6137 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6138 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6139 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6140 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6141 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6142 jni/classpath/native_state.c, jni/classpath/native_state.h,
6143 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6144
6145 2003-01-31 Julian Dolby <dolby@us.ibm.com>
6146
6147 * java/util/Properties.java (load): Ignore backslash before EOF.
6148
6149 2003-01-30 Jeff Sturm <jsturm@one-point.com>
6150
6151 * java/lang/natClass.cc (initializeClass): Check tables when
6152 (state == JV_STATE_IN_PROGRESS).
6153 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6154 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6155 interpreted classes.
6156 (linkClass0): Use _Jv_WaitForState.
6157
6158 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
6159
6160 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6161 object when finished.
6162
6163 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
6164
6165 * libjava/configure.host: Disable can_unwind_signal on darwin.
6166
6167 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
6168
6169 Fixes PR java/9254:
6170 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6171 additionally containing id of the owner thread as well as
6172 the number of nested times the thread has acquired the mutex.
6173 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6174 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6175 (_Jv_MutexUnlock): Check if really the owner thread, reset
6176 owner thread id to 0 before leaving, if leaving for the last
6177 time.
6178 (_Jv_MutexLock): Set owner thread id in the mutex and increment
6179 refcount.
6180 (_Jv_ThreadYield): Yield using a call to Sleep(0).
6181 * win32-threads.cc (_Jv_CondWait): Check if really owner of
6182 the passed mutex.
6183 Pass handle of the broadcast event, instead of a pointer to it
6184 in Win32 ResetEvent( ) call.
6185 Remove incorrect return values.
6186 (_Jv_CondDestroy): Close both event handles and delete
6187 critical section.
6188 (_Jv_CondNotify): Check if really the owner thread.
6189 (_Jv_CondNotifyAll): Check if really the owner thread.
6190 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6191 (really_start): Use SetEvent( ) to signal daemon_cond.
6192 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6193 WaitForSingleObject( ) instead to wait for daemon_cond to be
6194 signalled.
6195
6196 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6197
6198 * configure.in: Specifically define HAVE_BACKTRACE if building
6199 for MinGW.
6200 * include/win32.h: Remove HAVE_BACKTRACE definition.
6201 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6202 * configure: Rebuilt.
6203
6204 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6205
6206 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6207 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6208 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6209 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6210 * Makefile.in, configure: Rebuilt.
6211
6212 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6213
6214 Fixes PR java/9253:
6215 * java/io/natFileWin32.cc (performList): Append only "*.*"
6216 if the canonical file path already has a "\" at the end.
6217
6218 2003-01-24 Tom Tromey <tromey@redhat.com>
6219
6220 * defineclass.cc (handleMethodsEnd): Precompute code for static
6221 method.
6222 (handleCodeAttribute): Likewise.
6223 * resolve.cc (ncode): Use run_class for unsynchronized static
6224 methods.
6225 * include/java-interp.h (class _Jv_InterpMethod): Declare
6226 run_class.
6227 * interpret.cc (run_synch_class): Initialize class.
6228 (run) [insn_invokestatic]: Don't initialize class.
6229 [insn_anewarray]: Likewise.
6230 [insn_multianewarray]: Likewise.
6231 (run_class): New function.
6232
6233 2003-01-24 Tom Tromey <tromey@redhat.com>
6234
6235 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6236 comment.
6237
6238 2003-01-22 Andrew Haley <aph@redhat.com>
6239
6240 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6241 * configure.host (CHECKREFSPEC): Define for x86_64.
6242
6243 2003-01-21 Tom Tromey <tromey@redhat.com>
6244
6245 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6246 search at 2, not 3.
6247
6248 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6249
6250 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6251 looking at any characters.
6252 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6253 be used.
6254 (isAbsolute): Check path's length as well.
6255
6256 2003-01-17 Mark Wielaard <mark@klomp.org>
6257
6258 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6259 (nat_source_files): Add natVMObjectStreamClass.cc.
6260 * Makefile.in: Regenerated.
6261 * gcj/javaprims.h (namespace java): Regenerated.
6262 * java/io/ObjectStreamClass.java (getClassUID): Call
6263 VMObjectStreamClass.hasClassInitializer().
6264 (hasClassInitializer): Removed.
6265 * java/io/VMObjectStreamClass.java: New class.
6266 * java/io/natVMObjectStreamClass.cc: New file.
6267 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6268
6269 2003-01-16 Mark Wielaard <mark@klomp.org>
6270
6271 * java/net/SocketImpl.java (toString): Don't explicitly call
6272 toString() on possible null address.
6273
6274 2003-01-16 Michael Koch <konqueror@gmx.de>
6275
6276 * java/net/MulticastSocket.java
6277 (setInterface): Reindented.
6278
6279 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6280
6281 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6282 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6283 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6284 translateY arguments. Implement.
6285 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6286 down translation arguments.
6287 (drawPolyline, drawPolygon): Fix incorrect tests.
6288 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6289 translateX and translateY arguments.
6290
6291 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6292
6293 * Makefile.in: Rebuilt.
6294 * Makefile.am (xlib_includes): New macro.
6295 (INCLUDES): Use it.
6296
6297 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6298
6299 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6300 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6301 16-bit display mode.
6302
6303 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6304
6305 * java/awt/CardLayout.java (show): Rewrote.
6306 (gotoComponent): Removed `target' argument. Simplified code.
6307 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6308 Changed all callers.
6309 (NONE): Removed.
6310
6311 2003-01-14 Michael Koch <konqueror@gmx.de>
6312
6313 * java/net/InetSocketAddress.java
6314 (serialVersionUID): New member variable.
6315 * java/net/NetPermission.java
6316 (NetPermission): Dont implement java.io.Serialization directly.
6317 * java/net/SocketAddress.java:
6318 (serialVersionUID): Documentation added.
6319
6320 2003-01-14 Michael Koch <konqueror@gmx.de>
6321
6322 * java/awt/Label.java
6323 (Label): Implements javax.accessibility.Accessible;
6324 * java/awt/List.java
6325 (List): Implements javax.accessibility.Accessible;
6326 * java/awt/ScrollPane.java
6327 (ScrollPane): Implements javax.accessibility.Accessible;
6328 * java/awt/Scrollbar.java
6329 (Scrollbar): Implements javax.accessibility.Accessible;
6330 * java/awt/TextComponent.java
6331 (setCaretPosition): Throw exception, documentation added.
6332 * java/awt/Toolkit.java:
6333 Added some newlines in method documentations.
6334 (createButton): Exception documentation added.
6335 (createTextField): Exception documentation added.
6336 (createLabel): Exception documentation added.
6337 (createList): Exception documentation added.
6338 (createCheckbox): Exception documentation added.
6339 (createScrollbar): Exception documentation added.
6340 (createScrollPane): Exception documentation added.
6341 (createTextArea): Exception documentation added.
6342 (createChoice): Exception documentation added.
6343 (createFrame): Exception documentation added.
6344 (createWindow): Exception documentation added.
6345 (createDialog): Exception documentation added.
6346 (createMenuBar): Exception documentation added.
6347 (createMenu): Exception documentation added.
6348 (createMenuItem): Exception documentation added.
6349 (createFileDialog): Exception documentation added.
6350 (createCheckboxMenuItem): Exception documentation added.
6351 (loadSystemColors): Exception documentation added.
6352 (setDynamicLayout): Exception documentation added.
6353 (isDynamicLayoutSet): Exception documentation added.
6354 (isDynamicLayoutActive): Exception documentation added.
6355 (getScreenSize): Exception documentation added.
6356 (getScreenResolution): Exception documentation added.
6357 (getScreenInsets): Exception documentation added.
6358 (getColorModel): Exception documentation added.
6359 (getSystemClipboard): Exception documentation added.
6360 (getSystemSelection): Exception documentation added.
6361 (getMenuShortcutKeyMask): Exception documentation added.
6362 (getSystemEventQueue): Exception documentation added.
6363 * java/awt/Window.java:
6364 Reindented some code.
6365 (Window): Centralized implementation, documentation added.
6366 (finalize): Documentation added.
6367 (hide): Fixed typo in comment.
6368 (getWindowListeners): Documentation added.
6369 * java/awt/color/ColorSpace.java
6370 (toRGB): Documentation added.
6371 * java/awt/color/ICC_ColorSpace.java
6372 (ICC_ColorSpace): Documentation added.
6373 (toRGB): Throw exception, documentation added.
6374 (fromRGB): Throw exception, documentation added.
6375 (toCIEXYZ): Documentation added.
6376 (fromCIEXYZ): Documentation added.
6377 (getMinValue): Documentation added.
6378 (getMaxValue): Documentation added.
6379 * java/awt/geom/Dimension2D.java
6380 (clone): Documentation added.
6381 * java/awt/geom/GeneralPath.java
6382 (clone): Documentation added.
6383 * java/awt/geom/Line2D.java
6384 (clone): Documentation added.
6385 * java/awt/geom/QuadCurve2D.java
6386 (clone): Documentation added.
6387 * java/awt/image/ColorModel.java
6388 (ColorModel): Throw exception, documentation added.
6389 * java/awt/image/ImageFilter.java
6390 (clone): Doesnt throw CloneNotSupportedException.
6391
6392 2003-01-14 Andrew Haley <aph@redhat.com>
6393
6394 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6395 in a try block.
6396
6397 2003-01-10 Andrew Haley <aph@redhat.com>
6398
6399 * include/dwarf2-signal.h: Remove x86_64.
6400 * configure.host (x86_64 DIVIDESPEC): Remove.
6401 * include/x86_64-signal.h: New file.
6402 * configure.in: Regenerate.
6403
6404 2003-01-10 Michael Koch <konqueror@gmx.de>
6405
6406 * java/net/DatagramSocket.java
6407 (ch): Description added.
6408 (remotePort): Initialize with -1.
6409 (connect): Doesnt throws SocketException.
6410 * java/net/MulticastSocket.java
6411 (setInterface): Merge with Classpath.
6412 * java/net/ServerSocket.java
6413 (closed): New member variable.
6414 (bind): Check if socket is closed.
6415 (close): Close an associated channel too, set new value to closed.
6416 (isBound): Reindented.
6417 (isClosed): Implemented.
6418 * java/net/Socket.java
6419 (closed): New member variable.
6420 (bind): Check if socket is closed.
6421 (connect): Check if socket is closed.
6422 (close): Close an associated channel too, set new value to closed.
6423 (isClosed): Implemented.
6424
6425 2003-01-10 Michael Koch <konqueror@gmx.de>
6426
6427 * java/awt/DisplayMode.java
6428 (equals): Fixed argument type and implementation.
6429
6430 2003-01-07 Tom Tromey <tromey@redhat.com>
6431
6432 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6433 JV_HASH_SYNCHRONIZATION.
6434 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6435 JV_HASH_SYNCHRONIZATION.
6436
6437 2003-01-07 Michael Koch <konqueror@gmx.de>
6438
6439 * java/net/DatagramSocket.java:
6440 Added classpath license info.
6441 (DatagramSocket): Merged description with classpath.
6442 (close): Merged description with classpath.
6443 (getChannel): Merged description with classpath.
6444 (getInetAddress): Merged description with classpath.
6445 (getPort): Merged description with classpath.
6446 (getLocalAddress): Merged description with classpath.
6447 (getLocalPort): Merged description with classpath.
6448 (getSoTimeout): Merged description with classpath.
6449 (setSoTimeout): Merged description with classpath.
6450 (getSendBufferSize): Merged description with classpath.
6451 (setSendBufferSize): Merged description with classpath.
6452 (getReceiveBufferSize): Merged description with classpath.
6453 (setReceiveBufferSize): Merged description with classpath.
6454
6455 2003-01-04 Tom Tromey <tromey@redhat.com>
6456
6457 * java/awt/List.java: Merged with Classpath.
6458
6459 2003-01-03 Mark Wielaard <mark@klomp.org>
6460
6461 * java/io/FileDescriptor.java (position): New private field.
6462 * java/io/natFileDescriptorPosix.cc (write): Up position.
6463 (setLength): Use and set position.
6464 (seek): Set position.
6465 (getFilePointer): Return position.
6466 (read): Up position.
6467
6468 2003-01-03 Mark Wielaard <mark@klomp.org>
6469
6470 Merge with Classpath:
6471 * java/io/ObjectStreamClass.java (lookup): Split method and call
6472 lookupForClassObject().
6473 (lookupForClassObject): New method.
6474 (isProxyClass): New field.
6475 (setClass): Set isProxyClass, add object to classLookupTable, set
6476 superClass and calculateOffsets.
6477 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6478 and not a proxy class.
6479 (setFields): Set accessible true for serialPersistentFields.
6480 (getClassUID): Same for suid. And check if suid is of type long.
6481 (hasClassInitializer): Don't throw NoSuchMethodError.
6482
6483 2003-01-03 Mark Wielaard <mark@klomp.org>
6484
6485 * java/io/FileInputStream.java (finalize): Don't explicitly
6486 finalize FileDescriptor.
6487
6488 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6489
6490 * configure.host (sparc*-*): Enable bytecode interpreter.
6491
6492 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6493
6494 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6495 Don't throw RemoteException.
6496 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6497 throw RemoteException.
6498
6499 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6500
6501 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6502 proxyHost): New static fields.
6503 (<clinit>): Initialize new fields.
6504 (connect): Use proxy if necessary.
6505 (usingProxy): Implement.
6506
6507 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6508
6509 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6510 (TreeIterator.remove): Prefer IllegalStateException over
6511 ConcurrentModificationException, to match Sun.
6512
6513 2002-12-22 Anthony Green <green@redhat.com>
6514
6515 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6516
6517 2003-01-02 Mark Wielaard <mark@klomp.org>
6518
6519 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6520 public.
6521 (HTTP_USE_PROXY): Add field.
6522 (getResponseVals): Only set responseCode when not yet explicitly
6523 set by subclass.
6524
6525 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6526 Mark Wielaard <mark@klomp.org>
6527
6528 * java/util/zip/ZipFile.java (entries): Now HashMap.
6529 (readLeShort(DataInput, byte[])): Read from given byte array.
6530 (readLeInt(DataInput, byte[]): Likewise.
6531 (readLeShort(byte[] b, int off)): New method.
6532 (readLeInt(byte[] b, int off)): Likewise.
6533 (readEntries): Use byte arrays to read info in bigger chunks.
6534 (getEntries): Return HashMap.
6535 (getEntry): Use HashMap.
6536 (locBuf): New private field.
6537 (checkLocalHeader): Use locBuf to read info in one chunk.
6538 (getInputStream): Use entries HashMap, wrap PartialInputStream
6539 in BufferedInputStream.
6540 (ZipEntryEnumeration): Use HashMap and Interator.
6541
6542 2003-01-02 Mark Wielaard <mark@klomp.org>
6543 Jeroen Frijters <jeroen@sumatra.nl>
6544
6545 * java/net/URLClassLoader.java (Resource.getCodeSource):
6546 Fix check certs == null.
6547 (getCanonicalFileURL): Removed method.
6548 (JarURLLoader): Don't call removed method.
6549 (FileURLLoader): Likewise.
6550 (FileURLLoader.getResource): Don't canonicalize file name.
6551
6552 2003-01-01 Tom Tromey <tromey@redhat.com>
6553
6554 * Makefile.in: Rebuilt.
6555 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6556 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6557 java/awt/BufferCapabilities.java, java/awt/Button.java,
6558 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6559 java/awt/Container.java, java/awt/Cursor.java,
6560 java/awt/EventQueue.java, java/awt/FileDialog.java,
6561 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6562 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6563 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6564 java/awt/Scrollbar.java, java/awt/TextArea.java,
6565 java/awt/TextField.java, java/awt/color/CMMException.java,
6566 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6567 java/awt/color/ProfileDataException.java,
6568 java/awt/datatransfer/Clipboard.java,
6569 java/awt/datatransfer/DataFlavor.java,
6570 java/awt/datatransfer/FlavorMap.java,
6571 java/awt/datatransfer/SystemFlavorMap.java,
6572 java/awt/dnd/DragGestureEvent.java,
6573 java/awt/dnd/DragGestureRecognizer.java,
6574 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6575 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6576 java/awt/im/InputMethodHighlight.java,
6577 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6578 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6579
6580 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6581 `op' to BufferedImageOp.
6582
6583 2002-12-31 Tom Tromey <tromey@redhat.com>
6584
6585 Fix for PR libgcj/7416:
6586 * javax/naming/InitialContext.java (init): Use
6587 gnu.classpath.home.url.
6588 * java/security/Security.java: Use new properties.
6589 (loadProviders): Accept base url; use it.
6590 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6591 gnu.classpath.home.url.
6592 (gnu.classpath.home.url): Define.
6593 (gnu.classpath.vm.shortname): Likewise.
6594
6595 2002-12-31 Tom Tromey <tromey@redhat.com>
6596 Ranjit Mathew <rmathew@hotmail.com>
6597
6598 Fix for PR libgcj/8997:
6599 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6600 Include platform.h.
6601 * include/posix.h (_Jv_platform_usleep): New function.
6602 * include/win32.h (_Jv_platform_usleep): New function.
6603
6604 2002-12-29 Tom Tromey <tromey@redhat.com>
6605
6606 * gcj/javaprims.h: Updated.
6607 * scripts/classes.pl (scan): Removed stray semicolon.
6608
6609 2002-12-30 Mark Wielaard <mark@klomp.org>
6610
6611 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6612 if zero or smaller.
6613
6614 2002-12-30 Mark Wielaard <mark@klomp.org>
6615
6616 * java/util/Properties (formatForOutput): Don't fall through to
6617 default case after escaping character.
6618
6619 2002-12-30 Mark Wielaard <mark@klomp.org>
6620
6621 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6622 against count.
6623
6624 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6625
6626 * boehm.cc: Remove stray semicolon.
6627 * interpret.cc: Likewise.
6628 * prims.cc: Likewise.
6629 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6630 earlier to ensure default arguments are processed.
6631 * gcj/array.h (JArray): Add forward declaration.
6632 (elements): Likewise.
6633 * gcj/javaprim.h: Remove stray semicolons.
6634 * include/bohm-gc.h: Likewise.
6635 * include/jni.h: Likewise.
6636 * include/jvm.h: Likewise.
6637 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6638
6639 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6640
6641 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6642 of catch_type.
6643 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6644 idt tables after initializing superclass.
6645 * java/lang/natClassLoader.cc (uaddr): New typedef.
6646 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6647 if they are constant pool indicies. Don't link vtable, otable yet.
6648
6649 2002-12-21 Anthony Green <green@redhat.com>
6650
6651 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6652 libraries.
6653 * Makefile.in: Rebuilt.
6654
6655 2002-12-19 Anthony Green <green@redhat.com>
6656
6657 * Makefile.am (ordinary_java_source_files): Add
6658 org/xml/sax/helpers/NewInstance.java.
6659 * Makefile.in: Rebuilt.
6660 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6661 org/xml/sax/helpers/package.html: New files.
6662 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6663 http://www.saxproject.org.
6664
6665 2002-12-19 Andrew Haley <aph@redhat.com>
6666
6667 * java/util/natResourceBundle.cc: Include
6668 ArrayIndexOutOfBoundsException.h.
6669 (getCallingClassLoader): Don't put upper bound on stack search.
6670 Catch ArrayIndexOutOfBoundsException.
6671
6672 2002-12-19 Tom Tromey <tromey@redhat.com>
6673
6674 * libtool-version: Increased `current'.
6675
6676 2002-12-19 Tom Tromey <tromey@redhat.com>
6677
6678 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6679 comment.
6680 * java/lang/ClassLoader.java (defineClass): Use chained
6681 exception when rethrowing.
6682 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6683 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6684 constants.
6685 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6686 (_Jv_PrepareClass): Use it.
6687 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6688 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6689 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6690 (Class): _Jv_PrepareMissingMethods now friend.
6691 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6692 Record `NULL' for system class loader.
6693 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6694 system class loader.
6695 (_Jv_FindClassInCache): Likewise.
6696 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6697 (_Jv_FindClass): Special case system class loader.
6698 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6699 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6700 vtable slots.
6701 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6702 in a final class.
6703 (_getDeclaredMethod): Don't return synthetic methods.
6704 (getDeclaredMethods): Likewise.
6705 (_getMethod): Likewise.
6706 (_getMethods): Likewise.
6707
6708 2002-12-18 Raif Naffah <raif@fl.net.au>
6709
6710 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6711 canonical form after divide().
6712 (modInverse): Likewise.
6713
6714 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6715 Mark Wielaard <mark@klomp.org>
6716
6717 * java/security/SecurityRandom (digest): Removed field.
6718 (SecureRandom): Check all providers for case-insensitive SecureRandom
6719 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6720 if necessary.
6721 (getInstance(String,Provider,boolean): New method.
6722 (getInstance(String)): Use new method.
6723 (getInstance(String,String)): Likewise.
6724 (getInstance(String,Provider)): Likewise.
6725
6726 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6727
6728 * java/security/Security.java (loadProviders): Increment i only once.
6729
6730 2002-12-12 Mark Wielaard <mark@klomp.org>
6731
6732 * java/lang/ClassLoader.java (resolveClass0): Transform
6733 ClassNotFoundException to NoClassDefFoundError. Transform all other
6734 throwables to LinkageError.
6735
6736 2002-12-11 Tom Tromey <tromey@redhat.com>
6737
6738 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6739
6740 * java/lang/ClassLoader.java (loadedClasses): New field.
6741 (defineClass): Fixed indentation. Put new class in
6742 loadedClasses.
6743 (findLoadedClass): Implement here.
6744 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6745
6746 2002-12-10 Tom Tromey <tromey@redhat.com>
6747
6748 * Makefile.in: Rebuilt.
6749 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6750 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6751 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6752 * java/lang/natClassLoader.cc
6753 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6754
6755 2002-12-10 Mark Wielaard <mark@klomp.org>
6756 Tom Tromey <tromey@redhat.com>
6757
6758 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6759 (JarURLLoader): Use it.
6760 (FileURLLoader): Likewise.
6761 (JarURLResource.getURL): Use chained exception.
6762 (FileResource.getURL): Likewise.
6763 (FileURLLoader.getResource): Use canonical file name.
6764 (addURL): Indentation fix.
6765
6766 2002-12-10 Tom Tromey <tromey@redhat.com>
6767
6768 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6769 From Laurent Bardet <l.bardet@magic.fr>.
6770
6771 2002-12-09 Tom Tromey <tromey@redhat.com>
6772
6773 * include/win32.h (_Jv_platform_solib_prefix): New define.
6774 (_Jv_platform_solib_suffix): Likewise.
6775 * include/posix.h (_Jv_platform_solib_prefix): New define.
6776 (_Jv_platform_solib_suffix): Likewise.
6777 * java/lang/natRuntime.cc: Include StackTrace.h.
6778 (_load): Use findLibrary and new platform defines.
6779 (nativeGetLibname): Use new platform defines.
6780
6781 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6782 `t' won't be null.
6783
6784 2002-12-08 Mark Wielaard <mark@klomp.org>
6785
6786 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6787 cache remote jar files.
6788 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6789 add File.separator to URL when it is a directory.
6790 * java/lang/ClassLoader.java: Add Classpath javadoc.
6791 (parent): final.
6792 (getParent): Add (disabled) security check.
6793 (findLibrary): New default method.
6794 * java/net/JarURLConnection.java (getManifest): Implement.
6795 (getInputStream): Only create InputStream when entry exists.
6796 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6797 when they exist.
6798 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6799
6800 2002-12-08 Mark Wielaard <mark@klomp.org>
6801
6802 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6803 (lastDefaultLocale): New field.
6804 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6805 resourceBundleCache.
6806
6807 2002-12-06 Mark Wielaard <mark@klomp.org>
6808
6809 * java/net/InetAddress.java (toString): Use hostname when not null,
6810 don't do an explicit reverse getHostName() lookup.
6811 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6812 NullPointerException.
6813
6814 2002-12-06 Tom Tromey <tromey@redhat.com>
6815
6816 * include/java-interp.h (class _Jv_InterpMethod): Added
6817 JV_MARKOBJ_DECL.
6818 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6819 mark `prepared' field of interpreted method.
6820 * interpret.cc (compile): Use _Jv_AllocBytes.
6821
6822 2002-12-05 Andrew Haley <aph@redhat.com>
6823
6824 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6825 #ifdef (HAVE_BACKTRACE) around the whole function body.
6826
6827 2002-12-05 Tom Tromey <tromey@redhat.com>
6828
6829 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6830 * resolve.cc: Don't include AbstractMethodError.h.
6831 (_Jv_abstractMethodError): Removed.
6832 * defineclass.cc (handleMethodsBegin): Initialize method index to
6833 -1.
6834 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6835 method index for "new" final method.
6836 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6837 isVirtualMethod. Added `flags' argument.
6838 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6839 class.
6840
6841 2002-12-04 Tom Tromey <tromey@redhat.com>
6842
6843 * java/net/SocketPermission.java (hashCode): Rewrote.
6844
6845 2002-12-04 Tom Tromey <tromey@redhat.com>
6846
6847 * Makefile.in: Rebuilt.
6848 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6849 natResourceBundle.
6850 * java/util/ResourceBundle.java (Security): Removed.
6851 (getCallingClassLoader): Now native.
6852 * java/util/natResourceBundle.cc: New file.
6853 * java/lang/natVMSecurityManager.cc: New file.
6854 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6855
6856 2002-12-03 Mark Wielaard <mark@klomp.org>
6857
6858 * java/util/jar/JarFile.java (manifest): Not final.
6859 (manifestRead): New field.
6860 (JarFile): Don't read Manifest in constructor.
6861 (getManifest): New method.
6862 (JarEnumeration.nextElement): Use new method.
6863 (getEntry): Likewise.
6864 * java/util/zip/ZipFile.java (name): Final.
6865 (raf): Likewsie.
6866 (entries): Change type to Hashtable.
6867 (closed): New field.
6868 (ZipFile): Don't read enties in constructor.
6869 (readEntries): Use Hashtable.
6870 (close): Set new close flag and set entries to null inside
6871 synchronized block.
6872 (entries): Contruct enumeration using new getEntries() method and
6873 entries Hashtable.
6874 (getEntryIndex): Removed.
6875 (getEntries): New method.
6876 (getEntry): Use new getEntries() method and entries Hastable.
6877 (getInputStream): Likewise.
6878 (size): Return getEntries().size().
6879 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6880 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6881 (time): Removed
6882 (dostime): New field.
6883 (zipFileIndex): Removed.
6884 (ZipEntry(ZipEntry)): Copy dostime.
6885 (setDOSTime): Now final and doesn't convert dos time.
6886 (getDOSTime): Likewise.
6887 (setTime): Convert dos time.
6888 (getTime): Likewise.
6889 (getCalendar): New method.
6890 (setExtra): Use setTime().
6891 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6892
6893 2002-12-03 Tom Tromey <tromey@redhat.com>
6894
6895 * java/lang/Character.java (forDigit): Formatting fix.
6896
6897 2002-12-03 Raif Naffah <raif@fl.net.au>
6898
6899 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6900 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6901 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6902
6903 2002-12-03 Andrew Haley <aph@redhat.com>
6904
6905 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6906 _Jv_PushClass.
6907 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6908 (_Jv_PopClass): New.
6909 (_Jv_PushClass): New.
6910 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6911 discover the ClassLoader of our caller.
6912 (_Jv_CheckArrayStore): Don't check that a class is assignment
6913 compatible with Object.
6914 * java/lang/natVMTHrowable.cc: Delete.
6915 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6916 java.lang.VMThrowable.
6917 (StackTrace(), StackTrace(int)): New constructors.
6918 (classAt, methodAt, update, methodAtAddress): New methods.
6919 (map): New field.
6920 * java/lang/VMThrowable.java: Use StackTrace instead of
6921 natVMTHrowable.
6922 * java/lang/Class.h (getClassLoaderInternal): New.
6923 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6924 Be friendly with gnu::gcj::runtime::StackTrace.
6925 (Object.chain): New field.
6926 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6927 gnu::gcj::runtime::StackTrace.
6928 * gnu/gcj/runtime/natStackTrace.cc: New file.
6929 * gnu/gcj/runtime/MethodRef.java: New file.
6930 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6931 instead of getClassLoader().
6932 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6933 java::lang::VMThrowable.
6934 * Makefile.am (core_java_source_files): Add MethodRef.java,
6935 StackTrace.java.
6936 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6937 * Makefile.in: Rebuild.
6938
6939 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6940
6941 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6942 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6943 yes also for sh-linux* and sh[34]*-linux*.
6944 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6945 set SIGNAL_HANDLER to use DWARF2 exception for them.
6946 * configure: Regenerate.
6947
6948 2002-12-02 Tom Tromey <tromey@redhat.com>
6949
6950 * jni.cc: Added `name' argument.
6951 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6952 `const char *' argument.
6953 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6954
6955 2002-12-01 Tom Tromey <tromey@redhat.com>
6956
6957 Bug compatibility, for PR libgcj/8738:
6958 * java/io/CharArrayWriter.java (close): Do nothing.
6959 (flush): Likewise.
6960 (reset): Don't touch `closed'.
6961 (write(int)): Don't throw IOException.
6962 (write(char[],int,int)): Likewise.
6963 (write(String,int,int)): Likewise.
6964 (closed): Removed.
6965
6966 2002-12-01 Mark Wielaard <mark@klomp.org>
6967
6968 * java/lang/SecurityManager.java: Remerge comments, indenting and
6969 checkXXX methods with Classpath.
6970
6971 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6972
6973 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6974 getNormalizedComponents): Fix calculation which was using one too
6975 many bits in the unnormalized format.
6976
6977 2002-11-29 Gary Benson <gbenson@redhat.com>
6978
6979 For PR libgcj/8759:
6980 * java/beans/Introspector.java (flushCaches): New method.
6981 (flushFromCaches): Likewise.
6982
6983 2002-11-29 Michael Koch <konqueror@gmx.de>
6984
6985 * java/nio/channels/DatagramChannel.java
6986 (open): Added exception documentation.
6987 (write): Added exception documentation.
6988 (connect): Added exception documentation.
6989 (disconnect): Added exception documentation.
6990 (isConnected): Added exception documentation.
6991 (read): Added exception documentation.
6992 (receive): Added exception documentation.
6993 (send): Added exception documentation.
6994 (validOps): Added exception documentation.
6995 * java/nio/channels/SocketChannel.java
6996 (open): Added exception documentation.
6997 (read): Added exception documentation.
6998 (write): Added exception documentation.
6999 (connect): Added exception documentation.
7000 (finishConnect): Added exception documentation.
7001
7002 2002-11-29 Michael Koch <konqueror@gmx.de>
7003
7004 * gnu/java/nio/DatagramChannelImpl:
7005 (fd): New member variable to store file descriptor of socket.
7006 * gnu/java/nio/SelectionKeyImpl.java:
7007 (ops): Removed.
7008 (readyOps): New member variable.
7009 (interestOps): New member variable.
7010 (readyOps): Implemented.
7011 (readyOps): New method to set member variable readyOps.
7012 (interestOps): Replaced ops by interestOps.
7013 * gnu/java/nio/SelectorImpl.java:
7014 (SelectorImpl): Initialize key sets.
7015 (select): Call select with -1 instead of Long.MAX_VALUE).
7016 (java_do_select): Make it a native method.
7017 (getFDsAsArray): New helper method.
7018 (select): Remove canceled keys, give only interested file discriptors
7019 to java_do_select, set ready ops.
7020 (add): No need to initialize keys set here.
7021 (add_selected): No need to initialize selected set here.
7022 (deregisterCanceledKeys): New helper method.
7023 (register): Set interest ops, set attachments, added handling of datagram
7024 channels.
7025 * gnu/java/nio/ServerSocketChannelImpl:
7026 (SocketAccept): Renamed from NioSocketAccept.
7027 (implConfigureBlocking): Implemented.
7028 (accept): Use SocketAccept instead of NioSocketAccept.
7029 * gnu/java/nio/SocketChannelImpl:
7030 Reactivate native methods.
7031
7032 2002-11-29 Michael Koch <konqueror@gmx.de>
7033
7034 * gnu/java/nio/natByteBufferImpl.cc,
7035 gnu/java/nio/natCharBufferImpl.cc,
7036 gnu/java/nio/natDoubleBufferImpl.cc,
7037 gnu/java/nio/natFloatBufferImpl.cc,
7038 gnu/java/nio/natIntBufferImpl.cc,
7039 gnu/java/nio/natLongBufferImpl.cc,
7040 gnu/java/nio/natSelectorImpl.cc,
7041 gnu/java/nio/natServerSocketChannelImpl.cc,
7042 gnu/java/nio/natShortBufferImpl.cc,
7043 gnu/java/nio/natSocketChannelImpl.cc:
7044 New files that implement native functionalities.
7045
7046 2002-11-29 Michael Koch <konqueror@gmx.de>
7047
7048 * gnu/java/nio/ByteBufferImpl.java
7049 (ByteBufferImpl): Moved position() after limit.
7050 (nio_*): Use native implementation.
7051 * gnu/java/nio/CharBufferImpl.java:
7052 Reformated.
7053 (endian): New member variable string endianess of buffer.
7054 (CharBufferImpl): Moved position() after limit.
7055 (nio_*): Use native implementation.
7056 (subSequence): Implemented.
7057 * gnu/java/nio/DoubleBufferImpl.java
7058 (DoubleBufferImpl): Moved position() after limit.
7059 (nio_*): Use native implementation.
7060 * gnu/java/nio/FloatBufferImpl.java
7061 Reformated.
7062 (FloatBufferImpl): Moved position() after limit.
7063 (nio_*): Use native implementation.
7064 * gnu/java/nio/IntBufferImpl.java
7065 Added needed imports, Reformated.
7066 (IntBufferImpl): Moved position() after limit.
7067 (nio_*): Use native implementation.
7068 * gnu/java/nio/LongBufferImpl.java
7069 Reformated.
7070 (LongBufferImpl): Moved position() after limit.
7071 (nio_*): Use native implementation.
7072 * gnu/java/nio/ShortBufferImpl.java
7073 Reformated.
7074 (ShortBufferImpl): Moved position() after limit.
7075 (nio_*): Use native implementation.
7076
7077 2002-11-27 Julian Dolby <dolby@us.ibm.com>
7078
7079 * java/util/Locale.java (toString): Improve efficiency if country
7080 and variant are both empty.
7081
7082 2002-11-26 Tom Tromey <tromey@redhat.com>
7083
7084 * verify.cc (pop_init_ref): New method.
7085 (verify_instructions_0) [op_iaload, op_laload, op_faload,
7086 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7087 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7088 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7089 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7090 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7091 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
7092 let `this' argument be uninitialized. Don't let `null' be passed
7093 as `this' to construtor.
7094
7095 2002-11-26 Mark Wielaard <mark@klomp.org>
7096
7097 * javax/transaction/HeuristicCommitException.java: Classpath merge.
7098 * javax/transaction/HeuristicMixedException.java: Likewise.
7099 * javax/transaction/HeuristicRollbackException.java: Likewise.
7100 * javax/transaction/InvalidTransactionException.java: Likewise.
7101 * javax/transaction/NotSupportedException.java: Likewise.
7102 * javax/transaction/RollbackException.java: Likewise.
7103 * javax/transaction/Status.java: Likewise.
7104 * javax/transaction/Synchronization.java: Likewise.
7105 * javax/transaction/SystemException.java: Likewise.
7106 * javax/transaction/Transaction.java: Likewise.
7107 * javax/transaction/TransactionManager.java: Likewise.
7108 * javax/transaction/TransactionRequiredException.java: Likewise.
7109 * javax/transaction/TransactionRolledbackException.java: Likewise.
7110 * javax/transaction/UserTransaction.java: Likewise.
7111 * javax/transaction/xa/XAException.java: Likewise.
7112 * javax/transaction/xa/XAResource.java: Likewise.
7113 * javax/transaction/xa/Xid.java: Likewise.
7114
7115 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
7116
7117 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7118 define.
7119 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7120 * include/posix.h (socklen_t): Define if not already defined.
7121
7122 2002-11-25 Tom Tromey <tromey@redhat.com>
7123
7124 * verify.cc (type::compatible): Backed out broken change.
7125
7126 * verify.cc (type::compatible): Check initialization status
7127 first.
7128 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7129 Don't use NULLCHECK.
7130
7131 2002-11-23 H.J. Lu <hjl@gnu.org>
7132
7133 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7134 Include ../config/accross.m4.
7135 * aclocal.m4; Rebuild.
7136 * configure: Likewise.
7137
7138 2002-11-23 Mark Wielaard <mark@klomp.org>
7139
7140 * javax/naming/AuthenticationException.java: Update copyright header.
7141 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7142 * javax/naming/Binding.java: Likewise.
7143 * javax/naming/CannotProceedException.java: Likewise.
7144 * javax/naming/CommunicationException.java: Likewise.
7145 * javax/naming/CompositeName.java: Likewise.
7146 * javax/naming/CompoundName.java: Likewise.
7147 * javax/naming/ConfigurationException.java: Likewise.
7148 * javax/naming/Context.java: Likewise.
7149 * javax/naming/ContextNotEmptyException.java: Likewise.
7150 * javax/naming/InitialContext.java: Likewise.
7151 * javax/naming/InsufficientResourcesException.java: Likewise.
7152 * javax/naming/InterruptedNamingException.java: Likewise.
7153 * javax/naming/LimitExceededException.java: Likewise.
7154 * javax/naming/LinkException.java: Likewise.
7155 * javax/naming/LinkLoopException.java: Likewise.
7156 * javax/naming/LinkRef.java: Likewise.
7157 * javax/naming/MalformedLinkException.java: Likewise.
7158 * javax/naming/NameAlreadyBoundException.java: Likewise.
7159 * javax/naming/NameClassPair.java: Likewise.
7160 * javax/naming/NameNotFoundException.java: Likewise.
7161 * javax/naming/NameParser.java: Likewise.
7162 * javax/naming/NamingEnumeration.java: Likewise.
7163 * javax/naming/NamingSecurityException.java: Likewise.
7164 * javax/naming/NoInitialContextException.java: Likewise.
7165 * javax/naming/NoPermissionException.java: Likewise.
7166 * javax/naming/NotContextException.java: Likewise.
7167 * javax/naming/OperationNotSupportedException.java: Likewise.
7168 * javax/naming/PartialResultException.java: Likewise.
7169 * javax/naming/Reference.java: Likewise.
7170 * javax/naming/Referenceable.java: Likewise.
7171 * javax/naming/ReferralException.java: Likewise.
7172 * javax/naming/ServiceUnavailableException.java: Likewise.
7173 * javax/naming/SizeLimitExceededException.java: Likewise.
7174 * javax/naming/TimeLimitExceededException.java: Likewise.
7175 * javax/naming/directory/Attribute.java: Likewise.
7176 * javax/naming/directory/AttributeInUseException.java: Likewise.
7177 * javax/naming/directory/AttributeModificationException.java: Likewise.
7178 * javax/naming/directory/Attributes.java: Likewise.
7179 * javax/naming/directory/BasicAttribute.java: Likewise.
7180 * javax/naming/directory/BasicAttributes.java: Likewise.
7181 * javax/naming/directory/DirContext.java: Likewise.
7182 * javax/naming/directory/InitialDirContext.java: Likewise.
7183 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7184 Likewise.
7185 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7186 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7187 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7188 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7189 * javax/naming/directory/ModificationItem.java: Likewise.
7190 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7191 * javax/naming/directory/SchemaViolationException.java: Likewise.
7192 * javax/naming/directory/SearchControls.java: Likewise.
7193 * javax/naming/directory/SearchResult.java: Likewise.
7194 * javax/naming/event/EventContext.java: Likewise.
7195 * javax/naming/event/EventDirContext.java: Likewise.
7196 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7197 * javax/naming/event/NamingEvent.java: Likewise.
7198 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7199 * javax/naming/event/NamingListener.java: Likewise.
7200 * javax/naming/event/ObjectChangeListener.java: Likewise.
7201 * javax/naming/ldap/Control.java: Likewise.
7202 * javax/naming/ldap/ControlFactory.java: Likewise.
7203 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7204 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7205 * javax/naming/ldap/HasControls.java: Likewise.
7206 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7207 * javax/naming/ldap/LdapContext.java: Likewise.
7208 * javax/naming/ldap/LdapReferralException.java: Likewise.
7209 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7210 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7211 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7212 * javax/naming/spi/DirObjectFactory.java: Likewise.
7213 * javax/naming/spi/DirStateFactory.java: Likewise.
7214 * javax/naming/spi/DirectoryManager.java: Likewise.
7215 * javax/naming/spi/InitialContextFactory.java: Likewise.
7216 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7217 * javax/naming/spi/NamingManager.java: Likewise.
7218 * javax/naming/spi/ObjectFactory.java: Likewise.
7219 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7220 * javax/naming/spi/ResolveResult.java: Likewise.
7221 * javax/naming/spi/Resolver.java: Likewise.
7222 * javax/naming/spi/StateFactory.java: Likewise.
7223
7224 * javax/naming/spi/NamingManager.java (ofb): Package private.
7225
7226 2002-11-21 Mark Wielaard <mark@klomp.org>
7227
7228 * java/net/URL.java: Merge with Classpath (partly).
7229 * java/net/URLStreamHandler: Merge with Classpath.
7230
7231 2002-11-22 Michael Koch <konqueror@gmx.de>
7232
7233 * include/posix.h:
7234 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7235 * include/win32.h:
7236 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7237 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7238
7239 2002-11-21 Michael Koch <konqueror@gmx.de>
7240
7241 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7242 Only the new network functions should be in it.
7243
7244 2002-11-21 Michael Koch <konqueror@gmx.de>
7245
7246 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7247 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7248
7249 2002-11-21 Michael Koch <konqueror@gmx.de>
7250
7251 * java/nio/channels/AsynchronousCloseException.java,
7252 java/nio/channels/CancelledKeyException.java,
7253 java/nio/channels/ClosedByInterruptException.java,
7254 java/nio/channels/ConnectionPendingException.java,
7255 java/nio/channels/FileLockInterruptionException.java,
7256 java/nio/channels/IllegalSelectorException.java,
7257 java/nio/channels/NoConnectionPendingException.java,
7258 java/nio/channels/NonReadableChannelException.java,
7259 java/nio/channels/NonWritableChannelException.java,
7260 java/nio/channels/NotYetBoundException.java,
7261 java/nio/channels/NotYetConnectedException.java,
7262 java/nio/channels/OverlappingFileLockException.java,
7263 java/nio/channels/UnresolvedAddressException.java,
7264 java/nio/channels/UnsupportedAddressTypeException.java:
7265 New files.
7266 * Makefile.am (ordinary_java_source_files): Added new files.
7267 * Makefile.in: Regenerated.
7268
7269 2002-11-21 Michael Koch <konqueror@gmx.de>
7270
7271 * include/posix.h
7272 (_Jv_socket): New method.
7273 (_Jv_connect): New method.
7274 (_Jv_close): New method.
7275 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7276 (_Jv_bind): New method.
7277 (_Jv_listen): New method.
7278 (_Jv_write): New method.
7279 (_Jv_read): New method.
7280 * include/win32.h
7281 (_Jv_socket): New method.
7282 (_Jv_connect): New method.
7283 (_Jv_close): New method.
7284 (_Jv_bind): New method.
7285 (_Jv_listen): New method.
7286 (_Jv_write): New method.
7287 (_Jv_read): New method.
7288 * java/net/natNetworkInterface.cc:
7289 Include platform.h, removed inclusion of socket.h
7290 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7291 ::close() by _Jv_close().
7292 * java/net/natPlainDatagramSocketImpl.cc:
7293 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7294 added some new lines to make code more readable.
7295 (create): Replaced ::socket() by _Jv_socket().
7296 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7297 * java/net/natPlainSocketImpl.cc:
7298 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7299 removed include of socket.h, removed some windows defines
7300 (now in include/win32.h).
7301 (create): Replaced ::socket() by _Jv_socket().
7302 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7303 (write): Replaced ::read by _Jv_write().
7304 (read): Replaced ::read by _Jv_read().
7305
7306 2002-11-20 Michael Koch <konqueror@gmx.de>
7307
7308 * Makefile.am (ordinary_java_source_files):
7309 Added java/nio/channels/FileChannel.java.
7310 * Makefile.in: Regenerated.
7311
7312 2002-11-20 Michael Koch <konqueror@gmx.de>
7313
7314 * java/io/FileInputStream.java
7315 (getChannel): New method.
7316 * java/io/FileOutputStream.java
7317 (getChannel): New method.
7318 * java/net/ServerSocket.java
7319 (bind): Removed duplicate code and called another bind method instead.
7320 * java/nio/channels/SelectionKey.java
7321 (isValid): Removed wrong exception documentation.
7322 * java/nio/channels/ServerSocketChannel.java
7323 (accept): Added exception documentation.
7324 (open): Fixed typo, added exception documentation.
7325 * java/nio/channels/spi/AbstractSelectableChannel.java
7326 (implCloseChannel): Added exception documentation.
7327 (add): Reformated.
7328 (register): Added exception documentation.
7329
7330 2002-11-20 Andreas Jaeger <aj@suse.de>
7331
7332 * configure: Regenerated with new libtool.m4.
7333
7334 2002-11-19 Tom Tromey <tromey@redhat.com>
7335
7336 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7337 `referent'.
7338 (finalize_referred_to_object): Don't modify `referent' or `copy'
7339 fields.
7340 (add_to_hash): Correctly set `n->next' when updating list.
7341 * java/lang/ref/Reference.java (enqueue): Return false if already
7342 enqueued.
7343
7344 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7345
7346 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7347 to function and function pointer declarations in accordance with
7348 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7349 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7350 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7351 JNI function definitions.
7352
7353 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7354
7355 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7356 that was causing CoderResults to be cached, not WeakReferences
7357 to CoderResults.
7358
7359 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7360
7361 * java/security/KeyStore.java (getInstance): Fix
7362 comment and throw IllegalArgumentException if
7363 given provider is null.
7364 (getInstance): New method for jdk1.4 compatibility.
7365
7366 2002-11-18 Michael Koch <konqueror@gmx.de>
7367
7368 * java/net/PlainSocketImpl.java: Fix imports.
7369
7370 2002-11-18 Michael Koch <konqueror@gmx.de>
7371
7372 * java/nio/channels/SelectionKey.java
7373 (isValid): Added exception documentation.
7374 * java/nio/channels/Selector.java
7375 (open): Declare "throws IOException".
7376
7377 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7378
7379 * java/nio/charset/Charset.java
7380 (<clinit>): New method.
7381 (encode): Synchronize use of cached encoder object.
7382 (decode): Synchronize use of cached encoder object.
7383
7384 2002-11-18 Michael Koch <konqueror@gmx.de>
7385
7386 * gnu/java/nio/ByteBufferImpl.java,
7387 gnu/java/nio/CharBufferImpl.java,
7388 gnu/java/nio/DatagramChannelImpl.java,
7389 gnu/java/nio/DoubleBufferImpl.java,
7390 gnu/java/nio/FileChannelImpl.java,
7391 gnu/java/nio/FloatBufferImpl.java,
7392 gnu/java/nio/IntBufferImpl.java,
7393 gnu/java/nio/LongBufferImpl.java,
7394 gnu/java/nio/PipeImpl.java,
7395 gnu/java/nio/SelectionKeyImpl.java,
7396 gnu/java/nio/SelectorImpl.java,
7397 gnu/java/nio/SelectorProviderImpl.java,
7398 gnu/java/nio/ServerSocketChannelImpl.java,
7399 gnu/java/nio/ShortBufferImpl.java,
7400 gnu/java/nio/SocketChannelImpl.java,
7401 java/nio/DoubleBuffer.java,
7402 java/nio/FloatBuffer.java,
7403 java/nio/IntBuffer.java,
7404 java/nio/LongBuffer.java,
7405 java/nio/ShortBuffer.java,
7406 java/nio/channels/FileChannel.java: New files.
7407
7408 2002-11-18 Michael Koch <konqueror@gmx.de>
7409
7410 * Makefile.am (ordinary_java_source_files):
7411 Added java/nio/ReadOnlyBufferException.java and
7412 java/nio/channels/ClosedSelectorException.java.
7413 * Makefile.in: Regenerated.
7414
7415 2002-11-18 Michael Koch <konqueror@gmx.de>
7416
7417 * java/net/PlainSocketImpl.java: Reworked imports.
7418 * java/net/ServerSocket.java
7419 (ServerSocket): Create socket.
7420 * java/net/SocketAddress.java: Documentation added.
7421 * java/net/natPlainSocketImpl.cc: Reindented.
7422 * java/nio/ReadOnlyBufferException.java: New file
7423 * java/nio/channels/ClosedChannelException.java: Documentation added.
7424 * java/nio/channels/ClosedSelectorException.java: New file.
7425
7426 2002-11-17 Mark Wielaard <mark@klomp.org>
7427
7428 * java/net/HttpURLConnection.java ((getPermission): Take port
7429 into consideration.
7430 (getErrorStream): Implement.
7431
7432 2002-11-17 Mark Wielaard <mark@klomp.org>
7433
7434 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7435
7436 2002-11-16 Mark Wielaard <mark@klomp.org>
7437
7438 Integrate work by Raif S. Naffah (raif@fl.net.au)
7439 * java/security/DummyKeyPairGenerator.java (clone): New method.
7440 * java/security/DummyMessageDigest.java (clone): New method.
7441 (engineUpdate): Now public.
7442 (engineReset): Likewise.
7443 (engineDigest): Likewise.
7444 (engineGetDigestLength): New method.
7445 * java/security/DummySignature.java (clone): New method.
7446 * java/security/KeyPairGenerator.java (provider): Now package private.
7447 (getInstance(String)): Use getInstance(String,Provider).
7448 (getInstance(String,String): Use getInstance(String,Provider)
7449 (getInstance(String,Provider): New method.
7450 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7451 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7452 * java/security/MessageDigest.java (provider): Now package private.
7453 (getInstance(String): Use getInstance(String,Provider).
7454 (getInstance(String,String): Use getInstance(String,Provider)
7455 (getInstance(String,Provider): New method.
7456 * java/security/Provider.java (toCanonicalKey): New method.
7457 (get): New method that uses toCanonicalKey().
7458 (put): Use toCanonicalKey().
7459 (remove): Likewise.
7460 * java/security/Security.java (insertProviderAt): Provider index is one
7461 based, not zero based.
7462 (addProvider): Likewise.
7463 (removeProvider): Likewise.
7464 * java/security/Signature.java (provider): Now package private.
7465 (getInstance(String)): Use getInstance(String,Provider).
7466 (getInstance(String,String): Use getInstance(String,Provider)
7467 (getInstance(String,Provider): New method.
7468 (getInstance(String,String,Provider): Don't cast DummySignature.
7469
7470 2002-11-15 Tom Tromey <tromey@redhat.com>
7471
7472 For PR libgcj/8593:
7473 * java/util/zip/GZIPInputStream.java (read): Check file size.
7474 Look in inflater for remaining input bytes.
7475 (read4): Added buf and offset arguments.
7476
7477 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7478
7479 * java/applet/AppletContext.java: Fix typo and remove redundant
7480 modifiers.
7481
7482 2002-11-14 Tom Tromey <tromey@redhat.com>
7483
7484 * java/lang/natRuntime.cc (insertSystemProperties): Set
7485 gnu.classpath.home.
7486
7487 2002-11-13 Michael Koch <konqueror@gmx.de>
7488
7489 * java/nio/ByteBuffer.java
7490 (allocate): New method.
7491 (wrap): New method.
7492 (put): New method.
7493 (get): New method.
7494
7495 2002-11-13 Michael Koch <konqueror@gmx.de>
7496
7497 * java/nio/channels/AlreadyConnectedException.java:
7498 Removed unneeded import.
7499 (AlreadyConnectedException): Documentation added.
7500 * java/nio/channels/Pipe.java
7501 (SinkChannel.SinkChannel): Documentation added.
7502 (SinkChannel.validOps): New method.
7503 (SourceChannel.SourceChannel): Documentation added.
7504 (SourceChannel.validOps): New method.
7505 (Pipe): Documentation added.
7506 (open): Documentation added.
7507 (SinkChannel.channel): Documentation added.
7508 (SourceChannel.channel): Documentation added.
7509 * java/nio/channel/SelectableChannel.java
7510 (SelectableChannel): Documentation added.
7511 (blockingLock): Documentation added.
7512 (configureBlocking):Documentation added.
7513 (isBlocking):Documentation added.
7514 (isRegistered):Documentation added.
7515 (keyFor):Documentation added.
7516 (provider):Documentation added.
7517 (register): Documentation added.
7518 (validOps): Documentation added.
7519 * jaba/nio/channels/SelectionKey.java
7520 (SelectionKey): Documentation added.
7521 (attach): Documentation added.
7522 (attachment): Documentation added.
7523 (isAcceptable): Documentation added.
7524 (isConnetable): Documentation added.
7525 (isReadable): Documentation added.
7526 (isWritable): Documentation added.
7527 (cancel): Documentation added.
7528 (channel): Documentation added.
7529 (interestOps): Documentation added.
7530 (isValid): Documentation added.
7531 (readyOps): Documentation added.
7532 (selector): Documentation added.
7533 * jaba/nio/channels/Selector.java
7534 (Selector): Documentation added.
7535 (open): Documentation added.
7536 (close): Documentation added.
7537 (isOpen): Documentation added.
7538 (keys): Documentation added.
7539 (provider): Documentation added.
7540 (select): Documentation added.
7541 (selectedKeys): Documentation added.
7542 (selectNow): Documentation added.
7543 (wakeup): Documentation added.
7544 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7545 (AbstractInterruptibleChannel): Documentation added.
7546 (opened): Default to true;
7547 (begin): Documentation added.
7548 (close): Set opened to false, documentation added.
7549 (isOpen): Documentation added.
7550 * java/nio/channels/spi/AbstractSelectionKey.java
7551 (AbstractSelectionKey): Documentation added.
7552 (cancel): Documentation added.
7553 (isValid): Documentation added.
7554 * java/nio/channels/spi/AbstractSelector.java
7555 (AbstractSelector): Documentation added.
7556 (begin): Documentation added.
7557 (close): Documentation added.
7558 (isOpen): Documentation added.
7559 (deregister): Documentation added.
7560 (end): Documentation added.
7561 (provider): Documentation added.
7562 (implCloseSelector): Documentation added.
7563 (register): Documentation added.
7564 * java/nio/channels/spi/SelectorProvider.java
7565 (SelectorProvider): Documentation added.
7566 (openDatagramChannel): Documentation added.
7567 (openPipe): Documentation added.
7568 (openSelector): Documentation added.
7569 (openServerSocketChannel): Documentation added.
7570 (openSocketChannel): Documentation added.
7571 (provider): Documentation added.
7572
7573 2002-11-12 Michael Koch <konqueror@gmx.de>
7574
7575 * java/nio/Buffer.java: Implemented.
7576 * java/nio/CharBuffer.java: New file.
7577 * java/nio/InvalidMarkException.java: New file.
7578 * java/nio/channels/DatagramChannel.java: Implemented.
7579 * java/nio/channels/ServerSocketChannel.java: Implemented.
7580 * java/nio/channels/SocketChannel.java: Implemented.
7581 * java/nio/channels/spi/AbstractChannel.java: Removed.
7582 * java/nio/channels/spi/AbstractSelectableChannel.java:
7583 Implemented.
7584 * java/nio/charset/Charset.java:
7585 Merge from Classpath.
7586 * java/nio/charset/CharsetDecoder.java: New file.
7587 * java/nio/charset/CharsetEncoder.java: New file.
7588 * java/nio/charset/CoderResult.java: New file.
7589 * Makefile.am (ordinary_java_source_files): Added new files.
7590 * Makefile.in: Regenerated.
7591
7592 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7593
7594 * gnu/java/nio/charset/ISO_8859_1.java,
7595 gnu/java/nio/charset/Provider.java,
7596 gnu/java/nio/charset/US_ASCII.java,
7597 gnu/java/nio/charset/UTF_16.java,
7598 gnu/java/nio/charset/UTF_16BE.java,
7599 gnu/java/nio/charset/UTF_16Decoder.java,
7600 gnu/java/nio/charset/UTF_16Encoder.java,
7601 gnu/java/nio/charset/UTF_16LE.java,
7602 gnu/java/nio/charset/UTF_8.java: New files.
7603
7604 2002-11-11 Michael Koch <konqueror@gmx.de>
7605
7606 * java/nio/charset/CharacterCodingException.java:
7607 This class must be public.
7608 * java/nio/charset/CoderMalfunctionError.java:
7609 This class must be public.
7610 * java/nio/charset/CodingErrorAction.java:
7611 This class must be public.
7612 * java/nio/charset/IllegalCharsetNameException.java:
7613 This class must be public, better implementation.
7614 * java/nio/charset/MalformedInputException.java:
7615 This class must be public, better implementation.
7616 * java/nio/charset/UnmappableCharacterException.java:
7617 This class must be public, better implementation.
7618 * java/nio/charset/UnsupportedCharsetException.java:
7619 This class must be public, better implementation.
7620
7621 2002-11-11 Michael Koch <konqueror@gmx.de>
7622
7623 * java/nio/BufferOverflowException.java,
7624 java/nio/BufferUnderflowException.java: New file.
7625 * Makefile.am (ordinary_java_source_files):
7626 Added new files.
7627 * Makefile.in: Regenerated.
7628
7629 2002-11-10 Tom Tromey <tromey@redhat.com>
7630
7631 * java/awt/Container.java (validate): Use tree lock.
7632 (getComponent): Likewise.
7633 (getComponents): Likewise.
7634 (addImpl): Likewise.
7635 (remove): Likewise.
7636 (removeAll): Likewise.
7637 (processEvent): Fixed indentation.
7638 (getComponentAt): Use tree lock.
7639 (findComponentAt): Likewise.
7640 (removeNotify): Likewise.
7641 (isAncestorOf): Likewise.
7642 (list): Likewise.
7643 (visitChildren): Likewise.
7644 (findNextFocusComponent): Likewise.
7645 (addNotifyContainerChildren): Likewise.
7646 (getAccessibleChildrenCount): Likewise.
7647 (getAccessibleChild): Likewise.
7648
7649 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7650 (getSize): Likewise.
7651 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7652 (getSize): Likewise.
7653 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7654 (calcSize): Likewise.
7655 * java/awt/CardLayout.java (getSize): Use tree lock.
7656 (gotoComponent): Likewise.
7657 (layoutContainer): Likewise.
7658
7659 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7660 count is 0.
7661 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7662 count is 0.
7663
7664 * java/io/Externalizable.java, java/io/FilePermission.java,
7665 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7666 java/io/SerializablePermission.java, java/text/Format.java,
7667 java/util/AbstractMap.java, java/util/HashMap.java,
7668 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7669 versions from Classpath.
7670
7671 2002-11-10 Anthony Green <green@redhat.com>
7672
7673 * java/util/jar/Attributes.java (Name): Fix name check.
7674
7675 2002-11-10 Mark Wielaard <mark@klomp.org>
7676
7677 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7678 with getName() as message.
7679 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7680 type as message.
7681
7682 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7683 unused.
7684
7685 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7686
7687 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7688 for Win32. JNICALL has been defined to __stdcall to be compatible
7689 with Sun's JDKs.
7690
7691 2002-11-10 Tom Tromey <tromey@redhat.com>
7692
7693 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7694 (setRows): Check newRows, not rows.
7695
7696 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7697
7698 2002-11-09 Tom Tromey <tromey@redhat.com>
7699
7700 * java/applet/Applet.java, java/applet/AppletContext.java,
7701 java/applet/AppletStub.java, java/applet/AudioClip.java,
7702 java/awt/CardLayout.java,
7703 java/awt/ContainerOrderFocusTraversalPolicy.java,
7704 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7705 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7706 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7707 java/awt/color/ICC_ColorSpace.java,
7708 java/awt/color/ICC_Profile.java,
7709 java/awt/color/ICC_ProfileGray.java,
7710 java/awt/color/ICC_ProfileRGB.java,
7711 java/awt/datatransfer/DataFlavor.java,
7712 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7713 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7714 New versions from Classpath.
7715 * Makefile.in: Rebuilt.
7716 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7717 ICC_ProfileRGB.
7718
7719 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7720 display policy.
7721
7722 * java/awt/List.java (processEvent): Added missing `else's.
7723
7724 * java/awt/Window.java (show): validate() before showing. Make
7725 parent displayable.
7726 (isDisplayable): New method.
7727
7728 2002-11-07 Mark Wielaard <mark@klomp.org>
7729
7730 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7731 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7732
7733 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7734 annotation.
7735 (loadClass): Take String as codebases.
7736 (getClassAnnotation): Use MyClassLoader annotations.
7737 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7738 call exportObject(this).
7739
7740 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7741 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7742 (setAnnotation): Don't set locBytesStream and locStream.
7743 (replaceObject): Removed.
7744 (flush): Don't test locStream.
7745 (getLocBytes): LikeWise.
7746 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7747 (leaseCache): New field.
7748 (dirty): Use leaseCache.
7749 (LeaseRecord): New inner class.
7750 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7751 explicitly call exportObject().
7752 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7753 false to communicate with Sun JDK130.
7754 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7755 * gnu/java/rmi/server/RMIObjectInputStream.java
7756 (UnicastConnectionManager): Removed field.
7757 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7758 Use UnicastServer.getExportedRef().
7759 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7760 (expireTime): Likewise.
7761 (CONNECTION_TIMEOUT): Likewise.
7762 (disconnect): Call sock.close().
7763 (isExpired): New method.
7764 (resetTime): Likewise.
7765 (run): Use do while loop and catch Exception for discardConnection().
7766 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7767 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7768 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7769 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7770 (exportObject): Use refcache.
7771 (unexportObject): Likewise.
7772 (getExportedRef): New method.
7773 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7774 constructor.
7775 (exportObject): Save manager.serverobj.
7776 (getStub): New method.
7777
7778 2002-11-07 Mark Wielaard <mark@klomp.org>
7779
7780 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7781 (getByte): Likewise.
7782 (getShort): Likewise.
7783 (getInt): Likewise.
7784 (getLong): Likewise.
7785 (getFloat): Likewise.
7786 (getDouble): Likewise.
7787 (get): Likewise.
7788 (setChar): Likewise.
7789 (setByte): Likewise.
7790 (setShort): Likewise.
7791 (setInt): Likewise.
7792 (setLong): Likewise.
7793 (setFloat): Likewise.
7794 (setDouble): Likewise.
7795
7796 2002-11-07 Michael Koch <konqueror@gmx.de>
7797
7798 * java/awt/Choice.java,
7799 java/awt/Container.java,
7800 java/awt/GridBagLayout.java:
7801 Fixed documentation.
7802 * java/awt/peer/ContainerPeer.java:
7803 Reindented.
7804
7805 2002-11-07 Michael Koch <konqueror@gmx.de>
7806
7807 * java/awt/color/ICC_Profile.java:
7808 Added missing constants.
7809 * java/awt/color/ICC_ColorSpace.java
7810 (getMinValue): Added dummy implementation.
7811 (getMaxValue): Added dummy implementation.
7812 * java/awt/datatransfer/DataFlavor.java
7813 (imageFlavor): Added.
7814 (isMimeTypeEqual): Must be final.
7815 (getDefaultRepresentationClass): Must be non-static.
7816 (getDefaultRepresentationClassAsString): Must be non-static.
7817 * java/awt/dnd/DragSourceContext.java
7818 (dragExit): Corrected argument.
7819 (dragDropEnd): Corrected argument.
7820 * java/awt/dnd/DragSourceListener.java.java
7821 (dragExit): Corrected argument.
7822 (dragDropEnd): Corrected argument.
7823 * java/awt/font/TextHitInfo.java
7824 (toString): Added stubbed implementation.
7825 * java/awt/geom/PathIterator.java:
7826 The constants must be static.
7827 * java/awt/image/VolatileImage.java
7828 (IMAGE_INCOMPATIBLE): Fixed typo.
7829 * java/awt/image/renderable/RenderableImage.java
7830 (HINTS_OBSERVED): Must be static.
7831 * java/beans/BeanInfo.java:
7832 Constants must be final.
7833
7834 2002-11-06 Tom Tromey <tromey@redhat.com>
7835
7836 From svens@it.uu.se. For PR libgcj/8481.
7837 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7838
7839 2002-11-06 Tom Tromey <tromey@redhat.com>
7840
7841 * jni.cc (array_from_valist): Assume that jlong won't be
7842 promoted.
7843
7844 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7845
7846 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7847 Return 20.
7848 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7849 Return 16.
7850
7851 2002-11-03 Tom Tromey <tromey@redhat.com>
7852
7853 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7854 VMClassLoader, not findClass.
7855
7856 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7857
7858 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7859 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7860 _Jv_DetermineVTableIndex, to determine vtable offset.
7861 (_Jv_DetermineVTableIndex): Remove.
7862 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7863
7864 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7865
7866 2002-11-03 Tom Tromey <tromey@redhat.com>
7867
7868 * java/nio/channels/AlreadyConnectedException.java: Extend
7869 IllegalStateException, per spec.
7870
7871 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7872
7873 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7874
7875 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7876
7877 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7878 size items.
7879
7880 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7881
7882 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7883 initial estimated size to avoid enlarge buffer frequently.
7884
7885 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7886
7887 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7888 ClassLoader when null.
7889 (ProxyType.hashCode): Loader null check no longer needed.
7890 (ProxyType.sameTypes): New method.
7891 (ProxyType.equals): Use new method.
7892
7893 2002-10-31 Mark Wielaard <mark@klomp.org>
7894
7895 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7896 length of String.
7897 * java/net/URLEncoder.java (encode): Likewise.
7898
7899 2002-10-31 Mark Wielaard <mark@klomp.org>
7900
7901 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7902 when stream is closed.
7903 (closeEntry): Likewise.
7904 (read): Likewise.
7905 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7906 ZipException when no entry active.
7907 (closeEntry): Likewise.
7908 (write): Likewise.
7909
7910 2002-11-02 Tom Tromey <tromey@redhat.com>
7911
7912 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7913 * java/lang/natClass.cc (initializeClass): Don't return just
7914 because self==thread.
7915
7916 For PR java/8415:
7917 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7918 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7919
7920 2002-11-02 Andreas Schwab <schwab@suse.de>
7921
7922 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7923 pass GCJFLAGS.
7924 (FLAGS_TO_PASS): Define.
7925 * Makefile.in: Regenerated.
7926
7927 2002-11-01 Michael Koch <konqueror@gmx.de>
7928
7929 * java/nio/ByteOrder.java: New file.
7930 * java/nio/channels/DatagramChannel.java:
7931 (DatagramChannel): New constructor.
7932 * java/nio/channels/Pipe.java: New file.
7933 * java/nio/channels/SelectableChannel.java: New file.
7934 * java/nio/channels/SelectionKey.java: New file.
7935 * java/nio/channels/Selector.java: New file.
7936 * java/nio/channels/ServerSocketChannel.java
7937 (ServerSocketChannel): New constructor.
7938 * java/nio/channels/SocketChannel.java
7939 (SocketChannel): New constructor.
7940 * java/nio/channels/Pipe.java: New file.
7941 * java/nio/channels/spi/AbstractChannel.java: New file.
7942 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7943 * java/nio/channels/spi/AbstractSelectableChannel.java:
7944 License added
7945 (AbstractSelectableChannel): New stubbed method.
7946 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7947 * java/nio/channels/spi/AbstractSelector.java: New file.
7948 * java/nio/channels/spi/SelectorProvider.java: New file.
7949 * java/nio/charset/Charset.java: New file.
7950 * java/nio/charset/CoderMalfunctionError.java: New file.
7951 * java/nio/charset/CodingErrorAction.java: New file.
7952 * java/nio/charset/spi/CharsetProvider.java
7953 (charsetForName): Uncommented.
7954 * Makefile.am (java_native_source_files): Added new files.
7955 * Makefile.in: Regenerated.
7956
7957 2002-11-01 Michael Koch <konqueror@gmx.de>
7958
7959 * java/net/InetAddress.java:
7960 (isAnyLocalAddress): Implemented.
7961 (isLoopbackAddress): Implemented, comment added.
7962 (isLinkLocalAddress): Implemented, documentation added.
7963 (isSiteLocalAddress): Implemented, documentation added.
7964 (isMCGlobal): Implemented, documentation added.
7965 (isMCNodeLocal): Implemented, documentation added.
7966 (isMCLinkLocal): Implemented, documentation added.
7967 (isMCSiteLocal): Implemented, documentation added.
7968 (isMCOrgLocal): Implemented, documentation added.
7969 (getHostName): Documentation added.
7970 (getCanonicalHostName): Implemented, documentation added.
7971 (getAddress): Documentation added.
7972 (hashCode): Documentation added.
7973 (equals): Documentation added.
7974 (toString): Fixed implementation.
7975 (getByAddress): Use Inet4Address and Inet6Address.
7976 (lookup): New linewrap.
7977 (getByName): SecurityManager check added, support Inet4Address and
7978 Inet6address, comments added.
7979 (getAllByName): SecurityManager check added, comments added.
7980 * java/net/Inet6Address.java:
7981 (Inet6Address): Initialize parent class with addr instead of null.
7982 * java/net/URL.java
7983 (equals): Documentation added.
7984 (getFile): Documentation added.
7985 (hashCode): Documentation added.
7986 * java/net/natInetAddress.cc:
7987 (aton): Fix IPv6 support.
7988 * java/net/natPlainDatagramSocketImpl.cc:
7989 (peek): Throw PortUnreachableException when suitable.
7990 (peekData): Throw PortUnreachableException when suitable.
7991 (send): Throw PortUnreachableException when suitable.
7992 (receive): Throw PortUnreachableException when suitable.
7993
7994 2002-10-27 Mark Wielaard <mark@klomp.org>
7995
7996 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7997 argument.
7998 (readLeShort): Likewise and use byte[].
7999 (readLeInt): Likewise.
8000 (readEntries): Use new versions of methods and use byte[] for reading
8001 a complete zip entry. Add ZipFile name to exceptions.
8002 (entries): Add ZipFile name to exceptions.
8003 (getEntry): Likewise.
8004 (checkLocalHeader): Use new versions of methods and add ZipFile name
8005 to exceptions.
8006
8007 2002-10-31 Mark Anderson <mark@panonet.net>
8008
8009 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8010 added
8011
8012 2002-10-25 Krister Walfridsson <cato@df.lth.se>
8013
8014 * configure.in: Disable hash sync when not using threads.
8015 * configure: Regenerated.
8016
8017 2002-10-24 Tom Tromey <tromey@redhat.com>
8018
8019 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8020 (_Jv_FindSymbolInExecutable): Removed argument name.
8021 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8022 java.library.path is set.
8023
8024 * gij.cc (help): Document --showversion.
8025 (version): Don't exit.
8026 (main): Handle --showversion. Exit if --version given.
8027
8028 2002-10-23 Tom Tromey <tromey@redhat.com>
8029
8030 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8031 (array_from_valist): Correctly handle promotion for jint, jlong,
8032 jfloat, and jdouble.
8033
8034 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
8035
8036 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8037 GetFileAttributesEx( ) to find file length and modification times,
8038 as the latter is not present on Windows 95.
8039
8040 2002-10-21 Michael Koch <konqueror@gmx.de>
8041
8042 * java/net/URL.java
8043 (URL): Activate SecurityManager checks.
8044 (equals): Use URLStreamHandler implementation instead of doing it
8045 alone. This allows special protocol stream handlers to change default
8046 behaviour.
8047 (hashCode): Use URLStreamHandler implementation instead of doing it
8048 alone. This allows special protocol stream handlers to change default
8049 behaviour.
8050 * java/net/URLStreamHandler.java
8051 (equals): Implemented default URL equality check.
8052 (hostsEqual): Implemented default URL equality check.
8053 (hashCode): Implemented default URL hashCode algorithm.
8054 * java/net/natPlainDatagramSocketImpl.cc:
8055 No lines longer then 80 characters.
8056
8057 2002-10-20 Adam Megacz <adam@xwt.org>
8058
8059 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8060 * configure.in: enabled hash sync on Win32
8061 * include/win32-threads.h (_Jv_ThreadId_t): added.
8062 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8063 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8064 removed some posix-isms, use Thread::sleep() instead of usleep,
8065 added code to clear bottom three bits if platform has a broken
8066 linker.
8067 * include/win32-threads.h (_Jv_ThreadId_t): added.
8068
8069 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
8070
8071 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8072 runtime property "gnu.gcj.progname" containing the name used to
8073 invoke the current Java program (similar to argv[0] for C
8074 programs).
8075
8076 2002-10-15 Tom Tromey <tromey@redhat.com>
8077
8078 Fix for PR libgcj/8234:
8079 * java/util/zip/natInflater.cc (reset): Reset avail_in.
8080 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8081
8082 2002-10-13 Mark Wielaard <mark@klomp.org>
8083
8084 * mauve-libgcj: Enable Mauve tests that compile now.
8085
8086 2002-10-11 Mark Wielaard <mark@klomp.org>
8087
8088 Fix for PR libgcj/8142
8089 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8090 loading native modules.
8091
8092 2002-10-10 Michael Koch <konqueror@gmx.de>
8093
8094 * javax/swing/AbstractListModel.java
8095 (getListDataListeners): New stubbed method.
8096 javax/swing/DefaultBoundedRangeModel.java
8097 (getChangeListeners): New stubbed method.
8098 javax/swing/DefaultSingleSelectionModel.java
8099 (getChangeListeners): New stubbed method.
8100
8101 2002-10-10 Michael Koch <konqueror@gmx.de>
8102
8103 * gcj/.cvsignore: New file to ignore files generated during build.
8104 * include/.cvsignore: New file to ignore files generated during build.
8105
8106 2002-10-10 Michael Koch <konqueror@gmx.de>
8107
8108 * java/net/HttpURLConnection.java
8109 (getPermission): New method.
8110 (getErrorStream): New stub method.
8111 (getHeaderFieldDate): New stub method.
8112 * java/net/Inet4Address.java:
8113 (isLinkLocalAddress): Typo fixed.
8114 * java/net/InetAddress.java:
8115 (readResolve): New stubbed method (for serialization).
8116 (isAnyLocalAddress): New stubbed method.
8117 (isLoopbackAddress): New stubbed method.
8118 (isLinkLocalAddress): New stubbed method.
8119 (isSiteLocalAddress): New stubbed method.
8120 (isMCGlobal): New stubbed method.
8121 (isMCNodeGlobal): New stubbed method.
8122 (isMCLinkLocal): New stubbed method.
8123 (isMCSiteLocal): New stubbed method.
8124 (isMCOrgLocal): New stubbed method.
8125 (getCanonicalHostName): New stubbed method.
8126 (getByAddress): Create instances of Inet4Address/Inet6Address,
8127 instead of InetAddress, documentation added.
8128 * java/net/MulticastSocket.java
8129 (getInterface): Removed FIXME.
8130 (getNetworkInterface): New method.
8131 (setNetworkInterface): New method.
8132 * java/net/NetworkInterface.java:
8133 (toString): Use property "line.separator" instead of "\n".
8134 * java/net/URLConnection.java
8135 (getContent): New stubbed method.
8136 * java/net/URLStreamHandler.java:
8137 (equals): New stubbed method.
8138 (hostsEqual): New stubbed method.
8139 (hashCode): New stubbed method.
8140 * java/net/natNetworkInterface.cc:
8141 (getRealNetworkInterfaces): Create Inet4Address object
8142 instead of InetAddress.
8143
8144 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8145
8146 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8147 unsigned long temporary to implement insn_iushr shifts.
8148
8149 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8150
8151 * configure.host [s390*-*]: Enable Java interpreter.
8152 Enable hash synchronization. Add sysdeps dir.
8153 * sysdep/s390/locks.h: New file.
8154
8155 2002-10-06 Mark Wielaard <mark@klomp.org>
8156
8157 * java/lang/Thread.java (setDaemon): Check startable_flag,
8158 not isAlive().
8159
8160 2002-10-07 Michael Koch <konqueror@gmx.de>
8161
8162 * java/nio/Buffer.java: New stub file.
8163 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8164 of class Charset.
8165 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8166 * Makefile.in: Regenerated.
8167
8168 2002-10-07 Michael Koch <konqueror@gmx.de>
8169
8170 * java/nio/ByteBuffer.java:
8171 removed import of not commited class.
8172
8173 2002-10-07 Michael Koch <konqueror@gmx.de>
8174
8175 * java/nio/ByteBuffer.java,
8176 java/nio/MappedByteBuffer.java:
8177 New files, forgot to add these dummies.
8178 * Makefile.am (java_native_source_files): Added new files.
8179 * Makefile.in: Regenerated.
8180
8181 2002-10-07 Michael Koch <konqueror@gmx.de>
8182
8183 * java/nio/channels/AlreadyConnectedException.java,
8184 java/nio/channels/ClosedChannelException.java,
8185 java/nio/channels/ReadableByteChannel.java,
8186 java/nio/channels/InterruptibleChannel.java,
8187 java/nio/channels/Channel.java,
8188 java/nio/channels/ByteChannel.java,
8189 java/nio/channels/GatheringByteChannel.java,
8190 java/nio/channels/ScatteringByteChannel.java,
8191 java/nio/channels/WritableByteChannel.java,
8192 java/nio/charset/CharacterCodingException.java,
8193 java/nio/charset/IllegalCharsetNameException.java,
8194 java/nio/charset/MalformedInputException.java,
8195 java/nio/charset/UnmappableCharacterException.java,
8196 java/nio/charset/UnsupportedCharsetException.java,
8197 java/nio/charset/spi/CharsetProvider.java: New file.
8198 These files are exceptions or interfaces,
8199 no real or abstract classes.
8200 * Makefile.am (java_native_source_files): Added new files.
8201 * Makefile.in: Regenerated.
8202
8203 2002-10-05 Michael Koch <konqueror@gmx.de>
8204
8205 * java/net/InetAddress.java
8206 (getByAddress): Fixed documentation.
8207 (getByAddress): New method.
8208 * java/net/Inet4Address.java: New file.
8209 * java/net/URL.java
8210 (URL): Documentation added.
8211 (getContent): Documentation added.
8212 (getContent): New stubbed method.
8213 (getQuery): New method.
8214 (openConnection): Documentation added.
8215 (openStream): Documentation added.
8216 (setURLStreamHandlerFactory): Documentation added.
8217 * java/net/URI.java: New stub file.
8218 * Makefile.am
8219 (java_native_source_files): Added java/net/Inet4Address.java,
8220 java/net/Inet6Address.java and java/net/URI.java.
8221 * Makefile.in: Regenerated.
8222
8223 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8224
8225 * java/lang/ProtectionDomain.java (linesep): Remove field.
8226 (toString): Use System.getProperty("line.separator").
8227
8228 2002-10-04 Michael Koch <konqueror@gmx.de>
8229
8230 * java/security/Identity.java: Added serialVersionUID.
8231 * java/security/KeyPair.java: Added serialVersionUID.
8232 * java/security/Provider.java: Added serialVersionUID.
8233 * java/security/SecureRandom.java: Added serialVersionUID.
8234 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8235 * java/security/SignedObject.java: Added serialVersionUID.
8236 * java/security/cert/Certificate.java: Added serialVersionUID.
8237
8238 2002-10-04 Mark Wielaard <mark@klomp.org>
8239
8240 * java/security/Security.java: Use java.home or gnu.classpath.home
8241 to load providers.
8242 (loadProviders): Extra dir argument.
8243 (getProvider): Return null when not found.
8244
8245 2002-10-04 Mark Wielaard <mark@klomp.org>
8246
8247 * java/lang/Throwable.java: Remerge with Classpath.
8248
8249 2002-10-04 Michael Koch <konqueror@gmx.de>
8250
8251 * java/net/InetAddress.java:
8252 (isMulticastAddress): Added documentation.
8253 (getHostAddress): Added documentation.
8254 (toString): Added documentation.
8255 (getByAddress): Fixed documentation.
8256 (getByName): Added documentation.
8257 (getAllByName): Added documentation.
8258 (getLocalHost): Added documentation.
8259
8260 2002-10-04 Michael Koch <konqueror@gmx.de>
8261
8262 * java/beans/beancontext/BeanContextChildSupport.java:
8263 Added serialVersionUID.
8264 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8265 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8266 * javax/naming/Name.java: Added serialVersionUID.
8267
8268 2002-10-03 Adam Megacz <adam@xwt.org>
8269
8270 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8271 some functionality that isn't supported yet on WIN32.
8272
8273 2002-10-03 Tom Tromey <tromey@redhat.com>
8274
8275 * Makefile.in: Rebuilt.
8276 * Makefile.am (awt_java_source_files): Added new files.
8277
8278 2002-10-03 Michael Koch <konqueror@gmx.de>
8279
8280 * java/net/InetAddress.java
8281 (class InetAddress): Removed final keyword.
8282 (equals): Fixed typo.
8283 (getByAddress): New method.
8284
8285 2002-10-03 Michael Koch <konqueror@gmx.de>
8286
8287 * java/awt/dnd/Autoscroll.java:
8288 New file, merge from Classpath.
8289 * java/awt/dnd/DragSourceAdapter.java:
8290 (dragExit): Fixed typos in argument type.
8291 (dragDropEnd): Fixed typos in argument type.
8292 * java/awt/dnd/DragSourceDropEvent.java:
8293 New file, merge from Classpath.
8294 * java/awt/dnd/DropTarget.java:
8295 Added stubs, merge from Classpath.
8296 * java/awt/dnd/DropTargetAdapter.java:
8297 New file, merge from Classpath.
8298 * java/awt/dnd/DropTargetContext.java:
8299 New file, merge from Classpath.
8300 * java/awt/dnd/DropTargetDragEvent.java:
8301 New file, merge from Classpath.
8302 * java/awt/dnd/DropTargetDropEvent.java:
8303 New file, merge from Classpath.
8304 * java/awt/dnd/DropTargetEvent.java:
8305 New file, merge from Classpath.
8306 * java/awt/dnd/DropTargetListener.java:
8307 New file, merge from Classpath.
8308 * java/awt/dnd/MouseDragGestureRecognizer.java:
8309 New file, merge from Classpath.
8310 * java/awt/dnd/peer/DropTargetContextPeer.java:
8311 New file, merge from Classpath.
8312
8313 2002-10-03 Michael Koch <konqueror@gmx.de>
8314
8315 * java/net/DatagramPacket.java
8316 (setLength): Fixed typo and be HTML-aware.
8317 * java/net/InetSocketAddress.java
8318 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8319 (equals): Added comment about equality of InetSocketAddress objects.
8320 * java/net/ServerSocket.java
8321 (accept): Added checks.
8322 (isClosed): New stubbed method.
8323 * java/net/SocketOptions.java: Reindention.
8324 * java/net/SocketPermission
8325 (SocketPermission): Documentation fixed.
8326
8327 2002-10-03 Michael Koch <konqueror@gmx.de>
8328
8329 * java/net/DatagramSocket.java
8330 (receive): Check with SecurityManager AFTER the packet is received,
8331 check if connected to multicast address, documentation added.
8332 (send): Only check SecurityManager if connected, check address of
8333 packet to send.
8334 (connect): Implemented, documentation added.
8335 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8336 * java/net/InetSocketAddress.java
8337 (whole file): Reindented.
8338 (hostname): New attribute.
8339 (InetSocketAddress): Initialize new attribute.
8340 (getAddress): Documentation added.
8341 (getHostName): Documentation added.
8342 (getPort): Documentation added.
8343 (hashCode): Documentation added.
8344 (isUnresolved): Documentation added.
8345 (toString): Conform to output of JDK 1.4.1, documentation added.
8346 * java/net/MulticastSocket.java
8347 (joinGroup): Removed FIXME, documentation added.
8348 (leaveGroup): Removed FIXME, documentation added.
8349 (send): Documentation added.
8350 * java/net/Socket.java
8351 (inputShutdown): New variable.
8352 (outputShutdown): New variable.
8353 (Socket): Initialize new variables.
8354 (getRemoteSocketAddress): Check if connected.
8355 (shutdownInput): Set new variable.
8356 (shutdownOutput): Set new variable.
8357 (isConnected): New method.
8358 (isClosed): New method.
8359 (isInputShutdown): New method.
8360 (isOutputShutdown): New method.
8361 * java/net/URLStreamHandler.java
8362 (URLStreamHandler): New method.
8363 (openConnection): Added documentation.
8364 (parseURL): Added documentation.
8365 (getHostAddress): New method.
8366 (getDefaultPort): New method.
8367
8368 2002-10-02 Tom Tromey <tromey@redhat.com>
8369
8370 * java/rmi/activation/ActivationDesc.java,
8371 java/rmi/activation/ActivationGroupDesc.java,
8372 java/rmi/activation/ActivationGroupID.java,
8373 java/rmi/activation/ActivationID.java: New versions from
8374 Classpath.
8375
8376 2002-09-30 Bo Thorsen <bo@suse.de>
8377
8378 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8379
8380 2002-09-30 Tom Tromey <tromey@redhat.com>
8381
8382 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8383 from Classpath.
8384 * Makefile.in: Rebuilt.
8385 * Makefile.am (rmi_java_source_files): Added new files.
8386 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8387 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8388 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8389 Classpath.
8390 * gnu/java/rmi/dgc/DGCImpl.java,
8391 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8392 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8393 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8394 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8395 gnu/java/rmi/server/RMIHashes.java,
8396 gnu/java/rmi/server/RMIObjectInputStream.java,
8397 gnu/java/rmi/server/RMIObjectOutputStream.java,
8398 gnu/java/rmi/server/UnicastConnection.java,
8399 gnu/java/rmi/server/UnicastConnectionManager.java,
8400 gnu/java/rmi/server/UnicastRef.java,
8401 gnu/java/rmi/server/UnicastServer.java,
8402 gnu/java/rmi/server/UnicastServerRef.java,
8403 java/rmi/MarshalledObject.java,
8404 java/rmi/server/RMIClassLoader.java,
8405 java/rmi/server/RemoteObject.java,
8406 java/rmi/server/UnicastRemoteObject.java,
8407 java/security/SecureClassLoader.java: Merged from Classpath.
8408
8409 2002-09-29 Anthony Green <green@redhat.com>
8410
8411 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8412 Imported from GNU Classpath.
8413 * java/lang/reflect/natProxy.cc: New file.
8414 * java/lang/reflect/InvocationHandler.java: New file. Imported
8415 from GNU Classpath.
8416 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8417 Classpath.
8418 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8419 Classpath.
8420 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8421 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8422 New statics.
8423 * gcj/javaprims.h ("Java"): Add new classes.
8424 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8425 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8426 java/lang/reflect/Proxy$$ProxyType.h): And this.
8427 (inner_nat_headers): Add these new headers.
8428 (ordinary_java_source_files): Add new files.
8429 (nat_source_files): Add new file.
8430 * Makefile.in: Rebuilt.
8431
8432 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8433
8434 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8435 a single configuration.
8436
8437 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8438
8439 * java/util/TimeZone.java (getDSTSavings): New method.
8440 Fixes PR libgcj/7786.
8441
8442 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8443
8444 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8445 to see if `the_method == 0' before looking up vtable index.
8446 Fixes PR libgcj/7709.
8447
8448 2002-09-25 Tom Tromey <tromey@redhat.com>
8449
8450 * java/lang/natClassLoader.cc:
8451 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8452 * resolve.cc: Include NoClassDefFoundError.h, not
8453 ClassNotFoundException.h.
8454 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8455
8456 * defineclass.cc: Don't include ClassNotFoundException.h.
8457
8458 * resolve.cc: Include StringBuffer.
8459 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8460
8461 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8462 allocated but not initialized.
8463
8464 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8465
8466 Fix for PR libgcj/7766:
8467 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8468 (getNextEntry): Set it.
8469 (closeEntry): Likewise.
8470 (read): Likewise.
8471 (close): Likewise.
8472 (available): Use it.
8473
8474 2002-09-25 Michael Koch <konqueror@gmx.de>
8475
8476 * java/net/DatagramSocket.java
8477 (DatagramSocket): Initialize new instance variables.
8478 (close): Reset new instance variables.
8479 (getLocalAddress): Remove unneeded SecurityManager usage.
8480 (getLocalPort): Check if socket is already bound.
8481 (isConnected): New method.
8482 (getInetAddress): Implemented.
8483 (getPort): Better Implementation, documentation fixed.
8484 (getRemoteSocketAddress): New method.
8485 * java/net/JarURLConnection.java
8486 (element): Typo fixed.
8487 (getMainAttributes): New method.
8488 (getAttributes): New method (stub only).
8489 (getManifest): New method (stub only).
8490 * java/net/NetPermission.java: Added serialVersionsUID.
8491 * java/net/Socket.java
8492 (connect): Check blocking mode of associated channel,
8493 documentation added.
8494 (getLocalSocketAddress): Better implementation.
8495 (getRemoteSocketAddress): Implemented.
8496 (isBound): New method.
8497 (setSendBufferSize): Documentation added.
8498 * java/net/SocketAddress.java: Added serialVersionsUID.
8499 * java/net/SocketPermission.java: Added serialVersionsUID.
8500 * java/net/URL.java
8501 (URL): Wrap for shorter lines, initialize new instance variables,
8502 documentation added.
8503 (equals): Check new instance variables too.
8504 (getContent): Documentation added.
8505 (getPath): Documentation added.
8506 (getAuthority): New method.
8507 (getHost): Documentation added.
8508 (getPort): Documentation added.
8509 (getDefaultPort): New method.
8510 (getProtocol): Documentation added.
8511 (getUserInfo): Documentation added.
8512 (set): Initialize new instance variables, documentation added.
8513 * java/net/URLStreamHandler.java
8514 (setURL): New method.
8515 * java/net/natPlainDatagramSocketImpl.cc
8516 (connect): Fix exception name.
8517 (disconnect): Fix exception name.
8518
8519 2002-09-25 Michael Koch <konqueror@gmx.de>
8520
8521 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8522 * java/nio/channels/DatagramChannel.java:
8523 extends AbstractSelectableChannel
8524 * java/nio/channels/ServerSocketChannel.java:
8525 extends AbstractSelectableChannel
8526 * java/nio/channels/SocketChannel.java:
8527 extends AbstractSelectableChannel
8528 * Makefile.am (ordinary_java_source_files):
8529 java/nio/channels/spi/AbstractSelectableChannel.java added.
8530 * Makefile.in: Regenerated.
8531
8532 2002-09-25 Michael Koch <konqueror@gmx.de>
8533
8534 * java/net/DatagramSocket.java
8535 (DatagramSocket): Exception documentation added.
8536 (bind): Exception documentation added, addded SecurityManager check,
8537 added SocketAddress type check.
8538 (getSoTimeout): Check impl.
8539 (receive): Fix SecurityManager check, check impl, documentation added.
8540 (send): Check channel mode, documentation added.
8541 (connect): New method.
8542 (disconnect): Implemented.
8543 (getLocalSocketAddress): New method.
8544 (getReceiveBufferSize): Check impl.
8545 (setReuseAddress): Check impl.
8546 (getReuseAddress): Check impl.
8547 (setBroadcast): Check impl.
8548 (getBroadcast): Check impl.
8549 (setTrafficClass): Check impl, Documentation cleared.
8550 (getTrafficClass): Check impl.
8551 (getSendBufferSize): Check impl.
8552 (setReceiveBufferSize): Check impl, documentation added.
8553 (setSendBufferSize): Documentation added.
8554 (setDatagramSocketImplFactory): New method.
8555 * java/net/HttpURLConnection.java
8556 (HTTP_INTERNAL_ERROR): The correct code is 500.
8557 (HTTP_NOT_IMPLEMENTED): Added new constant.
8558 (setFollowRedirects): Documentation added.
8559 (getInstanceFollowRedirects): New method.
8560 (setInstanceFollowRedirects): New method.
8561 (setRequestMethod): Documentation added.
8562 (getResponseCode): Documentation added.
8563 (getResponseMessage): Documentation added.
8564 * java/net/JarURLConnection.java
8565 (JarURLConnection): protected since JDK 1.4.
8566 (getJarEntry): java.io.IOException to IOException, documentation added.
8567 (getJarFile): Documentation added.
8568 * java/net/ServerSocket.java
8569 (ServerSocket): Private to public, exception added.
8570 (ServerSocket): java.io.IOException to IOException, documentation added.
8571 (bind): Check socket address type, documentation added.
8572 (bind): java.io.IOException to IOException, documentation added.
8573 (accept): Documentation added.
8574 (implAccept): Check ch is not non-blocking, documentation added.
8575 (setSoTimeout): Documentation fixed.
8576 (setReceiveBufferSize): Documentation added.
8577 * java/net/Socket.java
8578 (Socket): Documentation added.
8579 (bind): Documentation added.
8580 (connect): Check socket address type, documentation added.
8581 (getRemoteSocketAddress): New method.
8582 (getLocalSocketAddress): New method.
8583 (setSoLinger): Documentation added.
8584 (getReuseAddress): New method.
8585 (setReuseAddress): New method.
8586 (getTrafficClass): New method.
8587 (setTrafficClass): New method.
8588 * java/net/URLStreamHandler.java
8589 (openConnection): java.io.IOException to IOException.
8590 (parseURL): Documentation added.
8591 (sameFile): public to protected, documentation added.
8592 (setURL): Documentation added.
8593 * java/nio/IllegalBlockingModeException.java: New file.
8594 * Makefile.am (ordinary_java_source_files):
8595 added java/nio/IllegalBlockingModeException.java
8596 * Makefile.in: Regenerated.
8597
8598 2002-09-25 Michael Koch <konqueror@gmx.de>
8599
8600 * java/net/DatagramPacket
8601 (DatagramPacket): Exception documentation added.
8602 (setData): Likewise.
8603 (setSocketAddress): Likewise.
8604 * java/net/DatagramSocketImpl.java
8605 (peek): Documentation addded.
8606 (peekData): Documentation addded.
8607 (send): Documentation addded.
8608 (receive): Documentation addded.
8609 (connect): New method.
8610 (disconnect): New method.
8611 (joinGroup): New abstract method.
8612 (leaveGroup): New abstract method.
8613 * java/net/InetSocketAddress.java
8614 (InetSocketAddress): Documentation added.
8615 (equals): final keyword added.
8616 (getAddress): final keyword added.
8617 (getHostName): final keyword added.
8618 (getPort): final keyword added.
8619 (hashCode): final keyword added.
8620 (isUnresolved): final keyword added.
8621 * java/net/MulticastSocket.java
8622 (MulticastSocket): Documentation added.
8623 (MulticastSocket): New method.
8624 (joinGroup): Documentation added.
8625 (joinGroup): New method.
8626 (leaveGroup): Documentation added.
8627 (leaveGroup): New method.
8628 (send): Documentation added.
8629 * java/net/NetworkInterface.java
8630 (getByName): Documentation added.
8631 (getByInetAddress): Documentation added.
8632 (getNetworkInterfaces): Documentation added.
8633 * java/net/PlainDatagramSocketImpl.java
8634 (connect): New method.
8635 (disconnect): New method.
8636 * java/net/SocketImpl.java
8637 (create): Documentation added.
8638 (shutdownInput): Convert public to protected, as it always was.
8639 (shutdownOutput): Convert public to protected, as it always was.
8640 * java/net/SocketOptions.java
8641 (whole file): Reintented.
8642 * java/net/URLClassLoader.java
8643 (URLClassLoader): SecurityManager check added, documentation added.
8644 (findResources): Documentation added.
8645 (findClass): Documentation added.
8646 (newInstance): More correct method arguments.
8647 * java/net/URLConnection.java
8648 (connect): Documentation added.
8649 (getContent): Documentation added.
8650 (getPermission): Documentation added.
8651 (getInputStream): Documentation added.
8652 (getOutputStream): Documentation added.
8653 (setDoInput): Throw correct exception, documentation added.
8654 (setDoOutput): Throw correct exception, documentation added.
8655 (setAllowUserInteraction): Throw correct exception, documentation added.
8656 (setUseCaches): Throw correct exception, documentation added.
8657 (setIfModifiedSince): Throw correct exception, documentation added.
8658 (setRequestProperty): Throw exception, documentation added.
8659 (addRequestProperty): Throw exception, documentation added.
8660 (getRequestProperty): Throw exception, documentation added.
8661 (getRequestProperties): Documentation added.
8662 (setContentHandlerFactory): Documentation added.
8663 (guessContentTypeFromName): protected to public.
8664 (setFileNameMap): Documentation added.
8665 * java/net/URLDecoder.java
8666 (URLDecoder): New method.
8667 (decode): Documentation added.
8668 (whole file): Reindented.
8669 * java/net/URLEncoder.java
8670 (encode): Documentation added.
8671 * java/net/natPlainDatagramSocketImpl.cc
8672 (connect): New method.
8673 (disconnect): New method.
8674 * javax/naming/RefAddr:
8675 (addrType): addrType was never final.
8676 (equals): Fix typo in method name.
8677 * javax/naming/BinaryRefAddr:
8678 (equals): Fix typo in method name.
8679
8680 2002-09-22 Tom Tromey <tromey@redhat.com>
8681
8682 Fix for PR libgcj/6576:
8683 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8684 didn't find a given bundle.
8685 (getBundle): Don't require base bundle.
8686 (setParent): Removed old comment.
8687 (tryLocalBundle): Try components even if preceding components were
8688 empty.
8689
8690 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8691
8692 * Makefile.am (all-multi): Fix multilib parallel build.
8693
8694 2002-09-21 Michael Koch <konqueror@gmx.de>
8695
8696 * java/net/Socket.java
8697 (sendUrgentData): New method.
8698 (getChannel): New method.
8699 * java/net/ServerSocket.java
8700 (getChannel): New method.
8701 (isBound): New method.
8702 * java/net/DatagramSocket.java
8703 (DatagramSocket): Two new methods.
8704 (bind): New method.
8705 (getChannel): New method.
8706 (isBound): New method.
8707 (send): Added newline to to make shorter lines.
8708 * java/net/PlainDatagramSocketImpl.java
8709 (mcastGrp): Added argument.
8710 (join): Use new mcastGrp.
8711 (leave): Use new mcastGrp.
8712 (joinGroup): New method.
8713 (leaveGroup): New method.
8714 * java/net/natPlainDatagramSocketImpl.cc
8715 (mcastGrp): Added argument, no yet really implemented.
8716 (getOption): Added newline for shorter lines.
8717 * java/net/natPlainSocketImpl.cc
8718 (read, setOption, getOption): Added newline for shorter lines.
8719
8720 2002-09-19 Tom Tromey <tromey@redhat.com>
8721
8722 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8723 newly-created exception.
8724
8725 2002-09-18 Michael Koch <konqueror@gmx.de>
8726
8727 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8728 java/util/regex/PatternSyntaxException.java:
8729 Merge with classpath, new files.
8730 * Makefile.am (core_java_source_files):
8731 Added java/util/regex/Matcher.java,
8732 java/util/regex/Pattern.java,
8733 java/util/regex/PatternSyntaxException.java
8734 * Makefile.in: Regenerated.
8735 * include/config.h.in: Added HAVE_NET_IF_H.
8736 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8737 Removed #if 0 ... #endif.
8738
8739 2002-09-17 Michael Koch <konqueror@gmx.de>
8740
8741 * java/net/natNetworkInterface.cc:
8742 Removed unneed and yet wrong includes.
8743
8744 2002-09-17 Michael Koch <konqueror@gmx.de>
8745
8746 * java/net/NetworkInterface.java: New file.
8747 * java/net/natNetworkInterface.java: New file.
8748 * configure.in: Added check for net/if.h.
8749 * configure: Regenerated.
8750 * Makefile.am
8751 (ordinary_java_source_files): Added NetworkInterface.java.
8752 (nat_source_files): Added natNetworkInterface.cc.
8753 * Makefile.in: Regenerated.
8754
8755 2002-09-16 Tom Tromey <tromey@redhat.com>
8756
8757 * java/net/URLClassLoader.java (findClass): Code source for a
8758 class from a jar is not necessarily a jar: URL.
8759
8760 2002-09-16 Michael Koch <konqueror@gmx.de>
8761
8762 * java/lang/AssertionError.java:
8763 Merge with classpath, fixes HTML.
8764 * java/rmi/server/LogStream.java:
8765 Merge with classpath, fixes some constants.
8766 * java/net/server/RemoteServer.java:
8767 Merge with classpath, adds serialVersionUID.
8768 * javax/naming/BinaryRefAddr.java:
8769 Merge with classpath, s/equal/equals/.
8770 * javax/naming/NamingException.java:
8771 Merge with classpath, fixed typo.
8772 * javax/naming/RefAddr.java:
8773 Merge with classpath, s/equal/equals/.
8774 * java/awt/Toolkit.java:
8775 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8776 and typo fixed.
8777
8778 2002-09-15 Adam Megacz <adam@xwt.org>
8779
8780 * java/net/natPlainSocketImpl.cc: fixed typo.
8781
8782 2002-09-15 Adam Megacz <adam@xwt.org>
8783
8784 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8785 which don't work on Win32 (yet).
8786
8787 2002-09-14 Adam Megacz <adam@xwt.org>
8788
8789 * java/net/natPlainDatagramSocket.cc: removed #include
8790 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8791 * include/win32.h: included definition for IP_TOS to satisfy
8792 natPlainDatagramSocket.cc
8793
8794 2002-09-13 Michael Koch <konqueror@gmx.de>
8795
8796 * java/net/DatagramPacket.java (DatagramPacket):
8797 Added linebreak for 80 chars per line.
8798 * java/net/JarURLConection.java
8799 (getInputStreami, getJarEntry): Likewise.
8800 * java/net/SocketPErmission.java
8801 (SocketPermission class docu, implies): Likewise.
8802 * java/net/URLClassLoader.java (findResources): Likewise.
8803 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8804
8805 2002-09-13 Michael Koch <konqueror@gmx.de>
8806
8807 * java/nio/channels/DatagramChannel.java,
8808 java/nio/channels/ServerSocketChannel.java
8809 java/nio/channels/SocketChannel.java:
8810 New dummy files to make java.net fully JDK 1.4 compatible
8811 * Makefile.am (ordinary_java_source_files): Added
8812 java/net/DatagramSocketImplFactory.java (long forgotten),
8813 java/nio/SocketChannel.java,
8814 java/nio/ServerSocketChannel.java,
8815 java/nio/DatagramChannel.java
8816 * Makefile.in: Regenrated.
8817
8818 2002-09-12 Michael Koch <konqueror@gmx.de>
8819
8820 * java/net/DatagramSocketImpl.java
8821 (peekData): New method.
8822 * java/net/PlainDatagramSocketImpl.java
8823 (peekData): New method.
8824 * java/net/natPlainDatagramSocketImpl.cc
8825 (peekData): New method.
8826 * java/net/URLConnection
8827 (getPermission): New method.
8828 (addRequestProperty): New method.
8829 (getRequestProperties): New method.
8830 (guessContentTypeFromStream): New method, not really implemented.
8831 (URLConnection): Added/updated documentation.
8832 (connect): Added/updated documentation.
8833 (getURL): Added/updated documentation.
8834 (getContentLength): Added/updated documentation.
8835 (getContentType: Added/updated documentation.
8836 (getContentEncoding): Added/updated documentation.
8837 (getExpiration): Added/updated documentation.
8838 (getDate): Added/updated documentation.
8839 (getLastModified): Added/updated documentation.
8840 (getHeaderField): Added/updated documentation.
8841 (getHeaderFields): Added/updated documentation.
8842 (getHeaderFieldInt): Added/updated documentation.
8843 (getHeaderFieldDate): Added/updated documentation.
8844 (getHeaderFieldKey): Added/updated documentation.
8845 (getContent): Added/updated documentation.
8846 (getInputStream): Added/updated documentation.
8847 (getOutputStream): Added/updated documentation.
8848 (toString): Added/updated documentation.
8849 (setDoInput): Added/updated documentation.
8850 (getDoInput): Added/updated documentation.
8851 (setDoOutput): Added/updated documentation.
8852 (getDoOutput): Added/updated documentation.
8853 (setAllowUserInteraction): Added/updated documentation.
8854 (getAllowUserInteraction): Added/updated documentation.
8855 (setDefaultAllowUserInteraction): Added/updated documentation.
8856 (getDefaultAllowUserInteraction): Added/updated documentation.
8857 (setUseCaches): Added/updated documentation.
8858 (getUseCaches): Added/updated documentation.
8859 (setIfModifiedSince): Added/updated documentation.
8860 (getIfModifiedSince): Added/updated documentation.
8861 (getDefaultUseCaches): Added/updated documentation.
8862 (setDefaultUseCaches): Added/updated documentation.
8863 (setRequestProperty): Added/updated documentation.
8864 (getRequestProperty): Added/updated documentation.
8865 (setDefaultRequestProperty): Added/updated documentation.
8866 (getDefaultRequestProperty): Added/updated documentation.
8867 (setContentHandlerFactory): Added/updated documentation.
8868 (guessContentTypeFromName): Added/updated documentation.
8869 (getFileNameMap): Added/updated documentation.
8870 (setFileNameMap): Added/updated documentation.
8871
8872 2002-09-11 Michael Koch <konqueror@gmx.de>
8873
8874 * java/net/Socket.java
8875 (Socket): protected to public (since JDK 1.4). Added @specnote.
8876 (bind): New method.
8877 (connect): Two new methods.
8878 (getKeepalive): Get correct socket option.
8879 (setKeepalive): Set correct socket option.
8880 (getOOBInline): New method.
8881 (setOOBInline): New method.
8882 * java/net/ServerSocket.java
8883 (bind): Two new methods.
8884 (getInetAddress): Reimplemented, catch exception.
8885 (getLocalSocketAddress): New method.
8886 (setReuseAddress): New method.
8887 (getReuseAdress): New method.
8888 (setReceiveBufferSize): New method.
8889 (getReceiveBufferSize): New method.
8890 (toString): Made string JDK 1.4 compliant.
8891
8892 2002-09-10 Michael Koch <konqueror@gmx.de>
8893
8894 * java/net/SocketImpl.java
8895 (connect): New method.
8896 (supportsUrgentData): New method.
8897 (sendUrgentData): New method.
8898 * java/net/PlainSocketImpl.java
8899 (connect): One new method and two new implementation.
8900 (sendUrgentData): New method.
8901 * java/natPlainSocketImpl.cc
8902 (connect): Arguments changed, added support for timeouts.
8903 (getOption): Another __java_boolean to jboolean.
8904
8905 2002-09-07 Adam Megacz <adam@xwt.org>
8906
8907 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8908 definition of IP_TOS.
8909
8910 2002-09-04 Michael Koch <konqueror@gmx.de>
8911
8912 * java/net/DatagramSocket.java
8913 (DatagramSocket): Added documentation.
8914 (close): Likewise.
8915 (getLocalAddress): Likewise.
8916 (getLocalPort): Likewise.
8917 (receive): Likewise.
8918 (send): Likewise.
8919 (setSoTimeout): Likewise.
8920 (connect): New method.
8921 (disconnect): New method.
8922 (getInetAddress): New method (FIXME)
8923 (getPort): New method.
8924 (setReuseAddress): New method.
8925 (getReuseAddress): New method.
8926 (setBroadcast): New method.
8927 (getBroadcast): New method.
8928 (setTrafficClass): New method.
8929 (getTrafficClass): New method.
8930 * java/net/MulticastSocket.java):
8931 (getTTL): Added @see in documentation.
8932 (setTTL): Added @see in documentation.
8933 (setLoopbackMode): New method.
8934 (getLoopbackMode): New method.
8935 * java/net/PlainSocketImpl.java:
8936 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8937 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8938 * java/net/PlainDatagramSocketImpl.java
8939 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8940 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8941 * java/net/natPlainSocketImpl.cc
8942 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8943 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8944 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8945 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8946 This should also fix SO_KEEPALIVE
8947 * java/net/natPlainDatagramSocketImpl.cc
8948 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8949 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8950 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8951 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8952
8953 2002-09-04 Michael Koch <konqueror@gmx.de>
8954
8955 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8956 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8957 IP_MULTICAST_LOOP, IP_TOS
8958
8959 2002-09-03 Tom Tromey <tromey@redhat.com>
8960
8961 * java/lang/Class.h (_getDeclaredMethod): Declare.
8962 (_getMethod): Now private.
8963 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8964 getDeclaredMethod. Now returns NULL on failure.
8965 * java/lang/Class.java (_getDeclaredMethod): Declare.
8966 (getDeclaredMethod): No longer native; implements access checks.
8967
8968 2002-09-01 Mark Wielaard <mark@klomp.org>
8969
8970 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8971 (sanitizeStack): Correctly reset unknown and interpreter counters,
8972 detect interpreter runtime frames.
8973 (demangleInterpreterMethod): New method.
8974 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8975 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8976 filling in addrs[].
8977
8978 2002-09-02 Michael Koch <konqueror@gmx.de>
8979
8980 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8981 re-indented documentation.
8982
8983 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8984
8985 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8986 public, per 1.4 spec. Fixes PR libgcj/7785.
8987
8988 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8989
8990 * Makefile.in: Rebuilt.
8991 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8992
8993 2002-08-29 Tom Tromey <tromey@redhat.com>
8994
8995 * java/net/JarURLConnection.java (getCertificates): New method
8996 from Classpath.
8997 * java/net/URLClassLoader.java (URLClassLoader): Extends
8998 SecureClassLoader.
8999 (definePackage): New method from Classpath.
9000 (getPermissions): Likewise.
9001 (newInstance): Likewise.
9002 (findClass): Construct CodeSource for new class (from Classpath).
9003 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9004 methods.
9005 * java/net/URL.java (getUserInfo): New method.
9006 (set(String,String,int,String,String,String,String,String)): New
9007 method.
9008 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9009 (shutdownInput, shutdownOutput): Declare.
9010 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9011 Define.
9012 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9013 (getOption): Likewise.
9014 (shutdownInput): New method.
9015 (shutdownOutput): Likewise.
9016 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9017 keepalive.
9018 (getOption): Likewise.
9019 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9020 * java/net/Socket.java (setKeepAlive): New method.
9021 (getKeepAlive): Likewise.
9022 (shutdownInput, shutdownOutput): New methods.
9023
9024 2002-08-29 Michael Koch <konqueror@gmx.de>
9025
9026 * java/net/DatagramPacket.java: updated to JDK 1.4 API
9027 new methods are:
9028 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9029 address),
9030 DatagramPacket(byte[] buf, int length, SocketAddress address),
9031 void setSocketAddress(SocketAddress address)
9032 public SocketAddress getSocketAddress()
9033
9034 2002-08-29 Tom Tromey <tromey@redhat.com>
9035
9036 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9037 ftruncate is missing.
9038 * configure, include/config.h.in: Rebuilt.
9039 * acconfig.h (HAVE_FTRUNCATE): Mention.
9040 * configure.in: Check for ftruncate.
9041
9042 2002-08-29 Tom Tromey <tromey@redhat.com>
9043
9044 * include/jvm.h (struct _Jv_frame_info): New structure.
9045 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9046 java-interp.h.
9047 (lookupInterp): New method.
9048 (getAddrAsString): Use _Jv_frame_info.
9049 (dladdrLookup): Likewise.
9050 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9051 interpreted frame.
9052 (lookupInterp): Declare.
9053 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9054 (fillInStackTrace): Collect information on interpreted frames.
9055 Use _Jv_frame_info.
9056 * interpret.cc: Include Thread.h.
9057 (run): Create and push _Jv_MethodChain object.
9058 (_Jv_EndOfInterpreter): New global.
9059 * java/lang/Thread.java (interp_frame): New field.
9060 * include/java-interp.h (struct _Jv_MethodChain): New structure.
9061 Include NameFinder.h.
9062
9063 2002-08-28 Tom Tromey <tromey@redhat.com>
9064
9065 * java/lang/Class.h: Include Package.h.
9066 (Class::getProtectionDomain): Declare.
9067 (Class::getPackage): Declare.
9068
9069 2002-08-28 Michael Koch <konqueror@gmx.de>
9070
9071 * java/net/InetSocketAddress.java: Added some documentation and argument
9072 checks for the port numbers.
9073 * java/net/DatagramSocketImplFactory.java: New file.
9074
9075 2002-08-28 Michael Koch <konqueror@gmx.de>
9076
9077 * java/net/Authenticator.java: added some documentation.
9078
9079 2002-08-27 Tom Tromey <tromey@redhat.com>
9080
9081 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9082 class.
9083 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9084
9085 2002-08-27 Michael Koch <konqueror@gmx.de>
9086
9087 * java/net/BindException.java,
9088 java/net/JarURLConnection.java,
9089 java/net/FileNameMap.java,
9090 java/net/HttpURLConnection.java,
9091 java/net/InetSocketAddress.java,
9092 java/net/DatagramPacket.java,
9093 java/net/DatagramSocket.java,
9094 java/net/DatagramSocketImpl.java,
9095 java/net/MulticastSocket.java,
9096 java/net/PasswordAuthentication.java,
9097 java/net/ServerSocket.java,
9098 java/net/Socket.java,
9099 java/net/URLClassLoader.java,
9100 java/net/URLConnection.java: add/update of some @since/@deprecated
9101
9102 2002-08-27 Tony Kimball <alk@pobox.com>
9103 Tom Tromey <tromey@redhat.com>
9104
9105 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9106 define.
9107 (::close): Removed.
9108 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9109 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9110 (::close): Removed.
9111 (PlainSocketImpl::close): Use NATIVE_CLOSE.
9112 * include/win32.h (getcwd): Removed declaration. Include io.h.
9113
9114 2002-08-25 Adam Megacz <adam@xwt.org>
9115
9116 * include/win32.h (getcwd): copied function declaration as
9117 temporary fix for header confusion.
9118
9119 2002-08-24 Mark Wielaard <mark@klomp.org>
9120
9121 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9122 (core_java_source_files): Add VMThrowable.java and NameFinder.java
9123 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9124 and natNameFinder.cc.
9125 * Makefile.in: Regenerate.
9126 * prims.cc: Use trace_enabled from VMThrowable.
9127 * name-finder.cc: Removed.
9128 * gcj/javaprims.h: Add class VMThrowable.
9129 * gnu/gcj/runtime/NameFinder.java: New file.
9130 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9131 * include/name-finder.h: Removed.
9132 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9133 method stackTraceString().
9134 (printStackTrace (PrintWriter)): Likewise.
9135 (stackTraceString): Complete rewrite of old printStackTrace using
9136 StringBuffer.
9137 (stackTraceStringBuffer): New helper method for stackTraceString().
9138 (fillInStackTrace): Delegate to VMTrowable.
9139 (getStackTrace): Likewise.
9140 (getStackTrace0): Removed.
9141 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9142 (setStackTrace): Copy given array.
9143 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9144 * java/lang/VMThrowable.java: New class.
9145 * java/lang/natVMThrowable.cc: New file.
9146
9147 2003-08-23 Michael Koch <konqueror@gmx.de>
9148
9149 * java/net/URLConnection.java,
9150 java/netJarURLConnection.java,
9151 gnu/gcj/protocol/core/Connection.java,
9152 gnu/gcj/protocol/file/Connection.java,
9153 gnu/gcj/protocol/http/Connection.java: Added implementation of
9154 getHeaderFields().
9155
9156 2002-08-22 Tom Tromey <tromey@redhat.com>
9157
9158 * gij.cc (help): Document -cp and -classpath.
9159 (main): Handle -classpath.
9160
9161 2002-08-21 Tom Tromey <tromey@redhat.com>
9162
9163 * Makefile.in: Rebuilt.
9164 * Makefile.am (ordinary_java_source_files): Added
9165 SocketAddress.java, InetSocketAddress.java.
9166 * java/net/PortUnreachableException.java: Merged with Classpath.
9167 * java/net/SocketTimeoutException.java: Likewise.
9168 * java/net/URISyntaxException.java: Likewise.
9169 * java/net/SocketAddress.java: New class from Classpath.
9170 * java/net/InetSocketAddress.java: Likewise.
9171
9172 2003-08-21 Michael Koch <konqueror@gmx.de>
9173
9174 * java/net/Authenticator.java: updated JDK 1.4
9175 * java/net/ContentHandler.java: updated JDK 1.4
9176
9177 2002-08-20 Michael Koch <konqueror@gmx.de>
9178
9179 * java/net/URISyntaxException.java: New file.
9180 * java/net/SocketTimeoutException.java: New file.
9181 * java/net/PortUnreachableException.java: New file.
9182 * Makefile.am: Updated.
9183 * Makefile.in: Rebuilt.
9184
9185 2002-08-18 Mark Wielaard <mark@klomp.org>
9186
9187 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9188 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9189 MessageDigestSpi (fixes Classpath bug #783).
9190
9191 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9192
9193 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9194 (startProcess): Allocate path for chdir in async-signal-safe way.
9195
9196 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9197
9198 Fix for PR libgcj/7570 and PR libgcj/7578:
9199 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9200 (startProcess): Handle new `dir' argument.
9201 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9202 argument.
9203 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9204 argument.
9205 (startProcess): Likewise.
9206 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9207 argument.
9208 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9209 (exec): Don't create new environment if ENV==null. Pass DIR to
9210 execInternal.
9211 * java/lang/natRuntime.cc: Include java/io/File.h.
9212 (execInternal): Added `dir' argument.
9213
9214 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9215
9216 * java/io/RandomAccessFile.java (skipBytes): Return number of
9217 bytes skipped.
9218
9219 2002-08-01 Mark Wielaard <mark@klomp.org>
9220
9221 Reenable patch since shared library troubles on powerpc are solved:
9222 * gnu/java/security/provider/Gnu.java: Reference all implementation
9223 classes by using Class.getName().
9224 * gnu/java/security/der/DEREncodingException.java,
9225 gnu/java/security/provider/DERReader.java,
9226 gnu/java/security/provider/DERWriter.java,
9227 gnu/java/security/provider/DSAKeyPairGenerator.java,
9228 gnu/java/security/provider/DSAParameterGenerator.java,
9229 gnu/java/security/provider/DSAParameters.java,
9230 gnu/java/security/provider/DSASignature.java,
9231 gnu/java/security/provider/GnuDSAPrivateKey.java,
9232 gnu/java/security/provider/GnuDSAPublicKey.java,
9233 gnu/java/security/provider/MD5.java,
9234 gnu/java/security/util/Prime.java: New classes
9235 * Makefile.am (ordinary_java_source_files): Add above files.
9236 * Makefile.in: Regenerate.
9237 * gnu/java/security/provider/DefaultPolicy.java
9238 (getPermissions): Don't maintain static class variable of Permissions.
9239 * gnu/java/security/provider/SHA.java
9240 (engineUpdate): algorithm change.
9241 (engineDigest): algorithm change.
9242
9243 2002-08-09 Mark Wielaard <mark@klomp.org>
9244
9245 * java/awt/image/MemoryImageSource.java: Change constructor to take
9246 int[] not byte[].
9247 * java/awt/Graphics2D.java: Uncomment methods that can now be
9248 compiled.
9249 * java/awt/GridBagLayout.java: New stub implementation.
9250 * javax/swing/text/html/HTML.java: Stub implementation.
9251 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9252 implementation.
9253
9254 * Makefile.am: Add new files.
9255 * Makefile.in: Rebuilt.
9256
9257 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9258
9259 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9260 methods in Graphics2D.
9261
9262 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9263
9264 AWT/Swing merge from GNU Classpath.
9265
9266 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9267 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9268 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9269 java/awt/color/ProfileDataException.java,
9270 java/awt/CompositeContext.java, java/awt/Composite.java,
9271 java/awt/ContainerOrderFocusTraversalPolicy.java,
9272 java/awt/datatransfer/FlavorTable.java,
9273 java/awt/DefaultFocusTraversalPolicy.java,
9274 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9275 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9276 java/awt/dnd/DragGestureListener.java,
9277 java/awt/dnd/DragGestureRecognizer.java,
9278 java/awt/dnd/DragSourceAdapter.java,
9279 java/awt/dnd/DragSourceContext.java,
9280 java/awt/dnd/DragSourceDragEvent.java,
9281 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9282 java/awt/dnd/DragSourceListener.java,
9283 java/awt/dnd/DragSourceMotionListener.java,
9284 java/awt/dnd/DropTarget.java,
9285 java/awt/dnd/InvalidDnDOperationException.java,
9286 java/awt/dnd/peer/DragSourceContextPeer.java,
9287 java/awt/event/AWTEventListenerProxy.java,
9288 java/awt/event/MouseWheelEvent.java,
9289 java/awt/event/MouseWheelListener.java,
9290 java/awt/event/WindowFocusListener.java,
9291 java/awt/event/WindowStateListener.java,
9292 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9293 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9294 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9295 java/awt/geom/FlatteningPathIterator.java,
9296 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9297 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9298 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9299 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9300 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9301 java/awt/image/ImagingOpException.java,
9302 java/awt/image/RasterFormatException.java,
9303 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9304 java/awt/image/VolatileImage.java,
9305 java/awt/image/WritableRenderedImage.java,
9306 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9307 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9308 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9309 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9310 java/awt/PageAttributes.java, java/awt/print/Book.java,
9311 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9312 java/awt/print/Paper.java, java/awt/print/Printable.java,
9313 java/awt/print/PrinterAbortException.java,
9314 java/awt/print/PrinterException.java,
9315 java/awt/print/PrinterGraphics.java,
9316 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9317 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9318 java/awt/Stroke.java, java/awt/TexturePaint.java,
9319 javax/accessibility/AccessibleAction.java,
9320 javax/accessibility/AccessibleBundle.java,
9321 javax/accessibility/AccessibleComponent.java,
9322 javax/accessibility/AccessibleContext.java,
9323 javax/accessibility/AccessibleEditableText.java,
9324 javax/accessibility/AccessibleExtendedComponent.java,
9325 javax/accessibility/AccessibleExtendedTable.java,
9326 javax/accessibility/AccessibleHyperlink.java,
9327 javax/accessibility/AccessibleHypertext.java,
9328 javax/accessibility/AccessibleIcon.java,
9329 javax/accessibility/Accessible.java,
9330 javax/accessibility/AccessibleKeyBinding.java,
9331 javax/accessibility/AccessibleRelation.java,
9332 javax/accessibility/AccessibleRelationSet.java,
9333 javax/accessibility/AccessibleResourceBundle.java,
9334 javax/accessibility/AccessibleRole.java,
9335 javax/accessibility/AccessibleSelection.java,
9336 javax/accessibility/AccessibleState.java,
9337 javax/accessibility/AccessibleStateSet.java,
9338 javax/accessibility/AccessibleTable.java,
9339 javax/accessibility/AccessibleTableModelChange.java,
9340 javax/accessibility/AccessibleText.java,
9341 javax/accessibility/AccessibleValue.java,
9342 javax/swing/AbstractAction.java,
9343 javax/swing/AbstractButton.java,
9344 javax/swing/AbstractCellEditor.java,
9345 javax/swing/AbstractListModel.java,
9346 javax/swing/AbstractSet.java, javax/swing/Action.java,
9347 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9348 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9349 javax/swing/border/CompoundBorder.java,
9350 javax/swing/border/EmptyBorder.java,
9351 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9352 javax/swing/border/LineBorder.java,
9353 javax/swing/border/MatteBorder.java,
9354 javax/swing/border/TitledBorder.java,
9355 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9356 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9357 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9358 javax/swing/CellRendererPane.java,
9359 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9360 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9361 javax/swing/colorchooser/ColorSelectionModel.java,
9362 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9363 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9364 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9365 javax/swing/DefaultBoundedRangeModel.java,
9366 javax/swing/DefaultButtonModel.java,
9367 javax/swing/DefaultCellEditor.java,
9368 javax/swing/DefaultCellRenderer.java,
9369 javax/swing/DefaultComboBoxModel.java,
9370 javax/swing/DefaultDesktopManager.java,
9371 javax/swing/DefaultFocusManager.java,
9372 javax/swing/DefaultListCellRenderer.java,
9373 javax/swing/DefaultListModel.java,
9374 javax/swing/DefaultListSelectionModel.java,
9375 javax/swing/DefaultSingleSelectionModel.java,
9376 javax/swing/DesktopManager.java,
9377 javax/swing/event/AncestorEvent.java,
9378 javax/swing/event/AncestorListener.java,
9379 javax/swing/event/CaretEvent.java,
9380 javax/swing/event/CaretListener.java,
9381 javax/swing/event/CellEditorListener.java,
9382 javax/swing/event/ChangeEvent.java,
9383 javax/swing/event/ChangeListener.java,
9384 javax/swing/event/DocumentEvent.java,
9385 javax/swing/event/DocumentListener.java,
9386 javax/swing/event/EventListenerList.java,
9387 javax/swing/event/HyperlinkEvent.java,
9388 javax/swing/event/HyperlinkListener.java,
9389 javax/swing/event/InternalFrameAdapter.java,
9390 javax/swing/event/InternalFrameEvent.java,
9391 javax/swing/event/InternalFrameListener.java,
9392 javax/swing/event/ListDataEvent.java,
9393 javax/swing/event/ListDataListener.java,
9394 javax/swing/event/ListSelectionEvent.java,
9395 javax/swing/event/ListSelectionListener.java,
9396 javax/swing/event/MenuDragMouseEvent.java,
9397 javax/swing/event/MenuDragMouseListener.java,
9398 javax/swing/event/MenuEvent.java,
9399 javax/swing/event/MenuKeyEvent.java,
9400 javax/swing/event/MenuKeyListener.java,
9401 javax/swing/event/MenuListener.java,
9402 javax/swing/event/MouseInputAdapter.java,
9403 javax/swing/event/MouseInputListener.java,
9404 javax/swing/event/PopupMenuEvent.java,
9405 javax/swing/event/PopupMenuListener.java,
9406 javax/swing/event/SwingPropertyChangeSupport.java,
9407 javax/swing/event/TableColumnModelEvent.java,
9408 javax/swing/event/TableColumnModelListener.java,
9409 javax/swing/event/TableModelEvent.java,
9410 javax/swing/event/TableModelListener.java,
9411 javax/swing/event/TreeExpansionEvent.java,
9412 javax/swing/event/TreeExpansionListener.java,
9413 javax/swing/event/TreeModelEvent.java,
9414 javax/swing/event/TreeModelListener.java,
9415 javax/swing/event/TreeSelectionEvent.java,
9416 javax/swing/event/TreeSelectionListener.java,
9417 javax/swing/event/TreeWillExpandListener.java,
9418 javax/swing/event/UndoableEditEvent.java,
9419 javax/swing/event/UndoableEditListener.java,
9420 javax/swing/filechooser/FileFilter.java,
9421 javax/swing/filechooser/FileSystemView.java,
9422 javax/swing/filechooser/FileView.java,
9423 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9424 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9425 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9426 javax/swing/JApplet.java, javax/swing/JButton.java,
9427 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9428 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9429 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9430 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9431 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9432 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9433 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9434 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9435 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9436 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9437 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9438 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9439 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9440 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9441 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9442 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9443 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9444 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9445 javax/swing/JToolTip.java, javax/swing/JTree.java,
9446 javax/swing/JViewport.java, javax/swing/JWindow.java,
9447 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9448 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9449 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9450 javax/swing/MenuSelectionManager.java,
9451 javax/swing/MutableComboBoxModel.java,
9452 javax/swing/OverlayLayout.java,
9453 javax/swing/plaf/ActionMapUIResource.java,
9454 javax/swing/plaf/basic/BasicBorders.java,
9455 javax/swing/plaf/basic/BasicButtonUI.java,
9456 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9457 javax/swing/plaf/basic/BasicDefaults.java,
9458 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9459 javax/swing/plaf/basic/BasicIconFactory.java,
9460 javax/swing/plaf/basic/BasicLabelUI.java,
9461 javax/swing/plaf/basic/BasicListUI.java,
9462 javax/swing/plaf/basic/BasicLookAndFeel.java,
9463 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9464 javax/swing/plaf/basic/BasicPanelUI.java,
9465 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9466 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9467 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9468 javax/swing/plaf/basic/BasicTextUI.java,
9469 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9470 javax/swing/plaf/basic/BasicTreeUI.java,
9471 javax/swing/plaf/basic/BasicViewportUI.java,
9472 javax/swing/plaf/BorderUIResource.java,
9473 javax/swing/plaf/ButtonUI.java,
9474 javax/swing/plaf/ColorChooserUI.java,
9475 javax/swing/plaf/ColorUIResource.java,
9476 javax/swing/plaf/ComboBoxUI.java,
9477 javax/swing/plaf/ComponentInputMapUIResource.java,
9478 javax/swing/plaf/ComponentUI.java,
9479 javax/swing/plaf/DesktopIconUI.java,
9480 javax/swing/plaf/DesktopPaneUI.java,
9481 javax/swing/plaf/DimensionUIResource.java,
9482 javax/swing/plaf/FileChooserUI.java,
9483 javax/swing/plaf/FontUIResource.java,
9484 javax/swing/plaf/IconUIResource.java,
9485 javax/swing/plaf/InputMapUIResource.java,
9486 javax/swing/plaf/InsetsUIResource.java,
9487 javax/swing/plaf/InternalFrameUI.java,
9488 javax/swing/plaf/LabelUI.java,
9489 javax/swing/plaf/ListUI.java,
9490 javax/swing/plaf/MenuBarUI.java,
9491 javax/swing/plaf/MenuItemUI.java,
9492 javax/swing/plaf/OptionPaneUI.java,
9493 javax/swing/plaf/PanelUI.java,
9494 javax/swing/plaf/PopupMenuUI.java,
9495 javax/swing/plaf/ProgressBarUI.java,
9496 javax/swing/plaf/RootPaneUI.java,
9497 javax/swing/plaf/ScrollBarUI.java,
9498 javax/swing/plaf/ScrollPaneUI.java,
9499 javax/swing/plaf/SeparatorUI.java,
9500 javax/swing/plaf/SliderUI.java,
9501 javax/swing/plaf/SplitPaneUI.java,
9502 javax/swing/plaf/TabbedPaneUI.java,
9503 javax/swing/plaf/TableHeaderUI.java,
9504 javax/swing/plaf/TableUI.java,
9505 javax/swing/plaf/TextUI.java,
9506 javax/swing/plaf/ToolBarUI.java,
9507 javax/swing/plaf/ToolTipUI.java,
9508 javax/swing/plaf/TreeUI.java,
9509 javax/swing/plaf/UIResource.java,
9510 javax/swing/plaf/ViewportUI.java,
9511 javax/swing/ProgressMonitorInputStream.java,
9512 javax/swing/ProgressMonitor.java,
9513 javax/swing/Renderer.java,
9514 javax/swing/RepaintManager.java,
9515 javax/swing/RootPaneContainer.java,
9516 javax/swing/Scrollable.java,
9517 javax/swing/ScrollPaneConstants.java,
9518 javax/swing/ScrollPaneLayout.java,
9519 javax/swing/SingleSelectionModel.java,
9520 javax/swing/SizeRequirements.java,
9521 javax/swing/SizeSequence.java,
9522 javax/swing/SwingConstants.java,
9523 javax/swing/SwingUtilities.java,
9524 javax/swing/table/AbstractTableModel.java,
9525 javax/swing/table/DefaultTableCellRenderer.java,
9526 javax/swing/table/DefaultTableColumnModel.java,
9527 javax/swing/table/DefaultTableModel.java,
9528 javax/swing/table/TableCellEditor.java,
9529 javax/swing/table/TableCellRenderer.java,
9530 javax/swing/table/TableColumn.java,
9531 javax/swing/table/TableColumnModel.java,
9532 javax/swing/table/TableModel.java,
9533 javax/swing/text/AbstractDocument.java,
9534 javax/swing/text/AttributeSet.java,
9535 javax/swing/text/BadLocationException.java,
9536 javax/swing/text/Caret.java,
9537 javax/swing/text/CharacterIterator.java,
9538 javax/swing/text/ComponentView.java,
9539 javax/swing/text/DefaultCaret.java,
9540 javax/swing/text/DefaultEditorKit.java,
9541 javax/swing/text/Document.java,
9542 javax/swing/text/EditorKit.java,
9543 javax/swing/text/Element.java,
9544 javax/swing/text/GapContent.java,
9545 javax/swing/text/JTextComponent.java,
9546 javax/swing/text/Keymap.java,
9547 javax/swing/text/MutableAttributeSet.java,
9548 javax/swing/text/PlainDocument.java,
9549 javax/swing/text/PlainEditorKit.java,
9550 javax/swing/text/Position.java,
9551 javax/swing/text/Segment.java,
9552 javax/swing/text/StyledDocument.java,
9553 javax/swing/text/StyledEditorKit.java,
9554 javax/swing/text/Style.java,
9555 javax/swing/text/TextAction.java,
9556 javax/swing/text/ViewFactory.java,
9557 javax/swing/text/View.java,
9558 javax/swing/Timer.java,
9559 javax/swing/ToggleButtonModel.java,
9560 javax/swing/ToolTipManager.java,
9561 javax/swing/tree/AbstractLayoutCache.java,
9562 javax/swing/tree/DefaultMutableTreeNode.java,
9563 javax/swing/tree/DefaultTreeCellEditor.java,
9564 javax/swing/tree/DefaultTreeCellRenderer.java,
9565 javax/swing/tree/DefaultTreeModel.java,
9566 javax/swing/tree/DefaultTreeSelectionModel.java,
9567 javax/swing/tree/ExpandVetoException.java,
9568 javax/swing/tree/FixedHeightLayoutCache.java,
9569 javax/swing/tree/MutableTreeNode.java,
9570 javax/swing/tree/RowMapper.java,
9571 javax/swing/tree/TreeCellEditor.java,
9572 javax/swing/tree/TreeCellRenderer.java,
9573 javax/swing/tree/TreeModel.java,
9574 javax/swing/tree/TreeNode.java,
9575 javax/swing/tree/TreePath.java,
9576 javax/swing/tree/TreeSelectionModel.java,
9577 javax/swing/tree/VariableHeightLayoutCache.java,
9578 javax/swing/UIDefaults.java,
9579 javax/swing/UIManager.java,
9580 javax/swing/undo/AbstractUndoableEdit.java,
9581 javax/swing/undo/CannotRedoException.java,
9582 javax/swing/undo/CannotUndoException.java,
9583 javax/swing/undo/CompoundEdit.java,
9584 javax/swing/undo/StateEditable.java,
9585 javax/swing/undo/StateEdit.java,
9586 javax/swing/undo/UndoableEdit.java,
9587 javax/swing/undo/UndoableEditSupport.java,
9588 javax/swing/undo/UndoManager.java,
9589 javax/swing/UnsupportedLookAndFeelException.java,
9590 javax/swing/ViewportLayout.java,
9591 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9592
9593 * java/awt/ActiveEvent.java,
9594 java/awt/Adjustable.java, java/awt/AWTError.java,
9595 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9596 java/awt/AWTException.java, java/awt/AWTPermission.java,
9597 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9598 java/awt/Color.java, java/awt/Component.java,
9599 java/awt/ComponentOrientation.java, java/awt/Container.java,
9600 java/awt/datatransfer/MimeTypeParseException.java,
9601 java/awt/datatransfer/Transferable.java,
9602 java/awt/datatransfer/UnsupportedFlavorException.java,
9603 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9604 java/awt/event/ActionListener.java,
9605 java/awt/event/AdjustmentEvent.java,
9606 java/awt/event/AdjustmentListener.java,
9607 java/awt/event/AWTEventListener.java,
9608 java/awt/event/ComponentAdapter.java,
9609 java/awt/event/ComponentEvent.java,
9610 java/awt/event/ComponentListener.java,
9611 java/awt/event/ContainerAdapter.java,
9612 java/awt/event/ContainerEvent.java,
9613 java/awt/event/ContainerListener.java,
9614 java/awt/event/FocusAdapter.java,
9615 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9616 java/awt/event/HierarchyBoundsAdapter.java,
9617 java/awt/event/HierarchyBoundsListener.java,
9618 java/awt/event/HierarchyEvent.java,
9619 java/awt/event/HierarchyListener.java,
9620 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9621 java/awt/event/InputMethodListener.java,
9622 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9623 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9624 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9625 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9626 java/awt/event/MouseListener.java,
9627 java/awt/event/MouseMotionAdapter.java,
9628 java/awt/event/MouseMotionListener.java,
9629 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9630 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9631 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9632 java/awt/event/WindowListener.java, java/awt/Font.java,
9633 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9634 java/awt/geom/Ellipse2D.java,
9635 java/awt/geom/IllegalPathStateException.java,
9636 java/awt/geom/Line2D.java,
9637 java/awt/geom/NoninvertibleTransformException.java,
9638 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9639 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9640 java/awt/geom/RoundRectangle2D.java,
9641 java/awt/GraphicsConfiguration.java,
9642 java/awt/IllegalComponentStateException.java,
9643 java/awt/image/IndexColorModel.java,
9644 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9645 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9646 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9647 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9648 java/awt/MenuItem.java, java/awt/PaintContext.java,
9649 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9650 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9651 java/awt/PrintJob.java, java/awt/Rectangle.java,
9652 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9653 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9654 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9655
9656 * java/awt/im/spi/InputMethod.java,
9657 java/awt/im/spi/InputMethodContext.java,
9658 java/awt/im/spi/InputMethodDescriptor.java,
9659 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9660 java/awt/image/renderable/ParameterBlock.java,
9661 java/awt/image/renderable/RenderContext.java,
9662 java/awt/image/renderable/RenderableImage.java,
9663 java/awt/image/renderable/RenderableImageOp.java,
9664 java/awt/image/renderable/RenderableImageProducer.java,
9665 java/awt/image/renderable/RenderedImageFactory.java: New files from
9666 classpath.
9667
9668 * gnu/java/awt/EventModifier.java,
9669 gnu/java/awt/image/ImageDecoder.java,
9670 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9671
9672 * gnu/awt/xlib/XGraphicsConfiguration.java,
9673 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9674 API.
9675
9676 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9677 GNU Classpath.
9678
9679 * Makefile.am: Add new files.
9680 * Makefile.in: Rebuilt.
9681
9682 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9683
9684 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9685 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9686 findResource, getResources, findResources): Add javadoc from classpath.
9687 (getSystemResources): Implemented.
9688
9689 2002-08-01 Mark Wielaard <mark@klomp.org>
9690
9691 Revert patch that breaks libgcj shared library on powerpc:
9692 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9693 implementation classes by using Class.getName(). Uses Strings again.
9694 * gnu/java/security/der/DEREncodingException.java,
9695 gnu/java/security/provider/DERReader.java,
9696 gnu/java/security/provider/DERWriter.java,
9697 gnu/java/security/provider/DSAKeyPairGenerator.java,
9698 gnu/java/security/provider/DSAParameterGenerator.java,
9699 gnu/java/security/provider/DSAParameters.java,
9700 gnu/java/security/provider/DSASignature.java,
9701 gnu/java/security/provider/GnuDSAPrivateKey.java,
9702 gnu/java/security/provider/GnuDSAPublicKey.java,
9703 gnu/java/security/provider/MD5.java,
9704 gnu/java/security/util/Prime.java: Removed.
9705 * Makefile.am (ordinary_java_source_files): Remove above files.
9706 * Makefile.in: Regenerate.
9707 * gnu/java/security/provider/DefaultPolicy.java
9708 (getPermissions): Revert to maintaining static class variable of
9709 Permissions.
9710 * gnu/java/security/provider/SHA.java
9711 (engineUpdate): Revert algorithm change.
9712 (engineDigest): Revert algorithm change.
9713
9714 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9715
9716 * configure.host: Add SH support.
9717 * sysdep/sh/locks.h: New file.
9718
9719 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9720
9721 * java/awt/Frame.java (Frame): Remove println calls.
9722
9723 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9724
9725 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9726 * configure: Rebuilt.
9727
9728 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9729
9730 * sysdep/powerpc/locks.h: Formatting.
9731 (_LARX): Define.
9732 (_STCX): Define.
9733 (compare_and_swap): Use _LARX and _STCX.
9734 (compare_and_swap_release): Likewise.
9735
9736 2002-07-26 Tom Tromey <tromey@redhat.com>
9737
9738 * java/net/Authenticator.java: New version from Classpath.
9739 * java/net/DatagramSocketImpl.java: New version from Classpath.
9740
9741 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9742
9743 * configure.host: Add powerpc64*-* entry.
9744
9745 2002-07-26 Tom Tromey <tromey@redhat.com>
9746
9747 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9748 fcntl.h.
9749
9750 2002-07-24 Tom Tromey <tromey@redhat.com>
9751
9752 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9753 argument to _load.
9754
9755 2002-07-24 Tom Tromey <tromey@redhat.com>
9756 Tony Kimball <alk@pobox.com>
9757
9758 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9759 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9760 * java/io/RandomAccessFile.java (setLength): New method.
9761 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9762 * java/io/FileDescriptor.java (setLength): New method.
9763
9764 2002-07-24 Mark Wielaard <mark@klomp.org>
9765
9766 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9767 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9768 field call setAccessible(true).
9769 (setByteField): Likewise.
9770 (setCharField): Likewise.
9771 (setDoubleField): Likewise.
9772 (setFloatField): Likewise.
9773 (setIntField): Likewise.
9774 (setLongField): Likewise.
9775 (setShortField): Likewise.
9776 (setObjectField): Likewise.
9777
9778 2002-07-24 Tom Tromey <tromey@redhat.com>
9779
9780 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9781 use toString() to format array element.
9782
9783 2002-07-23 Mark Wielaard <mark@klomp.org>
9784
9785 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9786 MessageDigestSpi (fixes Classpath bug #783).
9787
9788 2002-07-21 Mark Wielaard <mark@klomp.org>
9789
9790 * gnu/java/security/provider/Gnu.java: Reference all implementation
9791 classes by using Class.getName().
9792
9793 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9794
9795 * java/lang/ieeefp.h: Add x86-64 support.
9796 * configure.in: Likewise.
9797 * configure.host: Likewise.
9798 * configure: Regenerated.
9799 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9800
9801 2002-07-16 Mark Wielaard <mark@klomp.org>
9802
9803 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9804 (whitespaceChars): call resetChar().
9805
9806 2002-07-15 Tom Tromey <tromey@redhat.com>
9807
9808 * Makefile.in: Rebuilt.
9809 * Makefile.am (awt_java_source_files): Added new files.
9810 * java/beans/ExceptionListener.java: Merged with Classpath.
9811 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9812 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9813 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9814 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9815 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9816 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9817 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9818
9819 2002-07-14 Mark Wielaard <mark@klomp.org>
9820
9821 * gnu/java/security/der/DEREncodingException.java,
9822 gnu/java/security/provider/DERReader.java,
9823 gnu/java/security/provider/DERWriter.java,
9824 gnu/java/security/provider/DSAKeyPairGenerator.java,
9825 gnu/java/security/provider/DSAParameterGenerator.java,
9826 gnu/java/security/provider/DSAParameters.java,
9827 gnu/java/security/provider/DSASignature.java,
9828 gnu/java/security/provider/GnuDSAPrivateKey.java,
9829 gnu/java/security/provider/GnuDSAPublicKey.java,
9830 gnu/java/security/provider/MD5.java,
9831 gnu/java/security/util/Prime.java: New files from Classpath.
9832 * Makefile.am (ordinary_java_source_files): Add new files.
9833 * Makefile.in: Regenerate.
9834
9835 2002-07-14 C. Brian Jones <cbj@gnu.org>
9836
9837 * gnu/java/security/provider/DefaultPolicy.java
9838 (getPermissions): do not maintain static class variable of
9839 Permissions
9840 * gnu/java/security/provider/SHA.java
9841 (engineUpdate): algorithm change
9842 (engineDigest): algorithm change
9843
9844 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9845
9846 For PR libgcj/7292:
9847 * java/lang/Character.java (toString(char)): Now static.
9848
9849 2002-07-12 Mark Wielaard <mark@klomp.org>
9850
9851 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9852 (getStackTrace0): new method.
9853 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9854 (printStackTrace(PrintWriter)): replace with pure java implementation.
9855 (printRawStackTrace): removed.
9856 (getStackTrace0): new method.
9857 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9858 * gcj/javaprims.h: regenerate class list.
9859 * include/name-finder.h (lookup): new returns StackTraceElement*.
9860 (method_name, file_name): fields removed.
9861 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9862 (~_Jv_name_finder): close new descriptors.
9863 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9864 (createStackTraceElement): new method.
9865 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9866
9867 2002-07-10 Tom Tromey <tromey@redhat.com>
9868
9869 * configure: Rebuilt.
9870 * configure.in: Use `test' after `&&'. From Chris Faylor.
9871
9872 2002-07-08 Mark Wielaard <mark@klomp.org>
9873
9874 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9875 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9876 java.sql.DatabaseMetaData.TestJdbc20
9877
9878 2002-07-05 Tony Kimball <alk@pobox.com>
9879
9880 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9881
9882 2002-07-04 Tom Tromey <tromey@redhat.com>
9883 Jeff Sturm <jsturm@one-point.com>
9884
9885 Fix for PR libgcj/7060:
9886 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9887 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9888 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9889 * java/lang/Class.java (getMethod): New Java implementation;
9890 complies with spec.
9891 (_getMethod): New native method.
9892
9893 2002-07-02 Tom Tromey <tromey@redhat.com>
9894 David Hovemeyer <daveho@cs.umd.edu>
9895
9896 * java/text/ChoiceFormat.java
9897 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9898 in check loop.
9899 * java/text/MessageFormat.java
9900 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9901 to MessageFormat.
9902
9903 2002-07-01 Tom Tromey <tromey@redhat.com>
9904
9905 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9906 StringTokenizer on null string. For PR libgcj/7180.
9907 From daveho@cs.umd.edu.
9908
9909 2002-06-24 Tom Tromey <tromey@redhat.com>
9910
9911 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9912 (IntegerClass): Likewise.
9913 * java/lang/natClass.cc (CloneableClass): Removed.
9914 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9915 ConstructorClass): Likewise.
9916 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9917 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9918 SerializableClass): Likewise.
9919 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9920 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9921 LongClass, FloatClass, DoubleClass): Likewise.
9922
9923 * verify.cc (branch_prepass): Updated for change to exception
9924 handler type.
9925 (verify_instructions_0): Likewise.
9926 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9927 (handleExceptionTableEntry): Updated for change to exception
9928 handler type.
9929 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9930 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9931 (union _Jv_InterpPC): New.
9932 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9933 (class _Jv_InterpMethod): Added new `prepared' field.
9934 (class _Jv_InterpMethod): Added `compile' method. Removed
9935 `continue1' and `find_exception'. Changed arguments to `run'.
9936 * interpret.cc (union insn_slot): New.
9937 (find_exception): Removed.
9938 (run_normal): Removed most logic.
9939 (run_synch_object): Likewise; also, use JvSynchronize.
9940 (run_synch_class): Likewise.
9941 (run): Removed.
9942 (continue1): Renamed as `run'. Compile bytecode if required.
9943 Add new code to allow refinement of direct-threaded code at
9944 runtime. Handle exceptions.
9945 (SAVE_PC): Removed.
9946 (compile): New method.
9947 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9948 (NULLARRAYCHECK): Don't use SAVE_PC.
9949 (pc_t): New typedef.
9950 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9951 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9952
9953 2002-06-23 Tom Tromey <tromey@redhat.com>
9954
9955 * configure: Rebuilt.
9956 * configure.in (INTERPRETER): New subst.
9957 (AM_RUNTESTFLAGS): Don't subst.
9958
9959 * Makefile.in: Rebuilt.
9960 * Makefile.am ($(srcdir)/java/lang/Object.h,
9961 $(srcdir)/java/lang/Class.h): Added dummy targets.
9962
9963 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9964
9965 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9966
9967 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9968 java/sql/Savepoint.java: New files.
9969 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9970 java/sql/Blob.java, java/sql/CallableStatement.java,
9971 java/sql/Clob.java, java/sql/Connection.java,
9972 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9973 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9974 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9975 java/sql/Ref.java, java/sql/ResultSet.java,
9976 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9977 java/sql/SQLException.java, java/sql/SQLInput.java,
9978 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9979 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9980 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9981 (JDK 1.4) specification.
9982 * javax/sql/ConnectionEvent.java,
9983 javax/sql/ConnectionEventListener.java,
9984 javax/sql/ConnectionPoolDataSource.java,
9985 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9986 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9987 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9988 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9989 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9990 javax/sql/XADataSource.java: New files.
9991 * Makefile.am: Add new files.
9992 * Makefile.in: Rebuilt.
9993
9994 2002-06-20 Tom Tromey <tromey@redhat.com>
9995
9996 For PR libgcj/7073:
9997 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9998 exists.
9999 * defineclass.cc (handleClassBegin): Superclass for interface is
10000 `null'.
10001
10002 2002-06-18 Tom Tromey <tromey@redhat.com>
10003
10004 * gcj/javaprims.h: Updated class declaration list.
10005 * Makefile.in: Rebuilt.
10006 * Makefile.am (core_java_source_files): Removed
10007 BasicMapEntry.java.
10008 * java/util/BasicMapEntry.java: Removed.
10009
10010 2002-06-18 Jeff Sturm <jsturm@one-point.com>
10011
10012 * java/net/natPlainDatagramSocketImpl.cc (receive):
10013 Check bounds of argument to FD_SET.
10014 (setOption): Throw exception if socket is closed.
10015
10016 * java/net/natPlainSocketImpl.cc (accept, read):
10017 Check bounds of argument to FD_SET.
10018 (setOption): Throw exception if socket is closed.
10019
10020 2002-06-18 Tom Tromey <tromey@redhat.com>
10021
10022 * gcj/javaprims.h: Updated class declaration list.
10023 * Makefile.in: Rebuilt.
10024 * Makefile.am (core_java_source_files): Added
10025 PropertyPermissionCollection.java.
10026 * java/lang/Thread.java (group, name): Now package-private.
10027 * java/lang/ThreadGroup.java: Re-merge with Classpath.
10028 * java/util/AbstractList.java: Likewise.
10029 * java/util/AbstractMap.java: Likewise.
10030 * java/util/Calendar.java: Likewise.
10031 * java/util/Collections.java: Likewise.
10032 * java/util/HashMap.java: Likewise.
10033 * java/util/Hashtable.java: Likewise.
10034 * java/util/LinkedHashMap.java: Likewise.
10035 * java/util/LinkedList.java: Likewise.
10036 * java/util/List.java: Likewise.
10037 * java/util/ListResourceBundle.java: Likewise.
10038 * java/util/Map.java: Likewise.
10039 * java/util/Observable.java: Likewise.
10040 * java/util/Properties.java: Likewise.
10041 * java/util/PropertyPermission.java: Likewise.
10042 * java/util/PropertyPermissionCollection.java: Likewise.
10043 * java/util/PropertyResourceBundle.java: Likewise.
10044 * java/util/Random.java: Likewise.
10045 * java/util/SimpleTimeZone.java: Likewise.
10046 * java/util/StringTokenizer.java: Likewise.
10047 * java/util/TimerTask.java: Likewise.
10048 * java/util/TreeMap.java: Likewise.
10049 * java/util/WeakHashMap.java: Likewise.
10050 * java/util/jar/Attributes.java: Likewise.
10051 * java/util/jar/JarException.java: Likewise.
10052 * java/util/jar/Manifest.java: Likewise.
10053
10054 2002-06-17 Tom Tromey <tromey@redhat.com>
10055
10056 * gcj/javaprims.h: Updated class declaration list.
10057 * Makefile.in: Rebuilt.
10058 * Makefile.am (core_java_source_files): Added new file.
10059 * java/util/EventListenerProxy.java: New file.
10060 * java/util/EventListener.java: Re-merge with Classpath.
10061 * java/util/EventObject.java: Re-merge with Classpath.
10062
10063 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10064
10065 * java/lang/ClassNotFoundException.java: New Classpath version.
10066
10067 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10068
10069 * java/rmi/activation/ActivateFailedException.java: Remerge from
10070 Classpath version.
10071 * java/rmi/activation/ActivationException.java: Ditto.
10072 * java/rmi/activation/UnknownGroupException.java: Ditto.
10073 * java/rmi/activation/UnknownObjectException.java: Ditto.
10074 * java/rmi/server/ExportException: Ditto.
10075 * java/rmi/server/ServerCloneException: Ditto.
10076 * java/rmi/server/ServerNotActiveException: Ditto.
10077 * java/rmi/server/SkeletonMismatchException: Ditto.
10078 * java/rmi/server/SkeletonNotFoundException: Ditto.
10079 * java/rmi/server/SocketSecurityException: Ditto.
10080
10081 2002-06-16 Tom Tromey <tromey@redhat.com>
10082
10083 * gcj/javaprims.h: Updated class declaration list.
10084
10085 * java/io/LineNumberInputStream.java: Merged with Classpath.
10086
10087 * java/lang/RuntimeException.java: Re-merge with Classpath.
10088 * java/util/ArrayList.java: Likewise.
10089 * java/util/Arrays.java: Likewise.
10090 * java/util/BitSet.java: Likewise.
10091 * java/util/Dictionary.java: Likewise.
10092 * java/util/IdentityHashMap.java: Likewise.
10093 * java/util/MissingResourceException.java: Likewise.
10094 * java/util/Observer.java: Likewise.
10095 * java/util/TooManyListenersException.java: Likewise.
10096 * java/util/zip/DataFormatException.java: Likewise.
10097 * java/util/zip/ZipException.java: Likewise.
10098
10099 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
10100
10101 * java/rmi/AccessException.java: Remerge from Classpath.
10102 * java/rmi/AlreadyBoundException.java: Ditto.
10103 * java/rmi/ConnectException.java: Ditto.
10104 * java/rmi/ConnectIOException.java: Ditto.
10105 * java/rmi/MarshalException.java: Ditto.
10106 * java/rmi/NoSuchObjectException.java: Ditto.
10107 * java/rmi/NotBoundException.java: Ditto.
10108 * java/rmi/RemoteException.java: Ditto.
10109 * java/rmi/RMISecurityException.java: Ditto.
10110 * java/rmi/ServerError.java: Ditto.
10111 * java/rmi/ServerException.java: Ditto.
10112 * java/rmi/ServerRuntimeException.java: Ditto.
10113 * java/rmi/StubNotFoundException.java: Ditto.
10114 * java/rmi/UnexpectedExcpetion.java: Ditto.
10115 * java/rmi/UnknownHostException.java: Ditto.
10116 * java/rmi/UnmarshalException.java: Ditto.
10117
10118 2002-06-15 Tom Tromey <tromey@redhat.com>
10119
10120 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10121 * java/lang/ArithmeticException.java: Likewise.
10122 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10123 * java/lang/ArrayStoreException.java: Likewise.
10124 * java/lang/Byte.java: Likewise.
10125 * java/lang/CharSequence.java: Likewise.
10126 * java/lang/ClassCastException.java: Likewise.
10127 * java/lang/ClassCircularityError.java: Likewise.
10128 * java/lang/ClassFormatError.java: Likewise.
10129 * java/lang/CloneNotSupportedException.java: Likewise.
10130 * java/lang/Cloneable.java: Likewise.
10131 * java/lang/Comparable.java: Likewise.
10132 * java/lang/Compiler.java: Likewise.
10133 * java/lang/Error.java: Likewise.
10134 * java/lang/ExceptionInInitializerError.java: Likewise.
10135 * java/lang/IllegalAccessError.java: Likewise.
10136 * java/lang/IllegalAccessException.java: Likewise.
10137 * java/lang/IllegalArgumentException.java: Likewise.
10138 * java/lang/IllegalMonitorStateException.java: Likewise.
10139 * java/lang/IllegalStateException.java: Likewise.
10140 * java/lang/IllegalThreadStateException.java: Likewise.
10141 * java/lang/IncompatibleClassChangeError.java: Likewise.
10142 * java/lang/IndexOutOfBoundsException.java: Likewise.
10143 * java/lang/InheritableThreadLocal.java: Likewise.
10144 * java/lang/InstantiationError.java: Likewise.
10145 * java/lang/InstantiationException.java: Likewise.
10146 * java/lang/InternalError.java: Likewise.
10147 * java/lang/InterruptedException.java: Likewise.
10148 * java/lang/LinkageError.java: Likewise.
10149 * java/lang/NegativeArraySizeException.java: Likewise.
10150 * java/lang/NoClassDefFoundError.java: Likewise.
10151 * java/lang/NoSuchFieldError.java: Likewise.
10152 * java/lang/NoSuchFieldException.java: Likewise.
10153 * java/lang/NoSuchMethodError.java: Likewise.
10154 * java/lang/NoSuchMethodException.java: Likewise.
10155 * java/lang/NullPointerException.java: Likewise.
10156 * java/lang/NumberFormatException.java: Likewise.
10157 * java/lang/OutOfMemoryError.java: Likewise.
10158 * java/lang/Process.java: Likewise.
10159 * java/lang/Runnable.java: Likewise.
10160 * java/lang/RuntimePermission.java: Likewise.
10161 * java/lang/SecurityException.java: Likewise.
10162 * java/lang/Short.java: Likewise.
10163 * java/lang/StackOverflowError.java: Likewise.
10164 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10165 * java/lang/ThreadDeath.java: Likewise.
10166 * java/lang/ThreadLocal.java: Likewise.
10167 * java/lang/UnknownError.java: Likewise.
10168 * java/lang/UnsatisfiedLinkError.java: Likewise.
10169 * java/lang/UnsupportedClassVersionError.java: Likewise.
10170 * java/lang/UnsupportedOperationException.java: Likewise.
10171 * java/lang/VerifyError.java: Likewise.
10172 * java/lang/VirtualMachineError.java: Likewise.
10173 * java/lang/reflect/InvocationTargetException.java: Likewise.
10174 * java/net/BindException.java: Likewise.
10175 * java/net/ConnectException.java: Likewise.
10176 * java/net/MalformedURLException.java: Likewise.
10177 * java/net/NoRouteToHostException.java: Likewise.
10178 * java/net/ProtocolException.java: Likewise.
10179 * java/net/SocketException.java: Likewise.
10180 * java/net/UnknownHostException.java: Likewise.
10181 * java/net/UnknownServiceException.java: Likewise.
10182
10183 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10184 * java/io/CharConversionException.java: Likewise.
10185 * java/io/EOFException.java: Likewise.
10186 * java/io/FileNotFoundException.java: Likewise.
10187 * java/io/IOException.java: Likewise.
10188 * java/io/InterruptedIOException.java: Likewise.
10189 * java/io/InvalidClassException.java: Likewise.
10190 * java/io/InvalidObjectException.java: Likewise.
10191 * java/io/NotActiveException.java: Likewise.
10192 * java/io/NotSerializableException.java: Likewise.
10193 * java/io/ObjectStreamException.java: Likewise.
10194 * java/io/ObjectStreamConstants.java: Likewise.
10195 * java/io/OptionalDataException.java: Likewise.
10196 * java/io/PipedInputStream.java: Likewise.
10197 * java/io/PushbackInputStream.java: Likewise.
10198 * java/io/StreamCorruptedException.java: Likewise.
10199 * java/io/SyncFailedException.java: Likewise.
10200 * java/io/UTFDataFormatException.java: Likewise.
10201 * java/io/UnsupportedEncodingException.java: Likewise.
10202 * java/io/WriteAbortedException.java: Likewise.
10203
10204 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10205
10206 * java/text/ChoiceFormat.java: Update comments from Classpath.
10207 * java/text/ParseException.java (serialVersionUID): New
10208 field from Classpath.
10209 * java/text/ParseException.java: Update formatting & comments
10210 from Classpath.
10211
10212 2002-06-15 Tom Tromey <tromey@redhat.com>
10213
10214 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10215 been read but none output by inflater.
10216 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10217 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10218 is_finished.
10219 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10220 version.
10221 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10222 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10223 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10224 version.
10225 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10226
10227 2002-06-13 Tom Tromey <tromey@redhat.com>
10228
10229 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10230 true and OFFSET!=0.
10231 * java/lang/String.java (String(char[],int,int,boolean): New
10232 constructor.
10233 * java/lang/Long.java: Imported new version from Classpath.
10234 * java/lang/Number.java: Likewise.
10235 * java/lang/Integer.java: Likewise.
10236 * java/lang/Long.java: Likewise.
10237 * java/lang/Float.java: Likewise.
10238 * java/lang/Boolean.java: Likewise.
10239 * java/lang/Double.java: Likewise.
10240 * java/lang/Void.java: Likewise.
10241
10242 2002-06-12 Tom Tromey <tromey@redhat.com>
10243
10244 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10245 Fixes PR libgcj/6652.
10246
10247 2002-06-10 Tom Tromey <tromey@redhat.com>
10248
10249 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10250 (Class::getPackagePortion): Likewise.
10251 * java/lang/Class.java (desiredAssertionStatus): New method from
10252 Classpath.
10253 (getPackagePortion): Likewise.
10254 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10255 packageAssertionStatus, classAssertionStatus): New methods from
10256 Classpath.
10257 * java/lang/ClassLoader.java (defaultAssertionStatus,
10258 systemPackageAssertionStatus, packageAssertionStatus,
10259 systemClassAssertionStatus, classAssertionStatus): New fields from
10260 Classpath.
10261 (setDefaultAssertionStatus, setPackageAssertionStatus,
10262 setClassAssertionStatus, clearAssertionStatus): New methods from
10263 Classpath.
10264 * Makefile.in: Rebuilt.
10265 * Makefile.am (core_java_source_files): Added AssertionError.java.
10266 * java/lang/AssertionError.java: New from Classpath.
10267
10268 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10269
10270 * configure.host: Disable hash synchronization and slow_pthread_self
10271 for cygwin.
10272
10273 2002-06-06 Adam Megacz <adam@xwt.org>
10274
10275 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10276 locking, just like the Sun JVM does.
10277
10278 2002-06-05 H.J. Lu (hjl@gnu.org)
10279
10280 * Makefile.am (libgcj_convenience.la): Revert the last change.
10281 (libgcj.la): Likewise.
10282 * Makefile.in: Regenerated.
10283
10284 2002-06-04 H.J. Lu (hjl@gnu.org)
10285
10286 * Makefile.am (libgcj_convenience.la): New target.
10287 (libgcj.la): Depend on libgcj_convenience.la.
10288 * Makefile.in: Regenerated.
10289
10290 2002-06-04 H.J. Lu (hjl@gnu.org)
10291
10292 * configure.in (--with-newlib): New option:
10293 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10294 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10295 Linux.
10296 * configure: Regenerated.
10297
10298 2002-06-04 Tom Tromey <tromey@redhat.com>
10299
10300 * java/util/natTimeZone.cc: Include <stdio.h>.
10301
10302 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10303
10304 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10305 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10306 Set SIGNAL_HANDLER=include/s390-linux.h.
10307 * configure: Regenerate.
10308 * include/s390-linux.h: New file.
10309
10310 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10311
10312 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10313 not "stackTrace".
10314
10315 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10316
10317 Merge JDK 1.4 java.security changes from classpath.
10318
10319 * java/security/AccessControlException.java: Merge from Classpath.
10320 * java/security/AccessController.java: Likewise.
10321 * java/security/AllPermission.java: Likewise.
10322 * java/security/BasicPermission.java: Likewise.
10323 * java/security/Certificate.java: Likewise.
10324 * java/security/CodeSource.java: Likewise.
10325 * java/security/DigestException.java: Likewise.
10326 * java/security/DigestOutputStream.java: Likewise.
10327 * java/security/DomainCombiner.java: Likewise.
10328 * java/security/GeneralSecurityException.java: Likewise.
10329 * java/security/Guard.java: Likewise.
10330 * java/security/GuardedObject.java: Likewise.
10331 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10332 * java/security/InvalidKeyException.java: Likewise.
10333 * java/security/InvalidParameterException.java: Likewise.
10334 * java/security/Key.java: Likewise.
10335 * java/security/KeyException.java: Likewise.
10336 * java/security/KeyManagementException.java: Likewise.
10337 * java/security/KeyStoreException.java: Likewise.
10338 * java/security/MessageDigest.java: Likewise.
10339 * java/security/NoSuchAlgorithmException.java: Likewise.
10340 * java/security/NoSuchProviderException.java: Likewise.
10341 * java/security/Permission.java: Likewise.
10342 * java/security/PermissionCollection.java: Likewise.
10343 * java/security/Permissions.java: Likewise.
10344 * java/security/Policy.java: Likewise.
10345 * java/security/Principal.java: Likewise.
10346 * java/security/PrivateKey.java: Likewise.
10347 * java/security/PrivilegedAction.java: Likewise.
10348 * java/security/PrivilegedActionException.java: Likewise.
10349 * java/security/PrivilegedExceptionAction.java: Likewise.
10350 * java/security/ProtectionDomain.java: Likewise.
10351 * java/security/ProviderException.java: Likewise.
10352 * java/security/PublicKey.java: Likewise.
10353 * java/security/SecureClassLoader.java: Likewise.
10354 * java/security/SecurityPermission.java: Likewise.
10355 * java/security/SignatureException.java: Likewise.
10356 * java/security/UnrecoverableKeyException.java: Likewise.
10357 * java/security/UnresolvedPermission.java: Likewise.
10358 * java/security/acl/AclNotFoundException.java: Likewise.
10359 * java/security/acl/LastOwnerException.java: Likewise.
10360 * java/security/acl/NotOwnerException.java: Likewise.
10361 * java/security/cert/CRLException.java: Likewise.
10362 * java/security/cert/CertificateEncodingException.java: Likewise.
10363 * java/security/cert/CertificateException.java: Likewise.
10364 * java/security/cert/CertificateExpiredException.java: Likewise.
10365 * java/security/cert/CertificateFactory.java: Likewise.
10366 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10367 * java/security/cert/CertificateParsingException.java: Likewise.
10368 * java/security/spec/InvalidKeySpecException.java: Likewise.
10369 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10370
10371 * java/security/cert/CertPath.java: New file.
10372 * java/security/cert/CertPathBuilderException.java: New file.
10373 * java/security/cert/CertPathValidatorException.java: New file.
10374 * java/security/cert/CertStoreException.java: New file.
10375
10376 * Makefile.am: Add new CertPath classes.
10377 * Makefile.in: Rebuilt.
10378
10379 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10380
10381 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10382
10383 Merge JDK 1.4 exception chaining support from classpath.
10384
10385 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10386 (stackTraceBytes): Rename from stackTrace.
10387 * java/lang/Exception.java: Merge from classpath.
10388 * java/lang/StackTraceElement: New file from classpath.
10389 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10390 * Makefile.am: Add StackTraceElement.
10391 * Makefile.in: Rebuilt.
10392
10393 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10394
10395 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10396 they build first.
10397 * Makefile.in: Rebuilt.
10398
10399 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10400
10401 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10402 * configure.in: Likewise.
10403 * aclocal.m4: Regenerate.
10404 * configure: Regenerate.
10405
10406 2002-05-13 Tom Tromey <tromey@redhat.com>
10407
10408 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10409 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10410 Include platform.h.
10411
10412 Fixes PR libgcj/6389:
10413 * Makefile.in: Rebuilt.
10414 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10415 * java/util/natTimeZone.cc: New file.
10416 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10417 * java/lang/System.java: Merged with Classpath.
10418 * java/lang/Runtime.java: Merged with Classpath.
10419 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10420 security check.
10421 (setIn0): Renamed from setIn; don't run security check.
10422 (setOut0): Renamed from setOut; don't run security check.
10423 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10424 init_properties): Moved to natRuntime.cc.
10425 Moved many includes to natRuntime.cc.
10426 (isWordsBigEndian): New method.
10427 * java/lang/natRuntime.cc: Include Long.h, also other includes
10428 previously in natSystem.cc.
10429 (maxMemory): New function.
10430 (exitInternal): Renamed from `_exit'.
10431 (exit): Removed.
10432 (init): Don't set finalize_on_exit.
10433 (exitInternal): Use `finalizeOnExit'.
10434 (file_encoding, getpwuid_adaptor): New functions from
10435 natSystem.cc.
10436 (insertSystemProperties): New method, renamed from
10437 System::init_properties. Don't set user.timezone.
10438 (_load): Don't call checkLink.
10439 (execInternal): New method.
10440 (availableProcessors): Likewise.
10441 (nativeGetLibname): Likewise.
10442
10443 2002-05-11 Mark Wielaard <mark@klomp.org>
10444
10445 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10446 space characters.
10447 (previous_internal): Likewise.
10448
10449 2002-05-09 Tom Tromey <tromey@redhat.com>
10450
10451 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10452
10453 * java/util/ResourceBundle.java: New version from Classpath.
10454 * java/util/Locale.java: Likewise.
10455
10456 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10457
10458 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10459 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10460 LD_LIBRARY_PATH.
10461
10462 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10463
10464 * libjava/Makefile.am (all_java_source_files): New variable.
10465 (all_java_class_files): Likewise.
10466 .java.class: New rule.
10467 (CLEANFILES): Remove tmp-list.
10468 * libjava/Makefile.in: Regenerated.
10469
10470 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10471
10472 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10473 Append .exe to executable names. Fix for cygwin.
10474
10475 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10476
10477 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10478 script entry, and set LD to it when configuring multilibs.
10479 * configure: Rebuilt.
10480
10481 2002-05-07 Tom Tromey <tromey@redhat.com>
10482
10483 * java/lang/natString.cc (unintern): Fixed typo.
10484
10485 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10486
10487 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10488 with -no-install on *-*-cygwin*.
10489
10490 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10491
10492 * testsuite/lib/libjava.exp (test_libjava_from_source):
10493 Add comment explaining last patch
10494
10495 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10496
10497 * testsuite/lib/libjava.exp (test_libjava_from_source):
10498 Append .exe to executable names. If no suffix is present,
10499 then ".exe" is added by default on win32. Harmless
10500 elsewhere so always do it.
10501
10502 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10503 Tom Tromey <tromey@redhat.com>
10504
10505 * java/lang/natSystem.cc (getSystemTimeZone): Use
10506 HAVE_UNDERSCORE_TIMEZONE.
10507 * include/config.h.in: Rebuilt.
10508 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10509 * aclocal.m4, configure: Rebuilt.
10510 * acinclude.m4: Run AC_EXEEXT.
10511 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10512 Add test for `_timezone'.
10513
10514 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10515
10516 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10517 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10518 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10519 * Makefile.in: Rebuilt.
10520
10521 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10522
10523 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10524 use sigaction instead of __libc_sigaction.
10525
10526 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10527
10528 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10529 (libjava_init): Use it to find libgcj.spec.
10530 (libjava_arguments): Likewise.
10531
10532 2002-05-02 David S. Miller <davem@redhat.com>
10533
10534 PR bootstrap/6525
10535 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10536 __libc_sigaction on Sparc.
10537
10538 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10539
10540 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10541 sys/filio.h, if present.
10542
10543 2002-04-30 Tom Tromey <tromey@redhat.com>
10544
10545 * java/io/BufferedReader.java (fill): Handle case where markPos
10546 point to ignored \n. Fixes PR libgcj/6301.
10547
10548 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10549
10550 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10551
10552 2002-04-29 Adam King <aking@dreammechanics.com>
10553
10554 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10555 of file in APPEND mode.
10556
10557 2002-04-25 David S. Miller <davem@redhat.com>
10558
10559 PR target/6422
10560 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10561 program counter to next program counter minus 8. Update
10562 comments in this macro to explain why.
10563
10564 2002-04-26 Tom Tromey <tromey@redhat.com>
10565
10566 * verify.cc (construct_primitive_array_type) [void_type]: New
10567 case.
10568 (branch_prepass): Added dummy entries for unused instruction
10569 values.
10570 (verify_instructions_0): Likewise.
10571 * interpret.cc (continue1): Comment fix.
10572 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10573 * Makefile.in: Rebuilt.
10574 * Makefile.am: Added -Wswitch-enum.
10575
10576 2002-04-24 Tom Tromey <tromey@redhat.com>
10577
10578 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10579 correct length of UTF-8 encoded name. Strip leading `/'.
10580 (_Jv_RegisterResource): Use _Jv_Malloc.
10581
10582 2002-04-23 Adam Megacz <adam@xwt.org>
10583
10584 * win32.cc, include/win32.cc (backtrace): Added this function
10585 because Win32 does not supply it.
10586
10587 2002-04-21 David S. Miller <davem@redhat.com>
10588
10589 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10590 magic instruction reading sequence.
10591
10592 2002-04-21 Mark Wielaard <mark@klomp.org>
10593
10594 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10595
10596 2002-04-19 David S. Miller <davem@redhat.com>
10597
10598 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10599 arg.
10600 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10601 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10602 on Sparc too.
10603 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10604 for 64-bit sparc.
10605 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10606 * sysdeps/sparc/locks.h: New file.
10607 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10608 on all sparc Solaris configurations. Set to
10609 include/dwarf2-signal.h on sparc Linux.
10610 * configure: Regenerate
10611 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10612
10613 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10614
10615 * configure: Rebuilt.
10616 * configure.in (backtrace): Function doesn't work on IA-64.
10617
10618 2002-04-17 Adam King <aking@dreammechanics.com>
10619
10620 * java/io/File.java (normalizePath): Add Win32 support for auto
10621 conversion of a '/' path separator to Win32's '\' separator.
10622
10623 2002-04-16 Tom Tromey <tromey@redhat.com>
10624
10625 Fix for PR libgcj/6081:
10626 * Makefile.in: Rebuilt.
10627 * Makefile.am (install-data-local): Use GNU make trick to avoid
10628 shell limit.
10629
10630 2002-04-16 Adam King <aking@dreammechanics.com>
10631 Tom Tromey <tromey@redhat.com>
10632
10633 * java/io/natFileWin32.cc (performList): Return the correct array
10634 type. Don't duplicate the creation of a File since it's already
10635 done earlier in the method and the existing code would cause a
10636 ArrayStoreException. Don't use fixed-size array.
10637 (_access, _stat, attr, getCanonicalPath, performMkdir,
10638 performRenameTo): Don't use fixed-size array.
10639 (getCanonicalPath): Use throw, not _Jv_Throw.
10640
10641 2002-04-15 DJ Delorie <dj@redhat.com>
10642
10643 * configure.in: Allow building in $srcdir.
10644 * configure: Regenerated.
10645
10646 2002-04-14 Mark Wielaard <mark@klomp.org>
10647
10648 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10649 * java/net/natSocketImpl.cc (close): Likewise.
10650
10651 2002-04-14 Mark Wielaard <mark@klomp.org>
10652
10653 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10654
10655 2002-04-13 Adam King <aking@dreammechanics.com>
10656
10657 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10658 the f/F/d/D modifiers.
10659
10660 2002-04-12 Anthony Green <green@redhat.com>
10661
10662 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10663 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10664 * Makefile.in: Rebuilt.
10665 * configure.in: Substitute gcc_version.
10666 * configure: Rebuilt.
10667
10668 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10669
10670 * configure.host: Set can_unwind_signal on hosts which support it.
10671 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10672 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10673 exceptions and can_unwind_signal isn't set.
10674 * configure: Rebuilt.
10675
10676 2002-04-11 Tom Tromey <tromey@redhat.com>
10677
10678 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10679
10680 2002-04-11 Adam King <aking@dreammechanics.com>
10681 Tom Tromey <tromey@redhat.com>
10682
10683 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10684 _Jv_ThrowNullPointerException): Mark as noreturn.
10685 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10686 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10687 fixes.
10688
10689 2002-04-10 Tom Tromey <tromey@redhat.com>
10690
10691 * Makefile.in: Rebuilt.
10692 * Makefile.am (java/lang/Thread.h): Mark
10693 _Jv_AttachCurrentThreadAsDaemon as friend.
10694 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10695 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10696 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10697 function.
10698 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10699 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10700 (_Jv_JNI_InvokeFunctions): Added
10701 _Jv_JNI_AttachCurrentThreadAsDaemon.
10702 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10703 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10704 (JNI_CreateJavaVM): Likewise.
10705 (_Jv_JNI_AttachCurrentThread): Likewise.
10706 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10707 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10708 (_Jv_JNIFunctions): Initialize new fields.
10709 (_Jv_JNI_NewDirectByteBuffer): New function.
10710 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10711 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10712 * include/jni.h (JNI_VERSION_1_4): New macro.
10713 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10714 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10715 (JNINativeInterface::NewDirectByteBuffer): New field.
10716 (JNINativeInterface::GetDirectBufferAddress): New field.
10717 (JNINativeInterface::GetDirectBufferCapacity): New field.
10718 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10719 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10720 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10721
10722 2002-04-09 Tom Tromey <tromey@redhat.com>
10723
10724 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10725
10726 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10727
10728 Fix for PR libgcj/6187:
10729 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10730 distance.
10731
10732 2002-04-07 Mark Wielaard <mark@klomp.org>
10733
10734 * java/util/AbstractMap.java (putAll): Use entrySet size.
10735 (toString): Explicitly use getKey() and getValue().
10736
10737 2002-04-07 Mark Wielaard <mark@klomp.org>
10738
10739 * java/util/Hashtable.java (contains): Remove NullPointer check.
10740 (containsValue): Add NullPointer check.
10741 (remove): Always throw NullPointerException when key
10742 is null.
10743
10744 2002-04-07 Adam King <aking@dreammechanics.com>
10745
10746 * java/lang/natSystem.cc (init_properties): Call new function
10747 _Jv_platform_initProperties.
10748 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10749 support for the System properties os.name, os.arch, os.version,
10750 user.name, user.home, and user.dir.
10751 * include/posix.h, include/win32.h, posix.cc: New function
10752 _Jv_platform_initProperties.
10753
10754 2002-04-06 Mark Wielaard <mark@klomp.org>
10755
10756 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10757
10758 2002-04-06 Mark Wielaard <mark@klomp.org>
10759
10760 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10761 all of the remaining elements.
10762 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10763 (removeRange): If toIndex == fromIndex do
10764 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10765 (removeAll): Always throw NullPointerException when collection is
10766 null.
10767 (retrainAll): Likewise.
10768
10769 2002-04-05 Mark Wielaard <mark@klomp.org>
10770
10771 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10772 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10773
10774 2002-04-05 Adam Megacz <adam@xwt.org>
10775
10776 * exception.cc (abort): added static modifier
10777
10778 2002-04-04 Adam Megacz <adam@xwt.org>
10779
10780 * include/win32.h (_Jv_platform_close_on_exec): added inline
10781 modifier.
10782
10783 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10784
10785 * configure.host: Add case statement to support generic port
10786 properties. Add *-*-freebsd* section.
10787
10788 2002-04-04 Mark Wielaard <mark@klomp.org>
10789
10790 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10791 test.
10792 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10793 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10794 that depend on awt code and BufferedByteOutputStream.interrupt.
10795
10796 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10797
10798 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10799 incorrect "hi" value when count > 40.
10800
10801 2002-04-03 Mark Wielaard <mark@klomp.org>
10802
10803 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10804 ordering.
10805
10806 2002-04-02 Tom Tromey <tromey@redhat.com>
10807
10808 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10809 not `0'.
10810
10811 2002-04-02 Mark Wielaard <mark@klomp.org>
10812
10813 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10814 list of testsuite crashers.
10815
10816 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10817
10818 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10819 when resizing table.
10820
10821 2002-04-01 Mark Wielaard <mark@klomp.org>
10822
10823 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10824 NegativeArraySizeException
10825 (clear(int)): Use sign extended shift.
10826 (flip(int)): Likewise.
10827 (get(int)): Likewise.
10828 (nextClearBit(int)): Likewise.
10829 (nextSetBit(int)): Likewise.
10830 (set(int)): Likewise.
10831
10832 2002-04-01 Mark Wielaard <mark@klomp.org>
10833
10834 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10835 that can be compiled now and add testsuite crashers to ignore list.
10836
10837 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10838
10839 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10840
10841 * libgcj.spec.in: Override libgcc, not lib.
10842 * libgcj-test.spec.in: Likewise.
10843
10844 2002-03-29 Tom Tromey <tromey@redhat.com>
10845
10846 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10847 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10848
10849 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10850
10851 * java/net/PlainDatagramSocketImpl.java
10852 (close): Use native implementation.
10853 (finalize): New method.
10854
10855 * java/net/PlainSocketImpl.java (finalize): New method.
10856
10857 * java/net/natPlainDatagramSocketImpl.cc
10858 (java/io/FileDescriptor.h): Don't include.
10859 (close): Implement method here.
10860 (create): Don't assign fd.
10861
10862 * java/net/natPlainSocketImpl.cc
10863 (java/io/FileDescriptor.h): Don't include.
10864 (create): Don't assign fd.
10865 (accept): Likewise.
10866 (close): Synchronize.
10867
10868 2002-03-27 Richard Henderson <rth@redhat.com>
10869
10870 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10871
10872 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10873
10874 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10875 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10876 instead of syscall on IA-64.
10877 Add FIXME comment.
10878
10879 2002-03-27 Anthony Green <green@redhat.com>
10880
10881 * libgcj.spec.in: Add CHECKREFSPEC.
10882 * configure.in: Ditto.
10883 * configure.host: Ditto. Check references for xscale-elf.
10884 * configure: Rebuilt.
10885
10886 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10887
10888 * include/dwarf2-signal.h: Temporarily back out last change.
10889
10890 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10891
10892 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10893
10894 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10895
10896 * configure.in, configure: enable dwarf2-exception-style
10897 exception handling on IA-64.
10898 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10899 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10900 Add FIXME comment.
10901
10902 2002-03-25 Tom Tromey <tromey@redhat.com>
10903
10904 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10905 (jv_convert_LDFLAGS): Likewise.
10906 (gij_LDFLAGS): Likewise.
10907 (rmic_LDFLAGS): Likewise.
10908 (rmiregistry_LDFLAGS): Likewise.
10909 * configure.in (THREADLDFLAGS): New subst; set correctly for
10910 *BSD.
10911
10912 2002-03-25 Tom Tromey <tromey@redhat.com>
10913
10914 For PR libgcj/5303:
10915 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10916 and --version.
10917 (help): New method.
10918 (version): Likewise.
10919 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10920 "GNU".
10921 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10922 "GNU".
10923
10924 2002-03-25 Tom Tromey <tromey@redhat.com>
10925
10926 * java/awt/Component.java (processEvent): Check ComponentEvent
10927 after KeyEvent.
10928
10929 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10930
10931 * java/io/PushbackReader.java: Reformat.
10932
10933 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10934 calculate correct number of bytes skipped.
10935
10936 Based on patch from Intel's ORP team:
10937 * java/io/PushbackInputStream.java (available): Calculate correct
10938 number of bytes in buffer.
10939 (read): Remove redundant bound check. Return bytes from both the
10940 buffer and the stream.
10941
10942 2002-03-24 Tom Tromey <tromey@redhat.com>
10943
10944 * java/awt/TextComponent.java (TextComponent): Editable by
10945 default.
10946
10947 * java/awt/MenuItem.java (eventMask): No longer private.
10948 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10949 superclass if we didn't handle event.
10950 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10951 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10952 * java/awt/Choice.java (dispatchEventImpl): New method.
10953 * java/awt/List.java (dispatchEventImpl): New method.
10954 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10955 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10956 * java/awt/TextField.java (dispatchEventImpl): New method.
10957
10958 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10959
10960 * java/beans/IntrospectionException.java: Update to 1.4.
10961 * java/beans/PropertyVetoException.java: Ditto.
10962
10963 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10964
10965 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10966 Arrays.equals instead of ArrayHelper.equalsArray.
10967
10968 2002-03-24 C. Brian Jones <cbj@gnu.org>
10969
10970 * java/beans/Introspector.java: added new static final fields
10971 introduced in 1.2, lots of other updates remain to be done
10972
10973 2002-03-24 C. Brian Jones <cbj@gnu.org>
10974
10975 * java/beans/Introspector.java: reformatting
10976
10977 2002-03-24 C. Brian Jones <cbj@gnu.org>
10978
10979 * java/beans/Introspector.java: default beanInfoSearchPath will
10980 not include sun.beans.infos given we provide no such package and
10981 the API doesn't really require it; gnu.java.beans.info is the
10982 default.
10983
10984 2002-03-24 Mark Wielaard <mark@klomp.org>
10985
10986 Thanks to Orp developers
10987 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10988 switch TRUE and FALSE return values.
10989
10990 2002-03-23 Tom Tromey <tromey@redhat.com>
10991
10992 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10993 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10994
10995 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10996
10997 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10998 MONTH entry. Fixes PR libgcj/6045.
10999
11000 2002-03-23 Jeff Sturm <jsturm@one-point.com>
11001
11002 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11003
11004 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11005
11006 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11007 not release_set.
11008 * sysdep/powerpc/locks.h (write_barrier): New function.
11009 * sysdep/i386/locks.h (write_barrier): New function.
11010
11011 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
11012
11013 * include/jni.h Use correct C comments.
11014
11015 2002-03-18 Tom Tromey <tromey@redhat.com>
11016
11017 * include/jni.h (JNIIMPORT): New macro.
11018 (JNIEXPORT): Likewise.
11019 (JNICALL): Likewise.
11020
11021 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11022
11023 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11024 systems.
11025
11026 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
11027
11028 * include/i386-signal.h (old_i386_kernel_sigaction): New.
11029 INIT_SEGV: Use old_i386_kernel_sigaction.
11030 INIT_FP: Likewise.
11031
11032 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11033
11034 * java/lang/natSystem.cc (init_properties): Update VM version
11035 properties.
11036 * configure.in: Set GCJVERSION.
11037 * acconfig.h: Add GCJVERSION.
11038 * configure: Rebuilt.
11039 * include/config.h.in: Rebuilt.
11040
11041 2002-03-17 Anthony Green <green@redhat.com>
11042
11043 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11044
11045 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11046
11047 Build a single libgcj.so, without separate gc and zlib libraries.
11048 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11049 SYS_ZLIBS if system zlib is used.
11050 * configure: Rebuilt.
11051 * Makefile.am: Use boehm-gc and zlib convenience libraries.
11052 * Makefile.in: Rebuilt.
11053 * libtool-version: Increment .so version number.
11054
11055 * Makefile.am: Escape quotes in echo.
11056 * Makefile.in: Rebuilt.
11057
11058 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11059
11060 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11061 * Makefile.in: Rebuilt.
11062
11063 2002-03-15 Anthony Green <green@redhat.com>
11064
11065 * configure.host (FILE): New macro for specifing File
11066 implementation.
11067 * configure: Rebuilt.
11068 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
11069
11070 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
11071
11072 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11073 already implicitly brought in from libgcj.la.
11074 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11075 * Makefile.in: Rebuilt.
11076
11077 2002-03-15 Eric Blake <ebb9@email.byu.edu>
11078
11079 * THANKS: Fix punctuation, alphabetization.
11080
11081 2002-03-15 Tom Tromey <tromey@redhat.com>
11082 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11083
11084 Fix for PR libgcj/5944.
11085 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11086
11087 2002-03-15 Anthony Green <green@redhat.com>
11088
11089 * configure.in (tool_include_dir): Define.
11090 * configure: Rebuilt.
11091 * gcj/Makefile.am: Install libgcj-config.h relative to
11092 tool_include_dir.
11093 * gcj/Makefile: Rebuilt.
11094 * gcj/libgcj-config.h: Add warning comment.
11095
11096 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
11097
11098 * configure.host (powerpc*-darwin*): Enable interpreter.
11099
11100 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11101
11102 * include/posix.h: Add multiple include header protection.
11103 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11104
11105 2002-03-10 Adam Megacz <adam@xwt.org>
11106
11107 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11108
11109 2002-03-10 Tom Tromey <tromey@redhat.com>
11110
11111 * java/awt/GridLayout.java (layoutContainer): Handle case where
11112 there are no items in container.
11113
11114 * java/lang/Win32Process.java: Added comment.
11115 * include/posix.h (_Jv_platform_close_on_exec): New function.
11116 Include fcntl.h.
11117 * include/win32.h (_Jv_platform_close_on_exec): New function.
11118 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11119 flag.
11120 (accept): Likewise.
11121 * java/net/natPlainDatagramSocketImpl.cc (create): Set
11122 close-on-exec flag.
11123 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11124 flag.
11125
11126 2002-03-09 Tom Tromey <tromey@redhat.com>
11127
11128 * verify.cc (state::NO_STACK): New constant.
11129 (state::is_unmerged_ret_state): Handle case where stacktop is
11130 NO_STACK.
11131 (state::merge): Handle NO_STACK merges.
11132 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11133 for instruction following jsr.
11134 (stacktop, stackdepth): Removed unused variables.
11135 (pop_jump): Ignore case where all remaining states are skipped.
11136
11137 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11138
11139 * java/awt/ImageMediaEntry: Removed.
11140 * java/awt/MediaEntry: Removed.
11141
11142 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11143
11144 Hashtable synchronization for PowerPC.
11145 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11146 slow_pthread_self. Set up symlink for sysdeps directory.
11147 * configure: Rebuild.
11148 * configure.host: Document more shell variables. Set sysdeps_dir
11149 for most platforms. Set slow_pthread_self for i686. Set
11150 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11151 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11152 that memory barrier is emitted where required.
11153 * prims.cc: 64-bit align static primitive class instances.
11154 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11155 read_barrier() to enforce ordering of reads.
11156 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11157 primitives for PowerPC.
11158 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11159 moved from natObject.cc.
11160 * sysdep/alpha/locks.h: Likewise.
11161 * sysdep/ia64/locks.h: Likewise.
11162 * sysdep/generic/locks.h: Likewise.
11163 * java/lang/natObject.cc: Move thread synchronization primitives to
11164 system-dependent headers.
11165
11166 2002-03-09 Adam Megacz <adam@xwt.org>
11167
11168 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11169 bytes read and no failure code returned.
11170
11171 2002-03-09 Adam Megacz <adam@xwt.org>
11172
11173 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11174 definitions to simulate -mthreads.
11175
11176 2002-03-09 Adam Megacz <adam@xwt.org>
11177
11178 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11179 avoid precision loss.
11180
11181 2002-03-09 Per Bothner <per@bothner.com>
11182
11183 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11184 * gnu/gcj/xlib/XImage.java: Likewise.
11185 * gnu/gcj/xlib/XColor.java: Likewise.
11186
11187 2002-03-09 Adam Megacz <adam@xwt.org>
11188
11189 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11190 IOException so that Throwable.printStackTrace fails correctly.
11191
11192 2002-03-08 Adam Megacz <adam@xwt.org>
11193
11194 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11195 fixed.
11196
11197 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11198
11199 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11200 truncated to int.
11201
11202 2002-03-08 Tom Tromey <tromey@redhat.com>
11203
11204 * include/jni.h: Include stdio.h.
11205
11206 2002-03-08 Tom Tromey <tromey@redhat.com>
11207
11208 * posix.cc (internal_gettimeofday): New function.
11209 (_Jv_select): Use it.
11210
11211 2002-03-07 Adam Megacz <adam@xwt.org>
11212
11213 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11214 WIN32, and added thunks for read(), write(), and close().
11215 * java/net/natPlainSocketImpl.cc (accept, read, read):
11216 Disabled timeouts on WIN32 pending discussion.
11217
11218 2002-03-07 Adam Megacz <adam@xwt.org>
11219
11220 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11221 returns jlong. Added implementation
11222 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11223 returns jlong.
11224 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11225 returns jlong.
11226 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11227 returns jlong.
11228 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11229 _Jv_platform_gettimeofday signature.
11230
11231 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11232
11233 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11234 (read): Call recv() directly, not _Jv_recv().
11235
11236 2002-03-06 Tom Tromey <tromey@redhat.com>
11237
11238 * java/io/natFileDescriptorEcos.cc (init): Don't use
11239 GetStdHandle.
11240 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11241 is negative.
11242 (init): Don't use GetStdHandle.
11243
11244 * include/config.h.in: Rebuilt.
11245 * configure: Rebuilt.
11246 * Makefile.in: Rebuilt.
11247
11248 2002-03-06 Adam Megacz <adam@xwt.org>
11249
11250 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11251 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11252 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11253 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11254
11255 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11256
11257 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11258 the code for generating include/java-chartables.h.
11259 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11260 merge with Classpath.
11261 * scripts/unicode-muncher.pl: Copy from Classpath.
11262 * scritps/MakeCharTables.java: New file.
11263 * gnu/gcj/convert/Blocks-3.txt: New file.
11264 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11265 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11266 * gnu/java/lang/CharData.java: Copy from Classpath.
11267 * Makefile.am (ordinary_java_source_files): Add
11268 gnu/java/lang/CharData.java.
11269 * configure.in: Remove --enable-fast-character option.
11270 * java/lang/Character.java: Merge algorithms and Javadoc with
11271 Classpath.
11272 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11273 efficiently.
11274 * include/java-chardecomp.h: Regenerate.
11275 * include/java-chartables.h: Regenerate.
11276
11277 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11278
11279 * java/awt/MediaTracker.java: Implemented.
11280 * Makefile.am: Add MediaTracker.
11281 * Makefile.in: Rebuilt.
11282
11283 2002-03-05 Tom Tromey <tromey@redhat.com>
11284
11285 * java/lang/natPosixProcess.cc (fail): Removed.
11286 (startProcess): Simplified error-handling. Preserve
11287 LD_LIBRARY_PATH across exec.
11288
11289 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11290 AbstractMethodError.
11291
11292 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11293
11294 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11295 * Makefile.in: Rebuilt.
11296
11297 2002-03-03 Mark Wielaard <mark@klomp.org>
11298
11299 * java/util/Timer (TaskQueue.stop): set elements to zero.
11300
11301 2002-02-28 Anthony Green <green@redhat.com>
11302
11303 * java/lang/reflect/natMethod.cc (result): Add void* element.
11304 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11305 constructor test.
11306
11307 2002-02-27 Adam Megacz <adam@xwt.org>
11308
11309 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11310 '#undef STRICT'.
11311
11312 2002-02-26 Tom Tromey <tromey@redhat.com>
11313
11314 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11315 * gij.cc (version): Use __VERSION__.
11316 * include/config.h.in: Rebuilt.
11317 * acconfig.h (GCJVERSION): Removed.
11318 * configure: Rebuilt.
11319 * configure.in (GCJVERSION): Removed.
11320
11321 2002-02-26 Andreas Schwab <schwab@suse.de>
11322
11323 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11324 glibcpp_CXX, since libjava uses even another CXX.
11325 * aclocal.m4, configure: Regenerated.
11326
11327 2002-02-26 Tom Tromey <tromey@redhat.com>
11328
11329 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11330 `1'.
11331
11332 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11333
11334 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11335 dependency tracking for .java files.
11336 * Makefile.in: Rebuilt.
11337
11338 2002-02-24 Adam Megacz <adam@xwt.org>
11339
11340 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11341 typo. Sorry.
11342
11343 2002-02-24 Adam Megacz <adam@xwt.org>
11344
11345 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11346 for Win32, changed #ifdefs to check WIN32 instead of the
11347 (now-obsolete) USE_WINSOCK, and removed support for socket
11348 timeouts on Win32 pending further discussion.
11349
11350 2002-02-24 Adam Megacz <adam@xwt.org>
11351
11352 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11353 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11354 delete
11355
11356 2002-02-24 Adam Megacz <adam@xwt.org>
11357
11358 * java/lang/Win32Process.java: Created a dummy class to allow
11359 build process to run to completion.
11360
11361 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11362
11363 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11364 Define ffi_result union for ffi_call result. Cast
11365 ffi_result members to jvalue.
11366
11367 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11368
11369 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11370 * testsuite/Makefile.in: Likewise.
11371
11372 2002-02-20 Per Bothner <per@bothner.com>
11373
11374 * java/net/URL.java (getPath): New JDK 1.3 method.
11375
11376 * java/net/URLStreamHandler.java (parseURL):
11377 It is wrong to prepend '/' to the file part of a relative url.
11378
11379 * java/net/URLStreamHandler.java (parseURL):
11380 Minor optizations - append '/' rather than "/".
11381
11382 * java/net/URLStreamHandler.java (parseURL):
11383 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11384 We probably should canonicalize for a context-relative url, though.
11385 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11386 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11387 (sameFile): New method. Uses canonicalizeFilename.
11388
11389 2002-02-22 Tom Tromey <tromey@redhat.com>
11390
11391 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11392 java.vendor and java.vm.vendor.
11393 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11394 recent copyright date.
11395 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11396 * gij.cc (version): Print `Inc'.
11397
11398 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11399
11400 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11401 * aclocal.m4, configure: Rebuilt.
11402
11403 2002-02-20 Per Bothner <per@bothner.com>
11404
11405 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11406 and/or output streams immediately here, instead of using File.exists.
11407 (inputStream, outputStream): New fields to save open streams.
11408 (getInputStream, getOutputStream): Use already-opened streams.
11409
11410 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11411
11412 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11413 Use it.
11414 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11415 * aclocal.m4, configure, Makefile.in: Rebuilt.
11416
11417 2002-02-19 Tom Tromey <tromey@redhat.com>
11418
11419 Fix for PR libgcj/5696:
11420 * verify.cc (is_assignable_from_slow): Never call
11421 _Jv_IsAssignableFrom.
11422 (verify_instructions_0): Added new debug statement.
11423 (state::print): Print information about whether local has
11424 changed.
11425 (state::merge): Don't call note_variable when merging locals.
11426 (state::set_exception): Removed old FIXME comment.
11427
11428 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11429
11430 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11431 enable SO_BROADCAST.
11432
11433 2002-02-18 Jason Merrill <jason@redhat.com>
11434
11435 * name-finder.cc (toHex): Use word mode, not long long.
11436
11437 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11438
11439 2002-02-15 Tom Tromey <tromey@redhat.com>
11440
11441 Fix for PR libgcj/5695:
11442 * verify.cc (is_assignable_from_slow): Check to see if target is
11443 an Object before checking to see if source is an interface.
11444 (verify_instructions_0) [op_invokeinterface]: Handle case where
11445 we're making an interface call on Object.
11446
11447 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11448
11449 * Makefile.in: Rebuilt with Eric's change below.
11450
11451 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11452 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11453 Removed functions which are now implemented in Math.java.
11454
11455 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11456
11457 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11458 * Makefile.am (core_java_source_files): Add
11459 java/lang/StrictMath.java.
11460 * java/lang/Math.java: Merge with Classpath.
11461 * java/lang/StrictMath.java: New file - merge with Classpath.
11462
11463 2002-02-14 Mark Wielaard <mark@klomp.org>
11464
11465 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11466 package as a workaround for gcj 3.0.x
11467
11468 2002-02-14 Mark Wielaard <mark@klomp.org>
11469
11470 * java/security/BasicPermission.java: extends with fully qualified
11471 classname as workaround for gcj 3.0.4.
11472
11473 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11474
11475 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11476 around gcj bug of wrong emitted qualifier for inherited method.
11477 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11478 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11479 constructor to reduce amount of emitted bytecode. While this
11480 happens to work around a jikes 1.15 bug, it is still a useful
11481 patch even for correct compilers.
11482 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11483 * gnu/java/rmi/server/UnicastRemoteCall.java
11484 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11485
11486 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11487
11488 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11489 * java/net/SocketImpl.java: Ditto.
11490 * java/rmi/server/RMIClassLoader.java: Ditto.
11491 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11492
11493 2002-02-14 Mark Wielaard <mark@klomp.org>
11494
11495 Thanks to Takashi Okamoto
11496 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11497 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11498 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11499
11500 2002-02-13 Todd Stock <toddastock@yahoo.com>
11501
11502 Fix for PR libgcj/5670:
11503 * verify.cc (is_assignable_from_slow): If `source' is interface,
11504 recursively look for merge with `target'.
11505
11506 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11507
11508 * include/jni.h: Fix typo.
11509
11510 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11511
11512 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11513 correctly.
11514
11515 2002-02-13 Todd Stock <toddastock@yahoo.com>
11516
11517 Fix for PR libgcj/5671:
11518 * verify.cc (state::merge): Handle case where we're merging
11519 against an interface.
11520
11521 2002-02-12 Tom Tromey <tromey@redhat.com>
11522
11523 * exception.cc (std::abort): Mark as noreturn.
11524
11525 2002-02-12 Adam Megacz <adam@xwt.org>
11526
11527 * java/lang/Win32Process.java: Filled in a placeholder
11528 implementation so Win32 will build.
11529
11530 2002-02-12 Adam Megacz <adam@xwt.org>
11531
11532 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11533 * java/io/natFile.cc: Removed from repository.
11534 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11535
11536 2002-02-12 Adam Megacz <adam@xwt.org>
11537
11538 * win32.cc: Added two #includes to make win32.cc compile.
11539
11540 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11541
11542 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11543 declarations.
11544 (_Jv_InitGC): Don't bother locking, as this is always called from a
11545 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11546
11547 2002-02-11 Adam Megacz <adam@xwt.org>
11548
11549 * include/win32.h: Added _Jv_platform_gettimeofday.
11550 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11551
11552 2002-02-11 Adam Megacz <adam@xwt.org>
11553
11554 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11555 Added #undef STRICT to make windows.h and
11556 java/lang/reflect/Modifier.h cooperate.
11557
11558 2002-02-11 Adam Megacz <adam@xwt.org>
11559
11560 * java/io/natFileWin32.cc: Created a placeholder class with lots
11561 of FIXMEs.
11562
11563 2002-02-11 Adam Megacz <adam@xwt.org>
11564
11565 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11566 std::abort() to simply abort(). Also added "fake" std::abort() so
11567 we can #include unwind-pe.h without having to link against
11568 libstdc++-v3.
11569
11570 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11571
11572 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11573
11574 2002-02-08 Tom Tromey <tromey@redhat.com>
11575
11576 * interpret.cc (convert): New function.
11577 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11578 convert.
11579 Include Long.h.
11580
11581 2002-02-08 Anthony Green <green@redhat.com>
11582
11583 * configure.host: Add support for xscale-elf embedded target.
11584
11585 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11586
11587 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11588 dereferenced.
11589 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11590 frame.
11591
11592 2002-02-07 Tom Tromey <tromey@redhat.com>
11593
11594 * java/io/natFile.cc (_access): Use __builtin_alloca.
11595 (_stat): Likewise.
11596 (attr): Likewise.
11597 (getCanonicalPath): Likewise.
11598 (performList): Likewise.
11599 (performMkdir): Likewise.
11600 (performSetReadOnly): Likewise.
11601 (performRenameTo): Likewise.
11602 (performSetLastModified): Likewise.
11603 (performCreate): Likewise.
11604 (performDelete): Likewise.
11605
11606 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11607
11608 * HACKING: Fix URL for the automake-gcj.
11609
11610 2002-02-07 Tom Tromey <tromey@redhat.com>
11611
11612 * java/lang/natThrowable.cc: Updated copyright.
11613 * java/io/natFileWin32.cc: Updated copyright.
11614 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11615 * win32-threads.cc: Updated copyright.
11616 * name-finder.cc: Updated copyright.
11617 * include/name-finder.h: Updated copyright.
11618
11619 * include/name-finder.h: Conditionally include sys/wait.h.
11620 * include/config.h.in: Rebuilt.
11621
11622 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11623 Size buffer based on real size of string.
11624 (_stat): Likewise.
11625 (attr): Likewise.
11626 (getCanonicalPath): Likewise.
11627 (performList): Likewise.
11628 (performMkdir): Likewise.
11629 (performSetReadOnly): Likewise.
11630 (unixroot): Removed.
11631 (performRenameTo): Likewise.
11632 (performSetLastModified): Likewise.
11633 (performCreate): Likewise.
11634 (performDelete): Likewise.
11635 (performListRoots): Always return new array.
11636
11637 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11638 * win32.cc (win32_exception_handler): Now static.
11639 * include/win32.h (_Jv_platform_initialize): Declare.
11640 (win32_exception_handler): Don't declare.
11641 * java/lang/natSystem.cc (currentTimeMillis): Use
11642 _Jv_platform_gettimeofday.
11643 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11644 (_Jv_select): Use new name.
11645 (_Jv_platform_initialize): New function.
11646 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11647 _Jv_gettimeofday.
11648 (_Jv_platform_initialize): Declare.
11649
11650 * configure: Rebuilt.
11651 * configure.in: Removed unnecessary parens.
11652
11653 2002-02-06 Adam Megacz <adam@xwt.org>
11654
11655 * configure.in: Changed mingw) to *mingw*).
11656 * win32.cc: Created this file.
11657 * win32.h: Created this file.
11658 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11659 win32_exception_handler from prims.cc to win32.cc, added
11660 header in win32.h.
11661 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11662 longer needed now that we have platform.h
11663
11664 2002-02-06 Adam Megacz <adam@xwt.org>
11665
11666 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11667 use uint<n>_t instead of LONG and BYTE
11668
11669 2002-02-06 Adam Megacz <adam@xwt.org>
11670
11671 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11672
11673 2002-02-06 Anthony Green <green@redhat.com>
11674
11675 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11676 Implement missing method stubs.
11677 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11678 targets.
11679 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11680 concept of timezones.
11681 (init_properties): Don't refer to _Jv_Environment_Properties
11682 when this feature is not available.
11683 * include/config.h.in: Rebuilt.
11684 * acconfig.h: Add DISABLE_MAIN_ARGS.
11685 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11686 * configure: Rebuilt.
11687 * configure.in: Add --disable-main-args option. Test for
11688 opendir function. Replace AC_CHECK_SIZEOF with
11689 AC_COMPILE_CHECK_SIZEOF.
11690 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11691 * aclocal.m4: Rebuilt.
11692 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11693
11694 2002-02-06 Tom Tromey <tromey@redhat.com>
11695
11696 * verify.cc (require_array_type): If argument is a null array of
11697 references, return null as the element type.
11698
11699 2002-02-06 Mark Wielaard <mark@klomp.org>
11700
11701 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11702 duplicate of a wide type.
11703
11704 2002-02-06 Tom Tromey <tromey@redhat.com>
11705
11706 * verify.cc (type::isnull): New method.
11707 (require_array_type): Handle case where array is null.
11708 (verify_instructions_0) [op_arraylength]: Likewise.
11709
11710 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11711
11712 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11713 Symlink PLATFORMH to platform.h.
11714 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11715 PLATFORMOBJS.
11716 * java/lang/natSystem.cc: #include platform.h not posix.h.
11717 * Makefile.in: Rebuilt with libgcj automake.
11718 * configure: Rebuilt.
11719
11720 2002-02-05 Richard Henderson <rth@redhat.com>
11721
11722 * Makefile.in: Undo munging last change.
11723
11724 2002-02-04 Adam Megacz <adam@xwt.org>
11725
11726 * win32.cc: Created it.
11727 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11728 which is set to posix.cc or win32.cc.
11729 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11730
11731 2002-02-04 Adam Megacz <adam@xwt.org>
11732
11733 * configure.in: Corrected mingw case branches; added * before
11734 and after.
11735
11736 2002-02-04 Adam Megacz <adam@xwt.org>
11737
11738 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11739 if compiling for win32
11740
11741 2002-02-04 Adam Megacz <adam@xwt.org>
11742
11743 * win32-threads.cc: #undef STRICT after gc.h inclusion
11744
11745 2002-02-02 Tom Tromey <tromey@redhat.com>
11746
11747 * Makefile.in: Rebuilt.
11748
11749 2002-02-02 Jason Merrill <jason@redhat.com>
11750
11751 * Makefile.am (clean-nat): New target.
11752
11753 2002-02-02 Tom Tromey <tromey@redhat.com>
11754
11755 * java/io/natFile.cc: Removed old "FIXME" comments.
11756
11757 2002-02-01 Tom Tromey <tromey@redhat.com>
11758
11759 * java/lang/natPosixProcess.cc (myclose): New function.
11760 (fail): Use it.
11761 (startProcess): Likewise.
11762
11763 2002-02-01 Adam Megacz <adam@xwt.org>
11764
11765 * prims.cc: Added #undef STRICT after #include<windows.h>.
11766
11767 2002-02-01 Adam Megacz <adam@xwt.org>
11768
11769 * prims.cc
11770 (_Jv_CreateJavaVM): We now use WIN32 instead of
11771 USE_WIN32_SIGNALLING and USE_WINSOCK.
11772 (win32_exception_handler): Now throws an exception out of
11773 the signal handler; assumes SJLJ.
11774
11775 2002-02-01 Adam Megacz <adam@xwt.org>
11776
11777 * win32-threads.cc:
11778 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11779 wait() algorithm to make it safe.
11780 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11781 Added lazy creation of Win32 Events for better performance
11782 (really_start): This now uses GC_CreateThread so boehm-gc
11783 knows about new threads even when statically linked.
11784
11785 2002-02-01 Adam Megacz <adam@xwt.org>
11786
11787 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11788 enable safer wait() algorithm.
11789 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11790 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11791 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11792 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11793 instead of mutex.
11794 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11795
11796 2002-02-01 Adam Megacz <adam@xwt.org>
11797
11798 * configure.in: Added support for mingw.
11799 * java/lang/Win32Process.java: Created as empty file.
11800 * java/lang/natWin32Process.cc: Created as empty file.
11801
11802 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11803
11804 PR java/4972
11805 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11806 for libiconv in LIBICONV variable.
11807 * configure: Regenerated.
11808
11809 2002-01-31 Tom Tromey <tromey@redhat.com>
11810
11811 * verify.cc (state::enter_subroutine): New method.
11812 (handle_jsr_insn): Use it.
11813 (state::merge): When processing a `ret', correctly use
11814 subroutine's state to determine which local variables have
11815 changed.
11816 (push_exception_jump): Don't let stack overflow.
11817
11818 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11819
11820 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11821 --version output.
11822
11823 2002-01-30 Tom Tromey <tromey@redhat.com>
11824
11825 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11826 parameter for `recv' return type.
11827
11828 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11829 (state::merge): ... not here.
11830 (subr_entry_info): New structure.
11831 (entry_points): New field.
11832 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11833 entry_points.
11834
11835 2002-01-29 Tom Tromey <tromey@redhat.com>
11836
11837 * java/awt/List.java (addNotify): Correctly check to see if peer
11838 does not exist.
11839
11840 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11841 to compute height of each cell, and number of columns to compute
11842 width of each cell.
11843 * java/awt/Window.java (getOwnedWindows): Don't return null.
11844 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11845 of component. Increment x using horizontal gap, not vertical
11846 gap.
11847
11848 2002-01-28 Tom Tromey <tromey@redhat.com>
11849
11850 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11851 `nargs' byte is number of words, not number of arguments.
11852
11853 2002-01-27 Tom Tromey <tromey@redhat.com>
11854
11855 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11856 (when): Likewise.
11857 * java/awt/event/InputEvent.java (modifiers, when): Now
11858 package-private.
11859
11860 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11861 and to-do list.
11862 (state::merge): Use current class' class loader.
11863 (state::print): Print subroutine.
11864 (state::merge): Don't look at subroutine of unmerged `ret'.
11865
11866 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11867
11868 * nogc.cc: Remove warnings.
11869 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11870 New functions.
11871
11872 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11873
11874 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11875 int, int): Remove empty "if" statement to work around compiler bug.
11876 (newPixels(int[], ColorModel, int, int): Likewise.
11877
11878 2002-01-25 Per Bothner <per@bothner.com>
11879
11880 * verify.cc (verify_fail): Change from being a top-level function
11881 to e method of _Jv_BytecodeVerifier. Emit current method name.
11882 Pass the current verifier to type: and state: methods as needed,
11883 for better error messages, and for resolve.
11884 (resolve): Pass current class's loader for Class.forName and
11885 _Jv_FindClassFromSignature, rather than using the default loader.
11886 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11887 (get_type_val_for_signature): Make non-static.
11888 (various methods): Pass start_PC implicitly, not explicitly.
11889
11890 2002-01-25 Tom Tromey <tromey@redhat.com>
11891
11892 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11893 loop termination condition.
11894 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11895 width.
11896
11897 2002-01-24 Tom Tromey <tromey@redhat.com>
11898
11899 * java/awt/Shape.java: Merged with Classpath.
11900 * java/awt/Scrollbar.java: Merged with Classpath.
11901
11902 * java/awt/Container.java (addNotify): Unconditionally call
11903 addNotifyContainerChildren and superclass addNotify.
11904
11905 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11906 getAlpha, not getBlue.
11907
11908 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11909
11910 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11911
11912 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11913 (grabPixels(long)): Wait to be notified that the ImageProducer has
11914 completed.
11915
11916 2002-01-24 Per Bothner <per@bothner.com>
11917
11918 * verify.cc (is_assignable_from_slow): If target is an interface,
11919 we must still check the source's superclass before giving up.
11920
11921 2002-01-24 Tom Tromey <tromey@redhat.com>
11922
11923 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11924
11925 2002-01-23 Tom Tromey <tromey@redhat.com>
11926
11927 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11928 `else'.
11929
11930 * Makefile.in: Rebuilt.
11931 * Makefile.am (awt_java_source_files): Added new files.
11932 * java/awt/Toolkit.java: Merged with Classpath.
11933 * java/awt/PrintGraphics.java: New file from Classpath.
11934 * java/awt/PrintJob.java: New file from Classpath.
11935 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11936 * java/awt/datatransfer/ClipboardOwner.java: New file from
11937 Classpath.
11938 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11939 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11940 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11941 Classpath.
11942 * java/awt/datatransfer/StringSelection.java: New file from
11943 Classpath.
11944 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11945 Classpath.
11946 * java/awt/datatransfer/Transferable.java: New file from
11947 Classpath.
11948 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11949 from Classpath.
11950
11951 * Makefile.in: Rebuilt.
11952 * Makefile.am (awt_java_source_files): Added new files.
11953 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11954 Classpath.
11955 * java/awt/image/CropImageFilter.java: New file from Classpath.
11956 * java/awt/image/FilteredImageSource.java: New file from
11957 Classpath.
11958 * java/awt/image/ImageFilter.java: New file from Classpath.
11959 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11960 * java/awt/image/PixelGrabber.java: New file from Classpath.
11961 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11962 * java/awt/image/ReplicateScaleFilter.java: New file from
11963 Classpath.
11964 * java/awt/image/ImageProducer.java: Replaced with Classpath
11965 version.
11966 * java/awt/image/ImageObserver.java: Replaced with Classpath
11967 version.
11968 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11969 version.
11970 * java/awt/GridBagConstraints.java (clone): Catch
11971 CloneNotSupportedException.
11972
11973 2002-01-23 Per Bothner <per@bothner.com>
11974
11975 * java/lang/reflect/natField.cc (setAddr): New function.
11976 Calls getAddr and then checks that the field isn't final.
11977 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11978 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11979 (set): Call setAddr before check that new value has right type,
11980 to better match specified semantics.
11981
11982 2002-01-22 Tom Tromey <tromey@redhat.com>
11983
11984 * java/awt/TextField.java: Replaced with Classpath version.
11985 * java/awt/TextArea.java: Replaced with Classpath version.
11986 * java/awt/TextComponent.java: Replaced with Classpath version.
11987
11988 * java/awt/GridBagConstraints.java: Updated copyright.
11989
11990 2002-01-22 Mark Wielaard <mark@klomp.org>
11991
11992 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11993 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11994 java/awt/Dialog.java java/awt/FileDialog.java
11995 java/awt/Font.java java/awt/FontMetrics.java
11996 java/awt/Image.java java/awt/ImageMediaEntry.java
11997 java/awt/Insets.java java/awt/List.java
11998 java/awt/MediaEntry.java java/awt/MediaTracker.java
11999 java/awt/Menu.java java/awt/MenuBar.java
12000 java/awt/MenuContainer.java java/awt/MenuShortcut.java
12001 java/awt/PaintContext.java java/awt/Panel.java
12002 java/awt/PopupMenu.java java/awt/SystemColor.java
12003 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12004 java/awt/peer/CheckboxMenuItemPeer.java
12005 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12006 java/awt/peer/ComponentPeer.java
12007 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12008 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12009 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12010 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12011 java/awt/peer/MenuBarPeer.java
12012 java/awt/peer/MenuComponentPeer.java
12013 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12014 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12015 java/awt/peer/ScrollPanePeer.java
12016 java/awt/peer/ScrollbarPeer.java
12017 java/awt/peer/TextAreaPeer.java
12018 java/awt/peer/TextComponentPeer.java
12019 java/awt/peer/TextFieldPeer.java
12020 java/awt/peer/WindowPeer.java: Add license clarification.
12021
12022 2002-01-22 Mark Wielaard <mark@klomp.org>
12023
12024 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12025 gnu/gcj/runtime/StringBuffer.java
12026 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12027 gnu/java/awt/ComponentDataBlitOp.java
12028 gnu/java/awt/GLightweightPeer.java
12029 gnu/java/beans/BeanInfoEmbryo.java
12030 gnu/java/beans/EmptyBeanInfo.java
12031 gnu/java/beans/ExplicitBeanInfo.java
12032 gnu/java/beans/IntrospectionIncubator.java
12033 gnu/java/beans/editors/ColorEditor.java
12034 gnu/java/beans/editors/FontEditor.java
12035 gnu/java/beans/editors/NativeBooleanEditor.java
12036 gnu/java/beans/editors/NativeByteEditor.java
12037 gnu/java/beans/editors/NativeDoubleEditor.java
12038 gnu/java/beans/editors/NativeFloatEditor.java
12039 gnu/java/beans/editors/NativeIntEditor.java
12040 gnu/java/beans/editors/NativeLongEditor.java
12041 gnu/java/beans/editors/NativeShortEditor.java
12042 gnu/java/beans/editors/StringEditor.java
12043 gnu/java/beans/info/ComponentBeanInfo.java
12044 gnu/java/io/ClassLoaderObjectInputStream.java
12045 gnu/java/io/NullOutputStream.java
12046 gnu/java/io/ObjectIdentityWrapper.java
12047 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12048 gnu/java/lang/reflect/TypeSignature.java
12049 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12050 gnu/java/locale/Calendar_en.java
12051 gnu/java/locale/Calendar_nl.java
12052 gnu/java/locale/LocaleInformation.java
12053 gnu/java/locale/LocaleInformation_de.java
12054 gnu/java/locale/LocaleInformation_en.java
12055 gnu/java/locale/LocaleInformation_nl.java
12056 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12057 gnu/java/rmi/registry/RegistryImpl.java
12058 gnu/java/rmi/rmic/Compile_gcj.java
12059 gnu/java/rmi/rmic/Compiler.java
12060 gnu/java/rmi/rmic/CompilerProcess.java
12061 gnu/java/rmi/rmic/RMIC.java
12062 gnu/java/rmi/rmic/TabbedWriter.java
12063 gnu/java/rmi/server/ProtocolConstants.java
12064 gnu/java/rmi/server/RMIDefaultSocketFactory.java
12065 gnu/java/rmi/server/RMIHashes.java
12066 gnu/java/rmi/server/RMIObjectInputStream.java
12067 gnu/java/rmi/server/RMIObjectOutputStream.java
12068 gnu/java/rmi/server/UnicastConnection.java
12069 gnu/java/rmi/server/UnicastConnectionManager.java
12070 gnu/java/rmi/server/UnicastRef.java
12071 gnu/java/rmi/server/UnicastRemoteCall.java
12072 gnu/java/rmi/server/UnicastRemoteStub.java
12073 gnu/java/rmi/server/UnicastServer.java
12074 gnu/java/rmi/server/UnicastServerRef.java
12075 gnu/java/security/provider/DefaultPolicy.java
12076 gnu/java/security/provider/Gnu.java
12077 gnu/java/security/provider/SHA.java
12078 gnu/java/security/provider/SHA1PRNG.java
12079 gnu/java/text/BaseBreakIterator.java
12080 gnu/java/text/CharacterBreakIterator.java
12081 gnu/java/text/LineBreakIterator.java
12082 gnu/java/text/SentenceBreakIterator.java
12083 gnu/java/text/WordBreakIterator.java
12084 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12085 java/applet/AppletContext.java java/applet/AppletStub.java
12086 java/applet/AudioClip.java java/awt/AWTError.java
12087 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12088 java/awt/AWTException.java java/awt/AWTPermission.java
12089 java/awt/ActiveEvent.java java/awt/BorderLayout.java
12090 java/awt/Button.java java/awt/Canvas.java
12091 java/awt/CardLayout.java java/awt/Checkbox.java
12092 java/awt/CheckboxGroup.java java/awt/Component.java
12093 java/awt/ComponentOrientation.java java/awt/Container.java
12094 java/awt/Dimension.java java/awt/Event.java
12095 java/awt/EventDispatchThread.java java/awt/EventQueue.java
12096 java/awt/FlowLayout.java java/awt/Frame.java
12097 java/awt/Graphics.java java/awt/Graphics2D.java
12098 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12099 java/awt/IllegalComponentStateException.java
12100 java/awt/ItemSelectable.java java/awt/Label.java
12101 java/awt/LayoutManager.java java/awt/LayoutManager2.java
12102 java/awt/MenuComponent.java java/awt/MenuItem.java
12103 java/awt/Paint.java java/awt/Point.java
12104 java/awt/Rectangle.java java/awt/RenderingHints.java
12105 java/awt/Transparency.java java/awt/Window.java
12106 java/awt/color/ColorSpace.java
12107 java/awt/color/ICC_ColorSpace.java
12108 java/awt/color/ICC_Profile.java
12109 java/awt/event/HierarchyBoundsAdapter.java
12110 java/awt/event/HierarchyBoundsListener.java
12111 java/awt/event/HierarchyEvent.java
12112 java/awt/event/HierarchyListener.java
12113 java/awt/geom/AffineTransform.java
12114 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12115 java/awt/geom/IllegalPathStateException.java
12116 java/awt/geom/Line2D.java
12117 java/awt/geom/NoninvertibleTransformException.java
12118 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12119 java/awt/geom/Rectangle2D.java
12120 java/awt/geom/RectangularShape.java
12121 java/awt/geom/RoundRectangle2D.java
12122 java/awt/image/BufferedImage.java
12123 java/awt/image/ColorModel.java
12124 java/awt/image/ComponentColorModel.java
12125 java/awt/image/ComponentSampleModel.java
12126 java/awt/image/DataBuffer.java
12127 java/awt/image/DataBufferByte.java
12128 java/awt/image/DataBufferInt.java
12129 java/awt/image/DataBufferUShort.java
12130 java/awt/image/DirectColorModel.java
12131 java/awt/image/PackedColorModel.java
12132 java/awt/image/Raster.java java/awt/image/RasterOp.java
12133 java/awt/image/SampleModel.java
12134 java/awt/image/SinglePixelPackedSampleModel.java
12135 java/awt/image/WritableRaster.java
12136 java/beans/AppletInitializer.java
12137 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12138 java/beans/Beans.java java/beans/Customizer.java
12139 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12140 java/beans/FeatureDescriptor.java
12141 java/beans/IndexedPropertyDescriptor.java
12142 java/beans/IntrospectionException.java
12143 java/beans/Introspector.java java/beans/MethodDescriptor.java
12144 java/beans/ParameterDescriptor.java
12145 java/beans/PropertyChangeEvent.java
12146 java/beans/PropertyChangeListener.java
12147 java/beans/PropertyChangeSupport.java
12148 java/beans/PropertyDescriptor.java
12149 java/beans/PropertyEditor.java
12150 java/beans/PropertyEditorManager.java
12151 java/beans/PropertyEditorSupport.java
12152 java/beans/PropertyVetoException.java
12153 java/beans/SimpleBeanInfo.java
12154 java/beans/VetoableChangeListener.java
12155 java/beans/VetoableChangeSupport.java
12156 java/beans/Visibility.java
12157 java/beans/beancontext/BeanContext.java
12158 java/beans/beancontext/BeanContextChild.java
12159 java/beans/beancontext/BeanContextChildComponentProxy.java
12160 java/beans/beancontext/BeanContextChildSupport.java
12161 java/beans/beancontext/BeanContextContainerProxy.java
12162 java/beans/beancontext/BeanContextEvent.java
12163 java/beans/beancontext/BeanContextMembershipEvent.java
12164 java/beans/beancontext/BeanContextMembershipListener.java
12165 java/beans/beancontext/BeanContextProxy.java
12166 java/beans/beancontext/BeanContextServiceAvailableEvent.java
12167 java/beans/beancontext/BeanContextServiceProvider.java
12168 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12169 java/beans/beancontext/BeanContextServiceRevokedEvent.java
12170 java/beans/beancontext/BeanContextServiceRevokedListener.java
12171 java/beans/beancontext/BeanContextServices.java
12172 java/beans/beancontext/BeanContextServicesListener.java
12173 java/io/BufferedInputStream.java
12174 java/io/BufferedOutputStream.java java/io/BufferedReader.java
12175 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12176 java/io/ByteArrayOutputStream.java
12177 java/io/CharArrayReader.java java/io/CharArrayWriter.java
12178 java/io/CharConversionException.java java/io/DataInput.java
12179 java/io/DataInputStream.java java/io/DataOutput.java
12180 java/io/EOFException.java java/io/Externalizable.java
12181 java/io/FileFilter.java java/io/FileNotFoundException.java
12182 java/io/FilePermission.java java/io/FileReader.java
12183 java/io/FileWriter.java java/io/FilenameFilter.java
12184 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12185 java/io/FilterReader.java java/io/FilterWriter.java
12186 java/io/IOException.java java/io/InputStream.java
12187 java/io/InterruptedIOException.java
12188 java/io/InvalidClassException.java
12189 java/io/InvalidObjectException.java
12190 java/io/NotActiveException.java
12191 java/io/NotSerializableException.java java/io/ObjectInput.java
12192 java/io/ObjectInputStream.java
12193 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12194 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12195 java/io/ObjectStreamConstants.java
12196 java/io/ObjectStreamException.java
12197 java/io/ObjectStreamField.java
12198 java/io/OptionalDataException.java java/io/OutputStream.java
12199 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12200 java/io/PipedReader.java java/io/PipedWriter.java
12201 java/io/PrintWriter.java java/io/PushbackInputStream.java
12202 java/io/PushbackReader.java java/io/Reader.java
12203 java/io/SequenceInputStream.java java/io/Serializable.java
12204 java/io/SerializablePermission.java
12205 java/io/StreamCorruptedException.java
12206 java/io/StreamTokenizer.java
12207 java/io/StringBufferInputStream.java java/io/StringReader.java
12208 java/io/StringWriter.java java/io/SyncFailedException.java
12209 java/io/UTFDataFormatException.java
12210 java/io/UnsupportedEncodingException.java
12211 java/io/WriteAbortedException.java java/io/Writer.java
12212 java/lang/AbstractMethodError.java
12213 java/lang/ArithmeticException.java
12214 java/lang/ArrayIndexOutOfBoundsException.java
12215 java/lang/ArrayStoreException.java java/lang/Boolean.java
12216 java/lang/Byte.java java/lang/CharSequence.java
12217 java/lang/ClassCastException.java
12218 java/lang/ClassCircularityError.java
12219 java/lang/ClassFormatError.java
12220 java/lang/ClassNotFoundException.java
12221 java/lang/CloneNotSupportedException.java
12222 java/lang/Cloneable.java java/lang/Comparable.java
12223 java/lang/Compiler.java java/lang/Double.java
12224 java/lang/Error.java java/lang/Exception.java
12225 java/lang/ExceptionInInitializerError.java
12226 java/lang/Float.java java/lang/IllegalAccessError.java
12227 java/lang/IllegalAccessException.java
12228 java/lang/IllegalArgumentException.java
12229 java/lang/IllegalMonitorStateException.java
12230 java/lang/IllegalStateException.java
12231 java/lang/IllegalThreadStateException.java
12232 java/lang/IncompatibleClassChangeError.java
12233 java/lang/IndexOutOfBoundsException.java
12234 java/lang/InheritableThreadLocal.java
12235 java/lang/InstantiationError.java
12236 java/lang/InstantiationException.java java/lang/Integer.java
12237 java/lang/InternalError.java
12238 java/lang/InterruptedException.java
12239 java/lang/LinkageError.java java/lang/Long.java
12240 java/lang/NegativeArraySizeException.java
12241 java/lang/NoClassDefFoundError.java
12242 java/lang/NoSuchFieldError.java
12243 java/lang/NoSuchFieldException.java
12244 java/lang/NoSuchMethodError.java
12245 java/lang/NoSuchMethodException.java
12246 java/lang/NullPointerException.java java/lang/Number.java
12247 java/lang/NumberFormatException.java
12248 java/lang/OutOfMemoryError.java java/lang/Package.java
12249 java/lang/Process.java java/lang/Runnable.java
12250 java/lang/RuntimeException.java
12251 java/lang/RuntimePermission.java
12252 java/lang/SecurityException.java
12253 java/lang/SecurityManager.java java/lang/Short.java
12254 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12255 java/lang/StringIndexOutOfBoundsException.java
12256 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12257 java/lang/ThreadLocal.java java/lang/UnknownError.java
12258 java/lang/UnsatisfiedLinkError.java
12259 java/lang/UnsupportedClassVersionError.java
12260 java/lang/UnsupportedOperationException.java
12261 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12262 java/lang/Void.java java/lang/ref/PhantomReference.java
12263 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12264 java/lang/ref/SoftReference.java
12265 java/lang/ref/WeakReference.java
12266 java/lang/reflect/AccessibleObject.java
12267 java/lang/reflect/InvocationTargetException.java
12268 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12269 java/lang/reflect/ReflectPermission.java
12270 java/math/BigDecimal.java java/math/BigInteger.java
12271 java/net/Authenticator.java java/net/BindException.java
12272 java/net/ConnectException.java java/net/ContentHandler.java
12273 java/net/ContentHandlerFactory.java
12274 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12275 java/net/FileNameMap.java java/net/MalformedURLException.java
12276 java/net/MulticastSocket.java java/net/NetPermission.java
12277 java/net/NoRouteToHostException.java
12278 java/net/PasswordAuthentication.java
12279 java/net/ProtocolException.java java/net/ServerSocket.java
12280 java/net/Socket.java java/net/SocketException.java
12281 java/net/SocketImpl.java java/net/SocketImplFactory.java
12282 java/net/SocketOptions.java java/net/SocketPermission.java
12283 java/net/URLDecoder.java java/net/URLEncoder.java
12284 java/net/URLStreamHandlerFactory.java
12285 java/net/UnknownHostException.java
12286 java/net/UnknownServiceException.java
12287 java/rmi/AccessException.java
12288 java/rmi/AlreadyBoundException.java
12289 java/rmi/ConnectException.java
12290 java/rmi/ConnectIOException.java
12291 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12292 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12293 java/rmi/NotBoundException.java
12294 java/rmi/RMISecurityException.java
12295 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12296 java/rmi/RemoteException.java java/rmi/ServerError.java
12297 java/rmi/ServerException.java
12298 java/rmi/ServerRuntimeException.java
12299 java/rmi/StubNotFoundException.java
12300 java/rmi/UnexpectedException.java
12301 java/rmi/UnknownHostException.java
12302 java/rmi/UnmarshalException.java
12303 java/rmi/activation/Activatable.java
12304 java/rmi/activation/ActivateFailedException.java
12305 java/rmi/activation/ActivationDesc.java
12306 java/rmi/activation/ActivationException.java
12307 java/rmi/activation/ActivationGroup.java
12308 java/rmi/activation/ActivationGroupDesc.java
12309 java/rmi/activation/ActivationGroupID.java
12310 java/rmi/activation/ActivationID.java
12311 java/rmi/activation/ActivationInstantiator.java
12312 java/rmi/activation/ActivationMonitor.java
12313 java/rmi/activation/ActivationSystem.java
12314 java/rmi/activation/Activator.java
12315 java/rmi/activation/UnknownGroupException.java
12316 java/rmi/activation/UnknownObjectException.java
12317 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12318 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12319 java/rmi/registry/Registry.java
12320 java/rmi/registry/RegistryHandler.java
12321 java/rmi/server/ExportException.java
12322 java/rmi/server/LoaderHandler.java
12323 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12324 java/rmi/server/Operation.java
12325 java/rmi/server/RMIClassLoader.java
12326 java/rmi/server/RMIClientSocketFactory.java
12327 java/rmi/server/RMIFailureHandler.java
12328 java/rmi/server/RMIServerSocketFactory.java
12329 java/rmi/server/RMISocketFactory.java
12330 java/rmi/server/RemoteCall.java
12331 java/rmi/server/RemoteObject.java
12332 java/rmi/server/RemoteRef.java
12333 java/rmi/server/RemoteServer.java
12334 java/rmi/server/RemoteStub.java
12335 java/rmi/server/ServerCloneException.java
12336 java/rmi/server/ServerNotActiveException.java
12337 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12338 java/rmi/server/SkeletonMismatchException.java
12339 java/rmi/server/SkeletonNotFoundException.java
12340 java/rmi/server/SocketSecurityException.java
12341 java/rmi/server/UID.java
12342 java/rmi/server/UnicastRemoteObject.java
12343 java/rmi/server/Unreferenced.java
12344 java/security/AccessControlContext.java
12345 java/security/AccessControlException.java
12346 java/security/AccessController.java
12347 java/security/AlgorithmParameterGenerator.java
12348 java/security/AlgorithmParameterGeneratorSpi.java
12349 java/security/AlgorithmParameters.java
12350 java/security/AlgorithmParametersSpi.java
12351 java/security/AllPermission.java
12352 java/security/BasicPermission.java
12353 java/security/Certificate.java java/security/CodeSource.java
12354 java/security/DigestException.java
12355 java/security/DigestInputStream.java
12356 java/security/DigestOutputStream.java
12357 java/security/DomainCombiner.java
12358 java/security/DummyKeyPairGenerator.java
12359 java/security/DummyMessageDigest.java
12360 java/security/DummySignature.java
12361 java/security/GeneralSecurityException.java
12362 java/security/Guard.java java/security/GuardedObject.java
12363 java/security/Identity.java java/security/IdentityScope.java
12364 java/security/InvalidAlgorithmParameterException.java
12365 java/security/InvalidKeyException.java
12366 java/security/InvalidParameterException.java
12367 java/security/Key.java java/security/KeyException.java
12368 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12369 java/security/KeyManagementException.java
12370 java/security/KeyPair.java java/security/KeyPairGenerator.java
12371 java/security/KeyPairGeneratorSpi.java
12372 java/security/KeyStore.java
12373 java/security/KeyStoreException.java
12374 java/security/KeyStoreSpi.java
12375 java/security/MessageDigest.java
12376 java/security/MessageDigestSpi.java
12377 java/security/NoSuchAlgorithmException.java
12378 java/security/NoSuchProviderException.java
12379 java/security/Permission.java
12380 java/security/PermissionCollection.java
12381 java/security/Permissions.java java/security/Policy.java
12382 java/security/Principal.java java/security/PrivateKey.java
12383 java/security/PrivilegedAction.java
12384 java/security/PrivilegedActionException.java
12385 java/security/PrivilegedExceptionAction.java
12386 java/security/ProtectionDomain.java
12387 java/security/Provider.java
12388 java/security/ProviderException.java
12389 java/security/PublicKey.java
12390 java/security/SecureClassLoader.java
12391 java/security/SecureRandom.java
12392 java/security/SecureRandomSpi.java java/security/Security.java
12393 java/security/SecurityPermission.java
12394 java/security/Signature.java
12395 java/security/SignatureException.java
12396 java/security/SignatureSpi.java
12397 java/security/SignedObject.java java/security/Signer.java
12398 java/security/UnrecoverableKeyException.java
12399 java/security/UnresolvedPermission.java
12400 java/security/acl/Acl.java java/security/acl/AclEntry.java
12401 java/security/acl/AclNotFoundException.java
12402 java/security/acl/Group.java
12403 java/security/acl/LastOwnerException.java
12404 java/security/acl/NotOwnerException.java
12405 java/security/acl/Owner.java java/security/acl/Permission.java
12406 java/security/cert/CRL.java
12407 java/security/cert/CRLException.java
12408 java/security/cert/Certificate.java
12409 java/security/cert/CertificateEncodingException.java
12410 java/security/cert/CertificateException.java
12411 java/security/cert/CertificateExpiredException.java
12412 java/security/cert/CertificateFactory.java
12413 java/security/cert/CertificateFactorySpi.java
12414 java/security/cert/CertificateNotYetValidException.java
12415 java/security/cert/CertificateParsingException.java
12416 java/security/cert/X509CRL.java
12417 java/security/cert/X509CRLEntry.java
12418 java/security/cert/X509Certificate.java
12419 java/security/cert/X509Extension.java
12420 java/security/interfaces/DSAKey.java
12421 java/security/interfaces/DSAKeyPairGenerator.java
12422 java/security/interfaces/DSAParams.java
12423 java/security/interfaces/DSAPrivateKey.java
12424 java/security/interfaces/DSAPublicKey.java
12425 java/security/interfaces/RSAKey.java
12426 java/security/interfaces/RSAPrivateCrtKey.java
12427 java/security/interfaces/RSAPrivateKey.java
12428 java/security/interfaces/RSAPublicKey.java
12429 java/security/spec/AlgorithmParameterSpec.java
12430 java/security/spec/DSAParameterSpec.java
12431 java/security/spec/DSAPrivateKeySpec.java
12432 java/security/spec/DSAPublicKeySpec.java
12433 java/security/spec/EncodedKeySpec.java
12434 java/security/spec/InvalidKeySpecException.java
12435 java/security/spec/InvalidParameterSpecException.java
12436 java/security/spec/KeySpec.java
12437 java/security/spec/PKCS8EncodedKeySpec.java
12438 java/security/spec/RSAKeyGenParameterSpec.java
12439 java/security/spec/RSAPrivateCrtKeySpec.java
12440 java/security/spec/RSAPrivateKeySpec.java
12441 java/security/spec/RSAPublicKeySpec.java
12442 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12443 java/sql/BatchUpdateException.java java/sql/Blob.java
12444 java/sql/CallableStatement.java java/sql/Clob.java
12445 java/sql/Connection.java java/sql/DataTruncation.java
12446 java/sql/DatabaseMetaData.java java/sql/Date.java
12447 java/sql/Driver.java java/sql/DriverManager.java
12448 java/sql/DriverPropertyInfo.java
12449 java/sql/PreparedStatement.java java/sql/Ref.java
12450 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12451 java/sql/SQLData.java java/sql/SQLException.java
12452 java/sql/SQLInput.java java/sql/SQLOutput.java
12453 java/sql/SQLWarning.java java/sql/Statement.java
12454 java/sql/Struct.java java/sql/Time.java
12455 java/sql/Timestamp.java java/sql/Types.java
12456 java/text/Annotation.java
12457 java/text/AttributedCharacterIterator.java
12458 java/text/AttributedString.java
12459 java/text/AttributedStringIterator.java
12460 java/text/BreakIterator.java java/text/CharacterIterator.java
12461 java/text/ChoiceFormat.java java/text/Collator.java
12462 java/text/DateFormat.java java/text/DateFormatSymbols.java
12463 java/text/DecimalFormat.java
12464 java/text/DecimalFormatSymbols.java
12465 java/text/FieldPosition.java java/text/Format.java
12466 java/text/MessageFormat.java java/text/NumberFormat.java
12467 java/text/ParseException.java java/text/ParsePosition.java
12468 java/text/SimpleDateFormat.java
12469 java/text/StringCharacterIterator.java
12470 java/util/AbstractCollection.java java/util/AbstractList.java
12471 java/util/AbstractMap.java
12472 java/util/AbstractSequentialList.java
12473 java/util/AbstractSet.java java/util/ArrayList.java
12474 java/util/Arrays.java java/util/BasicMapEntry.java
12475 java/util/BitSet.java java/util/Calendar.java
12476 java/util/Collection.java java/util/Collections.java
12477 java/util/Comparator.java
12478 java/util/ConcurrentModificationException.java
12479 java/util/Date.java java/util/Dictionary.java
12480 java/util/EmptyStackException.java java/util/Enumeration.java
12481 java/util/EventListener.java java/util/EventObject.java
12482 java/util/GregorianCalendar.java java/util/HashMap.java
12483 java/util/HashSet.java java/util/Hashtable.java
12484 java/util/IdentityHashMap.java java/util/Iterator.java
12485 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12486 java/util/LinkedList.java java/util/List.java
12487 java/util/ListIterator.java java/util/ListResourceBundle.java
12488 java/util/Locale.java java/util/Map.java
12489 java/util/MissingResourceException.java
12490 java/util/NoSuchElementException.java
12491 java/util/Observable.java java/util/Observer.java
12492 java/util/Properties.java java/util/PropertyPermission.java
12493 java/util/PropertyResourceBundle.java java/util/Random.java
12494 java/util/RandomAccess.java java/util/ResourceBundle.java
12495 java/util/Set.java java/util/SimpleTimeZone.java
12496 java/util/SortedMap.java java/util/SortedSet.java
12497 java/util/Stack.java java/util/StringTokenizer.java
12498 java/util/TimeZone.java java/util/Timer.java
12499 java/util/TimerTask.java
12500 java/util/TooManyListenersException.java
12501 java/util/TreeMap.java java/util/TreeSet.java
12502 java/util/Vector.java java/util/WeakHashMap.java
12503 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12504 java/util/jar/JarException.java java/util/jar/JarFile.java
12505 java/util/jar/JarInputStream.java
12506 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12507 java/util/zip/Adler32.java java/util/zip/CRC32.java
12508 java/util/zip/CheckedInputStream.java
12509 java/util/zip/CheckedOutputStream.java
12510 java/util/zip/Checksum.java
12511 java/util/zip/DataFormatException.java
12512 java/util/zip/Deflater.java
12513 java/util/zip/DeflaterOutputStream.java
12514 java/util/zip/GZIPInputStream.java
12515 java/util/zip/GZIPOutputStream.java
12516 java/util/zip/Inflater.java
12517 java/util/zip/InflaterInputStream.java
12518 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12519 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12520 java/util/zip/ZipInputStream.java
12521 java/util/zip/ZipOutputStream.java
12522 javax/naming/BinaryRefAddr.java
12523 javax/naming/InvalidNameException.java javax/naming/Name.java
12524 javax/naming/NamingException.java javax/naming/RefAddr.java
12525 javax/naming/StringRefAddr.java: Add license clarification.
12526
12527 2002-01-22 Tom Tromey <tromey@redhat.com>
12528
12529 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12530 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12531 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12532 version.
12533 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12534 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12535 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12536 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12537 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12538 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12539 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12540 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12541 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12542 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12543 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12544 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12545 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12546 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12547 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12548 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12549 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12550 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12551 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12552 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12553 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12554 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12555 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12556 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12557 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12558 (minimumSize, preferredSize, reshape): Likewise.
12559 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12560 getColorModel): New methods.
12561 * java/awt/PopupMenu.java: Merged with Classpath.
12562 * java/awt/MenuBar.java: Merged with Classpath.
12563 * java/awt/SystemColor.java: Replace with Classpath version.
12564 * java/awt/Panel.java: Merged with Classpath.
12565 * java/awt/PaintContext.java: Updated copyright.
12566 * java/awt/MenuShortcut.java: Merged with Classpath.
12567 * java/awt/MenuContainer.java: Merged with Classpath.
12568 * java/awt/Menu.java: Merged with Classpath.
12569 * java/awt/MediaEntry.java: New file from Classpath.
12570 * java/awt/MediaTracker.java: New file from Classpath.
12571 * java/awt/List.java: Merged with Classpath version.
12572 * java/awt/Insets.java: Merged with Classpath version.
12573 * java/awt/ImageMediaEntry.java: New file from Classpath.
12574 * java/awt/Image.java: Replaced with Classpath version.
12575 * java/awt/FontMetrics.java: Merged with Classpath version.
12576 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12577 constant.
12578 * java/awt/Font.java: Merged with Classpath version.
12579 * java/awt/Dialog.java: Merged with Classpath version.
12580 * java/awt/Color.java: Merged with Classpath version.
12581 * java/awt/Choice.java: Merged with Classpath version.
12582 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12583 * java/awt/Adjustable.java: Replace with Classpath version.
12584 * java/awt/MenuItem.java (paramString): Don't include class name
12585 or brackets. Call superclass paramString.
12586 * java/awt/MenuComponent.java (toString): Call paramString.
12587 (paramString): Compute string; don't call toString.
12588 * java/awt/Label.java (paramString): Don't include class name
12589 or brackets. Call superclass paramString.
12590 * java/awt/Checkbox.java (paramString): Don't include class name
12591 or brackets. Call superclass paramString.
12592 * java/awt/Button.java (paramString): Don't include class name or
12593 brackets. Call superclass paramString.
12594 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12595
12596 2002-01-20 Andreas Schwab <schwab@suse.de>
12597
12598 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12599 function and of parameter recv_func to ssize_t, as specified by
12600 POSIX.
12601
12602 2002-01-19 Per Bothner <per@bothner.com>
12603
12604 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12605 uncompressed_size in readiness for next entry.
12606
12607 2002-01-18 Tom Tromey <tromey@redhat.com>
12608
12609 * java/net/natPlainSocketImpl.cc: Include
12610 IllegalArgumentException.h.
12611 (_Jv_recv): New template function.
12612 (BooleanClass): Removed.
12613 (read): Use _Jv_recv.
12614 (setOption): Use Boolean::class$. Throw exception if object is
12615 not Boolean or Integer.
12616
12617 2002-01-17 Tom Tromey <tromey@redhat.com>
12618
12619 * java/awt/MenuComponent.java: Merged with Classpath.
12620 * java/awt/MenuItem.java: Merged with Classpath.
12621 * java/awt/Button.java: Merged with Classpath.
12622
12623 * java/awt/ActiveEvent.java: Updated copyright.
12624
12625 * java/awt/AWTError.java: Replaced with Classpath version.
12626 * java/awt/AWTException.java: Replaced with Classpath version.
12627 * java/awt/IllegalComponentStateException.java: Replaced with
12628 Classpath version.
12629
12630 2002-01-16 Tom Tromey <tromey@redhat.com>
12631
12632 * java/awt/Canvas.java (serialVersionUID): New constant.
12633 Updated copyright. Added javadoc from Classpath.
12634 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12635
12636 * java/awt/CheckboxGroup.java: Merged with Classpath.
12637 * java/awt/Checkbox.java: Merged with Classpath.
12638
12639 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12640 Classpath.
12641 * java/awt/Point.java: Updated copyright.
12642
12643 * java/awt/Point.java (toString): Use getClass().getName().
12644 Added javadoc.
12645
12646 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12647 commented code.
12648 (hash): Correctly compute initial value for `h'.
12649
12650 * java/awt/Label.java: Merged with Classpath.
12651
12652 2002-01-15 Tom Tromey <tromey@redhat.com>
12653
12654 * java/awt/AWTPermission.java: Updated copyright.
12655
12656 * java/awt/LayoutManager2.java: Merged with Classpath.
12657 * java/awt/LayoutManager.java: Merged with Classpath.
12658 * java/awt/GridLayout.java: Updated copyright and javadoc.
12659 (getSize): Use `parent.ncomponents'. Handle insets.
12660 (layoutContainer): Use `parent.ncomponents'. Handle case where
12661 there are fewer children than columns. Correctly compute size of
12662 each cell in the grid. Handle case where there isn't enough
12663 space.
12664 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12665 all users.
12666 (gotoComponent): Use parent.ncomponents. Ensure child exists
12667 before calling setVisible() on it. Last item is `num - 1', not
12668 `num'.
12669 (layoutContainer): Hoist invariants out of loop.
12670
12671 Start of AWT merge with Classpath:
12672 * Makefile.in: Rebuilt.
12673 * Makefile.am (awt_java_source_files): Reference files in
12674 gnu/java/awt, not gnu/gcj/awt.
12675 * java/awt/image/BufferedImage.java: Updated copyright.
12676 * java/awt/image/ComponentColorModel.java: Updated copyright.
12677 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12678 * java/awt/image/DataBuffer.java: Updated copyright.
12679 * java/awt/image/DataBufferByte.java: Updated copyright.
12680 * java/awt/image/DataBufferInt.java: Updated copyright.
12681 * java/awt/image/DataBufferUShort.java: Updated copyright.
12682 * java/awt/image/IndexColorModel.java: Updated copyright.
12683 * java/awt/image/PackedColorModel.java: Updated copyright.
12684 * java/awt/image/Raster.java: Updated copyright.
12685 * java/awt/image/RasterOp.java: Updated copyright.
12686 * java/awt/image/SampleModel.java: Updated copyright.
12687 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12688 * java/awt/image/WritableRaster.java: Updated copyright.
12689 * java/awt/color/ColorSpace.java: Updated copyright.
12690 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12691 * java/awt/color/ICC_Profile.java: Updated copyright.
12692 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12693 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12694 * java/awt/event/HierarchyEvent.java: Updated copyright.
12695 * java/awt/event/HierarchyListener.java: Updated copyright.
12696 * java/awt/geom/AffineTransform.java: Updated copyright.
12697 * java/awt/geom/Dimension2D.java: Updated copyright.
12698 * java/awt/geom/Ellipse2D.java: Updated copyright.
12699 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12700 * java/awt/geom/Line2D.java: Updated copyright.
12701 * java/awt/geom/NoninvertibleTransformException.java: Updated
12702 copyright.
12703 * java/awt/geom/PathIterator.java: Updated copyright.
12704 * java/awt/geom/Point2D.java: Updated copyright.
12705 * java/awt/geom/Rectangle2D.java: Updated copyright.
12706 * java/awt/geom/RectangularShape.java: Updated copyright.
12707 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12708 * java/awt/Toolkit.java: Updated import for file moves.
12709 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12710 Classpath.
12711 (hashCode): New method from Classpath.
12712 * java/awt/Graphics2D.java: Updated copyright.
12713 * java/awt/Transparency.java: Updated copyright.
12714 * java/awt/Paint.java: Updated copyright.
12715 * java/awt/Graphics.java: New version from Classpath.
12716 * java/awt/EventDispatchThread.java: Updated copyright.
12717 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12718 children.
12719 (gotoComponent): Wrap around on next/previous.
12720 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12721 * gnu/gcj/awt/Buffers.java: Removed.
12722 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12723 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12724 * gnu/java/awt/BitMaskExtent.java: Added.
12725 * gnu/java/awt/Buffers.java: Added.
12726 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12727 * gnu/java/awt/GLightweightPeer.java: Added.
12728 * java/awt/geom/Line2D.java (clone): Ignore
12729 CloneNotSupportedException.
12730 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12731 * java/awt/Frame.java: Merged with Classpath.
12732 * java/awt/RenderingHints.java: Copyright update.
12733 * java/awt/Paint.java: Copyright update.
12734 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12735 * java/awt/image/ColorModel.java: Merged with Classpath.
12736 * java/awt/Window.java (show): New Implementation from Classpath.
12737 (isShowing): Use super.isShowing().
12738 * java/awt/EventQueue.java: Merged with Classpath.
12739 * java/awt/AWTEventMulticaster.java (save): Throw
12740 RuntimeException.
12741 (saveInternal): Likewise.
12742 * java/awt/AWTEvent.java: Now implements Serializable.
12743 * java/awt/Event.java: Copyright update.
12744 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12745 * java/awt/image/BufferedImage.java: Copyright update.
12746 * java/awt/GraphicsConfiguration.java: Copyright update.
12747 * java/awt/Component.java: (addNotify): Don't call
12748 addNotifyContainerChildren().
12749 (addNotifyContainerChildren): Removed.
12750 (setPeer): New method from Classpath.
12751 (setTreeLock): Likewise.
12752 (setVisible): Rewrote.
12753 (show): Use it.
12754 (hide): Likewise.
12755 (validate): Set `valid'.
12756 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12757 (createImage(ImageProducer)): Likewise.
12758 (prepareImage): Likewise.
12759 * java/awt/Container.java (addImpl): Handle case where constraint
12760 is not a String. Post event via system event queue.
12761 (remove): Post event via system event queue.
12762 (validateTree): Only validate child if it is invalid.
12763 (getAlignmentX): Call super method as default.
12764 (getAlignmentY): Likewise.
12765 (addContainerListener): Now synchronized.
12766 (removeContainerListener): Likewise.
12767 (addNotifyContainerChildren): Now private.
12768 * java/awt/ComponentOrientation.java: Updated copyright. Added
12769 @author.
12770 * java/awt/FlowLayout.java (serialVersionUID): New field.
12771 (setAlignment): Better exception message.
12772 (layoutContainer): Don't compute component's preferred size unless
12773 we're going to use it.
12774 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12775 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12776 (firstLine, lastLine, firstItem, lastItem): New fields.
12777 (addLayoutComponent): Handle case where constraints is null.
12778 Also, handle relative locations.
12779 (removeLayoutComponent): Handle relative locations.
12780 (MIN, MAX, PREF): New constants.
12781 (calcCompSize): New method.
12782 (calcSize): New method.
12783 (minimumLayoutSize): Use it.
12784 (preferredLayoutSize): Likewise.
12785 (maximumLayoutSize): Likewise.
12786 (toString): Include more information.
12787 (setBounds): New method.
12788 (layoutContainer): Use libgcj implementation; extended to handle
12789 relative locations.
12790
12791 2002-01-15 Tom Tromey <tromey@redhat.com>
12792
12793 * java/lang/Float.java (equals): Preserve old code.
12794 * java/lang/Double.java (equals): Preserve old code.
12795
12796 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12797
12798 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12799 * java/lang/Float.java (equals, compare): Ditto.
12800
12801 2002-01-13 Mark Wielaard <mark@klomp.org>
12802
12803 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12804 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12805 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12806 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12807
12808 2002-01-11 Mark Wielaard <mark@klomp.org>
12809
12810 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12811 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12812 InetAddress.
12813 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12814 * java/net/Socket.java: Merge with Classpath.
12815 * java/net/ServerSocket.java: Likewise.
12816
12817 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12818
12819 * interpret.cc (NULLARRAYCHECK): New macro.
12820 (SAVE_PC): Just store `pc'.
12821 (find_exception): Subtract one from `pc' here.
12822 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12823 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12824 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12825 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12826 don't call SAVE_PC.
12827 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12828 call SAVE_PC.
12829
12830 2002-01-11 Tom Tromey <tromey@redhat.com>
12831
12832 * java/lang/natSystem.cc (init_properties): Only look for default
12833 locale if LC_MESSAGES is defined.
12834 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12835 * configure.in: Call AM_LC_MESSAGES.
12836 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12837
12838 2002-01-10 Tom Tromey <tromey@redhat.com>
12839
12840 For PR libgcj/5303:
12841 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12842 --version. Recognize GNU-style long options. Print GNU-style
12843 error messages.
12844 (usage): Print GNU-style help. Exit with status 0.
12845 (error): New method.
12846 (run): Print error message if no class names found.
12847 (main): Don't print usage on error.
12848
12849 2002-01-09 Tom Tromey <tromey@redhat.com>
12850
12851 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12852 property.
12853 (help, version): Use println(), not println("").
12854
12855 For PR libgcj/5303:
12856 * gnu/gcj/convert/Convert.java (error): Program is called
12857 `jv-convert'. Print GNU-style message. Exit with status 1, not
12858 -1.
12859 (main): Handle --help and --version.
12860 (help): New method.
12861 (version): Likewise.
12862
12863 2002-01-08 Tom Tromey <tromey@redhat.com>
12864
12865 * Makefile.in: Rebuilt.
12866 * Makefile.am (ordinary_java_source_files): Added new files.
12867 * gnu/java/locale/LocaleInformation.java: Extend
12868 LocaleInformation_en.
12869 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12870 and time/date formats.
12871 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12872 generated.
12873 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12874 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12875 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12876 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12877 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12878 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12879 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12880 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12881 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12882 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12883 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12884 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12885 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12886 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12887 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12888 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12889 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12890 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12891 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12892 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12893 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12894 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12895 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12896 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12897 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12898 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12899 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12900 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12901 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12902 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12903 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12904 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12905 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12906 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12907 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12908 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12909 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12910 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12911 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12912 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12913 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12914 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12915 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12916 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12917 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12918 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12919 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12920 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12921 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12922 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12923 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12924 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12925 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12926 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12927 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12928 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12929 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12930 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12931 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12932 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12933 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12934 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12935 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12936 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12937 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12938 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12939 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12940 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12941 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12942 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12943 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12944 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12945 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12946 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12947 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12948 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12949 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12950 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12951 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12952 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12953 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12954 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12955 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12956 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12957 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12958 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12959 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12960 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12961 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12962 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12963 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12964 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12965 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12966 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12967 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12968 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12969 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12970 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12971 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12972 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12973 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12974 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12975 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12976 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12977 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12978 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12979 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12980 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12981 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12982 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12983 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12984 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12985 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12986 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12987 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12988 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12989 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12990 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12991 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12992 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12993 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12994 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12995 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12996 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12997 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12998 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12999 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13000 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13001 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13002 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13003
13004 For PR libgcj/5031:
13005 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13006 choose default locale.
13007
13008 * Makefile.in: Rebuilt.
13009 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13010
13011 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
13012
13013 * java/net/natPlainSocketImpl.cc: Added timeout handling for
13014 sockets.
13015 (close): New function closes the socket.
13016 (write): New functions for output to socket.
13017 (read): New functions for reading from socket.
13018 * java/net/PlainSocketImpl.java: Glue for new timeout
13019 implementation.
13020 (write): Call the native impl.
13021 (read): Likewise.
13022 (getInputStream): Get a stream to read from the socket.
13023 (getOutputStream): Get a stream to write to the socket.
13024
13025 2002-01-08 Tom Tromey <tromey@redhat.com>
13026
13027 * resolve.cc (_Jv_PrepareClass): Enable verifier.
13028
13029 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
13030
13031 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13032 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13033
13034 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
13035
13036 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13037 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13038 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13039 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13040 insn_bastore, insn_castore, insn_sastore]: Use it.
13041 (continue1) [insn_arraylength]: Check for null array.
13042
13043 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13044
13045 * configure, include/config.h.in: Rebuilt.
13046 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13047 * configure.in: Call AC_STRUCT_TIMEZONE.
13048
13049 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13050
13051 * configure.host: Disable the interpreter for Darwin.
13052
13053 2002-01-04 Tom Tromey <tromey@redhat.com>
13054
13055 * java/lang/Thread.java (stop): No longer synchronized.
13056 (start): Likewise.
13057
13058 2002-01-02 Tom Tromey <tromey@redhat.com>
13059
13060 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13061 patch.
13062
13063 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
13064
13065 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13066 PPC Darwin, not for all of Darwin.