FilePermission.java (equals): Use correct index for last character of path.
[gcc.git] / libjava / ChangeLog
1 2003-08-06 Tom Tromey <tromey@redhat.com>
2
3 * java/io/FilePermission.java (equals): Use correct index for
4 last character of path.
5
6 2003-08-06 Alan Modra <amodra@bigpond.net.au>
7
8 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
9 * configure.in: Compare with_cross_host to build_alias, not build.
10 * aclocal.m4: Regenerate.
11 * configure: Regenerate.
12
13 2003-08-05 Tom Tromey <tromey@redhat.com>
14
15 Fix for PR libgcj/11779:
16 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
17 class.
18
19 * java/lang/reflect/Method.java: Updated status comment.
20 Imported javadoc from Classpath and re-ordered methods.
21 * java/lang/reflect/Constructor.java: Reindented. Updated
22 status comment. Imported javadoc from Classpath and re-ordered
23 methods.
24
25 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
26
27 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
28 Add keyLocation parameter.
29 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
30 string.
31 (paramString): Generate keyChar string according to keyChar, not
32 keyCode.
33 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
34 (state_to_awt_mods): Handle ALT key.
35 (keyevent_state_to_awt_mods): New function.
36 (get_first_keyval_from_keymap): New function.
37 (keysym_to_awt_keycode): Get virtual key code from keymap.
38 Handle missing VK_ values.
39 (keysym_to_awt_keylocation): New function.
40 (keyevent_to_awt_keychar): New function.
41 (generates_key_typed_event): Handle non-text-component case.
42 Handle GDK_KP_Delete and GDK_KP_Enter.
43 (awt_event_handler): Call new functions to get postKeyEvent
44 parameters.
45 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
46 Update postKeyEvent method signature.
47 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
48 VK_ defines.
49
50 2003-08-05 Matthias Klose <doko@debian.org>
51
52 * aclocal.m4: check for libart-config binary
53 under the name libart2-config as well.
54 * configure: regenerated.
55
56 2003-08-04 David P Grove <groved@us.ibm.com>
57
58 * java/text/DecimalFormat.java (format): avoid ArithmeticException
59 when groupingSize is 0.
60 (parse): Likewise.
61
62 2003-08-04 Matthias Klose <doko@debian.org>
63
64 * libart.m4: check for libart-config binary
65 under the name libart2-config as well.
66 * configure, aclocal.m4: regenerated.
67
68 2003-08-02 Michael Koch <konqueror@gmx.de>
69
70 * java/nio/ByteBufferImpl.java
71 (getChar): Check remaining bytes, fixed comment about endianess.
72 (putChar): Likewise.
73 (getShort): Likewise.
74 (putShort): Likewise.
75 (getInt): Check remaining bytes, fixed conversion, fixed comment about
76 endianess.
77 (putInt): Likewise.
78 (getLong): Likewise.
79 (putLong): Likewise.
80 (getFloat): Likewise.
81 (putFloat): Likewise.
82 (getDouble): Likewise.
83 (putDouble): Likewise.
84 * java/nio/DirectByteBufferImpl.java
85 (getChar): Wrapped code, fixed comment about endianess.
86 (putchar): Likewise.
87 (getShort): Likewise.
88 (putShort): Likewise.
89 (getInt): Fixed conversion, fixed comment about endianess.
90 (putInt): Likewise.
91 (getLong): Likewise.
92 (putLong): Likewise.
93 (getFloat): Likewise.
94 (putFloat): Likewise.
95 (getDouble): Likewise.
96 (putDouble): Likewise.
97 * java/nio/MappedByteBufferImpl.java
98 (compact): Implemented.
99 (getChar): Implemented.
100 (putChar): Implemented.
101 (getDouble): Implemented.
102 (putdouble): Implemented.
103 (getFloat): Implemented.
104 (putFloat): Implemented.
105 (getInt): Implemented.
106 (putInt): Implemented.
107 (getLong): Implemented.
108 (putLong): Implemented.
109 (getShort): Implemented.
110 (putShort): Implemented.
111 * java/nio/channels/FileChannelImpl.java
112 (read): Set position where to access file.
113 (write): Likewise.
114 (transferTo): Flip buffer after read and before write.
115 (transferFrom): Likewise.
116
117 2003-08-02 Michael Koch <konqueror@gmx.de>
118
119 * gnu/java/lang/ArrayHelper.java
120 (equalsArray): Reformated, added method documentation.
121
122 2003-08-02 Michael Koch <konqueror@gmx.de>
123
124 * java/net/URL.java
125 (URL): Added paragraph about the
126 gnu.java.net.nocache_protocol_handlers property.
127 (ph_cache): Renamed from handlers to match classpath's implementation.
128 Reordered it with factory and serialVersionUID member variables.
129 (cache_handlers): New member variable.
130 (static): New static initializer to initialize cache_handlers from
131 gnu.java.net.nocache_protocol_handlers property.
132 (URL): Use ph_cache instead of handlers, reformatted some code to
133 match classpath's implementation.
134
135 2003-08-01 Tom Tromey <tromey@redhat.com>
136
137 Fix for PR libgcj/11241:
138 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
139 initialCapacity is 0, set it to 1.
140
141 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
142
143 * java/net/SocketImpl.java (toString): Display the remote address
144 of an unconnected server socket as "0.0.0.0/0.0.0.0".
145
146 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
147
148 * javax/swing/border/BevelBorder.java,
149 javax/swing/border/EtchedBorder.java,
150 javax/swing/border/LineBorder.java,
151 javax/swing/border/MatteBorder.java,
152 javax/swing/border/SoftBevelBorder.java,
153 javax/swing/plaf/BorderUIResource.java,
154 javax/swing/plaf/ComponentUI.java,
155 javax/swing/plaf/TreeUI.java,
156 javax/swing/plaf/basic/BasicBorders.java,
157 javax/swing/plaf/basic/BasicGraphicsUtils.java,
158 javax/swing/plaf/basic/BasicTreeUI.java:
159 Prepend "doc-files" to all paths to embedded Javadoc images, so
160 that the generated documentation contains the correct URL.
161
162 2003-08-01 Tom Tromey <tromey@redhat.com>
163
164 * configure: Rebuilt.
165 * configure.in (tool_include_dir): Redefine to match gcc.
166
167 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
168 Mark Wielaard <mark@klomp.org>
169
170 * java/math/BigDecimal (divide): Correctly handle
171 ROUND_HALF_EVEN when amount is greater than 0.5.
172 Simplify and optimize code.
173
174 2003-07-31 Tom Tromey <tromey@redhat.com>
175
176 More for PR libgcj/11737:
177 * java/io/ObjectInputStream.java (processResolution): Use
178 getMethod.
179 (getMethod): Make method accessible.
180 (getField): Make field accessible.
181 (setBooleanField): Don't call setAccessible here.
182 (setByteField, setCharField, setDoubleField, setFloatField,
183 setIntField, setLongField, setShortField, setObjectField):
184 Likewise.
185 (callReadMethod): Don't check whether method is null. Catch
186 NoSuchMethodException.
187 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
188 cause on thrown exceptions.
189
190 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
191
192 Fix for PR libgcj/11728:
193 * java/util/HashMap.java (readObject): Set size.
194
195 2003-07-31 Tom Tromey <tromey@redhat.com>
196
197 Fix for PR libgcj/11737:
198 * java/io/ObjectOutputStream.java (getMethod): Make method
199 accessible.
200 (getField): Likewise.
201 (writeObject): Use getMethod.
202 Import PrivilegedAction and AccessController.
203 (callWriteMethod): Don't check whether m is null. Catch
204 NoSuchMethodException.
205
206 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
207 (containsAngle): Likewise.
208 (getStartPoint): Rewrote.
209 (getEndPoint): Likewise.
210 (setAngleStart(Point2D)): Likewise.
211
212 2003-07-31 Roger Sayle <roger@eyesopen.com>
213 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
214
215 * configure.in: Add new THREADCXXFLAGS variable.
216 Handle POSIX threads on alpha*-dec-osf*.
217 * configure: Regenerate.
218 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
219 * Makefile.in: Regenerate.
220
221 2003-07-08 Andrew Haley <aph@redhat.com>
222
223 * include/i386-signal.h (RESTORE): New.
224 (INIT_SEGV): Set restorer.
225 (INIT_FPE): Likewise.
226
227 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
228
229 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
230 than getXLFD.
231 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
232 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
234 (gtkSetFont): Scale size parameter by PANGO_SCALE.
235 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
236 Likewise.
237 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
238 Likewise.
239
240 2003-07-29 Tom Tromey <tromey@redhat.com>
241
242 * defineclass.cc (handleField): Throw exception if field name is
243 duplicated.
244 (handleMethod): Throw exception for duplicate method.
245
246 2003-07-29 Tom Tromey <tromey@redhat.com>
247
248 * gnu/gcj/convert/natIconv.cc (write): Handle case where
249 output buffer is too small.
250
251 2003-07-28 Tom Tromey <tromey@redhat.com>
252
253 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
254 New method.
255 Include gnu/gcj/runtime/StringBuffer.h.
256 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
257 native method.
258 (String(gnu.gcj.runtime.StringBuffer)): Use it.
259
260 2003-07-27 Anthony Green <green@redhat.com>
261
262 * configure.in: Fix newlib check.
263 * configure: Rebuilt.
264
265 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
266
267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
268 Create vbox and layout for GtkPlug.
269
270 2003-07-27 Michael Koch <konqueror@gmx.de>
271
272 * java/awt/Window.java
273 (Window): Removed now unused constructor. It became oboslete with the
274 new embedded window patch.
275
276 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
277 Michael Koch <konqueror@gmx.de>
278
279 * gnu/java/awt/EmbeddedWindow.java
280 (EmbeddedWindow): Extends Frame instead of Window.
281 (window_id): New member variable to store the native window handle.
282 (create): Removed.
283 (EmbeddedWindow): New constructor.
284 (addNotify): New method.
285 (getHandler): Likewise.
286 (setWindowPeer): New native method.
287 * gnu/java/awt/EmbeddedWindowSupport.java
288 (EmbeddedWindowSupport): Fixed documentation.
289 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
290 WindowPeer, give it an EmbeddedWindow instance instead of the raw
291 window data.
292 * gnu/java/awt/natEmbeddedWindow.cc
293 (create): Removed.
294 (setWindowPeer): New method.
295 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
296 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
297 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
298 New files
299 * gnu/java/awt/peer/gtk/GtkToolkit.java
300 (GtkToolkit): Implements EmbeddedWindowSupport.
301 (createEmbeddedWindow): New method.
302 * java/awt/Window.java
303 (Window): Removed.
304 * Makefile.am
305 (java_source_files): Added EmbeddedWindowPeer.java.
306 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
307 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
308 * Makefile.in: Regenerated.
309
310 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
311
312 * java/lang/Win32Process.java (ConcreteProcess): Surround
313 a command line element with quotes if it contains an
314 embedded space or tab.
315 * java/lang/natWin32Process.cc (startProcess): Do not
316 surround command line elements with quotes here.
317
318 * configure.host: Use -fcheck-references and
319 -fuse-divide-subroutine for MinGW until we fix
320 win32_exception_handler( ) in win32.cc w.r.t. Win32
321 Structured Exception Handling (SEH).
322
323 * win32.cc (_Jv_platform_initProperties): Use generic names
324 like "x86" for the "os.arch" property to be consistent with
325 what Sun's JDK produces. Use the wProcessorArchitecture
326 member of the Win32 SYSTEM_INFO structure, filled in a call
327 to GetSystemInfo( ), instead of dwProcessorType.
328
329 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
330 Ranjit Mathew <rmathew@hotmail.com>
331
332 * Makefile.am: Use cross-compiling gcjh from the path for
333 a crossed-native build.
334 * Makefile.in: Rebuilt.
335 * configure.in: Include libltdl in non-newlib builds.
336 Moved determination of gcj used to build libraries to
337 its own section. Fixed cross-compilation issues for
338 non-newlib builds.
339 * configure: Rebuilt.
340
341 2003-07-25 Tom Tromey <tromey@redhat.com>
342
343 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
344 (write): Likewise.
345 (read): Likewise.
346 (read): Likewise.
347
348 2003-07-25 Mark Wielaard <mark@klomp.org>
349
350 * java/lang/natRuntime.cc (_load): Add library name to
351 UnsatisfiedLinkError when thrown.
352
353 2003-07-25 Mark Wielaard <mark@klomp.org>
354
355 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
356 added.
357 * Makefile.in: Likewise.
358
359 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
360
361 * java/awt/Component.java
362 (getPreferredSize): Call preferredSize.
363 (preferredSize): Moved body of getPreferredSize here.
364 (getMinimumSize): Call minimumSize.
365 (minimumSize): Moved body of getMinimumSize here.
366 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
367 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
368 pass -1
369 * java/awt/Container.java
370 (validate): Don't validate if there is no peer.
371 (update): Clear background before calling paint.
372 * java/awt/GridBagLayout.java
373 Completed the implementation and fixed several bugs.
374 * java/awt/MediaTracker.java
375 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
376 combine flags.
377 * java/awt/Window.java
378 (Window): Don't call setVisible(false). Windows are invisible by
379 default and calling virtual methods from constructor causes
380 compatibility problems (e.g. subclasses may assume that the peer
381 already exists).
382
383 2003-07-25 Michael Koch <konqueror@gmx.de>
384
385 * java/awt/GridBagLayout.java:
386 Totally reworked and partly implemented.
387 * java/awt/GridBagLayoutInfo.java:
388 New file.
389
390 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
391
392 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
393 Don't pack label in an event box.
394
395 2003-07-24 Tom Tromey <tromey@redhat.com>
396
397 For PR libgcj/7482:
398 * verify.cc (ref_intersection): New class.
399 (type_val): Removed unresolved_reference_type,
400 uninitialized_unresolved_reference_type.
401 (is_assignable_from_slow): Rewrote.
402 (type::data): Removed.
403 (type::klass): New field.
404 (type::type): Added verifier argument.
405 (type::resolve): Removed.
406 (type::set_uninitialized): Updated for change to type_val.
407 (type::set_initialized): Likewise.
408 (type::isinitialized): Likewise.
409 (type::print): Likewise.
410 (construct_primitive_array_type): Likewise.
411 (type::compatible): Updated for change to type_val and to use
412 ref_intersection.
413 (type::isarray): Updated to use ref_intersection.
414 (type::isinterface): Likewise.
415 (type::element_type): Likewise.
416 (type::to_array): Likewise.
417 (type::verify_dimensions): Rewrote.
418 (type::merge): Likewise.
419 (check_class_constant): Updated for type constructor change.
420 (check_constant): Likewise.
421 (check_field_constant): Likewise.
422 (get_one_type): Likewise.
423 (initialize_stack): Likewise.
424 (verify_instructions_0): Likewise.
425 (verify_instructions_0) [op_invokeinterface]: Removed special
426 case.
427 (isect_list): New field.
428 (_Jv_BytecodeVerifier): Initialize it.
429 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
430
431 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
432
433 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
434 unless field size is 2.
435
436 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
437
438 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
439 (connectHooks): New method.
440 (handleEvent): Remove.
441 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
442 (createHooks): Remove declaration.
443 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
444 (generates_key_typed_event): Change to handle only certain
445 keyvals.
446 (awt_event_handler): Add special handling for GtkTextView.
447 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
448 (textcomponent_commit_cb): New function.
449 (textcomponent_changed_cb): Likewise.
450 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
451 (connectHooks): Remove.
452
453 2003-07-23 Tom Tromey <tromey@redhat.com>
454
455 * java/lang/natSystem.cc (arraycopy): Check for overflow.
456
457 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
458
459 2003-07-22 Tom Tromey <tromey@redhat.com>
460
461 * boehm.cc (_Jv_BuildGCDescr): Wrote.
462 Include limits.h.
463
464 2003-07-22 Tom Tromey <tromey@redhat.com>
465
466 * java/awt/Window.java (getWarningString): Just return the
467 string.
468 (Window): Set warningString; check with security manager.
469
470 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
471
472 * gnu/awt/xlib/XGraphicsConfiguration.java
473 (FontMetricsCache): Made static.
474
475 2003-07-22 Tom Tromey <tromey@redhat.com>
476
477 * java/net/URLEncoder.java (encode(String)): Use platform default
478 encoding.
479 (encode(String,String)): Convert to 2-digit upper-case hex
480 number.
481 (hex): New field.
482
483 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
484
485 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
486 (create): Remove unused method implementation.
487 (connectHooks): Remove debug messages.
488
489 2003-07-20 Anthony Green <green@redhat.com>
490
491 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
492 CloneNotSupportedException.
493 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
494 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
495 * gnu/gcj/xlib/GC.java (clone): Ditto.
496 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
497 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
498
499 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
500 handler.
501 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
502
503 2003-07-20 Steve Pribyl <steve@netfuel.com.>
504
505 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
506 String. Put dlerror() message into exception.
507 Include UnsatisfiedLinkError.
508 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
509 String. Now native.
510
511 2003-07-20 Tom Tromey <tromey@redhat.com>
512
513 * java/lang/Runtime.java: Comment fix.
514 * java/lang/ClassLoader.java (isAncestorOf): New method.
515 (getParent): Uncommented security check. Use isAncestorOf.
516 * include/jvm.h (_Jv_CheckAccess): Declare.
517 * java/lang/reflect/natConstructor.cc (newInstance): Perform
518 access check.
519 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
520 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
521 class loader to _Jv_GetArrayClass.
522 Include ArrayIndexOutOfBoundsException.h.
523 * java/lang/reflect/Field.java: Update comment to reflect status.
524 (equals): Fixed indentation.
525 * java/lang/Class.h (Class): Declare memberAccessCheck, not
526 checkMemberAccess. Make _Jv_CheckAccess a friend.
527 * java/lang/Class.java (memberAccessCheck): New method from
528 Classpath.
529 (checkMemberAccess): Removed.
530 (getDeclaredMethod): Use memberAccessCheck.
531 (getField): Likewise.
532 (getMethod): Likewise.
533 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
534 (_Jv_SearchMethodInClass): Likewise.
535 * prims.cc (_Jv_CheckAccess): New function.
536 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
537 (_Jv_JNI_GetAnyFieldID): Likewise.
538 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
539 (getClassLoader): Added security check.
540 (getConstructor): Call memberAccessCheck.
541 (getDeclaredClasses): Likewise.
542 (getDeclaredField): Likewise.
543 (getDeclaredFields): Likewise.
544 (_getConstructors): Likewise.
545 (getDeclaredConstructor): Likewise.
546 (getDeclaredMethods): Likewise.
547 (getFields): Likewise.
548 (getMethods): Likewise.
549 (newInstance): Likewise.
550 (_Jv_MakeVTable): Put method name in exception.
551 * java/lang/reflect/natMethod.cc (getType): Use
552 getClassLoaderInternal.
553 (_Jv_GetTypesFromSignature): Likewise.
554 (invoke): Perform access check.
555 (_Jv_CallAnyMethodA): Removed old FIXME comments.
556 Include ArrayIndexOutOfBoundsException.h.
557 * java/lang/reflect/natField.cc (getType): Use
558 getClassLoaderInternal.
559 (_Jv_CheckFieldAccessibility): Removed.
560 (getAddr): Use _Jv_CheckAccess; find caller.
561 Include ArrayIndexOutOfBoundsException.h.
562
563 2003-07-20 Michael Koch <konqueror@gmx.de>
564
565 * java/net/URL.java
566 (URL): Fixed documentation to name an argument correcty, Reformatted
567 one method declaration.
568 (getURLStreamHandler): Added documentation from classpath.
569
570 2003-07-19 Tom Tromey <tromey@redhat.com>
571
572 * mauve-libgcj: Don't run CollationElementIterator tests.
573
574 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
575
576 * java/net/URLClassLoader.java (addURL): Moved implementation to
577 private addURLImpl() to avoid calling addURL from the constructor.
578 (addURLImpl): Contains the code that was previously in addURL.
579 (addURLs): Call addURLImpl(), not addURL().
580
581 2003-07-18 Graydon Hoare <graydon@redhat.com>
582
583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
584 Handle missing event cases, connect to "value-changed" signal.
585
586 2003-07-18 Graydon Hoare <graydon@redhat.com>
587
588 * java/awt/geom/CubicCurve2D.java,
589 java/awt/geom/Line2D.java,
590 java/awt/geom/QuadCurve2D.java,
591 java/awt/geom/Rectangle2D.java:
592 Fix path some calculations, make path iterators follow
593 a consistent style.
594
595 2003-07-18 Mark Wielaard <mark@klomp.org>
596
597 * java/util/logging/Handler.java (isLoggable): Check record level
598 smaller or equal.
599
600 2003-07-17 Michael Koch <konqueror@gmx.de>
601
602 * gnu/java/awt/peer/gtk/GtkToolkit.java:
603 Reworked imports.
604
605 2003-07-14 Michael Koch <konqueror@gmx.de>
606
607 * gnu/java/rmi/server/UnicastServerRef.java:
608 New version from classpath.
609
610 2003-07-14 Michael Koch <konqueror@gmx.de>
611
612 * java/awt/image/MemoryImageSource.java,
613 java/beans/PropertyEditorManager.java,
614 javax/naming/CompoundName.java,
615 javax/naming/spi/NamingManager.java,
616 javax/swing/AbstractButton.java,
617 javax/swing/ButtonModel.java,
618 javax/swing/SwingUtilities.java,
619 javax/swing/UIManager.java,
620 javax/swing/colorchooser/DefaultColorSelectionModel.java,
621 javax/swing/event/AncestorEvent.java,
622 javax/swing/event/InternalFrameEvent.java,
623 java/util/zip/ZipFile.java:
624 New versions from classpath.
625
626 2003-07-13 Michael Koch <konqueror@gmx.de>
627
628 * gnu/java/nio/FileChannelImpl.java,
629 gnu/java/nio/natFileChannelImpl.cc: Removed.
630 * java/io/FileInputStream.java,
631 java/io/FileOutputStream.java,
632 java/io/RandomAccessFile.java,
633 java/nio/MappedByteBufferImpl.java:
634 Import java.nio.channels.FileChannelImpl instead of
635 gnu.java.nio.FileChannelImpl.
636 * java/nio/channels/FileChannelImpl.java,
637 java/nio/channels/natFileChannelImpl.cc:
638 New files.
639 * Makefile.am
640 (ordinary_java_source_files):
641 Removed gnu/java/nio/FileChannelImpl.java and added
642 java/nio/channels/FileChannelImpl.java.
643 (nat source_files):
644 Removed gnu/java/nio/natFileChannelImpl.cc and added
645 java/nio/channels/natFileChannelImpl.cc.
646 * Makefile.in: Regenerated.
647
648 2003-07-13 Michael Koch <konqueror@gmx.de>
649
650 * javax/swing/plaf/basic/BasicBorders.java,
651 javax/swing/plaf/basic/BasicLabelUI.java,
652 javax/swing/plaf/basic/BasicLookAndFeel.java,
653 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
654 javax/swing/plaf/basic/BasicTextUI.java,
655 javax/swing/plaf/metal/MetalLookAndFeel.java:
656 New versions from classpath.
657
658 2003-07-13 Michael Koch <konqueror@gmx.de>
659
660 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
661 * gnu/java/awt/peer/gtk/GdkGraphics.java
662 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
663 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
664 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
665 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
666 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
667 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
668 * gnu/java/awt/peer/gtk/GtkClipboard.java
669 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
670 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
671 * gnu/java/awt/peer/gtk/GtkFramePeer.java
672 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
673 * gnu/java/awt/peer/gtk/GtkImage.java
674 * gnu/java/awt/peer/gtk/GtkImagePainter.java
675 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
676 * gnu/java/awt/peer/gtk/GtkListPeer.java
677 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
678 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
679 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
680 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
681 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
682 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
683 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
684 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
685 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
686 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
687 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
688 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
689
690 2003-07-13 Michael Koch <konqueror@gmx.de>
691
692 * gnu/java/locale/LocaleInformation_de.java
693 * gnu/java/locale/LocaleInformation_en.java
694 * gnu/java/locale/LocaleInformation_nl.java
695
696 2003-07-13 Michael Koch <konqueror@gmx.de>
697
698 * gnu/java/awt/EmbeddedWindow.java,
699 gnu/java/awt/EmbeddedWindowSupport.java,
700 gnu/java/awt/natEmbeddedWindow.cc:
701 New files.
702 * java/awt/Window.java
703 (Window): New constructor to support embedded windows.
704 * Makefile.am
705 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
706 gnu/java/awt/EmbeddedWindowSupport.java.
707 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
708 * Makefile.in: Regenerated.
709
710 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
711
712 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
713 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
714 * java/awt/im/InputContext.java: Remove a redundant
715 partial line.
716
717 2003-07-09 Tom Tromey <tromey@redhat.com>
718
719 * Makefile.in: Rebuilt.
720 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
721
722 2003-07-09 Mark Wielaard <mark@klomp.org>
723
724 * java/io/ObjectOutputStream.java (writeObject): break after
725 calling writeClassDescriptor().
726
727 2003-07-09 Mark Mitchell <mark@codesourcery.com>
728
729 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
730
731 2003-07-09 Michael Koch <konqueror@gmx.de>
732
733 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
734 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
735 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
736 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
737 Explicitly import used classes.
738 * java/awt/Container.java: New version from classpath.
739
740 2003-07-09 Michael Koch <konqueror@gmx.de>
741
742 * libgcj.pc.in: New file.
743 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
744 * Makefile.in: Regenerated.
745 * configure: Regenrated.
746 * configure.in: Create libgcj.pc from libgcj.pc.in.
747
748 2003-07-08 Mark Wielaard <mark@klomp.org>
749
750 * gcj/cni.h: CNI now expands to Compiled Native Interface.
751
752 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
753 * java/lang/fdlibm.h: Likewise.
754
755 2003-07-07 Adam Megacz <adam@xwt.org>
756
757 * posix.cc: added #include<stdio.h>
758
759 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
760
761 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
762 formatting.
763
764 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
765 (setCaretPosition, setEditable): Rely entirely on native
766 implementation.
767 (getArgs): Remove.
768 (postTextEvent): New method.
769 (handleEvent): New method.
770 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
771 method.
772 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
773 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
774 (keysym_to_awt_keycode): Fix range checks.
775 (generates_key_typed_event): New function.
776 (awt_event_handler): Post AWT_KEY_RELEASED events to event
777 queue.
778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
779 (gtkInit): Store TextComponent's postTextEvent method ID.
780 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
781 (setText): Post TEXT_VALUE_CHANGED event to event queue.
782
783 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
784
785 * configure.in: Check for usleep declaration.
786 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
787 * configure: Regenerate.
788 * include/config.h.in: Likewise.
789 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
790
791 2003-07-01 Michael Koch <konqueror@gmx.de>
792
793 * gnu/gcj/convert/natIconv.cc
794 (iconv_init): Fixed possible memory leak by releasing allocated iconv
795 handle.
796
797 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
798
799 * glib-2.0.m4: New file.
800 * gtk-2.0.m4: New file.
801 * glib.m4: Remove.
802 * gtk.m4: Remove.
803 * configure.in: Update AM_PATH_GTK macro call to
804 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
805 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
806 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
807 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
808 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
809 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
810 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
811 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
812 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
813 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
814 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
815 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
816 jni/gtk-peer/gthread-jni.c,
817 jni/gtk-peer/gthread-jni.h:
818 New versions from classpath.
819 * aclocal.m4: Regenerate.
820 * configure: Regenerate.
821 * Makefile.in: Regenerate.
822 * gcj/Makefile.in: Regenerate.
823 * include/Makefile.in: Regenerate.
824 * testsuite/Makefile.in: Regenerate.
825
826 2003-06-30 Gary Benson <gbenson@redhat.com>
827
828 For PR libgcj/11349:
829 * javax/naming/spi/NamingManager.java (getURLContext): Use
830 correct name for factory class.
831
832 2003-06-28 Michael Koch <konqueror@gmx.de>
833
834 * java/io/PrintStream.java
835 (checkError): Call flush() instead of direct flushing of the Writer
836 object.
837 (print): Call print(String) instead of direct print method of the
838 Writer Object.
839 (println): Call println(String) instead of direct println method of the
840 Writer Object.
841 (write): Simplified.
842
843 2003-06-28 Michael Koch <konqueror@gmx.de>
844
845 * java/net/ServerSocket.java
846 (setChannel): New method.
847 * java/net/Socket.java
848 (setChannel): New method.
849
850 2003-06-27 Michael Koch <konqueror@gmx.de>
851
852 * java/beans/beancontext/BeanContextSupport.java:
853 New version from classpath.
854
855 2003-06-27 Michael Koch <konqueror@gmx.de>
856
857 * java/awt/Window.java,
858 java/awt/font/GraphicAttribute.java,
859 java/awt/font/ImageGraphicAttribute.java,
860 java/awt/image/DataBufferByte.java,
861 java/awt/image/DataBufferInt.java,
862 java/awt/image/DataBufferUShort.java,
863 java/awt/image/DirectColorModel.java,
864 java/awt/image/PixelGrabber.java:
865 New versions from classpath.
866
867 2003-06-27 Michael Koch <konqueror@gmx.de>
868
869 * java/security/Certificate.java
870 (getGuarantor): Removed wrong @deprecated tag.
871 (getPrincipal): Likewise.
872 (getPublicKey): Likewise.
873 (encode): Likewise.
874 (decode): Likewise.
875 (getFormat): Likewise.
876 (toString): Likewise.
877 * java/security/cert/PolicyQualifierInfo.java
878 (PolicyQualifierInfo): Made final.
879 * javax/security/auth/x500/X500Principal.java
880 (serialVersionUID): New member variable.
881
882 2003-06-27 Michael Koch <konqueror@gmx.de>
883
884 * java/text/Format.java
885 (serialVersionUID): Fixed value.
886
887 2003-06-27 Michael Koch <konqueror@gmx.de>
888
889 * java/net/Inet4Address.java
890 (Inet4Address): Made package-private.
891 * java/net/Inet6Address.java
892 (Inet4Address): Made package-private.
893
894 2003-06-27 Michael Koch <konqueror@gmx.de>
895
896 * java/io/RandomAccessFile.java
897 (readLine): Removed wrong @deprecated tag.
898 (getChannel): Made final.
899
900 2003-06-27 Michael Koch <konqueror@gmx.de>
901
902 * gnu/java/nio/FileChannelImpl.java
903 (write): Removed.
904
905 2003-06-27 Michael Koch <konqueror@gmx.de>
906
907 * java/nio/ByteBufferImpl.java
908 (ByteBufferImpl): Made it a package-private class
909 * java/nio/CharBufferImpl.java
910 (CharBufferImpl): Made it a package-private class
911 * java/nio/DirectByteBufferImpl.java
912 (DirectByteBufferImpl): Made it a package-private class
913 * java/nio/DoubleBufferImpl.java
914 (DoubleBufferImpl): Made it a package-private class
915 * java/nio/FloatBufferImpl.java
916 (FloatBufferImpl): Made it a package-private class
917 * java/nio/IntBufferImpl.java
918 (IntBufferImpl): Made it a package-private class
919 * java/nio/LongBufferImpl.java
920 (LongBufferImpl): Made it a package-private class
921 * java/nio/ShortBufferImpl.java
922 (ShortBufferImpl): Made it a package-private class
923 * java/nio/channels/FileChannel.java
924 (write): Made final.
925 * java/nio/channels/ServerSocketChannel.java
926 (ServerSocketChanne): Made protected.
927
928 2003-06-27 Michael Koch <konqueror@gmx.de>
929
930 * javax/naming/CompositeName.java
931 (serialVersionUID): New member variable.
932 * javax/naming/CompoundName.java
933 (serialVersionUID): New member variable.
934 * javax/naming/InitialContext.java
935 (InitialContext): Throws NamingException.
936 (init): Likewise.
937 * javax/naming/LinkRef.java
938 (serialVersionUID): New member variable.
939 (gteLinkName): Throws NamingException.
940 * javax/naming/NamingException.java
941 (serialVersionUID): New member variable.
942 * javax/naming/NamingSecurityException.java
943 (NamingSecurityException): Made abstract.
944 (serialVersionUID): New member variable.
945 * javax/naming/ReferralException.java
946 (serialVersionUID): New member variable.
947 * javax/naming/StringRefAddr.java
948 (serialVersionUID): New member variable.
949 * javax/naming/directory/BasicAttribute.java:
950 Reworked imports.
951 (serialVersionUID): New member variable.
952 (get): Throws NamingException.
953 (getAll): Throws NamingException.
954 * javax/naming/directory/BasicAttributes.java:
955 Reworked imports.
956 (serialVersionUID): New member variable.
957 * javax/naming/ldap/UnsolicitedNotificationEvent.java
958 (serialVersionUID): New member variable.
959
960 2003-06-27 Michael Koch <konqueror@gmx.de>
961
962 * Makefile.am
963 (awt_java_source_files): Added new files:
964 javax/swing/Popup.java,
965 javax/swing/PopupFactory.java
966 * Makefile.in: Regenerated.
967
968 2003-06-27 Michael Koch <konqueror@gmx.de>
969
970 * javax/swing/JWindow.java,
971 javax/swing/event/AncestorEvent.java,
972 javax/swing/event/HyperlinkEvent.java,
973 javax/swing/event/InternalFrameEvent.java,
974 javax/swing/event/ListDataEvent.java,
975 javax/swing/event/TableModelEvent.java,
976 javax/swing/plaf/PopupMenuUI.java,
977 javax/swing/plaf/SplitPaneUI.java,
978 javax/swing/plaf/TabbedPaneUI.java,
979 javax/swing/plaf/TextUI.java,
980 javax/swing/plaf/TreeUI.java,
981 javax/swing/plaf/basic/BasicTextUI.java,
982 javax/swing/plaf/basic/BasicTreeUI.java:
983 New versions from classpath.
984 * javax/swing/Popup.java,
985 javax/swing/PopupFactory.jav:
986 New source files from classpath.
987 * javax/swing/plaf/doc-files/TreeUI-1.png:
988 New binary files from classpath.
989
990 2003-06-25 Michael Koch <konqueror@gmx.de>
991
992 * Makefile.am
993 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
994 * Makefile.in: Regenerated.
995
996 2003-06-25 Michael Koch <konqueror@gmx.de>
997
998 * javax/swing/plaf/ActionMapUIResource.java,
999 javax/swing/plaf/BorderUIResource.java,
1000 javax/swing/plaf/ButtonUI.java,
1001 javax/swing/plaf/ColorChooserUI.java,
1002 javax/swing/plaf/ColorUIResource.java,
1003 javax/swing/plaf/ComboBoxUI.java,
1004 javax/swing/plaf/ComponentInputMapUIResource.java,
1005 javax/swing/plaf/ComponentUI.java,
1006 javax/swing/plaf/DesktopIconUI.java,
1007 javax/swing/plaf/DesktopPaneUI.java,
1008 javax/swing/plaf/DimensionUIResource.java,
1009 javax/swing/plaf/FileChooserUI.java,
1010 javax/swing/plaf/FontUIResource.java,
1011 javax/swing/plaf/IconUIResource.java,
1012 javax/swing/plaf/InputMapUIResource.java,
1013 javax/swing/plaf/InsetsUIResource.java,
1014 javax/swing/plaf/InternalFrameUI.java,
1015 javax/swing/plaf/LabelUI.java,
1016 javax/swing/plaf/ListUI.java,
1017 javax/swing/plaf/MenuBarUI.java,
1018 javax/swing/plaf/MenuItemUI.java,
1019 javax/swing/plaf/OptionPaneUI.java,
1020 javax/swing/plaf/PanelUI.java,
1021 javax/swing/plaf/ProgressBarUI.java,
1022 javax/swing/plaf/RootPaneUI.java,
1023 javax/swing/plaf/ScrollBarUI.java,
1024 javax/swing/plaf/ScrollPaneUI.java,
1025 javax/swing/plaf/SeparatorUI.java,
1026 javax/swing/plaf/SliderUI.java,
1027 javax/swing/plaf/TableHeaderUI.java,
1028 javax/swing/plaf/TableUI.java,
1029 javax/swing/plaf/ToolBarUI.java,
1030 javax/swing/plaf/ToolTipUI.java,
1031 javax/swing/plaf/ViewportUI.java:
1032 New versions from classpath.
1033 * javax/swing/plaf/SpinnerUI.java:
1034 New file from classpath
1035
1036 2003-06-25 Michael Koch <konqueror@gmx.de>
1037
1038 * java/awt/image/ColorModel.java:
1039 New version from classpath.
1040
1041 2003-06-25 Michael Koch <konqueror@gmx.de>
1042
1043 * java/net/PlainDatagramSocketImpl.java:
1044 Partly merged with classpath, this mainly adds documentation.
1045
1046 2003-06-25 Michael Koch <konqueror@gmx.de>
1047
1048 * java/io/ObjectInputStream.java
1049 (readClassDescriptor): New method.
1050 (readObject): Moved functionality to readClassDescriptor().
1051 * java/io/ObjectOutputStream.java
1052 (writeClassDescriptor): New method.
1053 (writeObject): Moved functionality to writeClassDescriptor().
1054
1055 2003-06-25 Michael Koch <konqueror@gmx.de>
1056
1057 * javax/swing/plaf/basic/BasicListUI.java,
1058 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1059 Added missing methods.
1060
1061 2003-06-25 Michael Koch <konqueror@gmx.de>
1062
1063 * javax/swing/event/AncestorEvent.java
1064 javax/swing/event/HyperlinkEvent.java
1065 javax/swing/event/InternalFrameEvent.java
1066 javax/swing/event/ListDataEvent.java
1067 javax/swing/event/TableModelEvent.java:
1068 Compile fixes.
1069
1070 2003-06-24 Michael Koch <konqueror@gmx.de>
1071
1072 * java/net/URL.java:
1073 Renamed "handler" to "ph" in the whole file to match classpaths
1074 version.
1075 * java/net/URLStreamHandler.java:
1076 (equals): Renamed "handler" to "ph".
1077
1078 2003-06-24 Michael Koch <konqueror@gmx.de>
1079
1080 * javax/swing/event/AncestorEvent.java,
1081 javax/swing/event/HyperlinkEvent.java,
1082 javax/swing/event/InternalFrameEvent.java,
1083 javax/swing/event/ListDataEvent.java,
1084 javax/swing/event/TableModelEvent.java,
1085 javax/swing/event/TreeWillExpandListener.java,
1086 javax/swing/plaf/ComponentUI.java,
1087 javax/swing/plaf/DesktopIconUI.java,
1088 javax/swing/plaf/DesktopPaneUI.java,
1089 javax/swing/plaf/DimensionUIResource.java,
1090 javax/swing/plaf/FileChooserUI.java,
1091 javax/swing/plaf/FontUIResource.java,
1092 javax/swing/plaf/IconUIResource.java,
1093 javax/swing/plaf/InputMapUIResource.java,
1094 javax/swing/plaf/InsetsUIResource.java,
1095 javax/swing/plaf/InternalFrameUI.java,
1096 javax/swing/plaf/LabelUI.java,
1097 javax/swing/plaf/ListUI.java,
1098 javax/swing/plaf/MenuBarUI.java,
1099 javax/swing/plaf/MenuItemUI.java,
1100 javax/swing/plaf/OptionPaneUI.java,
1101 javax/swing/plaf/PanelUI.java,
1102 javax/swing/plaf/ProgressBarUI.java,
1103 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1104 javax/swing/plaf/doc-files/ComponentUI-1.png:
1105 New versions from classpath.
1106
1107 2003-06-24 Michael Koch <konqueror@gmx.de>
1108
1109 * java/nio/Buffer.java
1110 (cap): Made package-private.
1111 (pos): Likewise.
1112 (limit): Likewise.
1113 (mark): Likewise.
1114
1115 2003-06-24 Michael Koch <konqueror@gmx.de>
1116
1117 * java/net/SocketImpl.java
1118 (shutdownInput): Made it non-abstract method throwing an exception
1119 like in SUNs JRE.
1120 (shutdownOutput): Likewise.
1121 * java/net/SocketInputStream.java,
1122 java/net/SocketOutputStream.java:
1123 New files from classpath.
1124
1125 2003-06-24 Michael Koch <konqueror@gmx.de>
1126
1127 * java/awt/Font.java,
1128 java/awt/Window.java,
1129 java/awt/color/ColorSpace.java,
1130 java/awt/datatransfer/StringSelection.java,
1131 java/awt/image/ColorModel.java:
1132 New versions from classpath.
1133
1134 2003-06-24 Michael Koch <konqueror@gmx.de>
1135
1136 * Makefile.am
1137 (awt_java_source_files): Added new files:
1138 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1139 javax/swing/plaf/basic/BasicSplitPaneUI.java
1140 * Makefile.in: Regenerated.
1141
1142 2003-06-24 Michael Koch <konqueror@gmx.de>
1143
1144 * javax/swing/text/JTextComponent.java:
1145 New version from classpath.
1146
1147 2003-06-24 Michael Koch <konqueror@gmx.de>
1148
1149 * javax/swing/Timer.java,
1150 javax/swing/plaf/ActionMapUIResource.java,
1151 javax/swing/plaf/ButtonUI.java,
1152 javax/swing/plaf/ColorChooserUI.java,
1153 javax/swing/plaf/ColorUIResource.java,
1154 javax/swing/plaf/ComboBoxUI.java,
1155 javax/swing/plaf/ComponentInputMapUIResource.java,
1156 javax/swing/plaf/basic/BasicBorders.java:
1157 New versions from classpath.
1158 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1159 javax/swing/plaf/basic/BasicSplitPaneUI.java:
1160 New file from classpath.
1161 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1162 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1163 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1164 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1165 javax/swing/plaf/doc-files/ComponentUI-1.png:
1166 New binary files from classpath.
1167
1168 2003-06-24 Michael Koch <konqueror@gmx.de>
1169
1170 * java/io/LineNumberReader.java
1171 (skip): Dont do line number accounting here as this is already done in
1172 read(), simplified.
1173
1174 2003-06-21 Michael Koch <konqueror@gmx.de>
1175
1176 * java/io/File.java
1177 (static): Load javaio lib if existing (only in classpath).
1178 (File): Revised documentation to show the correct argument name.
1179 (createTempFile): Partly merged with classpath.
1180 (compareTo): Simplified.
1181 (lastModified): Throw exception if time < 0.
1182 (deleteOnExit): Revised documentation.
1183
1184 2003-06-21 Michael Koch <konqueror@gmx.de>
1185
1186 * java/net/PlainSocketImpl.java:
1187 Reformatted.
1188 (PlainSocketImpl): Merged class documentaion with classpath.
1189 (in): Moved.
1190 (out): Moved.
1191 (PlainSocketImpl): New empty constructor.
1192 (finalize): Moved.
1193 (setOption): Merged documentation from classpath.
1194 (getOption): Likewise.
1195 (create): Likewise.
1196 (connect): Likewise.
1197 (bind): Likewise.
1198 (listen): Likewise.
1199 (accept): Likewise.
1200 (available): Likewise.
1201 (close): Likewise.
1202 (read): Likewise.
1203 (write): Likewise.
1204 (getInputStream): Made synchronozed to get sure that only one stream
1205 object can be created for this socket, merged documentation from
1206 classpath.
1207 (getOutputStream): Likewise.
1208
1209 2003-06-21 Michael Koch <konqueror@gmx.de>
1210
1211 * java/net/PlainSocketImpl.java:
1212 Reformatting.
1213 (static): New implicit method.
1214 (read): Made package private.
1215 (write): Likewise.
1216
1217 2003-06-21 Michael Koch <konqueror@gmx.de>
1218
1219 * java/util/SimpleTimeZone.java:
1220 Removed unneeded import, reformatting.
1221
1222 2003-06-21 Michael Koch <konqueror@gmx.de>
1223
1224 * java/text/DateFormat.java,
1225 java/text/SimpleDateFormat.java,
1226 java/util/Locale.java:
1227 New versions from classpath.
1228
1229 2003-06-21 Michael Koch <konqueror@gmx.de>
1230
1231 * javax/swing/SpinnerModel.java:
1232 New file from classpath.
1233 * javax/swing/border/LineBorder.java,
1234 javax/swing/border/SoftBevelBorder.java,
1235 javax/swing/plaf/BorderUIResource.java,
1236 javax/swing/plaf/basic/BasicBorders.java:
1237 New versions from classpath.
1238 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1239 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1240 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1241 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1242 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1243 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1244 New binary files from classpath.
1245
1246 2003-06-21 Michael Koch <konqueror@gmx.de>
1247
1248 * java/util/logging/LogRecord.java,
1249 java/util/logging/Logger.java,
1250 java/util/logging/SocketHandler.java,
1251 java/util/logging/SimpleFormatter.java,
1252 java/util/logging/Formatter.java,
1253 java/util/logging/ErrorManager.java,
1254 java/util/logging/Handler.java,
1255 java/util/logging/FileHandler.java,
1256 java/util/logging/LogManager.java,
1257 java/util/logging/Level.java,
1258 java/util/logging/ConsoleHandler.java,
1259 java/util/logging/StreamHandler.java,
1260 java/util/logging/LoggingPermission.java,
1261 java/util/logging/Filter.java,
1262 java/util/logging/MemoryHandler.java,
1263 java/util/logging/XMLFormatter.java:
1264 New files from classpath.
1265
1266 2003-06-20 Michael Koch <konqueror@gmx.de>
1267
1268 * java/io/ObjectStreamField.java
1269 (unshared): new member variable.
1270 (ObjectStreamField): New constructor.
1271 (isUnshared): New method.
1272
1273 2003-06-20 Michael Koch <konqueror@gmx.de>
1274
1275 * java/net/URLStreamHandler.java
1276 (hostsEqual): Rewritten.
1277
1278 2003-06-20 Michael Koch <konqueror@gmx.de>
1279
1280 * gnu/java/nio/MappedByteFileBuffer.java,
1281 gnu/java/nio/natMappedByteFileBuffer.cc:
1282 Removed
1283 * java/nio/MappedByteBufferImpl.java:
1284 New file.
1285 * gnu/java/nio/FileChannelImpl.java:
1286 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1287 * Makefile.am
1288 (ordinary_java_source_files): Removed
1289 gnu/java/nio/MappedByteFileBuffer.java and added
1290 java/nio/MappedByteBufferImpl.java.
1291 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1292 * Makefile.in: Regenerated.
1293
1294 2003-06-19 Michael Koch <konqueror@gmx.de>
1295
1296 * gnu/java/nio/DatagramChannelImpl.java
1297 (fd): Removed.
1298 (blocking): New member variable.
1299 (socket): Likewise.
1300 (DatagramChannelImpl): Throws IOException, initialize socket.
1301 (socket):Implemented.
1302 (implCloseSelectableChannel): Throws IOException, implemented.
1303 (implConfigureBlocking): Likewise.
1304 (connect): Likewise.
1305 (disconnect): Likewise.
1306 (isConnected): Likewise.
1307 (write): Likewise.
1308 (read): Likewise.
1309 (receive): Throws IOException.
1310 (send): Likewise.
1311 * gnu/java/nio/SocketChannelImpl.java
1312 (read): Implemented.
1313 (write): Implemented.
1314
1315 2003-06-19 Michael Koch <konqueror@gmx.de>
1316
1317 * javax/swing/JComponent.java,
1318 javax/swing/JInternalFrame.java,
1319 javax/swing/MenuSelectionManager.java,
1320 javax/swing/SwingUtilities.java,
1321 javax/swing/ToggleButtonModel.java:
1322 New versions from classpath.
1323
1324 2003-06-19 Michael Koch <konqueror@gmx.de>
1325
1326 * java/text/CollationElementIterator.java
1327 (NULLORDER): Initialize with -1 as JDK documentation says.
1328
1329 2003-06-19 Michael Koch <konqueror@gmx.de>
1330
1331 * java/net/HttpURLConnection.java,
1332 java/net/Inet4Address.java,
1333 java/net/Inet6Address.java,
1334 java/net/SocketImpl.java,
1335 java/net/URLClassLoader.java:
1336 Reworked import statements.
1337 * java/net/InetAddress.java
1338 (getByAddress): Simplified.
1339 * java/net/ServerSocket.java
1340 (ServerSocket): Moved special handling during bind operation to
1341 bind().
1342 (bind): Handle different cases when trying to bind a socket.
1343 * java/net/URLConnection.java
1344 (getHeaderFieldDate): Merged with classpath.
1345 (getHeaderFieldInt): Likewise.
1346
1347 2003-06-19 Michael Koch <konqueror@gmx.de>
1348
1349 * java/util/zip/InflaterInputStream.java
1350 (InflaterInputStream): Throw NullPointerException if in is null (as
1351 JDK does).
1352
1353 2003-06-19 Michael Koch <konqueror@gmx.de>
1354
1355 * java/awt/Font.java
1356 javax/swing/UIManager.java
1357 javax/swing/border/AbstractBorder.java
1358 javax/swing/border/BevelBorder.java
1359 javax/swing/border/Border.java
1360 javax/swing/border/CompoundBorder.java
1361 javax/swing/border/EmptyBorder.java
1362 javax/swing/border/EtchedBorder.java
1363 javax/swing/border/LineBorder.java
1364 javax/swing/border/MatteBorder.java
1365 javax/swing/border/TitledBorder.java
1366 javax/swing/plaf/BorderUIResource.java
1367 javax/swing/plaf/basic/BasicBorders.java
1368 javax/swing/plaf/basic/BasicButtonUI.java
1369 javax/swing/plaf/basic/BasicCheckBoxUI.java
1370 javax/swing/plaf/basic/BasicGraphicsUtils.java
1371 javax/swing/plaf/basic/BasicLabelUI.java
1372 javax/swing/plaf/basic/BasicRadioButtonUI.java
1373 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1374 New versions from classpath.
1375 * javax/swing/border/SoftBevelBorder.java:
1376 New file from classpath.
1377 * javax/swing/border/doc-files/LineBorder-1.png,
1378 javax/swing/border/doc-files/BevelBorder-1.png,
1379 javax/swing/border/doc-files/BevelBorder-2.png,
1380 javax/swing/border/doc-files/BevelBorder-3.png,
1381 javax/swing/border/doc-files/EmptyBorder-1.png,
1382 javax/swing/border/doc-files/EtchedBorder-1.png,
1383 javax/swing/border/doc-files/EtchedBorder-2.png,
1384 javax/swing/border/doc-files/MatteBorder-1.png,
1385 javax/swing/border/doc-files/MatteBorder-2.png,
1386 javax/swing/border/doc-files/MatteBorder-3.png,
1387 javax/swing/border/doc-files/MatteBorder-4.png,
1388 javax/swing/border/doc-files/MatteBorder-5.png,
1389 javax/swing/border/doc-files/MatteBorder-6.png,
1390 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1391 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1392 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1393 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1394 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1395 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1396 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1397 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1398 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1399 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1400 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1401 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1402 New binary files from classpath.
1403 * Makefile.am
1404 (awt_java_source_files): Added
1405 javax/swing/border/SoftBevelBorder.java.
1406 * Makefile.in: Regenerated.
1407
1408 2003-06-19 Michael Koch <konqueror@gmx.de>
1409
1410 * gnu/java/security/x509/X509Certificate.java
1411 (writeReplace): Merged from classpath.
1412
1413 2003-06-19 Michael Koch <konqueror@gmx.de>
1414
1415 * gnu/java/nio/FileChannelImpl.java
1416 (map_address): Made public.
1417 (FileChannelImpl): Merged with classpath.
1418 * gnu/java/nio/natFileChannelImpl.cc
1419 (nio_mmap_file): Commented out unused arguments.
1420 (nio_unmmap_file): Likewise.
1421 (niu_msync): Likewise.
1422
1423 2003-06-19 Michael Koch <konqueror@gmx.de>
1424
1425 * java/awt/image/IndexColorModel.java:
1426 New version from classpath.
1427
1428 2003-06-18 Tom Tromey <tromey@redhat.com>
1429
1430 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1431 on arrays.
1432 (isLoopbackAddress): Likewise.
1433 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1434 on arrays.
1435
1436 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1437
1438 * java/lang/natVMSecurityManager.cc (getClassContext):
1439 Use maxlen instead of len for loop bound.
1440
1441 2003-06-18 Michael Koch <konqueror@gmx.de>
1442
1443 * gnu/java/nio/SelectorImpl.java
1444 (register): Use fd with value 0 for now, will be fixed later.
1445 * gnu/java/nio/ServerSocketChannelImpl.java
1446 (fd): Removed.
1447 (local_port): Removed.
1448 (InetSocketAddress): Removed.
1449 (ServerSocketChannelImpl): Just initialize internal socket object.
1450 (implCloseSelectableChannel): Close internal socket object.
1451 (implConfigureBlocking): Added comment.
1452 (accept): Use jaba.net stuff to accept socket.
1453 * gnu/java/nio/SocketChannelImpl.java
1454 (fd): Removed.
1455 (local_port): Removed.
1456 (InetSocketAddress): Removed.
1457 (SocketCreate): Removed.
1458 (SocketConnect): Removed.
1459 (SocketBind): Removed.
1460 (SocketListen): Removed.
1461 (SocketAvailable): Removed.
1462 (SocketClose): Removed.
1463 (SocketRead): Removed.
1464 (SocketWrite): Removed.
1465 (SocketChannelImpl): Just initialize internal socket object.
1466 (implCloseSelectableChannel): Close internal socket object.
1467 (implConfigureBlocking): Fixed implementation, added comment.
1468 (connect): Use internal socket object to connect.
1469 (socket): No need for sanity checks.
1470 (read): Comment out some stuff, this will be reimplemented in the next
1471 commit.
1472 (write): Likewise.
1473 * gnu/java/nio/natFileChannelImpl.cc
1474 (nio_mmap_file): Line wrapped.
1475 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1476 * Makefile.am
1477 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1478 * Makefile.in: Regenerated.
1479
1480 2003-06-18 Michael Koch <konqueror@gmx.de>
1481
1482 * java/util/Locale.java
1483 (equals): Merged from classpath.
1484
1485 2003-06-18 Michael Koch <konqueror@gmx.de>
1486
1487 * java/net/InetAddress.java:
1488 Reformatted to better match classpath's version.
1489 * java/net/URL.java
1490 (equals): Simplified.
1491 * java/net/URLConnection.java
1492 (setDoInput): Revised documentation.
1493 (getDefaultUseCaches): Likewise.
1494 (setRequestProperty): Added @since tag.
1495
1496 2003-06-17 Michael Koch <konqueror@gmx.de>
1497
1498 * java/net/InetSocketAddress.java
1499 (InetSocketAddress): Use wildcard address if addr is null.
1500 (InetSocketAddress): Dont duplicate implementation.
1501 (InetSocketAddress): Throw exception when hostname is null.
1502 * java/net/Socket.java:
1503 Reworked imports.
1504 (Socket): Throw exception when raddr is null, handle case when laddr
1505 is null.
1506
1507 2003-06-17 Michael Koch <konqueror@gmx.de>
1508
1509 * java/nio/DirectByteBufferImpl.java
1510 (address): Made package private.
1511 (DirectByteBufferImpl): New constructor.
1512 * java/nio/natDirectByteBufferImpl.cc
1513 (allocateImpl): Moved to java.nio namespace, implemented.
1514 (freeImpl): Likewise.
1515 (getImpl): Likewise.
1516 (putImpl): Likewise.
1517 * jni.cc
1518 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1519 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1520 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1521
1522 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1523
1524 * include/powerpc-signal.h: New File.
1525 * configure.in: Use it.
1526 * configure: Regenerated.
1527
1528 2003-06-17 Michael Koch <konqueror@gmx.de>
1529
1530 * java/util/Locale.java
1531 (getDisplayLanguage): Made it final.
1532 (getDisplayCountry): Likewise.
1533 (getDisplayVariant): Likewise.
1534 (getDisplayName): Likewise.
1535
1536 2003-06-17 Michael Koch <konqueror@gmx.de>
1537
1538 * java/util/PropertyResourceBundle.java:
1539 Removed unneeded import.
1540
1541 2003-06-17 Michael Koch <konqueror@gmx.de>
1542
1543 * java/util/prefs/AbstractPreferences.java,
1544 java/util/prefs/PreferencesFactory.java:
1545 Reworked imports, removed unused imports.
1546 * java/util/prefs/Preferences.java
1547 (systemNodeForPackage): Method takes a Class not an Object.
1548 (userNodeForPackage): Likewise.
1549 (nodeForPackage): Likewise.
1550
1551 2003-06-17 Michael Koch <konqueror@gmx.de>
1552
1553 * gnu/java/security/x509/X509Certificate.java:
1554 Explicitely import used classes.
1555
1556 2003-06-17 Michael Koch <konqueror@gmx.de>
1557
1558 * java/util/zip/ZipEntry.java,
1559 java/util/zip/ZipFile.java,
1560 java/util/zip/ZipInputStream.java,
1561 java/util/zip/ZipOutputStream.java:
1562 Reworked imports, only import used classes.
1563
1564 2003-06-17 Michael Koch <konqueror@gmx.de>
1565
1566 * gnu/java/lang/ArrayHelper.java,
1567 gnu/java/lang/ClassHelper.java:
1568 Reformatted to match classpath's versions.
1569
1570 2003-06-14 Michael Koch <konqueror@gmx.de>
1571
1572 * gnu/java/nio/FileChannelImpl.java
1573 (map_address): Removed incorrect comment.
1574 * gnu/java/nio/SelectorImpl.java
1575 (register): Remove code duplication and code for file channel handling.
1576 * gnu/java/nio/ServerSocketChannelImpl.java
1577 (serverSocket): Renamed from sock_object.
1578 (ServerSocketChannel): Initialize serverSocket.
1579 (socket): Return serverSocket.
1580 * gnu/java/nio/SocketChannelImpl.java
1581 (socket): Renamed from sock_object.
1582 (isConnectionPenging): Simplified.
1583 (socket): Return socket.
1584 2003-06-14 Michael Koch <konqueror@gmx.de>
1585
1586 * java/security/BasicPermission.java:
1587 New version from classpath.
1588
1589 2003-06-14 Michael Koch <konqueror@gmx.de>
1590
1591 * javax/naming/directory/Attribute.java:
1592 New version from classpath.
1593
1594 2003-06-14 Michael Koch <konqueror@gmx.de>
1595
1596 * java/io/BufferedReader.java,
1597 java/io/FileOutputStream.java:
1598 New versions from classpath.
1599
1600 2003-06-12 Andrew Haley <aph@redhat.com>
1601
1602 * prims.cc (catch_segv): Create exception in handler.
1603 (catch_fpe): Likewise.
1604 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1605 (_Jv_ThrowSignal): Remove.
1606
1607 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1608 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1609 to nullp and arithexception.
1610 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1611 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1612 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1613 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1614 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1615
1616 2003-06-11 Andrew Haley <aph@redhat.com>
1617
1618 * jni.cc (_Jv_JNI_check_types): New.
1619 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1620 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1621 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1622 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1623
1624 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1625 infinite loop.
1626
1627 2003-06-11 Tom Tromey <tromey@redhat.com>
1628
1629 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1630 * java/io/PrintStream.java: Not deprecated.
1631
1632 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1633
1634 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1635 (fillOval): implemented
1636 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1637 (fillArc): implemented.
1638 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1639 (fillArc): added native method.
1640 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1641 (fillArc): added native method.
1642
1643 2003-06-11 Michael Koch <konqueror@gmx.de>
1644
1645 * java/awt/im/InputSubset.java:
1646 New version from classpath.
1647
1648 2003-06-11 Michael Koch <konqueror@gmx.de>
1649
1650 * javax/swing/AbstractAction.java,
1651 javax/swing/AbstractButton.java,
1652 javax/swing/AbstractCellEditor.java,
1653 javax/swing/AbstractListModel.java,
1654 javax/swing/BorderFactory.java,
1655 javax/swing/Box.java,
1656 javax/swing/BoxLayout.java,
1657 javax/swing/ButtonGroup.java,
1658 javax/swing/DefaultButtonModel.java,
1659 javax/swing/DefaultListModel.java,
1660 javax/swing/DefaultListSelectionModel.java,
1661 javax/swing/FocusManager.java,
1662 javax/swing/ImageIcon.java,
1663 javax/swing/InputMap.java,
1664 javax/swing/JApplet.java,
1665 javax/swing/JButton.java,
1666 javax/swing/JCheckBox.java,
1667 javax/swing/JCheckBoxMenuItem.java,
1668 javax/swing/JColorChooser.java,
1669 javax/swing/JComboBox.java,
1670 javax/swing/JComponent.java,
1671 javax/swing/JDesktopPane.java,
1672 javax/swing/JDialog.java,
1673 javax/swing/JEditorPane.java,
1674 javax/swing/JFileChooser.java,
1675 javax/swing/JFormattedTextField.java,
1676 javax/swing/JFrame.java,
1677 javax/swing/JLabel.java,
1678 javax/swing/JLayeredPane.java,
1679 javax/swing/JList.java,
1680 javax/swing/JMenuBar.java,
1681 javax/swing/JMenuItem.java,
1682 javax/swing/JOptionPane.java,
1683 javax/swing/JPanel.java,
1684 javax/swing/JPasswordField.java,
1685 javax/swing/JPopupMenu.java,
1686 javax/swing/JProgressBar.java,
1687 javax/swing/JRadioButton.java,
1688 javax/swing/JRadioButtonMenuItem.java,
1689 javax/swing/JRootPane.java,
1690 javax/swing/JScrollBar.java,
1691 javax/swing/JScrollPane.java,
1692 javax/swing/JSeparator.java,
1693 javax/swing/JSlider.java,
1694 javax/swing/JTabbedPane.java,
1695 javax/swing/JTable.java,
1696 javax/swing/JTextField.java,
1697 javax/swing/JToggleButton.java,
1698 javax/swing/JToolBar.java,
1699 javax/swing/JToolTip.java,
1700 javax/swing/JTree.java,
1701 javax/swing/JViewport.java,
1702 javax/swing/JWindow.java,
1703 javax/swing/KeyStroke.java,
1704 javax/swing/ListSelectionModel.java,
1705 javax/swing/LookAndFeel.java,
1706 javax/swing/RepaintManager.java,
1707 javax/swing/ScrollPaneLayout.java,
1708 javax/swing/SizeRequirements.java,
1709 javax/swing/SwingConstants.java,
1710 javax/swing/Timer.java,
1711 javax/swing/UIDefaults.java,
1712 javax/swing/UIManager.java,
1713 javax/swing/border/AbstractBorder.java,
1714 javax/swing/border/CompoundBorder.java,
1715 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1716 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1717 javax/swing/colorchooser/ColorSelectionModel.java,
1718 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1719 javax/swing/event/AncestorEvent.java,
1720 javax/swing/event/HyperlinkEvent.java,
1721 javax/swing/event/InternalFrameAdapter.java,
1722 javax/swing/event/InternalFrameEvent.java,
1723 javax/swing/event/ListDataEvent.java,
1724 javax/swing/event/MouseInputAdapter.java,
1725 javax/swing/event/SwingPropertyChangeSupport.java,
1726 javax/swing/event/TableModelEvent.java,
1727 javax/swing/event/TreeWillExpandListener.java,
1728 javax/swing/event/UndoableEditEvent.java,
1729 javax/swing/filechooser/FileFilter.java,
1730 javax/swing/filechooser/FileSystemView.java,
1731 javax/swing/filechooser/FileView.java,
1732 javax/swing/plaf/BorderUIResource.java,
1733 javax/swing/plaf/basic/BasicDefaults.java,
1734 javax/swing/table/AbstractTableModel.java,
1735 javax/swing/table/DefaultTableCellRenderer.java,
1736 javax/swing/table/DefaultTableColumnModel.java,
1737 javax/swing/table/DefaultTableModel.java,
1738 javax/swing/table/TableColumn.java,
1739 javax/swing/text/JTextComponent.java,
1740 javax/swing/tree/AbstractLayoutCache.java,
1741 javax/swing/tree/DefaultMutableTreeNode.java,
1742 javax/swing/tree/DefaultTreeCellEditor.java,
1743 javax/swing/tree/DefaultTreeCellRenderer.java,
1744 javax/swing/tree/DefaultTreeModel.java,
1745 javax/swing/tree/DefaultTreeSelectionModel.java,
1746 javax/swing/tree/FixedHeightLayoutCache.java,
1747 javax/swing/tree/TreeCellEditor.java,
1748 javax/swing/tree/TreeModel.java,
1749 javax/swing/tree/TreeNode.java,
1750 javax/swing/tree/TreePath.java,
1751 javax/swing/tree/TreeSelectionModel.java,
1752 javax/swing/tree/VariableHeightLayoutCache.java,
1753 javax/swing/undo/AbstractUndoableEdit.java,
1754 javax/swing/undo/CompoundEdit.java,
1755 javax/swing/undo/StateEdit.java,
1756 javax/swing/undo/UndoManager.java,
1757 javax/swing/undo/UndoableEditSupport.java:
1758 New versions from classpath.
1759 * javax/swing/table/JTableHeader.java:
1760 New file from classpath.
1761 * Makefile.am
1762 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1763 * Makefile.in: Regenerated.
1764
1765 2003-06-11 Michael Koch <konqueror@gmx.de>
1766
1767 * java/nio/MappedByteBuffer.java,
1768 java/nio/channels/Channels.java,
1769 java/nio/channels/ServerSocketChannel.java,
1770 java/nio/channels/spi/AbstractSelector.java:
1771 Removed unneeded imports.
1772
1773 2003-06-11 Michael Koch <konqueror@gmx.de>
1774
1775 * java/net/DatagramSocket.java:
1776 Partly merged with classpath.
1777
1778 2003-06-11 Michael Koch <konqueror@gmx.de>
1779
1780 * java/awt/Frame.java,
1781 java/awt/Graphics.java,
1782 java/awt/Menu.java,
1783 java/awt/Robot.java,
1784 java/awt/image/ColorModel.java:
1785 New versions from classpath.
1786
1787 2003-06-10 Michael Koch <konqueror@gmx.de>
1788
1789 * java/io/PrintStream.java:
1790 Merged version from classpath.
1791 (close): Removed sychronized keyword. This class is not garantied to
1792 be thread-safe.
1793 (write): Likewise.
1794
1795 2003-06-09 Tom Tromey <tromey@redhat.com>
1796
1797 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1798 field.
1799 (getDescent): Likewise, for "descent".
1800
1801 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1802
1803 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1804 (getMaxDescent): adjusted return value.
1805 (getAscent): modified to use metrics for 'O'.
1806 (getDescent): modified to use metrics for 'y'.
1807
1808 2003-06-08 Anthony Green <green@redhat.com>
1809
1810 * java/net/URLStreamHandler.java (sameFile): Fix port value
1811 comparison.
1812 * java/net/URL.java (handler): Make package private.
1813 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1814
1815 2003-06-07 Tom Tromey <tromey@redhat.com>
1816
1817 For PR libgcj/11085:
1818 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1819 Limit number of characters in numeric field when required.
1820 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1821 Respect maximumIntegerDigits.
1822
1823 2003-06-08 Michael Koch <konqueror@gmx.de>
1824
1825 * java/net/Socket.java
1826 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1827 call bind() and connect() to actually do the bind and connect tasks.
1828 (bind): Connect to canonical address if bindpoint is null, create
1829 socket and bind it to bindpoint.
1830 (connect): Check for exceptions.
1831
1832 2003-06-08 Michael Koch <konqueror@gmx.de>
1833
1834 * java/net/DatagramSocket.java
1835 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1836 into the Multicast constructors.
1837 * java/net/DatagramSocketImpl.java
1838 (getOption): Removed.
1839 (setOption): Removed.
1840 * java/net/MulticastSocket.java
1841 (MulticastSocket): Call setReuseAddress (true).
1842 * java/net/SocketImpl.java
1843 (getOption): Removed.
1844 (setOption): Removed.
1845
1846 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1847
1848 PR libgcj/10886:
1849 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1850 Test for empty vector.
1851
1852 2003-06-06 Mark Wielaard <mark@klomp.org>
1853
1854 * java/security/Security.java (secprops): Initialize.
1855 (loadProviders): Return boolean.
1856 (static): Check result of loadProvider calls. If necessary
1857 display WARNING and fallback to Gnu provider.
1858
1859 2002-06-06 James Clark <jjc@jclark.com>
1860
1861 Fix for PR libgcj/8738:
1862 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1863 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1864 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1865 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1866 (write): Always decrease avail when count is increased.
1867 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1868 and whether output buffer is full before increasing size.
1869
1870 2002-06-06 Mark Wielaard <mark@klomp dot org>
1871
1872 * java/io/PrintStream.java (writeChars(char[],int, int)):
1873 Check converter.havePendingBytes().
1874 (writeChars(String,int,int)): Likewise.
1875 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1876 Check converter.havePendingBytes() and flush buffer when stalled.
1877
1878 2003-06-07 Michael Koch <konqueror@gmx.de>
1879
1880 * include/posix.h
1881 (O_DSYNC): Define O_DSYNC on platforms not
1882 supporting O_FSYNC (newlib).
1883
1884 2003-06-06 Mark Wielaard <mark@klomp.org>
1885
1886 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1887 AWTError.
1888
1889 2003-06-06 Michael Koch <konqueror@gmx.de>
1890
1891 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1892 More compile fixes from my stupid work yesterday.
1893
1894 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1895
1896 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1897 if _IEEE_LIBM is undefined.
1898
1899 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1900
1901 * libjava/include/posix.h (O_SYNC): Define if not available
1902 and a reasonable, perhaps more conservative, replacement exists.
1903 (O_DSYNC): Likewise.
1904 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1905
1906 2003-06-05 Michael Koch <konqueror@gmx.de>
1907
1908 * javax/swing/plaf/BorderUIResource.java,
1909 javax/swing/plaf/basic/BasicDefaults.java,
1910 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1911 More compile fixes for latest Border commit. I should not commit
1912 something in this heat here ...
1913
1914 2003-06-05 Michael Koch <konqueror@gmx.de>
1915
1916 * javax/swing/border/BevelBorder.java
1917 (BevelBorder): Removed.
1918 * javax/swing/border/EmptyBorder.java:
1919 Reformatted.
1920 (EmptyBorder): Removed.
1921 (getBorderInsets): Dont use l, r, t and b.
1922 * javax/swing/border/EtchedBorder.java
1923 (EtchedBorder): Removed.
1924 * javax/swing/border/LineBorder.java
1925 (LineBorder): Removed.
1926 * javax/swing/border/MatteBorder.java
1927 (MatteBorder): Removed.
1928 * javax/swing/border/TitledBorder.java
1929 (defaultBorder): Use other default for now.
1930 (defaultFont): Likewise.
1931 (defaultColor): Likewise.
1932
1933 2003-06-05 Michael Koch <konqueror@gmx.de>
1934
1935 * javax/swing/border/Border.java:
1936 New version from classpath.
1937
1938 2003-06-05 Michael Koch <konqueror@gmx.de>
1939
1940 * javax/swing/border/AbstractBorder.java,
1941 javax/swing/border/BevelBorder.java,
1942 javax/swing/border/CompoundBorder.java,
1943 javax/swing/border/EmptyBorder.java,
1944 javax/swing/border/EtchedBorder.java,
1945 javax/swing/border/LineBorder.java,
1946 javax/swing/border/MatteBorder.java,
1947 javax/swing/border/TitledBorder.java:
1948 New versions from Classpath.
1949
1950 2003-06-05 Michael Koch <konqueror@gmx.de>
1951
1952 * java/awt/Button.java,
1953 java/awt/Checkbox.java,
1954 java/awt/CheckboxMenuItem.java,
1955 java/awt/Choice.java,
1956 java/awt/Container.java,
1957 java/awt/Dialog.java,
1958 java/awt/EventQueue.java,
1959 java/awt/FileDialog.java,
1960 java/awt/Frame.java,
1961 java/awt/Label.java,
1962 java/awt/List.java,
1963 java/awt/Menu.java,
1964 java/awt/MenuItem.java,
1965 java/awt/Panel.java,
1966 java/awt/PopupMenu.java,
1967 java/awt/Rectangle.java,
1968 java/awt/ScrollPane.java,
1969 java/awt/Scrollbar.java,
1970 java/awt/TextArea.java,
1971 java/awt/TextField.java,
1972 java/awt/Window.java,
1973 java/awt/datatransfer/DataFlavor.java,
1974 java/awt/dnd/DragSource.java,
1975 java/awt/dnd/DragSourceContext.java,
1976 java/awt/event/HierarchyEvent.java,
1977 java/awt/event/MouseWheelEvent.java,
1978 java/awt/im/InputContext.java,
1979 java/awt/image/BufferedImage.java,
1980 java/awt/image/ComponentColorModel.java,
1981 java/awt/image/Raster.java,
1982 java/awt/image/WritableRaster.java,
1983 java/awt/peer/ComponentPeer.java,
1984 java/awt/print/PageFormat.java,
1985 java/awt/print/PrinterJob.java:
1986 New versions from Classpath.
1987
1988 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1989
1990 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1991 numberFormat.setParseIntegerOnly(true).
1992
1993 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1994
1995 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1996
1997 2003-06-03 Andrew Haley <aph@redhat.com>
1998
1999 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2000 stack volatile to prevent optimization from removing it.
2001
2002 2003-05-27 Michael Koch <konqueror@gmx.de>
2003
2004 * java/util/zip/Deflater.java
2005 (FILTERED): Merged documentation from classpath.
2006 * java/util/zip/DeflaterOutputStream.java
2007 (DeflaterOutputStream): Merged documentation and argument validity
2008 check from classpath.
2009 (deflate): Merged documentation from classpath.
2010 (finish): Likewise.
2011 * java/util/zip/Inflater.java
2012 (Inflater): Merged class documentation from classpath.
2013 (zstream): Reordered.
2014 (is_finished): Reordered.
2015 (dict_needed): Reordered.
2016 (Inflater): Reordered, merged documentation from classpath.
2017 (end): Likewise.
2018 (finalize): Merged documentation from classpath.
2019 (finished): Likewise.
2020 (getAdler): Likewise.
2021 (getRemaining): Likewise.
2022 (getTotalIn): Likewise.
2023 (getTotalOut): Likewise.
2024 (inflate): Likewise.
2025 (needsDictionary): Likewise.
2026 (needsInput): Likewise.
2027 (reset): Likewise.
2028 (setDictionary): Likewise.
2029 (setInput): Likewise.
2030
2031 2003-05-27 Michael Koch <konqueror@gmx.de>
2032
2033 * java/net/URLConnection.java
2034 (getHeaderFieldInt): Merged with classpath.
2035
2036 2003-05-27 Michael Koch <konqueror@gmx.de>
2037
2038 * java/io/PrintStream.java
2039 (PrintStream): Reformatted.
2040 (PrintStream): New method, merged from classpath.
2041 (write): Reformatted.
2042
2043 2003-05-27 Michael Koch <konqueror@gmx.de>
2044
2045 * java/lang/System.java:
2046 Explicitely import needed classes.
2047
2048 2003-05-26 Michael Koch <konqueror@gmx.de>
2049
2050 * java/net/NetPermission.java,
2051 java/net/NetworkInterface.java,
2052 java/net/PasswordAuthentication.java,
2053 java/net/SocketPermission.java:
2054 New versions from classpath.
2055
2056 2003-05-25 Michael Koch <konqueror@gmx.de>
2057
2058 * java/io/PushbackInputStream.java,
2059 java/net/Authenticator.java,
2060 java/net/ContentHandler.java,
2061 java/net/ContentHandlerFactory.java,
2062 java/net/DatagramSocket.java,
2063 java/net/DatagramSocketImpl.java,
2064 java/net/DatagramSocketImplFactory.java,
2065 java/net/FileNameMap.java,
2066 java/net/SocketImplFactory.java,
2067 java/net/SocketOptions.java,
2068 java/net/URLStreamHandlerFactory.java:
2069 Merged new versions from classpath.
2070
2071 2003-05-25 Michael Koch <konqueror@gmx.de>
2072
2073 * java/awt/Checkbox.java,
2074 java/awt/Dialog.java,
2075 java/awt/Font.java,
2076 java/awt/Frame.java,
2077 java/awt/ScrollPaneAdjustable.java,
2078 java/awt/Scrollbar.java,
2079 java/awt/Window.java:
2080 New versions from classpath.
2081
2082 2003-05-22 Jeff Sturm <jsturm@one-point.com>
2083
2084 PR libgcj/10838:
2085 * java/io/ObjectInputStream (enableResolveObject):
2086 Fixed spelling of permission name.
2087
2088 2003-05-20 Michael Koch <konqueror@gmx.de>
2089
2090 * java/io/DataInputStream.java
2091 (convertFromUTF): Merged comment from classpath.
2092 * java/io/PrintStream.java
2093 (error_occured): Renamed from error, merged comment from classpath.
2094 (PrintStream): No need to initialized error.
2095 (checkError): Replace error with error_occurred.
2096 (setError): Likewise.
2097
2098 2003-05-20 Michael Koch <konqueror@gmx.de>
2099
2100 * java/io/DataInputStream.java:
2101 Reformatted, Replaced < and & with html entitites in documentation.
2102 * java/io/File.java:
2103 Reformatted.
2104 * java/io/PrintWriter.java:
2105 Moved class documentation.
2106
2107 2003-05-20 Michael Koch <konqueror@gmx.de>
2108
2109 * gnu/java/nio/ByteBufferImpl.java,
2110 gnu/java/nio/CharBufferImpl.java,
2111 gnu/java/nio/CharViewBufferImpl.java,
2112 gnu/java/nio/DirectByteBufferImpl.java,
2113 gnu/java/nio/DoubleBufferImpl.java,
2114 gnu/java/nio/DoubleViewBufferImpl.java,
2115 gnu/java/nio/FloatBufferImpl.java,
2116 gnu/java/nio/FloatViewBufferImpl.java,
2117 gnu/java/nio/IntBufferImpl.java,
2118 gnu/java/nio/IntViewBufferImpl.java,
2119 gnu/java/nio/LongBufferImpl.java,
2120 gnu/java/nio/LongViewBufferImpl.java,
2121 gnu/java/nio/natDirectByteBufferImpl.cc,
2122 gnu/java/nio/ShortBufferImpl.java,
2123 gnu/java/nio/ShortViewBufferImpl.java:
2124 Moved files to java/nio.
2125 * gnu/java/nio/SocketChannelImpl.java
2126
2127 * java/nio/ByteBuffer.java,
2128 java/nio/CharBuffer.java,
2129 java/nio/DoubleBuffer.java,
2130 java/nio/FloatBuffer.java,
2131 java/nio/IntBuffer.java,
2132 java/nio/LongBuffer.java,
2133 java/nio/ShortBuffer.java:
2134 Dont import anything.
2135 * java/nio/ByteBufferImpl.java,
2136 java/nio/CharBufferImpl.java,
2137 java/nio/CharViewBufferImpl.java,
2138 java/nio/DirectByteBufferImpl.java,
2139 java/nio/DoubleBufferImpl.java,
2140 java/nio/DoubleViewBufferImpl.java,
2141 java/nio/FloatBufferImpl.java,
2142 java/nio/FloatViewBufferImpl.java,
2143 java/nio/IntBufferImpl.java,
2144 java/nio/IntViewBufferImpl.java,
2145 java/nio/LongBufferImpl.java,
2146 java/nio/LongViewBufferImpl.java,
2147 java/nio/natDirectByteBufferImpl.cc,
2148 java/nio/ShortBufferImpl.java,
2149 java/nio/ShortViewBufferImpl.java:
2150 Moved from gnu/java/nio.
2151 * Makefile.am
2152 (ordinary_java_source_files): Moved files from gnu/java/nio to
2153 java/nio.
2154 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2155 to java/nio.
2156 * Makefile.in: Regenerated.
2157
2158 2003-05-19 Michael Koch <konqueror@gmx.de>
2159
2160 * java/util/Calendar.java
2161 (get): Not final anymore since JDK 1.4
2162 (set): Likewise.
2163
2164 2003-05-19 Michael Koch <konqueror@gmx.de>
2165
2166 * java/text/CollationKey.java:
2167 Merged copyright and dat from classpath.
2168 * java/text/RuleBasedCollator.java:
2169 Merged class documentation from classpath.
2170
2171 2003-05-19 Michael Koch <konqueror@gmx.de>
2172
2173 * java/nio/CharBuffer.java
2174 (toString): Compile fix.
2175
2176 2003-05-19 Michael Koch <konqueror@gmx.de>
2177
2178 * gnu/java/nio/ByteBufferImpl.java
2179 (putLong): Fixed conversion to bytes.
2180 (putDouble): Fixed conversion to bytes.
2181 * gnu/java/nio/DirectByteBufferImpl.java
2182 (putLong): Fixed conversion to bytes.
2183 (putDouble): Fixed conversion to bytes.
2184 * gnu/java/nio/FileLockImpl.java
2185 (isValid): Reformatted.
2186 * java/nio/Buffer.java
2187 (Buffer): Fixed off-by-one bug in handling mark.
2188 * java/nio/ByteBuffer.java:
2189 Added newline.
2190 * java/nio/CharBuffer.java
2191 (toString): Don't use relative get to get string data.
2192
2193 2003-05-16 Michael Koch <konqueror@gmx.de>
2194
2195 * java/io/natFileDescriptorPosix.cc
2196 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2197 tested.
2198
2199 2003-05-14 Michael Koch <konqueror@gmx.de>
2200
2201 * gnu/java/nio/FileLockImpl.java
2202 (released): New member variable.
2203 (FileLockImpl): Initialize released.
2204 (releaseImpl): New native method.
2205 (release): Implemented.
2206 * gnu/java/nio/SelectorImpl.java: Reformatted.
2207 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2208 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2209 (accept): Throws IOException.
2210 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2211 (implConfigureBlocking): Throws IOException.
2212 (connect): Likewise.
2213 (read): Likewise.
2214 (write): Likewise.
2215 * gnu/java/nio/natFileLockImpl.cc: New file.
2216 * java/nio/channels/FileLock.java: Reformatted.
2217 * Makefile.am:
2218 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2219 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2220 * Makefile.in: Regenerated.
2221
2222 2003-05-13 Michael Koch <konqueror@gmx.de>
2223
2224 * gnu/java/nio/CharViewBufferImpl.java
2225 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2226 (get): Shift bits to the right direction.
2227 (put): Likewise.
2228 * gnu/java/nio/DoubleViewBufferImpl.java
2229 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2230 (get): Shift bits to the right direction.
2231 (put): Likewise.
2232 * gnu/java/nio/FloatViewBufferImpl.java
2233 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2234 (get): Shift bits to the right direction.
2235 (put): Likewise.
2236 * gnu/java/nio/IntViewBufferImpl.java
2237 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2238 (get): Shift bits to the right direction.
2239 (put): Likewise.
2240 * gnu/java/nio/LongViewBufferImpl.java
2241 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2242 (get): Shift bits to the right direction.
2243 (put): Likewise.
2244 * gnu/java/nio/ShortViewBufferImpl.java
2245 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2246 (get): Shift bits to the right direction.
2247 (put): Likewise.
2248
2249 2003-05-13 Michael Koch <konqueror@gmx.de>
2250
2251 * gnu/java/nio/natDirectByteBufferImpl.cc
2252 (allocateImpl): jlong -> RawData*.
2253 (freeImpl): Likewise.
2254
2255 2003-05-13 Michael Koch <konqueror@gmx.de>
2256
2257 * java/nio/channels/FileChannel.java
2258 (MapMode.m): Made it package-private to match JDK 1.4.
2259 * java/nio/charset/Charset.java
2260 (decode): Made it final to match JDK 1.4.
2261
2262 2003-05-13 Michael Koch <konqueror@gmx.de>
2263
2264 * java/io/FileDescriptor.java
2265 (SYNC): New constant.
2266 (DSYNC): Likewise.
2267 (getLength): Renamed from lenght() to match classpath's
2268 FileDescriptor.java.
2269 * java/io/RandomAccessFile.java
2270 (RandomAccessFile): Removed unneeded mode check, implemented mode
2271 "rws" and "rwd", merged documentation from classpath.
2272 (setLength): Reformatted.
2273 (length): Use new getLength() of FileDescriptor.
2274 * java/io/natFileDescriptorEcos.cc
2275 (getLength): Renamed from length().
2276 * java/io/natFileDescriptorPosix.cc
2277 (open): Implemented support for SYNC and DSYNC.
2278 (seek): Use getLength() instead of length().
2279 (getLength): Renamed from length().
2280 * java/io/natFileDescriptorWin32.cc
2281 (getLength): Renamed from length().
2282 (seek): Use getLength() instead of length().
2283 (available): Likewise.
2284 * gnu/java/nio/natFileChannelImpl.cc
2285 (size): Use getLength() instead of length().
2286
2287 2003-05-13 Michael Koch <konqueror@gmx.de>
2288
2289 * gnu/java/nio/ByteBufferImpl.java
2290 (ByteBufferImpl): All constructors revised.
2291 (slice): Reimplemented.
2292 (duplicate): Reimplemented.
2293 (asReadOnlyBuffer): Reimplemented.
2294 * java/nio/ByteBuffer.java:
2295 Reformatted.
2296 (array_offset): Renamed from "offset" to match all other buffer
2297 classes.
2298 (ByteBuffer): All constructors revised.
2299 (allocateDirect): Implemented.
2300 (allocate): New implementation, documentation reworked.
2301 (wrap): Likewise.
2302 (get): Documentation reworked.
2303 (put): New implementation, documentation reworked.
2304 (hasArray): Documentation reworked.
2305 (arrayOffset): Likewise.
2306 (hashCode): Likewise.
2307 (equals): Likewise.
2308 (compareTo): Likewise.
2309 (order): Likewise.
2310 (compact): Likewise.
2311 (isDirect): Likewise.
2312 (slice): Likewise.
2313 (duplicate): Likewise.
2314 (asReadOnlyBuffer): Likewise.
2315 * Makefile.am
2316 (ordinary_java_source_files):
2317 Added gnu/java/nio/DirectByteBufferImpl.java.
2318 (nat_source_files):
2319 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2320 * Makefile.in: Regenerated.
2321
2322 2003-05-12 Michael Koch <konqueror@gmx.de>
2323
2324 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2325 (nio_get_*): Removed.
2326 (nio_put_*): Removed.
2327 (as*Buffer): Implemented.
2328 (compact): Implemented.
2329 (get): Documentation added.
2330 (put): Documentation added.
2331 (get*): Newly implemented.
2332 (put*): Newly implemented.
2333 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2334 (CharBufferImpl): Revised.
2335 (slice): New implementation.
2336 (duplicate): New implementation.
2337 (compact): New implementation.
2338 (asReadOnlyBuffer): New implementation.
2339 (get): Documentation revised.
2340 (order): Return native byte order.
2341 * gnu/java/nio/DirectByteBufferImpl.java
2342 (allocateDirect): objects can be null not 0.
2343 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2344 (DoubleBufferImpl): Revised.
2345 (slice): New implementation.
2346 (duplicate): New implementation.
2347 (compact): New implementation.
2348 (asReadOnlyBuffer): New implementation.
2349 (get): Documentation revised.
2350 (order): Return native byte order.
2351 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2352 (FloatBufferImpl): Revised.
2353 (slice): New implementation.
2354 (duplicate): New implementation.
2355 (compact): New implementation.
2356 (asReadOnlyBuffer): New implementation.
2357 (get): Documentation revised.
2358 (order): Return native byte order.
2359 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2360 (IntBufferImpl): Revised.
2361 (slice): New implementation.
2362 (duplicate): New implementation.
2363 (compact): New implementation.
2364 (asReadOnlyBuffer): New implementation.
2365 (get): Documentation revised.
2366 (order): Return native byte order.
2367 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2368 (LongBufferImpl): Revised.
2369 (slice): New implementation.
2370 (duplicate): New implementation.
2371 (compact): New implementation.
2372 (asReadOnlyBuffer): New implementation.
2373 (get): Documentation revised.
2374 (order): Return native byte order.
2375 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2376 (ShortBufferImpl): Revised.
2377 (slice): New implementation.
2378 (duplicate): New implementation.
2379 (compact): New implementation.
2380 (asReadOnlyBuffer): New implementation.
2381 (get): Documentation revised.
2382 (order): Return native byte order.
2383 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2384 (CharBuffer): Revised.
2385 (order): Removed.
2386 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2387 (DoubleBuffer): Revised.
2388 (allocateDirect): Removed.
2389 (order): Removed.
2390 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2391 (FloatBuffer): Revised.
2392 (allocateDirect): Removed.
2393 (order): Removed.
2394 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2395 (IntBuffer): Revised.
2396 (allocateDirect): Removed.
2397 (order): Removed.
2398 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2399 (LongBuffer): Revised.
2400 (allocateDirect): Removed.
2401 (order): Removed.
2402 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2403 (ShortBuffer): Revised.
2404 (allocateDirect): Removed.
2405 (order): Removed.
2406 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2407 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2408 * Makefile.am
2409 (ordinary_java_source_files): Added the following files:
2410 gnu/java/nio/CharViewBufferImpl.java,
2411 gnu/java/nio/DoubleViewBufferImpl.java,
2412 gnu/java/nio/FloatViewBufferImpl.java,
2413 gnu/java/nio/IntViewBufferImpl.java,
2414 gnu/java/nio/LongViewBufferImpl.java,
2415 gnu/java/nio/ShortViewBufferImpl.java
2416 (nat_source_files): Removed the following files:
2417 gnu/java/nio/natByteBufferImpl.cc,
2418 gnu/java/nio/natCharBufferImpl.cc
2419 * Makefile.in: Regenerated.
2420
2421 2003-05-12 Michael Koch <konqueror@gmx.de>
2422
2423 * gnu/java/nio/CharViewBufferImpl.java,
2424 gnu/java/nio/DirectByteBufferImpl.java,
2425 gnu/java/nio/DoubleViewBufferImpl.java,
2426 gnu/java/nio/FloatViewBufferImpl.java,
2427 gnu/java/nio/IntViewBufferImpl.java,
2428 gnu/java/nio/LongViewBufferImpl.java,
2429 gnu/java/nio/ShortViewBufferImpl.java,
2430 gnu/java/nio/natDirectByteBufferImpl.cc:
2431 New files, not yet to be compiled.
2432
2433 2003-05-10 Michael Koch <konqueror@gmx.de>
2434
2435 * javax/swing/plaf/ButtonUI.java,
2436 javax/swing/plaf/ColorUIResource.java,
2437 javax/swing/plaf/ComponentUI.java,
2438 javax/swing/plaf/DimensionUIResource.java,
2439 javax/swing/plaf/FontUIResource.java,
2440 javax/swing/plaf/IconUIResource.java,
2441 javax/swing/plaf/InsetsUIResource.java,
2442 javax/swing/plaf/LabelUI.java,
2443 javax/swing/plaf/ListUI.java,
2444 javax/swing/plaf/OptionPaneUI.java,
2445 javax/swing/plaf/PanelUI.java,
2446 javax/swing/plaf/TabbedPaneUI.java,
2447 javax/swing/plaf/TextUI.java,
2448 javax/swing/plaf/TreeUI.java,
2449 javax/swing/plaf/ViewportUI.java,
2450 javax/swing/plaf/basic/BasicBorders.java,
2451 javax/swing/plaf/basic/BasicButtonUI.java,
2452 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2453 javax/swing/plaf/basic/BasicDefaults.java,
2454 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2455 javax/swing/plaf/basic/BasicIconFactory.java,
2456 javax/swing/plaf/basic/BasicLabelUI.java,
2457 javax/swing/plaf/basic/BasicListUI.java,
2458 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2459 javax/swing/plaf/basic/BasicPanelUI.java,
2460 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2461 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2462 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2463 javax/swing/plaf/basic/BasicTextUI.java,
2464 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2465 javax/swing/plaf/basic/BasicTreeUI.java,
2466 javax/swing/plaf/basic/BasicViewportUI.java,
2467 javax/swing/plaf/metal/MetalLookAndFeel.java:
2468 New versions from classpath. This adds copyrights to all files and
2469 some serialVersionUIDs.
2470
2471 2003-05-10 Michael Koch <konqueror@gmx.de>
2472
2473 * java/nio/CharBuffer.java
2474 (offset): Make it package-private.
2475 (backing_buffer): Likewise.
2476 * java/nio/DoubleBuffer.java
2477 (offset): Make it package-private.
2478 (backing_buffer): Likewise.
2479 (put): Reformatted.
2480 * java/nio/FloatBuffer.java
2481 (offset): Make it package-private.
2482 (backing_buffer): Likewise.
2483 * java/nio/IntBuffer.java
2484 (offset): Make it package-private.
2485 (backing_buffer): Likewise.
2486 * java/nio/LongBuffer.java
2487 (offset): Make it package-private.
2488 (backing_buffer): Likewise.
2489 * java/nio/ShortBuffer.java
2490 (offset): Make it package-private.
2491 (backing_buffer): Likewise.
2492
2493 2003-05-10 Michael Koch <konqueror@gmx.de>
2494
2495 * java/nio/CharBuffer.java
2496 (put): Fixed precondtion check.
2497 (toString): Make it work without backing array.
2498 (put): Skip one level of method calling.
2499
2500 2003-05-10 Michael Koch <konqueror@gmx.de>
2501
2502 * java/security/Identity.java,
2503 java/security/IdentityScope.java,
2504 java/security/Key.java,
2505 java/security/KeyPair.java,
2506 java/security/PrivateKey.java,
2507 java/security/Provider.java,
2508 java/security/PublicKey.java,
2509 java/security/SecureRandom.java,
2510 java/security/SecureRandomSpi.java,
2511 java/security/SignedObject.java,
2512 java/security/Signer.java,
2513 java/security/cert/Certificate.java,
2514 java/security/cert/PKIXCertPathBuilderResult.java,
2515 java/security/cert/X509Certificate.java:
2516 New versions from classpath.
2517
2518 2003-05-09 Tom Tromey <tromey@redhat.com>
2519
2520 * Makefile.in: Rebuilt.
2521 * Makefile.am (nat_source_files): Removed old files.
2522 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2523 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2524 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2525 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2526 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2527
2528 2003-05-09 Michael Koch <konqueror@gmx.de>
2529
2530 * gnu/java/nio/ByteBufferImpl.java
2531 (nio_cast): Removed.
2532 (ByteBufferImpl): Removed.
2533 (nio_get_Byte): Removed.
2534 (nio_put_Byte): Removed.
2535 (asByteBuffer): Removed.
2536 (asCharBuffer): Removed implementation and throw exception.
2537 (asShortBuffer): Likewise.
2538 (asIntBuffer): Likewise.
2539 (asLongBuffer): Likewise.
2540 (asFloatBuffer): Likewise.
2541 (asDoubleBuffer): Likewise.
2542 * gnu/java/nio/CharBufferImpl.java
2543 (CharBufferImpl): Removed.
2544 (nio_get_Byte): Removed.
2545 (nio_put_Byte): Removed.
2546 (asByteBuffer): Removed.
2547 * gnu/java/nio/DoubleBufferImpl.java
2548 (DoubleBufferImpl): Removed.
2549 (nio_get_Byte): Removed.
2550 (nio_put_Byte): Removed.
2551 (asByteBuffer): Removed.
2552 * gnu/java/nio/FloatBufferImpl.java
2553 (FloatBufferImpl): Removed.
2554 (nio_get_Byte): Removed.
2555 (nio_put_Byte): Removed.
2556 (asByteBuffer): Removed.
2557 * gnu/java/nio/IntBufferImpl.java
2558 (IntBufferImpl): Removed.
2559 (nio_get_Byte): Removed.
2560 (nio_put_Byte): Removed.
2561 (asByteBuffer): Removed.
2562 * gnu/java/nio/LongBufferImpl.java
2563 (LongBufferImpl): Removed.
2564 (nio_get_Byte): Removed.
2565 (nio_put_Byte): Removed.
2566 (asByteBuffer): Removed.
2567 * gnu/java/nio/ShortBufferImpl.java
2568 (ShortBufferImpl): Removed.
2569 (nio_get_Byte): Removed.
2570 (nio_put_Byte): Removed.
2571 (asByteBuffer): Removed.
2572 * gnu/java/nio/natByteBufferImpl.cc
2573 (nio_cast): Removed.
2574 (nio_get_Byte): Removed.
2575 (nio_put_Byte): Removed.
2576 * gnu/java/nio/natCharBufferImpl.cc
2577 (nio_get_Byte): Removed.
2578 (nio_put_Byte): Removed.
2579
2580 2003-05-09 Michael Koch <konqueror@gmx.de>
2581
2582 * java/net/JarURLConnection.java
2583 (getJarEntry): Merged documentation from classpath.
2584 (getJarFile): Likewise.
2585 (getMainAttributes): Likewise.
2586 (getAttributes): Likewise.
2587 (getManifest): Likewise.
2588 (getCertificates): Reformatted.
2589 * java/net/URLConnection.java:
2590 Little classpath merge.
2591
2592 2003-05-09 Michael Koch <konqueror@gmx.de>
2593
2594 * java/io/DataOutputStream.java
2595 (writeShort): Made it synchronized.
2596 (writeChar): Likewise.
2597 (writeInt): Likewise.
2598 (writeLong): Liekwise.
2599 (writeUTF): Made it synchronized, renamed argument to match classpath.
2600 * java/io/InputStreamReader.java
2601 (converter): Added documentation.
2602 (read): Merged documentation from classpath.
2603 * java/io/OutputStreamWriter.java
2604 (OutputStreamWriter): Merged documentation from classpath.
2605 (close): Reformatted.
2606 (getEncoding): Likewise.
2607 (flush): Likewise.
2608 (write): Merged documentation from classpath, reformatted.
2609
2610 2003-05-08 Tom Tromey <tromey@redhat.com>
2611
2612 * configure.host <powerpc64*-*>: Set with_libffi_default and
2613 libgcj_interpreter to "yes".
2614
2615 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2616
2617 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2618
2619 2003-05-06 Tom Tromey <tromey@redhat.com>
2620
2621 * verify.cc: Reverted previous patch.
2622
2623 2003-05-06 Michael Koch <konqueror@gmx.de>
2624
2625 * java/io/DataOutputStream.java
2626 (write): Renamed argument to "value", merged documentation from
2627 classpath.
2628 (writeBoolean): Likewise.
2629 (writeByte): Likewise.
2630 (writeShort): Likewise.
2631 (writeChar): Likewise.
2632 (writeInt): Likewise.
2633 (writeLong): Likewise.
2634 (writeFloat): Likewise.
2635 (writeDouble): Likewise.
2636 (writeBytes): Likewise.
2637 (writeChars): Likewise.
2638 (writeUTF): Likewise.
2639 * java/io/File.java
2640 (performDelete): Added documentation.
2641 (performList): Likewise.
2642 (performMkdir): Likewise.
2643 (performSetReadOnly): Likewise.
2644 (performRenameTo): Likewise.
2645 (performSetLastModified): Likewise.
2646 (delete): Made it sychronized.
2647 (renameTo): Made it sychronized.
2648 (equals): Reformatted.
2649 (isHidden): Likewise.
2650 (listFiles): Likewise.
2651 (setReadOnly): Likewise.
2652 (listRoots): Likewise.
2653 (setLastModified): Likewise.
2654 (checkRead): Likewise.
2655 (checkWrite): Likewise.
2656 * java/io/FileInputStream.java
2657 (skip): Made it sychronized, merged from classpath.
2658 * java/io/FileOutputStream.java
2659 (write): Merged from classpath.
2660 * java/io/InputStreamReader.java:
2661 (InputStreamReader): Merged documentation from classpath.
2662
2663 2003-05-05 Michael Koch <konqueror@gmx.de>
2664
2665 * java/net/NetworkInterface.java
2666 (networkInterfaces): Removed.
2667 (getByName): Use getRealNetworkInterfaces() instead of
2668 networkInterfaces.
2669 (getByInetAddress): Likewise.
2670 (getNetworkInterfaces): Likewise.
2671 (toString): Fix output of addresses of an interface.
2672
2673 2003-05-05 Michael Koch <konqueror@gmx.de>
2674
2675 * java/io/DataInputStream.java:
2676 Merged new documentation from classpath.
2677
2678 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2679
2680 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2681 "version".
2682 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2683 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2684 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2685 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2686 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2687 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2688 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2689 * java/security/Key.java: Likewise.
2690 * java/security/PrivateKey.java: Likewise.
2691 * java/security/Provider.java: Likewise.
2692 * java/security/PublicKey.java: Likewise.
2693
2694 2003-05-02 Michael Koch <konqueror@gmx.de>
2695
2696 * java/net/URI.java
2697 (create): Doesnt throws any exceptions.
2698 * java/net/URLConnection.java
2699 (URLConnection): Commend added.
2700 (getExpiration): The header field is called "expires" not
2701 "expiration".
2702 (getHeaderField): Merged documentation with classpath.
2703 (getHeaderFieldInt): Likewise.
2704 (getHeaderFieldDate): Likewise.
2705 (getHeaderFieldKey): Likewise.
2706 (getPermission): Likewise.
2707 (setDefaultUseCaches): Likewise.
2708 (setRequestProperty): Likewise.
2709 (addRequestProperty): Likewise.
2710 (getRequestProperty): Likewise.
2711 (getRequestProperties): Likewise.
2712 (setDefaultRequestProperty): Likewise.
2713 (getDefaultRequestProperty): Likewise.
2714 (guessContentTypeFromStream): Likewise.
2715 (getFileNameMap): Likewise.
2716 (setFileNameMap): Likewise.
2717 (setDoInput): Merged implementation and documentation with classpath.
2718 (setDoOutput): Likewise.
2719 (setAllowUserInteraction): Likewise.
2720 (setDefaultAllowUserInteraction): Likewise.
2721 (setContentHandlerFactory): Made it synchronized, merged documentation
2722 with classpath.
2723 (guessContentTypeFromName): Renamed argument fname to filename to
2724 match classpath, merged documentation with classpath.
2725
2726 2003-05-02 Michael Koch <konqueror@gmx.de>
2727
2728 * java/net/JarURLConnection.java
2729 (JarURLConnection): Class documentation merged with classpath.
2730 (getJarFileURL): Moved and documentation merged with classpath.
2731 (getEntryName): Likewise.
2732 (JarURLConnection): Documentation merged with classpath.
2733 (getJarEntry): Likewise.
2734 (getJarFile): Likewise.
2735 * java/net/PlainDatagramSocketImpl.java:
2736 Class documentation moved.
2737 * java/net/URLConnection.java
2738 (fileNameMap): Moved and documentation merged with classpath.
2739 (factory): Likewise.
2740 (defaultAllowUserInteraction): Likewis.
2741 (defaultUseCaches): Likewise.
2742 (allowUserInteraction): Likewise.
2743 (connected): Likewise.
2744 (url): Likewise.
2745 (connect): Documentation merged with classpath.
2746 (getURL): Likewise.
2747 (getContentLength): Likewise.
2748 (getContentType): Likewise.
2749 (getContentEncoding): Likewise.
2750 (getExpiration): Likewise.
2751 (getDate): Likewise.
2752 (getLastModified): Likewise.
2753 (getHeaderField): Likewise.
2754 (getContent): Likewise.
2755 (getPermission): Likewise.
2756 (getInputStream): Likewise.
2757 (getOutputStream): Likewise.
2758 (toString): Likewise.
2759 (getDoInput): Likewise.
2760 (getDoOutput): Likewise.
2761 (setAllowUserInteraction): Likewise.
2762 (getAllowUserInteraction): Likewise.
2763 (setDefaultAllowUserInteraction): Likewise.
2764 (getDefaultAllowUserInteraction): Likewise.
2765 (setUseCaches): Likewise.
2766 (getUseCaches): Likewise.
2767 (setIfModifiedSince): Likewise.
2768 (getIfModifiedSince): Likewise.
2769 (setDefaultRequestProperty): Likewise.
2770 (getDefaultRequestProperty): Likewise.
2771 (setContentHandlerFactory): Likewise.
2772 (setFileNameMap): Likewise.
2773
2774 2003-05-02 Michael Koch <konqueror@gmx.de>
2775
2776 * java/net/InetAddress.java:
2777 Merged class documentation with classpath.
2778 * java/net/JarURLConnection.java:
2779 Explicitely import all used classes.
2780 * java/net/URL.java:
2781 Reformatting.
2782 * java/net/ServerSocket.java,
2783 java/net/Socket.java:
2784 New versions from classpath.
2785
2786 2003-05-02 Michael Koch <konqueror@gmx.de>
2787
2788 * gnu/java/nio/FileChannelImpl.java
2789 (read): New implementation.
2790 (implRead): New methods.
2791 (write): New implementation, call other write insteal of read method.
2792 (implWrite): New methods.
2793 (map): Added comment.
2794 (transferFrom): Implemented.
2795 (transferTo): Implemented.
2796 (lock): Added checks to throw exceptions.
2797 (truncate): Added check to throw exception.
2798 * gnu/java/nio/natFileChannelImpl.cc
2799 (implRead): New method.
2800 (implWrite): New method.
2801 * java/nio/ByteBuffer.java
2802 (hashCode): Fixed comment.
2803 (get): Fixed exception documentation.
2804 (put): Fixed exception documentation.
2805 * java/nio/CharBuffer.java:
2806 Added comment for later optimizations.
2807
2808 2003-04-30 Tom Tromey <tromey@redhat.com>
2809
2810 PR libgcj/10582:
2811 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2812 Removed.
2813 (type::compatible): Use _Jv_IsAssignableFrom.
2814 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2815 (_Jv_IsAssignableFrom): Work even when source or target class is
2816 not prepared.
2817
2818 2003-04-30 Michael Koch <konqueror@gmx.de>
2819
2820 * java/text/BreakIterator.java
2821 (clone): New method.
2822
2823 2003-04-30 Michael Koch <konqueror@gmx.de>
2824
2825 * java/text/CollationElementIterator.java,
2826 java/text/CollationKey.java,
2827 java/text/RuleBasedCollator.java:
2828 Merged copyright and documentation from classpath and
2829 rearranged some code. No code changes done.
2830
2831 2003-04-30 Michael Koch <konqueror@gmx.de>
2832
2833 * java/util/regex/Matcher.java
2834 (pattern): New member variable.
2835 (appendReplacement): New method.
2836 (appendTail): New method.
2837 (end): New method.
2838 (find): New method.
2839 (group): New method.
2840 (replaceFirst): Added documentation.
2841 (replaceAll): Added documentation.
2842 (groupCount): New method.
2843 (lookingAt): New method.
2844 (matches): New method.
2845 (reset): New method.
2846 (start): New method.
2847 * java/util/regex/Pattern.java
2848 (serialVersionUID): New constant.
2849 (CANON_EQ): New constant.
2850 (CASE_INSENSITIVE): New constant.
2851 (COMMENTS): New constant.
2852 (DOTALL): New constant.
2853 (MULTILINE): New constant.
2854 (UNICODE_CASE): New constant.
2855 (UNIX_LINES): New constant.
2856 (regex): New member variable.
2857 (flags): New member variable.
2858 (Pattern): New method.
2859 (compile): Documentation added.
2860 (flags): New method.
2861 (matches): Documentation added.
2862 (matcher): Documentation added.
2863 (split): Documentation added.
2864 (pattern): New method.
2865
2866 2003-04-30 Michael Koch <konqueror@gmx.de>
2867
2868 * gnu/java/security/Engine.java,
2869 gnu/java/security/OID.java,
2870 gnu/java/security/der/BitString.java,
2871 gnu/java/security/der/DER.java,
2872 gnu/java/security/der/DERReader.java,
2873 gnu/java/security/der/DERValue.java,
2874 gnu/java/security/der/DERWriter.java,
2875 gnu/java/security/provider/DSAKeyFactory.java,
2876 gnu/java/security/provider/X509CertificateFactory.java,
2877 gnu/java/security/x509/X500DistinguishedName.java,
2878 gnu/java/security/x509/X509CRL.java,
2879 gnu/java/security/x509/X509CRLEntry.java,
2880 gnu/java/security/x509/X509Certificate.java,
2881 java/security/cert/CRLSelector.java,
2882 java/security/cert/CertPathBuilder.java,
2883 java/security/cert/CertPathBuilderResult.java,
2884 java/security/cert/CertPathBuilderSpi.java,
2885 java/security/cert/CertPathParameters.java,
2886 java/security/cert/CertPathValidator.java,
2887 java/security/cert/CertPathValidatorResult.java,
2888 java/security/cert/CertPathValidatorSpi.java,
2889 java/security/cert/CertSelector.java,
2890 java/security/cert/CertStore.java,
2891 java/security/cert/CertStoreParameters.java,
2892 java/security/cert/CertStoreSpi.java,
2893 java/security/cert/CollectionCertStoreParameters.java,
2894 java/security/cert/LDAPCertStoreParameters.java,
2895 java/security/cert/PKIXBuilderParameters.java,
2896 java/security/cert/PKIXCertPathBuilderResult.java,
2897 java/security/cert/PKIXCertPathChecker.java,
2898 java/security/cert/PKIXCertPathValidatorResult.java,
2899 java/security/cert/PKIXParameters.java,
2900 java/security/cert/PolicyNode.java,
2901 java/security/cert/PolicyQualifierInfo.java,
2902 java/security/cert/TrustAnchor.java,
2903 javax/security/auth/x500/X500Principal.java:
2904 New files from classpath.
2905 * gnu/java/io/ASN1ParsingException.java,
2906 gnu/java/io/Base64InputStream.java,
2907 gnu/java/security/der/DEREncodingException.java,
2908 gnu/java/security/provider/DSAParameters.java,
2909 gnu/java/security/provider/DSASignature.java,
2910 gnu/java/security/provider/Gnu.java,
2911 gnu/java/security/provider/GnuDSAPrivateKey.java,
2912 gnu/java/security/provider/GnuDSAPublicKey.java,
2913 java/security/AlgorithmParameterGenerator.java,
2914 java/security/AlgorithmParameters.java,
2915 java/security/KeyFactory.java,
2916 java/security/KeyPairGenerator.java,
2917 java/security/KeyStore.java,
2918 java/security/MessageDigest.java,
2919 java/security/SecureClassLoader.java,
2920 java/security/SecureRandom.java,
2921 java/security/Security.java,
2922 java/security/Signature.java,
2923 java/security/cert/Certificate.java,
2924 java/security/cert/CertificateFactory.java,
2925 java/security/cert/CertificateFactorySpi.java,
2926 java/security/cert/X509CRL.java,
2927 java/security/cert/X509Certificate.java,
2928 java/security/spec/DSAPublicKeySpec.java:
2929 New versions from classpath.
2930 * gnu/java/security/provider/DERReader.java,
2931 gnu/java/security/provider/DERWriter.java,
2932 java/security/Engine.java: Removed.
2933 * Makefile.am
2934 (java_source_files, javax_source_files): Added new files.
2935 * Makefile.in: Regenerated.
2936
2937 2003-04-29 Michael Koch <konqueror@gmx.de>
2938
2939 * javax/swing/JTable.java
2940 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2941 (AUTO_RESIZE_LAST_COLUMN): New constant.
2942 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2943 (AUTO_RESIZE_OFF): New constant.
2944 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2945 (JTable): New method.
2946 (columnAdded): New method.
2947 (columnMarginChanged): New method.
2948 (columnMoved): New method.
2949 (columnRemoved): New method.
2950 (columnSelectionChanged): New method.
2951 (editingCanceled): New method.
2952 (editingStopped): New method.
2953 (getColumnModel): New method.
2954 (getPreferredScrollableViewportSize): New method.
2955 (getScrollableBlockIncrement): New method.
2956 (getScrollableTracksViewportHeight): New method.
2957 (getScrollableTracksViewportWidth): New method.
2958 (getScrollableUnitIncrement): New method.
2959 (getSelectedRow): New method.
2960 (getSelectionModel): New method.
2961 (tableChanged): New method.
2962 (setModel): New method.
2963 (setSelectionMode): New method.
2964 (setSelectionModel): New method.
2965 (setShowGrid): New method.
2966 (valueChanged): New method.
2967 * javax/swing/text/DefaultEditorKit.java
2968 (backwardAction): New constant.
2969 (beepAction): New constant.
2970 (beginAction): New constant.
2971 (beginLineAction): New constant.
2972 (beginParagraphAction): New constant.
2973 (beginWordAction): New constant.
2974 (copyAction): New constant.
2975 (cutAction): New constant.
2976 (defaultKeyTypedAction): New constant.
2977 (deleteNextCharAction): New constant.
2978 (deletePrevCharAction): New constant.
2979 (downAction): New constant.
2980 (endAction): New constant.
2981 (endLineAction): New constant.
2982 (endOfLineStringProperty): New constant.
2983 (endParagraphAction): New constant.
2984 (endWordAction): New constant.
2985 (forwardAction): New constant.
2986 (insertBreakAction): New constant.
2987 (insertContentAction): New constant.
2988 (insertTabAction): New constant.
2989 (nextWordAction): New constant.
2990 (pageDownAction): New constant.
2991 (pageUpAction): New constant.
2992 (pasteAction): New constant.
2993 (previousWordAction): New constant.
2994 (readOnlyAction): New constant.
2995 (selectAllAction): New constant.
2996 (selectionBackwardAction): New constant.
2997 (selectionBeginAction): New constant.
2998 (selectionBeginLineAction): New constant.
2999 (selectionBeginParagraphAction): New constant.
3000 (selectionBeginWordAction): New constant.
3001 (selectionDownAction): New constant.
3002 (selectionEndAction): New constant.
3003 (selectionEndLineAction): New constant.
3004 (selectionEndParagraphAction): New constant.
3005 (selectionEndWordAction): New constant.
3006 (selectionForwardAction): New constant.
3007 (selectionNextWordAction): New constant.
3008 (selectionPreviousWordAction): New constant.
3009 (selectionUpAction): New constant.
3010 (selectLineAction): New constant.
3011 (selectParagraphAction): New constant.
3012 (selectWordAction): New constant.
3013 (upAction): New constant.
3014 (writableAction): New constant.
3015
3016 2003-04-29 Michael Koch <konqueror@gmx.de>
3017
3018 * java/util/PropertyPermission.java:
3019 New version from classpath
3020 * java/util/ResourceBundle.java:
3021 Partly merged from classpath
3022 (getObject): Reformated.
3023 (tryBundle): Set foundBundle = null if no bundle found.
3024
3025 2003-04-29 Michael Koch <konqueror@gmx.de>
3026
3027 * javax/swing/AbstractListModel.java,
3028 javax/swing/DefaultBoundedRangeModel.java,
3029 javax/swing/DefaultSingleSelectionModel.java:
3030 New Versions from classpath.
3031
3032 2003-04-29 Michael Koch <konqueror@gmx.de>
3033
3034 * java/awt/Window.java
3035 (show): Call super.show() instead of setVisible() to avoid endless
3036 loop.
3037 (hide): Call super.hide() instead of setVisible() to avoid endless
3038 loop.
3039
3040 2003-04-29 Michael Koch <konqueror@gmx.de>
3041
3042 * java/util/zip/Deflater.java,
3043 java/util/zip/DeflaterOutputStream.java:
3044 Partly merged with classpath.
3045
3046 2003-04-27 Tom Tromey <tromey@redhat.com>
3047
3048 * java/lang/natString.cc (_Jv_AllocString): Initialize
3049 cachedHashCode.
3050 (init): Likewise.
3051 (_Jv_NewStringUtf8Const): Likewise.
3052
3053 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
3054
3055 * include/jvm.h: (_Jv_GetNbArgs) added
3056 (_Jv_GetSafeArg) added
3057 (_Jv_SetArgs) added
3058 * prims.cc: (_Jv_GetNbArgs) implemented
3059 (_Jv_GetSafeArg) implemented
3060 (_Jv_SetArgs) implemented
3061 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3062 setting _Jv_argc and _Jv_argv
3063 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3064 instead of _Jv_argv
3065 * java/lang/natRuntime.cc: (insertSystemProperties) use
3066 _Jv_GetSafeArg() instead of _Jv_argv
3067
3068 2003-04-23 Tom Tromey <tromey@redhat.com>
3069
3070 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3071 required by this object. Search superclasses to find required
3072 alignment.
3073 (get_alignment_from_class): Use alignment of type as it appears
3074 in a struct.
3075 (ALIGNOF): New macro.
3076 (struct aligner): New helper structure.
3077
3078 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
3079
3080 * java/awt/Container.java (addImpl): Enable paint events if adding
3081 a lightweight to a heavyweight.
3082 (addNotify): Ensure that peer is created before
3083 addNotifyContainerChildren.
3084 (addNotifyContainerChildren): Enable paint events if a heavyweight
3085 container contains a lightweight.
3086
3087 2003-04-20 Tom Tromey <tromey@redhat.com>
3088
3089 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3090 java/io/DataInput.java, java/io/DataOutput.java: Imports from
3091 Classpath.
3092
3093 2003-04-19 Tom Tromey <tromey@redhat.com>
3094
3095 * java/sql/Date.java, java/sql/DriverManager.java,
3096 java/sql/Time.java, java/sql/Timestamp.java: New versions from
3097 Classpath.
3098
3099 * Makefile.in: Rebuilt.
3100 * Makefile.am (ordinary_java_source_files): Added new files.
3101 * java/security/AlgorithmParameterGenerator.java,
3102 java/security/AlgorithmParameters.java, java/security/Engine.java,
3103 java/security/Identity.java, java/security/IdentityScope.java,
3104 java/security/KeyFactory.java,
3105 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3106 java/security/MessageDigest.java, java/security/Policy.java,
3107 java/security/ProtectionDomain.java,
3108 java/security/SecureRandom.java, java/security/Security.java,
3109 java/security/Signature.java, java/security/SignatureSpi.java,
3110 java/security/SignedObject.java, java/security/Signer.java,
3111 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3112 java/security/spec/PSSParameterSpec.java,
3113 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3114 java/security/spec/RSAOtherPrimeInfo.java: New versions from
3115 Classpath.
3116
3117 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3118
3119 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3120 (dispose): Null metrics.
3121 * gnu/awt/xlib/XToolkit.java (sync): Implement.
3122 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3123 finalize.
3124 (finalize): Call dispose.
3125 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3126 (gcCachedCount): New field.
3127 (finalize): New method.
3128 (putGCInCache): New method.
3129 (getGCFromCache): New method.
3130 * gnu/gcj/xlib/GC.java (GC): Make protected.
3131 (clone): Get new GC from cache if possible.
3132 (create): New static method.
3133 (dispose): Save old GC in cache.
3134 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3135 deleting.
3136 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3137 is null.
3138 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3139 * java/awt/Container.java (visitChild): Dispose gfx2 when
3140 finished.
3141
3142 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
3143
3144 * java/math/BigInteger.java (probablePrime): New.
3145 * java/math/BigDecimal.java (unscaledValue): New.
3146
3147 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
3148
3149 * java/io/File.java (getAbsolutePath): On Windows, take care
3150 of paths like "C:", "G:foo\bar", etc.
3151 (getName): Make it work correctly on Windows.
3152 (getParent): Make it work correctly on Windows. For UNIX,
3153 fix bug that causes "/" to be returned as the parent of "/",
3154 instead of null as returned by Sun's JRE.
3155
3156 * java/io/natFileWin32.cc: Change copyright owner to FSF.
3157
3158 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3159
3160 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3161 inner class.
3162 (CACHE_SIZE_PER_DISPLAY): New field
3163 (fontMetricsCache): New field
3164 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3165 loading ISO10646-1 fonts.
3166
3167 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3168
3169 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3170 characters.
3171 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3172 characters.
3173
3174 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
3175
3176 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3177 floating point.
3178
3179 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3180
3181 * configure.host (*-linux*): Don't set slow_pthread_self if primary
3182 installed libpthread is either linuxthreads with floating stacks or
3183 NPTL.
3184
3185 2003-04-14 Tom Tromey <tromey@redhat.com>
3186
3187 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3188 of alignment.
3189
3190 2003-04-10 Tom Tromey <tromey@redhat.com>
3191
3192 * verify.cc (pop64): Removed.
3193 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3194 exception if top-of-stack is narrow.
3195 (initialize_stack): Check to ensure that <init> is not static and
3196 <clinit> is.
3197
3198 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3199
3200 * java/io/ObjectStreamException
3201 * java/io/FileFilter
3202 * java/io/FilenameFilter
3203 * java/io/ObjectInput
3204 * java/io/ObjectOutput
3205 * java/io/ObjectStreamConstants
3206 Minor doc fixes, format fixes, spelling corrections, etc.
3207 * java/io/DataInput
3208 Corrected code samples in Javadocs to match reality
3209 * java/io/DataOutput
3210 * java/io/ObjectInputValidation
3211 Major documentation fixes - all Javadocs re-written or updated
3212
3213 2003-04-06 Michael Koch <konqueror@gmx.de>
3214
3215 * java/net/URLConnection.java:
3216 Import classes directly.
3217 (URLConnection): Merged class documentation with classpath.
3218 (url): Moved, documentation from classpath added.
3219 (doInput): Moved, documentation from classpath added.
3220 (doOutput): Moved, documentation from classpath added.
3221 (allowUserInteraction): Moved.
3222 (useCaches): Moved, documentation from classpath added.
3223 (ifModifiedSince): Moved, documentation from classpath added.
3224 (connected): Moved, documentation from classpath added.
3225
3226 2003-04-06 Michael Koch <konqueror@gmx.de>
3227
3228 * java/io/FileInputStream.java
3229 (skip): Renamed some variables to match classpath, added
3230 checks from classpath.
3231
3232 2003-03-31 Michael Koch <konqueror@gmx.de>
3233
3234 * javax/swing/AbstractAction.java
3235 (AbstractAction): Reformatted.
3236 (serialVersionUID): New private member variable.
3237 * javax/swing/plaf/BorderUIResource.java
3238 (serialVersionUID): New private member variable.
3239 * javax/swing/plaf/basic/BasicLookAndFeel.java
3240 (serialVersionUID): New private member variable.
3241
3242 2003-03-31 Michael Koch <konqueror@gmx.de>
3243
3244 * java/sql/Date.java
3245 (valueOf): Deprecated, reformatted.
3246 (toString): Deprecated, reformatted.
3247 * java/sql/Time.java
3248 (valueOf): Deprecated, reformatted.
3249 (toString): Deprecated, reformatted.
3250
3251 2003-03-31 Michael Koch <konqueror@gmx.de>
3252
3253 * java/rmi/dgc/VMID.java
3254 (isUnique): Deprecated.
3255
3256 2003-03-31 Michael Koch <konqueror@gmx.de>
3257
3258 * java/io/File.java
3259 (separator): Merged documentation from classpath.
3260 (separatorChar): Merged documentation from classpath.
3261 (pathSeparator): Merged documentation from classpath.
3262 (pathSeparatorChar): Merged documentation from classpath.
3263 (path): Merged documentation from classpath.
3264 (canRead): Merged documentation from classpath.
3265 (canWrite): Merged documentation from classpath.
3266 (createNewFile): Merged documentation from classpath.
3267 (delete): Merged documentation from classpath.
3268 (equals): Merged documentation from classpath.
3269 (exists): Merged documentation from classpath.
3270 (File): Renamed p to name to match classpath, merged documentation
3271 from classpath.
3272 (getAbsolutePath): Merged documentation from classpath.
3273 (getCanonicalPath): Merged documentation from classpath.
3274 (getCanonicalFile): Merged documentation from classpath.
3275 (getName): Merged documentation from classpath.
3276 (getParent): Merged documentation from classpath.
3277 (getParentFile): Merged documentation from classpath.
3278 (getPath): Merged documentation from classpath.
3279 (hashCode): Merged documentation from classpath.
3280 (isAbsolute): Merged documentation from classpath.
3281 (isDirectory): Merged documentation from classpath.
3282 (isFile): Merged documentation from classpath.
3283 (isHidden): Merged documentation from classpath.
3284 (lastModified): Merged documentation from classpath.
3285 (length): Merged documentation from classpath.
3286 (list): Merged documentation from classpath.
3287 (listFiles): Merged documentation from classpath.
3288 (toString): Merged documentation from classpath.
3289 (toURL): Merged documentation from classpath.
3290 (mkdir): Merged documentation from classpath.
3291 (mkdirs): Merged documentation from classpath.
3292 (createTempFile): Merged documentation from classpath.
3293 (setReadOnly): Merged documentation from classpath.
3294 (listRoots): Merged documentation from classpath.
3295 (compareTo): Merged documentation from classpath.
3296 (renameTo): Merged documentation from classpath.
3297 (setLastModified): Merged documentation from classpath.
3298 * java/io/PrintStream.java
3299 (auto_flush): Merged documentation from classpath.
3300 (PrintStream): Merged documentation from classpath.
3301 (checkError): Merged documentation from classpath.
3302 (setError): Merged documentation from classpath.
3303 (close): Merged documentation from classpath.
3304 (flush): Merged documentation from classpath.
3305 (print): Merged documentation from classpath.
3306 (println): Merged documentation from classpath.
3307 (write): Renamed count to len to match classpath,
3308 merged documentation from classpath.
3309 * java/io/RandomAccessFile.java
3310 (readShort): Merged documentation from classpath.
3311 (readUnsignedByte): Merged documentation from classpath.
3312 (readUnsignedShort): Merged documentation from classpath.
3313 (readUTF): Merged documentation from classpath.
3314 (seek): Reformatted, merged documentation from classpath.
3315 (skipBytes): Renamed some variables to match classpath, reformatted,
3316 merged documentation from classpath.
3317 (write): Merged documentation from classpath.
3318 (writeBoolean): Merged documentation from classpath.
3319 (writeByte): Merged documentation from classpath.
3320 (writeShort): Merged documentation from classpath.
3321 (writeChar): Merged documentation from classpath.
3322 (writeInt): Merged documentation from classpath.
3323 (writeLong): Merged documentation from classpath.
3324 (writeFloat): Merged documentation from classpath.
3325 (writeDouble): Merged documentation from classpath.
3326 (writeBytes): Merged documentation from classpath.
3327 (writeChars): Merged documentation from classpath.
3328 (writeUTF): Reformatted.
3329 (getChannel): Reformatted.
3330
3331 2003-03-31 Michael Koch <konqueror@gmx.de>
3332
3333 * java/awt/font/TextAttribute.java
3334 (readResolve): Throws java.io.InvalidObjectException.
3335
3336 2003-03-31 Michael Koch <konqueror@gmx.de>
3337
3338 * java/rmi/server/LoaderHandler.java
3339 (loadClass): Deprecated.
3340 (getSecurityContext): Deprecated.
3341 * java/rmi/server/LogStream.java
3342 (getDefaultStream): Deprecated.
3343 (setDefaultStream): Deprecated.
3344 (getOutputStream): Deprecated.
3345 (setOutputStream): Deprecated.
3346 (write): Deprecated.
3347 (toString): Deprecated.
3348 (parseLevel): Deprecated.
3349 * java/rmi/server/Operation.java
3350 (Operation): Deprecated.
3351 (getOperation): Deprecated.
3352 (toString): Deprecated.
3353 * java/rmi/server/RemoteCall.java
3354 (getOutputStream): Deprecated.
3355 (releaseOutputStream): Deprecated.
3356 (getInputStream): Deprecated.
3357 (releaseInputStream): Deprecated.
3358 (getResultStream): Deprecated.
3359 (executeCall): Deprecated.
3360 (done): Deprecated.
3361 * java/rmi/server/RemoteRef.java
3362 (invoke): Deprecated.
3363 (newCall): Deprecated.
3364 (done): Deprecated.
3365 * java/rmi/server/RemoteStub.java
3366 (setRef): Deprecated.
3367 * java/rmi/server/Skeleton.java:
3368 No need to import java.lang.Exception explicitly.
3369 (dispatch): Deprecated.
3370 (getOperations): Deprecated.
3371
3372 2003-03-31 Michael Koch <konqueror@gmx.de>
3373
3374 * java/rmi/dgc/VMID.java,
3375 java/rmi/registry/RegistryHandler.java,
3376 java/rmi/server/LogStream.java,
3377 java/rmi/server/Operation.java,
3378 java/rmi/server/RemoteCall.java,
3379 java/rmi/server/RemoteRef.java,
3380 java/rmi/server/RemoteStub.java:
3381 Reformatted.
3382
3383 2003-03-31 Michael Koch <konqueror@gmx.de>
3384
3385 * javax/swing/AbstractCellEditor.java,
3386 javax/swing/AbstractListModel.java,
3387 javax/swing/ActionMap.java,
3388 javax/swing/BorderFactory.java,
3389 javax/swing/ButtonGroup.java,
3390 javax/swing/DefaultBoundedRangeModel.java,
3391 javax/swing/DefaultButtonModel.java,
3392 javax/swing/DefaultCellEditor.java,
3393 javax/swing/DefaultComboBoxModel.java,
3394 javax/swing/DefaultDesktopManager.java,
3395 javax/swing/DefaultListCellRenderer.java,
3396 javax/swing/DefaultSingleSelectionModel.java,
3397 javax/swing/InputMap.java,
3398 javax/swing/JComponent.java,
3399 javax/swing/JMenu.java,
3400 javax/swing/JSlider.java,
3401 javax/swing/KeyStroke.java,
3402 javax/swing/OverlayLayout.java,
3403 javax/swing/ScrollPaneLayout.java,
3404 javax/swing/SizeRequirements.java,
3405 javax/swing/UIManager.java,
3406 javax/swing/ViewportLayout.java,
3407 javax/swing/border/AbstractBorder.java,
3408 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3409 javax/swing/event/EventListenerList.java,
3410 javax/swing/table/AbstractTableModel.java,
3411 javax/swing/table/DefaultTableCellRenderer.java,
3412 javax/swing/table/DefaultTableColumnModel.java,
3413 javax/swing/table/DefaultTableModel.java,
3414 javax/swing/table/TableColumn.java,
3415 javax/swing/text/StyledEditorKit.java,
3416 javax/swing/tree/DefaultMutableTreeNode.java,
3417 javax/swing/tree/DefaultTreeModel.java,
3418 javax/swing/tree/DefaultTreeSelectionModel.java,
3419 javax/swing/tree/TreePath.java,
3420 javax/swing/undo/AbstractUndoableEdit.java,
3421 javax/swing/undo/StateEdit.java,
3422 javax/swing/undo/StateEditable.java,
3423 javax/swing/undo/UndoableEditSupport.java:
3424 Merges from classpath.
3425
3426 2003-03-30 Tom Tromey <tromey@redhat.com>
3427
3428 * java/lang/String.java (data, boffset, count): Documented.
3429 (String(byte[],String)): Reformatted.
3430 (String(byte[])): Likewise.
3431 (lastIndexOf(int)): Likewise.
3432 (lastIndexOf(String)): Likewise.
3433 (substring(int)): Renamed argument to match Classpath.
3434 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3435
3436 * java/lang/String.java: Miscellaneous minor formatting changes
3437 to match Classpath more closely.
3438
3439 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3440 Tom Tromey <tromey@redhat.com>
3441
3442 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3443 (init()): Removed.
3444 (charAt): Put index in exception.
3445 (contentEquals): New method.
3446 Include StringBuffer.h.
3447 * java/lang/String.java (cachedHashCode): New field.
3448 (String()): Follow classpath implementation.
3449 (init()): Removed.
3450 (contentEquals): Declare.
3451 (subSequence): Don't declare IndexOutIfBoundsException in throws
3452 clause.
3453 (matches, replaceFirst, replaceAll, split): New methods from
3454 Classpath.
3455
3456 2003-03-29 Tom Tromey <tromey@redhat.com>
3457
3458 * java/lang/String.java: Reordered to follow Classpath; merged in
3459 javadoc.
3460
3461 * java/text/MessageFormat.java: Removed some whitespace.
3462
3463 * Makefile.in: Rebuilt.
3464 * Makefile.am (awt_java_source_files): Added new files.
3465 * gnu/javax/rmi/PortableServer.java,
3466 gnu/javax/rmi/CORBA/DelegateFactory.java,
3467 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3468 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3469 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3470 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3471 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3472 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3473 javax/rmi/PortableRemoteObject.java,
3474 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3475 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3476 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3477 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3478 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3479 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3480
3481 * java/lang/natClass.cc (newInstance): Put method name in
3482 exception.
3483 (getConstructor): Likewise.
3484 (getDeclaredConstructor): Likewise.
3485 (getPrivateMethod): Likewise.
3486
3487 2003-03-28 Tom Tromey <tromey@redhat.com>
3488
3489 * java/lang/reflect/Proxy.java: New version from Classpath.
3490 * java/lang/Package.java: New version from Classpath.
3491
3492 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3493
3494 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3495 * configure: Regenerate.
3496
3497 2003-03-28 Michael Koch <konqueror@gmx.de>
3498
3499 * java/io/File.java:
3500 Import needed classes instead of whole packages, merged class
3501 documentation with classpath, moved constants and variables to top of
3502 class.
3503 * java/io/PrintStream.java:
3504 Merged class documentation with classpath, moved constants and
3505 variables to top of class.
3506 * java/io/RandomAccessFile.java
3507 (RandomAccessFile): Merged with classpath.
3508 (read): Merged with classpath).
3509 (read*): Reformatted.
3510
3511 2003-03-28 Michael Koch <konqueror@gmx.de>
3512
3513 * java/io/FileDescriptor.java
3514 (finalize): Throws Throwable, not IOException.
3515 * java/io/ObjectOutputStream.java
3516 (PutField.put): Doesnt throws anything.
3517
3518 2003­03-28 Michael Koch <konqueror@gmx.de>
3519
3520 * java/io/FileOutputStream.java:
3521 Merged class documentation and authors with classpath.
3522 (FileOutputStream): Partly merged with classpath.
3523 (write): Merged with classpath.
3524 (getChannel): Make it synchronized instead of explicit block in this
3525 method.
3526 * java/io/RandomAccessFile.java:
3527 Merged class documentation and authors with classpath.
3528
3529 2003-03-26 Tom Tromey <tromey@redhat.com>
3530
3531 * java/lang/natRuntime.cc (insertSystemProperties): Set
3532 gnu.classpath.home.url.
3533 * Makefile.in: Rebuilt.
3534 * Makefile.am: Define LIBDIR.
3535
3536 2003-03-25 Michael Koch <konqueror@gmx.de>
3537
3538 * java/io/FileInputStream.java
3539 (read): Renamed b to buf and off to offset.
3540 * java/io/FileOutputStream.java
3541 (ch): Documentation added.
3542 (FileOutputStream): Documentation added.
3543 (getFD): Documentation added.
3544 (write): Documentation added.
3545 (close): Documentation added.
3546 (getChannel): Documentation added.
3547
3548 2003-03-24 Michael Koch <konqueror@gmx.de>
3549
3550 * java/io/DataOutputStream.java
3551 (write): Merged from classpath.
3552 * java/io/File.java:
3553 Merged copyrigth with classpath.
3554 * java/io/FileInputStream.java
3555 (getChannel): Made it synchronized instead of using a synchronized
3556 block.
3557 * java/io/FileOutputStream.java: Reformatted.
3558 * java/io/InputStreamReader.java
3559 (InputStreamReader): Renamed enc to encoding_name.
3560 (close): Merged documentation from classpath.
3561 (getEncoding): Merged documentation from classpath.
3562 (ready): Merged documentation from classpath.
3563 (read): Merged documentation from classpath.
3564 * java/io/LineNumberReader.java
3565 (lineNumber): Made it private.
3566 (LineNumberReader): Use Constant instead of a direct value.
3567 * java/io/OutputStreamWriter.java
3568 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3569 documentation from classpath.
3570 (close): Merged documentation from classpath.
3571 (flush): Merged documentation from classpath.
3572 (write): Merged documentation from classpath.
3573 * java/io/PrintStream.java: Reformatted.
3574
3575 2003-03-24 Michael Koch <konqueror@gmx.de>
3576
3577 * javax/swing/text/ComponentView.java
3578 (getComponent): Must be final.
3579 * javax/swing/tree/DefaultTreeCellRenderer.java:
3580 Reformatted.
3581 * javax/swing/undo/StateEditable.java:
3582 Reformatted.
3583
3584 2003-03-24 Michael Koch <konqueror@gmx.de>
3585
3586 * java/rmi/activation/ActivationInstantiator.java:
3587 Reformatted.
3588 * java/rmi/activation/Activator.java:
3589 Reformatted.
3590 * java/rmi/registry/RegistryHandler.java:
3591 Remerged from classpath.
3592
3593 2003-03-24 Michael Koch <konqueror@gmx.de>
3594
3595 * java/util/Date.java:
3596 Fixed documentation starting tag to make javadoc happy.
3597 * java/util/regex/Pattern.java
3598 (Pattern): Implements Serializable.
3599 * java/util/PatternSyntaxException.java
3600 (serialVersionUID): New member variable.
3601
3602 2003-03-24 Michael Koch <koqnueror@gmx.de>
3603
3604 * java/awt/ContainerOrderFocusTraversalPolicy.java
3605 (getFirstComponent): Implemented.
3606 (getLastComponent): Implemented.
3607 (getDefaultComponent): Implemented.
3608 (setImplicitDownCycleTraversal): Fixed implementation.
3609 * java/awt/Robot.java
3610 (Robot): Added documentation.
3611 * java/awt/Toolkit.java
3612 (getFontList): Deprecated.
3613 (getFontMetrics): Deprecated.
3614 (getPrintJob): Added documentation.
3615 (getSystemSelection): Added documentation.
3616 (getLockingKeyState): Added documentation.
3617 (setLockingKeyState): Added documentation.
3618 (createCustomCursor): Added documentation.
3619 (getBestCursorSize): Added documentation.
3620 (getMaximumCursorColors): Added documentation.
3621 (isFrameStateSupported): Added documentation.
3622
3623 2003-03-24 Michael Koch <konqueror@gmx.de>
3624
3625 * java/io/RandomAccessFile.java:
3626 More little merges with classpath. No code changes.
3627
3628 2003-03-24 Michael Koch <konqueror@gmx.de>
3629
3630 * java/net/natInetAddressNoNet.cc:
3631 Include stddef.h.
3632 * java/net/natPlainDatagramSocketImplNoNet.cc:
3633 Fixed inlcude of java/net/DatagramPacket.h.
3634 * java/net/natPlainSocketImplNoNet.cc:
3635 Include some missing classes.
3636
3637 2003-03-24 Michael Koch <konqueror@gmx.de>
3638
3639 * java/awt/dnd/DropTarget.java
3640 (DropTargetAutoScroller): According to the online documentation, this
3641 is protected, but in reality it is public.
3642 * java/awt/dnd/DropTargetContext.java
3643 (TransferableProxy): According to the online documentation, this
3644 is protected, but in reality it is public.
3645
3646 2003-03-24 Michael Koch <konqueror@gmx.de>
3647
3648 * java/io/DataInputStream.java
3649 (): Wrapped documentation line.
3650 (): Fixed @return tag.
3651 * java/io/DataOutputStream.java
3652 (written): Moved to top of class.
3653 (all methods): Merged documentation from classpath.
3654 * java/io/File.java:
3655 Merged copyright year with classpath.
3656 * java/io/FileInputStream.java
3657 (all methods): Merged documentation from classpath.
3658 * java/io/LineNumberReader.java
3659 (getLineNumber): Fixed @return tag.
3660 * java/io/ObjectInputStream.java.
3661 Reformatted.
3662 * java/io/ObjectOutputStream.java:
3663 Reformatted, fixed some @see tags.
3664 * java/io/OutputStreamWriter.java:
3665 Deleted empty line.
3666 * java/io/Writer.java:
3667 Reformatted.
3668
3669 2003-03-24 Michael Koch <konqueror@gmx.de>
3670
3671 * java/awt/Frame.java
3672 (DEFAULT_CURSOR): Fixed @deprecated tag.
3673 (setCursor): Fixed @deprecated tag.
3674
3675 2003-03-24 Michael Koch <konqueror@gmx.de>
3676
3677 * java/beans/beancontext/BeanContextEvent.java:
3678 Reformated.
3679
3680 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3681
3682 * java/lang/natStringBuffer.cc (regionMatches): New function.
3683 * java/lang/String.java (count): Now package-private.
3684 * java/lang/StringBuffer.java: Merged with Classpath.
3685
3686 2003-03-23 Michael Koch <konqueror@gmx.de>
3687
3688 * java/io/BufferedOutputStream.java:
3689 Reformated.
3690 * java/io/BufferedReader.java:
3691 Reformated.
3692 * java/io/ByteArrayOutputStream.java
3693 (size): Fixed @see tag.
3694 * java/io/CharArrayWriter.java
3695 (size): Fixed @see tag.
3696 * java/io/DataInput.java:
3697 Reformated.
3698 * java/io/DataOutput.java:
3699 Reformated.
3700 * java/io/DataOutputStream.java:
3701 Merged copyright years with classpath.
3702 * java/io/Externalizable.java:
3703 Reformated.
3704 * java/io/FileFilter.java:
3705 Reformated.
3706 * java/io/FileInputStream.java:
3707 Merged copyright years with classpath.
3708 * java/io/FileOutputStream.java:
3709 Merged copyright years with classpath.
3710 * java/io/FilePermission.java
3711 (FilePermission): Replaced @XXX with FIXME:.
3712 * java/io/FileWriter.java:
3713 Reformated.
3714 * java/io/FilenameFilter.java:
3715 Reformated.
3716 * java/io/FilterInputStream.java:
3717 Reformated.
3718 * java/io/FilterOutputStream.java:
3719 Reformated.
3720 * java/io/FilterReader.java:
3721 Reformated.
3722 * java/io/FilterWriter.java:
3723 Reformated.
3724 * java/io/LineNumberInputStream.java
3725 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3726 happy.
3727 (getLineNumber): Fixed @return tag.
3728 * java/io/ObjectInput.java:
3729 Reformated.
3730 * java/io/ObjectOutput.java:
3731 Reformated.
3732 * java/io/ObjectStreamClass.java:
3733 Reformated.
3734 * java/io/PrintStream.java:
3735 Merged copyright years with classpath.
3736 * java/io/PushbackReader.java
3737 (PushbackReader): Replaced @code with @param.
3738 * java/io/SerializablePermission.java:
3739 Reformated.
3740 * java/io/StreamTokenizer.java
3741 (resetSyntax): Fixed @see tag.
3742
3743 2003-03-22 Richard Henderson <rth@redhat.com>
3744
3745 * sysdep/ia64/locks.h: Include ia64intrin.h.
3746 (compare_and_swap): Use __sync_bool_compare_and_swap.
3747 (compare_and_swap_release): Expose ar.ccv assignment.
3748
3749 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3750
3751 * include/posix.h: Add suffix for darwin dynamic libraries.
3752
3753 2003-03-21 Michael Koch <konqueror@gmx.de>
3754
3755 * javax/swing/Action.java
3756 (ACCELERATOR_KEY): New constant.
3757 (ACTION_COMMAND_KEY): Likewise.
3758 (MNEMONIC_KEY): Likewise.
3759 * javax/swing/UnsupportedLookAndFeelException.java
3760 (UnsupportedLookAndFeelException): Must be public.
3761 * javax/swing/WindowConstants.java
3762 (EXIT_ON_CLOSE): New constant.
3763 * javax/swing/text/BadLocationException.java
3764 (offset): New member variable.
3765 (BadLocationException): New implementation, documentation added.
3766 (offsetRequested): New method.
3767 * javax/swing/text/Caret.java:
3768 Reformated.
3769 * javax/swing/text/Document.java:
3770 Reformated.
3771
3772 2003-03-21 Michael Koch <konqueror@gmx.de>
3773
3774 * java/rmi/activation/Activatable.java
3775 (serialVersionUID): New member variable.
3776 * java/rmi/activation/ActivationGroup.java
3777 (serialVersionUID): New member variable.
3778 * java/rmi/activation/ActivationGroupDesc.java
3779 (serialVersionUID): New member variable.
3780 * java/rmi/registry/Registry.java:
3781 Reformated.
3782 (Registry): Deprecated.
3783 * java/rmi/server/LoaderHandler.java
3784 Reformated.
3785 (LoaderHandler): Deprecated.
3786 * java/rmi/server/LogStream.java
3787 Reformated.
3788 (LogStream): Deprecated.
3789 * java/rmi/server/Operation.java
3790 (Operation): Deprecated.
3791 * java/rmi/server/RMIFailureHandler.java:
3792 Reformated.
3793 * java/rmi/server/RMISocketFactory.java:
3794 Reformated.
3795 * java/rmi/server/RemoteCall.java
3796 (RemoteCall): Deprecated.
3797 * java/rmi/server/RemoteStub.java:
3798 Reformated.
3799 * java/rmi/server/Skeleton.java
3800 Reformated.
3801 (Skeleton): Deprecated.
3802
3803 2003-03-21 Michael Koch <konqueror@gmx.de>
3804
3805 * java/io/LineNumberReader.java
3806 (LineNumberReader): Merged documentation with classpath.
3807 (getLineNumber): Likewise.
3808 (setLineNumber): Likewise.
3809 (mark): Likewise.
3810 (reset): Likewise.
3811 (read): Likewise.
3812 (readLine): Likewise.
3813 (skip): Likewise.
3814
3815 2003-03-21 Michael Koch <konqueror@gmx.de>
3816
3817 * java/rmi/RMISecurityManager.java
3818 (checkAccept): Removed.
3819 (checkAccess): Likewise.
3820 (checkAccess): Likewise.
3821 (checkAwtEventQueueAccess): Likewise.
3822 (checkConnect): Likewise.
3823 (checkCreateClassLoader): Likewise.
3824 (checkDelete): Likewise.
3825 (checkExec): Likewise.
3826 (checkExit): Likewise.
3827 (checkLink): Likewise.
3828 (checkListen): Likewise.
3829 (checkMemberAccess): Likewise.
3830 (checkMulticast): Likewise.
3831 (checkPackageAccess): Likewise.
3832 (checkPackageDefinition): Likewise.
3833 (checkPermission): Likewise.
3834 (checkPrintJobAccess): Likewise.
3835 (checkPropertiesAccess): Likewise.
3836 (checkPropertyAccess): Likewise.
3837 (checkRead): Likewise.
3838 (checkSecurityAccess): Likewise.
3839 (checkSetFactory): Likewise.
3840 (checkSystemClipboardAccess): Likewise.
3841 (checkTopLevelWindow): Likewise.
3842 (checkWrite): Likewise.
3843
3844 2003-03-20 Michael Koch <konqueror@gmx.de>
3845
3846 * gnu/java/nio/FileChannelImpl.java
3847 (address): Removed.
3848 (map_address): New member variable.
3849 (length): Make it package private.
3850 (fd): Make it package private.
3851 (buf): Make it package private.
3852 (file_obj): Make it package private.
3853 (FileChannelImpl): New constructor.
3854 (nio_mmap_file): Use RawData instead of long.
3855 (nio_munmap_file): Use RawData instead of long.
3856 (nio_msync): Use RawData instead of long.
3857 (implCloseChannel): New implementation using map_address.
3858 (read): Reformated.
3859 (map): Implemented.
3860 (create_direct_mapped_buffer): Implemented, use RawData, throws
3861 IOException.
3862 (force): Use map_address instead of address.
3863 * gnu/java/nio/MappedByteFileBuffer.java
3864 (address): Removed.
3865 (map_address): New member variable.
3866 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3867 (several methods): Use map_address instead of address, replaced long
3868 with RawData where appropriate.
3869 * gnu/java/nio/natFileChannelImpl.cc
3870 (nio_mmap_file): Replaced long with RawData.
3871 (nio_munmap_file): Replaced long with RawData.
3872 (nio_msync): Replaced long with RawData.
3873 * gnu/java/nio/natMappedByteFileBuffer.cc
3874 (several methods): Replaced long with RawData where appropriate.
3875
3876 2003-03-20 Michael Koch <konqueror@gmx.de>
3877
3878 * java/net/InetAddress.java,
3879 java/net/JarURLConnection.java,
3880 java/net/PlainDatagramSocketImpl.java,
3881 java/net/PlainSocketImpl.java,
3882 java/net/URLConnection.java:
3883 Merged copyright statements with classpath for easier merging.
3884
3885 2003-03-20 Michael Koch <konqueror@gmx.de>
3886
3887 * java/io/FileInputStream.java
3888 (getChannel): New implementation.
3889 * java/io/FileOutputStream.java
3890 (ch): New member variable.
3891 (getChannel): Implemented.
3892 * java/io/RandomAccessFile.java
3893 (RandomAccessFile): Throws FileNotFoundException instead of
3894 IOException.
3895 (getChannel): New method.
3896 (ch): New member variable.
3897
3898 2003-03-20 Michael Koch <konqueror@gmx.de>
3899
3900 * java/io/DataOutputStream.java,
3901 java/io/File.java,
3902 java/io/FileInputStream.java,
3903 java/io/FileOutputStream.java,
3904 java/io/InputStreamReader.java,
3905 java/io/LineNumberReader.java,
3906 java/io/OutputStreamWriter.java,
3907 java/io/PrintStream.java,
3908 java/io/RandomAccessFile.java:
3909 Merged copyright statements with classpath for easier merging.
3910
3911 2003-03-19 Michael Koch <konqueror@gmx.de>
3912
3913 * java/lang/Process.java:
3914 Merged from classpath.
3915
3916 2003-03-19 Michael Koch <konqueror@gmx.de>
3917
3918 * java/io/FileOutputStream.java
3919 (FileOutputStream): New constructor, merged from classpath.
3920 * java/io/FileWriter.java
3921 (FileWriter): New constructor, merged from classpath.
3922
3923 2003-03-18 Michael Koch <konqueror@gmx.de>
3924
3925 * java/awt/ScrollPane.java
3926 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3927 (getViewportSize): Likewise.
3928 (addNotify): Likewise.
3929 (removeNotify): Likewise.
3930 * java/awt/ScrollPaneAdjustable.java
3931 (ScrollPaneAdjustable): No longer extends Scrollbar.
3932 * java/beans/beancontext/BeanContextServices.java:
3933 Reformated.
3934 (getService): Added throws TooManyListenersException;
3935 * java/beans/beancontext/BeanContextServicesSupport.java:
3936 Reformated.
3937
3938 2003-03-18 Michael Koch <konqueror@gmx.de>
3939
3940 * java/io/BufferedOutputStream.java,
3941 java/io/DataInput.java,
3942 java/io/DataInputStream.java,
3943 java/io/DataOutput.java,
3944 java/io/Externalizable.java:
3945 More merges from classpath.
3946
3947 2003-03-18 Michael Koch <konqueror@gmx.de>
3948
3949 * configure.in: Fixed links to platform dependant java.net files.
3950 * configure: Regenerated.
3951 * java/net/natInetAddress.cc,
3952 java/net/natNetworkInterface.cc,
3953 java/net/natPlainDatagramSocketImpl.cc,
3954 java/net/natPlainSocketImpl.cc:
3955 Removed.
3956
3957 2003-03-18 Michael Koch <konqueror@gmx.de>
3958
3959 * configure.in: Create links to architecture dependent files,
3960 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3961 * configure: Regenerated.
3962 * java/net/natInetAddressNoNet.cc,
3963 java/net/natInetAddressPosix.cc,
3964 java/net/natInetAddressWin32.cc,
3965 java/net/natNetworkInterfaceNoNet.cc,
3966 java/net/natNetworkInterfacePosix.cc,
3967 java/net/natNetworkInterfaceWin32.cc,
3968 java/net/natPlainDatagramSocketImplNoNet.cc,
3969 java/net/natPlainDatagramSocketImplPosix.cc,
3970 java/net/natPlainDatagramSocketImplWin32.cc,
3971 java/net/natPlainSocketImplNoNet.cc,
3972 java/net/natPlainSocketImplPosix.cc,
3973 java/net/natPlainSocketImplWin32.cc: New files.
3974
3975 2003-03-18 Michael Koch <konqueror@gmx.de>
3976
3977 * java/io/BufferedReader.java,
3978 java/io/BufferedWriter.java,
3979 java/io/ByteArrayOutputStream.java,
3980 java/io/FileFilter.java,
3981 java/io/FilePermission.java,
3982 java/io/FileReader.java,
3983 java/io/FileWriter.java,
3984 java/io/FilenameFilter.java,
3985 java/io/FilterInputStream.java,
3986 java/io/FilterOutputStream.java,
3987 java/io/FilterReader.java,
3988 java/io/FilterWriter.java,
3989 java/io/ObjectInput.java,
3990 java/io/ObjectInputValidation.java,
3991 java/io/ObjectOutput.java,
3992 java/io/ObjectStreamField.java,
3993 java/io/PipedInputStream.java,
3994 java/io/PipedReader.java,
3995 java/io/PrintWriter.java,
3996 java/io/PushbackReader.java,
3997 java/io/Reader.java,
3998 java/io/SerializablePermission.java,
3999 java/io/StringReader.java,
4000 java/io/Writer.java:
4001 Merged from classpath.
4002
4003 2003-03-17 Michael Koch <konqueror@gmx.de>
4004
4005 * java/awt/ScrollPaneAdjustable.java:
4006 Compile fixes.
4007
4008 2003-03-17 Michael Koch <konqueror@gmx.de>
4009
4010 * java/net/DatagramSocket.java
4011 (connect): Fixed comment.
4012 * java/nio/ByteBuffer.java
4013 (hasArray): Fixed comment.
4014
4015 2003-03-17 Michael Koch <konqueror@gmx.de>
4016
4017 * java/beans/Beans.java:
4018 Explicitely import classes not packages.
4019 * java/beans/FeatureDescriptor.java
4020 (preferred): New member variable.
4021 (isPreferred): New method.
4022 (setPreferred): New method.
4023 * java/beans/PropertyEditorManager.java:
4024 Explicitely import used classes.
4025 * java/beans/beancontext/BeanContextChild.java:
4026 Added line wrapping.
4027 * java/beans/beancontext/BeanContextChildSupport.java:
4028 Reindented.
4029 * java/beans/beancontext/BeanContextEvent.java:
4030 Reindented.
4031
4032 2003-03-17 Michael Koch <konqueror@gmx.de>
4033
4034 * java/awt/Dialog.java
4035 (Dialog): New constructor, changed implementations, added
4036 documentation.
4037 * java/awt/ScrollPaneAdjustable.java
4038 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4039 Serializable.
4040 (serialVersionUID): New member variable.
4041 (sp): New member variable.
4042 (orientation): New member variable.
4043 (value): New member variable.
4044 (minimum): New member variable.
4045 (maximum): New member variable.
4046 (visibleAmount): New member variable.
4047 (unitIncrement): New member variable.
4048 (blockIncrement): New member variable.
4049 (AdjustmentListener): New member variable.
4050 (ScrollPaneAdjustable): New implementation.
4051 (addAdjustmentListener): New method.
4052 (removeAdjustmentListener): New method.
4053 (getAdjustmentListeners): New method.
4054 (getBlockIncrement): New method.
4055 (getMaximum): New method.
4056 (getMinimum): New method.
4057 (getOrientation): New method.
4058 (getUnitIncrement): New method.
4059 (getValue): New method.
4060 (getVisibleAmount): New method.
4061 (setBlockIncrement): New method.
4062 (setMaximum): Implemented.
4063 (setMinimum): Implemented.
4064 (setUnitIncrement): New method.
4065 (setValue): New method.
4066 (setVisibleAmount): Implemented.
4067 (paramString): New stubbed method.
4068 * java/awt/Window.java
4069 (show): Call setVisible().
4070 (hide): Call setVisible().
4071 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4072 and WINDOW_STATE_CHANGED.
4073 (processWindowFocusEvent): New method.
4074 (processWindowStateEvent): New method.
4075 (postEvent): Deprecated.
4076 (applyResourceBundle): Deprecated.
4077 * java/awt/datatransfer/DataFlavor.java
4078 (DataFlavor): Doesn't thow ClassNotFoundException.
4079
4080 2003-03-17 Michael Koch
4081
4082 * javax/print/attribute/Attribute.java,
4083 javax/print/attribute/AttributeSet.java,
4084 javax/print/attribute/PrintRequestAttributeSet.java:
4085 New files.
4086 * Makefile.am
4087 (javax_source_files): Added new files:
4088 javax/print/attribute/Attribute.java
4089 javax/print/attribute/AttributeSet.java
4090 javax/print/attribute/PrintRequestAttributeSet.java
4091 * Makefile.in: Regenerated.
4092
4093 2003-03-17 Michael Koch
4094
4095 * javax/print/attribute/Attribute.java,
4096 javax/print/attribute/AttributeSet.java,
4097 javax/print/attribute/PrintRequestAttributeSet.java:
4098 New files.
4099 * Makefile.am
4100 (awt_java_source_files): Added new files:
4101 javax/print/attribute/Attribute.java
4102 javax/print/attribute/AttributeSet.java
4103 javax/print/attribute/PrintRequestAttributeSet.java
4104 * Makefile.in: Regenerated.
4105
4106 2003-03-16 Tom Tromey <tromey@redhat.com>
4107
4108 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4109 Include platform.h.
4110 * java/lang/natRuntime.cc (insertSystemProperties): Use
4111 _Jv_platform_path_separator.
4112 (nativeGetLibname): Use _Jv_platform_file_separator.
4113 (_load): Use _Jv_platform_onload_names.
4114 (onload_names): New global.
4115 * include/win32.h (_Jv_platform_file_separator): New define.
4116 (_Jv_platform_path_separator): Likewise.
4117 (_Jv_platform_onload_names): Likewise.
4118 (_Jv_platform_ffi_abi): Likewise.
4119 * include/posix.h (_Jv_platform_file_separator): New define.
4120 (_Jv_platform_path_separator): Likewise.
4121 (_Jv_platform_onload_names): Likewise.
4122 (_Jv_platform_ffi_abi): Likewise.
4123
4124 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
4125
4126 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4127
4128 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
4129
4130 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4131 hierarchy loop.
4132 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4133 list to Object,ObjectStreamClass, moved callReadMethod code up into
4134 readObject and added Class argument to all setXxxField calls.
4135 (callReadMethod): Changed Class argument to ObjectStreamClass to be
4136 consistent with ObjectOutputStream and to facilitate caching the
4137 Method in the future.
4138 (setBooleanField): Added Class argument.
4139 (setByteField): Likewise.
4140 (setCharField): Likewise.
4141 (setDoubleField): Likewise.
4142 (setFloatField): Likewise.
4143 (setIntField): Likewise.
4144 (setLongField): Likewise.
4145 (setShortField): Likewise.
4146 (setObjectField): Likewise.
4147 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4148 class hierarchy loop.
4149 (defaultWriteObject): Call writeFields with new argument list.
4150 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4151 list to Object,ObjectStreamClass, moved callWriteMethod up into
4152 writeObject and added Class argument to all getXxxField calls.
4153 (callWriteMethod): Added ObjectStreamClass argument to be able to
4154 get the proper class to call getMethod on (each class can have (or
4155 not have) its own writeObject method).
4156 (getBooleanField): Added Class argument.
4157 (getByteField): Likewise.
4158 (getCharField): Likewise.
4159 (getDoubleField): Likewise.
4160 (getFloatField): Likewise.
4161 (getIntField): Likewise.
4162 (getLongField): Likewise.
4163 (getShortField): Likewise.
4164 (getObjectField): Likewise.
4165 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4166 facilitate caching the Method object in the future.
4167
4168 2003-03-12 Andreas Schwab <schwab@suse.de>
4169
4170 * configure.in: Avoid trailing /. in toolexeclibdir.
4171 * configure: Rebuilt.
4172
4173 2003-03-11 Michael Koch <konqueror@gmx.de>
4174
4175 * gnu/java/nio/ByteBufferImpl.java
4176 (putInt): Use limit() instead of limit.
4177 * gnu/java/nio/CharBufferImpl.java
4178 (slice): Fixed implementation.
4179 (subSequence): Better bounds checking.
4180 * gnu/java/nio/MappedByteFileBuffer.java:
4181 Import all needed classes directly.
4182 * java/nio/ByteBuffer.java
4183 (hashCode): New dummy method.
4184 * java/nio/CharBuffer.java
4185 (array_offset): New member variable.
4186 (hasArray): Fixed documentation.
4187 (arrayOffset): Return array_offset.
4188
4189 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4190
4191 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4192 setter; made return value of getter const char* instead of char*
4193 * prims.cc: removed all references to _Jv_ThisExecutable().
4194 These are in the platform-specific sections now.
4195 * posix.cc: define platform-specific _Jv_ThisExecutable().
4196 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4197 * win32.cc: define platform-specific _Jv_ThisExecutable()
4198 using GetModuleFilename()
4199 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4200 to argv[0] instead of _Jv_ThisExecutable()
4201
4202 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4203
4204 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4205 that is set if we are using addr2name.awk instead of addr2line.
4206 (NameFinder): Set usingAddr2name if using addr2name.awk.
4207 (getExternalLabel): New native method to convert a method
4208 name to an external label.
4209 (lookup): Convert name given by addr2line to an external label
4210 before demangling.
4211
4212 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4213 constant representing the prefix attached to method names to
4214 convert them to an external label.
4215 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4216 using LABEL_PREFIX.
4217
4218 2003-03-10 Tom Tromey <tromey@redhat.com>
4219
4220 * Makefile.in: Rebuilt.
4221 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4222 (JC1FLAGS): Removed -Wno-deprecated.
4223
4224 2003-03-10 Michael Koch <konqueror@gmx.de>
4225
4226 * java/nio/ByteOrder.java
4227 (nativeOrder): Working implementation, added documentation.
4228 (toString): Added documentation.
4229
4230 2003-03-10 Michael Koch <konqueror@gmx.de>
4231
4232 * java/net/DatagramSocket.java,
4233 java/net/MulticastSocket.java,
4234 java/net/Socket.java,
4235 java/net/URL.java,
4236 java/net/URLConnection.java:
4237 Fixed some documentation tags to make javadoc and friends happy.
4238
4239 2003-03-10 Michael Koch <koqnueror@gmx.de>
4240
4241 * java/beans/beancontext/BeanContextServicesSupport.java,
4242 java/beans/beancontext/BeanContextSupport.java: New files.
4243 * Makefile.am
4244 (awt_source_files): Added new files.
4245 * Makefile.in: Regenerated.
4246
4247 2003-03-10 Michael Koch <konqueror@gmx.de>
4248
4249 * java/awt/FocusTraversalPolicy.java
4250 (FocusTraversalPolicy): Documentation added.
4251 (getComponentAfter): Documentation added.
4252 (getComponentBefore): Documentation added.
4253 (getFirstComponent): Documentation added.
4254 (getLastComponent): Documentation added.
4255 (getDefaultComponent): Documentation added.
4256 (getInitialComponent): Documentation added.
4257 * java/awt/ScrollPaneAdjustable.java
4258 (sp): New member variable.
4259 (orientation): New member variable.
4260 (value): New member variable.
4261 (minimum): New member variable.
4262 (maximum): New member variable.
4263 (visibleAmount): New member variable.
4264 (unitIncrement): New member variable.
4265 (blockIncrement): New member variable.
4266 (adjustmentListener): New member variable.
4267 (ScrollPaneAdjustable): Rewrote.
4268 (addAdjustmentListener): New method.
4269 (removeAdjustmentListener): New method.
4270 (getAdjustmentListeners): New method.
4271 (getBlockIncrement): New method.
4272 (getMaximum): New method.
4273 (getMinimum): New method.
4274 (getOrientation): New method.
4275 (getUnitIncrement): New method.
4276 (getValue): New method.
4277 (getVisibleAmount): New method.
4278 (setBlockIncrement): New method.
4279 (setUnitIncrement): New method.
4280 (setMaximum): Implemented.
4281 (setMinimum): Implemented.
4282 (setValue): New method.
4283 (setVisibleAmount): Implemented.
4284 (paramString): New method.
4285 * java/awt/Window.java
4286 (show): Use setVisible(true) instead of super.show().
4287 (hide): Use sevVisible(false) instead of super.hide().
4288 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4289 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4290 (postEvent): Deprecated.
4291 (applyResourceBundle): Deprecated.
4292 (processWindowFocusEvent): New method.
4293 (processWindowStateEvent): New method.
4294 * java/awt/datatransfer/DataFlavor.java: Reindented.
4295 * java/awt/font/TextHitInfo.java
4296 (charIndex): New member variable.
4297 (leadingEdge): New member variable.
4298 (TextHitInfo): New constructor.
4299 (getCharIndex): Implemented.
4300 (isLeadingEdge): Implemented.
4301 (getInsertionIndex): Implemented.
4302 (hashCode): Access charIndex directly.
4303 (equals): Reformated.
4304 (leading): Implemented.
4305 (trailing): Implemented.
4306 (beforeOffset): Implemented.
4307 (afterOffset): Implemented.
4308 (getOtherHit): Implemented.
4309 (getOffsetHit): Implemented.
4310 (toString): Implemented.
4311 * java/awt/image/BufferedImage.java
4312 (BufferedImage): Implements WritableRenderedImage.
4313 (observers): New member variable.
4314 (addTileObserver): New method.
4315 (removeTileObserver): New method.
4316
4317 2003-03-09 Tom Tromey <tromey@redhat.com>
4318
4319 PR libgcj/9934:
4320 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4321 to lseek. Return 0 if we can't compute the value.
4322
4323 2003-03-03 Michael Koch <konqueror@gmx.de>
4324
4325 * java/net/NetworkInterface.java: Merged with classpath.
4326
4327 2003-03-03 Tom Tromey <tromey@redhat.com>
4328
4329 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4330 of bytecode.
4331 (handle_ret_insn): Fail if returning to jsr that appears at end of
4332 bytecode.
4333
4334 2003-03-03 Michael Koch <konqueror@gmx.de>
4335
4336 * Makefile.am
4337 (ordinary_java_source_files):
4338 Added gnu/java/nio/MappedByteFileBuffer.java.
4339 (nat_source_files):
4340 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4341 * Makefile.in: Regenerated.
4342
4343 2003-03-03 Michael Koch <konqueror@gmx.de>
4344
4345 * java/net/DatagramSocket.java
4346 (connect): Merged comment from classpath.
4347 (receive): Merged documentation from classpath.
4348 * java/net/Socket.java
4349 (setSoTimeout): Clarified documentation.
4350 * java/net/URL.java
4351 (getPath): Merged from classpath.
4352 (getUserInfo): Merged from classpath.
4353 (getQuery): Merged from classpath.
4354 * java/net/URLStreamHandler.java
4355 (toExternalForm): Merged from classpath.
4356
4357 2003-03-02 Mark Wielaard <mark@klomp.org>
4358
4359 * java/util/Properties.java (load): Only skip line if the first
4360 character is a comment, whitespaces don't count.
4361
4362 2003-03-02 Michael Koch <konqueror@gmx.de>
4363
4364 * java/net/NetPermission.java:
4365 Merged copyright with classpath.
4366
4367 2003-03-02 Michael Koch <konqueror@gmx.de>
4368
4369 * java/lang/Package.java:
4370 Remerged from classpath.
4371
4372 2003-03-02 Michael Koch <konqueror@gmx.de>
4373
4374 * java/net/HttpURLConnection.java
4375 (HTTP_SERVER_ERROR): Deprecated.
4376 * java/net/MulticastSocket.java
4377 (send): Replaced checkMulticast with appropriate checkPermission call,
4378 deprecated.
4379 * java/net/URLDecoder.java
4380 (decode): Deprecated.
4381 * java/net/URLEncoder.java
4382 (encode): Deprecated.
4383
4384 2003-03-02 Michael Koch <konqueror@gmx.de>
4385
4386 * javax/swing/text/Caret.java
4387 (getMagicCaretPosition): Fixed typo in method name.
4388 * javax/swing/text/DefaultCaret.java
4389 (getMagicCaretPosition): Fixed typo in method name.
4390
4391 2003-03-02 Michael Koch <konqueror@gmx.de>
4392
4393 * java/awt/List.java
4394 (setMultipleSelections): Deprecated.
4395 (delItem): Deprecated.
4396 * java/awt/MenuComponent.java
4397 (getPeer): Deprecated.
4398 * java/awt/ScrollPane.java
4399 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4400 * java/awt/dnd/MouseDragGestureRecognizer.java
4401 (mouseClicked): Added comment.
4402 (mousePressed): Added comment.
4403 (mouseReleased): Added comment.
4404 (mouseEntered): Added comment.
4405 (mouseExited): Added comment.
4406 (mouseDragged): Added comment.
4407 (mouseMoved): Added comment.
4408 * java/awt/event/KeyEvent.java
4409 (KeyEvent): Deprecated.
4410 (setModifiers): Deprecated.
4411
4412 2003-03-02 Michael Koch <konqueror@gmx.de>
4413
4414 * gnu/java/nio/FileChannelImpl.java
4415 (fd): Type FileDescriptor instead of int.
4416 (lengthInternal): Removed.
4417 (FileChannelImpl): Fixed arguments, check type of file object.
4418 (size): Made it native.
4419 (implPosition): New native method.
4420 (implTruncate): New native method.
4421 (position): Implemented.
4422 (truncate): Implemented.
4423 (nio_mmap_file): Changed arguments.
4424 (nio_munmap_file): Changed arguments.
4425 (nio_msync): Changed arguments.
4426 * gnu/java/nio/natFileChannelImpl.cc
4427 (lengthInternal): Removed.
4428 (size): New method.
4429 (implPosition): New method.
4430 (implTruncate): New method.
4431 (nio_mmap_file): Changed arguments.
4432 (nio_munmap_file): Changed arguments.
4433 (nio_msync): Changed arguments.
4434
4435 2003-03-02 Michael Koch <konqueror@gmx.de>
4436
4437 * java/awt/dnd/DropTargetContext.java:
4438 Compile fix: Forgot to commit import.
4439
4440 2003-03-02 Michael Koch <konqueror@gmx.de>
4441
4442 * java/awt/Component.java,
4443 java/awt/ScrollPane.java:
4444 Fixed typos.
4445
4446 2003-03-02 Michael Koch <konqueror@gmx.de>
4447
4448 * java/awt/dnd/DnDEventMulticaster.java: New file.
4449 * java/awt/dnd/DragSource.java
4450 (flavorMap): New member variable.
4451 (dragSourceListener): New member variable.
4452 (dragSourceMotionListener): New member variable.
4453 (getFlavorMap): Implemented.
4454 (createDragGestureRecognizer): Implemented.
4455 (addDragSourceListener): Implemented.
4456 (removeDragSourceListener): Implemented.
4457 (getDragSourceListeners): Implemented.
4458 (addDragSourceMotionListener): Implemented.
4459 (removeDragSourceMotionListener): Implemented.
4460 (getDragSourceMotionListeners): Implemented.
4461 (getListeners): Implemented.
4462 * java/awt/dnd/DragSourceContext.java
4463 (peer): New member variable.
4464 (cursor): New member variable.
4465 (transferable): New member variable.
4466 (trigger): New member variable.
4467 (dragSourceListener): New member variable.
4468 (image): New member variable.
4469 (offset): New member variable.
4470 (DragSourceContext): Implemented.
4471 (getDragSource): Implemented.
4472 (getComponent): Implemented.
4473 (getTrigger): Implemented.
4474 (getSourceActions): Implemented.
4475 (setCursor): Implemented.
4476 (getCursor): Implemented.
4477 (addDragSourceListener): Implemented.
4478 (removeDragSourceListener): Implemented.
4479 (getTransferable): Implemented.
4480 * java/awt/dnd/DropTarget.java
4481 (DropTargetAutoScroller.component): New member variable.
4482 (DropTargetAutoScroller.point): New member variable.
4483 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4484 (DropTargetAutoScroller.updateLocation): Implemented.
4485 (active): Renamed from isActive, defaults to true now.
4486 (component): New member variable.
4487 (flavorMap): New member variable.
4488 (actions): New member variable.
4489 (dropTargetContext): New member variable.
4490 (dropTargetListener): New member variable.
4491 (DropTarget): Implemented.
4492 (getComponent): Implemented.
4493 (setComponent): Implemented.
4494 (setDefaultActions): Implemented.
4495 (getDefaultActions): Implemented.
4496 (setActive): Use active instead of isActive.
4497 (isActive): Use active instead of isActive.
4498 (addDropTargetListener): Implemented.
4499 (removeDropTargetListener): Implemented.
4500 (getFlavorMap): Implemented.
4501 (setFlavorMap): Implemented.
4502 (getDropTargetContext): Implemented.
4503 (createDropTargetContext): Implemented.
4504 (createDropTargetAutoScroller): Implemented.
4505 * java/awt/dnd/DropTargetContext.java
4506 (TransferableProxy.getTransferDataFlavors): Implemented.
4507 (TransferableProxy.isDataFlavorSupported): Implemented.
4508 (TransferableProxy.getTransferData): Implemented.
4509 (dropTarget): New member variable.
4510 (dtcp): New member variable.
4511 (DropTargetContext): New package private constructor.
4512 (getDropTarget): Implemented.
4513 (getComponent): Implemented.
4514 (addNotify): Implemented.
4515 (removeNotify): Implemented.
4516 (getCurrentDataFlavorsAsList): Implemented.
4517 (isDataFlavorSupported): Implemented.
4518 * java/awt/dnd/MouseDragGestureRecognizer.java
4519 (registerListeners): Implemented.
4520 (unregisterListeners): Implemented.
4521 * Makefile.am
4522 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4523 * Makefile.in: Regenerated.
4524
4525 2003-03-02 Michael Koch <konqueror@gmx.de>
4526
4527 * java/awt/Component.java
4528 (eventTypeEnabled): New method.
4529 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4530 * java/awt/Container.java
4531 (changeSupport): New member variable.
4532 (addPropertyChangeListener): New methods.
4533 * java/awt/ContainerOrderFocusTraversalPolicy.java
4534 (ContainerOrderFocusTraversalPolicy): Added comment.
4535 (getComponentAfter): Throw exception, documentation added.
4536 (getComponentBefore): Throw exception, documentation added.
4537 (getFirstComponent): Throw exception, documentation added.
4538 (getLastComponent): Throw exception, documentation added.
4539 (getDefaultComponent): Throw exception, documentation added.
4540 * java/awt/EventQueue.java: Reindented.
4541 * java/awt/FocusTraversalPolicy.java:
4542 (FocusTraversalPolicy): Added comment.
4543 (getComponentAfter): Documentation added.
4544 (getComponentBefore): Documentation added.
4545 (getFirstComponent): Documentation added.
4546 (getLastComponent): Documentation added.
4547 (getDefaultComponent): Documentation added.
4548 (getInitialComponent): Documentation added.
4549 * java/awt/ScrollPane.java
4550 (wheelScrollingEnabled): New member variable.
4551 (ScrollPane): Initialize wheelScollingEnabled.
4552 (eventTypeEnabled): New method.
4553 (isWheelScrollingEnabled): New method.
4554 (setWheelScrollingEnabled): New method.
4555
4556 2003-03-02 Michael Koch <konqueror@gmx.de>
4557
4558 * java/net/DatagramSocket.java
4559 (closed): New member variable.
4560 (close): Use closed variable.
4561 (getInetAddress): No need to call isConnected().
4562 (getPort): No need to call isConnected().
4563 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4564 (isClosed): Reimplemented.
4565
4566 2003-03-02 Michael Koch <konqueror@gmx.de>
4567
4568 * configure.in: Added check for memory mapping of files.
4569 * configure: Regenerated.
4570 * config.h.in: Regenerated.
4571
4572 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4573
4574 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4575 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4576
4577 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4578
4579 * java/io/File.java (normalizePath): Remove trailing separator
4580 on Windows only if path is not of the form "x:\".
4581
4582 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4583 (java::io::File::attr): Change formatting a bit and use
4584 WIN32_EPOCH_MILLIS instead of magic numbers.
4585 (java::io::File::isAbsolute): Path must have at least 3
4586 characters for a UNC network path.
4587 (java::io::File::init_native): Define.
4588 (java::io::File::performCreate): Likewise.
4589 (java::io::File::performSetReadOnly): Likewise.
4590 (java::io::File::performSetLastModified): Likewise.
4591 (java::io::File::performListRoots): Likewise.
4592
4593 2003-03-01 Tom Tromey <tromey@redhat.com>
4594
4595 * java/lang/natObject.cc: Don't include assert.h.
4596 (heavy_lock_obj_finalization_proc): Use JvAssert.
4597 (remove_all_heavy): Likewise.
4598 (_Jv_MonitorEnter): Likewise.
4599 (_Jv_MonitorExit): Likewise.
4600 (wait): Likewise.
4601
4602 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4603
4604 * java/io/File (getAbsolutePath): Prefix drive specifier on
4605 Windows for paths starting with a '\'.
4606 (toURL): Make URL more consistent with what Sun's JDK returns.
4607
4608 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4609 true only if the path is a UNC network path or it starts with a
4610 drive specifier.
4611
4612 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4613 Be prepared to handle either '/' or '\\' in the file path for
4614 Windows if using the "file" protocol.
4615 Canonicalise the file path if using a relative path in the given
4616 context and the "file" protocol.
4617
4618 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4619
4620 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4621 program array element passed to CreateProcess.
4622
4623 2003-03-01 Tom Tromey <tromey@redhat.com>
4624
4625 * java/rmi/registry/RegistryHandler.java: Deprecate.
4626
4627 2003-03-01 Tom Tromey <tromey@redhat.com>
4628
4629 * javax/accessibility/AccessibleEditableText.java,
4630 javax/accessibility/AccessibleHyperlink.java: New versions from
4631 Classpath.
4632
4633 * gnu/java/locale/LocaleInformation_af_ZA.java,
4634 gnu/java/locale/LocaleInformation_ar_AE.java,
4635 gnu/java/locale/LocaleInformation_ar_BH.java,
4636 gnu/java/locale/LocaleInformation_ar_DZ.java,
4637 gnu/java/locale/LocaleInformation_ar_EG.java,
4638 gnu/java/locale/LocaleInformation_ar_IN.java,
4639 gnu/java/locale/LocaleInformation_ar_IQ.java,
4640 gnu/java/locale/LocaleInformation_ar_JO.java,
4641 gnu/java/locale/LocaleInformation_ar_KW.java,
4642 gnu/java/locale/LocaleInformation_ar_LB.java,
4643 gnu/java/locale/LocaleInformation_ar_LY.java,
4644 gnu/java/locale/LocaleInformation_ar_MA.java,
4645 gnu/java/locale/LocaleInformation_ar_OM.java,
4646 gnu/java/locale/LocaleInformation_ar_QA.java,
4647 gnu/java/locale/LocaleInformation_ar_SD.java,
4648 gnu/java/locale/LocaleInformation_ar_SY.java,
4649 gnu/java/locale/LocaleInformation_ar_TN.java,
4650 gnu/java/locale/LocaleInformation_ar_YE.java,
4651 gnu/java/locale/LocaleInformation_be_BY.java,
4652 gnu/java/locale/LocaleInformation_bn_IN.java,
4653 gnu/java/locale/LocaleInformation_br_FR.java,
4654 gnu/java/locale/LocaleInformation_bs_BA.java,
4655 gnu/java/locale/LocaleInformation_ca_ES.java,
4656 gnu/java/locale/LocaleInformation_cs_CZ.java,
4657 gnu/java/locale/LocaleInformation_cy_GB.java,
4658 gnu/java/locale/LocaleInformation_da_DK.java,
4659 gnu/java/locale/LocaleInformation_de_AT.java,
4660 gnu/java/locale/LocaleInformation_de_BE.java,
4661 gnu/java/locale/LocaleInformation_de_CH.java,
4662 gnu/java/locale/LocaleInformation_de_DE.java,
4663 gnu/java/locale/LocaleInformation_de_LU.java,
4664 gnu/java/locale/LocaleInformation_el_GR.java,
4665 gnu/java/locale/LocaleInformation_en_AU.java,
4666 gnu/java/locale/LocaleInformation_en_BW.java,
4667 gnu/java/locale/LocaleInformation_en_CA.java,
4668 gnu/java/locale/LocaleInformation_en_DK.java,
4669 gnu/java/locale/LocaleInformation_en_GB.java,
4670 gnu/java/locale/LocaleInformation_en_HK.java,
4671 gnu/java/locale/LocaleInformation_en_IE.java,
4672 gnu/java/locale/LocaleInformation_en_IN.java,
4673 gnu/java/locale/LocaleInformation_en_NZ.java,
4674 gnu/java/locale/LocaleInformation_en_PH.java,
4675 gnu/java/locale/LocaleInformation_en_SG.java,
4676 gnu/java/locale/LocaleInformation_en_US.java,
4677 gnu/java/locale/LocaleInformation_en_ZA.java,
4678 gnu/java/locale/LocaleInformation_en_ZW.java,
4679 gnu/java/locale/LocaleInformation_es_AR.java,
4680 gnu/java/locale/LocaleInformation_es_BO.java,
4681 gnu/java/locale/LocaleInformation_es_CL.java,
4682 gnu/java/locale/LocaleInformation_es_CO.java,
4683 gnu/java/locale/LocaleInformation_es_CR.java,
4684 gnu/java/locale/LocaleInformation_es_DO.java,
4685 gnu/java/locale/LocaleInformation_es_EC.java,
4686 gnu/java/locale/LocaleInformation_es_ES.java,
4687 gnu/java/locale/LocaleInformation_es_GT.java,
4688 gnu/java/locale/LocaleInformation_es_HN.java,
4689 gnu/java/locale/LocaleInformation_es_MX.java,
4690 gnu/java/locale/LocaleInformation_es_NI.java,
4691 gnu/java/locale/LocaleInformation_es_PA.java,
4692 gnu/java/locale/LocaleInformation_es_PE.java,
4693 gnu/java/locale/LocaleInformation_es_PR.java,
4694 gnu/java/locale/LocaleInformation_es_PY.java,
4695 gnu/java/locale/LocaleInformation_es_SV.java,
4696 gnu/java/locale/LocaleInformation_es_US.java,
4697 gnu/java/locale/LocaleInformation_es_UY.java,
4698 gnu/java/locale/LocaleInformation_es_VE.java,
4699 gnu/java/locale/LocaleInformation_et_EE.java,
4700 gnu/java/locale/LocaleInformation_eu_ES.java,
4701 gnu/java/locale/LocaleInformation_fa_IR.java,
4702 gnu/java/locale/LocaleInformation_fi_FI.java,
4703 gnu/java/locale/LocaleInformation_fo_FO.java,
4704 gnu/java/locale/LocaleInformation_fr_BE.java,
4705 gnu/java/locale/LocaleInformation_fr_CA.java,
4706 gnu/java/locale/LocaleInformation_fr_CH.java,
4707 gnu/java/locale/LocaleInformation_fr_FR.java,
4708 gnu/java/locale/LocaleInformation_fr_LU.java,
4709 gnu/java/locale/LocaleInformation_ga_IE.java,
4710 gnu/java/locale/LocaleInformation_gd_GB.java,
4711 gnu/java/locale/LocaleInformation_gl_ES.java,
4712 gnu/java/locale/LocaleInformation_gv_GB.java,
4713 gnu/java/locale/LocaleInformation_he_IL.java,
4714 gnu/java/locale/LocaleInformation_hi_IN.java,
4715 gnu/java/locale/LocaleInformation_hr_HR.java,
4716 gnu/java/locale/LocaleInformation_hu_HU.java,
4717 gnu/java/locale/LocaleInformation_id_ID.java,
4718 gnu/java/locale/LocaleInformation_it_CH.java,
4719 gnu/java/locale/LocaleInformation_it_IT.java,
4720 gnu/java/locale/LocaleInformation_iw_IL.java,
4721 gnu/java/locale/LocaleInformation_ja_JP.java,
4722 gnu/java/locale/LocaleInformation_ka_GE.java,
4723 gnu/java/locale/LocaleInformation_kl_GL.java,
4724 gnu/java/locale/LocaleInformation_ko_KR.java,
4725 gnu/java/locale/LocaleInformation_kw_GB.java,
4726 gnu/java/locale/LocaleInformation_lt_LT.java,
4727 gnu/java/locale/LocaleInformation_lv_LV.java,
4728 gnu/java/locale/LocaleInformation_mi_NZ.java,
4729 gnu/java/locale/LocaleInformation_mk_MK.java,
4730 gnu/java/locale/LocaleInformation_mr_IN.java,
4731 gnu/java/locale/LocaleInformation_mt_MT.java,
4732 gnu/java/locale/LocaleInformation_nl_BE.java,
4733 gnu/java/locale/LocaleInformation_nl_NL.java,
4734 gnu/java/locale/LocaleInformation_nn_NO.java,
4735 gnu/java/locale/LocaleInformation_no_NO.java,
4736 gnu/java/locale/LocaleInformation_oc_FR.java,
4737 gnu/java/locale/LocaleInformation_pl_PL.java,
4738 gnu/java/locale/LocaleInformation_pt_BR.java,
4739 gnu/java/locale/LocaleInformation_pt_PT.java,
4740 gnu/java/locale/LocaleInformation_ro_RO.java,
4741 gnu/java/locale/LocaleInformation_ru_RU.java,
4742 gnu/java/locale/LocaleInformation_ru_UA.java,
4743 gnu/java/locale/LocaleInformation_se_NO.java,
4744 gnu/java/locale/LocaleInformation_sk_SK.java,
4745 gnu/java/locale/LocaleInformation_sl_SI.java,
4746 gnu/java/locale/LocaleInformation_sq_AL.java,
4747 gnu/java/locale/LocaleInformation_sr_YU.java,
4748 gnu/java/locale/LocaleInformation_sv_FI.java,
4749 gnu/java/locale/LocaleInformation_sv_SE.java,
4750 gnu/java/locale/LocaleInformation_ta_IN.java,
4751 gnu/java/locale/LocaleInformation_te_IN.java,
4752 gnu/java/locale/LocaleInformation_tg_TJ.java,
4753 gnu/java/locale/LocaleInformation_tl_PH.java,
4754 gnu/java/locale/LocaleInformation_tr_TR.java,
4755 gnu/java/locale/LocaleInformation_uk_UA.java,
4756 gnu/java/locale/LocaleInformation_ur_PK.java,
4757 gnu/java/locale/LocaleInformation_uz_UZ.java,
4758 gnu/java/locale/LocaleInformation_vi_VN.java,
4759 gnu/java/locale/LocaleInformation_yi_US.java,
4760 gnu/java/locale/LocaleInformation_zh_CN.java,
4761 gnu/java/locale/LocaleInformation_zh_HK.java,
4762 gnu/java/locale/LocaleInformation_zh_SG.java,
4763 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4764 info; from Classpath.
4765
4766 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4767 isPaintPending): New methods.
4768 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4769 setMaximizedBounds): New methods.
4770 (beginLayout, endLayout, isPaintPending): Likewise.
4771 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4772 (requestFocus): Likewise.
4773 (isObscured): Likewise.
4774 (canDetermineObscurity): Likewise.
4775 (coalescePaintEvent): Likewise.
4776 (updateCursorImmediately): Likewise.
4777 (createVolatileImage): Likewise.
4778 (handlesWheelScrolling): Likewise.
4779 (createBuffers): Likewise.
4780 (getBackBuffer): Likewise.
4781 (flip): Likewise.
4782 (destroyBuffers): Likewise.
4783
4784 * Makefile.in: Rebuilt.
4785 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4786 RobotPeer.java.
4787 * gnu/java/awt/GLightweightPeer.java,
4788 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4789 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4790 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4791 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4792 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4793 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4794 java/awt/dnd/peer/DragSourceContextPeer.java,
4795 java/awt/dnd/peer/DropTargetContextPeer.java,
4796 java/awt/peer/ButtonPeer.java,
4797 java/awt/peer/CheckboxMenuItemPeer.java,
4798 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4799 java/awt/peer/ComponentPeer.java,
4800 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4801 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4802 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4803 java/awt/peer/MenuBarPeer.java,
4804 java/awt/peer/MenuComponentPeer.java,
4805 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4806 java/awt/peer/PopupMenuPeer.java,
4807 java/awt/peer/ScrollPanePeer.java,
4808 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4809 java/awt/peer/TextComponentPeer.java,
4810 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4811 New versions from Classpath.
4812 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4813 * java/awt/peer/RobotPeer.java: Likewise.
4814
4815 2003-03-01 Mark Wielaard <mark@klomp.org>
4816
4817 * java/io/ObjectInputStream.java: Reindent.
4818 * java/io/ObjectOutputStream.java: Likewise.
4819
4820 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4821
4822 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4823 jvalue for each argument. Simplify.
4824 * testsuite/libjava.jni/calls.c (docall),
4825 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4826 misalignment.
4827
4828 2003-02-28 Mark Wielaard <mark@klomp.org>
4829
4830 * Makefile.am (nat_source_files): Remove
4831 java/io/natObjectOutputStream.cc.
4832 * Makefile.in: Regenerated.
4833 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4834 * java/io/ObjectStreamField.java (typename): New field.
4835 (ObjectStreamField(String, Class)): Initialize new field.
4836 (ObjectStreamField(String, String)): New Constructor.
4837 (getTypeCode): Use new field.
4838 (getTypeString): Use new field.
4839 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4840 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4841 Handle reading of Proxy classes. Never drain(), just write
4842 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4843 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4844 (flush): Call flush(), not just drain().
4845 (writeBoolean): Always use blockDataOutput.
4846 (writeByte): Likewise.
4847 (writeShort): Likewise.
4848 (writeChar): Likewise.
4849 (writeInt): Likewise.
4850 (writeLong): Likewise.
4851 (writeFloat): Likewise.
4852 (writeDouble): Likewise.
4853 (writeBytes): Likewise.
4854 (putfield (put(String,Object))): Throw IllegalArgumentException if
4855 field cannot be found.
4856 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4857 (writeArraySizeAndElements): Write byte[] in one go.
4858 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4859 set BlockDataMode to false.
4860 (annotateProxyClass): New method.
4861 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4862 (getField): No longer native.
4863 (getMethod): Likewise.
4864 (setBlockDataMode): Always drain() on switch, return old mode.
4865 (static): New static code block.
4866 * java/io/natObjectOutputStream.cc: Removed.
4867 * java/io/ObjectInputStream.java (getField): No longer native.
4868 (getMethod): Likewise.
4869 (readObject): Remember and reset old BlockDataMode. Track whether
4870 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4871 TC_LONGSTRING.
4872 (defaultReadObject): Set BlockDataMode to false during readFields.
4873 (resolveClass): Create new SecurityManager if necessary.
4874 Use Class.forName() if null ClassLoader found.
4875 (read(byte[],int,int): Copy remaining bytes to data before calling
4876 readNextBlock().
4877 (readFields): Set and reset BlockDataMode on call_read_method.
4878 Catch NoSuchFieldErrors.
4879 (setBlockDataMode): Return old mode.
4880 (static): New static code block.
4881 * java/io/natObjectInputStream.cc (getField): Removed.
4882 (getMethod): Likewise.
4883
4884 2003-02-27 Michael Koch <konqueror@gmx.de>
4885
4886 * java/beans/Beans.java,
4887 java/beans/FeatureDescriptor.java
4888 java/beans/PropertyEditorManager.java:
4889 Reformated to GNU style.
4890
4891 2003-02-25 Michael Koch <konqueror@gmx.de>
4892
4893 * gnu/java/nio/MappedByteFileBuffer.java,
4894 gnu/java/nio/natMappedByteFileBuffer.cc:
4895 New files, both are not compiled yet to get not noncompiling CVS.
4896
4897 2003-02-24 Tom Tromey <tromey@redhat.com>
4898
4899 * java/util/prefs/AbstractPreferences.java (isUserNode):
4900 Implemented.
4901
4902 2003-02-24 Tom Tromey <tromey@redhat.com>
4903
4904 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4905 Deprecate.
4906 * java/lang/Thread.java (resume): Deprecate.
4907 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4908 in @deprecated.
4909
4910 2003-02-23 Tom Tromey <tromey@redhat.com>
4911
4912 * Makefile.in: Rebuilt.
4913 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4914
4915 2003-02-23 Tom Tromey <tromey@redhat.com>
4916
4917 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4918 libraries): Removed.
4919 (add_library): Removed.
4920 (_load): Don't call add_library.
4921 (loadLibraryInternal): Likewise.
4922 (init): Likewise.
4923 (lookup_data): New struct.
4924 (find_symbol): New function.
4925 (_Jv_FindSymbolInExecutable): Use it.
4926
4927 2002-02-21 Anthony Green <green@redhat.com>
4928
4929 * java/lang/Thread.java (Thread): New constructor taking stack
4930 size parameter (ignored for now).
4931 * Many methods: Merged GNU Classpath documentation.
4932
4933 * java/lang/Class.java (finalize): throws a Throwable.
4934
4935 2003-02-21 Mark Wielaard <mark@klomp.org>
4936
4937 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4938 argument is null.
4939
4940 2003-02-21 Mark Wielaard <mark@klomp.org>
4941
4942 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4943 then 65535 chars throw IllegalArgumentException.
4944
4945 2003-02-21 Mark Wielaard <mark@klomp.org>
4946
4947 * java/util/zip/ZipFile.java (finalize): New method.
4948
4949 2003-02-21 Michael Koch <konqueror@gmx.de>
4950
4951 * gnu/java/nio/natSocketChannelImpl.cc:
4952 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4953 <cato@df.lth.se> for pointing to it.
4954
4955 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4956
4957 * java/math/BigInteger.java (euclidInv): Take result array as an
4958 argument. Updated all callers.
4959 (modInverse): Removed unused variables.
4960
4961 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4962
4963 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4964 config.status.
4965 * configure: Rebuilt.
4966
4967 2003-02-19 Michael Koch <konqueror@gmx.de>
4968
4969 * gnu/java/nio/natSocketChannelImpl.cc:
4970 Added support for platforms without network support.
4971
4972 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4973
4974 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4975 after config.h. Use <> for consistency.
4976 * java/lang/natObject.cc: Likewise.
4977 * java/lang/natRuntime.cc: Likewise.
4978 * java/lang/natSystem.cc: Likewise.
4979 * java/util/natTimeZone.cc: Likewise.
4980 * win32.cc: Likewise.
4981 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4982 listen, write, read): Undef to avoid interference from OS macros.
4983
4984 2003-02-19 Michael Koch <konqueror@gmx.de>
4985
4986 * gnu/java/nio/ByteBufferImpl.java
4987 (ByteBufferImpl): Renamed two variables.
4988 * gnu/java/nio/CharBufferImpl.java
4989 (CharBufferImpl): Renamed two variables.
4990 * gnu/java/nio/DoubleBufferImpl.java
4991 (DoubleBufferImpl): Renamed two variables.
4992 * gnu/java/nio/FloatBufferImpl.java
4993 (FloatBufferImpl): Renamed two variables.
4994 * gnu/java/nio/IntBufferImpl.java
4995 (IntBufferImpl): Renamed two variables.
4996 * gnu/java/nio/LongBufferImpl.java
4997 (LongBufferImpl): Renamed two variables.
4998 * gnu/java/nio/ShortBufferImpl.java
4999 (ShortBufferImpl): Renamed two variables.
5000 * java/nio/CharBuffer.java
5001 (wrap): Fixed arguments to CharBufferImpl constructor.
5002 (hasArray): Only not read-only buffers have backing arrays.
5003 (length): Documentation added.
5004 (subSequence): Documentation added.
5005 * java/nio/DoubleBuffer.java
5006 (hasArray): Only not read-only buffers have backing arrays.
5007 * java/nio/FloatBuffer.java
5008 (hasArray): Only not read-only buffers have backing arrays.
5009 * java/nio/IntBuffer.java
5010 (hasArray): Only not read-only buffers have backing arrays.
5011 * java/nio/LongBuffer.java
5012 (hasArray): Only not read-only buffers have backing arrays.
5013 * java/nio/ShortBuffer.java
5014 (hasArray): Only not read-only buffers have backing arrays.
5015
5016 2003-02-19 Michael Koch <konqueror@gmx.de>
5017
5018 * javax/accessibility/AccessibleContext.java
5019 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5020
5021 2003-02-19 Michael Koch <konqueror@gmx.de>
5022
5023 * java/awt/ScrollPaneAdjustable.java: Reformated.
5024
5025 2003-02-19 Michael Koch <konqueror@gmx.de>
5026
5027 * gnu/awt/j2d/Graphics2DImpl.java
5028 (getFontRenderContext): New method.
5029 (drawGlyphVector): New method.
5030 * java/awt/Graphics2D.java
5031 (getFontRenderContext): New abstract method.
5032 (drawGlyphVector): New abstract method.
5033
5034 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
5035
5036 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5037 if necessary.
5038
5039 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5040 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5041 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5042 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5043 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5044 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5045 (setFont, gtkSetFont): add.
5046 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5047 Propagate font to peer. (setFont): add FIXME comment.
5048
5049 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5050 (gtkTextGetSize): fix height, width computation.
5051
5052 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5053 Make X font name a bit less bogus.
5054
5055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5056 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5057
5058 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5059 (processAdjustmentEvent): Adjust value.
5060
5061 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5062 logic errors.
5063
5064 * java/awt/Component.java (setVisible, show, hide): Call show and
5065 hide methods in subclasses.
5066 (getPreferredSize): don't set prefSize before we have peer.
5067
5068 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5069 Guess (0,0) if we don't have peer.
5070
5071
5072 2003-02-18 Michael Koch <konqueror@gmx.de>
5073
5074 * java/nio/channels/FileChannel.java
5075 (toString): New implementation, added documentation.
5076 (map): Added exception documentation.
5077 (size): Added exception documentation.
5078 (write): New methods, documentation work.
5079 (read): New methods, documentation work.
5080 (implCloseChannel): Rewrote exception documentation.
5081 (force): Throws IOException, added documentation.
5082 (lock): New methods.
5083 (tryLock): New methods.
5084 (position): New methods.
5085 (transferTo): New method.
5086 (transferFrom): New method.
5087 (truncate): New method.
5088 * java/nio/channels/spi/SelectorProvider.java
5089 (provider): Implemented.
5090 * Makefile.am
5091 (ordinary_java_source_files): Added the following files:
5092 gnu/java/nio/DatagramChannelImpl.java
5093 gnu/java/nio/FileChannelImpl.java
5094 gnu/java/nio/PipeImpl.java
5095 gnu/java/nio/SelectionKeyImpl.java
5096 gnu/java/nio/SelectorImpl.java
5097 gnu/java/nio/SelectorProviderImpl.java
5098 gnu/java/nio/ServerSocketChannelImpl.java
5099 gnu/java/nio/SocketChannelImpl.java
5100 java/nio/channels/FileLock.java
5101 (nat_java_source_files): Added the following files:
5102 gnu/java/nio/natFileChannelImpl.cc
5103 gnu/java/nio/natSelectorImpl.cc
5104 gnu/java/nio/natSocketChannelImpl.cc
5105 * Makefile.in: Regenerated.
5106
5107 2003-02-17 Tom Tromey <tromey@redhat.com>
5108
5109 * java/awt/image/ColorModel.java: Re-merged with Classpath.
5110 * java/awt/image/ImageFilter.java: Likewise.
5111
5112 2003-02-17 Raif S. Naffah <raif@fl.net.au>
5113
5114 * java/math/BigInteger.java (euclidInv): Return array of
5115 `BigInteger's. Changed all callers.
5116
5117 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
5118
5119 * java/util/Properties.java (store): Move the code formerly in
5120 list(), into this method.
5121 (list (PrintStream)): Just call list (PrintWriter) with a
5122 PrintWriter object constructed from the given PrintStream object.
5123 (list (PrintWriter)): Emulate the output of Properties.list()
5124 as found in JDK 1.3/1.4.
5125
5126 2003-02-17 Michael Koch <konqueror@gmx.de>
5127
5128 * java/net/DatagramSocket.java
5129 (connect): Merged with classpath.
5130 (disconnect): Merged documentation with classpath.
5131 (receice): Merged documentation with classpath.
5132 (send): Merged documentation with classpath.
5133
5134 2003-02-17 Michael Koch <konqueror@gmx.de>
5135
5136 * java/awt/dnd/DragSourceContext.java
5137 (addDragSourceListener): Added documentation.
5138 * java/awt/dnd/DragSourceDragEvent.java
5139 (serialVersionUID): New member variable.
5140 (getDropAction): Reformated.
5141 * java/awt/dnd/DragSourceDropEvent.java
5142 (serialVersionUID): New member variable.
5143 (dropSuccess): Renamed from success for serialization issues.
5144 * java/awt/dnd/DragSourceEvent.java
5145 (serialVersionUID): New member variable.
5146 * java/awt/dnd/DropTarget.java
5147 (serialVersionUID): New member variable.
5148 (DropTarget): Implemented, documentation reworked.
5149 (setComponent): Documentation added.
5150 (getComponent): Documentation added.
5151 (setDefaultActions): Documentation added.
5152 (getDefaultActions): Documentation added.
5153 (addDropTargetListener): Documentation added.
5154 * java/awt/dnd/DropTargetContext.java
5155 (DropTargetContext): Documentation added.
5156 (TransferableProxy.TransferableProxy): New method.
5157 (dropComplete): Fixed documentation.
5158 (getTransferable): Fixed documentation.
5159 (createTransferableProxy): Implemented.
5160 * java/awt/dnd/DropTargetDragEvent.java
5161 (DropTargetDragEvent): Documentation added.
5162 (serialVersionUID): New member variable.
5163 (DropTargetDragEvent): Throw exceptions, documentation added.
5164 (acceptDrag): Implemented.
5165 (getCurrentDataFlavors): Implemented.3yy
5166 (getCurrentDataFlavorsAsList): Implemented.
5167 (isDataFlavorSupported): Implemented.
5168 (rejectDrag): Implemented.
5169 * java/awt/dnd/DropTargetDropEvent.java
5170 (DropTargetDropEvent): Documentation added.
5171 (serialVersionUID): New member variable.
5172 (actions): Renamed from srcActions for serialization issues.
5173 (isLocalTx): Renamed from isLocalTx for serialization issues.
5174 (DropTargetDropEvent): New implementation, throw exceptions,
5175 documentation added.
5176 (getCurrentDataFlavors): Implemented.
5177 (getCurrentDataFlavorsAsList): Implemented.
5178 (isDataFlavorSupported): Implemented.
5179 (getSourceActions): Implemented.
5180 (getDropAction): Implemented.
5181 (getTransferable): Implemented.
5182 (acceptDrop): Implemented.
5183 (rejectDrop): Implemented.
5184 * java/awt/dnd/DropTargetListener.java
5185 (drop): Fixed documentation.
5186 * java/awt/dnd/MouseDragGestureRecognizer.java
5187 (MouseDragGestureRecognizer): Documentation added.
5188
5189 2003-02-17 Michael Koch <konqueror@gmx.de>
5190
5191 * java/awt/font/FontRenderContext.java,
5192 java/awt/font/ShapeGraphicAttribute.java,
5193 java/awt/font/MultipleMaster.java,
5194 java/awt/font/TransformAttribute.java,
5195 java/awt/font/GlyphJustificationInfo.java,
5196 java/awt/font/LineBreakMeasurer.java,
5197 java/awt/font/TextMeasurer.java,
5198 java/awt/font/TextLayout.java,
5199 java/awt/font/LineMetrics.java,
5200 java/awt/font/TextAttribute.java,
5201 java/awt/font/GlyphMetrics.java,
5202 java/awt/font/OpenType.java,
5203 java/awt/font/GlyphVector.java,
5204 java/awt/font/GraphicAttribute.java,
5205 java/awt/font/ImageGraphicAttribute.java,
5206 java/awt/font/NumericShaper.java: New files.
5207 * Makefile.am
5208 (awt_java_source_files): Added the following files:
5209 java/awt/font/FontRenderContext.java
5210 java/awt/font/ShapeGraphicAttribute.java
5211 java/awt/font/MultipleMaster.java
5212 java/awt/font/TransformAttribute.java
5213 java/awt/font/GlyphJustificationInfo.java
5214 java/awt/font/LineBreakMeasurer.java
5215 java/awt/font/TextMeasurer.java
5216 java/awt/font/TextLayout.java
5217 java/awt/font/LineMetrics.java
5218 java/awt/font/TextAttribute.java
5219 java/awt/font/GlyphMetrics.java
5220 java/awt/font/OpenType.java
5221 java/awt/font/GlyphVector.java
5222 java/awt/font/GraphicAttribute.java
5223 java/awt/font/ImageGraphicAttribute.java
5224 java/awt/font/NumericShaper.java
5225 * Makefile.in: Regenerated.
5226
5227 2003-02-17 Michael Koch <konqueror@gmx.de>
5228
5229 * java/awt/print/Paper.java
5230 (Paper): Implements Cloneable.
5231 * java/awt/print/PrinterJob.java
5232 (setJobName): Return value must be void.
5233 (print): Throws PrinterException.
5234
5235 2003-02-16 Tom Tromey <tromey@redhat.com>
5236
5237 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5238 variable.
5239
5240 2003-02-15 Michael Koch <konqueror@gmx.de>
5241
5242 * java/awt/datatransfer/DataFlavor.java
5243 (isRepresentationClassByteBuffer): Removed try-catch block.
5244 (isRepresentationClassCharBuffer): Removed try-catch block.
5245 (isRepresentationClassReader): Removed try-catch block.
5246
5247 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5248
5249 * java/nio/charset/Charset.java
5250 (isRegistered): Fixed method args and implementation.
5251 * java/nio/charset/CharsetEncoder.java
5252 (unmappableCharacterAction): New method.
5253
5254 2003-02-15 Michael Koch <konqueror@gmx.de>
5255
5256 * java/awt/CheckboxMenuItem.java
5257 (CheckBoxMenuItem): Dont implement Serializable.
5258 (getListeners): New method,
5259 (getItemListeners): New method.
5260 * java/awt/Choice.java
5261 (getListeners): New method,
5262 (getItemListeners): New method.
5263 * java/awt/Container.java
5264 (getListeners): Added exception documentation.
5265 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5266 (getFocusTraversalKeys): Added documentation.
5267 (areFocusTraversalKeysSet): Added documentation.
5268 (applyComponentOrientation): Added documentation.
5269 * java/awt/ContainerOrderFocusTraversalPolicy.java
5270 (implicitDownCycleTraversal): Renamed from downCycle for
5271 serialization.
5272 (ContainerOrderFocusTraversalPolicy): Added documentation.
5273 (accept): Reformated.
5274 * java/awt/Dialog.java
5275 (Dialog): Dont implement Serializable.
5276 (Dialog): Added documentation.
5277 * java/awt/Font.java
5278 (Font): Dont use absolute class name.
5279 * java/awt/Frame.java
5280 (Frame): Font implement Serializable.
5281 * java/awt/List.java
5282 (getListeners): New method,
5283 (getActionListeners): New method.
5284 (getItemListeners): New method.
5285 * java/awt/Menu.java
5286 (countItems): New deprecated method.
5287 * java/awt/Scrollbar.java
5288 (getListeners): New method,
5289 (getAdjustmentListeners): New method,
5290 * java/awt/TextComponent.java
5291 (getListeners): New method,
5292 (getTextListeners): New method,
5293 * java/awt/TextField.java
5294 (getListeners): New method,
5295 (getActionListeners): New method.
5296 * java/awt/Window.java
5297 (windowFocusListener): New member variable.
5298 (windowStateListener): New member variable.
5299 (getWindowFocusListeners): New method.
5300 (getWindowStateListeners): New method.
5301 (addWindowFocusListener): New method.
5302 (addWindowStateListener): New method.
5303 (removeWindowFocusListener): New method.
5304 (removeWindowStateListener): New method.
5305 * java/awt/datatransfer/DataFlavor.java
5306 (isRepresentationClassByteBuffer): New method.
5307 (isRepresentationClassCharBuffer): New method.
5308 (isRepresentationClassReader): New method.
5309
5310 2003-02-14 Mark Wielaard <mark@klomp.org>
5311
5312 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5313 zero when there is an exponent and the significant is zero.
5314 (divide): Always set scale to newScale even in special ZERO case.
5315
5316 2003-02-14 Tom Tromey <tromey@redhat.com>
5317
5318 * java/lang/System.java (properties): Use Properties.clone.
5319 (setProperties): Likewise.
5320
5321 2003-02-14 Michael Koch <konqueror@gmx.de>
5322
5323 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5324 * gnu/java/nio/ServerSocketChannelImpl.java
5325 (SocketAccept): Removed.
5326 (accept): Commented out use of SocketAccept.
5327
5328 2003-02-13 Tom Tromey <tromey@redhat.com>
5329
5330 * verify.cc (state::seen_subrs): New field.
5331 (state::state): Initialize it.
5332 (state::clean_subrs): New method.
5333 (state::~state): Call it.
5334 (state::copy): Copy subroutine list.
5335 (state::add_subr): New method.
5336 (state::merge): Only register a change if the current subroutine
5337 hasn't yet been noted.
5338
5339 2003-02-13 Mark Wielaard <mark@klomp.org>
5340
5341 * java/io/InputStreamReader.java (getEncoding): Return null when
5342 closed.
5343 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5344
5345 2003-02-13 Mark Wielaard <mark@klomp.org>
5346
5347 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5348 is zero.
5349
5350 2003-02-13 Mark Wielaard <mark@klomp.org>
5351
5352 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5353 next byte cannot be buffered.
5354
5355 2003-02-13 Michael Koch <konqueror@gmx.de>
5356
5357 * java/awt/Label.java
5358 (Label): Don't implement Serializable directly.
5359 (addNotify): Fixed typo in documentation.
5360 * java/awt/List.java
5361 (List): Don't implement Serializable directly.
5362 * java/awt/PopupMenu.java
5363 (PopupMenu): Don't implement Serializable directly.
5364 * java/awt/ScrollPane.java
5365 (ScrollPane): Don't implement Serializable directly.
5366 * java/awt/Scrollbar.java
5367 (Scrollbar): Don't implement Serializable directly.
5368 * java/awt/TextArea.java
5369 (preferredSize): Fixed method arguments.
5370 * java/awt/TextField.java
5371 (TextField): Don't implement Serializable directly.
5372 * java/awt/color/ICC_ColorSpace.java
5373 (fromCIOXYZ): Documentation added.
5374 (getMinValue): Documentation added.
5375 (getMaxValue): Documentation added.
5376 * java/awt/datatransfer/DataFlavor.java
5377 (isMimeTypeEqual): May not be final.
5378 (clone): Throws CloneNotSupportedException.
5379 (getReaderForText): Don't throws UnsupportedEncodingException.
5380
5381 2003-02-13 Michael Koch <konqueror@gmx.de>
5382
5383 * gnu/java/awt/peer/gtk/GdkGraphics.java
5384 (drawString): New stubbed method.
5385 * java/awt/Graphics.java
5386 (drawString): New method.
5387
5388 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5389
5390 PR libgcj/9271:
5391 * java/security/SecureRandom.java (next): Avoid bias in results.
5392
5393 2003-02-13 Michael <konqueror@gmx.de>
5394
5395 * gnu/java/nio/FileChannelImpl.java
5396 (lengthInternal): Must be native.
5397 (size): Check if channel is already closed.
5398 (implCloseChannel): Reformated.
5399 (read): w was unused, removed it.
5400 (read): Removed.
5401 (read): New method.
5402 (write): New method.
5403 (map): Check arguments.
5404 (force): Throws IOException, check if channel is closed.
5405 (transferTo): New method.
5406 (transferFrom): New method.
5407 (lock): New method.
5408 (tryLock): New method.
5409 (position): New method.
5410 (truncate): New method.
5411 (nio_mmap_file): Uncommented.
5412 (nio_munmap_file): Uncommented.
5413 (nio_msync): Uncommented.
5414 * gnu/java/nio/natFileChannelImpl.cc: New file.
5415
5416 2003-02-13 Michael Koch <konqueror@gmx.de>
5417
5418 * java/nio/ByteBuffer.java
5419 (endian): New member variable.
5420 (get): New methods.
5421 (equals): New method.
5422 (compareTo): New method.
5423 (order): New methods.
5424 (compact): New method.
5425 (isDirect): New method.
5426 (slice): New method.
5427 (duplicate): New method.
5428 (asReadOnlyBuffer): New method.
5429 (asCharBuffer): New method.
5430 (asDoubleBuffer): New method.
5431 (asFloatBuffer): New method.
5432 (asIntBuffer): New method.
5433 (asLongBuffer): New method.
5434 (asShortBuffer): New method.
5435 (get*): New methods.
5436 (put*): New methods.
5437 (toString): New method.
5438 * java/nio/CharBuffer.java
5439 (CharBuffer): Implement Comparable instead of Cloneable.
5440 (get): May not be final.
5441 (put): May not be final.
5442
5443 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5444
5445 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5446 lastIndexOf( ) instead of indexOf( ) to find the colon before
5447 the line number, because Win32 file names might contain a
5448 drive letter and a colon at the start of an absolute path.
5449
5450 2003-02-13 Michael Koch <konqueror@gmx.de>
5451
5452 * gnu/java/nio/natSocketChannelImpl.cc
5453 (SocketConnect): This is not implemented yet.
5454 (SocketBind): This is not implemented yet.
5455
5456 2003-02-13 Michael Koch <konqueror@gmx.de>
5457
5458 * gnu/java/nio/natByteBufferImpl.cc,
5459 gnu/java/nio/natCharBufferImpl.cc,
5460 gnu/java/nio/natDoubleBufferImpl.cc,
5461 gnu/java/nio/natFloatBufferImpl.cc,
5462 gnu/java/nio/natIntBufferImpl.cc,
5463 gnu/java/nio/natLongBufferImpl.cc,
5464 gnu/java/nio/natShortBufferImpl.cc:
5465 Added copyright and license.
5466 * java/nio/DoubleBuffer.java,
5467 java/nio/FloatBuffer.java,
5468 java/nio/IntBuffer.java,
5469 java/nio/LongBuffer.java,
5470 java/nio/ShortBuffer.java
5471 (array): Throw exceptions.
5472 (arrayOffset): Throw exceptions.
5473
5474 2003-02-13 Michael Koch <konqueror@gmx.de>
5475
5476 * gnu/java/util/prefs/FileBasedFactory.java,
5477 gnu/java/util/prefs/MemmoryBasedFactory.java,
5478 gnu/java/util/prefs/MemoryBasedPreferences.java,
5479 gnu/java/util/prefs/NodeReader.java,
5480 gnu/java/util/prefs/NodeWriter.java,
5481 java/util/prefs/AbstractPreferences.java,
5482 java/util/prefs/BackingStoreException.java,
5483 java/util/prefs/InvalidPreferencesFormatException.java,
5484 java/util/prefs/NodeChangeEvent.java,
5485 java/util/prefs/NodeChangeListener.java,
5486 java/util/prefs/PreferenceChangeEvent.java,
5487 java/util/prefs/PreferenceChangeListener.java,
5488 java/util/prefs/Preferences.java,
5489 java/util/prefs/PreferencesFactory.java:
5490 New files, all merged from classpath.
5491 * Makefile.am
5492 (ordinary_java_source_files): Added the following files:
5493 gnu/java/util/prefs/FileBasedFactory.java,
5494 gnu/java/util/prefs/MemmoryBasedFactory.java,
5495 gnu/java/util/prefs/MemoryBasedPreferences.java,
5496 gnu/java/util/prefs/NodeReader.java,
5497 gnu/java/util/prefs/NodeWriter.java,
5498 (core_java_source_files): Added the following files:
5499 java/util/prefs/AbstractPreferences.java,
5500 java/util/prefs/BackingStoreException.java,
5501 java/util/prefs/InvalidPreferencesFormatException.java,
5502 java/util/prefs/NodeChangeEvent.java,
5503 java/util/prefs/NodeChangeListener.java,
5504 java/util/prefs/PreferenceChangeEvent.java,
5505 java/util/prefs/PreferenceChangeListener.java,
5506 java/util/prefs/Preferences.java,
5507 java/util/prefs/PreferencesFactory.java
5508 * Makefile.in: Regenerated.
5509
5510 2003-02-13 Michael Koch <konqueror@gmx.de>
5511
5512 * java/net/NetPermission.java
5513 (NetPermission): Make doucmentation match the method declaration.
5514 * java/net/NetworkInterface.java
5515 (equals): Reformated for GNU coding style.
5516 * java/net/ServerSocket.java: Merged with classpath.
5517 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5518 * java/net/SocketImpl.java
5519 (localPort): Merged with classpath (initialize with -1).
5520 * java/net/SocketPermission.java: Merged with classpath (reindented).
5521 * java/net/URLDecoder.java: Merged with classpath (reindented).
5522
5523 2003-02-13 Michael Koch <konqueror@gmx.de>
5524
5525 * java/awt/GridBagConstraints.java
5526 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5527 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5528 * java/awt/KeyboardFocusManager.java
5529 (setGlobalCurrentFocusCycleRoot): Must be public.
5530 * java/awt/MenuComponent.java
5531 (MenuComponent): Must be public.
5532 * java/awt/Toolkit.java:
5533 Added some empty lines to make documentation more readable.
5534 (getFontPeer): Added @deprecated.
5535 (getColorModel): Added exception documentation.
5536 (getProperty): Fixed documentation.
5537
5538 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5539
5540 * configure.host (alpha*-*): Default to -mieee.
5541 * configure.in (IEEESPEC): New.
5542 * libgcj.spec.in (jc1): Add IEEESPEC.
5543 * configure: Rebuild.
5544
5545 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5546
5547 * include/win32.h: Include ws2tcpip.h instead of
5548 winsock.h to obtain definition of the socklen_t type.
5549 Remove IP_TOS definition - not needed with ws2tcpip.h
5550 (_Jv_connect): Correct slight formatting error.
5551
5552 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5553
5554 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5555 size of the arguments for a JNI function. For Win32,
5556 modify to search for all forms of possible exported
5557 names of an stdcall JNI function.
5558 (_Jv_JNIMethod::call): Modify to calculate the size
5559 of the arguments passed to a JNI function and pass
5560 it to _Jv_LookupJNIMethod.
5561
5562 2003-02-12 Michael Koch <konqueror@gmx.de>
5563
5564 * java/nio/channels/Channels.java: New file.
5565 * Makefile.am
5566 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5567 * Makefile.in: Regenerated.
5568
5569 2003-02-12 Michael Koch <konqueror@gmx.de>
5570
5571 * java/nio/ByteBuffer.java
5572 (allocate): Implemented.
5573 (wrap): Implemented.
5574 * java/nio/CharBuffer.java:
5575 Some documentation added and reworked.
5576 (endian): Removed.
5577 (allocate): Implemented.
5578 (wrap): Implemented.
5579 (array): Throw exceptions.
5580 (arrayOffset): Throw exceptions.
5581 (toString): Implemented.
5582 (length): Implemented.
5583 (put): Implemented.
5584 (charAt): Implemented.
5585
5586 2003-02-11 John Leuner <jewel@debian.org>
5587
5588 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5589 reads from end of file.
5590
5591 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5592
5593 * java/io/natFileDescriptorWin32.cc
5594 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5595 returns with Win32 error code ERROR_BROKEN_PIPE.
5596
5597 2003-02-11 Michael Koch <konqueror@gmx.de>
5598
5599 * Makefile.in
5600 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5601
5602 2003-02-11 Michael Koch <konqueror@gmx.de>
5603
5604 * gnu/java/nio/ByteBufferImpl.java:
5605 Reformated and removed some code.
5606 (backing_buffer): Removed.
5607 (array_offset): Removed.
5608 (ro): Renamed to readOnly.
5609 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5610 * gnu/java/nio/CharBufferImpl.java:
5611 Reformated and removed some code.
5612 (array_offset): Removed.
5613 (ro): Renamed to readOnly.
5614 (CharBufferImpl): Use parent constructor, initialize readOnly.
5615 (inc_pos): Removed.
5616 (order): New method.
5617 * gnu/java/nio/DoubleBufferImpl.java:
5618 Reformated and removed some code.
5619 (array_offset): Removed.
5620 (ro): Renamed to readOnly.
5621 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5622 (inc_pos): Removed.
5623 (order): New method.
5624 * gnu/java/nio/FloatBufferImpl.java:
5625 Reformated and removed some code.
5626 (array_offset): Removed.
5627 (ro): Renamed to readOnly.
5628 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5629 (inc_pos): Removed.
5630 (order): New method.
5631 * gnu/java/nio/IntBufferImpl.java:
5632 Reformated and removed some code.
5633 (array_offset): Removed.
5634 (ro): Renamed to readOnly.
5635 (IntBufferImpl): Use parent constructor, initialize readOnly.
5636 (inc_pos): Removed.
5637 (order): New method.
5638 * gnu/java/nio/LongBufferImpl.java:
5639 Reformated and removed some code.
5640 (array_offset): Removed.
5641 (ro): Renamed to readOnly.
5642 (LongBufferImpl): Use parent constructor, initialize readOnly.
5643 (inc_pos): Removed.
5644 (order): New method.
5645 * gnu/java/nio/ShortBufferImpl.java:
5646 Reformated and removed some code.
5647 (array_offset): Removed.
5648 (ro): Renamed to readOnly.
5649 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5650 (inc_pos): Removed.
5651 (order): New method.
5652 * Makefile.am
5653 (ordinary_java_source_files): Added the following files:
5654 gnu/java/nio/ByteBufferImpl.java
5655 gnu/java/nio/CharBufferImpl.java
5656 gnu/java/nio/DoubleBufferImpl.java
5657 gnu/java/nio/FloatBufferImpl.java
5658 gnu/java/nio/IntBufferImpl.java
5659 gnu/java/nio/LongBufferImpl.java
5660 gnu/java/nio/ShortBufferImpl.java
5661 java/nio/DoubleBuffer.java
5662 java/nio/FloatBuffer.java
5663 java/nio/IntBuffer.java
5664 java/nio/LongBuffer.java
5665 java/nio/ShortBuffer.java
5666 (nat_source_files): Added the following files:
5667 gnu/java/nio/natByteBufferImpl.cc
5668 gnu/java/nio/natCharBufferImpl.cc
5669 gnu/java/nio/natDoubleBufferImpl.cc
5670 gnu/java/nio/natFloatBufferImpl.cc
5671 gnu/java/nio/natIntBufferImpl.cc
5672 gnu/java/nio/natLongBufferImpl.cc
5673 gnu/java/nio/natShortBufferImpl.cc
5674 * Makefile.in: Regenerated.
5675
5676 2003-02-11 Michael Koch <konqueror@gmx.de>
5677
5678 * gnu/java/nio/natCharBufferImpl.cc
5679 (nio_cast): Removed.
5680 (nio_put_*): Removed.
5681 (nio_get_*): Removed.
5682 * gnu/java/nio/natDoubleBufferImpl.cc
5683 (nio_cast): Removed.
5684 (nio_put_*): Removed.
5685 (nio_get_*): Removed.
5686 * gnu/java/nio/natFloatBufferImpl.cc
5687 (nio_cast): Removed.
5688 (nio_put_*): Removed.
5689 (nio_get_*): Removed.
5690 * gnu/java/nio/natIntBufferImpl.cc
5691 (nio_cast): Removed.
5692 (nio_put_*): Removed.
5693 (nio_get_*): Removed.
5694 * gnu/java/nio/natLongBufferImpl.cc
5695 (nio_cast): Removed.
5696 (nio_put_*): Removed.
5697 (nio_get_*): Removed.
5698 * gnu/java/nio/natShortBufferImpl.cc
5699 (nio_cast): Removed.
5700 (nio_put_*): Removed.
5701 (nio_get_*): Removed.
5702 * gnu/java/nio/SelectorProviderImpl.java
5703 (openDatagramChannel): Throws IOException.
5704 (openPipe): Throws IOException.
5705 (openSelector): Throws IOException.
5706 (openServerSocketChannel): Throws IOException.
5707 (openSocketChannel): Throws IOException.
5708 * gnu/java/nio/ServerSocketChannelImpl.java
5709 (ServerSocketChannelImpl): Throws IOException.
5710 (implCloseSelectableChannel): Throws IOException.
5711 (implConfigureBlocking): Throws IOException.
5712 * java/nio/ByteBuffer.java
5713 (readOnly): Removed.
5714 (hasArray): Use isReadOnly() instead of readOnly.
5715 (array): Use isReadOnly() instead of readOnly.
5716 (arrayOffset): Use isReadOnly() instead of readOnly.
5717 * java/nio/CharBuffer.java
5718 (CharBuffer): Implements Cloneable and CharSequence.
5719
5720 2003-02-11 Michael Koch <konqueror@gmx.de>
5721
5722 * java/nio/DoubleBuffer.java
5723 (DoubleBuffer): Implements Comparable.
5724 (endian): Removed.
5725 (array_offset): New member variable.
5726 (DoubleBuffer): New constuctor.
5727 (get): May not be final.
5728 (put): May not be final.
5729 (arrayOffset): Implemented.
5730 (order): Made abstract.
5731 (order): Removed.
5732 (as*Buffer): Removed.
5733 (get*): Removed.
5734 (put*): Removed.
5735 * java/nio/FloatBuffer.java
5736 (FloatBuffer): Implements Comparable.
5737 (endian): Removed.
5738 (array_offset): New member variable.
5739 (FloatBuffer): New constuctor.
5740 (get): May not be final.
5741 (put): May not be final.
5742 (arrayOffset): Implemented.
5743 (order): Made abstract.
5744 (order): Removed.
5745 (as*Buffer): Removed.
5746 (get*): Removed.
5747 (put*): Removed.
5748 * java/nio/IntBuffer.java
5749 (IntBuffer): Implements Comparable.
5750 (endian): Removed.
5751 (array_offset): New member variable.
5752 (IntBuffer): New constuctor.
5753 (get): May not be final.
5754 (put): May not be final.
5755 (arrayOffset): Implemented.
5756 (order): Made abstract.
5757 (order): Removed.
5758 (as*Buffer): Removed.
5759 (get*): Removed.
5760 (put*): Removed.
5761 * java/nio/LongBuffer.java
5762 (LongBuffer): Implements Comparable.
5763 (endian): Removed.
5764 (array_offset): New member variable.
5765 (LongBuffer): New constuctor.
5766 (get): May not be final.
5767 (put): May not be final.
5768 (arrayOffset): Implemented.
5769 (order): Made abstract.
5770 (order): Removed.
5771 (as*Buffer): Removed.
5772 (get*): Removed.
5773 (put*): Removed.
5774 * java/nio/ShortBuffer.java
5775 (ShortBuffer): Implements Comparable.
5776 (endian): Removed.
5777 (array_offset): New member variable.
5778 (ShortBuffer): New constuctor.
5779 (get): May not be final.
5780 (put): May not be final.
5781 (arrayOffset): Implemented.
5782 (order): Made abstract.
5783 (order): Removed.
5784 (as*Buffer): Removed.
5785 (get*): Removed.
5786 (put*): Removed.
5787
5788 2003-02-11 Michael Koch <konqueror@gmx.de>
5789
5790 * java/nio/channels/SelectionKey.java
5791 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5792 values.
5793
5794 2003-02-11 Michael Koch <konqueror@gmx.de>
5795
5796 * java/nio/channels/DatagramChannel.java
5797 (write): Throws IOException.
5798 (connect): Throws IOException.
5799 (disconnect): Throws IOException.
5800 (read): Throws IOException.
5801 (receive): Throws IOException.
5802 (send): Throws IOException.
5803 * java/nio/channels/Pipe.java
5804 (open): Throws IOException.
5805 * java/nio/channels/SelectableChannel.java
5806 (configureBlocking): Throws IOException.
5807 * java/nio/channels/ServerSocketChannel.java
5808 (accept): Throws IOException.
5809 * java/nio/channels/SocketChannel.java
5810 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5811 GatheringByteChannel.
5812 (read): Throws IOException.
5813 (write): Throws IOException.
5814 (finishConnect): Throws IOException.
5815 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5816 (end): Throws AsynchronousCloseException.
5817 * java/nio/channels/spi/AbstractSelectableChannel.java
5818 (configureBlocking): Throws IOException.
5819 (implCloseChannel): Throws IOException.
5820 (implCloseSelectableChannel): Throws IOException.
5821 (implConfigureBlocking): Throws IOException.
5822 * java/nio/channels/spi/SelectorProvider.java
5823 (openDatagramChannel): Throws IOException.
5824 (openPipe): Throws IOException.
5825 (openSelector): Throws IOException.
5826 (openServerSocketChannel): Throws IOException.
5827 (openSocketChannel): Throws IOException.
5828
5829 2003-02-11 Michael Koch <konqueror@gmx.de>
5830
5831 * gnu/java/nio/FileLockImpl.java,
5832 java/nio/channels/FileLock.java: New files.
5833
5834 2003-02-11 Michael Koch <konqueror@gmx.de>
5835
5836 * java/nio/charset/IllegalCharsetNameException.java
5837 (serialVersionUID): New member variable.
5838 (charsetName): New member variable.
5839 (IllegalCharsetException): New implementation.
5840 (getCharsetName): New implementation.
5841 * java/nio/charset/UnsupportedCharsetException.java
5842 (serialVersionUID): New member variable.
5843 (charsetName): New member variable.
5844 (UnsupportedCharsetException): New implementation.
5845 (getCharsetName): New implementation.
5846
5847 2003-02-10 Tom Tromey <tromey@redhat.com>
5848
5849 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5850 (ex): Renamed from sqlException.
5851
5852 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5853
5854 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5855 method used to ensure seeding has occurred and that a specific
5856 seed can be set and used.
5857
5858 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5859
5860 * java/lang/Win32Process.java (destroy): Declare as native.
5861 (hasExited): New native method.
5862 (exitValue): Define.
5863 (getErrorStream): Likewise.
5864 (getInputStream): Likewise.
5865 (getOutputStream): Likewise.
5866 (waitFor): Declare as native.
5867 (startProcess): New native method.
5868 (cleanup): Likewise.
5869 (ConcreteProcess): Define.
5870 (outputStream, inputStream, errorStream): New members.
5871 (procHandle, exitCode): Likewise.
5872
5873 * java/lang/natWin32Process.cc
5874 (java::lang::ConcreteProcess::cleanup): Define.
5875 (java::lang::ConcreteProcess::destroy): Likewise.
5876 (java::lang::ConcreteProcess::hasExited): Likewise.
5877 (java::lang::ConcreteProcess::waitFor): Likewise.
5878 (new_string): Likewise.
5879 (java::lang::ConcreteProcess::startProcess): Likewise.
5880
5881 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5882
5883 * java/math/BigInteger.java:
5884 Updated notice to include years 2002 and 3.
5885 Added 2 private (int) arrays with values from the HAC (Handbook of
5886 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5887 and t[] that contains nbr. of tests --used in isProbablePrime().
5888
5889 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5890
5891 * java/math/BigInteger.java (make(int[],int), add(int,int),
5892 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5893 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5894 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5895 make(long).
5896
5897 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5898 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5899 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5900 BIs and returns void.
5901 (modInverse(BI)): Use new signatures of euclidInv().
5902
5903 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5904 static small primes instead of remainder().
5905 Use pre-computed max nbr of trials based on bitlength of BI to test.
5906 Use pre-computed small primes for the trial tests instead of random
5907 numbers.
5908
5909 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5910 not used.
5911
5912 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5913 invoacation of MPN.chars_per_word(). not used.
5914
5915 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5916 local var and used where needed.
5917
5918 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5919 Combined declaration with initialisation of locals.
5920 Removed unused var.
5921
5922 * java/math/BigInteger.java: Style changes
5923 (pow(int)): Removed 'else' keyword.
5924 (toString(int)): idem.
5925 (doubleValue()): idem.
5926 (bitLength()): idem.
5927 (equals(Object)): Use static methods name in same class w/o prepending
5928 class name.
5929 (doubleValue()): idem.
5930 (setNegative(BI)): idem.
5931 (negate()): idem.
5932 (and(BI,int)): idem.
5933 (and(BI)): idem.
5934 (gcd(BI)): idem.
5935 (byteArrayToIntArray()): Removed casting to (int). this is
5936 std. behaviour.
5937 (canonicalize()): idem.
5938 (alloc(int)): Always instantiate a new BI.
5939
5940 2003-02-10 Tom Tromey <tromey@redhat.com>
5941
5942 * java/sql/Timestamp.java (compareTo(Object)): New method.
5943 (compareTo(Timestamp)): Likewise.
5944 (serialVersionUID): Updated.
5945
5946 2003-02-07 Mark Wielaard <mark@klomp.org>
5947
5948 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5949 when verify is true.
5950 (JarFile(File, boolean)): Likewise.
5951 (manifestRead): Set manifestRead field correctly.
5952
5953 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5954
5955 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5956 tests; see patch #1016 on Savannah.
5957
5958 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5959
5960 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5961 (toString): do not return Strings starting with . and - erroneously.
5962 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5963 DiagBigDecimal.
5964
5965 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5966
5967 * java/beans/PropertyDescriptor.java
5968 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5969 methods.
5970 (PropertyDescriptor(String, Class, String, String)): Likewise.
5971 (PropertyDescriptor(String, Method, Method): Factor out getter and
5972 setter method sanity checks into new method.
5973 (findMethods): Don't do parameter sanity checking of get method here.
5974 (checkMethods): New method.
5975
5976 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5977
5978 * java/beans/PropertyDescriptor.java: Reformat.
5979
5980 2003-02-04 Tom Tromey <tromey@redhat.com>
5981
5982 * java/io/PipedOutputStream.java (flush): Declare as throwing
5983 IOException.
5984 (close): Likewise.
5985 * java/io/PipedWriter.java (close): Declare as throwing
5986 IOException.
5987 * java/io/StringWriter.java (close): Declare as throwing
5988 IOException.
5989
5990 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5991
5992 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5993 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5994 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5995 "_JNI_OnLoad@8" (MSVC).
5996
5997 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5998
5999 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6000 convention on Win32 to invoke native JNI methods.
6001
6002 2003-02-03 Andrew Haley <aph@redhat.com>
6003
6004 * configure.host (x86_64): Enable interpreter.
6005
6006 2003-02-03 Andrew Haley <aph@redhat.com>
6007
6008 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6009 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6010 * configure.in (BACKTRACESPEC): New.
6011 * configure: Regenerate.
6012
6013 2003-02-02 Tom Tromey <tromey@redhat.com>
6014
6015 * configure: Rebuilt.
6016 * configure.in (TOOLKIT) [xlib]: Set correctly.
6017
6018 * Makefile.in: Rebuilt.
6019 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6020 libstdc++.
6021
6022 2003-01-31 Mark WIelaard <mark@klomp.org>
6023
6024 * Makefile.in: Rebuilt.
6025 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6026
6027 2003-01-31 Tom Tromey <tromey@redhat.com>
6028
6029 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6030 cast to element type.
6031 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6032 (_Jv_JNI_GetObjectArrayElement): Likewise.
6033
6034 * Makefile.in: Rebuilt.
6035 * Makefile.am (cond_x_ltlibrary): Renamed library to
6036 lib-gnu-awt-xlib.la.
6037 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6038 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6039 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6040 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6041 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6042 (lib_gnu_awt_xlib_la_LINK): Likewise.
6043 (install-exec-hook): Removed.
6044 (lib-gnu-awt-xlib.la): Renamed.
6045
6046 2003-01-31 Tom Tromey <tromey@redhat.com>
6047
6048 * aclocal.m4, configure, include/config.h.in: Rebuilt.
6049 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6050 aclocal.m4 and lost in some merge.
6051
6052 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6053 Don't try to find graphics configuration.
6054 * java/awt/Toolkit.java (default_toolkit_name): Use new
6055 Configuration entry.
6056 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6057 New global.
6058 * configure: Rebuilt.
6059 * configure.in (TOOLKIT): New subst.
6060 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6061 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
6062 directory. Make output directories for .c files.
6063 * Makefile.in: Rebuilt.
6064 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6065 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6066 (all_java_source_files): Added new sources.
6067 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6068 (gtk_c_files): New macro.
6069 (gtk_c_source_files): New macro.
6070 (cond_gtk_ltlibrary): New macro.
6071 ($(gtk_c_files)): New target.
6072 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6073 (gtk_awt_peer_sources): New macro.
6074 (gtk_c_headers): New macro.
6075 ($(gtk_c_headers)): New target.
6076 (ACLOCAL_AMFLAGS): New macro.
6077 * gtk.m4, glib.m4, libart.m4: New files.
6078 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6079 gnu/java/awt/peer/gtk/GdkGraphics.java,
6080 gnu/java/awt/peer/gtk/GtkArg.java,
6081 gnu/java/awt/peer/gtk/GtkArgList.java,
6082 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6083 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6084 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6085 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6086 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6087 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6088 gnu/java/awt/peer/gtk/GtkClipboard.java,
6089 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6090 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6091 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6092 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6093 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6094 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6095 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6096 gnu/java/awt/peer/gtk/GtkImage.java,
6097 gnu/java/awt/peer/gtk/GtkImagePainter.java,
6098 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6099 gnu/java/awt/peer/gtk/GtkListPeer.java,
6100 gnu/java/awt/peer/gtk/GtkMainThread.java,
6101 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6102 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6103 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6104 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6105 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6106 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6107 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6108 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6109 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6110 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6111 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6112 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6113 gnu/java/awt/peer/gtk/GtkToolkit.java,
6114 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6115 gnu/java/awt/peer/gtk/TestAWT.java,
6116 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6118 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6119 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6120 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6121 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6122 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6123 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6124 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6125 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6126 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6127 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6128 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6129 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6130 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6131 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6132 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6133 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6134 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6135 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6136 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6137 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6138 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6139 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6140 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6141 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6142 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6143 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6144 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6145 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6146 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6147 jni/classpath/native_state.c, jni/classpath/native_state.h,
6148 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6149
6150 2003-01-31 Julian Dolby <dolby@us.ibm.com>
6151
6152 * java/util/Properties.java (load): Ignore backslash before EOF.
6153
6154 2003-01-30 Jeff Sturm <jsturm@one-point.com>
6155
6156 * java/lang/natClass.cc (initializeClass): Check tables when
6157 (state == JV_STATE_IN_PROGRESS).
6158 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6159 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6160 interpreted classes.
6161 (linkClass0): Use _Jv_WaitForState.
6162
6163 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
6164
6165 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6166 object when finished.
6167
6168 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
6169
6170 * libjava/configure.host: Disable can_unwind_signal on darwin.
6171
6172 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
6173
6174 Fixes PR java/9254:
6175 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6176 additionally containing id of the owner thread as well as
6177 the number of nested times the thread has acquired the mutex.
6178 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6179 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6180 (_Jv_MutexUnlock): Check if really the owner thread, reset
6181 owner thread id to 0 before leaving, if leaving for the last
6182 time.
6183 (_Jv_MutexLock): Set owner thread id in the mutex and increment
6184 refcount.
6185 (_Jv_ThreadYield): Yield using a call to Sleep(0).
6186 * win32-threads.cc (_Jv_CondWait): Check if really owner of
6187 the passed mutex.
6188 Pass handle of the broadcast event, instead of a pointer to it
6189 in Win32 ResetEvent( ) call.
6190 Remove incorrect return values.
6191 (_Jv_CondDestroy): Close both event handles and delete
6192 critical section.
6193 (_Jv_CondNotify): Check if really the owner thread.
6194 (_Jv_CondNotifyAll): Check if really the owner thread.
6195 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6196 (really_start): Use SetEvent( ) to signal daemon_cond.
6197 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6198 WaitForSingleObject( ) instead to wait for daemon_cond to be
6199 signalled.
6200
6201 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6202
6203 * configure.in: Specifically define HAVE_BACKTRACE if building
6204 for MinGW.
6205 * include/win32.h: Remove HAVE_BACKTRACE definition.
6206 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6207 * configure: Rebuilt.
6208
6209 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6210
6211 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6212 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6213 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6214 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6215 * Makefile.in, configure: Rebuilt.
6216
6217 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6218
6219 Fixes PR java/9253:
6220 * java/io/natFileWin32.cc (performList): Append only "*.*"
6221 if the canonical file path already has a "\" at the end.
6222
6223 2003-01-24 Tom Tromey <tromey@redhat.com>
6224
6225 * defineclass.cc (handleMethodsEnd): Precompute code for static
6226 method.
6227 (handleCodeAttribute): Likewise.
6228 * resolve.cc (ncode): Use run_class for unsynchronized static
6229 methods.
6230 * include/java-interp.h (class _Jv_InterpMethod): Declare
6231 run_class.
6232 * interpret.cc (run_synch_class): Initialize class.
6233 (run) [insn_invokestatic]: Don't initialize class.
6234 [insn_anewarray]: Likewise.
6235 [insn_multianewarray]: Likewise.
6236 (run_class): New function.
6237
6238 2003-01-24 Tom Tromey <tromey@redhat.com>
6239
6240 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6241 comment.
6242
6243 2003-01-22 Andrew Haley <aph@redhat.com>
6244
6245 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6246 * configure.host (CHECKREFSPEC): Define for x86_64.
6247
6248 2003-01-21 Tom Tromey <tromey@redhat.com>
6249
6250 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6251 search at 2, not 3.
6252
6253 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6254
6255 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6256 looking at any characters.
6257 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6258 be used.
6259 (isAbsolute): Check path's length as well.
6260
6261 2003-01-17 Mark Wielaard <mark@klomp.org>
6262
6263 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6264 (nat_source_files): Add natVMObjectStreamClass.cc.
6265 * Makefile.in: Regenerated.
6266 * gcj/javaprims.h (namespace java): Regenerated.
6267 * java/io/ObjectStreamClass.java (getClassUID): Call
6268 VMObjectStreamClass.hasClassInitializer().
6269 (hasClassInitializer): Removed.
6270 * java/io/VMObjectStreamClass.java: New class.
6271 * java/io/natVMObjectStreamClass.cc: New file.
6272 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6273
6274 2003-01-16 Mark Wielaard <mark@klomp.org>
6275
6276 * java/net/SocketImpl.java (toString): Don't explicitly call
6277 toString() on possible null address.
6278
6279 2003-01-16 Michael Koch <konqueror@gmx.de>
6280
6281 * java/net/MulticastSocket.java
6282 (setInterface): Reindented.
6283
6284 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6285
6286 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6287 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6288 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6289 translateY arguments. Implement.
6290 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6291 down translation arguments.
6292 (drawPolyline, drawPolygon): Fix incorrect tests.
6293 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6294 translateX and translateY arguments.
6295
6296 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6297
6298 * Makefile.in: Rebuilt.
6299 * Makefile.am (xlib_includes): New macro.
6300 (INCLUDES): Use it.
6301
6302 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6303
6304 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6305 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6306 16-bit display mode.
6307
6308 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6309
6310 * java/awt/CardLayout.java (show): Rewrote.
6311 (gotoComponent): Removed `target' argument. Simplified code.
6312 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6313 Changed all callers.
6314 (NONE): Removed.
6315
6316 2003-01-14 Michael Koch <konqueror@gmx.de>
6317
6318 * java/net/InetSocketAddress.java
6319 (serialVersionUID): New member variable.
6320 * java/net/NetPermission.java
6321 (NetPermission): Dont implement java.io.Serialization directly.
6322 * java/net/SocketAddress.java:
6323 (serialVersionUID): Documentation added.
6324
6325 2003-01-14 Michael Koch <konqueror@gmx.de>
6326
6327 * java/awt/Label.java
6328 (Label): Implements javax.accessibility.Accessible;
6329 * java/awt/List.java
6330 (List): Implements javax.accessibility.Accessible;
6331 * java/awt/ScrollPane.java
6332 (ScrollPane): Implements javax.accessibility.Accessible;
6333 * java/awt/Scrollbar.java
6334 (Scrollbar): Implements javax.accessibility.Accessible;
6335 * java/awt/TextComponent.java
6336 (setCaretPosition): Throw exception, documentation added.
6337 * java/awt/Toolkit.java:
6338 Added some newlines in method documentations.
6339 (createButton): Exception documentation added.
6340 (createTextField): Exception documentation added.
6341 (createLabel): Exception documentation added.
6342 (createList): Exception documentation added.
6343 (createCheckbox): Exception documentation added.
6344 (createScrollbar): Exception documentation added.
6345 (createScrollPane): Exception documentation added.
6346 (createTextArea): Exception documentation added.
6347 (createChoice): Exception documentation added.
6348 (createFrame): Exception documentation added.
6349 (createWindow): Exception documentation added.
6350 (createDialog): Exception documentation added.
6351 (createMenuBar): Exception documentation added.
6352 (createMenu): Exception documentation added.
6353 (createMenuItem): Exception documentation added.
6354 (createFileDialog): Exception documentation added.
6355 (createCheckboxMenuItem): Exception documentation added.
6356 (loadSystemColors): Exception documentation added.
6357 (setDynamicLayout): Exception documentation added.
6358 (isDynamicLayoutSet): Exception documentation added.
6359 (isDynamicLayoutActive): Exception documentation added.
6360 (getScreenSize): Exception documentation added.
6361 (getScreenResolution): Exception documentation added.
6362 (getScreenInsets): Exception documentation added.
6363 (getColorModel): Exception documentation added.
6364 (getSystemClipboard): Exception documentation added.
6365 (getSystemSelection): Exception documentation added.
6366 (getMenuShortcutKeyMask): Exception documentation added.
6367 (getSystemEventQueue): Exception documentation added.
6368 * java/awt/Window.java:
6369 Reindented some code.
6370 (Window): Centralized implementation, documentation added.
6371 (finalize): Documentation added.
6372 (hide): Fixed typo in comment.
6373 (getWindowListeners): Documentation added.
6374 * java/awt/color/ColorSpace.java
6375 (toRGB): Documentation added.
6376 * java/awt/color/ICC_ColorSpace.java
6377 (ICC_ColorSpace): Documentation added.
6378 (toRGB): Throw exception, documentation added.
6379 (fromRGB): Throw exception, documentation added.
6380 (toCIEXYZ): Documentation added.
6381 (fromCIEXYZ): Documentation added.
6382 (getMinValue): Documentation added.
6383 (getMaxValue): Documentation added.
6384 * java/awt/geom/Dimension2D.java
6385 (clone): Documentation added.
6386 * java/awt/geom/GeneralPath.java
6387 (clone): Documentation added.
6388 * java/awt/geom/Line2D.java
6389 (clone): Documentation added.
6390 * java/awt/geom/QuadCurve2D.java
6391 (clone): Documentation added.
6392 * java/awt/image/ColorModel.java
6393 (ColorModel): Throw exception, documentation added.
6394 * java/awt/image/ImageFilter.java
6395 (clone): Doesnt throw CloneNotSupportedException.
6396
6397 2003-01-14 Andrew Haley <aph@redhat.com>
6398
6399 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6400 in a try block.
6401
6402 2003-01-10 Andrew Haley <aph@redhat.com>
6403
6404 * include/dwarf2-signal.h: Remove x86_64.
6405 * configure.host (x86_64 DIVIDESPEC): Remove.
6406 * include/x86_64-signal.h: New file.
6407 * configure.in: Regenerate.
6408
6409 2003-01-10 Michael Koch <konqueror@gmx.de>
6410
6411 * java/net/DatagramSocket.java
6412 (ch): Description added.
6413 (remotePort): Initialize with -1.
6414 (connect): Doesnt throws SocketException.
6415 * java/net/MulticastSocket.java
6416 (setInterface): Merge with Classpath.
6417 * java/net/ServerSocket.java
6418 (closed): New member variable.
6419 (bind): Check if socket is closed.
6420 (close): Close an associated channel too, set new value to closed.
6421 (isBound): Reindented.
6422 (isClosed): Implemented.
6423 * java/net/Socket.java
6424 (closed): New member variable.
6425 (bind): Check if socket is closed.
6426 (connect): Check if socket is closed.
6427 (close): Close an associated channel too, set new value to closed.
6428 (isClosed): Implemented.
6429
6430 2003-01-10 Michael Koch <konqueror@gmx.de>
6431
6432 * java/awt/DisplayMode.java
6433 (equals): Fixed argument type and implementation.
6434
6435 2003-01-07 Tom Tromey <tromey@redhat.com>
6436
6437 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6438 JV_HASH_SYNCHRONIZATION.
6439 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6440 JV_HASH_SYNCHRONIZATION.
6441
6442 2003-01-07 Michael Koch <konqueror@gmx.de>
6443
6444 * java/net/DatagramSocket.java:
6445 Added classpath license info.
6446 (DatagramSocket): Merged description with classpath.
6447 (close): Merged description with classpath.
6448 (getChannel): Merged description with classpath.
6449 (getInetAddress): Merged description with classpath.
6450 (getPort): Merged description with classpath.
6451 (getLocalAddress): Merged description with classpath.
6452 (getLocalPort): Merged description with classpath.
6453 (getSoTimeout): Merged description with classpath.
6454 (setSoTimeout): Merged description with classpath.
6455 (getSendBufferSize): Merged description with classpath.
6456 (setSendBufferSize): Merged description with classpath.
6457 (getReceiveBufferSize): Merged description with classpath.
6458 (setReceiveBufferSize): Merged description with classpath.
6459
6460 2003-01-04 Tom Tromey <tromey@redhat.com>
6461
6462 * java/awt/List.java: Merged with Classpath.
6463
6464 2003-01-03 Mark Wielaard <mark@klomp.org>
6465
6466 * java/io/FileDescriptor.java (position): New private field.
6467 * java/io/natFileDescriptorPosix.cc (write): Up position.
6468 (setLength): Use and set position.
6469 (seek): Set position.
6470 (getFilePointer): Return position.
6471 (read): Up position.
6472
6473 2003-01-03 Mark Wielaard <mark@klomp.org>
6474
6475 Merge with Classpath:
6476 * java/io/ObjectStreamClass.java (lookup): Split method and call
6477 lookupForClassObject().
6478 (lookupForClassObject): New method.
6479 (isProxyClass): New field.
6480 (setClass): Set isProxyClass, add object to classLookupTable, set
6481 superClass and calculateOffsets.
6482 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6483 and not a proxy class.
6484 (setFields): Set accessible true for serialPersistentFields.
6485 (getClassUID): Same for suid. And check if suid is of type long.
6486 (hasClassInitializer): Don't throw NoSuchMethodError.
6487
6488 2003-01-03 Mark Wielaard <mark@klomp.org>
6489
6490 * java/io/FileInputStream.java (finalize): Don't explicitly
6491 finalize FileDescriptor.
6492
6493 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6494
6495 * configure.host (sparc*-*): Enable bytecode interpreter.
6496
6497 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6498
6499 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6500 Don't throw RemoteException.
6501 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6502 throw RemoteException.
6503
6504 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6505
6506 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6507 proxyHost): New static fields.
6508 (<clinit>): Initialize new fields.
6509 (connect): Use proxy if necessary.
6510 (usingProxy): Implement.
6511
6512 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6513
6514 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6515 (TreeIterator.remove): Prefer IllegalStateException over
6516 ConcurrentModificationException, to match Sun.
6517
6518 2002-12-22 Anthony Green <green@redhat.com>
6519
6520 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6521
6522 2003-01-02 Mark Wielaard <mark@klomp.org>
6523
6524 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6525 public.
6526 (HTTP_USE_PROXY): Add field.
6527 (getResponseVals): Only set responseCode when not yet explicitly
6528 set by subclass.
6529
6530 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6531 Mark Wielaard <mark@klomp.org>
6532
6533 * java/util/zip/ZipFile.java (entries): Now HashMap.
6534 (readLeShort(DataInput, byte[])): Read from given byte array.
6535 (readLeInt(DataInput, byte[]): Likewise.
6536 (readLeShort(byte[] b, int off)): New method.
6537 (readLeInt(byte[] b, int off)): Likewise.
6538 (readEntries): Use byte arrays to read info in bigger chunks.
6539 (getEntries): Return HashMap.
6540 (getEntry): Use HashMap.
6541 (locBuf): New private field.
6542 (checkLocalHeader): Use locBuf to read info in one chunk.
6543 (getInputStream): Use entries HashMap, wrap PartialInputStream
6544 in BufferedInputStream.
6545 (ZipEntryEnumeration): Use HashMap and Interator.
6546
6547 2003-01-02 Mark Wielaard <mark@klomp.org>
6548 Jeroen Frijters <jeroen@sumatra.nl>
6549
6550 * java/net/URLClassLoader.java (Resource.getCodeSource):
6551 Fix check certs == null.
6552 (getCanonicalFileURL): Removed method.
6553 (JarURLLoader): Don't call removed method.
6554 (FileURLLoader): Likewise.
6555 (FileURLLoader.getResource): Don't canonicalize file name.
6556
6557 2003-01-01 Tom Tromey <tromey@redhat.com>
6558
6559 * Makefile.in: Rebuilt.
6560 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6561 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6562 java/awt/BufferCapabilities.java, java/awt/Button.java,
6563 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6564 java/awt/Container.java, java/awt/Cursor.java,
6565 java/awt/EventQueue.java, java/awt/FileDialog.java,
6566 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6567 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6568 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6569 java/awt/Scrollbar.java, java/awt/TextArea.java,
6570 java/awt/TextField.java, java/awt/color/CMMException.java,
6571 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6572 java/awt/color/ProfileDataException.java,
6573 java/awt/datatransfer/Clipboard.java,
6574 java/awt/datatransfer/DataFlavor.java,
6575 java/awt/datatransfer/FlavorMap.java,
6576 java/awt/datatransfer/SystemFlavorMap.java,
6577 java/awt/dnd/DragGestureEvent.java,
6578 java/awt/dnd/DragGestureRecognizer.java,
6579 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6580 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6581 java/awt/im/InputMethodHighlight.java,
6582 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6583 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6584
6585 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6586 `op' to BufferedImageOp.
6587
6588 2002-12-31 Tom Tromey <tromey@redhat.com>
6589
6590 Fix for PR libgcj/7416:
6591 * javax/naming/InitialContext.java (init): Use
6592 gnu.classpath.home.url.
6593 * java/security/Security.java: Use new properties.
6594 (loadProviders): Accept base url; use it.
6595 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6596 gnu.classpath.home.url.
6597 (gnu.classpath.home.url): Define.
6598 (gnu.classpath.vm.shortname): Likewise.
6599
6600 2002-12-31 Tom Tromey <tromey@redhat.com>
6601 Ranjit Mathew <rmathew@hotmail.com>
6602
6603 Fix for PR libgcj/8997:
6604 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6605 Include platform.h.
6606 * include/posix.h (_Jv_platform_usleep): New function.
6607 * include/win32.h (_Jv_platform_usleep): New function.
6608
6609 2002-12-29 Tom Tromey <tromey@redhat.com>
6610
6611 * gcj/javaprims.h: Updated.
6612 * scripts/classes.pl (scan): Removed stray semicolon.
6613
6614 2002-12-30 Mark Wielaard <mark@klomp.org>
6615
6616 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6617 if zero or smaller.
6618
6619 2002-12-30 Mark Wielaard <mark@klomp.org>
6620
6621 * java/util/Properties (formatForOutput): Don't fall through to
6622 default case after escaping character.
6623
6624 2002-12-30 Mark Wielaard <mark@klomp.org>
6625
6626 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6627 against count.
6628
6629 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6630
6631 * boehm.cc: Remove stray semicolon.
6632 * interpret.cc: Likewise.
6633 * prims.cc: Likewise.
6634 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6635 earlier to ensure default arguments are processed.
6636 * gcj/array.h (JArray): Add forward declaration.
6637 (elements): Likewise.
6638 * gcj/javaprim.h: Remove stray semicolons.
6639 * include/bohm-gc.h: Likewise.
6640 * include/jni.h: Likewise.
6641 * include/jvm.h: Likewise.
6642 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6643
6644 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6645
6646 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6647 of catch_type.
6648 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6649 idt tables after initializing superclass.
6650 * java/lang/natClassLoader.cc (uaddr): New typedef.
6651 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6652 if they are constant pool indicies. Don't link vtable, otable yet.
6653
6654 2002-12-21 Anthony Green <green@redhat.com>
6655
6656 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6657 libraries.
6658 * Makefile.in: Rebuilt.
6659
6660 2002-12-19 Anthony Green <green@redhat.com>
6661
6662 * Makefile.am (ordinary_java_source_files): Add
6663 org/xml/sax/helpers/NewInstance.java.
6664 * Makefile.in: Rebuilt.
6665 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6666 org/xml/sax/helpers/package.html: New files.
6667 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6668 http://www.saxproject.org.
6669
6670 2002-12-19 Andrew Haley <aph@redhat.com>
6671
6672 * java/util/natResourceBundle.cc: Include
6673 ArrayIndexOutOfBoundsException.h.
6674 (getCallingClassLoader): Don't put upper bound on stack search.
6675 Catch ArrayIndexOutOfBoundsException.
6676
6677 2002-12-19 Tom Tromey <tromey@redhat.com>
6678
6679 * libtool-version: Increased `current'.
6680
6681 2002-12-19 Tom Tromey <tromey@redhat.com>
6682
6683 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6684 comment.
6685 * java/lang/ClassLoader.java (defineClass): Use chained
6686 exception when rethrowing.
6687 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6688 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6689 constants.
6690 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6691 (_Jv_PrepareClass): Use it.
6692 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6693 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6694 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6695 (Class): _Jv_PrepareMissingMethods now friend.
6696 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6697 Record `NULL' for system class loader.
6698 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6699 system class loader.
6700 (_Jv_FindClassInCache): Likewise.
6701 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6702 (_Jv_FindClass): Special case system class loader.
6703 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6704 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6705 vtable slots.
6706 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6707 in a final class.
6708 (_getDeclaredMethod): Don't return synthetic methods.
6709 (getDeclaredMethods): Likewise.
6710 (_getMethod): Likewise.
6711 (_getMethods): Likewise.
6712
6713 2002-12-18 Raif Naffah <raif@fl.net.au>
6714
6715 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6716 canonical form after divide().
6717 (modInverse): Likewise.
6718
6719 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6720 Mark Wielaard <mark@klomp.org>
6721
6722 * java/security/SecurityRandom (digest): Removed field.
6723 (SecureRandom): Check all providers for case-insensitive SecureRandom
6724 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6725 if necessary.
6726 (getInstance(String,Provider,boolean): New method.
6727 (getInstance(String)): Use new method.
6728 (getInstance(String,String)): Likewise.
6729 (getInstance(String,Provider)): Likewise.
6730
6731 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6732
6733 * java/security/Security.java (loadProviders): Increment i only once.
6734
6735 2002-12-12 Mark Wielaard <mark@klomp.org>
6736
6737 * java/lang/ClassLoader.java (resolveClass0): Transform
6738 ClassNotFoundException to NoClassDefFoundError. Transform all other
6739 throwables to LinkageError.
6740
6741 2002-12-11 Tom Tromey <tromey@redhat.com>
6742
6743 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6744
6745 * java/lang/ClassLoader.java (loadedClasses): New field.
6746 (defineClass): Fixed indentation. Put new class in
6747 loadedClasses.
6748 (findLoadedClass): Implement here.
6749 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6750
6751 2002-12-10 Tom Tromey <tromey@redhat.com>
6752
6753 * Makefile.in: Rebuilt.
6754 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6755 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6756 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6757 * java/lang/natClassLoader.cc
6758 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6759
6760 2002-12-10 Mark Wielaard <mark@klomp.org>
6761 Tom Tromey <tromey@redhat.com>
6762
6763 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6764 (JarURLLoader): Use it.
6765 (FileURLLoader): Likewise.
6766 (JarURLResource.getURL): Use chained exception.
6767 (FileResource.getURL): Likewise.
6768 (FileURLLoader.getResource): Use canonical file name.
6769 (addURL): Indentation fix.
6770
6771 2002-12-10 Tom Tromey <tromey@redhat.com>
6772
6773 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6774 From Laurent Bardet <l.bardet@magic.fr>.
6775
6776 2002-12-09 Tom Tromey <tromey@redhat.com>
6777
6778 * include/win32.h (_Jv_platform_solib_prefix): New define.
6779 (_Jv_platform_solib_suffix): Likewise.
6780 * include/posix.h (_Jv_platform_solib_prefix): New define.
6781 (_Jv_platform_solib_suffix): Likewise.
6782 * java/lang/natRuntime.cc: Include StackTrace.h.
6783 (_load): Use findLibrary and new platform defines.
6784 (nativeGetLibname): Use new platform defines.
6785
6786 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6787 `t' won't be null.
6788
6789 2002-12-08 Mark Wielaard <mark@klomp.org>
6790
6791 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6792 cache remote jar files.
6793 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6794 add File.separator to URL when it is a directory.
6795 * java/lang/ClassLoader.java: Add Classpath javadoc.
6796 (parent): final.
6797 (getParent): Add (disabled) security check.
6798 (findLibrary): New default method.
6799 * java/net/JarURLConnection.java (getManifest): Implement.
6800 (getInputStream): Only create InputStream when entry exists.
6801 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6802 when they exist.
6803 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6804
6805 2002-12-08 Mark Wielaard <mark@klomp.org>
6806
6807 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6808 (lastDefaultLocale): New field.
6809 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6810 resourceBundleCache.
6811
6812 2002-12-06 Mark Wielaard <mark@klomp.org>
6813
6814 * java/net/InetAddress.java (toString): Use hostname when not null,
6815 don't do an explicit reverse getHostName() lookup.
6816 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6817 NullPointerException.
6818
6819 2002-12-06 Tom Tromey <tromey@redhat.com>
6820
6821 * include/java-interp.h (class _Jv_InterpMethod): Added
6822 JV_MARKOBJ_DECL.
6823 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6824 mark `prepared' field of interpreted method.
6825 * interpret.cc (compile): Use _Jv_AllocBytes.
6826
6827 2002-12-05 Andrew Haley <aph@redhat.com>
6828
6829 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6830 #ifdef (HAVE_BACKTRACE) around the whole function body.
6831
6832 2002-12-05 Tom Tromey <tromey@redhat.com>
6833
6834 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6835 * resolve.cc: Don't include AbstractMethodError.h.
6836 (_Jv_abstractMethodError): Removed.
6837 * defineclass.cc (handleMethodsBegin): Initialize method index to
6838 -1.
6839 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6840 method index for "new" final method.
6841 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6842 isVirtualMethod. Added `flags' argument.
6843 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6844 class.
6845
6846 2002-12-04 Tom Tromey <tromey@redhat.com>
6847
6848 * java/net/SocketPermission.java (hashCode): Rewrote.
6849
6850 2002-12-04 Tom Tromey <tromey@redhat.com>
6851
6852 * Makefile.in: Rebuilt.
6853 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6854 natResourceBundle.
6855 * java/util/ResourceBundle.java (Security): Removed.
6856 (getCallingClassLoader): Now native.
6857 * java/util/natResourceBundle.cc: New file.
6858 * java/lang/natVMSecurityManager.cc: New file.
6859 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6860
6861 2002-12-03 Mark Wielaard <mark@klomp.org>
6862
6863 * java/util/jar/JarFile.java (manifest): Not final.
6864 (manifestRead): New field.
6865 (JarFile): Don't read Manifest in constructor.
6866 (getManifest): New method.
6867 (JarEnumeration.nextElement): Use new method.
6868 (getEntry): Likewise.
6869 * java/util/zip/ZipFile.java (name): Final.
6870 (raf): Likewsie.
6871 (entries): Change type to Hashtable.
6872 (closed): New field.
6873 (ZipFile): Don't read enties in constructor.
6874 (readEntries): Use Hashtable.
6875 (close): Set new close flag and set entries to null inside
6876 synchronized block.
6877 (entries): Contruct enumeration using new getEntries() method and
6878 entries Hashtable.
6879 (getEntryIndex): Removed.
6880 (getEntries): New method.
6881 (getEntry): Use new getEntries() method and entries Hastable.
6882 (getInputStream): Likewise.
6883 (size): Return getEntries().size().
6884 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6885 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6886 (time): Removed
6887 (dostime): New field.
6888 (zipFileIndex): Removed.
6889 (ZipEntry(ZipEntry)): Copy dostime.
6890 (setDOSTime): Now final and doesn't convert dos time.
6891 (getDOSTime): Likewise.
6892 (setTime): Convert dos time.
6893 (getTime): Likewise.
6894 (getCalendar): New method.
6895 (setExtra): Use setTime().
6896 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6897
6898 2002-12-03 Tom Tromey <tromey@redhat.com>
6899
6900 * java/lang/Character.java (forDigit): Formatting fix.
6901
6902 2002-12-03 Raif Naffah <raif@fl.net.au>
6903
6904 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6905 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6906 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6907
6908 2002-12-03 Andrew Haley <aph@redhat.com>
6909
6910 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6911 _Jv_PushClass.
6912 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6913 (_Jv_PopClass): New.
6914 (_Jv_PushClass): New.
6915 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6916 discover the ClassLoader of our caller.
6917 (_Jv_CheckArrayStore): Don't check that a class is assignment
6918 compatible with Object.
6919 * java/lang/natVMTHrowable.cc: Delete.
6920 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6921 java.lang.VMThrowable.
6922 (StackTrace(), StackTrace(int)): New constructors.
6923 (classAt, methodAt, update, methodAtAddress): New methods.
6924 (map): New field.
6925 * java/lang/VMThrowable.java: Use StackTrace instead of
6926 natVMTHrowable.
6927 * java/lang/Class.h (getClassLoaderInternal): New.
6928 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6929 Be friendly with gnu::gcj::runtime::StackTrace.
6930 (Object.chain): New field.
6931 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6932 gnu::gcj::runtime::StackTrace.
6933 * gnu/gcj/runtime/natStackTrace.cc: New file.
6934 * gnu/gcj/runtime/MethodRef.java: New file.
6935 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6936 instead of getClassLoader().
6937 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6938 java::lang::VMThrowable.
6939 * Makefile.am (core_java_source_files): Add MethodRef.java,
6940 StackTrace.java.
6941 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6942 * Makefile.in: Rebuild.
6943
6944 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6945
6946 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6947 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6948 yes also for sh-linux* and sh[34]*-linux*.
6949 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6950 set SIGNAL_HANDLER to use DWARF2 exception for them.
6951 * configure: Regenerate.
6952
6953 2002-12-02 Tom Tromey <tromey@redhat.com>
6954
6955 * jni.cc: Added `name' argument.
6956 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6957 `const char *' argument.
6958 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6959
6960 2002-12-01 Tom Tromey <tromey@redhat.com>
6961
6962 Bug compatibility, for PR libgcj/8738:
6963 * java/io/CharArrayWriter.java (close): Do nothing.
6964 (flush): Likewise.
6965 (reset): Don't touch `closed'.
6966 (write(int)): Don't throw IOException.
6967 (write(char[],int,int)): Likewise.
6968 (write(String,int,int)): Likewise.
6969 (closed): Removed.
6970
6971 2002-12-01 Mark Wielaard <mark@klomp.org>
6972
6973 * java/lang/SecurityManager.java: Remerge comments, indenting and
6974 checkXXX methods with Classpath.
6975
6976 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6977
6978 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6979 getNormalizedComponents): Fix calculation which was using one too
6980 many bits in the unnormalized format.
6981
6982 2002-11-29 Gary Benson <gbenson@redhat.com>
6983
6984 For PR libgcj/8759:
6985 * java/beans/Introspector.java (flushCaches): New method.
6986 (flushFromCaches): Likewise.
6987
6988 2002-11-29 Michael Koch <konqueror@gmx.de>
6989
6990 * java/nio/channels/DatagramChannel.java
6991 (open): Added exception documentation.
6992 (write): Added exception documentation.
6993 (connect): Added exception documentation.
6994 (disconnect): Added exception documentation.
6995 (isConnected): Added exception documentation.
6996 (read): Added exception documentation.
6997 (receive): Added exception documentation.
6998 (send): Added exception documentation.
6999 (validOps): Added exception documentation.
7000 * java/nio/channels/SocketChannel.java
7001 (open): Added exception documentation.
7002 (read): Added exception documentation.
7003 (write): Added exception documentation.
7004 (connect): Added exception documentation.
7005 (finishConnect): Added exception documentation.
7006
7007 2002-11-29 Michael Koch <konqueror@gmx.de>
7008
7009 * gnu/java/nio/DatagramChannelImpl:
7010 (fd): New member variable to store file descriptor of socket.
7011 * gnu/java/nio/SelectionKeyImpl.java:
7012 (ops): Removed.
7013 (readyOps): New member variable.
7014 (interestOps): New member variable.
7015 (readyOps): Implemented.
7016 (readyOps): New method to set member variable readyOps.
7017 (interestOps): Replaced ops by interestOps.
7018 * gnu/java/nio/SelectorImpl.java:
7019 (SelectorImpl): Initialize key sets.
7020 (select): Call select with -1 instead of Long.MAX_VALUE).
7021 (java_do_select): Make it a native method.
7022 (getFDsAsArray): New helper method.
7023 (select): Remove canceled keys, give only interested file discriptors
7024 to java_do_select, set ready ops.
7025 (add): No need to initialize keys set here.
7026 (add_selected): No need to initialize selected set here.
7027 (deregisterCanceledKeys): New helper method.
7028 (register): Set interest ops, set attachments, added handling of datagram
7029 channels.
7030 * gnu/java/nio/ServerSocketChannelImpl:
7031 (SocketAccept): Renamed from NioSocketAccept.
7032 (implConfigureBlocking): Implemented.
7033 (accept): Use SocketAccept instead of NioSocketAccept.
7034 * gnu/java/nio/SocketChannelImpl:
7035 Reactivate native methods.
7036
7037 2002-11-29 Michael Koch <konqueror@gmx.de>
7038
7039 * gnu/java/nio/natByteBufferImpl.cc,
7040 gnu/java/nio/natCharBufferImpl.cc,
7041 gnu/java/nio/natDoubleBufferImpl.cc,
7042 gnu/java/nio/natFloatBufferImpl.cc,
7043 gnu/java/nio/natIntBufferImpl.cc,
7044 gnu/java/nio/natLongBufferImpl.cc,
7045 gnu/java/nio/natSelectorImpl.cc,
7046 gnu/java/nio/natServerSocketChannelImpl.cc,
7047 gnu/java/nio/natShortBufferImpl.cc,
7048 gnu/java/nio/natSocketChannelImpl.cc:
7049 New files that implement native functionalities.
7050
7051 2002-11-29 Michael Koch <konqueror@gmx.de>
7052
7053 * gnu/java/nio/ByteBufferImpl.java
7054 (ByteBufferImpl): Moved position() after limit.
7055 (nio_*): Use native implementation.
7056 * gnu/java/nio/CharBufferImpl.java:
7057 Reformated.
7058 (endian): New member variable string endianess of buffer.
7059 (CharBufferImpl): Moved position() after limit.
7060 (nio_*): Use native implementation.
7061 (subSequence): Implemented.
7062 * gnu/java/nio/DoubleBufferImpl.java
7063 (DoubleBufferImpl): Moved position() after limit.
7064 (nio_*): Use native implementation.
7065 * gnu/java/nio/FloatBufferImpl.java
7066 Reformated.
7067 (FloatBufferImpl): Moved position() after limit.
7068 (nio_*): Use native implementation.
7069 * gnu/java/nio/IntBufferImpl.java
7070 Added needed imports, Reformated.
7071 (IntBufferImpl): Moved position() after limit.
7072 (nio_*): Use native implementation.
7073 * gnu/java/nio/LongBufferImpl.java
7074 Reformated.
7075 (LongBufferImpl): Moved position() after limit.
7076 (nio_*): Use native implementation.
7077 * gnu/java/nio/ShortBufferImpl.java
7078 Reformated.
7079 (ShortBufferImpl): Moved position() after limit.
7080 (nio_*): Use native implementation.
7081
7082 2002-11-27 Julian Dolby <dolby@us.ibm.com>
7083
7084 * java/util/Locale.java (toString): Improve efficiency if country
7085 and variant are both empty.
7086
7087 2002-11-26 Tom Tromey <tromey@redhat.com>
7088
7089 * verify.cc (pop_init_ref): New method.
7090 (verify_instructions_0) [op_iaload, op_laload, op_faload,
7091 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7092 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7093 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7094 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7095 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7096 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
7097 let `this' argument be uninitialized. Don't let `null' be passed
7098 as `this' to construtor.
7099
7100 2002-11-26 Mark Wielaard <mark@klomp.org>
7101
7102 * javax/transaction/HeuristicCommitException.java: Classpath merge.
7103 * javax/transaction/HeuristicMixedException.java: Likewise.
7104 * javax/transaction/HeuristicRollbackException.java: Likewise.
7105 * javax/transaction/InvalidTransactionException.java: Likewise.
7106 * javax/transaction/NotSupportedException.java: Likewise.
7107 * javax/transaction/RollbackException.java: Likewise.
7108 * javax/transaction/Status.java: Likewise.
7109 * javax/transaction/Synchronization.java: Likewise.
7110 * javax/transaction/SystemException.java: Likewise.
7111 * javax/transaction/Transaction.java: Likewise.
7112 * javax/transaction/TransactionManager.java: Likewise.
7113 * javax/transaction/TransactionRequiredException.java: Likewise.
7114 * javax/transaction/TransactionRolledbackException.java: Likewise.
7115 * javax/transaction/UserTransaction.java: Likewise.
7116 * javax/transaction/xa/XAException.java: Likewise.
7117 * javax/transaction/xa/XAResource.java: Likewise.
7118 * javax/transaction/xa/Xid.java: Likewise.
7119
7120 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
7121
7122 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7123 define.
7124 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7125 * include/posix.h (socklen_t): Define if not already defined.
7126
7127 2002-11-25 Tom Tromey <tromey@redhat.com>
7128
7129 * verify.cc (type::compatible): Backed out broken change.
7130
7131 * verify.cc (type::compatible): Check initialization status
7132 first.
7133 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7134 Don't use NULLCHECK.
7135
7136 2002-11-23 H.J. Lu <hjl@gnu.org>
7137
7138 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7139 Include ../config/accross.m4.
7140 * aclocal.m4; Rebuild.
7141 * configure: Likewise.
7142
7143 2002-11-23 Mark Wielaard <mark@klomp.org>
7144
7145 * javax/naming/AuthenticationException.java: Update copyright header.
7146 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7147 * javax/naming/Binding.java: Likewise.
7148 * javax/naming/CannotProceedException.java: Likewise.
7149 * javax/naming/CommunicationException.java: Likewise.
7150 * javax/naming/CompositeName.java: Likewise.
7151 * javax/naming/CompoundName.java: Likewise.
7152 * javax/naming/ConfigurationException.java: Likewise.
7153 * javax/naming/Context.java: Likewise.
7154 * javax/naming/ContextNotEmptyException.java: Likewise.
7155 * javax/naming/InitialContext.java: Likewise.
7156 * javax/naming/InsufficientResourcesException.java: Likewise.
7157 * javax/naming/InterruptedNamingException.java: Likewise.
7158 * javax/naming/LimitExceededException.java: Likewise.
7159 * javax/naming/LinkException.java: Likewise.
7160 * javax/naming/LinkLoopException.java: Likewise.
7161 * javax/naming/LinkRef.java: Likewise.
7162 * javax/naming/MalformedLinkException.java: Likewise.
7163 * javax/naming/NameAlreadyBoundException.java: Likewise.
7164 * javax/naming/NameClassPair.java: Likewise.
7165 * javax/naming/NameNotFoundException.java: Likewise.
7166 * javax/naming/NameParser.java: Likewise.
7167 * javax/naming/NamingEnumeration.java: Likewise.
7168 * javax/naming/NamingSecurityException.java: Likewise.
7169 * javax/naming/NoInitialContextException.java: Likewise.
7170 * javax/naming/NoPermissionException.java: Likewise.
7171 * javax/naming/NotContextException.java: Likewise.
7172 * javax/naming/OperationNotSupportedException.java: Likewise.
7173 * javax/naming/PartialResultException.java: Likewise.
7174 * javax/naming/Reference.java: Likewise.
7175 * javax/naming/Referenceable.java: Likewise.
7176 * javax/naming/ReferralException.java: Likewise.
7177 * javax/naming/ServiceUnavailableException.java: Likewise.
7178 * javax/naming/SizeLimitExceededException.java: Likewise.
7179 * javax/naming/TimeLimitExceededException.java: Likewise.
7180 * javax/naming/directory/Attribute.java: Likewise.
7181 * javax/naming/directory/AttributeInUseException.java: Likewise.
7182 * javax/naming/directory/AttributeModificationException.java: Likewise.
7183 * javax/naming/directory/Attributes.java: Likewise.
7184 * javax/naming/directory/BasicAttribute.java: Likewise.
7185 * javax/naming/directory/BasicAttributes.java: Likewise.
7186 * javax/naming/directory/DirContext.java: Likewise.
7187 * javax/naming/directory/InitialDirContext.java: Likewise.
7188 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7189 Likewise.
7190 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7191 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7192 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7193 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7194 * javax/naming/directory/ModificationItem.java: Likewise.
7195 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7196 * javax/naming/directory/SchemaViolationException.java: Likewise.
7197 * javax/naming/directory/SearchControls.java: Likewise.
7198 * javax/naming/directory/SearchResult.java: Likewise.
7199 * javax/naming/event/EventContext.java: Likewise.
7200 * javax/naming/event/EventDirContext.java: Likewise.
7201 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7202 * javax/naming/event/NamingEvent.java: Likewise.
7203 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7204 * javax/naming/event/NamingListener.java: Likewise.
7205 * javax/naming/event/ObjectChangeListener.java: Likewise.
7206 * javax/naming/ldap/Control.java: Likewise.
7207 * javax/naming/ldap/ControlFactory.java: Likewise.
7208 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7209 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7210 * javax/naming/ldap/HasControls.java: Likewise.
7211 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7212 * javax/naming/ldap/LdapContext.java: Likewise.
7213 * javax/naming/ldap/LdapReferralException.java: Likewise.
7214 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7215 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7216 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7217 * javax/naming/spi/DirObjectFactory.java: Likewise.
7218 * javax/naming/spi/DirStateFactory.java: Likewise.
7219 * javax/naming/spi/DirectoryManager.java: Likewise.
7220 * javax/naming/spi/InitialContextFactory.java: Likewise.
7221 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7222 * javax/naming/spi/NamingManager.java: Likewise.
7223 * javax/naming/spi/ObjectFactory.java: Likewise.
7224 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7225 * javax/naming/spi/ResolveResult.java: Likewise.
7226 * javax/naming/spi/Resolver.java: Likewise.
7227 * javax/naming/spi/StateFactory.java: Likewise.
7228
7229 * javax/naming/spi/NamingManager.java (ofb): Package private.
7230
7231 2002-11-21 Mark Wielaard <mark@klomp.org>
7232
7233 * java/net/URL.java: Merge with Classpath (partly).
7234 * java/net/URLStreamHandler: Merge with Classpath.
7235
7236 2002-11-22 Michael Koch <konqueror@gmx.de>
7237
7238 * include/posix.h:
7239 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7240 * include/win32.h:
7241 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7242 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7243
7244 2002-11-21 Michael Koch <konqueror@gmx.de>
7245
7246 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7247 Only the new network functions should be in it.
7248
7249 2002-11-21 Michael Koch <konqueror@gmx.de>
7250
7251 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7252 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7253
7254 2002-11-21 Michael Koch <konqueror@gmx.de>
7255
7256 * java/nio/channels/AsynchronousCloseException.java,
7257 java/nio/channels/CancelledKeyException.java,
7258 java/nio/channels/ClosedByInterruptException.java,
7259 java/nio/channels/ConnectionPendingException.java,
7260 java/nio/channels/FileLockInterruptionException.java,
7261 java/nio/channels/IllegalSelectorException.java,
7262 java/nio/channels/NoConnectionPendingException.java,
7263 java/nio/channels/NonReadableChannelException.java,
7264 java/nio/channels/NonWritableChannelException.java,
7265 java/nio/channels/NotYetBoundException.java,
7266 java/nio/channels/NotYetConnectedException.java,
7267 java/nio/channels/OverlappingFileLockException.java,
7268 java/nio/channels/UnresolvedAddressException.java,
7269 java/nio/channels/UnsupportedAddressTypeException.java:
7270 New files.
7271 * Makefile.am (ordinary_java_source_files): Added new files.
7272 * Makefile.in: Regenerated.
7273
7274 2002-11-21 Michael Koch <konqueror@gmx.de>
7275
7276 * include/posix.h
7277 (_Jv_socket): New method.
7278 (_Jv_connect): New method.
7279 (_Jv_close): New method.
7280 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7281 (_Jv_bind): New method.
7282 (_Jv_listen): New method.
7283 (_Jv_write): New method.
7284 (_Jv_read): New method.
7285 * include/win32.h
7286 (_Jv_socket): New method.
7287 (_Jv_connect): New method.
7288 (_Jv_close): New method.
7289 (_Jv_bind): New method.
7290 (_Jv_listen): New method.
7291 (_Jv_write): New method.
7292 (_Jv_read): New method.
7293 * java/net/natNetworkInterface.cc:
7294 Include platform.h, removed inclusion of socket.h
7295 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7296 ::close() by _Jv_close().
7297 * java/net/natPlainDatagramSocketImpl.cc:
7298 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7299 added some new lines to make code more readable.
7300 (create): Replaced ::socket() by _Jv_socket().
7301 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7302 * java/net/natPlainSocketImpl.cc:
7303 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7304 removed include of socket.h, removed some windows defines
7305 (now in include/win32.h).
7306 (create): Replaced ::socket() by _Jv_socket().
7307 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7308 (write): Replaced ::read by _Jv_write().
7309 (read): Replaced ::read by _Jv_read().
7310
7311 2002-11-20 Michael Koch <konqueror@gmx.de>
7312
7313 * Makefile.am (ordinary_java_source_files):
7314 Added java/nio/channels/FileChannel.java.
7315 * Makefile.in: Regenerated.
7316
7317 2002-11-20 Michael Koch <konqueror@gmx.de>
7318
7319 * java/io/FileInputStream.java
7320 (getChannel): New method.
7321 * java/io/FileOutputStream.java
7322 (getChannel): New method.
7323 * java/net/ServerSocket.java
7324 (bind): Removed duplicate code and called another bind method instead.
7325 * java/nio/channels/SelectionKey.java
7326 (isValid): Removed wrong exception documentation.
7327 * java/nio/channels/ServerSocketChannel.java
7328 (accept): Added exception documentation.
7329 (open): Fixed typo, added exception documentation.
7330 * java/nio/channels/spi/AbstractSelectableChannel.java
7331 (implCloseChannel): Added exception documentation.
7332 (add): Reformated.
7333 (register): Added exception documentation.
7334
7335 2002-11-20 Andreas Jaeger <aj@suse.de>
7336
7337 * configure: Regenerated with new libtool.m4.
7338
7339 2002-11-19 Tom Tromey <tromey@redhat.com>
7340
7341 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7342 `referent'.
7343 (finalize_referred_to_object): Don't modify `referent' or `copy'
7344 fields.
7345 (add_to_hash): Correctly set `n->next' when updating list.
7346 * java/lang/ref/Reference.java (enqueue): Return false if already
7347 enqueued.
7348
7349 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7350
7351 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7352 to function and function pointer declarations in accordance with
7353 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7354 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7355 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7356 JNI function definitions.
7357
7358 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7359
7360 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7361 that was causing CoderResults to be cached, not WeakReferences
7362 to CoderResults.
7363
7364 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7365
7366 * java/security/KeyStore.java (getInstance): Fix
7367 comment and throw IllegalArgumentException if
7368 given provider is null.
7369 (getInstance): New method for jdk1.4 compatibility.
7370
7371 2002-11-18 Michael Koch <konqueror@gmx.de>
7372
7373 * java/net/PlainSocketImpl.java: Fix imports.
7374
7375 2002-11-18 Michael Koch <konqueror@gmx.de>
7376
7377 * java/nio/channels/SelectionKey.java
7378 (isValid): Added exception documentation.
7379 * java/nio/channels/Selector.java
7380 (open): Declare "throws IOException".
7381
7382 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7383
7384 * java/nio/charset/Charset.java
7385 (<clinit>): New method.
7386 (encode): Synchronize use of cached encoder object.
7387 (decode): Synchronize use of cached encoder object.
7388
7389 2002-11-18 Michael Koch <konqueror@gmx.de>
7390
7391 * gnu/java/nio/ByteBufferImpl.java,
7392 gnu/java/nio/CharBufferImpl.java,
7393 gnu/java/nio/DatagramChannelImpl.java,
7394 gnu/java/nio/DoubleBufferImpl.java,
7395 gnu/java/nio/FileChannelImpl.java,
7396 gnu/java/nio/FloatBufferImpl.java,
7397 gnu/java/nio/IntBufferImpl.java,
7398 gnu/java/nio/LongBufferImpl.java,
7399 gnu/java/nio/PipeImpl.java,
7400 gnu/java/nio/SelectionKeyImpl.java,
7401 gnu/java/nio/SelectorImpl.java,
7402 gnu/java/nio/SelectorProviderImpl.java,
7403 gnu/java/nio/ServerSocketChannelImpl.java,
7404 gnu/java/nio/ShortBufferImpl.java,
7405 gnu/java/nio/SocketChannelImpl.java,
7406 java/nio/DoubleBuffer.java,
7407 java/nio/FloatBuffer.java,
7408 java/nio/IntBuffer.java,
7409 java/nio/LongBuffer.java,
7410 java/nio/ShortBuffer.java,
7411 java/nio/channels/FileChannel.java: New files.
7412
7413 2002-11-18 Michael Koch <konqueror@gmx.de>
7414
7415 * Makefile.am (ordinary_java_source_files):
7416 Added java/nio/ReadOnlyBufferException.java and
7417 java/nio/channels/ClosedSelectorException.java.
7418 * Makefile.in: Regenerated.
7419
7420 2002-11-18 Michael Koch <konqueror@gmx.de>
7421
7422 * java/net/PlainSocketImpl.java: Reworked imports.
7423 * java/net/ServerSocket.java
7424 (ServerSocket): Create socket.
7425 * java/net/SocketAddress.java: Documentation added.
7426 * java/net/natPlainSocketImpl.cc: Reindented.
7427 * java/nio/ReadOnlyBufferException.java: New file
7428 * java/nio/channels/ClosedChannelException.java: Documentation added.
7429 * java/nio/channels/ClosedSelectorException.java: New file.
7430
7431 2002-11-17 Mark Wielaard <mark@klomp.org>
7432
7433 * java/net/HttpURLConnection.java ((getPermission): Take port
7434 into consideration.
7435 (getErrorStream): Implement.
7436
7437 2002-11-17 Mark Wielaard <mark@klomp.org>
7438
7439 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7440
7441 2002-11-16 Mark Wielaard <mark@klomp.org>
7442
7443 Integrate work by Raif S. Naffah (raif@fl.net.au)
7444 * java/security/DummyKeyPairGenerator.java (clone): New method.
7445 * java/security/DummyMessageDigest.java (clone): New method.
7446 (engineUpdate): Now public.
7447 (engineReset): Likewise.
7448 (engineDigest): Likewise.
7449 (engineGetDigestLength): New method.
7450 * java/security/DummySignature.java (clone): New method.
7451 * java/security/KeyPairGenerator.java (provider): Now package private.
7452 (getInstance(String)): Use getInstance(String,Provider).
7453 (getInstance(String,String): Use getInstance(String,Provider)
7454 (getInstance(String,Provider): New method.
7455 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7456 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7457 * java/security/MessageDigest.java (provider): Now package private.
7458 (getInstance(String): Use getInstance(String,Provider).
7459 (getInstance(String,String): Use getInstance(String,Provider)
7460 (getInstance(String,Provider): New method.
7461 * java/security/Provider.java (toCanonicalKey): New method.
7462 (get): New method that uses toCanonicalKey().
7463 (put): Use toCanonicalKey().
7464 (remove): Likewise.
7465 * java/security/Security.java (insertProviderAt): Provider index is one
7466 based, not zero based.
7467 (addProvider): Likewise.
7468 (removeProvider): Likewise.
7469 * java/security/Signature.java (provider): Now package private.
7470 (getInstance(String)): Use getInstance(String,Provider).
7471 (getInstance(String,String): Use getInstance(String,Provider)
7472 (getInstance(String,Provider): New method.
7473 (getInstance(String,String,Provider): Don't cast DummySignature.
7474
7475 2002-11-15 Tom Tromey <tromey@redhat.com>
7476
7477 For PR libgcj/8593:
7478 * java/util/zip/GZIPInputStream.java (read): Check file size.
7479 Look in inflater for remaining input bytes.
7480 (read4): Added buf and offset arguments.
7481
7482 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7483
7484 * java/applet/AppletContext.java: Fix typo and remove redundant
7485 modifiers.
7486
7487 2002-11-14 Tom Tromey <tromey@redhat.com>
7488
7489 * java/lang/natRuntime.cc (insertSystemProperties): Set
7490 gnu.classpath.home.
7491
7492 2002-11-13 Michael Koch <konqueror@gmx.de>
7493
7494 * java/nio/ByteBuffer.java
7495 (allocate): New method.
7496 (wrap): New method.
7497 (put): New method.
7498 (get): New method.
7499
7500 2002-11-13 Michael Koch <konqueror@gmx.de>
7501
7502 * java/nio/channels/AlreadyConnectedException.java:
7503 Removed unneeded import.
7504 (AlreadyConnectedException): Documentation added.
7505 * java/nio/channels/Pipe.java
7506 (SinkChannel.SinkChannel): Documentation added.
7507 (SinkChannel.validOps): New method.
7508 (SourceChannel.SourceChannel): Documentation added.
7509 (SourceChannel.validOps): New method.
7510 (Pipe): Documentation added.
7511 (open): Documentation added.
7512 (SinkChannel.channel): Documentation added.
7513 (SourceChannel.channel): Documentation added.
7514 * java/nio/channel/SelectableChannel.java
7515 (SelectableChannel): Documentation added.
7516 (blockingLock): Documentation added.
7517 (configureBlocking):Documentation added.
7518 (isBlocking):Documentation added.
7519 (isRegistered):Documentation added.
7520 (keyFor):Documentation added.
7521 (provider):Documentation added.
7522 (register): Documentation added.
7523 (validOps): Documentation added.
7524 * jaba/nio/channels/SelectionKey.java
7525 (SelectionKey): Documentation added.
7526 (attach): Documentation added.
7527 (attachment): Documentation added.
7528 (isAcceptable): Documentation added.
7529 (isConnetable): Documentation added.
7530 (isReadable): Documentation added.
7531 (isWritable): Documentation added.
7532 (cancel): Documentation added.
7533 (channel): Documentation added.
7534 (interestOps): Documentation added.
7535 (isValid): Documentation added.
7536 (readyOps): Documentation added.
7537 (selector): Documentation added.
7538 * jaba/nio/channels/Selector.java
7539 (Selector): Documentation added.
7540 (open): Documentation added.
7541 (close): Documentation added.
7542 (isOpen): Documentation added.
7543 (keys): Documentation added.
7544 (provider): Documentation added.
7545 (select): Documentation added.
7546 (selectedKeys): Documentation added.
7547 (selectNow): Documentation added.
7548 (wakeup): Documentation added.
7549 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7550 (AbstractInterruptibleChannel): Documentation added.
7551 (opened): Default to true;
7552 (begin): Documentation added.
7553 (close): Set opened to false, documentation added.
7554 (isOpen): Documentation added.
7555 * java/nio/channels/spi/AbstractSelectionKey.java
7556 (AbstractSelectionKey): Documentation added.
7557 (cancel): Documentation added.
7558 (isValid): Documentation added.
7559 * java/nio/channels/spi/AbstractSelector.java
7560 (AbstractSelector): Documentation added.
7561 (begin): Documentation added.
7562 (close): Documentation added.
7563 (isOpen): Documentation added.
7564 (deregister): Documentation added.
7565 (end): Documentation added.
7566 (provider): Documentation added.
7567 (implCloseSelector): Documentation added.
7568 (register): Documentation added.
7569 * java/nio/channels/spi/SelectorProvider.java
7570 (SelectorProvider): Documentation added.
7571 (openDatagramChannel): Documentation added.
7572 (openPipe): Documentation added.
7573 (openSelector): Documentation added.
7574 (openServerSocketChannel): Documentation added.
7575 (openSocketChannel): Documentation added.
7576 (provider): Documentation added.
7577
7578 2002-11-12 Michael Koch <konqueror@gmx.de>
7579
7580 * java/nio/Buffer.java: Implemented.
7581 * java/nio/CharBuffer.java: New file.
7582 * java/nio/InvalidMarkException.java: New file.
7583 * java/nio/channels/DatagramChannel.java: Implemented.
7584 * java/nio/channels/ServerSocketChannel.java: Implemented.
7585 * java/nio/channels/SocketChannel.java: Implemented.
7586 * java/nio/channels/spi/AbstractChannel.java: Removed.
7587 * java/nio/channels/spi/AbstractSelectableChannel.java:
7588 Implemented.
7589 * java/nio/charset/Charset.java:
7590 Merge from Classpath.
7591 * java/nio/charset/CharsetDecoder.java: New file.
7592 * java/nio/charset/CharsetEncoder.java: New file.
7593 * java/nio/charset/CoderResult.java: New file.
7594 * Makefile.am (ordinary_java_source_files): Added new files.
7595 * Makefile.in: Regenerated.
7596
7597 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7598
7599 * gnu/java/nio/charset/ISO_8859_1.java,
7600 gnu/java/nio/charset/Provider.java,
7601 gnu/java/nio/charset/US_ASCII.java,
7602 gnu/java/nio/charset/UTF_16.java,
7603 gnu/java/nio/charset/UTF_16BE.java,
7604 gnu/java/nio/charset/UTF_16Decoder.java,
7605 gnu/java/nio/charset/UTF_16Encoder.java,
7606 gnu/java/nio/charset/UTF_16LE.java,
7607 gnu/java/nio/charset/UTF_8.java: New files.
7608
7609 2002-11-11 Michael Koch <konqueror@gmx.de>
7610
7611 * java/nio/charset/CharacterCodingException.java:
7612 This class must be public.
7613 * java/nio/charset/CoderMalfunctionError.java:
7614 This class must be public.
7615 * java/nio/charset/CodingErrorAction.java:
7616 This class must be public.
7617 * java/nio/charset/IllegalCharsetNameException.java:
7618 This class must be public, better implementation.
7619 * java/nio/charset/MalformedInputException.java:
7620 This class must be public, better implementation.
7621 * java/nio/charset/UnmappableCharacterException.java:
7622 This class must be public, better implementation.
7623 * java/nio/charset/UnsupportedCharsetException.java:
7624 This class must be public, better implementation.
7625
7626 2002-11-11 Michael Koch <konqueror@gmx.de>
7627
7628 * java/nio/BufferOverflowException.java,
7629 java/nio/BufferUnderflowException.java: New file.
7630 * Makefile.am (ordinary_java_source_files):
7631 Added new files.
7632 * Makefile.in: Regenerated.
7633
7634 2002-11-10 Tom Tromey <tromey@redhat.com>
7635
7636 * java/awt/Container.java (validate): Use tree lock.
7637 (getComponent): Likewise.
7638 (getComponents): Likewise.
7639 (addImpl): Likewise.
7640 (remove): Likewise.
7641 (removeAll): Likewise.
7642 (processEvent): Fixed indentation.
7643 (getComponentAt): Use tree lock.
7644 (findComponentAt): Likewise.
7645 (removeNotify): Likewise.
7646 (isAncestorOf): Likewise.
7647 (list): Likewise.
7648 (visitChildren): Likewise.
7649 (findNextFocusComponent): Likewise.
7650 (addNotifyContainerChildren): Likewise.
7651 (getAccessibleChildrenCount): Likewise.
7652 (getAccessibleChild): Likewise.
7653
7654 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7655 (getSize): Likewise.
7656 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7657 (getSize): Likewise.
7658 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7659 (calcSize): Likewise.
7660 * java/awt/CardLayout.java (getSize): Use tree lock.
7661 (gotoComponent): Likewise.
7662 (layoutContainer): Likewise.
7663
7664 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7665 count is 0.
7666 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7667 count is 0.
7668
7669 * java/io/Externalizable.java, java/io/FilePermission.java,
7670 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7671 java/io/SerializablePermission.java, java/text/Format.java,
7672 java/util/AbstractMap.java, java/util/HashMap.java,
7673 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7674 versions from Classpath.
7675
7676 2002-11-10 Anthony Green <green@redhat.com>
7677
7678 * java/util/jar/Attributes.java (Name): Fix name check.
7679
7680 2002-11-10 Mark Wielaard <mark@klomp.org>
7681
7682 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7683 with getName() as message.
7684 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7685 type as message.
7686
7687 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7688 unused.
7689
7690 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7691
7692 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7693 for Win32. JNICALL has been defined to __stdcall to be compatible
7694 with Sun's JDKs.
7695
7696 2002-11-10 Tom Tromey <tromey@redhat.com>
7697
7698 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7699 (setRows): Check newRows, not rows.
7700
7701 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7702
7703 2002-11-09 Tom Tromey <tromey@redhat.com>
7704
7705 * java/applet/Applet.java, java/applet/AppletContext.java,
7706 java/applet/AppletStub.java, java/applet/AudioClip.java,
7707 java/awt/CardLayout.java,
7708 java/awt/ContainerOrderFocusTraversalPolicy.java,
7709 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7710 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7711 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7712 java/awt/color/ICC_ColorSpace.java,
7713 java/awt/color/ICC_Profile.java,
7714 java/awt/color/ICC_ProfileGray.java,
7715 java/awt/color/ICC_ProfileRGB.java,
7716 java/awt/datatransfer/DataFlavor.java,
7717 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7718 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7719 New versions from Classpath.
7720 * Makefile.in: Rebuilt.
7721 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7722 ICC_ProfileRGB.
7723
7724 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7725 display policy.
7726
7727 * java/awt/List.java (processEvent): Added missing `else's.
7728
7729 * java/awt/Window.java (show): validate() before showing. Make
7730 parent displayable.
7731 (isDisplayable): New method.
7732
7733 2002-11-07 Mark Wielaard <mark@klomp.org>
7734
7735 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7736 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7737
7738 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7739 annotation.
7740 (loadClass): Take String as codebases.
7741 (getClassAnnotation): Use MyClassLoader annotations.
7742 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7743 call exportObject(this).
7744
7745 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7746 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7747 (setAnnotation): Don't set locBytesStream and locStream.
7748 (replaceObject): Removed.
7749 (flush): Don't test locStream.
7750 (getLocBytes): LikeWise.
7751 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7752 (leaseCache): New field.
7753 (dirty): Use leaseCache.
7754 (LeaseRecord): New inner class.
7755 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7756 explicitly call exportObject().
7757 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7758 false to communicate with Sun JDK130.
7759 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7760 * gnu/java/rmi/server/RMIObjectInputStream.java
7761 (UnicastConnectionManager): Removed field.
7762 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7763 Use UnicastServer.getExportedRef().
7764 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7765 (expireTime): Likewise.
7766 (CONNECTION_TIMEOUT): Likewise.
7767 (disconnect): Call sock.close().
7768 (isExpired): New method.
7769 (resetTime): Likewise.
7770 (run): Use do while loop and catch Exception for discardConnection().
7771 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7772 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7773 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7774 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7775 (exportObject): Use refcache.
7776 (unexportObject): Likewise.
7777 (getExportedRef): New method.
7778 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7779 constructor.
7780 (exportObject): Save manager.serverobj.
7781 (getStub): New method.
7782
7783 2002-11-07 Mark Wielaard <mark@klomp.org>
7784
7785 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7786 (getByte): Likewise.
7787 (getShort): Likewise.
7788 (getInt): Likewise.
7789 (getLong): Likewise.
7790 (getFloat): Likewise.
7791 (getDouble): Likewise.
7792 (get): Likewise.
7793 (setChar): Likewise.
7794 (setByte): Likewise.
7795 (setShort): Likewise.
7796 (setInt): Likewise.
7797 (setLong): Likewise.
7798 (setFloat): Likewise.
7799 (setDouble): Likewise.
7800
7801 2002-11-07 Michael Koch <konqueror@gmx.de>
7802
7803 * java/awt/Choice.java,
7804 java/awt/Container.java,
7805 java/awt/GridBagLayout.java:
7806 Fixed documentation.
7807 * java/awt/peer/ContainerPeer.java:
7808 Reindented.
7809
7810 2002-11-07 Michael Koch <konqueror@gmx.de>
7811
7812 * java/awt/color/ICC_Profile.java:
7813 Added missing constants.
7814 * java/awt/color/ICC_ColorSpace.java
7815 (getMinValue): Added dummy implementation.
7816 (getMaxValue): Added dummy implementation.
7817 * java/awt/datatransfer/DataFlavor.java
7818 (imageFlavor): Added.
7819 (isMimeTypeEqual): Must be final.
7820 (getDefaultRepresentationClass): Must be non-static.
7821 (getDefaultRepresentationClassAsString): Must be non-static.
7822 * java/awt/dnd/DragSourceContext.java
7823 (dragExit): Corrected argument.
7824 (dragDropEnd): Corrected argument.
7825 * java/awt/dnd/DragSourceListener.java.java
7826 (dragExit): Corrected argument.
7827 (dragDropEnd): Corrected argument.
7828 * java/awt/font/TextHitInfo.java
7829 (toString): Added stubbed implementation.
7830 * java/awt/geom/PathIterator.java:
7831 The constants must be static.
7832 * java/awt/image/VolatileImage.java
7833 (IMAGE_INCOMPATIBLE): Fixed typo.
7834 * java/awt/image/renderable/RenderableImage.java
7835 (HINTS_OBSERVED): Must be static.
7836 * java/beans/BeanInfo.java:
7837 Constants must be final.
7838
7839 2002-11-06 Tom Tromey <tromey@redhat.com>
7840
7841 From svens@it.uu.se. For PR libgcj/8481.
7842 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7843
7844 2002-11-06 Tom Tromey <tromey@redhat.com>
7845
7846 * jni.cc (array_from_valist): Assume that jlong won't be
7847 promoted.
7848
7849 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7850
7851 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7852 Return 20.
7853 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7854 Return 16.
7855
7856 2002-11-03 Tom Tromey <tromey@redhat.com>
7857
7858 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7859 VMClassLoader, not findClass.
7860
7861 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7862
7863 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7864 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7865 _Jv_DetermineVTableIndex, to determine vtable offset.
7866 (_Jv_DetermineVTableIndex): Remove.
7867 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7868
7869 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7870
7871 2002-11-03 Tom Tromey <tromey@redhat.com>
7872
7873 * java/nio/channels/AlreadyConnectedException.java: Extend
7874 IllegalStateException, per spec.
7875
7876 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7877
7878 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7879
7880 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7881
7882 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7883 size items.
7884
7885 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7886
7887 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7888 initial estimated size to avoid enlarge buffer frequently.
7889
7890 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7891
7892 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7893 ClassLoader when null.
7894 (ProxyType.hashCode): Loader null check no longer needed.
7895 (ProxyType.sameTypes): New method.
7896 (ProxyType.equals): Use new method.
7897
7898 2002-10-31 Mark Wielaard <mark@klomp.org>
7899
7900 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7901 length of String.
7902 * java/net/URLEncoder.java (encode): Likewise.
7903
7904 2002-10-31 Mark Wielaard <mark@klomp.org>
7905
7906 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7907 when stream is closed.
7908 (closeEntry): Likewise.
7909 (read): Likewise.
7910 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7911 ZipException when no entry active.
7912 (closeEntry): Likewise.
7913 (write): Likewise.
7914
7915 2002-11-02 Tom Tromey <tromey@redhat.com>
7916
7917 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7918 * java/lang/natClass.cc (initializeClass): Don't return just
7919 because self==thread.
7920
7921 For PR java/8415:
7922 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7923 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7924
7925 2002-11-02 Andreas Schwab <schwab@suse.de>
7926
7927 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7928 pass GCJFLAGS.
7929 (FLAGS_TO_PASS): Define.
7930 * Makefile.in: Regenerated.
7931
7932 2002-11-01 Michael Koch <konqueror@gmx.de>
7933
7934 * java/nio/ByteOrder.java: New file.
7935 * java/nio/channels/DatagramChannel.java:
7936 (DatagramChannel): New constructor.
7937 * java/nio/channels/Pipe.java: New file.
7938 * java/nio/channels/SelectableChannel.java: New file.
7939 * java/nio/channels/SelectionKey.java: New file.
7940 * java/nio/channels/Selector.java: New file.
7941 * java/nio/channels/ServerSocketChannel.java
7942 (ServerSocketChannel): New constructor.
7943 * java/nio/channels/SocketChannel.java
7944 (SocketChannel): New constructor.
7945 * java/nio/channels/Pipe.java: New file.
7946 * java/nio/channels/spi/AbstractChannel.java: New file.
7947 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7948 * java/nio/channels/spi/AbstractSelectableChannel.java:
7949 License added
7950 (AbstractSelectableChannel): New stubbed method.
7951 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7952 * java/nio/channels/spi/AbstractSelector.java: New file.
7953 * java/nio/channels/spi/SelectorProvider.java: New file.
7954 * java/nio/charset/Charset.java: New file.
7955 * java/nio/charset/CoderMalfunctionError.java: New file.
7956 * java/nio/charset/CodingErrorAction.java: New file.
7957 * java/nio/charset/spi/CharsetProvider.java
7958 (charsetForName): Uncommented.
7959 * Makefile.am (java_native_source_files): Added new files.
7960 * Makefile.in: Regenerated.
7961
7962 2002-11-01 Michael Koch <konqueror@gmx.de>
7963
7964 * java/net/InetAddress.java:
7965 (isAnyLocalAddress): Implemented.
7966 (isLoopbackAddress): Implemented, comment added.
7967 (isLinkLocalAddress): Implemented, documentation added.
7968 (isSiteLocalAddress): Implemented, documentation added.
7969 (isMCGlobal): Implemented, documentation added.
7970 (isMCNodeLocal): Implemented, documentation added.
7971 (isMCLinkLocal): Implemented, documentation added.
7972 (isMCSiteLocal): Implemented, documentation added.
7973 (isMCOrgLocal): Implemented, documentation added.
7974 (getHostName): Documentation added.
7975 (getCanonicalHostName): Implemented, documentation added.
7976 (getAddress): Documentation added.
7977 (hashCode): Documentation added.
7978 (equals): Documentation added.
7979 (toString): Fixed implementation.
7980 (getByAddress): Use Inet4Address and Inet6Address.
7981 (lookup): New linewrap.
7982 (getByName): SecurityManager check added, support Inet4Address and
7983 Inet6address, comments added.
7984 (getAllByName): SecurityManager check added, comments added.
7985 * java/net/Inet6Address.java:
7986 (Inet6Address): Initialize parent class with addr instead of null.
7987 * java/net/URL.java
7988 (equals): Documentation added.
7989 (getFile): Documentation added.
7990 (hashCode): Documentation added.
7991 * java/net/natInetAddress.cc:
7992 (aton): Fix IPv6 support.
7993 * java/net/natPlainDatagramSocketImpl.cc:
7994 (peek): Throw PortUnreachableException when suitable.
7995 (peekData): Throw PortUnreachableException when suitable.
7996 (send): Throw PortUnreachableException when suitable.
7997 (receive): Throw PortUnreachableException when suitable.
7998
7999 2002-10-27 Mark Wielaard <mark@klomp.org>
8000
8001 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8002 argument.
8003 (readLeShort): Likewise and use byte[].
8004 (readLeInt): Likewise.
8005 (readEntries): Use new versions of methods and use byte[] for reading
8006 a complete zip entry. Add ZipFile name to exceptions.
8007 (entries): Add ZipFile name to exceptions.
8008 (getEntry): Likewise.
8009 (checkLocalHeader): Use new versions of methods and add ZipFile name
8010 to exceptions.
8011
8012 2002-10-31 Mark Anderson <mark@panonet.net>
8013
8014 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8015 added
8016
8017 2002-10-25 Krister Walfridsson <cato@df.lth.se>
8018
8019 * configure.in: Disable hash sync when not using threads.
8020 * configure: Regenerated.
8021
8022 2002-10-24 Tom Tromey <tromey@redhat.com>
8023
8024 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8025 (_Jv_FindSymbolInExecutable): Removed argument name.
8026 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8027 java.library.path is set.
8028
8029 * gij.cc (help): Document --showversion.
8030 (version): Don't exit.
8031 (main): Handle --showversion. Exit if --version given.
8032
8033 2002-10-23 Tom Tromey <tromey@redhat.com>
8034
8035 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8036 (array_from_valist): Correctly handle promotion for jint, jlong,
8037 jfloat, and jdouble.
8038
8039 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
8040
8041 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8042 GetFileAttributesEx( ) to find file length and modification times,
8043 as the latter is not present on Windows 95.
8044
8045 2002-10-21 Michael Koch <konqueror@gmx.de>
8046
8047 * java/net/URL.java
8048 (URL): Activate SecurityManager checks.
8049 (equals): Use URLStreamHandler implementation instead of doing it
8050 alone. This allows special protocol stream handlers to change default
8051 behaviour.
8052 (hashCode): Use URLStreamHandler implementation instead of doing it
8053 alone. This allows special protocol stream handlers to change default
8054 behaviour.
8055 * java/net/URLStreamHandler.java
8056 (equals): Implemented default URL equality check.
8057 (hostsEqual): Implemented default URL equality check.
8058 (hashCode): Implemented default URL hashCode algorithm.
8059 * java/net/natPlainDatagramSocketImpl.cc:
8060 No lines longer then 80 characters.
8061
8062 2002-10-20 Adam Megacz <adam@xwt.org>
8063
8064 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8065 * configure.in: enabled hash sync on Win32
8066 * include/win32-threads.h (_Jv_ThreadId_t): added.
8067 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8068 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8069 removed some posix-isms, use Thread::sleep() instead of usleep,
8070 added code to clear bottom three bits if platform has a broken
8071 linker.
8072 * include/win32-threads.h (_Jv_ThreadId_t): added.
8073
8074 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
8075
8076 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8077 runtime property "gnu.gcj.progname" containing the name used to
8078 invoke the current Java program (similar to argv[0] for C
8079 programs).
8080
8081 2002-10-15 Tom Tromey <tromey@redhat.com>
8082
8083 Fix for PR libgcj/8234:
8084 * java/util/zip/natInflater.cc (reset): Reset avail_in.
8085 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8086
8087 2002-10-13 Mark Wielaard <mark@klomp.org>
8088
8089 * mauve-libgcj: Enable Mauve tests that compile now.
8090
8091 2002-10-11 Mark Wielaard <mark@klomp.org>
8092
8093 Fix for PR libgcj/8142
8094 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8095 loading native modules.
8096
8097 2002-10-10 Michael Koch <konqueror@gmx.de>
8098
8099 * javax/swing/AbstractListModel.java
8100 (getListDataListeners): New stubbed method.
8101 javax/swing/DefaultBoundedRangeModel.java
8102 (getChangeListeners): New stubbed method.
8103 javax/swing/DefaultSingleSelectionModel.java
8104 (getChangeListeners): New stubbed method.
8105
8106 2002-10-10 Michael Koch <konqueror@gmx.de>
8107
8108 * gcj/.cvsignore: New file to ignore files generated during build.
8109 * include/.cvsignore: New file to ignore files generated during build.
8110
8111 2002-10-10 Michael Koch <konqueror@gmx.de>
8112
8113 * java/net/HttpURLConnection.java
8114 (getPermission): New method.
8115 (getErrorStream): New stub method.
8116 (getHeaderFieldDate): New stub method.
8117 * java/net/Inet4Address.java:
8118 (isLinkLocalAddress): Typo fixed.
8119 * java/net/InetAddress.java:
8120 (readResolve): New stubbed method (for serialization).
8121 (isAnyLocalAddress): New stubbed method.
8122 (isLoopbackAddress): New stubbed method.
8123 (isLinkLocalAddress): New stubbed method.
8124 (isSiteLocalAddress): New stubbed method.
8125 (isMCGlobal): New stubbed method.
8126 (isMCNodeGlobal): New stubbed method.
8127 (isMCLinkLocal): New stubbed method.
8128 (isMCSiteLocal): New stubbed method.
8129 (isMCOrgLocal): New stubbed method.
8130 (getCanonicalHostName): New stubbed method.
8131 (getByAddress): Create instances of Inet4Address/Inet6Address,
8132 instead of InetAddress, documentation added.
8133 * java/net/MulticastSocket.java
8134 (getInterface): Removed FIXME.
8135 (getNetworkInterface): New method.
8136 (setNetworkInterface): New method.
8137 * java/net/NetworkInterface.java:
8138 (toString): Use property "line.separator" instead of "\n".
8139 * java/net/URLConnection.java
8140 (getContent): New stubbed method.
8141 * java/net/URLStreamHandler.java:
8142 (equals): New stubbed method.
8143 (hostsEqual): New stubbed method.
8144 (hashCode): New stubbed method.
8145 * java/net/natNetworkInterface.cc:
8146 (getRealNetworkInterfaces): Create Inet4Address object
8147 instead of InetAddress.
8148
8149 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8150
8151 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8152 unsigned long temporary to implement insn_iushr shifts.
8153
8154 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8155
8156 * configure.host [s390*-*]: Enable Java interpreter.
8157 Enable hash synchronization. Add sysdeps dir.
8158 * sysdep/s390/locks.h: New file.
8159
8160 2002-10-06 Mark Wielaard <mark@klomp.org>
8161
8162 * java/lang/Thread.java (setDaemon): Check startable_flag,
8163 not isAlive().
8164
8165 2002-10-07 Michael Koch <konqueror@gmx.de>
8166
8167 * java/nio/Buffer.java: New stub file.
8168 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8169 of class Charset.
8170 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8171 * Makefile.in: Regenerated.
8172
8173 2002-10-07 Michael Koch <konqueror@gmx.de>
8174
8175 * java/nio/ByteBuffer.java:
8176 removed import of not commited class.
8177
8178 2002-10-07 Michael Koch <konqueror@gmx.de>
8179
8180 * java/nio/ByteBuffer.java,
8181 java/nio/MappedByteBuffer.java:
8182 New files, forgot to add these dummies.
8183 * Makefile.am (java_native_source_files): Added new files.
8184 * Makefile.in: Regenerated.
8185
8186 2002-10-07 Michael Koch <konqueror@gmx.de>
8187
8188 * java/nio/channels/AlreadyConnectedException.java,
8189 java/nio/channels/ClosedChannelException.java,
8190 java/nio/channels/ReadableByteChannel.java,
8191 java/nio/channels/InterruptibleChannel.java,
8192 java/nio/channels/Channel.java,
8193 java/nio/channels/ByteChannel.java,
8194 java/nio/channels/GatheringByteChannel.java,
8195 java/nio/channels/ScatteringByteChannel.java,
8196 java/nio/channels/WritableByteChannel.java,
8197 java/nio/charset/CharacterCodingException.java,
8198 java/nio/charset/IllegalCharsetNameException.java,
8199 java/nio/charset/MalformedInputException.java,
8200 java/nio/charset/UnmappableCharacterException.java,
8201 java/nio/charset/UnsupportedCharsetException.java,
8202 java/nio/charset/spi/CharsetProvider.java: New file.
8203 These files are exceptions or interfaces,
8204 no real or abstract classes.
8205 * Makefile.am (java_native_source_files): Added new files.
8206 * Makefile.in: Regenerated.
8207
8208 2002-10-05 Michael Koch <konqueror@gmx.de>
8209
8210 * java/net/InetAddress.java
8211 (getByAddress): Fixed documentation.
8212 (getByAddress): New method.
8213 * java/net/Inet4Address.java: New file.
8214 * java/net/URL.java
8215 (URL): Documentation added.
8216 (getContent): Documentation added.
8217 (getContent): New stubbed method.
8218 (getQuery): New method.
8219 (openConnection): Documentation added.
8220 (openStream): Documentation added.
8221 (setURLStreamHandlerFactory): Documentation added.
8222 * java/net/URI.java: New stub file.
8223 * Makefile.am
8224 (java_native_source_files): Added java/net/Inet4Address.java,
8225 java/net/Inet6Address.java and java/net/URI.java.
8226 * Makefile.in: Regenerated.
8227
8228 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8229
8230 * java/lang/ProtectionDomain.java (linesep): Remove field.
8231 (toString): Use System.getProperty("line.separator").
8232
8233 2002-10-04 Michael Koch <konqueror@gmx.de>
8234
8235 * java/security/Identity.java: Added serialVersionUID.
8236 * java/security/KeyPair.java: Added serialVersionUID.
8237 * java/security/Provider.java: Added serialVersionUID.
8238 * java/security/SecureRandom.java: Added serialVersionUID.
8239 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8240 * java/security/SignedObject.java: Added serialVersionUID.
8241 * java/security/cert/Certificate.java: Added serialVersionUID.
8242
8243 2002-10-04 Mark Wielaard <mark@klomp.org>
8244
8245 * java/security/Security.java: Use java.home or gnu.classpath.home
8246 to load providers.
8247 (loadProviders): Extra dir argument.
8248 (getProvider): Return null when not found.
8249
8250 2002-10-04 Mark Wielaard <mark@klomp.org>
8251
8252 * java/lang/Throwable.java: Remerge with Classpath.
8253
8254 2002-10-04 Michael Koch <konqueror@gmx.de>
8255
8256 * java/net/InetAddress.java:
8257 (isMulticastAddress): Added documentation.
8258 (getHostAddress): Added documentation.
8259 (toString): Added documentation.
8260 (getByAddress): Fixed documentation.
8261 (getByName): Added documentation.
8262 (getAllByName): Added documentation.
8263 (getLocalHost): Added documentation.
8264
8265 2002-10-04 Michael Koch <konqueror@gmx.de>
8266
8267 * java/beans/beancontext/BeanContextChildSupport.java:
8268 Added serialVersionUID.
8269 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8270 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8271 * javax/naming/Name.java: Added serialVersionUID.
8272
8273 2002-10-03 Adam Megacz <adam@xwt.org>
8274
8275 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8276 some functionality that isn't supported yet on WIN32.
8277
8278 2002-10-03 Tom Tromey <tromey@redhat.com>
8279
8280 * Makefile.in: Rebuilt.
8281 * Makefile.am (awt_java_source_files): Added new files.
8282
8283 2002-10-03 Michael Koch <konqueror@gmx.de>
8284
8285 * java/net/InetAddress.java
8286 (class InetAddress): Removed final keyword.
8287 (equals): Fixed typo.
8288 (getByAddress): New method.
8289
8290 2002-10-03 Michael Koch <konqueror@gmx.de>
8291
8292 * java/awt/dnd/Autoscroll.java:
8293 New file, merge from Classpath.
8294 * java/awt/dnd/DragSourceAdapter.java:
8295 (dragExit): Fixed typos in argument type.
8296 (dragDropEnd): Fixed typos in argument type.
8297 * java/awt/dnd/DragSourceDropEvent.java:
8298 New file, merge from Classpath.
8299 * java/awt/dnd/DropTarget.java:
8300 Added stubs, merge from Classpath.
8301 * java/awt/dnd/DropTargetAdapter.java:
8302 New file, merge from Classpath.
8303 * java/awt/dnd/DropTargetContext.java:
8304 New file, merge from Classpath.
8305 * java/awt/dnd/DropTargetDragEvent.java:
8306 New file, merge from Classpath.
8307 * java/awt/dnd/DropTargetDropEvent.java:
8308 New file, merge from Classpath.
8309 * java/awt/dnd/DropTargetEvent.java:
8310 New file, merge from Classpath.
8311 * java/awt/dnd/DropTargetListener.java:
8312 New file, merge from Classpath.
8313 * java/awt/dnd/MouseDragGestureRecognizer.java:
8314 New file, merge from Classpath.
8315 * java/awt/dnd/peer/DropTargetContextPeer.java:
8316 New file, merge from Classpath.
8317
8318 2002-10-03 Michael Koch <konqueror@gmx.de>
8319
8320 * java/net/DatagramPacket.java
8321 (setLength): Fixed typo and be HTML-aware.
8322 * java/net/InetSocketAddress.java
8323 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8324 (equals): Added comment about equality of InetSocketAddress objects.
8325 * java/net/ServerSocket.java
8326 (accept): Added checks.
8327 (isClosed): New stubbed method.
8328 * java/net/SocketOptions.java: Reindention.
8329 * java/net/SocketPermission
8330 (SocketPermission): Documentation fixed.
8331
8332 2002-10-03 Michael Koch <konqueror@gmx.de>
8333
8334 * java/net/DatagramSocket.java
8335 (receive): Check with SecurityManager AFTER the packet is received,
8336 check if connected to multicast address, documentation added.
8337 (send): Only check SecurityManager if connected, check address of
8338 packet to send.
8339 (connect): Implemented, documentation added.
8340 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8341 * java/net/InetSocketAddress.java
8342 (whole file): Reindented.
8343 (hostname): New attribute.
8344 (InetSocketAddress): Initialize new attribute.
8345 (getAddress): Documentation added.
8346 (getHostName): Documentation added.
8347 (getPort): Documentation added.
8348 (hashCode): Documentation added.
8349 (isUnresolved): Documentation added.
8350 (toString): Conform to output of JDK 1.4.1, documentation added.
8351 * java/net/MulticastSocket.java
8352 (joinGroup): Removed FIXME, documentation added.
8353 (leaveGroup): Removed FIXME, documentation added.
8354 (send): Documentation added.
8355 * java/net/Socket.java
8356 (inputShutdown): New variable.
8357 (outputShutdown): New variable.
8358 (Socket): Initialize new variables.
8359 (getRemoteSocketAddress): Check if connected.
8360 (shutdownInput): Set new variable.
8361 (shutdownOutput): Set new variable.
8362 (isConnected): New method.
8363 (isClosed): New method.
8364 (isInputShutdown): New method.
8365 (isOutputShutdown): New method.
8366 * java/net/URLStreamHandler.java
8367 (URLStreamHandler): New method.
8368 (openConnection): Added documentation.
8369 (parseURL): Added documentation.
8370 (getHostAddress): New method.
8371 (getDefaultPort): New method.
8372
8373 2002-10-02 Tom Tromey <tromey@redhat.com>
8374
8375 * java/rmi/activation/ActivationDesc.java,
8376 java/rmi/activation/ActivationGroupDesc.java,
8377 java/rmi/activation/ActivationGroupID.java,
8378 java/rmi/activation/ActivationID.java: New versions from
8379 Classpath.
8380
8381 2002-09-30 Bo Thorsen <bo@suse.de>
8382
8383 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8384
8385 2002-09-30 Tom Tromey <tromey@redhat.com>
8386
8387 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8388 from Classpath.
8389 * Makefile.in: Rebuilt.
8390 * Makefile.am (rmi_java_source_files): Added new files.
8391 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8392 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8393 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8394 Classpath.
8395 * gnu/java/rmi/dgc/DGCImpl.java,
8396 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8397 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8398 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8399 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8400 gnu/java/rmi/server/RMIHashes.java,
8401 gnu/java/rmi/server/RMIObjectInputStream.java,
8402 gnu/java/rmi/server/RMIObjectOutputStream.java,
8403 gnu/java/rmi/server/UnicastConnection.java,
8404 gnu/java/rmi/server/UnicastConnectionManager.java,
8405 gnu/java/rmi/server/UnicastRef.java,
8406 gnu/java/rmi/server/UnicastServer.java,
8407 gnu/java/rmi/server/UnicastServerRef.java,
8408 java/rmi/MarshalledObject.java,
8409 java/rmi/server/RMIClassLoader.java,
8410 java/rmi/server/RemoteObject.java,
8411 java/rmi/server/UnicastRemoteObject.java,
8412 java/security/SecureClassLoader.java: Merged from Classpath.
8413
8414 2002-09-29 Anthony Green <green@redhat.com>
8415
8416 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8417 Imported from GNU Classpath.
8418 * java/lang/reflect/natProxy.cc: New file.
8419 * java/lang/reflect/InvocationHandler.java: New file. Imported
8420 from GNU Classpath.
8421 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8422 Classpath.
8423 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8424 Classpath.
8425 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8426 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8427 New statics.
8428 * gcj/javaprims.h ("Java"): Add new classes.
8429 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8430 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8431 java/lang/reflect/Proxy$$ProxyType.h): And this.
8432 (inner_nat_headers): Add these new headers.
8433 (ordinary_java_source_files): Add new files.
8434 (nat_source_files): Add new file.
8435 * Makefile.in: Rebuilt.
8436
8437 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8438
8439 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8440 a single configuration.
8441
8442 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8443
8444 * java/util/TimeZone.java (getDSTSavings): New method.
8445 Fixes PR libgcj/7786.
8446
8447 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8448
8449 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8450 to see if `the_method == 0' before looking up vtable index.
8451 Fixes PR libgcj/7709.
8452
8453 2002-09-25 Tom Tromey <tromey@redhat.com>
8454
8455 * java/lang/natClassLoader.cc:
8456 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8457 * resolve.cc: Include NoClassDefFoundError.h, not
8458 ClassNotFoundException.h.
8459 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8460
8461 * defineclass.cc: Don't include ClassNotFoundException.h.
8462
8463 * resolve.cc: Include StringBuffer.
8464 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8465
8466 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8467 allocated but not initialized.
8468
8469 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8470
8471 Fix for PR libgcj/7766:
8472 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8473 (getNextEntry): Set it.
8474 (closeEntry): Likewise.
8475 (read): Likewise.
8476 (close): Likewise.
8477 (available): Use it.
8478
8479 2002-09-25 Michael Koch <konqueror@gmx.de>
8480
8481 * java/net/DatagramSocket.java
8482 (DatagramSocket): Initialize new instance variables.
8483 (close): Reset new instance variables.
8484 (getLocalAddress): Remove unneeded SecurityManager usage.
8485 (getLocalPort): Check if socket is already bound.
8486 (isConnected): New method.
8487 (getInetAddress): Implemented.
8488 (getPort): Better Implementation, documentation fixed.
8489 (getRemoteSocketAddress): New method.
8490 * java/net/JarURLConnection.java
8491 (element): Typo fixed.
8492 (getMainAttributes): New method.
8493 (getAttributes): New method (stub only).
8494 (getManifest): New method (stub only).
8495 * java/net/NetPermission.java: Added serialVersionsUID.
8496 * java/net/Socket.java
8497 (connect): Check blocking mode of associated channel,
8498 documentation added.
8499 (getLocalSocketAddress): Better implementation.
8500 (getRemoteSocketAddress): Implemented.
8501 (isBound): New method.
8502 (setSendBufferSize): Documentation added.
8503 * java/net/SocketAddress.java: Added serialVersionsUID.
8504 * java/net/SocketPermission.java: Added serialVersionsUID.
8505 * java/net/URL.java
8506 (URL): Wrap for shorter lines, initialize new instance variables,
8507 documentation added.
8508 (equals): Check new instance variables too.
8509 (getContent): Documentation added.
8510 (getPath): Documentation added.
8511 (getAuthority): New method.
8512 (getHost): Documentation added.
8513 (getPort): Documentation added.
8514 (getDefaultPort): New method.
8515 (getProtocol): Documentation added.
8516 (getUserInfo): Documentation added.
8517 (set): Initialize new instance variables, documentation added.
8518 * java/net/URLStreamHandler.java
8519 (setURL): New method.
8520 * java/net/natPlainDatagramSocketImpl.cc
8521 (connect): Fix exception name.
8522 (disconnect): Fix exception name.
8523
8524 2002-09-25 Michael Koch <konqueror@gmx.de>
8525
8526 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8527 * java/nio/channels/DatagramChannel.java:
8528 extends AbstractSelectableChannel
8529 * java/nio/channels/ServerSocketChannel.java:
8530 extends AbstractSelectableChannel
8531 * java/nio/channels/SocketChannel.java:
8532 extends AbstractSelectableChannel
8533 * Makefile.am (ordinary_java_source_files):
8534 java/nio/channels/spi/AbstractSelectableChannel.java added.
8535 * Makefile.in: Regenerated.
8536
8537 2002-09-25 Michael Koch <konqueror@gmx.de>
8538
8539 * java/net/DatagramSocket.java
8540 (DatagramSocket): Exception documentation added.
8541 (bind): Exception documentation added, addded SecurityManager check,
8542 added SocketAddress type check.
8543 (getSoTimeout): Check impl.
8544 (receive): Fix SecurityManager check, check impl, documentation added.
8545 (send): Check channel mode, documentation added.
8546 (connect): New method.
8547 (disconnect): Implemented.
8548 (getLocalSocketAddress): New method.
8549 (getReceiveBufferSize): Check impl.
8550 (setReuseAddress): Check impl.
8551 (getReuseAddress): Check impl.
8552 (setBroadcast): Check impl.
8553 (getBroadcast): Check impl.
8554 (setTrafficClass): Check impl, Documentation cleared.
8555 (getTrafficClass): Check impl.
8556 (getSendBufferSize): Check impl.
8557 (setReceiveBufferSize): Check impl, documentation added.
8558 (setSendBufferSize): Documentation added.
8559 (setDatagramSocketImplFactory): New method.
8560 * java/net/HttpURLConnection.java
8561 (HTTP_INTERNAL_ERROR): The correct code is 500.
8562 (HTTP_NOT_IMPLEMENTED): Added new constant.
8563 (setFollowRedirects): Documentation added.
8564 (getInstanceFollowRedirects): New method.
8565 (setInstanceFollowRedirects): New method.
8566 (setRequestMethod): Documentation added.
8567 (getResponseCode): Documentation added.
8568 (getResponseMessage): Documentation added.
8569 * java/net/JarURLConnection.java
8570 (JarURLConnection): protected since JDK 1.4.
8571 (getJarEntry): java.io.IOException to IOException, documentation added.
8572 (getJarFile): Documentation added.
8573 * java/net/ServerSocket.java
8574 (ServerSocket): Private to public, exception added.
8575 (ServerSocket): java.io.IOException to IOException, documentation added.
8576 (bind): Check socket address type, documentation added.
8577 (bind): java.io.IOException to IOException, documentation added.
8578 (accept): Documentation added.
8579 (implAccept): Check ch is not non-blocking, documentation added.
8580 (setSoTimeout): Documentation fixed.
8581 (setReceiveBufferSize): Documentation added.
8582 * java/net/Socket.java
8583 (Socket): Documentation added.
8584 (bind): Documentation added.
8585 (connect): Check socket address type, documentation added.
8586 (getRemoteSocketAddress): New method.
8587 (getLocalSocketAddress): New method.
8588 (setSoLinger): Documentation added.
8589 (getReuseAddress): New method.
8590 (setReuseAddress): New method.
8591 (getTrafficClass): New method.
8592 (setTrafficClass): New method.
8593 * java/net/URLStreamHandler.java
8594 (openConnection): java.io.IOException to IOException.
8595 (parseURL): Documentation added.
8596 (sameFile): public to protected, documentation added.
8597 (setURL): Documentation added.
8598 * java/nio/IllegalBlockingModeException.java: New file.
8599 * Makefile.am (ordinary_java_source_files):
8600 added java/nio/IllegalBlockingModeException.java
8601 * Makefile.in: Regenerated.
8602
8603 2002-09-25 Michael Koch <konqueror@gmx.de>
8604
8605 * java/net/DatagramPacket
8606 (DatagramPacket): Exception documentation added.
8607 (setData): Likewise.
8608 (setSocketAddress): Likewise.
8609 * java/net/DatagramSocketImpl.java
8610 (peek): Documentation addded.
8611 (peekData): Documentation addded.
8612 (send): Documentation addded.
8613 (receive): Documentation addded.
8614 (connect): New method.
8615 (disconnect): New method.
8616 (joinGroup): New abstract method.
8617 (leaveGroup): New abstract method.
8618 * java/net/InetSocketAddress.java
8619 (InetSocketAddress): Documentation added.
8620 (equals): final keyword added.
8621 (getAddress): final keyword added.
8622 (getHostName): final keyword added.
8623 (getPort): final keyword added.
8624 (hashCode): final keyword added.
8625 (isUnresolved): final keyword added.
8626 * java/net/MulticastSocket.java
8627 (MulticastSocket): Documentation added.
8628 (MulticastSocket): New method.
8629 (joinGroup): Documentation added.
8630 (joinGroup): New method.
8631 (leaveGroup): Documentation added.
8632 (leaveGroup): New method.
8633 (send): Documentation added.
8634 * java/net/NetworkInterface.java
8635 (getByName): Documentation added.
8636 (getByInetAddress): Documentation added.
8637 (getNetworkInterfaces): Documentation added.
8638 * java/net/PlainDatagramSocketImpl.java
8639 (connect): New method.
8640 (disconnect): New method.
8641 * java/net/SocketImpl.java
8642 (create): Documentation added.
8643 (shutdownInput): Convert public to protected, as it always was.
8644 (shutdownOutput): Convert public to protected, as it always was.
8645 * java/net/SocketOptions.java
8646 (whole file): Reintented.
8647 * java/net/URLClassLoader.java
8648 (URLClassLoader): SecurityManager check added, documentation added.
8649 (findResources): Documentation added.
8650 (findClass): Documentation added.
8651 (newInstance): More correct method arguments.
8652 * java/net/URLConnection.java
8653 (connect): Documentation added.
8654 (getContent): Documentation added.
8655 (getPermission): Documentation added.
8656 (getInputStream): Documentation added.
8657 (getOutputStream): Documentation added.
8658 (setDoInput): Throw correct exception, documentation added.
8659 (setDoOutput): Throw correct exception, documentation added.
8660 (setAllowUserInteraction): Throw correct exception, documentation added.
8661 (setUseCaches): Throw correct exception, documentation added.
8662 (setIfModifiedSince): Throw correct exception, documentation added.
8663 (setRequestProperty): Throw exception, documentation added.
8664 (addRequestProperty): Throw exception, documentation added.
8665 (getRequestProperty): Throw exception, documentation added.
8666 (getRequestProperties): Documentation added.
8667 (setContentHandlerFactory): Documentation added.
8668 (guessContentTypeFromName): protected to public.
8669 (setFileNameMap): Documentation added.
8670 * java/net/URLDecoder.java
8671 (URLDecoder): New method.
8672 (decode): Documentation added.
8673 (whole file): Reindented.
8674 * java/net/URLEncoder.java
8675 (encode): Documentation added.
8676 * java/net/natPlainDatagramSocketImpl.cc
8677 (connect): New method.
8678 (disconnect): New method.
8679 * javax/naming/RefAddr:
8680 (addrType): addrType was never final.
8681 (equals): Fix typo in method name.
8682 * javax/naming/BinaryRefAddr:
8683 (equals): Fix typo in method name.
8684
8685 2002-09-22 Tom Tromey <tromey@redhat.com>
8686
8687 Fix for PR libgcj/6576:
8688 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8689 didn't find a given bundle.
8690 (getBundle): Don't require base bundle.
8691 (setParent): Removed old comment.
8692 (tryLocalBundle): Try components even if preceding components were
8693 empty.
8694
8695 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8696
8697 * Makefile.am (all-multi): Fix multilib parallel build.
8698
8699 2002-09-21 Michael Koch <konqueror@gmx.de>
8700
8701 * java/net/Socket.java
8702 (sendUrgentData): New method.
8703 (getChannel): New method.
8704 * java/net/ServerSocket.java
8705 (getChannel): New method.
8706 (isBound): New method.
8707 * java/net/DatagramSocket.java
8708 (DatagramSocket): Two new methods.
8709 (bind): New method.
8710 (getChannel): New method.
8711 (isBound): New method.
8712 (send): Added newline to to make shorter lines.
8713 * java/net/PlainDatagramSocketImpl.java
8714 (mcastGrp): Added argument.
8715 (join): Use new mcastGrp.
8716 (leave): Use new mcastGrp.
8717 (joinGroup): New method.
8718 (leaveGroup): New method.
8719 * java/net/natPlainDatagramSocketImpl.cc
8720 (mcastGrp): Added argument, no yet really implemented.
8721 (getOption): Added newline for shorter lines.
8722 * java/net/natPlainSocketImpl.cc
8723 (read, setOption, getOption): Added newline for shorter lines.
8724
8725 2002-09-19 Tom Tromey <tromey@redhat.com>
8726
8727 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8728 newly-created exception.
8729
8730 2002-09-18 Michael Koch <konqueror@gmx.de>
8731
8732 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8733 java/util/regex/PatternSyntaxException.java:
8734 Merge with classpath, new files.
8735 * Makefile.am (core_java_source_files):
8736 Added java/util/regex/Matcher.java,
8737 java/util/regex/Pattern.java,
8738 java/util/regex/PatternSyntaxException.java
8739 * Makefile.in: Regenerated.
8740 * include/config.h.in: Added HAVE_NET_IF_H.
8741 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8742 Removed #if 0 ... #endif.
8743
8744 2002-09-17 Michael Koch <konqueror@gmx.de>
8745
8746 * java/net/natNetworkInterface.cc:
8747 Removed unneed and yet wrong includes.
8748
8749 2002-09-17 Michael Koch <konqueror@gmx.de>
8750
8751 * java/net/NetworkInterface.java: New file.
8752 * java/net/natNetworkInterface.java: New file.
8753 * configure.in: Added check for net/if.h.
8754 * configure: Regenerated.
8755 * Makefile.am
8756 (ordinary_java_source_files): Added NetworkInterface.java.
8757 (nat_source_files): Added natNetworkInterface.cc.
8758 * Makefile.in: Regenerated.
8759
8760 2002-09-16 Tom Tromey <tromey@redhat.com>
8761
8762 * java/net/URLClassLoader.java (findClass): Code source for a
8763 class from a jar is not necessarily a jar: URL.
8764
8765 2002-09-16 Michael Koch <konqueror@gmx.de>
8766
8767 * java/lang/AssertionError.java:
8768 Merge with classpath, fixes HTML.
8769 * java/rmi/server/LogStream.java:
8770 Merge with classpath, fixes some constants.
8771 * java/net/server/RemoteServer.java:
8772 Merge with classpath, adds serialVersionUID.
8773 * javax/naming/BinaryRefAddr.java:
8774 Merge with classpath, s/equal/equals/.
8775 * javax/naming/NamingException.java:
8776 Merge with classpath, fixed typo.
8777 * javax/naming/RefAddr.java:
8778 Merge with classpath, s/equal/equals/.
8779 * java/awt/Toolkit.java:
8780 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8781 and typo fixed.
8782
8783 2002-09-15 Adam Megacz <adam@xwt.org>
8784
8785 * java/net/natPlainSocketImpl.cc: fixed typo.
8786
8787 2002-09-15 Adam Megacz <adam@xwt.org>
8788
8789 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8790 which don't work on Win32 (yet).
8791
8792 2002-09-14 Adam Megacz <adam@xwt.org>
8793
8794 * java/net/natPlainDatagramSocket.cc: removed #include
8795 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8796 * include/win32.h: included definition for IP_TOS to satisfy
8797 natPlainDatagramSocket.cc
8798
8799 2002-09-13 Michael Koch <konqueror@gmx.de>
8800
8801 * java/net/DatagramPacket.java (DatagramPacket):
8802 Added linebreak for 80 chars per line.
8803 * java/net/JarURLConection.java
8804 (getInputStreami, getJarEntry): Likewise.
8805 * java/net/SocketPErmission.java
8806 (SocketPermission class docu, implies): Likewise.
8807 * java/net/URLClassLoader.java (findResources): Likewise.
8808 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8809
8810 2002-09-13 Michael Koch <konqueror@gmx.de>
8811
8812 * java/nio/channels/DatagramChannel.java,
8813 java/nio/channels/ServerSocketChannel.java
8814 java/nio/channels/SocketChannel.java:
8815 New dummy files to make java.net fully JDK 1.4 compatible
8816 * Makefile.am (ordinary_java_source_files): Added
8817 java/net/DatagramSocketImplFactory.java (long forgotten),
8818 java/nio/SocketChannel.java,
8819 java/nio/ServerSocketChannel.java,
8820 java/nio/DatagramChannel.java
8821 * Makefile.in: Regenrated.
8822
8823 2002-09-12 Michael Koch <konqueror@gmx.de>
8824
8825 * java/net/DatagramSocketImpl.java
8826 (peekData): New method.
8827 * java/net/PlainDatagramSocketImpl.java
8828 (peekData): New method.
8829 * java/net/natPlainDatagramSocketImpl.cc
8830 (peekData): New method.
8831 * java/net/URLConnection
8832 (getPermission): New method.
8833 (addRequestProperty): New method.
8834 (getRequestProperties): New method.
8835 (guessContentTypeFromStream): New method, not really implemented.
8836 (URLConnection): Added/updated documentation.
8837 (connect): Added/updated documentation.
8838 (getURL): Added/updated documentation.
8839 (getContentLength): Added/updated documentation.
8840 (getContentType: Added/updated documentation.
8841 (getContentEncoding): Added/updated documentation.
8842 (getExpiration): Added/updated documentation.
8843 (getDate): Added/updated documentation.
8844 (getLastModified): Added/updated documentation.
8845 (getHeaderField): Added/updated documentation.
8846 (getHeaderFields): Added/updated documentation.
8847 (getHeaderFieldInt): Added/updated documentation.
8848 (getHeaderFieldDate): Added/updated documentation.
8849 (getHeaderFieldKey): Added/updated documentation.
8850 (getContent): Added/updated documentation.
8851 (getInputStream): Added/updated documentation.
8852 (getOutputStream): Added/updated documentation.
8853 (toString): Added/updated documentation.
8854 (setDoInput): Added/updated documentation.
8855 (getDoInput): Added/updated documentation.
8856 (setDoOutput): Added/updated documentation.
8857 (getDoOutput): Added/updated documentation.
8858 (setAllowUserInteraction): Added/updated documentation.
8859 (getAllowUserInteraction): Added/updated documentation.
8860 (setDefaultAllowUserInteraction): Added/updated documentation.
8861 (getDefaultAllowUserInteraction): Added/updated documentation.
8862 (setUseCaches): Added/updated documentation.
8863 (getUseCaches): Added/updated documentation.
8864 (setIfModifiedSince): Added/updated documentation.
8865 (getIfModifiedSince): Added/updated documentation.
8866 (getDefaultUseCaches): Added/updated documentation.
8867 (setDefaultUseCaches): Added/updated documentation.
8868 (setRequestProperty): Added/updated documentation.
8869 (getRequestProperty): Added/updated documentation.
8870 (setDefaultRequestProperty): Added/updated documentation.
8871 (getDefaultRequestProperty): Added/updated documentation.
8872 (setContentHandlerFactory): Added/updated documentation.
8873 (guessContentTypeFromName): Added/updated documentation.
8874 (getFileNameMap): Added/updated documentation.
8875 (setFileNameMap): Added/updated documentation.
8876
8877 2002-09-11 Michael Koch <konqueror@gmx.de>
8878
8879 * java/net/Socket.java
8880 (Socket): protected to public (since JDK 1.4). Added @specnote.
8881 (bind): New method.
8882 (connect): Two new methods.
8883 (getKeepalive): Get correct socket option.
8884 (setKeepalive): Set correct socket option.
8885 (getOOBInline): New method.
8886 (setOOBInline): New method.
8887 * java/net/ServerSocket.java
8888 (bind): Two new methods.
8889 (getInetAddress): Reimplemented, catch exception.
8890 (getLocalSocketAddress): New method.
8891 (setReuseAddress): New method.
8892 (getReuseAdress): New method.
8893 (setReceiveBufferSize): New method.
8894 (getReceiveBufferSize): New method.
8895 (toString): Made string JDK 1.4 compliant.
8896
8897 2002-09-10 Michael Koch <konqueror@gmx.de>
8898
8899 * java/net/SocketImpl.java
8900 (connect): New method.
8901 (supportsUrgentData): New method.
8902 (sendUrgentData): New method.
8903 * java/net/PlainSocketImpl.java
8904 (connect): One new method and two new implementation.
8905 (sendUrgentData): New method.
8906 * java/natPlainSocketImpl.cc
8907 (connect): Arguments changed, added support for timeouts.
8908 (getOption): Another __java_boolean to jboolean.
8909
8910 2002-09-07 Adam Megacz <adam@xwt.org>
8911
8912 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8913 definition of IP_TOS.
8914
8915 2002-09-04 Michael Koch <konqueror@gmx.de>
8916
8917 * java/net/DatagramSocket.java
8918 (DatagramSocket): Added documentation.
8919 (close): Likewise.
8920 (getLocalAddress): Likewise.
8921 (getLocalPort): Likewise.
8922 (receive): Likewise.
8923 (send): Likewise.
8924 (setSoTimeout): Likewise.
8925 (connect): New method.
8926 (disconnect): New method.
8927 (getInetAddress): New method (FIXME)
8928 (getPort): New method.
8929 (setReuseAddress): New method.
8930 (getReuseAddress): New method.
8931 (setBroadcast): New method.
8932 (getBroadcast): New method.
8933 (setTrafficClass): New method.
8934 (getTrafficClass): New method.
8935 * java/net/MulticastSocket.java):
8936 (getTTL): Added @see in documentation.
8937 (setTTL): Added @see in documentation.
8938 (setLoopbackMode): New method.
8939 (getLoopbackMode): New method.
8940 * java/net/PlainSocketImpl.java:
8941 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8942 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8943 * java/net/PlainDatagramSocketImpl.java
8944 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8945 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8946 * java/net/natPlainSocketImpl.cc
8947 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8948 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8949 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8950 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8951 This should also fix SO_KEEPALIVE
8952 * java/net/natPlainDatagramSocketImpl.cc
8953 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8954 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8955 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8956 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8957
8958 2002-09-04 Michael Koch <konqueror@gmx.de>
8959
8960 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8961 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8962 IP_MULTICAST_LOOP, IP_TOS
8963
8964 2002-09-03 Tom Tromey <tromey@redhat.com>
8965
8966 * java/lang/Class.h (_getDeclaredMethod): Declare.
8967 (_getMethod): Now private.
8968 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8969 getDeclaredMethod. Now returns NULL on failure.
8970 * java/lang/Class.java (_getDeclaredMethod): Declare.
8971 (getDeclaredMethod): No longer native; implements access checks.
8972
8973 2002-09-01 Mark Wielaard <mark@klomp.org>
8974
8975 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8976 (sanitizeStack): Correctly reset unknown and interpreter counters,
8977 detect interpreter runtime frames.
8978 (demangleInterpreterMethod): New method.
8979 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8980 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8981 filling in addrs[].
8982
8983 2002-09-02 Michael Koch <konqueror@gmx.de>
8984
8985 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8986 re-indented documentation.
8987
8988 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8989
8990 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8991 public, per 1.4 spec. Fixes PR libgcj/7785.
8992
8993 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8994
8995 * Makefile.in: Rebuilt.
8996 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8997
8998 2002-08-29 Tom Tromey <tromey@redhat.com>
8999
9000 * java/net/JarURLConnection.java (getCertificates): New method
9001 from Classpath.
9002 * java/net/URLClassLoader.java (URLClassLoader): Extends
9003 SecureClassLoader.
9004 (definePackage): New method from Classpath.
9005 (getPermissions): Likewise.
9006 (newInstance): Likewise.
9007 (findClass): Construct CodeSource for new class (from Classpath).
9008 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9009 methods.
9010 * java/net/URL.java (getUserInfo): New method.
9011 (set(String,String,int,String,String,String,String,String)): New
9012 method.
9013 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9014 (shutdownInput, shutdownOutput): Declare.
9015 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9016 Define.
9017 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9018 (getOption): Likewise.
9019 (shutdownInput): New method.
9020 (shutdownOutput): Likewise.
9021 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9022 keepalive.
9023 (getOption): Likewise.
9024 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9025 * java/net/Socket.java (setKeepAlive): New method.
9026 (getKeepAlive): Likewise.
9027 (shutdownInput, shutdownOutput): New methods.
9028
9029 2002-08-29 Michael Koch <konqueror@gmx.de>
9030
9031 * java/net/DatagramPacket.java: updated to JDK 1.4 API
9032 new methods are:
9033 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9034 address),
9035 DatagramPacket(byte[] buf, int length, SocketAddress address),
9036 void setSocketAddress(SocketAddress address)
9037 public SocketAddress getSocketAddress()
9038
9039 2002-08-29 Tom Tromey <tromey@redhat.com>
9040
9041 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9042 ftruncate is missing.
9043 * configure, include/config.h.in: Rebuilt.
9044 * acconfig.h (HAVE_FTRUNCATE): Mention.
9045 * configure.in: Check for ftruncate.
9046
9047 2002-08-29 Tom Tromey <tromey@redhat.com>
9048
9049 * include/jvm.h (struct _Jv_frame_info): New structure.
9050 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9051 java-interp.h.
9052 (lookupInterp): New method.
9053 (getAddrAsString): Use _Jv_frame_info.
9054 (dladdrLookup): Likewise.
9055 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9056 interpreted frame.
9057 (lookupInterp): Declare.
9058 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9059 (fillInStackTrace): Collect information on interpreted frames.
9060 Use _Jv_frame_info.
9061 * interpret.cc: Include Thread.h.
9062 (run): Create and push _Jv_MethodChain object.
9063 (_Jv_EndOfInterpreter): New global.
9064 * java/lang/Thread.java (interp_frame): New field.
9065 * include/java-interp.h (struct _Jv_MethodChain): New structure.
9066 Include NameFinder.h.
9067
9068 2002-08-28 Tom Tromey <tromey@redhat.com>
9069
9070 * java/lang/Class.h: Include Package.h.
9071 (Class::getProtectionDomain): Declare.
9072 (Class::getPackage): Declare.
9073
9074 2002-08-28 Michael Koch <konqueror@gmx.de>
9075
9076 * java/net/InetSocketAddress.java: Added some documentation and argument
9077 checks for the port numbers.
9078 * java/net/DatagramSocketImplFactory.java: New file.
9079
9080 2002-08-28 Michael Koch <konqueror@gmx.de>
9081
9082 * java/net/Authenticator.java: added some documentation.
9083
9084 2002-08-27 Tom Tromey <tromey@redhat.com>
9085
9086 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9087 class.
9088 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9089
9090 2002-08-27 Michael Koch <konqueror@gmx.de>
9091
9092 * java/net/BindException.java,
9093 java/net/JarURLConnection.java,
9094 java/net/FileNameMap.java,
9095 java/net/HttpURLConnection.java,
9096 java/net/InetSocketAddress.java,
9097 java/net/DatagramPacket.java,
9098 java/net/DatagramSocket.java,
9099 java/net/DatagramSocketImpl.java,
9100 java/net/MulticastSocket.java,
9101 java/net/PasswordAuthentication.java,
9102 java/net/ServerSocket.java,
9103 java/net/Socket.java,
9104 java/net/URLClassLoader.java,
9105 java/net/URLConnection.java: add/update of some @since/@deprecated
9106
9107 2002-08-27 Tony Kimball <alk@pobox.com>
9108 Tom Tromey <tromey@redhat.com>
9109
9110 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9111 define.
9112 (::close): Removed.
9113 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9114 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9115 (::close): Removed.
9116 (PlainSocketImpl::close): Use NATIVE_CLOSE.
9117 * include/win32.h (getcwd): Removed declaration. Include io.h.
9118
9119 2002-08-25 Adam Megacz <adam@xwt.org>
9120
9121 * include/win32.h (getcwd): copied function declaration as
9122 temporary fix for header confusion.
9123
9124 2002-08-24 Mark Wielaard <mark@klomp.org>
9125
9126 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9127 (core_java_source_files): Add VMThrowable.java and NameFinder.java
9128 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9129 and natNameFinder.cc.
9130 * Makefile.in: Regenerate.
9131 * prims.cc: Use trace_enabled from VMThrowable.
9132 * name-finder.cc: Removed.
9133 * gcj/javaprims.h: Add class VMThrowable.
9134 * gnu/gcj/runtime/NameFinder.java: New file.
9135 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9136 * include/name-finder.h: Removed.
9137 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9138 method stackTraceString().
9139 (printStackTrace (PrintWriter)): Likewise.
9140 (stackTraceString): Complete rewrite of old printStackTrace using
9141 StringBuffer.
9142 (stackTraceStringBuffer): New helper method for stackTraceString().
9143 (fillInStackTrace): Delegate to VMTrowable.
9144 (getStackTrace): Likewise.
9145 (getStackTrace0): Removed.
9146 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9147 (setStackTrace): Copy given array.
9148 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9149 * java/lang/VMThrowable.java: New class.
9150 * java/lang/natVMThrowable.cc: New file.
9151
9152 2003-08-23 Michael Koch <konqueror@gmx.de>
9153
9154 * java/net/URLConnection.java,
9155 java/netJarURLConnection.java,
9156 gnu/gcj/protocol/core/Connection.java,
9157 gnu/gcj/protocol/file/Connection.java,
9158 gnu/gcj/protocol/http/Connection.java: Added implementation of
9159 getHeaderFields().
9160
9161 2002-08-22 Tom Tromey <tromey@redhat.com>
9162
9163 * gij.cc (help): Document -cp and -classpath.
9164 (main): Handle -classpath.
9165
9166 2002-08-21 Tom Tromey <tromey@redhat.com>
9167
9168 * Makefile.in: Rebuilt.
9169 * Makefile.am (ordinary_java_source_files): Added
9170 SocketAddress.java, InetSocketAddress.java.
9171 * java/net/PortUnreachableException.java: Merged with Classpath.
9172 * java/net/SocketTimeoutException.java: Likewise.
9173 * java/net/URISyntaxException.java: Likewise.
9174 * java/net/SocketAddress.java: New class from Classpath.
9175 * java/net/InetSocketAddress.java: Likewise.
9176
9177 2003-08-21 Michael Koch <konqueror@gmx.de>
9178
9179 * java/net/Authenticator.java: updated JDK 1.4
9180 * java/net/ContentHandler.java: updated JDK 1.4
9181
9182 2002-08-20 Michael Koch <konqueror@gmx.de>
9183
9184 * java/net/URISyntaxException.java: New file.
9185 * java/net/SocketTimeoutException.java: New file.
9186 * java/net/PortUnreachableException.java: New file.
9187 * Makefile.am: Updated.
9188 * Makefile.in: Rebuilt.
9189
9190 2002-08-18 Mark Wielaard <mark@klomp.org>
9191
9192 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9193 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9194 MessageDigestSpi (fixes Classpath bug #783).
9195
9196 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9197
9198 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9199 (startProcess): Allocate path for chdir in async-signal-safe way.
9200
9201 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9202
9203 Fix for PR libgcj/7570 and PR libgcj/7578:
9204 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9205 (startProcess): Handle new `dir' argument.
9206 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9207 argument.
9208 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9209 argument.
9210 (startProcess): Likewise.
9211 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9212 argument.
9213 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9214 (exec): Don't create new environment if ENV==null. Pass DIR to
9215 execInternal.
9216 * java/lang/natRuntime.cc: Include java/io/File.h.
9217 (execInternal): Added `dir' argument.
9218
9219 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9220
9221 * java/io/RandomAccessFile.java (skipBytes): Return number of
9222 bytes skipped.
9223
9224 2002-08-01 Mark Wielaard <mark@klomp.org>
9225
9226 Reenable patch since shared library troubles on powerpc are solved:
9227 * gnu/java/security/provider/Gnu.java: Reference all implementation
9228 classes by using Class.getName().
9229 * gnu/java/security/der/DEREncodingException.java,
9230 gnu/java/security/provider/DERReader.java,
9231 gnu/java/security/provider/DERWriter.java,
9232 gnu/java/security/provider/DSAKeyPairGenerator.java,
9233 gnu/java/security/provider/DSAParameterGenerator.java,
9234 gnu/java/security/provider/DSAParameters.java,
9235 gnu/java/security/provider/DSASignature.java,
9236 gnu/java/security/provider/GnuDSAPrivateKey.java,
9237 gnu/java/security/provider/GnuDSAPublicKey.java,
9238 gnu/java/security/provider/MD5.java,
9239 gnu/java/security/util/Prime.java: New classes
9240 * Makefile.am (ordinary_java_source_files): Add above files.
9241 * Makefile.in: Regenerate.
9242 * gnu/java/security/provider/DefaultPolicy.java
9243 (getPermissions): Don't maintain static class variable of Permissions.
9244 * gnu/java/security/provider/SHA.java
9245 (engineUpdate): algorithm change.
9246 (engineDigest): algorithm change.
9247
9248 2002-08-09 Mark Wielaard <mark@klomp.org>
9249
9250 * java/awt/image/MemoryImageSource.java: Change constructor to take
9251 int[] not byte[].
9252 * java/awt/Graphics2D.java: Uncomment methods that can now be
9253 compiled.
9254 * java/awt/GridBagLayout.java: New stub implementation.
9255 * javax/swing/text/html/HTML.java: Stub implementation.
9256 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9257 implementation.
9258
9259 * Makefile.am: Add new files.
9260 * Makefile.in: Rebuilt.
9261
9262 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9263
9264 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9265 methods in Graphics2D.
9266
9267 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9268
9269 AWT/Swing merge from GNU Classpath.
9270
9271 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9272 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9273 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9274 java/awt/color/ProfileDataException.java,
9275 java/awt/CompositeContext.java, java/awt/Composite.java,
9276 java/awt/ContainerOrderFocusTraversalPolicy.java,
9277 java/awt/datatransfer/FlavorTable.java,
9278 java/awt/DefaultFocusTraversalPolicy.java,
9279 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9280 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9281 java/awt/dnd/DragGestureListener.java,
9282 java/awt/dnd/DragGestureRecognizer.java,
9283 java/awt/dnd/DragSourceAdapter.java,
9284 java/awt/dnd/DragSourceContext.java,
9285 java/awt/dnd/DragSourceDragEvent.java,
9286 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9287 java/awt/dnd/DragSourceListener.java,
9288 java/awt/dnd/DragSourceMotionListener.java,
9289 java/awt/dnd/DropTarget.java,
9290 java/awt/dnd/InvalidDnDOperationException.java,
9291 java/awt/dnd/peer/DragSourceContextPeer.java,
9292 java/awt/event/AWTEventListenerProxy.java,
9293 java/awt/event/MouseWheelEvent.java,
9294 java/awt/event/MouseWheelListener.java,
9295 java/awt/event/WindowFocusListener.java,
9296 java/awt/event/WindowStateListener.java,
9297 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9298 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9299 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9300 java/awt/geom/FlatteningPathIterator.java,
9301 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9302 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9303 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9304 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9305 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9306 java/awt/image/ImagingOpException.java,
9307 java/awt/image/RasterFormatException.java,
9308 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9309 java/awt/image/VolatileImage.java,
9310 java/awt/image/WritableRenderedImage.java,
9311 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9312 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9313 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9314 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9315 java/awt/PageAttributes.java, java/awt/print/Book.java,
9316 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9317 java/awt/print/Paper.java, java/awt/print/Printable.java,
9318 java/awt/print/PrinterAbortException.java,
9319 java/awt/print/PrinterException.java,
9320 java/awt/print/PrinterGraphics.java,
9321 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9322 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9323 java/awt/Stroke.java, java/awt/TexturePaint.java,
9324 javax/accessibility/AccessibleAction.java,
9325 javax/accessibility/AccessibleBundle.java,
9326 javax/accessibility/AccessibleComponent.java,
9327 javax/accessibility/AccessibleContext.java,
9328 javax/accessibility/AccessibleEditableText.java,
9329 javax/accessibility/AccessibleExtendedComponent.java,
9330 javax/accessibility/AccessibleExtendedTable.java,
9331 javax/accessibility/AccessibleHyperlink.java,
9332 javax/accessibility/AccessibleHypertext.java,
9333 javax/accessibility/AccessibleIcon.java,
9334 javax/accessibility/Accessible.java,
9335 javax/accessibility/AccessibleKeyBinding.java,
9336 javax/accessibility/AccessibleRelation.java,
9337 javax/accessibility/AccessibleRelationSet.java,
9338 javax/accessibility/AccessibleResourceBundle.java,
9339 javax/accessibility/AccessibleRole.java,
9340 javax/accessibility/AccessibleSelection.java,
9341 javax/accessibility/AccessibleState.java,
9342 javax/accessibility/AccessibleStateSet.java,
9343 javax/accessibility/AccessibleTable.java,
9344 javax/accessibility/AccessibleTableModelChange.java,
9345 javax/accessibility/AccessibleText.java,
9346 javax/accessibility/AccessibleValue.java,
9347 javax/swing/AbstractAction.java,
9348 javax/swing/AbstractButton.java,
9349 javax/swing/AbstractCellEditor.java,
9350 javax/swing/AbstractListModel.java,
9351 javax/swing/AbstractSet.java, javax/swing/Action.java,
9352 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9353 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9354 javax/swing/border/CompoundBorder.java,
9355 javax/swing/border/EmptyBorder.java,
9356 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9357 javax/swing/border/LineBorder.java,
9358 javax/swing/border/MatteBorder.java,
9359 javax/swing/border/TitledBorder.java,
9360 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9361 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9362 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9363 javax/swing/CellRendererPane.java,
9364 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9365 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9366 javax/swing/colorchooser/ColorSelectionModel.java,
9367 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9368 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9369 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9370 javax/swing/DefaultBoundedRangeModel.java,
9371 javax/swing/DefaultButtonModel.java,
9372 javax/swing/DefaultCellEditor.java,
9373 javax/swing/DefaultCellRenderer.java,
9374 javax/swing/DefaultComboBoxModel.java,
9375 javax/swing/DefaultDesktopManager.java,
9376 javax/swing/DefaultFocusManager.java,
9377 javax/swing/DefaultListCellRenderer.java,
9378 javax/swing/DefaultListModel.java,
9379 javax/swing/DefaultListSelectionModel.java,
9380 javax/swing/DefaultSingleSelectionModel.java,
9381 javax/swing/DesktopManager.java,
9382 javax/swing/event/AncestorEvent.java,
9383 javax/swing/event/AncestorListener.java,
9384 javax/swing/event/CaretEvent.java,
9385 javax/swing/event/CaretListener.java,
9386 javax/swing/event/CellEditorListener.java,
9387 javax/swing/event/ChangeEvent.java,
9388 javax/swing/event/ChangeListener.java,
9389 javax/swing/event/DocumentEvent.java,
9390 javax/swing/event/DocumentListener.java,
9391 javax/swing/event/EventListenerList.java,
9392 javax/swing/event/HyperlinkEvent.java,
9393 javax/swing/event/HyperlinkListener.java,
9394 javax/swing/event/InternalFrameAdapter.java,
9395 javax/swing/event/InternalFrameEvent.java,
9396 javax/swing/event/InternalFrameListener.java,
9397 javax/swing/event/ListDataEvent.java,
9398 javax/swing/event/ListDataListener.java,
9399 javax/swing/event/ListSelectionEvent.java,
9400 javax/swing/event/ListSelectionListener.java,
9401 javax/swing/event/MenuDragMouseEvent.java,
9402 javax/swing/event/MenuDragMouseListener.java,
9403 javax/swing/event/MenuEvent.java,
9404 javax/swing/event/MenuKeyEvent.java,
9405 javax/swing/event/MenuKeyListener.java,
9406 javax/swing/event/MenuListener.java,
9407 javax/swing/event/MouseInputAdapter.java,
9408 javax/swing/event/MouseInputListener.java,
9409 javax/swing/event/PopupMenuEvent.java,
9410 javax/swing/event/PopupMenuListener.java,
9411 javax/swing/event/SwingPropertyChangeSupport.java,
9412 javax/swing/event/TableColumnModelEvent.java,
9413 javax/swing/event/TableColumnModelListener.java,
9414 javax/swing/event/TableModelEvent.java,
9415 javax/swing/event/TableModelListener.java,
9416 javax/swing/event/TreeExpansionEvent.java,
9417 javax/swing/event/TreeExpansionListener.java,
9418 javax/swing/event/TreeModelEvent.java,
9419 javax/swing/event/TreeModelListener.java,
9420 javax/swing/event/TreeSelectionEvent.java,
9421 javax/swing/event/TreeSelectionListener.java,
9422 javax/swing/event/TreeWillExpandListener.java,
9423 javax/swing/event/UndoableEditEvent.java,
9424 javax/swing/event/UndoableEditListener.java,
9425 javax/swing/filechooser/FileFilter.java,
9426 javax/swing/filechooser/FileSystemView.java,
9427 javax/swing/filechooser/FileView.java,
9428 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9429 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9430 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9431 javax/swing/JApplet.java, javax/swing/JButton.java,
9432 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9433 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9434 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9435 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9436 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9437 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9438 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9439 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9440 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9441 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9442 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9443 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9444 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9445 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9446 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9447 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9448 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9449 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9450 javax/swing/JToolTip.java, javax/swing/JTree.java,
9451 javax/swing/JViewport.java, javax/swing/JWindow.java,
9452 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9453 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9454 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9455 javax/swing/MenuSelectionManager.java,
9456 javax/swing/MutableComboBoxModel.java,
9457 javax/swing/OverlayLayout.java,
9458 javax/swing/plaf/ActionMapUIResource.java,
9459 javax/swing/plaf/basic/BasicBorders.java,
9460 javax/swing/plaf/basic/BasicButtonUI.java,
9461 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9462 javax/swing/plaf/basic/BasicDefaults.java,
9463 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9464 javax/swing/plaf/basic/BasicIconFactory.java,
9465 javax/swing/plaf/basic/BasicLabelUI.java,
9466 javax/swing/plaf/basic/BasicListUI.java,
9467 javax/swing/plaf/basic/BasicLookAndFeel.java,
9468 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9469 javax/swing/plaf/basic/BasicPanelUI.java,
9470 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9471 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9472 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9473 javax/swing/plaf/basic/BasicTextUI.java,
9474 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9475 javax/swing/plaf/basic/BasicTreeUI.java,
9476 javax/swing/plaf/basic/BasicViewportUI.java,
9477 javax/swing/plaf/BorderUIResource.java,
9478 javax/swing/plaf/ButtonUI.java,
9479 javax/swing/plaf/ColorChooserUI.java,
9480 javax/swing/plaf/ColorUIResource.java,
9481 javax/swing/plaf/ComboBoxUI.java,
9482 javax/swing/plaf/ComponentInputMapUIResource.java,
9483 javax/swing/plaf/ComponentUI.java,
9484 javax/swing/plaf/DesktopIconUI.java,
9485 javax/swing/plaf/DesktopPaneUI.java,
9486 javax/swing/plaf/DimensionUIResource.java,
9487 javax/swing/plaf/FileChooserUI.java,
9488 javax/swing/plaf/FontUIResource.java,
9489 javax/swing/plaf/IconUIResource.java,
9490 javax/swing/plaf/InputMapUIResource.java,
9491 javax/swing/plaf/InsetsUIResource.java,
9492 javax/swing/plaf/InternalFrameUI.java,
9493 javax/swing/plaf/LabelUI.java,
9494 javax/swing/plaf/ListUI.java,
9495 javax/swing/plaf/MenuBarUI.java,
9496 javax/swing/plaf/MenuItemUI.java,
9497 javax/swing/plaf/OptionPaneUI.java,
9498 javax/swing/plaf/PanelUI.java,
9499 javax/swing/plaf/PopupMenuUI.java,
9500 javax/swing/plaf/ProgressBarUI.java,
9501 javax/swing/plaf/RootPaneUI.java,
9502 javax/swing/plaf/ScrollBarUI.java,
9503 javax/swing/plaf/ScrollPaneUI.java,
9504 javax/swing/plaf/SeparatorUI.java,
9505 javax/swing/plaf/SliderUI.java,
9506 javax/swing/plaf/SplitPaneUI.java,
9507 javax/swing/plaf/TabbedPaneUI.java,
9508 javax/swing/plaf/TableHeaderUI.java,
9509 javax/swing/plaf/TableUI.java,
9510 javax/swing/plaf/TextUI.java,
9511 javax/swing/plaf/ToolBarUI.java,
9512 javax/swing/plaf/ToolTipUI.java,
9513 javax/swing/plaf/TreeUI.java,
9514 javax/swing/plaf/UIResource.java,
9515 javax/swing/plaf/ViewportUI.java,
9516 javax/swing/ProgressMonitorInputStream.java,
9517 javax/swing/ProgressMonitor.java,
9518 javax/swing/Renderer.java,
9519 javax/swing/RepaintManager.java,
9520 javax/swing/RootPaneContainer.java,
9521 javax/swing/Scrollable.java,
9522 javax/swing/ScrollPaneConstants.java,
9523 javax/swing/ScrollPaneLayout.java,
9524 javax/swing/SingleSelectionModel.java,
9525 javax/swing/SizeRequirements.java,
9526 javax/swing/SizeSequence.java,
9527 javax/swing/SwingConstants.java,
9528 javax/swing/SwingUtilities.java,
9529 javax/swing/table/AbstractTableModel.java,
9530 javax/swing/table/DefaultTableCellRenderer.java,
9531 javax/swing/table/DefaultTableColumnModel.java,
9532 javax/swing/table/DefaultTableModel.java,
9533 javax/swing/table/TableCellEditor.java,
9534 javax/swing/table/TableCellRenderer.java,
9535 javax/swing/table/TableColumn.java,
9536 javax/swing/table/TableColumnModel.java,
9537 javax/swing/table/TableModel.java,
9538 javax/swing/text/AbstractDocument.java,
9539 javax/swing/text/AttributeSet.java,
9540 javax/swing/text/BadLocationException.java,
9541 javax/swing/text/Caret.java,
9542 javax/swing/text/CharacterIterator.java,
9543 javax/swing/text/ComponentView.java,
9544 javax/swing/text/DefaultCaret.java,
9545 javax/swing/text/DefaultEditorKit.java,
9546 javax/swing/text/Document.java,
9547 javax/swing/text/EditorKit.java,
9548 javax/swing/text/Element.java,
9549 javax/swing/text/GapContent.java,
9550 javax/swing/text/JTextComponent.java,
9551 javax/swing/text/Keymap.java,
9552 javax/swing/text/MutableAttributeSet.java,
9553 javax/swing/text/PlainDocument.java,
9554 javax/swing/text/PlainEditorKit.java,
9555 javax/swing/text/Position.java,
9556 javax/swing/text/Segment.java,
9557 javax/swing/text/StyledDocument.java,
9558 javax/swing/text/StyledEditorKit.java,
9559 javax/swing/text/Style.java,
9560 javax/swing/text/TextAction.java,
9561 javax/swing/text/ViewFactory.java,
9562 javax/swing/text/View.java,
9563 javax/swing/Timer.java,
9564 javax/swing/ToggleButtonModel.java,
9565 javax/swing/ToolTipManager.java,
9566 javax/swing/tree/AbstractLayoutCache.java,
9567 javax/swing/tree/DefaultMutableTreeNode.java,
9568 javax/swing/tree/DefaultTreeCellEditor.java,
9569 javax/swing/tree/DefaultTreeCellRenderer.java,
9570 javax/swing/tree/DefaultTreeModel.java,
9571 javax/swing/tree/DefaultTreeSelectionModel.java,
9572 javax/swing/tree/ExpandVetoException.java,
9573 javax/swing/tree/FixedHeightLayoutCache.java,
9574 javax/swing/tree/MutableTreeNode.java,
9575 javax/swing/tree/RowMapper.java,
9576 javax/swing/tree/TreeCellEditor.java,
9577 javax/swing/tree/TreeCellRenderer.java,
9578 javax/swing/tree/TreeModel.java,
9579 javax/swing/tree/TreeNode.java,
9580 javax/swing/tree/TreePath.java,
9581 javax/swing/tree/TreeSelectionModel.java,
9582 javax/swing/tree/VariableHeightLayoutCache.java,
9583 javax/swing/UIDefaults.java,
9584 javax/swing/UIManager.java,
9585 javax/swing/undo/AbstractUndoableEdit.java,
9586 javax/swing/undo/CannotRedoException.java,
9587 javax/swing/undo/CannotUndoException.java,
9588 javax/swing/undo/CompoundEdit.java,
9589 javax/swing/undo/StateEditable.java,
9590 javax/swing/undo/StateEdit.java,
9591 javax/swing/undo/UndoableEdit.java,
9592 javax/swing/undo/UndoableEditSupport.java,
9593 javax/swing/undo/UndoManager.java,
9594 javax/swing/UnsupportedLookAndFeelException.java,
9595 javax/swing/ViewportLayout.java,
9596 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9597
9598 * java/awt/ActiveEvent.java,
9599 java/awt/Adjustable.java, java/awt/AWTError.java,
9600 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9601 java/awt/AWTException.java, java/awt/AWTPermission.java,
9602 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9603 java/awt/Color.java, java/awt/Component.java,
9604 java/awt/ComponentOrientation.java, java/awt/Container.java,
9605 java/awt/datatransfer/MimeTypeParseException.java,
9606 java/awt/datatransfer/Transferable.java,
9607 java/awt/datatransfer/UnsupportedFlavorException.java,
9608 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9609 java/awt/event/ActionListener.java,
9610 java/awt/event/AdjustmentEvent.java,
9611 java/awt/event/AdjustmentListener.java,
9612 java/awt/event/AWTEventListener.java,
9613 java/awt/event/ComponentAdapter.java,
9614 java/awt/event/ComponentEvent.java,
9615 java/awt/event/ComponentListener.java,
9616 java/awt/event/ContainerAdapter.java,
9617 java/awt/event/ContainerEvent.java,
9618 java/awt/event/ContainerListener.java,
9619 java/awt/event/FocusAdapter.java,
9620 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9621 java/awt/event/HierarchyBoundsAdapter.java,
9622 java/awt/event/HierarchyBoundsListener.java,
9623 java/awt/event/HierarchyEvent.java,
9624 java/awt/event/HierarchyListener.java,
9625 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9626 java/awt/event/InputMethodListener.java,
9627 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9628 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9629 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9630 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9631 java/awt/event/MouseListener.java,
9632 java/awt/event/MouseMotionAdapter.java,
9633 java/awt/event/MouseMotionListener.java,
9634 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9635 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9636 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9637 java/awt/event/WindowListener.java, java/awt/Font.java,
9638 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9639 java/awt/geom/Ellipse2D.java,
9640 java/awt/geom/IllegalPathStateException.java,
9641 java/awt/geom/Line2D.java,
9642 java/awt/geom/NoninvertibleTransformException.java,
9643 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9644 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9645 java/awt/geom/RoundRectangle2D.java,
9646 java/awt/GraphicsConfiguration.java,
9647 java/awt/IllegalComponentStateException.java,
9648 java/awt/image/IndexColorModel.java,
9649 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9650 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9651 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9652 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9653 java/awt/MenuItem.java, java/awt/PaintContext.java,
9654 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9655 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9656 java/awt/PrintJob.java, java/awt/Rectangle.java,
9657 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9658 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9659 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9660
9661 * java/awt/im/spi/InputMethod.java,
9662 java/awt/im/spi/InputMethodContext.java,
9663 java/awt/im/spi/InputMethodDescriptor.java,
9664 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9665 java/awt/image/renderable/ParameterBlock.java,
9666 java/awt/image/renderable/RenderContext.java,
9667 java/awt/image/renderable/RenderableImage.java,
9668 java/awt/image/renderable/RenderableImageOp.java,
9669 java/awt/image/renderable/RenderableImageProducer.java,
9670 java/awt/image/renderable/RenderedImageFactory.java: New files from
9671 classpath.
9672
9673 * gnu/java/awt/EventModifier.java,
9674 gnu/java/awt/image/ImageDecoder.java,
9675 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9676
9677 * gnu/awt/xlib/XGraphicsConfiguration.java,
9678 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9679 API.
9680
9681 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9682 GNU Classpath.
9683
9684 * Makefile.am: Add new files.
9685 * Makefile.in: Rebuilt.
9686
9687 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9688
9689 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9690 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9691 findResource, getResources, findResources): Add javadoc from classpath.
9692 (getSystemResources): Implemented.
9693
9694 2002-08-01 Mark Wielaard <mark@klomp.org>
9695
9696 Revert patch that breaks libgcj shared library on powerpc:
9697 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9698 implementation classes by using Class.getName(). Uses Strings again.
9699 * gnu/java/security/der/DEREncodingException.java,
9700 gnu/java/security/provider/DERReader.java,
9701 gnu/java/security/provider/DERWriter.java,
9702 gnu/java/security/provider/DSAKeyPairGenerator.java,
9703 gnu/java/security/provider/DSAParameterGenerator.java,
9704 gnu/java/security/provider/DSAParameters.java,
9705 gnu/java/security/provider/DSASignature.java,
9706 gnu/java/security/provider/GnuDSAPrivateKey.java,
9707 gnu/java/security/provider/GnuDSAPublicKey.java,
9708 gnu/java/security/provider/MD5.java,
9709 gnu/java/security/util/Prime.java: Removed.
9710 * Makefile.am (ordinary_java_source_files): Remove above files.
9711 * Makefile.in: Regenerate.
9712 * gnu/java/security/provider/DefaultPolicy.java
9713 (getPermissions): Revert to maintaining static class variable of
9714 Permissions.
9715 * gnu/java/security/provider/SHA.java
9716 (engineUpdate): Revert algorithm change.
9717 (engineDigest): Revert algorithm change.
9718
9719 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9720
9721 * configure.host: Add SH support.
9722 * sysdep/sh/locks.h: New file.
9723
9724 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9725
9726 * java/awt/Frame.java (Frame): Remove println calls.
9727
9728 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9729
9730 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9731 * configure: Rebuilt.
9732
9733 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9734
9735 * sysdep/powerpc/locks.h: Formatting.
9736 (_LARX): Define.
9737 (_STCX): Define.
9738 (compare_and_swap): Use _LARX and _STCX.
9739 (compare_and_swap_release): Likewise.
9740
9741 2002-07-26 Tom Tromey <tromey@redhat.com>
9742
9743 * java/net/Authenticator.java: New version from Classpath.
9744 * java/net/DatagramSocketImpl.java: New version from Classpath.
9745
9746 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9747
9748 * configure.host: Add powerpc64*-* entry.
9749
9750 2002-07-26 Tom Tromey <tromey@redhat.com>
9751
9752 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9753 fcntl.h.
9754
9755 2002-07-24 Tom Tromey <tromey@redhat.com>
9756
9757 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9758 argument to _load.
9759
9760 2002-07-24 Tom Tromey <tromey@redhat.com>
9761 Tony Kimball <alk@pobox.com>
9762
9763 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9764 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9765 * java/io/RandomAccessFile.java (setLength): New method.
9766 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9767 * java/io/FileDescriptor.java (setLength): New method.
9768
9769 2002-07-24 Mark Wielaard <mark@klomp.org>
9770
9771 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9772 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9773 field call setAccessible(true).
9774 (setByteField): Likewise.
9775 (setCharField): Likewise.
9776 (setDoubleField): Likewise.
9777 (setFloatField): Likewise.
9778 (setIntField): Likewise.
9779 (setLongField): Likewise.
9780 (setShortField): Likewise.
9781 (setObjectField): Likewise.
9782
9783 2002-07-24 Tom Tromey <tromey@redhat.com>
9784
9785 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9786 use toString() to format array element.
9787
9788 2002-07-23 Mark Wielaard <mark@klomp.org>
9789
9790 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9791 MessageDigestSpi (fixes Classpath bug #783).
9792
9793 2002-07-21 Mark Wielaard <mark@klomp.org>
9794
9795 * gnu/java/security/provider/Gnu.java: Reference all implementation
9796 classes by using Class.getName().
9797
9798 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9799
9800 * java/lang/ieeefp.h: Add x86-64 support.
9801 * configure.in: Likewise.
9802 * configure.host: Likewise.
9803 * configure: Regenerated.
9804 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9805
9806 2002-07-16 Mark Wielaard <mark@klomp.org>
9807
9808 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9809 (whitespaceChars): call resetChar().
9810
9811 2002-07-15 Tom Tromey <tromey@redhat.com>
9812
9813 * Makefile.in: Rebuilt.
9814 * Makefile.am (awt_java_source_files): Added new files.
9815 * java/beans/ExceptionListener.java: Merged with Classpath.
9816 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9817 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9818 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9819 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9820 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9821 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9822 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9823
9824 2002-07-14 Mark Wielaard <mark@klomp.org>
9825
9826 * gnu/java/security/der/DEREncodingException.java,
9827 gnu/java/security/provider/DERReader.java,
9828 gnu/java/security/provider/DERWriter.java,
9829 gnu/java/security/provider/DSAKeyPairGenerator.java,
9830 gnu/java/security/provider/DSAParameterGenerator.java,
9831 gnu/java/security/provider/DSAParameters.java,
9832 gnu/java/security/provider/DSASignature.java,
9833 gnu/java/security/provider/GnuDSAPrivateKey.java,
9834 gnu/java/security/provider/GnuDSAPublicKey.java,
9835 gnu/java/security/provider/MD5.java,
9836 gnu/java/security/util/Prime.java: New files from Classpath.
9837 * Makefile.am (ordinary_java_source_files): Add new files.
9838 * Makefile.in: Regenerate.
9839
9840 2002-07-14 C. Brian Jones <cbj@gnu.org>
9841
9842 * gnu/java/security/provider/DefaultPolicy.java
9843 (getPermissions): do not maintain static class variable of
9844 Permissions
9845 * gnu/java/security/provider/SHA.java
9846 (engineUpdate): algorithm change
9847 (engineDigest): algorithm change
9848
9849 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9850
9851 For PR libgcj/7292:
9852 * java/lang/Character.java (toString(char)): Now static.
9853
9854 2002-07-12 Mark Wielaard <mark@klomp.org>
9855
9856 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9857 (getStackTrace0): new method.
9858 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9859 (printStackTrace(PrintWriter)): replace with pure java implementation.
9860 (printRawStackTrace): removed.
9861 (getStackTrace0): new method.
9862 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9863 * gcj/javaprims.h: regenerate class list.
9864 * include/name-finder.h (lookup): new returns StackTraceElement*.
9865 (method_name, file_name): fields removed.
9866 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9867 (~_Jv_name_finder): close new descriptors.
9868 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9869 (createStackTraceElement): new method.
9870 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9871
9872 2002-07-10 Tom Tromey <tromey@redhat.com>
9873
9874 * configure: Rebuilt.
9875 * configure.in: Use `test' after `&&'. From Chris Faylor.
9876
9877 2002-07-08 Mark Wielaard <mark@klomp.org>
9878
9879 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9880 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9881 java.sql.DatabaseMetaData.TestJdbc20
9882
9883 2002-07-05 Tony Kimball <alk@pobox.com>
9884
9885 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9886
9887 2002-07-04 Tom Tromey <tromey@redhat.com>
9888 Jeff Sturm <jsturm@one-point.com>
9889
9890 Fix for PR libgcj/7060:
9891 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9892 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9893 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9894 * java/lang/Class.java (getMethod): New Java implementation;
9895 complies with spec.
9896 (_getMethod): New native method.
9897
9898 2002-07-02 Tom Tromey <tromey@redhat.com>
9899 David Hovemeyer <daveho@cs.umd.edu>
9900
9901 * java/text/ChoiceFormat.java
9902 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9903 in check loop.
9904 * java/text/MessageFormat.java
9905 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9906 to MessageFormat.
9907
9908 2002-07-01 Tom Tromey <tromey@redhat.com>
9909
9910 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9911 StringTokenizer on null string. For PR libgcj/7180.
9912 From daveho@cs.umd.edu.
9913
9914 2002-06-24 Tom Tromey <tromey@redhat.com>
9915
9916 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9917 (IntegerClass): Likewise.
9918 * java/lang/natClass.cc (CloneableClass): Removed.
9919 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9920 ConstructorClass): Likewise.
9921 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9922 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9923 SerializableClass): Likewise.
9924 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9925 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9926 LongClass, FloatClass, DoubleClass): Likewise.
9927
9928 * verify.cc (branch_prepass): Updated for change to exception
9929 handler type.
9930 (verify_instructions_0): Likewise.
9931 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9932 (handleExceptionTableEntry): Updated for change to exception
9933 handler type.
9934 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9935 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9936 (union _Jv_InterpPC): New.
9937 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9938 (class _Jv_InterpMethod): Added new `prepared' field.
9939 (class _Jv_InterpMethod): Added `compile' method. Removed
9940 `continue1' and `find_exception'. Changed arguments to `run'.
9941 * interpret.cc (union insn_slot): New.
9942 (find_exception): Removed.
9943 (run_normal): Removed most logic.
9944 (run_synch_object): Likewise; also, use JvSynchronize.
9945 (run_synch_class): Likewise.
9946 (run): Removed.
9947 (continue1): Renamed as `run'. Compile bytecode if required.
9948 Add new code to allow refinement of direct-threaded code at
9949 runtime. Handle exceptions.
9950 (SAVE_PC): Removed.
9951 (compile): New method.
9952 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9953 (NULLARRAYCHECK): Don't use SAVE_PC.
9954 (pc_t): New typedef.
9955 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9956 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9957
9958 2002-06-23 Tom Tromey <tromey@redhat.com>
9959
9960 * configure: Rebuilt.
9961 * configure.in (INTERPRETER): New subst.
9962 (AM_RUNTESTFLAGS): Don't subst.
9963
9964 * Makefile.in: Rebuilt.
9965 * Makefile.am ($(srcdir)/java/lang/Object.h,
9966 $(srcdir)/java/lang/Class.h): Added dummy targets.
9967
9968 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9969
9970 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9971
9972 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9973 java/sql/Savepoint.java: New files.
9974 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9975 java/sql/Blob.java, java/sql/CallableStatement.java,
9976 java/sql/Clob.java, java/sql/Connection.java,
9977 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9978 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9979 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9980 java/sql/Ref.java, java/sql/ResultSet.java,
9981 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9982 java/sql/SQLException.java, java/sql/SQLInput.java,
9983 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9984 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9985 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9986 (JDK 1.4) specification.
9987 * javax/sql/ConnectionEvent.java,
9988 javax/sql/ConnectionEventListener.java,
9989 javax/sql/ConnectionPoolDataSource.java,
9990 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9991 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9992 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9993 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9994 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9995 javax/sql/XADataSource.java: New files.
9996 * Makefile.am: Add new files.
9997 * Makefile.in: Rebuilt.
9998
9999 2002-06-20 Tom Tromey <tromey@redhat.com>
10000
10001 For PR libgcj/7073:
10002 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10003 exists.
10004 * defineclass.cc (handleClassBegin): Superclass for interface is
10005 `null'.
10006
10007 2002-06-18 Tom Tromey <tromey@redhat.com>
10008
10009 * gcj/javaprims.h: Updated class declaration list.
10010 * Makefile.in: Rebuilt.
10011 * Makefile.am (core_java_source_files): Removed
10012 BasicMapEntry.java.
10013 * java/util/BasicMapEntry.java: Removed.
10014
10015 2002-06-18 Jeff Sturm <jsturm@one-point.com>
10016
10017 * java/net/natPlainDatagramSocketImpl.cc (receive):
10018 Check bounds of argument to FD_SET.
10019 (setOption): Throw exception if socket is closed.
10020
10021 * java/net/natPlainSocketImpl.cc (accept, read):
10022 Check bounds of argument to FD_SET.
10023 (setOption): Throw exception if socket is closed.
10024
10025 2002-06-18 Tom Tromey <tromey@redhat.com>
10026
10027 * gcj/javaprims.h: Updated class declaration list.
10028 * Makefile.in: Rebuilt.
10029 * Makefile.am (core_java_source_files): Added
10030 PropertyPermissionCollection.java.
10031 * java/lang/Thread.java (group, name): Now package-private.
10032 * java/lang/ThreadGroup.java: Re-merge with Classpath.
10033 * java/util/AbstractList.java: Likewise.
10034 * java/util/AbstractMap.java: Likewise.
10035 * java/util/Calendar.java: Likewise.
10036 * java/util/Collections.java: Likewise.
10037 * java/util/HashMap.java: Likewise.
10038 * java/util/Hashtable.java: Likewise.
10039 * java/util/LinkedHashMap.java: Likewise.
10040 * java/util/LinkedList.java: Likewise.
10041 * java/util/List.java: Likewise.
10042 * java/util/ListResourceBundle.java: Likewise.
10043 * java/util/Map.java: Likewise.
10044 * java/util/Observable.java: Likewise.
10045 * java/util/Properties.java: Likewise.
10046 * java/util/PropertyPermission.java: Likewise.
10047 * java/util/PropertyPermissionCollection.java: Likewise.
10048 * java/util/PropertyResourceBundle.java: Likewise.
10049 * java/util/Random.java: Likewise.
10050 * java/util/SimpleTimeZone.java: Likewise.
10051 * java/util/StringTokenizer.java: Likewise.
10052 * java/util/TimerTask.java: Likewise.
10053 * java/util/TreeMap.java: Likewise.
10054 * java/util/WeakHashMap.java: Likewise.
10055 * java/util/jar/Attributes.java: Likewise.
10056 * java/util/jar/JarException.java: Likewise.
10057 * java/util/jar/Manifest.java: Likewise.
10058
10059 2002-06-17 Tom Tromey <tromey@redhat.com>
10060
10061 * gcj/javaprims.h: Updated class declaration list.
10062 * Makefile.in: Rebuilt.
10063 * Makefile.am (core_java_source_files): Added new file.
10064 * java/util/EventListenerProxy.java: New file.
10065 * java/util/EventListener.java: Re-merge with Classpath.
10066 * java/util/EventObject.java: Re-merge with Classpath.
10067
10068 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10069
10070 * java/lang/ClassNotFoundException.java: New Classpath version.
10071
10072 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10073
10074 * java/rmi/activation/ActivateFailedException.java: Remerge from
10075 Classpath version.
10076 * java/rmi/activation/ActivationException.java: Ditto.
10077 * java/rmi/activation/UnknownGroupException.java: Ditto.
10078 * java/rmi/activation/UnknownObjectException.java: Ditto.
10079 * java/rmi/server/ExportException: Ditto.
10080 * java/rmi/server/ServerCloneException: Ditto.
10081 * java/rmi/server/ServerNotActiveException: Ditto.
10082 * java/rmi/server/SkeletonMismatchException: Ditto.
10083 * java/rmi/server/SkeletonNotFoundException: Ditto.
10084 * java/rmi/server/SocketSecurityException: Ditto.
10085
10086 2002-06-16 Tom Tromey <tromey@redhat.com>
10087
10088 * gcj/javaprims.h: Updated class declaration list.
10089
10090 * java/io/LineNumberInputStream.java: Merged with Classpath.
10091
10092 * java/lang/RuntimeException.java: Re-merge with Classpath.
10093 * java/util/ArrayList.java: Likewise.
10094 * java/util/Arrays.java: Likewise.
10095 * java/util/BitSet.java: Likewise.
10096 * java/util/Dictionary.java: Likewise.
10097 * java/util/IdentityHashMap.java: Likewise.
10098 * java/util/MissingResourceException.java: Likewise.
10099 * java/util/Observer.java: Likewise.
10100 * java/util/TooManyListenersException.java: Likewise.
10101 * java/util/zip/DataFormatException.java: Likewise.
10102 * java/util/zip/ZipException.java: Likewise.
10103
10104 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
10105
10106 * java/rmi/AccessException.java: Remerge from Classpath.
10107 * java/rmi/AlreadyBoundException.java: Ditto.
10108 * java/rmi/ConnectException.java: Ditto.
10109 * java/rmi/ConnectIOException.java: Ditto.
10110 * java/rmi/MarshalException.java: Ditto.
10111 * java/rmi/NoSuchObjectException.java: Ditto.
10112 * java/rmi/NotBoundException.java: Ditto.
10113 * java/rmi/RemoteException.java: Ditto.
10114 * java/rmi/RMISecurityException.java: Ditto.
10115 * java/rmi/ServerError.java: Ditto.
10116 * java/rmi/ServerException.java: Ditto.
10117 * java/rmi/ServerRuntimeException.java: Ditto.
10118 * java/rmi/StubNotFoundException.java: Ditto.
10119 * java/rmi/UnexpectedExcpetion.java: Ditto.
10120 * java/rmi/UnknownHostException.java: Ditto.
10121 * java/rmi/UnmarshalException.java: Ditto.
10122
10123 2002-06-15 Tom Tromey <tromey@redhat.com>
10124
10125 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10126 * java/lang/ArithmeticException.java: Likewise.
10127 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10128 * java/lang/ArrayStoreException.java: Likewise.
10129 * java/lang/Byte.java: Likewise.
10130 * java/lang/CharSequence.java: Likewise.
10131 * java/lang/ClassCastException.java: Likewise.
10132 * java/lang/ClassCircularityError.java: Likewise.
10133 * java/lang/ClassFormatError.java: Likewise.
10134 * java/lang/CloneNotSupportedException.java: Likewise.
10135 * java/lang/Cloneable.java: Likewise.
10136 * java/lang/Comparable.java: Likewise.
10137 * java/lang/Compiler.java: Likewise.
10138 * java/lang/Error.java: Likewise.
10139 * java/lang/ExceptionInInitializerError.java: Likewise.
10140 * java/lang/IllegalAccessError.java: Likewise.
10141 * java/lang/IllegalAccessException.java: Likewise.
10142 * java/lang/IllegalArgumentException.java: Likewise.
10143 * java/lang/IllegalMonitorStateException.java: Likewise.
10144 * java/lang/IllegalStateException.java: Likewise.
10145 * java/lang/IllegalThreadStateException.java: Likewise.
10146 * java/lang/IncompatibleClassChangeError.java: Likewise.
10147 * java/lang/IndexOutOfBoundsException.java: Likewise.
10148 * java/lang/InheritableThreadLocal.java: Likewise.
10149 * java/lang/InstantiationError.java: Likewise.
10150 * java/lang/InstantiationException.java: Likewise.
10151 * java/lang/InternalError.java: Likewise.
10152 * java/lang/InterruptedException.java: Likewise.
10153 * java/lang/LinkageError.java: Likewise.
10154 * java/lang/NegativeArraySizeException.java: Likewise.
10155 * java/lang/NoClassDefFoundError.java: Likewise.
10156 * java/lang/NoSuchFieldError.java: Likewise.
10157 * java/lang/NoSuchFieldException.java: Likewise.
10158 * java/lang/NoSuchMethodError.java: Likewise.
10159 * java/lang/NoSuchMethodException.java: Likewise.
10160 * java/lang/NullPointerException.java: Likewise.
10161 * java/lang/NumberFormatException.java: Likewise.
10162 * java/lang/OutOfMemoryError.java: Likewise.
10163 * java/lang/Process.java: Likewise.
10164 * java/lang/Runnable.java: Likewise.
10165 * java/lang/RuntimePermission.java: Likewise.
10166 * java/lang/SecurityException.java: Likewise.
10167 * java/lang/Short.java: Likewise.
10168 * java/lang/StackOverflowError.java: Likewise.
10169 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10170 * java/lang/ThreadDeath.java: Likewise.
10171 * java/lang/ThreadLocal.java: Likewise.
10172 * java/lang/UnknownError.java: Likewise.
10173 * java/lang/UnsatisfiedLinkError.java: Likewise.
10174 * java/lang/UnsupportedClassVersionError.java: Likewise.
10175 * java/lang/UnsupportedOperationException.java: Likewise.
10176 * java/lang/VerifyError.java: Likewise.
10177 * java/lang/VirtualMachineError.java: Likewise.
10178 * java/lang/reflect/InvocationTargetException.java: Likewise.
10179 * java/net/BindException.java: Likewise.
10180 * java/net/ConnectException.java: Likewise.
10181 * java/net/MalformedURLException.java: Likewise.
10182 * java/net/NoRouteToHostException.java: Likewise.
10183 * java/net/ProtocolException.java: Likewise.
10184 * java/net/SocketException.java: Likewise.
10185 * java/net/UnknownHostException.java: Likewise.
10186 * java/net/UnknownServiceException.java: Likewise.
10187
10188 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10189 * java/io/CharConversionException.java: Likewise.
10190 * java/io/EOFException.java: Likewise.
10191 * java/io/FileNotFoundException.java: Likewise.
10192 * java/io/IOException.java: Likewise.
10193 * java/io/InterruptedIOException.java: Likewise.
10194 * java/io/InvalidClassException.java: Likewise.
10195 * java/io/InvalidObjectException.java: Likewise.
10196 * java/io/NotActiveException.java: Likewise.
10197 * java/io/NotSerializableException.java: Likewise.
10198 * java/io/ObjectStreamException.java: Likewise.
10199 * java/io/ObjectStreamConstants.java: Likewise.
10200 * java/io/OptionalDataException.java: Likewise.
10201 * java/io/PipedInputStream.java: Likewise.
10202 * java/io/PushbackInputStream.java: Likewise.
10203 * java/io/StreamCorruptedException.java: Likewise.
10204 * java/io/SyncFailedException.java: Likewise.
10205 * java/io/UTFDataFormatException.java: Likewise.
10206 * java/io/UnsupportedEncodingException.java: Likewise.
10207 * java/io/WriteAbortedException.java: Likewise.
10208
10209 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10210
10211 * java/text/ChoiceFormat.java: Update comments from Classpath.
10212 * java/text/ParseException.java (serialVersionUID): New
10213 field from Classpath.
10214 * java/text/ParseException.java: Update formatting & comments
10215 from Classpath.
10216
10217 2002-06-15 Tom Tromey <tromey@redhat.com>
10218
10219 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10220 been read but none output by inflater.
10221 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10222 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10223 is_finished.
10224 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10225 version.
10226 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10227 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10228 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10229 version.
10230 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10231
10232 2002-06-13 Tom Tromey <tromey@redhat.com>
10233
10234 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10235 true and OFFSET!=0.
10236 * java/lang/String.java (String(char[],int,int,boolean): New
10237 constructor.
10238 * java/lang/Long.java: Imported new version from Classpath.
10239 * java/lang/Number.java: Likewise.
10240 * java/lang/Integer.java: Likewise.
10241 * java/lang/Long.java: Likewise.
10242 * java/lang/Float.java: Likewise.
10243 * java/lang/Boolean.java: Likewise.
10244 * java/lang/Double.java: Likewise.
10245 * java/lang/Void.java: Likewise.
10246
10247 2002-06-12 Tom Tromey <tromey@redhat.com>
10248
10249 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10250 Fixes PR libgcj/6652.
10251
10252 2002-06-10 Tom Tromey <tromey@redhat.com>
10253
10254 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10255 (Class::getPackagePortion): Likewise.
10256 * java/lang/Class.java (desiredAssertionStatus): New method from
10257 Classpath.
10258 (getPackagePortion): Likewise.
10259 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10260 packageAssertionStatus, classAssertionStatus): New methods from
10261 Classpath.
10262 * java/lang/ClassLoader.java (defaultAssertionStatus,
10263 systemPackageAssertionStatus, packageAssertionStatus,
10264 systemClassAssertionStatus, classAssertionStatus): New fields from
10265 Classpath.
10266 (setDefaultAssertionStatus, setPackageAssertionStatus,
10267 setClassAssertionStatus, clearAssertionStatus): New methods from
10268 Classpath.
10269 * Makefile.in: Rebuilt.
10270 * Makefile.am (core_java_source_files): Added AssertionError.java.
10271 * java/lang/AssertionError.java: New from Classpath.
10272
10273 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10274
10275 * configure.host: Disable hash synchronization and slow_pthread_self
10276 for cygwin.
10277
10278 2002-06-06 Adam Megacz <adam@xwt.org>
10279
10280 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10281 locking, just like the Sun JVM does.
10282
10283 2002-06-05 H.J. Lu (hjl@gnu.org)
10284
10285 * Makefile.am (libgcj_convenience.la): Revert the last change.
10286 (libgcj.la): Likewise.
10287 * Makefile.in: Regenerated.
10288
10289 2002-06-04 H.J. Lu (hjl@gnu.org)
10290
10291 * Makefile.am (libgcj_convenience.la): New target.
10292 (libgcj.la): Depend on libgcj_convenience.la.
10293 * Makefile.in: Regenerated.
10294
10295 2002-06-04 H.J. Lu (hjl@gnu.org)
10296
10297 * configure.in (--with-newlib): New option:
10298 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10299 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10300 Linux.
10301 * configure: Regenerated.
10302
10303 2002-06-04 Tom Tromey <tromey@redhat.com>
10304
10305 * java/util/natTimeZone.cc: Include <stdio.h>.
10306
10307 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10308
10309 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10310 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10311 Set SIGNAL_HANDLER=include/s390-linux.h.
10312 * configure: Regenerate.
10313 * include/s390-linux.h: New file.
10314
10315 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10316
10317 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10318 not "stackTrace".
10319
10320 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10321
10322 Merge JDK 1.4 java.security changes from classpath.
10323
10324 * java/security/AccessControlException.java: Merge from Classpath.
10325 * java/security/AccessController.java: Likewise.
10326 * java/security/AllPermission.java: Likewise.
10327 * java/security/BasicPermission.java: Likewise.
10328 * java/security/Certificate.java: Likewise.
10329 * java/security/CodeSource.java: Likewise.
10330 * java/security/DigestException.java: Likewise.
10331 * java/security/DigestOutputStream.java: Likewise.
10332 * java/security/DomainCombiner.java: Likewise.
10333 * java/security/GeneralSecurityException.java: Likewise.
10334 * java/security/Guard.java: Likewise.
10335 * java/security/GuardedObject.java: Likewise.
10336 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10337 * java/security/InvalidKeyException.java: Likewise.
10338 * java/security/InvalidParameterException.java: Likewise.
10339 * java/security/Key.java: Likewise.
10340 * java/security/KeyException.java: Likewise.
10341 * java/security/KeyManagementException.java: Likewise.
10342 * java/security/KeyStoreException.java: Likewise.
10343 * java/security/MessageDigest.java: Likewise.
10344 * java/security/NoSuchAlgorithmException.java: Likewise.
10345 * java/security/NoSuchProviderException.java: Likewise.
10346 * java/security/Permission.java: Likewise.
10347 * java/security/PermissionCollection.java: Likewise.
10348 * java/security/Permissions.java: Likewise.
10349 * java/security/Policy.java: Likewise.
10350 * java/security/Principal.java: Likewise.
10351 * java/security/PrivateKey.java: Likewise.
10352 * java/security/PrivilegedAction.java: Likewise.
10353 * java/security/PrivilegedActionException.java: Likewise.
10354 * java/security/PrivilegedExceptionAction.java: Likewise.
10355 * java/security/ProtectionDomain.java: Likewise.
10356 * java/security/ProviderException.java: Likewise.
10357 * java/security/PublicKey.java: Likewise.
10358 * java/security/SecureClassLoader.java: Likewise.
10359 * java/security/SecurityPermission.java: Likewise.
10360 * java/security/SignatureException.java: Likewise.
10361 * java/security/UnrecoverableKeyException.java: Likewise.
10362 * java/security/UnresolvedPermission.java: Likewise.
10363 * java/security/acl/AclNotFoundException.java: Likewise.
10364 * java/security/acl/LastOwnerException.java: Likewise.
10365 * java/security/acl/NotOwnerException.java: Likewise.
10366 * java/security/cert/CRLException.java: Likewise.
10367 * java/security/cert/CertificateEncodingException.java: Likewise.
10368 * java/security/cert/CertificateException.java: Likewise.
10369 * java/security/cert/CertificateExpiredException.java: Likewise.
10370 * java/security/cert/CertificateFactory.java: Likewise.
10371 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10372 * java/security/cert/CertificateParsingException.java: Likewise.
10373 * java/security/spec/InvalidKeySpecException.java: Likewise.
10374 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10375
10376 * java/security/cert/CertPath.java: New file.
10377 * java/security/cert/CertPathBuilderException.java: New file.
10378 * java/security/cert/CertPathValidatorException.java: New file.
10379 * java/security/cert/CertStoreException.java: New file.
10380
10381 * Makefile.am: Add new CertPath classes.
10382 * Makefile.in: Rebuilt.
10383
10384 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10385
10386 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10387
10388 Merge JDK 1.4 exception chaining support from classpath.
10389
10390 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10391 (stackTraceBytes): Rename from stackTrace.
10392 * java/lang/Exception.java: Merge from classpath.
10393 * java/lang/StackTraceElement: New file from classpath.
10394 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10395 * Makefile.am: Add StackTraceElement.
10396 * Makefile.in: Rebuilt.
10397
10398 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10399
10400 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10401 they build first.
10402 * Makefile.in: Rebuilt.
10403
10404 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10405
10406 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10407 * configure.in: Likewise.
10408 * aclocal.m4: Regenerate.
10409 * configure: Regenerate.
10410
10411 2002-05-13 Tom Tromey <tromey@redhat.com>
10412
10413 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10414 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10415 Include platform.h.
10416
10417 Fixes PR libgcj/6389:
10418 * Makefile.in: Rebuilt.
10419 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10420 * java/util/natTimeZone.cc: New file.
10421 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10422 * java/lang/System.java: Merged with Classpath.
10423 * java/lang/Runtime.java: Merged with Classpath.
10424 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10425 security check.
10426 (setIn0): Renamed from setIn; don't run security check.
10427 (setOut0): Renamed from setOut; don't run security check.
10428 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10429 init_properties): Moved to natRuntime.cc.
10430 Moved many includes to natRuntime.cc.
10431 (isWordsBigEndian): New method.
10432 * java/lang/natRuntime.cc: Include Long.h, also other includes
10433 previously in natSystem.cc.
10434 (maxMemory): New function.
10435 (exitInternal): Renamed from `_exit'.
10436 (exit): Removed.
10437 (init): Don't set finalize_on_exit.
10438 (exitInternal): Use `finalizeOnExit'.
10439 (file_encoding, getpwuid_adaptor): New functions from
10440 natSystem.cc.
10441 (insertSystemProperties): New method, renamed from
10442 System::init_properties. Don't set user.timezone.
10443 (_load): Don't call checkLink.
10444 (execInternal): New method.
10445 (availableProcessors): Likewise.
10446 (nativeGetLibname): Likewise.
10447
10448 2002-05-11 Mark Wielaard <mark@klomp.org>
10449
10450 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10451 space characters.
10452 (previous_internal): Likewise.
10453
10454 2002-05-09 Tom Tromey <tromey@redhat.com>
10455
10456 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10457
10458 * java/util/ResourceBundle.java: New version from Classpath.
10459 * java/util/Locale.java: Likewise.
10460
10461 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10462
10463 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10464 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10465 LD_LIBRARY_PATH.
10466
10467 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10468
10469 * libjava/Makefile.am (all_java_source_files): New variable.
10470 (all_java_class_files): Likewise.
10471 .java.class: New rule.
10472 (CLEANFILES): Remove tmp-list.
10473 * libjava/Makefile.in: Regenerated.
10474
10475 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10476
10477 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10478 Append .exe to executable names. Fix for cygwin.
10479
10480 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10481
10482 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10483 script entry, and set LD to it when configuring multilibs.
10484 * configure: Rebuilt.
10485
10486 2002-05-07 Tom Tromey <tromey@redhat.com>
10487
10488 * java/lang/natString.cc (unintern): Fixed typo.
10489
10490 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10491
10492 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10493 with -no-install on *-*-cygwin*.
10494
10495 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10496
10497 * testsuite/lib/libjava.exp (test_libjava_from_source):
10498 Add comment explaining last patch
10499
10500 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10501
10502 * testsuite/lib/libjava.exp (test_libjava_from_source):
10503 Append .exe to executable names. If no suffix is present,
10504 then ".exe" is added by default on win32. Harmless
10505 elsewhere so always do it.
10506
10507 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10508 Tom Tromey <tromey@redhat.com>
10509
10510 * java/lang/natSystem.cc (getSystemTimeZone): Use
10511 HAVE_UNDERSCORE_TIMEZONE.
10512 * include/config.h.in: Rebuilt.
10513 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10514 * aclocal.m4, configure: Rebuilt.
10515 * acinclude.m4: Run AC_EXEEXT.
10516 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10517 Add test for `_timezone'.
10518
10519 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10520
10521 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10522 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10523 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10524 * Makefile.in: Rebuilt.
10525
10526 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10527
10528 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10529 use sigaction instead of __libc_sigaction.
10530
10531 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10532
10533 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10534 (libjava_init): Use it to find libgcj.spec.
10535 (libjava_arguments): Likewise.
10536
10537 2002-05-02 David S. Miller <davem@redhat.com>
10538
10539 PR bootstrap/6525
10540 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10541 __libc_sigaction on Sparc.
10542
10543 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10544
10545 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10546 sys/filio.h, if present.
10547
10548 2002-04-30 Tom Tromey <tromey@redhat.com>
10549
10550 * java/io/BufferedReader.java (fill): Handle case where markPos
10551 point to ignored \n. Fixes PR libgcj/6301.
10552
10553 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10554
10555 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10556
10557 2002-04-29 Adam King <aking@dreammechanics.com>
10558
10559 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10560 of file in APPEND mode.
10561
10562 2002-04-25 David S. Miller <davem@redhat.com>
10563
10564 PR target/6422
10565 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10566 program counter to next program counter minus 8. Update
10567 comments in this macro to explain why.
10568
10569 2002-04-26 Tom Tromey <tromey@redhat.com>
10570
10571 * verify.cc (construct_primitive_array_type) [void_type]: New
10572 case.
10573 (branch_prepass): Added dummy entries for unused instruction
10574 values.
10575 (verify_instructions_0): Likewise.
10576 * interpret.cc (continue1): Comment fix.
10577 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10578 * Makefile.in: Rebuilt.
10579 * Makefile.am: Added -Wswitch-enum.
10580
10581 2002-04-24 Tom Tromey <tromey@redhat.com>
10582
10583 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10584 correct length of UTF-8 encoded name. Strip leading `/'.
10585 (_Jv_RegisterResource): Use _Jv_Malloc.
10586
10587 2002-04-23 Adam Megacz <adam@xwt.org>
10588
10589 * win32.cc, include/win32.cc (backtrace): Added this function
10590 because Win32 does not supply it.
10591
10592 2002-04-21 David S. Miller <davem@redhat.com>
10593
10594 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10595 magic instruction reading sequence.
10596
10597 2002-04-21 Mark Wielaard <mark@klomp.org>
10598
10599 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10600
10601 2002-04-19 David S. Miller <davem@redhat.com>
10602
10603 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10604 arg.
10605 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10606 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10607 on Sparc too.
10608 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10609 for 64-bit sparc.
10610 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10611 * sysdeps/sparc/locks.h: New file.
10612 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10613 on all sparc Solaris configurations. Set to
10614 include/dwarf2-signal.h on sparc Linux.
10615 * configure: Regenerate
10616 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10617
10618 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10619
10620 * configure: Rebuilt.
10621 * configure.in (backtrace): Function doesn't work on IA-64.
10622
10623 2002-04-17 Adam King <aking@dreammechanics.com>
10624
10625 * java/io/File.java (normalizePath): Add Win32 support for auto
10626 conversion of a '/' path separator to Win32's '\' separator.
10627
10628 2002-04-16 Tom Tromey <tromey@redhat.com>
10629
10630 Fix for PR libgcj/6081:
10631 * Makefile.in: Rebuilt.
10632 * Makefile.am (install-data-local): Use GNU make trick to avoid
10633 shell limit.
10634
10635 2002-04-16 Adam King <aking@dreammechanics.com>
10636 Tom Tromey <tromey@redhat.com>
10637
10638 * java/io/natFileWin32.cc (performList): Return the correct array
10639 type. Don't duplicate the creation of a File since it's already
10640 done earlier in the method and the existing code would cause a
10641 ArrayStoreException. Don't use fixed-size array.
10642 (_access, _stat, attr, getCanonicalPath, performMkdir,
10643 performRenameTo): Don't use fixed-size array.
10644 (getCanonicalPath): Use throw, not _Jv_Throw.
10645
10646 2002-04-15 DJ Delorie <dj@redhat.com>
10647
10648 * configure.in: Allow building in $srcdir.
10649 * configure: Regenerated.
10650
10651 2002-04-14 Mark Wielaard <mark@klomp.org>
10652
10653 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10654 * java/net/natSocketImpl.cc (close): Likewise.
10655
10656 2002-04-14 Mark Wielaard <mark@klomp.org>
10657
10658 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10659
10660 2002-04-13 Adam King <aking@dreammechanics.com>
10661
10662 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10663 the f/F/d/D modifiers.
10664
10665 2002-04-12 Anthony Green <green@redhat.com>
10666
10667 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10668 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10669 * Makefile.in: Rebuilt.
10670 * configure.in: Substitute gcc_version.
10671 * configure: Rebuilt.
10672
10673 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10674
10675 * configure.host: Set can_unwind_signal on hosts which support it.
10676 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10677 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10678 exceptions and can_unwind_signal isn't set.
10679 * configure: Rebuilt.
10680
10681 2002-04-11 Tom Tromey <tromey@redhat.com>
10682
10683 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10684
10685 2002-04-11 Adam King <aking@dreammechanics.com>
10686 Tom Tromey <tromey@redhat.com>
10687
10688 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10689 _Jv_ThrowNullPointerException): Mark as noreturn.
10690 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10691 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10692 fixes.
10693
10694 2002-04-10 Tom Tromey <tromey@redhat.com>
10695
10696 * Makefile.in: Rebuilt.
10697 * Makefile.am (java/lang/Thread.h): Mark
10698 _Jv_AttachCurrentThreadAsDaemon as friend.
10699 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10700 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10701 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10702 function.
10703 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10704 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10705 (_Jv_JNI_InvokeFunctions): Added
10706 _Jv_JNI_AttachCurrentThreadAsDaemon.
10707 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10708 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10709 (JNI_CreateJavaVM): Likewise.
10710 (_Jv_JNI_AttachCurrentThread): Likewise.
10711 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10712 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10713 (_Jv_JNIFunctions): Initialize new fields.
10714 (_Jv_JNI_NewDirectByteBuffer): New function.
10715 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10716 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10717 * include/jni.h (JNI_VERSION_1_4): New macro.
10718 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10719 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10720 (JNINativeInterface::NewDirectByteBuffer): New field.
10721 (JNINativeInterface::GetDirectBufferAddress): New field.
10722 (JNINativeInterface::GetDirectBufferCapacity): New field.
10723 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10724 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10725 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10726
10727 2002-04-09 Tom Tromey <tromey@redhat.com>
10728
10729 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10730
10731 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10732
10733 Fix for PR libgcj/6187:
10734 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10735 distance.
10736
10737 2002-04-07 Mark Wielaard <mark@klomp.org>
10738
10739 * java/util/AbstractMap.java (putAll): Use entrySet size.
10740 (toString): Explicitly use getKey() and getValue().
10741
10742 2002-04-07 Mark Wielaard <mark@klomp.org>
10743
10744 * java/util/Hashtable.java (contains): Remove NullPointer check.
10745 (containsValue): Add NullPointer check.
10746 (remove): Always throw NullPointerException when key
10747 is null.
10748
10749 2002-04-07 Adam King <aking@dreammechanics.com>
10750
10751 * java/lang/natSystem.cc (init_properties): Call new function
10752 _Jv_platform_initProperties.
10753 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10754 support for the System properties os.name, os.arch, os.version,
10755 user.name, user.home, and user.dir.
10756 * include/posix.h, include/win32.h, posix.cc: New function
10757 _Jv_platform_initProperties.
10758
10759 2002-04-06 Mark Wielaard <mark@klomp.org>
10760
10761 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10762
10763 2002-04-06 Mark Wielaard <mark@klomp.org>
10764
10765 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10766 all of the remaining elements.
10767 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10768 (removeRange): If toIndex == fromIndex do
10769 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10770 (removeAll): Always throw NullPointerException when collection is
10771 null.
10772 (retrainAll): Likewise.
10773
10774 2002-04-05 Mark Wielaard <mark@klomp.org>
10775
10776 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10777 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10778
10779 2002-04-05 Adam Megacz <adam@xwt.org>
10780
10781 * exception.cc (abort): added static modifier
10782
10783 2002-04-04 Adam Megacz <adam@xwt.org>
10784
10785 * include/win32.h (_Jv_platform_close_on_exec): added inline
10786 modifier.
10787
10788 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10789
10790 * configure.host: Add case statement to support generic port
10791 properties. Add *-*-freebsd* section.
10792
10793 2002-04-04 Mark Wielaard <mark@klomp.org>
10794
10795 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10796 test.
10797 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10798 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10799 that depend on awt code and BufferedByteOutputStream.interrupt.
10800
10801 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10802
10803 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10804 incorrect "hi" value when count > 40.
10805
10806 2002-04-03 Mark Wielaard <mark@klomp.org>
10807
10808 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10809 ordering.
10810
10811 2002-04-02 Tom Tromey <tromey@redhat.com>
10812
10813 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10814 not `0'.
10815
10816 2002-04-02 Mark Wielaard <mark@klomp.org>
10817
10818 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10819 list of testsuite crashers.
10820
10821 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10822
10823 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10824 when resizing table.
10825
10826 2002-04-01 Mark Wielaard <mark@klomp.org>
10827
10828 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10829 NegativeArraySizeException
10830 (clear(int)): Use sign extended shift.
10831 (flip(int)): Likewise.
10832 (get(int)): Likewise.
10833 (nextClearBit(int)): Likewise.
10834 (nextSetBit(int)): Likewise.
10835 (set(int)): Likewise.
10836
10837 2002-04-01 Mark Wielaard <mark@klomp.org>
10838
10839 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10840 that can be compiled now and add testsuite crashers to ignore list.
10841
10842 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10843
10844 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10845
10846 * libgcj.spec.in: Override libgcc, not lib.
10847 * libgcj-test.spec.in: Likewise.
10848
10849 2002-03-29 Tom Tromey <tromey@redhat.com>
10850
10851 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10852 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10853
10854 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10855
10856 * java/net/PlainDatagramSocketImpl.java
10857 (close): Use native implementation.
10858 (finalize): New method.
10859
10860 * java/net/PlainSocketImpl.java (finalize): New method.
10861
10862 * java/net/natPlainDatagramSocketImpl.cc
10863 (java/io/FileDescriptor.h): Don't include.
10864 (close): Implement method here.
10865 (create): Don't assign fd.
10866
10867 * java/net/natPlainSocketImpl.cc
10868 (java/io/FileDescriptor.h): Don't include.
10869 (create): Don't assign fd.
10870 (accept): Likewise.
10871 (close): Synchronize.
10872
10873 2002-03-27 Richard Henderson <rth@redhat.com>
10874
10875 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10876
10877 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10878
10879 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10880 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10881 instead of syscall on IA-64.
10882 Add FIXME comment.
10883
10884 2002-03-27 Anthony Green <green@redhat.com>
10885
10886 * libgcj.spec.in: Add CHECKREFSPEC.
10887 * configure.in: Ditto.
10888 * configure.host: Ditto. Check references for xscale-elf.
10889 * configure: Rebuilt.
10890
10891 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10892
10893 * include/dwarf2-signal.h: Temporarily back out last change.
10894
10895 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10896
10897 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10898
10899 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10900
10901 * configure.in, configure: enable dwarf2-exception-style
10902 exception handling on IA-64.
10903 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10904 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10905 Add FIXME comment.
10906
10907 2002-03-25 Tom Tromey <tromey@redhat.com>
10908
10909 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10910 (jv_convert_LDFLAGS): Likewise.
10911 (gij_LDFLAGS): Likewise.
10912 (rmic_LDFLAGS): Likewise.
10913 (rmiregistry_LDFLAGS): Likewise.
10914 * configure.in (THREADLDFLAGS): New subst; set correctly for
10915 *BSD.
10916
10917 2002-03-25 Tom Tromey <tromey@redhat.com>
10918
10919 For PR libgcj/5303:
10920 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10921 and --version.
10922 (help): New method.
10923 (version): Likewise.
10924 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10925 "GNU".
10926 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10927 "GNU".
10928
10929 2002-03-25 Tom Tromey <tromey@redhat.com>
10930
10931 * java/awt/Component.java (processEvent): Check ComponentEvent
10932 after KeyEvent.
10933
10934 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10935
10936 * java/io/PushbackReader.java: Reformat.
10937
10938 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10939 calculate correct number of bytes skipped.
10940
10941 Based on patch from Intel's ORP team:
10942 * java/io/PushbackInputStream.java (available): Calculate correct
10943 number of bytes in buffer.
10944 (read): Remove redundant bound check. Return bytes from both the
10945 buffer and the stream.
10946
10947 2002-03-24 Tom Tromey <tromey@redhat.com>
10948
10949 * java/awt/TextComponent.java (TextComponent): Editable by
10950 default.
10951
10952 * java/awt/MenuItem.java (eventMask): No longer private.
10953 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10954 superclass if we didn't handle event.
10955 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10956 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10957 * java/awt/Choice.java (dispatchEventImpl): New method.
10958 * java/awt/List.java (dispatchEventImpl): New method.
10959 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10960 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10961 * java/awt/TextField.java (dispatchEventImpl): New method.
10962
10963 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10964
10965 * java/beans/IntrospectionException.java: Update to 1.4.
10966 * java/beans/PropertyVetoException.java: Ditto.
10967
10968 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10969
10970 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10971 Arrays.equals instead of ArrayHelper.equalsArray.
10972
10973 2002-03-24 C. Brian Jones <cbj@gnu.org>
10974
10975 * java/beans/Introspector.java: added new static final fields
10976 introduced in 1.2, lots of other updates remain to be done
10977
10978 2002-03-24 C. Brian Jones <cbj@gnu.org>
10979
10980 * java/beans/Introspector.java: reformatting
10981
10982 2002-03-24 C. Brian Jones <cbj@gnu.org>
10983
10984 * java/beans/Introspector.java: default beanInfoSearchPath will
10985 not include sun.beans.infos given we provide no such package and
10986 the API doesn't really require it; gnu.java.beans.info is the
10987 default.
10988
10989 2002-03-24 Mark Wielaard <mark@klomp.org>
10990
10991 Thanks to Orp developers
10992 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10993 switch TRUE and FALSE return values.
10994
10995 2002-03-23 Tom Tromey <tromey@redhat.com>
10996
10997 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10998 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10999
11000 2002-03-23 Michael Smith <msmith@spinnakernet.com>
11001
11002 * java/util/GregorianCalendar.java (minimums, maximums): Correct
11003 MONTH entry. Fixes PR libgcj/6045.
11004
11005 2002-03-23 Jeff Sturm <jsturm@one-point.com>
11006
11007 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11008
11009 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11010
11011 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11012 not release_set.
11013 * sysdep/powerpc/locks.h (write_barrier): New function.
11014 * sysdep/i386/locks.h (write_barrier): New function.
11015
11016 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
11017
11018 * include/jni.h Use correct C comments.
11019
11020 2002-03-18 Tom Tromey <tromey@redhat.com>
11021
11022 * include/jni.h (JNIIMPORT): New macro.
11023 (JNIEXPORT): Likewise.
11024 (JNICALL): Likewise.
11025
11026 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11027
11028 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11029 systems.
11030
11031 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
11032
11033 * include/i386-signal.h (old_i386_kernel_sigaction): New.
11034 INIT_SEGV: Use old_i386_kernel_sigaction.
11035 INIT_FP: Likewise.
11036
11037 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11038
11039 * java/lang/natSystem.cc (init_properties): Update VM version
11040 properties.
11041 * configure.in: Set GCJVERSION.
11042 * acconfig.h: Add GCJVERSION.
11043 * configure: Rebuilt.
11044 * include/config.h.in: Rebuilt.
11045
11046 2002-03-17 Anthony Green <green@redhat.com>
11047
11048 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11049
11050 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11051
11052 Build a single libgcj.so, without separate gc and zlib libraries.
11053 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11054 SYS_ZLIBS if system zlib is used.
11055 * configure: Rebuilt.
11056 * Makefile.am: Use boehm-gc and zlib convenience libraries.
11057 * Makefile.in: Rebuilt.
11058 * libtool-version: Increment .so version number.
11059
11060 * Makefile.am: Escape quotes in echo.
11061 * Makefile.in: Rebuilt.
11062
11063 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11064
11065 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11066 * Makefile.in: Rebuilt.
11067
11068 2002-03-15 Anthony Green <green@redhat.com>
11069
11070 * configure.host (FILE): New macro for specifing File
11071 implementation.
11072 * configure: Rebuilt.
11073 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
11074
11075 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
11076
11077 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11078 already implicitly brought in from libgcj.la.
11079 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11080 * Makefile.in: Rebuilt.
11081
11082 2002-03-15 Eric Blake <ebb9@email.byu.edu>
11083
11084 * THANKS: Fix punctuation, alphabetization.
11085
11086 2002-03-15 Tom Tromey <tromey@redhat.com>
11087 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11088
11089 Fix for PR libgcj/5944.
11090 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11091
11092 2002-03-15 Anthony Green <green@redhat.com>
11093
11094 * configure.in (tool_include_dir): Define.
11095 * configure: Rebuilt.
11096 * gcj/Makefile.am: Install libgcj-config.h relative to
11097 tool_include_dir.
11098 * gcj/Makefile: Rebuilt.
11099 * gcj/libgcj-config.h: Add warning comment.
11100
11101 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
11102
11103 * configure.host (powerpc*-darwin*): Enable interpreter.
11104
11105 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11106
11107 * include/posix.h: Add multiple include header protection.
11108 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11109
11110 2002-03-10 Adam Megacz <adam@xwt.org>
11111
11112 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11113
11114 2002-03-10 Tom Tromey <tromey@redhat.com>
11115
11116 * java/awt/GridLayout.java (layoutContainer): Handle case where
11117 there are no items in container.
11118
11119 * java/lang/Win32Process.java: Added comment.
11120 * include/posix.h (_Jv_platform_close_on_exec): New function.
11121 Include fcntl.h.
11122 * include/win32.h (_Jv_platform_close_on_exec): New function.
11123 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11124 flag.
11125 (accept): Likewise.
11126 * java/net/natPlainDatagramSocketImpl.cc (create): Set
11127 close-on-exec flag.
11128 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11129 flag.
11130
11131 2002-03-09 Tom Tromey <tromey@redhat.com>
11132
11133 * verify.cc (state::NO_STACK): New constant.
11134 (state::is_unmerged_ret_state): Handle case where stacktop is
11135 NO_STACK.
11136 (state::merge): Handle NO_STACK merges.
11137 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11138 for instruction following jsr.
11139 (stacktop, stackdepth): Removed unused variables.
11140 (pop_jump): Ignore case where all remaining states are skipped.
11141
11142 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11143
11144 * java/awt/ImageMediaEntry: Removed.
11145 * java/awt/MediaEntry: Removed.
11146
11147 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11148
11149 Hashtable synchronization for PowerPC.
11150 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11151 slow_pthread_self. Set up symlink for sysdeps directory.
11152 * configure: Rebuild.
11153 * configure.host: Document more shell variables. Set sysdeps_dir
11154 for most platforms. Set slow_pthread_self for i686. Set
11155 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11156 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11157 that memory barrier is emitted where required.
11158 * prims.cc: 64-bit align static primitive class instances.
11159 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11160 read_barrier() to enforce ordering of reads.
11161 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11162 primitives for PowerPC.
11163 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11164 moved from natObject.cc.
11165 * sysdep/alpha/locks.h: Likewise.
11166 * sysdep/ia64/locks.h: Likewise.
11167 * sysdep/generic/locks.h: Likewise.
11168 * java/lang/natObject.cc: Move thread synchronization primitives to
11169 system-dependent headers.
11170
11171 2002-03-09 Adam Megacz <adam@xwt.org>
11172
11173 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11174 bytes read and no failure code returned.
11175
11176 2002-03-09 Adam Megacz <adam@xwt.org>
11177
11178 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11179 definitions to simulate -mthreads.
11180
11181 2002-03-09 Adam Megacz <adam@xwt.org>
11182
11183 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11184 avoid precision loss.
11185
11186 2002-03-09 Per Bothner <per@bothner.com>
11187
11188 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11189 * gnu/gcj/xlib/XImage.java: Likewise.
11190 * gnu/gcj/xlib/XColor.java: Likewise.
11191
11192 2002-03-09 Adam Megacz <adam@xwt.org>
11193
11194 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11195 IOException so that Throwable.printStackTrace fails correctly.
11196
11197 2002-03-08 Adam Megacz <adam@xwt.org>
11198
11199 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11200 fixed.
11201
11202 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11203
11204 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11205 truncated to int.
11206
11207 2002-03-08 Tom Tromey <tromey@redhat.com>
11208
11209 * include/jni.h: Include stdio.h.
11210
11211 2002-03-08 Tom Tromey <tromey@redhat.com>
11212
11213 * posix.cc (internal_gettimeofday): New function.
11214 (_Jv_select): Use it.
11215
11216 2002-03-07 Adam Megacz <adam@xwt.org>
11217
11218 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11219 WIN32, and added thunks for read(), write(), and close().
11220 * java/net/natPlainSocketImpl.cc (accept, read, read):
11221 Disabled timeouts on WIN32 pending discussion.
11222
11223 2002-03-07 Adam Megacz <adam@xwt.org>
11224
11225 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11226 returns jlong. Added implementation
11227 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11228 returns jlong.
11229 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11230 returns jlong.
11231 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11232 returns jlong.
11233 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11234 _Jv_platform_gettimeofday signature.
11235
11236 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11237
11238 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11239 (read): Call recv() directly, not _Jv_recv().
11240
11241 2002-03-06 Tom Tromey <tromey@redhat.com>
11242
11243 * java/io/natFileDescriptorEcos.cc (init): Don't use
11244 GetStdHandle.
11245 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11246 is negative.
11247 (init): Don't use GetStdHandle.
11248
11249 * include/config.h.in: Rebuilt.
11250 * configure: Rebuilt.
11251 * Makefile.in: Rebuilt.
11252
11253 2002-03-06 Adam Megacz <adam@xwt.org>
11254
11255 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11256 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11257 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11258 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11259
11260 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11261
11262 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11263 the code for generating include/java-chartables.h.
11264 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11265 merge with Classpath.
11266 * scripts/unicode-muncher.pl: Copy from Classpath.
11267 * scritps/MakeCharTables.java: New file.
11268 * gnu/gcj/convert/Blocks-3.txt: New file.
11269 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11270 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11271 * gnu/java/lang/CharData.java: Copy from Classpath.
11272 * Makefile.am (ordinary_java_source_files): Add
11273 gnu/java/lang/CharData.java.
11274 * configure.in: Remove --enable-fast-character option.
11275 * java/lang/Character.java: Merge algorithms and Javadoc with
11276 Classpath.
11277 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11278 efficiently.
11279 * include/java-chardecomp.h: Regenerate.
11280 * include/java-chartables.h: Regenerate.
11281
11282 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11283
11284 * java/awt/MediaTracker.java: Implemented.
11285 * Makefile.am: Add MediaTracker.
11286 * Makefile.in: Rebuilt.
11287
11288 2002-03-05 Tom Tromey <tromey@redhat.com>
11289
11290 * java/lang/natPosixProcess.cc (fail): Removed.
11291 (startProcess): Simplified error-handling. Preserve
11292 LD_LIBRARY_PATH across exec.
11293
11294 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11295 AbstractMethodError.
11296
11297 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11298
11299 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11300 * Makefile.in: Rebuilt.
11301
11302 2002-03-03 Mark Wielaard <mark@klomp.org>
11303
11304 * java/util/Timer (TaskQueue.stop): set elements to zero.
11305
11306 2002-02-28 Anthony Green <green@redhat.com>
11307
11308 * java/lang/reflect/natMethod.cc (result): Add void* element.
11309 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11310 constructor test.
11311
11312 2002-02-27 Adam Megacz <adam@xwt.org>
11313
11314 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11315 '#undef STRICT'.
11316
11317 2002-02-26 Tom Tromey <tromey@redhat.com>
11318
11319 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11320 * gij.cc (version): Use __VERSION__.
11321 * include/config.h.in: Rebuilt.
11322 * acconfig.h (GCJVERSION): Removed.
11323 * configure: Rebuilt.
11324 * configure.in (GCJVERSION): Removed.
11325
11326 2002-02-26 Andreas Schwab <schwab@suse.de>
11327
11328 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11329 glibcpp_CXX, since libjava uses even another CXX.
11330 * aclocal.m4, configure: Regenerated.
11331
11332 2002-02-26 Tom Tromey <tromey@redhat.com>
11333
11334 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11335 `1'.
11336
11337 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11338
11339 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11340 dependency tracking for .java files.
11341 * Makefile.in: Rebuilt.
11342
11343 2002-02-24 Adam Megacz <adam@xwt.org>
11344
11345 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11346 typo. Sorry.
11347
11348 2002-02-24 Adam Megacz <adam@xwt.org>
11349
11350 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11351 for Win32, changed #ifdefs to check WIN32 instead of the
11352 (now-obsolete) USE_WINSOCK, and removed support for socket
11353 timeouts on Win32 pending further discussion.
11354
11355 2002-02-24 Adam Megacz <adam@xwt.org>
11356
11357 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11358 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11359 delete
11360
11361 2002-02-24 Adam Megacz <adam@xwt.org>
11362
11363 * java/lang/Win32Process.java: Created a dummy class to allow
11364 build process to run to completion.
11365
11366 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11367
11368 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11369 Define ffi_result union for ffi_call result. Cast
11370 ffi_result members to jvalue.
11371
11372 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11373
11374 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11375 * testsuite/Makefile.in: Likewise.
11376
11377 2002-02-20 Per Bothner <per@bothner.com>
11378
11379 * java/net/URL.java (getPath): New JDK 1.3 method.
11380
11381 * java/net/URLStreamHandler.java (parseURL):
11382 It is wrong to prepend '/' to the file part of a relative url.
11383
11384 * java/net/URLStreamHandler.java (parseURL):
11385 Minor optizations - append '/' rather than "/".
11386
11387 * java/net/URLStreamHandler.java (parseURL):
11388 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11389 We probably should canonicalize for a context-relative url, though.
11390 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11391 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11392 (sameFile): New method. Uses canonicalizeFilename.
11393
11394 2002-02-22 Tom Tromey <tromey@redhat.com>
11395
11396 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11397 java.vendor and java.vm.vendor.
11398 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11399 recent copyright date.
11400 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11401 * gij.cc (version): Print `Inc'.
11402
11403 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11404
11405 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11406 * aclocal.m4, configure: Rebuilt.
11407
11408 2002-02-20 Per Bothner <per@bothner.com>
11409
11410 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11411 and/or output streams immediately here, instead of using File.exists.
11412 (inputStream, outputStream): New fields to save open streams.
11413 (getInputStream, getOutputStream): Use already-opened streams.
11414
11415 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11416
11417 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11418 Use it.
11419 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11420 * aclocal.m4, configure, Makefile.in: Rebuilt.
11421
11422 2002-02-19 Tom Tromey <tromey@redhat.com>
11423
11424 Fix for PR libgcj/5696:
11425 * verify.cc (is_assignable_from_slow): Never call
11426 _Jv_IsAssignableFrom.
11427 (verify_instructions_0): Added new debug statement.
11428 (state::print): Print information about whether local has
11429 changed.
11430 (state::merge): Don't call note_variable when merging locals.
11431 (state::set_exception): Removed old FIXME comment.
11432
11433 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11434
11435 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11436 enable SO_BROADCAST.
11437
11438 2002-02-18 Jason Merrill <jason@redhat.com>
11439
11440 * name-finder.cc (toHex): Use word mode, not long long.
11441
11442 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11443
11444 2002-02-15 Tom Tromey <tromey@redhat.com>
11445
11446 Fix for PR libgcj/5695:
11447 * verify.cc (is_assignable_from_slow): Check to see if target is
11448 an Object before checking to see if source is an interface.
11449 (verify_instructions_0) [op_invokeinterface]: Handle case where
11450 we're making an interface call on Object.
11451
11452 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11453
11454 * Makefile.in: Rebuilt with Eric's change below.
11455
11456 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11457 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11458 Removed functions which are now implemented in Math.java.
11459
11460 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11461
11462 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11463 * Makefile.am (core_java_source_files): Add
11464 java/lang/StrictMath.java.
11465 * java/lang/Math.java: Merge with Classpath.
11466 * java/lang/StrictMath.java: New file - merge with Classpath.
11467
11468 2002-02-14 Mark Wielaard <mark@klomp.org>
11469
11470 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11471 package as a workaround for gcj 3.0.x
11472
11473 2002-02-14 Mark Wielaard <mark@klomp.org>
11474
11475 * java/security/BasicPermission.java: extends with fully qualified
11476 classname as workaround for gcj 3.0.4.
11477
11478 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11479
11480 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11481 around gcj bug of wrong emitted qualifier for inherited method.
11482 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11483 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11484 constructor to reduce amount of emitted bytecode. While this
11485 happens to work around a jikes 1.15 bug, it is still a useful
11486 patch even for correct compilers.
11487 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11488 * gnu/java/rmi/server/UnicastRemoteCall.java
11489 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11490
11491 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11492
11493 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11494 * java/net/SocketImpl.java: Ditto.
11495 * java/rmi/server/RMIClassLoader.java: Ditto.
11496 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11497
11498 2002-02-14 Mark Wielaard <mark@klomp.org>
11499
11500 Thanks to Takashi Okamoto
11501 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11502 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11503 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11504
11505 2002-02-13 Todd Stock <toddastock@yahoo.com>
11506
11507 Fix for PR libgcj/5670:
11508 * verify.cc (is_assignable_from_slow): If `source' is interface,
11509 recursively look for merge with `target'.
11510
11511 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11512
11513 * include/jni.h: Fix typo.
11514
11515 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11516
11517 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11518 correctly.
11519
11520 2002-02-13 Todd Stock <toddastock@yahoo.com>
11521
11522 Fix for PR libgcj/5671:
11523 * verify.cc (state::merge): Handle case where we're merging
11524 against an interface.
11525
11526 2002-02-12 Tom Tromey <tromey@redhat.com>
11527
11528 * exception.cc (std::abort): Mark as noreturn.
11529
11530 2002-02-12 Adam Megacz <adam@xwt.org>
11531
11532 * java/lang/Win32Process.java: Filled in a placeholder
11533 implementation so Win32 will build.
11534
11535 2002-02-12 Adam Megacz <adam@xwt.org>
11536
11537 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11538 * java/io/natFile.cc: Removed from repository.
11539 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11540
11541 2002-02-12 Adam Megacz <adam@xwt.org>
11542
11543 * win32.cc: Added two #includes to make win32.cc compile.
11544
11545 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11546
11547 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11548 declarations.
11549 (_Jv_InitGC): Don't bother locking, as this is always called from a
11550 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11551
11552 2002-02-11 Adam Megacz <adam@xwt.org>
11553
11554 * include/win32.h: Added _Jv_platform_gettimeofday.
11555 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11556
11557 2002-02-11 Adam Megacz <adam@xwt.org>
11558
11559 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11560 Added #undef STRICT to make windows.h and
11561 java/lang/reflect/Modifier.h cooperate.
11562
11563 2002-02-11 Adam Megacz <adam@xwt.org>
11564
11565 * java/io/natFileWin32.cc: Created a placeholder class with lots
11566 of FIXMEs.
11567
11568 2002-02-11 Adam Megacz <adam@xwt.org>
11569
11570 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11571 std::abort() to simply abort(). Also added "fake" std::abort() so
11572 we can #include unwind-pe.h without having to link against
11573 libstdc++-v3.
11574
11575 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11576
11577 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11578
11579 2002-02-08 Tom Tromey <tromey@redhat.com>
11580
11581 * interpret.cc (convert): New function.
11582 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11583 convert.
11584 Include Long.h.
11585
11586 2002-02-08 Anthony Green <green@redhat.com>
11587
11588 * configure.host: Add support for xscale-elf embedded target.
11589
11590 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11591
11592 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11593 dereferenced.
11594 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11595 frame.
11596
11597 2002-02-07 Tom Tromey <tromey@redhat.com>
11598
11599 * java/io/natFile.cc (_access): Use __builtin_alloca.
11600 (_stat): Likewise.
11601 (attr): Likewise.
11602 (getCanonicalPath): Likewise.
11603 (performList): Likewise.
11604 (performMkdir): Likewise.
11605 (performSetReadOnly): Likewise.
11606 (performRenameTo): Likewise.
11607 (performSetLastModified): Likewise.
11608 (performCreate): Likewise.
11609 (performDelete): Likewise.
11610
11611 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11612
11613 * HACKING: Fix URL for the automake-gcj.
11614
11615 2002-02-07 Tom Tromey <tromey@redhat.com>
11616
11617 * java/lang/natThrowable.cc: Updated copyright.
11618 * java/io/natFileWin32.cc: Updated copyright.
11619 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11620 * win32-threads.cc: Updated copyright.
11621 * name-finder.cc: Updated copyright.
11622 * include/name-finder.h: Updated copyright.
11623
11624 * include/name-finder.h: Conditionally include sys/wait.h.
11625 * include/config.h.in: Rebuilt.
11626
11627 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11628 Size buffer based on real size of string.
11629 (_stat): Likewise.
11630 (attr): Likewise.
11631 (getCanonicalPath): Likewise.
11632 (performList): Likewise.
11633 (performMkdir): Likewise.
11634 (performSetReadOnly): Likewise.
11635 (unixroot): Removed.
11636 (performRenameTo): Likewise.
11637 (performSetLastModified): Likewise.
11638 (performCreate): Likewise.
11639 (performDelete): Likewise.
11640 (performListRoots): Always return new array.
11641
11642 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11643 * win32.cc (win32_exception_handler): Now static.
11644 * include/win32.h (_Jv_platform_initialize): Declare.
11645 (win32_exception_handler): Don't declare.
11646 * java/lang/natSystem.cc (currentTimeMillis): Use
11647 _Jv_platform_gettimeofday.
11648 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11649 (_Jv_select): Use new name.
11650 (_Jv_platform_initialize): New function.
11651 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11652 _Jv_gettimeofday.
11653 (_Jv_platform_initialize): Declare.
11654
11655 * configure: Rebuilt.
11656 * configure.in: Removed unnecessary parens.
11657
11658 2002-02-06 Adam Megacz <adam@xwt.org>
11659
11660 * configure.in: Changed mingw) to *mingw*).
11661 * win32.cc: Created this file.
11662 * win32.h: Created this file.
11663 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11664 win32_exception_handler from prims.cc to win32.cc, added
11665 header in win32.h.
11666 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11667 longer needed now that we have platform.h
11668
11669 2002-02-06 Adam Megacz <adam@xwt.org>
11670
11671 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11672 use uint<n>_t instead of LONG and BYTE
11673
11674 2002-02-06 Adam Megacz <adam@xwt.org>
11675
11676 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11677
11678 2002-02-06 Anthony Green <green@redhat.com>
11679
11680 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11681 Implement missing method stubs.
11682 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11683 targets.
11684 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11685 concept of timezones.
11686 (init_properties): Don't refer to _Jv_Environment_Properties
11687 when this feature is not available.
11688 * include/config.h.in: Rebuilt.
11689 * acconfig.h: Add DISABLE_MAIN_ARGS.
11690 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11691 * configure: Rebuilt.
11692 * configure.in: Add --disable-main-args option. Test for
11693 opendir function. Replace AC_CHECK_SIZEOF with
11694 AC_COMPILE_CHECK_SIZEOF.
11695 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11696 * aclocal.m4: Rebuilt.
11697 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11698
11699 2002-02-06 Tom Tromey <tromey@redhat.com>
11700
11701 * verify.cc (require_array_type): If argument is a null array of
11702 references, return null as the element type.
11703
11704 2002-02-06 Mark Wielaard <mark@klomp.org>
11705
11706 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11707 duplicate of a wide type.
11708
11709 2002-02-06 Tom Tromey <tromey@redhat.com>
11710
11711 * verify.cc (type::isnull): New method.
11712 (require_array_type): Handle case where array is null.
11713 (verify_instructions_0) [op_arraylength]: Likewise.
11714
11715 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11716
11717 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11718 Symlink PLATFORMH to platform.h.
11719 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11720 PLATFORMOBJS.
11721 * java/lang/natSystem.cc: #include platform.h not posix.h.
11722 * Makefile.in: Rebuilt with libgcj automake.
11723 * configure: Rebuilt.
11724
11725 2002-02-05 Richard Henderson <rth@redhat.com>
11726
11727 * Makefile.in: Undo munging last change.
11728
11729 2002-02-04 Adam Megacz <adam@xwt.org>
11730
11731 * win32.cc: Created it.
11732 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11733 which is set to posix.cc or win32.cc.
11734 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11735
11736 2002-02-04 Adam Megacz <adam@xwt.org>
11737
11738 * configure.in: Corrected mingw case branches; added * before
11739 and after.
11740
11741 2002-02-04 Adam Megacz <adam@xwt.org>
11742
11743 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11744 if compiling for win32
11745
11746 2002-02-04 Adam Megacz <adam@xwt.org>
11747
11748 * win32-threads.cc: #undef STRICT after gc.h inclusion
11749
11750 2002-02-02 Tom Tromey <tromey@redhat.com>
11751
11752 * Makefile.in: Rebuilt.
11753
11754 2002-02-02 Jason Merrill <jason@redhat.com>
11755
11756 * Makefile.am (clean-nat): New target.
11757
11758 2002-02-02 Tom Tromey <tromey@redhat.com>
11759
11760 * java/io/natFile.cc: Removed old "FIXME" comments.
11761
11762 2002-02-01 Tom Tromey <tromey@redhat.com>
11763
11764 * java/lang/natPosixProcess.cc (myclose): New function.
11765 (fail): Use it.
11766 (startProcess): Likewise.
11767
11768 2002-02-01 Adam Megacz <adam@xwt.org>
11769
11770 * prims.cc: Added #undef STRICT after #include<windows.h>.
11771
11772 2002-02-01 Adam Megacz <adam@xwt.org>
11773
11774 * prims.cc
11775 (_Jv_CreateJavaVM): We now use WIN32 instead of
11776 USE_WIN32_SIGNALLING and USE_WINSOCK.
11777 (win32_exception_handler): Now throws an exception out of
11778 the signal handler; assumes SJLJ.
11779
11780 2002-02-01 Adam Megacz <adam@xwt.org>
11781
11782 * win32-threads.cc:
11783 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11784 wait() algorithm to make it safe.
11785 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11786 Added lazy creation of Win32 Events for better performance
11787 (really_start): This now uses GC_CreateThread so boehm-gc
11788 knows about new threads even when statically linked.
11789
11790 2002-02-01 Adam Megacz <adam@xwt.org>
11791
11792 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11793 enable safer wait() algorithm.
11794 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11795 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11796 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11797 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11798 instead of mutex.
11799 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11800
11801 2002-02-01 Adam Megacz <adam@xwt.org>
11802
11803 * configure.in: Added support for mingw.
11804 * java/lang/Win32Process.java: Created as empty file.
11805 * java/lang/natWin32Process.cc: Created as empty file.
11806
11807 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11808
11809 PR java/4972
11810 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11811 for libiconv in LIBICONV variable.
11812 * configure: Regenerated.
11813
11814 2002-01-31 Tom Tromey <tromey@redhat.com>
11815
11816 * verify.cc (state::enter_subroutine): New method.
11817 (handle_jsr_insn): Use it.
11818 (state::merge): When processing a `ret', correctly use
11819 subroutine's state to determine which local variables have
11820 changed.
11821 (push_exception_jump): Don't let stack overflow.
11822
11823 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11824
11825 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11826 --version output.
11827
11828 2002-01-30 Tom Tromey <tromey@redhat.com>
11829
11830 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11831 parameter for `recv' return type.
11832
11833 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11834 (state::merge): ... not here.
11835 (subr_entry_info): New structure.
11836 (entry_points): New field.
11837 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11838 entry_points.
11839
11840 2002-01-29 Tom Tromey <tromey@redhat.com>
11841
11842 * java/awt/List.java (addNotify): Correctly check to see if peer
11843 does not exist.
11844
11845 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11846 to compute height of each cell, and number of columns to compute
11847 width of each cell.
11848 * java/awt/Window.java (getOwnedWindows): Don't return null.
11849 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11850 of component. Increment x using horizontal gap, not vertical
11851 gap.
11852
11853 2002-01-28 Tom Tromey <tromey@redhat.com>
11854
11855 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11856 `nargs' byte is number of words, not number of arguments.
11857
11858 2002-01-27 Tom Tromey <tromey@redhat.com>
11859
11860 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11861 (when): Likewise.
11862 * java/awt/event/InputEvent.java (modifiers, when): Now
11863 package-private.
11864
11865 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11866 and to-do list.
11867 (state::merge): Use current class' class loader.
11868 (state::print): Print subroutine.
11869 (state::merge): Don't look at subroutine of unmerged `ret'.
11870
11871 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11872
11873 * nogc.cc: Remove warnings.
11874 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11875 New functions.
11876
11877 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11878
11879 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11880 int, int): Remove empty "if" statement to work around compiler bug.
11881 (newPixels(int[], ColorModel, int, int): Likewise.
11882
11883 2002-01-25 Per Bothner <per@bothner.com>
11884
11885 * verify.cc (verify_fail): Change from being a top-level function
11886 to e method of _Jv_BytecodeVerifier. Emit current method name.
11887 Pass the current verifier to type: and state: methods as needed,
11888 for better error messages, and for resolve.
11889 (resolve): Pass current class's loader for Class.forName and
11890 _Jv_FindClassFromSignature, rather than using the default loader.
11891 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11892 (get_type_val_for_signature): Make non-static.
11893 (various methods): Pass start_PC implicitly, not explicitly.
11894
11895 2002-01-25 Tom Tromey <tromey@redhat.com>
11896
11897 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11898 loop termination condition.
11899 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11900 width.
11901
11902 2002-01-24 Tom Tromey <tromey@redhat.com>
11903
11904 * java/awt/Shape.java: Merged with Classpath.
11905 * java/awt/Scrollbar.java: Merged with Classpath.
11906
11907 * java/awt/Container.java (addNotify): Unconditionally call
11908 addNotifyContainerChildren and superclass addNotify.
11909
11910 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11911 getAlpha, not getBlue.
11912
11913 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11914
11915 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11916
11917 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11918 (grabPixels(long)): Wait to be notified that the ImageProducer has
11919 completed.
11920
11921 2002-01-24 Per Bothner <per@bothner.com>
11922
11923 * verify.cc (is_assignable_from_slow): If target is an interface,
11924 we must still check the source's superclass before giving up.
11925
11926 2002-01-24 Tom Tromey <tromey@redhat.com>
11927
11928 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11929
11930 2002-01-23 Tom Tromey <tromey@redhat.com>
11931
11932 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11933 `else'.
11934
11935 * Makefile.in: Rebuilt.
11936 * Makefile.am (awt_java_source_files): Added new files.
11937 * java/awt/Toolkit.java: Merged with Classpath.
11938 * java/awt/PrintGraphics.java: New file from Classpath.
11939 * java/awt/PrintJob.java: New file from Classpath.
11940 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11941 * java/awt/datatransfer/ClipboardOwner.java: New file from
11942 Classpath.
11943 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11944 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11945 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11946 Classpath.
11947 * java/awt/datatransfer/StringSelection.java: New file from
11948 Classpath.
11949 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11950 Classpath.
11951 * java/awt/datatransfer/Transferable.java: New file from
11952 Classpath.
11953 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11954 from Classpath.
11955
11956 * Makefile.in: Rebuilt.
11957 * Makefile.am (awt_java_source_files): Added new files.
11958 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11959 Classpath.
11960 * java/awt/image/CropImageFilter.java: New file from Classpath.
11961 * java/awt/image/FilteredImageSource.java: New file from
11962 Classpath.
11963 * java/awt/image/ImageFilter.java: New file from Classpath.
11964 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11965 * java/awt/image/PixelGrabber.java: New file from Classpath.
11966 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11967 * java/awt/image/ReplicateScaleFilter.java: New file from
11968 Classpath.
11969 * java/awt/image/ImageProducer.java: Replaced with Classpath
11970 version.
11971 * java/awt/image/ImageObserver.java: Replaced with Classpath
11972 version.
11973 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11974 version.
11975 * java/awt/GridBagConstraints.java (clone): Catch
11976 CloneNotSupportedException.
11977
11978 2002-01-23 Per Bothner <per@bothner.com>
11979
11980 * java/lang/reflect/natField.cc (setAddr): New function.
11981 Calls getAddr and then checks that the field isn't final.
11982 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11983 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11984 (set): Call setAddr before check that new value has right type,
11985 to better match specified semantics.
11986
11987 2002-01-22 Tom Tromey <tromey@redhat.com>
11988
11989 * java/awt/TextField.java: Replaced with Classpath version.
11990 * java/awt/TextArea.java: Replaced with Classpath version.
11991 * java/awt/TextComponent.java: Replaced with Classpath version.
11992
11993 * java/awt/GridBagConstraints.java: Updated copyright.
11994
11995 2002-01-22 Mark Wielaard <mark@klomp.org>
11996
11997 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11998 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11999 java/awt/Dialog.java java/awt/FileDialog.java
12000 java/awt/Font.java java/awt/FontMetrics.java
12001 java/awt/Image.java java/awt/ImageMediaEntry.java
12002 java/awt/Insets.java java/awt/List.java
12003 java/awt/MediaEntry.java java/awt/MediaTracker.java
12004 java/awt/Menu.java java/awt/MenuBar.java
12005 java/awt/MenuContainer.java java/awt/MenuShortcut.java
12006 java/awt/PaintContext.java java/awt/Panel.java
12007 java/awt/PopupMenu.java java/awt/SystemColor.java
12008 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12009 java/awt/peer/CheckboxMenuItemPeer.java
12010 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12011 java/awt/peer/ComponentPeer.java
12012 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12013 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12014 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12015 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12016 java/awt/peer/MenuBarPeer.java
12017 java/awt/peer/MenuComponentPeer.java
12018 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12019 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12020 java/awt/peer/ScrollPanePeer.java
12021 java/awt/peer/ScrollbarPeer.java
12022 java/awt/peer/TextAreaPeer.java
12023 java/awt/peer/TextComponentPeer.java
12024 java/awt/peer/TextFieldPeer.java
12025 java/awt/peer/WindowPeer.java: Add license clarification.
12026
12027 2002-01-22 Mark Wielaard <mark@klomp.org>
12028
12029 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12030 gnu/gcj/runtime/StringBuffer.java
12031 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12032 gnu/java/awt/ComponentDataBlitOp.java
12033 gnu/java/awt/GLightweightPeer.java
12034 gnu/java/beans/BeanInfoEmbryo.java
12035 gnu/java/beans/EmptyBeanInfo.java
12036 gnu/java/beans/ExplicitBeanInfo.java
12037 gnu/java/beans/IntrospectionIncubator.java
12038 gnu/java/beans/editors/ColorEditor.java
12039 gnu/java/beans/editors/FontEditor.java
12040 gnu/java/beans/editors/NativeBooleanEditor.java
12041 gnu/java/beans/editors/NativeByteEditor.java
12042 gnu/java/beans/editors/NativeDoubleEditor.java
12043 gnu/java/beans/editors/NativeFloatEditor.java
12044 gnu/java/beans/editors/NativeIntEditor.java
12045 gnu/java/beans/editors/NativeLongEditor.java
12046 gnu/java/beans/editors/NativeShortEditor.java
12047 gnu/java/beans/editors/StringEditor.java
12048 gnu/java/beans/info/ComponentBeanInfo.java
12049 gnu/java/io/ClassLoaderObjectInputStream.java
12050 gnu/java/io/NullOutputStream.java
12051 gnu/java/io/ObjectIdentityWrapper.java
12052 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12053 gnu/java/lang/reflect/TypeSignature.java
12054 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12055 gnu/java/locale/Calendar_en.java
12056 gnu/java/locale/Calendar_nl.java
12057 gnu/java/locale/LocaleInformation.java
12058 gnu/java/locale/LocaleInformation_de.java
12059 gnu/java/locale/LocaleInformation_en.java
12060 gnu/java/locale/LocaleInformation_nl.java
12061 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12062 gnu/java/rmi/registry/RegistryImpl.java
12063 gnu/java/rmi/rmic/Compile_gcj.java
12064 gnu/java/rmi/rmic/Compiler.java
12065 gnu/java/rmi/rmic/CompilerProcess.java
12066 gnu/java/rmi/rmic/RMIC.java
12067 gnu/java/rmi/rmic/TabbedWriter.java
12068 gnu/java/rmi/server/ProtocolConstants.java
12069 gnu/java/rmi/server/RMIDefaultSocketFactory.java
12070 gnu/java/rmi/server/RMIHashes.java
12071 gnu/java/rmi/server/RMIObjectInputStream.java
12072 gnu/java/rmi/server/RMIObjectOutputStream.java
12073 gnu/java/rmi/server/UnicastConnection.java
12074 gnu/java/rmi/server/UnicastConnectionManager.java
12075 gnu/java/rmi/server/UnicastRef.java
12076 gnu/java/rmi/server/UnicastRemoteCall.java
12077 gnu/java/rmi/server/UnicastRemoteStub.java
12078 gnu/java/rmi/server/UnicastServer.java
12079 gnu/java/rmi/server/UnicastServerRef.java
12080 gnu/java/security/provider/DefaultPolicy.java
12081 gnu/java/security/provider/Gnu.java
12082 gnu/java/security/provider/SHA.java
12083 gnu/java/security/provider/SHA1PRNG.java
12084 gnu/java/text/BaseBreakIterator.java
12085 gnu/java/text/CharacterBreakIterator.java
12086 gnu/java/text/LineBreakIterator.java
12087 gnu/java/text/SentenceBreakIterator.java
12088 gnu/java/text/WordBreakIterator.java
12089 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12090 java/applet/AppletContext.java java/applet/AppletStub.java
12091 java/applet/AudioClip.java java/awt/AWTError.java
12092 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12093 java/awt/AWTException.java java/awt/AWTPermission.java
12094 java/awt/ActiveEvent.java java/awt/BorderLayout.java
12095 java/awt/Button.java java/awt/Canvas.java
12096 java/awt/CardLayout.java java/awt/Checkbox.java
12097 java/awt/CheckboxGroup.java java/awt/Component.java
12098 java/awt/ComponentOrientation.java java/awt/Container.java
12099 java/awt/Dimension.java java/awt/Event.java
12100 java/awt/EventDispatchThread.java java/awt/EventQueue.java
12101 java/awt/FlowLayout.java java/awt/Frame.java
12102 java/awt/Graphics.java java/awt/Graphics2D.java
12103 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12104 java/awt/IllegalComponentStateException.java
12105 java/awt/ItemSelectable.java java/awt/Label.java
12106 java/awt/LayoutManager.java java/awt/LayoutManager2.java
12107 java/awt/MenuComponent.java java/awt/MenuItem.java
12108 java/awt/Paint.java java/awt/Point.java
12109 java/awt/Rectangle.java java/awt/RenderingHints.java
12110 java/awt/Transparency.java java/awt/Window.java
12111 java/awt/color/ColorSpace.java
12112 java/awt/color/ICC_ColorSpace.java
12113 java/awt/color/ICC_Profile.java
12114 java/awt/event/HierarchyBoundsAdapter.java
12115 java/awt/event/HierarchyBoundsListener.java
12116 java/awt/event/HierarchyEvent.java
12117 java/awt/event/HierarchyListener.java
12118 java/awt/geom/AffineTransform.java
12119 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12120 java/awt/geom/IllegalPathStateException.java
12121 java/awt/geom/Line2D.java
12122 java/awt/geom/NoninvertibleTransformException.java
12123 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12124 java/awt/geom/Rectangle2D.java
12125 java/awt/geom/RectangularShape.java
12126 java/awt/geom/RoundRectangle2D.java
12127 java/awt/image/BufferedImage.java
12128 java/awt/image/ColorModel.java
12129 java/awt/image/ComponentColorModel.java
12130 java/awt/image/ComponentSampleModel.java
12131 java/awt/image/DataBuffer.java
12132 java/awt/image/DataBufferByte.java
12133 java/awt/image/DataBufferInt.java
12134 java/awt/image/DataBufferUShort.java
12135 java/awt/image/DirectColorModel.java
12136 java/awt/image/PackedColorModel.java
12137 java/awt/image/Raster.java java/awt/image/RasterOp.java
12138 java/awt/image/SampleModel.java
12139 java/awt/image/SinglePixelPackedSampleModel.java
12140 java/awt/image/WritableRaster.java
12141 java/beans/AppletInitializer.java
12142 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12143 java/beans/Beans.java java/beans/Customizer.java
12144 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12145 java/beans/FeatureDescriptor.java
12146 java/beans/IndexedPropertyDescriptor.java
12147 java/beans/IntrospectionException.java
12148 java/beans/Introspector.java java/beans/MethodDescriptor.java
12149 java/beans/ParameterDescriptor.java
12150 java/beans/PropertyChangeEvent.java
12151 java/beans/PropertyChangeListener.java
12152 java/beans/PropertyChangeSupport.java
12153 java/beans/PropertyDescriptor.java
12154 java/beans/PropertyEditor.java
12155 java/beans/PropertyEditorManager.java
12156 java/beans/PropertyEditorSupport.java
12157 java/beans/PropertyVetoException.java
12158 java/beans/SimpleBeanInfo.java
12159 java/beans/VetoableChangeListener.java
12160 java/beans/VetoableChangeSupport.java
12161 java/beans/Visibility.java
12162 java/beans/beancontext/BeanContext.java
12163 java/beans/beancontext/BeanContextChild.java
12164 java/beans/beancontext/BeanContextChildComponentProxy.java
12165 java/beans/beancontext/BeanContextChildSupport.java
12166 java/beans/beancontext/BeanContextContainerProxy.java
12167 java/beans/beancontext/BeanContextEvent.java
12168 java/beans/beancontext/BeanContextMembershipEvent.java
12169 java/beans/beancontext/BeanContextMembershipListener.java
12170 java/beans/beancontext/BeanContextProxy.java
12171 java/beans/beancontext/BeanContextServiceAvailableEvent.java
12172 java/beans/beancontext/BeanContextServiceProvider.java
12173 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12174 java/beans/beancontext/BeanContextServiceRevokedEvent.java
12175 java/beans/beancontext/BeanContextServiceRevokedListener.java
12176 java/beans/beancontext/BeanContextServices.java
12177 java/beans/beancontext/BeanContextServicesListener.java
12178 java/io/BufferedInputStream.java
12179 java/io/BufferedOutputStream.java java/io/BufferedReader.java
12180 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12181 java/io/ByteArrayOutputStream.java
12182 java/io/CharArrayReader.java java/io/CharArrayWriter.java
12183 java/io/CharConversionException.java java/io/DataInput.java
12184 java/io/DataInputStream.java java/io/DataOutput.java
12185 java/io/EOFException.java java/io/Externalizable.java
12186 java/io/FileFilter.java java/io/FileNotFoundException.java
12187 java/io/FilePermission.java java/io/FileReader.java
12188 java/io/FileWriter.java java/io/FilenameFilter.java
12189 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12190 java/io/FilterReader.java java/io/FilterWriter.java
12191 java/io/IOException.java java/io/InputStream.java
12192 java/io/InterruptedIOException.java
12193 java/io/InvalidClassException.java
12194 java/io/InvalidObjectException.java
12195 java/io/NotActiveException.java
12196 java/io/NotSerializableException.java java/io/ObjectInput.java
12197 java/io/ObjectInputStream.java
12198 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12199 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12200 java/io/ObjectStreamConstants.java
12201 java/io/ObjectStreamException.java
12202 java/io/ObjectStreamField.java
12203 java/io/OptionalDataException.java java/io/OutputStream.java
12204 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12205 java/io/PipedReader.java java/io/PipedWriter.java
12206 java/io/PrintWriter.java java/io/PushbackInputStream.java
12207 java/io/PushbackReader.java java/io/Reader.java
12208 java/io/SequenceInputStream.java java/io/Serializable.java
12209 java/io/SerializablePermission.java
12210 java/io/StreamCorruptedException.java
12211 java/io/StreamTokenizer.java
12212 java/io/StringBufferInputStream.java java/io/StringReader.java
12213 java/io/StringWriter.java java/io/SyncFailedException.java
12214 java/io/UTFDataFormatException.java
12215 java/io/UnsupportedEncodingException.java
12216 java/io/WriteAbortedException.java java/io/Writer.java
12217 java/lang/AbstractMethodError.java
12218 java/lang/ArithmeticException.java
12219 java/lang/ArrayIndexOutOfBoundsException.java
12220 java/lang/ArrayStoreException.java java/lang/Boolean.java
12221 java/lang/Byte.java java/lang/CharSequence.java
12222 java/lang/ClassCastException.java
12223 java/lang/ClassCircularityError.java
12224 java/lang/ClassFormatError.java
12225 java/lang/ClassNotFoundException.java
12226 java/lang/CloneNotSupportedException.java
12227 java/lang/Cloneable.java java/lang/Comparable.java
12228 java/lang/Compiler.java java/lang/Double.java
12229 java/lang/Error.java java/lang/Exception.java
12230 java/lang/ExceptionInInitializerError.java
12231 java/lang/Float.java java/lang/IllegalAccessError.java
12232 java/lang/IllegalAccessException.java
12233 java/lang/IllegalArgumentException.java
12234 java/lang/IllegalMonitorStateException.java
12235 java/lang/IllegalStateException.java
12236 java/lang/IllegalThreadStateException.java
12237 java/lang/IncompatibleClassChangeError.java
12238 java/lang/IndexOutOfBoundsException.java
12239 java/lang/InheritableThreadLocal.java
12240 java/lang/InstantiationError.java
12241 java/lang/InstantiationException.java java/lang/Integer.java
12242 java/lang/InternalError.java
12243 java/lang/InterruptedException.java
12244 java/lang/LinkageError.java java/lang/Long.java
12245 java/lang/NegativeArraySizeException.java
12246 java/lang/NoClassDefFoundError.java
12247 java/lang/NoSuchFieldError.java
12248 java/lang/NoSuchFieldException.java
12249 java/lang/NoSuchMethodError.java
12250 java/lang/NoSuchMethodException.java
12251 java/lang/NullPointerException.java java/lang/Number.java
12252 java/lang/NumberFormatException.java
12253 java/lang/OutOfMemoryError.java java/lang/Package.java
12254 java/lang/Process.java java/lang/Runnable.java
12255 java/lang/RuntimeException.java
12256 java/lang/RuntimePermission.java
12257 java/lang/SecurityException.java
12258 java/lang/SecurityManager.java java/lang/Short.java
12259 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12260 java/lang/StringIndexOutOfBoundsException.java
12261 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12262 java/lang/ThreadLocal.java java/lang/UnknownError.java
12263 java/lang/UnsatisfiedLinkError.java
12264 java/lang/UnsupportedClassVersionError.java
12265 java/lang/UnsupportedOperationException.java
12266 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12267 java/lang/Void.java java/lang/ref/PhantomReference.java
12268 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12269 java/lang/ref/SoftReference.java
12270 java/lang/ref/WeakReference.java
12271 java/lang/reflect/AccessibleObject.java
12272 java/lang/reflect/InvocationTargetException.java
12273 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12274 java/lang/reflect/ReflectPermission.java
12275 java/math/BigDecimal.java java/math/BigInteger.java
12276 java/net/Authenticator.java java/net/BindException.java
12277 java/net/ConnectException.java java/net/ContentHandler.java
12278 java/net/ContentHandlerFactory.java
12279 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12280 java/net/FileNameMap.java java/net/MalformedURLException.java
12281 java/net/MulticastSocket.java java/net/NetPermission.java
12282 java/net/NoRouteToHostException.java
12283 java/net/PasswordAuthentication.java
12284 java/net/ProtocolException.java java/net/ServerSocket.java
12285 java/net/Socket.java java/net/SocketException.java
12286 java/net/SocketImpl.java java/net/SocketImplFactory.java
12287 java/net/SocketOptions.java java/net/SocketPermission.java
12288 java/net/URLDecoder.java java/net/URLEncoder.java
12289 java/net/URLStreamHandlerFactory.java
12290 java/net/UnknownHostException.java
12291 java/net/UnknownServiceException.java
12292 java/rmi/AccessException.java
12293 java/rmi/AlreadyBoundException.java
12294 java/rmi/ConnectException.java
12295 java/rmi/ConnectIOException.java
12296 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12297 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12298 java/rmi/NotBoundException.java
12299 java/rmi/RMISecurityException.java
12300 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12301 java/rmi/RemoteException.java java/rmi/ServerError.java
12302 java/rmi/ServerException.java
12303 java/rmi/ServerRuntimeException.java
12304 java/rmi/StubNotFoundException.java
12305 java/rmi/UnexpectedException.java
12306 java/rmi/UnknownHostException.java
12307 java/rmi/UnmarshalException.java
12308 java/rmi/activation/Activatable.java
12309 java/rmi/activation/ActivateFailedException.java
12310 java/rmi/activation/ActivationDesc.java
12311 java/rmi/activation/ActivationException.java
12312 java/rmi/activation/ActivationGroup.java
12313 java/rmi/activation/ActivationGroupDesc.java
12314 java/rmi/activation/ActivationGroupID.java
12315 java/rmi/activation/ActivationID.java
12316 java/rmi/activation/ActivationInstantiator.java
12317 java/rmi/activation/ActivationMonitor.java
12318 java/rmi/activation/ActivationSystem.java
12319 java/rmi/activation/Activator.java
12320 java/rmi/activation/UnknownGroupException.java
12321 java/rmi/activation/UnknownObjectException.java
12322 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12323 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12324 java/rmi/registry/Registry.java
12325 java/rmi/registry/RegistryHandler.java
12326 java/rmi/server/ExportException.java
12327 java/rmi/server/LoaderHandler.java
12328 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12329 java/rmi/server/Operation.java
12330 java/rmi/server/RMIClassLoader.java
12331 java/rmi/server/RMIClientSocketFactory.java
12332 java/rmi/server/RMIFailureHandler.java
12333 java/rmi/server/RMIServerSocketFactory.java
12334 java/rmi/server/RMISocketFactory.java
12335 java/rmi/server/RemoteCall.java
12336 java/rmi/server/RemoteObject.java
12337 java/rmi/server/RemoteRef.java
12338 java/rmi/server/RemoteServer.java
12339 java/rmi/server/RemoteStub.java
12340 java/rmi/server/ServerCloneException.java
12341 java/rmi/server/ServerNotActiveException.java
12342 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12343 java/rmi/server/SkeletonMismatchException.java
12344 java/rmi/server/SkeletonNotFoundException.java
12345 java/rmi/server/SocketSecurityException.java
12346 java/rmi/server/UID.java
12347 java/rmi/server/UnicastRemoteObject.java
12348 java/rmi/server/Unreferenced.java
12349 java/security/AccessControlContext.java
12350 java/security/AccessControlException.java
12351 java/security/AccessController.java
12352 java/security/AlgorithmParameterGenerator.java
12353 java/security/AlgorithmParameterGeneratorSpi.java
12354 java/security/AlgorithmParameters.java
12355 java/security/AlgorithmParametersSpi.java
12356 java/security/AllPermission.java
12357 java/security/BasicPermission.java
12358 java/security/Certificate.java java/security/CodeSource.java
12359 java/security/DigestException.java
12360 java/security/DigestInputStream.java
12361 java/security/DigestOutputStream.java
12362 java/security/DomainCombiner.java
12363 java/security/DummyKeyPairGenerator.java
12364 java/security/DummyMessageDigest.java
12365 java/security/DummySignature.java
12366 java/security/GeneralSecurityException.java
12367 java/security/Guard.java java/security/GuardedObject.java
12368 java/security/Identity.java java/security/IdentityScope.java
12369 java/security/InvalidAlgorithmParameterException.java
12370 java/security/InvalidKeyException.java
12371 java/security/InvalidParameterException.java
12372 java/security/Key.java java/security/KeyException.java
12373 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12374 java/security/KeyManagementException.java
12375 java/security/KeyPair.java java/security/KeyPairGenerator.java
12376 java/security/KeyPairGeneratorSpi.java
12377 java/security/KeyStore.java
12378 java/security/KeyStoreException.java
12379 java/security/KeyStoreSpi.java
12380 java/security/MessageDigest.java
12381 java/security/MessageDigestSpi.java
12382 java/security/NoSuchAlgorithmException.java
12383 java/security/NoSuchProviderException.java
12384 java/security/Permission.java
12385 java/security/PermissionCollection.java
12386 java/security/Permissions.java java/security/Policy.java
12387 java/security/Principal.java java/security/PrivateKey.java
12388 java/security/PrivilegedAction.java
12389 java/security/PrivilegedActionException.java
12390 java/security/PrivilegedExceptionAction.java
12391 java/security/ProtectionDomain.java
12392 java/security/Provider.java
12393 java/security/ProviderException.java
12394 java/security/PublicKey.java
12395 java/security/SecureClassLoader.java
12396 java/security/SecureRandom.java
12397 java/security/SecureRandomSpi.java java/security/Security.java
12398 java/security/SecurityPermission.java
12399 java/security/Signature.java
12400 java/security/SignatureException.java
12401 java/security/SignatureSpi.java
12402 java/security/SignedObject.java java/security/Signer.java
12403 java/security/UnrecoverableKeyException.java
12404 java/security/UnresolvedPermission.java
12405 java/security/acl/Acl.java java/security/acl/AclEntry.java
12406 java/security/acl/AclNotFoundException.java
12407 java/security/acl/Group.java
12408 java/security/acl/LastOwnerException.java
12409 java/security/acl/NotOwnerException.java
12410 java/security/acl/Owner.java java/security/acl/Permission.java
12411 java/security/cert/CRL.java
12412 java/security/cert/CRLException.java
12413 java/security/cert/Certificate.java
12414 java/security/cert/CertificateEncodingException.java
12415 java/security/cert/CertificateException.java
12416 java/security/cert/CertificateExpiredException.java
12417 java/security/cert/CertificateFactory.java
12418 java/security/cert/CertificateFactorySpi.java
12419 java/security/cert/CertificateNotYetValidException.java
12420 java/security/cert/CertificateParsingException.java
12421 java/security/cert/X509CRL.java
12422 java/security/cert/X509CRLEntry.java
12423 java/security/cert/X509Certificate.java
12424 java/security/cert/X509Extension.java
12425 java/security/interfaces/DSAKey.java
12426 java/security/interfaces/DSAKeyPairGenerator.java
12427 java/security/interfaces/DSAParams.java
12428 java/security/interfaces/DSAPrivateKey.java
12429 java/security/interfaces/DSAPublicKey.java
12430 java/security/interfaces/RSAKey.java
12431 java/security/interfaces/RSAPrivateCrtKey.java
12432 java/security/interfaces/RSAPrivateKey.java
12433 java/security/interfaces/RSAPublicKey.java
12434 java/security/spec/AlgorithmParameterSpec.java
12435 java/security/spec/DSAParameterSpec.java
12436 java/security/spec/DSAPrivateKeySpec.java
12437 java/security/spec/DSAPublicKeySpec.java
12438 java/security/spec/EncodedKeySpec.java
12439 java/security/spec/InvalidKeySpecException.java
12440 java/security/spec/InvalidParameterSpecException.java
12441 java/security/spec/KeySpec.java
12442 java/security/spec/PKCS8EncodedKeySpec.java
12443 java/security/spec/RSAKeyGenParameterSpec.java
12444 java/security/spec/RSAPrivateCrtKeySpec.java
12445 java/security/spec/RSAPrivateKeySpec.java
12446 java/security/spec/RSAPublicKeySpec.java
12447 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12448 java/sql/BatchUpdateException.java java/sql/Blob.java
12449 java/sql/CallableStatement.java java/sql/Clob.java
12450 java/sql/Connection.java java/sql/DataTruncation.java
12451 java/sql/DatabaseMetaData.java java/sql/Date.java
12452 java/sql/Driver.java java/sql/DriverManager.java
12453 java/sql/DriverPropertyInfo.java
12454 java/sql/PreparedStatement.java java/sql/Ref.java
12455 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12456 java/sql/SQLData.java java/sql/SQLException.java
12457 java/sql/SQLInput.java java/sql/SQLOutput.java
12458 java/sql/SQLWarning.java java/sql/Statement.java
12459 java/sql/Struct.java java/sql/Time.java
12460 java/sql/Timestamp.java java/sql/Types.java
12461 java/text/Annotation.java
12462 java/text/AttributedCharacterIterator.java
12463 java/text/AttributedString.java
12464 java/text/AttributedStringIterator.java
12465 java/text/BreakIterator.java java/text/CharacterIterator.java
12466 java/text/ChoiceFormat.java java/text/Collator.java
12467 java/text/DateFormat.java java/text/DateFormatSymbols.java
12468 java/text/DecimalFormat.java
12469 java/text/DecimalFormatSymbols.java
12470 java/text/FieldPosition.java java/text/Format.java
12471 java/text/MessageFormat.java java/text/NumberFormat.java
12472 java/text/ParseException.java java/text/ParsePosition.java
12473 java/text/SimpleDateFormat.java
12474 java/text/StringCharacterIterator.java
12475 java/util/AbstractCollection.java java/util/AbstractList.java
12476 java/util/AbstractMap.java
12477 java/util/AbstractSequentialList.java
12478 java/util/AbstractSet.java java/util/ArrayList.java
12479 java/util/Arrays.java java/util/BasicMapEntry.java
12480 java/util/BitSet.java java/util/Calendar.java
12481 java/util/Collection.java java/util/Collections.java
12482 java/util/Comparator.java
12483 java/util/ConcurrentModificationException.java
12484 java/util/Date.java java/util/Dictionary.java
12485 java/util/EmptyStackException.java java/util/Enumeration.java
12486 java/util/EventListener.java java/util/EventObject.java
12487 java/util/GregorianCalendar.java java/util/HashMap.java
12488 java/util/HashSet.java java/util/Hashtable.java
12489 java/util/IdentityHashMap.java java/util/Iterator.java
12490 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12491 java/util/LinkedList.java java/util/List.java
12492 java/util/ListIterator.java java/util/ListResourceBundle.java
12493 java/util/Locale.java java/util/Map.java
12494 java/util/MissingResourceException.java
12495 java/util/NoSuchElementException.java
12496 java/util/Observable.java java/util/Observer.java
12497 java/util/Properties.java java/util/PropertyPermission.java
12498 java/util/PropertyResourceBundle.java java/util/Random.java
12499 java/util/RandomAccess.java java/util/ResourceBundle.java
12500 java/util/Set.java java/util/SimpleTimeZone.java
12501 java/util/SortedMap.java java/util/SortedSet.java
12502 java/util/Stack.java java/util/StringTokenizer.java
12503 java/util/TimeZone.java java/util/Timer.java
12504 java/util/TimerTask.java
12505 java/util/TooManyListenersException.java
12506 java/util/TreeMap.java java/util/TreeSet.java
12507 java/util/Vector.java java/util/WeakHashMap.java
12508 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12509 java/util/jar/JarException.java java/util/jar/JarFile.java
12510 java/util/jar/JarInputStream.java
12511 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12512 java/util/zip/Adler32.java java/util/zip/CRC32.java
12513 java/util/zip/CheckedInputStream.java
12514 java/util/zip/CheckedOutputStream.java
12515 java/util/zip/Checksum.java
12516 java/util/zip/DataFormatException.java
12517 java/util/zip/Deflater.java
12518 java/util/zip/DeflaterOutputStream.java
12519 java/util/zip/GZIPInputStream.java
12520 java/util/zip/GZIPOutputStream.java
12521 java/util/zip/Inflater.java
12522 java/util/zip/InflaterInputStream.java
12523 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12524 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12525 java/util/zip/ZipInputStream.java
12526 java/util/zip/ZipOutputStream.java
12527 javax/naming/BinaryRefAddr.java
12528 javax/naming/InvalidNameException.java javax/naming/Name.java
12529 javax/naming/NamingException.java javax/naming/RefAddr.java
12530 javax/naming/StringRefAddr.java: Add license clarification.
12531
12532 2002-01-22 Tom Tromey <tromey@redhat.com>
12533
12534 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12535 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12536 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12537 version.
12538 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12539 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12540 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12541 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12542 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12543 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12544 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12545 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12546 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12547 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12548 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12549 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12550 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12551 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12552 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12553 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12554 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12555 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12556 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12557 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12558 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12559 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12560 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12561 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12562 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12563 (minimumSize, preferredSize, reshape): Likewise.
12564 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12565 getColorModel): New methods.
12566 * java/awt/PopupMenu.java: Merged with Classpath.
12567 * java/awt/MenuBar.java: Merged with Classpath.
12568 * java/awt/SystemColor.java: Replace with Classpath version.
12569 * java/awt/Panel.java: Merged with Classpath.
12570 * java/awt/PaintContext.java: Updated copyright.
12571 * java/awt/MenuShortcut.java: Merged with Classpath.
12572 * java/awt/MenuContainer.java: Merged with Classpath.
12573 * java/awt/Menu.java: Merged with Classpath.
12574 * java/awt/MediaEntry.java: New file from Classpath.
12575 * java/awt/MediaTracker.java: New file from Classpath.
12576 * java/awt/List.java: Merged with Classpath version.
12577 * java/awt/Insets.java: Merged with Classpath version.
12578 * java/awt/ImageMediaEntry.java: New file from Classpath.
12579 * java/awt/Image.java: Replaced with Classpath version.
12580 * java/awt/FontMetrics.java: Merged with Classpath version.
12581 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12582 constant.
12583 * java/awt/Font.java: Merged with Classpath version.
12584 * java/awt/Dialog.java: Merged with Classpath version.
12585 * java/awt/Color.java: Merged with Classpath version.
12586 * java/awt/Choice.java: Merged with Classpath version.
12587 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12588 * java/awt/Adjustable.java: Replace with Classpath version.
12589 * java/awt/MenuItem.java (paramString): Don't include class name
12590 or brackets. Call superclass paramString.
12591 * java/awt/MenuComponent.java (toString): Call paramString.
12592 (paramString): Compute string; don't call toString.
12593 * java/awt/Label.java (paramString): Don't include class name
12594 or brackets. Call superclass paramString.
12595 * java/awt/Checkbox.java (paramString): Don't include class name
12596 or brackets. Call superclass paramString.
12597 * java/awt/Button.java (paramString): Don't include class name or
12598 brackets. Call superclass paramString.
12599 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12600
12601 2002-01-20 Andreas Schwab <schwab@suse.de>
12602
12603 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12604 function and of parameter recv_func to ssize_t, as specified by
12605 POSIX.
12606
12607 2002-01-19 Per Bothner <per@bothner.com>
12608
12609 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12610 uncompressed_size in readiness for next entry.
12611
12612 2002-01-18 Tom Tromey <tromey@redhat.com>
12613
12614 * java/net/natPlainSocketImpl.cc: Include
12615 IllegalArgumentException.h.
12616 (_Jv_recv): New template function.
12617 (BooleanClass): Removed.
12618 (read): Use _Jv_recv.
12619 (setOption): Use Boolean::class$. Throw exception if object is
12620 not Boolean or Integer.
12621
12622 2002-01-17 Tom Tromey <tromey@redhat.com>
12623
12624 * java/awt/MenuComponent.java: Merged with Classpath.
12625 * java/awt/MenuItem.java: Merged with Classpath.
12626 * java/awt/Button.java: Merged with Classpath.
12627
12628 * java/awt/ActiveEvent.java: Updated copyright.
12629
12630 * java/awt/AWTError.java: Replaced with Classpath version.
12631 * java/awt/AWTException.java: Replaced with Classpath version.
12632 * java/awt/IllegalComponentStateException.java: Replaced with
12633 Classpath version.
12634
12635 2002-01-16 Tom Tromey <tromey@redhat.com>
12636
12637 * java/awt/Canvas.java (serialVersionUID): New constant.
12638 Updated copyright. Added javadoc from Classpath.
12639 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12640
12641 * java/awt/CheckboxGroup.java: Merged with Classpath.
12642 * java/awt/Checkbox.java: Merged with Classpath.
12643
12644 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12645 Classpath.
12646 * java/awt/Point.java: Updated copyright.
12647
12648 * java/awt/Point.java (toString): Use getClass().getName().
12649 Added javadoc.
12650
12651 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12652 commented code.
12653 (hash): Correctly compute initial value for `h'.
12654
12655 * java/awt/Label.java: Merged with Classpath.
12656
12657 2002-01-15 Tom Tromey <tromey@redhat.com>
12658
12659 * java/awt/AWTPermission.java: Updated copyright.
12660
12661 * java/awt/LayoutManager2.java: Merged with Classpath.
12662 * java/awt/LayoutManager.java: Merged with Classpath.
12663 * java/awt/GridLayout.java: Updated copyright and javadoc.
12664 (getSize): Use `parent.ncomponents'. Handle insets.
12665 (layoutContainer): Use `parent.ncomponents'. Handle case where
12666 there are fewer children than columns. Correctly compute size of
12667 each cell in the grid. Handle case where there isn't enough
12668 space.
12669 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12670 all users.
12671 (gotoComponent): Use parent.ncomponents. Ensure child exists
12672 before calling setVisible() on it. Last item is `num - 1', not
12673 `num'.
12674 (layoutContainer): Hoist invariants out of loop.
12675
12676 Start of AWT merge with Classpath:
12677 * Makefile.in: Rebuilt.
12678 * Makefile.am (awt_java_source_files): Reference files in
12679 gnu/java/awt, not gnu/gcj/awt.
12680 * java/awt/image/BufferedImage.java: Updated copyright.
12681 * java/awt/image/ComponentColorModel.java: Updated copyright.
12682 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12683 * java/awt/image/DataBuffer.java: Updated copyright.
12684 * java/awt/image/DataBufferByte.java: Updated copyright.
12685 * java/awt/image/DataBufferInt.java: Updated copyright.
12686 * java/awt/image/DataBufferUShort.java: Updated copyright.
12687 * java/awt/image/IndexColorModel.java: Updated copyright.
12688 * java/awt/image/PackedColorModel.java: Updated copyright.
12689 * java/awt/image/Raster.java: Updated copyright.
12690 * java/awt/image/RasterOp.java: Updated copyright.
12691 * java/awt/image/SampleModel.java: Updated copyright.
12692 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12693 * java/awt/image/WritableRaster.java: Updated copyright.
12694 * java/awt/color/ColorSpace.java: Updated copyright.
12695 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12696 * java/awt/color/ICC_Profile.java: Updated copyright.
12697 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12698 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12699 * java/awt/event/HierarchyEvent.java: Updated copyright.
12700 * java/awt/event/HierarchyListener.java: Updated copyright.
12701 * java/awt/geom/AffineTransform.java: Updated copyright.
12702 * java/awt/geom/Dimension2D.java: Updated copyright.
12703 * java/awt/geom/Ellipse2D.java: Updated copyright.
12704 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12705 * java/awt/geom/Line2D.java: Updated copyright.
12706 * java/awt/geom/NoninvertibleTransformException.java: Updated
12707 copyright.
12708 * java/awt/geom/PathIterator.java: Updated copyright.
12709 * java/awt/geom/Point2D.java: Updated copyright.
12710 * java/awt/geom/Rectangle2D.java: Updated copyright.
12711 * java/awt/geom/RectangularShape.java: Updated copyright.
12712 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12713 * java/awt/Toolkit.java: Updated import for file moves.
12714 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12715 Classpath.
12716 (hashCode): New method from Classpath.
12717 * java/awt/Graphics2D.java: Updated copyright.
12718 * java/awt/Transparency.java: Updated copyright.
12719 * java/awt/Paint.java: Updated copyright.
12720 * java/awt/Graphics.java: New version from Classpath.
12721 * java/awt/EventDispatchThread.java: Updated copyright.
12722 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12723 children.
12724 (gotoComponent): Wrap around on next/previous.
12725 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12726 * gnu/gcj/awt/Buffers.java: Removed.
12727 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12728 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12729 * gnu/java/awt/BitMaskExtent.java: Added.
12730 * gnu/java/awt/Buffers.java: Added.
12731 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12732 * gnu/java/awt/GLightweightPeer.java: Added.
12733 * java/awt/geom/Line2D.java (clone): Ignore
12734 CloneNotSupportedException.
12735 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12736 * java/awt/Frame.java: Merged with Classpath.
12737 * java/awt/RenderingHints.java: Copyright update.
12738 * java/awt/Paint.java: Copyright update.
12739 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12740 * java/awt/image/ColorModel.java: Merged with Classpath.
12741 * java/awt/Window.java (show): New Implementation from Classpath.
12742 (isShowing): Use super.isShowing().
12743 * java/awt/EventQueue.java: Merged with Classpath.
12744 * java/awt/AWTEventMulticaster.java (save): Throw
12745 RuntimeException.
12746 (saveInternal): Likewise.
12747 * java/awt/AWTEvent.java: Now implements Serializable.
12748 * java/awt/Event.java: Copyright update.
12749 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12750 * java/awt/image/BufferedImage.java: Copyright update.
12751 * java/awt/GraphicsConfiguration.java: Copyright update.
12752 * java/awt/Component.java: (addNotify): Don't call
12753 addNotifyContainerChildren().
12754 (addNotifyContainerChildren): Removed.
12755 (setPeer): New method from Classpath.
12756 (setTreeLock): Likewise.
12757 (setVisible): Rewrote.
12758 (show): Use it.
12759 (hide): Likewise.
12760 (validate): Set `valid'.
12761 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12762 (createImage(ImageProducer)): Likewise.
12763 (prepareImage): Likewise.
12764 * java/awt/Container.java (addImpl): Handle case where constraint
12765 is not a String. Post event via system event queue.
12766 (remove): Post event via system event queue.
12767 (validateTree): Only validate child if it is invalid.
12768 (getAlignmentX): Call super method as default.
12769 (getAlignmentY): Likewise.
12770 (addContainerListener): Now synchronized.
12771 (removeContainerListener): Likewise.
12772 (addNotifyContainerChildren): Now private.
12773 * java/awt/ComponentOrientation.java: Updated copyright. Added
12774 @author.
12775 * java/awt/FlowLayout.java (serialVersionUID): New field.
12776 (setAlignment): Better exception message.
12777 (layoutContainer): Don't compute component's preferred size unless
12778 we're going to use it.
12779 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12780 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12781 (firstLine, lastLine, firstItem, lastItem): New fields.
12782 (addLayoutComponent): Handle case where constraints is null.
12783 Also, handle relative locations.
12784 (removeLayoutComponent): Handle relative locations.
12785 (MIN, MAX, PREF): New constants.
12786 (calcCompSize): New method.
12787 (calcSize): New method.
12788 (minimumLayoutSize): Use it.
12789 (preferredLayoutSize): Likewise.
12790 (maximumLayoutSize): Likewise.
12791 (toString): Include more information.
12792 (setBounds): New method.
12793 (layoutContainer): Use libgcj implementation; extended to handle
12794 relative locations.
12795
12796 2002-01-15 Tom Tromey <tromey@redhat.com>
12797
12798 * java/lang/Float.java (equals): Preserve old code.
12799 * java/lang/Double.java (equals): Preserve old code.
12800
12801 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12802
12803 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12804 * java/lang/Float.java (equals, compare): Ditto.
12805
12806 2002-01-13 Mark Wielaard <mark@klomp.org>
12807
12808 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12809 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12810 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12811 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12812
12813 2002-01-11 Mark Wielaard <mark@klomp.org>
12814
12815 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12816 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12817 InetAddress.
12818 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12819 * java/net/Socket.java: Merge with Classpath.
12820 * java/net/ServerSocket.java: Likewise.
12821
12822 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12823
12824 * interpret.cc (NULLARRAYCHECK): New macro.
12825 (SAVE_PC): Just store `pc'.
12826 (find_exception): Subtract one from `pc' here.
12827 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12828 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12829 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12830 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12831 don't call SAVE_PC.
12832 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12833 call SAVE_PC.
12834
12835 2002-01-11 Tom Tromey <tromey@redhat.com>
12836
12837 * java/lang/natSystem.cc (init_properties): Only look for default
12838 locale if LC_MESSAGES is defined.
12839 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12840 * configure.in: Call AM_LC_MESSAGES.
12841 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12842
12843 2002-01-10 Tom Tromey <tromey@redhat.com>
12844
12845 For PR libgcj/5303:
12846 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12847 --version. Recognize GNU-style long options. Print GNU-style
12848 error messages.
12849 (usage): Print GNU-style help. Exit with status 0.
12850 (error): New method.
12851 (run): Print error message if no class names found.
12852 (main): Don't print usage on error.
12853
12854 2002-01-09 Tom Tromey <tromey@redhat.com>
12855
12856 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12857 property.
12858 (help, version): Use println(), not println("").
12859
12860 For PR libgcj/5303:
12861 * gnu/gcj/convert/Convert.java (error): Program is called
12862 `jv-convert'. Print GNU-style message. Exit with status 1, not
12863 -1.
12864 (main): Handle --help and --version.
12865 (help): New method.
12866 (version): Likewise.
12867
12868 2002-01-08 Tom Tromey <tromey@redhat.com>
12869
12870 * Makefile.in: Rebuilt.
12871 * Makefile.am (ordinary_java_source_files): Added new files.
12872 * gnu/java/locale/LocaleInformation.java: Extend
12873 LocaleInformation_en.
12874 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12875 and time/date formats.
12876 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12877 generated.
12878 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12879 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12880 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12881 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12882 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12883 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12884 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12885 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12886 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12887 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12888 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12889 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12890 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12891 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12892 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12893 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12894 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12895 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12896 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12897 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12898 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12899 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12900 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12901 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12902 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12903 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12904 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12905 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12906 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12907 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12908 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12909 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12910 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12911 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12912 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12913 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12914 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12915 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12916 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12917 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12918 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12919 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12920 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12921 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12922 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12923 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12924 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12925 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12926 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12927 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12928 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12929 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12930 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12931 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12932 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12933 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12934 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12935 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12936 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12937 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12938 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12939 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12940 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12941 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12942 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12943 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12944 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12945 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12946 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12947 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12948 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12949 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12950 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12951 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12952 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12953 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12954 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12955 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12956 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12957 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12958 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12959 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12960 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12961 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12962 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12963 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12964 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12965 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12966 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12967 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12968 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12969 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12970 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12971 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12972 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12973 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12974 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12975 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12976 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12977 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12978 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12979 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12980 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12981 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12982 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12983 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12984 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12985 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12986 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12987 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12988 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12989 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12990 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12991 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12992 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12993 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12994 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12995 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12996 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12997 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12998 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12999 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13000 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13001 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13002 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13003 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13004 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13005 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13006 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13007 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13008
13009 For PR libgcj/5031:
13010 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13011 choose default locale.
13012
13013 * Makefile.in: Rebuilt.
13014 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13015
13016 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
13017
13018 * java/net/natPlainSocketImpl.cc: Added timeout handling for
13019 sockets.
13020 (close): New function closes the socket.
13021 (write): New functions for output to socket.
13022 (read): New functions for reading from socket.
13023 * java/net/PlainSocketImpl.java: Glue for new timeout
13024 implementation.
13025 (write): Call the native impl.
13026 (read): Likewise.
13027 (getInputStream): Get a stream to read from the socket.
13028 (getOutputStream): Get a stream to write to the socket.
13029
13030 2002-01-08 Tom Tromey <tromey@redhat.com>
13031
13032 * resolve.cc (_Jv_PrepareClass): Enable verifier.
13033
13034 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
13035
13036 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13037 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13038
13039 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
13040
13041 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13042 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13043 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13044 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13045 insn_bastore, insn_castore, insn_sastore]: Use it.
13046 (continue1) [insn_arraylength]: Check for null array.
13047
13048 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13049
13050 * configure, include/config.h.in: Rebuilt.
13051 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13052 * configure.in: Call AC_STRUCT_TIMEZONE.
13053
13054 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13055
13056 * configure.host: Disable the interpreter for Darwin.
13057
13058 2002-01-04 Tom Tromey <tromey@redhat.com>
13059
13060 * java/lang/Thread.java (stop): No longer synchronized.
13061 (start): Likewise.
13062
13063 2002-01-02 Tom Tromey <tromey@redhat.com>
13064
13065 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13066 patch.
13067
13068 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
13069
13070 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13071 PPC Darwin, not for all of Darwin.