EventQueue.java (currentEvent, lastWhen): New fields.
[gcc.git] / libjava / ChangeLog
1 2003-08-11 Tom Tromey <tromey@redhat.com>
2
3 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
4 (postEvent): Removed FIXME comment.
5 (isDispatchThread): Documented.
6 (getCurrentEvent): New method.
7 (dispatchEvent): Set currentEvent and lastWhen.
8 (getMostRecentEventTime): Rewrote.
9 (invokeLater): Documented.
10
11 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
12
13 * java/io/PrintStream.java (print): Always flush if auto_flush is
14 set. Don't check for newline characters.
15 (write (int)): Implement without using a temporary array.
16 (write (byte[], int, int): Always flush if auto_flush is set. Don't
17 check for newline characters.
18 Fixes PR libgcj/11778.
19
20 2003-08-08 Andrew Haley <aph@redhat.com>
21
22 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
23 * Makefile.in: Rebuild.
24 * java/lang/natRuntime.cc (insertSystemProperties): Add
25 "sun.boot.class.path".
26
27 2003-08-07 Andrew Haley <aph@redhat.com>
28
29 * java/io/PrintStream.java: Don't crash on a null string.
30
31 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
32
33 * configure.in: Don't initialize GCINCS to boehm-gc/include.
34 * configure: Regenerate.
35
36 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
37
38 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
39 SocketImpl. Update Javadoc.
40 (bind): Call close() not impl.close() in event of exception.
41 (connect): Likewise.
42 Remove superfluous null checks throughout.
43 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
44 Don't create an extra socket. Fix for PR libgcj/10868.
45 (bind): Clean up exception handling.
46 Remove superfluous null checks throughout.
47
48 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
49 Bryce McKinlay <bryce@mckinlay.net.nz>
50
51 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
52 ready-to-write argument to _Jv_Select. Reset the socket back to
53 non-blocking state after connecting.
54 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
55 Throw SocketTimeoutException not InterruptedIOException.
56 (read): Throw SocketTimeoutException not InterruptedIOException.
57
58 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
59
60 * java/lang/Thread.java (Thread): Check for null "name" from
61 start of private constructor, not after calling the private
62 constructor.
63
64 2003-08-06 Tom Tromey <tromey@redhat.com>
65
66 * java/io/FilePermission.java (equals): Use correct index for
67 last character of path.
68
69 2003-08-06 Alan Modra <amodra@bigpond.net.au>
70
71 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
72 * configure.in: Compare with_cross_host to build_alias, not build.
73 * aclocal.m4: Regenerate.
74 * configure: Regenerate.
75
76 2003-08-05 Tom Tromey <tromey@redhat.com>
77
78 Fix for PR libgcj/11779:
79 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
80 class.
81
82 * java/lang/reflect/Method.java: Updated status comment.
83 Imported javadoc from Classpath and re-ordered methods.
84 * java/lang/reflect/Constructor.java: Reindented. Updated
85 status comment. Imported javadoc from Classpath and re-ordered
86 methods.
87
88 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
89
90 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
91 Add keyLocation parameter.
92 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
93 string.
94 (paramString): Generate keyChar string according to keyChar, not
95 keyCode.
96 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
97 (state_to_awt_mods): Handle ALT key.
98 (keyevent_state_to_awt_mods): New function.
99 (get_first_keyval_from_keymap): New function.
100 (keysym_to_awt_keycode): Get virtual key code from keymap.
101 Handle missing VK_ values.
102 (keysym_to_awt_keylocation): New function.
103 (keyevent_to_awt_keychar): New function.
104 (generates_key_typed_event): Handle non-text-component case.
105 Handle GDK_KP_Delete and GDK_KP_Enter.
106 (awt_event_handler): Call new functions to get postKeyEvent
107 parameters.
108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
109 Update postKeyEvent method signature.
110 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
111 VK_ defines.
112
113 2003-08-05 Matthias Klose <doko@debian.org>
114
115 * aclocal.m4: check for libart-config binary
116 under the name libart2-config as well.
117 * configure: regenerated.
118
119 2003-08-04 David P Grove <groved@us.ibm.com>
120
121 * java/text/DecimalFormat.java (format): avoid ArithmeticException
122 when groupingSize is 0.
123 (parse): Likewise.
124
125 2003-08-04 Matthias Klose <doko@debian.org>
126
127 * libart.m4: check for libart-config binary
128 under the name libart2-config as well.
129 * configure, aclocal.m4: regenerated.
130
131 2003-08-02 Michael Koch <konqueror@gmx.de>
132
133 * java/nio/ByteBufferImpl.java
134 (getChar): Check remaining bytes, fixed comment about endianess.
135 (putChar): Likewise.
136 (getShort): Likewise.
137 (putShort): Likewise.
138 (getInt): Check remaining bytes, fixed conversion, fixed comment about
139 endianess.
140 (putInt): Likewise.
141 (getLong): Likewise.
142 (putLong): Likewise.
143 (getFloat): Likewise.
144 (putFloat): Likewise.
145 (getDouble): Likewise.
146 (putDouble): Likewise.
147 * java/nio/DirectByteBufferImpl.java
148 (getChar): Wrapped code, fixed comment about endianess.
149 (putchar): Likewise.
150 (getShort): Likewise.
151 (putShort): Likewise.
152 (getInt): Fixed conversion, fixed comment about endianess.
153 (putInt): Likewise.
154 (getLong): Likewise.
155 (putLong): Likewise.
156 (getFloat): Likewise.
157 (putFloat): Likewise.
158 (getDouble): Likewise.
159 (putDouble): Likewise.
160 * java/nio/MappedByteBufferImpl.java
161 (compact): Implemented.
162 (getChar): Implemented.
163 (putChar): Implemented.
164 (getDouble): Implemented.
165 (putdouble): Implemented.
166 (getFloat): Implemented.
167 (putFloat): Implemented.
168 (getInt): Implemented.
169 (putInt): Implemented.
170 (getLong): Implemented.
171 (putLong): Implemented.
172 (getShort): Implemented.
173 (putShort): Implemented.
174 * java/nio/channels/FileChannelImpl.java
175 (read): Set position where to access file.
176 (write): Likewise.
177 (transferTo): Flip buffer after read and before write.
178 (transferFrom): Likewise.
179
180 2003-08-02 Michael Koch <konqueror@gmx.de>
181
182 * gnu/java/lang/ArrayHelper.java
183 (equalsArray): Reformated, added method documentation.
184
185 2003-08-02 Michael Koch <konqueror@gmx.de>
186
187 * java/net/URL.java
188 (URL): Added paragraph about the
189 gnu.java.net.nocache_protocol_handlers property.
190 (ph_cache): Renamed from handlers to match classpath's implementation.
191 Reordered it with factory and serialVersionUID member variables.
192 (cache_handlers): New member variable.
193 (static): New static initializer to initialize cache_handlers from
194 gnu.java.net.nocache_protocol_handlers property.
195 (URL): Use ph_cache instead of handlers, reformatted some code to
196 match classpath's implementation.
197
198 2003-08-01 Tom Tromey <tromey@redhat.com>
199
200 Fix for PR libgcj/11241:
201 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
202 initialCapacity is 0, set it to 1.
203
204 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
205
206 * java/net/SocketImpl.java (toString): Display the remote address
207 of an unconnected server socket as "0.0.0.0/0.0.0.0".
208
209 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
210
211 * javax/swing/border/BevelBorder.java,
212 javax/swing/border/EtchedBorder.java,
213 javax/swing/border/LineBorder.java,
214 javax/swing/border/MatteBorder.java,
215 javax/swing/border/SoftBevelBorder.java,
216 javax/swing/plaf/BorderUIResource.java,
217 javax/swing/plaf/ComponentUI.java,
218 javax/swing/plaf/TreeUI.java,
219 javax/swing/plaf/basic/BasicBorders.java,
220 javax/swing/plaf/basic/BasicGraphicsUtils.java,
221 javax/swing/plaf/basic/BasicTreeUI.java:
222 Prepend "doc-files" to all paths to embedded Javadoc images, so
223 that the generated documentation contains the correct URL.
224
225 2003-08-01 Tom Tromey <tromey@redhat.com>
226
227 * configure: Rebuilt.
228 * configure.in (tool_include_dir): Redefine to match gcc.
229
230 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
231 Mark Wielaard <mark@klomp.org>
232
233 * java/math/BigDecimal (divide): Correctly handle
234 ROUND_HALF_EVEN when amount is greater than 0.5.
235 Simplify and optimize code.
236
237 2003-07-31 Tom Tromey <tromey@redhat.com>
238
239 More for PR libgcj/11737:
240 * java/io/ObjectInputStream.java (processResolution): Use
241 getMethod.
242 (getMethod): Make method accessible.
243 (getField): Make field accessible.
244 (setBooleanField): Don't call setAccessible here.
245 (setByteField, setCharField, setDoubleField, setFloatField,
246 setIntField, setLongField, setShortField, setObjectField):
247 Likewise.
248 (callReadMethod): Don't check whether method is null. Catch
249 NoSuchMethodException.
250 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
251 cause on thrown exceptions.
252
253 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
254
255 Fix for PR libgcj/11728:
256 * java/util/HashMap.java (readObject): Set size.
257
258 2003-07-31 Tom Tromey <tromey@redhat.com>
259
260 Fix for PR libgcj/11737:
261 * java/io/ObjectOutputStream.java (getMethod): Make method
262 accessible.
263 (getField): Likewise.
264 (writeObject): Use getMethod.
265 Import PrivilegedAction and AccessController.
266 (callWriteMethod): Don't check whether m is null. Catch
267 NoSuchMethodException.
268
269 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
270 (containsAngle): Likewise.
271 (getStartPoint): Rewrote.
272 (getEndPoint): Likewise.
273 (setAngleStart(Point2D)): Likewise.
274
275 2003-07-31 Roger Sayle <roger@eyesopen.com>
276 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
277
278 * configure.in: Add new THREADCXXFLAGS variable.
279 Handle POSIX threads on alpha*-dec-osf*.
280 * configure: Regenerate.
281 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
282 * Makefile.in: Regenerate.
283
284 2003-07-08 Andrew Haley <aph@redhat.com>
285
286 * include/i386-signal.h (RESTORE): New.
287 (INIT_SEGV): Set restorer.
288 (INIT_FPE): Likewise.
289
290 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
291
292 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
293 than getXLFD.
294 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
295 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
296 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
297 (gtkSetFont): Scale size parameter by PANGO_SCALE.
298 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
299 Likewise.
300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
301 Likewise.
302
303 2003-07-29 Tom Tromey <tromey@redhat.com>
304
305 * defineclass.cc (handleField): Throw exception if field name is
306 duplicated.
307 (handleMethod): Throw exception for duplicate method.
308
309 2003-07-29 Tom Tromey <tromey@redhat.com>
310
311 * gnu/gcj/convert/natIconv.cc (write): Handle case where
312 output buffer is too small.
313
314 2003-07-28 Tom Tromey <tromey@redhat.com>
315
316 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
317 New method.
318 Include gnu/gcj/runtime/StringBuffer.h.
319 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
320 native method.
321 (String(gnu.gcj.runtime.StringBuffer)): Use it.
322
323 2003-07-27 Anthony Green <green@redhat.com>
324
325 * configure.in: Fix newlib check.
326 * configure: Rebuilt.
327
328 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
329
330 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
331 Create vbox and layout for GtkPlug.
332
333 2003-07-27 Michael Koch <konqueror@gmx.de>
334
335 * java/awt/Window.java
336 (Window): Removed now unused constructor. It became oboslete with the
337 new embedded window patch.
338
339 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
340 Michael Koch <konqueror@gmx.de>
341
342 * gnu/java/awt/EmbeddedWindow.java
343 (EmbeddedWindow): Extends Frame instead of Window.
344 (window_id): New member variable to store the native window handle.
345 (create): Removed.
346 (EmbeddedWindow): New constructor.
347 (addNotify): New method.
348 (getHandler): Likewise.
349 (setWindowPeer): New native method.
350 * gnu/java/awt/EmbeddedWindowSupport.java
351 (EmbeddedWindowSupport): Fixed documentation.
352 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
353 WindowPeer, give it an EmbeddedWindow instance instead of the raw
354 window data.
355 * gnu/java/awt/natEmbeddedWindow.cc
356 (create): Removed.
357 (setWindowPeer): New method.
358 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
359 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
360 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
361 New files
362 * gnu/java/awt/peer/gtk/GtkToolkit.java
363 (GtkToolkit): Implements EmbeddedWindowSupport.
364 (createEmbeddedWindow): New method.
365 * java/awt/Window.java
366 (Window): Removed.
367 * Makefile.am
368 (java_source_files): Added EmbeddedWindowPeer.java.
369 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
370 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
371 * Makefile.in: Regenerated.
372
373 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
374
375 * java/lang/Win32Process.java (ConcreteProcess): Surround
376 a command line element with quotes if it contains an
377 embedded space or tab.
378 * java/lang/natWin32Process.cc (startProcess): Do not
379 surround command line elements with quotes here.
380
381 * configure.host: Use -fcheck-references and
382 -fuse-divide-subroutine for MinGW until we fix
383 win32_exception_handler( ) in win32.cc w.r.t. Win32
384 Structured Exception Handling (SEH).
385
386 * win32.cc (_Jv_platform_initProperties): Use generic names
387 like "x86" for the "os.arch" property to be consistent with
388 what Sun's JDK produces. Use the wProcessorArchitecture
389 member of the Win32 SYSTEM_INFO structure, filled in a call
390 to GetSystemInfo( ), instead of dwProcessorType.
391
392 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
393 Ranjit Mathew <rmathew@hotmail.com>
394
395 * Makefile.am: Use cross-compiling gcjh from the path for
396 a crossed-native build.
397 * Makefile.in: Rebuilt.
398 * configure.in: Include libltdl in non-newlib builds.
399 Moved determination of gcj used to build libraries to
400 its own section. Fixed cross-compilation issues for
401 non-newlib builds.
402 * configure: Rebuilt.
403
404 2003-07-25 Tom Tromey <tromey@redhat.com>
405
406 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
407 (write): Likewise.
408 (read): Likewise.
409 (read): Likewise.
410
411 2003-07-25 Mark Wielaard <mark@klomp.org>
412
413 * java/lang/natRuntime.cc (_load): Add library name to
414 UnsatisfiedLinkError when thrown.
415
416 2003-07-25 Mark Wielaard <mark@klomp.org>
417
418 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
419 added.
420 * Makefile.in: Likewise.
421
422 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
423
424 * java/awt/Component.java
425 (getPreferredSize): Call preferredSize.
426 (preferredSize): Moved body of getPreferredSize here.
427 (getMinimumSize): Call minimumSize.
428 (minimumSize): Moved body of getMinimumSize here.
429 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
430 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
431 pass -1
432 * java/awt/Container.java
433 (validate): Don't validate if there is no peer.
434 (update): Clear background before calling paint.
435 * java/awt/GridBagLayout.java
436 Completed the implementation and fixed several bugs.
437 * java/awt/MediaTracker.java
438 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
439 combine flags.
440 * java/awt/Window.java
441 (Window): Don't call setVisible(false). Windows are invisible by
442 default and calling virtual methods from constructor causes
443 compatibility problems (e.g. subclasses may assume that the peer
444 already exists).
445
446 2003-07-25 Michael Koch <konqueror@gmx.de>
447
448 * java/awt/GridBagLayout.java:
449 Totally reworked and partly implemented.
450 * java/awt/GridBagLayoutInfo.java:
451 New file.
452
453 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
454
455 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
456 Don't pack label in an event box.
457
458 2003-07-24 Tom Tromey <tromey@redhat.com>
459
460 For PR libgcj/7482:
461 * verify.cc (ref_intersection): New class.
462 (type_val): Removed unresolved_reference_type,
463 uninitialized_unresolved_reference_type.
464 (is_assignable_from_slow): Rewrote.
465 (type::data): Removed.
466 (type::klass): New field.
467 (type::type): Added verifier argument.
468 (type::resolve): Removed.
469 (type::set_uninitialized): Updated for change to type_val.
470 (type::set_initialized): Likewise.
471 (type::isinitialized): Likewise.
472 (type::print): Likewise.
473 (construct_primitive_array_type): Likewise.
474 (type::compatible): Updated for change to type_val and to use
475 ref_intersection.
476 (type::isarray): Updated to use ref_intersection.
477 (type::isinterface): Likewise.
478 (type::element_type): Likewise.
479 (type::to_array): Likewise.
480 (type::verify_dimensions): Rewrote.
481 (type::merge): Likewise.
482 (check_class_constant): Updated for type constructor change.
483 (check_constant): Likewise.
484 (check_field_constant): Likewise.
485 (get_one_type): Likewise.
486 (initialize_stack): Likewise.
487 (verify_instructions_0): Likewise.
488 (verify_instructions_0) [op_invokeinterface]: Removed special
489 case.
490 (isect_list): New field.
491 (_Jv_BytecodeVerifier): Initialize it.
492 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
493
494 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
495
496 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
497 unless field size is 2.
498
499 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
500
501 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
502 (connectHooks): New method.
503 (handleEvent): Remove.
504 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
505 (createHooks): Remove declaration.
506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
507 (generates_key_typed_event): Change to handle only certain
508 keyvals.
509 (awt_event_handler): Add special handling for GtkTextView.
510 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
511 (textcomponent_commit_cb): New function.
512 (textcomponent_changed_cb): Likewise.
513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
514 (connectHooks): Remove.
515
516 2003-07-23 Tom Tromey <tromey@redhat.com>
517
518 * java/lang/natSystem.cc (arraycopy): Check for overflow.
519
520 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
521
522 2003-07-22 Tom Tromey <tromey@redhat.com>
523
524 * boehm.cc (_Jv_BuildGCDescr): Wrote.
525 Include limits.h.
526
527 2003-07-22 Tom Tromey <tromey@redhat.com>
528
529 * java/awt/Window.java (getWarningString): Just return the
530 string.
531 (Window): Set warningString; check with security manager.
532
533 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
534
535 * gnu/awt/xlib/XGraphicsConfiguration.java
536 (FontMetricsCache): Made static.
537
538 2003-07-22 Tom Tromey <tromey@redhat.com>
539
540 * java/net/URLEncoder.java (encode(String)): Use platform default
541 encoding.
542 (encode(String,String)): Convert to 2-digit upper-case hex
543 number.
544 (hex): New field.
545
546 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
547
548 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
549 (create): Remove unused method implementation.
550 (connectHooks): Remove debug messages.
551
552 2003-07-20 Anthony Green <green@redhat.com>
553
554 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
555 CloneNotSupportedException.
556 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
557 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
558 * gnu/gcj/xlib/GC.java (clone): Ditto.
559 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
560 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
561
562 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
563 handler.
564 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
565
566 2003-07-20 Steve Pribyl <steve@netfuel.com.>
567
568 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
569 String. Put dlerror() message into exception.
570 Include UnsatisfiedLinkError.
571 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
572 String. Now native.
573
574 2003-07-20 Tom Tromey <tromey@redhat.com>
575
576 * java/lang/Runtime.java: Comment fix.
577 * java/lang/ClassLoader.java (isAncestorOf): New method.
578 (getParent): Uncommented security check. Use isAncestorOf.
579 * include/jvm.h (_Jv_CheckAccess): Declare.
580 * java/lang/reflect/natConstructor.cc (newInstance): Perform
581 access check.
582 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
583 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
584 class loader to _Jv_GetArrayClass.
585 Include ArrayIndexOutOfBoundsException.h.
586 * java/lang/reflect/Field.java: Update comment to reflect status.
587 (equals): Fixed indentation.
588 * java/lang/Class.h (Class): Declare memberAccessCheck, not
589 checkMemberAccess. Make _Jv_CheckAccess a friend.
590 * java/lang/Class.java (memberAccessCheck): New method from
591 Classpath.
592 (checkMemberAccess): Removed.
593 (getDeclaredMethod): Use memberAccessCheck.
594 (getField): Likewise.
595 (getMethod): Likewise.
596 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
597 (_Jv_SearchMethodInClass): Likewise.
598 * prims.cc (_Jv_CheckAccess): New function.
599 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
600 (_Jv_JNI_GetAnyFieldID): Likewise.
601 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
602 (getClassLoader): Added security check.
603 (getConstructor): Call memberAccessCheck.
604 (getDeclaredClasses): Likewise.
605 (getDeclaredField): Likewise.
606 (getDeclaredFields): Likewise.
607 (_getConstructors): Likewise.
608 (getDeclaredConstructor): Likewise.
609 (getDeclaredMethods): Likewise.
610 (getFields): Likewise.
611 (getMethods): Likewise.
612 (newInstance): Likewise.
613 (_Jv_MakeVTable): Put method name in exception.
614 * java/lang/reflect/natMethod.cc (getType): Use
615 getClassLoaderInternal.
616 (_Jv_GetTypesFromSignature): Likewise.
617 (invoke): Perform access check.
618 (_Jv_CallAnyMethodA): Removed old FIXME comments.
619 Include ArrayIndexOutOfBoundsException.h.
620 * java/lang/reflect/natField.cc (getType): Use
621 getClassLoaderInternal.
622 (_Jv_CheckFieldAccessibility): Removed.
623 (getAddr): Use _Jv_CheckAccess; find caller.
624 Include ArrayIndexOutOfBoundsException.h.
625
626 2003-07-20 Michael Koch <konqueror@gmx.de>
627
628 * java/net/URL.java
629 (URL): Fixed documentation to name an argument correcty, Reformatted
630 one method declaration.
631 (getURLStreamHandler): Added documentation from classpath.
632
633 2003-07-19 Tom Tromey <tromey@redhat.com>
634
635 * mauve-libgcj: Don't run CollationElementIterator tests.
636
637 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
638
639 * java/net/URLClassLoader.java (addURL): Moved implementation to
640 private addURLImpl() to avoid calling addURL from the constructor.
641 (addURLImpl): Contains the code that was previously in addURL.
642 (addURLs): Call addURLImpl(), not addURL().
643
644 2003-07-18 Graydon Hoare <graydon@redhat.com>
645
646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
647 Handle missing event cases, connect to "value-changed" signal.
648
649 2003-07-18 Graydon Hoare <graydon@redhat.com>
650
651 * java/awt/geom/CubicCurve2D.java,
652 java/awt/geom/Line2D.java,
653 java/awt/geom/QuadCurve2D.java,
654 java/awt/geom/Rectangle2D.java:
655 Fix path some calculations, make path iterators follow
656 a consistent style.
657
658 2003-07-18 Mark Wielaard <mark@klomp.org>
659
660 * java/util/logging/Handler.java (isLoggable): Check record level
661 smaller or equal.
662
663 2003-07-17 Michael Koch <konqueror@gmx.de>
664
665 * gnu/java/awt/peer/gtk/GtkToolkit.java:
666 Reworked imports.
667
668 2003-07-14 Michael Koch <konqueror@gmx.de>
669
670 * gnu/java/rmi/server/UnicastServerRef.java:
671 New version from classpath.
672
673 2003-07-14 Michael Koch <konqueror@gmx.de>
674
675 * java/awt/image/MemoryImageSource.java,
676 java/beans/PropertyEditorManager.java,
677 javax/naming/CompoundName.java,
678 javax/naming/spi/NamingManager.java,
679 javax/swing/AbstractButton.java,
680 javax/swing/ButtonModel.java,
681 javax/swing/SwingUtilities.java,
682 javax/swing/UIManager.java,
683 javax/swing/colorchooser/DefaultColorSelectionModel.java,
684 javax/swing/event/AncestorEvent.java,
685 javax/swing/event/InternalFrameEvent.java,
686 java/util/zip/ZipFile.java:
687 New versions from classpath.
688
689 2003-07-13 Michael Koch <konqueror@gmx.de>
690
691 * gnu/java/nio/FileChannelImpl.java,
692 gnu/java/nio/natFileChannelImpl.cc: Removed.
693 * java/io/FileInputStream.java,
694 java/io/FileOutputStream.java,
695 java/io/RandomAccessFile.java,
696 java/nio/MappedByteBufferImpl.java:
697 Import java.nio.channels.FileChannelImpl instead of
698 gnu.java.nio.FileChannelImpl.
699 * java/nio/channels/FileChannelImpl.java,
700 java/nio/channels/natFileChannelImpl.cc:
701 New files.
702 * Makefile.am
703 (ordinary_java_source_files):
704 Removed gnu/java/nio/FileChannelImpl.java and added
705 java/nio/channels/FileChannelImpl.java.
706 (nat source_files):
707 Removed gnu/java/nio/natFileChannelImpl.cc and added
708 java/nio/channels/natFileChannelImpl.cc.
709 * Makefile.in: Regenerated.
710
711 2003-07-13 Michael Koch <konqueror@gmx.de>
712
713 * javax/swing/plaf/basic/BasicBorders.java,
714 javax/swing/plaf/basic/BasicLabelUI.java,
715 javax/swing/plaf/basic/BasicLookAndFeel.java,
716 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
717 javax/swing/plaf/basic/BasicTextUI.java,
718 javax/swing/plaf/metal/MetalLookAndFeel.java:
719 New versions from classpath.
720
721 2003-07-13 Michael Koch <konqueror@gmx.de>
722
723 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
724 * gnu/java/awt/peer/gtk/GdkGraphics.java
725 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
726 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
727 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
728 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
729 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
730 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
731 * gnu/java/awt/peer/gtk/GtkClipboard.java
732 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
733 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
734 * gnu/java/awt/peer/gtk/GtkFramePeer.java
735 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
736 * gnu/java/awt/peer/gtk/GtkImage.java
737 * gnu/java/awt/peer/gtk/GtkImagePainter.java
738 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
739 * gnu/java/awt/peer/gtk/GtkListPeer.java
740 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
741 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
742 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
743 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
744 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
745 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
746 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
747 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
748 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
749 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
750 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
751 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
752
753 2003-07-13 Michael Koch <konqueror@gmx.de>
754
755 * gnu/java/locale/LocaleInformation_de.java
756 * gnu/java/locale/LocaleInformation_en.java
757 * gnu/java/locale/LocaleInformation_nl.java
758
759 2003-07-13 Michael Koch <konqueror@gmx.de>
760
761 * gnu/java/awt/EmbeddedWindow.java,
762 gnu/java/awt/EmbeddedWindowSupport.java,
763 gnu/java/awt/natEmbeddedWindow.cc:
764 New files.
765 * java/awt/Window.java
766 (Window): New constructor to support embedded windows.
767 * Makefile.am
768 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
769 gnu/java/awt/EmbeddedWindowSupport.java.
770 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
771 * Makefile.in: Regenerated.
772
773 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
774
775 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
776 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
777 * java/awt/im/InputContext.java: Remove a redundant
778 partial line.
779
780 2003-07-09 Tom Tromey <tromey@redhat.com>
781
782 * Makefile.in: Rebuilt.
783 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
784
785 2003-07-09 Mark Wielaard <mark@klomp.org>
786
787 * java/io/ObjectOutputStream.java (writeObject): break after
788 calling writeClassDescriptor().
789
790 2003-07-09 Mark Mitchell <mark@codesourcery.com>
791
792 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
793
794 2003-07-09 Michael Koch <konqueror@gmx.de>
795
796 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
797 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
798 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
799 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
800 Explicitly import used classes.
801 * java/awt/Container.java: New version from classpath.
802
803 2003-07-09 Michael Koch <konqueror@gmx.de>
804
805 * libgcj.pc.in: New file.
806 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
807 * Makefile.in: Regenerated.
808 * configure: Regenrated.
809 * configure.in: Create libgcj.pc from libgcj.pc.in.
810
811 2003-07-08 Mark Wielaard <mark@klomp.org>
812
813 * gcj/cni.h: CNI now expands to Compiled Native Interface.
814
815 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
816 * java/lang/fdlibm.h: Likewise.
817
818 2003-07-07 Adam Megacz <adam@xwt.org>
819
820 * posix.cc: added #include<stdio.h>
821
822 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
823
824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
825 formatting.
826
827 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
828 (setCaretPosition, setEditable): Rely entirely on native
829 implementation.
830 (getArgs): Remove.
831 (postTextEvent): New method.
832 (handleEvent): New method.
833 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
834 method.
835 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
836 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
837 (keysym_to_awt_keycode): Fix range checks.
838 (generates_key_typed_event): New function.
839 (awt_event_handler): Post AWT_KEY_RELEASED events to event
840 queue.
841 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
842 (gtkInit): Store TextComponent's postTextEvent method ID.
843 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
844 (setText): Post TEXT_VALUE_CHANGED event to event queue.
845
846 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
847
848 * configure.in: Check for usleep declaration.
849 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
850 * configure: Regenerate.
851 * include/config.h.in: Likewise.
852 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
853
854 2003-07-01 Michael Koch <konqueror@gmx.de>
855
856 * gnu/gcj/convert/natIconv.cc
857 (iconv_init): Fixed possible memory leak by releasing allocated iconv
858 handle.
859
860 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
861
862 * glib-2.0.m4: New file.
863 * gtk-2.0.m4: New file.
864 * glib.m4: Remove.
865 * gtk.m4: Remove.
866 * configure.in: Update AM_PATH_GTK macro call to
867 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
868 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
869 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
870 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
871 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
872 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
873 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
874 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
875 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
876 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
877 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
878 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
879 jni/gtk-peer/gthread-jni.c,
880 jni/gtk-peer/gthread-jni.h:
881 New versions from classpath.
882 * aclocal.m4: Regenerate.
883 * configure: Regenerate.
884 * Makefile.in: Regenerate.
885 * gcj/Makefile.in: Regenerate.
886 * include/Makefile.in: Regenerate.
887 * testsuite/Makefile.in: Regenerate.
888
889 2003-06-30 Gary Benson <gbenson@redhat.com>
890
891 For PR libgcj/11349:
892 * javax/naming/spi/NamingManager.java (getURLContext): Use
893 correct name for factory class.
894
895 2003-06-28 Michael Koch <konqueror@gmx.de>
896
897 * java/io/PrintStream.java
898 (checkError): Call flush() instead of direct flushing of the Writer
899 object.
900 (print): Call print(String) instead of direct print method of the
901 Writer Object.
902 (println): Call println(String) instead of direct println method of the
903 Writer Object.
904 (write): Simplified.
905
906 2003-06-28 Michael Koch <konqueror@gmx.de>
907
908 * java/net/ServerSocket.java
909 (setChannel): New method.
910 * java/net/Socket.java
911 (setChannel): New method.
912
913 2003-06-27 Michael Koch <konqueror@gmx.de>
914
915 * java/beans/beancontext/BeanContextSupport.java:
916 New version from classpath.
917
918 2003-06-27 Michael Koch <konqueror@gmx.de>
919
920 * java/awt/Window.java,
921 java/awt/font/GraphicAttribute.java,
922 java/awt/font/ImageGraphicAttribute.java,
923 java/awt/image/DataBufferByte.java,
924 java/awt/image/DataBufferInt.java,
925 java/awt/image/DataBufferUShort.java,
926 java/awt/image/DirectColorModel.java,
927 java/awt/image/PixelGrabber.java:
928 New versions from classpath.
929
930 2003-06-27 Michael Koch <konqueror@gmx.de>
931
932 * java/security/Certificate.java
933 (getGuarantor): Removed wrong @deprecated tag.
934 (getPrincipal): Likewise.
935 (getPublicKey): Likewise.
936 (encode): Likewise.
937 (decode): Likewise.
938 (getFormat): Likewise.
939 (toString): Likewise.
940 * java/security/cert/PolicyQualifierInfo.java
941 (PolicyQualifierInfo): Made final.
942 * javax/security/auth/x500/X500Principal.java
943 (serialVersionUID): New member variable.
944
945 2003-06-27 Michael Koch <konqueror@gmx.de>
946
947 * java/text/Format.java
948 (serialVersionUID): Fixed value.
949
950 2003-06-27 Michael Koch <konqueror@gmx.de>
951
952 * java/net/Inet4Address.java
953 (Inet4Address): Made package-private.
954 * java/net/Inet6Address.java
955 (Inet4Address): Made package-private.
956
957 2003-06-27 Michael Koch <konqueror@gmx.de>
958
959 * java/io/RandomAccessFile.java
960 (readLine): Removed wrong @deprecated tag.
961 (getChannel): Made final.
962
963 2003-06-27 Michael Koch <konqueror@gmx.de>
964
965 * gnu/java/nio/FileChannelImpl.java
966 (write): Removed.
967
968 2003-06-27 Michael Koch <konqueror@gmx.de>
969
970 * java/nio/ByteBufferImpl.java
971 (ByteBufferImpl): Made it a package-private class
972 * java/nio/CharBufferImpl.java
973 (CharBufferImpl): Made it a package-private class
974 * java/nio/DirectByteBufferImpl.java
975 (DirectByteBufferImpl): Made it a package-private class
976 * java/nio/DoubleBufferImpl.java
977 (DoubleBufferImpl): Made it a package-private class
978 * java/nio/FloatBufferImpl.java
979 (FloatBufferImpl): Made it a package-private class
980 * java/nio/IntBufferImpl.java
981 (IntBufferImpl): Made it a package-private class
982 * java/nio/LongBufferImpl.java
983 (LongBufferImpl): Made it a package-private class
984 * java/nio/ShortBufferImpl.java
985 (ShortBufferImpl): Made it a package-private class
986 * java/nio/channels/FileChannel.java
987 (write): Made final.
988 * java/nio/channels/ServerSocketChannel.java
989 (ServerSocketChanne): Made protected.
990
991 2003-06-27 Michael Koch <konqueror@gmx.de>
992
993 * javax/naming/CompositeName.java
994 (serialVersionUID): New member variable.
995 * javax/naming/CompoundName.java
996 (serialVersionUID): New member variable.
997 * javax/naming/InitialContext.java
998 (InitialContext): Throws NamingException.
999 (init): Likewise.
1000 * javax/naming/LinkRef.java
1001 (serialVersionUID): New member variable.
1002 (gteLinkName): Throws NamingException.
1003 * javax/naming/NamingException.java
1004 (serialVersionUID): New member variable.
1005 * javax/naming/NamingSecurityException.java
1006 (NamingSecurityException): Made abstract.
1007 (serialVersionUID): New member variable.
1008 * javax/naming/ReferralException.java
1009 (serialVersionUID): New member variable.
1010 * javax/naming/StringRefAddr.java
1011 (serialVersionUID): New member variable.
1012 * javax/naming/directory/BasicAttribute.java:
1013 Reworked imports.
1014 (serialVersionUID): New member variable.
1015 (get): Throws NamingException.
1016 (getAll): Throws NamingException.
1017 * javax/naming/directory/BasicAttributes.java:
1018 Reworked imports.
1019 (serialVersionUID): New member variable.
1020 * javax/naming/ldap/UnsolicitedNotificationEvent.java
1021 (serialVersionUID): New member variable.
1022
1023 2003-06-27 Michael Koch <konqueror@gmx.de>
1024
1025 * Makefile.am
1026 (awt_java_source_files): Added new files:
1027 javax/swing/Popup.java,
1028 javax/swing/PopupFactory.java
1029 * Makefile.in: Regenerated.
1030
1031 2003-06-27 Michael Koch <konqueror@gmx.de>
1032
1033 * javax/swing/JWindow.java,
1034 javax/swing/event/AncestorEvent.java,
1035 javax/swing/event/HyperlinkEvent.java,
1036 javax/swing/event/InternalFrameEvent.java,
1037 javax/swing/event/ListDataEvent.java,
1038 javax/swing/event/TableModelEvent.java,
1039 javax/swing/plaf/PopupMenuUI.java,
1040 javax/swing/plaf/SplitPaneUI.java,
1041 javax/swing/plaf/TabbedPaneUI.java,
1042 javax/swing/plaf/TextUI.java,
1043 javax/swing/plaf/TreeUI.java,
1044 javax/swing/plaf/basic/BasicTextUI.java,
1045 javax/swing/plaf/basic/BasicTreeUI.java:
1046 New versions from classpath.
1047 * javax/swing/Popup.java,
1048 javax/swing/PopupFactory.jav:
1049 New source files from classpath.
1050 * javax/swing/plaf/doc-files/TreeUI-1.png:
1051 New binary files from classpath.
1052
1053 2003-06-25 Michael Koch <konqueror@gmx.de>
1054
1055 * Makefile.am
1056 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1057 * Makefile.in: Regenerated.
1058
1059 2003-06-25 Michael Koch <konqueror@gmx.de>
1060
1061 * javax/swing/plaf/ActionMapUIResource.java,
1062 javax/swing/plaf/BorderUIResource.java,
1063 javax/swing/plaf/ButtonUI.java,
1064 javax/swing/plaf/ColorChooserUI.java,
1065 javax/swing/plaf/ColorUIResource.java,
1066 javax/swing/plaf/ComboBoxUI.java,
1067 javax/swing/plaf/ComponentInputMapUIResource.java,
1068 javax/swing/plaf/ComponentUI.java,
1069 javax/swing/plaf/DesktopIconUI.java,
1070 javax/swing/plaf/DesktopPaneUI.java,
1071 javax/swing/plaf/DimensionUIResource.java,
1072 javax/swing/plaf/FileChooserUI.java,
1073 javax/swing/plaf/FontUIResource.java,
1074 javax/swing/plaf/IconUIResource.java,
1075 javax/swing/plaf/InputMapUIResource.java,
1076 javax/swing/plaf/InsetsUIResource.java,
1077 javax/swing/plaf/InternalFrameUI.java,
1078 javax/swing/plaf/LabelUI.java,
1079 javax/swing/plaf/ListUI.java,
1080 javax/swing/plaf/MenuBarUI.java,
1081 javax/swing/plaf/MenuItemUI.java,
1082 javax/swing/plaf/OptionPaneUI.java,
1083 javax/swing/plaf/PanelUI.java,
1084 javax/swing/plaf/ProgressBarUI.java,
1085 javax/swing/plaf/RootPaneUI.java,
1086 javax/swing/plaf/ScrollBarUI.java,
1087 javax/swing/plaf/ScrollPaneUI.java,
1088 javax/swing/plaf/SeparatorUI.java,
1089 javax/swing/plaf/SliderUI.java,
1090 javax/swing/plaf/TableHeaderUI.java,
1091 javax/swing/plaf/TableUI.java,
1092 javax/swing/plaf/ToolBarUI.java,
1093 javax/swing/plaf/ToolTipUI.java,
1094 javax/swing/plaf/ViewportUI.java:
1095 New versions from classpath.
1096 * javax/swing/plaf/SpinnerUI.java:
1097 New file from classpath
1098
1099 2003-06-25 Michael Koch <konqueror@gmx.de>
1100
1101 * java/awt/image/ColorModel.java:
1102 New version from classpath.
1103
1104 2003-06-25 Michael Koch <konqueror@gmx.de>
1105
1106 * java/net/PlainDatagramSocketImpl.java:
1107 Partly merged with classpath, this mainly adds documentation.
1108
1109 2003-06-25 Michael Koch <konqueror@gmx.de>
1110
1111 * java/io/ObjectInputStream.java
1112 (readClassDescriptor): New method.
1113 (readObject): Moved functionality to readClassDescriptor().
1114 * java/io/ObjectOutputStream.java
1115 (writeClassDescriptor): New method.
1116 (writeObject): Moved functionality to writeClassDescriptor().
1117
1118 2003-06-25 Michael Koch <konqueror@gmx.de>
1119
1120 * javax/swing/plaf/basic/BasicListUI.java,
1121 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1122 Added missing methods.
1123
1124 2003-06-25 Michael Koch <konqueror@gmx.de>
1125
1126 * javax/swing/event/AncestorEvent.java
1127 javax/swing/event/HyperlinkEvent.java
1128 javax/swing/event/InternalFrameEvent.java
1129 javax/swing/event/ListDataEvent.java
1130 javax/swing/event/TableModelEvent.java:
1131 Compile fixes.
1132
1133 2003-06-24 Michael Koch <konqueror@gmx.de>
1134
1135 * java/net/URL.java:
1136 Renamed "handler" to "ph" in the whole file to match classpaths
1137 version.
1138 * java/net/URLStreamHandler.java:
1139 (equals): Renamed "handler" to "ph".
1140
1141 2003-06-24 Michael Koch <konqueror@gmx.de>
1142
1143 * javax/swing/event/AncestorEvent.java,
1144 javax/swing/event/HyperlinkEvent.java,
1145 javax/swing/event/InternalFrameEvent.java,
1146 javax/swing/event/ListDataEvent.java,
1147 javax/swing/event/TableModelEvent.java,
1148 javax/swing/event/TreeWillExpandListener.java,
1149 javax/swing/plaf/ComponentUI.java,
1150 javax/swing/plaf/DesktopIconUI.java,
1151 javax/swing/plaf/DesktopPaneUI.java,
1152 javax/swing/plaf/DimensionUIResource.java,
1153 javax/swing/plaf/FileChooserUI.java,
1154 javax/swing/plaf/FontUIResource.java,
1155 javax/swing/plaf/IconUIResource.java,
1156 javax/swing/plaf/InputMapUIResource.java,
1157 javax/swing/plaf/InsetsUIResource.java,
1158 javax/swing/plaf/InternalFrameUI.java,
1159 javax/swing/plaf/LabelUI.java,
1160 javax/swing/plaf/ListUI.java,
1161 javax/swing/plaf/MenuBarUI.java,
1162 javax/swing/plaf/MenuItemUI.java,
1163 javax/swing/plaf/OptionPaneUI.java,
1164 javax/swing/plaf/PanelUI.java,
1165 javax/swing/plaf/ProgressBarUI.java,
1166 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1167 javax/swing/plaf/doc-files/ComponentUI-1.png:
1168 New versions from classpath.
1169
1170 2003-06-24 Michael Koch <konqueror@gmx.de>
1171
1172 * java/nio/Buffer.java
1173 (cap): Made package-private.
1174 (pos): Likewise.
1175 (limit): Likewise.
1176 (mark): Likewise.
1177
1178 2003-06-24 Michael Koch <konqueror@gmx.de>
1179
1180 * java/net/SocketImpl.java
1181 (shutdownInput): Made it non-abstract method throwing an exception
1182 like in SUNs JRE.
1183 (shutdownOutput): Likewise.
1184 * java/net/SocketInputStream.java,
1185 java/net/SocketOutputStream.java:
1186 New files from classpath.
1187
1188 2003-06-24 Michael Koch <konqueror@gmx.de>
1189
1190 * java/awt/Font.java,
1191 java/awt/Window.java,
1192 java/awt/color/ColorSpace.java,
1193 java/awt/datatransfer/StringSelection.java,
1194 java/awt/image/ColorModel.java:
1195 New versions from classpath.
1196
1197 2003-06-24 Michael Koch <konqueror@gmx.de>
1198
1199 * Makefile.am
1200 (awt_java_source_files): Added new files:
1201 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1202 javax/swing/plaf/basic/BasicSplitPaneUI.java
1203 * Makefile.in: Regenerated.
1204
1205 2003-06-24 Michael Koch <konqueror@gmx.de>
1206
1207 * javax/swing/text/JTextComponent.java:
1208 New version from classpath.
1209
1210 2003-06-24 Michael Koch <konqueror@gmx.de>
1211
1212 * javax/swing/Timer.java,
1213 javax/swing/plaf/ActionMapUIResource.java,
1214 javax/swing/plaf/ButtonUI.java,
1215 javax/swing/plaf/ColorChooserUI.java,
1216 javax/swing/plaf/ColorUIResource.java,
1217 javax/swing/plaf/ComboBoxUI.java,
1218 javax/swing/plaf/ComponentInputMapUIResource.java,
1219 javax/swing/plaf/basic/BasicBorders.java:
1220 New versions from classpath.
1221 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1222 javax/swing/plaf/basic/BasicSplitPaneUI.java:
1223 New file from classpath.
1224 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1225 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1226 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1227 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1228 javax/swing/plaf/doc-files/ComponentUI-1.png:
1229 New binary files from classpath.
1230
1231 2003-06-24 Michael Koch <konqueror@gmx.de>
1232
1233 * java/io/LineNumberReader.java
1234 (skip): Dont do line number accounting here as this is already done in
1235 read(), simplified.
1236
1237 2003-06-21 Michael Koch <konqueror@gmx.de>
1238
1239 * java/io/File.java
1240 (static): Load javaio lib if existing (only in classpath).
1241 (File): Revised documentation to show the correct argument name.
1242 (createTempFile): Partly merged with classpath.
1243 (compareTo): Simplified.
1244 (lastModified): Throw exception if time < 0.
1245 (deleteOnExit): Revised documentation.
1246
1247 2003-06-21 Michael Koch <konqueror@gmx.de>
1248
1249 * java/net/PlainSocketImpl.java:
1250 Reformatted.
1251 (PlainSocketImpl): Merged class documentaion with classpath.
1252 (in): Moved.
1253 (out): Moved.
1254 (PlainSocketImpl): New empty constructor.
1255 (finalize): Moved.
1256 (setOption): Merged documentation from classpath.
1257 (getOption): Likewise.
1258 (create): Likewise.
1259 (connect): Likewise.
1260 (bind): Likewise.
1261 (listen): Likewise.
1262 (accept): Likewise.
1263 (available): Likewise.
1264 (close): Likewise.
1265 (read): Likewise.
1266 (write): Likewise.
1267 (getInputStream): Made synchronozed to get sure that only one stream
1268 object can be created for this socket, merged documentation from
1269 classpath.
1270 (getOutputStream): Likewise.
1271
1272 2003-06-21 Michael Koch <konqueror@gmx.de>
1273
1274 * java/net/PlainSocketImpl.java:
1275 Reformatting.
1276 (static): New implicit method.
1277 (read): Made package private.
1278 (write): Likewise.
1279
1280 2003-06-21 Michael Koch <konqueror@gmx.de>
1281
1282 * java/util/SimpleTimeZone.java:
1283 Removed unneeded import, reformatting.
1284
1285 2003-06-21 Michael Koch <konqueror@gmx.de>
1286
1287 * java/text/DateFormat.java,
1288 java/text/SimpleDateFormat.java,
1289 java/util/Locale.java:
1290 New versions from classpath.
1291
1292 2003-06-21 Michael Koch <konqueror@gmx.de>
1293
1294 * javax/swing/SpinnerModel.java:
1295 New file from classpath.
1296 * javax/swing/border/LineBorder.java,
1297 javax/swing/border/SoftBevelBorder.java,
1298 javax/swing/plaf/BorderUIResource.java,
1299 javax/swing/plaf/basic/BasicBorders.java:
1300 New versions from classpath.
1301 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1302 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1303 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1304 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1305 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1306 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1307 New binary files from classpath.
1308
1309 2003-06-21 Michael Koch <konqueror@gmx.de>
1310
1311 * java/util/logging/LogRecord.java,
1312 java/util/logging/Logger.java,
1313 java/util/logging/SocketHandler.java,
1314 java/util/logging/SimpleFormatter.java,
1315 java/util/logging/Formatter.java,
1316 java/util/logging/ErrorManager.java,
1317 java/util/logging/Handler.java,
1318 java/util/logging/FileHandler.java,
1319 java/util/logging/LogManager.java,
1320 java/util/logging/Level.java,
1321 java/util/logging/ConsoleHandler.java,
1322 java/util/logging/StreamHandler.java,
1323 java/util/logging/LoggingPermission.java,
1324 java/util/logging/Filter.java,
1325 java/util/logging/MemoryHandler.java,
1326 java/util/logging/XMLFormatter.java:
1327 New files from classpath.
1328
1329 2003-06-20 Michael Koch <konqueror@gmx.de>
1330
1331 * java/io/ObjectStreamField.java
1332 (unshared): new member variable.
1333 (ObjectStreamField): New constructor.
1334 (isUnshared): New method.
1335
1336 2003-06-20 Michael Koch <konqueror@gmx.de>
1337
1338 * java/net/URLStreamHandler.java
1339 (hostsEqual): Rewritten.
1340
1341 2003-06-20 Michael Koch <konqueror@gmx.de>
1342
1343 * gnu/java/nio/MappedByteFileBuffer.java,
1344 gnu/java/nio/natMappedByteFileBuffer.cc:
1345 Removed
1346 * java/nio/MappedByteBufferImpl.java:
1347 New file.
1348 * gnu/java/nio/FileChannelImpl.java:
1349 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1350 * Makefile.am
1351 (ordinary_java_source_files): Removed
1352 gnu/java/nio/MappedByteFileBuffer.java and added
1353 java/nio/MappedByteBufferImpl.java.
1354 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1355 * Makefile.in: Regenerated.
1356
1357 2003-06-19 Michael Koch <konqueror@gmx.de>
1358
1359 * gnu/java/nio/DatagramChannelImpl.java
1360 (fd): Removed.
1361 (blocking): New member variable.
1362 (socket): Likewise.
1363 (DatagramChannelImpl): Throws IOException, initialize socket.
1364 (socket):Implemented.
1365 (implCloseSelectableChannel): Throws IOException, implemented.
1366 (implConfigureBlocking): Likewise.
1367 (connect): Likewise.
1368 (disconnect): Likewise.
1369 (isConnected): Likewise.
1370 (write): Likewise.
1371 (read): Likewise.
1372 (receive): Throws IOException.
1373 (send): Likewise.
1374 * gnu/java/nio/SocketChannelImpl.java
1375 (read): Implemented.
1376 (write): Implemented.
1377
1378 2003-06-19 Michael Koch <konqueror@gmx.de>
1379
1380 * javax/swing/JComponent.java,
1381 javax/swing/JInternalFrame.java,
1382 javax/swing/MenuSelectionManager.java,
1383 javax/swing/SwingUtilities.java,
1384 javax/swing/ToggleButtonModel.java:
1385 New versions from classpath.
1386
1387 2003-06-19 Michael Koch <konqueror@gmx.de>
1388
1389 * java/text/CollationElementIterator.java
1390 (NULLORDER): Initialize with -1 as JDK documentation says.
1391
1392 2003-06-19 Michael Koch <konqueror@gmx.de>
1393
1394 * java/net/HttpURLConnection.java,
1395 java/net/Inet4Address.java,
1396 java/net/Inet6Address.java,
1397 java/net/SocketImpl.java,
1398 java/net/URLClassLoader.java:
1399 Reworked import statements.
1400 * java/net/InetAddress.java
1401 (getByAddress): Simplified.
1402 * java/net/ServerSocket.java
1403 (ServerSocket): Moved special handling during bind operation to
1404 bind().
1405 (bind): Handle different cases when trying to bind a socket.
1406 * java/net/URLConnection.java
1407 (getHeaderFieldDate): Merged with classpath.
1408 (getHeaderFieldInt): Likewise.
1409
1410 2003-06-19 Michael Koch <konqueror@gmx.de>
1411
1412 * java/util/zip/InflaterInputStream.java
1413 (InflaterInputStream): Throw NullPointerException if in is null (as
1414 JDK does).
1415
1416 2003-06-19 Michael Koch <konqueror@gmx.de>
1417
1418 * java/awt/Font.java
1419 javax/swing/UIManager.java
1420 javax/swing/border/AbstractBorder.java
1421 javax/swing/border/BevelBorder.java
1422 javax/swing/border/Border.java
1423 javax/swing/border/CompoundBorder.java
1424 javax/swing/border/EmptyBorder.java
1425 javax/swing/border/EtchedBorder.java
1426 javax/swing/border/LineBorder.java
1427 javax/swing/border/MatteBorder.java
1428 javax/swing/border/TitledBorder.java
1429 javax/swing/plaf/BorderUIResource.java
1430 javax/swing/plaf/basic/BasicBorders.java
1431 javax/swing/plaf/basic/BasicButtonUI.java
1432 javax/swing/plaf/basic/BasicCheckBoxUI.java
1433 javax/swing/plaf/basic/BasicGraphicsUtils.java
1434 javax/swing/plaf/basic/BasicLabelUI.java
1435 javax/swing/plaf/basic/BasicRadioButtonUI.java
1436 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1437 New versions from classpath.
1438 * javax/swing/border/SoftBevelBorder.java:
1439 New file from classpath.
1440 * javax/swing/border/doc-files/LineBorder-1.png,
1441 javax/swing/border/doc-files/BevelBorder-1.png,
1442 javax/swing/border/doc-files/BevelBorder-2.png,
1443 javax/swing/border/doc-files/BevelBorder-3.png,
1444 javax/swing/border/doc-files/EmptyBorder-1.png,
1445 javax/swing/border/doc-files/EtchedBorder-1.png,
1446 javax/swing/border/doc-files/EtchedBorder-2.png,
1447 javax/swing/border/doc-files/MatteBorder-1.png,
1448 javax/swing/border/doc-files/MatteBorder-2.png,
1449 javax/swing/border/doc-files/MatteBorder-3.png,
1450 javax/swing/border/doc-files/MatteBorder-4.png,
1451 javax/swing/border/doc-files/MatteBorder-5.png,
1452 javax/swing/border/doc-files/MatteBorder-6.png,
1453 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1454 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1455 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1456 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1457 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1458 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1459 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1460 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1461 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1462 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1463 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1464 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1465 New binary files from classpath.
1466 * Makefile.am
1467 (awt_java_source_files): Added
1468 javax/swing/border/SoftBevelBorder.java.
1469 * Makefile.in: Regenerated.
1470
1471 2003-06-19 Michael Koch <konqueror@gmx.de>
1472
1473 * gnu/java/security/x509/X509Certificate.java
1474 (writeReplace): Merged from classpath.
1475
1476 2003-06-19 Michael Koch <konqueror@gmx.de>
1477
1478 * gnu/java/nio/FileChannelImpl.java
1479 (map_address): Made public.
1480 (FileChannelImpl): Merged with classpath.
1481 * gnu/java/nio/natFileChannelImpl.cc
1482 (nio_mmap_file): Commented out unused arguments.
1483 (nio_unmmap_file): Likewise.
1484 (niu_msync): Likewise.
1485
1486 2003-06-19 Michael Koch <konqueror@gmx.de>
1487
1488 * java/awt/image/IndexColorModel.java:
1489 New version from classpath.
1490
1491 2003-06-18 Tom Tromey <tromey@redhat.com>
1492
1493 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1494 on arrays.
1495 (isLoopbackAddress): Likewise.
1496 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1497 on arrays.
1498
1499 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1500
1501 * java/lang/natVMSecurityManager.cc (getClassContext):
1502 Use maxlen instead of len for loop bound.
1503
1504 2003-06-18 Michael Koch <konqueror@gmx.de>
1505
1506 * gnu/java/nio/SelectorImpl.java
1507 (register): Use fd with value 0 for now, will be fixed later.
1508 * gnu/java/nio/ServerSocketChannelImpl.java
1509 (fd): Removed.
1510 (local_port): Removed.
1511 (InetSocketAddress): Removed.
1512 (ServerSocketChannelImpl): Just initialize internal socket object.
1513 (implCloseSelectableChannel): Close internal socket object.
1514 (implConfigureBlocking): Added comment.
1515 (accept): Use jaba.net stuff to accept socket.
1516 * gnu/java/nio/SocketChannelImpl.java
1517 (fd): Removed.
1518 (local_port): Removed.
1519 (InetSocketAddress): Removed.
1520 (SocketCreate): Removed.
1521 (SocketConnect): Removed.
1522 (SocketBind): Removed.
1523 (SocketListen): Removed.
1524 (SocketAvailable): Removed.
1525 (SocketClose): Removed.
1526 (SocketRead): Removed.
1527 (SocketWrite): Removed.
1528 (SocketChannelImpl): Just initialize internal socket object.
1529 (implCloseSelectableChannel): Close internal socket object.
1530 (implConfigureBlocking): Fixed implementation, added comment.
1531 (connect): Use internal socket object to connect.
1532 (socket): No need for sanity checks.
1533 (read): Comment out some stuff, this will be reimplemented in the next
1534 commit.
1535 (write): Likewise.
1536 * gnu/java/nio/natFileChannelImpl.cc
1537 (nio_mmap_file): Line wrapped.
1538 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1539 * Makefile.am
1540 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1541 * Makefile.in: Regenerated.
1542
1543 2003-06-18 Michael Koch <konqueror@gmx.de>
1544
1545 * java/util/Locale.java
1546 (equals): Merged from classpath.
1547
1548 2003-06-18 Michael Koch <konqueror@gmx.de>
1549
1550 * java/net/InetAddress.java:
1551 Reformatted to better match classpath's version.
1552 * java/net/URL.java
1553 (equals): Simplified.
1554 * java/net/URLConnection.java
1555 (setDoInput): Revised documentation.
1556 (getDefaultUseCaches): Likewise.
1557 (setRequestProperty): Added @since tag.
1558
1559 2003-06-17 Michael Koch <konqueror@gmx.de>
1560
1561 * java/net/InetSocketAddress.java
1562 (InetSocketAddress): Use wildcard address if addr is null.
1563 (InetSocketAddress): Dont duplicate implementation.
1564 (InetSocketAddress): Throw exception when hostname is null.
1565 * java/net/Socket.java:
1566 Reworked imports.
1567 (Socket): Throw exception when raddr is null, handle case when laddr
1568 is null.
1569
1570 2003-06-17 Michael Koch <konqueror@gmx.de>
1571
1572 * java/nio/DirectByteBufferImpl.java
1573 (address): Made package private.
1574 (DirectByteBufferImpl): New constructor.
1575 * java/nio/natDirectByteBufferImpl.cc
1576 (allocateImpl): Moved to java.nio namespace, implemented.
1577 (freeImpl): Likewise.
1578 (getImpl): Likewise.
1579 (putImpl): Likewise.
1580 * jni.cc
1581 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1582 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1583 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1584
1585 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1586
1587 * include/powerpc-signal.h: New File.
1588 * configure.in: Use it.
1589 * configure: Regenerated.
1590
1591 2003-06-17 Michael Koch <konqueror@gmx.de>
1592
1593 * java/util/Locale.java
1594 (getDisplayLanguage): Made it final.
1595 (getDisplayCountry): Likewise.
1596 (getDisplayVariant): Likewise.
1597 (getDisplayName): Likewise.
1598
1599 2003-06-17 Michael Koch <konqueror@gmx.de>
1600
1601 * java/util/PropertyResourceBundle.java:
1602 Removed unneeded import.
1603
1604 2003-06-17 Michael Koch <konqueror@gmx.de>
1605
1606 * java/util/prefs/AbstractPreferences.java,
1607 java/util/prefs/PreferencesFactory.java:
1608 Reworked imports, removed unused imports.
1609 * java/util/prefs/Preferences.java
1610 (systemNodeForPackage): Method takes a Class not an Object.
1611 (userNodeForPackage): Likewise.
1612 (nodeForPackage): Likewise.
1613
1614 2003-06-17 Michael Koch <konqueror@gmx.de>
1615
1616 * gnu/java/security/x509/X509Certificate.java:
1617 Explicitely import used classes.
1618
1619 2003-06-17 Michael Koch <konqueror@gmx.de>
1620
1621 * java/util/zip/ZipEntry.java,
1622 java/util/zip/ZipFile.java,
1623 java/util/zip/ZipInputStream.java,
1624 java/util/zip/ZipOutputStream.java:
1625 Reworked imports, only import used classes.
1626
1627 2003-06-17 Michael Koch <konqueror@gmx.de>
1628
1629 * gnu/java/lang/ArrayHelper.java,
1630 gnu/java/lang/ClassHelper.java:
1631 Reformatted to match classpath's versions.
1632
1633 2003-06-14 Michael Koch <konqueror@gmx.de>
1634
1635 * gnu/java/nio/FileChannelImpl.java
1636 (map_address): Removed incorrect comment.
1637 * gnu/java/nio/SelectorImpl.java
1638 (register): Remove code duplication and code for file channel handling.
1639 * gnu/java/nio/ServerSocketChannelImpl.java
1640 (serverSocket): Renamed from sock_object.
1641 (ServerSocketChannel): Initialize serverSocket.
1642 (socket): Return serverSocket.
1643 * gnu/java/nio/SocketChannelImpl.java
1644 (socket): Renamed from sock_object.
1645 (isConnectionPenging): Simplified.
1646 (socket): Return socket.
1647 2003-06-14 Michael Koch <konqueror@gmx.de>
1648
1649 * java/security/BasicPermission.java:
1650 New version from classpath.
1651
1652 2003-06-14 Michael Koch <konqueror@gmx.de>
1653
1654 * javax/naming/directory/Attribute.java:
1655 New version from classpath.
1656
1657 2003-06-14 Michael Koch <konqueror@gmx.de>
1658
1659 * java/io/BufferedReader.java,
1660 java/io/FileOutputStream.java:
1661 New versions from classpath.
1662
1663 2003-06-12 Andrew Haley <aph@redhat.com>
1664
1665 * prims.cc (catch_segv): Create exception in handler.
1666 (catch_fpe): Likewise.
1667 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1668 (_Jv_ThrowSignal): Remove.
1669
1670 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1671 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1672 to nullp and arithexception.
1673 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1674 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1675 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1676 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1677 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1678
1679 2003-06-11 Andrew Haley <aph@redhat.com>
1680
1681 * jni.cc (_Jv_JNI_check_types): New.
1682 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1683 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1684 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1685 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1686
1687 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1688 infinite loop.
1689
1690 2003-06-11 Tom Tromey <tromey@redhat.com>
1691
1692 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1693 * java/io/PrintStream.java: Not deprecated.
1694
1695 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1696
1697 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1698 (fillOval): implemented
1699 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1700 (fillArc): implemented.
1701 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1702 (fillArc): added native method.
1703 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1704 (fillArc): added native method.
1705
1706 2003-06-11 Michael Koch <konqueror@gmx.de>
1707
1708 * java/awt/im/InputSubset.java:
1709 New version from classpath.
1710
1711 2003-06-11 Michael Koch <konqueror@gmx.de>
1712
1713 * javax/swing/AbstractAction.java,
1714 javax/swing/AbstractButton.java,
1715 javax/swing/AbstractCellEditor.java,
1716 javax/swing/AbstractListModel.java,
1717 javax/swing/BorderFactory.java,
1718 javax/swing/Box.java,
1719 javax/swing/BoxLayout.java,
1720 javax/swing/ButtonGroup.java,
1721 javax/swing/DefaultButtonModel.java,
1722 javax/swing/DefaultListModel.java,
1723 javax/swing/DefaultListSelectionModel.java,
1724 javax/swing/FocusManager.java,
1725 javax/swing/ImageIcon.java,
1726 javax/swing/InputMap.java,
1727 javax/swing/JApplet.java,
1728 javax/swing/JButton.java,
1729 javax/swing/JCheckBox.java,
1730 javax/swing/JCheckBoxMenuItem.java,
1731 javax/swing/JColorChooser.java,
1732 javax/swing/JComboBox.java,
1733 javax/swing/JComponent.java,
1734 javax/swing/JDesktopPane.java,
1735 javax/swing/JDialog.java,
1736 javax/swing/JEditorPane.java,
1737 javax/swing/JFileChooser.java,
1738 javax/swing/JFormattedTextField.java,
1739 javax/swing/JFrame.java,
1740 javax/swing/JLabel.java,
1741 javax/swing/JLayeredPane.java,
1742 javax/swing/JList.java,
1743 javax/swing/JMenuBar.java,
1744 javax/swing/JMenuItem.java,
1745 javax/swing/JOptionPane.java,
1746 javax/swing/JPanel.java,
1747 javax/swing/JPasswordField.java,
1748 javax/swing/JPopupMenu.java,
1749 javax/swing/JProgressBar.java,
1750 javax/swing/JRadioButton.java,
1751 javax/swing/JRadioButtonMenuItem.java,
1752 javax/swing/JRootPane.java,
1753 javax/swing/JScrollBar.java,
1754 javax/swing/JScrollPane.java,
1755 javax/swing/JSeparator.java,
1756 javax/swing/JSlider.java,
1757 javax/swing/JTabbedPane.java,
1758 javax/swing/JTable.java,
1759 javax/swing/JTextField.java,
1760 javax/swing/JToggleButton.java,
1761 javax/swing/JToolBar.java,
1762 javax/swing/JToolTip.java,
1763 javax/swing/JTree.java,
1764 javax/swing/JViewport.java,
1765 javax/swing/JWindow.java,
1766 javax/swing/KeyStroke.java,
1767 javax/swing/ListSelectionModel.java,
1768 javax/swing/LookAndFeel.java,
1769 javax/swing/RepaintManager.java,
1770 javax/swing/ScrollPaneLayout.java,
1771 javax/swing/SizeRequirements.java,
1772 javax/swing/SwingConstants.java,
1773 javax/swing/Timer.java,
1774 javax/swing/UIDefaults.java,
1775 javax/swing/UIManager.java,
1776 javax/swing/border/AbstractBorder.java,
1777 javax/swing/border/CompoundBorder.java,
1778 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1779 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1780 javax/swing/colorchooser/ColorSelectionModel.java,
1781 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1782 javax/swing/event/AncestorEvent.java,
1783 javax/swing/event/HyperlinkEvent.java,
1784 javax/swing/event/InternalFrameAdapter.java,
1785 javax/swing/event/InternalFrameEvent.java,
1786 javax/swing/event/ListDataEvent.java,
1787 javax/swing/event/MouseInputAdapter.java,
1788 javax/swing/event/SwingPropertyChangeSupport.java,
1789 javax/swing/event/TableModelEvent.java,
1790 javax/swing/event/TreeWillExpandListener.java,
1791 javax/swing/event/UndoableEditEvent.java,
1792 javax/swing/filechooser/FileFilter.java,
1793 javax/swing/filechooser/FileSystemView.java,
1794 javax/swing/filechooser/FileView.java,
1795 javax/swing/plaf/BorderUIResource.java,
1796 javax/swing/plaf/basic/BasicDefaults.java,
1797 javax/swing/table/AbstractTableModel.java,
1798 javax/swing/table/DefaultTableCellRenderer.java,
1799 javax/swing/table/DefaultTableColumnModel.java,
1800 javax/swing/table/DefaultTableModel.java,
1801 javax/swing/table/TableColumn.java,
1802 javax/swing/text/JTextComponent.java,
1803 javax/swing/tree/AbstractLayoutCache.java,
1804 javax/swing/tree/DefaultMutableTreeNode.java,
1805 javax/swing/tree/DefaultTreeCellEditor.java,
1806 javax/swing/tree/DefaultTreeCellRenderer.java,
1807 javax/swing/tree/DefaultTreeModel.java,
1808 javax/swing/tree/DefaultTreeSelectionModel.java,
1809 javax/swing/tree/FixedHeightLayoutCache.java,
1810 javax/swing/tree/TreeCellEditor.java,
1811 javax/swing/tree/TreeModel.java,
1812 javax/swing/tree/TreeNode.java,
1813 javax/swing/tree/TreePath.java,
1814 javax/swing/tree/TreeSelectionModel.java,
1815 javax/swing/tree/VariableHeightLayoutCache.java,
1816 javax/swing/undo/AbstractUndoableEdit.java,
1817 javax/swing/undo/CompoundEdit.java,
1818 javax/swing/undo/StateEdit.java,
1819 javax/swing/undo/UndoManager.java,
1820 javax/swing/undo/UndoableEditSupport.java:
1821 New versions from classpath.
1822 * javax/swing/table/JTableHeader.java:
1823 New file from classpath.
1824 * Makefile.am
1825 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1826 * Makefile.in: Regenerated.
1827
1828 2003-06-11 Michael Koch <konqueror@gmx.de>
1829
1830 * java/nio/MappedByteBuffer.java,
1831 java/nio/channels/Channels.java,
1832 java/nio/channels/ServerSocketChannel.java,
1833 java/nio/channels/spi/AbstractSelector.java:
1834 Removed unneeded imports.
1835
1836 2003-06-11 Michael Koch <konqueror@gmx.de>
1837
1838 * java/net/DatagramSocket.java:
1839 Partly merged with classpath.
1840
1841 2003-06-11 Michael Koch <konqueror@gmx.de>
1842
1843 * java/awt/Frame.java,
1844 java/awt/Graphics.java,
1845 java/awt/Menu.java,
1846 java/awt/Robot.java,
1847 java/awt/image/ColorModel.java:
1848 New versions from classpath.
1849
1850 2003-06-10 Michael Koch <konqueror@gmx.de>
1851
1852 * java/io/PrintStream.java:
1853 Merged version from classpath.
1854 (close): Removed sychronized keyword. This class is not garantied to
1855 be thread-safe.
1856 (write): Likewise.
1857
1858 2003-06-09 Tom Tromey <tromey@redhat.com>
1859
1860 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1861 field.
1862 (getDescent): Likewise, for "descent".
1863
1864 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1865
1866 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1867 (getMaxDescent): adjusted return value.
1868 (getAscent): modified to use metrics for 'O'.
1869 (getDescent): modified to use metrics for 'y'.
1870
1871 2003-06-08 Anthony Green <green@redhat.com>
1872
1873 * java/net/URLStreamHandler.java (sameFile): Fix port value
1874 comparison.
1875 * java/net/URL.java (handler): Make package private.
1876 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1877
1878 2003-06-07 Tom Tromey <tromey@redhat.com>
1879
1880 For PR libgcj/11085:
1881 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1882 Limit number of characters in numeric field when required.
1883 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1884 Respect maximumIntegerDigits.
1885
1886 2003-06-08 Michael Koch <konqueror@gmx.de>
1887
1888 * java/net/Socket.java
1889 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1890 call bind() and connect() to actually do the bind and connect tasks.
1891 (bind): Connect to canonical address if bindpoint is null, create
1892 socket and bind it to bindpoint.
1893 (connect): Check for exceptions.
1894
1895 2003-06-08 Michael Koch <konqueror@gmx.de>
1896
1897 * java/net/DatagramSocket.java
1898 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1899 into the Multicast constructors.
1900 * java/net/DatagramSocketImpl.java
1901 (getOption): Removed.
1902 (setOption): Removed.
1903 * java/net/MulticastSocket.java
1904 (MulticastSocket): Call setReuseAddress (true).
1905 * java/net/SocketImpl.java
1906 (getOption): Removed.
1907 (setOption): Removed.
1908
1909 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1910
1911 PR libgcj/10886:
1912 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1913 Test for empty vector.
1914
1915 2003-06-06 Mark Wielaard <mark@klomp.org>
1916
1917 * java/security/Security.java (secprops): Initialize.
1918 (loadProviders): Return boolean.
1919 (static): Check result of loadProvider calls. If necessary
1920 display WARNING and fallback to Gnu provider.
1921
1922 2002-06-06 James Clark <jjc@jclark.com>
1923
1924 Fix for PR libgcj/8738:
1925 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1926 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1927 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1928 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1929 (write): Always decrease avail when count is increased.
1930 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1931 and whether output buffer is full before increasing size.
1932
1933 2002-06-06 Mark Wielaard <mark@klomp dot org>
1934
1935 * java/io/PrintStream.java (writeChars(char[],int, int)):
1936 Check converter.havePendingBytes().
1937 (writeChars(String,int,int)): Likewise.
1938 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1939 Check converter.havePendingBytes() and flush buffer when stalled.
1940
1941 2003-06-07 Michael Koch <konqueror@gmx.de>
1942
1943 * include/posix.h
1944 (O_DSYNC): Define O_DSYNC on platforms not
1945 supporting O_FSYNC (newlib).
1946
1947 2003-06-06 Mark Wielaard <mark@klomp.org>
1948
1949 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1950 AWTError.
1951
1952 2003-06-06 Michael Koch <konqueror@gmx.de>
1953
1954 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1955 More compile fixes from my stupid work yesterday.
1956
1957 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1958
1959 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1960 if _IEEE_LIBM is undefined.
1961
1962 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1963
1964 * libjava/include/posix.h (O_SYNC): Define if not available
1965 and a reasonable, perhaps more conservative, replacement exists.
1966 (O_DSYNC): Likewise.
1967 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1968
1969 2003-06-05 Michael Koch <konqueror@gmx.de>
1970
1971 * javax/swing/plaf/BorderUIResource.java,
1972 javax/swing/plaf/basic/BasicDefaults.java,
1973 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1974 More compile fixes for latest Border commit. I should not commit
1975 something in this heat here ...
1976
1977 2003-06-05 Michael Koch <konqueror@gmx.de>
1978
1979 * javax/swing/border/BevelBorder.java
1980 (BevelBorder): Removed.
1981 * javax/swing/border/EmptyBorder.java:
1982 Reformatted.
1983 (EmptyBorder): Removed.
1984 (getBorderInsets): Dont use l, r, t and b.
1985 * javax/swing/border/EtchedBorder.java
1986 (EtchedBorder): Removed.
1987 * javax/swing/border/LineBorder.java
1988 (LineBorder): Removed.
1989 * javax/swing/border/MatteBorder.java
1990 (MatteBorder): Removed.
1991 * javax/swing/border/TitledBorder.java
1992 (defaultBorder): Use other default for now.
1993 (defaultFont): Likewise.
1994 (defaultColor): Likewise.
1995
1996 2003-06-05 Michael Koch <konqueror@gmx.de>
1997
1998 * javax/swing/border/Border.java:
1999 New version from classpath.
2000
2001 2003-06-05 Michael Koch <konqueror@gmx.de>
2002
2003 * javax/swing/border/AbstractBorder.java,
2004 javax/swing/border/BevelBorder.java,
2005 javax/swing/border/CompoundBorder.java,
2006 javax/swing/border/EmptyBorder.java,
2007 javax/swing/border/EtchedBorder.java,
2008 javax/swing/border/LineBorder.java,
2009 javax/swing/border/MatteBorder.java,
2010 javax/swing/border/TitledBorder.java:
2011 New versions from Classpath.
2012
2013 2003-06-05 Michael Koch <konqueror@gmx.de>
2014
2015 * java/awt/Button.java,
2016 java/awt/Checkbox.java,
2017 java/awt/CheckboxMenuItem.java,
2018 java/awt/Choice.java,
2019 java/awt/Container.java,
2020 java/awt/Dialog.java,
2021 java/awt/EventQueue.java,
2022 java/awt/FileDialog.java,
2023 java/awt/Frame.java,
2024 java/awt/Label.java,
2025 java/awt/List.java,
2026 java/awt/Menu.java,
2027 java/awt/MenuItem.java,
2028 java/awt/Panel.java,
2029 java/awt/PopupMenu.java,
2030 java/awt/Rectangle.java,
2031 java/awt/ScrollPane.java,
2032 java/awt/Scrollbar.java,
2033 java/awt/TextArea.java,
2034 java/awt/TextField.java,
2035 java/awt/Window.java,
2036 java/awt/datatransfer/DataFlavor.java,
2037 java/awt/dnd/DragSource.java,
2038 java/awt/dnd/DragSourceContext.java,
2039 java/awt/event/HierarchyEvent.java,
2040 java/awt/event/MouseWheelEvent.java,
2041 java/awt/im/InputContext.java,
2042 java/awt/image/BufferedImage.java,
2043 java/awt/image/ComponentColorModel.java,
2044 java/awt/image/Raster.java,
2045 java/awt/image/WritableRaster.java,
2046 java/awt/peer/ComponentPeer.java,
2047 java/awt/print/PageFormat.java,
2048 java/awt/print/PrinterJob.java:
2049 New versions from Classpath.
2050
2051 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
2052
2053 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2054 numberFormat.setParseIntegerOnly(true).
2055
2056 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2057
2058 * include/posix-threads.h: Include <machine/pal.h> on OSF.
2059
2060 2003-06-03 Andrew Haley <aph@redhat.com>
2061
2062 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2063 stack volatile to prevent optimization from removing it.
2064
2065 2003-05-27 Michael Koch <konqueror@gmx.de>
2066
2067 * java/util/zip/Deflater.java
2068 (FILTERED): Merged documentation from classpath.
2069 * java/util/zip/DeflaterOutputStream.java
2070 (DeflaterOutputStream): Merged documentation and argument validity
2071 check from classpath.
2072 (deflate): Merged documentation from classpath.
2073 (finish): Likewise.
2074 * java/util/zip/Inflater.java
2075 (Inflater): Merged class documentation from classpath.
2076 (zstream): Reordered.
2077 (is_finished): Reordered.
2078 (dict_needed): Reordered.
2079 (Inflater): Reordered, merged documentation from classpath.
2080 (end): Likewise.
2081 (finalize): Merged documentation from classpath.
2082 (finished): Likewise.
2083 (getAdler): Likewise.
2084 (getRemaining): Likewise.
2085 (getTotalIn): Likewise.
2086 (getTotalOut): Likewise.
2087 (inflate): Likewise.
2088 (needsDictionary): Likewise.
2089 (needsInput): Likewise.
2090 (reset): Likewise.
2091 (setDictionary): Likewise.
2092 (setInput): Likewise.
2093
2094 2003-05-27 Michael Koch <konqueror@gmx.de>
2095
2096 * java/net/URLConnection.java
2097 (getHeaderFieldInt): Merged with classpath.
2098
2099 2003-05-27 Michael Koch <konqueror@gmx.de>
2100
2101 * java/io/PrintStream.java
2102 (PrintStream): Reformatted.
2103 (PrintStream): New method, merged from classpath.
2104 (write): Reformatted.
2105
2106 2003-05-27 Michael Koch <konqueror@gmx.de>
2107
2108 * java/lang/System.java:
2109 Explicitely import needed classes.
2110
2111 2003-05-26 Michael Koch <konqueror@gmx.de>
2112
2113 * java/net/NetPermission.java,
2114 java/net/NetworkInterface.java,
2115 java/net/PasswordAuthentication.java,
2116 java/net/SocketPermission.java:
2117 New versions from classpath.
2118
2119 2003-05-25 Michael Koch <konqueror@gmx.de>
2120
2121 * java/io/PushbackInputStream.java,
2122 java/net/Authenticator.java,
2123 java/net/ContentHandler.java,
2124 java/net/ContentHandlerFactory.java,
2125 java/net/DatagramSocket.java,
2126 java/net/DatagramSocketImpl.java,
2127 java/net/DatagramSocketImplFactory.java,
2128 java/net/FileNameMap.java,
2129 java/net/SocketImplFactory.java,
2130 java/net/SocketOptions.java,
2131 java/net/URLStreamHandlerFactory.java:
2132 Merged new versions from classpath.
2133
2134 2003-05-25 Michael Koch <konqueror@gmx.de>
2135
2136 * java/awt/Checkbox.java,
2137 java/awt/Dialog.java,
2138 java/awt/Font.java,
2139 java/awt/Frame.java,
2140 java/awt/ScrollPaneAdjustable.java,
2141 java/awt/Scrollbar.java,
2142 java/awt/Window.java:
2143 New versions from classpath.
2144
2145 2003-05-22 Jeff Sturm <jsturm@one-point.com>
2146
2147 PR libgcj/10838:
2148 * java/io/ObjectInputStream (enableResolveObject):
2149 Fixed spelling of permission name.
2150
2151 2003-05-20 Michael Koch <konqueror@gmx.de>
2152
2153 * java/io/DataInputStream.java
2154 (convertFromUTF): Merged comment from classpath.
2155 * java/io/PrintStream.java
2156 (error_occured): Renamed from error, merged comment from classpath.
2157 (PrintStream): No need to initialized error.
2158 (checkError): Replace error with error_occurred.
2159 (setError): Likewise.
2160
2161 2003-05-20 Michael Koch <konqueror@gmx.de>
2162
2163 * java/io/DataInputStream.java:
2164 Reformatted, Replaced < and & with html entitites in documentation.
2165 * java/io/File.java:
2166 Reformatted.
2167 * java/io/PrintWriter.java:
2168 Moved class documentation.
2169
2170 2003-05-20 Michael Koch <konqueror@gmx.de>
2171
2172 * gnu/java/nio/ByteBufferImpl.java,
2173 gnu/java/nio/CharBufferImpl.java,
2174 gnu/java/nio/CharViewBufferImpl.java,
2175 gnu/java/nio/DirectByteBufferImpl.java,
2176 gnu/java/nio/DoubleBufferImpl.java,
2177 gnu/java/nio/DoubleViewBufferImpl.java,
2178 gnu/java/nio/FloatBufferImpl.java,
2179 gnu/java/nio/FloatViewBufferImpl.java,
2180 gnu/java/nio/IntBufferImpl.java,
2181 gnu/java/nio/IntViewBufferImpl.java,
2182 gnu/java/nio/LongBufferImpl.java,
2183 gnu/java/nio/LongViewBufferImpl.java,
2184 gnu/java/nio/natDirectByteBufferImpl.cc,
2185 gnu/java/nio/ShortBufferImpl.java,
2186 gnu/java/nio/ShortViewBufferImpl.java:
2187 Moved files to java/nio.
2188 * gnu/java/nio/SocketChannelImpl.java
2189
2190 * java/nio/ByteBuffer.java,
2191 java/nio/CharBuffer.java,
2192 java/nio/DoubleBuffer.java,
2193 java/nio/FloatBuffer.java,
2194 java/nio/IntBuffer.java,
2195 java/nio/LongBuffer.java,
2196 java/nio/ShortBuffer.java:
2197 Dont import anything.
2198 * java/nio/ByteBufferImpl.java,
2199 java/nio/CharBufferImpl.java,
2200 java/nio/CharViewBufferImpl.java,
2201 java/nio/DirectByteBufferImpl.java,
2202 java/nio/DoubleBufferImpl.java,
2203 java/nio/DoubleViewBufferImpl.java,
2204 java/nio/FloatBufferImpl.java,
2205 java/nio/FloatViewBufferImpl.java,
2206 java/nio/IntBufferImpl.java,
2207 java/nio/IntViewBufferImpl.java,
2208 java/nio/LongBufferImpl.java,
2209 java/nio/LongViewBufferImpl.java,
2210 java/nio/natDirectByteBufferImpl.cc,
2211 java/nio/ShortBufferImpl.java,
2212 java/nio/ShortViewBufferImpl.java:
2213 Moved from gnu/java/nio.
2214 * Makefile.am
2215 (ordinary_java_source_files): Moved files from gnu/java/nio to
2216 java/nio.
2217 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2218 to java/nio.
2219 * Makefile.in: Regenerated.
2220
2221 2003-05-19 Michael Koch <konqueror@gmx.de>
2222
2223 * java/util/Calendar.java
2224 (get): Not final anymore since JDK 1.4
2225 (set): Likewise.
2226
2227 2003-05-19 Michael Koch <konqueror@gmx.de>
2228
2229 * java/text/CollationKey.java:
2230 Merged copyright and dat from classpath.
2231 * java/text/RuleBasedCollator.java:
2232 Merged class documentation from classpath.
2233
2234 2003-05-19 Michael Koch <konqueror@gmx.de>
2235
2236 * java/nio/CharBuffer.java
2237 (toString): Compile fix.
2238
2239 2003-05-19 Michael Koch <konqueror@gmx.de>
2240
2241 * gnu/java/nio/ByteBufferImpl.java
2242 (putLong): Fixed conversion to bytes.
2243 (putDouble): Fixed conversion to bytes.
2244 * gnu/java/nio/DirectByteBufferImpl.java
2245 (putLong): Fixed conversion to bytes.
2246 (putDouble): Fixed conversion to bytes.
2247 * gnu/java/nio/FileLockImpl.java
2248 (isValid): Reformatted.
2249 * java/nio/Buffer.java
2250 (Buffer): Fixed off-by-one bug in handling mark.
2251 * java/nio/ByteBuffer.java:
2252 Added newline.
2253 * java/nio/CharBuffer.java
2254 (toString): Don't use relative get to get string data.
2255
2256 2003-05-16 Michael Koch <konqueror@gmx.de>
2257
2258 * java/io/natFileDescriptorPosix.cc
2259 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2260 tested.
2261
2262 2003-05-14 Michael Koch <konqueror@gmx.de>
2263
2264 * gnu/java/nio/FileLockImpl.java
2265 (released): New member variable.
2266 (FileLockImpl): Initialize released.
2267 (releaseImpl): New native method.
2268 (release): Implemented.
2269 * gnu/java/nio/SelectorImpl.java: Reformatted.
2270 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2271 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2272 (accept): Throws IOException.
2273 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2274 (implConfigureBlocking): Throws IOException.
2275 (connect): Likewise.
2276 (read): Likewise.
2277 (write): Likewise.
2278 * gnu/java/nio/natFileLockImpl.cc: New file.
2279 * java/nio/channels/FileLock.java: Reformatted.
2280 * Makefile.am:
2281 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2282 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2283 * Makefile.in: Regenerated.
2284
2285 2003-05-13 Michael Koch <konqueror@gmx.de>
2286
2287 * gnu/java/nio/CharViewBufferImpl.java
2288 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2289 (get): Shift bits to the right direction.
2290 (put): Likewise.
2291 * gnu/java/nio/DoubleViewBufferImpl.java
2292 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2293 (get): Shift bits to the right direction.
2294 (put): Likewise.
2295 * gnu/java/nio/FloatViewBufferImpl.java
2296 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2297 (get): Shift bits to the right direction.
2298 (put): Likewise.
2299 * gnu/java/nio/IntViewBufferImpl.java
2300 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2301 (get): Shift bits to the right direction.
2302 (put): Likewise.
2303 * gnu/java/nio/LongViewBufferImpl.java
2304 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2305 (get): Shift bits to the right direction.
2306 (put): Likewise.
2307 * gnu/java/nio/ShortViewBufferImpl.java
2308 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2309 (get): Shift bits to the right direction.
2310 (put): Likewise.
2311
2312 2003-05-13 Michael Koch <konqueror@gmx.de>
2313
2314 * gnu/java/nio/natDirectByteBufferImpl.cc
2315 (allocateImpl): jlong -> RawData*.
2316 (freeImpl): Likewise.
2317
2318 2003-05-13 Michael Koch <konqueror@gmx.de>
2319
2320 * java/nio/channels/FileChannel.java
2321 (MapMode.m): Made it package-private to match JDK 1.4.
2322 * java/nio/charset/Charset.java
2323 (decode): Made it final to match JDK 1.4.
2324
2325 2003-05-13 Michael Koch <konqueror@gmx.de>
2326
2327 * java/io/FileDescriptor.java
2328 (SYNC): New constant.
2329 (DSYNC): Likewise.
2330 (getLength): Renamed from lenght() to match classpath's
2331 FileDescriptor.java.
2332 * java/io/RandomAccessFile.java
2333 (RandomAccessFile): Removed unneeded mode check, implemented mode
2334 "rws" and "rwd", merged documentation from classpath.
2335 (setLength): Reformatted.
2336 (length): Use new getLength() of FileDescriptor.
2337 * java/io/natFileDescriptorEcos.cc
2338 (getLength): Renamed from length().
2339 * java/io/natFileDescriptorPosix.cc
2340 (open): Implemented support for SYNC and DSYNC.
2341 (seek): Use getLength() instead of length().
2342 (getLength): Renamed from length().
2343 * java/io/natFileDescriptorWin32.cc
2344 (getLength): Renamed from length().
2345 (seek): Use getLength() instead of length().
2346 (available): Likewise.
2347 * gnu/java/nio/natFileChannelImpl.cc
2348 (size): Use getLength() instead of length().
2349
2350 2003-05-13 Michael Koch <konqueror@gmx.de>
2351
2352 * gnu/java/nio/ByteBufferImpl.java
2353 (ByteBufferImpl): All constructors revised.
2354 (slice): Reimplemented.
2355 (duplicate): Reimplemented.
2356 (asReadOnlyBuffer): Reimplemented.
2357 * java/nio/ByteBuffer.java:
2358 Reformatted.
2359 (array_offset): Renamed from "offset" to match all other buffer
2360 classes.
2361 (ByteBuffer): All constructors revised.
2362 (allocateDirect): Implemented.
2363 (allocate): New implementation, documentation reworked.
2364 (wrap): Likewise.
2365 (get): Documentation reworked.
2366 (put): New implementation, documentation reworked.
2367 (hasArray): Documentation reworked.
2368 (arrayOffset): Likewise.
2369 (hashCode): Likewise.
2370 (equals): Likewise.
2371 (compareTo): Likewise.
2372 (order): Likewise.
2373 (compact): Likewise.
2374 (isDirect): Likewise.
2375 (slice): Likewise.
2376 (duplicate): Likewise.
2377 (asReadOnlyBuffer): Likewise.
2378 * Makefile.am
2379 (ordinary_java_source_files):
2380 Added gnu/java/nio/DirectByteBufferImpl.java.
2381 (nat_source_files):
2382 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2383 * Makefile.in: Regenerated.
2384
2385 2003-05-12 Michael Koch <konqueror@gmx.de>
2386
2387 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2388 (nio_get_*): Removed.
2389 (nio_put_*): Removed.
2390 (as*Buffer): Implemented.
2391 (compact): Implemented.
2392 (get): Documentation added.
2393 (put): Documentation added.
2394 (get*): Newly implemented.
2395 (put*): Newly implemented.
2396 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2397 (CharBufferImpl): Revised.
2398 (slice): New implementation.
2399 (duplicate): New implementation.
2400 (compact): New implementation.
2401 (asReadOnlyBuffer): New implementation.
2402 (get): Documentation revised.
2403 (order): Return native byte order.
2404 * gnu/java/nio/DirectByteBufferImpl.java
2405 (allocateDirect): objects can be null not 0.
2406 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2407 (DoubleBufferImpl): Revised.
2408 (slice): New implementation.
2409 (duplicate): New implementation.
2410 (compact): New implementation.
2411 (asReadOnlyBuffer): New implementation.
2412 (get): Documentation revised.
2413 (order): Return native byte order.
2414 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2415 (FloatBufferImpl): Revised.
2416 (slice): New implementation.
2417 (duplicate): New implementation.
2418 (compact): New implementation.
2419 (asReadOnlyBuffer): New implementation.
2420 (get): Documentation revised.
2421 (order): Return native byte order.
2422 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2423 (IntBufferImpl): Revised.
2424 (slice): New implementation.
2425 (duplicate): New implementation.
2426 (compact): New implementation.
2427 (asReadOnlyBuffer): New implementation.
2428 (get): Documentation revised.
2429 (order): Return native byte order.
2430 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2431 (LongBufferImpl): Revised.
2432 (slice): New implementation.
2433 (duplicate): New implementation.
2434 (compact): New implementation.
2435 (asReadOnlyBuffer): New implementation.
2436 (get): Documentation revised.
2437 (order): Return native byte order.
2438 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2439 (ShortBufferImpl): Revised.
2440 (slice): New implementation.
2441 (duplicate): New implementation.
2442 (compact): New implementation.
2443 (asReadOnlyBuffer): New implementation.
2444 (get): Documentation revised.
2445 (order): Return native byte order.
2446 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2447 (CharBuffer): Revised.
2448 (order): Removed.
2449 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2450 (DoubleBuffer): Revised.
2451 (allocateDirect): Removed.
2452 (order): Removed.
2453 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2454 (FloatBuffer): Revised.
2455 (allocateDirect): Removed.
2456 (order): Removed.
2457 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2458 (IntBuffer): Revised.
2459 (allocateDirect): Removed.
2460 (order): Removed.
2461 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2462 (LongBuffer): Revised.
2463 (allocateDirect): Removed.
2464 (order): Removed.
2465 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2466 (ShortBuffer): Revised.
2467 (allocateDirect): Removed.
2468 (order): Removed.
2469 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2470 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2471 * Makefile.am
2472 (ordinary_java_source_files): Added the following files:
2473 gnu/java/nio/CharViewBufferImpl.java,
2474 gnu/java/nio/DoubleViewBufferImpl.java,
2475 gnu/java/nio/FloatViewBufferImpl.java,
2476 gnu/java/nio/IntViewBufferImpl.java,
2477 gnu/java/nio/LongViewBufferImpl.java,
2478 gnu/java/nio/ShortViewBufferImpl.java
2479 (nat_source_files): Removed the following files:
2480 gnu/java/nio/natByteBufferImpl.cc,
2481 gnu/java/nio/natCharBufferImpl.cc
2482 * Makefile.in: Regenerated.
2483
2484 2003-05-12 Michael Koch <konqueror@gmx.de>
2485
2486 * gnu/java/nio/CharViewBufferImpl.java,
2487 gnu/java/nio/DirectByteBufferImpl.java,
2488 gnu/java/nio/DoubleViewBufferImpl.java,
2489 gnu/java/nio/FloatViewBufferImpl.java,
2490 gnu/java/nio/IntViewBufferImpl.java,
2491 gnu/java/nio/LongViewBufferImpl.java,
2492 gnu/java/nio/ShortViewBufferImpl.java,
2493 gnu/java/nio/natDirectByteBufferImpl.cc:
2494 New files, not yet to be compiled.
2495
2496 2003-05-10 Michael Koch <konqueror@gmx.de>
2497
2498 * javax/swing/plaf/ButtonUI.java,
2499 javax/swing/plaf/ColorUIResource.java,
2500 javax/swing/plaf/ComponentUI.java,
2501 javax/swing/plaf/DimensionUIResource.java,
2502 javax/swing/plaf/FontUIResource.java,
2503 javax/swing/plaf/IconUIResource.java,
2504 javax/swing/plaf/InsetsUIResource.java,
2505 javax/swing/plaf/LabelUI.java,
2506 javax/swing/plaf/ListUI.java,
2507 javax/swing/plaf/OptionPaneUI.java,
2508 javax/swing/plaf/PanelUI.java,
2509 javax/swing/plaf/TabbedPaneUI.java,
2510 javax/swing/plaf/TextUI.java,
2511 javax/swing/plaf/TreeUI.java,
2512 javax/swing/plaf/ViewportUI.java,
2513 javax/swing/plaf/basic/BasicBorders.java,
2514 javax/swing/plaf/basic/BasicButtonUI.java,
2515 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2516 javax/swing/plaf/basic/BasicDefaults.java,
2517 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2518 javax/swing/plaf/basic/BasicIconFactory.java,
2519 javax/swing/plaf/basic/BasicLabelUI.java,
2520 javax/swing/plaf/basic/BasicListUI.java,
2521 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2522 javax/swing/plaf/basic/BasicPanelUI.java,
2523 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2524 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2525 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2526 javax/swing/plaf/basic/BasicTextUI.java,
2527 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2528 javax/swing/plaf/basic/BasicTreeUI.java,
2529 javax/swing/plaf/basic/BasicViewportUI.java,
2530 javax/swing/plaf/metal/MetalLookAndFeel.java:
2531 New versions from classpath. This adds copyrights to all files and
2532 some serialVersionUIDs.
2533
2534 2003-05-10 Michael Koch <konqueror@gmx.de>
2535
2536 * java/nio/CharBuffer.java
2537 (offset): Make it package-private.
2538 (backing_buffer): Likewise.
2539 * java/nio/DoubleBuffer.java
2540 (offset): Make it package-private.
2541 (backing_buffer): Likewise.
2542 (put): Reformatted.
2543 * java/nio/FloatBuffer.java
2544 (offset): Make it package-private.
2545 (backing_buffer): Likewise.
2546 * java/nio/IntBuffer.java
2547 (offset): Make it package-private.
2548 (backing_buffer): Likewise.
2549 * java/nio/LongBuffer.java
2550 (offset): Make it package-private.
2551 (backing_buffer): Likewise.
2552 * java/nio/ShortBuffer.java
2553 (offset): Make it package-private.
2554 (backing_buffer): Likewise.
2555
2556 2003-05-10 Michael Koch <konqueror@gmx.de>
2557
2558 * java/nio/CharBuffer.java
2559 (put): Fixed precondtion check.
2560 (toString): Make it work without backing array.
2561 (put): Skip one level of method calling.
2562
2563 2003-05-10 Michael Koch <konqueror@gmx.de>
2564
2565 * java/security/Identity.java,
2566 java/security/IdentityScope.java,
2567 java/security/Key.java,
2568 java/security/KeyPair.java,
2569 java/security/PrivateKey.java,
2570 java/security/Provider.java,
2571 java/security/PublicKey.java,
2572 java/security/SecureRandom.java,
2573 java/security/SecureRandomSpi.java,
2574 java/security/SignedObject.java,
2575 java/security/Signer.java,
2576 java/security/cert/Certificate.java,
2577 java/security/cert/PKIXCertPathBuilderResult.java,
2578 java/security/cert/X509Certificate.java:
2579 New versions from classpath.
2580
2581 2003-05-09 Tom Tromey <tromey@redhat.com>
2582
2583 * Makefile.in: Rebuilt.
2584 * Makefile.am (nat_source_files): Removed old files.
2585 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2586 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2587 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2588 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2589 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2590
2591 2003-05-09 Michael Koch <konqueror@gmx.de>
2592
2593 * gnu/java/nio/ByteBufferImpl.java
2594 (nio_cast): Removed.
2595 (ByteBufferImpl): Removed.
2596 (nio_get_Byte): Removed.
2597 (nio_put_Byte): Removed.
2598 (asByteBuffer): Removed.
2599 (asCharBuffer): Removed implementation and throw exception.
2600 (asShortBuffer): Likewise.
2601 (asIntBuffer): Likewise.
2602 (asLongBuffer): Likewise.
2603 (asFloatBuffer): Likewise.
2604 (asDoubleBuffer): Likewise.
2605 * gnu/java/nio/CharBufferImpl.java
2606 (CharBufferImpl): Removed.
2607 (nio_get_Byte): Removed.
2608 (nio_put_Byte): Removed.
2609 (asByteBuffer): Removed.
2610 * gnu/java/nio/DoubleBufferImpl.java
2611 (DoubleBufferImpl): Removed.
2612 (nio_get_Byte): Removed.
2613 (nio_put_Byte): Removed.
2614 (asByteBuffer): Removed.
2615 * gnu/java/nio/FloatBufferImpl.java
2616 (FloatBufferImpl): Removed.
2617 (nio_get_Byte): Removed.
2618 (nio_put_Byte): Removed.
2619 (asByteBuffer): Removed.
2620 * gnu/java/nio/IntBufferImpl.java
2621 (IntBufferImpl): Removed.
2622 (nio_get_Byte): Removed.
2623 (nio_put_Byte): Removed.
2624 (asByteBuffer): Removed.
2625 * gnu/java/nio/LongBufferImpl.java
2626 (LongBufferImpl): Removed.
2627 (nio_get_Byte): Removed.
2628 (nio_put_Byte): Removed.
2629 (asByteBuffer): Removed.
2630 * gnu/java/nio/ShortBufferImpl.java
2631 (ShortBufferImpl): Removed.
2632 (nio_get_Byte): Removed.
2633 (nio_put_Byte): Removed.
2634 (asByteBuffer): Removed.
2635 * gnu/java/nio/natByteBufferImpl.cc
2636 (nio_cast): Removed.
2637 (nio_get_Byte): Removed.
2638 (nio_put_Byte): Removed.
2639 * gnu/java/nio/natCharBufferImpl.cc
2640 (nio_get_Byte): Removed.
2641 (nio_put_Byte): Removed.
2642
2643 2003-05-09 Michael Koch <konqueror@gmx.de>
2644
2645 * java/net/JarURLConnection.java
2646 (getJarEntry): Merged documentation from classpath.
2647 (getJarFile): Likewise.
2648 (getMainAttributes): Likewise.
2649 (getAttributes): Likewise.
2650 (getManifest): Likewise.
2651 (getCertificates): Reformatted.
2652 * java/net/URLConnection.java:
2653 Little classpath merge.
2654
2655 2003-05-09 Michael Koch <konqueror@gmx.de>
2656
2657 * java/io/DataOutputStream.java
2658 (writeShort): Made it synchronized.
2659 (writeChar): Likewise.
2660 (writeInt): Likewise.
2661 (writeLong): Liekwise.
2662 (writeUTF): Made it synchronized, renamed argument to match classpath.
2663 * java/io/InputStreamReader.java
2664 (converter): Added documentation.
2665 (read): Merged documentation from classpath.
2666 * java/io/OutputStreamWriter.java
2667 (OutputStreamWriter): Merged documentation from classpath.
2668 (close): Reformatted.
2669 (getEncoding): Likewise.
2670 (flush): Likewise.
2671 (write): Merged documentation from classpath, reformatted.
2672
2673 2003-05-08 Tom Tromey <tromey@redhat.com>
2674
2675 * configure.host <powerpc64*-*>: Set with_libffi_default and
2676 libgcj_interpreter to "yes".
2677
2678 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2679
2680 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2681
2682 2003-05-06 Tom Tromey <tromey@redhat.com>
2683
2684 * verify.cc: Reverted previous patch.
2685
2686 2003-05-06 Michael Koch <konqueror@gmx.de>
2687
2688 * java/io/DataOutputStream.java
2689 (write): Renamed argument to "value", merged documentation from
2690 classpath.
2691 (writeBoolean): Likewise.
2692 (writeByte): Likewise.
2693 (writeShort): Likewise.
2694 (writeChar): Likewise.
2695 (writeInt): Likewise.
2696 (writeLong): Likewise.
2697 (writeFloat): Likewise.
2698 (writeDouble): Likewise.
2699 (writeBytes): Likewise.
2700 (writeChars): Likewise.
2701 (writeUTF): Likewise.
2702 * java/io/File.java
2703 (performDelete): Added documentation.
2704 (performList): Likewise.
2705 (performMkdir): Likewise.
2706 (performSetReadOnly): Likewise.
2707 (performRenameTo): Likewise.
2708 (performSetLastModified): Likewise.
2709 (delete): Made it sychronized.
2710 (renameTo): Made it sychronized.
2711 (equals): Reformatted.
2712 (isHidden): Likewise.
2713 (listFiles): Likewise.
2714 (setReadOnly): Likewise.
2715 (listRoots): Likewise.
2716 (setLastModified): Likewise.
2717 (checkRead): Likewise.
2718 (checkWrite): Likewise.
2719 * java/io/FileInputStream.java
2720 (skip): Made it sychronized, merged from classpath.
2721 * java/io/FileOutputStream.java
2722 (write): Merged from classpath.
2723 * java/io/InputStreamReader.java:
2724 (InputStreamReader): Merged documentation from classpath.
2725
2726 2003-05-05 Michael Koch <konqueror@gmx.de>
2727
2728 * java/net/NetworkInterface.java
2729 (networkInterfaces): Removed.
2730 (getByName): Use getRealNetworkInterfaces() instead of
2731 networkInterfaces.
2732 (getByInetAddress): Likewise.
2733 (getNetworkInterfaces): Likewise.
2734 (toString): Fix output of addresses of an interface.
2735
2736 2003-05-05 Michael Koch <konqueror@gmx.de>
2737
2738 * java/io/DataInputStream.java:
2739 Merged new documentation from classpath.
2740
2741 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2742
2743 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2744 "version".
2745 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2746 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2747 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2748 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2749 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2750 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2751 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2752 * java/security/Key.java: Likewise.
2753 * java/security/PrivateKey.java: Likewise.
2754 * java/security/Provider.java: Likewise.
2755 * java/security/PublicKey.java: Likewise.
2756
2757 2003-05-02 Michael Koch <konqueror@gmx.de>
2758
2759 * java/net/URI.java
2760 (create): Doesnt throws any exceptions.
2761 * java/net/URLConnection.java
2762 (URLConnection): Commend added.
2763 (getExpiration): The header field is called "expires" not
2764 "expiration".
2765 (getHeaderField): Merged documentation with classpath.
2766 (getHeaderFieldInt): Likewise.
2767 (getHeaderFieldDate): Likewise.
2768 (getHeaderFieldKey): Likewise.
2769 (getPermission): Likewise.
2770 (setDefaultUseCaches): Likewise.
2771 (setRequestProperty): Likewise.
2772 (addRequestProperty): Likewise.
2773 (getRequestProperty): Likewise.
2774 (getRequestProperties): Likewise.
2775 (setDefaultRequestProperty): Likewise.
2776 (getDefaultRequestProperty): Likewise.
2777 (guessContentTypeFromStream): Likewise.
2778 (getFileNameMap): Likewise.
2779 (setFileNameMap): Likewise.
2780 (setDoInput): Merged implementation and documentation with classpath.
2781 (setDoOutput): Likewise.
2782 (setAllowUserInteraction): Likewise.
2783 (setDefaultAllowUserInteraction): Likewise.
2784 (setContentHandlerFactory): Made it synchronized, merged documentation
2785 with classpath.
2786 (guessContentTypeFromName): Renamed argument fname to filename to
2787 match classpath, merged documentation with classpath.
2788
2789 2003-05-02 Michael Koch <konqueror@gmx.de>
2790
2791 * java/net/JarURLConnection.java
2792 (JarURLConnection): Class documentation merged with classpath.
2793 (getJarFileURL): Moved and documentation merged with classpath.
2794 (getEntryName): Likewise.
2795 (JarURLConnection): Documentation merged with classpath.
2796 (getJarEntry): Likewise.
2797 (getJarFile): Likewise.
2798 * java/net/PlainDatagramSocketImpl.java:
2799 Class documentation moved.
2800 * java/net/URLConnection.java
2801 (fileNameMap): Moved and documentation merged with classpath.
2802 (factory): Likewise.
2803 (defaultAllowUserInteraction): Likewis.
2804 (defaultUseCaches): Likewise.
2805 (allowUserInteraction): Likewise.
2806 (connected): Likewise.
2807 (url): Likewise.
2808 (connect): Documentation merged with classpath.
2809 (getURL): Likewise.
2810 (getContentLength): Likewise.
2811 (getContentType): Likewise.
2812 (getContentEncoding): Likewise.
2813 (getExpiration): Likewise.
2814 (getDate): Likewise.
2815 (getLastModified): Likewise.
2816 (getHeaderField): Likewise.
2817 (getContent): Likewise.
2818 (getPermission): Likewise.
2819 (getInputStream): Likewise.
2820 (getOutputStream): Likewise.
2821 (toString): Likewise.
2822 (getDoInput): Likewise.
2823 (getDoOutput): Likewise.
2824 (setAllowUserInteraction): Likewise.
2825 (getAllowUserInteraction): Likewise.
2826 (setDefaultAllowUserInteraction): Likewise.
2827 (getDefaultAllowUserInteraction): Likewise.
2828 (setUseCaches): Likewise.
2829 (getUseCaches): Likewise.
2830 (setIfModifiedSince): Likewise.
2831 (getIfModifiedSince): Likewise.
2832 (setDefaultRequestProperty): Likewise.
2833 (getDefaultRequestProperty): Likewise.
2834 (setContentHandlerFactory): Likewise.
2835 (setFileNameMap): Likewise.
2836
2837 2003-05-02 Michael Koch <konqueror@gmx.de>
2838
2839 * java/net/InetAddress.java:
2840 Merged class documentation with classpath.
2841 * java/net/JarURLConnection.java:
2842 Explicitely import all used classes.
2843 * java/net/URL.java:
2844 Reformatting.
2845 * java/net/ServerSocket.java,
2846 java/net/Socket.java:
2847 New versions from classpath.
2848
2849 2003-05-02 Michael Koch <konqueror@gmx.de>
2850
2851 * gnu/java/nio/FileChannelImpl.java
2852 (read): New implementation.
2853 (implRead): New methods.
2854 (write): New implementation, call other write insteal of read method.
2855 (implWrite): New methods.
2856 (map): Added comment.
2857 (transferFrom): Implemented.
2858 (transferTo): Implemented.
2859 (lock): Added checks to throw exceptions.
2860 (truncate): Added check to throw exception.
2861 * gnu/java/nio/natFileChannelImpl.cc
2862 (implRead): New method.
2863 (implWrite): New method.
2864 * java/nio/ByteBuffer.java
2865 (hashCode): Fixed comment.
2866 (get): Fixed exception documentation.
2867 (put): Fixed exception documentation.
2868 * java/nio/CharBuffer.java:
2869 Added comment for later optimizations.
2870
2871 2003-04-30 Tom Tromey <tromey@redhat.com>
2872
2873 PR libgcj/10582:
2874 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2875 Removed.
2876 (type::compatible): Use _Jv_IsAssignableFrom.
2877 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2878 (_Jv_IsAssignableFrom): Work even when source or target class is
2879 not prepared.
2880
2881 2003-04-30 Michael Koch <konqueror@gmx.de>
2882
2883 * java/text/BreakIterator.java
2884 (clone): New method.
2885
2886 2003-04-30 Michael Koch <konqueror@gmx.de>
2887
2888 * java/text/CollationElementIterator.java,
2889 java/text/CollationKey.java,
2890 java/text/RuleBasedCollator.java:
2891 Merged copyright and documentation from classpath and
2892 rearranged some code. No code changes done.
2893
2894 2003-04-30 Michael Koch <konqueror@gmx.de>
2895
2896 * java/util/regex/Matcher.java
2897 (pattern): New member variable.
2898 (appendReplacement): New method.
2899 (appendTail): New method.
2900 (end): New method.
2901 (find): New method.
2902 (group): New method.
2903 (replaceFirst): Added documentation.
2904 (replaceAll): Added documentation.
2905 (groupCount): New method.
2906 (lookingAt): New method.
2907 (matches): New method.
2908 (reset): New method.
2909 (start): New method.
2910 * java/util/regex/Pattern.java
2911 (serialVersionUID): New constant.
2912 (CANON_EQ): New constant.
2913 (CASE_INSENSITIVE): New constant.
2914 (COMMENTS): New constant.
2915 (DOTALL): New constant.
2916 (MULTILINE): New constant.
2917 (UNICODE_CASE): New constant.
2918 (UNIX_LINES): New constant.
2919 (regex): New member variable.
2920 (flags): New member variable.
2921 (Pattern): New method.
2922 (compile): Documentation added.
2923 (flags): New method.
2924 (matches): Documentation added.
2925 (matcher): Documentation added.
2926 (split): Documentation added.
2927 (pattern): New method.
2928
2929 2003-04-30 Michael Koch <konqueror@gmx.de>
2930
2931 * gnu/java/security/Engine.java,
2932 gnu/java/security/OID.java,
2933 gnu/java/security/der/BitString.java,
2934 gnu/java/security/der/DER.java,
2935 gnu/java/security/der/DERReader.java,
2936 gnu/java/security/der/DERValue.java,
2937 gnu/java/security/der/DERWriter.java,
2938 gnu/java/security/provider/DSAKeyFactory.java,
2939 gnu/java/security/provider/X509CertificateFactory.java,
2940 gnu/java/security/x509/X500DistinguishedName.java,
2941 gnu/java/security/x509/X509CRL.java,
2942 gnu/java/security/x509/X509CRLEntry.java,
2943 gnu/java/security/x509/X509Certificate.java,
2944 java/security/cert/CRLSelector.java,
2945 java/security/cert/CertPathBuilder.java,
2946 java/security/cert/CertPathBuilderResult.java,
2947 java/security/cert/CertPathBuilderSpi.java,
2948 java/security/cert/CertPathParameters.java,
2949 java/security/cert/CertPathValidator.java,
2950 java/security/cert/CertPathValidatorResult.java,
2951 java/security/cert/CertPathValidatorSpi.java,
2952 java/security/cert/CertSelector.java,
2953 java/security/cert/CertStore.java,
2954 java/security/cert/CertStoreParameters.java,
2955 java/security/cert/CertStoreSpi.java,
2956 java/security/cert/CollectionCertStoreParameters.java,
2957 java/security/cert/LDAPCertStoreParameters.java,
2958 java/security/cert/PKIXBuilderParameters.java,
2959 java/security/cert/PKIXCertPathBuilderResult.java,
2960 java/security/cert/PKIXCertPathChecker.java,
2961 java/security/cert/PKIXCertPathValidatorResult.java,
2962 java/security/cert/PKIXParameters.java,
2963 java/security/cert/PolicyNode.java,
2964 java/security/cert/PolicyQualifierInfo.java,
2965 java/security/cert/TrustAnchor.java,
2966 javax/security/auth/x500/X500Principal.java:
2967 New files from classpath.
2968 * gnu/java/io/ASN1ParsingException.java,
2969 gnu/java/io/Base64InputStream.java,
2970 gnu/java/security/der/DEREncodingException.java,
2971 gnu/java/security/provider/DSAParameters.java,
2972 gnu/java/security/provider/DSASignature.java,
2973 gnu/java/security/provider/Gnu.java,
2974 gnu/java/security/provider/GnuDSAPrivateKey.java,
2975 gnu/java/security/provider/GnuDSAPublicKey.java,
2976 java/security/AlgorithmParameterGenerator.java,
2977 java/security/AlgorithmParameters.java,
2978 java/security/KeyFactory.java,
2979 java/security/KeyPairGenerator.java,
2980 java/security/KeyStore.java,
2981 java/security/MessageDigest.java,
2982 java/security/SecureClassLoader.java,
2983 java/security/SecureRandom.java,
2984 java/security/Security.java,
2985 java/security/Signature.java,
2986 java/security/cert/Certificate.java,
2987 java/security/cert/CertificateFactory.java,
2988 java/security/cert/CertificateFactorySpi.java,
2989 java/security/cert/X509CRL.java,
2990 java/security/cert/X509Certificate.java,
2991 java/security/spec/DSAPublicKeySpec.java:
2992 New versions from classpath.
2993 * gnu/java/security/provider/DERReader.java,
2994 gnu/java/security/provider/DERWriter.java,
2995 java/security/Engine.java: Removed.
2996 * Makefile.am
2997 (java_source_files, javax_source_files): Added new files.
2998 * Makefile.in: Regenerated.
2999
3000 2003-04-29 Michael Koch <konqueror@gmx.de>
3001
3002 * javax/swing/JTable.java
3003 (AUTO_RESIZE_ALL_COLUMNS): New constant.
3004 (AUTO_RESIZE_LAST_COLUMN): New constant.
3005 (AUTO_RESIZE_NEXT_COLUMN): New constant.
3006 (AUTO_RESIZE_OFF): New constant.
3007 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
3008 (JTable): New method.
3009 (columnAdded): New method.
3010 (columnMarginChanged): New method.
3011 (columnMoved): New method.
3012 (columnRemoved): New method.
3013 (columnSelectionChanged): New method.
3014 (editingCanceled): New method.
3015 (editingStopped): New method.
3016 (getColumnModel): New method.
3017 (getPreferredScrollableViewportSize): New method.
3018 (getScrollableBlockIncrement): New method.
3019 (getScrollableTracksViewportHeight): New method.
3020 (getScrollableTracksViewportWidth): New method.
3021 (getScrollableUnitIncrement): New method.
3022 (getSelectedRow): New method.
3023 (getSelectionModel): New method.
3024 (tableChanged): New method.
3025 (setModel): New method.
3026 (setSelectionMode): New method.
3027 (setSelectionModel): New method.
3028 (setShowGrid): New method.
3029 (valueChanged): New method.
3030 * javax/swing/text/DefaultEditorKit.java
3031 (backwardAction): New constant.
3032 (beepAction): New constant.
3033 (beginAction): New constant.
3034 (beginLineAction): New constant.
3035 (beginParagraphAction): New constant.
3036 (beginWordAction): New constant.
3037 (copyAction): New constant.
3038 (cutAction): New constant.
3039 (defaultKeyTypedAction): New constant.
3040 (deleteNextCharAction): New constant.
3041 (deletePrevCharAction): New constant.
3042 (downAction): New constant.
3043 (endAction): New constant.
3044 (endLineAction): New constant.
3045 (endOfLineStringProperty): New constant.
3046 (endParagraphAction): New constant.
3047 (endWordAction): New constant.
3048 (forwardAction): New constant.
3049 (insertBreakAction): New constant.
3050 (insertContentAction): New constant.
3051 (insertTabAction): New constant.
3052 (nextWordAction): New constant.
3053 (pageDownAction): New constant.
3054 (pageUpAction): New constant.
3055 (pasteAction): New constant.
3056 (previousWordAction): New constant.
3057 (readOnlyAction): New constant.
3058 (selectAllAction): New constant.
3059 (selectionBackwardAction): New constant.
3060 (selectionBeginAction): New constant.
3061 (selectionBeginLineAction): New constant.
3062 (selectionBeginParagraphAction): New constant.
3063 (selectionBeginWordAction): New constant.
3064 (selectionDownAction): New constant.
3065 (selectionEndAction): New constant.
3066 (selectionEndLineAction): New constant.
3067 (selectionEndParagraphAction): New constant.
3068 (selectionEndWordAction): New constant.
3069 (selectionForwardAction): New constant.
3070 (selectionNextWordAction): New constant.
3071 (selectionPreviousWordAction): New constant.
3072 (selectionUpAction): New constant.
3073 (selectLineAction): New constant.
3074 (selectParagraphAction): New constant.
3075 (selectWordAction): New constant.
3076 (upAction): New constant.
3077 (writableAction): New constant.
3078
3079 2003-04-29 Michael Koch <konqueror@gmx.de>
3080
3081 * java/util/PropertyPermission.java:
3082 New version from classpath
3083 * java/util/ResourceBundle.java:
3084 Partly merged from classpath
3085 (getObject): Reformated.
3086 (tryBundle): Set foundBundle = null if no bundle found.
3087
3088 2003-04-29 Michael Koch <konqueror@gmx.de>
3089
3090 * javax/swing/AbstractListModel.java,
3091 javax/swing/DefaultBoundedRangeModel.java,
3092 javax/swing/DefaultSingleSelectionModel.java:
3093 New Versions from classpath.
3094
3095 2003-04-29 Michael Koch <konqueror@gmx.de>
3096
3097 * java/awt/Window.java
3098 (show): Call super.show() instead of setVisible() to avoid endless
3099 loop.
3100 (hide): Call super.hide() instead of setVisible() to avoid endless
3101 loop.
3102
3103 2003-04-29 Michael Koch <konqueror@gmx.de>
3104
3105 * java/util/zip/Deflater.java,
3106 java/util/zip/DeflaterOutputStream.java:
3107 Partly merged with classpath.
3108
3109 2003-04-27 Tom Tromey <tromey@redhat.com>
3110
3111 * java/lang/natString.cc (_Jv_AllocString): Initialize
3112 cachedHashCode.
3113 (init): Likewise.
3114 (_Jv_NewStringUtf8Const): Likewise.
3115
3116 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
3117
3118 * include/jvm.h: (_Jv_GetNbArgs) added
3119 (_Jv_GetSafeArg) added
3120 (_Jv_SetArgs) added
3121 * prims.cc: (_Jv_GetNbArgs) implemented
3122 (_Jv_GetSafeArg) implemented
3123 (_Jv_SetArgs) implemented
3124 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3125 setting _Jv_argc and _Jv_argv
3126 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3127 instead of _Jv_argv
3128 * java/lang/natRuntime.cc: (insertSystemProperties) use
3129 _Jv_GetSafeArg() instead of _Jv_argv
3130
3131 2003-04-23 Tom Tromey <tromey@redhat.com>
3132
3133 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3134 required by this object. Search superclasses to find required
3135 alignment.
3136 (get_alignment_from_class): Use alignment of type as it appears
3137 in a struct.
3138 (ALIGNOF): New macro.
3139 (struct aligner): New helper structure.
3140
3141 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
3142
3143 * java/awt/Container.java (addImpl): Enable paint events if adding
3144 a lightweight to a heavyweight.
3145 (addNotify): Ensure that peer is created before
3146 addNotifyContainerChildren.
3147 (addNotifyContainerChildren): Enable paint events if a heavyweight
3148 container contains a lightweight.
3149
3150 2003-04-20 Tom Tromey <tromey@redhat.com>
3151
3152 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3153 java/io/DataInput.java, java/io/DataOutput.java: Imports from
3154 Classpath.
3155
3156 2003-04-19 Tom Tromey <tromey@redhat.com>
3157
3158 * java/sql/Date.java, java/sql/DriverManager.java,
3159 java/sql/Time.java, java/sql/Timestamp.java: New versions from
3160 Classpath.
3161
3162 * Makefile.in: Rebuilt.
3163 * Makefile.am (ordinary_java_source_files): Added new files.
3164 * java/security/AlgorithmParameterGenerator.java,
3165 java/security/AlgorithmParameters.java, java/security/Engine.java,
3166 java/security/Identity.java, java/security/IdentityScope.java,
3167 java/security/KeyFactory.java,
3168 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3169 java/security/MessageDigest.java, java/security/Policy.java,
3170 java/security/ProtectionDomain.java,
3171 java/security/SecureRandom.java, java/security/Security.java,
3172 java/security/Signature.java, java/security/SignatureSpi.java,
3173 java/security/SignedObject.java, java/security/Signer.java,
3174 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3175 java/security/spec/PSSParameterSpec.java,
3176 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3177 java/security/spec/RSAOtherPrimeInfo.java: New versions from
3178 Classpath.
3179
3180 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3181
3182 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3183 (dispose): Null metrics.
3184 * gnu/awt/xlib/XToolkit.java (sync): Implement.
3185 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3186 finalize.
3187 (finalize): Call dispose.
3188 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3189 (gcCachedCount): New field.
3190 (finalize): New method.
3191 (putGCInCache): New method.
3192 (getGCFromCache): New method.
3193 * gnu/gcj/xlib/GC.java (GC): Make protected.
3194 (clone): Get new GC from cache if possible.
3195 (create): New static method.
3196 (dispose): Save old GC in cache.
3197 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3198 deleting.
3199 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3200 is null.
3201 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3202 * java/awt/Container.java (visitChild): Dispose gfx2 when
3203 finished.
3204
3205 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
3206
3207 * java/math/BigInteger.java (probablePrime): New.
3208 * java/math/BigDecimal.java (unscaledValue): New.
3209
3210 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
3211
3212 * java/io/File.java (getAbsolutePath): On Windows, take care
3213 of paths like "C:", "G:foo\bar", etc.
3214 (getName): Make it work correctly on Windows.
3215 (getParent): Make it work correctly on Windows. For UNIX,
3216 fix bug that causes "/" to be returned as the parent of "/",
3217 instead of null as returned by Sun's JRE.
3218
3219 * java/io/natFileWin32.cc: Change copyright owner to FSF.
3220
3221 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3222
3223 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3224 inner class.
3225 (CACHE_SIZE_PER_DISPLAY): New field
3226 (fontMetricsCache): New field
3227 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3228 loading ISO10646-1 fonts.
3229
3230 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3231
3232 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3233 characters.
3234 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3235 characters.
3236
3237 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
3238
3239 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3240 floating point.
3241
3242 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3243
3244 * configure.host (*-linux*): Don't set slow_pthread_self if primary
3245 installed libpthread is either linuxthreads with floating stacks or
3246 NPTL.
3247
3248 2003-04-14 Tom Tromey <tromey@redhat.com>
3249
3250 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3251 of alignment.
3252
3253 2003-04-10 Tom Tromey <tromey@redhat.com>
3254
3255 * verify.cc (pop64): Removed.
3256 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3257 exception if top-of-stack is narrow.
3258 (initialize_stack): Check to ensure that <init> is not static and
3259 <clinit> is.
3260
3261 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3262
3263 * java/io/ObjectStreamException
3264 * java/io/FileFilter
3265 * java/io/FilenameFilter
3266 * java/io/ObjectInput
3267 * java/io/ObjectOutput
3268 * java/io/ObjectStreamConstants
3269 Minor doc fixes, format fixes, spelling corrections, etc.
3270 * java/io/DataInput
3271 Corrected code samples in Javadocs to match reality
3272 * java/io/DataOutput
3273 * java/io/ObjectInputValidation
3274 Major documentation fixes - all Javadocs re-written or updated
3275
3276 2003-04-06 Michael Koch <konqueror@gmx.de>
3277
3278 * java/net/URLConnection.java:
3279 Import classes directly.
3280 (URLConnection): Merged class documentation with classpath.
3281 (url): Moved, documentation from classpath added.
3282 (doInput): Moved, documentation from classpath added.
3283 (doOutput): Moved, documentation from classpath added.
3284 (allowUserInteraction): Moved.
3285 (useCaches): Moved, documentation from classpath added.
3286 (ifModifiedSince): Moved, documentation from classpath added.
3287 (connected): Moved, documentation from classpath added.
3288
3289 2003-04-06 Michael Koch <konqueror@gmx.de>
3290
3291 * java/io/FileInputStream.java
3292 (skip): Renamed some variables to match classpath, added
3293 checks from classpath.
3294
3295 2003-03-31 Michael Koch <konqueror@gmx.de>
3296
3297 * javax/swing/AbstractAction.java
3298 (AbstractAction): Reformatted.
3299 (serialVersionUID): New private member variable.
3300 * javax/swing/plaf/BorderUIResource.java
3301 (serialVersionUID): New private member variable.
3302 * javax/swing/plaf/basic/BasicLookAndFeel.java
3303 (serialVersionUID): New private member variable.
3304
3305 2003-03-31 Michael Koch <konqueror@gmx.de>
3306
3307 * java/sql/Date.java
3308 (valueOf): Deprecated, reformatted.
3309 (toString): Deprecated, reformatted.
3310 * java/sql/Time.java
3311 (valueOf): Deprecated, reformatted.
3312 (toString): Deprecated, reformatted.
3313
3314 2003-03-31 Michael Koch <konqueror@gmx.de>
3315
3316 * java/rmi/dgc/VMID.java
3317 (isUnique): Deprecated.
3318
3319 2003-03-31 Michael Koch <konqueror@gmx.de>
3320
3321 * java/io/File.java
3322 (separator): Merged documentation from classpath.
3323 (separatorChar): Merged documentation from classpath.
3324 (pathSeparator): Merged documentation from classpath.
3325 (pathSeparatorChar): Merged documentation from classpath.
3326 (path): Merged documentation from classpath.
3327 (canRead): Merged documentation from classpath.
3328 (canWrite): Merged documentation from classpath.
3329 (createNewFile): Merged documentation from classpath.
3330 (delete): Merged documentation from classpath.
3331 (equals): Merged documentation from classpath.
3332 (exists): Merged documentation from classpath.
3333 (File): Renamed p to name to match classpath, merged documentation
3334 from classpath.
3335 (getAbsolutePath): Merged documentation from classpath.
3336 (getCanonicalPath): Merged documentation from classpath.
3337 (getCanonicalFile): Merged documentation from classpath.
3338 (getName): Merged documentation from classpath.
3339 (getParent): Merged documentation from classpath.
3340 (getParentFile): Merged documentation from classpath.
3341 (getPath): Merged documentation from classpath.
3342 (hashCode): Merged documentation from classpath.
3343 (isAbsolute): Merged documentation from classpath.
3344 (isDirectory): Merged documentation from classpath.
3345 (isFile): Merged documentation from classpath.
3346 (isHidden): Merged documentation from classpath.
3347 (lastModified): Merged documentation from classpath.
3348 (length): Merged documentation from classpath.
3349 (list): Merged documentation from classpath.
3350 (listFiles): Merged documentation from classpath.
3351 (toString): Merged documentation from classpath.
3352 (toURL): Merged documentation from classpath.
3353 (mkdir): Merged documentation from classpath.
3354 (mkdirs): Merged documentation from classpath.
3355 (createTempFile): Merged documentation from classpath.
3356 (setReadOnly): Merged documentation from classpath.
3357 (listRoots): Merged documentation from classpath.
3358 (compareTo): Merged documentation from classpath.
3359 (renameTo): Merged documentation from classpath.
3360 (setLastModified): Merged documentation from classpath.
3361 * java/io/PrintStream.java
3362 (auto_flush): Merged documentation from classpath.
3363 (PrintStream): Merged documentation from classpath.
3364 (checkError): Merged documentation from classpath.
3365 (setError): Merged documentation from classpath.
3366 (close): Merged documentation from classpath.
3367 (flush): Merged documentation from classpath.
3368 (print): Merged documentation from classpath.
3369 (println): Merged documentation from classpath.
3370 (write): Renamed count to len to match classpath,
3371 merged documentation from classpath.
3372 * java/io/RandomAccessFile.java
3373 (readShort): Merged documentation from classpath.
3374 (readUnsignedByte): Merged documentation from classpath.
3375 (readUnsignedShort): Merged documentation from classpath.
3376 (readUTF): Merged documentation from classpath.
3377 (seek): Reformatted, merged documentation from classpath.
3378 (skipBytes): Renamed some variables to match classpath, reformatted,
3379 merged documentation from classpath.
3380 (write): Merged documentation from classpath.
3381 (writeBoolean): Merged documentation from classpath.
3382 (writeByte): Merged documentation from classpath.
3383 (writeShort): Merged documentation from classpath.
3384 (writeChar): Merged documentation from classpath.
3385 (writeInt): Merged documentation from classpath.
3386 (writeLong): Merged documentation from classpath.
3387 (writeFloat): Merged documentation from classpath.
3388 (writeDouble): Merged documentation from classpath.
3389 (writeBytes): Merged documentation from classpath.
3390 (writeChars): Merged documentation from classpath.
3391 (writeUTF): Reformatted.
3392 (getChannel): Reformatted.
3393
3394 2003-03-31 Michael Koch <konqueror@gmx.de>
3395
3396 * java/awt/font/TextAttribute.java
3397 (readResolve): Throws java.io.InvalidObjectException.
3398
3399 2003-03-31 Michael Koch <konqueror@gmx.de>
3400
3401 * java/rmi/server/LoaderHandler.java
3402 (loadClass): Deprecated.
3403 (getSecurityContext): Deprecated.
3404 * java/rmi/server/LogStream.java
3405 (getDefaultStream): Deprecated.
3406 (setDefaultStream): Deprecated.
3407 (getOutputStream): Deprecated.
3408 (setOutputStream): Deprecated.
3409 (write): Deprecated.
3410 (toString): Deprecated.
3411 (parseLevel): Deprecated.
3412 * java/rmi/server/Operation.java
3413 (Operation): Deprecated.
3414 (getOperation): Deprecated.
3415 (toString): Deprecated.
3416 * java/rmi/server/RemoteCall.java
3417 (getOutputStream): Deprecated.
3418 (releaseOutputStream): Deprecated.
3419 (getInputStream): Deprecated.
3420 (releaseInputStream): Deprecated.
3421 (getResultStream): Deprecated.
3422 (executeCall): Deprecated.
3423 (done): Deprecated.
3424 * java/rmi/server/RemoteRef.java
3425 (invoke): Deprecated.
3426 (newCall): Deprecated.
3427 (done): Deprecated.
3428 * java/rmi/server/RemoteStub.java
3429 (setRef): Deprecated.
3430 * java/rmi/server/Skeleton.java:
3431 No need to import java.lang.Exception explicitly.
3432 (dispatch): Deprecated.
3433 (getOperations): Deprecated.
3434
3435 2003-03-31 Michael Koch <konqueror@gmx.de>
3436
3437 * java/rmi/dgc/VMID.java,
3438 java/rmi/registry/RegistryHandler.java,
3439 java/rmi/server/LogStream.java,
3440 java/rmi/server/Operation.java,
3441 java/rmi/server/RemoteCall.java,
3442 java/rmi/server/RemoteRef.java,
3443 java/rmi/server/RemoteStub.java:
3444 Reformatted.
3445
3446 2003-03-31 Michael Koch <konqueror@gmx.de>
3447
3448 * javax/swing/AbstractCellEditor.java,
3449 javax/swing/AbstractListModel.java,
3450 javax/swing/ActionMap.java,
3451 javax/swing/BorderFactory.java,
3452 javax/swing/ButtonGroup.java,
3453 javax/swing/DefaultBoundedRangeModel.java,
3454 javax/swing/DefaultButtonModel.java,
3455 javax/swing/DefaultCellEditor.java,
3456 javax/swing/DefaultComboBoxModel.java,
3457 javax/swing/DefaultDesktopManager.java,
3458 javax/swing/DefaultListCellRenderer.java,
3459 javax/swing/DefaultSingleSelectionModel.java,
3460 javax/swing/InputMap.java,
3461 javax/swing/JComponent.java,
3462 javax/swing/JMenu.java,
3463 javax/swing/JSlider.java,
3464 javax/swing/KeyStroke.java,
3465 javax/swing/OverlayLayout.java,
3466 javax/swing/ScrollPaneLayout.java,
3467 javax/swing/SizeRequirements.java,
3468 javax/swing/UIManager.java,
3469 javax/swing/ViewportLayout.java,
3470 javax/swing/border/AbstractBorder.java,
3471 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3472 javax/swing/event/EventListenerList.java,
3473 javax/swing/table/AbstractTableModel.java,
3474 javax/swing/table/DefaultTableCellRenderer.java,
3475 javax/swing/table/DefaultTableColumnModel.java,
3476 javax/swing/table/DefaultTableModel.java,
3477 javax/swing/table/TableColumn.java,
3478 javax/swing/text/StyledEditorKit.java,
3479 javax/swing/tree/DefaultMutableTreeNode.java,
3480 javax/swing/tree/DefaultTreeModel.java,
3481 javax/swing/tree/DefaultTreeSelectionModel.java,
3482 javax/swing/tree/TreePath.java,
3483 javax/swing/undo/AbstractUndoableEdit.java,
3484 javax/swing/undo/StateEdit.java,
3485 javax/swing/undo/StateEditable.java,
3486 javax/swing/undo/UndoableEditSupport.java:
3487 Merges from classpath.
3488
3489 2003-03-30 Tom Tromey <tromey@redhat.com>
3490
3491 * java/lang/String.java (data, boffset, count): Documented.
3492 (String(byte[],String)): Reformatted.
3493 (String(byte[])): Likewise.
3494 (lastIndexOf(int)): Likewise.
3495 (lastIndexOf(String)): Likewise.
3496 (substring(int)): Renamed argument to match Classpath.
3497 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3498
3499 * java/lang/String.java: Miscellaneous minor formatting changes
3500 to match Classpath more closely.
3501
3502 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3503 Tom Tromey <tromey@redhat.com>
3504
3505 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3506 (init()): Removed.
3507 (charAt): Put index in exception.
3508 (contentEquals): New method.
3509 Include StringBuffer.h.
3510 * java/lang/String.java (cachedHashCode): New field.
3511 (String()): Follow classpath implementation.
3512 (init()): Removed.
3513 (contentEquals): Declare.
3514 (subSequence): Don't declare IndexOutIfBoundsException in throws
3515 clause.
3516 (matches, replaceFirst, replaceAll, split): New methods from
3517 Classpath.
3518
3519 2003-03-29 Tom Tromey <tromey@redhat.com>
3520
3521 * java/lang/String.java: Reordered to follow Classpath; merged in
3522 javadoc.
3523
3524 * java/text/MessageFormat.java: Removed some whitespace.
3525
3526 * Makefile.in: Rebuilt.
3527 * Makefile.am (awt_java_source_files): Added new files.
3528 * gnu/javax/rmi/PortableServer.java,
3529 gnu/javax/rmi/CORBA/DelegateFactory.java,
3530 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3531 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3532 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3533 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3534 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3535 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3536 javax/rmi/PortableRemoteObject.java,
3537 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3538 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3539 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3540 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3541 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3542 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3543
3544 * java/lang/natClass.cc (newInstance): Put method name in
3545 exception.
3546 (getConstructor): Likewise.
3547 (getDeclaredConstructor): Likewise.
3548 (getPrivateMethod): Likewise.
3549
3550 2003-03-28 Tom Tromey <tromey@redhat.com>
3551
3552 * java/lang/reflect/Proxy.java: New version from Classpath.
3553 * java/lang/Package.java: New version from Classpath.
3554
3555 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3556
3557 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3558 * configure: Regenerate.
3559
3560 2003-03-28 Michael Koch <konqueror@gmx.de>
3561
3562 * java/io/File.java:
3563 Import needed classes instead of whole packages, merged class
3564 documentation with classpath, moved constants and variables to top of
3565 class.
3566 * java/io/PrintStream.java:
3567 Merged class documentation with classpath, moved constants and
3568 variables to top of class.
3569 * java/io/RandomAccessFile.java
3570 (RandomAccessFile): Merged with classpath.
3571 (read): Merged with classpath).
3572 (read*): Reformatted.
3573
3574 2003-03-28 Michael Koch <konqueror@gmx.de>
3575
3576 * java/io/FileDescriptor.java
3577 (finalize): Throws Throwable, not IOException.
3578 * java/io/ObjectOutputStream.java
3579 (PutField.put): Doesnt throws anything.
3580
3581 2003­03-28 Michael Koch <konqueror@gmx.de>
3582
3583 * java/io/FileOutputStream.java:
3584 Merged class documentation and authors with classpath.
3585 (FileOutputStream): Partly merged with classpath.
3586 (write): Merged with classpath.
3587 (getChannel): Make it synchronized instead of explicit block in this
3588 method.
3589 * java/io/RandomAccessFile.java:
3590 Merged class documentation and authors with classpath.
3591
3592 2003-03-26 Tom Tromey <tromey@redhat.com>
3593
3594 * java/lang/natRuntime.cc (insertSystemProperties): Set
3595 gnu.classpath.home.url.
3596 * Makefile.in: Rebuilt.
3597 * Makefile.am: Define LIBDIR.
3598
3599 2003-03-25 Michael Koch <konqueror@gmx.de>
3600
3601 * java/io/FileInputStream.java
3602 (read): Renamed b to buf and off to offset.
3603 * java/io/FileOutputStream.java
3604 (ch): Documentation added.
3605 (FileOutputStream): Documentation added.
3606 (getFD): Documentation added.
3607 (write): Documentation added.
3608 (close): Documentation added.
3609 (getChannel): Documentation added.
3610
3611 2003-03-24 Michael Koch <konqueror@gmx.de>
3612
3613 * java/io/DataOutputStream.java
3614 (write): Merged from classpath.
3615 * java/io/File.java:
3616 Merged copyrigth with classpath.
3617 * java/io/FileInputStream.java
3618 (getChannel): Made it synchronized instead of using a synchronized
3619 block.
3620 * java/io/FileOutputStream.java: Reformatted.
3621 * java/io/InputStreamReader.java
3622 (InputStreamReader): Renamed enc to encoding_name.
3623 (close): Merged documentation from classpath.
3624 (getEncoding): Merged documentation from classpath.
3625 (ready): Merged documentation from classpath.
3626 (read): Merged documentation from classpath.
3627 * java/io/LineNumberReader.java
3628 (lineNumber): Made it private.
3629 (LineNumberReader): Use Constant instead of a direct value.
3630 * java/io/OutputStreamWriter.java
3631 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3632 documentation from classpath.
3633 (close): Merged documentation from classpath.
3634 (flush): Merged documentation from classpath.
3635 (write): Merged documentation from classpath.
3636 * java/io/PrintStream.java: Reformatted.
3637
3638 2003-03-24 Michael Koch <konqueror@gmx.de>
3639
3640 * javax/swing/text/ComponentView.java
3641 (getComponent): Must be final.
3642 * javax/swing/tree/DefaultTreeCellRenderer.java:
3643 Reformatted.
3644 * javax/swing/undo/StateEditable.java:
3645 Reformatted.
3646
3647 2003-03-24 Michael Koch <konqueror@gmx.de>
3648
3649 * java/rmi/activation/ActivationInstantiator.java:
3650 Reformatted.
3651 * java/rmi/activation/Activator.java:
3652 Reformatted.
3653 * java/rmi/registry/RegistryHandler.java:
3654 Remerged from classpath.
3655
3656 2003-03-24 Michael Koch <konqueror@gmx.de>
3657
3658 * java/util/Date.java:
3659 Fixed documentation starting tag to make javadoc happy.
3660 * java/util/regex/Pattern.java
3661 (Pattern): Implements Serializable.
3662 * java/util/PatternSyntaxException.java
3663 (serialVersionUID): New member variable.
3664
3665 2003-03-24 Michael Koch <koqnueror@gmx.de>
3666
3667 * java/awt/ContainerOrderFocusTraversalPolicy.java
3668 (getFirstComponent): Implemented.
3669 (getLastComponent): Implemented.
3670 (getDefaultComponent): Implemented.
3671 (setImplicitDownCycleTraversal): Fixed implementation.
3672 * java/awt/Robot.java
3673 (Robot): Added documentation.
3674 * java/awt/Toolkit.java
3675 (getFontList): Deprecated.
3676 (getFontMetrics): Deprecated.
3677 (getPrintJob): Added documentation.
3678 (getSystemSelection): Added documentation.
3679 (getLockingKeyState): Added documentation.
3680 (setLockingKeyState): Added documentation.
3681 (createCustomCursor): Added documentation.
3682 (getBestCursorSize): Added documentation.
3683 (getMaximumCursorColors): Added documentation.
3684 (isFrameStateSupported): Added documentation.
3685
3686 2003-03-24 Michael Koch <konqueror@gmx.de>
3687
3688 * java/io/RandomAccessFile.java:
3689 More little merges with classpath. No code changes.
3690
3691 2003-03-24 Michael Koch <konqueror@gmx.de>
3692
3693 * java/net/natInetAddressNoNet.cc:
3694 Include stddef.h.
3695 * java/net/natPlainDatagramSocketImplNoNet.cc:
3696 Fixed inlcude of java/net/DatagramPacket.h.
3697 * java/net/natPlainSocketImplNoNet.cc:
3698 Include some missing classes.
3699
3700 2003-03-24 Michael Koch <konqueror@gmx.de>
3701
3702 * java/awt/dnd/DropTarget.java
3703 (DropTargetAutoScroller): According to the online documentation, this
3704 is protected, but in reality it is public.
3705 * java/awt/dnd/DropTargetContext.java
3706 (TransferableProxy): According to the online documentation, this
3707 is protected, but in reality it is public.
3708
3709 2003-03-24 Michael Koch <konqueror@gmx.de>
3710
3711 * java/io/DataInputStream.java
3712 (): Wrapped documentation line.
3713 (): Fixed @return tag.
3714 * java/io/DataOutputStream.java
3715 (written): Moved to top of class.
3716 (all methods): Merged documentation from classpath.
3717 * java/io/File.java:
3718 Merged copyright year with classpath.
3719 * java/io/FileInputStream.java
3720 (all methods): Merged documentation from classpath.
3721 * java/io/LineNumberReader.java
3722 (getLineNumber): Fixed @return tag.
3723 * java/io/ObjectInputStream.java.
3724 Reformatted.
3725 * java/io/ObjectOutputStream.java:
3726 Reformatted, fixed some @see tags.
3727 * java/io/OutputStreamWriter.java:
3728 Deleted empty line.
3729 * java/io/Writer.java:
3730 Reformatted.
3731
3732 2003-03-24 Michael Koch <konqueror@gmx.de>
3733
3734 * java/awt/Frame.java
3735 (DEFAULT_CURSOR): Fixed @deprecated tag.
3736 (setCursor): Fixed @deprecated tag.
3737
3738 2003-03-24 Michael Koch <konqueror@gmx.de>
3739
3740 * java/beans/beancontext/BeanContextEvent.java:
3741 Reformated.
3742
3743 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3744
3745 * java/lang/natStringBuffer.cc (regionMatches): New function.
3746 * java/lang/String.java (count): Now package-private.
3747 * java/lang/StringBuffer.java: Merged with Classpath.
3748
3749 2003-03-23 Michael Koch <konqueror@gmx.de>
3750
3751 * java/io/BufferedOutputStream.java:
3752 Reformated.
3753 * java/io/BufferedReader.java:
3754 Reformated.
3755 * java/io/ByteArrayOutputStream.java
3756 (size): Fixed @see tag.
3757 * java/io/CharArrayWriter.java
3758 (size): Fixed @see tag.
3759 * java/io/DataInput.java:
3760 Reformated.
3761 * java/io/DataOutput.java:
3762 Reformated.
3763 * java/io/DataOutputStream.java:
3764 Merged copyright years with classpath.
3765 * java/io/Externalizable.java:
3766 Reformated.
3767 * java/io/FileFilter.java:
3768 Reformated.
3769 * java/io/FileInputStream.java:
3770 Merged copyright years with classpath.
3771 * java/io/FileOutputStream.java:
3772 Merged copyright years with classpath.
3773 * java/io/FilePermission.java
3774 (FilePermission): Replaced @XXX with FIXME:.
3775 * java/io/FileWriter.java:
3776 Reformated.
3777 * java/io/FilenameFilter.java:
3778 Reformated.
3779 * java/io/FilterInputStream.java:
3780 Reformated.
3781 * java/io/FilterOutputStream.java:
3782 Reformated.
3783 * java/io/FilterReader.java:
3784 Reformated.
3785 * java/io/FilterWriter.java:
3786 Reformated.
3787 * java/io/LineNumberInputStream.java
3788 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3789 happy.
3790 (getLineNumber): Fixed @return tag.
3791 * java/io/ObjectInput.java:
3792 Reformated.
3793 * java/io/ObjectOutput.java:
3794 Reformated.
3795 * java/io/ObjectStreamClass.java:
3796 Reformated.
3797 * java/io/PrintStream.java:
3798 Merged copyright years with classpath.
3799 * java/io/PushbackReader.java
3800 (PushbackReader): Replaced @code with @param.
3801 * java/io/SerializablePermission.java:
3802 Reformated.
3803 * java/io/StreamTokenizer.java
3804 (resetSyntax): Fixed @see tag.
3805
3806 2003-03-22 Richard Henderson <rth@redhat.com>
3807
3808 * sysdep/ia64/locks.h: Include ia64intrin.h.
3809 (compare_and_swap): Use __sync_bool_compare_and_swap.
3810 (compare_and_swap_release): Expose ar.ccv assignment.
3811
3812 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3813
3814 * include/posix.h: Add suffix for darwin dynamic libraries.
3815
3816 2003-03-21 Michael Koch <konqueror@gmx.de>
3817
3818 * javax/swing/Action.java
3819 (ACCELERATOR_KEY): New constant.
3820 (ACTION_COMMAND_KEY): Likewise.
3821 (MNEMONIC_KEY): Likewise.
3822 * javax/swing/UnsupportedLookAndFeelException.java
3823 (UnsupportedLookAndFeelException): Must be public.
3824 * javax/swing/WindowConstants.java
3825 (EXIT_ON_CLOSE): New constant.
3826 * javax/swing/text/BadLocationException.java
3827 (offset): New member variable.
3828 (BadLocationException): New implementation, documentation added.
3829 (offsetRequested): New method.
3830 * javax/swing/text/Caret.java:
3831 Reformated.
3832 * javax/swing/text/Document.java:
3833 Reformated.
3834
3835 2003-03-21 Michael Koch <konqueror@gmx.de>
3836
3837 * java/rmi/activation/Activatable.java
3838 (serialVersionUID): New member variable.
3839 * java/rmi/activation/ActivationGroup.java
3840 (serialVersionUID): New member variable.
3841 * java/rmi/activation/ActivationGroupDesc.java
3842 (serialVersionUID): New member variable.
3843 * java/rmi/registry/Registry.java:
3844 Reformated.
3845 (Registry): Deprecated.
3846 * java/rmi/server/LoaderHandler.java
3847 Reformated.
3848 (LoaderHandler): Deprecated.
3849 * java/rmi/server/LogStream.java
3850 Reformated.
3851 (LogStream): Deprecated.
3852 * java/rmi/server/Operation.java
3853 (Operation): Deprecated.
3854 * java/rmi/server/RMIFailureHandler.java:
3855 Reformated.
3856 * java/rmi/server/RMISocketFactory.java:
3857 Reformated.
3858 * java/rmi/server/RemoteCall.java
3859 (RemoteCall): Deprecated.
3860 * java/rmi/server/RemoteStub.java:
3861 Reformated.
3862 * java/rmi/server/Skeleton.java
3863 Reformated.
3864 (Skeleton): Deprecated.
3865
3866 2003-03-21 Michael Koch <konqueror@gmx.de>
3867
3868 * java/io/LineNumberReader.java
3869 (LineNumberReader): Merged documentation with classpath.
3870 (getLineNumber): Likewise.
3871 (setLineNumber): Likewise.
3872 (mark): Likewise.
3873 (reset): Likewise.
3874 (read): Likewise.
3875 (readLine): Likewise.
3876 (skip): Likewise.
3877
3878 2003-03-21 Michael Koch <konqueror@gmx.de>
3879
3880 * java/rmi/RMISecurityManager.java
3881 (checkAccept): Removed.
3882 (checkAccess): Likewise.
3883 (checkAccess): Likewise.
3884 (checkAwtEventQueueAccess): Likewise.
3885 (checkConnect): Likewise.
3886 (checkCreateClassLoader): Likewise.
3887 (checkDelete): Likewise.
3888 (checkExec): Likewise.
3889 (checkExit): Likewise.
3890 (checkLink): Likewise.
3891 (checkListen): Likewise.
3892 (checkMemberAccess): Likewise.
3893 (checkMulticast): Likewise.
3894 (checkPackageAccess): Likewise.
3895 (checkPackageDefinition): Likewise.
3896 (checkPermission): Likewise.
3897 (checkPrintJobAccess): Likewise.
3898 (checkPropertiesAccess): Likewise.
3899 (checkPropertyAccess): Likewise.
3900 (checkRead): Likewise.
3901 (checkSecurityAccess): Likewise.
3902 (checkSetFactory): Likewise.
3903 (checkSystemClipboardAccess): Likewise.
3904 (checkTopLevelWindow): Likewise.
3905 (checkWrite): Likewise.
3906
3907 2003-03-20 Michael Koch <konqueror@gmx.de>
3908
3909 * gnu/java/nio/FileChannelImpl.java
3910 (address): Removed.
3911 (map_address): New member variable.
3912 (length): Make it package private.
3913 (fd): Make it package private.
3914 (buf): Make it package private.
3915 (file_obj): Make it package private.
3916 (FileChannelImpl): New constructor.
3917 (nio_mmap_file): Use RawData instead of long.
3918 (nio_munmap_file): Use RawData instead of long.
3919 (nio_msync): Use RawData instead of long.
3920 (implCloseChannel): New implementation using map_address.
3921 (read): Reformated.
3922 (map): Implemented.
3923 (create_direct_mapped_buffer): Implemented, use RawData, throws
3924 IOException.
3925 (force): Use map_address instead of address.
3926 * gnu/java/nio/MappedByteFileBuffer.java
3927 (address): Removed.
3928 (map_address): New member variable.
3929 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3930 (several methods): Use map_address instead of address, replaced long
3931 with RawData where appropriate.
3932 * gnu/java/nio/natFileChannelImpl.cc
3933 (nio_mmap_file): Replaced long with RawData.
3934 (nio_munmap_file): Replaced long with RawData.
3935 (nio_msync): Replaced long with RawData.
3936 * gnu/java/nio/natMappedByteFileBuffer.cc
3937 (several methods): Replaced long with RawData where appropriate.
3938
3939 2003-03-20 Michael Koch <konqueror@gmx.de>
3940
3941 * java/net/InetAddress.java,
3942 java/net/JarURLConnection.java,
3943 java/net/PlainDatagramSocketImpl.java,
3944 java/net/PlainSocketImpl.java,
3945 java/net/URLConnection.java:
3946 Merged copyright statements with classpath for easier merging.
3947
3948 2003-03-20 Michael Koch <konqueror@gmx.de>
3949
3950 * java/io/FileInputStream.java
3951 (getChannel): New implementation.
3952 * java/io/FileOutputStream.java
3953 (ch): New member variable.
3954 (getChannel): Implemented.
3955 * java/io/RandomAccessFile.java
3956 (RandomAccessFile): Throws FileNotFoundException instead of
3957 IOException.
3958 (getChannel): New method.
3959 (ch): New member variable.
3960
3961 2003-03-20 Michael Koch <konqueror@gmx.de>
3962
3963 * java/io/DataOutputStream.java,
3964 java/io/File.java,
3965 java/io/FileInputStream.java,
3966 java/io/FileOutputStream.java,
3967 java/io/InputStreamReader.java,
3968 java/io/LineNumberReader.java,
3969 java/io/OutputStreamWriter.java,
3970 java/io/PrintStream.java,
3971 java/io/RandomAccessFile.java:
3972 Merged copyright statements with classpath for easier merging.
3973
3974 2003-03-19 Michael Koch <konqueror@gmx.de>
3975
3976 * java/lang/Process.java:
3977 Merged from classpath.
3978
3979 2003-03-19 Michael Koch <konqueror@gmx.de>
3980
3981 * java/io/FileOutputStream.java
3982 (FileOutputStream): New constructor, merged from classpath.
3983 * java/io/FileWriter.java
3984 (FileWriter): New constructor, merged from classpath.
3985
3986 2003-03-18 Michael Koch <konqueror@gmx.de>
3987
3988 * java/awt/ScrollPane.java
3989 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3990 (getViewportSize): Likewise.
3991 (addNotify): Likewise.
3992 (removeNotify): Likewise.
3993 * java/awt/ScrollPaneAdjustable.java
3994 (ScrollPaneAdjustable): No longer extends Scrollbar.
3995 * java/beans/beancontext/BeanContextServices.java:
3996 Reformated.
3997 (getService): Added throws TooManyListenersException;
3998 * java/beans/beancontext/BeanContextServicesSupport.java:
3999 Reformated.
4000
4001 2003-03-18 Michael Koch <konqueror@gmx.de>
4002
4003 * java/io/BufferedOutputStream.java,
4004 java/io/DataInput.java,
4005 java/io/DataInputStream.java,
4006 java/io/DataOutput.java,
4007 java/io/Externalizable.java:
4008 More merges from classpath.
4009
4010 2003-03-18 Michael Koch <konqueror@gmx.de>
4011
4012 * configure.in: Fixed links to platform dependant java.net files.
4013 * configure: Regenerated.
4014 * java/net/natInetAddress.cc,
4015 java/net/natNetworkInterface.cc,
4016 java/net/natPlainDatagramSocketImpl.cc,
4017 java/net/natPlainSocketImpl.cc:
4018 Removed.
4019
4020 2003-03-18 Michael Koch <konqueror@gmx.de>
4021
4022 * configure.in: Create links to architecture dependent files,
4023 introduced PLATFORMNET variable (set to NoNet for newlib usage).
4024 * configure: Regenerated.
4025 * java/net/natInetAddressNoNet.cc,
4026 java/net/natInetAddressPosix.cc,
4027 java/net/natInetAddressWin32.cc,
4028 java/net/natNetworkInterfaceNoNet.cc,
4029 java/net/natNetworkInterfacePosix.cc,
4030 java/net/natNetworkInterfaceWin32.cc,
4031 java/net/natPlainDatagramSocketImplNoNet.cc,
4032 java/net/natPlainDatagramSocketImplPosix.cc,
4033 java/net/natPlainDatagramSocketImplWin32.cc,
4034 java/net/natPlainSocketImplNoNet.cc,
4035 java/net/natPlainSocketImplPosix.cc,
4036 java/net/natPlainSocketImplWin32.cc: New files.
4037
4038 2003-03-18 Michael Koch <konqueror@gmx.de>
4039
4040 * java/io/BufferedReader.java,
4041 java/io/BufferedWriter.java,
4042 java/io/ByteArrayOutputStream.java,
4043 java/io/FileFilter.java,
4044 java/io/FilePermission.java,
4045 java/io/FileReader.java,
4046 java/io/FileWriter.java,
4047 java/io/FilenameFilter.java,
4048 java/io/FilterInputStream.java,
4049 java/io/FilterOutputStream.java,
4050 java/io/FilterReader.java,
4051 java/io/FilterWriter.java,
4052 java/io/ObjectInput.java,
4053 java/io/ObjectInputValidation.java,
4054 java/io/ObjectOutput.java,
4055 java/io/ObjectStreamField.java,
4056 java/io/PipedInputStream.java,
4057 java/io/PipedReader.java,
4058 java/io/PrintWriter.java,
4059 java/io/PushbackReader.java,
4060 java/io/Reader.java,
4061 java/io/SerializablePermission.java,
4062 java/io/StringReader.java,
4063 java/io/Writer.java:
4064 Merged from classpath.
4065
4066 2003-03-17 Michael Koch <konqueror@gmx.de>
4067
4068 * java/awt/ScrollPaneAdjustable.java:
4069 Compile fixes.
4070
4071 2003-03-17 Michael Koch <konqueror@gmx.de>
4072
4073 * java/net/DatagramSocket.java
4074 (connect): Fixed comment.
4075 * java/nio/ByteBuffer.java
4076 (hasArray): Fixed comment.
4077
4078 2003-03-17 Michael Koch <konqueror@gmx.de>
4079
4080 * java/beans/Beans.java:
4081 Explicitely import classes not packages.
4082 * java/beans/FeatureDescriptor.java
4083 (preferred): New member variable.
4084 (isPreferred): New method.
4085 (setPreferred): New method.
4086 * java/beans/PropertyEditorManager.java:
4087 Explicitely import used classes.
4088 * java/beans/beancontext/BeanContextChild.java:
4089 Added line wrapping.
4090 * java/beans/beancontext/BeanContextChildSupport.java:
4091 Reindented.
4092 * java/beans/beancontext/BeanContextEvent.java:
4093 Reindented.
4094
4095 2003-03-17 Michael Koch <konqueror@gmx.de>
4096
4097 * java/awt/Dialog.java
4098 (Dialog): New constructor, changed implementations, added
4099 documentation.
4100 * java/awt/ScrollPaneAdjustable.java
4101 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4102 Serializable.
4103 (serialVersionUID): New member variable.
4104 (sp): New member variable.
4105 (orientation): New member variable.
4106 (value): New member variable.
4107 (minimum): New member variable.
4108 (maximum): New member variable.
4109 (visibleAmount): New member variable.
4110 (unitIncrement): New member variable.
4111 (blockIncrement): New member variable.
4112 (AdjustmentListener): New member variable.
4113 (ScrollPaneAdjustable): New implementation.
4114 (addAdjustmentListener): New method.
4115 (removeAdjustmentListener): New method.
4116 (getAdjustmentListeners): New method.
4117 (getBlockIncrement): New method.
4118 (getMaximum): New method.
4119 (getMinimum): New method.
4120 (getOrientation): New method.
4121 (getUnitIncrement): New method.
4122 (getValue): New method.
4123 (getVisibleAmount): New method.
4124 (setBlockIncrement): New method.
4125 (setMaximum): Implemented.
4126 (setMinimum): Implemented.
4127 (setUnitIncrement): New method.
4128 (setValue): New method.
4129 (setVisibleAmount): Implemented.
4130 (paramString): New stubbed method.
4131 * java/awt/Window.java
4132 (show): Call setVisible().
4133 (hide): Call setVisible().
4134 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4135 and WINDOW_STATE_CHANGED.
4136 (processWindowFocusEvent): New method.
4137 (processWindowStateEvent): New method.
4138 (postEvent): Deprecated.
4139 (applyResourceBundle): Deprecated.
4140 * java/awt/datatransfer/DataFlavor.java
4141 (DataFlavor): Doesn't thow ClassNotFoundException.
4142
4143 2003-03-17 Michael Koch
4144
4145 * javax/print/attribute/Attribute.java,
4146 javax/print/attribute/AttributeSet.java,
4147 javax/print/attribute/PrintRequestAttributeSet.java:
4148 New files.
4149 * Makefile.am
4150 (javax_source_files): Added new files:
4151 javax/print/attribute/Attribute.java
4152 javax/print/attribute/AttributeSet.java
4153 javax/print/attribute/PrintRequestAttributeSet.java
4154 * Makefile.in: Regenerated.
4155
4156 2003-03-17 Michael Koch
4157
4158 * javax/print/attribute/Attribute.java,
4159 javax/print/attribute/AttributeSet.java,
4160 javax/print/attribute/PrintRequestAttributeSet.java:
4161 New files.
4162 * Makefile.am
4163 (awt_java_source_files): Added new files:
4164 javax/print/attribute/Attribute.java
4165 javax/print/attribute/AttributeSet.java
4166 javax/print/attribute/PrintRequestAttributeSet.java
4167 * Makefile.in: Regenerated.
4168
4169 2003-03-16 Tom Tromey <tromey@redhat.com>
4170
4171 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4172 Include platform.h.
4173 * java/lang/natRuntime.cc (insertSystemProperties): Use
4174 _Jv_platform_path_separator.
4175 (nativeGetLibname): Use _Jv_platform_file_separator.
4176 (_load): Use _Jv_platform_onload_names.
4177 (onload_names): New global.
4178 * include/win32.h (_Jv_platform_file_separator): New define.
4179 (_Jv_platform_path_separator): Likewise.
4180 (_Jv_platform_onload_names): Likewise.
4181 (_Jv_platform_ffi_abi): Likewise.
4182 * include/posix.h (_Jv_platform_file_separator): New define.
4183 (_Jv_platform_path_separator): Likewise.
4184 (_Jv_platform_onload_names): Likewise.
4185 (_Jv_platform_ffi_abi): Likewise.
4186
4187 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
4188
4189 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4190
4191 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
4192
4193 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4194 hierarchy loop.
4195 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4196 list to Object,ObjectStreamClass, moved callReadMethod code up into
4197 readObject and added Class argument to all setXxxField calls.
4198 (callReadMethod): Changed Class argument to ObjectStreamClass to be
4199 consistent with ObjectOutputStream and to facilitate caching the
4200 Method in the future.
4201 (setBooleanField): Added Class argument.
4202 (setByteField): Likewise.
4203 (setCharField): Likewise.
4204 (setDoubleField): Likewise.
4205 (setFloatField): Likewise.
4206 (setIntField): Likewise.
4207 (setLongField): Likewise.
4208 (setShortField): Likewise.
4209 (setObjectField): Likewise.
4210 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4211 class hierarchy loop.
4212 (defaultWriteObject): Call writeFields with new argument list.
4213 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4214 list to Object,ObjectStreamClass, moved callWriteMethod up into
4215 writeObject and added Class argument to all getXxxField calls.
4216 (callWriteMethod): Added ObjectStreamClass argument to be able to
4217 get the proper class to call getMethod on (each class can have (or
4218 not have) its own writeObject method).
4219 (getBooleanField): Added Class argument.
4220 (getByteField): Likewise.
4221 (getCharField): Likewise.
4222 (getDoubleField): Likewise.
4223 (getFloatField): Likewise.
4224 (getIntField): Likewise.
4225 (getLongField): Likewise.
4226 (getShortField): Likewise.
4227 (getObjectField): Likewise.
4228 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4229 facilitate caching the Method object in the future.
4230
4231 2003-03-12 Andreas Schwab <schwab@suse.de>
4232
4233 * configure.in: Avoid trailing /. in toolexeclibdir.
4234 * configure: Rebuilt.
4235
4236 2003-03-11 Michael Koch <konqueror@gmx.de>
4237
4238 * gnu/java/nio/ByteBufferImpl.java
4239 (putInt): Use limit() instead of limit.
4240 * gnu/java/nio/CharBufferImpl.java
4241 (slice): Fixed implementation.
4242 (subSequence): Better bounds checking.
4243 * gnu/java/nio/MappedByteFileBuffer.java:
4244 Import all needed classes directly.
4245 * java/nio/ByteBuffer.java
4246 (hashCode): New dummy method.
4247 * java/nio/CharBuffer.java
4248 (array_offset): New member variable.
4249 (hasArray): Fixed documentation.
4250 (arrayOffset): Return array_offset.
4251
4252 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4253
4254 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4255 setter; made return value of getter const char* instead of char*
4256 * prims.cc: removed all references to _Jv_ThisExecutable().
4257 These are in the platform-specific sections now.
4258 * posix.cc: define platform-specific _Jv_ThisExecutable().
4259 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4260 * win32.cc: define platform-specific _Jv_ThisExecutable()
4261 using GetModuleFilename()
4262 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4263 to argv[0] instead of _Jv_ThisExecutable()
4264
4265 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4266
4267 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4268 that is set if we are using addr2name.awk instead of addr2line.
4269 (NameFinder): Set usingAddr2name if using addr2name.awk.
4270 (getExternalLabel): New native method to convert a method
4271 name to an external label.
4272 (lookup): Convert name given by addr2line to an external label
4273 before demangling.
4274
4275 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4276 constant representing the prefix attached to method names to
4277 convert them to an external label.
4278 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4279 using LABEL_PREFIX.
4280
4281 2003-03-10 Tom Tromey <tromey@redhat.com>
4282
4283 * Makefile.in: Rebuilt.
4284 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4285 (JC1FLAGS): Removed -Wno-deprecated.
4286
4287 2003-03-10 Michael Koch <konqueror@gmx.de>
4288
4289 * java/nio/ByteOrder.java
4290 (nativeOrder): Working implementation, added documentation.
4291 (toString): Added documentation.
4292
4293 2003-03-10 Michael Koch <konqueror@gmx.de>
4294
4295 * java/net/DatagramSocket.java,
4296 java/net/MulticastSocket.java,
4297 java/net/Socket.java,
4298 java/net/URL.java,
4299 java/net/URLConnection.java:
4300 Fixed some documentation tags to make javadoc and friends happy.
4301
4302 2003-03-10 Michael Koch <koqnueror@gmx.de>
4303
4304 * java/beans/beancontext/BeanContextServicesSupport.java,
4305 java/beans/beancontext/BeanContextSupport.java: New files.
4306 * Makefile.am
4307 (awt_source_files): Added new files.
4308 * Makefile.in: Regenerated.
4309
4310 2003-03-10 Michael Koch <konqueror@gmx.de>
4311
4312 * java/awt/FocusTraversalPolicy.java
4313 (FocusTraversalPolicy): Documentation added.
4314 (getComponentAfter): Documentation added.
4315 (getComponentBefore): Documentation added.
4316 (getFirstComponent): Documentation added.
4317 (getLastComponent): Documentation added.
4318 (getDefaultComponent): Documentation added.
4319 (getInitialComponent): Documentation added.
4320 * java/awt/ScrollPaneAdjustable.java
4321 (sp): New member variable.
4322 (orientation): New member variable.
4323 (value): New member variable.
4324 (minimum): New member variable.
4325 (maximum): New member variable.
4326 (visibleAmount): New member variable.
4327 (unitIncrement): New member variable.
4328 (blockIncrement): New member variable.
4329 (adjustmentListener): New member variable.
4330 (ScrollPaneAdjustable): Rewrote.
4331 (addAdjustmentListener): New method.
4332 (removeAdjustmentListener): New method.
4333 (getAdjustmentListeners): New method.
4334 (getBlockIncrement): New method.
4335 (getMaximum): New method.
4336 (getMinimum): New method.
4337 (getOrientation): New method.
4338 (getUnitIncrement): New method.
4339 (getValue): New method.
4340 (getVisibleAmount): New method.
4341 (setBlockIncrement): New method.
4342 (setUnitIncrement): New method.
4343 (setMaximum): Implemented.
4344 (setMinimum): Implemented.
4345 (setValue): New method.
4346 (setVisibleAmount): Implemented.
4347 (paramString): New method.
4348 * java/awt/Window.java
4349 (show): Use setVisible(true) instead of super.show().
4350 (hide): Use sevVisible(false) instead of super.hide().
4351 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4352 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4353 (postEvent): Deprecated.
4354 (applyResourceBundle): Deprecated.
4355 (processWindowFocusEvent): New method.
4356 (processWindowStateEvent): New method.
4357 * java/awt/datatransfer/DataFlavor.java: Reindented.
4358 * java/awt/font/TextHitInfo.java
4359 (charIndex): New member variable.
4360 (leadingEdge): New member variable.
4361 (TextHitInfo): New constructor.
4362 (getCharIndex): Implemented.
4363 (isLeadingEdge): Implemented.
4364 (getInsertionIndex): Implemented.
4365 (hashCode): Access charIndex directly.
4366 (equals): Reformated.
4367 (leading): Implemented.
4368 (trailing): Implemented.
4369 (beforeOffset): Implemented.
4370 (afterOffset): Implemented.
4371 (getOtherHit): Implemented.
4372 (getOffsetHit): Implemented.
4373 (toString): Implemented.
4374 * java/awt/image/BufferedImage.java
4375 (BufferedImage): Implements WritableRenderedImage.
4376 (observers): New member variable.
4377 (addTileObserver): New method.
4378 (removeTileObserver): New method.
4379
4380 2003-03-09 Tom Tromey <tromey@redhat.com>
4381
4382 PR libgcj/9934:
4383 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4384 to lseek. Return 0 if we can't compute the value.
4385
4386 2003-03-03 Michael Koch <konqueror@gmx.de>
4387
4388 * java/net/NetworkInterface.java: Merged with classpath.
4389
4390 2003-03-03 Tom Tromey <tromey@redhat.com>
4391
4392 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4393 of bytecode.
4394 (handle_ret_insn): Fail if returning to jsr that appears at end of
4395 bytecode.
4396
4397 2003-03-03 Michael Koch <konqueror@gmx.de>
4398
4399 * Makefile.am
4400 (ordinary_java_source_files):
4401 Added gnu/java/nio/MappedByteFileBuffer.java.
4402 (nat_source_files):
4403 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4404 * Makefile.in: Regenerated.
4405
4406 2003-03-03 Michael Koch <konqueror@gmx.de>
4407
4408 * java/net/DatagramSocket.java
4409 (connect): Merged comment from classpath.
4410 (receive): Merged documentation from classpath.
4411 * java/net/Socket.java
4412 (setSoTimeout): Clarified documentation.
4413 * java/net/URL.java
4414 (getPath): Merged from classpath.
4415 (getUserInfo): Merged from classpath.
4416 (getQuery): Merged from classpath.
4417 * java/net/URLStreamHandler.java
4418 (toExternalForm): Merged from classpath.
4419
4420 2003-03-02 Mark Wielaard <mark@klomp.org>
4421
4422 * java/util/Properties.java (load): Only skip line if the first
4423 character is a comment, whitespaces don't count.
4424
4425 2003-03-02 Michael Koch <konqueror@gmx.de>
4426
4427 * java/net/NetPermission.java:
4428 Merged copyright with classpath.
4429
4430 2003-03-02 Michael Koch <konqueror@gmx.de>
4431
4432 * java/lang/Package.java:
4433 Remerged from classpath.
4434
4435 2003-03-02 Michael Koch <konqueror@gmx.de>
4436
4437 * java/net/HttpURLConnection.java
4438 (HTTP_SERVER_ERROR): Deprecated.
4439 * java/net/MulticastSocket.java
4440 (send): Replaced checkMulticast with appropriate checkPermission call,
4441 deprecated.
4442 * java/net/URLDecoder.java
4443 (decode): Deprecated.
4444 * java/net/URLEncoder.java
4445 (encode): Deprecated.
4446
4447 2003-03-02 Michael Koch <konqueror@gmx.de>
4448
4449 * javax/swing/text/Caret.java
4450 (getMagicCaretPosition): Fixed typo in method name.
4451 * javax/swing/text/DefaultCaret.java
4452 (getMagicCaretPosition): Fixed typo in method name.
4453
4454 2003-03-02 Michael Koch <konqueror@gmx.de>
4455
4456 * java/awt/List.java
4457 (setMultipleSelections): Deprecated.
4458 (delItem): Deprecated.
4459 * java/awt/MenuComponent.java
4460 (getPeer): Deprecated.
4461 * java/awt/ScrollPane.java
4462 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4463 * java/awt/dnd/MouseDragGestureRecognizer.java
4464 (mouseClicked): Added comment.
4465 (mousePressed): Added comment.
4466 (mouseReleased): Added comment.
4467 (mouseEntered): Added comment.
4468 (mouseExited): Added comment.
4469 (mouseDragged): Added comment.
4470 (mouseMoved): Added comment.
4471 * java/awt/event/KeyEvent.java
4472 (KeyEvent): Deprecated.
4473 (setModifiers): Deprecated.
4474
4475 2003-03-02 Michael Koch <konqueror@gmx.de>
4476
4477 * gnu/java/nio/FileChannelImpl.java
4478 (fd): Type FileDescriptor instead of int.
4479 (lengthInternal): Removed.
4480 (FileChannelImpl): Fixed arguments, check type of file object.
4481 (size): Made it native.
4482 (implPosition): New native method.
4483 (implTruncate): New native method.
4484 (position): Implemented.
4485 (truncate): Implemented.
4486 (nio_mmap_file): Changed arguments.
4487 (nio_munmap_file): Changed arguments.
4488 (nio_msync): Changed arguments.
4489 * gnu/java/nio/natFileChannelImpl.cc
4490 (lengthInternal): Removed.
4491 (size): New method.
4492 (implPosition): New method.
4493 (implTruncate): New method.
4494 (nio_mmap_file): Changed arguments.
4495 (nio_munmap_file): Changed arguments.
4496 (nio_msync): Changed arguments.
4497
4498 2003-03-02 Michael Koch <konqueror@gmx.de>
4499
4500 * java/awt/dnd/DropTargetContext.java:
4501 Compile fix: Forgot to commit import.
4502
4503 2003-03-02 Michael Koch <konqueror@gmx.de>
4504
4505 * java/awt/Component.java,
4506 java/awt/ScrollPane.java:
4507 Fixed typos.
4508
4509 2003-03-02 Michael Koch <konqueror@gmx.de>
4510
4511 * java/awt/dnd/DnDEventMulticaster.java: New file.
4512 * java/awt/dnd/DragSource.java
4513 (flavorMap): New member variable.
4514 (dragSourceListener): New member variable.
4515 (dragSourceMotionListener): New member variable.
4516 (getFlavorMap): Implemented.
4517 (createDragGestureRecognizer): Implemented.
4518 (addDragSourceListener): Implemented.
4519 (removeDragSourceListener): Implemented.
4520 (getDragSourceListeners): Implemented.
4521 (addDragSourceMotionListener): Implemented.
4522 (removeDragSourceMotionListener): Implemented.
4523 (getDragSourceMotionListeners): Implemented.
4524 (getListeners): Implemented.
4525 * java/awt/dnd/DragSourceContext.java
4526 (peer): New member variable.
4527 (cursor): New member variable.
4528 (transferable): New member variable.
4529 (trigger): New member variable.
4530 (dragSourceListener): New member variable.
4531 (image): New member variable.
4532 (offset): New member variable.
4533 (DragSourceContext): Implemented.
4534 (getDragSource): Implemented.
4535 (getComponent): Implemented.
4536 (getTrigger): Implemented.
4537 (getSourceActions): Implemented.
4538 (setCursor): Implemented.
4539 (getCursor): Implemented.
4540 (addDragSourceListener): Implemented.
4541 (removeDragSourceListener): Implemented.
4542 (getTransferable): Implemented.
4543 * java/awt/dnd/DropTarget.java
4544 (DropTargetAutoScroller.component): New member variable.
4545 (DropTargetAutoScroller.point): New member variable.
4546 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4547 (DropTargetAutoScroller.updateLocation): Implemented.
4548 (active): Renamed from isActive, defaults to true now.
4549 (component): New member variable.
4550 (flavorMap): New member variable.
4551 (actions): New member variable.
4552 (dropTargetContext): New member variable.
4553 (dropTargetListener): New member variable.
4554 (DropTarget): Implemented.
4555 (getComponent): Implemented.
4556 (setComponent): Implemented.
4557 (setDefaultActions): Implemented.
4558 (getDefaultActions): Implemented.
4559 (setActive): Use active instead of isActive.
4560 (isActive): Use active instead of isActive.
4561 (addDropTargetListener): Implemented.
4562 (removeDropTargetListener): Implemented.
4563 (getFlavorMap): Implemented.
4564 (setFlavorMap): Implemented.
4565 (getDropTargetContext): Implemented.
4566 (createDropTargetContext): Implemented.
4567 (createDropTargetAutoScroller): Implemented.
4568 * java/awt/dnd/DropTargetContext.java
4569 (TransferableProxy.getTransferDataFlavors): Implemented.
4570 (TransferableProxy.isDataFlavorSupported): Implemented.
4571 (TransferableProxy.getTransferData): Implemented.
4572 (dropTarget): New member variable.
4573 (dtcp): New member variable.
4574 (DropTargetContext): New package private constructor.
4575 (getDropTarget): Implemented.
4576 (getComponent): Implemented.
4577 (addNotify): Implemented.
4578 (removeNotify): Implemented.
4579 (getCurrentDataFlavorsAsList): Implemented.
4580 (isDataFlavorSupported): Implemented.
4581 * java/awt/dnd/MouseDragGestureRecognizer.java
4582 (registerListeners): Implemented.
4583 (unregisterListeners): Implemented.
4584 * Makefile.am
4585 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4586 * Makefile.in: Regenerated.
4587
4588 2003-03-02 Michael Koch <konqueror@gmx.de>
4589
4590 * java/awt/Component.java
4591 (eventTypeEnabled): New method.
4592 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4593 * java/awt/Container.java
4594 (changeSupport): New member variable.
4595 (addPropertyChangeListener): New methods.
4596 * java/awt/ContainerOrderFocusTraversalPolicy.java
4597 (ContainerOrderFocusTraversalPolicy): Added comment.
4598 (getComponentAfter): Throw exception, documentation added.
4599 (getComponentBefore): Throw exception, documentation added.
4600 (getFirstComponent): Throw exception, documentation added.
4601 (getLastComponent): Throw exception, documentation added.
4602 (getDefaultComponent): Throw exception, documentation added.
4603 * java/awt/EventQueue.java: Reindented.
4604 * java/awt/FocusTraversalPolicy.java:
4605 (FocusTraversalPolicy): Added comment.
4606 (getComponentAfter): Documentation added.
4607 (getComponentBefore): Documentation added.
4608 (getFirstComponent): Documentation added.
4609 (getLastComponent): Documentation added.
4610 (getDefaultComponent): Documentation added.
4611 (getInitialComponent): Documentation added.
4612 * java/awt/ScrollPane.java
4613 (wheelScrollingEnabled): New member variable.
4614 (ScrollPane): Initialize wheelScollingEnabled.
4615 (eventTypeEnabled): New method.
4616 (isWheelScrollingEnabled): New method.
4617 (setWheelScrollingEnabled): New method.
4618
4619 2003-03-02 Michael Koch <konqueror@gmx.de>
4620
4621 * java/net/DatagramSocket.java
4622 (closed): New member variable.
4623 (close): Use closed variable.
4624 (getInetAddress): No need to call isConnected().
4625 (getPort): No need to call isConnected().
4626 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4627 (isClosed): Reimplemented.
4628
4629 2003-03-02 Michael Koch <konqueror@gmx.de>
4630
4631 * configure.in: Added check for memory mapping of files.
4632 * configure: Regenerated.
4633 * config.h.in: Regenerated.
4634
4635 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4636
4637 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4638 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4639
4640 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4641
4642 * java/io/File.java (normalizePath): Remove trailing separator
4643 on Windows only if path is not of the form "x:\".
4644
4645 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4646 (java::io::File::attr): Change formatting a bit and use
4647 WIN32_EPOCH_MILLIS instead of magic numbers.
4648 (java::io::File::isAbsolute): Path must have at least 3
4649 characters for a UNC network path.
4650 (java::io::File::init_native): Define.
4651 (java::io::File::performCreate): Likewise.
4652 (java::io::File::performSetReadOnly): Likewise.
4653 (java::io::File::performSetLastModified): Likewise.
4654 (java::io::File::performListRoots): Likewise.
4655
4656 2003-03-01 Tom Tromey <tromey@redhat.com>
4657
4658 * java/lang/natObject.cc: Don't include assert.h.
4659 (heavy_lock_obj_finalization_proc): Use JvAssert.
4660 (remove_all_heavy): Likewise.
4661 (_Jv_MonitorEnter): Likewise.
4662 (_Jv_MonitorExit): Likewise.
4663 (wait): Likewise.
4664
4665 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4666
4667 * java/io/File (getAbsolutePath): Prefix drive specifier on
4668 Windows for paths starting with a '\'.
4669 (toURL): Make URL more consistent with what Sun's JDK returns.
4670
4671 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4672 true only if the path is a UNC network path or it starts with a
4673 drive specifier.
4674
4675 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4676 Be prepared to handle either '/' or '\\' in the file path for
4677 Windows if using the "file" protocol.
4678 Canonicalise the file path if using a relative path in the given
4679 context and the "file" protocol.
4680
4681 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4682
4683 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4684 program array element passed to CreateProcess.
4685
4686 2003-03-01 Tom Tromey <tromey@redhat.com>
4687
4688 * java/rmi/registry/RegistryHandler.java: Deprecate.
4689
4690 2003-03-01 Tom Tromey <tromey@redhat.com>
4691
4692 * javax/accessibility/AccessibleEditableText.java,
4693 javax/accessibility/AccessibleHyperlink.java: New versions from
4694 Classpath.
4695
4696 * gnu/java/locale/LocaleInformation_af_ZA.java,
4697 gnu/java/locale/LocaleInformation_ar_AE.java,
4698 gnu/java/locale/LocaleInformation_ar_BH.java,
4699 gnu/java/locale/LocaleInformation_ar_DZ.java,
4700 gnu/java/locale/LocaleInformation_ar_EG.java,
4701 gnu/java/locale/LocaleInformation_ar_IN.java,
4702 gnu/java/locale/LocaleInformation_ar_IQ.java,
4703 gnu/java/locale/LocaleInformation_ar_JO.java,
4704 gnu/java/locale/LocaleInformation_ar_KW.java,
4705 gnu/java/locale/LocaleInformation_ar_LB.java,
4706 gnu/java/locale/LocaleInformation_ar_LY.java,
4707 gnu/java/locale/LocaleInformation_ar_MA.java,
4708 gnu/java/locale/LocaleInformation_ar_OM.java,
4709 gnu/java/locale/LocaleInformation_ar_QA.java,
4710 gnu/java/locale/LocaleInformation_ar_SD.java,
4711 gnu/java/locale/LocaleInformation_ar_SY.java,
4712 gnu/java/locale/LocaleInformation_ar_TN.java,
4713 gnu/java/locale/LocaleInformation_ar_YE.java,
4714 gnu/java/locale/LocaleInformation_be_BY.java,
4715 gnu/java/locale/LocaleInformation_bn_IN.java,
4716 gnu/java/locale/LocaleInformation_br_FR.java,
4717 gnu/java/locale/LocaleInformation_bs_BA.java,
4718 gnu/java/locale/LocaleInformation_ca_ES.java,
4719 gnu/java/locale/LocaleInformation_cs_CZ.java,
4720 gnu/java/locale/LocaleInformation_cy_GB.java,
4721 gnu/java/locale/LocaleInformation_da_DK.java,
4722 gnu/java/locale/LocaleInformation_de_AT.java,
4723 gnu/java/locale/LocaleInformation_de_BE.java,
4724 gnu/java/locale/LocaleInformation_de_CH.java,
4725 gnu/java/locale/LocaleInformation_de_DE.java,
4726 gnu/java/locale/LocaleInformation_de_LU.java,
4727 gnu/java/locale/LocaleInformation_el_GR.java,
4728 gnu/java/locale/LocaleInformation_en_AU.java,
4729 gnu/java/locale/LocaleInformation_en_BW.java,
4730 gnu/java/locale/LocaleInformation_en_CA.java,
4731 gnu/java/locale/LocaleInformation_en_DK.java,
4732 gnu/java/locale/LocaleInformation_en_GB.java,
4733 gnu/java/locale/LocaleInformation_en_HK.java,
4734 gnu/java/locale/LocaleInformation_en_IE.java,
4735 gnu/java/locale/LocaleInformation_en_IN.java,
4736 gnu/java/locale/LocaleInformation_en_NZ.java,
4737 gnu/java/locale/LocaleInformation_en_PH.java,
4738 gnu/java/locale/LocaleInformation_en_SG.java,
4739 gnu/java/locale/LocaleInformation_en_US.java,
4740 gnu/java/locale/LocaleInformation_en_ZA.java,
4741 gnu/java/locale/LocaleInformation_en_ZW.java,
4742 gnu/java/locale/LocaleInformation_es_AR.java,
4743 gnu/java/locale/LocaleInformation_es_BO.java,
4744 gnu/java/locale/LocaleInformation_es_CL.java,
4745 gnu/java/locale/LocaleInformation_es_CO.java,
4746 gnu/java/locale/LocaleInformation_es_CR.java,
4747 gnu/java/locale/LocaleInformation_es_DO.java,
4748 gnu/java/locale/LocaleInformation_es_EC.java,
4749 gnu/java/locale/LocaleInformation_es_ES.java,
4750 gnu/java/locale/LocaleInformation_es_GT.java,
4751 gnu/java/locale/LocaleInformation_es_HN.java,
4752 gnu/java/locale/LocaleInformation_es_MX.java,
4753 gnu/java/locale/LocaleInformation_es_NI.java,
4754 gnu/java/locale/LocaleInformation_es_PA.java,
4755 gnu/java/locale/LocaleInformation_es_PE.java,
4756 gnu/java/locale/LocaleInformation_es_PR.java,
4757 gnu/java/locale/LocaleInformation_es_PY.java,
4758 gnu/java/locale/LocaleInformation_es_SV.java,
4759 gnu/java/locale/LocaleInformation_es_US.java,
4760 gnu/java/locale/LocaleInformation_es_UY.java,
4761 gnu/java/locale/LocaleInformation_es_VE.java,
4762 gnu/java/locale/LocaleInformation_et_EE.java,
4763 gnu/java/locale/LocaleInformation_eu_ES.java,
4764 gnu/java/locale/LocaleInformation_fa_IR.java,
4765 gnu/java/locale/LocaleInformation_fi_FI.java,
4766 gnu/java/locale/LocaleInformation_fo_FO.java,
4767 gnu/java/locale/LocaleInformation_fr_BE.java,
4768 gnu/java/locale/LocaleInformation_fr_CA.java,
4769 gnu/java/locale/LocaleInformation_fr_CH.java,
4770 gnu/java/locale/LocaleInformation_fr_FR.java,
4771 gnu/java/locale/LocaleInformation_fr_LU.java,
4772 gnu/java/locale/LocaleInformation_ga_IE.java,
4773 gnu/java/locale/LocaleInformation_gd_GB.java,
4774 gnu/java/locale/LocaleInformation_gl_ES.java,
4775 gnu/java/locale/LocaleInformation_gv_GB.java,
4776 gnu/java/locale/LocaleInformation_he_IL.java,
4777 gnu/java/locale/LocaleInformation_hi_IN.java,
4778 gnu/java/locale/LocaleInformation_hr_HR.java,
4779 gnu/java/locale/LocaleInformation_hu_HU.java,
4780 gnu/java/locale/LocaleInformation_id_ID.java,
4781 gnu/java/locale/LocaleInformation_it_CH.java,
4782 gnu/java/locale/LocaleInformation_it_IT.java,
4783 gnu/java/locale/LocaleInformation_iw_IL.java,
4784 gnu/java/locale/LocaleInformation_ja_JP.java,
4785 gnu/java/locale/LocaleInformation_ka_GE.java,
4786 gnu/java/locale/LocaleInformation_kl_GL.java,
4787 gnu/java/locale/LocaleInformation_ko_KR.java,
4788 gnu/java/locale/LocaleInformation_kw_GB.java,
4789 gnu/java/locale/LocaleInformation_lt_LT.java,
4790 gnu/java/locale/LocaleInformation_lv_LV.java,
4791 gnu/java/locale/LocaleInformation_mi_NZ.java,
4792 gnu/java/locale/LocaleInformation_mk_MK.java,
4793 gnu/java/locale/LocaleInformation_mr_IN.java,
4794 gnu/java/locale/LocaleInformation_mt_MT.java,
4795 gnu/java/locale/LocaleInformation_nl_BE.java,
4796 gnu/java/locale/LocaleInformation_nl_NL.java,
4797 gnu/java/locale/LocaleInformation_nn_NO.java,
4798 gnu/java/locale/LocaleInformation_no_NO.java,
4799 gnu/java/locale/LocaleInformation_oc_FR.java,
4800 gnu/java/locale/LocaleInformation_pl_PL.java,
4801 gnu/java/locale/LocaleInformation_pt_BR.java,
4802 gnu/java/locale/LocaleInformation_pt_PT.java,
4803 gnu/java/locale/LocaleInformation_ro_RO.java,
4804 gnu/java/locale/LocaleInformation_ru_RU.java,
4805 gnu/java/locale/LocaleInformation_ru_UA.java,
4806 gnu/java/locale/LocaleInformation_se_NO.java,
4807 gnu/java/locale/LocaleInformation_sk_SK.java,
4808 gnu/java/locale/LocaleInformation_sl_SI.java,
4809 gnu/java/locale/LocaleInformation_sq_AL.java,
4810 gnu/java/locale/LocaleInformation_sr_YU.java,
4811 gnu/java/locale/LocaleInformation_sv_FI.java,
4812 gnu/java/locale/LocaleInformation_sv_SE.java,
4813 gnu/java/locale/LocaleInformation_ta_IN.java,
4814 gnu/java/locale/LocaleInformation_te_IN.java,
4815 gnu/java/locale/LocaleInformation_tg_TJ.java,
4816 gnu/java/locale/LocaleInformation_tl_PH.java,
4817 gnu/java/locale/LocaleInformation_tr_TR.java,
4818 gnu/java/locale/LocaleInformation_uk_UA.java,
4819 gnu/java/locale/LocaleInformation_ur_PK.java,
4820 gnu/java/locale/LocaleInformation_uz_UZ.java,
4821 gnu/java/locale/LocaleInformation_vi_VN.java,
4822 gnu/java/locale/LocaleInformation_yi_US.java,
4823 gnu/java/locale/LocaleInformation_zh_CN.java,
4824 gnu/java/locale/LocaleInformation_zh_HK.java,
4825 gnu/java/locale/LocaleInformation_zh_SG.java,
4826 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4827 info; from Classpath.
4828
4829 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4830 isPaintPending): New methods.
4831 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4832 setMaximizedBounds): New methods.
4833 (beginLayout, endLayout, isPaintPending): Likewise.
4834 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4835 (requestFocus): Likewise.
4836 (isObscured): Likewise.
4837 (canDetermineObscurity): Likewise.
4838 (coalescePaintEvent): Likewise.
4839 (updateCursorImmediately): Likewise.
4840 (createVolatileImage): Likewise.
4841 (handlesWheelScrolling): Likewise.
4842 (createBuffers): Likewise.
4843 (getBackBuffer): Likewise.
4844 (flip): Likewise.
4845 (destroyBuffers): Likewise.
4846
4847 * Makefile.in: Rebuilt.
4848 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4849 RobotPeer.java.
4850 * gnu/java/awt/GLightweightPeer.java,
4851 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4852 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4853 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4854 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4855 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4856 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4857 java/awt/dnd/peer/DragSourceContextPeer.java,
4858 java/awt/dnd/peer/DropTargetContextPeer.java,
4859 java/awt/peer/ButtonPeer.java,
4860 java/awt/peer/CheckboxMenuItemPeer.java,
4861 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4862 java/awt/peer/ComponentPeer.java,
4863 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4864 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4865 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4866 java/awt/peer/MenuBarPeer.java,
4867 java/awt/peer/MenuComponentPeer.java,
4868 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4869 java/awt/peer/PopupMenuPeer.java,
4870 java/awt/peer/ScrollPanePeer.java,
4871 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4872 java/awt/peer/TextComponentPeer.java,
4873 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4874 New versions from Classpath.
4875 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4876 * java/awt/peer/RobotPeer.java: Likewise.
4877
4878 2003-03-01 Mark Wielaard <mark@klomp.org>
4879
4880 * java/io/ObjectInputStream.java: Reindent.
4881 * java/io/ObjectOutputStream.java: Likewise.
4882
4883 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4884
4885 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4886 jvalue for each argument. Simplify.
4887 * testsuite/libjava.jni/calls.c (docall),
4888 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4889 misalignment.
4890
4891 2003-02-28 Mark Wielaard <mark@klomp.org>
4892
4893 * Makefile.am (nat_source_files): Remove
4894 java/io/natObjectOutputStream.cc.
4895 * Makefile.in: Regenerated.
4896 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4897 * java/io/ObjectStreamField.java (typename): New field.
4898 (ObjectStreamField(String, Class)): Initialize new field.
4899 (ObjectStreamField(String, String)): New Constructor.
4900 (getTypeCode): Use new field.
4901 (getTypeString): Use new field.
4902 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4903 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4904 Handle reading of Proxy classes. Never drain(), just write
4905 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4906 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4907 (flush): Call flush(), not just drain().
4908 (writeBoolean): Always use blockDataOutput.
4909 (writeByte): Likewise.
4910 (writeShort): Likewise.
4911 (writeChar): Likewise.
4912 (writeInt): Likewise.
4913 (writeLong): Likewise.
4914 (writeFloat): Likewise.
4915 (writeDouble): Likewise.
4916 (writeBytes): Likewise.
4917 (putfield (put(String,Object))): Throw IllegalArgumentException if
4918 field cannot be found.
4919 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4920 (writeArraySizeAndElements): Write byte[] in one go.
4921 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4922 set BlockDataMode to false.
4923 (annotateProxyClass): New method.
4924 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4925 (getField): No longer native.
4926 (getMethod): Likewise.
4927 (setBlockDataMode): Always drain() on switch, return old mode.
4928 (static): New static code block.
4929 * java/io/natObjectOutputStream.cc: Removed.
4930 * java/io/ObjectInputStream.java (getField): No longer native.
4931 (getMethod): Likewise.
4932 (readObject): Remember and reset old BlockDataMode. Track whether
4933 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4934 TC_LONGSTRING.
4935 (defaultReadObject): Set BlockDataMode to false during readFields.
4936 (resolveClass): Create new SecurityManager if necessary.
4937 Use Class.forName() if null ClassLoader found.
4938 (read(byte[],int,int): Copy remaining bytes to data before calling
4939 readNextBlock().
4940 (readFields): Set and reset BlockDataMode on call_read_method.
4941 Catch NoSuchFieldErrors.
4942 (setBlockDataMode): Return old mode.
4943 (static): New static code block.
4944 * java/io/natObjectInputStream.cc (getField): Removed.
4945 (getMethod): Likewise.
4946
4947 2003-02-27 Michael Koch <konqueror@gmx.de>
4948
4949 * java/beans/Beans.java,
4950 java/beans/FeatureDescriptor.java
4951 java/beans/PropertyEditorManager.java:
4952 Reformated to GNU style.
4953
4954 2003-02-25 Michael Koch <konqueror@gmx.de>
4955
4956 * gnu/java/nio/MappedByteFileBuffer.java,
4957 gnu/java/nio/natMappedByteFileBuffer.cc:
4958 New files, both are not compiled yet to get not noncompiling CVS.
4959
4960 2003-02-24 Tom Tromey <tromey@redhat.com>
4961
4962 * java/util/prefs/AbstractPreferences.java (isUserNode):
4963 Implemented.
4964
4965 2003-02-24 Tom Tromey <tromey@redhat.com>
4966
4967 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4968 Deprecate.
4969 * java/lang/Thread.java (resume): Deprecate.
4970 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4971 in @deprecated.
4972
4973 2003-02-23 Tom Tromey <tromey@redhat.com>
4974
4975 * Makefile.in: Rebuilt.
4976 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4977
4978 2003-02-23 Tom Tromey <tromey@redhat.com>
4979
4980 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4981 libraries): Removed.
4982 (add_library): Removed.
4983 (_load): Don't call add_library.
4984 (loadLibraryInternal): Likewise.
4985 (init): Likewise.
4986 (lookup_data): New struct.
4987 (find_symbol): New function.
4988 (_Jv_FindSymbolInExecutable): Use it.
4989
4990 2002-02-21 Anthony Green <green@redhat.com>
4991
4992 * java/lang/Thread.java (Thread): New constructor taking stack
4993 size parameter (ignored for now).
4994 * Many methods: Merged GNU Classpath documentation.
4995
4996 * java/lang/Class.java (finalize): throws a Throwable.
4997
4998 2003-02-21 Mark Wielaard <mark@klomp.org>
4999
5000 * java/util/zip/ZipEntry.java (setComment): Don't check length when
5001 argument is null.
5002
5003 2003-02-21 Mark Wielaard <mark@klomp.org>
5004
5005 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
5006 then 65535 chars throw IllegalArgumentException.
5007
5008 2003-02-21 Mark Wielaard <mark@klomp.org>
5009
5010 * java/util/zip/ZipFile.java (finalize): New method.
5011
5012 2003-02-21 Michael Koch <konqueror@gmx.de>
5013
5014 * gnu/java/nio/natSocketChannelImpl.cc:
5015 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
5016 <cato@df.lth.se> for pointing to it.
5017
5018 2003-02-20 Raif S. Naffah <raif@fl.net.au>
5019
5020 * java/math/BigInteger.java (euclidInv): Take result array as an
5021 argument. Updated all callers.
5022 (modInverse): Removed unused variables.
5023
5024 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5025
5026 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5027 config.status.
5028 * configure: Rebuilt.
5029
5030 2003-02-19 Michael Koch <konqueror@gmx.de>
5031
5032 * gnu/java/nio/natSocketChannelImpl.cc:
5033 Added support for platforms without network support.
5034
5035 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5036
5037 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
5038 after config.h. Use <> for consistency.
5039 * java/lang/natObject.cc: Likewise.
5040 * java/lang/natRuntime.cc: Likewise.
5041 * java/lang/natSystem.cc: Likewise.
5042 * java/util/natTimeZone.cc: Likewise.
5043 * win32.cc: Likewise.
5044 * include/posix.h (fcntl, socket, connect, close, bind, accept,
5045 listen, write, read): Undef to avoid interference from OS macros.
5046
5047 2003-02-19 Michael Koch <konqueror@gmx.de>
5048
5049 * gnu/java/nio/ByteBufferImpl.java
5050 (ByteBufferImpl): Renamed two variables.
5051 * gnu/java/nio/CharBufferImpl.java
5052 (CharBufferImpl): Renamed two variables.
5053 * gnu/java/nio/DoubleBufferImpl.java
5054 (DoubleBufferImpl): Renamed two variables.
5055 * gnu/java/nio/FloatBufferImpl.java
5056 (FloatBufferImpl): Renamed two variables.
5057 * gnu/java/nio/IntBufferImpl.java
5058 (IntBufferImpl): Renamed two variables.
5059 * gnu/java/nio/LongBufferImpl.java
5060 (LongBufferImpl): Renamed two variables.
5061 * gnu/java/nio/ShortBufferImpl.java
5062 (ShortBufferImpl): Renamed two variables.
5063 * java/nio/CharBuffer.java
5064 (wrap): Fixed arguments to CharBufferImpl constructor.
5065 (hasArray): Only not read-only buffers have backing arrays.
5066 (length): Documentation added.
5067 (subSequence): Documentation added.
5068 * java/nio/DoubleBuffer.java
5069 (hasArray): Only not read-only buffers have backing arrays.
5070 * java/nio/FloatBuffer.java
5071 (hasArray): Only not read-only buffers have backing arrays.
5072 * java/nio/IntBuffer.java
5073 (hasArray): Only not read-only buffers have backing arrays.
5074 * java/nio/LongBuffer.java
5075 (hasArray): Only not read-only buffers have backing arrays.
5076 * java/nio/ShortBuffer.java
5077 (hasArray): Only not read-only buffers have backing arrays.
5078
5079 2003-02-19 Michael Koch <konqueror@gmx.de>
5080
5081 * javax/accessibility/AccessibleContext.java
5082 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5083
5084 2003-02-19 Michael Koch <konqueror@gmx.de>
5085
5086 * java/awt/ScrollPaneAdjustable.java: Reformated.
5087
5088 2003-02-19 Michael Koch <konqueror@gmx.de>
5089
5090 * gnu/awt/j2d/Graphics2DImpl.java
5091 (getFontRenderContext): New method.
5092 (drawGlyphVector): New method.
5093 * java/awt/Graphics2D.java
5094 (getFontRenderContext): New abstract method.
5095 (drawGlyphVector): New abstract method.
5096
5097 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
5098
5099 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5100 if necessary.
5101
5102 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5103 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5104 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5105 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5106 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5107 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5108 (setFont, gtkSetFont): add.
5109 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5110 Propagate font to peer. (setFont): add FIXME comment.
5111
5112 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5113 (gtkTextGetSize): fix height, width computation.
5114
5115 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5116 Make X font name a bit less bogus.
5117
5118 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5119 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5120
5121 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5122 (processAdjustmentEvent): Adjust value.
5123
5124 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5125 logic errors.
5126
5127 * java/awt/Component.java (setVisible, show, hide): Call show and
5128 hide methods in subclasses.
5129 (getPreferredSize): don't set prefSize before we have peer.
5130
5131 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5132 Guess (0,0) if we don't have peer.
5133
5134
5135 2003-02-18 Michael Koch <konqueror@gmx.de>
5136
5137 * java/nio/channels/FileChannel.java
5138 (toString): New implementation, added documentation.
5139 (map): Added exception documentation.
5140 (size): Added exception documentation.
5141 (write): New methods, documentation work.
5142 (read): New methods, documentation work.
5143 (implCloseChannel): Rewrote exception documentation.
5144 (force): Throws IOException, added documentation.
5145 (lock): New methods.
5146 (tryLock): New methods.
5147 (position): New methods.
5148 (transferTo): New method.
5149 (transferFrom): New method.
5150 (truncate): New method.
5151 * java/nio/channels/spi/SelectorProvider.java
5152 (provider): Implemented.
5153 * Makefile.am
5154 (ordinary_java_source_files): Added the following files:
5155 gnu/java/nio/DatagramChannelImpl.java
5156 gnu/java/nio/FileChannelImpl.java
5157 gnu/java/nio/PipeImpl.java
5158 gnu/java/nio/SelectionKeyImpl.java
5159 gnu/java/nio/SelectorImpl.java
5160 gnu/java/nio/SelectorProviderImpl.java
5161 gnu/java/nio/ServerSocketChannelImpl.java
5162 gnu/java/nio/SocketChannelImpl.java
5163 java/nio/channels/FileLock.java
5164 (nat_java_source_files): Added the following files:
5165 gnu/java/nio/natFileChannelImpl.cc
5166 gnu/java/nio/natSelectorImpl.cc
5167 gnu/java/nio/natSocketChannelImpl.cc
5168 * Makefile.in: Regenerated.
5169
5170 2003-02-17 Tom Tromey <tromey@redhat.com>
5171
5172 * java/awt/image/ColorModel.java: Re-merged with Classpath.
5173 * java/awt/image/ImageFilter.java: Likewise.
5174
5175 2003-02-17 Raif S. Naffah <raif@fl.net.au>
5176
5177 * java/math/BigInteger.java (euclidInv): Return array of
5178 `BigInteger's. Changed all callers.
5179
5180 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
5181
5182 * java/util/Properties.java (store): Move the code formerly in
5183 list(), into this method.
5184 (list (PrintStream)): Just call list (PrintWriter) with a
5185 PrintWriter object constructed from the given PrintStream object.
5186 (list (PrintWriter)): Emulate the output of Properties.list()
5187 as found in JDK 1.3/1.4.
5188
5189 2003-02-17 Michael Koch <konqueror@gmx.de>
5190
5191 * java/net/DatagramSocket.java
5192 (connect): Merged with classpath.
5193 (disconnect): Merged documentation with classpath.
5194 (receice): Merged documentation with classpath.
5195 (send): Merged documentation with classpath.
5196
5197 2003-02-17 Michael Koch <konqueror@gmx.de>
5198
5199 * java/awt/dnd/DragSourceContext.java
5200 (addDragSourceListener): Added documentation.
5201 * java/awt/dnd/DragSourceDragEvent.java
5202 (serialVersionUID): New member variable.
5203 (getDropAction): Reformated.
5204 * java/awt/dnd/DragSourceDropEvent.java
5205 (serialVersionUID): New member variable.
5206 (dropSuccess): Renamed from success for serialization issues.
5207 * java/awt/dnd/DragSourceEvent.java
5208 (serialVersionUID): New member variable.
5209 * java/awt/dnd/DropTarget.java
5210 (serialVersionUID): New member variable.
5211 (DropTarget): Implemented, documentation reworked.
5212 (setComponent): Documentation added.
5213 (getComponent): Documentation added.
5214 (setDefaultActions): Documentation added.
5215 (getDefaultActions): Documentation added.
5216 (addDropTargetListener): Documentation added.
5217 * java/awt/dnd/DropTargetContext.java
5218 (DropTargetContext): Documentation added.
5219 (TransferableProxy.TransferableProxy): New method.
5220 (dropComplete): Fixed documentation.
5221 (getTransferable): Fixed documentation.
5222 (createTransferableProxy): Implemented.
5223 * java/awt/dnd/DropTargetDragEvent.java
5224 (DropTargetDragEvent): Documentation added.
5225 (serialVersionUID): New member variable.
5226 (DropTargetDragEvent): Throw exceptions, documentation added.
5227 (acceptDrag): Implemented.
5228 (getCurrentDataFlavors): Implemented.3yy
5229 (getCurrentDataFlavorsAsList): Implemented.
5230 (isDataFlavorSupported): Implemented.
5231 (rejectDrag): Implemented.
5232 * java/awt/dnd/DropTargetDropEvent.java
5233 (DropTargetDropEvent): Documentation added.
5234 (serialVersionUID): New member variable.
5235 (actions): Renamed from srcActions for serialization issues.
5236 (isLocalTx): Renamed from isLocalTx for serialization issues.
5237 (DropTargetDropEvent): New implementation, throw exceptions,
5238 documentation added.
5239 (getCurrentDataFlavors): Implemented.
5240 (getCurrentDataFlavorsAsList): Implemented.
5241 (isDataFlavorSupported): Implemented.
5242 (getSourceActions): Implemented.
5243 (getDropAction): Implemented.
5244 (getTransferable): Implemented.
5245 (acceptDrop): Implemented.
5246 (rejectDrop): Implemented.
5247 * java/awt/dnd/DropTargetListener.java
5248 (drop): Fixed documentation.
5249 * java/awt/dnd/MouseDragGestureRecognizer.java
5250 (MouseDragGestureRecognizer): Documentation added.
5251
5252 2003-02-17 Michael Koch <konqueror@gmx.de>
5253
5254 * java/awt/font/FontRenderContext.java,
5255 java/awt/font/ShapeGraphicAttribute.java,
5256 java/awt/font/MultipleMaster.java,
5257 java/awt/font/TransformAttribute.java,
5258 java/awt/font/GlyphJustificationInfo.java,
5259 java/awt/font/LineBreakMeasurer.java,
5260 java/awt/font/TextMeasurer.java,
5261 java/awt/font/TextLayout.java,
5262 java/awt/font/LineMetrics.java,
5263 java/awt/font/TextAttribute.java,
5264 java/awt/font/GlyphMetrics.java,
5265 java/awt/font/OpenType.java,
5266 java/awt/font/GlyphVector.java,
5267 java/awt/font/GraphicAttribute.java,
5268 java/awt/font/ImageGraphicAttribute.java,
5269 java/awt/font/NumericShaper.java: New files.
5270 * Makefile.am
5271 (awt_java_source_files): Added the following files:
5272 java/awt/font/FontRenderContext.java
5273 java/awt/font/ShapeGraphicAttribute.java
5274 java/awt/font/MultipleMaster.java
5275 java/awt/font/TransformAttribute.java
5276 java/awt/font/GlyphJustificationInfo.java
5277 java/awt/font/LineBreakMeasurer.java
5278 java/awt/font/TextMeasurer.java
5279 java/awt/font/TextLayout.java
5280 java/awt/font/LineMetrics.java
5281 java/awt/font/TextAttribute.java
5282 java/awt/font/GlyphMetrics.java
5283 java/awt/font/OpenType.java
5284 java/awt/font/GlyphVector.java
5285 java/awt/font/GraphicAttribute.java
5286 java/awt/font/ImageGraphicAttribute.java
5287 java/awt/font/NumericShaper.java
5288 * Makefile.in: Regenerated.
5289
5290 2003-02-17 Michael Koch <konqueror@gmx.de>
5291
5292 * java/awt/print/Paper.java
5293 (Paper): Implements Cloneable.
5294 * java/awt/print/PrinterJob.java
5295 (setJobName): Return value must be void.
5296 (print): Throws PrinterException.
5297
5298 2003-02-16 Tom Tromey <tromey@redhat.com>
5299
5300 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5301 variable.
5302
5303 2003-02-15 Michael Koch <konqueror@gmx.de>
5304
5305 * java/awt/datatransfer/DataFlavor.java
5306 (isRepresentationClassByteBuffer): Removed try-catch block.
5307 (isRepresentationClassCharBuffer): Removed try-catch block.
5308 (isRepresentationClassReader): Removed try-catch block.
5309
5310 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5311
5312 * java/nio/charset/Charset.java
5313 (isRegistered): Fixed method args and implementation.
5314 * java/nio/charset/CharsetEncoder.java
5315 (unmappableCharacterAction): New method.
5316
5317 2003-02-15 Michael Koch <konqueror@gmx.de>
5318
5319 * java/awt/CheckboxMenuItem.java
5320 (CheckBoxMenuItem): Dont implement Serializable.
5321 (getListeners): New method,
5322 (getItemListeners): New method.
5323 * java/awt/Choice.java
5324 (getListeners): New method,
5325 (getItemListeners): New method.
5326 * java/awt/Container.java
5327 (getListeners): Added exception documentation.
5328 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5329 (getFocusTraversalKeys): Added documentation.
5330 (areFocusTraversalKeysSet): Added documentation.
5331 (applyComponentOrientation): Added documentation.
5332 * java/awt/ContainerOrderFocusTraversalPolicy.java
5333 (implicitDownCycleTraversal): Renamed from downCycle for
5334 serialization.
5335 (ContainerOrderFocusTraversalPolicy): Added documentation.
5336 (accept): Reformated.
5337 * java/awt/Dialog.java
5338 (Dialog): Dont implement Serializable.
5339 (Dialog): Added documentation.
5340 * java/awt/Font.java
5341 (Font): Dont use absolute class name.
5342 * java/awt/Frame.java
5343 (Frame): Font implement Serializable.
5344 * java/awt/List.java
5345 (getListeners): New method,
5346 (getActionListeners): New method.
5347 (getItemListeners): New method.
5348 * java/awt/Menu.java
5349 (countItems): New deprecated method.
5350 * java/awt/Scrollbar.java
5351 (getListeners): New method,
5352 (getAdjustmentListeners): New method,
5353 * java/awt/TextComponent.java
5354 (getListeners): New method,
5355 (getTextListeners): New method,
5356 * java/awt/TextField.java
5357 (getListeners): New method,
5358 (getActionListeners): New method.
5359 * java/awt/Window.java
5360 (windowFocusListener): New member variable.
5361 (windowStateListener): New member variable.
5362 (getWindowFocusListeners): New method.
5363 (getWindowStateListeners): New method.
5364 (addWindowFocusListener): New method.
5365 (addWindowStateListener): New method.
5366 (removeWindowFocusListener): New method.
5367 (removeWindowStateListener): New method.
5368 * java/awt/datatransfer/DataFlavor.java
5369 (isRepresentationClassByteBuffer): New method.
5370 (isRepresentationClassCharBuffer): New method.
5371 (isRepresentationClassReader): New method.
5372
5373 2003-02-14 Mark Wielaard <mark@klomp.org>
5374
5375 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5376 zero when there is an exponent and the significant is zero.
5377 (divide): Always set scale to newScale even in special ZERO case.
5378
5379 2003-02-14 Tom Tromey <tromey@redhat.com>
5380
5381 * java/lang/System.java (properties): Use Properties.clone.
5382 (setProperties): Likewise.
5383
5384 2003-02-14 Michael Koch <konqueror@gmx.de>
5385
5386 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5387 * gnu/java/nio/ServerSocketChannelImpl.java
5388 (SocketAccept): Removed.
5389 (accept): Commented out use of SocketAccept.
5390
5391 2003-02-13 Tom Tromey <tromey@redhat.com>
5392
5393 * verify.cc (state::seen_subrs): New field.
5394 (state::state): Initialize it.
5395 (state::clean_subrs): New method.
5396 (state::~state): Call it.
5397 (state::copy): Copy subroutine list.
5398 (state::add_subr): New method.
5399 (state::merge): Only register a change if the current subroutine
5400 hasn't yet been noted.
5401
5402 2003-02-13 Mark Wielaard <mark@klomp.org>
5403
5404 * java/io/InputStreamReader.java (getEncoding): Return null when
5405 closed.
5406 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5407
5408 2003-02-13 Mark Wielaard <mark@klomp.org>
5409
5410 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5411 is zero.
5412
5413 2003-02-13 Mark Wielaard <mark@klomp.org>
5414
5415 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5416 next byte cannot be buffered.
5417
5418 2003-02-13 Michael Koch <konqueror@gmx.de>
5419
5420 * java/awt/Label.java
5421 (Label): Don't implement Serializable directly.
5422 (addNotify): Fixed typo in documentation.
5423 * java/awt/List.java
5424 (List): Don't implement Serializable directly.
5425 * java/awt/PopupMenu.java
5426 (PopupMenu): Don't implement Serializable directly.
5427 * java/awt/ScrollPane.java
5428 (ScrollPane): Don't implement Serializable directly.
5429 * java/awt/Scrollbar.java
5430 (Scrollbar): Don't implement Serializable directly.
5431 * java/awt/TextArea.java
5432 (preferredSize): Fixed method arguments.
5433 * java/awt/TextField.java
5434 (TextField): Don't implement Serializable directly.
5435 * java/awt/color/ICC_ColorSpace.java
5436 (fromCIOXYZ): Documentation added.
5437 (getMinValue): Documentation added.
5438 (getMaxValue): Documentation added.
5439 * java/awt/datatransfer/DataFlavor.java
5440 (isMimeTypeEqual): May not be final.
5441 (clone): Throws CloneNotSupportedException.
5442 (getReaderForText): Don't throws UnsupportedEncodingException.
5443
5444 2003-02-13 Michael Koch <konqueror@gmx.de>
5445
5446 * gnu/java/awt/peer/gtk/GdkGraphics.java
5447 (drawString): New stubbed method.
5448 * java/awt/Graphics.java
5449 (drawString): New method.
5450
5451 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5452
5453 PR libgcj/9271:
5454 * java/security/SecureRandom.java (next): Avoid bias in results.
5455
5456 2003-02-13 Michael <konqueror@gmx.de>
5457
5458 * gnu/java/nio/FileChannelImpl.java
5459 (lengthInternal): Must be native.
5460 (size): Check if channel is already closed.
5461 (implCloseChannel): Reformated.
5462 (read): w was unused, removed it.
5463 (read): Removed.
5464 (read): New method.
5465 (write): New method.
5466 (map): Check arguments.
5467 (force): Throws IOException, check if channel is closed.
5468 (transferTo): New method.
5469 (transferFrom): New method.
5470 (lock): New method.
5471 (tryLock): New method.
5472 (position): New method.
5473 (truncate): New method.
5474 (nio_mmap_file): Uncommented.
5475 (nio_munmap_file): Uncommented.
5476 (nio_msync): Uncommented.
5477 * gnu/java/nio/natFileChannelImpl.cc: New file.
5478
5479 2003-02-13 Michael Koch <konqueror@gmx.de>
5480
5481 * java/nio/ByteBuffer.java
5482 (endian): New member variable.
5483 (get): New methods.
5484 (equals): New method.
5485 (compareTo): New method.
5486 (order): New methods.
5487 (compact): New method.
5488 (isDirect): New method.
5489 (slice): New method.
5490 (duplicate): New method.
5491 (asReadOnlyBuffer): New method.
5492 (asCharBuffer): New method.
5493 (asDoubleBuffer): New method.
5494 (asFloatBuffer): New method.
5495 (asIntBuffer): New method.
5496 (asLongBuffer): New method.
5497 (asShortBuffer): New method.
5498 (get*): New methods.
5499 (put*): New methods.
5500 (toString): New method.
5501 * java/nio/CharBuffer.java
5502 (CharBuffer): Implement Comparable instead of Cloneable.
5503 (get): May not be final.
5504 (put): May not be final.
5505
5506 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5507
5508 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5509 lastIndexOf( ) instead of indexOf( ) to find the colon before
5510 the line number, because Win32 file names might contain a
5511 drive letter and a colon at the start of an absolute path.
5512
5513 2003-02-13 Michael Koch <konqueror@gmx.de>
5514
5515 * gnu/java/nio/natSocketChannelImpl.cc
5516 (SocketConnect): This is not implemented yet.
5517 (SocketBind): This is not implemented yet.
5518
5519 2003-02-13 Michael Koch <konqueror@gmx.de>
5520
5521 * gnu/java/nio/natByteBufferImpl.cc,
5522 gnu/java/nio/natCharBufferImpl.cc,
5523 gnu/java/nio/natDoubleBufferImpl.cc,
5524 gnu/java/nio/natFloatBufferImpl.cc,
5525 gnu/java/nio/natIntBufferImpl.cc,
5526 gnu/java/nio/natLongBufferImpl.cc,
5527 gnu/java/nio/natShortBufferImpl.cc:
5528 Added copyright and license.
5529 * java/nio/DoubleBuffer.java,
5530 java/nio/FloatBuffer.java,
5531 java/nio/IntBuffer.java,
5532 java/nio/LongBuffer.java,
5533 java/nio/ShortBuffer.java
5534 (array): Throw exceptions.
5535 (arrayOffset): Throw exceptions.
5536
5537 2003-02-13 Michael Koch <konqueror@gmx.de>
5538
5539 * gnu/java/util/prefs/FileBasedFactory.java,
5540 gnu/java/util/prefs/MemmoryBasedFactory.java,
5541 gnu/java/util/prefs/MemoryBasedPreferences.java,
5542 gnu/java/util/prefs/NodeReader.java,
5543 gnu/java/util/prefs/NodeWriter.java,
5544 java/util/prefs/AbstractPreferences.java,
5545 java/util/prefs/BackingStoreException.java,
5546 java/util/prefs/InvalidPreferencesFormatException.java,
5547 java/util/prefs/NodeChangeEvent.java,
5548 java/util/prefs/NodeChangeListener.java,
5549 java/util/prefs/PreferenceChangeEvent.java,
5550 java/util/prefs/PreferenceChangeListener.java,
5551 java/util/prefs/Preferences.java,
5552 java/util/prefs/PreferencesFactory.java:
5553 New files, all merged from classpath.
5554 * Makefile.am
5555 (ordinary_java_source_files): Added the following files:
5556 gnu/java/util/prefs/FileBasedFactory.java,
5557 gnu/java/util/prefs/MemmoryBasedFactory.java,
5558 gnu/java/util/prefs/MemoryBasedPreferences.java,
5559 gnu/java/util/prefs/NodeReader.java,
5560 gnu/java/util/prefs/NodeWriter.java,
5561 (core_java_source_files): Added the following files:
5562 java/util/prefs/AbstractPreferences.java,
5563 java/util/prefs/BackingStoreException.java,
5564 java/util/prefs/InvalidPreferencesFormatException.java,
5565 java/util/prefs/NodeChangeEvent.java,
5566 java/util/prefs/NodeChangeListener.java,
5567 java/util/prefs/PreferenceChangeEvent.java,
5568 java/util/prefs/PreferenceChangeListener.java,
5569 java/util/prefs/Preferences.java,
5570 java/util/prefs/PreferencesFactory.java
5571 * Makefile.in: Regenerated.
5572
5573 2003-02-13 Michael Koch <konqueror@gmx.de>
5574
5575 * java/net/NetPermission.java
5576 (NetPermission): Make doucmentation match the method declaration.
5577 * java/net/NetworkInterface.java
5578 (equals): Reformated for GNU coding style.
5579 * java/net/ServerSocket.java: Merged with classpath.
5580 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5581 * java/net/SocketImpl.java
5582 (localPort): Merged with classpath (initialize with -1).
5583 * java/net/SocketPermission.java: Merged with classpath (reindented).
5584 * java/net/URLDecoder.java: Merged with classpath (reindented).
5585
5586 2003-02-13 Michael Koch <konqueror@gmx.de>
5587
5588 * java/awt/GridBagConstraints.java
5589 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5590 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5591 * java/awt/KeyboardFocusManager.java
5592 (setGlobalCurrentFocusCycleRoot): Must be public.
5593 * java/awt/MenuComponent.java
5594 (MenuComponent): Must be public.
5595 * java/awt/Toolkit.java:
5596 Added some empty lines to make documentation more readable.
5597 (getFontPeer): Added @deprecated.
5598 (getColorModel): Added exception documentation.
5599 (getProperty): Fixed documentation.
5600
5601 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5602
5603 * configure.host (alpha*-*): Default to -mieee.
5604 * configure.in (IEEESPEC): New.
5605 * libgcj.spec.in (jc1): Add IEEESPEC.
5606 * configure: Rebuild.
5607
5608 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5609
5610 * include/win32.h: Include ws2tcpip.h instead of
5611 winsock.h to obtain definition of the socklen_t type.
5612 Remove IP_TOS definition - not needed with ws2tcpip.h
5613 (_Jv_connect): Correct slight formatting error.
5614
5615 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5616
5617 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5618 size of the arguments for a JNI function. For Win32,
5619 modify to search for all forms of possible exported
5620 names of an stdcall JNI function.
5621 (_Jv_JNIMethod::call): Modify to calculate the size
5622 of the arguments passed to a JNI function and pass
5623 it to _Jv_LookupJNIMethod.
5624
5625 2003-02-12 Michael Koch <konqueror@gmx.de>
5626
5627 * java/nio/channels/Channels.java: New file.
5628 * Makefile.am
5629 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5630 * Makefile.in: Regenerated.
5631
5632 2003-02-12 Michael Koch <konqueror@gmx.de>
5633
5634 * java/nio/ByteBuffer.java
5635 (allocate): Implemented.
5636 (wrap): Implemented.
5637 * java/nio/CharBuffer.java:
5638 Some documentation added and reworked.
5639 (endian): Removed.
5640 (allocate): Implemented.
5641 (wrap): Implemented.
5642 (array): Throw exceptions.
5643 (arrayOffset): Throw exceptions.
5644 (toString): Implemented.
5645 (length): Implemented.
5646 (put): Implemented.
5647 (charAt): Implemented.
5648
5649 2003-02-11 John Leuner <jewel@debian.org>
5650
5651 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5652 reads from end of file.
5653
5654 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5655
5656 * java/io/natFileDescriptorWin32.cc
5657 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5658 returns with Win32 error code ERROR_BROKEN_PIPE.
5659
5660 2003-02-11 Michael Koch <konqueror@gmx.de>
5661
5662 * Makefile.in
5663 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5664
5665 2003-02-11 Michael Koch <konqueror@gmx.de>
5666
5667 * gnu/java/nio/ByteBufferImpl.java:
5668 Reformated and removed some code.
5669 (backing_buffer): Removed.
5670 (array_offset): Removed.
5671 (ro): Renamed to readOnly.
5672 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5673 * gnu/java/nio/CharBufferImpl.java:
5674 Reformated and removed some code.
5675 (array_offset): Removed.
5676 (ro): Renamed to readOnly.
5677 (CharBufferImpl): Use parent constructor, initialize readOnly.
5678 (inc_pos): Removed.
5679 (order): New method.
5680 * gnu/java/nio/DoubleBufferImpl.java:
5681 Reformated and removed some code.
5682 (array_offset): Removed.
5683 (ro): Renamed to readOnly.
5684 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5685 (inc_pos): Removed.
5686 (order): New method.
5687 * gnu/java/nio/FloatBufferImpl.java:
5688 Reformated and removed some code.
5689 (array_offset): Removed.
5690 (ro): Renamed to readOnly.
5691 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5692 (inc_pos): Removed.
5693 (order): New method.
5694 * gnu/java/nio/IntBufferImpl.java:
5695 Reformated and removed some code.
5696 (array_offset): Removed.
5697 (ro): Renamed to readOnly.
5698 (IntBufferImpl): Use parent constructor, initialize readOnly.
5699 (inc_pos): Removed.
5700 (order): New method.
5701 * gnu/java/nio/LongBufferImpl.java:
5702 Reformated and removed some code.
5703 (array_offset): Removed.
5704 (ro): Renamed to readOnly.
5705 (LongBufferImpl): Use parent constructor, initialize readOnly.
5706 (inc_pos): Removed.
5707 (order): New method.
5708 * gnu/java/nio/ShortBufferImpl.java:
5709 Reformated and removed some code.
5710 (array_offset): Removed.
5711 (ro): Renamed to readOnly.
5712 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5713 (inc_pos): Removed.
5714 (order): New method.
5715 * Makefile.am
5716 (ordinary_java_source_files): Added the following files:
5717 gnu/java/nio/ByteBufferImpl.java
5718 gnu/java/nio/CharBufferImpl.java
5719 gnu/java/nio/DoubleBufferImpl.java
5720 gnu/java/nio/FloatBufferImpl.java
5721 gnu/java/nio/IntBufferImpl.java
5722 gnu/java/nio/LongBufferImpl.java
5723 gnu/java/nio/ShortBufferImpl.java
5724 java/nio/DoubleBuffer.java
5725 java/nio/FloatBuffer.java
5726 java/nio/IntBuffer.java
5727 java/nio/LongBuffer.java
5728 java/nio/ShortBuffer.java
5729 (nat_source_files): Added the following files:
5730 gnu/java/nio/natByteBufferImpl.cc
5731 gnu/java/nio/natCharBufferImpl.cc
5732 gnu/java/nio/natDoubleBufferImpl.cc
5733 gnu/java/nio/natFloatBufferImpl.cc
5734 gnu/java/nio/natIntBufferImpl.cc
5735 gnu/java/nio/natLongBufferImpl.cc
5736 gnu/java/nio/natShortBufferImpl.cc
5737 * Makefile.in: Regenerated.
5738
5739 2003-02-11 Michael Koch <konqueror@gmx.de>
5740
5741 * gnu/java/nio/natCharBufferImpl.cc
5742 (nio_cast): Removed.
5743 (nio_put_*): Removed.
5744 (nio_get_*): Removed.
5745 * gnu/java/nio/natDoubleBufferImpl.cc
5746 (nio_cast): Removed.
5747 (nio_put_*): Removed.
5748 (nio_get_*): Removed.
5749 * gnu/java/nio/natFloatBufferImpl.cc
5750 (nio_cast): Removed.
5751 (nio_put_*): Removed.
5752 (nio_get_*): Removed.
5753 * gnu/java/nio/natIntBufferImpl.cc
5754 (nio_cast): Removed.
5755 (nio_put_*): Removed.
5756 (nio_get_*): Removed.
5757 * gnu/java/nio/natLongBufferImpl.cc
5758 (nio_cast): Removed.
5759 (nio_put_*): Removed.
5760 (nio_get_*): Removed.
5761 * gnu/java/nio/natShortBufferImpl.cc
5762 (nio_cast): Removed.
5763 (nio_put_*): Removed.
5764 (nio_get_*): Removed.
5765 * gnu/java/nio/SelectorProviderImpl.java
5766 (openDatagramChannel): Throws IOException.
5767 (openPipe): Throws IOException.
5768 (openSelector): Throws IOException.
5769 (openServerSocketChannel): Throws IOException.
5770 (openSocketChannel): Throws IOException.
5771 * gnu/java/nio/ServerSocketChannelImpl.java
5772 (ServerSocketChannelImpl): Throws IOException.
5773 (implCloseSelectableChannel): Throws IOException.
5774 (implConfigureBlocking): Throws IOException.
5775 * java/nio/ByteBuffer.java
5776 (readOnly): Removed.
5777 (hasArray): Use isReadOnly() instead of readOnly.
5778 (array): Use isReadOnly() instead of readOnly.
5779 (arrayOffset): Use isReadOnly() instead of readOnly.
5780 * java/nio/CharBuffer.java
5781 (CharBuffer): Implements Cloneable and CharSequence.
5782
5783 2003-02-11 Michael Koch <konqueror@gmx.de>
5784
5785 * java/nio/DoubleBuffer.java
5786 (DoubleBuffer): Implements Comparable.
5787 (endian): Removed.
5788 (array_offset): New member variable.
5789 (DoubleBuffer): New constuctor.
5790 (get): May not be final.
5791 (put): May not be final.
5792 (arrayOffset): Implemented.
5793 (order): Made abstract.
5794 (order): Removed.
5795 (as*Buffer): Removed.
5796 (get*): Removed.
5797 (put*): Removed.
5798 * java/nio/FloatBuffer.java
5799 (FloatBuffer): Implements Comparable.
5800 (endian): Removed.
5801 (array_offset): New member variable.
5802 (FloatBuffer): New constuctor.
5803 (get): May not be final.
5804 (put): May not be final.
5805 (arrayOffset): Implemented.
5806 (order): Made abstract.
5807 (order): Removed.
5808 (as*Buffer): Removed.
5809 (get*): Removed.
5810 (put*): Removed.
5811 * java/nio/IntBuffer.java
5812 (IntBuffer): Implements Comparable.
5813 (endian): Removed.
5814 (array_offset): New member variable.
5815 (IntBuffer): New constuctor.
5816 (get): May not be final.
5817 (put): May not be final.
5818 (arrayOffset): Implemented.
5819 (order): Made abstract.
5820 (order): Removed.
5821 (as*Buffer): Removed.
5822 (get*): Removed.
5823 (put*): Removed.
5824 * java/nio/LongBuffer.java
5825 (LongBuffer): Implements Comparable.
5826 (endian): Removed.
5827 (array_offset): New member variable.
5828 (LongBuffer): New constuctor.
5829 (get): May not be final.
5830 (put): May not be final.
5831 (arrayOffset): Implemented.
5832 (order): Made abstract.
5833 (order): Removed.
5834 (as*Buffer): Removed.
5835 (get*): Removed.
5836 (put*): Removed.
5837 * java/nio/ShortBuffer.java
5838 (ShortBuffer): Implements Comparable.
5839 (endian): Removed.
5840 (array_offset): New member variable.
5841 (ShortBuffer): New constuctor.
5842 (get): May not be final.
5843 (put): May not be final.
5844 (arrayOffset): Implemented.
5845 (order): Made abstract.
5846 (order): Removed.
5847 (as*Buffer): Removed.
5848 (get*): Removed.
5849 (put*): Removed.
5850
5851 2003-02-11 Michael Koch <konqueror@gmx.de>
5852
5853 * java/nio/channels/SelectionKey.java
5854 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5855 values.
5856
5857 2003-02-11 Michael Koch <konqueror@gmx.de>
5858
5859 * java/nio/channels/DatagramChannel.java
5860 (write): Throws IOException.
5861 (connect): Throws IOException.
5862 (disconnect): Throws IOException.
5863 (read): Throws IOException.
5864 (receive): Throws IOException.
5865 (send): Throws IOException.
5866 * java/nio/channels/Pipe.java
5867 (open): Throws IOException.
5868 * java/nio/channels/SelectableChannel.java
5869 (configureBlocking): Throws IOException.
5870 * java/nio/channels/ServerSocketChannel.java
5871 (accept): Throws IOException.
5872 * java/nio/channels/SocketChannel.java
5873 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5874 GatheringByteChannel.
5875 (read): Throws IOException.
5876 (write): Throws IOException.
5877 (finishConnect): Throws IOException.
5878 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5879 (end): Throws AsynchronousCloseException.
5880 * java/nio/channels/spi/AbstractSelectableChannel.java
5881 (configureBlocking): Throws IOException.
5882 (implCloseChannel): Throws IOException.
5883 (implCloseSelectableChannel): Throws IOException.
5884 (implConfigureBlocking): Throws IOException.
5885 * java/nio/channels/spi/SelectorProvider.java
5886 (openDatagramChannel): Throws IOException.
5887 (openPipe): Throws IOException.
5888 (openSelector): Throws IOException.
5889 (openServerSocketChannel): Throws IOException.
5890 (openSocketChannel): Throws IOException.
5891
5892 2003-02-11 Michael Koch <konqueror@gmx.de>
5893
5894 * gnu/java/nio/FileLockImpl.java,
5895 java/nio/channels/FileLock.java: New files.
5896
5897 2003-02-11 Michael Koch <konqueror@gmx.de>
5898
5899 * java/nio/charset/IllegalCharsetNameException.java
5900 (serialVersionUID): New member variable.
5901 (charsetName): New member variable.
5902 (IllegalCharsetException): New implementation.
5903 (getCharsetName): New implementation.
5904 * java/nio/charset/UnsupportedCharsetException.java
5905 (serialVersionUID): New member variable.
5906 (charsetName): New member variable.
5907 (UnsupportedCharsetException): New implementation.
5908 (getCharsetName): New implementation.
5909
5910 2003-02-10 Tom Tromey <tromey@redhat.com>
5911
5912 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5913 (ex): Renamed from sqlException.
5914
5915 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5916
5917 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5918 method used to ensure seeding has occurred and that a specific
5919 seed can be set and used.
5920
5921 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5922
5923 * java/lang/Win32Process.java (destroy): Declare as native.
5924 (hasExited): New native method.
5925 (exitValue): Define.
5926 (getErrorStream): Likewise.
5927 (getInputStream): Likewise.
5928 (getOutputStream): Likewise.
5929 (waitFor): Declare as native.
5930 (startProcess): New native method.
5931 (cleanup): Likewise.
5932 (ConcreteProcess): Define.
5933 (outputStream, inputStream, errorStream): New members.
5934 (procHandle, exitCode): Likewise.
5935
5936 * java/lang/natWin32Process.cc
5937 (java::lang::ConcreteProcess::cleanup): Define.
5938 (java::lang::ConcreteProcess::destroy): Likewise.
5939 (java::lang::ConcreteProcess::hasExited): Likewise.
5940 (java::lang::ConcreteProcess::waitFor): Likewise.
5941 (new_string): Likewise.
5942 (java::lang::ConcreteProcess::startProcess): Likewise.
5943
5944 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5945
5946 * java/math/BigInteger.java:
5947 Updated notice to include years 2002 and 3.
5948 Added 2 private (int) arrays with values from the HAC (Handbook of
5949 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5950 and t[] that contains nbr. of tests --used in isProbablePrime().
5951
5952 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5953
5954 * java/math/BigInteger.java (make(int[],int), add(int,int),
5955 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5956 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5957 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5958 make(long).
5959
5960 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5961 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5962 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5963 BIs and returns void.
5964 (modInverse(BI)): Use new signatures of euclidInv().
5965
5966 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5967 static small primes instead of remainder().
5968 Use pre-computed max nbr of trials based on bitlength of BI to test.
5969 Use pre-computed small primes for the trial tests instead of random
5970 numbers.
5971
5972 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5973 not used.
5974
5975 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5976 invoacation of MPN.chars_per_word(). not used.
5977
5978 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5979 local var and used where needed.
5980
5981 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5982 Combined declaration with initialisation of locals.
5983 Removed unused var.
5984
5985 * java/math/BigInteger.java: Style changes
5986 (pow(int)): Removed 'else' keyword.
5987 (toString(int)): idem.
5988 (doubleValue()): idem.
5989 (bitLength()): idem.
5990 (equals(Object)): Use static methods name in same class w/o prepending
5991 class name.
5992 (doubleValue()): idem.
5993 (setNegative(BI)): idem.
5994 (negate()): idem.
5995 (and(BI,int)): idem.
5996 (and(BI)): idem.
5997 (gcd(BI)): idem.
5998 (byteArrayToIntArray()): Removed casting to (int). this is
5999 std. behaviour.
6000 (canonicalize()): idem.
6001 (alloc(int)): Always instantiate a new BI.
6002
6003 2003-02-10 Tom Tromey <tromey@redhat.com>
6004
6005 * java/sql/Timestamp.java (compareTo(Object)): New method.
6006 (compareTo(Timestamp)): Likewise.
6007 (serialVersionUID): Updated.
6008
6009 2003-02-07 Mark Wielaard <mark@klomp.org>
6010
6011 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
6012 when verify is true.
6013 (JarFile(File, boolean)): Likewise.
6014 (manifestRead): Set manifestRead field correctly.
6015
6016 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6017
6018 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
6019 tests; see patch #1016 on Savannah.
6020
6021 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6022
6023 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
6024 (toString): do not return Strings starting with . and - erroneously.
6025 Improves Mauve results to 12 of 600 instead of 16 of 338 on
6026 DiagBigDecimal.
6027
6028 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6029
6030 * java/beans/PropertyDescriptor.java
6031 (PropertyDescriptor(String, Class)): Sanity check getter and setter
6032 methods.
6033 (PropertyDescriptor(String, Class, String, String)): Likewise.
6034 (PropertyDescriptor(String, Method, Method): Factor out getter and
6035 setter method sanity checks into new method.
6036 (findMethods): Don't do parameter sanity checking of get method here.
6037 (checkMethods): New method.
6038
6039 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6040
6041 * java/beans/PropertyDescriptor.java: Reformat.
6042
6043 2003-02-04 Tom Tromey <tromey@redhat.com>
6044
6045 * java/io/PipedOutputStream.java (flush): Declare as throwing
6046 IOException.
6047 (close): Likewise.
6048 * java/io/PipedWriter.java (close): Declare as throwing
6049 IOException.
6050 * java/io/StringWriter.java (close): Declare as throwing
6051 IOException.
6052
6053 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6054
6055 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
6056 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
6057 could also have been exported as "JNI_OnLoad@8" (MinGW) or
6058 "_JNI_OnLoad@8" (MSVC).
6059
6060 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6061
6062 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6063 convention on Win32 to invoke native JNI methods.
6064
6065 2003-02-03 Andrew Haley <aph@redhat.com>
6066
6067 * configure.host (x86_64): Enable interpreter.
6068
6069 2003-02-03 Andrew Haley <aph@redhat.com>
6070
6071 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6072 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6073 * configure.in (BACKTRACESPEC): New.
6074 * configure: Regenerate.
6075
6076 2003-02-02 Tom Tromey <tromey@redhat.com>
6077
6078 * configure: Rebuilt.
6079 * configure.in (TOOLKIT) [xlib]: Set correctly.
6080
6081 * Makefile.in: Rebuilt.
6082 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6083 libstdc++.
6084
6085 2003-01-31 Mark WIelaard <mark@klomp.org>
6086
6087 * Makefile.in: Rebuilt.
6088 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6089
6090 2003-01-31 Tom Tromey <tromey@redhat.com>
6091
6092 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6093 cast to element type.
6094 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6095 (_Jv_JNI_GetObjectArrayElement): Likewise.
6096
6097 * Makefile.in: Rebuilt.
6098 * Makefile.am (cond_x_ltlibrary): Renamed library to
6099 lib-gnu-awt-xlib.la.
6100 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6101 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6102 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6103 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6104 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6105 (lib_gnu_awt_xlib_la_LINK): Likewise.
6106 (install-exec-hook): Removed.
6107 (lib-gnu-awt-xlib.la): Renamed.
6108
6109 2003-01-31 Tom Tromey <tromey@redhat.com>
6110
6111 * aclocal.m4, configure, include/config.h.in: Rebuilt.
6112 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6113 aclocal.m4 and lost in some merge.
6114
6115 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6116 Don't try to find graphics configuration.
6117 * java/awt/Toolkit.java (default_toolkit_name): Use new
6118 Configuration entry.
6119 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6120 New global.
6121 * configure: Rebuilt.
6122 * configure.in (TOOLKIT): New subst.
6123 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6124 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
6125 directory. Make output directories for .c files.
6126 * Makefile.in: Rebuilt.
6127 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6128 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6129 (all_java_source_files): Added new sources.
6130 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6131 (gtk_c_files): New macro.
6132 (gtk_c_source_files): New macro.
6133 (cond_gtk_ltlibrary): New macro.
6134 ($(gtk_c_files)): New target.
6135 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6136 (gtk_awt_peer_sources): New macro.
6137 (gtk_c_headers): New macro.
6138 ($(gtk_c_headers)): New target.
6139 (ACLOCAL_AMFLAGS): New macro.
6140 * gtk.m4, glib.m4, libart.m4: New files.
6141 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6142 gnu/java/awt/peer/gtk/GdkGraphics.java,
6143 gnu/java/awt/peer/gtk/GtkArg.java,
6144 gnu/java/awt/peer/gtk/GtkArgList.java,
6145 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6146 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6147 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6148 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6149 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6150 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6151 gnu/java/awt/peer/gtk/GtkClipboard.java,
6152 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6153 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6154 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6155 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6156 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6157 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6158 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6159 gnu/java/awt/peer/gtk/GtkImage.java,
6160 gnu/java/awt/peer/gtk/GtkImagePainter.java,
6161 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6162 gnu/java/awt/peer/gtk/GtkListPeer.java,
6163 gnu/java/awt/peer/gtk/GtkMainThread.java,
6164 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6165 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6166 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6167 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6168 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6169 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6170 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6171 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6172 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6173 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6174 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6175 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6176 gnu/java/awt/peer/gtk/GtkToolkit.java,
6177 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6178 gnu/java/awt/peer/gtk/TestAWT.java,
6179 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6180 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6181 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6182 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6183 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6184 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6185 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6186 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6187 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6188 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6189 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6190 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6191 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6192 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6193 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6194 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6195 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6196 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6197 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6198 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6199 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6200 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6201 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6202 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6203 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6204 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6205 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6206 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6207 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6208 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6209 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6210 jni/classpath/native_state.c, jni/classpath/native_state.h,
6211 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6212
6213 2003-01-31 Julian Dolby <dolby@us.ibm.com>
6214
6215 * java/util/Properties.java (load): Ignore backslash before EOF.
6216
6217 2003-01-30 Jeff Sturm <jsturm@one-point.com>
6218
6219 * java/lang/natClass.cc (initializeClass): Check tables when
6220 (state == JV_STATE_IN_PROGRESS).
6221 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6222 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6223 interpreted classes.
6224 (linkClass0): Use _Jv_WaitForState.
6225
6226 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
6227
6228 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6229 object when finished.
6230
6231 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
6232
6233 * libjava/configure.host: Disable can_unwind_signal on darwin.
6234
6235 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
6236
6237 Fixes PR java/9254:
6238 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6239 additionally containing id of the owner thread as well as
6240 the number of nested times the thread has acquired the mutex.
6241 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6242 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6243 (_Jv_MutexUnlock): Check if really the owner thread, reset
6244 owner thread id to 0 before leaving, if leaving for the last
6245 time.
6246 (_Jv_MutexLock): Set owner thread id in the mutex and increment
6247 refcount.
6248 (_Jv_ThreadYield): Yield using a call to Sleep(0).
6249 * win32-threads.cc (_Jv_CondWait): Check if really owner of
6250 the passed mutex.
6251 Pass handle of the broadcast event, instead of a pointer to it
6252 in Win32 ResetEvent( ) call.
6253 Remove incorrect return values.
6254 (_Jv_CondDestroy): Close both event handles and delete
6255 critical section.
6256 (_Jv_CondNotify): Check if really the owner thread.
6257 (_Jv_CondNotifyAll): Check if really the owner thread.
6258 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6259 (really_start): Use SetEvent( ) to signal daemon_cond.
6260 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6261 WaitForSingleObject( ) instead to wait for daemon_cond to be
6262 signalled.
6263
6264 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6265
6266 * configure.in: Specifically define HAVE_BACKTRACE if building
6267 for MinGW.
6268 * include/win32.h: Remove HAVE_BACKTRACE definition.
6269 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6270 * configure: Rebuilt.
6271
6272 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6273
6274 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6275 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6276 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6277 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6278 * Makefile.in, configure: Rebuilt.
6279
6280 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6281
6282 Fixes PR java/9253:
6283 * java/io/natFileWin32.cc (performList): Append only "*.*"
6284 if the canonical file path already has a "\" at the end.
6285
6286 2003-01-24 Tom Tromey <tromey@redhat.com>
6287
6288 * defineclass.cc (handleMethodsEnd): Precompute code for static
6289 method.
6290 (handleCodeAttribute): Likewise.
6291 * resolve.cc (ncode): Use run_class for unsynchronized static
6292 methods.
6293 * include/java-interp.h (class _Jv_InterpMethod): Declare
6294 run_class.
6295 * interpret.cc (run_synch_class): Initialize class.
6296 (run) [insn_invokestatic]: Don't initialize class.
6297 [insn_anewarray]: Likewise.
6298 [insn_multianewarray]: Likewise.
6299 (run_class): New function.
6300
6301 2003-01-24 Tom Tromey <tromey@redhat.com>
6302
6303 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6304 comment.
6305
6306 2003-01-22 Andrew Haley <aph@redhat.com>
6307
6308 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6309 * configure.host (CHECKREFSPEC): Define for x86_64.
6310
6311 2003-01-21 Tom Tromey <tromey@redhat.com>
6312
6313 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6314 search at 2, not 3.
6315
6316 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6317
6318 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6319 looking at any characters.
6320 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6321 be used.
6322 (isAbsolute): Check path's length as well.
6323
6324 2003-01-17 Mark Wielaard <mark@klomp.org>
6325
6326 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6327 (nat_source_files): Add natVMObjectStreamClass.cc.
6328 * Makefile.in: Regenerated.
6329 * gcj/javaprims.h (namespace java): Regenerated.
6330 * java/io/ObjectStreamClass.java (getClassUID): Call
6331 VMObjectStreamClass.hasClassInitializer().
6332 (hasClassInitializer): Removed.
6333 * java/io/VMObjectStreamClass.java: New class.
6334 * java/io/natVMObjectStreamClass.cc: New file.
6335 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6336
6337 2003-01-16 Mark Wielaard <mark@klomp.org>
6338
6339 * java/net/SocketImpl.java (toString): Don't explicitly call
6340 toString() on possible null address.
6341
6342 2003-01-16 Michael Koch <konqueror@gmx.de>
6343
6344 * java/net/MulticastSocket.java
6345 (setInterface): Reindented.
6346
6347 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6348
6349 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6350 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6351 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6352 translateY arguments. Implement.
6353 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6354 down translation arguments.
6355 (drawPolyline, drawPolygon): Fix incorrect tests.
6356 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6357 translateX and translateY arguments.
6358
6359 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6360
6361 * Makefile.in: Rebuilt.
6362 * Makefile.am (xlib_includes): New macro.
6363 (INCLUDES): Use it.
6364
6365 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6366
6367 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6368 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6369 16-bit display mode.
6370
6371 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6372
6373 * java/awt/CardLayout.java (show): Rewrote.
6374 (gotoComponent): Removed `target' argument. Simplified code.
6375 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6376 Changed all callers.
6377 (NONE): Removed.
6378
6379 2003-01-14 Michael Koch <konqueror@gmx.de>
6380
6381 * java/net/InetSocketAddress.java
6382 (serialVersionUID): New member variable.
6383 * java/net/NetPermission.java
6384 (NetPermission): Dont implement java.io.Serialization directly.
6385 * java/net/SocketAddress.java:
6386 (serialVersionUID): Documentation added.
6387
6388 2003-01-14 Michael Koch <konqueror@gmx.de>
6389
6390 * java/awt/Label.java
6391 (Label): Implements javax.accessibility.Accessible;
6392 * java/awt/List.java
6393 (List): Implements javax.accessibility.Accessible;
6394 * java/awt/ScrollPane.java
6395 (ScrollPane): Implements javax.accessibility.Accessible;
6396 * java/awt/Scrollbar.java
6397 (Scrollbar): Implements javax.accessibility.Accessible;
6398 * java/awt/TextComponent.java
6399 (setCaretPosition): Throw exception, documentation added.
6400 * java/awt/Toolkit.java:
6401 Added some newlines in method documentations.
6402 (createButton): Exception documentation added.
6403 (createTextField): Exception documentation added.
6404 (createLabel): Exception documentation added.
6405 (createList): Exception documentation added.
6406 (createCheckbox): Exception documentation added.
6407 (createScrollbar): Exception documentation added.
6408 (createScrollPane): Exception documentation added.
6409 (createTextArea): Exception documentation added.
6410 (createChoice): Exception documentation added.
6411 (createFrame): Exception documentation added.
6412 (createWindow): Exception documentation added.
6413 (createDialog): Exception documentation added.
6414 (createMenuBar): Exception documentation added.
6415 (createMenu): Exception documentation added.
6416 (createMenuItem): Exception documentation added.
6417 (createFileDialog): Exception documentation added.
6418 (createCheckboxMenuItem): Exception documentation added.
6419 (loadSystemColors): Exception documentation added.
6420 (setDynamicLayout): Exception documentation added.
6421 (isDynamicLayoutSet): Exception documentation added.
6422 (isDynamicLayoutActive): Exception documentation added.
6423 (getScreenSize): Exception documentation added.
6424 (getScreenResolution): Exception documentation added.
6425 (getScreenInsets): Exception documentation added.
6426 (getColorModel): Exception documentation added.
6427 (getSystemClipboard): Exception documentation added.
6428 (getSystemSelection): Exception documentation added.
6429 (getMenuShortcutKeyMask): Exception documentation added.
6430 (getSystemEventQueue): Exception documentation added.
6431 * java/awt/Window.java:
6432 Reindented some code.
6433 (Window): Centralized implementation, documentation added.
6434 (finalize): Documentation added.
6435 (hide): Fixed typo in comment.
6436 (getWindowListeners): Documentation added.
6437 * java/awt/color/ColorSpace.java
6438 (toRGB): Documentation added.
6439 * java/awt/color/ICC_ColorSpace.java
6440 (ICC_ColorSpace): Documentation added.
6441 (toRGB): Throw exception, documentation added.
6442 (fromRGB): Throw exception, documentation added.
6443 (toCIEXYZ): Documentation added.
6444 (fromCIEXYZ): Documentation added.
6445 (getMinValue): Documentation added.
6446 (getMaxValue): Documentation added.
6447 * java/awt/geom/Dimension2D.java
6448 (clone): Documentation added.
6449 * java/awt/geom/GeneralPath.java
6450 (clone): Documentation added.
6451 * java/awt/geom/Line2D.java
6452 (clone): Documentation added.
6453 * java/awt/geom/QuadCurve2D.java
6454 (clone): Documentation added.
6455 * java/awt/image/ColorModel.java
6456 (ColorModel): Throw exception, documentation added.
6457 * java/awt/image/ImageFilter.java
6458 (clone): Doesnt throw CloneNotSupportedException.
6459
6460 2003-01-14 Andrew Haley <aph@redhat.com>
6461
6462 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6463 in a try block.
6464
6465 2003-01-10 Andrew Haley <aph@redhat.com>
6466
6467 * include/dwarf2-signal.h: Remove x86_64.
6468 * configure.host (x86_64 DIVIDESPEC): Remove.
6469 * include/x86_64-signal.h: New file.
6470 * configure.in: Regenerate.
6471
6472 2003-01-10 Michael Koch <konqueror@gmx.de>
6473
6474 * java/net/DatagramSocket.java
6475 (ch): Description added.
6476 (remotePort): Initialize with -1.
6477 (connect): Doesnt throws SocketException.
6478 * java/net/MulticastSocket.java
6479 (setInterface): Merge with Classpath.
6480 * java/net/ServerSocket.java
6481 (closed): New member variable.
6482 (bind): Check if socket is closed.
6483 (close): Close an associated channel too, set new value to closed.
6484 (isBound): Reindented.
6485 (isClosed): Implemented.
6486 * java/net/Socket.java
6487 (closed): New member variable.
6488 (bind): Check if socket is closed.
6489 (connect): Check if socket is closed.
6490 (close): Close an associated channel too, set new value to closed.
6491 (isClosed): Implemented.
6492
6493 2003-01-10 Michael Koch <konqueror@gmx.de>
6494
6495 * java/awt/DisplayMode.java
6496 (equals): Fixed argument type and implementation.
6497
6498 2003-01-07 Tom Tromey <tromey@redhat.com>
6499
6500 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6501 JV_HASH_SYNCHRONIZATION.
6502 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6503 JV_HASH_SYNCHRONIZATION.
6504
6505 2003-01-07 Michael Koch <konqueror@gmx.de>
6506
6507 * java/net/DatagramSocket.java:
6508 Added classpath license info.
6509 (DatagramSocket): Merged description with classpath.
6510 (close): Merged description with classpath.
6511 (getChannel): Merged description with classpath.
6512 (getInetAddress): Merged description with classpath.
6513 (getPort): Merged description with classpath.
6514 (getLocalAddress): Merged description with classpath.
6515 (getLocalPort): Merged description with classpath.
6516 (getSoTimeout): Merged description with classpath.
6517 (setSoTimeout): Merged description with classpath.
6518 (getSendBufferSize): Merged description with classpath.
6519 (setSendBufferSize): Merged description with classpath.
6520 (getReceiveBufferSize): Merged description with classpath.
6521 (setReceiveBufferSize): Merged description with classpath.
6522
6523 2003-01-04 Tom Tromey <tromey@redhat.com>
6524
6525 * java/awt/List.java: Merged with Classpath.
6526
6527 2003-01-03 Mark Wielaard <mark@klomp.org>
6528
6529 * java/io/FileDescriptor.java (position): New private field.
6530 * java/io/natFileDescriptorPosix.cc (write): Up position.
6531 (setLength): Use and set position.
6532 (seek): Set position.
6533 (getFilePointer): Return position.
6534 (read): Up position.
6535
6536 2003-01-03 Mark Wielaard <mark@klomp.org>
6537
6538 Merge with Classpath:
6539 * java/io/ObjectStreamClass.java (lookup): Split method and call
6540 lookupForClassObject().
6541 (lookupForClassObject): New method.
6542 (isProxyClass): New field.
6543 (setClass): Set isProxyClass, add object to classLookupTable, set
6544 superClass and calculateOffsets.
6545 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6546 and not a proxy class.
6547 (setFields): Set accessible true for serialPersistentFields.
6548 (getClassUID): Same for suid. And check if suid is of type long.
6549 (hasClassInitializer): Don't throw NoSuchMethodError.
6550
6551 2003-01-03 Mark Wielaard <mark@klomp.org>
6552
6553 * java/io/FileInputStream.java (finalize): Don't explicitly
6554 finalize FileDescriptor.
6555
6556 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6557
6558 * configure.host (sparc*-*): Enable bytecode interpreter.
6559
6560 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6561
6562 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6563 Don't throw RemoteException.
6564 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6565 throw RemoteException.
6566
6567 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6568
6569 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6570 proxyHost): New static fields.
6571 (<clinit>): Initialize new fields.
6572 (connect): Use proxy if necessary.
6573 (usingProxy): Implement.
6574
6575 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6576
6577 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6578 (TreeIterator.remove): Prefer IllegalStateException over
6579 ConcurrentModificationException, to match Sun.
6580
6581 2002-12-22 Anthony Green <green@redhat.com>
6582
6583 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6584
6585 2003-01-02 Mark Wielaard <mark@klomp.org>
6586
6587 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6588 public.
6589 (HTTP_USE_PROXY): Add field.
6590 (getResponseVals): Only set responseCode when not yet explicitly
6591 set by subclass.
6592
6593 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6594 Mark Wielaard <mark@klomp.org>
6595
6596 * java/util/zip/ZipFile.java (entries): Now HashMap.
6597 (readLeShort(DataInput, byte[])): Read from given byte array.
6598 (readLeInt(DataInput, byte[]): Likewise.
6599 (readLeShort(byte[] b, int off)): New method.
6600 (readLeInt(byte[] b, int off)): Likewise.
6601 (readEntries): Use byte arrays to read info in bigger chunks.
6602 (getEntries): Return HashMap.
6603 (getEntry): Use HashMap.
6604 (locBuf): New private field.
6605 (checkLocalHeader): Use locBuf to read info in one chunk.
6606 (getInputStream): Use entries HashMap, wrap PartialInputStream
6607 in BufferedInputStream.
6608 (ZipEntryEnumeration): Use HashMap and Interator.
6609
6610 2003-01-02 Mark Wielaard <mark@klomp.org>
6611 Jeroen Frijters <jeroen@sumatra.nl>
6612
6613 * java/net/URLClassLoader.java (Resource.getCodeSource):
6614 Fix check certs == null.
6615 (getCanonicalFileURL): Removed method.
6616 (JarURLLoader): Don't call removed method.
6617 (FileURLLoader): Likewise.
6618 (FileURLLoader.getResource): Don't canonicalize file name.
6619
6620 2003-01-01 Tom Tromey <tromey@redhat.com>
6621
6622 * Makefile.in: Rebuilt.
6623 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6624 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6625 java/awt/BufferCapabilities.java, java/awt/Button.java,
6626 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6627 java/awt/Container.java, java/awt/Cursor.java,
6628 java/awt/EventQueue.java, java/awt/FileDialog.java,
6629 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6630 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6631 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6632 java/awt/Scrollbar.java, java/awt/TextArea.java,
6633 java/awt/TextField.java, java/awt/color/CMMException.java,
6634 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6635 java/awt/color/ProfileDataException.java,
6636 java/awt/datatransfer/Clipboard.java,
6637 java/awt/datatransfer/DataFlavor.java,
6638 java/awt/datatransfer/FlavorMap.java,
6639 java/awt/datatransfer/SystemFlavorMap.java,
6640 java/awt/dnd/DragGestureEvent.java,
6641 java/awt/dnd/DragGestureRecognizer.java,
6642 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6643 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6644 java/awt/im/InputMethodHighlight.java,
6645 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6646 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6647
6648 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6649 `op' to BufferedImageOp.
6650
6651 2002-12-31 Tom Tromey <tromey@redhat.com>
6652
6653 Fix for PR libgcj/7416:
6654 * javax/naming/InitialContext.java (init): Use
6655 gnu.classpath.home.url.
6656 * java/security/Security.java: Use new properties.
6657 (loadProviders): Accept base url; use it.
6658 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6659 gnu.classpath.home.url.
6660 (gnu.classpath.home.url): Define.
6661 (gnu.classpath.vm.shortname): Likewise.
6662
6663 2002-12-31 Tom Tromey <tromey@redhat.com>
6664 Ranjit Mathew <rmathew@hotmail.com>
6665
6666 Fix for PR libgcj/8997:
6667 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6668 Include platform.h.
6669 * include/posix.h (_Jv_platform_usleep): New function.
6670 * include/win32.h (_Jv_platform_usleep): New function.
6671
6672 2002-12-29 Tom Tromey <tromey@redhat.com>
6673
6674 * gcj/javaprims.h: Updated.
6675 * scripts/classes.pl (scan): Removed stray semicolon.
6676
6677 2002-12-30 Mark Wielaard <mark@klomp.org>
6678
6679 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6680 if zero or smaller.
6681
6682 2002-12-30 Mark Wielaard <mark@klomp.org>
6683
6684 * java/util/Properties (formatForOutput): Don't fall through to
6685 default case after escaping character.
6686
6687 2002-12-30 Mark Wielaard <mark@klomp.org>
6688
6689 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6690 against count.
6691
6692 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6693
6694 * boehm.cc: Remove stray semicolon.
6695 * interpret.cc: Likewise.
6696 * prims.cc: Likewise.
6697 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6698 earlier to ensure default arguments are processed.
6699 * gcj/array.h (JArray): Add forward declaration.
6700 (elements): Likewise.
6701 * gcj/javaprim.h: Remove stray semicolons.
6702 * include/bohm-gc.h: Likewise.
6703 * include/jni.h: Likewise.
6704 * include/jvm.h: Likewise.
6705 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6706
6707 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6708
6709 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6710 of catch_type.
6711 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6712 idt tables after initializing superclass.
6713 * java/lang/natClassLoader.cc (uaddr): New typedef.
6714 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6715 if they are constant pool indicies. Don't link vtable, otable yet.
6716
6717 2002-12-21 Anthony Green <green@redhat.com>
6718
6719 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6720 libraries.
6721 * Makefile.in: Rebuilt.
6722
6723 2002-12-19 Anthony Green <green@redhat.com>
6724
6725 * Makefile.am (ordinary_java_source_files): Add
6726 org/xml/sax/helpers/NewInstance.java.
6727 * Makefile.in: Rebuilt.
6728 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6729 org/xml/sax/helpers/package.html: New files.
6730 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6731 http://www.saxproject.org.
6732
6733 2002-12-19 Andrew Haley <aph@redhat.com>
6734
6735 * java/util/natResourceBundle.cc: Include
6736 ArrayIndexOutOfBoundsException.h.
6737 (getCallingClassLoader): Don't put upper bound on stack search.
6738 Catch ArrayIndexOutOfBoundsException.
6739
6740 2002-12-19 Tom Tromey <tromey@redhat.com>
6741
6742 * libtool-version: Increased `current'.
6743
6744 2002-12-19 Tom Tromey <tromey@redhat.com>
6745
6746 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6747 comment.
6748 * java/lang/ClassLoader.java (defineClass): Use chained
6749 exception when rethrowing.
6750 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6751 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6752 constants.
6753 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6754 (_Jv_PrepareClass): Use it.
6755 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6756 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6757 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6758 (Class): _Jv_PrepareMissingMethods now friend.
6759 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6760 Record `NULL' for system class loader.
6761 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6762 system class loader.
6763 (_Jv_FindClassInCache): Likewise.
6764 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6765 (_Jv_FindClass): Special case system class loader.
6766 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6767 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6768 vtable slots.
6769 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6770 in a final class.
6771 (_getDeclaredMethod): Don't return synthetic methods.
6772 (getDeclaredMethods): Likewise.
6773 (_getMethod): Likewise.
6774 (_getMethods): Likewise.
6775
6776 2002-12-18 Raif Naffah <raif@fl.net.au>
6777
6778 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6779 canonical form after divide().
6780 (modInverse): Likewise.
6781
6782 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6783 Mark Wielaard <mark@klomp.org>
6784
6785 * java/security/SecurityRandom (digest): Removed field.
6786 (SecureRandom): Check all providers for case-insensitive SecureRandom
6787 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6788 if necessary.
6789 (getInstance(String,Provider,boolean): New method.
6790 (getInstance(String)): Use new method.
6791 (getInstance(String,String)): Likewise.
6792 (getInstance(String,Provider)): Likewise.
6793
6794 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6795
6796 * java/security/Security.java (loadProviders): Increment i only once.
6797
6798 2002-12-12 Mark Wielaard <mark@klomp.org>
6799
6800 * java/lang/ClassLoader.java (resolveClass0): Transform
6801 ClassNotFoundException to NoClassDefFoundError. Transform all other
6802 throwables to LinkageError.
6803
6804 2002-12-11 Tom Tromey <tromey@redhat.com>
6805
6806 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6807
6808 * java/lang/ClassLoader.java (loadedClasses): New field.
6809 (defineClass): Fixed indentation. Put new class in
6810 loadedClasses.
6811 (findLoadedClass): Implement here.
6812 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6813
6814 2002-12-10 Tom Tromey <tromey@redhat.com>
6815
6816 * Makefile.in: Rebuilt.
6817 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6818 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6819 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6820 * java/lang/natClassLoader.cc
6821 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6822
6823 2002-12-10 Mark Wielaard <mark@klomp.org>
6824 Tom Tromey <tromey@redhat.com>
6825
6826 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6827 (JarURLLoader): Use it.
6828 (FileURLLoader): Likewise.
6829 (JarURLResource.getURL): Use chained exception.
6830 (FileResource.getURL): Likewise.
6831 (FileURLLoader.getResource): Use canonical file name.
6832 (addURL): Indentation fix.
6833
6834 2002-12-10 Tom Tromey <tromey@redhat.com>
6835
6836 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6837 From Laurent Bardet <l.bardet@magic.fr>.
6838
6839 2002-12-09 Tom Tromey <tromey@redhat.com>
6840
6841 * include/win32.h (_Jv_platform_solib_prefix): New define.
6842 (_Jv_platform_solib_suffix): Likewise.
6843 * include/posix.h (_Jv_platform_solib_prefix): New define.
6844 (_Jv_platform_solib_suffix): Likewise.
6845 * java/lang/natRuntime.cc: Include StackTrace.h.
6846 (_load): Use findLibrary and new platform defines.
6847 (nativeGetLibname): Use new platform defines.
6848
6849 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6850 `t' won't be null.
6851
6852 2002-12-08 Mark Wielaard <mark@klomp.org>
6853
6854 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6855 cache remote jar files.
6856 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6857 add File.separator to URL when it is a directory.
6858 * java/lang/ClassLoader.java: Add Classpath javadoc.
6859 (parent): final.
6860 (getParent): Add (disabled) security check.
6861 (findLibrary): New default method.
6862 * java/net/JarURLConnection.java (getManifest): Implement.
6863 (getInputStream): Only create InputStream when entry exists.
6864 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6865 when they exist.
6866 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6867
6868 2002-12-08 Mark Wielaard <mark@klomp.org>
6869
6870 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6871 (lastDefaultLocale): New field.
6872 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6873 resourceBundleCache.
6874
6875 2002-12-06 Mark Wielaard <mark@klomp.org>
6876
6877 * java/net/InetAddress.java (toString): Use hostname when not null,
6878 don't do an explicit reverse getHostName() lookup.
6879 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6880 NullPointerException.
6881
6882 2002-12-06 Tom Tromey <tromey@redhat.com>
6883
6884 * include/java-interp.h (class _Jv_InterpMethod): Added
6885 JV_MARKOBJ_DECL.
6886 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6887 mark `prepared' field of interpreted method.
6888 * interpret.cc (compile): Use _Jv_AllocBytes.
6889
6890 2002-12-05 Andrew Haley <aph@redhat.com>
6891
6892 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6893 #ifdef (HAVE_BACKTRACE) around the whole function body.
6894
6895 2002-12-05 Tom Tromey <tromey@redhat.com>
6896
6897 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6898 * resolve.cc: Don't include AbstractMethodError.h.
6899 (_Jv_abstractMethodError): Removed.
6900 * defineclass.cc (handleMethodsBegin): Initialize method index to
6901 -1.
6902 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6903 method index for "new" final method.
6904 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6905 isVirtualMethod. Added `flags' argument.
6906 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6907 class.
6908
6909 2002-12-04 Tom Tromey <tromey@redhat.com>
6910
6911 * java/net/SocketPermission.java (hashCode): Rewrote.
6912
6913 2002-12-04 Tom Tromey <tromey@redhat.com>
6914
6915 * Makefile.in: Rebuilt.
6916 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6917 natResourceBundle.
6918 * java/util/ResourceBundle.java (Security): Removed.
6919 (getCallingClassLoader): Now native.
6920 * java/util/natResourceBundle.cc: New file.
6921 * java/lang/natVMSecurityManager.cc: New file.
6922 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6923
6924 2002-12-03 Mark Wielaard <mark@klomp.org>
6925
6926 * java/util/jar/JarFile.java (manifest): Not final.
6927 (manifestRead): New field.
6928 (JarFile): Don't read Manifest in constructor.
6929 (getManifest): New method.
6930 (JarEnumeration.nextElement): Use new method.
6931 (getEntry): Likewise.
6932 * java/util/zip/ZipFile.java (name): Final.
6933 (raf): Likewsie.
6934 (entries): Change type to Hashtable.
6935 (closed): New field.
6936 (ZipFile): Don't read enties in constructor.
6937 (readEntries): Use Hashtable.
6938 (close): Set new close flag and set entries to null inside
6939 synchronized block.
6940 (entries): Contruct enumeration using new getEntries() method and
6941 entries Hashtable.
6942 (getEntryIndex): Removed.
6943 (getEntries): New method.
6944 (getEntry): Use new getEntries() method and entries Hastable.
6945 (getInputStream): Likewise.
6946 (size): Return getEntries().size().
6947 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6948 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6949 (time): Removed
6950 (dostime): New field.
6951 (zipFileIndex): Removed.
6952 (ZipEntry(ZipEntry)): Copy dostime.
6953 (setDOSTime): Now final and doesn't convert dos time.
6954 (getDOSTime): Likewise.
6955 (setTime): Convert dos time.
6956 (getTime): Likewise.
6957 (getCalendar): New method.
6958 (setExtra): Use setTime().
6959 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6960
6961 2002-12-03 Tom Tromey <tromey@redhat.com>
6962
6963 * java/lang/Character.java (forDigit): Formatting fix.
6964
6965 2002-12-03 Raif Naffah <raif@fl.net.au>
6966
6967 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6968 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6969 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6970
6971 2002-12-03 Andrew Haley <aph@redhat.com>
6972
6973 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6974 _Jv_PushClass.
6975 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6976 (_Jv_PopClass): New.
6977 (_Jv_PushClass): New.
6978 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6979 discover the ClassLoader of our caller.
6980 (_Jv_CheckArrayStore): Don't check that a class is assignment
6981 compatible with Object.
6982 * java/lang/natVMTHrowable.cc: Delete.
6983 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6984 java.lang.VMThrowable.
6985 (StackTrace(), StackTrace(int)): New constructors.
6986 (classAt, methodAt, update, methodAtAddress): New methods.
6987 (map): New field.
6988 * java/lang/VMThrowable.java: Use StackTrace instead of
6989 natVMTHrowable.
6990 * java/lang/Class.h (getClassLoaderInternal): New.
6991 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6992 Be friendly with gnu::gcj::runtime::StackTrace.
6993 (Object.chain): New field.
6994 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6995 gnu::gcj::runtime::StackTrace.
6996 * gnu/gcj/runtime/natStackTrace.cc: New file.
6997 * gnu/gcj/runtime/MethodRef.java: New file.
6998 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6999 instead of getClassLoader().
7000 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
7001 java::lang::VMThrowable.
7002 * Makefile.am (core_java_source_files): Add MethodRef.java,
7003 StackTrace.java.
7004 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
7005 * Makefile.in: Rebuild.
7006
7007 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
7008
7009 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
7010 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
7011 yes also for sh-linux* and sh[34]*-linux*.
7012 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
7013 set SIGNAL_HANDLER to use DWARF2 exception for them.
7014 * configure: Regenerate.
7015
7016 2002-12-02 Tom Tromey <tromey@redhat.com>
7017
7018 * jni.cc: Added `name' argument.
7019 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
7020 `const char *' argument.
7021 (class _Jv_JNIEnv) [DefineClass]: Likewise.
7022
7023 2002-12-01 Tom Tromey <tromey@redhat.com>
7024
7025 Bug compatibility, for PR libgcj/8738:
7026 * java/io/CharArrayWriter.java (close): Do nothing.
7027 (flush): Likewise.
7028 (reset): Don't touch `closed'.
7029 (write(int)): Don't throw IOException.
7030 (write(char[],int,int)): Likewise.
7031 (write(String,int,int)): Likewise.
7032 (closed): Removed.
7033
7034 2002-12-01 Mark Wielaard <mark@klomp.org>
7035
7036 * java/lang/SecurityManager.java: Remerge comments, indenting and
7037 checkXXX methods with Classpath.
7038
7039 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
7040
7041 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
7042 getNormalizedComponents): Fix calculation which was using one too
7043 many bits in the unnormalized format.
7044
7045 2002-11-29 Gary Benson <gbenson@redhat.com>
7046
7047 For PR libgcj/8759:
7048 * java/beans/Introspector.java (flushCaches): New method.
7049 (flushFromCaches): Likewise.
7050
7051 2002-11-29 Michael Koch <konqueror@gmx.de>
7052
7053 * java/nio/channels/DatagramChannel.java
7054 (open): Added exception documentation.
7055 (write): Added exception documentation.
7056 (connect): Added exception documentation.
7057 (disconnect): Added exception documentation.
7058 (isConnected): Added exception documentation.
7059 (read): Added exception documentation.
7060 (receive): Added exception documentation.
7061 (send): Added exception documentation.
7062 (validOps): Added exception documentation.
7063 * java/nio/channels/SocketChannel.java
7064 (open): Added exception documentation.
7065 (read): Added exception documentation.
7066 (write): Added exception documentation.
7067 (connect): Added exception documentation.
7068 (finishConnect): Added exception documentation.
7069
7070 2002-11-29 Michael Koch <konqueror@gmx.de>
7071
7072 * gnu/java/nio/DatagramChannelImpl:
7073 (fd): New member variable to store file descriptor of socket.
7074 * gnu/java/nio/SelectionKeyImpl.java:
7075 (ops): Removed.
7076 (readyOps): New member variable.
7077 (interestOps): New member variable.
7078 (readyOps): Implemented.
7079 (readyOps): New method to set member variable readyOps.
7080 (interestOps): Replaced ops by interestOps.
7081 * gnu/java/nio/SelectorImpl.java:
7082 (SelectorImpl): Initialize key sets.
7083 (select): Call select with -1 instead of Long.MAX_VALUE).
7084 (java_do_select): Make it a native method.
7085 (getFDsAsArray): New helper method.
7086 (select): Remove canceled keys, give only interested file discriptors
7087 to java_do_select, set ready ops.
7088 (add): No need to initialize keys set here.
7089 (add_selected): No need to initialize selected set here.
7090 (deregisterCanceledKeys): New helper method.
7091 (register): Set interest ops, set attachments, added handling of datagram
7092 channels.
7093 * gnu/java/nio/ServerSocketChannelImpl:
7094 (SocketAccept): Renamed from NioSocketAccept.
7095 (implConfigureBlocking): Implemented.
7096 (accept): Use SocketAccept instead of NioSocketAccept.
7097 * gnu/java/nio/SocketChannelImpl:
7098 Reactivate native methods.
7099
7100 2002-11-29 Michael Koch <konqueror@gmx.de>
7101
7102 * gnu/java/nio/natByteBufferImpl.cc,
7103 gnu/java/nio/natCharBufferImpl.cc,
7104 gnu/java/nio/natDoubleBufferImpl.cc,
7105 gnu/java/nio/natFloatBufferImpl.cc,
7106 gnu/java/nio/natIntBufferImpl.cc,
7107 gnu/java/nio/natLongBufferImpl.cc,
7108 gnu/java/nio/natSelectorImpl.cc,
7109 gnu/java/nio/natServerSocketChannelImpl.cc,
7110 gnu/java/nio/natShortBufferImpl.cc,
7111 gnu/java/nio/natSocketChannelImpl.cc:
7112 New files that implement native functionalities.
7113
7114 2002-11-29 Michael Koch <konqueror@gmx.de>
7115
7116 * gnu/java/nio/ByteBufferImpl.java
7117 (ByteBufferImpl): Moved position() after limit.
7118 (nio_*): Use native implementation.
7119 * gnu/java/nio/CharBufferImpl.java:
7120 Reformated.
7121 (endian): New member variable string endianess of buffer.
7122 (CharBufferImpl): Moved position() after limit.
7123 (nio_*): Use native implementation.
7124 (subSequence): Implemented.
7125 * gnu/java/nio/DoubleBufferImpl.java
7126 (DoubleBufferImpl): Moved position() after limit.
7127 (nio_*): Use native implementation.
7128 * gnu/java/nio/FloatBufferImpl.java
7129 Reformated.
7130 (FloatBufferImpl): Moved position() after limit.
7131 (nio_*): Use native implementation.
7132 * gnu/java/nio/IntBufferImpl.java
7133 Added needed imports, Reformated.
7134 (IntBufferImpl): Moved position() after limit.
7135 (nio_*): Use native implementation.
7136 * gnu/java/nio/LongBufferImpl.java
7137 Reformated.
7138 (LongBufferImpl): Moved position() after limit.
7139 (nio_*): Use native implementation.
7140 * gnu/java/nio/ShortBufferImpl.java
7141 Reformated.
7142 (ShortBufferImpl): Moved position() after limit.
7143 (nio_*): Use native implementation.
7144
7145 2002-11-27 Julian Dolby <dolby@us.ibm.com>
7146
7147 * java/util/Locale.java (toString): Improve efficiency if country
7148 and variant are both empty.
7149
7150 2002-11-26 Tom Tromey <tromey@redhat.com>
7151
7152 * verify.cc (pop_init_ref): New method.
7153 (verify_instructions_0) [op_iaload, op_laload, op_faload,
7154 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7155 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7156 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7157 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7158 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7159 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
7160 let `this' argument be uninitialized. Don't let `null' be passed
7161 as `this' to construtor.
7162
7163 2002-11-26 Mark Wielaard <mark@klomp.org>
7164
7165 * javax/transaction/HeuristicCommitException.java: Classpath merge.
7166 * javax/transaction/HeuristicMixedException.java: Likewise.
7167 * javax/transaction/HeuristicRollbackException.java: Likewise.
7168 * javax/transaction/InvalidTransactionException.java: Likewise.
7169 * javax/transaction/NotSupportedException.java: Likewise.
7170 * javax/transaction/RollbackException.java: Likewise.
7171 * javax/transaction/Status.java: Likewise.
7172 * javax/transaction/Synchronization.java: Likewise.
7173 * javax/transaction/SystemException.java: Likewise.
7174 * javax/transaction/Transaction.java: Likewise.
7175 * javax/transaction/TransactionManager.java: Likewise.
7176 * javax/transaction/TransactionRequiredException.java: Likewise.
7177 * javax/transaction/TransactionRolledbackException.java: Likewise.
7178 * javax/transaction/UserTransaction.java: Likewise.
7179 * javax/transaction/xa/XAException.java: Likewise.
7180 * javax/transaction/xa/XAResource.java: Likewise.
7181 * javax/transaction/xa/Xid.java: Likewise.
7182
7183 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
7184
7185 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7186 define.
7187 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7188 * include/posix.h (socklen_t): Define if not already defined.
7189
7190 2002-11-25 Tom Tromey <tromey@redhat.com>
7191
7192 * verify.cc (type::compatible): Backed out broken change.
7193
7194 * verify.cc (type::compatible): Check initialization status
7195 first.
7196 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7197 Don't use NULLCHECK.
7198
7199 2002-11-23 H.J. Lu <hjl@gnu.org>
7200
7201 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7202 Include ../config/accross.m4.
7203 * aclocal.m4; Rebuild.
7204 * configure: Likewise.
7205
7206 2002-11-23 Mark Wielaard <mark@klomp.org>
7207
7208 * javax/naming/AuthenticationException.java: Update copyright header.
7209 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7210 * javax/naming/Binding.java: Likewise.
7211 * javax/naming/CannotProceedException.java: Likewise.
7212 * javax/naming/CommunicationException.java: Likewise.
7213 * javax/naming/CompositeName.java: Likewise.
7214 * javax/naming/CompoundName.java: Likewise.
7215 * javax/naming/ConfigurationException.java: Likewise.
7216 * javax/naming/Context.java: Likewise.
7217 * javax/naming/ContextNotEmptyException.java: Likewise.
7218 * javax/naming/InitialContext.java: Likewise.
7219 * javax/naming/InsufficientResourcesException.java: Likewise.
7220 * javax/naming/InterruptedNamingException.java: Likewise.
7221 * javax/naming/LimitExceededException.java: Likewise.
7222 * javax/naming/LinkException.java: Likewise.
7223 * javax/naming/LinkLoopException.java: Likewise.
7224 * javax/naming/LinkRef.java: Likewise.
7225 * javax/naming/MalformedLinkException.java: Likewise.
7226 * javax/naming/NameAlreadyBoundException.java: Likewise.
7227 * javax/naming/NameClassPair.java: Likewise.
7228 * javax/naming/NameNotFoundException.java: Likewise.
7229 * javax/naming/NameParser.java: Likewise.
7230 * javax/naming/NamingEnumeration.java: Likewise.
7231 * javax/naming/NamingSecurityException.java: Likewise.
7232 * javax/naming/NoInitialContextException.java: Likewise.
7233 * javax/naming/NoPermissionException.java: Likewise.
7234 * javax/naming/NotContextException.java: Likewise.
7235 * javax/naming/OperationNotSupportedException.java: Likewise.
7236 * javax/naming/PartialResultException.java: Likewise.
7237 * javax/naming/Reference.java: Likewise.
7238 * javax/naming/Referenceable.java: Likewise.
7239 * javax/naming/ReferralException.java: Likewise.
7240 * javax/naming/ServiceUnavailableException.java: Likewise.
7241 * javax/naming/SizeLimitExceededException.java: Likewise.
7242 * javax/naming/TimeLimitExceededException.java: Likewise.
7243 * javax/naming/directory/Attribute.java: Likewise.
7244 * javax/naming/directory/AttributeInUseException.java: Likewise.
7245 * javax/naming/directory/AttributeModificationException.java: Likewise.
7246 * javax/naming/directory/Attributes.java: Likewise.
7247 * javax/naming/directory/BasicAttribute.java: Likewise.
7248 * javax/naming/directory/BasicAttributes.java: Likewise.
7249 * javax/naming/directory/DirContext.java: Likewise.
7250 * javax/naming/directory/InitialDirContext.java: Likewise.
7251 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7252 Likewise.
7253 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7254 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7255 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7256 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7257 * javax/naming/directory/ModificationItem.java: Likewise.
7258 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7259 * javax/naming/directory/SchemaViolationException.java: Likewise.
7260 * javax/naming/directory/SearchControls.java: Likewise.
7261 * javax/naming/directory/SearchResult.java: Likewise.
7262 * javax/naming/event/EventContext.java: Likewise.
7263 * javax/naming/event/EventDirContext.java: Likewise.
7264 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7265 * javax/naming/event/NamingEvent.java: Likewise.
7266 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7267 * javax/naming/event/NamingListener.java: Likewise.
7268 * javax/naming/event/ObjectChangeListener.java: Likewise.
7269 * javax/naming/ldap/Control.java: Likewise.
7270 * javax/naming/ldap/ControlFactory.java: Likewise.
7271 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7272 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7273 * javax/naming/ldap/HasControls.java: Likewise.
7274 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7275 * javax/naming/ldap/LdapContext.java: Likewise.
7276 * javax/naming/ldap/LdapReferralException.java: Likewise.
7277 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7278 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7279 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7280 * javax/naming/spi/DirObjectFactory.java: Likewise.
7281 * javax/naming/spi/DirStateFactory.java: Likewise.
7282 * javax/naming/spi/DirectoryManager.java: Likewise.
7283 * javax/naming/spi/InitialContextFactory.java: Likewise.
7284 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7285 * javax/naming/spi/NamingManager.java: Likewise.
7286 * javax/naming/spi/ObjectFactory.java: Likewise.
7287 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7288 * javax/naming/spi/ResolveResult.java: Likewise.
7289 * javax/naming/spi/Resolver.java: Likewise.
7290 * javax/naming/spi/StateFactory.java: Likewise.
7291
7292 * javax/naming/spi/NamingManager.java (ofb): Package private.
7293
7294 2002-11-21 Mark Wielaard <mark@klomp.org>
7295
7296 * java/net/URL.java: Merge with Classpath (partly).
7297 * java/net/URLStreamHandler: Merge with Classpath.
7298
7299 2002-11-22 Michael Koch <konqueror@gmx.de>
7300
7301 * include/posix.h:
7302 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7303 * include/win32.h:
7304 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7305 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7306
7307 2002-11-21 Michael Koch <konqueror@gmx.de>
7308
7309 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7310 Only the new network functions should be in it.
7311
7312 2002-11-21 Michael Koch <konqueror@gmx.de>
7313
7314 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7315 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7316
7317 2002-11-21 Michael Koch <konqueror@gmx.de>
7318
7319 * java/nio/channels/AsynchronousCloseException.java,
7320 java/nio/channels/CancelledKeyException.java,
7321 java/nio/channels/ClosedByInterruptException.java,
7322 java/nio/channels/ConnectionPendingException.java,
7323 java/nio/channels/FileLockInterruptionException.java,
7324 java/nio/channels/IllegalSelectorException.java,
7325 java/nio/channels/NoConnectionPendingException.java,
7326 java/nio/channels/NonReadableChannelException.java,
7327 java/nio/channels/NonWritableChannelException.java,
7328 java/nio/channels/NotYetBoundException.java,
7329 java/nio/channels/NotYetConnectedException.java,
7330 java/nio/channels/OverlappingFileLockException.java,
7331 java/nio/channels/UnresolvedAddressException.java,
7332 java/nio/channels/UnsupportedAddressTypeException.java:
7333 New files.
7334 * Makefile.am (ordinary_java_source_files): Added new files.
7335 * Makefile.in: Regenerated.
7336
7337 2002-11-21 Michael Koch <konqueror@gmx.de>
7338
7339 * include/posix.h
7340 (_Jv_socket): New method.
7341 (_Jv_connect): New method.
7342 (_Jv_close): New method.
7343 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7344 (_Jv_bind): New method.
7345 (_Jv_listen): New method.
7346 (_Jv_write): New method.
7347 (_Jv_read): New method.
7348 * include/win32.h
7349 (_Jv_socket): New method.
7350 (_Jv_connect): New method.
7351 (_Jv_close): New method.
7352 (_Jv_bind): New method.
7353 (_Jv_listen): New method.
7354 (_Jv_write): New method.
7355 (_Jv_read): New method.
7356 * java/net/natNetworkInterface.cc:
7357 Include platform.h, removed inclusion of socket.h
7358 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7359 ::close() by _Jv_close().
7360 * java/net/natPlainDatagramSocketImpl.cc:
7361 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7362 added some new lines to make code more readable.
7363 (create): Replaced ::socket() by _Jv_socket().
7364 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7365 * java/net/natPlainSocketImpl.cc:
7366 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7367 removed include of socket.h, removed some windows defines
7368 (now in include/win32.h).
7369 (create): Replaced ::socket() by _Jv_socket().
7370 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7371 (write): Replaced ::read by _Jv_write().
7372 (read): Replaced ::read by _Jv_read().
7373
7374 2002-11-20 Michael Koch <konqueror@gmx.de>
7375
7376 * Makefile.am (ordinary_java_source_files):
7377 Added java/nio/channels/FileChannel.java.
7378 * Makefile.in: Regenerated.
7379
7380 2002-11-20 Michael Koch <konqueror@gmx.de>
7381
7382 * java/io/FileInputStream.java
7383 (getChannel): New method.
7384 * java/io/FileOutputStream.java
7385 (getChannel): New method.
7386 * java/net/ServerSocket.java
7387 (bind): Removed duplicate code and called another bind method instead.
7388 * java/nio/channels/SelectionKey.java
7389 (isValid): Removed wrong exception documentation.
7390 * java/nio/channels/ServerSocketChannel.java
7391 (accept): Added exception documentation.
7392 (open): Fixed typo, added exception documentation.
7393 * java/nio/channels/spi/AbstractSelectableChannel.java
7394 (implCloseChannel): Added exception documentation.
7395 (add): Reformated.
7396 (register): Added exception documentation.
7397
7398 2002-11-20 Andreas Jaeger <aj@suse.de>
7399
7400 * configure: Regenerated with new libtool.m4.
7401
7402 2002-11-19 Tom Tromey <tromey@redhat.com>
7403
7404 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7405 `referent'.
7406 (finalize_referred_to_object): Don't modify `referent' or `copy'
7407 fields.
7408 (add_to_hash): Correctly set `n->next' when updating list.
7409 * java/lang/ref/Reference.java (enqueue): Return false if already
7410 enqueued.
7411
7412 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7413
7414 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7415 to function and function pointer declarations in accordance with
7416 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7417 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7418 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7419 JNI function definitions.
7420
7421 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7422
7423 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7424 that was causing CoderResults to be cached, not WeakReferences
7425 to CoderResults.
7426
7427 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7428
7429 * java/security/KeyStore.java (getInstance): Fix
7430 comment and throw IllegalArgumentException if
7431 given provider is null.
7432 (getInstance): New method for jdk1.4 compatibility.
7433
7434 2002-11-18 Michael Koch <konqueror@gmx.de>
7435
7436 * java/net/PlainSocketImpl.java: Fix imports.
7437
7438 2002-11-18 Michael Koch <konqueror@gmx.de>
7439
7440 * java/nio/channels/SelectionKey.java
7441 (isValid): Added exception documentation.
7442 * java/nio/channels/Selector.java
7443 (open): Declare "throws IOException".
7444
7445 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7446
7447 * java/nio/charset/Charset.java
7448 (<clinit>): New method.
7449 (encode): Synchronize use of cached encoder object.
7450 (decode): Synchronize use of cached encoder object.
7451
7452 2002-11-18 Michael Koch <konqueror@gmx.de>
7453
7454 * gnu/java/nio/ByteBufferImpl.java,
7455 gnu/java/nio/CharBufferImpl.java,
7456 gnu/java/nio/DatagramChannelImpl.java,
7457 gnu/java/nio/DoubleBufferImpl.java,
7458 gnu/java/nio/FileChannelImpl.java,
7459 gnu/java/nio/FloatBufferImpl.java,
7460 gnu/java/nio/IntBufferImpl.java,
7461 gnu/java/nio/LongBufferImpl.java,
7462 gnu/java/nio/PipeImpl.java,
7463 gnu/java/nio/SelectionKeyImpl.java,
7464 gnu/java/nio/SelectorImpl.java,
7465 gnu/java/nio/SelectorProviderImpl.java,
7466 gnu/java/nio/ServerSocketChannelImpl.java,
7467 gnu/java/nio/ShortBufferImpl.java,
7468 gnu/java/nio/SocketChannelImpl.java,
7469 java/nio/DoubleBuffer.java,
7470 java/nio/FloatBuffer.java,
7471 java/nio/IntBuffer.java,
7472 java/nio/LongBuffer.java,
7473 java/nio/ShortBuffer.java,
7474 java/nio/channels/FileChannel.java: New files.
7475
7476 2002-11-18 Michael Koch <konqueror@gmx.de>
7477
7478 * Makefile.am (ordinary_java_source_files):
7479 Added java/nio/ReadOnlyBufferException.java and
7480 java/nio/channels/ClosedSelectorException.java.
7481 * Makefile.in: Regenerated.
7482
7483 2002-11-18 Michael Koch <konqueror@gmx.de>
7484
7485 * java/net/PlainSocketImpl.java: Reworked imports.
7486 * java/net/ServerSocket.java
7487 (ServerSocket): Create socket.
7488 * java/net/SocketAddress.java: Documentation added.
7489 * java/net/natPlainSocketImpl.cc: Reindented.
7490 * java/nio/ReadOnlyBufferException.java: New file
7491 * java/nio/channels/ClosedChannelException.java: Documentation added.
7492 * java/nio/channels/ClosedSelectorException.java: New file.
7493
7494 2002-11-17 Mark Wielaard <mark@klomp.org>
7495
7496 * java/net/HttpURLConnection.java ((getPermission): Take port
7497 into consideration.
7498 (getErrorStream): Implement.
7499
7500 2002-11-17 Mark Wielaard <mark@klomp.org>
7501
7502 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7503
7504 2002-11-16 Mark Wielaard <mark@klomp.org>
7505
7506 Integrate work by Raif S. Naffah (raif@fl.net.au)
7507 * java/security/DummyKeyPairGenerator.java (clone): New method.
7508 * java/security/DummyMessageDigest.java (clone): New method.
7509 (engineUpdate): Now public.
7510 (engineReset): Likewise.
7511 (engineDigest): Likewise.
7512 (engineGetDigestLength): New method.
7513 * java/security/DummySignature.java (clone): New method.
7514 * java/security/KeyPairGenerator.java (provider): Now package private.
7515 (getInstance(String)): Use getInstance(String,Provider).
7516 (getInstance(String,String): Use getInstance(String,Provider)
7517 (getInstance(String,Provider): New method.
7518 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7519 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7520 * java/security/MessageDigest.java (provider): Now package private.
7521 (getInstance(String): Use getInstance(String,Provider).
7522 (getInstance(String,String): Use getInstance(String,Provider)
7523 (getInstance(String,Provider): New method.
7524 * java/security/Provider.java (toCanonicalKey): New method.
7525 (get): New method that uses toCanonicalKey().
7526 (put): Use toCanonicalKey().
7527 (remove): Likewise.
7528 * java/security/Security.java (insertProviderAt): Provider index is one
7529 based, not zero based.
7530 (addProvider): Likewise.
7531 (removeProvider): Likewise.
7532 * java/security/Signature.java (provider): Now package private.
7533 (getInstance(String)): Use getInstance(String,Provider).
7534 (getInstance(String,String): Use getInstance(String,Provider)
7535 (getInstance(String,Provider): New method.
7536 (getInstance(String,String,Provider): Don't cast DummySignature.
7537
7538 2002-11-15 Tom Tromey <tromey@redhat.com>
7539
7540 For PR libgcj/8593:
7541 * java/util/zip/GZIPInputStream.java (read): Check file size.
7542 Look in inflater for remaining input bytes.
7543 (read4): Added buf and offset arguments.
7544
7545 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7546
7547 * java/applet/AppletContext.java: Fix typo and remove redundant
7548 modifiers.
7549
7550 2002-11-14 Tom Tromey <tromey@redhat.com>
7551
7552 * java/lang/natRuntime.cc (insertSystemProperties): Set
7553 gnu.classpath.home.
7554
7555 2002-11-13 Michael Koch <konqueror@gmx.de>
7556
7557 * java/nio/ByteBuffer.java
7558 (allocate): New method.
7559 (wrap): New method.
7560 (put): New method.
7561 (get): New method.
7562
7563 2002-11-13 Michael Koch <konqueror@gmx.de>
7564
7565 * java/nio/channels/AlreadyConnectedException.java:
7566 Removed unneeded import.
7567 (AlreadyConnectedException): Documentation added.
7568 * java/nio/channels/Pipe.java
7569 (SinkChannel.SinkChannel): Documentation added.
7570 (SinkChannel.validOps): New method.
7571 (SourceChannel.SourceChannel): Documentation added.
7572 (SourceChannel.validOps): New method.
7573 (Pipe): Documentation added.
7574 (open): Documentation added.
7575 (SinkChannel.channel): Documentation added.
7576 (SourceChannel.channel): Documentation added.
7577 * java/nio/channel/SelectableChannel.java
7578 (SelectableChannel): Documentation added.
7579 (blockingLock): Documentation added.
7580 (configureBlocking):Documentation added.
7581 (isBlocking):Documentation added.
7582 (isRegistered):Documentation added.
7583 (keyFor):Documentation added.
7584 (provider):Documentation added.
7585 (register): Documentation added.
7586 (validOps): Documentation added.
7587 * jaba/nio/channels/SelectionKey.java
7588 (SelectionKey): Documentation added.
7589 (attach): Documentation added.
7590 (attachment): Documentation added.
7591 (isAcceptable): Documentation added.
7592 (isConnetable): Documentation added.
7593 (isReadable): Documentation added.
7594 (isWritable): Documentation added.
7595 (cancel): Documentation added.
7596 (channel): Documentation added.
7597 (interestOps): Documentation added.
7598 (isValid): Documentation added.
7599 (readyOps): Documentation added.
7600 (selector): Documentation added.
7601 * jaba/nio/channels/Selector.java
7602 (Selector): Documentation added.
7603 (open): Documentation added.
7604 (close): Documentation added.
7605 (isOpen): Documentation added.
7606 (keys): Documentation added.
7607 (provider): Documentation added.
7608 (select): Documentation added.
7609 (selectedKeys): Documentation added.
7610 (selectNow): Documentation added.
7611 (wakeup): Documentation added.
7612 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7613 (AbstractInterruptibleChannel): Documentation added.
7614 (opened): Default to true;
7615 (begin): Documentation added.
7616 (close): Set opened to false, documentation added.
7617 (isOpen): Documentation added.
7618 * java/nio/channels/spi/AbstractSelectionKey.java
7619 (AbstractSelectionKey): Documentation added.
7620 (cancel): Documentation added.
7621 (isValid): Documentation added.
7622 * java/nio/channels/spi/AbstractSelector.java
7623 (AbstractSelector): Documentation added.
7624 (begin): Documentation added.
7625 (close): Documentation added.
7626 (isOpen): Documentation added.
7627 (deregister): Documentation added.
7628 (end): Documentation added.
7629 (provider): Documentation added.
7630 (implCloseSelector): Documentation added.
7631 (register): Documentation added.
7632 * java/nio/channels/spi/SelectorProvider.java
7633 (SelectorProvider): Documentation added.
7634 (openDatagramChannel): Documentation added.
7635 (openPipe): Documentation added.
7636 (openSelector): Documentation added.
7637 (openServerSocketChannel): Documentation added.
7638 (openSocketChannel): Documentation added.
7639 (provider): Documentation added.
7640
7641 2002-11-12 Michael Koch <konqueror@gmx.de>
7642
7643 * java/nio/Buffer.java: Implemented.
7644 * java/nio/CharBuffer.java: New file.
7645 * java/nio/InvalidMarkException.java: New file.
7646 * java/nio/channels/DatagramChannel.java: Implemented.
7647 * java/nio/channels/ServerSocketChannel.java: Implemented.
7648 * java/nio/channels/SocketChannel.java: Implemented.
7649 * java/nio/channels/spi/AbstractChannel.java: Removed.
7650 * java/nio/channels/spi/AbstractSelectableChannel.java:
7651 Implemented.
7652 * java/nio/charset/Charset.java:
7653 Merge from Classpath.
7654 * java/nio/charset/CharsetDecoder.java: New file.
7655 * java/nio/charset/CharsetEncoder.java: New file.
7656 * java/nio/charset/CoderResult.java: New file.
7657 * Makefile.am (ordinary_java_source_files): Added new files.
7658 * Makefile.in: Regenerated.
7659
7660 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7661
7662 * gnu/java/nio/charset/ISO_8859_1.java,
7663 gnu/java/nio/charset/Provider.java,
7664 gnu/java/nio/charset/US_ASCII.java,
7665 gnu/java/nio/charset/UTF_16.java,
7666 gnu/java/nio/charset/UTF_16BE.java,
7667 gnu/java/nio/charset/UTF_16Decoder.java,
7668 gnu/java/nio/charset/UTF_16Encoder.java,
7669 gnu/java/nio/charset/UTF_16LE.java,
7670 gnu/java/nio/charset/UTF_8.java: New files.
7671
7672 2002-11-11 Michael Koch <konqueror@gmx.de>
7673
7674 * java/nio/charset/CharacterCodingException.java:
7675 This class must be public.
7676 * java/nio/charset/CoderMalfunctionError.java:
7677 This class must be public.
7678 * java/nio/charset/CodingErrorAction.java:
7679 This class must be public.
7680 * java/nio/charset/IllegalCharsetNameException.java:
7681 This class must be public, better implementation.
7682 * java/nio/charset/MalformedInputException.java:
7683 This class must be public, better implementation.
7684 * java/nio/charset/UnmappableCharacterException.java:
7685 This class must be public, better implementation.
7686 * java/nio/charset/UnsupportedCharsetException.java:
7687 This class must be public, better implementation.
7688
7689 2002-11-11 Michael Koch <konqueror@gmx.de>
7690
7691 * java/nio/BufferOverflowException.java,
7692 java/nio/BufferUnderflowException.java: New file.
7693 * Makefile.am (ordinary_java_source_files):
7694 Added new files.
7695 * Makefile.in: Regenerated.
7696
7697 2002-11-10 Tom Tromey <tromey@redhat.com>
7698
7699 * java/awt/Container.java (validate): Use tree lock.
7700 (getComponent): Likewise.
7701 (getComponents): Likewise.
7702 (addImpl): Likewise.
7703 (remove): Likewise.
7704 (removeAll): Likewise.
7705 (processEvent): Fixed indentation.
7706 (getComponentAt): Use tree lock.
7707 (findComponentAt): Likewise.
7708 (removeNotify): Likewise.
7709 (isAncestorOf): Likewise.
7710 (list): Likewise.
7711 (visitChildren): Likewise.
7712 (findNextFocusComponent): Likewise.
7713 (addNotifyContainerChildren): Likewise.
7714 (getAccessibleChildrenCount): Likewise.
7715 (getAccessibleChild): Likewise.
7716
7717 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7718 (getSize): Likewise.
7719 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7720 (getSize): Likewise.
7721 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7722 (calcSize): Likewise.
7723 * java/awt/CardLayout.java (getSize): Use tree lock.
7724 (gotoComponent): Likewise.
7725 (layoutContainer): Likewise.
7726
7727 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7728 count is 0.
7729 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7730 count is 0.
7731
7732 * java/io/Externalizable.java, java/io/FilePermission.java,
7733 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7734 java/io/SerializablePermission.java, java/text/Format.java,
7735 java/util/AbstractMap.java, java/util/HashMap.java,
7736 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7737 versions from Classpath.
7738
7739 2002-11-10 Anthony Green <green@redhat.com>
7740
7741 * java/util/jar/Attributes.java (Name): Fix name check.
7742
7743 2002-11-10 Mark Wielaard <mark@klomp.org>
7744
7745 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7746 with getName() as message.
7747 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7748 type as message.
7749
7750 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7751 unused.
7752
7753 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7754
7755 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7756 for Win32. JNICALL has been defined to __stdcall to be compatible
7757 with Sun's JDKs.
7758
7759 2002-11-10 Tom Tromey <tromey@redhat.com>
7760
7761 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7762 (setRows): Check newRows, not rows.
7763
7764 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7765
7766 2002-11-09 Tom Tromey <tromey@redhat.com>
7767
7768 * java/applet/Applet.java, java/applet/AppletContext.java,
7769 java/applet/AppletStub.java, java/applet/AudioClip.java,
7770 java/awt/CardLayout.java,
7771 java/awt/ContainerOrderFocusTraversalPolicy.java,
7772 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7773 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7774 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7775 java/awt/color/ICC_ColorSpace.java,
7776 java/awt/color/ICC_Profile.java,
7777 java/awt/color/ICC_ProfileGray.java,
7778 java/awt/color/ICC_ProfileRGB.java,
7779 java/awt/datatransfer/DataFlavor.java,
7780 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7781 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7782 New versions from Classpath.
7783 * Makefile.in: Rebuilt.
7784 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7785 ICC_ProfileRGB.
7786
7787 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7788 display policy.
7789
7790 * java/awt/List.java (processEvent): Added missing `else's.
7791
7792 * java/awt/Window.java (show): validate() before showing. Make
7793 parent displayable.
7794 (isDisplayable): New method.
7795
7796 2002-11-07 Mark Wielaard <mark@klomp.org>
7797
7798 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7799 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7800
7801 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7802 annotation.
7803 (loadClass): Take String as codebases.
7804 (getClassAnnotation): Use MyClassLoader annotations.
7805 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7806 call exportObject(this).
7807
7808 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7809 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7810 (setAnnotation): Don't set locBytesStream and locStream.
7811 (replaceObject): Removed.
7812 (flush): Don't test locStream.
7813 (getLocBytes): LikeWise.
7814 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7815 (leaseCache): New field.
7816 (dirty): Use leaseCache.
7817 (LeaseRecord): New inner class.
7818 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7819 explicitly call exportObject().
7820 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7821 false to communicate with Sun JDK130.
7822 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7823 * gnu/java/rmi/server/RMIObjectInputStream.java
7824 (UnicastConnectionManager): Removed field.
7825 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7826 Use UnicastServer.getExportedRef().
7827 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7828 (expireTime): Likewise.
7829 (CONNECTION_TIMEOUT): Likewise.
7830 (disconnect): Call sock.close().
7831 (isExpired): New method.
7832 (resetTime): Likewise.
7833 (run): Use do while loop and catch Exception for discardConnection().
7834 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7835 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7836 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7837 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7838 (exportObject): Use refcache.
7839 (unexportObject): Likewise.
7840 (getExportedRef): New method.
7841 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7842 constructor.
7843 (exportObject): Save manager.serverobj.
7844 (getStub): New method.
7845
7846 2002-11-07 Mark Wielaard <mark@klomp.org>
7847
7848 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7849 (getByte): Likewise.
7850 (getShort): Likewise.
7851 (getInt): Likewise.
7852 (getLong): Likewise.
7853 (getFloat): Likewise.
7854 (getDouble): Likewise.
7855 (get): Likewise.
7856 (setChar): Likewise.
7857 (setByte): Likewise.
7858 (setShort): Likewise.
7859 (setInt): Likewise.
7860 (setLong): Likewise.
7861 (setFloat): Likewise.
7862 (setDouble): Likewise.
7863
7864 2002-11-07 Michael Koch <konqueror@gmx.de>
7865
7866 * java/awt/Choice.java,
7867 java/awt/Container.java,
7868 java/awt/GridBagLayout.java:
7869 Fixed documentation.
7870 * java/awt/peer/ContainerPeer.java:
7871 Reindented.
7872
7873 2002-11-07 Michael Koch <konqueror@gmx.de>
7874
7875 * java/awt/color/ICC_Profile.java:
7876 Added missing constants.
7877 * java/awt/color/ICC_ColorSpace.java
7878 (getMinValue): Added dummy implementation.
7879 (getMaxValue): Added dummy implementation.
7880 * java/awt/datatransfer/DataFlavor.java
7881 (imageFlavor): Added.
7882 (isMimeTypeEqual): Must be final.
7883 (getDefaultRepresentationClass): Must be non-static.
7884 (getDefaultRepresentationClassAsString): Must be non-static.
7885 * java/awt/dnd/DragSourceContext.java
7886 (dragExit): Corrected argument.
7887 (dragDropEnd): Corrected argument.
7888 * java/awt/dnd/DragSourceListener.java.java
7889 (dragExit): Corrected argument.
7890 (dragDropEnd): Corrected argument.
7891 * java/awt/font/TextHitInfo.java
7892 (toString): Added stubbed implementation.
7893 * java/awt/geom/PathIterator.java:
7894 The constants must be static.
7895 * java/awt/image/VolatileImage.java
7896 (IMAGE_INCOMPATIBLE): Fixed typo.
7897 * java/awt/image/renderable/RenderableImage.java
7898 (HINTS_OBSERVED): Must be static.
7899 * java/beans/BeanInfo.java:
7900 Constants must be final.
7901
7902 2002-11-06 Tom Tromey <tromey@redhat.com>
7903
7904 From svens@it.uu.se. For PR libgcj/8481.
7905 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7906
7907 2002-11-06 Tom Tromey <tromey@redhat.com>
7908
7909 * jni.cc (array_from_valist): Assume that jlong won't be
7910 promoted.
7911
7912 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7913
7914 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7915 Return 20.
7916 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7917 Return 16.
7918
7919 2002-11-03 Tom Tromey <tromey@redhat.com>
7920
7921 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7922 VMClassLoader, not findClass.
7923
7924 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7925
7926 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7927 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7928 _Jv_DetermineVTableIndex, to determine vtable offset.
7929 (_Jv_DetermineVTableIndex): Remove.
7930 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7931
7932 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7933
7934 2002-11-03 Tom Tromey <tromey@redhat.com>
7935
7936 * java/nio/channels/AlreadyConnectedException.java: Extend
7937 IllegalStateException, per spec.
7938
7939 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7940
7941 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7942
7943 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7944
7945 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7946 size items.
7947
7948 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7949
7950 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7951 initial estimated size to avoid enlarge buffer frequently.
7952
7953 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7954
7955 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7956 ClassLoader when null.
7957 (ProxyType.hashCode): Loader null check no longer needed.
7958 (ProxyType.sameTypes): New method.
7959 (ProxyType.equals): Use new method.
7960
7961 2002-10-31 Mark Wielaard <mark@klomp.org>
7962
7963 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7964 length of String.
7965 * java/net/URLEncoder.java (encode): Likewise.
7966
7967 2002-10-31 Mark Wielaard <mark@klomp.org>
7968
7969 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7970 when stream is closed.
7971 (closeEntry): Likewise.
7972 (read): Likewise.
7973 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7974 ZipException when no entry active.
7975 (closeEntry): Likewise.
7976 (write): Likewise.
7977
7978 2002-11-02 Tom Tromey <tromey@redhat.com>
7979
7980 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7981 * java/lang/natClass.cc (initializeClass): Don't return just
7982 because self==thread.
7983
7984 For PR java/8415:
7985 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7986 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7987
7988 2002-11-02 Andreas Schwab <schwab@suse.de>
7989
7990 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7991 pass GCJFLAGS.
7992 (FLAGS_TO_PASS): Define.
7993 * Makefile.in: Regenerated.
7994
7995 2002-11-01 Michael Koch <konqueror@gmx.de>
7996
7997 * java/nio/ByteOrder.java: New file.
7998 * java/nio/channels/DatagramChannel.java:
7999 (DatagramChannel): New constructor.
8000 * java/nio/channels/Pipe.java: New file.
8001 * java/nio/channels/SelectableChannel.java: New file.
8002 * java/nio/channels/SelectionKey.java: New file.
8003 * java/nio/channels/Selector.java: New file.
8004 * java/nio/channels/ServerSocketChannel.java
8005 (ServerSocketChannel): New constructor.
8006 * java/nio/channels/SocketChannel.java
8007 (SocketChannel): New constructor.
8008 * java/nio/channels/Pipe.java: New file.
8009 * java/nio/channels/spi/AbstractChannel.java: New file.
8010 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
8011 * java/nio/channels/spi/AbstractSelectableChannel.java:
8012 License added
8013 (AbstractSelectableChannel): New stubbed method.
8014 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
8015 * java/nio/channels/spi/AbstractSelector.java: New file.
8016 * java/nio/channels/spi/SelectorProvider.java: New file.
8017 * java/nio/charset/Charset.java: New file.
8018 * java/nio/charset/CoderMalfunctionError.java: New file.
8019 * java/nio/charset/CodingErrorAction.java: New file.
8020 * java/nio/charset/spi/CharsetProvider.java
8021 (charsetForName): Uncommented.
8022 * Makefile.am (java_native_source_files): Added new files.
8023 * Makefile.in: Regenerated.
8024
8025 2002-11-01 Michael Koch <konqueror@gmx.de>
8026
8027 * java/net/InetAddress.java:
8028 (isAnyLocalAddress): Implemented.
8029 (isLoopbackAddress): Implemented, comment added.
8030 (isLinkLocalAddress): Implemented, documentation added.
8031 (isSiteLocalAddress): Implemented, documentation added.
8032 (isMCGlobal): Implemented, documentation added.
8033 (isMCNodeLocal): Implemented, documentation added.
8034 (isMCLinkLocal): Implemented, documentation added.
8035 (isMCSiteLocal): Implemented, documentation added.
8036 (isMCOrgLocal): Implemented, documentation added.
8037 (getHostName): Documentation added.
8038 (getCanonicalHostName): Implemented, documentation added.
8039 (getAddress): Documentation added.
8040 (hashCode): Documentation added.
8041 (equals): Documentation added.
8042 (toString): Fixed implementation.
8043 (getByAddress): Use Inet4Address and Inet6Address.
8044 (lookup): New linewrap.
8045 (getByName): SecurityManager check added, support Inet4Address and
8046 Inet6address, comments added.
8047 (getAllByName): SecurityManager check added, comments added.
8048 * java/net/Inet6Address.java:
8049 (Inet6Address): Initialize parent class with addr instead of null.
8050 * java/net/URL.java
8051 (equals): Documentation added.
8052 (getFile): Documentation added.
8053 (hashCode): Documentation added.
8054 * java/net/natInetAddress.cc:
8055 (aton): Fix IPv6 support.
8056 * java/net/natPlainDatagramSocketImpl.cc:
8057 (peek): Throw PortUnreachableException when suitable.
8058 (peekData): Throw PortUnreachableException when suitable.
8059 (send): Throw PortUnreachableException when suitable.
8060 (receive): Throw PortUnreachableException when suitable.
8061
8062 2002-10-27 Mark Wielaard <mark@klomp.org>
8063
8064 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8065 argument.
8066 (readLeShort): Likewise and use byte[].
8067 (readLeInt): Likewise.
8068 (readEntries): Use new versions of methods and use byte[] for reading
8069 a complete zip entry. Add ZipFile name to exceptions.
8070 (entries): Add ZipFile name to exceptions.
8071 (getEntry): Likewise.
8072 (checkLocalHeader): Use new versions of methods and add ZipFile name
8073 to exceptions.
8074
8075 2002-10-31 Mark Anderson <mark@panonet.net>
8076
8077 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8078 added
8079
8080 2002-10-25 Krister Walfridsson <cato@df.lth.se>
8081
8082 * configure.in: Disable hash sync when not using threads.
8083 * configure: Regenerated.
8084
8085 2002-10-24 Tom Tromey <tromey@redhat.com>
8086
8087 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8088 (_Jv_FindSymbolInExecutable): Removed argument name.
8089 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8090 java.library.path is set.
8091
8092 * gij.cc (help): Document --showversion.
8093 (version): Don't exit.
8094 (main): Handle --showversion. Exit if --version given.
8095
8096 2002-10-23 Tom Tromey <tromey@redhat.com>
8097
8098 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8099 (array_from_valist): Correctly handle promotion for jint, jlong,
8100 jfloat, and jdouble.
8101
8102 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
8103
8104 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8105 GetFileAttributesEx( ) to find file length and modification times,
8106 as the latter is not present on Windows 95.
8107
8108 2002-10-21 Michael Koch <konqueror@gmx.de>
8109
8110 * java/net/URL.java
8111 (URL): Activate SecurityManager checks.
8112 (equals): Use URLStreamHandler implementation instead of doing it
8113 alone. This allows special protocol stream handlers to change default
8114 behaviour.
8115 (hashCode): Use URLStreamHandler implementation instead of doing it
8116 alone. This allows special protocol stream handlers to change default
8117 behaviour.
8118 * java/net/URLStreamHandler.java
8119 (equals): Implemented default URL equality check.
8120 (hostsEqual): Implemented default URL equality check.
8121 (hashCode): Implemented default URL hashCode algorithm.
8122 * java/net/natPlainDatagramSocketImpl.cc:
8123 No lines longer then 80 characters.
8124
8125 2002-10-20 Adam Megacz <adam@xwt.org>
8126
8127 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8128 * configure.in: enabled hash sync on Win32
8129 * include/win32-threads.h (_Jv_ThreadId_t): added.
8130 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8131 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8132 removed some posix-isms, use Thread::sleep() instead of usleep,
8133 added code to clear bottom three bits if platform has a broken
8134 linker.
8135 * include/win32-threads.h (_Jv_ThreadId_t): added.
8136
8137 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
8138
8139 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8140 runtime property "gnu.gcj.progname" containing the name used to
8141 invoke the current Java program (similar to argv[0] for C
8142 programs).
8143
8144 2002-10-15 Tom Tromey <tromey@redhat.com>
8145
8146 Fix for PR libgcj/8234:
8147 * java/util/zip/natInflater.cc (reset): Reset avail_in.
8148 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8149
8150 2002-10-13 Mark Wielaard <mark@klomp.org>
8151
8152 * mauve-libgcj: Enable Mauve tests that compile now.
8153
8154 2002-10-11 Mark Wielaard <mark@klomp.org>
8155
8156 Fix for PR libgcj/8142
8157 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8158 loading native modules.
8159
8160 2002-10-10 Michael Koch <konqueror@gmx.de>
8161
8162 * javax/swing/AbstractListModel.java
8163 (getListDataListeners): New stubbed method.
8164 javax/swing/DefaultBoundedRangeModel.java
8165 (getChangeListeners): New stubbed method.
8166 javax/swing/DefaultSingleSelectionModel.java
8167 (getChangeListeners): New stubbed method.
8168
8169 2002-10-10 Michael Koch <konqueror@gmx.de>
8170
8171 * gcj/.cvsignore: New file to ignore files generated during build.
8172 * include/.cvsignore: New file to ignore files generated during build.
8173
8174 2002-10-10 Michael Koch <konqueror@gmx.de>
8175
8176 * java/net/HttpURLConnection.java
8177 (getPermission): New method.
8178 (getErrorStream): New stub method.
8179 (getHeaderFieldDate): New stub method.
8180 * java/net/Inet4Address.java:
8181 (isLinkLocalAddress): Typo fixed.
8182 * java/net/InetAddress.java:
8183 (readResolve): New stubbed method (for serialization).
8184 (isAnyLocalAddress): New stubbed method.
8185 (isLoopbackAddress): New stubbed method.
8186 (isLinkLocalAddress): New stubbed method.
8187 (isSiteLocalAddress): New stubbed method.
8188 (isMCGlobal): New stubbed method.
8189 (isMCNodeGlobal): New stubbed method.
8190 (isMCLinkLocal): New stubbed method.
8191 (isMCSiteLocal): New stubbed method.
8192 (isMCOrgLocal): New stubbed method.
8193 (getCanonicalHostName): New stubbed method.
8194 (getByAddress): Create instances of Inet4Address/Inet6Address,
8195 instead of InetAddress, documentation added.
8196 * java/net/MulticastSocket.java
8197 (getInterface): Removed FIXME.
8198 (getNetworkInterface): New method.
8199 (setNetworkInterface): New method.
8200 * java/net/NetworkInterface.java:
8201 (toString): Use property "line.separator" instead of "\n".
8202 * java/net/URLConnection.java
8203 (getContent): New stubbed method.
8204 * java/net/URLStreamHandler.java:
8205 (equals): New stubbed method.
8206 (hostsEqual): New stubbed method.
8207 (hashCode): New stubbed method.
8208 * java/net/natNetworkInterface.cc:
8209 (getRealNetworkInterfaces): Create Inet4Address object
8210 instead of InetAddress.
8211
8212 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8213
8214 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8215 unsigned long temporary to implement insn_iushr shifts.
8216
8217 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8218
8219 * configure.host [s390*-*]: Enable Java interpreter.
8220 Enable hash synchronization. Add sysdeps dir.
8221 * sysdep/s390/locks.h: New file.
8222
8223 2002-10-06 Mark Wielaard <mark@klomp.org>
8224
8225 * java/lang/Thread.java (setDaemon): Check startable_flag,
8226 not isAlive().
8227
8228 2002-10-07 Michael Koch <konqueror@gmx.de>
8229
8230 * java/nio/Buffer.java: New stub file.
8231 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8232 of class Charset.
8233 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8234 * Makefile.in: Regenerated.
8235
8236 2002-10-07 Michael Koch <konqueror@gmx.de>
8237
8238 * java/nio/ByteBuffer.java:
8239 removed import of not commited class.
8240
8241 2002-10-07 Michael Koch <konqueror@gmx.de>
8242
8243 * java/nio/ByteBuffer.java,
8244 java/nio/MappedByteBuffer.java:
8245 New files, forgot to add these dummies.
8246 * Makefile.am (java_native_source_files): Added new files.
8247 * Makefile.in: Regenerated.
8248
8249 2002-10-07 Michael Koch <konqueror@gmx.de>
8250
8251 * java/nio/channels/AlreadyConnectedException.java,
8252 java/nio/channels/ClosedChannelException.java,
8253 java/nio/channels/ReadableByteChannel.java,
8254 java/nio/channels/InterruptibleChannel.java,
8255 java/nio/channels/Channel.java,
8256 java/nio/channels/ByteChannel.java,
8257 java/nio/channels/GatheringByteChannel.java,
8258 java/nio/channels/ScatteringByteChannel.java,
8259 java/nio/channels/WritableByteChannel.java,
8260 java/nio/charset/CharacterCodingException.java,
8261 java/nio/charset/IllegalCharsetNameException.java,
8262 java/nio/charset/MalformedInputException.java,
8263 java/nio/charset/UnmappableCharacterException.java,
8264 java/nio/charset/UnsupportedCharsetException.java,
8265 java/nio/charset/spi/CharsetProvider.java: New file.
8266 These files are exceptions or interfaces,
8267 no real or abstract classes.
8268 * Makefile.am (java_native_source_files): Added new files.
8269 * Makefile.in: Regenerated.
8270
8271 2002-10-05 Michael Koch <konqueror@gmx.de>
8272
8273 * java/net/InetAddress.java
8274 (getByAddress): Fixed documentation.
8275 (getByAddress): New method.
8276 * java/net/Inet4Address.java: New file.
8277 * java/net/URL.java
8278 (URL): Documentation added.
8279 (getContent): Documentation added.
8280 (getContent): New stubbed method.
8281 (getQuery): New method.
8282 (openConnection): Documentation added.
8283 (openStream): Documentation added.
8284 (setURLStreamHandlerFactory): Documentation added.
8285 * java/net/URI.java: New stub file.
8286 * Makefile.am
8287 (java_native_source_files): Added java/net/Inet4Address.java,
8288 java/net/Inet6Address.java and java/net/URI.java.
8289 * Makefile.in: Regenerated.
8290
8291 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8292
8293 * java/lang/ProtectionDomain.java (linesep): Remove field.
8294 (toString): Use System.getProperty("line.separator").
8295
8296 2002-10-04 Michael Koch <konqueror@gmx.de>
8297
8298 * java/security/Identity.java: Added serialVersionUID.
8299 * java/security/KeyPair.java: Added serialVersionUID.
8300 * java/security/Provider.java: Added serialVersionUID.
8301 * java/security/SecureRandom.java: Added serialVersionUID.
8302 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8303 * java/security/SignedObject.java: Added serialVersionUID.
8304 * java/security/cert/Certificate.java: Added serialVersionUID.
8305
8306 2002-10-04 Mark Wielaard <mark@klomp.org>
8307
8308 * java/security/Security.java: Use java.home or gnu.classpath.home
8309 to load providers.
8310 (loadProviders): Extra dir argument.
8311 (getProvider): Return null when not found.
8312
8313 2002-10-04 Mark Wielaard <mark@klomp.org>
8314
8315 * java/lang/Throwable.java: Remerge with Classpath.
8316
8317 2002-10-04 Michael Koch <konqueror@gmx.de>
8318
8319 * java/net/InetAddress.java:
8320 (isMulticastAddress): Added documentation.
8321 (getHostAddress): Added documentation.
8322 (toString): Added documentation.
8323 (getByAddress): Fixed documentation.
8324 (getByName): Added documentation.
8325 (getAllByName): Added documentation.
8326 (getLocalHost): Added documentation.
8327
8328 2002-10-04 Michael Koch <konqueror@gmx.de>
8329
8330 * java/beans/beancontext/BeanContextChildSupport.java:
8331 Added serialVersionUID.
8332 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8333 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8334 * javax/naming/Name.java: Added serialVersionUID.
8335
8336 2002-10-03 Adam Megacz <adam@xwt.org>
8337
8338 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8339 some functionality that isn't supported yet on WIN32.
8340
8341 2002-10-03 Tom Tromey <tromey@redhat.com>
8342
8343 * Makefile.in: Rebuilt.
8344 * Makefile.am (awt_java_source_files): Added new files.
8345
8346 2002-10-03 Michael Koch <konqueror@gmx.de>
8347
8348 * java/net/InetAddress.java
8349 (class InetAddress): Removed final keyword.
8350 (equals): Fixed typo.
8351 (getByAddress): New method.
8352
8353 2002-10-03 Michael Koch <konqueror@gmx.de>
8354
8355 * java/awt/dnd/Autoscroll.java:
8356 New file, merge from Classpath.
8357 * java/awt/dnd/DragSourceAdapter.java:
8358 (dragExit): Fixed typos in argument type.
8359 (dragDropEnd): Fixed typos in argument type.
8360 * java/awt/dnd/DragSourceDropEvent.java:
8361 New file, merge from Classpath.
8362 * java/awt/dnd/DropTarget.java:
8363 Added stubs, merge from Classpath.
8364 * java/awt/dnd/DropTargetAdapter.java:
8365 New file, merge from Classpath.
8366 * java/awt/dnd/DropTargetContext.java:
8367 New file, merge from Classpath.
8368 * java/awt/dnd/DropTargetDragEvent.java:
8369 New file, merge from Classpath.
8370 * java/awt/dnd/DropTargetDropEvent.java:
8371 New file, merge from Classpath.
8372 * java/awt/dnd/DropTargetEvent.java:
8373 New file, merge from Classpath.
8374 * java/awt/dnd/DropTargetListener.java:
8375 New file, merge from Classpath.
8376 * java/awt/dnd/MouseDragGestureRecognizer.java:
8377 New file, merge from Classpath.
8378 * java/awt/dnd/peer/DropTargetContextPeer.java:
8379 New file, merge from Classpath.
8380
8381 2002-10-03 Michael Koch <konqueror@gmx.de>
8382
8383 * java/net/DatagramPacket.java
8384 (setLength): Fixed typo and be HTML-aware.
8385 * java/net/InetSocketAddress.java
8386 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8387 (equals): Added comment about equality of InetSocketAddress objects.
8388 * java/net/ServerSocket.java
8389 (accept): Added checks.
8390 (isClosed): New stubbed method.
8391 * java/net/SocketOptions.java: Reindention.
8392 * java/net/SocketPermission
8393 (SocketPermission): Documentation fixed.
8394
8395 2002-10-03 Michael Koch <konqueror@gmx.de>
8396
8397 * java/net/DatagramSocket.java
8398 (receive): Check with SecurityManager AFTER the packet is received,
8399 check if connected to multicast address, documentation added.
8400 (send): Only check SecurityManager if connected, check address of
8401 packet to send.
8402 (connect): Implemented, documentation added.
8403 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8404 * java/net/InetSocketAddress.java
8405 (whole file): Reindented.
8406 (hostname): New attribute.
8407 (InetSocketAddress): Initialize new attribute.
8408 (getAddress): Documentation added.
8409 (getHostName): Documentation added.
8410 (getPort): Documentation added.
8411 (hashCode): Documentation added.
8412 (isUnresolved): Documentation added.
8413 (toString): Conform to output of JDK 1.4.1, documentation added.
8414 * java/net/MulticastSocket.java
8415 (joinGroup): Removed FIXME, documentation added.
8416 (leaveGroup): Removed FIXME, documentation added.
8417 (send): Documentation added.
8418 * java/net/Socket.java
8419 (inputShutdown): New variable.
8420 (outputShutdown): New variable.
8421 (Socket): Initialize new variables.
8422 (getRemoteSocketAddress): Check if connected.
8423 (shutdownInput): Set new variable.
8424 (shutdownOutput): Set new variable.
8425 (isConnected): New method.
8426 (isClosed): New method.
8427 (isInputShutdown): New method.
8428 (isOutputShutdown): New method.
8429 * java/net/URLStreamHandler.java
8430 (URLStreamHandler): New method.
8431 (openConnection): Added documentation.
8432 (parseURL): Added documentation.
8433 (getHostAddress): New method.
8434 (getDefaultPort): New method.
8435
8436 2002-10-02 Tom Tromey <tromey@redhat.com>
8437
8438 * java/rmi/activation/ActivationDesc.java,
8439 java/rmi/activation/ActivationGroupDesc.java,
8440 java/rmi/activation/ActivationGroupID.java,
8441 java/rmi/activation/ActivationID.java: New versions from
8442 Classpath.
8443
8444 2002-09-30 Bo Thorsen <bo@suse.de>
8445
8446 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8447
8448 2002-09-30 Tom Tromey <tromey@redhat.com>
8449
8450 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8451 from Classpath.
8452 * Makefile.in: Rebuilt.
8453 * Makefile.am (rmi_java_source_files): Added new files.
8454 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8455 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8456 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8457 Classpath.
8458 * gnu/java/rmi/dgc/DGCImpl.java,
8459 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8460 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8461 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8462 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8463 gnu/java/rmi/server/RMIHashes.java,
8464 gnu/java/rmi/server/RMIObjectInputStream.java,
8465 gnu/java/rmi/server/RMIObjectOutputStream.java,
8466 gnu/java/rmi/server/UnicastConnection.java,
8467 gnu/java/rmi/server/UnicastConnectionManager.java,
8468 gnu/java/rmi/server/UnicastRef.java,
8469 gnu/java/rmi/server/UnicastServer.java,
8470 gnu/java/rmi/server/UnicastServerRef.java,
8471 java/rmi/MarshalledObject.java,
8472 java/rmi/server/RMIClassLoader.java,
8473 java/rmi/server/RemoteObject.java,
8474 java/rmi/server/UnicastRemoteObject.java,
8475 java/security/SecureClassLoader.java: Merged from Classpath.
8476
8477 2002-09-29 Anthony Green <green@redhat.com>
8478
8479 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8480 Imported from GNU Classpath.
8481 * java/lang/reflect/natProxy.cc: New file.
8482 * java/lang/reflect/InvocationHandler.java: New file. Imported
8483 from GNU Classpath.
8484 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8485 Classpath.
8486 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8487 Classpath.
8488 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8489 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8490 New statics.
8491 * gcj/javaprims.h ("Java"): Add new classes.
8492 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8493 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8494 java/lang/reflect/Proxy$$ProxyType.h): And this.
8495 (inner_nat_headers): Add these new headers.
8496 (ordinary_java_source_files): Add new files.
8497 (nat_source_files): Add new file.
8498 * Makefile.in: Rebuilt.
8499
8500 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8501
8502 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8503 a single configuration.
8504
8505 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8506
8507 * java/util/TimeZone.java (getDSTSavings): New method.
8508 Fixes PR libgcj/7786.
8509
8510 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8511
8512 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8513 to see if `the_method == 0' before looking up vtable index.
8514 Fixes PR libgcj/7709.
8515
8516 2002-09-25 Tom Tromey <tromey@redhat.com>
8517
8518 * java/lang/natClassLoader.cc:
8519 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8520 * resolve.cc: Include NoClassDefFoundError.h, not
8521 ClassNotFoundException.h.
8522 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8523
8524 * defineclass.cc: Don't include ClassNotFoundException.h.
8525
8526 * resolve.cc: Include StringBuffer.
8527 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8528
8529 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8530 allocated but not initialized.
8531
8532 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8533
8534 Fix for PR libgcj/7766:
8535 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8536 (getNextEntry): Set it.
8537 (closeEntry): Likewise.
8538 (read): Likewise.
8539 (close): Likewise.
8540 (available): Use it.
8541
8542 2002-09-25 Michael Koch <konqueror@gmx.de>
8543
8544 * java/net/DatagramSocket.java
8545 (DatagramSocket): Initialize new instance variables.
8546 (close): Reset new instance variables.
8547 (getLocalAddress): Remove unneeded SecurityManager usage.
8548 (getLocalPort): Check if socket is already bound.
8549 (isConnected): New method.
8550 (getInetAddress): Implemented.
8551 (getPort): Better Implementation, documentation fixed.
8552 (getRemoteSocketAddress): New method.
8553 * java/net/JarURLConnection.java
8554 (element): Typo fixed.
8555 (getMainAttributes): New method.
8556 (getAttributes): New method (stub only).
8557 (getManifest): New method (stub only).
8558 * java/net/NetPermission.java: Added serialVersionsUID.
8559 * java/net/Socket.java
8560 (connect): Check blocking mode of associated channel,
8561 documentation added.
8562 (getLocalSocketAddress): Better implementation.
8563 (getRemoteSocketAddress): Implemented.
8564 (isBound): New method.
8565 (setSendBufferSize): Documentation added.
8566 * java/net/SocketAddress.java: Added serialVersionsUID.
8567 * java/net/SocketPermission.java: Added serialVersionsUID.
8568 * java/net/URL.java
8569 (URL): Wrap for shorter lines, initialize new instance variables,
8570 documentation added.
8571 (equals): Check new instance variables too.
8572 (getContent): Documentation added.
8573 (getPath): Documentation added.
8574 (getAuthority): New method.
8575 (getHost): Documentation added.
8576 (getPort): Documentation added.
8577 (getDefaultPort): New method.
8578 (getProtocol): Documentation added.
8579 (getUserInfo): Documentation added.
8580 (set): Initialize new instance variables, documentation added.
8581 * java/net/URLStreamHandler.java
8582 (setURL): New method.
8583 * java/net/natPlainDatagramSocketImpl.cc
8584 (connect): Fix exception name.
8585 (disconnect): Fix exception name.
8586
8587 2002-09-25 Michael Koch <konqueror@gmx.de>
8588
8589 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8590 * java/nio/channels/DatagramChannel.java:
8591 extends AbstractSelectableChannel
8592 * java/nio/channels/ServerSocketChannel.java:
8593 extends AbstractSelectableChannel
8594 * java/nio/channels/SocketChannel.java:
8595 extends AbstractSelectableChannel
8596 * Makefile.am (ordinary_java_source_files):
8597 java/nio/channels/spi/AbstractSelectableChannel.java added.
8598 * Makefile.in: Regenerated.
8599
8600 2002-09-25 Michael Koch <konqueror@gmx.de>
8601
8602 * java/net/DatagramSocket.java
8603 (DatagramSocket): Exception documentation added.
8604 (bind): Exception documentation added, addded SecurityManager check,
8605 added SocketAddress type check.
8606 (getSoTimeout): Check impl.
8607 (receive): Fix SecurityManager check, check impl, documentation added.
8608 (send): Check channel mode, documentation added.
8609 (connect): New method.
8610 (disconnect): Implemented.
8611 (getLocalSocketAddress): New method.
8612 (getReceiveBufferSize): Check impl.
8613 (setReuseAddress): Check impl.
8614 (getReuseAddress): Check impl.
8615 (setBroadcast): Check impl.
8616 (getBroadcast): Check impl.
8617 (setTrafficClass): Check impl, Documentation cleared.
8618 (getTrafficClass): Check impl.
8619 (getSendBufferSize): Check impl.
8620 (setReceiveBufferSize): Check impl, documentation added.
8621 (setSendBufferSize): Documentation added.
8622 (setDatagramSocketImplFactory): New method.
8623 * java/net/HttpURLConnection.java
8624 (HTTP_INTERNAL_ERROR): The correct code is 500.
8625 (HTTP_NOT_IMPLEMENTED): Added new constant.
8626 (setFollowRedirects): Documentation added.
8627 (getInstanceFollowRedirects): New method.
8628 (setInstanceFollowRedirects): New method.
8629 (setRequestMethod): Documentation added.
8630 (getResponseCode): Documentation added.
8631 (getResponseMessage): Documentation added.
8632 * java/net/JarURLConnection.java
8633 (JarURLConnection): protected since JDK 1.4.
8634 (getJarEntry): java.io.IOException to IOException, documentation added.
8635 (getJarFile): Documentation added.
8636 * java/net/ServerSocket.java
8637 (ServerSocket): Private to public, exception added.
8638 (ServerSocket): java.io.IOException to IOException, documentation added.
8639 (bind): Check socket address type, documentation added.
8640 (bind): java.io.IOException to IOException, documentation added.
8641 (accept): Documentation added.
8642 (implAccept): Check ch is not non-blocking, documentation added.
8643 (setSoTimeout): Documentation fixed.
8644 (setReceiveBufferSize): Documentation added.
8645 * java/net/Socket.java
8646 (Socket): Documentation added.
8647 (bind): Documentation added.
8648 (connect): Check socket address type, documentation added.
8649 (getRemoteSocketAddress): New method.
8650 (getLocalSocketAddress): New method.
8651 (setSoLinger): Documentation added.
8652 (getReuseAddress): New method.
8653 (setReuseAddress): New method.
8654 (getTrafficClass): New method.
8655 (setTrafficClass): New method.
8656 * java/net/URLStreamHandler.java
8657 (openConnection): java.io.IOException to IOException.
8658 (parseURL): Documentation added.
8659 (sameFile): public to protected, documentation added.
8660 (setURL): Documentation added.
8661 * java/nio/IllegalBlockingModeException.java: New file.
8662 * Makefile.am (ordinary_java_source_files):
8663 added java/nio/IllegalBlockingModeException.java
8664 * Makefile.in: Regenerated.
8665
8666 2002-09-25 Michael Koch <konqueror@gmx.de>
8667
8668 * java/net/DatagramPacket
8669 (DatagramPacket): Exception documentation added.
8670 (setData): Likewise.
8671 (setSocketAddress): Likewise.
8672 * java/net/DatagramSocketImpl.java
8673 (peek): Documentation addded.
8674 (peekData): Documentation addded.
8675 (send): Documentation addded.
8676 (receive): Documentation addded.
8677 (connect): New method.
8678 (disconnect): New method.
8679 (joinGroup): New abstract method.
8680 (leaveGroup): New abstract method.
8681 * java/net/InetSocketAddress.java
8682 (InetSocketAddress): Documentation added.
8683 (equals): final keyword added.
8684 (getAddress): final keyword added.
8685 (getHostName): final keyword added.
8686 (getPort): final keyword added.
8687 (hashCode): final keyword added.
8688 (isUnresolved): final keyword added.
8689 * java/net/MulticastSocket.java
8690 (MulticastSocket): Documentation added.
8691 (MulticastSocket): New method.
8692 (joinGroup): Documentation added.
8693 (joinGroup): New method.
8694 (leaveGroup): Documentation added.
8695 (leaveGroup): New method.
8696 (send): Documentation added.
8697 * java/net/NetworkInterface.java
8698 (getByName): Documentation added.
8699 (getByInetAddress): Documentation added.
8700 (getNetworkInterfaces): Documentation added.
8701 * java/net/PlainDatagramSocketImpl.java
8702 (connect): New method.
8703 (disconnect): New method.
8704 * java/net/SocketImpl.java
8705 (create): Documentation added.
8706 (shutdownInput): Convert public to protected, as it always was.
8707 (shutdownOutput): Convert public to protected, as it always was.
8708 * java/net/SocketOptions.java
8709 (whole file): Reintented.
8710 * java/net/URLClassLoader.java
8711 (URLClassLoader): SecurityManager check added, documentation added.
8712 (findResources): Documentation added.
8713 (findClass): Documentation added.
8714 (newInstance): More correct method arguments.
8715 * java/net/URLConnection.java
8716 (connect): Documentation added.
8717 (getContent): Documentation added.
8718 (getPermission): Documentation added.
8719 (getInputStream): Documentation added.
8720 (getOutputStream): Documentation added.
8721 (setDoInput): Throw correct exception, documentation added.
8722 (setDoOutput): Throw correct exception, documentation added.
8723 (setAllowUserInteraction): Throw correct exception, documentation added.
8724 (setUseCaches): Throw correct exception, documentation added.
8725 (setIfModifiedSince): Throw correct exception, documentation added.
8726 (setRequestProperty): Throw exception, documentation added.
8727 (addRequestProperty): Throw exception, documentation added.
8728 (getRequestProperty): Throw exception, documentation added.
8729 (getRequestProperties): Documentation added.
8730 (setContentHandlerFactory): Documentation added.
8731 (guessContentTypeFromName): protected to public.
8732 (setFileNameMap): Documentation added.
8733 * java/net/URLDecoder.java
8734 (URLDecoder): New method.
8735 (decode): Documentation added.
8736 (whole file): Reindented.
8737 * java/net/URLEncoder.java
8738 (encode): Documentation added.
8739 * java/net/natPlainDatagramSocketImpl.cc
8740 (connect): New method.
8741 (disconnect): New method.
8742 * javax/naming/RefAddr:
8743 (addrType): addrType was never final.
8744 (equals): Fix typo in method name.
8745 * javax/naming/BinaryRefAddr:
8746 (equals): Fix typo in method name.
8747
8748 2002-09-22 Tom Tromey <tromey@redhat.com>
8749
8750 Fix for PR libgcj/6576:
8751 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8752 didn't find a given bundle.
8753 (getBundle): Don't require base bundle.
8754 (setParent): Removed old comment.
8755 (tryLocalBundle): Try components even if preceding components were
8756 empty.
8757
8758 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8759
8760 * Makefile.am (all-multi): Fix multilib parallel build.
8761
8762 2002-09-21 Michael Koch <konqueror@gmx.de>
8763
8764 * java/net/Socket.java
8765 (sendUrgentData): New method.
8766 (getChannel): New method.
8767 * java/net/ServerSocket.java
8768 (getChannel): New method.
8769 (isBound): New method.
8770 * java/net/DatagramSocket.java
8771 (DatagramSocket): Two new methods.
8772 (bind): New method.
8773 (getChannel): New method.
8774 (isBound): New method.
8775 (send): Added newline to to make shorter lines.
8776 * java/net/PlainDatagramSocketImpl.java
8777 (mcastGrp): Added argument.
8778 (join): Use new mcastGrp.
8779 (leave): Use new mcastGrp.
8780 (joinGroup): New method.
8781 (leaveGroup): New method.
8782 * java/net/natPlainDatagramSocketImpl.cc
8783 (mcastGrp): Added argument, no yet really implemented.
8784 (getOption): Added newline for shorter lines.
8785 * java/net/natPlainSocketImpl.cc
8786 (read, setOption, getOption): Added newline for shorter lines.
8787
8788 2002-09-19 Tom Tromey <tromey@redhat.com>
8789
8790 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8791 newly-created exception.
8792
8793 2002-09-18 Michael Koch <konqueror@gmx.de>
8794
8795 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8796 java/util/regex/PatternSyntaxException.java:
8797 Merge with classpath, new files.
8798 * Makefile.am (core_java_source_files):
8799 Added java/util/regex/Matcher.java,
8800 java/util/regex/Pattern.java,
8801 java/util/regex/PatternSyntaxException.java
8802 * Makefile.in: Regenerated.
8803 * include/config.h.in: Added HAVE_NET_IF_H.
8804 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8805 Removed #if 0 ... #endif.
8806
8807 2002-09-17 Michael Koch <konqueror@gmx.de>
8808
8809 * java/net/natNetworkInterface.cc:
8810 Removed unneed and yet wrong includes.
8811
8812 2002-09-17 Michael Koch <konqueror@gmx.de>
8813
8814 * java/net/NetworkInterface.java: New file.
8815 * java/net/natNetworkInterface.java: New file.
8816 * configure.in: Added check for net/if.h.
8817 * configure: Regenerated.
8818 * Makefile.am
8819 (ordinary_java_source_files): Added NetworkInterface.java.
8820 (nat_source_files): Added natNetworkInterface.cc.
8821 * Makefile.in: Regenerated.
8822
8823 2002-09-16 Tom Tromey <tromey@redhat.com>
8824
8825 * java/net/URLClassLoader.java (findClass): Code source for a
8826 class from a jar is not necessarily a jar: URL.
8827
8828 2002-09-16 Michael Koch <konqueror@gmx.de>
8829
8830 * java/lang/AssertionError.java:
8831 Merge with classpath, fixes HTML.
8832 * java/rmi/server/LogStream.java:
8833 Merge with classpath, fixes some constants.
8834 * java/net/server/RemoteServer.java:
8835 Merge with classpath, adds serialVersionUID.
8836 * javax/naming/BinaryRefAddr.java:
8837 Merge with classpath, s/equal/equals/.
8838 * javax/naming/NamingException.java:
8839 Merge with classpath, fixed typo.
8840 * javax/naming/RefAddr.java:
8841 Merge with classpath, s/equal/equals/.
8842 * java/awt/Toolkit.java:
8843 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8844 and typo fixed.
8845
8846 2002-09-15 Adam Megacz <adam@xwt.org>
8847
8848 * java/net/natPlainSocketImpl.cc: fixed typo.
8849
8850 2002-09-15 Adam Megacz <adam@xwt.org>
8851
8852 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8853 which don't work on Win32 (yet).
8854
8855 2002-09-14 Adam Megacz <adam@xwt.org>
8856
8857 * java/net/natPlainDatagramSocket.cc: removed #include
8858 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8859 * include/win32.h: included definition for IP_TOS to satisfy
8860 natPlainDatagramSocket.cc
8861
8862 2002-09-13 Michael Koch <konqueror@gmx.de>
8863
8864 * java/net/DatagramPacket.java (DatagramPacket):
8865 Added linebreak for 80 chars per line.
8866 * java/net/JarURLConection.java
8867 (getInputStreami, getJarEntry): Likewise.
8868 * java/net/SocketPErmission.java
8869 (SocketPermission class docu, implies): Likewise.
8870 * java/net/URLClassLoader.java (findResources): Likewise.
8871 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8872
8873 2002-09-13 Michael Koch <konqueror@gmx.de>
8874
8875 * java/nio/channels/DatagramChannel.java,
8876 java/nio/channels/ServerSocketChannel.java
8877 java/nio/channels/SocketChannel.java:
8878 New dummy files to make java.net fully JDK 1.4 compatible
8879 * Makefile.am (ordinary_java_source_files): Added
8880 java/net/DatagramSocketImplFactory.java (long forgotten),
8881 java/nio/SocketChannel.java,
8882 java/nio/ServerSocketChannel.java,
8883 java/nio/DatagramChannel.java
8884 * Makefile.in: Regenrated.
8885
8886 2002-09-12 Michael Koch <konqueror@gmx.de>
8887
8888 * java/net/DatagramSocketImpl.java
8889 (peekData): New method.
8890 * java/net/PlainDatagramSocketImpl.java
8891 (peekData): New method.
8892 * java/net/natPlainDatagramSocketImpl.cc
8893 (peekData): New method.
8894 * java/net/URLConnection
8895 (getPermission): New method.
8896 (addRequestProperty): New method.
8897 (getRequestProperties): New method.
8898 (guessContentTypeFromStream): New method, not really implemented.
8899 (URLConnection): Added/updated documentation.
8900 (connect): Added/updated documentation.
8901 (getURL): Added/updated documentation.
8902 (getContentLength): Added/updated documentation.
8903 (getContentType: Added/updated documentation.
8904 (getContentEncoding): Added/updated documentation.
8905 (getExpiration): Added/updated documentation.
8906 (getDate): Added/updated documentation.
8907 (getLastModified): Added/updated documentation.
8908 (getHeaderField): Added/updated documentation.
8909 (getHeaderFields): Added/updated documentation.
8910 (getHeaderFieldInt): Added/updated documentation.
8911 (getHeaderFieldDate): Added/updated documentation.
8912 (getHeaderFieldKey): Added/updated documentation.
8913 (getContent): Added/updated documentation.
8914 (getInputStream): Added/updated documentation.
8915 (getOutputStream): Added/updated documentation.
8916 (toString): Added/updated documentation.
8917 (setDoInput): Added/updated documentation.
8918 (getDoInput): Added/updated documentation.
8919 (setDoOutput): Added/updated documentation.
8920 (getDoOutput): Added/updated documentation.
8921 (setAllowUserInteraction): Added/updated documentation.
8922 (getAllowUserInteraction): Added/updated documentation.
8923 (setDefaultAllowUserInteraction): Added/updated documentation.
8924 (getDefaultAllowUserInteraction): Added/updated documentation.
8925 (setUseCaches): Added/updated documentation.
8926 (getUseCaches): Added/updated documentation.
8927 (setIfModifiedSince): Added/updated documentation.
8928 (getIfModifiedSince): Added/updated documentation.
8929 (getDefaultUseCaches): Added/updated documentation.
8930 (setDefaultUseCaches): Added/updated documentation.
8931 (setRequestProperty): Added/updated documentation.
8932 (getRequestProperty): Added/updated documentation.
8933 (setDefaultRequestProperty): Added/updated documentation.
8934 (getDefaultRequestProperty): Added/updated documentation.
8935 (setContentHandlerFactory): Added/updated documentation.
8936 (guessContentTypeFromName): Added/updated documentation.
8937 (getFileNameMap): Added/updated documentation.
8938 (setFileNameMap): Added/updated documentation.
8939
8940 2002-09-11 Michael Koch <konqueror@gmx.de>
8941
8942 * java/net/Socket.java
8943 (Socket): protected to public (since JDK 1.4). Added @specnote.
8944 (bind): New method.
8945 (connect): Two new methods.
8946 (getKeepalive): Get correct socket option.
8947 (setKeepalive): Set correct socket option.
8948 (getOOBInline): New method.
8949 (setOOBInline): New method.
8950 * java/net/ServerSocket.java
8951 (bind): Two new methods.
8952 (getInetAddress): Reimplemented, catch exception.
8953 (getLocalSocketAddress): New method.
8954 (setReuseAddress): New method.
8955 (getReuseAdress): New method.
8956 (setReceiveBufferSize): New method.
8957 (getReceiveBufferSize): New method.
8958 (toString): Made string JDK 1.4 compliant.
8959
8960 2002-09-10 Michael Koch <konqueror@gmx.de>
8961
8962 * java/net/SocketImpl.java
8963 (connect): New method.
8964 (supportsUrgentData): New method.
8965 (sendUrgentData): New method.
8966 * java/net/PlainSocketImpl.java
8967 (connect): One new method and two new implementation.
8968 (sendUrgentData): New method.
8969 * java/natPlainSocketImpl.cc
8970 (connect): Arguments changed, added support for timeouts.
8971 (getOption): Another __java_boolean to jboolean.
8972
8973 2002-09-07 Adam Megacz <adam@xwt.org>
8974
8975 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8976 definition of IP_TOS.
8977
8978 2002-09-04 Michael Koch <konqueror@gmx.de>
8979
8980 * java/net/DatagramSocket.java
8981 (DatagramSocket): Added documentation.
8982 (close): Likewise.
8983 (getLocalAddress): Likewise.
8984 (getLocalPort): Likewise.
8985 (receive): Likewise.
8986 (send): Likewise.
8987 (setSoTimeout): Likewise.
8988 (connect): New method.
8989 (disconnect): New method.
8990 (getInetAddress): New method (FIXME)
8991 (getPort): New method.
8992 (setReuseAddress): New method.
8993 (getReuseAddress): New method.
8994 (setBroadcast): New method.
8995 (getBroadcast): New method.
8996 (setTrafficClass): New method.
8997 (getTrafficClass): New method.
8998 * java/net/MulticastSocket.java):
8999 (getTTL): Added @see in documentation.
9000 (setTTL): Added @see in documentation.
9001 (setLoopbackMode): New method.
9002 (getLoopbackMode): New method.
9003 * java/net/PlainSocketImpl.java:
9004 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9005 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9006 * java/net/PlainDatagramSocketImpl.java
9007 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9008 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9009 * java/net/natPlainSocketImpl.cc
9010 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9011 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9012 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9013 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9014 This should also fix SO_KEEPALIVE
9015 * java/net/natPlainDatagramSocketImpl.cc
9016 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9017 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9018 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9019 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9020
9021 2002-09-04 Michael Koch <konqueror@gmx.de>
9022
9023 * java/net/SocketOptions.java: added static variables to be JDK 1.4
9024 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
9025 IP_MULTICAST_LOOP, IP_TOS
9026
9027 2002-09-03 Tom Tromey <tromey@redhat.com>
9028
9029 * java/lang/Class.h (_getDeclaredMethod): Declare.
9030 (_getMethod): Now private.
9031 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
9032 getDeclaredMethod. Now returns NULL on failure.
9033 * java/lang/Class.java (_getDeclaredMethod): Declare.
9034 (getDeclaredMethod): No longer native; implements access checks.
9035
9036 2002-09-01 Mark Wielaard <mark@klomp.org>
9037
9038 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
9039 (sanitizeStack): Correctly reset unknown and interpreter counters,
9040 detect interpreter runtime frames.
9041 (demangleInterpreterMethod): New method.
9042 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
9043 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
9044 filling in addrs[].
9045
9046 2002-09-02 Michael Koch <konqueror@gmx.de>
9047
9048 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
9049 re-indented documentation.
9050
9051 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9052
9053 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
9054 public, per 1.4 spec. Fixes PR libgcj/7785.
9055
9056 2002-08-30 Jeff Sturm <jsturm@one-point.com>
9057
9058 * Makefile.in: Rebuilt.
9059 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
9060
9061 2002-08-29 Tom Tromey <tromey@redhat.com>
9062
9063 * java/net/JarURLConnection.java (getCertificates): New method
9064 from Classpath.
9065 * java/net/URLClassLoader.java (URLClassLoader): Extends
9066 SecureClassLoader.
9067 (definePackage): New method from Classpath.
9068 (getPermissions): Likewise.
9069 (newInstance): Likewise.
9070 (findClass): Construct CodeSource for new class (from Classpath).
9071 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9072 methods.
9073 * java/net/URL.java (getUserInfo): New method.
9074 (set(String,String,int,String,String,String,String,String)): New
9075 method.
9076 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9077 (shutdownInput, shutdownOutput): Declare.
9078 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9079 Define.
9080 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9081 (getOption): Likewise.
9082 (shutdownInput): New method.
9083 (shutdownOutput): Likewise.
9084 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9085 keepalive.
9086 (getOption): Likewise.
9087 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9088 * java/net/Socket.java (setKeepAlive): New method.
9089 (getKeepAlive): Likewise.
9090 (shutdownInput, shutdownOutput): New methods.
9091
9092 2002-08-29 Michael Koch <konqueror@gmx.de>
9093
9094 * java/net/DatagramPacket.java: updated to JDK 1.4 API
9095 new methods are:
9096 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9097 address),
9098 DatagramPacket(byte[] buf, int length, SocketAddress address),
9099 void setSocketAddress(SocketAddress address)
9100 public SocketAddress getSocketAddress()
9101
9102 2002-08-29 Tom Tromey <tromey@redhat.com>
9103
9104 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9105 ftruncate is missing.
9106 * configure, include/config.h.in: Rebuilt.
9107 * acconfig.h (HAVE_FTRUNCATE): Mention.
9108 * configure.in: Check for ftruncate.
9109
9110 2002-08-29 Tom Tromey <tromey@redhat.com>
9111
9112 * include/jvm.h (struct _Jv_frame_info): New structure.
9113 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9114 java-interp.h.
9115 (lookupInterp): New method.
9116 (getAddrAsString): Use _Jv_frame_info.
9117 (dladdrLookup): Likewise.
9118 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9119 interpreted frame.
9120 (lookupInterp): Declare.
9121 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9122 (fillInStackTrace): Collect information on interpreted frames.
9123 Use _Jv_frame_info.
9124 * interpret.cc: Include Thread.h.
9125 (run): Create and push _Jv_MethodChain object.
9126 (_Jv_EndOfInterpreter): New global.
9127 * java/lang/Thread.java (interp_frame): New field.
9128 * include/java-interp.h (struct _Jv_MethodChain): New structure.
9129 Include NameFinder.h.
9130
9131 2002-08-28 Tom Tromey <tromey@redhat.com>
9132
9133 * java/lang/Class.h: Include Package.h.
9134 (Class::getProtectionDomain): Declare.
9135 (Class::getPackage): Declare.
9136
9137 2002-08-28 Michael Koch <konqueror@gmx.de>
9138
9139 * java/net/InetSocketAddress.java: Added some documentation and argument
9140 checks for the port numbers.
9141 * java/net/DatagramSocketImplFactory.java: New file.
9142
9143 2002-08-28 Michael Koch <konqueror@gmx.de>
9144
9145 * java/net/Authenticator.java: added some documentation.
9146
9147 2002-08-27 Tom Tromey <tromey@redhat.com>
9148
9149 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9150 class.
9151 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9152
9153 2002-08-27 Michael Koch <konqueror@gmx.de>
9154
9155 * java/net/BindException.java,
9156 java/net/JarURLConnection.java,
9157 java/net/FileNameMap.java,
9158 java/net/HttpURLConnection.java,
9159 java/net/InetSocketAddress.java,
9160 java/net/DatagramPacket.java,
9161 java/net/DatagramSocket.java,
9162 java/net/DatagramSocketImpl.java,
9163 java/net/MulticastSocket.java,
9164 java/net/PasswordAuthentication.java,
9165 java/net/ServerSocket.java,
9166 java/net/Socket.java,
9167 java/net/URLClassLoader.java,
9168 java/net/URLConnection.java: add/update of some @since/@deprecated
9169
9170 2002-08-27 Tony Kimball <alk@pobox.com>
9171 Tom Tromey <tromey@redhat.com>
9172
9173 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9174 define.
9175 (::close): Removed.
9176 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9177 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9178 (::close): Removed.
9179 (PlainSocketImpl::close): Use NATIVE_CLOSE.
9180 * include/win32.h (getcwd): Removed declaration. Include io.h.
9181
9182 2002-08-25 Adam Megacz <adam@xwt.org>
9183
9184 * include/win32.h (getcwd): copied function declaration as
9185 temporary fix for header confusion.
9186
9187 2002-08-24 Mark Wielaard <mark@klomp.org>
9188
9189 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9190 (core_java_source_files): Add VMThrowable.java and NameFinder.java
9191 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9192 and natNameFinder.cc.
9193 * Makefile.in: Regenerate.
9194 * prims.cc: Use trace_enabled from VMThrowable.
9195 * name-finder.cc: Removed.
9196 * gcj/javaprims.h: Add class VMThrowable.
9197 * gnu/gcj/runtime/NameFinder.java: New file.
9198 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9199 * include/name-finder.h: Removed.
9200 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9201 method stackTraceString().
9202 (printStackTrace (PrintWriter)): Likewise.
9203 (stackTraceString): Complete rewrite of old printStackTrace using
9204 StringBuffer.
9205 (stackTraceStringBuffer): New helper method for stackTraceString().
9206 (fillInStackTrace): Delegate to VMTrowable.
9207 (getStackTrace): Likewise.
9208 (getStackTrace0): Removed.
9209 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9210 (setStackTrace): Copy given array.
9211 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9212 * java/lang/VMThrowable.java: New class.
9213 * java/lang/natVMThrowable.cc: New file.
9214
9215 2003-08-23 Michael Koch <konqueror@gmx.de>
9216
9217 * java/net/URLConnection.java,
9218 java/netJarURLConnection.java,
9219 gnu/gcj/protocol/core/Connection.java,
9220 gnu/gcj/protocol/file/Connection.java,
9221 gnu/gcj/protocol/http/Connection.java: Added implementation of
9222 getHeaderFields().
9223
9224 2002-08-22 Tom Tromey <tromey@redhat.com>
9225
9226 * gij.cc (help): Document -cp and -classpath.
9227 (main): Handle -classpath.
9228
9229 2002-08-21 Tom Tromey <tromey@redhat.com>
9230
9231 * Makefile.in: Rebuilt.
9232 * Makefile.am (ordinary_java_source_files): Added
9233 SocketAddress.java, InetSocketAddress.java.
9234 * java/net/PortUnreachableException.java: Merged with Classpath.
9235 * java/net/SocketTimeoutException.java: Likewise.
9236 * java/net/URISyntaxException.java: Likewise.
9237 * java/net/SocketAddress.java: New class from Classpath.
9238 * java/net/InetSocketAddress.java: Likewise.
9239
9240 2003-08-21 Michael Koch <konqueror@gmx.de>
9241
9242 * java/net/Authenticator.java: updated JDK 1.4
9243 * java/net/ContentHandler.java: updated JDK 1.4
9244
9245 2002-08-20 Michael Koch <konqueror@gmx.de>
9246
9247 * java/net/URISyntaxException.java: New file.
9248 * java/net/SocketTimeoutException.java: New file.
9249 * java/net/PortUnreachableException.java: New file.
9250 * Makefile.am: Updated.
9251 * Makefile.in: Rebuilt.
9252
9253 2002-08-18 Mark Wielaard <mark@klomp.org>
9254
9255 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9256 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9257 MessageDigestSpi (fixes Classpath bug #783).
9258
9259 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9260
9261 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9262 (startProcess): Allocate path for chdir in async-signal-safe way.
9263
9264 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9265
9266 Fix for PR libgcj/7570 and PR libgcj/7578:
9267 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9268 (startProcess): Handle new `dir' argument.
9269 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9270 argument.
9271 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9272 argument.
9273 (startProcess): Likewise.
9274 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9275 argument.
9276 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9277 (exec): Don't create new environment if ENV==null. Pass DIR to
9278 execInternal.
9279 * java/lang/natRuntime.cc: Include java/io/File.h.
9280 (execInternal): Added `dir' argument.
9281
9282 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9283
9284 * java/io/RandomAccessFile.java (skipBytes): Return number of
9285 bytes skipped.
9286
9287 2002-08-01 Mark Wielaard <mark@klomp.org>
9288
9289 Reenable patch since shared library troubles on powerpc are solved:
9290 * gnu/java/security/provider/Gnu.java: Reference all implementation
9291 classes by using Class.getName().
9292 * gnu/java/security/der/DEREncodingException.java,
9293 gnu/java/security/provider/DERReader.java,
9294 gnu/java/security/provider/DERWriter.java,
9295 gnu/java/security/provider/DSAKeyPairGenerator.java,
9296 gnu/java/security/provider/DSAParameterGenerator.java,
9297 gnu/java/security/provider/DSAParameters.java,
9298 gnu/java/security/provider/DSASignature.java,
9299 gnu/java/security/provider/GnuDSAPrivateKey.java,
9300 gnu/java/security/provider/GnuDSAPublicKey.java,
9301 gnu/java/security/provider/MD5.java,
9302 gnu/java/security/util/Prime.java: New classes
9303 * Makefile.am (ordinary_java_source_files): Add above files.
9304 * Makefile.in: Regenerate.
9305 * gnu/java/security/provider/DefaultPolicy.java
9306 (getPermissions): Don't maintain static class variable of Permissions.
9307 * gnu/java/security/provider/SHA.java
9308 (engineUpdate): algorithm change.
9309 (engineDigest): algorithm change.
9310
9311 2002-08-09 Mark Wielaard <mark@klomp.org>
9312
9313 * java/awt/image/MemoryImageSource.java: Change constructor to take
9314 int[] not byte[].
9315 * java/awt/Graphics2D.java: Uncomment methods that can now be
9316 compiled.
9317 * java/awt/GridBagLayout.java: New stub implementation.
9318 * javax/swing/text/html/HTML.java: Stub implementation.
9319 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9320 implementation.
9321
9322 * Makefile.am: Add new files.
9323 * Makefile.in: Rebuilt.
9324
9325 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9326
9327 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9328 methods in Graphics2D.
9329
9330 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9331
9332 AWT/Swing merge from GNU Classpath.
9333
9334 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9335 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9336 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9337 java/awt/color/ProfileDataException.java,
9338 java/awt/CompositeContext.java, java/awt/Composite.java,
9339 java/awt/ContainerOrderFocusTraversalPolicy.java,
9340 java/awt/datatransfer/FlavorTable.java,
9341 java/awt/DefaultFocusTraversalPolicy.java,
9342 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9343 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9344 java/awt/dnd/DragGestureListener.java,
9345 java/awt/dnd/DragGestureRecognizer.java,
9346 java/awt/dnd/DragSourceAdapter.java,
9347 java/awt/dnd/DragSourceContext.java,
9348 java/awt/dnd/DragSourceDragEvent.java,
9349 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9350 java/awt/dnd/DragSourceListener.java,
9351 java/awt/dnd/DragSourceMotionListener.java,
9352 java/awt/dnd/DropTarget.java,
9353 java/awt/dnd/InvalidDnDOperationException.java,
9354 java/awt/dnd/peer/DragSourceContextPeer.java,
9355 java/awt/event/AWTEventListenerProxy.java,
9356 java/awt/event/MouseWheelEvent.java,
9357 java/awt/event/MouseWheelListener.java,
9358 java/awt/event/WindowFocusListener.java,
9359 java/awt/event/WindowStateListener.java,
9360 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9361 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9362 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9363 java/awt/geom/FlatteningPathIterator.java,
9364 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9365 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9366 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9367 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9368 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9369 java/awt/image/ImagingOpException.java,
9370 java/awt/image/RasterFormatException.java,
9371 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9372 java/awt/image/VolatileImage.java,
9373 java/awt/image/WritableRenderedImage.java,
9374 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9375 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9376 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9377 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9378 java/awt/PageAttributes.java, java/awt/print/Book.java,
9379 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9380 java/awt/print/Paper.java, java/awt/print/Printable.java,
9381 java/awt/print/PrinterAbortException.java,
9382 java/awt/print/PrinterException.java,
9383 java/awt/print/PrinterGraphics.java,
9384 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9385 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9386 java/awt/Stroke.java, java/awt/TexturePaint.java,
9387 javax/accessibility/AccessibleAction.java,
9388 javax/accessibility/AccessibleBundle.java,
9389 javax/accessibility/AccessibleComponent.java,
9390 javax/accessibility/AccessibleContext.java,
9391 javax/accessibility/AccessibleEditableText.java,
9392 javax/accessibility/AccessibleExtendedComponent.java,
9393 javax/accessibility/AccessibleExtendedTable.java,
9394 javax/accessibility/AccessibleHyperlink.java,
9395 javax/accessibility/AccessibleHypertext.java,
9396 javax/accessibility/AccessibleIcon.java,
9397 javax/accessibility/Accessible.java,
9398 javax/accessibility/AccessibleKeyBinding.java,
9399 javax/accessibility/AccessibleRelation.java,
9400 javax/accessibility/AccessibleRelationSet.java,
9401 javax/accessibility/AccessibleResourceBundle.java,
9402 javax/accessibility/AccessibleRole.java,
9403 javax/accessibility/AccessibleSelection.java,
9404 javax/accessibility/AccessibleState.java,
9405 javax/accessibility/AccessibleStateSet.java,
9406 javax/accessibility/AccessibleTable.java,
9407 javax/accessibility/AccessibleTableModelChange.java,
9408 javax/accessibility/AccessibleText.java,
9409 javax/accessibility/AccessibleValue.java,
9410 javax/swing/AbstractAction.java,
9411 javax/swing/AbstractButton.java,
9412 javax/swing/AbstractCellEditor.java,
9413 javax/swing/AbstractListModel.java,
9414 javax/swing/AbstractSet.java, javax/swing/Action.java,
9415 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9416 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9417 javax/swing/border/CompoundBorder.java,
9418 javax/swing/border/EmptyBorder.java,
9419 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9420 javax/swing/border/LineBorder.java,
9421 javax/swing/border/MatteBorder.java,
9422 javax/swing/border/TitledBorder.java,
9423 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9424 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9425 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9426 javax/swing/CellRendererPane.java,
9427 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9428 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9429 javax/swing/colorchooser/ColorSelectionModel.java,
9430 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9431 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9432 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9433 javax/swing/DefaultBoundedRangeModel.java,
9434 javax/swing/DefaultButtonModel.java,
9435 javax/swing/DefaultCellEditor.java,
9436 javax/swing/DefaultCellRenderer.java,
9437 javax/swing/DefaultComboBoxModel.java,
9438 javax/swing/DefaultDesktopManager.java,
9439 javax/swing/DefaultFocusManager.java,
9440 javax/swing/DefaultListCellRenderer.java,
9441 javax/swing/DefaultListModel.java,
9442 javax/swing/DefaultListSelectionModel.java,
9443 javax/swing/DefaultSingleSelectionModel.java,
9444 javax/swing/DesktopManager.java,
9445 javax/swing/event/AncestorEvent.java,
9446 javax/swing/event/AncestorListener.java,
9447 javax/swing/event/CaretEvent.java,
9448 javax/swing/event/CaretListener.java,
9449 javax/swing/event/CellEditorListener.java,
9450 javax/swing/event/ChangeEvent.java,
9451 javax/swing/event/ChangeListener.java,
9452 javax/swing/event/DocumentEvent.java,
9453 javax/swing/event/DocumentListener.java,
9454 javax/swing/event/EventListenerList.java,
9455 javax/swing/event/HyperlinkEvent.java,
9456 javax/swing/event/HyperlinkListener.java,
9457 javax/swing/event/InternalFrameAdapter.java,
9458 javax/swing/event/InternalFrameEvent.java,
9459 javax/swing/event/InternalFrameListener.java,
9460 javax/swing/event/ListDataEvent.java,
9461 javax/swing/event/ListDataListener.java,
9462 javax/swing/event/ListSelectionEvent.java,
9463 javax/swing/event/ListSelectionListener.java,
9464 javax/swing/event/MenuDragMouseEvent.java,
9465 javax/swing/event/MenuDragMouseListener.java,
9466 javax/swing/event/MenuEvent.java,
9467 javax/swing/event/MenuKeyEvent.java,
9468 javax/swing/event/MenuKeyListener.java,
9469 javax/swing/event/MenuListener.java,
9470 javax/swing/event/MouseInputAdapter.java,
9471 javax/swing/event/MouseInputListener.java,
9472 javax/swing/event/PopupMenuEvent.java,
9473 javax/swing/event/PopupMenuListener.java,
9474 javax/swing/event/SwingPropertyChangeSupport.java,
9475 javax/swing/event/TableColumnModelEvent.java,
9476 javax/swing/event/TableColumnModelListener.java,
9477 javax/swing/event/TableModelEvent.java,
9478 javax/swing/event/TableModelListener.java,
9479 javax/swing/event/TreeExpansionEvent.java,
9480 javax/swing/event/TreeExpansionListener.java,
9481 javax/swing/event/TreeModelEvent.java,
9482 javax/swing/event/TreeModelListener.java,
9483 javax/swing/event/TreeSelectionEvent.java,
9484 javax/swing/event/TreeSelectionListener.java,
9485 javax/swing/event/TreeWillExpandListener.java,
9486 javax/swing/event/UndoableEditEvent.java,
9487 javax/swing/event/UndoableEditListener.java,
9488 javax/swing/filechooser/FileFilter.java,
9489 javax/swing/filechooser/FileSystemView.java,
9490 javax/swing/filechooser/FileView.java,
9491 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9492 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9493 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9494 javax/swing/JApplet.java, javax/swing/JButton.java,
9495 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9496 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9497 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9498 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9499 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9500 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9501 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9502 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9503 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9504 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9505 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9506 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9507 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9508 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9509 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9510 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9511 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9512 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9513 javax/swing/JToolTip.java, javax/swing/JTree.java,
9514 javax/swing/JViewport.java, javax/swing/JWindow.java,
9515 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9516 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9517 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9518 javax/swing/MenuSelectionManager.java,
9519 javax/swing/MutableComboBoxModel.java,
9520 javax/swing/OverlayLayout.java,
9521 javax/swing/plaf/ActionMapUIResource.java,
9522 javax/swing/plaf/basic/BasicBorders.java,
9523 javax/swing/plaf/basic/BasicButtonUI.java,
9524 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9525 javax/swing/plaf/basic/BasicDefaults.java,
9526 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9527 javax/swing/plaf/basic/BasicIconFactory.java,
9528 javax/swing/plaf/basic/BasicLabelUI.java,
9529 javax/swing/plaf/basic/BasicListUI.java,
9530 javax/swing/plaf/basic/BasicLookAndFeel.java,
9531 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9532 javax/swing/plaf/basic/BasicPanelUI.java,
9533 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9534 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9535 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9536 javax/swing/plaf/basic/BasicTextUI.java,
9537 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9538 javax/swing/plaf/basic/BasicTreeUI.java,
9539 javax/swing/plaf/basic/BasicViewportUI.java,
9540 javax/swing/plaf/BorderUIResource.java,
9541 javax/swing/plaf/ButtonUI.java,
9542 javax/swing/plaf/ColorChooserUI.java,
9543 javax/swing/plaf/ColorUIResource.java,
9544 javax/swing/plaf/ComboBoxUI.java,
9545 javax/swing/plaf/ComponentInputMapUIResource.java,
9546 javax/swing/plaf/ComponentUI.java,
9547 javax/swing/plaf/DesktopIconUI.java,
9548 javax/swing/plaf/DesktopPaneUI.java,
9549 javax/swing/plaf/DimensionUIResource.java,
9550 javax/swing/plaf/FileChooserUI.java,
9551 javax/swing/plaf/FontUIResource.java,
9552 javax/swing/plaf/IconUIResource.java,
9553 javax/swing/plaf/InputMapUIResource.java,
9554 javax/swing/plaf/InsetsUIResource.java,
9555 javax/swing/plaf/InternalFrameUI.java,
9556 javax/swing/plaf/LabelUI.java,
9557 javax/swing/plaf/ListUI.java,
9558 javax/swing/plaf/MenuBarUI.java,
9559 javax/swing/plaf/MenuItemUI.java,
9560 javax/swing/plaf/OptionPaneUI.java,
9561 javax/swing/plaf/PanelUI.java,
9562 javax/swing/plaf/PopupMenuUI.java,
9563 javax/swing/plaf/ProgressBarUI.java,
9564 javax/swing/plaf/RootPaneUI.java,
9565 javax/swing/plaf/ScrollBarUI.java,
9566 javax/swing/plaf/ScrollPaneUI.java,
9567 javax/swing/plaf/SeparatorUI.java,
9568 javax/swing/plaf/SliderUI.java,
9569 javax/swing/plaf/SplitPaneUI.java,
9570 javax/swing/plaf/TabbedPaneUI.java,
9571 javax/swing/plaf/TableHeaderUI.java,
9572 javax/swing/plaf/TableUI.java,
9573 javax/swing/plaf/TextUI.java,
9574 javax/swing/plaf/ToolBarUI.java,
9575 javax/swing/plaf/ToolTipUI.java,
9576 javax/swing/plaf/TreeUI.java,
9577 javax/swing/plaf/UIResource.java,
9578 javax/swing/plaf/ViewportUI.java,
9579 javax/swing/ProgressMonitorInputStream.java,
9580 javax/swing/ProgressMonitor.java,
9581 javax/swing/Renderer.java,
9582 javax/swing/RepaintManager.java,
9583 javax/swing/RootPaneContainer.java,
9584 javax/swing/Scrollable.java,
9585 javax/swing/ScrollPaneConstants.java,
9586 javax/swing/ScrollPaneLayout.java,
9587 javax/swing/SingleSelectionModel.java,
9588 javax/swing/SizeRequirements.java,
9589 javax/swing/SizeSequence.java,
9590 javax/swing/SwingConstants.java,
9591 javax/swing/SwingUtilities.java,
9592 javax/swing/table/AbstractTableModel.java,
9593 javax/swing/table/DefaultTableCellRenderer.java,
9594 javax/swing/table/DefaultTableColumnModel.java,
9595 javax/swing/table/DefaultTableModel.java,
9596 javax/swing/table/TableCellEditor.java,
9597 javax/swing/table/TableCellRenderer.java,
9598 javax/swing/table/TableColumn.java,
9599 javax/swing/table/TableColumnModel.java,
9600 javax/swing/table/TableModel.java,
9601 javax/swing/text/AbstractDocument.java,
9602 javax/swing/text/AttributeSet.java,
9603 javax/swing/text/BadLocationException.java,
9604 javax/swing/text/Caret.java,
9605 javax/swing/text/CharacterIterator.java,
9606 javax/swing/text/ComponentView.java,
9607 javax/swing/text/DefaultCaret.java,
9608 javax/swing/text/DefaultEditorKit.java,
9609 javax/swing/text/Document.java,
9610 javax/swing/text/EditorKit.java,
9611 javax/swing/text/Element.java,
9612 javax/swing/text/GapContent.java,
9613 javax/swing/text/JTextComponent.java,
9614 javax/swing/text/Keymap.java,
9615 javax/swing/text/MutableAttributeSet.java,
9616 javax/swing/text/PlainDocument.java,
9617 javax/swing/text/PlainEditorKit.java,
9618 javax/swing/text/Position.java,
9619 javax/swing/text/Segment.java,
9620 javax/swing/text/StyledDocument.java,
9621 javax/swing/text/StyledEditorKit.java,
9622 javax/swing/text/Style.java,
9623 javax/swing/text/TextAction.java,
9624 javax/swing/text/ViewFactory.java,
9625 javax/swing/text/View.java,
9626 javax/swing/Timer.java,
9627 javax/swing/ToggleButtonModel.java,
9628 javax/swing/ToolTipManager.java,
9629 javax/swing/tree/AbstractLayoutCache.java,
9630 javax/swing/tree/DefaultMutableTreeNode.java,
9631 javax/swing/tree/DefaultTreeCellEditor.java,
9632 javax/swing/tree/DefaultTreeCellRenderer.java,
9633 javax/swing/tree/DefaultTreeModel.java,
9634 javax/swing/tree/DefaultTreeSelectionModel.java,
9635 javax/swing/tree/ExpandVetoException.java,
9636 javax/swing/tree/FixedHeightLayoutCache.java,
9637 javax/swing/tree/MutableTreeNode.java,
9638 javax/swing/tree/RowMapper.java,
9639 javax/swing/tree/TreeCellEditor.java,
9640 javax/swing/tree/TreeCellRenderer.java,
9641 javax/swing/tree/TreeModel.java,
9642 javax/swing/tree/TreeNode.java,
9643 javax/swing/tree/TreePath.java,
9644 javax/swing/tree/TreeSelectionModel.java,
9645 javax/swing/tree/VariableHeightLayoutCache.java,
9646 javax/swing/UIDefaults.java,
9647 javax/swing/UIManager.java,
9648 javax/swing/undo/AbstractUndoableEdit.java,
9649 javax/swing/undo/CannotRedoException.java,
9650 javax/swing/undo/CannotUndoException.java,
9651 javax/swing/undo/CompoundEdit.java,
9652 javax/swing/undo/StateEditable.java,
9653 javax/swing/undo/StateEdit.java,
9654 javax/swing/undo/UndoableEdit.java,
9655 javax/swing/undo/UndoableEditSupport.java,
9656 javax/swing/undo/UndoManager.java,
9657 javax/swing/UnsupportedLookAndFeelException.java,
9658 javax/swing/ViewportLayout.java,
9659 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9660
9661 * java/awt/ActiveEvent.java,
9662 java/awt/Adjustable.java, java/awt/AWTError.java,
9663 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9664 java/awt/AWTException.java, java/awt/AWTPermission.java,
9665 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9666 java/awt/Color.java, java/awt/Component.java,
9667 java/awt/ComponentOrientation.java, java/awt/Container.java,
9668 java/awt/datatransfer/MimeTypeParseException.java,
9669 java/awt/datatransfer/Transferable.java,
9670 java/awt/datatransfer/UnsupportedFlavorException.java,
9671 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9672 java/awt/event/ActionListener.java,
9673 java/awt/event/AdjustmentEvent.java,
9674 java/awt/event/AdjustmentListener.java,
9675 java/awt/event/AWTEventListener.java,
9676 java/awt/event/ComponentAdapter.java,
9677 java/awt/event/ComponentEvent.java,
9678 java/awt/event/ComponentListener.java,
9679 java/awt/event/ContainerAdapter.java,
9680 java/awt/event/ContainerEvent.java,
9681 java/awt/event/ContainerListener.java,
9682 java/awt/event/FocusAdapter.java,
9683 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9684 java/awt/event/HierarchyBoundsAdapter.java,
9685 java/awt/event/HierarchyBoundsListener.java,
9686 java/awt/event/HierarchyEvent.java,
9687 java/awt/event/HierarchyListener.java,
9688 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9689 java/awt/event/InputMethodListener.java,
9690 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9691 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9692 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9693 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9694 java/awt/event/MouseListener.java,
9695 java/awt/event/MouseMotionAdapter.java,
9696 java/awt/event/MouseMotionListener.java,
9697 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9698 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9699 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9700 java/awt/event/WindowListener.java, java/awt/Font.java,
9701 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9702 java/awt/geom/Ellipse2D.java,
9703 java/awt/geom/IllegalPathStateException.java,
9704 java/awt/geom/Line2D.java,
9705 java/awt/geom/NoninvertibleTransformException.java,
9706 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9707 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9708 java/awt/geom/RoundRectangle2D.java,
9709 java/awt/GraphicsConfiguration.java,
9710 java/awt/IllegalComponentStateException.java,
9711 java/awt/image/IndexColorModel.java,
9712 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9713 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9714 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9715 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9716 java/awt/MenuItem.java, java/awt/PaintContext.java,
9717 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9718 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9719 java/awt/PrintJob.java, java/awt/Rectangle.java,
9720 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9721 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9722 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9723
9724 * java/awt/im/spi/InputMethod.java,
9725 java/awt/im/spi/InputMethodContext.java,
9726 java/awt/im/spi/InputMethodDescriptor.java,
9727 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9728 java/awt/image/renderable/ParameterBlock.java,
9729 java/awt/image/renderable/RenderContext.java,
9730 java/awt/image/renderable/RenderableImage.java,
9731 java/awt/image/renderable/RenderableImageOp.java,
9732 java/awt/image/renderable/RenderableImageProducer.java,
9733 java/awt/image/renderable/RenderedImageFactory.java: New files from
9734 classpath.
9735
9736 * gnu/java/awt/EventModifier.java,
9737 gnu/java/awt/image/ImageDecoder.java,
9738 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9739
9740 * gnu/awt/xlib/XGraphicsConfiguration.java,
9741 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9742 API.
9743
9744 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9745 GNU Classpath.
9746
9747 * Makefile.am: Add new files.
9748 * Makefile.in: Rebuilt.
9749
9750 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9751
9752 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9753 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9754 findResource, getResources, findResources): Add javadoc from classpath.
9755 (getSystemResources): Implemented.
9756
9757 2002-08-01 Mark Wielaard <mark@klomp.org>
9758
9759 Revert patch that breaks libgcj shared library on powerpc:
9760 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9761 implementation classes by using Class.getName(). Uses Strings again.
9762 * gnu/java/security/der/DEREncodingException.java,
9763 gnu/java/security/provider/DERReader.java,
9764 gnu/java/security/provider/DERWriter.java,
9765 gnu/java/security/provider/DSAKeyPairGenerator.java,
9766 gnu/java/security/provider/DSAParameterGenerator.java,
9767 gnu/java/security/provider/DSAParameters.java,
9768 gnu/java/security/provider/DSASignature.java,
9769 gnu/java/security/provider/GnuDSAPrivateKey.java,
9770 gnu/java/security/provider/GnuDSAPublicKey.java,
9771 gnu/java/security/provider/MD5.java,
9772 gnu/java/security/util/Prime.java: Removed.
9773 * Makefile.am (ordinary_java_source_files): Remove above files.
9774 * Makefile.in: Regenerate.
9775 * gnu/java/security/provider/DefaultPolicy.java
9776 (getPermissions): Revert to maintaining static class variable of
9777 Permissions.
9778 * gnu/java/security/provider/SHA.java
9779 (engineUpdate): Revert algorithm change.
9780 (engineDigest): Revert algorithm change.
9781
9782 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9783
9784 * configure.host: Add SH support.
9785 * sysdep/sh/locks.h: New file.
9786
9787 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9788
9789 * java/awt/Frame.java (Frame): Remove println calls.
9790
9791 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9792
9793 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9794 * configure: Rebuilt.
9795
9796 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9797
9798 * sysdep/powerpc/locks.h: Formatting.
9799 (_LARX): Define.
9800 (_STCX): Define.
9801 (compare_and_swap): Use _LARX and _STCX.
9802 (compare_and_swap_release): Likewise.
9803
9804 2002-07-26 Tom Tromey <tromey@redhat.com>
9805
9806 * java/net/Authenticator.java: New version from Classpath.
9807 * java/net/DatagramSocketImpl.java: New version from Classpath.
9808
9809 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9810
9811 * configure.host: Add powerpc64*-* entry.
9812
9813 2002-07-26 Tom Tromey <tromey@redhat.com>
9814
9815 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9816 fcntl.h.
9817
9818 2002-07-24 Tom Tromey <tromey@redhat.com>
9819
9820 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9821 argument to _load.
9822
9823 2002-07-24 Tom Tromey <tromey@redhat.com>
9824 Tony Kimball <alk@pobox.com>
9825
9826 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9827 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9828 * java/io/RandomAccessFile.java (setLength): New method.
9829 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9830 * java/io/FileDescriptor.java (setLength): New method.
9831
9832 2002-07-24 Mark Wielaard <mark@klomp.org>
9833
9834 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9835 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9836 field call setAccessible(true).
9837 (setByteField): Likewise.
9838 (setCharField): Likewise.
9839 (setDoubleField): Likewise.
9840 (setFloatField): Likewise.
9841 (setIntField): Likewise.
9842 (setLongField): Likewise.
9843 (setShortField): Likewise.
9844 (setObjectField): Likewise.
9845
9846 2002-07-24 Tom Tromey <tromey@redhat.com>
9847
9848 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9849 use toString() to format array element.
9850
9851 2002-07-23 Mark Wielaard <mark@klomp.org>
9852
9853 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9854 MessageDigestSpi (fixes Classpath bug #783).
9855
9856 2002-07-21 Mark Wielaard <mark@klomp.org>
9857
9858 * gnu/java/security/provider/Gnu.java: Reference all implementation
9859 classes by using Class.getName().
9860
9861 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9862
9863 * java/lang/ieeefp.h: Add x86-64 support.
9864 * configure.in: Likewise.
9865 * configure.host: Likewise.
9866 * configure: Regenerated.
9867 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9868
9869 2002-07-16 Mark Wielaard <mark@klomp.org>
9870
9871 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9872 (whitespaceChars): call resetChar().
9873
9874 2002-07-15 Tom Tromey <tromey@redhat.com>
9875
9876 * Makefile.in: Rebuilt.
9877 * Makefile.am (awt_java_source_files): Added new files.
9878 * java/beans/ExceptionListener.java: Merged with Classpath.
9879 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9880 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9881 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9882 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9883 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9884 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9885 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9886
9887 2002-07-14 Mark Wielaard <mark@klomp.org>
9888
9889 * gnu/java/security/der/DEREncodingException.java,
9890 gnu/java/security/provider/DERReader.java,
9891 gnu/java/security/provider/DERWriter.java,
9892 gnu/java/security/provider/DSAKeyPairGenerator.java,
9893 gnu/java/security/provider/DSAParameterGenerator.java,
9894 gnu/java/security/provider/DSAParameters.java,
9895 gnu/java/security/provider/DSASignature.java,
9896 gnu/java/security/provider/GnuDSAPrivateKey.java,
9897 gnu/java/security/provider/GnuDSAPublicKey.java,
9898 gnu/java/security/provider/MD5.java,
9899 gnu/java/security/util/Prime.java: New files from Classpath.
9900 * Makefile.am (ordinary_java_source_files): Add new files.
9901 * Makefile.in: Regenerate.
9902
9903 2002-07-14 C. Brian Jones <cbj@gnu.org>
9904
9905 * gnu/java/security/provider/DefaultPolicy.java
9906 (getPermissions): do not maintain static class variable of
9907 Permissions
9908 * gnu/java/security/provider/SHA.java
9909 (engineUpdate): algorithm change
9910 (engineDigest): algorithm change
9911
9912 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9913
9914 For PR libgcj/7292:
9915 * java/lang/Character.java (toString(char)): Now static.
9916
9917 2002-07-12 Mark Wielaard <mark@klomp.org>
9918
9919 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9920 (getStackTrace0): new method.
9921 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9922 (printStackTrace(PrintWriter)): replace with pure java implementation.
9923 (printRawStackTrace): removed.
9924 (getStackTrace0): new method.
9925 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9926 * gcj/javaprims.h: regenerate class list.
9927 * include/name-finder.h (lookup): new returns StackTraceElement*.
9928 (method_name, file_name): fields removed.
9929 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9930 (~_Jv_name_finder): close new descriptors.
9931 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9932 (createStackTraceElement): new method.
9933 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9934
9935 2002-07-10 Tom Tromey <tromey@redhat.com>
9936
9937 * configure: Rebuilt.
9938 * configure.in: Use `test' after `&&'. From Chris Faylor.
9939
9940 2002-07-08 Mark Wielaard <mark@klomp.org>
9941
9942 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9943 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9944 java.sql.DatabaseMetaData.TestJdbc20
9945
9946 2002-07-05 Tony Kimball <alk@pobox.com>
9947
9948 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9949
9950 2002-07-04 Tom Tromey <tromey@redhat.com>
9951 Jeff Sturm <jsturm@one-point.com>
9952
9953 Fix for PR libgcj/7060:
9954 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9955 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9956 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9957 * java/lang/Class.java (getMethod): New Java implementation;
9958 complies with spec.
9959 (_getMethod): New native method.
9960
9961 2002-07-02 Tom Tromey <tromey@redhat.com>
9962 David Hovemeyer <daveho@cs.umd.edu>
9963
9964 * java/text/ChoiceFormat.java
9965 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9966 in check loop.
9967 * java/text/MessageFormat.java
9968 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9969 to MessageFormat.
9970
9971 2002-07-01 Tom Tromey <tromey@redhat.com>
9972
9973 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9974 StringTokenizer on null string. For PR libgcj/7180.
9975 From daveho@cs.umd.edu.
9976
9977 2002-06-24 Tom Tromey <tromey@redhat.com>
9978
9979 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9980 (IntegerClass): Likewise.
9981 * java/lang/natClass.cc (CloneableClass): Removed.
9982 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9983 ConstructorClass): Likewise.
9984 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9985 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9986 SerializableClass): Likewise.
9987 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9988 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9989 LongClass, FloatClass, DoubleClass): Likewise.
9990
9991 * verify.cc (branch_prepass): Updated for change to exception
9992 handler type.
9993 (verify_instructions_0): Likewise.
9994 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9995 (handleExceptionTableEntry): Updated for change to exception
9996 handler type.
9997 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9998 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9999 (union _Jv_InterpPC): New.
10000 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
10001 (class _Jv_InterpMethod): Added new `prepared' field.
10002 (class _Jv_InterpMethod): Added `compile' method. Removed
10003 `continue1' and `find_exception'. Changed arguments to `run'.
10004 * interpret.cc (union insn_slot): New.
10005 (find_exception): Removed.
10006 (run_normal): Removed most logic.
10007 (run_synch_object): Likewise; also, use JvSynchronize.
10008 (run_synch_class): Likewise.
10009 (run): Removed.
10010 (continue1): Renamed as `run'. Compile bytecode if required.
10011 Add new code to allow refinement of direct-threaded code at
10012 runtime. Handle exceptions.
10013 (SAVE_PC): Removed.
10014 (compile): New method.
10015 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
10016 (NULLARRAYCHECK): Don't use SAVE_PC.
10017 (pc_t): New typedef.
10018 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
10019 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
10020
10021 2002-06-23 Tom Tromey <tromey@redhat.com>
10022
10023 * configure: Rebuilt.
10024 * configure.in (INTERPRETER): New subst.
10025 (AM_RUNTESTFLAGS): Don't subst.
10026
10027 * Makefile.in: Rebuilt.
10028 * Makefile.am ($(srcdir)/java/lang/Object.h,
10029 $(srcdir)/java/lang/Class.h): Added dummy targets.
10030
10031 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10032
10033 Reformat JDBC classes and add new JDK 1.4 classes and methods.
10034
10035 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
10036 java/sql/Savepoint.java: New files.
10037 * java/sql/Array.java, java/sql/BatchUpdateException.java,
10038 java/sql/Blob.java, java/sql/CallableStatement.java,
10039 java/sql/Clob.java, java/sql/Connection.java,
10040 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
10041 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
10042 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
10043 java/sql/Ref.java, java/sql/ResultSet.java,
10044 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
10045 java/sql/SQLException.java, java/sql/SQLInput.java,
10046 java/sql/SQLOutput.java, java/sql/SQLWarning.java
10047 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
10048 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
10049 (JDK 1.4) specification.
10050 * javax/sql/ConnectionEvent.java,
10051 javax/sql/ConnectionEventListener.java,
10052 javax/sql/ConnectionPoolDataSource.java,
10053 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
10054 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
10055 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
10056 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
10057 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
10058 javax/sql/XADataSource.java: New files.
10059 * Makefile.am: Add new files.
10060 * Makefile.in: Rebuilt.
10061
10062 2002-06-20 Tom Tromey <tromey@redhat.com>
10063
10064 For PR libgcj/7073:
10065 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10066 exists.
10067 * defineclass.cc (handleClassBegin): Superclass for interface is
10068 `null'.
10069
10070 2002-06-18 Tom Tromey <tromey@redhat.com>
10071
10072 * gcj/javaprims.h: Updated class declaration list.
10073 * Makefile.in: Rebuilt.
10074 * Makefile.am (core_java_source_files): Removed
10075 BasicMapEntry.java.
10076 * java/util/BasicMapEntry.java: Removed.
10077
10078 2002-06-18 Jeff Sturm <jsturm@one-point.com>
10079
10080 * java/net/natPlainDatagramSocketImpl.cc (receive):
10081 Check bounds of argument to FD_SET.
10082 (setOption): Throw exception if socket is closed.
10083
10084 * java/net/natPlainSocketImpl.cc (accept, read):
10085 Check bounds of argument to FD_SET.
10086 (setOption): Throw exception if socket is closed.
10087
10088 2002-06-18 Tom Tromey <tromey@redhat.com>
10089
10090 * gcj/javaprims.h: Updated class declaration list.
10091 * Makefile.in: Rebuilt.
10092 * Makefile.am (core_java_source_files): Added
10093 PropertyPermissionCollection.java.
10094 * java/lang/Thread.java (group, name): Now package-private.
10095 * java/lang/ThreadGroup.java: Re-merge with Classpath.
10096 * java/util/AbstractList.java: Likewise.
10097 * java/util/AbstractMap.java: Likewise.
10098 * java/util/Calendar.java: Likewise.
10099 * java/util/Collections.java: Likewise.
10100 * java/util/HashMap.java: Likewise.
10101 * java/util/Hashtable.java: Likewise.
10102 * java/util/LinkedHashMap.java: Likewise.
10103 * java/util/LinkedList.java: Likewise.
10104 * java/util/List.java: Likewise.
10105 * java/util/ListResourceBundle.java: Likewise.
10106 * java/util/Map.java: Likewise.
10107 * java/util/Observable.java: Likewise.
10108 * java/util/Properties.java: Likewise.
10109 * java/util/PropertyPermission.java: Likewise.
10110 * java/util/PropertyPermissionCollection.java: Likewise.
10111 * java/util/PropertyResourceBundle.java: Likewise.
10112 * java/util/Random.java: Likewise.
10113 * java/util/SimpleTimeZone.java: Likewise.
10114 * java/util/StringTokenizer.java: Likewise.
10115 * java/util/TimerTask.java: Likewise.
10116 * java/util/TreeMap.java: Likewise.
10117 * java/util/WeakHashMap.java: Likewise.
10118 * java/util/jar/Attributes.java: Likewise.
10119 * java/util/jar/JarException.java: Likewise.
10120 * java/util/jar/Manifest.java: Likewise.
10121
10122 2002-06-17 Tom Tromey <tromey@redhat.com>
10123
10124 * gcj/javaprims.h: Updated class declaration list.
10125 * Makefile.in: Rebuilt.
10126 * Makefile.am (core_java_source_files): Added new file.
10127 * java/util/EventListenerProxy.java: New file.
10128 * java/util/EventListener.java: Re-merge with Classpath.
10129 * java/util/EventObject.java: Re-merge with Classpath.
10130
10131 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10132
10133 * java/lang/ClassNotFoundException.java: New Classpath version.
10134
10135 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10136
10137 * java/rmi/activation/ActivateFailedException.java: Remerge from
10138 Classpath version.
10139 * java/rmi/activation/ActivationException.java: Ditto.
10140 * java/rmi/activation/UnknownGroupException.java: Ditto.
10141 * java/rmi/activation/UnknownObjectException.java: Ditto.
10142 * java/rmi/server/ExportException: Ditto.
10143 * java/rmi/server/ServerCloneException: Ditto.
10144 * java/rmi/server/ServerNotActiveException: Ditto.
10145 * java/rmi/server/SkeletonMismatchException: Ditto.
10146 * java/rmi/server/SkeletonNotFoundException: Ditto.
10147 * java/rmi/server/SocketSecurityException: Ditto.
10148
10149 2002-06-16 Tom Tromey <tromey@redhat.com>
10150
10151 * gcj/javaprims.h: Updated class declaration list.
10152
10153 * java/io/LineNumberInputStream.java: Merged with Classpath.
10154
10155 * java/lang/RuntimeException.java: Re-merge with Classpath.
10156 * java/util/ArrayList.java: Likewise.
10157 * java/util/Arrays.java: Likewise.
10158 * java/util/BitSet.java: Likewise.
10159 * java/util/Dictionary.java: Likewise.
10160 * java/util/IdentityHashMap.java: Likewise.
10161 * java/util/MissingResourceException.java: Likewise.
10162 * java/util/Observer.java: Likewise.
10163 * java/util/TooManyListenersException.java: Likewise.
10164 * java/util/zip/DataFormatException.java: Likewise.
10165 * java/util/zip/ZipException.java: Likewise.
10166
10167 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
10168
10169 * java/rmi/AccessException.java: Remerge from Classpath.
10170 * java/rmi/AlreadyBoundException.java: Ditto.
10171 * java/rmi/ConnectException.java: Ditto.
10172 * java/rmi/ConnectIOException.java: Ditto.
10173 * java/rmi/MarshalException.java: Ditto.
10174 * java/rmi/NoSuchObjectException.java: Ditto.
10175 * java/rmi/NotBoundException.java: Ditto.
10176 * java/rmi/RemoteException.java: Ditto.
10177 * java/rmi/RMISecurityException.java: Ditto.
10178 * java/rmi/ServerError.java: Ditto.
10179 * java/rmi/ServerException.java: Ditto.
10180 * java/rmi/ServerRuntimeException.java: Ditto.
10181 * java/rmi/StubNotFoundException.java: Ditto.
10182 * java/rmi/UnexpectedExcpetion.java: Ditto.
10183 * java/rmi/UnknownHostException.java: Ditto.
10184 * java/rmi/UnmarshalException.java: Ditto.
10185
10186 2002-06-15 Tom Tromey <tromey@redhat.com>
10187
10188 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10189 * java/lang/ArithmeticException.java: Likewise.
10190 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10191 * java/lang/ArrayStoreException.java: Likewise.
10192 * java/lang/Byte.java: Likewise.
10193 * java/lang/CharSequence.java: Likewise.
10194 * java/lang/ClassCastException.java: Likewise.
10195 * java/lang/ClassCircularityError.java: Likewise.
10196 * java/lang/ClassFormatError.java: Likewise.
10197 * java/lang/CloneNotSupportedException.java: Likewise.
10198 * java/lang/Cloneable.java: Likewise.
10199 * java/lang/Comparable.java: Likewise.
10200 * java/lang/Compiler.java: Likewise.
10201 * java/lang/Error.java: Likewise.
10202 * java/lang/ExceptionInInitializerError.java: Likewise.
10203 * java/lang/IllegalAccessError.java: Likewise.
10204 * java/lang/IllegalAccessException.java: Likewise.
10205 * java/lang/IllegalArgumentException.java: Likewise.
10206 * java/lang/IllegalMonitorStateException.java: Likewise.
10207 * java/lang/IllegalStateException.java: Likewise.
10208 * java/lang/IllegalThreadStateException.java: Likewise.
10209 * java/lang/IncompatibleClassChangeError.java: Likewise.
10210 * java/lang/IndexOutOfBoundsException.java: Likewise.
10211 * java/lang/InheritableThreadLocal.java: Likewise.
10212 * java/lang/InstantiationError.java: Likewise.
10213 * java/lang/InstantiationException.java: Likewise.
10214 * java/lang/InternalError.java: Likewise.
10215 * java/lang/InterruptedException.java: Likewise.
10216 * java/lang/LinkageError.java: Likewise.
10217 * java/lang/NegativeArraySizeException.java: Likewise.
10218 * java/lang/NoClassDefFoundError.java: Likewise.
10219 * java/lang/NoSuchFieldError.java: Likewise.
10220 * java/lang/NoSuchFieldException.java: Likewise.
10221 * java/lang/NoSuchMethodError.java: Likewise.
10222 * java/lang/NoSuchMethodException.java: Likewise.
10223 * java/lang/NullPointerException.java: Likewise.
10224 * java/lang/NumberFormatException.java: Likewise.
10225 * java/lang/OutOfMemoryError.java: Likewise.
10226 * java/lang/Process.java: Likewise.
10227 * java/lang/Runnable.java: Likewise.
10228 * java/lang/RuntimePermission.java: Likewise.
10229 * java/lang/SecurityException.java: Likewise.
10230 * java/lang/Short.java: Likewise.
10231 * java/lang/StackOverflowError.java: Likewise.
10232 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10233 * java/lang/ThreadDeath.java: Likewise.
10234 * java/lang/ThreadLocal.java: Likewise.
10235 * java/lang/UnknownError.java: Likewise.
10236 * java/lang/UnsatisfiedLinkError.java: Likewise.
10237 * java/lang/UnsupportedClassVersionError.java: Likewise.
10238 * java/lang/UnsupportedOperationException.java: Likewise.
10239 * java/lang/VerifyError.java: Likewise.
10240 * java/lang/VirtualMachineError.java: Likewise.
10241 * java/lang/reflect/InvocationTargetException.java: Likewise.
10242 * java/net/BindException.java: Likewise.
10243 * java/net/ConnectException.java: Likewise.
10244 * java/net/MalformedURLException.java: Likewise.
10245 * java/net/NoRouteToHostException.java: Likewise.
10246 * java/net/ProtocolException.java: Likewise.
10247 * java/net/SocketException.java: Likewise.
10248 * java/net/UnknownHostException.java: Likewise.
10249 * java/net/UnknownServiceException.java: Likewise.
10250
10251 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10252 * java/io/CharConversionException.java: Likewise.
10253 * java/io/EOFException.java: Likewise.
10254 * java/io/FileNotFoundException.java: Likewise.
10255 * java/io/IOException.java: Likewise.
10256 * java/io/InterruptedIOException.java: Likewise.
10257 * java/io/InvalidClassException.java: Likewise.
10258 * java/io/InvalidObjectException.java: Likewise.
10259 * java/io/NotActiveException.java: Likewise.
10260 * java/io/NotSerializableException.java: Likewise.
10261 * java/io/ObjectStreamException.java: Likewise.
10262 * java/io/ObjectStreamConstants.java: Likewise.
10263 * java/io/OptionalDataException.java: Likewise.
10264 * java/io/PipedInputStream.java: Likewise.
10265 * java/io/PushbackInputStream.java: Likewise.
10266 * java/io/StreamCorruptedException.java: Likewise.
10267 * java/io/SyncFailedException.java: Likewise.
10268 * java/io/UTFDataFormatException.java: Likewise.
10269 * java/io/UnsupportedEncodingException.java: Likewise.
10270 * java/io/WriteAbortedException.java: Likewise.
10271
10272 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10273
10274 * java/text/ChoiceFormat.java: Update comments from Classpath.
10275 * java/text/ParseException.java (serialVersionUID): New
10276 field from Classpath.
10277 * java/text/ParseException.java: Update formatting & comments
10278 from Classpath.
10279
10280 2002-06-15 Tom Tromey <tromey@redhat.com>
10281
10282 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10283 been read but none output by inflater.
10284 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10285 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10286 is_finished.
10287 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10288 version.
10289 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10290 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10291 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10292 version.
10293 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10294
10295 2002-06-13 Tom Tromey <tromey@redhat.com>
10296
10297 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10298 true and OFFSET!=0.
10299 * java/lang/String.java (String(char[],int,int,boolean): New
10300 constructor.
10301 * java/lang/Long.java: Imported new version from Classpath.
10302 * java/lang/Number.java: Likewise.
10303 * java/lang/Integer.java: Likewise.
10304 * java/lang/Long.java: Likewise.
10305 * java/lang/Float.java: Likewise.
10306 * java/lang/Boolean.java: Likewise.
10307 * java/lang/Double.java: Likewise.
10308 * java/lang/Void.java: Likewise.
10309
10310 2002-06-12 Tom Tromey <tromey@redhat.com>
10311
10312 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10313 Fixes PR libgcj/6652.
10314
10315 2002-06-10 Tom Tromey <tromey@redhat.com>
10316
10317 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10318 (Class::getPackagePortion): Likewise.
10319 * java/lang/Class.java (desiredAssertionStatus): New method from
10320 Classpath.
10321 (getPackagePortion): Likewise.
10322 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10323 packageAssertionStatus, classAssertionStatus): New methods from
10324 Classpath.
10325 * java/lang/ClassLoader.java (defaultAssertionStatus,
10326 systemPackageAssertionStatus, packageAssertionStatus,
10327 systemClassAssertionStatus, classAssertionStatus): New fields from
10328 Classpath.
10329 (setDefaultAssertionStatus, setPackageAssertionStatus,
10330 setClassAssertionStatus, clearAssertionStatus): New methods from
10331 Classpath.
10332 * Makefile.in: Rebuilt.
10333 * Makefile.am (core_java_source_files): Added AssertionError.java.
10334 * java/lang/AssertionError.java: New from Classpath.
10335
10336 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10337
10338 * configure.host: Disable hash synchronization and slow_pthread_self
10339 for cygwin.
10340
10341 2002-06-06 Adam Megacz <adam@xwt.org>
10342
10343 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10344 locking, just like the Sun JVM does.
10345
10346 2002-06-05 H.J. Lu (hjl@gnu.org)
10347
10348 * Makefile.am (libgcj_convenience.la): Revert the last change.
10349 (libgcj.la): Likewise.
10350 * Makefile.in: Regenerated.
10351
10352 2002-06-04 H.J. Lu (hjl@gnu.org)
10353
10354 * Makefile.am (libgcj_convenience.la): New target.
10355 (libgcj.la): Depend on libgcj_convenience.la.
10356 * Makefile.in: Regenerated.
10357
10358 2002-06-04 H.J. Lu (hjl@gnu.org)
10359
10360 * configure.in (--with-newlib): New option:
10361 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10362 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10363 Linux.
10364 * configure: Regenerated.
10365
10366 2002-06-04 Tom Tromey <tromey@redhat.com>
10367
10368 * java/util/natTimeZone.cc: Include <stdio.h>.
10369
10370 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10371
10372 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10373 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10374 Set SIGNAL_HANDLER=include/s390-linux.h.
10375 * configure: Regenerate.
10376 * include/s390-linux.h: New file.
10377
10378 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10379
10380 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10381 not "stackTrace".
10382
10383 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10384
10385 Merge JDK 1.4 java.security changes from classpath.
10386
10387 * java/security/AccessControlException.java: Merge from Classpath.
10388 * java/security/AccessController.java: Likewise.
10389 * java/security/AllPermission.java: Likewise.
10390 * java/security/BasicPermission.java: Likewise.
10391 * java/security/Certificate.java: Likewise.
10392 * java/security/CodeSource.java: Likewise.
10393 * java/security/DigestException.java: Likewise.
10394 * java/security/DigestOutputStream.java: Likewise.
10395 * java/security/DomainCombiner.java: Likewise.
10396 * java/security/GeneralSecurityException.java: Likewise.
10397 * java/security/Guard.java: Likewise.
10398 * java/security/GuardedObject.java: Likewise.
10399 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10400 * java/security/InvalidKeyException.java: Likewise.
10401 * java/security/InvalidParameterException.java: Likewise.
10402 * java/security/Key.java: Likewise.
10403 * java/security/KeyException.java: Likewise.
10404 * java/security/KeyManagementException.java: Likewise.
10405 * java/security/KeyStoreException.java: Likewise.
10406 * java/security/MessageDigest.java: Likewise.
10407 * java/security/NoSuchAlgorithmException.java: Likewise.
10408 * java/security/NoSuchProviderException.java: Likewise.
10409 * java/security/Permission.java: Likewise.
10410 * java/security/PermissionCollection.java: Likewise.
10411 * java/security/Permissions.java: Likewise.
10412 * java/security/Policy.java: Likewise.
10413 * java/security/Principal.java: Likewise.
10414 * java/security/PrivateKey.java: Likewise.
10415 * java/security/PrivilegedAction.java: Likewise.
10416 * java/security/PrivilegedActionException.java: Likewise.
10417 * java/security/PrivilegedExceptionAction.java: Likewise.
10418 * java/security/ProtectionDomain.java: Likewise.
10419 * java/security/ProviderException.java: Likewise.
10420 * java/security/PublicKey.java: Likewise.
10421 * java/security/SecureClassLoader.java: Likewise.
10422 * java/security/SecurityPermission.java: Likewise.
10423 * java/security/SignatureException.java: Likewise.
10424 * java/security/UnrecoverableKeyException.java: Likewise.
10425 * java/security/UnresolvedPermission.java: Likewise.
10426 * java/security/acl/AclNotFoundException.java: Likewise.
10427 * java/security/acl/LastOwnerException.java: Likewise.
10428 * java/security/acl/NotOwnerException.java: Likewise.
10429 * java/security/cert/CRLException.java: Likewise.
10430 * java/security/cert/CertificateEncodingException.java: Likewise.
10431 * java/security/cert/CertificateException.java: Likewise.
10432 * java/security/cert/CertificateExpiredException.java: Likewise.
10433 * java/security/cert/CertificateFactory.java: Likewise.
10434 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10435 * java/security/cert/CertificateParsingException.java: Likewise.
10436 * java/security/spec/InvalidKeySpecException.java: Likewise.
10437 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10438
10439 * java/security/cert/CertPath.java: New file.
10440 * java/security/cert/CertPathBuilderException.java: New file.
10441 * java/security/cert/CertPathValidatorException.java: New file.
10442 * java/security/cert/CertStoreException.java: New file.
10443
10444 * Makefile.am: Add new CertPath classes.
10445 * Makefile.in: Rebuilt.
10446
10447 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10448
10449 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10450
10451 Merge JDK 1.4 exception chaining support from classpath.
10452
10453 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10454 (stackTraceBytes): Rename from stackTrace.
10455 * java/lang/Exception.java: Merge from classpath.
10456 * java/lang/StackTraceElement: New file from classpath.
10457 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10458 * Makefile.am: Add StackTraceElement.
10459 * Makefile.in: Rebuilt.
10460
10461 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10462
10463 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10464 they build first.
10465 * Makefile.in: Rebuilt.
10466
10467 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10468
10469 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10470 * configure.in: Likewise.
10471 * aclocal.m4: Regenerate.
10472 * configure: Regenerate.
10473
10474 2002-05-13 Tom Tromey <tromey@redhat.com>
10475
10476 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10477 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10478 Include platform.h.
10479
10480 Fixes PR libgcj/6389:
10481 * Makefile.in: Rebuilt.
10482 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10483 * java/util/natTimeZone.cc: New file.
10484 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10485 * java/lang/System.java: Merged with Classpath.
10486 * java/lang/Runtime.java: Merged with Classpath.
10487 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10488 security check.
10489 (setIn0): Renamed from setIn; don't run security check.
10490 (setOut0): Renamed from setOut; don't run security check.
10491 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10492 init_properties): Moved to natRuntime.cc.
10493 Moved many includes to natRuntime.cc.
10494 (isWordsBigEndian): New method.
10495 * java/lang/natRuntime.cc: Include Long.h, also other includes
10496 previously in natSystem.cc.
10497 (maxMemory): New function.
10498 (exitInternal): Renamed from `_exit'.
10499 (exit): Removed.
10500 (init): Don't set finalize_on_exit.
10501 (exitInternal): Use `finalizeOnExit'.
10502 (file_encoding, getpwuid_adaptor): New functions from
10503 natSystem.cc.
10504 (insertSystemProperties): New method, renamed from
10505 System::init_properties. Don't set user.timezone.
10506 (_load): Don't call checkLink.
10507 (execInternal): New method.
10508 (availableProcessors): Likewise.
10509 (nativeGetLibname): Likewise.
10510
10511 2002-05-11 Mark Wielaard <mark@klomp.org>
10512
10513 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10514 space characters.
10515 (previous_internal): Likewise.
10516
10517 2002-05-09 Tom Tromey <tromey@redhat.com>
10518
10519 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10520
10521 * java/util/ResourceBundle.java: New version from Classpath.
10522 * java/util/Locale.java: Likewise.
10523
10524 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10525
10526 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10527 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10528 LD_LIBRARY_PATH.
10529
10530 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10531
10532 * libjava/Makefile.am (all_java_source_files): New variable.
10533 (all_java_class_files): Likewise.
10534 .java.class: New rule.
10535 (CLEANFILES): Remove tmp-list.
10536 * libjava/Makefile.in: Regenerated.
10537
10538 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10539
10540 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10541 Append .exe to executable names. Fix for cygwin.
10542
10543 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10544
10545 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10546 script entry, and set LD to it when configuring multilibs.
10547 * configure: Rebuilt.
10548
10549 2002-05-07 Tom Tromey <tromey@redhat.com>
10550
10551 * java/lang/natString.cc (unintern): Fixed typo.
10552
10553 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10554
10555 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10556 with -no-install on *-*-cygwin*.
10557
10558 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10559
10560 * testsuite/lib/libjava.exp (test_libjava_from_source):
10561 Add comment explaining last patch
10562
10563 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10564
10565 * testsuite/lib/libjava.exp (test_libjava_from_source):
10566 Append .exe to executable names. If no suffix is present,
10567 then ".exe" is added by default on win32. Harmless
10568 elsewhere so always do it.
10569
10570 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10571 Tom Tromey <tromey@redhat.com>
10572
10573 * java/lang/natSystem.cc (getSystemTimeZone): Use
10574 HAVE_UNDERSCORE_TIMEZONE.
10575 * include/config.h.in: Rebuilt.
10576 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10577 * aclocal.m4, configure: Rebuilt.
10578 * acinclude.m4: Run AC_EXEEXT.
10579 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10580 Add test for `_timezone'.
10581
10582 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10583
10584 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10585 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10586 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10587 * Makefile.in: Rebuilt.
10588
10589 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10590
10591 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10592 use sigaction instead of __libc_sigaction.
10593
10594 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10595
10596 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10597 (libjava_init): Use it to find libgcj.spec.
10598 (libjava_arguments): Likewise.
10599
10600 2002-05-02 David S. Miller <davem@redhat.com>
10601
10602 PR bootstrap/6525
10603 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10604 __libc_sigaction on Sparc.
10605
10606 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10607
10608 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10609 sys/filio.h, if present.
10610
10611 2002-04-30 Tom Tromey <tromey@redhat.com>
10612
10613 * java/io/BufferedReader.java (fill): Handle case where markPos
10614 point to ignored \n. Fixes PR libgcj/6301.
10615
10616 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10617
10618 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10619
10620 2002-04-29 Adam King <aking@dreammechanics.com>
10621
10622 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10623 of file in APPEND mode.
10624
10625 2002-04-25 David S. Miller <davem@redhat.com>
10626
10627 PR target/6422
10628 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10629 program counter to next program counter minus 8. Update
10630 comments in this macro to explain why.
10631
10632 2002-04-26 Tom Tromey <tromey@redhat.com>
10633
10634 * verify.cc (construct_primitive_array_type) [void_type]: New
10635 case.
10636 (branch_prepass): Added dummy entries for unused instruction
10637 values.
10638 (verify_instructions_0): Likewise.
10639 * interpret.cc (continue1): Comment fix.
10640 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10641 * Makefile.in: Rebuilt.
10642 * Makefile.am: Added -Wswitch-enum.
10643
10644 2002-04-24 Tom Tromey <tromey@redhat.com>
10645
10646 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10647 correct length of UTF-8 encoded name. Strip leading `/'.
10648 (_Jv_RegisterResource): Use _Jv_Malloc.
10649
10650 2002-04-23 Adam Megacz <adam@xwt.org>
10651
10652 * win32.cc, include/win32.cc (backtrace): Added this function
10653 because Win32 does not supply it.
10654
10655 2002-04-21 David S. Miller <davem@redhat.com>
10656
10657 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10658 magic instruction reading sequence.
10659
10660 2002-04-21 Mark Wielaard <mark@klomp.org>
10661
10662 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10663
10664 2002-04-19 David S. Miller <davem@redhat.com>
10665
10666 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10667 arg.
10668 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10669 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10670 on Sparc too.
10671 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10672 for 64-bit sparc.
10673 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10674 * sysdeps/sparc/locks.h: New file.
10675 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10676 on all sparc Solaris configurations. Set to
10677 include/dwarf2-signal.h on sparc Linux.
10678 * configure: Regenerate
10679 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10680
10681 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10682
10683 * configure: Rebuilt.
10684 * configure.in (backtrace): Function doesn't work on IA-64.
10685
10686 2002-04-17 Adam King <aking@dreammechanics.com>
10687
10688 * java/io/File.java (normalizePath): Add Win32 support for auto
10689 conversion of a '/' path separator to Win32's '\' separator.
10690
10691 2002-04-16 Tom Tromey <tromey@redhat.com>
10692
10693 Fix for PR libgcj/6081:
10694 * Makefile.in: Rebuilt.
10695 * Makefile.am (install-data-local): Use GNU make trick to avoid
10696 shell limit.
10697
10698 2002-04-16 Adam King <aking@dreammechanics.com>
10699 Tom Tromey <tromey@redhat.com>
10700
10701 * java/io/natFileWin32.cc (performList): Return the correct array
10702 type. Don't duplicate the creation of a File since it's already
10703 done earlier in the method and the existing code would cause a
10704 ArrayStoreException. Don't use fixed-size array.
10705 (_access, _stat, attr, getCanonicalPath, performMkdir,
10706 performRenameTo): Don't use fixed-size array.
10707 (getCanonicalPath): Use throw, not _Jv_Throw.
10708
10709 2002-04-15 DJ Delorie <dj@redhat.com>
10710
10711 * configure.in: Allow building in $srcdir.
10712 * configure: Regenerated.
10713
10714 2002-04-14 Mark Wielaard <mark@klomp.org>
10715
10716 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10717 * java/net/natSocketImpl.cc (close): Likewise.
10718
10719 2002-04-14 Mark Wielaard <mark@klomp.org>
10720
10721 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10722
10723 2002-04-13 Adam King <aking@dreammechanics.com>
10724
10725 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10726 the f/F/d/D modifiers.
10727
10728 2002-04-12 Anthony Green <green@redhat.com>
10729
10730 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10731 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10732 * Makefile.in: Rebuilt.
10733 * configure.in: Substitute gcc_version.
10734 * configure: Rebuilt.
10735
10736 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10737
10738 * configure.host: Set can_unwind_signal on hosts which support it.
10739 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10740 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10741 exceptions and can_unwind_signal isn't set.
10742 * configure: Rebuilt.
10743
10744 2002-04-11 Tom Tromey <tromey@redhat.com>
10745
10746 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10747
10748 2002-04-11 Adam King <aking@dreammechanics.com>
10749 Tom Tromey <tromey@redhat.com>
10750
10751 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10752 _Jv_ThrowNullPointerException): Mark as noreturn.
10753 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10754 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10755 fixes.
10756
10757 2002-04-10 Tom Tromey <tromey@redhat.com>
10758
10759 * Makefile.in: Rebuilt.
10760 * Makefile.am (java/lang/Thread.h): Mark
10761 _Jv_AttachCurrentThreadAsDaemon as friend.
10762 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10763 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10764 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10765 function.
10766 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10767 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10768 (_Jv_JNI_InvokeFunctions): Added
10769 _Jv_JNI_AttachCurrentThreadAsDaemon.
10770 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10771 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10772 (JNI_CreateJavaVM): Likewise.
10773 (_Jv_JNI_AttachCurrentThread): Likewise.
10774 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10775 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10776 (_Jv_JNIFunctions): Initialize new fields.
10777 (_Jv_JNI_NewDirectByteBuffer): New function.
10778 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10779 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10780 * include/jni.h (JNI_VERSION_1_4): New macro.
10781 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10782 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10783 (JNINativeInterface::NewDirectByteBuffer): New field.
10784 (JNINativeInterface::GetDirectBufferAddress): New field.
10785 (JNINativeInterface::GetDirectBufferCapacity): New field.
10786 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10787 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10788 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10789
10790 2002-04-09 Tom Tromey <tromey@redhat.com>
10791
10792 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10793
10794 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10795
10796 Fix for PR libgcj/6187:
10797 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10798 distance.
10799
10800 2002-04-07 Mark Wielaard <mark@klomp.org>
10801
10802 * java/util/AbstractMap.java (putAll): Use entrySet size.
10803 (toString): Explicitly use getKey() and getValue().
10804
10805 2002-04-07 Mark Wielaard <mark@klomp.org>
10806
10807 * java/util/Hashtable.java (contains): Remove NullPointer check.
10808 (containsValue): Add NullPointer check.
10809 (remove): Always throw NullPointerException when key
10810 is null.
10811
10812 2002-04-07 Adam King <aking@dreammechanics.com>
10813
10814 * java/lang/natSystem.cc (init_properties): Call new function
10815 _Jv_platform_initProperties.
10816 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10817 support for the System properties os.name, os.arch, os.version,
10818 user.name, user.home, and user.dir.
10819 * include/posix.h, include/win32.h, posix.cc: New function
10820 _Jv_platform_initProperties.
10821
10822 2002-04-06 Mark Wielaard <mark@klomp.org>
10823
10824 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10825
10826 2002-04-06 Mark Wielaard <mark@klomp.org>
10827
10828 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10829 all of the remaining elements.
10830 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10831 (removeRange): If toIndex == fromIndex do
10832 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10833 (removeAll): Always throw NullPointerException when collection is
10834 null.
10835 (retrainAll): Likewise.
10836
10837 2002-04-05 Mark Wielaard <mark@klomp.org>
10838
10839 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10840 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10841
10842 2002-04-05 Adam Megacz <adam@xwt.org>
10843
10844 * exception.cc (abort): added static modifier
10845
10846 2002-04-04 Adam Megacz <adam@xwt.org>
10847
10848 * include/win32.h (_Jv_platform_close_on_exec): added inline
10849 modifier.
10850
10851 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10852
10853 * configure.host: Add case statement to support generic port
10854 properties. Add *-*-freebsd* section.
10855
10856 2002-04-04 Mark Wielaard <mark@klomp.org>
10857
10858 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10859 test.
10860 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10861 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10862 that depend on awt code and BufferedByteOutputStream.interrupt.
10863
10864 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10865
10866 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10867 incorrect "hi" value when count > 40.
10868
10869 2002-04-03 Mark Wielaard <mark@klomp.org>
10870
10871 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10872 ordering.
10873
10874 2002-04-02 Tom Tromey <tromey@redhat.com>
10875
10876 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10877 not `0'.
10878
10879 2002-04-02 Mark Wielaard <mark@klomp.org>
10880
10881 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10882 list of testsuite crashers.
10883
10884 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10885
10886 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10887 when resizing table.
10888
10889 2002-04-01 Mark Wielaard <mark@klomp.org>
10890
10891 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10892 NegativeArraySizeException
10893 (clear(int)): Use sign extended shift.
10894 (flip(int)): Likewise.
10895 (get(int)): Likewise.
10896 (nextClearBit(int)): Likewise.
10897 (nextSetBit(int)): Likewise.
10898 (set(int)): Likewise.
10899
10900 2002-04-01 Mark Wielaard <mark@klomp.org>
10901
10902 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10903 that can be compiled now and add testsuite crashers to ignore list.
10904
10905 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10906
10907 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10908
10909 * libgcj.spec.in: Override libgcc, not lib.
10910 * libgcj-test.spec.in: Likewise.
10911
10912 2002-03-29 Tom Tromey <tromey@redhat.com>
10913
10914 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10915 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10916
10917 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10918
10919 * java/net/PlainDatagramSocketImpl.java
10920 (close): Use native implementation.
10921 (finalize): New method.
10922
10923 * java/net/PlainSocketImpl.java (finalize): New method.
10924
10925 * java/net/natPlainDatagramSocketImpl.cc
10926 (java/io/FileDescriptor.h): Don't include.
10927 (close): Implement method here.
10928 (create): Don't assign fd.
10929
10930 * java/net/natPlainSocketImpl.cc
10931 (java/io/FileDescriptor.h): Don't include.
10932 (create): Don't assign fd.
10933 (accept): Likewise.
10934 (close): Synchronize.
10935
10936 2002-03-27 Richard Henderson <rth@redhat.com>
10937
10938 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10939
10940 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10941
10942 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10943 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10944 instead of syscall on IA-64.
10945 Add FIXME comment.
10946
10947 2002-03-27 Anthony Green <green@redhat.com>
10948
10949 * libgcj.spec.in: Add CHECKREFSPEC.
10950 * configure.in: Ditto.
10951 * configure.host: Ditto. Check references for xscale-elf.
10952 * configure: Rebuilt.
10953
10954 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10955
10956 * include/dwarf2-signal.h: Temporarily back out last change.
10957
10958 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10959
10960 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10961
10962 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10963
10964 * configure.in, configure: enable dwarf2-exception-style
10965 exception handling on IA-64.
10966 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10967 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10968 Add FIXME comment.
10969
10970 2002-03-25 Tom Tromey <tromey@redhat.com>
10971
10972 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10973 (jv_convert_LDFLAGS): Likewise.
10974 (gij_LDFLAGS): Likewise.
10975 (rmic_LDFLAGS): Likewise.
10976 (rmiregistry_LDFLAGS): Likewise.
10977 * configure.in (THREADLDFLAGS): New subst; set correctly for
10978 *BSD.
10979
10980 2002-03-25 Tom Tromey <tromey@redhat.com>
10981
10982 For PR libgcj/5303:
10983 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10984 and --version.
10985 (help): New method.
10986 (version): Likewise.
10987 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10988 "GNU".
10989 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10990 "GNU".
10991
10992 2002-03-25 Tom Tromey <tromey@redhat.com>
10993
10994 * java/awt/Component.java (processEvent): Check ComponentEvent
10995 after KeyEvent.
10996
10997 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10998
10999 * java/io/PushbackReader.java: Reformat.
11000
11001 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
11002 calculate correct number of bytes skipped.
11003
11004 Based on patch from Intel's ORP team:
11005 * java/io/PushbackInputStream.java (available): Calculate correct
11006 number of bytes in buffer.
11007 (read): Remove redundant bound check. Return bytes from both the
11008 buffer and the stream.
11009
11010 2002-03-24 Tom Tromey <tromey@redhat.com>
11011
11012 * java/awt/TextComponent.java (TextComponent): Editable by
11013 default.
11014
11015 * java/awt/MenuItem.java (eventMask): No longer private.
11016 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
11017 superclass if we didn't handle event.
11018 * java/awt/Checkbox.java (dispatchEventImpl): New method.
11019 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
11020 * java/awt/Choice.java (dispatchEventImpl): New method.
11021 * java/awt/List.java (dispatchEventImpl): New method.
11022 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
11023 * java/awt/TextComponent.java (dispatchEventImpl): New method.
11024 * java/awt/TextField.java (dispatchEventImpl): New method.
11025
11026 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11027
11028 * java/beans/IntrospectionException.java: Update to 1.4.
11029 * java/beans/PropertyVetoException.java: Ditto.
11030
11031 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11032
11033 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
11034 Arrays.equals instead of ArrayHelper.equalsArray.
11035
11036 2002-03-24 C. Brian Jones <cbj@gnu.org>
11037
11038 * java/beans/Introspector.java: added new static final fields
11039 introduced in 1.2, lots of other updates remain to be done
11040
11041 2002-03-24 C. Brian Jones <cbj@gnu.org>
11042
11043 * java/beans/Introspector.java: reformatting
11044
11045 2002-03-24 C. Brian Jones <cbj@gnu.org>
11046
11047 * java/beans/Introspector.java: default beanInfoSearchPath will
11048 not include sun.beans.infos given we provide no such package and
11049 the API doesn't really require it; gnu.java.beans.info is the
11050 default.
11051
11052 2002-03-24 Mark Wielaard <mark@klomp.org>
11053
11054 Thanks to Orp developers
11055 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
11056 switch TRUE and FALSE return values.
11057
11058 2002-03-23 Tom Tromey <tromey@redhat.com>
11059
11060 * include/name-finder.h (_Jv_name_finder::myclose): New method.
11061 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
11062
11063 2002-03-23 Michael Smith <msmith@spinnakernet.com>
11064
11065 * java/util/GregorianCalendar.java (minimums, maximums): Correct
11066 MONTH entry. Fixes PR libgcj/6045.
11067
11068 2002-03-23 Jeff Sturm <jsturm@one-point.com>
11069
11070 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11071
11072 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11073
11074 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11075 not release_set.
11076 * sysdep/powerpc/locks.h (write_barrier): New function.
11077 * sysdep/i386/locks.h (write_barrier): New function.
11078
11079 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
11080
11081 * include/jni.h Use correct C comments.
11082
11083 2002-03-18 Tom Tromey <tromey@redhat.com>
11084
11085 * include/jni.h (JNIIMPORT): New macro.
11086 (JNIEXPORT): Likewise.
11087 (JNICALL): Likewise.
11088
11089 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11090
11091 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11092 systems.
11093
11094 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
11095
11096 * include/i386-signal.h (old_i386_kernel_sigaction): New.
11097 INIT_SEGV: Use old_i386_kernel_sigaction.
11098 INIT_FP: Likewise.
11099
11100 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11101
11102 * java/lang/natSystem.cc (init_properties): Update VM version
11103 properties.
11104 * configure.in: Set GCJVERSION.
11105 * acconfig.h: Add GCJVERSION.
11106 * configure: Rebuilt.
11107 * include/config.h.in: Rebuilt.
11108
11109 2002-03-17 Anthony Green <green@redhat.com>
11110
11111 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11112
11113 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11114
11115 Build a single libgcj.so, without separate gc and zlib libraries.
11116 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11117 SYS_ZLIBS if system zlib is used.
11118 * configure: Rebuilt.
11119 * Makefile.am: Use boehm-gc and zlib convenience libraries.
11120 * Makefile.in: Rebuilt.
11121 * libtool-version: Increment .so version number.
11122
11123 * Makefile.am: Escape quotes in echo.
11124 * Makefile.in: Rebuilt.
11125
11126 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11127
11128 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11129 * Makefile.in: Rebuilt.
11130
11131 2002-03-15 Anthony Green <green@redhat.com>
11132
11133 * configure.host (FILE): New macro for specifing File
11134 implementation.
11135 * configure: Rebuilt.
11136 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
11137
11138 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
11139
11140 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11141 already implicitly brought in from libgcj.la.
11142 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11143 * Makefile.in: Rebuilt.
11144
11145 2002-03-15 Eric Blake <ebb9@email.byu.edu>
11146
11147 * THANKS: Fix punctuation, alphabetization.
11148
11149 2002-03-15 Tom Tromey <tromey@redhat.com>
11150 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11151
11152 Fix for PR libgcj/5944.
11153 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11154
11155 2002-03-15 Anthony Green <green@redhat.com>
11156
11157 * configure.in (tool_include_dir): Define.
11158 * configure: Rebuilt.
11159 * gcj/Makefile.am: Install libgcj-config.h relative to
11160 tool_include_dir.
11161 * gcj/Makefile: Rebuilt.
11162 * gcj/libgcj-config.h: Add warning comment.
11163
11164 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
11165
11166 * configure.host (powerpc*-darwin*): Enable interpreter.
11167
11168 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11169
11170 * include/posix.h: Add multiple include header protection.
11171 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11172
11173 2002-03-10 Adam Megacz <adam@xwt.org>
11174
11175 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11176
11177 2002-03-10 Tom Tromey <tromey@redhat.com>
11178
11179 * java/awt/GridLayout.java (layoutContainer): Handle case where
11180 there are no items in container.
11181
11182 * java/lang/Win32Process.java: Added comment.
11183 * include/posix.h (_Jv_platform_close_on_exec): New function.
11184 Include fcntl.h.
11185 * include/win32.h (_Jv_platform_close_on_exec): New function.
11186 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11187 flag.
11188 (accept): Likewise.
11189 * java/net/natPlainDatagramSocketImpl.cc (create): Set
11190 close-on-exec flag.
11191 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11192 flag.
11193
11194 2002-03-09 Tom Tromey <tromey@redhat.com>
11195
11196 * verify.cc (state::NO_STACK): New constant.
11197 (state::is_unmerged_ret_state): Handle case where stacktop is
11198 NO_STACK.
11199 (state::merge): Handle NO_STACK merges.
11200 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11201 for instruction following jsr.
11202 (stacktop, stackdepth): Removed unused variables.
11203 (pop_jump): Ignore case where all remaining states are skipped.
11204
11205 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11206
11207 * java/awt/ImageMediaEntry: Removed.
11208 * java/awt/MediaEntry: Removed.
11209
11210 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11211
11212 Hashtable synchronization for PowerPC.
11213 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11214 slow_pthread_self. Set up symlink for sysdeps directory.
11215 * configure: Rebuild.
11216 * configure.host: Document more shell variables. Set sysdeps_dir
11217 for most platforms. Set slow_pthread_self for i686. Set
11218 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11219 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11220 that memory barrier is emitted where required.
11221 * prims.cc: 64-bit align static primitive class instances.
11222 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11223 read_barrier() to enforce ordering of reads.
11224 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11225 primitives for PowerPC.
11226 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11227 moved from natObject.cc.
11228 * sysdep/alpha/locks.h: Likewise.
11229 * sysdep/ia64/locks.h: Likewise.
11230 * sysdep/generic/locks.h: Likewise.
11231 * java/lang/natObject.cc: Move thread synchronization primitives to
11232 system-dependent headers.
11233
11234 2002-03-09 Adam Megacz <adam@xwt.org>
11235
11236 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11237 bytes read and no failure code returned.
11238
11239 2002-03-09 Adam Megacz <adam@xwt.org>
11240
11241 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11242 definitions to simulate -mthreads.
11243
11244 2002-03-09 Adam Megacz <adam@xwt.org>
11245
11246 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11247 avoid precision loss.
11248
11249 2002-03-09 Per Bothner <per@bothner.com>
11250
11251 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11252 * gnu/gcj/xlib/XImage.java: Likewise.
11253 * gnu/gcj/xlib/XColor.java: Likewise.
11254
11255 2002-03-09 Adam Megacz <adam@xwt.org>
11256
11257 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11258 IOException so that Throwable.printStackTrace fails correctly.
11259
11260 2002-03-08 Adam Megacz <adam@xwt.org>
11261
11262 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11263 fixed.
11264
11265 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11266
11267 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11268 truncated to int.
11269
11270 2002-03-08 Tom Tromey <tromey@redhat.com>
11271
11272 * include/jni.h: Include stdio.h.
11273
11274 2002-03-08 Tom Tromey <tromey@redhat.com>
11275
11276 * posix.cc (internal_gettimeofday): New function.
11277 (_Jv_select): Use it.
11278
11279 2002-03-07 Adam Megacz <adam@xwt.org>
11280
11281 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11282 WIN32, and added thunks for read(), write(), and close().
11283 * java/net/natPlainSocketImpl.cc (accept, read, read):
11284 Disabled timeouts on WIN32 pending discussion.
11285
11286 2002-03-07 Adam Megacz <adam@xwt.org>
11287
11288 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11289 returns jlong. Added implementation
11290 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11291 returns jlong.
11292 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11293 returns jlong.
11294 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11295 returns jlong.
11296 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11297 _Jv_platform_gettimeofday signature.
11298
11299 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11300
11301 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11302 (read): Call recv() directly, not _Jv_recv().
11303
11304 2002-03-06 Tom Tromey <tromey@redhat.com>
11305
11306 * java/io/natFileDescriptorEcos.cc (init): Don't use
11307 GetStdHandle.
11308 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11309 is negative.
11310 (init): Don't use GetStdHandle.
11311
11312 * include/config.h.in: Rebuilt.
11313 * configure: Rebuilt.
11314 * Makefile.in: Rebuilt.
11315
11316 2002-03-06 Adam Megacz <adam@xwt.org>
11317
11318 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11319 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11320 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11321 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11322
11323 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11324
11325 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11326 the code for generating include/java-chartables.h.
11327 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11328 merge with Classpath.
11329 * scripts/unicode-muncher.pl: Copy from Classpath.
11330 * scritps/MakeCharTables.java: New file.
11331 * gnu/gcj/convert/Blocks-3.txt: New file.
11332 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11333 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11334 * gnu/java/lang/CharData.java: Copy from Classpath.
11335 * Makefile.am (ordinary_java_source_files): Add
11336 gnu/java/lang/CharData.java.
11337 * configure.in: Remove --enable-fast-character option.
11338 * java/lang/Character.java: Merge algorithms and Javadoc with
11339 Classpath.
11340 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11341 efficiently.
11342 * include/java-chardecomp.h: Regenerate.
11343 * include/java-chartables.h: Regenerate.
11344
11345 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11346
11347 * java/awt/MediaTracker.java: Implemented.
11348 * Makefile.am: Add MediaTracker.
11349 * Makefile.in: Rebuilt.
11350
11351 2002-03-05 Tom Tromey <tromey@redhat.com>
11352
11353 * java/lang/natPosixProcess.cc (fail): Removed.
11354 (startProcess): Simplified error-handling. Preserve
11355 LD_LIBRARY_PATH across exec.
11356
11357 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11358 AbstractMethodError.
11359
11360 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11361
11362 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11363 * Makefile.in: Rebuilt.
11364
11365 2002-03-03 Mark Wielaard <mark@klomp.org>
11366
11367 * java/util/Timer (TaskQueue.stop): set elements to zero.
11368
11369 2002-02-28 Anthony Green <green@redhat.com>
11370
11371 * java/lang/reflect/natMethod.cc (result): Add void* element.
11372 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11373 constructor test.
11374
11375 2002-02-27 Adam Megacz <adam@xwt.org>
11376
11377 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11378 '#undef STRICT'.
11379
11380 2002-02-26 Tom Tromey <tromey@redhat.com>
11381
11382 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11383 * gij.cc (version): Use __VERSION__.
11384 * include/config.h.in: Rebuilt.
11385 * acconfig.h (GCJVERSION): Removed.
11386 * configure: Rebuilt.
11387 * configure.in (GCJVERSION): Removed.
11388
11389 2002-02-26 Andreas Schwab <schwab@suse.de>
11390
11391 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11392 glibcpp_CXX, since libjava uses even another CXX.
11393 * aclocal.m4, configure: Regenerated.
11394
11395 2002-02-26 Tom Tromey <tromey@redhat.com>
11396
11397 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11398 `1'.
11399
11400 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11401
11402 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11403 dependency tracking for .java files.
11404 * Makefile.in: Rebuilt.
11405
11406 2002-02-24 Adam Megacz <adam@xwt.org>
11407
11408 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11409 typo. Sorry.
11410
11411 2002-02-24 Adam Megacz <adam@xwt.org>
11412
11413 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11414 for Win32, changed #ifdefs to check WIN32 instead of the
11415 (now-obsolete) USE_WINSOCK, and removed support for socket
11416 timeouts on Win32 pending further discussion.
11417
11418 2002-02-24 Adam Megacz <adam@xwt.org>
11419
11420 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11421 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11422 delete
11423
11424 2002-02-24 Adam Megacz <adam@xwt.org>
11425
11426 * java/lang/Win32Process.java: Created a dummy class to allow
11427 build process to run to completion.
11428
11429 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11430
11431 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11432 Define ffi_result union for ffi_call result. Cast
11433 ffi_result members to jvalue.
11434
11435 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11436
11437 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11438 * testsuite/Makefile.in: Likewise.
11439
11440 2002-02-20 Per Bothner <per@bothner.com>
11441
11442 * java/net/URL.java (getPath): New JDK 1.3 method.
11443
11444 * java/net/URLStreamHandler.java (parseURL):
11445 It is wrong to prepend '/' to the file part of a relative url.
11446
11447 * java/net/URLStreamHandler.java (parseURL):
11448 Minor optizations - append '/' rather than "/".
11449
11450 * java/net/URLStreamHandler.java (parseURL):
11451 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11452 We probably should canonicalize for a context-relative url, though.
11453 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11454 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11455 (sameFile): New method. Uses canonicalizeFilename.
11456
11457 2002-02-22 Tom Tromey <tromey@redhat.com>
11458
11459 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11460 java.vendor and java.vm.vendor.
11461 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11462 recent copyright date.
11463 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11464 * gij.cc (version): Print `Inc'.
11465
11466 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11467
11468 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11469 * aclocal.m4, configure: Rebuilt.
11470
11471 2002-02-20 Per Bothner <per@bothner.com>
11472
11473 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11474 and/or output streams immediately here, instead of using File.exists.
11475 (inputStream, outputStream): New fields to save open streams.
11476 (getInputStream, getOutputStream): Use already-opened streams.
11477
11478 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11479
11480 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11481 Use it.
11482 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11483 * aclocal.m4, configure, Makefile.in: Rebuilt.
11484
11485 2002-02-19 Tom Tromey <tromey@redhat.com>
11486
11487 Fix for PR libgcj/5696:
11488 * verify.cc (is_assignable_from_slow): Never call
11489 _Jv_IsAssignableFrom.
11490 (verify_instructions_0): Added new debug statement.
11491 (state::print): Print information about whether local has
11492 changed.
11493 (state::merge): Don't call note_variable when merging locals.
11494 (state::set_exception): Removed old FIXME comment.
11495
11496 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11497
11498 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11499 enable SO_BROADCAST.
11500
11501 2002-02-18 Jason Merrill <jason@redhat.com>
11502
11503 * name-finder.cc (toHex): Use word mode, not long long.
11504
11505 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11506
11507 2002-02-15 Tom Tromey <tromey@redhat.com>
11508
11509 Fix for PR libgcj/5695:
11510 * verify.cc (is_assignable_from_slow): Check to see if target is
11511 an Object before checking to see if source is an interface.
11512 (verify_instructions_0) [op_invokeinterface]: Handle case where
11513 we're making an interface call on Object.
11514
11515 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11516
11517 * Makefile.in: Rebuilt with Eric's change below.
11518
11519 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11520 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11521 Removed functions which are now implemented in Math.java.
11522
11523 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11524
11525 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11526 * Makefile.am (core_java_source_files): Add
11527 java/lang/StrictMath.java.
11528 * java/lang/Math.java: Merge with Classpath.
11529 * java/lang/StrictMath.java: New file - merge with Classpath.
11530
11531 2002-02-14 Mark Wielaard <mark@klomp.org>
11532
11533 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11534 package as a workaround for gcj 3.0.x
11535
11536 2002-02-14 Mark Wielaard <mark@klomp.org>
11537
11538 * java/security/BasicPermission.java: extends with fully qualified
11539 classname as workaround for gcj 3.0.4.
11540
11541 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11542
11543 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11544 around gcj bug of wrong emitted qualifier for inherited method.
11545 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11546 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11547 constructor to reduce amount of emitted bytecode. While this
11548 happens to work around a jikes 1.15 bug, it is still a useful
11549 patch even for correct compilers.
11550 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11551 * gnu/java/rmi/server/UnicastRemoteCall.java
11552 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11553
11554 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11555
11556 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11557 * java/net/SocketImpl.java: Ditto.
11558 * java/rmi/server/RMIClassLoader.java: Ditto.
11559 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11560
11561 2002-02-14 Mark Wielaard <mark@klomp.org>
11562
11563 Thanks to Takashi Okamoto
11564 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11565 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11566 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11567
11568 2002-02-13 Todd Stock <toddastock@yahoo.com>
11569
11570 Fix for PR libgcj/5670:
11571 * verify.cc (is_assignable_from_slow): If `source' is interface,
11572 recursively look for merge with `target'.
11573
11574 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11575
11576 * include/jni.h: Fix typo.
11577
11578 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11579
11580 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11581 correctly.
11582
11583 2002-02-13 Todd Stock <toddastock@yahoo.com>
11584
11585 Fix for PR libgcj/5671:
11586 * verify.cc (state::merge): Handle case where we're merging
11587 against an interface.
11588
11589 2002-02-12 Tom Tromey <tromey@redhat.com>
11590
11591 * exception.cc (std::abort): Mark as noreturn.
11592
11593 2002-02-12 Adam Megacz <adam@xwt.org>
11594
11595 * java/lang/Win32Process.java: Filled in a placeholder
11596 implementation so Win32 will build.
11597
11598 2002-02-12 Adam Megacz <adam@xwt.org>
11599
11600 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11601 * java/io/natFile.cc: Removed from repository.
11602 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11603
11604 2002-02-12 Adam Megacz <adam@xwt.org>
11605
11606 * win32.cc: Added two #includes to make win32.cc compile.
11607
11608 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11609
11610 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11611 declarations.
11612 (_Jv_InitGC): Don't bother locking, as this is always called from a
11613 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11614
11615 2002-02-11 Adam Megacz <adam@xwt.org>
11616
11617 * include/win32.h: Added _Jv_platform_gettimeofday.
11618 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11619
11620 2002-02-11 Adam Megacz <adam@xwt.org>
11621
11622 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11623 Added #undef STRICT to make windows.h and
11624 java/lang/reflect/Modifier.h cooperate.
11625
11626 2002-02-11 Adam Megacz <adam@xwt.org>
11627
11628 * java/io/natFileWin32.cc: Created a placeholder class with lots
11629 of FIXMEs.
11630
11631 2002-02-11 Adam Megacz <adam@xwt.org>
11632
11633 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11634 std::abort() to simply abort(). Also added "fake" std::abort() so
11635 we can #include unwind-pe.h without having to link against
11636 libstdc++-v3.
11637
11638 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11639
11640 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11641
11642 2002-02-08 Tom Tromey <tromey@redhat.com>
11643
11644 * interpret.cc (convert): New function.
11645 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11646 convert.
11647 Include Long.h.
11648
11649 2002-02-08 Anthony Green <green@redhat.com>
11650
11651 * configure.host: Add support for xscale-elf embedded target.
11652
11653 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11654
11655 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11656 dereferenced.
11657 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11658 frame.
11659
11660 2002-02-07 Tom Tromey <tromey@redhat.com>
11661
11662 * java/io/natFile.cc (_access): Use __builtin_alloca.
11663 (_stat): Likewise.
11664 (attr): Likewise.
11665 (getCanonicalPath): Likewise.
11666 (performList): Likewise.
11667 (performMkdir): Likewise.
11668 (performSetReadOnly): Likewise.
11669 (performRenameTo): Likewise.
11670 (performSetLastModified): Likewise.
11671 (performCreate): Likewise.
11672 (performDelete): Likewise.
11673
11674 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11675
11676 * HACKING: Fix URL for the automake-gcj.
11677
11678 2002-02-07 Tom Tromey <tromey@redhat.com>
11679
11680 * java/lang/natThrowable.cc: Updated copyright.
11681 * java/io/natFileWin32.cc: Updated copyright.
11682 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11683 * win32-threads.cc: Updated copyright.
11684 * name-finder.cc: Updated copyright.
11685 * include/name-finder.h: Updated copyright.
11686
11687 * include/name-finder.h: Conditionally include sys/wait.h.
11688 * include/config.h.in: Rebuilt.
11689
11690 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11691 Size buffer based on real size of string.
11692 (_stat): Likewise.
11693 (attr): Likewise.
11694 (getCanonicalPath): Likewise.
11695 (performList): Likewise.
11696 (performMkdir): Likewise.
11697 (performSetReadOnly): Likewise.
11698 (unixroot): Removed.
11699 (performRenameTo): Likewise.
11700 (performSetLastModified): Likewise.
11701 (performCreate): Likewise.
11702 (performDelete): Likewise.
11703 (performListRoots): Always return new array.
11704
11705 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11706 * win32.cc (win32_exception_handler): Now static.
11707 * include/win32.h (_Jv_platform_initialize): Declare.
11708 (win32_exception_handler): Don't declare.
11709 * java/lang/natSystem.cc (currentTimeMillis): Use
11710 _Jv_platform_gettimeofday.
11711 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11712 (_Jv_select): Use new name.
11713 (_Jv_platform_initialize): New function.
11714 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11715 _Jv_gettimeofday.
11716 (_Jv_platform_initialize): Declare.
11717
11718 * configure: Rebuilt.
11719 * configure.in: Removed unnecessary parens.
11720
11721 2002-02-06 Adam Megacz <adam@xwt.org>
11722
11723 * configure.in: Changed mingw) to *mingw*).
11724 * win32.cc: Created this file.
11725 * win32.h: Created this file.
11726 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11727 win32_exception_handler from prims.cc to win32.cc, added
11728 header in win32.h.
11729 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11730 longer needed now that we have platform.h
11731
11732 2002-02-06 Adam Megacz <adam@xwt.org>
11733
11734 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11735 use uint<n>_t instead of LONG and BYTE
11736
11737 2002-02-06 Adam Megacz <adam@xwt.org>
11738
11739 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11740
11741 2002-02-06 Anthony Green <green@redhat.com>
11742
11743 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11744 Implement missing method stubs.
11745 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11746 targets.
11747 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11748 concept of timezones.
11749 (init_properties): Don't refer to _Jv_Environment_Properties
11750 when this feature is not available.
11751 * include/config.h.in: Rebuilt.
11752 * acconfig.h: Add DISABLE_MAIN_ARGS.
11753 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11754 * configure: Rebuilt.
11755 * configure.in: Add --disable-main-args option. Test for
11756 opendir function. Replace AC_CHECK_SIZEOF with
11757 AC_COMPILE_CHECK_SIZEOF.
11758 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11759 * aclocal.m4: Rebuilt.
11760 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11761
11762 2002-02-06 Tom Tromey <tromey@redhat.com>
11763
11764 * verify.cc (require_array_type): If argument is a null array of
11765 references, return null as the element type.
11766
11767 2002-02-06 Mark Wielaard <mark@klomp.org>
11768
11769 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11770 duplicate of a wide type.
11771
11772 2002-02-06 Tom Tromey <tromey@redhat.com>
11773
11774 * verify.cc (type::isnull): New method.
11775 (require_array_type): Handle case where array is null.
11776 (verify_instructions_0) [op_arraylength]: Likewise.
11777
11778 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11779
11780 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11781 Symlink PLATFORMH to platform.h.
11782 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11783 PLATFORMOBJS.
11784 * java/lang/natSystem.cc: #include platform.h not posix.h.
11785 * Makefile.in: Rebuilt with libgcj automake.
11786 * configure: Rebuilt.
11787
11788 2002-02-05 Richard Henderson <rth@redhat.com>
11789
11790 * Makefile.in: Undo munging last change.
11791
11792 2002-02-04 Adam Megacz <adam@xwt.org>
11793
11794 * win32.cc: Created it.
11795 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11796 which is set to posix.cc or win32.cc.
11797 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11798
11799 2002-02-04 Adam Megacz <adam@xwt.org>
11800
11801 * configure.in: Corrected mingw case branches; added * before
11802 and after.
11803
11804 2002-02-04 Adam Megacz <adam@xwt.org>
11805
11806 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11807 if compiling for win32
11808
11809 2002-02-04 Adam Megacz <adam@xwt.org>
11810
11811 * win32-threads.cc: #undef STRICT after gc.h inclusion
11812
11813 2002-02-02 Tom Tromey <tromey@redhat.com>
11814
11815 * Makefile.in: Rebuilt.
11816
11817 2002-02-02 Jason Merrill <jason@redhat.com>
11818
11819 * Makefile.am (clean-nat): New target.
11820
11821 2002-02-02 Tom Tromey <tromey@redhat.com>
11822
11823 * java/io/natFile.cc: Removed old "FIXME" comments.
11824
11825 2002-02-01 Tom Tromey <tromey@redhat.com>
11826
11827 * java/lang/natPosixProcess.cc (myclose): New function.
11828 (fail): Use it.
11829 (startProcess): Likewise.
11830
11831 2002-02-01 Adam Megacz <adam@xwt.org>
11832
11833 * prims.cc: Added #undef STRICT after #include<windows.h>.
11834
11835 2002-02-01 Adam Megacz <adam@xwt.org>
11836
11837 * prims.cc
11838 (_Jv_CreateJavaVM): We now use WIN32 instead of
11839 USE_WIN32_SIGNALLING and USE_WINSOCK.
11840 (win32_exception_handler): Now throws an exception out of
11841 the signal handler; assumes SJLJ.
11842
11843 2002-02-01 Adam Megacz <adam@xwt.org>
11844
11845 * win32-threads.cc:
11846 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11847 wait() algorithm to make it safe.
11848 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11849 Added lazy creation of Win32 Events for better performance
11850 (really_start): This now uses GC_CreateThread so boehm-gc
11851 knows about new threads even when statically linked.
11852
11853 2002-02-01 Adam Megacz <adam@xwt.org>
11854
11855 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11856 enable safer wait() algorithm.
11857 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11858 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11859 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11860 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11861 instead of mutex.
11862 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11863
11864 2002-02-01 Adam Megacz <adam@xwt.org>
11865
11866 * configure.in: Added support for mingw.
11867 * java/lang/Win32Process.java: Created as empty file.
11868 * java/lang/natWin32Process.cc: Created as empty file.
11869
11870 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11871
11872 PR java/4972
11873 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11874 for libiconv in LIBICONV variable.
11875 * configure: Regenerated.
11876
11877 2002-01-31 Tom Tromey <tromey@redhat.com>
11878
11879 * verify.cc (state::enter_subroutine): New method.
11880 (handle_jsr_insn): Use it.
11881 (state::merge): When processing a `ret', correctly use
11882 subroutine's state to determine which local variables have
11883 changed.
11884 (push_exception_jump): Don't let stack overflow.
11885
11886 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11887
11888 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11889 --version output.
11890
11891 2002-01-30 Tom Tromey <tromey@redhat.com>
11892
11893 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11894 parameter for `recv' return type.
11895
11896 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11897 (state::merge): ... not here.
11898 (subr_entry_info): New structure.
11899 (entry_points): New field.
11900 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11901 entry_points.
11902
11903 2002-01-29 Tom Tromey <tromey@redhat.com>
11904
11905 * java/awt/List.java (addNotify): Correctly check to see if peer
11906 does not exist.
11907
11908 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11909 to compute height of each cell, and number of columns to compute
11910 width of each cell.
11911 * java/awt/Window.java (getOwnedWindows): Don't return null.
11912 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11913 of component. Increment x using horizontal gap, not vertical
11914 gap.
11915
11916 2002-01-28 Tom Tromey <tromey@redhat.com>
11917
11918 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11919 `nargs' byte is number of words, not number of arguments.
11920
11921 2002-01-27 Tom Tromey <tromey@redhat.com>
11922
11923 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11924 (when): Likewise.
11925 * java/awt/event/InputEvent.java (modifiers, when): Now
11926 package-private.
11927
11928 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11929 and to-do list.
11930 (state::merge): Use current class' class loader.
11931 (state::print): Print subroutine.
11932 (state::merge): Don't look at subroutine of unmerged `ret'.
11933
11934 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11935
11936 * nogc.cc: Remove warnings.
11937 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11938 New functions.
11939
11940 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11941
11942 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11943 int, int): Remove empty "if" statement to work around compiler bug.
11944 (newPixels(int[], ColorModel, int, int): Likewise.
11945
11946 2002-01-25 Per Bothner <per@bothner.com>
11947
11948 * verify.cc (verify_fail): Change from being a top-level function
11949 to e method of _Jv_BytecodeVerifier. Emit current method name.
11950 Pass the current verifier to type: and state: methods as needed,
11951 for better error messages, and for resolve.
11952 (resolve): Pass current class's loader for Class.forName and
11953 _Jv_FindClassFromSignature, rather than using the default loader.
11954 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11955 (get_type_val_for_signature): Make non-static.
11956 (various methods): Pass start_PC implicitly, not explicitly.
11957
11958 2002-01-25 Tom Tromey <tromey@redhat.com>
11959
11960 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11961 loop termination condition.
11962 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11963 width.
11964
11965 2002-01-24 Tom Tromey <tromey@redhat.com>
11966
11967 * java/awt/Shape.java: Merged with Classpath.
11968 * java/awt/Scrollbar.java: Merged with Classpath.
11969
11970 * java/awt/Container.java (addNotify): Unconditionally call
11971 addNotifyContainerChildren and superclass addNotify.
11972
11973 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11974 getAlpha, not getBlue.
11975
11976 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11977
11978 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11979
11980 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11981 (grabPixels(long)): Wait to be notified that the ImageProducer has
11982 completed.
11983
11984 2002-01-24 Per Bothner <per@bothner.com>
11985
11986 * verify.cc (is_assignable_from_slow): If target is an interface,
11987 we must still check the source's superclass before giving up.
11988
11989 2002-01-24 Tom Tromey <tromey@redhat.com>
11990
11991 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11992
11993 2002-01-23 Tom Tromey <tromey@redhat.com>
11994
11995 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11996 `else'.
11997
11998 * Makefile.in: Rebuilt.
11999 * Makefile.am (awt_java_source_files): Added new files.
12000 * java/awt/Toolkit.java: Merged with Classpath.
12001 * java/awt/PrintGraphics.java: New file from Classpath.
12002 * java/awt/PrintJob.java: New file from Classpath.
12003 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
12004 * java/awt/datatransfer/ClipboardOwner.java: New file from
12005 Classpath.
12006 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
12007 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
12008 * java/awt/datatransfer/MimeTypeParseException.java: New file from
12009 Classpath.
12010 * java/awt/datatransfer/StringSelection.java: New file from
12011 Classpath.
12012 * java/awt/datatransfer/SystemFlavorMap.java: New file from
12013 Classpath.
12014 * java/awt/datatransfer/Transferable.java: New file from
12015 Classpath.
12016 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
12017 from Classpath.
12018
12019 * Makefile.in: Rebuilt.
12020 * Makefile.am (awt_java_source_files): Added new files.
12021 * java/awt/image/AreaAveragingScaleFilter.java: New file from
12022 Classpath.
12023 * java/awt/image/CropImageFilter.java: New file from Classpath.
12024 * java/awt/image/FilteredImageSource.java: New file from
12025 Classpath.
12026 * java/awt/image/ImageFilter.java: New file from Classpath.
12027 * java/awt/image/MemoryImageSource.java: New file from Classpath.
12028 * java/awt/image/PixelGrabber.java: New file from Classpath.
12029 * java/awt/image/RGBImageFilter.java: New file from Classpath.
12030 * java/awt/image/ReplicateScaleFilter.java: New file from
12031 Classpath.
12032 * java/awt/image/ImageProducer.java: Replaced with Classpath
12033 version.
12034 * java/awt/image/ImageObserver.java: Replaced with Classpath
12035 version.
12036 * java/awt/image/ImageConsumer.java: Replaced with Classpath
12037 version.
12038 * java/awt/GridBagConstraints.java (clone): Catch
12039 CloneNotSupportedException.
12040
12041 2002-01-23 Per Bothner <per@bothner.com>
12042
12043 * java/lang/reflect/natField.cc (setAddr): New function.
12044 Calls getAddr and then checks that the field isn't final.
12045 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
12046 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
12047 (set): Call setAddr before check that new value has right type,
12048 to better match specified semantics.
12049
12050 2002-01-22 Tom Tromey <tromey@redhat.com>
12051
12052 * java/awt/TextField.java: Replaced with Classpath version.
12053 * java/awt/TextArea.java: Replaced with Classpath version.
12054 * java/awt/TextComponent.java: Replaced with Classpath version.
12055
12056 * java/awt/GridBagConstraints.java: Updated copyright.
12057
12058 2002-01-22 Mark Wielaard <mark@klomp.org>
12059
12060 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
12061 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
12062 java/awt/Dialog.java java/awt/FileDialog.java
12063 java/awt/Font.java java/awt/FontMetrics.java
12064 java/awt/Image.java java/awt/ImageMediaEntry.java
12065 java/awt/Insets.java java/awt/List.java
12066 java/awt/MediaEntry.java java/awt/MediaTracker.java
12067 java/awt/Menu.java java/awt/MenuBar.java
12068 java/awt/MenuContainer.java java/awt/MenuShortcut.java
12069 java/awt/PaintContext.java java/awt/Panel.java
12070 java/awt/PopupMenu.java java/awt/SystemColor.java
12071 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12072 java/awt/peer/CheckboxMenuItemPeer.java
12073 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12074 java/awt/peer/ComponentPeer.java
12075 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12076 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12077 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12078 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12079 java/awt/peer/MenuBarPeer.java
12080 java/awt/peer/MenuComponentPeer.java
12081 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12082 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12083 java/awt/peer/ScrollPanePeer.java
12084 java/awt/peer/ScrollbarPeer.java
12085 java/awt/peer/TextAreaPeer.java
12086 java/awt/peer/TextComponentPeer.java
12087 java/awt/peer/TextFieldPeer.java
12088 java/awt/peer/WindowPeer.java: Add license clarification.
12089
12090 2002-01-22 Mark Wielaard <mark@klomp.org>
12091
12092 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12093 gnu/gcj/runtime/StringBuffer.java
12094 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12095 gnu/java/awt/ComponentDataBlitOp.java
12096 gnu/java/awt/GLightweightPeer.java
12097 gnu/java/beans/BeanInfoEmbryo.java
12098 gnu/java/beans/EmptyBeanInfo.java
12099 gnu/java/beans/ExplicitBeanInfo.java
12100 gnu/java/beans/IntrospectionIncubator.java
12101 gnu/java/beans/editors/ColorEditor.java
12102 gnu/java/beans/editors/FontEditor.java
12103 gnu/java/beans/editors/NativeBooleanEditor.java
12104 gnu/java/beans/editors/NativeByteEditor.java
12105 gnu/java/beans/editors/NativeDoubleEditor.java
12106 gnu/java/beans/editors/NativeFloatEditor.java
12107 gnu/java/beans/editors/NativeIntEditor.java
12108 gnu/java/beans/editors/NativeLongEditor.java
12109 gnu/java/beans/editors/NativeShortEditor.java
12110 gnu/java/beans/editors/StringEditor.java
12111 gnu/java/beans/info/ComponentBeanInfo.java
12112 gnu/java/io/ClassLoaderObjectInputStream.java
12113 gnu/java/io/NullOutputStream.java
12114 gnu/java/io/ObjectIdentityWrapper.java
12115 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12116 gnu/java/lang/reflect/TypeSignature.java
12117 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12118 gnu/java/locale/Calendar_en.java
12119 gnu/java/locale/Calendar_nl.java
12120 gnu/java/locale/LocaleInformation.java
12121 gnu/java/locale/LocaleInformation_de.java
12122 gnu/java/locale/LocaleInformation_en.java
12123 gnu/java/locale/LocaleInformation_nl.java
12124 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12125 gnu/java/rmi/registry/RegistryImpl.java
12126 gnu/java/rmi/rmic/Compile_gcj.java
12127 gnu/java/rmi/rmic/Compiler.java
12128 gnu/java/rmi/rmic/CompilerProcess.java
12129 gnu/java/rmi/rmic/RMIC.java
12130 gnu/java/rmi/rmic/TabbedWriter.java
12131 gnu/java/rmi/server/ProtocolConstants.java
12132 gnu/java/rmi/server/RMIDefaultSocketFactory.java
12133 gnu/java/rmi/server/RMIHashes.java
12134 gnu/java/rmi/server/RMIObjectInputStream.java
12135 gnu/java/rmi/server/RMIObjectOutputStream.java
12136 gnu/java/rmi/server/UnicastConnection.java
12137 gnu/java/rmi/server/UnicastConnectionManager.java
12138 gnu/java/rmi/server/UnicastRef.java
12139 gnu/java/rmi/server/UnicastRemoteCall.java
12140 gnu/java/rmi/server/UnicastRemoteStub.java
12141 gnu/java/rmi/server/UnicastServer.java
12142 gnu/java/rmi/server/UnicastServerRef.java
12143 gnu/java/security/provider/DefaultPolicy.java
12144 gnu/java/security/provider/Gnu.java
12145 gnu/java/security/provider/SHA.java
12146 gnu/java/security/provider/SHA1PRNG.java
12147 gnu/java/text/BaseBreakIterator.java
12148 gnu/java/text/CharacterBreakIterator.java
12149 gnu/java/text/LineBreakIterator.java
12150 gnu/java/text/SentenceBreakIterator.java
12151 gnu/java/text/WordBreakIterator.java
12152 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12153 java/applet/AppletContext.java java/applet/AppletStub.java
12154 java/applet/AudioClip.java java/awt/AWTError.java
12155 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12156 java/awt/AWTException.java java/awt/AWTPermission.java
12157 java/awt/ActiveEvent.java java/awt/BorderLayout.java
12158 java/awt/Button.java java/awt/Canvas.java
12159 java/awt/CardLayout.java java/awt/Checkbox.java
12160 java/awt/CheckboxGroup.java java/awt/Component.java
12161 java/awt/ComponentOrientation.java java/awt/Container.java
12162 java/awt/Dimension.java java/awt/Event.java
12163 java/awt/EventDispatchThread.java java/awt/EventQueue.java
12164 java/awt/FlowLayout.java java/awt/Frame.java
12165 java/awt/Graphics.java java/awt/Graphics2D.java
12166 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12167 java/awt/IllegalComponentStateException.java
12168 java/awt/ItemSelectable.java java/awt/Label.java
12169 java/awt/LayoutManager.java java/awt/LayoutManager2.java
12170 java/awt/MenuComponent.java java/awt/MenuItem.java
12171 java/awt/Paint.java java/awt/Point.java
12172 java/awt/Rectangle.java java/awt/RenderingHints.java
12173 java/awt/Transparency.java java/awt/Window.java
12174 java/awt/color/ColorSpace.java
12175 java/awt/color/ICC_ColorSpace.java
12176 java/awt/color/ICC_Profile.java
12177 java/awt/event/HierarchyBoundsAdapter.java
12178 java/awt/event/HierarchyBoundsListener.java
12179 java/awt/event/HierarchyEvent.java
12180 java/awt/event/HierarchyListener.java
12181 java/awt/geom/AffineTransform.java
12182 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12183 java/awt/geom/IllegalPathStateException.java
12184 java/awt/geom/Line2D.java
12185 java/awt/geom/NoninvertibleTransformException.java
12186 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12187 java/awt/geom/Rectangle2D.java
12188 java/awt/geom/RectangularShape.java
12189 java/awt/geom/RoundRectangle2D.java
12190 java/awt/image/BufferedImage.java
12191 java/awt/image/ColorModel.java
12192 java/awt/image/ComponentColorModel.java
12193 java/awt/image/ComponentSampleModel.java
12194 java/awt/image/DataBuffer.java
12195 java/awt/image/DataBufferByte.java
12196 java/awt/image/DataBufferInt.java
12197 java/awt/image/DataBufferUShort.java
12198 java/awt/image/DirectColorModel.java
12199 java/awt/image/PackedColorModel.java
12200 java/awt/image/Raster.java java/awt/image/RasterOp.java
12201 java/awt/image/SampleModel.java
12202 java/awt/image/SinglePixelPackedSampleModel.java
12203 java/awt/image/WritableRaster.java
12204 java/beans/AppletInitializer.java
12205 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12206 java/beans/Beans.java java/beans/Customizer.java
12207 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12208 java/beans/FeatureDescriptor.java
12209 java/beans/IndexedPropertyDescriptor.java
12210 java/beans/IntrospectionException.java
12211 java/beans/Introspector.java java/beans/MethodDescriptor.java
12212 java/beans/ParameterDescriptor.java
12213 java/beans/PropertyChangeEvent.java
12214 java/beans/PropertyChangeListener.java
12215 java/beans/PropertyChangeSupport.java
12216 java/beans/PropertyDescriptor.java
12217 java/beans/PropertyEditor.java
12218 java/beans/PropertyEditorManager.java
12219 java/beans/PropertyEditorSupport.java
12220 java/beans/PropertyVetoException.java
12221 java/beans/SimpleBeanInfo.java
12222 java/beans/VetoableChangeListener.java
12223 java/beans/VetoableChangeSupport.java
12224 java/beans/Visibility.java
12225 java/beans/beancontext/BeanContext.java
12226 java/beans/beancontext/BeanContextChild.java
12227 java/beans/beancontext/BeanContextChildComponentProxy.java
12228 java/beans/beancontext/BeanContextChildSupport.java
12229 java/beans/beancontext/BeanContextContainerProxy.java
12230 java/beans/beancontext/BeanContextEvent.java
12231 java/beans/beancontext/BeanContextMembershipEvent.java
12232 java/beans/beancontext/BeanContextMembershipListener.java
12233 java/beans/beancontext/BeanContextProxy.java
12234 java/beans/beancontext/BeanContextServiceAvailableEvent.java
12235 java/beans/beancontext/BeanContextServiceProvider.java
12236 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12237 java/beans/beancontext/BeanContextServiceRevokedEvent.java
12238 java/beans/beancontext/BeanContextServiceRevokedListener.java
12239 java/beans/beancontext/BeanContextServices.java
12240 java/beans/beancontext/BeanContextServicesListener.java
12241 java/io/BufferedInputStream.java
12242 java/io/BufferedOutputStream.java java/io/BufferedReader.java
12243 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12244 java/io/ByteArrayOutputStream.java
12245 java/io/CharArrayReader.java java/io/CharArrayWriter.java
12246 java/io/CharConversionException.java java/io/DataInput.java
12247 java/io/DataInputStream.java java/io/DataOutput.java
12248 java/io/EOFException.java java/io/Externalizable.java
12249 java/io/FileFilter.java java/io/FileNotFoundException.java
12250 java/io/FilePermission.java java/io/FileReader.java
12251 java/io/FileWriter.java java/io/FilenameFilter.java
12252 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12253 java/io/FilterReader.java java/io/FilterWriter.java
12254 java/io/IOException.java java/io/InputStream.java
12255 java/io/InterruptedIOException.java
12256 java/io/InvalidClassException.java
12257 java/io/InvalidObjectException.java
12258 java/io/NotActiveException.java
12259 java/io/NotSerializableException.java java/io/ObjectInput.java
12260 java/io/ObjectInputStream.java
12261 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12262 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12263 java/io/ObjectStreamConstants.java
12264 java/io/ObjectStreamException.java
12265 java/io/ObjectStreamField.java
12266 java/io/OptionalDataException.java java/io/OutputStream.java
12267 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12268 java/io/PipedReader.java java/io/PipedWriter.java
12269 java/io/PrintWriter.java java/io/PushbackInputStream.java
12270 java/io/PushbackReader.java java/io/Reader.java
12271 java/io/SequenceInputStream.java java/io/Serializable.java
12272 java/io/SerializablePermission.java
12273 java/io/StreamCorruptedException.java
12274 java/io/StreamTokenizer.java
12275 java/io/StringBufferInputStream.java java/io/StringReader.java
12276 java/io/StringWriter.java java/io/SyncFailedException.java
12277 java/io/UTFDataFormatException.java
12278 java/io/UnsupportedEncodingException.java
12279 java/io/WriteAbortedException.java java/io/Writer.java
12280 java/lang/AbstractMethodError.java
12281 java/lang/ArithmeticException.java
12282 java/lang/ArrayIndexOutOfBoundsException.java
12283 java/lang/ArrayStoreException.java java/lang/Boolean.java
12284 java/lang/Byte.java java/lang/CharSequence.java
12285 java/lang/ClassCastException.java
12286 java/lang/ClassCircularityError.java
12287 java/lang/ClassFormatError.java
12288 java/lang/ClassNotFoundException.java
12289 java/lang/CloneNotSupportedException.java
12290 java/lang/Cloneable.java java/lang/Comparable.java
12291 java/lang/Compiler.java java/lang/Double.java
12292 java/lang/Error.java java/lang/Exception.java
12293 java/lang/ExceptionInInitializerError.java
12294 java/lang/Float.java java/lang/IllegalAccessError.java
12295 java/lang/IllegalAccessException.java
12296 java/lang/IllegalArgumentException.java
12297 java/lang/IllegalMonitorStateException.java
12298 java/lang/IllegalStateException.java
12299 java/lang/IllegalThreadStateException.java
12300 java/lang/IncompatibleClassChangeError.java
12301 java/lang/IndexOutOfBoundsException.java
12302 java/lang/InheritableThreadLocal.java
12303 java/lang/InstantiationError.java
12304 java/lang/InstantiationException.java java/lang/Integer.java
12305 java/lang/InternalError.java
12306 java/lang/InterruptedException.java
12307 java/lang/LinkageError.java java/lang/Long.java
12308 java/lang/NegativeArraySizeException.java
12309 java/lang/NoClassDefFoundError.java
12310 java/lang/NoSuchFieldError.java
12311 java/lang/NoSuchFieldException.java
12312 java/lang/NoSuchMethodError.java
12313 java/lang/NoSuchMethodException.java
12314 java/lang/NullPointerException.java java/lang/Number.java
12315 java/lang/NumberFormatException.java
12316 java/lang/OutOfMemoryError.java java/lang/Package.java
12317 java/lang/Process.java java/lang/Runnable.java
12318 java/lang/RuntimeException.java
12319 java/lang/RuntimePermission.java
12320 java/lang/SecurityException.java
12321 java/lang/SecurityManager.java java/lang/Short.java
12322 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12323 java/lang/StringIndexOutOfBoundsException.java
12324 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12325 java/lang/ThreadLocal.java java/lang/UnknownError.java
12326 java/lang/UnsatisfiedLinkError.java
12327 java/lang/UnsupportedClassVersionError.java
12328 java/lang/UnsupportedOperationException.java
12329 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12330 java/lang/Void.java java/lang/ref/PhantomReference.java
12331 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12332 java/lang/ref/SoftReference.java
12333 java/lang/ref/WeakReference.java
12334 java/lang/reflect/AccessibleObject.java
12335 java/lang/reflect/InvocationTargetException.java
12336 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12337 java/lang/reflect/ReflectPermission.java
12338 java/math/BigDecimal.java java/math/BigInteger.java
12339 java/net/Authenticator.java java/net/BindException.java
12340 java/net/ConnectException.java java/net/ContentHandler.java
12341 java/net/ContentHandlerFactory.java
12342 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12343 java/net/FileNameMap.java java/net/MalformedURLException.java
12344 java/net/MulticastSocket.java java/net/NetPermission.java
12345 java/net/NoRouteToHostException.java
12346 java/net/PasswordAuthentication.java
12347 java/net/ProtocolException.java java/net/ServerSocket.java
12348 java/net/Socket.java java/net/SocketException.java
12349 java/net/SocketImpl.java java/net/SocketImplFactory.java
12350 java/net/SocketOptions.java java/net/SocketPermission.java
12351 java/net/URLDecoder.java java/net/URLEncoder.java
12352 java/net/URLStreamHandlerFactory.java
12353 java/net/UnknownHostException.java
12354 java/net/UnknownServiceException.java
12355 java/rmi/AccessException.java
12356 java/rmi/AlreadyBoundException.java
12357 java/rmi/ConnectException.java
12358 java/rmi/ConnectIOException.java
12359 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12360 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12361 java/rmi/NotBoundException.java
12362 java/rmi/RMISecurityException.java
12363 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12364 java/rmi/RemoteException.java java/rmi/ServerError.java
12365 java/rmi/ServerException.java
12366 java/rmi/ServerRuntimeException.java
12367 java/rmi/StubNotFoundException.java
12368 java/rmi/UnexpectedException.java
12369 java/rmi/UnknownHostException.java
12370 java/rmi/UnmarshalException.java
12371 java/rmi/activation/Activatable.java
12372 java/rmi/activation/ActivateFailedException.java
12373 java/rmi/activation/ActivationDesc.java
12374 java/rmi/activation/ActivationException.java
12375 java/rmi/activation/ActivationGroup.java
12376 java/rmi/activation/ActivationGroupDesc.java
12377 java/rmi/activation/ActivationGroupID.java
12378 java/rmi/activation/ActivationID.java
12379 java/rmi/activation/ActivationInstantiator.java
12380 java/rmi/activation/ActivationMonitor.java
12381 java/rmi/activation/ActivationSystem.java
12382 java/rmi/activation/Activator.java
12383 java/rmi/activation/UnknownGroupException.java
12384 java/rmi/activation/UnknownObjectException.java
12385 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12386 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12387 java/rmi/registry/Registry.java
12388 java/rmi/registry/RegistryHandler.java
12389 java/rmi/server/ExportException.java
12390 java/rmi/server/LoaderHandler.java
12391 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12392 java/rmi/server/Operation.java
12393 java/rmi/server/RMIClassLoader.java
12394 java/rmi/server/RMIClientSocketFactory.java
12395 java/rmi/server/RMIFailureHandler.java
12396 java/rmi/server/RMIServerSocketFactory.java
12397 java/rmi/server/RMISocketFactory.java
12398 java/rmi/server/RemoteCall.java
12399 java/rmi/server/RemoteObject.java
12400 java/rmi/server/RemoteRef.java
12401 java/rmi/server/RemoteServer.java
12402 java/rmi/server/RemoteStub.java
12403 java/rmi/server/ServerCloneException.java
12404 java/rmi/server/ServerNotActiveException.java
12405 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12406 java/rmi/server/SkeletonMismatchException.java
12407 java/rmi/server/SkeletonNotFoundException.java
12408 java/rmi/server/SocketSecurityException.java
12409 java/rmi/server/UID.java
12410 java/rmi/server/UnicastRemoteObject.java
12411 java/rmi/server/Unreferenced.java
12412 java/security/AccessControlContext.java
12413 java/security/AccessControlException.java
12414 java/security/AccessController.java
12415 java/security/AlgorithmParameterGenerator.java
12416 java/security/AlgorithmParameterGeneratorSpi.java
12417 java/security/AlgorithmParameters.java
12418 java/security/AlgorithmParametersSpi.java
12419 java/security/AllPermission.java
12420 java/security/BasicPermission.java
12421 java/security/Certificate.java java/security/CodeSource.java
12422 java/security/DigestException.java
12423 java/security/DigestInputStream.java
12424 java/security/DigestOutputStream.java
12425 java/security/DomainCombiner.java
12426 java/security/DummyKeyPairGenerator.java
12427 java/security/DummyMessageDigest.java
12428 java/security/DummySignature.java
12429 java/security/GeneralSecurityException.java
12430 java/security/Guard.java java/security/GuardedObject.java
12431 java/security/Identity.java java/security/IdentityScope.java
12432 java/security/InvalidAlgorithmParameterException.java
12433 java/security/InvalidKeyException.java
12434 java/security/InvalidParameterException.java
12435 java/security/Key.java java/security/KeyException.java
12436 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12437 java/security/KeyManagementException.java
12438 java/security/KeyPair.java java/security/KeyPairGenerator.java
12439 java/security/KeyPairGeneratorSpi.java
12440 java/security/KeyStore.java
12441 java/security/KeyStoreException.java
12442 java/security/KeyStoreSpi.java
12443 java/security/MessageDigest.java
12444 java/security/MessageDigestSpi.java
12445 java/security/NoSuchAlgorithmException.java
12446 java/security/NoSuchProviderException.java
12447 java/security/Permission.java
12448 java/security/PermissionCollection.java
12449 java/security/Permissions.java java/security/Policy.java
12450 java/security/Principal.java java/security/PrivateKey.java
12451 java/security/PrivilegedAction.java
12452 java/security/PrivilegedActionException.java
12453 java/security/PrivilegedExceptionAction.java
12454 java/security/ProtectionDomain.java
12455 java/security/Provider.java
12456 java/security/ProviderException.java
12457 java/security/PublicKey.java
12458 java/security/SecureClassLoader.java
12459 java/security/SecureRandom.java
12460 java/security/SecureRandomSpi.java java/security/Security.java
12461 java/security/SecurityPermission.java
12462 java/security/Signature.java
12463 java/security/SignatureException.java
12464 java/security/SignatureSpi.java
12465 java/security/SignedObject.java java/security/Signer.java
12466 java/security/UnrecoverableKeyException.java
12467 java/security/UnresolvedPermission.java
12468 java/security/acl/Acl.java java/security/acl/AclEntry.java
12469 java/security/acl/AclNotFoundException.java
12470 java/security/acl/Group.java
12471 java/security/acl/LastOwnerException.java
12472 java/security/acl/NotOwnerException.java
12473 java/security/acl/Owner.java java/security/acl/Permission.java
12474 java/security/cert/CRL.java
12475 java/security/cert/CRLException.java
12476 java/security/cert/Certificate.java
12477 java/security/cert/CertificateEncodingException.java
12478 java/security/cert/CertificateException.java
12479 java/security/cert/CertificateExpiredException.java
12480 java/security/cert/CertificateFactory.java
12481 java/security/cert/CertificateFactorySpi.java
12482 java/security/cert/CertificateNotYetValidException.java
12483 java/security/cert/CertificateParsingException.java
12484 java/security/cert/X509CRL.java
12485 java/security/cert/X509CRLEntry.java
12486 java/security/cert/X509Certificate.java
12487 java/security/cert/X509Extension.java
12488 java/security/interfaces/DSAKey.java
12489 java/security/interfaces/DSAKeyPairGenerator.java
12490 java/security/interfaces/DSAParams.java
12491 java/security/interfaces/DSAPrivateKey.java
12492 java/security/interfaces/DSAPublicKey.java
12493 java/security/interfaces/RSAKey.java
12494 java/security/interfaces/RSAPrivateCrtKey.java
12495 java/security/interfaces/RSAPrivateKey.java
12496 java/security/interfaces/RSAPublicKey.java
12497 java/security/spec/AlgorithmParameterSpec.java
12498 java/security/spec/DSAParameterSpec.java
12499 java/security/spec/DSAPrivateKeySpec.java
12500 java/security/spec/DSAPublicKeySpec.java
12501 java/security/spec/EncodedKeySpec.java
12502 java/security/spec/InvalidKeySpecException.java
12503 java/security/spec/InvalidParameterSpecException.java
12504 java/security/spec/KeySpec.java
12505 java/security/spec/PKCS8EncodedKeySpec.java
12506 java/security/spec/RSAKeyGenParameterSpec.java
12507 java/security/spec/RSAPrivateCrtKeySpec.java
12508 java/security/spec/RSAPrivateKeySpec.java
12509 java/security/spec/RSAPublicKeySpec.java
12510 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12511 java/sql/BatchUpdateException.java java/sql/Blob.java
12512 java/sql/CallableStatement.java java/sql/Clob.java
12513 java/sql/Connection.java java/sql/DataTruncation.java
12514 java/sql/DatabaseMetaData.java java/sql/Date.java
12515 java/sql/Driver.java java/sql/DriverManager.java
12516 java/sql/DriverPropertyInfo.java
12517 java/sql/PreparedStatement.java java/sql/Ref.java
12518 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12519 java/sql/SQLData.java java/sql/SQLException.java
12520 java/sql/SQLInput.java java/sql/SQLOutput.java
12521 java/sql/SQLWarning.java java/sql/Statement.java
12522 java/sql/Struct.java java/sql/Time.java
12523 java/sql/Timestamp.java java/sql/Types.java
12524 java/text/Annotation.java
12525 java/text/AttributedCharacterIterator.java
12526 java/text/AttributedString.java
12527 java/text/AttributedStringIterator.java
12528 java/text/BreakIterator.java java/text/CharacterIterator.java
12529 java/text/ChoiceFormat.java java/text/Collator.java
12530 java/text/DateFormat.java java/text/DateFormatSymbols.java
12531 java/text/DecimalFormat.java
12532 java/text/DecimalFormatSymbols.java
12533 java/text/FieldPosition.java java/text/Format.java
12534 java/text/MessageFormat.java java/text/NumberFormat.java
12535 java/text/ParseException.java java/text/ParsePosition.java
12536 java/text/SimpleDateFormat.java
12537 java/text/StringCharacterIterator.java
12538 java/util/AbstractCollection.java java/util/AbstractList.java
12539 java/util/AbstractMap.java
12540 java/util/AbstractSequentialList.java
12541 java/util/AbstractSet.java java/util/ArrayList.java
12542 java/util/Arrays.java java/util/BasicMapEntry.java
12543 java/util/BitSet.java java/util/Calendar.java
12544 java/util/Collection.java java/util/Collections.java
12545 java/util/Comparator.java
12546 java/util/ConcurrentModificationException.java
12547 java/util/Date.java java/util/Dictionary.java
12548 java/util/EmptyStackException.java java/util/Enumeration.java
12549 java/util/EventListener.java java/util/EventObject.java
12550 java/util/GregorianCalendar.java java/util/HashMap.java
12551 java/util/HashSet.java java/util/Hashtable.java
12552 java/util/IdentityHashMap.java java/util/Iterator.java
12553 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12554 java/util/LinkedList.java java/util/List.java
12555 java/util/ListIterator.java java/util/ListResourceBundle.java
12556 java/util/Locale.java java/util/Map.java
12557 java/util/MissingResourceException.java
12558 java/util/NoSuchElementException.java
12559 java/util/Observable.java java/util/Observer.java
12560 java/util/Properties.java java/util/PropertyPermission.java
12561 java/util/PropertyResourceBundle.java java/util/Random.java
12562 java/util/RandomAccess.java java/util/ResourceBundle.java
12563 java/util/Set.java java/util/SimpleTimeZone.java
12564 java/util/SortedMap.java java/util/SortedSet.java
12565 java/util/Stack.java java/util/StringTokenizer.java
12566 java/util/TimeZone.java java/util/Timer.java
12567 java/util/TimerTask.java
12568 java/util/TooManyListenersException.java
12569 java/util/TreeMap.java java/util/TreeSet.java
12570 java/util/Vector.java java/util/WeakHashMap.java
12571 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12572 java/util/jar/JarException.java java/util/jar/JarFile.java
12573 java/util/jar/JarInputStream.java
12574 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12575 java/util/zip/Adler32.java java/util/zip/CRC32.java
12576 java/util/zip/CheckedInputStream.java
12577 java/util/zip/CheckedOutputStream.java
12578 java/util/zip/Checksum.java
12579 java/util/zip/DataFormatException.java
12580 java/util/zip/Deflater.java
12581 java/util/zip/DeflaterOutputStream.java
12582 java/util/zip/GZIPInputStream.java
12583 java/util/zip/GZIPOutputStream.java
12584 java/util/zip/Inflater.java
12585 java/util/zip/InflaterInputStream.java
12586 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12587 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12588 java/util/zip/ZipInputStream.java
12589 java/util/zip/ZipOutputStream.java
12590 javax/naming/BinaryRefAddr.java
12591 javax/naming/InvalidNameException.java javax/naming/Name.java
12592 javax/naming/NamingException.java javax/naming/RefAddr.java
12593 javax/naming/StringRefAddr.java: Add license clarification.
12594
12595 2002-01-22 Tom Tromey <tromey@redhat.com>
12596
12597 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12598 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12599 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12600 version.
12601 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12602 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12603 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12604 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12605 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12606 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12607 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12608 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12609 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12610 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12611 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12612 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12613 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12614 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12615 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12616 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12617 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12618 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12619 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12620 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12621 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12622 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12623 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12624 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12625 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12626 (minimumSize, preferredSize, reshape): Likewise.
12627 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12628 getColorModel): New methods.
12629 * java/awt/PopupMenu.java: Merged with Classpath.
12630 * java/awt/MenuBar.java: Merged with Classpath.
12631 * java/awt/SystemColor.java: Replace with Classpath version.
12632 * java/awt/Panel.java: Merged with Classpath.
12633 * java/awt/PaintContext.java: Updated copyright.
12634 * java/awt/MenuShortcut.java: Merged with Classpath.
12635 * java/awt/MenuContainer.java: Merged with Classpath.
12636 * java/awt/Menu.java: Merged with Classpath.
12637 * java/awt/MediaEntry.java: New file from Classpath.
12638 * java/awt/MediaTracker.java: New file from Classpath.
12639 * java/awt/List.java: Merged with Classpath version.
12640 * java/awt/Insets.java: Merged with Classpath version.
12641 * java/awt/ImageMediaEntry.java: New file from Classpath.
12642 * java/awt/Image.java: Replaced with Classpath version.
12643 * java/awt/FontMetrics.java: Merged with Classpath version.
12644 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12645 constant.
12646 * java/awt/Font.java: Merged with Classpath version.
12647 * java/awt/Dialog.java: Merged with Classpath version.
12648 * java/awt/Color.java: Merged with Classpath version.
12649 * java/awt/Choice.java: Merged with Classpath version.
12650 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12651 * java/awt/Adjustable.java: Replace with Classpath version.
12652 * java/awt/MenuItem.java (paramString): Don't include class name
12653 or brackets. Call superclass paramString.
12654 * java/awt/MenuComponent.java (toString): Call paramString.
12655 (paramString): Compute string; don't call toString.
12656 * java/awt/Label.java (paramString): Don't include class name
12657 or brackets. Call superclass paramString.
12658 * java/awt/Checkbox.java (paramString): Don't include class name
12659 or brackets. Call superclass paramString.
12660 * java/awt/Button.java (paramString): Don't include class name or
12661 brackets. Call superclass paramString.
12662 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12663
12664 2002-01-20 Andreas Schwab <schwab@suse.de>
12665
12666 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12667 function and of parameter recv_func to ssize_t, as specified by
12668 POSIX.
12669
12670 2002-01-19 Per Bothner <per@bothner.com>
12671
12672 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12673 uncompressed_size in readiness for next entry.
12674
12675 2002-01-18 Tom Tromey <tromey@redhat.com>
12676
12677 * java/net/natPlainSocketImpl.cc: Include
12678 IllegalArgumentException.h.
12679 (_Jv_recv): New template function.
12680 (BooleanClass): Removed.
12681 (read): Use _Jv_recv.
12682 (setOption): Use Boolean::class$. Throw exception if object is
12683 not Boolean or Integer.
12684
12685 2002-01-17 Tom Tromey <tromey@redhat.com>
12686
12687 * java/awt/MenuComponent.java: Merged with Classpath.
12688 * java/awt/MenuItem.java: Merged with Classpath.
12689 * java/awt/Button.java: Merged with Classpath.
12690
12691 * java/awt/ActiveEvent.java: Updated copyright.
12692
12693 * java/awt/AWTError.java: Replaced with Classpath version.
12694 * java/awt/AWTException.java: Replaced with Classpath version.
12695 * java/awt/IllegalComponentStateException.java: Replaced with
12696 Classpath version.
12697
12698 2002-01-16 Tom Tromey <tromey@redhat.com>
12699
12700 * java/awt/Canvas.java (serialVersionUID): New constant.
12701 Updated copyright. Added javadoc from Classpath.
12702 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12703
12704 * java/awt/CheckboxGroup.java: Merged with Classpath.
12705 * java/awt/Checkbox.java: Merged with Classpath.
12706
12707 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12708 Classpath.
12709 * java/awt/Point.java: Updated copyright.
12710
12711 * java/awt/Point.java (toString): Use getClass().getName().
12712 Added javadoc.
12713
12714 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12715 commented code.
12716 (hash): Correctly compute initial value for `h'.
12717
12718 * java/awt/Label.java: Merged with Classpath.
12719
12720 2002-01-15 Tom Tromey <tromey@redhat.com>
12721
12722 * java/awt/AWTPermission.java: Updated copyright.
12723
12724 * java/awt/LayoutManager2.java: Merged with Classpath.
12725 * java/awt/LayoutManager.java: Merged with Classpath.
12726 * java/awt/GridLayout.java: Updated copyright and javadoc.
12727 (getSize): Use `parent.ncomponents'. Handle insets.
12728 (layoutContainer): Use `parent.ncomponents'. Handle case where
12729 there are fewer children than columns. Correctly compute size of
12730 each cell in the grid. Handle case where there isn't enough
12731 space.
12732 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12733 all users.
12734 (gotoComponent): Use parent.ncomponents. Ensure child exists
12735 before calling setVisible() on it. Last item is `num - 1', not
12736 `num'.
12737 (layoutContainer): Hoist invariants out of loop.
12738
12739 Start of AWT merge with Classpath:
12740 * Makefile.in: Rebuilt.
12741 * Makefile.am (awt_java_source_files): Reference files in
12742 gnu/java/awt, not gnu/gcj/awt.
12743 * java/awt/image/BufferedImage.java: Updated copyright.
12744 * java/awt/image/ComponentColorModel.java: Updated copyright.
12745 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12746 * java/awt/image/DataBuffer.java: Updated copyright.
12747 * java/awt/image/DataBufferByte.java: Updated copyright.
12748 * java/awt/image/DataBufferInt.java: Updated copyright.
12749 * java/awt/image/DataBufferUShort.java: Updated copyright.
12750 * java/awt/image/IndexColorModel.java: Updated copyright.
12751 * java/awt/image/PackedColorModel.java: Updated copyright.
12752 * java/awt/image/Raster.java: Updated copyright.
12753 * java/awt/image/RasterOp.java: Updated copyright.
12754 * java/awt/image/SampleModel.java: Updated copyright.
12755 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12756 * java/awt/image/WritableRaster.java: Updated copyright.
12757 * java/awt/color/ColorSpace.java: Updated copyright.
12758 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12759 * java/awt/color/ICC_Profile.java: Updated copyright.
12760 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12761 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12762 * java/awt/event/HierarchyEvent.java: Updated copyright.
12763 * java/awt/event/HierarchyListener.java: Updated copyright.
12764 * java/awt/geom/AffineTransform.java: Updated copyright.
12765 * java/awt/geom/Dimension2D.java: Updated copyright.
12766 * java/awt/geom/Ellipse2D.java: Updated copyright.
12767 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12768 * java/awt/geom/Line2D.java: Updated copyright.
12769 * java/awt/geom/NoninvertibleTransformException.java: Updated
12770 copyright.
12771 * java/awt/geom/PathIterator.java: Updated copyright.
12772 * java/awt/geom/Point2D.java: Updated copyright.
12773 * java/awt/geom/Rectangle2D.java: Updated copyright.
12774 * java/awt/geom/RectangularShape.java: Updated copyright.
12775 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12776 * java/awt/Toolkit.java: Updated import for file moves.
12777 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12778 Classpath.
12779 (hashCode): New method from Classpath.
12780 * java/awt/Graphics2D.java: Updated copyright.
12781 * java/awt/Transparency.java: Updated copyright.
12782 * java/awt/Paint.java: Updated copyright.
12783 * java/awt/Graphics.java: New version from Classpath.
12784 * java/awt/EventDispatchThread.java: Updated copyright.
12785 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12786 children.
12787 (gotoComponent): Wrap around on next/previous.
12788 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12789 * gnu/gcj/awt/Buffers.java: Removed.
12790 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12791 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12792 * gnu/java/awt/BitMaskExtent.java: Added.
12793 * gnu/java/awt/Buffers.java: Added.
12794 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12795 * gnu/java/awt/GLightweightPeer.java: Added.
12796 * java/awt/geom/Line2D.java (clone): Ignore
12797 CloneNotSupportedException.
12798 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12799 * java/awt/Frame.java: Merged with Classpath.
12800 * java/awt/RenderingHints.java: Copyright update.
12801 * java/awt/Paint.java: Copyright update.
12802 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12803 * java/awt/image/ColorModel.java: Merged with Classpath.
12804 * java/awt/Window.java (show): New Implementation from Classpath.
12805 (isShowing): Use super.isShowing().
12806 * java/awt/EventQueue.java: Merged with Classpath.
12807 * java/awt/AWTEventMulticaster.java (save): Throw
12808 RuntimeException.
12809 (saveInternal): Likewise.
12810 * java/awt/AWTEvent.java: Now implements Serializable.
12811 * java/awt/Event.java: Copyright update.
12812 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12813 * java/awt/image/BufferedImage.java: Copyright update.
12814 * java/awt/GraphicsConfiguration.java: Copyright update.
12815 * java/awt/Component.java: (addNotify): Don't call
12816 addNotifyContainerChildren().
12817 (addNotifyContainerChildren): Removed.
12818 (setPeer): New method from Classpath.
12819 (setTreeLock): Likewise.
12820 (setVisible): Rewrote.
12821 (show): Use it.
12822 (hide): Likewise.
12823 (validate): Set `valid'.
12824 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12825 (createImage(ImageProducer)): Likewise.
12826 (prepareImage): Likewise.
12827 * java/awt/Container.java (addImpl): Handle case where constraint
12828 is not a String. Post event via system event queue.
12829 (remove): Post event via system event queue.
12830 (validateTree): Only validate child if it is invalid.
12831 (getAlignmentX): Call super method as default.
12832 (getAlignmentY): Likewise.
12833 (addContainerListener): Now synchronized.
12834 (removeContainerListener): Likewise.
12835 (addNotifyContainerChildren): Now private.
12836 * java/awt/ComponentOrientation.java: Updated copyright. Added
12837 @author.
12838 * java/awt/FlowLayout.java (serialVersionUID): New field.
12839 (setAlignment): Better exception message.
12840 (layoutContainer): Don't compute component's preferred size unless
12841 we're going to use it.
12842 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12843 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12844 (firstLine, lastLine, firstItem, lastItem): New fields.
12845 (addLayoutComponent): Handle case where constraints is null.
12846 Also, handle relative locations.
12847 (removeLayoutComponent): Handle relative locations.
12848 (MIN, MAX, PREF): New constants.
12849 (calcCompSize): New method.
12850 (calcSize): New method.
12851 (minimumLayoutSize): Use it.
12852 (preferredLayoutSize): Likewise.
12853 (maximumLayoutSize): Likewise.
12854 (toString): Include more information.
12855 (setBounds): New method.
12856 (layoutContainer): Use libgcj implementation; extended to handle
12857 relative locations.
12858
12859 2002-01-15 Tom Tromey <tromey@redhat.com>
12860
12861 * java/lang/Float.java (equals): Preserve old code.
12862 * java/lang/Double.java (equals): Preserve old code.
12863
12864 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12865
12866 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12867 * java/lang/Float.java (equals, compare): Ditto.
12868
12869 2002-01-13 Mark Wielaard <mark@klomp.org>
12870
12871 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12872 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12873 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12874 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12875
12876 2002-01-11 Mark Wielaard <mark@klomp.org>
12877
12878 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12879 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12880 InetAddress.
12881 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12882 * java/net/Socket.java: Merge with Classpath.
12883 * java/net/ServerSocket.java: Likewise.
12884
12885 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12886
12887 * interpret.cc (NULLARRAYCHECK): New macro.
12888 (SAVE_PC): Just store `pc'.
12889 (find_exception): Subtract one from `pc' here.
12890 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12891 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12892 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12893 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12894 don't call SAVE_PC.
12895 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12896 call SAVE_PC.
12897
12898 2002-01-11 Tom Tromey <tromey@redhat.com>
12899
12900 * java/lang/natSystem.cc (init_properties): Only look for default
12901 locale if LC_MESSAGES is defined.
12902 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12903 * configure.in: Call AM_LC_MESSAGES.
12904 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12905
12906 2002-01-10 Tom Tromey <tromey@redhat.com>
12907
12908 For PR libgcj/5303:
12909 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12910 --version. Recognize GNU-style long options. Print GNU-style
12911 error messages.
12912 (usage): Print GNU-style help. Exit with status 0.
12913 (error): New method.
12914 (run): Print error message if no class names found.
12915 (main): Don't print usage on error.
12916
12917 2002-01-09 Tom Tromey <tromey@redhat.com>
12918
12919 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12920 property.
12921 (help, version): Use println(), not println("").
12922
12923 For PR libgcj/5303:
12924 * gnu/gcj/convert/Convert.java (error): Program is called
12925 `jv-convert'. Print GNU-style message. Exit with status 1, not
12926 -1.
12927 (main): Handle --help and --version.
12928 (help): New method.
12929 (version): Likewise.
12930
12931 2002-01-08 Tom Tromey <tromey@redhat.com>
12932
12933 * Makefile.in: Rebuilt.
12934 * Makefile.am (ordinary_java_source_files): Added new files.
12935 * gnu/java/locale/LocaleInformation.java: Extend
12936 LocaleInformation_en.
12937 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12938 and time/date formats.
12939 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12940 generated.
12941 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12942 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12943 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12944 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12945 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12946 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12947 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12948 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12949 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12950 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12951 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12952 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12953 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12954 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12955 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12956 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12957 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12958 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12959 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12960 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12961 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12962 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12963 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12964 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12965 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12966 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12967 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12968 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12969 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12970 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12971 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12972 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12973 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12974 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12975 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12976 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12977 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12978 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12979 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12980 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12981 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12982 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12983 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12984 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12985 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12986 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12987 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12988 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12989 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12990 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12991 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12992 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12993 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12994 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12995 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12996 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12997 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12998 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12999 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
13000 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
13001 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
13002 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
13003 * gnu/java/locale/LocaleInformation_es_US.java: New file.
13004 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
13005 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
13006 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
13007 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
13008 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
13009 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
13010 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
13011 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
13012 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
13013 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
13014 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
13015 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
13016 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
13017 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
13018 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
13019 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
13020 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
13021 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
13022 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
13023 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
13024 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
13025 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
13026 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
13027 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
13028 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
13029 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
13030 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
13031 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
13032 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
13033 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
13034 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
13035 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
13036 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
13037 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
13038 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
13039 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
13040 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
13041 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
13042 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
13043 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
13044 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
13045 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
13046 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
13047 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
13048 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
13049 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
13050 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
13051 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
13052 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
13053 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
13054 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
13055 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
13056 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
13057 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
13058 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
13059 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
13060 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
13061 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
13062 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13063 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13064 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13065 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13066 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13067 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13068 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13069 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13070 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13071
13072 For PR libgcj/5031:
13073 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13074 choose default locale.
13075
13076 * Makefile.in: Rebuilt.
13077 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13078
13079 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
13080
13081 * java/net/natPlainSocketImpl.cc: Added timeout handling for
13082 sockets.
13083 (close): New function closes the socket.
13084 (write): New functions for output to socket.
13085 (read): New functions for reading from socket.
13086 * java/net/PlainSocketImpl.java: Glue for new timeout
13087 implementation.
13088 (write): Call the native impl.
13089 (read): Likewise.
13090 (getInputStream): Get a stream to read from the socket.
13091 (getOutputStream): Get a stream to write to the socket.
13092
13093 2002-01-08 Tom Tromey <tromey@redhat.com>
13094
13095 * resolve.cc (_Jv_PrepareClass): Enable verifier.
13096
13097 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
13098
13099 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13100 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13101
13102 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
13103
13104 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13105 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13106 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13107 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13108 insn_bastore, insn_castore, insn_sastore]: Use it.
13109 (continue1) [insn_arraylength]: Check for null array.
13110
13111 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13112
13113 * configure, include/config.h.in: Rebuilt.
13114 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13115 * configure.in: Call AC_STRUCT_TIMEZONE.
13116
13117 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13118
13119 * configure.host: Disable the interpreter for Darwin.
13120
13121 2002-01-04 Tom Tromey <tromey@redhat.com>
13122
13123 * java/lang/Thread.java (stop): No longer synchronized.
13124 (start): Likewise.
13125
13126 2002-01-02 Tom Tromey <tromey@redhat.com>
13127
13128 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13129 patch.
13130
13131 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
13132
13133 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13134 PPC Darwin, not for all of Darwin.