Font.java: Stub out more recent API.
[gcc.git] / libjava / ChangeLog
1 2003-08-12 Graydon Hoare <graydon@redhat.com>
2
3 * java/awt/Font.java:
4 Stub out more recent API.
5
6 2003-08-12 Graydon Hoare <graydon@redhat.com>
7
8 * java/awt/Color.java (getAlpha):
9 Prevent sign-extended alpha values.
10
11 2003-08-12 Tom Tromey <tromey@redhat.com>
12
13 * gij.cc (main): Handle -? and -X.
14
15 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
16
17 * java/awt/Container.java
18 (getPreferredSize): Call preferredSize.
19 (preferredSize): Moved body of getPreferredSize here.
20 (getMinimumSize): Call minimumSize.
21 (minimumSize): Moved body of getMinimumSize here.
22
23 2003-08-11 Tom Tromey <tromey@redhat.com>
24
25 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
26 (postEvent): Removed FIXME comment.
27 (isDispatchThread): Documented.
28 (getCurrentEvent): New method.
29 (dispatchEvent): Set currentEvent and lastWhen.
30 (getMostRecentEventTime): Rewrote.
31 (invokeLater): Documented.
32
33 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
34
35 * java/io/PrintStream.java (print): Always flush if auto_flush is
36 set. Don't check for newline characters.
37 (write (int)): Implement without using a temporary array.
38 (write (byte[], int, int): Always flush if auto_flush is set. Don't
39 check for newline characters.
40 Fixes PR libgcj/11778.
41
42 2003-08-08 Andrew Haley <aph@redhat.com>
43
44 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
45 * Makefile.in: Rebuild.
46 * java/lang/natRuntime.cc (insertSystemProperties): Add
47 "sun.boot.class.path".
48
49 2003-08-07 Andrew Haley <aph@redhat.com>
50
51 * java/io/PrintStream.java: Don't crash on a null string.
52
53 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
54
55 * configure.in: Don't initialize GCINCS to boehm-gc/include.
56 * configure: Regenerate.
57
58 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
59
60 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
61 SocketImpl. Update Javadoc.
62 (bind): Call close() not impl.close() in event of exception.
63 (connect): Likewise.
64 Remove superfluous null checks throughout.
65 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
66 Don't create an extra socket. Fix for PR libgcj/10868.
67 (bind): Clean up exception handling.
68 Remove superfluous null checks throughout.
69
70 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
71 Bryce McKinlay <bryce@mckinlay.net.nz>
72
73 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
74 ready-to-write argument to _Jv_Select. Reset the socket back to
75 non-blocking state after connecting.
76 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
77 Throw SocketTimeoutException not InterruptedIOException.
78 (read): Throw SocketTimeoutException not InterruptedIOException.
79
80 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
81
82 * java/lang/Thread.java (Thread): Check for null "name" from
83 start of private constructor, not after calling the private
84 constructor.
85
86 2003-08-06 Tom Tromey <tromey@redhat.com>
87
88 * java/io/FilePermission.java (equals): Use correct index for
89 last character of path.
90
91 2003-08-06 Alan Modra <amodra@bigpond.net.au>
92
93 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
94 * configure.in: Compare with_cross_host to build_alias, not build.
95 * aclocal.m4: Regenerate.
96 * configure: Regenerate.
97
98 2003-08-05 Tom Tromey <tromey@redhat.com>
99
100 Fix for PR libgcj/11779:
101 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
102 class.
103
104 * java/lang/reflect/Method.java: Updated status comment.
105 Imported javadoc from Classpath and re-ordered methods.
106 * java/lang/reflect/Constructor.java: Reindented. Updated
107 status comment. Imported javadoc from Classpath and re-ordered
108 methods.
109
110 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
111
112 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
113 Add keyLocation parameter.
114 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
115 string.
116 (paramString): Generate keyChar string according to keyChar, not
117 keyCode.
118 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
119 (state_to_awt_mods): Handle ALT key.
120 (keyevent_state_to_awt_mods): New function.
121 (get_first_keyval_from_keymap): New function.
122 (keysym_to_awt_keycode): Get virtual key code from keymap.
123 Handle missing VK_ values.
124 (keysym_to_awt_keylocation): New function.
125 (keyevent_to_awt_keychar): New function.
126 (generates_key_typed_event): Handle non-text-component case.
127 Handle GDK_KP_Delete and GDK_KP_Enter.
128 (awt_event_handler): Call new functions to get postKeyEvent
129 parameters.
130 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
131 Update postKeyEvent method signature.
132 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
133 VK_ defines.
134
135 2003-08-05 Matthias Klose <doko@debian.org>
136
137 * aclocal.m4: check for libart-config binary
138 under the name libart2-config as well.
139 * configure: regenerated.
140
141 2003-08-04 David P Grove <groved@us.ibm.com>
142
143 * java/text/DecimalFormat.java (format): avoid ArithmeticException
144 when groupingSize is 0.
145 (parse): Likewise.
146
147 2003-08-04 Matthias Klose <doko@debian.org>
148
149 * libart.m4: check for libart-config binary
150 under the name libart2-config as well.
151 * configure, aclocal.m4: regenerated.
152
153 2003-08-02 Michael Koch <konqueror@gmx.de>
154
155 * java/nio/ByteBufferImpl.java
156 (getChar): Check remaining bytes, fixed comment about endianess.
157 (putChar): Likewise.
158 (getShort): Likewise.
159 (putShort): Likewise.
160 (getInt): Check remaining bytes, fixed conversion, fixed comment about
161 endianess.
162 (putInt): Likewise.
163 (getLong): Likewise.
164 (putLong): Likewise.
165 (getFloat): Likewise.
166 (putFloat): Likewise.
167 (getDouble): Likewise.
168 (putDouble): Likewise.
169 * java/nio/DirectByteBufferImpl.java
170 (getChar): Wrapped code, fixed comment about endianess.
171 (putchar): Likewise.
172 (getShort): Likewise.
173 (putShort): Likewise.
174 (getInt): Fixed conversion, fixed comment about endianess.
175 (putInt): Likewise.
176 (getLong): Likewise.
177 (putLong): Likewise.
178 (getFloat): Likewise.
179 (putFloat): Likewise.
180 (getDouble): Likewise.
181 (putDouble): Likewise.
182 * java/nio/MappedByteBufferImpl.java
183 (compact): Implemented.
184 (getChar): Implemented.
185 (putChar): Implemented.
186 (getDouble): Implemented.
187 (putdouble): Implemented.
188 (getFloat): Implemented.
189 (putFloat): Implemented.
190 (getInt): Implemented.
191 (putInt): Implemented.
192 (getLong): Implemented.
193 (putLong): Implemented.
194 (getShort): Implemented.
195 (putShort): Implemented.
196 * java/nio/channels/FileChannelImpl.java
197 (read): Set position where to access file.
198 (write): Likewise.
199 (transferTo): Flip buffer after read and before write.
200 (transferFrom): Likewise.
201
202 2003-08-02 Michael Koch <konqueror@gmx.de>
203
204 * gnu/java/lang/ArrayHelper.java
205 (equalsArray): Reformated, added method documentation.
206
207 2003-08-02 Michael Koch <konqueror@gmx.de>
208
209 * java/net/URL.java
210 (URL): Added paragraph about the
211 gnu.java.net.nocache_protocol_handlers property.
212 (ph_cache): Renamed from handlers to match classpath's implementation.
213 Reordered it with factory and serialVersionUID member variables.
214 (cache_handlers): New member variable.
215 (static): New static initializer to initialize cache_handlers from
216 gnu.java.net.nocache_protocol_handlers property.
217 (URL): Use ph_cache instead of handlers, reformatted some code to
218 match classpath's implementation.
219
220 2003-08-01 Tom Tromey <tromey@redhat.com>
221
222 Fix for PR libgcj/11241:
223 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
224 initialCapacity is 0, set it to 1.
225
226 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
227
228 * java/net/SocketImpl.java (toString): Display the remote address
229 of an unconnected server socket as "0.0.0.0/0.0.0.0".
230
231 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
232
233 * javax/swing/border/BevelBorder.java,
234 javax/swing/border/EtchedBorder.java,
235 javax/swing/border/LineBorder.java,
236 javax/swing/border/MatteBorder.java,
237 javax/swing/border/SoftBevelBorder.java,
238 javax/swing/plaf/BorderUIResource.java,
239 javax/swing/plaf/ComponentUI.java,
240 javax/swing/plaf/TreeUI.java,
241 javax/swing/plaf/basic/BasicBorders.java,
242 javax/swing/plaf/basic/BasicGraphicsUtils.java,
243 javax/swing/plaf/basic/BasicTreeUI.java:
244 Prepend "doc-files" to all paths to embedded Javadoc images, so
245 that the generated documentation contains the correct URL.
246
247 2003-08-01 Tom Tromey <tromey@redhat.com>
248
249 * configure: Rebuilt.
250 * configure.in (tool_include_dir): Redefine to match gcc.
251
252 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
253 Mark Wielaard <mark@klomp.org>
254
255 * java/math/BigDecimal (divide): Correctly handle
256 ROUND_HALF_EVEN when amount is greater than 0.5.
257 Simplify and optimize code.
258
259 2003-07-31 Tom Tromey <tromey@redhat.com>
260
261 More for PR libgcj/11737:
262 * java/io/ObjectInputStream.java (processResolution): Use
263 getMethod.
264 (getMethod): Make method accessible.
265 (getField): Make field accessible.
266 (setBooleanField): Don't call setAccessible here.
267 (setByteField, setCharField, setDoubleField, setFloatField,
268 setIntField, setLongField, setShortField, setObjectField):
269 Likewise.
270 (callReadMethod): Don't check whether method is null. Catch
271 NoSuchMethodException.
272 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
273 cause on thrown exceptions.
274
275 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
276
277 Fix for PR libgcj/11728:
278 * java/util/HashMap.java (readObject): Set size.
279
280 2003-07-31 Tom Tromey <tromey@redhat.com>
281
282 Fix for PR libgcj/11737:
283 * java/io/ObjectOutputStream.java (getMethod): Make method
284 accessible.
285 (getField): Likewise.
286 (writeObject): Use getMethod.
287 Import PrivilegedAction and AccessController.
288 (callWriteMethod): Don't check whether m is null. Catch
289 NoSuchMethodException.
290
291 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
292 (containsAngle): Likewise.
293 (getStartPoint): Rewrote.
294 (getEndPoint): Likewise.
295 (setAngleStart(Point2D)): Likewise.
296
297 2003-07-31 Roger Sayle <roger@eyesopen.com>
298 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
299
300 * configure.in: Add new THREADCXXFLAGS variable.
301 Handle POSIX threads on alpha*-dec-osf*.
302 * configure: Regenerate.
303 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
304 * Makefile.in: Regenerate.
305
306 2003-07-08 Andrew Haley <aph@redhat.com>
307
308 * include/i386-signal.h (RESTORE): New.
309 (INIT_SEGV): Set restorer.
310 (INIT_FPE): Likewise.
311
312 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
313
314 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
315 than getXLFD.
316 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
317 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
318 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
319 (gtkSetFont): Scale size parameter by PANGO_SCALE.
320 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
321 Likewise.
322 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
323 Likewise.
324
325 2003-07-29 Tom Tromey <tromey@redhat.com>
326
327 * defineclass.cc (handleField): Throw exception if field name is
328 duplicated.
329 (handleMethod): Throw exception for duplicate method.
330
331 2003-07-29 Tom Tromey <tromey@redhat.com>
332
333 * gnu/gcj/convert/natIconv.cc (write): Handle case where
334 output buffer is too small.
335
336 2003-07-28 Tom Tromey <tromey@redhat.com>
337
338 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
339 New method.
340 Include gnu/gcj/runtime/StringBuffer.h.
341 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
342 native method.
343 (String(gnu.gcj.runtime.StringBuffer)): Use it.
344
345 2003-07-27 Anthony Green <green@redhat.com>
346
347 * configure.in: Fix newlib check.
348 * configure: Rebuilt.
349
350 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
351
352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
353 Create vbox and layout for GtkPlug.
354
355 2003-07-27 Michael Koch <konqueror@gmx.de>
356
357 * java/awt/Window.java
358 (Window): Removed now unused constructor. It became oboslete with the
359 new embedded window patch.
360
361 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
362 Michael Koch <konqueror@gmx.de>
363
364 * gnu/java/awt/EmbeddedWindow.java
365 (EmbeddedWindow): Extends Frame instead of Window.
366 (window_id): New member variable to store the native window handle.
367 (create): Removed.
368 (EmbeddedWindow): New constructor.
369 (addNotify): New method.
370 (getHandler): Likewise.
371 (setWindowPeer): New native method.
372 * gnu/java/awt/EmbeddedWindowSupport.java
373 (EmbeddedWindowSupport): Fixed documentation.
374 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
375 WindowPeer, give it an EmbeddedWindow instance instead of the raw
376 window data.
377 * gnu/java/awt/natEmbeddedWindow.cc
378 (create): Removed.
379 (setWindowPeer): New method.
380 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
381 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
382 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
383 New files
384 * gnu/java/awt/peer/gtk/GtkToolkit.java
385 (GtkToolkit): Implements EmbeddedWindowSupport.
386 (createEmbeddedWindow): New method.
387 * java/awt/Window.java
388 (Window): Removed.
389 * Makefile.am
390 (java_source_files): Added EmbeddedWindowPeer.java.
391 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
392 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
393 * Makefile.in: Regenerated.
394
395 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
396
397 * java/lang/Win32Process.java (ConcreteProcess): Surround
398 a command line element with quotes if it contains an
399 embedded space or tab.
400 * java/lang/natWin32Process.cc (startProcess): Do not
401 surround command line elements with quotes here.
402
403 * configure.host: Use -fcheck-references and
404 -fuse-divide-subroutine for MinGW until we fix
405 win32_exception_handler( ) in win32.cc w.r.t. Win32
406 Structured Exception Handling (SEH).
407
408 * win32.cc (_Jv_platform_initProperties): Use generic names
409 like "x86" for the "os.arch" property to be consistent with
410 what Sun's JDK produces. Use the wProcessorArchitecture
411 member of the Win32 SYSTEM_INFO structure, filled in a call
412 to GetSystemInfo( ), instead of dwProcessorType.
413
414 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
415 Ranjit Mathew <rmathew@hotmail.com>
416
417 * Makefile.am: Use cross-compiling gcjh from the path for
418 a crossed-native build.
419 * Makefile.in: Rebuilt.
420 * configure.in: Include libltdl in non-newlib builds.
421 Moved determination of gcj used to build libraries to
422 its own section. Fixed cross-compilation issues for
423 non-newlib builds.
424 * configure: Rebuilt.
425
426 2003-07-25 Tom Tromey <tromey@redhat.com>
427
428 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
429 (write): Likewise.
430 (read): Likewise.
431 (read): Likewise.
432
433 2003-07-25 Mark Wielaard <mark@klomp.org>
434
435 * java/lang/natRuntime.cc (_load): Add library name to
436 UnsatisfiedLinkError when thrown.
437
438 2003-07-25 Mark Wielaard <mark@klomp.org>
439
440 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
441 added.
442 * Makefile.in: Likewise.
443
444 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
445
446 * java/awt/Component.java
447 (getPreferredSize): Call preferredSize.
448 (preferredSize): Moved body of getPreferredSize here.
449 (getMinimumSize): Call minimumSize.
450 (minimumSize): Moved body of getMinimumSize here.
451 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
452 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
453 pass -1
454 * java/awt/Container.java
455 (validate): Don't validate if there is no peer.
456 (update): Clear background before calling paint.
457 * java/awt/GridBagLayout.java
458 Completed the implementation and fixed several bugs.
459 * java/awt/MediaTracker.java
460 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
461 combine flags.
462 * java/awt/Window.java
463 (Window): Don't call setVisible(false). Windows are invisible by
464 default and calling virtual methods from constructor causes
465 compatibility problems (e.g. subclasses may assume that the peer
466 already exists).
467
468 2003-07-25 Michael Koch <konqueror@gmx.de>
469
470 * java/awt/GridBagLayout.java:
471 Totally reworked and partly implemented.
472 * java/awt/GridBagLayoutInfo.java:
473 New file.
474
475 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
476
477 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
478 Don't pack label in an event box.
479
480 2003-07-24 Tom Tromey <tromey@redhat.com>
481
482 For PR libgcj/7482:
483 * verify.cc (ref_intersection): New class.
484 (type_val): Removed unresolved_reference_type,
485 uninitialized_unresolved_reference_type.
486 (is_assignable_from_slow): Rewrote.
487 (type::data): Removed.
488 (type::klass): New field.
489 (type::type): Added verifier argument.
490 (type::resolve): Removed.
491 (type::set_uninitialized): Updated for change to type_val.
492 (type::set_initialized): Likewise.
493 (type::isinitialized): Likewise.
494 (type::print): Likewise.
495 (construct_primitive_array_type): Likewise.
496 (type::compatible): Updated for change to type_val and to use
497 ref_intersection.
498 (type::isarray): Updated to use ref_intersection.
499 (type::isinterface): Likewise.
500 (type::element_type): Likewise.
501 (type::to_array): Likewise.
502 (type::verify_dimensions): Rewrote.
503 (type::merge): Likewise.
504 (check_class_constant): Updated for type constructor change.
505 (check_constant): Likewise.
506 (check_field_constant): Likewise.
507 (get_one_type): Likewise.
508 (initialize_stack): Likewise.
509 (verify_instructions_0): Likewise.
510 (verify_instructions_0) [op_invokeinterface]: Removed special
511 case.
512 (isect_list): New field.
513 (_Jv_BytecodeVerifier): Initialize it.
514 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
515
516 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
517
518 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
519 unless field size is 2.
520
521 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
522
523 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
524 (connectHooks): New method.
525 (handleEvent): Remove.
526 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
527 (createHooks): Remove declaration.
528 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
529 (generates_key_typed_event): Change to handle only certain
530 keyvals.
531 (awt_event_handler): Add special handling for GtkTextView.
532 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
533 (textcomponent_commit_cb): New function.
534 (textcomponent_changed_cb): Likewise.
535 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
536 (connectHooks): Remove.
537
538 2003-07-23 Tom Tromey <tromey@redhat.com>
539
540 * java/lang/natSystem.cc (arraycopy): Check for overflow.
541
542 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
543
544 2003-07-22 Tom Tromey <tromey@redhat.com>
545
546 * boehm.cc (_Jv_BuildGCDescr): Wrote.
547 Include limits.h.
548
549 2003-07-22 Tom Tromey <tromey@redhat.com>
550
551 * java/awt/Window.java (getWarningString): Just return the
552 string.
553 (Window): Set warningString; check with security manager.
554
555 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
556
557 * gnu/awt/xlib/XGraphicsConfiguration.java
558 (FontMetricsCache): Made static.
559
560 2003-07-22 Tom Tromey <tromey@redhat.com>
561
562 * java/net/URLEncoder.java (encode(String)): Use platform default
563 encoding.
564 (encode(String,String)): Convert to 2-digit upper-case hex
565 number.
566 (hex): New field.
567
568 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
569
570 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
571 (create): Remove unused method implementation.
572 (connectHooks): Remove debug messages.
573
574 2003-07-20 Anthony Green <green@redhat.com>
575
576 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
577 CloneNotSupportedException.
578 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
579 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
580 * gnu/gcj/xlib/GC.java (clone): Ditto.
581 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
582 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
583
584 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
585 handler.
586 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
587
588 2003-07-20 Steve Pribyl <steve@netfuel.com.>
589
590 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
591 String. Put dlerror() message into exception.
592 Include UnsatisfiedLinkError.
593 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
594 String. Now native.
595
596 2003-07-20 Tom Tromey <tromey@redhat.com>
597
598 * java/lang/Runtime.java: Comment fix.
599 * java/lang/ClassLoader.java (isAncestorOf): New method.
600 (getParent): Uncommented security check. Use isAncestorOf.
601 * include/jvm.h (_Jv_CheckAccess): Declare.
602 * java/lang/reflect/natConstructor.cc (newInstance): Perform
603 access check.
604 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
605 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
606 class loader to _Jv_GetArrayClass.
607 Include ArrayIndexOutOfBoundsException.h.
608 * java/lang/reflect/Field.java: Update comment to reflect status.
609 (equals): Fixed indentation.
610 * java/lang/Class.h (Class): Declare memberAccessCheck, not
611 checkMemberAccess. Make _Jv_CheckAccess a friend.
612 * java/lang/Class.java (memberAccessCheck): New method from
613 Classpath.
614 (checkMemberAccess): Removed.
615 (getDeclaredMethod): Use memberAccessCheck.
616 (getField): Likewise.
617 (getMethod): Likewise.
618 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
619 (_Jv_SearchMethodInClass): Likewise.
620 * prims.cc (_Jv_CheckAccess): New function.
621 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
622 (_Jv_JNI_GetAnyFieldID): Likewise.
623 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
624 (getClassLoader): Added security check.
625 (getConstructor): Call memberAccessCheck.
626 (getDeclaredClasses): Likewise.
627 (getDeclaredField): Likewise.
628 (getDeclaredFields): Likewise.
629 (_getConstructors): Likewise.
630 (getDeclaredConstructor): Likewise.
631 (getDeclaredMethods): Likewise.
632 (getFields): Likewise.
633 (getMethods): Likewise.
634 (newInstance): Likewise.
635 (_Jv_MakeVTable): Put method name in exception.
636 * java/lang/reflect/natMethod.cc (getType): Use
637 getClassLoaderInternal.
638 (_Jv_GetTypesFromSignature): Likewise.
639 (invoke): Perform access check.
640 (_Jv_CallAnyMethodA): Removed old FIXME comments.
641 Include ArrayIndexOutOfBoundsException.h.
642 * java/lang/reflect/natField.cc (getType): Use
643 getClassLoaderInternal.
644 (_Jv_CheckFieldAccessibility): Removed.
645 (getAddr): Use _Jv_CheckAccess; find caller.
646 Include ArrayIndexOutOfBoundsException.h.
647
648 2003-07-20 Michael Koch <konqueror@gmx.de>
649
650 * java/net/URL.java
651 (URL): Fixed documentation to name an argument correcty, Reformatted
652 one method declaration.
653 (getURLStreamHandler): Added documentation from classpath.
654
655 2003-07-19 Tom Tromey <tromey@redhat.com>
656
657 * mauve-libgcj: Don't run CollationElementIterator tests.
658
659 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
660
661 * java/net/URLClassLoader.java (addURL): Moved implementation to
662 private addURLImpl() to avoid calling addURL from the constructor.
663 (addURLImpl): Contains the code that was previously in addURL.
664 (addURLs): Call addURLImpl(), not addURL().
665
666 2003-07-18 Graydon Hoare <graydon@redhat.com>
667
668 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
669 Handle missing event cases, connect to "value-changed" signal.
670
671 2003-07-18 Graydon Hoare <graydon@redhat.com>
672
673 * java/awt/geom/CubicCurve2D.java,
674 java/awt/geom/Line2D.java,
675 java/awt/geom/QuadCurve2D.java,
676 java/awt/geom/Rectangle2D.java:
677 Fix path some calculations, make path iterators follow
678 a consistent style.
679
680 2003-07-18 Mark Wielaard <mark@klomp.org>
681
682 * java/util/logging/Handler.java (isLoggable): Check record level
683 smaller or equal.
684
685 2003-07-17 Michael Koch <konqueror@gmx.de>
686
687 * gnu/java/awt/peer/gtk/GtkToolkit.java:
688 Reworked imports.
689
690 2003-07-14 Michael Koch <konqueror@gmx.de>
691
692 * gnu/java/rmi/server/UnicastServerRef.java:
693 New version from classpath.
694
695 2003-07-14 Michael Koch <konqueror@gmx.de>
696
697 * java/awt/image/MemoryImageSource.java,
698 java/beans/PropertyEditorManager.java,
699 javax/naming/CompoundName.java,
700 javax/naming/spi/NamingManager.java,
701 javax/swing/AbstractButton.java,
702 javax/swing/ButtonModel.java,
703 javax/swing/SwingUtilities.java,
704 javax/swing/UIManager.java,
705 javax/swing/colorchooser/DefaultColorSelectionModel.java,
706 javax/swing/event/AncestorEvent.java,
707 javax/swing/event/InternalFrameEvent.java,
708 java/util/zip/ZipFile.java:
709 New versions from classpath.
710
711 2003-07-13 Michael Koch <konqueror@gmx.de>
712
713 * gnu/java/nio/FileChannelImpl.java,
714 gnu/java/nio/natFileChannelImpl.cc: Removed.
715 * java/io/FileInputStream.java,
716 java/io/FileOutputStream.java,
717 java/io/RandomAccessFile.java,
718 java/nio/MappedByteBufferImpl.java:
719 Import java.nio.channels.FileChannelImpl instead of
720 gnu.java.nio.FileChannelImpl.
721 * java/nio/channels/FileChannelImpl.java,
722 java/nio/channels/natFileChannelImpl.cc:
723 New files.
724 * Makefile.am
725 (ordinary_java_source_files):
726 Removed gnu/java/nio/FileChannelImpl.java and added
727 java/nio/channels/FileChannelImpl.java.
728 (nat source_files):
729 Removed gnu/java/nio/natFileChannelImpl.cc and added
730 java/nio/channels/natFileChannelImpl.cc.
731 * Makefile.in: Regenerated.
732
733 2003-07-13 Michael Koch <konqueror@gmx.de>
734
735 * javax/swing/plaf/basic/BasicBorders.java,
736 javax/swing/plaf/basic/BasicLabelUI.java,
737 javax/swing/plaf/basic/BasicLookAndFeel.java,
738 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
739 javax/swing/plaf/basic/BasicTextUI.java,
740 javax/swing/plaf/metal/MetalLookAndFeel.java:
741 New versions from classpath.
742
743 2003-07-13 Michael Koch <konqueror@gmx.de>
744
745 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
746 * gnu/java/awt/peer/gtk/GdkGraphics.java
747 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
748 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
749 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
750 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
751 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
752 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
753 * gnu/java/awt/peer/gtk/GtkClipboard.java
754 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
755 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
756 * gnu/java/awt/peer/gtk/GtkFramePeer.java
757 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
758 * gnu/java/awt/peer/gtk/GtkImage.java
759 * gnu/java/awt/peer/gtk/GtkImagePainter.java
760 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
761 * gnu/java/awt/peer/gtk/GtkListPeer.java
762 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
763 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
764 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
765 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
766 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
767 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
768 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
769 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
770 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
771 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
772 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
773 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
774
775 2003-07-13 Michael Koch <konqueror@gmx.de>
776
777 * gnu/java/locale/LocaleInformation_de.java
778 * gnu/java/locale/LocaleInformation_en.java
779 * gnu/java/locale/LocaleInformation_nl.java
780
781 2003-07-13 Michael Koch <konqueror@gmx.de>
782
783 * gnu/java/awt/EmbeddedWindow.java,
784 gnu/java/awt/EmbeddedWindowSupport.java,
785 gnu/java/awt/natEmbeddedWindow.cc:
786 New files.
787 * java/awt/Window.java
788 (Window): New constructor to support embedded windows.
789 * Makefile.am
790 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
791 gnu/java/awt/EmbeddedWindowSupport.java.
792 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
793 * Makefile.in: Regenerated.
794
795 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
796
797 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
798 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
799 * java/awt/im/InputContext.java: Remove a redundant
800 partial line.
801
802 2003-07-09 Tom Tromey <tromey@redhat.com>
803
804 * Makefile.in: Rebuilt.
805 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
806
807 2003-07-09 Mark Wielaard <mark@klomp.org>
808
809 * java/io/ObjectOutputStream.java (writeObject): break after
810 calling writeClassDescriptor().
811
812 2003-07-09 Mark Mitchell <mark@codesourcery.com>
813
814 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
815
816 2003-07-09 Michael Koch <konqueror@gmx.de>
817
818 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
819 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
820 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
821 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
822 Explicitly import used classes.
823 * java/awt/Container.java: New version from classpath.
824
825 2003-07-09 Michael Koch <konqueror@gmx.de>
826
827 * libgcj.pc.in: New file.
828 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
829 * Makefile.in: Regenerated.
830 * configure: Regenrated.
831 * configure.in: Create libgcj.pc from libgcj.pc.in.
832
833 2003-07-08 Mark Wielaard <mark@klomp.org>
834
835 * gcj/cni.h: CNI now expands to Compiled Native Interface.
836
837 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
838 * java/lang/fdlibm.h: Likewise.
839
840 2003-07-07 Adam Megacz <adam@xwt.org>
841
842 * posix.cc: added #include<stdio.h>
843
844 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
845
846 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
847 formatting.
848
849 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
850 (setCaretPosition, setEditable): Rely entirely on native
851 implementation.
852 (getArgs): Remove.
853 (postTextEvent): New method.
854 (handleEvent): New method.
855 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
856 method.
857 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
858 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
859 (keysym_to_awt_keycode): Fix range checks.
860 (generates_key_typed_event): New function.
861 (awt_event_handler): Post AWT_KEY_RELEASED events to event
862 queue.
863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
864 (gtkInit): Store TextComponent's postTextEvent method ID.
865 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
866 (setText): Post TEXT_VALUE_CHANGED event to event queue.
867
868 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
869
870 * configure.in: Check for usleep declaration.
871 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
872 * configure: Regenerate.
873 * include/config.h.in: Likewise.
874 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
875
876 2003-07-01 Michael Koch <konqueror@gmx.de>
877
878 * gnu/gcj/convert/natIconv.cc
879 (iconv_init): Fixed possible memory leak by releasing allocated iconv
880 handle.
881
882 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
883
884 * glib-2.0.m4: New file.
885 * gtk-2.0.m4: New file.
886 * glib.m4: Remove.
887 * gtk.m4: Remove.
888 * configure.in: Update AM_PATH_GTK macro call to
889 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
891 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
892 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
893 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
894 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
895 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
896 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
897 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
898 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
899 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
900 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
901 jni/gtk-peer/gthread-jni.c,
902 jni/gtk-peer/gthread-jni.h:
903 New versions from classpath.
904 * aclocal.m4: Regenerate.
905 * configure: Regenerate.
906 * Makefile.in: Regenerate.
907 * gcj/Makefile.in: Regenerate.
908 * include/Makefile.in: Regenerate.
909 * testsuite/Makefile.in: Regenerate.
910
911 2003-06-30 Gary Benson <gbenson@redhat.com>
912
913 For PR libgcj/11349:
914 * javax/naming/spi/NamingManager.java (getURLContext): Use
915 correct name for factory class.
916
917 2003-06-28 Michael Koch <konqueror@gmx.de>
918
919 * java/io/PrintStream.java
920 (checkError): Call flush() instead of direct flushing of the Writer
921 object.
922 (print): Call print(String) instead of direct print method of the
923 Writer Object.
924 (println): Call println(String) instead of direct println method of the
925 Writer Object.
926 (write): Simplified.
927
928 2003-06-28 Michael Koch <konqueror@gmx.de>
929
930 * java/net/ServerSocket.java
931 (setChannel): New method.
932 * java/net/Socket.java
933 (setChannel): New method.
934
935 2003-06-27 Michael Koch <konqueror@gmx.de>
936
937 * java/beans/beancontext/BeanContextSupport.java:
938 New version from classpath.
939
940 2003-06-27 Michael Koch <konqueror@gmx.de>
941
942 * java/awt/Window.java,
943 java/awt/font/GraphicAttribute.java,
944 java/awt/font/ImageGraphicAttribute.java,
945 java/awt/image/DataBufferByte.java,
946 java/awt/image/DataBufferInt.java,
947 java/awt/image/DataBufferUShort.java,
948 java/awt/image/DirectColorModel.java,
949 java/awt/image/PixelGrabber.java:
950 New versions from classpath.
951
952 2003-06-27 Michael Koch <konqueror@gmx.de>
953
954 * java/security/Certificate.java
955 (getGuarantor): Removed wrong @deprecated tag.
956 (getPrincipal): Likewise.
957 (getPublicKey): Likewise.
958 (encode): Likewise.
959 (decode): Likewise.
960 (getFormat): Likewise.
961 (toString): Likewise.
962 * java/security/cert/PolicyQualifierInfo.java
963 (PolicyQualifierInfo): Made final.
964 * javax/security/auth/x500/X500Principal.java
965 (serialVersionUID): New member variable.
966
967 2003-06-27 Michael Koch <konqueror@gmx.de>
968
969 * java/text/Format.java
970 (serialVersionUID): Fixed value.
971
972 2003-06-27 Michael Koch <konqueror@gmx.de>
973
974 * java/net/Inet4Address.java
975 (Inet4Address): Made package-private.
976 * java/net/Inet6Address.java
977 (Inet4Address): Made package-private.
978
979 2003-06-27 Michael Koch <konqueror@gmx.de>
980
981 * java/io/RandomAccessFile.java
982 (readLine): Removed wrong @deprecated tag.
983 (getChannel): Made final.
984
985 2003-06-27 Michael Koch <konqueror@gmx.de>
986
987 * gnu/java/nio/FileChannelImpl.java
988 (write): Removed.
989
990 2003-06-27 Michael Koch <konqueror@gmx.de>
991
992 * java/nio/ByteBufferImpl.java
993 (ByteBufferImpl): Made it a package-private class
994 * java/nio/CharBufferImpl.java
995 (CharBufferImpl): Made it a package-private class
996 * java/nio/DirectByteBufferImpl.java
997 (DirectByteBufferImpl): Made it a package-private class
998 * java/nio/DoubleBufferImpl.java
999 (DoubleBufferImpl): Made it a package-private class
1000 * java/nio/FloatBufferImpl.java
1001 (FloatBufferImpl): Made it a package-private class
1002 * java/nio/IntBufferImpl.java
1003 (IntBufferImpl): Made it a package-private class
1004 * java/nio/LongBufferImpl.java
1005 (LongBufferImpl): Made it a package-private class
1006 * java/nio/ShortBufferImpl.java
1007 (ShortBufferImpl): Made it a package-private class
1008 * java/nio/channels/FileChannel.java
1009 (write): Made final.
1010 * java/nio/channels/ServerSocketChannel.java
1011 (ServerSocketChanne): Made protected.
1012
1013 2003-06-27 Michael Koch <konqueror@gmx.de>
1014
1015 * javax/naming/CompositeName.java
1016 (serialVersionUID): New member variable.
1017 * javax/naming/CompoundName.java
1018 (serialVersionUID): New member variable.
1019 * javax/naming/InitialContext.java
1020 (InitialContext): Throws NamingException.
1021 (init): Likewise.
1022 * javax/naming/LinkRef.java
1023 (serialVersionUID): New member variable.
1024 (gteLinkName): Throws NamingException.
1025 * javax/naming/NamingException.java
1026 (serialVersionUID): New member variable.
1027 * javax/naming/NamingSecurityException.java
1028 (NamingSecurityException): Made abstract.
1029 (serialVersionUID): New member variable.
1030 * javax/naming/ReferralException.java
1031 (serialVersionUID): New member variable.
1032 * javax/naming/StringRefAddr.java
1033 (serialVersionUID): New member variable.
1034 * javax/naming/directory/BasicAttribute.java:
1035 Reworked imports.
1036 (serialVersionUID): New member variable.
1037 (get): Throws NamingException.
1038 (getAll): Throws NamingException.
1039 * javax/naming/directory/BasicAttributes.java:
1040 Reworked imports.
1041 (serialVersionUID): New member variable.
1042 * javax/naming/ldap/UnsolicitedNotificationEvent.java
1043 (serialVersionUID): New member variable.
1044
1045 2003-06-27 Michael Koch <konqueror@gmx.de>
1046
1047 * Makefile.am
1048 (awt_java_source_files): Added new files:
1049 javax/swing/Popup.java,
1050 javax/swing/PopupFactory.java
1051 * Makefile.in: Regenerated.
1052
1053 2003-06-27 Michael Koch <konqueror@gmx.de>
1054
1055 * javax/swing/JWindow.java,
1056 javax/swing/event/AncestorEvent.java,
1057 javax/swing/event/HyperlinkEvent.java,
1058 javax/swing/event/InternalFrameEvent.java,
1059 javax/swing/event/ListDataEvent.java,
1060 javax/swing/event/TableModelEvent.java,
1061 javax/swing/plaf/PopupMenuUI.java,
1062 javax/swing/plaf/SplitPaneUI.java,
1063 javax/swing/plaf/TabbedPaneUI.java,
1064 javax/swing/plaf/TextUI.java,
1065 javax/swing/plaf/TreeUI.java,
1066 javax/swing/plaf/basic/BasicTextUI.java,
1067 javax/swing/plaf/basic/BasicTreeUI.java:
1068 New versions from classpath.
1069 * javax/swing/Popup.java,
1070 javax/swing/PopupFactory.jav:
1071 New source files from classpath.
1072 * javax/swing/plaf/doc-files/TreeUI-1.png:
1073 New binary files from classpath.
1074
1075 2003-06-25 Michael Koch <konqueror@gmx.de>
1076
1077 * Makefile.am
1078 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1079 * Makefile.in: Regenerated.
1080
1081 2003-06-25 Michael Koch <konqueror@gmx.de>
1082
1083 * javax/swing/plaf/ActionMapUIResource.java,
1084 javax/swing/plaf/BorderUIResource.java,
1085 javax/swing/plaf/ButtonUI.java,
1086 javax/swing/plaf/ColorChooserUI.java,
1087 javax/swing/plaf/ColorUIResource.java,
1088 javax/swing/plaf/ComboBoxUI.java,
1089 javax/swing/plaf/ComponentInputMapUIResource.java,
1090 javax/swing/plaf/ComponentUI.java,
1091 javax/swing/plaf/DesktopIconUI.java,
1092 javax/swing/plaf/DesktopPaneUI.java,
1093 javax/swing/plaf/DimensionUIResource.java,
1094 javax/swing/plaf/FileChooserUI.java,
1095 javax/swing/plaf/FontUIResource.java,
1096 javax/swing/plaf/IconUIResource.java,
1097 javax/swing/plaf/InputMapUIResource.java,
1098 javax/swing/plaf/InsetsUIResource.java,
1099 javax/swing/plaf/InternalFrameUI.java,
1100 javax/swing/plaf/LabelUI.java,
1101 javax/swing/plaf/ListUI.java,
1102 javax/swing/plaf/MenuBarUI.java,
1103 javax/swing/plaf/MenuItemUI.java,
1104 javax/swing/plaf/OptionPaneUI.java,
1105 javax/swing/plaf/PanelUI.java,
1106 javax/swing/plaf/ProgressBarUI.java,
1107 javax/swing/plaf/RootPaneUI.java,
1108 javax/swing/plaf/ScrollBarUI.java,
1109 javax/swing/plaf/ScrollPaneUI.java,
1110 javax/swing/plaf/SeparatorUI.java,
1111 javax/swing/plaf/SliderUI.java,
1112 javax/swing/plaf/TableHeaderUI.java,
1113 javax/swing/plaf/TableUI.java,
1114 javax/swing/plaf/ToolBarUI.java,
1115 javax/swing/plaf/ToolTipUI.java,
1116 javax/swing/plaf/ViewportUI.java:
1117 New versions from classpath.
1118 * javax/swing/plaf/SpinnerUI.java:
1119 New file from classpath
1120
1121 2003-06-25 Michael Koch <konqueror@gmx.de>
1122
1123 * java/awt/image/ColorModel.java:
1124 New version from classpath.
1125
1126 2003-06-25 Michael Koch <konqueror@gmx.de>
1127
1128 * java/net/PlainDatagramSocketImpl.java:
1129 Partly merged with classpath, this mainly adds documentation.
1130
1131 2003-06-25 Michael Koch <konqueror@gmx.de>
1132
1133 * java/io/ObjectInputStream.java
1134 (readClassDescriptor): New method.
1135 (readObject): Moved functionality to readClassDescriptor().
1136 * java/io/ObjectOutputStream.java
1137 (writeClassDescriptor): New method.
1138 (writeObject): Moved functionality to writeClassDescriptor().
1139
1140 2003-06-25 Michael Koch <konqueror@gmx.de>
1141
1142 * javax/swing/plaf/basic/BasicListUI.java,
1143 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1144 Added missing methods.
1145
1146 2003-06-25 Michael Koch <konqueror@gmx.de>
1147
1148 * javax/swing/event/AncestorEvent.java
1149 javax/swing/event/HyperlinkEvent.java
1150 javax/swing/event/InternalFrameEvent.java
1151 javax/swing/event/ListDataEvent.java
1152 javax/swing/event/TableModelEvent.java:
1153 Compile fixes.
1154
1155 2003-06-24 Michael Koch <konqueror@gmx.de>
1156
1157 * java/net/URL.java:
1158 Renamed "handler" to "ph" in the whole file to match classpaths
1159 version.
1160 * java/net/URLStreamHandler.java:
1161 (equals): Renamed "handler" to "ph".
1162
1163 2003-06-24 Michael Koch <konqueror@gmx.de>
1164
1165 * javax/swing/event/AncestorEvent.java,
1166 javax/swing/event/HyperlinkEvent.java,
1167 javax/swing/event/InternalFrameEvent.java,
1168 javax/swing/event/ListDataEvent.java,
1169 javax/swing/event/TableModelEvent.java,
1170 javax/swing/event/TreeWillExpandListener.java,
1171 javax/swing/plaf/ComponentUI.java,
1172 javax/swing/plaf/DesktopIconUI.java,
1173 javax/swing/plaf/DesktopPaneUI.java,
1174 javax/swing/plaf/DimensionUIResource.java,
1175 javax/swing/plaf/FileChooserUI.java,
1176 javax/swing/plaf/FontUIResource.java,
1177 javax/swing/plaf/IconUIResource.java,
1178 javax/swing/plaf/InputMapUIResource.java,
1179 javax/swing/plaf/InsetsUIResource.java,
1180 javax/swing/plaf/InternalFrameUI.java,
1181 javax/swing/plaf/LabelUI.java,
1182 javax/swing/plaf/ListUI.java,
1183 javax/swing/plaf/MenuBarUI.java,
1184 javax/swing/plaf/MenuItemUI.java,
1185 javax/swing/plaf/OptionPaneUI.java,
1186 javax/swing/plaf/PanelUI.java,
1187 javax/swing/plaf/ProgressBarUI.java,
1188 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1189 javax/swing/plaf/doc-files/ComponentUI-1.png:
1190 New versions from classpath.
1191
1192 2003-06-24 Michael Koch <konqueror@gmx.de>
1193
1194 * java/nio/Buffer.java
1195 (cap): Made package-private.
1196 (pos): Likewise.
1197 (limit): Likewise.
1198 (mark): Likewise.
1199
1200 2003-06-24 Michael Koch <konqueror@gmx.de>
1201
1202 * java/net/SocketImpl.java
1203 (shutdownInput): Made it non-abstract method throwing an exception
1204 like in SUNs JRE.
1205 (shutdownOutput): Likewise.
1206 * java/net/SocketInputStream.java,
1207 java/net/SocketOutputStream.java:
1208 New files from classpath.
1209
1210 2003-06-24 Michael Koch <konqueror@gmx.de>
1211
1212 * java/awt/Font.java,
1213 java/awt/Window.java,
1214 java/awt/color/ColorSpace.java,
1215 java/awt/datatransfer/StringSelection.java,
1216 java/awt/image/ColorModel.java:
1217 New versions from classpath.
1218
1219 2003-06-24 Michael Koch <konqueror@gmx.de>
1220
1221 * Makefile.am
1222 (awt_java_source_files): Added new files:
1223 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1224 javax/swing/plaf/basic/BasicSplitPaneUI.java
1225 * Makefile.in: Regenerated.
1226
1227 2003-06-24 Michael Koch <konqueror@gmx.de>
1228
1229 * javax/swing/text/JTextComponent.java:
1230 New version from classpath.
1231
1232 2003-06-24 Michael Koch <konqueror@gmx.de>
1233
1234 * javax/swing/Timer.java,
1235 javax/swing/plaf/ActionMapUIResource.java,
1236 javax/swing/plaf/ButtonUI.java,
1237 javax/swing/plaf/ColorChooserUI.java,
1238 javax/swing/plaf/ColorUIResource.java,
1239 javax/swing/plaf/ComboBoxUI.java,
1240 javax/swing/plaf/ComponentInputMapUIResource.java,
1241 javax/swing/plaf/basic/BasicBorders.java:
1242 New versions from classpath.
1243 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1244 javax/swing/plaf/basic/BasicSplitPaneUI.java:
1245 New file from classpath.
1246 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1247 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1248 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1249 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1250 javax/swing/plaf/doc-files/ComponentUI-1.png:
1251 New binary files from classpath.
1252
1253 2003-06-24 Michael Koch <konqueror@gmx.de>
1254
1255 * java/io/LineNumberReader.java
1256 (skip): Dont do line number accounting here as this is already done in
1257 read(), simplified.
1258
1259 2003-06-21 Michael Koch <konqueror@gmx.de>
1260
1261 * java/io/File.java
1262 (static): Load javaio lib if existing (only in classpath).
1263 (File): Revised documentation to show the correct argument name.
1264 (createTempFile): Partly merged with classpath.
1265 (compareTo): Simplified.
1266 (lastModified): Throw exception if time < 0.
1267 (deleteOnExit): Revised documentation.
1268
1269 2003-06-21 Michael Koch <konqueror@gmx.de>
1270
1271 * java/net/PlainSocketImpl.java:
1272 Reformatted.
1273 (PlainSocketImpl): Merged class documentaion with classpath.
1274 (in): Moved.
1275 (out): Moved.
1276 (PlainSocketImpl): New empty constructor.
1277 (finalize): Moved.
1278 (setOption): Merged documentation from classpath.
1279 (getOption): Likewise.
1280 (create): Likewise.
1281 (connect): Likewise.
1282 (bind): Likewise.
1283 (listen): Likewise.
1284 (accept): Likewise.
1285 (available): Likewise.
1286 (close): Likewise.
1287 (read): Likewise.
1288 (write): Likewise.
1289 (getInputStream): Made synchronozed to get sure that only one stream
1290 object can be created for this socket, merged documentation from
1291 classpath.
1292 (getOutputStream): Likewise.
1293
1294 2003-06-21 Michael Koch <konqueror@gmx.de>
1295
1296 * java/net/PlainSocketImpl.java:
1297 Reformatting.
1298 (static): New implicit method.
1299 (read): Made package private.
1300 (write): Likewise.
1301
1302 2003-06-21 Michael Koch <konqueror@gmx.de>
1303
1304 * java/util/SimpleTimeZone.java:
1305 Removed unneeded import, reformatting.
1306
1307 2003-06-21 Michael Koch <konqueror@gmx.de>
1308
1309 * java/text/DateFormat.java,
1310 java/text/SimpleDateFormat.java,
1311 java/util/Locale.java:
1312 New versions from classpath.
1313
1314 2003-06-21 Michael Koch <konqueror@gmx.de>
1315
1316 * javax/swing/SpinnerModel.java:
1317 New file from classpath.
1318 * javax/swing/border/LineBorder.java,
1319 javax/swing/border/SoftBevelBorder.java,
1320 javax/swing/plaf/BorderUIResource.java,
1321 javax/swing/plaf/basic/BasicBorders.java:
1322 New versions from classpath.
1323 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1324 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1325 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1326 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1327 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1328 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1329 New binary files from classpath.
1330
1331 2003-06-21 Michael Koch <konqueror@gmx.de>
1332
1333 * java/util/logging/LogRecord.java,
1334 java/util/logging/Logger.java,
1335 java/util/logging/SocketHandler.java,
1336 java/util/logging/SimpleFormatter.java,
1337 java/util/logging/Formatter.java,
1338 java/util/logging/ErrorManager.java,
1339 java/util/logging/Handler.java,
1340 java/util/logging/FileHandler.java,
1341 java/util/logging/LogManager.java,
1342 java/util/logging/Level.java,
1343 java/util/logging/ConsoleHandler.java,
1344 java/util/logging/StreamHandler.java,
1345 java/util/logging/LoggingPermission.java,
1346 java/util/logging/Filter.java,
1347 java/util/logging/MemoryHandler.java,
1348 java/util/logging/XMLFormatter.java:
1349 New files from classpath.
1350
1351 2003-06-20 Michael Koch <konqueror@gmx.de>
1352
1353 * java/io/ObjectStreamField.java
1354 (unshared): new member variable.
1355 (ObjectStreamField): New constructor.
1356 (isUnshared): New method.
1357
1358 2003-06-20 Michael Koch <konqueror@gmx.de>
1359
1360 * java/net/URLStreamHandler.java
1361 (hostsEqual): Rewritten.
1362
1363 2003-06-20 Michael Koch <konqueror@gmx.de>
1364
1365 * gnu/java/nio/MappedByteFileBuffer.java,
1366 gnu/java/nio/natMappedByteFileBuffer.cc:
1367 Removed
1368 * java/nio/MappedByteBufferImpl.java:
1369 New file.
1370 * gnu/java/nio/FileChannelImpl.java:
1371 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1372 * Makefile.am
1373 (ordinary_java_source_files): Removed
1374 gnu/java/nio/MappedByteFileBuffer.java and added
1375 java/nio/MappedByteBufferImpl.java.
1376 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1377 * Makefile.in: Regenerated.
1378
1379 2003-06-19 Michael Koch <konqueror@gmx.de>
1380
1381 * gnu/java/nio/DatagramChannelImpl.java
1382 (fd): Removed.
1383 (blocking): New member variable.
1384 (socket): Likewise.
1385 (DatagramChannelImpl): Throws IOException, initialize socket.
1386 (socket):Implemented.
1387 (implCloseSelectableChannel): Throws IOException, implemented.
1388 (implConfigureBlocking): Likewise.
1389 (connect): Likewise.
1390 (disconnect): Likewise.
1391 (isConnected): Likewise.
1392 (write): Likewise.
1393 (read): Likewise.
1394 (receive): Throws IOException.
1395 (send): Likewise.
1396 * gnu/java/nio/SocketChannelImpl.java
1397 (read): Implemented.
1398 (write): Implemented.
1399
1400 2003-06-19 Michael Koch <konqueror@gmx.de>
1401
1402 * javax/swing/JComponent.java,
1403 javax/swing/JInternalFrame.java,
1404 javax/swing/MenuSelectionManager.java,
1405 javax/swing/SwingUtilities.java,
1406 javax/swing/ToggleButtonModel.java:
1407 New versions from classpath.
1408
1409 2003-06-19 Michael Koch <konqueror@gmx.de>
1410
1411 * java/text/CollationElementIterator.java
1412 (NULLORDER): Initialize with -1 as JDK documentation says.
1413
1414 2003-06-19 Michael Koch <konqueror@gmx.de>
1415
1416 * java/net/HttpURLConnection.java,
1417 java/net/Inet4Address.java,
1418 java/net/Inet6Address.java,
1419 java/net/SocketImpl.java,
1420 java/net/URLClassLoader.java:
1421 Reworked import statements.
1422 * java/net/InetAddress.java
1423 (getByAddress): Simplified.
1424 * java/net/ServerSocket.java
1425 (ServerSocket): Moved special handling during bind operation to
1426 bind().
1427 (bind): Handle different cases when trying to bind a socket.
1428 * java/net/URLConnection.java
1429 (getHeaderFieldDate): Merged with classpath.
1430 (getHeaderFieldInt): Likewise.
1431
1432 2003-06-19 Michael Koch <konqueror@gmx.de>
1433
1434 * java/util/zip/InflaterInputStream.java
1435 (InflaterInputStream): Throw NullPointerException if in is null (as
1436 JDK does).
1437
1438 2003-06-19 Michael Koch <konqueror@gmx.de>
1439
1440 * java/awt/Font.java
1441 javax/swing/UIManager.java
1442 javax/swing/border/AbstractBorder.java
1443 javax/swing/border/BevelBorder.java
1444 javax/swing/border/Border.java
1445 javax/swing/border/CompoundBorder.java
1446 javax/swing/border/EmptyBorder.java
1447 javax/swing/border/EtchedBorder.java
1448 javax/swing/border/LineBorder.java
1449 javax/swing/border/MatteBorder.java
1450 javax/swing/border/TitledBorder.java
1451 javax/swing/plaf/BorderUIResource.java
1452 javax/swing/plaf/basic/BasicBorders.java
1453 javax/swing/plaf/basic/BasicButtonUI.java
1454 javax/swing/plaf/basic/BasicCheckBoxUI.java
1455 javax/swing/plaf/basic/BasicGraphicsUtils.java
1456 javax/swing/plaf/basic/BasicLabelUI.java
1457 javax/swing/plaf/basic/BasicRadioButtonUI.java
1458 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1459 New versions from classpath.
1460 * javax/swing/border/SoftBevelBorder.java:
1461 New file from classpath.
1462 * javax/swing/border/doc-files/LineBorder-1.png,
1463 javax/swing/border/doc-files/BevelBorder-1.png,
1464 javax/swing/border/doc-files/BevelBorder-2.png,
1465 javax/swing/border/doc-files/BevelBorder-3.png,
1466 javax/swing/border/doc-files/EmptyBorder-1.png,
1467 javax/swing/border/doc-files/EtchedBorder-1.png,
1468 javax/swing/border/doc-files/EtchedBorder-2.png,
1469 javax/swing/border/doc-files/MatteBorder-1.png,
1470 javax/swing/border/doc-files/MatteBorder-2.png,
1471 javax/swing/border/doc-files/MatteBorder-3.png,
1472 javax/swing/border/doc-files/MatteBorder-4.png,
1473 javax/swing/border/doc-files/MatteBorder-5.png,
1474 javax/swing/border/doc-files/MatteBorder-6.png,
1475 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1476 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1477 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1478 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1479 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1480 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1481 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1482 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1483 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1484 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1485 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1486 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1487 New binary files from classpath.
1488 * Makefile.am
1489 (awt_java_source_files): Added
1490 javax/swing/border/SoftBevelBorder.java.
1491 * Makefile.in: Regenerated.
1492
1493 2003-06-19 Michael Koch <konqueror@gmx.de>
1494
1495 * gnu/java/security/x509/X509Certificate.java
1496 (writeReplace): Merged from classpath.
1497
1498 2003-06-19 Michael Koch <konqueror@gmx.de>
1499
1500 * gnu/java/nio/FileChannelImpl.java
1501 (map_address): Made public.
1502 (FileChannelImpl): Merged with classpath.
1503 * gnu/java/nio/natFileChannelImpl.cc
1504 (nio_mmap_file): Commented out unused arguments.
1505 (nio_unmmap_file): Likewise.
1506 (niu_msync): Likewise.
1507
1508 2003-06-19 Michael Koch <konqueror@gmx.de>
1509
1510 * java/awt/image/IndexColorModel.java:
1511 New version from classpath.
1512
1513 2003-06-18 Tom Tromey <tromey@redhat.com>
1514
1515 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1516 on arrays.
1517 (isLoopbackAddress): Likewise.
1518 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1519 on arrays.
1520
1521 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1522
1523 * java/lang/natVMSecurityManager.cc (getClassContext):
1524 Use maxlen instead of len for loop bound.
1525
1526 2003-06-18 Michael Koch <konqueror@gmx.de>
1527
1528 * gnu/java/nio/SelectorImpl.java
1529 (register): Use fd with value 0 for now, will be fixed later.
1530 * gnu/java/nio/ServerSocketChannelImpl.java
1531 (fd): Removed.
1532 (local_port): Removed.
1533 (InetSocketAddress): Removed.
1534 (ServerSocketChannelImpl): Just initialize internal socket object.
1535 (implCloseSelectableChannel): Close internal socket object.
1536 (implConfigureBlocking): Added comment.
1537 (accept): Use jaba.net stuff to accept socket.
1538 * gnu/java/nio/SocketChannelImpl.java
1539 (fd): Removed.
1540 (local_port): Removed.
1541 (InetSocketAddress): Removed.
1542 (SocketCreate): Removed.
1543 (SocketConnect): Removed.
1544 (SocketBind): Removed.
1545 (SocketListen): Removed.
1546 (SocketAvailable): Removed.
1547 (SocketClose): Removed.
1548 (SocketRead): Removed.
1549 (SocketWrite): Removed.
1550 (SocketChannelImpl): Just initialize internal socket object.
1551 (implCloseSelectableChannel): Close internal socket object.
1552 (implConfigureBlocking): Fixed implementation, added comment.
1553 (connect): Use internal socket object to connect.
1554 (socket): No need for sanity checks.
1555 (read): Comment out some stuff, this will be reimplemented in the next
1556 commit.
1557 (write): Likewise.
1558 * gnu/java/nio/natFileChannelImpl.cc
1559 (nio_mmap_file): Line wrapped.
1560 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1561 * Makefile.am
1562 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1563 * Makefile.in: Regenerated.
1564
1565 2003-06-18 Michael Koch <konqueror@gmx.de>
1566
1567 * java/util/Locale.java
1568 (equals): Merged from classpath.
1569
1570 2003-06-18 Michael Koch <konqueror@gmx.de>
1571
1572 * java/net/InetAddress.java:
1573 Reformatted to better match classpath's version.
1574 * java/net/URL.java
1575 (equals): Simplified.
1576 * java/net/URLConnection.java
1577 (setDoInput): Revised documentation.
1578 (getDefaultUseCaches): Likewise.
1579 (setRequestProperty): Added @since tag.
1580
1581 2003-06-17 Michael Koch <konqueror@gmx.de>
1582
1583 * java/net/InetSocketAddress.java
1584 (InetSocketAddress): Use wildcard address if addr is null.
1585 (InetSocketAddress): Dont duplicate implementation.
1586 (InetSocketAddress): Throw exception when hostname is null.
1587 * java/net/Socket.java:
1588 Reworked imports.
1589 (Socket): Throw exception when raddr is null, handle case when laddr
1590 is null.
1591
1592 2003-06-17 Michael Koch <konqueror@gmx.de>
1593
1594 * java/nio/DirectByteBufferImpl.java
1595 (address): Made package private.
1596 (DirectByteBufferImpl): New constructor.
1597 * java/nio/natDirectByteBufferImpl.cc
1598 (allocateImpl): Moved to java.nio namespace, implemented.
1599 (freeImpl): Likewise.
1600 (getImpl): Likewise.
1601 (putImpl): Likewise.
1602 * jni.cc
1603 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1604 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1605 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1606
1607 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1608
1609 * include/powerpc-signal.h: New File.
1610 * configure.in: Use it.
1611 * configure: Regenerated.
1612
1613 2003-06-17 Michael Koch <konqueror@gmx.de>
1614
1615 * java/util/Locale.java
1616 (getDisplayLanguage): Made it final.
1617 (getDisplayCountry): Likewise.
1618 (getDisplayVariant): Likewise.
1619 (getDisplayName): Likewise.
1620
1621 2003-06-17 Michael Koch <konqueror@gmx.de>
1622
1623 * java/util/PropertyResourceBundle.java:
1624 Removed unneeded import.
1625
1626 2003-06-17 Michael Koch <konqueror@gmx.de>
1627
1628 * java/util/prefs/AbstractPreferences.java,
1629 java/util/prefs/PreferencesFactory.java:
1630 Reworked imports, removed unused imports.
1631 * java/util/prefs/Preferences.java
1632 (systemNodeForPackage): Method takes a Class not an Object.
1633 (userNodeForPackage): Likewise.
1634 (nodeForPackage): Likewise.
1635
1636 2003-06-17 Michael Koch <konqueror@gmx.de>
1637
1638 * gnu/java/security/x509/X509Certificate.java:
1639 Explicitely import used classes.
1640
1641 2003-06-17 Michael Koch <konqueror@gmx.de>
1642
1643 * java/util/zip/ZipEntry.java,
1644 java/util/zip/ZipFile.java,
1645 java/util/zip/ZipInputStream.java,
1646 java/util/zip/ZipOutputStream.java:
1647 Reworked imports, only import used classes.
1648
1649 2003-06-17 Michael Koch <konqueror@gmx.de>
1650
1651 * gnu/java/lang/ArrayHelper.java,
1652 gnu/java/lang/ClassHelper.java:
1653 Reformatted to match classpath's versions.
1654
1655 2003-06-14 Michael Koch <konqueror@gmx.de>
1656
1657 * gnu/java/nio/FileChannelImpl.java
1658 (map_address): Removed incorrect comment.
1659 * gnu/java/nio/SelectorImpl.java
1660 (register): Remove code duplication and code for file channel handling.
1661 * gnu/java/nio/ServerSocketChannelImpl.java
1662 (serverSocket): Renamed from sock_object.
1663 (ServerSocketChannel): Initialize serverSocket.
1664 (socket): Return serverSocket.
1665 * gnu/java/nio/SocketChannelImpl.java
1666 (socket): Renamed from sock_object.
1667 (isConnectionPenging): Simplified.
1668 (socket): Return socket.
1669 2003-06-14 Michael Koch <konqueror@gmx.de>
1670
1671 * java/security/BasicPermission.java:
1672 New version from classpath.
1673
1674 2003-06-14 Michael Koch <konqueror@gmx.de>
1675
1676 * javax/naming/directory/Attribute.java:
1677 New version from classpath.
1678
1679 2003-06-14 Michael Koch <konqueror@gmx.de>
1680
1681 * java/io/BufferedReader.java,
1682 java/io/FileOutputStream.java:
1683 New versions from classpath.
1684
1685 2003-06-12 Andrew Haley <aph@redhat.com>
1686
1687 * prims.cc (catch_segv): Create exception in handler.
1688 (catch_fpe): Likewise.
1689 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1690 (_Jv_ThrowSignal): Remove.
1691
1692 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1693 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1694 to nullp and arithexception.
1695 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1696 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1697 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1698 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1699 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1700
1701 2003-06-11 Andrew Haley <aph@redhat.com>
1702
1703 * jni.cc (_Jv_JNI_check_types): New.
1704 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1705 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1706 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1707 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1708
1709 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1710 infinite loop.
1711
1712 2003-06-11 Tom Tromey <tromey@redhat.com>
1713
1714 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1715 * java/io/PrintStream.java: Not deprecated.
1716
1717 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1718
1719 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1720 (fillOval): implemented
1721 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1722 (fillArc): implemented.
1723 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1724 (fillArc): added native method.
1725 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1726 (fillArc): added native method.
1727
1728 2003-06-11 Michael Koch <konqueror@gmx.de>
1729
1730 * java/awt/im/InputSubset.java:
1731 New version from classpath.
1732
1733 2003-06-11 Michael Koch <konqueror@gmx.de>
1734
1735 * javax/swing/AbstractAction.java,
1736 javax/swing/AbstractButton.java,
1737 javax/swing/AbstractCellEditor.java,
1738 javax/swing/AbstractListModel.java,
1739 javax/swing/BorderFactory.java,
1740 javax/swing/Box.java,
1741 javax/swing/BoxLayout.java,
1742 javax/swing/ButtonGroup.java,
1743 javax/swing/DefaultButtonModel.java,
1744 javax/swing/DefaultListModel.java,
1745 javax/swing/DefaultListSelectionModel.java,
1746 javax/swing/FocusManager.java,
1747 javax/swing/ImageIcon.java,
1748 javax/swing/InputMap.java,
1749 javax/swing/JApplet.java,
1750 javax/swing/JButton.java,
1751 javax/swing/JCheckBox.java,
1752 javax/swing/JCheckBoxMenuItem.java,
1753 javax/swing/JColorChooser.java,
1754 javax/swing/JComboBox.java,
1755 javax/swing/JComponent.java,
1756 javax/swing/JDesktopPane.java,
1757 javax/swing/JDialog.java,
1758 javax/swing/JEditorPane.java,
1759 javax/swing/JFileChooser.java,
1760 javax/swing/JFormattedTextField.java,
1761 javax/swing/JFrame.java,
1762 javax/swing/JLabel.java,
1763 javax/swing/JLayeredPane.java,
1764 javax/swing/JList.java,
1765 javax/swing/JMenuBar.java,
1766 javax/swing/JMenuItem.java,
1767 javax/swing/JOptionPane.java,
1768 javax/swing/JPanel.java,
1769 javax/swing/JPasswordField.java,
1770 javax/swing/JPopupMenu.java,
1771 javax/swing/JProgressBar.java,
1772 javax/swing/JRadioButton.java,
1773 javax/swing/JRadioButtonMenuItem.java,
1774 javax/swing/JRootPane.java,
1775 javax/swing/JScrollBar.java,
1776 javax/swing/JScrollPane.java,
1777 javax/swing/JSeparator.java,
1778 javax/swing/JSlider.java,
1779 javax/swing/JTabbedPane.java,
1780 javax/swing/JTable.java,
1781 javax/swing/JTextField.java,
1782 javax/swing/JToggleButton.java,
1783 javax/swing/JToolBar.java,
1784 javax/swing/JToolTip.java,
1785 javax/swing/JTree.java,
1786 javax/swing/JViewport.java,
1787 javax/swing/JWindow.java,
1788 javax/swing/KeyStroke.java,
1789 javax/swing/ListSelectionModel.java,
1790 javax/swing/LookAndFeel.java,
1791 javax/swing/RepaintManager.java,
1792 javax/swing/ScrollPaneLayout.java,
1793 javax/swing/SizeRequirements.java,
1794 javax/swing/SwingConstants.java,
1795 javax/swing/Timer.java,
1796 javax/swing/UIDefaults.java,
1797 javax/swing/UIManager.java,
1798 javax/swing/border/AbstractBorder.java,
1799 javax/swing/border/CompoundBorder.java,
1800 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1801 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1802 javax/swing/colorchooser/ColorSelectionModel.java,
1803 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1804 javax/swing/event/AncestorEvent.java,
1805 javax/swing/event/HyperlinkEvent.java,
1806 javax/swing/event/InternalFrameAdapter.java,
1807 javax/swing/event/InternalFrameEvent.java,
1808 javax/swing/event/ListDataEvent.java,
1809 javax/swing/event/MouseInputAdapter.java,
1810 javax/swing/event/SwingPropertyChangeSupport.java,
1811 javax/swing/event/TableModelEvent.java,
1812 javax/swing/event/TreeWillExpandListener.java,
1813 javax/swing/event/UndoableEditEvent.java,
1814 javax/swing/filechooser/FileFilter.java,
1815 javax/swing/filechooser/FileSystemView.java,
1816 javax/swing/filechooser/FileView.java,
1817 javax/swing/plaf/BorderUIResource.java,
1818 javax/swing/plaf/basic/BasicDefaults.java,
1819 javax/swing/table/AbstractTableModel.java,
1820 javax/swing/table/DefaultTableCellRenderer.java,
1821 javax/swing/table/DefaultTableColumnModel.java,
1822 javax/swing/table/DefaultTableModel.java,
1823 javax/swing/table/TableColumn.java,
1824 javax/swing/text/JTextComponent.java,
1825 javax/swing/tree/AbstractLayoutCache.java,
1826 javax/swing/tree/DefaultMutableTreeNode.java,
1827 javax/swing/tree/DefaultTreeCellEditor.java,
1828 javax/swing/tree/DefaultTreeCellRenderer.java,
1829 javax/swing/tree/DefaultTreeModel.java,
1830 javax/swing/tree/DefaultTreeSelectionModel.java,
1831 javax/swing/tree/FixedHeightLayoutCache.java,
1832 javax/swing/tree/TreeCellEditor.java,
1833 javax/swing/tree/TreeModel.java,
1834 javax/swing/tree/TreeNode.java,
1835 javax/swing/tree/TreePath.java,
1836 javax/swing/tree/TreeSelectionModel.java,
1837 javax/swing/tree/VariableHeightLayoutCache.java,
1838 javax/swing/undo/AbstractUndoableEdit.java,
1839 javax/swing/undo/CompoundEdit.java,
1840 javax/swing/undo/StateEdit.java,
1841 javax/swing/undo/UndoManager.java,
1842 javax/swing/undo/UndoableEditSupport.java:
1843 New versions from classpath.
1844 * javax/swing/table/JTableHeader.java:
1845 New file from classpath.
1846 * Makefile.am
1847 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1848 * Makefile.in: Regenerated.
1849
1850 2003-06-11 Michael Koch <konqueror@gmx.de>
1851
1852 * java/nio/MappedByteBuffer.java,
1853 java/nio/channels/Channels.java,
1854 java/nio/channels/ServerSocketChannel.java,
1855 java/nio/channels/spi/AbstractSelector.java:
1856 Removed unneeded imports.
1857
1858 2003-06-11 Michael Koch <konqueror@gmx.de>
1859
1860 * java/net/DatagramSocket.java:
1861 Partly merged with classpath.
1862
1863 2003-06-11 Michael Koch <konqueror@gmx.de>
1864
1865 * java/awt/Frame.java,
1866 java/awt/Graphics.java,
1867 java/awt/Menu.java,
1868 java/awt/Robot.java,
1869 java/awt/image/ColorModel.java:
1870 New versions from classpath.
1871
1872 2003-06-10 Michael Koch <konqueror@gmx.de>
1873
1874 * java/io/PrintStream.java:
1875 Merged version from classpath.
1876 (close): Removed sychronized keyword. This class is not garantied to
1877 be thread-safe.
1878 (write): Likewise.
1879
1880 2003-06-09 Tom Tromey <tromey@redhat.com>
1881
1882 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1883 field.
1884 (getDescent): Likewise, for "descent".
1885
1886 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1887
1888 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1889 (getMaxDescent): adjusted return value.
1890 (getAscent): modified to use metrics for 'O'.
1891 (getDescent): modified to use metrics for 'y'.
1892
1893 2003-06-08 Anthony Green <green@redhat.com>
1894
1895 * java/net/URLStreamHandler.java (sameFile): Fix port value
1896 comparison.
1897 * java/net/URL.java (handler): Make package private.
1898 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1899
1900 2003-06-07 Tom Tromey <tromey@redhat.com>
1901
1902 For PR libgcj/11085:
1903 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1904 Limit number of characters in numeric field when required.
1905 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1906 Respect maximumIntegerDigits.
1907
1908 2003-06-08 Michael Koch <konqueror@gmx.de>
1909
1910 * java/net/Socket.java
1911 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1912 call bind() and connect() to actually do the bind and connect tasks.
1913 (bind): Connect to canonical address if bindpoint is null, create
1914 socket and bind it to bindpoint.
1915 (connect): Check for exceptions.
1916
1917 2003-06-08 Michael Koch <konqueror@gmx.de>
1918
1919 * java/net/DatagramSocket.java
1920 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1921 into the Multicast constructors.
1922 * java/net/DatagramSocketImpl.java
1923 (getOption): Removed.
1924 (setOption): Removed.
1925 * java/net/MulticastSocket.java
1926 (MulticastSocket): Call setReuseAddress (true).
1927 * java/net/SocketImpl.java
1928 (getOption): Removed.
1929 (setOption): Removed.
1930
1931 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1932
1933 PR libgcj/10886:
1934 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1935 Test for empty vector.
1936
1937 2003-06-06 Mark Wielaard <mark@klomp.org>
1938
1939 * java/security/Security.java (secprops): Initialize.
1940 (loadProviders): Return boolean.
1941 (static): Check result of loadProvider calls. If necessary
1942 display WARNING and fallback to Gnu provider.
1943
1944 2002-06-06 James Clark <jjc@jclark.com>
1945
1946 Fix for PR libgcj/8738:
1947 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1948 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1949 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1950 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1951 (write): Always decrease avail when count is increased.
1952 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1953 and whether output buffer is full before increasing size.
1954
1955 2002-06-06 Mark Wielaard <mark@klomp dot org>
1956
1957 * java/io/PrintStream.java (writeChars(char[],int, int)):
1958 Check converter.havePendingBytes().
1959 (writeChars(String,int,int)): Likewise.
1960 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1961 Check converter.havePendingBytes() and flush buffer when stalled.
1962
1963 2003-06-07 Michael Koch <konqueror@gmx.de>
1964
1965 * include/posix.h
1966 (O_DSYNC): Define O_DSYNC on platforms not
1967 supporting O_FSYNC (newlib).
1968
1969 2003-06-06 Mark Wielaard <mark@klomp.org>
1970
1971 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1972 AWTError.
1973
1974 2003-06-06 Michael Koch <konqueror@gmx.de>
1975
1976 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1977 More compile fixes from my stupid work yesterday.
1978
1979 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1980
1981 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1982 if _IEEE_LIBM is undefined.
1983
1984 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1985
1986 * libjava/include/posix.h (O_SYNC): Define if not available
1987 and a reasonable, perhaps more conservative, replacement exists.
1988 (O_DSYNC): Likewise.
1989 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1990
1991 2003-06-05 Michael Koch <konqueror@gmx.de>
1992
1993 * javax/swing/plaf/BorderUIResource.java,
1994 javax/swing/plaf/basic/BasicDefaults.java,
1995 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1996 More compile fixes for latest Border commit. I should not commit
1997 something in this heat here ...
1998
1999 2003-06-05 Michael Koch <konqueror@gmx.de>
2000
2001 * javax/swing/border/BevelBorder.java
2002 (BevelBorder): Removed.
2003 * javax/swing/border/EmptyBorder.java:
2004 Reformatted.
2005 (EmptyBorder): Removed.
2006 (getBorderInsets): Dont use l, r, t and b.
2007 * javax/swing/border/EtchedBorder.java
2008 (EtchedBorder): Removed.
2009 * javax/swing/border/LineBorder.java
2010 (LineBorder): Removed.
2011 * javax/swing/border/MatteBorder.java
2012 (MatteBorder): Removed.
2013 * javax/swing/border/TitledBorder.java
2014 (defaultBorder): Use other default for now.
2015 (defaultFont): Likewise.
2016 (defaultColor): Likewise.
2017
2018 2003-06-05 Michael Koch <konqueror@gmx.de>
2019
2020 * javax/swing/border/Border.java:
2021 New version from classpath.
2022
2023 2003-06-05 Michael Koch <konqueror@gmx.de>
2024
2025 * javax/swing/border/AbstractBorder.java,
2026 javax/swing/border/BevelBorder.java,
2027 javax/swing/border/CompoundBorder.java,
2028 javax/swing/border/EmptyBorder.java,
2029 javax/swing/border/EtchedBorder.java,
2030 javax/swing/border/LineBorder.java,
2031 javax/swing/border/MatteBorder.java,
2032 javax/swing/border/TitledBorder.java:
2033 New versions from Classpath.
2034
2035 2003-06-05 Michael Koch <konqueror@gmx.de>
2036
2037 * java/awt/Button.java,
2038 java/awt/Checkbox.java,
2039 java/awt/CheckboxMenuItem.java,
2040 java/awt/Choice.java,
2041 java/awt/Container.java,
2042 java/awt/Dialog.java,
2043 java/awt/EventQueue.java,
2044 java/awt/FileDialog.java,
2045 java/awt/Frame.java,
2046 java/awt/Label.java,
2047 java/awt/List.java,
2048 java/awt/Menu.java,
2049 java/awt/MenuItem.java,
2050 java/awt/Panel.java,
2051 java/awt/PopupMenu.java,
2052 java/awt/Rectangle.java,
2053 java/awt/ScrollPane.java,
2054 java/awt/Scrollbar.java,
2055 java/awt/TextArea.java,
2056 java/awt/TextField.java,
2057 java/awt/Window.java,
2058 java/awt/datatransfer/DataFlavor.java,
2059 java/awt/dnd/DragSource.java,
2060 java/awt/dnd/DragSourceContext.java,
2061 java/awt/event/HierarchyEvent.java,
2062 java/awt/event/MouseWheelEvent.java,
2063 java/awt/im/InputContext.java,
2064 java/awt/image/BufferedImage.java,
2065 java/awt/image/ComponentColorModel.java,
2066 java/awt/image/Raster.java,
2067 java/awt/image/WritableRaster.java,
2068 java/awt/peer/ComponentPeer.java,
2069 java/awt/print/PageFormat.java,
2070 java/awt/print/PrinterJob.java:
2071 New versions from Classpath.
2072
2073 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
2074
2075 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2076 numberFormat.setParseIntegerOnly(true).
2077
2078 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2079
2080 * include/posix-threads.h: Include <machine/pal.h> on OSF.
2081
2082 2003-06-03 Andrew Haley <aph@redhat.com>
2083
2084 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2085 stack volatile to prevent optimization from removing it.
2086
2087 2003-05-27 Michael Koch <konqueror@gmx.de>
2088
2089 * java/util/zip/Deflater.java
2090 (FILTERED): Merged documentation from classpath.
2091 * java/util/zip/DeflaterOutputStream.java
2092 (DeflaterOutputStream): Merged documentation and argument validity
2093 check from classpath.
2094 (deflate): Merged documentation from classpath.
2095 (finish): Likewise.
2096 * java/util/zip/Inflater.java
2097 (Inflater): Merged class documentation from classpath.
2098 (zstream): Reordered.
2099 (is_finished): Reordered.
2100 (dict_needed): Reordered.
2101 (Inflater): Reordered, merged documentation from classpath.
2102 (end): Likewise.
2103 (finalize): Merged documentation from classpath.
2104 (finished): Likewise.
2105 (getAdler): Likewise.
2106 (getRemaining): Likewise.
2107 (getTotalIn): Likewise.
2108 (getTotalOut): Likewise.
2109 (inflate): Likewise.
2110 (needsDictionary): Likewise.
2111 (needsInput): Likewise.
2112 (reset): Likewise.
2113 (setDictionary): Likewise.
2114 (setInput): Likewise.
2115
2116 2003-05-27 Michael Koch <konqueror@gmx.de>
2117
2118 * java/net/URLConnection.java
2119 (getHeaderFieldInt): Merged with classpath.
2120
2121 2003-05-27 Michael Koch <konqueror@gmx.de>
2122
2123 * java/io/PrintStream.java
2124 (PrintStream): Reformatted.
2125 (PrintStream): New method, merged from classpath.
2126 (write): Reformatted.
2127
2128 2003-05-27 Michael Koch <konqueror@gmx.de>
2129
2130 * java/lang/System.java:
2131 Explicitely import needed classes.
2132
2133 2003-05-26 Michael Koch <konqueror@gmx.de>
2134
2135 * java/net/NetPermission.java,
2136 java/net/NetworkInterface.java,
2137 java/net/PasswordAuthentication.java,
2138 java/net/SocketPermission.java:
2139 New versions from classpath.
2140
2141 2003-05-25 Michael Koch <konqueror@gmx.de>
2142
2143 * java/io/PushbackInputStream.java,
2144 java/net/Authenticator.java,
2145 java/net/ContentHandler.java,
2146 java/net/ContentHandlerFactory.java,
2147 java/net/DatagramSocket.java,
2148 java/net/DatagramSocketImpl.java,
2149 java/net/DatagramSocketImplFactory.java,
2150 java/net/FileNameMap.java,
2151 java/net/SocketImplFactory.java,
2152 java/net/SocketOptions.java,
2153 java/net/URLStreamHandlerFactory.java:
2154 Merged new versions from classpath.
2155
2156 2003-05-25 Michael Koch <konqueror@gmx.de>
2157
2158 * java/awt/Checkbox.java,
2159 java/awt/Dialog.java,
2160 java/awt/Font.java,
2161 java/awt/Frame.java,
2162 java/awt/ScrollPaneAdjustable.java,
2163 java/awt/Scrollbar.java,
2164 java/awt/Window.java:
2165 New versions from classpath.
2166
2167 2003-05-22 Jeff Sturm <jsturm@one-point.com>
2168
2169 PR libgcj/10838:
2170 * java/io/ObjectInputStream (enableResolveObject):
2171 Fixed spelling of permission name.
2172
2173 2003-05-20 Michael Koch <konqueror@gmx.de>
2174
2175 * java/io/DataInputStream.java
2176 (convertFromUTF): Merged comment from classpath.
2177 * java/io/PrintStream.java
2178 (error_occured): Renamed from error, merged comment from classpath.
2179 (PrintStream): No need to initialized error.
2180 (checkError): Replace error with error_occurred.
2181 (setError): Likewise.
2182
2183 2003-05-20 Michael Koch <konqueror@gmx.de>
2184
2185 * java/io/DataInputStream.java:
2186 Reformatted, Replaced < and & with html entitites in documentation.
2187 * java/io/File.java:
2188 Reformatted.
2189 * java/io/PrintWriter.java:
2190 Moved class documentation.
2191
2192 2003-05-20 Michael Koch <konqueror@gmx.de>
2193
2194 * gnu/java/nio/ByteBufferImpl.java,
2195 gnu/java/nio/CharBufferImpl.java,
2196 gnu/java/nio/CharViewBufferImpl.java,
2197 gnu/java/nio/DirectByteBufferImpl.java,
2198 gnu/java/nio/DoubleBufferImpl.java,
2199 gnu/java/nio/DoubleViewBufferImpl.java,
2200 gnu/java/nio/FloatBufferImpl.java,
2201 gnu/java/nio/FloatViewBufferImpl.java,
2202 gnu/java/nio/IntBufferImpl.java,
2203 gnu/java/nio/IntViewBufferImpl.java,
2204 gnu/java/nio/LongBufferImpl.java,
2205 gnu/java/nio/LongViewBufferImpl.java,
2206 gnu/java/nio/natDirectByteBufferImpl.cc,
2207 gnu/java/nio/ShortBufferImpl.java,
2208 gnu/java/nio/ShortViewBufferImpl.java:
2209 Moved files to java/nio.
2210 * gnu/java/nio/SocketChannelImpl.java
2211
2212 * java/nio/ByteBuffer.java,
2213 java/nio/CharBuffer.java,
2214 java/nio/DoubleBuffer.java,
2215 java/nio/FloatBuffer.java,
2216 java/nio/IntBuffer.java,
2217 java/nio/LongBuffer.java,
2218 java/nio/ShortBuffer.java:
2219 Dont import anything.
2220 * java/nio/ByteBufferImpl.java,
2221 java/nio/CharBufferImpl.java,
2222 java/nio/CharViewBufferImpl.java,
2223 java/nio/DirectByteBufferImpl.java,
2224 java/nio/DoubleBufferImpl.java,
2225 java/nio/DoubleViewBufferImpl.java,
2226 java/nio/FloatBufferImpl.java,
2227 java/nio/FloatViewBufferImpl.java,
2228 java/nio/IntBufferImpl.java,
2229 java/nio/IntViewBufferImpl.java,
2230 java/nio/LongBufferImpl.java,
2231 java/nio/LongViewBufferImpl.java,
2232 java/nio/natDirectByteBufferImpl.cc,
2233 java/nio/ShortBufferImpl.java,
2234 java/nio/ShortViewBufferImpl.java:
2235 Moved from gnu/java/nio.
2236 * Makefile.am
2237 (ordinary_java_source_files): Moved files from gnu/java/nio to
2238 java/nio.
2239 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2240 to java/nio.
2241 * Makefile.in: Regenerated.
2242
2243 2003-05-19 Michael Koch <konqueror@gmx.de>
2244
2245 * java/util/Calendar.java
2246 (get): Not final anymore since JDK 1.4
2247 (set): Likewise.
2248
2249 2003-05-19 Michael Koch <konqueror@gmx.de>
2250
2251 * java/text/CollationKey.java:
2252 Merged copyright and dat from classpath.
2253 * java/text/RuleBasedCollator.java:
2254 Merged class documentation from classpath.
2255
2256 2003-05-19 Michael Koch <konqueror@gmx.de>
2257
2258 * java/nio/CharBuffer.java
2259 (toString): Compile fix.
2260
2261 2003-05-19 Michael Koch <konqueror@gmx.de>
2262
2263 * gnu/java/nio/ByteBufferImpl.java
2264 (putLong): Fixed conversion to bytes.
2265 (putDouble): Fixed conversion to bytes.
2266 * gnu/java/nio/DirectByteBufferImpl.java
2267 (putLong): Fixed conversion to bytes.
2268 (putDouble): Fixed conversion to bytes.
2269 * gnu/java/nio/FileLockImpl.java
2270 (isValid): Reformatted.
2271 * java/nio/Buffer.java
2272 (Buffer): Fixed off-by-one bug in handling mark.
2273 * java/nio/ByteBuffer.java:
2274 Added newline.
2275 * java/nio/CharBuffer.java
2276 (toString): Don't use relative get to get string data.
2277
2278 2003-05-16 Michael Koch <konqueror@gmx.de>
2279
2280 * java/io/natFileDescriptorPosix.cc
2281 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2282 tested.
2283
2284 2003-05-14 Michael Koch <konqueror@gmx.de>
2285
2286 * gnu/java/nio/FileLockImpl.java
2287 (released): New member variable.
2288 (FileLockImpl): Initialize released.
2289 (releaseImpl): New native method.
2290 (release): Implemented.
2291 * gnu/java/nio/SelectorImpl.java: Reformatted.
2292 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2293 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2294 (accept): Throws IOException.
2295 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2296 (implConfigureBlocking): Throws IOException.
2297 (connect): Likewise.
2298 (read): Likewise.
2299 (write): Likewise.
2300 * gnu/java/nio/natFileLockImpl.cc: New file.
2301 * java/nio/channels/FileLock.java: Reformatted.
2302 * Makefile.am:
2303 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2304 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2305 * Makefile.in: Regenerated.
2306
2307 2003-05-13 Michael Koch <konqueror@gmx.de>
2308
2309 * gnu/java/nio/CharViewBufferImpl.java
2310 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2311 (get): Shift bits to the right direction.
2312 (put): Likewise.
2313 * gnu/java/nio/DoubleViewBufferImpl.java
2314 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2315 (get): Shift bits to the right direction.
2316 (put): Likewise.
2317 * gnu/java/nio/FloatViewBufferImpl.java
2318 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2319 (get): Shift bits to the right direction.
2320 (put): Likewise.
2321 * gnu/java/nio/IntViewBufferImpl.java
2322 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2323 (get): Shift bits to the right direction.
2324 (put): Likewise.
2325 * gnu/java/nio/LongViewBufferImpl.java
2326 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2327 (get): Shift bits to the right direction.
2328 (put): Likewise.
2329 * gnu/java/nio/ShortViewBufferImpl.java
2330 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2331 (get): Shift bits to the right direction.
2332 (put): Likewise.
2333
2334 2003-05-13 Michael Koch <konqueror@gmx.de>
2335
2336 * gnu/java/nio/natDirectByteBufferImpl.cc
2337 (allocateImpl): jlong -> RawData*.
2338 (freeImpl): Likewise.
2339
2340 2003-05-13 Michael Koch <konqueror@gmx.de>
2341
2342 * java/nio/channels/FileChannel.java
2343 (MapMode.m): Made it package-private to match JDK 1.4.
2344 * java/nio/charset/Charset.java
2345 (decode): Made it final to match JDK 1.4.
2346
2347 2003-05-13 Michael Koch <konqueror@gmx.de>
2348
2349 * java/io/FileDescriptor.java
2350 (SYNC): New constant.
2351 (DSYNC): Likewise.
2352 (getLength): Renamed from lenght() to match classpath's
2353 FileDescriptor.java.
2354 * java/io/RandomAccessFile.java
2355 (RandomAccessFile): Removed unneeded mode check, implemented mode
2356 "rws" and "rwd", merged documentation from classpath.
2357 (setLength): Reformatted.
2358 (length): Use new getLength() of FileDescriptor.
2359 * java/io/natFileDescriptorEcos.cc
2360 (getLength): Renamed from length().
2361 * java/io/natFileDescriptorPosix.cc
2362 (open): Implemented support for SYNC and DSYNC.
2363 (seek): Use getLength() instead of length().
2364 (getLength): Renamed from length().
2365 * java/io/natFileDescriptorWin32.cc
2366 (getLength): Renamed from length().
2367 (seek): Use getLength() instead of length().
2368 (available): Likewise.
2369 * gnu/java/nio/natFileChannelImpl.cc
2370 (size): Use getLength() instead of length().
2371
2372 2003-05-13 Michael Koch <konqueror@gmx.de>
2373
2374 * gnu/java/nio/ByteBufferImpl.java
2375 (ByteBufferImpl): All constructors revised.
2376 (slice): Reimplemented.
2377 (duplicate): Reimplemented.
2378 (asReadOnlyBuffer): Reimplemented.
2379 * java/nio/ByteBuffer.java:
2380 Reformatted.
2381 (array_offset): Renamed from "offset" to match all other buffer
2382 classes.
2383 (ByteBuffer): All constructors revised.
2384 (allocateDirect): Implemented.
2385 (allocate): New implementation, documentation reworked.
2386 (wrap): Likewise.
2387 (get): Documentation reworked.
2388 (put): New implementation, documentation reworked.
2389 (hasArray): Documentation reworked.
2390 (arrayOffset): Likewise.
2391 (hashCode): Likewise.
2392 (equals): Likewise.
2393 (compareTo): Likewise.
2394 (order): Likewise.
2395 (compact): Likewise.
2396 (isDirect): Likewise.
2397 (slice): Likewise.
2398 (duplicate): Likewise.
2399 (asReadOnlyBuffer): Likewise.
2400 * Makefile.am
2401 (ordinary_java_source_files):
2402 Added gnu/java/nio/DirectByteBufferImpl.java.
2403 (nat_source_files):
2404 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2405 * Makefile.in: Regenerated.
2406
2407 2003-05-12 Michael Koch <konqueror@gmx.de>
2408
2409 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2410 (nio_get_*): Removed.
2411 (nio_put_*): Removed.
2412 (as*Buffer): Implemented.
2413 (compact): Implemented.
2414 (get): Documentation added.
2415 (put): Documentation added.
2416 (get*): Newly implemented.
2417 (put*): Newly implemented.
2418 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2419 (CharBufferImpl): Revised.
2420 (slice): New implementation.
2421 (duplicate): New implementation.
2422 (compact): New implementation.
2423 (asReadOnlyBuffer): New implementation.
2424 (get): Documentation revised.
2425 (order): Return native byte order.
2426 * gnu/java/nio/DirectByteBufferImpl.java
2427 (allocateDirect): objects can be null not 0.
2428 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2429 (DoubleBufferImpl): Revised.
2430 (slice): New implementation.
2431 (duplicate): New implementation.
2432 (compact): New implementation.
2433 (asReadOnlyBuffer): New implementation.
2434 (get): Documentation revised.
2435 (order): Return native byte order.
2436 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2437 (FloatBufferImpl): Revised.
2438 (slice): New implementation.
2439 (duplicate): New implementation.
2440 (compact): New implementation.
2441 (asReadOnlyBuffer): New implementation.
2442 (get): Documentation revised.
2443 (order): Return native byte order.
2444 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2445 (IntBufferImpl): Revised.
2446 (slice): New implementation.
2447 (duplicate): New implementation.
2448 (compact): New implementation.
2449 (asReadOnlyBuffer): New implementation.
2450 (get): Documentation revised.
2451 (order): Return native byte order.
2452 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2453 (LongBufferImpl): Revised.
2454 (slice): New implementation.
2455 (duplicate): New implementation.
2456 (compact): New implementation.
2457 (asReadOnlyBuffer): New implementation.
2458 (get): Documentation revised.
2459 (order): Return native byte order.
2460 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2461 (ShortBufferImpl): Revised.
2462 (slice): New implementation.
2463 (duplicate): New implementation.
2464 (compact): New implementation.
2465 (asReadOnlyBuffer): New implementation.
2466 (get): Documentation revised.
2467 (order): Return native byte order.
2468 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2469 (CharBuffer): Revised.
2470 (order): Removed.
2471 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2472 (DoubleBuffer): Revised.
2473 (allocateDirect): Removed.
2474 (order): Removed.
2475 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2476 (FloatBuffer): Revised.
2477 (allocateDirect): Removed.
2478 (order): Removed.
2479 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2480 (IntBuffer): Revised.
2481 (allocateDirect): Removed.
2482 (order): Removed.
2483 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2484 (LongBuffer): Revised.
2485 (allocateDirect): Removed.
2486 (order): Removed.
2487 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2488 (ShortBuffer): Revised.
2489 (allocateDirect): Removed.
2490 (order): Removed.
2491 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2492 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2493 * Makefile.am
2494 (ordinary_java_source_files): Added the following files:
2495 gnu/java/nio/CharViewBufferImpl.java,
2496 gnu/java/nio/DoubleViewBufferImpl.java,
2497 gnu/java/nio/FloatViewBufferImpl.java,
2498 gnu/java/nio/IntViewBufferImpl.java,
2499 gnu/java/nio/LongViewBufferImpl.java,
2500 gnu/java/nio/ShortViewBufferImpl.java
2501 (nat_source_files): Removed the following files:
2502 gnu/java/nio/natByteBufferImpl.cc,
2503 gnu/java/nio/natCharBufferImpl.cc
2504 * Makefile.in: Regenerated.
2505
2506 2003-05-12 Michael Koch <konqueror@gmx.de>
2507
2508 * gnu/java/nio/CharViewBufferImpl.java,
2509 gnu/java/nio/DirectByteBufferImpl.java,
2510 gnu/java/nio/DoubleViewBufferImpl.java,
2511 gnu/java/nio/FloatViewBufferImpl.java,
2512 gnu/java/nio/IntViewBufferImpl.java,
2513 gnu/java/nio/LongViewBufferImpl.java,
2514 gnu/java/nio/ShortViewBufferImpl.java,
2515 gnu/java/nio/natDirectByteBufferImpl.cc:
2516 New files, not yet to be compiled.
2517
2518 2003-05-10 Michael Koch <konqueror@gmx.de>
2519
2520 * javax/swing/plaf/ButtonUI.java,
2521 javax/swing/plaf/ColorUIResource.java,
2522 javax/swing/plaf/ComponentUI.java,
2523 javax/swing/plaf/DimensionUIResource.java,
2524 javax/swing/plaf/FontUIResource.java,
2525 javax/swing/plaf/IconUIResource.java,
2526 javax/swing/plaf/InsetsUIResource.java,
2527 javax/swing/plaf/LabelUI.java,
2528 javax/swing/plaf/ListUI.java,
2529 javax/swing/plaf/OptionPaneUI.java,
2530 javax/swing/plaf/PanelUI.java,
2531 javax/swing/plaf/TabbedPaneUI.java,
2532 javax/swing/plaf/TextUI.java,
2533 javax/swing/plaf/TreeUI.java,
2534 javax/swing/plaf/ViewportUI.java,
2535 javax/swing/plaf/basic/BasicBorders.java,
2536 javax/swing/plaf/basic/BasicButtonUI.java,
2537 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2538 javax/swing/plaf/basic/BasicDefaults.java,
2539 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2540 javax/swing/plaf/basic/BasicIconFactory.java,
2541 javax/swing/plaf/basic/BasicLabelUI.java,
2542 javax/swing/plaf/basic/BasicListUI.java,
2543 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2544 javax/swing/plaf/basic/BasicPanelUI.java,
2545 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2546 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2547 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2548 javax/swing/plaf/basic/BasicTextUI.java,
2549 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2550 javax/swing/plaf/basic/BasicTreeUI.java,
2551 javax/swing/plaf/basic/BasicViewportUI.java,
2552 javax/swing/plaf/metal/MetalLookAndFeel.java:
2553 New versions from classpath. This adds copyrights to all files and
2554 some serialVersionUIDs.
2555
2556 2003-05-10 Michael Koch <konqueror@gmx.de>
2557
2558 * java/nio/CharBuffer.java
2559 (offset): Make it package-private.
2560 (backing_buffer): Likewise.
2561 * java/nio/DoubleBuffer.java
2562 (offset): Make it package-private.
2563 (backing_buffer): Likewise.
2564 (put): Reformatted.
2565 * java/nio/FloatBuffer.java
2566 (offset): Make it package-private.
2567 (backing_buffer): Likewise.
2568 * java/nio/IntBuffer.java
2569 (offset): Make it package-private.
2570 (backing_buffer): Likewise.
2571 * java/nio/LongBuffer.java
2572 (offset): Make it package-private.
2573 (backing_buffer): Likewise.
2574 * java/nio/ShortBuffer.java
2575 (offset): Make it package-private.
2576 (backing_buffer): Likewise.
2577
2578 2003-05-10 Michael Koch <konqueror@gmx.de>
2579
2580 * java/nio/CharBuffer.java
2581 (put): Fixed precondtion check.
2582 (toString): Make it work without backing array.
2583 (put): Skip one level of method calling.
2584
2585 2003-05-10 Michael Koch <konqueror@gmx.de>
2586
2587 * java/security/Identity.java,
2588 java/security/IdentityScope.java,
2589 java/security/Key.java,
2590 java/security/KeyPair.java,
2591 java/security/PrivateKey.java,
2592 java/security/Provider.java,
2593 java/security/PublicKey.java,
2594 java/security/SecureRandom.java,
2595 java/security/SecureRandomSpi.java,
2596 java/security/SignedObject.java,
2597 java/security/Signer.java,
2598 java/security/cert/Certificate.java,
2599 java/security/cert/PKIXCertPathBuilderResult.java,
2600 java/security/cert/X509Certificate.java:
2601 New versions from classpath.
2602
2603 2003-05-09 Tom Tromey <tromey@redhat.com>
2604
2605 * Makefile.in: Rebuilt.
2606 * Makefile.am (nat_source_files): Removed old files.
2607 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2608 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2609 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2610 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2611 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2612
2613 2003-05-09 Michael Koch <konqueror@gmx.de>
2614
2615 * gnu/java/nio/ByteBufferImpl.java
2616 (nio_cast): Removed.
2617 (ByteBufferImpl): Removed.
2618 (nio_get_Byte): Removed.
2619 (nio_put_Byte): Removed.
2620 (asByteBuffer): Removed.
2621 (asCharBuffer): Removed implementation and throw exception.
2622 (asShortBuffer): Likewise.
2623 (asIntBuffer): Likewise.
2624 (asLongBuffer): Likewise.
2625 (asFloatBuffer): Likewise.
2626 (asDoubleBuffer): Likewise.
2627 * gnu/java/nio/CharBufferImpl.java
2628 (CharBufferImpl): Removed.
2629 (nio_get_Byte): Removed.
2630 (nio_put_Byte): Removed.
2631 (asByteBuffer): Removed.
2632 * gnu/java/nio/DoubleBufferImpl.java
2633 (DoubleBufferImpl): Removed.
2634 (nio_get_Byte): Removed.
2635 (nio_put_Byte): Removed.
2636 (asByteBuffer): Removed.
2637 * gnu/java/nio/FloatBufferImpl.java
2638 (FloatBufferImpl): Removed.
2639 (nio_get_Byte): Removed.
2640 (nio_put_Byte): Removed.
2641 (asByteBuffer): Removed.
2642 * gnu/java/nio/IntBufferImpl.java
2643 (IntBufferImpl): Removed.
2644 (nio_get_Byte): Removed.
2645 (nio_put_Byte): Removed.
2646 (asByteBuffer): Removed.
2647 * gnu/java/nio/LongBufferImpl.java
2648 (LongBufferImpl): Removed.
2649 (nio_get_Byte): Removed.
2650 (nio_put_Byte): Removed.
2651 (asByteBuffer): Removed.
2652 * gnu/java/nio/ShortBufferImpl.java
2653 (ShortBufferImpl): Removed.
2654 (nio_get_Byte): Removed.
2655 (nio_put_Byte): Removed.
2656 (asByteBuffer): Removed.
2657 * gnu/java/nio/natByteBufferImpl.cc
2658 (nio_cast): Removed.
2659 (nio_get_Byte): Removed.
2660 (nio_put_Byte): Removed.
2661 * gnu/java/nio/natCharBufferImpl.cc
2662 (nio_get_Byte): Removed.
2663 (nio_put_Byte): Removed.
2664
2665 2003-05-09 Michael Koch <konqueror@gmx.de>
2666
2667 * java/net/JarURLConnection.java
2668 (getJarEntry): Merged documentation from classpath.
2669 (getJarFile): Likewise.
2670 (getMainAttributes): Likewise.
2671 (getAttributes): Likewise.
2672 (getManifest): Likewise.
2673 (getCertificates): Reformatted.
2674 * java/net/URLConnection.java:
2675 Little classpath merge.
2676
2677 2003-05-09 Michael Koch <konqueror@gmx.de>
2678
2679 * java/io/DataOutputStream.java
2680 (writeShort): Made it synchronized.
2681 (writeChar): Likewise.
2682 (writeInt): Likewise.
2683 (writeLong): Liekwise.
2684 (writeUTF): Made it synchronized, renamed argument to match classpath.
2685 * java/io/InputStreamReader.java
2686 (converter): Added documentation.
2687 (read): Merged documentation from classpath.
2688 * java/io/OutputStreamWriter.java
2689 (OutputStreamWriter): Merged documentation from classpath.
2690 (close): Reformatted.
2691 (getEncoding): Likewise.
2692 (flush): Likewise.
2693 (write): Merged documentation from classpath, reformatted.
2694
2695 2003-05-08 Tom Tromey <tromey@redhat.com>
2696
2697 * configure.host <powerpc64*-*>: Set with_libffi_default and
2698 libgcj_interpreter to "yes".
2699
2700 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2701
2702 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2703
2704 2003-05-06 Tom Tromey <tromey@redhat.com>
2705
2706 * verify.cc: Reverted previous patch.
2707
2708 2003-05-06 Michael Koch <konqueror@gmx.de>
2709
2710 * java/io/DataOutputStream.java
2711 (write): Renamed argument to "value", merged documentation from
2712 classpath.
2713 (writeBoolean): Likewise.
2714 (writeByte): Likewise.
2715 (writeShort): Likewise.
2716 (writeChar): Likewise.
2717 (writeInt): Likewise.
2718 (writeLong): Likewise.
2719 (writeFloat): Likewise.
2720 (writeDouble): Likewise.
2721 (writeBytes): Likewise.
2722 (writeChars): Likewise.
2723 (writeUTF): Likewise.
2724 * java/io/File.java
2725 (performDelete): Added documentation.
2726 (performList): Likewise.
2727 (performMkdir): Likewise.
2728 (performSetReadOnly): Likewise.
2729 (performRenameTo): Likewise.
2730 (performSetLastModified): Likewise.
2731 (delete): Made it sychronized.
2732 (renameTo): Made it sychronized.
2733 (equals): Reformatted.
2734 (isHidden): Likewise.
2735 (listFiles): Likewise.
2736 (setReadOnly): Likewise.
2737 (listRoots): Likewise.
2738 (setLastModified): Likewise.
2739 (checkRead): Likewise.
2740 (checkWrite): Likewise.
2741 * java/io/FileInputStream.java
2742 (skip): Made it sychronized, merged from classpath.
2743 * java/io/FileOutputStream.java
2744 (write): Merged from classpath.
2745 * java/io/InputStreamReader.java:
2746 (InputStreamReader): Merged documentation from classpath.
2747
2748 2003-05-05 Michael Koch <konqueror@gmx.de>
2749
2750 * java/net/NetworkInterface.java
2751 (networkInterfaces): Removed.
2752 (getByName): Use getRealNetworkInterfaces() instead of
2753 networkInterfaces.
2754 (getByInetAddress): Likewise.
2755 (getNetworkInterfaces): Likewise.
2756 (toString): Fix output of addresses of an interface.
2757
2758 2003-05-05 Michael Koch <konqueror@gmx.de>
2759
2760 * java/io/DataInputStream.java:
2761 Merged new documentation from classpath.
2762
2763 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2764
2765 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2766 "version".
2767 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2768 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2769 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2770 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2771 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2772 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2773 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2774 * java/security/Key.java: Likewise.
2775 * java/security/PrivateKey.java: Likewise.
2776 * java/security/Provider.java: Likewise.
2777 * java/security/PublicKey.java: Likewise.
2778
2779 2003-05-02 Michael Koch <konqueror@gmx.de>
2780
2781 * java/net/URI.java
2782 (create): Doesnt throws any exceptions.
2783 * java/net/URLConnection.java
2784 (URLConnection): Commend added.
2785 (getExpiration): The header field is called "expires" not
2786 "expiration".
2787 (getHeaderField): Merged documentation with classpath.
2788 (getHeaderFieldInt): Likewise.
2789 (getHeaderFieldDate): Likewise.
2790 (getHeaderFieldKey): Likewise.
2791 (getPermission): Likewise.
2792 (setDefaultUseCaches): Likewise.
2793 (setRequestProperty): Likewise.
2794 (addRequestProperty): Likewise.
2795 (getRequestProperty): Likewise.
2796 (getRequestProperties): Likewise.
2797 (setDefaultRequestProperty): Likewise.
2798 (getDefaultRequestProperty): Likewise.
2799 (guessContentTypeFromStream): Likewise.
2800 (getFileNameMap): Likewise.
2801 (setFileNameMap): Likewise.
2802 (setDoInput): Merged implementation and documentation with classpath.
2803 (setDoOutput): Likewise.
2804 (setAllowUserInteraction): Likewise.
2805 (setDefaultAllowUserInteraction): Likewise.
2806 (setContentHandlerFactory): Made it synchronized, merged documentation
2807 with classpath.
2808 (guessContentTypeFromName): Renamed argument fname to filename to
2809 match classpath, merged documentation with classpath.
2810
2811 2003-05-02 Michael Koch <konqueror@gmx.de>
2812
2813 * java/net/JarURLConnection.java
2814 (JarURLConnection): Class documentation merged with classpath.
2815 (getJarFileURL): Moved and documentation merged with classpath.
2816 (getEntryName): Likewise.
2817 (JarURLConnection): Documentation merged with classpath.
2818 (getJarEntry): Likewise.
2819 (getJarFile): Likewise.
2820 * java/net/PlainDatagramSocketImpl.java:
2821 Class documentation moved.
2822 * java/net/URLConnection.java
2823 (fileNameMap): Moved and documentation merged with classpath.
2824 (factory): Likewise.
2825 (defaultAllowUserInteraction): Likewis.
2826 (defaultUseCaches): Likewise.
2827 (allowUserInteraction): Likewise.
2828 (connected): Likewise.
2829 (url): Likewise.
2830 (connect): Documentation merged with classpath.
2831 (getURL): Likewise.
2832 (getContentLength): Likewise.
2833 (getContentType): Likewise.
2834 (getContentEncoding): Likewise.
2835 (getExpiration): Likewise.
2836 (getDate): Likewise.
2837 (getLastModified): Likewise.
2838 (getHeaderField): Likewise.
2839 (getContent): Likewise.
2840 (getPermission): Likewise.
2841 (getInputStream): Likewise.
2842 (getOutputStream): Likewise.
2843 (toString): Likewise.
2844 (getDoInput): Likewise.
2845 (getDoOutput): Likewise.
2846 (setAllowUserInteraction): Likewise.
2847 (getAllowUserInteraction): Likewise.
2848 (setDefaultAllowUserInteraction): Likewise.
2849 (getDefaultAllowUserInteraction): Likewise.
2850 (setUseCaches): Likewise.
2851 (getUseCaches): Likewise.
2852 (setIfModifiedSince): Likewise.
2853 (getIfModifiedSince): Likewise.
2854 (setDefaultRequestProperty): Likewise.
2855 (getDefaultRequestProperty): Likewise.
2856 (setContentHandlerFactory): Likewise.
2857 (setFileNameMap): Likewise.
2858
2859 2003-05-02 Michael Koch <konqueror@gmx.de>
2860
2861 * java/net/InetAddress.java:
2862 Merged class documentation with classpath.
2863 * java/net/JarURLConnection.java:
2864 Explicitely import all used classes.
2865 * java/net/URL.java:
2866 Reformatting.
2867 * java/net/ServerSocket.java,
2868 java/net/Socket.java:
2869 New versions from classpath.
2870
2871 2003-05-02 Michael Koch <konqueror@gmx.de>
2872
2873 * gnu/java/nio/FileChannelImpl.java
2874 (read): New implementation.
2875 (implRead): New methods.
2876 (write): New implementation, call other write insteal of read method.
2877 (implWrite): New methods.
2878 (map): Added comment.
2879 (transferFrom): Implemented.
2880 (transferTo): Implemented.
2881 (lock): Added checks to throw exceptions.
2882 (truncate): Added check to throw exception.
2883 * gnu/java/nio/natFileChannelImpl.cc
2884 (implRead): New method.
2885 (implWrite): New method.
2886 * java/nio/ByteBuffer.java
2887 (hashCode): Fixed comment.
2888 (get): Fixed exception documentation.
2889 (put): Fixed exception documentation.
2890 * java/nio/CharBuffer.java:
2891 Added comment for later optimizations.
2892
2893 2003-04-30 Tom Tromey <tromey@redhat.com>
2894
2895 PR libgcj/10582:
2896 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2897 Removed.
2898 (type::compatible): Use _Jv_IsAssignableFrom.
2899 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2900 (_Jv_IsAssignableFrom): Work even when source or target class is
2901 not prepared.
2902
2903 2003-04-30 Michael Koch <konqueror@gmx.de>
2904
2905 * java/text/BreakIterator.java
2906 (clone): New method.
2907
2908 2003-04-30 Michael Koch <konqueror@gmx.de>
2909
2910 * java/text/CollationElementIterator.java,
2911 java/text/CollationKey.java,
2912 java/text/RuleBasedCollator.java:
2913 Merged copyright and documentation from classpath and
2914 rearranged some code. No code changes done.
2915
2916 2003-04-30 Michael Koch <konqueror@gmx.de>
2917
2918 * java/util/regex/Matcher.java
2919 (pattern): New member variable.
2920 (appendReplacement): New method.
2921 (appendTail): New method.
2922 (end): New method.
2923 (find): New method.
2924 (group): New method.
2925 (replaceFirst): Added documentation.
2926 (replaceAll): Added documentation.
2927 (groupCount): New method.
2928 (lookingAt): New method.
2929 (matches): New method.
2930 (reset): New method.
2931 (start): New method.
2932 * java/util/regex/Pattern.java
2933 (serialVersionUID): New constant.
2934 (CANON_EQ): New constant.
2935 (CASE_INSENSITIVE): New constant.
2936 (COMMENTS): New constant.
2937 (DOTALL): New constant.
2938 (MULTILINE): New constant.
2939 (UNICODE_CASE): New constant.
2940 (UNIX_LINES): New constant.
2941 (regex): New member variable.
2942 (flags): New member variable.
2943 (Pattern): New method.
2944 (compile): Documentation added.
2945 (flags): New method.
2946 (matches): Documentation added.
2947 (matcher): Documentation added.
2948 (split): Documentation added.
2949 (pattern): New method.
2950
2951 2003-04-30 Michael Koch <konqueror@gmx.de>
2952
2953 * gnu/java/security/Engine.java,
2954 gnu/java/security/OID.java,
2955 gnu/java/security/der/BitString.java,
2956 gnu/java/security/der/DER.java,
2957 gnu/java/security/der/DERReader.java,
2958 gnu/java/security/der/DERValue.java,
2959 gnu/java/security/der/DERWriter.java,
2960 gnu/java/security/provider/DSAKeyFactory.java,
2961 gnu/java/security/provider/X509CertificateFactory.java,
2962 gnu/java/security/x509/X500DistinguishedName.java,
2963 gnu/java/security/x509/X509CRL.java,
2964 gnu/java/security/x509/X509CRLEntry.java,
2965 gnu/java/security/x509/X509Certificate.java,
2966 java/security/cert/CRLSelector.java,
2967 java/security/cert/CertPathBuilder.java,
2968 java/security/cert/CertPathBuilderResult.java,
2969 java/security/cert/CertPathBuilderSpi.java,
2970 java/security/cert/CertPathParameters.java,
2971 java/security/cert/CertPathValidator.java,
2972 java/security/cert/CertPathValidatorResult.java,
2973 java/security/cert/CertPathValidatorSpi.java,
2974 java/security/cert/CertSelector.java,
2975 java/security/cert/CertStore.java,
2976 java/security/cert/CertStoreParameters.java,
2977 java/security/cert/CertStoreSpi.java,
2978 java/security/cert/CollectionCertStoreParameters.java,
2979 java/security/cert/LDAPCertStoreParameters.java,
2980 java/security/cert/PKIXBuilderParameters.java,
2981 java/security/cert/PKIXCertPathBuilderResult.java,
2982 java/security/cert/PKIXCertPathChecker.java,
2983 java/security/cert/PKIXCertPathValidatorResult.java,
2984 java/security/cert/PKIXParameters.java,
2985 java/security/cert/PolicyNode.java,
2986 java/security/cert/PolicyQualifierInfo.java,
2987 java/security/cert/TrustAnchor.java,
2988 javax/security/auth/x500/X500Principal.java:
2989 New files from classpath.
2990 * gnu/java/io/ASN1ParsingException.java,
2991 gnu/java/io/Base64InputStream.java,
2992 gnu/java/security/der/DEREncodingException.java,
2993 gnu/java/security/provider/DSAParameters.java,
2994 gnu/java/security/provider/DSASignature.java,
2995 gnu/java/security/provider/Gnu.java,
2996 gnu/java/security/provider/GnuDSAPrivateKey.java,
2997 gnu/java/security/provider/GnuDSAPublicKey.java,
2998 java/security/AlgorithmParameterGenerator.java,
2999 java/security/AlgorithmParameters.java,
3000 java/security/KeyFactory.java,
3001 java/security/KeyPairGenerator.java,
3002 java/security/KeyStore.java,
3003 java/security/MessageDigest.java,
3004 java/security/SecureClassLoader.java,
3005 java/security/SecureRandom.java,
3006 java/security/Security.java,
3007 java/security/Signature.java,
3008 java/security/cert/Certificate.java,
3009 java/security/cert/CertificateFactory.java,
3010 java/security/cert/CertificateFactorySpi.java,
3011 java/security/cert/X509CRL.java,
3012 java/security/cert/X509Certificate.java,
3013 java/security/spec/DSAPublicKeySpec.java:
3014 New versions from classpath.
3015 * gnu/java/security/provider/DERReader.java,
3016 gnu/java/security/provider/DERWriter.java,
3017 java/security/Engine.java: Removed.
3018 * Makefile.am
3019 (java_source_files, javax_source_files): Added new files.
3020 * Makefile.in: Regenerated.
3021
3022 2003-04-29 Michael Koch <konqueror@gmx.de>
3023
3024 * javax/swing/JTable.java
3025 (AUTO_RESIZE_ALL_COLUMNS): New constant.
3026 (AUTO_RESIZE_LAST_COLUMN): New constant.
3027 (AUTO_RESIZE_NEXT_COLUMN): New constant.
3028 (AUTO_RESIZE_OFF): New constant.
3029 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
3030 (JTable): New method.
3031 (columnAdded): New method.
3032 (columnMarginChanged): New method.
3033 (columnMoved): New method.
3034 (columnRemoved): New method.
3035 (columnSelectionChanged): New method.
3036 (editingCanceled): New method.
3037 (editingStopped): New method.
3038 (getColumnModel): New method.
3039 (getPreferredScrollableViewportSize): New method.
3040 (getScrollableBlockIncrement): New method.
3041 (getScrollableTracksViewportHeight): New method.
3042 (getScrollableTracksViewportWidth): New method.
3043 (getScrollableUnitIncrement): New method.
3044 (getSelectedRow): New method.
3045 (getSelectionModel): New method.
3046 (tableChanged): New method.
3047 (setModel): New method.
3048 (setSelectionMode): New method.
3049 (setSelectionModel): New method.
3050 (setShowGrid): New method.
3051 (valueChanged): New method.
3052 * javax/swing/text/DefaultEditorKit.java
3053 (backwardAction): New constant.
3054 (beepAction): New constant.
3055 (beginAction): New constant.
3056 (beginLineAction): New constant.
3057 (beginParagraphAction): New constant.
3058 (beginWordAction): New constant.
3059 (copyAction): New constant.
3060 (cutAction): New constant.
3061 (defaultKeyTypedAction): New constant.
3062 (deleteNextCharAction): New constant.
3063 (deletePrevCharAction): New constant.
3064 (downAction): New constant.
3065 (endAction): New constant.
3066 (endLineAction): New constant.
3067 (endOfLineStringProperty): New constant.
3068 (endParagraphAction): New constant.
3069 (endWordAction): New constant.
3070 (forwardAction): New constant.
3071 (insertBreakAction): New constant.
3072 (insertContentAction): New constant.
3073 (insertTabAction): New constant.
3074 (nextWordAction): New constant.
3075 (pageDownAction): New constant.
3076 (pageUpAction): New constant.
3077 (pasteAction): New constant.
3078 (previousWordAction): New constant.
3079 (readOnlyAction): New constant.
3080 (selectAllAction): New constant.
3081 (selectionBackwardAction): New constant.
3082 (selectionBeginAction): New constant.
3083 (selectionBeginLineAction): New constant.
3084 (selectionBeginParagraphAction): New constant.
3085 (selectionBeginWordAction): New constant.
3086 (selectionDownAction): New constant.
3087 (selectionEndAction): New constant.
3088 (selectionEndLineAction): New constant.
3089 (selectionEndParagraphAction): New constant.
3090 (selectionEndWordAction): New constant.
3091 (selectionForwardAction): New constant.
3092 (selectionNextWordAction): New constant.
3093 (selectionPreviousWordAction): New constant.
3094 (selectionUpAction): New constant.
3095 (selectLineAction): New constant.
3096 (selectParagraphAction): New constant.
3097 (selectWordAction): New constant.
3098 (upAction): New constant.
3099 (writableAction): New constant.
3100
3101 2003-04-29 Michael Koch <konqueror@gmx.de>
3102
3103 * java/util/PropertyPermission.java:
3104 New version from classpath
3105 * java/util/ResourceBundle.java:
3106 Partly merged from classpath
3107 (getObject): Reformated.
3108 (tryBundle): Set foundBundle = null if no bundle found.
3109
3110 2003-04-29 Michael Koch <konqueror@gmx.de>
3111
3112 * javax/swing/AbstractListModel.java,
3113 javax/swing/DefaultBoundedRangeModel.java,
3114 javax/swing/DefaultSingleSelectionModel.java:
3115 New Versions from classpath.
3116
3117 2003-04-29 Michael Koch <konqueror@gmx.de>
3118
3119 * java/awt/Window.java
3120 (show): Call super.show() instead of setVisible() to avoid endless
3121 loop.
3122 (hide): Call super.hide() instead of setVisible() to avoid endless
3123 loop.
3124
3125 2003-04-29 Michael Koch <konqueror@gmx.de>
3126
3127 * java/util/zip/Deflater.java,
3128 java/util/zip/DeflaterOutputStream.java:
3129 Partly merged with classpath.
3130
3131 2003-04-27 Tom Tromey <tromey@redhat.com>
3132
3133 * java/lang/natString.cc (_Jv_AllocString): Initialize
3134 cachedHashCode.
3135 (init): Likewise.
3136 (_Jv_NewStringUtf8Const): Likewise.
3137
3138 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
3139
3140 * include/jvm.h: (_Jv_GetNbArgs) added
3141 (_Jv_GetSafeArg) added
3142 (_Jv_SetArgs) added
3143 * prims.cc: (_Jv_GetNbArgs) implemented
3144 (_Jv_GetSafeArg) implemented
3145 (_Jv_SetArgs) implemented
3146 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3147 setting _Jv_argc and _Jv_argv
3148 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3149 instead of _Jv_argv
3150 * java/lang/natRuntime.cc: (insertSystemProperties) use
3151 _Jv_GetSafeArg() instead of _Jv_argv
3152
3153 2003-04-23 Tom Tromey <tromey@redhat.com>
3154
3155 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3156 required by this object. Search superclasses to find required
3157 alignment.
3158 (get_alignment_from_class): Use alignment of type as it appears
3159 in a struct.
3160 (ALIGNOF): New macro.
3161 (struct aligner): New helper structure.
3162
3163 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
3164
3165 * java/awt/Container.java (addImpl): Enable paint events if adding
3166 a lightweight to a heavyweight.
3167 (addNotify): Ensure that peer is created before
3168 addNotifyContainerChildren.
3169 (addNotifyContainerChildren): Enable paint events if a heavyweight
3170 container contains a lightweight.
3171
3172 2003-04-20 Tom Tromey <tromey@redhat.com>
3173
3174 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3175 java/io/DataInput.java, java/io/DataOutput.java: Imports from
3176 Classpath.
3177
3178 2003-04-19 Tom Tromey <tromey@redhat.com>
3179
3180 * java/sql/Date.java, java/sql/DriverManager.java,
3181 java/sql/Time.java, java/sql/Timestamp.java: New versions from
3182 Classpath.
3183
3184 * Makefile.in: Rebuilt.
3185 * Makefile.am (ordinary_java_source_files): Added new files.
3186 * java/security/AlgorithmParameterGenerator.java,
3187 java/security/AlgorithmParameters.java, java/security/Engine.java,
3188 java/security/Identity.java, java/security/IdentityScope.java,
3189 java/security/KeyFactory.java,
3190 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3191 java/security/MessageDigest.java, java/security/Policy.java,
3192 java/security/ProtectionDomain.java,
3193 java/security/SecureRandom.java, java/security/Security.java,
3194 java/security/Signature.java, java/security/SignatureSpi.java,
3195 java/security/SignedObject.java, java/security/Signer.java,
3196 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3197 java/security/spec/PSSParameterSpec.java,
3198 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3199 java/security/spec/RSAOtherPrimeInfo.java: New versions from
3200 Classpath.
3201
3202 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3203
3204 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3205 (dispose): Null metrics.
3206 * gnu/awt/xlib/XToolkit.java (sync): Implement.
3207 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3208 finalize.
3209 (finalize): Call dispose.
3210 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3211 (gcCachedCount): New field.
3212 (finalize): New method.
3213 (putGCInCache): New method.
3214 (getGCFromCache): New method.
3215 * gnu/gcj/xlib/GC.java (GC): Make protected.
3216 (clone): Get new GC from cache if possible.
3217 (create): New static method.
3218 (dispose): Save old GC in cache.
3219 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3220 deleting.
3221 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3222 is null.
3223 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3224 * java/awt/Container.java (visitChild): Dispose gfx2 when
3225 finished.
3226
3227 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
3228
3229 * java/math/BigInteger.java (probablePrime): New.
3230 * java/math/BigDecimal.java (unscaledValue): New.
3231
3232 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
3233
3234 * java/io/File.java (getAbsolutePath): On Windows, take care
3235 of paths like "C:", "G:foo\bar", etc.
3236 (getName): Make it work correctly on Windows.
3237 (getParent): Make it work correctly on Windows. For UNIX,
3238 fix bug that causes "/" to be returned as the parent of "/",
3239 instead of null as returned by Sun's JRE.
3240
3241 * java/io/natFileWin32.cc: Change copyright owner to FSF.
3242
3243 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3244
3245 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3246 inner class.
3247 (CACHE_SIZE_PER_DISPLAY): New field
3248 (fontMetricsCache): New field
3249 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3250 loading ISO10646-1 fonts.
3251
3252 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3253
3254 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3255 characters.
3256 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3257 characters.
3258
3259 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
3260
3261 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3262 floating point.
3263
3264 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3265
3266 * configure.host (*-linux*): Don't set slow_pthread_self if primary
3267 installed libpthread is either linuxthreads with floating stacks or
3268 NPTL.
3269
3270 2003-04-14 Tom Tromey <tromey@redhat.com>
3271
3272 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3273 of alignment.
3274
3275 2003-04-10 Tom Tromey <tromey@redhat.com>
3276
3277 * verify.cc (pop64): Removed.
3278 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3279 exception if top-of-stack is narrow.
3280 (initialize_stack): Check to ensure that <init> is not static and
3281 <clinit> is.
3282
3283 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3284
3285 * java/io/ObjectStreamException
3286 * java/io/FileFilter
3287 * java/io/FilenameFilter
3288 * java/io/ObjectInput
3289 * java/io/ObjectOutput
3290 * java/io/ObjectStreamConstants
3291 Minor doc fixes, format fixes, spelling corrections, etc.
3292 * java/io/DataInput
3293 Corrected code samples in Javadocs to match reality
3294 * java/io/DataOutput
3295 * java/io/ObjectInputValidation
3296 Major documentation fixes - all Javadocs re-written or updated
3297
3298 2003-04-06 Michael Koch <konqueror@gmx.de>
3299
3300 * java/net/URLConnection.java:
3301 Import classes directly.
3302 (URLConnection): Merged class documentation with classpath.
3303 (url): Moved, documentation from classpath added.
3304 (doInput): Moved, documentation from classpath added.
3305 (doOutput): Moved, documentation from classpath added.
3306 (allowUserInteraction): Moved.
3307 (useCaches): Moved, documentation from classpath added.
3308 (ifModifiedSince): Moved, documentation from classpath added.
3309 (connected): Moved, documentation from classpath added.
3310
3311 2003-04-06 Michael Koch <konqueror@gmx.de>
3312
3313 * java/io/FileInputStream.java
3314 (skip): Renamed some variables to match classpath, added
3315 checks from classpath.
3316
3317 2003-03-31 Michael Koch <konqueror@gmx.de>
3318
3319 * javax/swing/AbstractAction.java
3320 (AbstractAction): Reformatted.
3321 (serialVersionUID): New private member variable.
3322 * javax/swing/plaf/BorderUIResource.java
3323 (serialVersionUID): New private member variable.
3324 * javax/swing/plaf/basic/BasicLookAndFeel.java
3325 (serialVersionUID): New private member variable.
3326
3327 2003-03-31 Michael Koch <konqueror@gmx.de>
3328
3329 * java/sql/Date.java
3330 (valueOf): Deprecated, reformatted.
3331 (toString): Deprecated, reformatted.
3332 * java/sql/Time.java
3333 (valueOf): Deprecated, reformatted.
3334 (toString): Deprecated, reformatted.
3335
3336 2003-03-31 Michael Koch <konqueror@gmx.de>
3337
3338 * java/rmi/dgc/VMID.java
3339 (isUnique): Deprecated.
3340
3341 2003-03-31 Michael Koch <konqueror@gmx.de>
3342
3343 * java/io/File.java
3344 (separator): Merged documentation from classpath.
3345 (separatorChar): Merged documentation from classpath.
3346 (pathSeparator): Merged documentation from classpath.
3347 (pathSeparatorChar): Merged documentation from classpath.
3348 (path): Merged documentation from classpath.
3349 (canRead): Merged documentation from classpath.
3350 (canWrite): Merged documentation from classpath.
3351 (createNewFile): Merged documentation from classpath.
3352 (delete): Merged documentation from classpath.
3353 (equals): Merged documentation from classpath.
3354 (exists): Merged documentation from classpath.
3355 (File): Renamed p to name to match classpath, merged documentation
3356 from classpath.
3357 (getAbsolutePath): Merged documentation from classpath.
3358 (getCanonicalPath): Merged documentation from classpath.
3359 (getCanonicalFile): Merged documentation from classpath.
3360 (getName): Merged documentation from classpath.
3361 (getParent): Merged documentation from classpath.
3362 (getParentFile): Merged documentation from classpath.
3363 (getPath): Merged documentation from classpath.
3364 (hashCode): Merged documentation from classpath.
3365 (isAbsolute): Merged documentation from classpath.
3366 (isDirectory): Merged documentation from classpath.
3367 (isFile): Merged documentation from classpath.
3368 (isHidden): Merged documentation from classpath.
3369 (lastModified): Merged documentation from classpath.
3370 (length): Merged documentation from classpath.
3371 (list): Merged documentation from classpath.
3372 (listFiles): Merged documentation from classpath.
3373 (toString): Merged documentation from classpath.
3374 (toURL): Merged documentation from classpath.
3375 (mkdir): Merged documentation from classpath.
3376 (mkdirs): Merged documentation from classpath.
3377 (createTempFile): Merged documentation from classpath.
3378 (setReadOnly): Merged documentation from classpath.
3379 (listRoots): Merged documentation from classpath.
3380 (compareTo): Merged documentation from classpath.
3381 (renameTo): Merged documentation from classpath.
3382 (setLastModified): Merged documentation from classpath.
3383 * java/io/PrintStream.java
3384 (auto_flush): Merged documentation from classpath.
3385 (PrintStream): Merged documentation from classpath.
3386 (checkError): Merged documentation from classpath.
3387 (setError): Merged documentation from classpath.
3388 (close): Merged documentation from classpath.
3389 (flush): Merged documentation from classpath.
3390 (print): Merged documentation from classpath.
3391 (println): Merged documentation from classpath.
3392 (write): Renamed count to len to match classpath,
3393 merged documentation from classpath.
3394 * java/io/RandomAccessFile.java
3395 (readShort): Merged documentation from classpath.
3396 (readUnsignedByte): Merged documentation from classpath.
3397 (readUnsignedShort): Merged documentation from classpath.
3398 (readUTF): Merged documentation from classpath.
3399 (seek): Reformatted, merged documentation from classpath.
3400 (skipBytes): Renamed some variables to match classpath, reformatted,
3401 merged documentation from classpath.
3402 (write): Merged documentation from classpath.
3403 (writeBoolean): Merged documentation from classpath.
3404 (writeByte): Merged documentation from classpath.
3405 (writeShort): Merged documentation from classpath.
3406 (writeChar): Merged documentation from classpath.
3407 (writeInt): Merged documentation from classpath.
3408 (writeLong): Merged documentation from classpath.
3409 (writeFloat): Merged documentation from classpath.
3410 (writeDouble): Merged documentation from classpath.
3411 (writeBytes): Merged documentation from classpath.
3412 (writeChars): Merged documentation from classpath.
3413 (writeUTF): Reformatted.
3414 (getChannel): Reformatted.
3415
3416 2003-03-31 Michael Koch <konqueror@gmx.de>
3417
3418 * java/awt/font/TextAttribute.java
3419 (readResolve): Throws java.io.InvalidObjectException.
3420
3421 2003-03-31 Michael Koch <konqueror@gmx.de>
3422
3423 * java/rmi/server/LoaderHandler.java
3424 (loadClass): Deprecated.
3425 (getSecurityContext): Deprecated.
3426 * java/rmi/server/LogStream.java
3427 (getDefaultStream): Deprecated.
3428 (setDefaultStream): Deprecated.
3429 (getOutputStream): Deprecated.
3430 (setOutputStream): Deprecated.
3431 (write): Deprecated.
3432 (toString): Deprecated.
3433 (parseLevel): Deprecated.
3434 * java/rmi/server/Operation.java
3435 (Operation): Deprecated.
3436 (getOperation): Deprecated.
3437 (toString): Deprecated.
3438 * java/rmi/server/RemoteCall.java
3439 (getOutputStream): Deprecated.
3440 (releaseOutputStream): Deprecated.
3441 (getInputStream): Deprecated.
3442 (releaseInputStream): Deprecated.
3443 (getResultStream): Deprecated.
3444 (executeCall): Deprecated.
3445 (done): Deprecated.
3446 * java/rmi/server/RemoteRef.java
3447 (invoke): Deprecated.
3448 (newCall): Deprecated.
3449 (done): Deprecated.
3450 * java/rmi/server/RemoteStub.java
3451 (setRef): Deprecated.
3452 * java/rmi/server/Skeleton.java:
3453 No need to import java.lang.Exception explicitly.
3454 (dispatch): Deprecated.
3455 (getOperations): Deprecated.
3456
3457 2003-03-31 Michael Koch <konqueror@gmx.de>
3458
3459 * java/rmi/dgc/VMID.java,
3460 java/rmi/registry/RegistryHandler.java,
3461 java/rmi/server/LogStream.java,
3462 java/rmi/server/Operation.java,
3463 java/rmi/server/RemoteCall.java,
3464 java/rmi/server/RemoteRef.java,
3465 java/rmi/server/RemoteStub.java:
3466 Reformatted.
3467
3468 2003-03-31 Michael Koch <konqueror@gmx.de>
3469
3470 * javax/swing/AbstractCellEditor.java,
3471 javax/swing/AbstractListModel.java,
3472 javax/swing/ActionMap.java,
3473 javax/swing/BorderFactory.java,
3474 javax/swing/ButtonGroup.java,
3475 javax/swing/DefaultBoundedRangeModel.java,
3476 javax/swing/DefaultButtonModel.java,
3477 javax/swing/DefaultCellEditor.java,
3478 javax/swing/DefaultComboBoxModel.java,
3479 javax/swing/DefaultDesktopManager.java,
3480 javax/swing/DefaultListCellRenderer.java,
3481 javax/swing/DefaultSingleSelectionModel.java,
3482 javax/swing/InputMap.java,
3483 javax/swing/JComponent.java,
3484 javax/swing/JMenu.java,
3485 javax/swing/JSlider.java,
3486 javax/swing/KeyStroke.java,
3487 javax/swing/OverlayLayout.java,
3488 javax/swing/ScrollPaneLayout.java,
3489 javax/swing/SizeRequirements.java,
3490 javax/swing/UIManager.java,
3491 javax/swing/ViewportLayout.java,
3492 javax/swing/border/AbstractBorder.java,
3493 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3494 javax/swing/event/EventListenerList.java,
3495 javax/swing/table/AbstractTableModel.java,
3496 javax/swing/table/DefaultTableCellRenderer.java,
3497 javax/swing/table/DefaultTableColumnModel.java,
3498 javax/swing/table/DefaultTableModel.java,
3499 javax/swing/table/TableColumn.java,
3500 javax/swing/text/StyledEditorKit.java,
3501 javax/swing/tree/DefaultMutableTreeNode.java,
3502 javax/swing/tree/DefaultTreeModel.java,
3503 javax/swing/tree/DefaultTreeSelectionModel.java,
3504 javax/swing/tree/TreePath.java,
3505 javax/swing/undo/AbstractUndoableEdit.java,
3506 javax/swing/undo/StateEdit.java,
3507 javax/swing/undo/StateEditable.java,
3508 javax/swing/undo/UndoableEditSupport.java:
3509 Merges from classpath.
3510
3511 2003-03-30 Tom Tromey <tromey@redhat.com>
3512
3513 * java/lang/String.java (data, boffset, count): Documented.
3514 (String(byte[],String)): Reformatted.
3515 (String(byte[])): Likewise.
3516 (lastIndexOf(int)): Likewise.
3517 (lastIndexOf(String)): Likewise.
3518 (substring(int)): Renamed argument to match Classpath.
3519 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3520
3521 * java/lang/String.java: Miscellaneous minor formatting changes
3522 to match Classpath more closely.
3523
3524 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3525 Tom Tromey <tromey@redhat.com>
3526
3527 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3528 (init()): Removed.
3529 (charAt): Put index in exception.
3530 (contentEquals): New method.
3531 Include StringBuffer.h.
3532 * java/lang/String.java (cachedHashCode): New field.
3533 (String()): Follow classpath implementation.
3534 (init()): Removed.
3535 (contentEquals): Declare.
3536 (subSequence): Don't declare IndexOutIfBoundsException in throws
3537 clause.
3538 (matches, replaceFirst, replaceAll, split): New methods from
3539 Classpath.
3540
3541 2003-03-29 Tom Tromey <tromey@redhat.com>
3542
3543 * java/lang/String.java: Reordered to follow Classpath; merged in
3544 javadoc.
3545
3546 * java/text/MessageFormat.java: Removed some whitespace.
3547
3548 * Makefile.in: Rebuilt.
3549 * Makefile.am (awt_java_source_files): Added new files.
3550 * gnu/javax/rmi/PortableServer.java,
3551 gnu/javax/rmi/CORBA/DelegateFactory.java,
3552 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3553 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3554 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3555 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3556 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3557 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3558 javax/rmi/PortableRemoteObject.java,
3559 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3560 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3561 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3562 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3563 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3564 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3565
3566 * java/lang/natClass.cc (newInstance): Put method name in
3567 exception.
3568 (getConstructor): Likewise.
3569 (getDeclaredConstructor): Likewise.
3570 (getPrivateMethod): Likewise.
3571
3572 2003-03-28 Tom Tromey <tromey@redhat.com>
3573
3574 * java/lang/reflect/Proxy.java: New version from Classpath.
3575 * java/lang/Package.java: New version from Classpath.
3576
3577 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3578
3579 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3580 * configure: Regenerate.
3581
3582 2003-03-28 Michael Koch <konqueror@gmx.de>
3583
3584 * java/io/File.java:
3585 Import needed classes instead of whole packages, merged class
3586 documentation with classpath, moved constants and variables to top of
3587 class.
3588 * java/io/PrintStream.java:
3589 Merged class documentation with classpath, moved constants and
3590 variables to top of class.
3591 * java/io/RandomAccessFile.java
3592 (RandomAccessFile): Merged with classpath.
3593 (read): Merged with classpath).
3594 (read*): Reformatted.
3595
3596 2003-03-28 Michael Koch <konqueror@gmx.de>
3597
3598 * java/io/FileDescriptor.java
3599 (finalize): Throws Throwable, not IOException.
3600 * java/io/ObjectOutputStream.java
3601 (PutField.put): Doesnt throws anything.
3602
3603 2003­03-28 Michael Koch <konqueror@gmx.de>
3604
3605 * java/io/FileOutputStream.java:
3606 Merged class documentation and authors with classpath.
3607 (FileOutputStream): Partly merged with classpath.
3608 (write): Merged with classpath.
3609 (getChannel): Make it synchronized instead of explicit block in this
3610 method.
3611 * java/io/RandomAccessFile.java:
3612 Merged class documentation and authors with classpath.
3613
3614 2003-03-26 Tom Tromey <tromey@redhat.com>
3615
3616 * java/lang/natRuntime.cc (insertSystemProperties): Set
3617 gnu.classpath.home.url.
3618 * Makefile.in: Rebuilt.
3619 * Makefile.am: Define LIBDIR.
3620
3621 2003-03-25 Michael Koch <konqueror@gmx.de>
3622
3623 * java/io/FileInputStream.java
3624 (read): Renamed b to buf and off to offset.
3625 * java/io/FileOutputStream.java
3626 (ch): Documentation added.
3627 (FileOutputStream): Documentation added.
3628 (getFD): Documentation added.
3629 (write): Documentation added.
3630 (close): Documentation added.
3631 (getChannel): Documentation added.
3632
3633 2003-03-24 Michael Koch <konqueror@gmx.de>
3634
3635 * java/io/DataOutputStream.java
3636 (write): Merged from classpath.
3637 * java/io/File.java:
3638 Merged copyrigth with classpath.
3639 * java/io/FileInputStream.java
3640 (getChannel): Made it synchronized instead of using a synchronized
3641 block.
3642 * java/io/FileOutputStream.java: Reformatted.
3643 * java/io/InputStreamReader.java
3644 (InputStreamReader): Renamed enc to encoding_name.
3645 (close): Merged documentation from classpath.
3646 (getEncoding): Merged documentation from classpath.
3647 (ready): Merged documentation from classpath.
3648 (read): Merged documentation from classpath.
3649 * java/io/LineNumberReader.java
3650 (lineNumber): Made it private.
3651 (LineNumberReader): Use Constant instead of a direct value.
3652 * java/io/OutputStreamWriter.java
3653 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3654 documentation from classpath.
3655 (close): Merged documentation from classpath.
3656 (flush): Merged documentation from classpath.
3657 (write): Merged documentation from classpath.
3658 * java/io/PrintStream.java: Reformatted.
3659
3660 2003-03-24 Michael Koch <konqueror@gmx.de>
3661
3662 * javax/swing/text/ComponentView.java
3663 (getComponent): Must be final.
3664 * javax/swing/tree/DefaultTreeCellRenderer.java:
3665 Reformatted.
3666 * javax/swing/undo/StateEditable.java:
3667 Reformatted.
3668
3669 2003-03-24 Michael Koch <konqueror@gmx.de>
3670
3671 * java/rmi/activation/ActivationInstantiator.java:
3672 Reformatted.
3673 * java/rmi/activation/Activator.java:
3674 Reformatted.
3675 * java/rmi/registry/RegistryHandler.java:
3676 Remerged from classpath.
3677
3678 2003-03-24 Michael Koch <konqueror@gmx.de>
3679
3680 * java/util/Date.java:
3681 Fixed documentation starting tag to make javadoc happy.
3682 * java/util/regex/Pattern.java
3683 (Pattern): Implements Serializable.
3684 * java/util/PatternSyntaxException.java
3685 (serialVersionUID): New member variable.
3686
3687 2003-03-24 Michael Koch <koqnueror@gmx.de>
3688
3689 * java/awt/ContainerOrderFocusTraversalPolicy.java
3690 (getFirstComponent): Implemented.
3691 (getLastComponent): Implemented.
3692 (getDefaultComponent): Implemented.
3693 (setImplicitDownCycleTraversal): Fixed implementation.
3694 * java/awt/Robot.java
3695 (Robot): Added documentation.
3696 * java/awt/Toolkit.java
3697 (getFontList): Deprecated.
3698 (getFontMetrics): Deprecated.
3699 (getPrintJob): Added documentation.
3700 (getSystemSelection): Added documentation.
3701 (getLockingKeyState): Added documentation.
3702 (setLockingKeyState): Added documentation.
3703 (createCustomCursor): Added documentation.
3704 (getBestCursorSize): Added documentation.
3705 (getMaximumCursorColors): Added documentation.
3706 (isFrameStateSupported): Added documentation.
3707
3708 2003-03-24 Michael Koch <konqueror@gmx.de>
3709
3710 * java/io/RandomAccessFile.java:
3711 More little merges with classpath. No code changes.
3712
3713 2003-03-24 Michael Koch <konqueror@gmx.de>
3714
3715 * java/net/natInetAddressNoNet.cc:
3716 Include stddef.h.
3717 * java/net/natPlainDatagramSocketImplNoNet.cc:
3718 Fixed inlcude of java/net/DatagramPacket.h.
3719 * java/net/natPlainSocketImplNoNet.cc:
3720 Include some missing classes.
3721
3722 2003-03-24 Michael Koch <konqueror@gmx.de>
3723
3724 * java/awt/dnd/DropTarget.java
3725 (DropTargetAutoScroller): According to the online documentation, this
3726 is protected, but in reality it is public.
3727 * java/awt/dnd/DropTargetContext.java
3728 (TransferableProxy): According to the online documentation, this
3729 is protected, but in reality it is public.
3730
3731 2003-03-24 Michael Koch <konqueror@gmx.de>
3732
3733 * java/io/DataInputStream.java
3734 (): Wrapped documentation line.
3735 (): Fixed @return tag.
3736 * java/io/DataOutputStream.java
3737 (written): Moved to top of class.
3738 (all methods): Merged documentation from classpath.
3739 * java/io/File.java:
3740 Merged copyright year with classpath.
3741 * java/io/FileInputStream.java
3742 (all methods): Merged documentation from classpath.
3743 * java/io/LineNumberReader.java
3744 (getLineNumber): Fixed @return tag.
3745 * java/io/ObjectInputStream.java.
3746 Reformatted.
3747 * java/io/ObjectOutputStream.java:
3748 Reformatted, fixed some @see tags.
3749 * java/io/OutputStreamWriter.java:
3750 Deleted empty line.
3751 * java/io/Writer.java:
3752 Reformatted.
3753
3754 2003-03-24 Michael Koch <konqueror@gmx.de>
3755
3756 * java/awt/Frame.java
3757 (DEFAULT_CURSOR): Fixed @deprecated tag.
3758 (setCursor): Fixed @deprecated tag.
3759
3760 2003-03-24 Michael Koch <konqueror@gmx.de>
3761
3762 * java/beans/beancontext/BeanContextEvent.java:
3763 Reformated.
3764
3765 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3766
3767 * java/lang/natStringBuffer.cc (regionMatches): New function.
3768 * java/lang/String.java (count): Now package-private.
3769 * java/lang/StringBuffer.java: Merged with Classpath.
3770
3771 2003-03-23 Michael Koch <konqueror@gmx.de>
3772
3773 * java/io/BufferedOutputStream.java:
3774 Reformated.
3775 * java/io/BufferedReader.java:
3776 Reformated.
3777 * java/io/ByteArrayOutputStream.java
3778 (size): Fixed @see tag.
3779 * java/io/CharArrayWriter.java
3780 (size): Fixed @see tag.
3781 * java/io/DataInput.java:
3782 Reformated.
3783 * java/io/DataOutput.java:
3784 Reformated.
3785 * java/io/DataOutputStream.java:
3786 Merged copyright years with classpath.
3787 * java/io/Externalizable.java:
3788 Reformated.
3789 * java/io/FileFilter.java:
3790 Reformated.
3791 * java/io/FileInputStream.java:
3792 Merged copyright years with classpath.
3793 * java/io/FileOutputStream.java:
3794 Merged copyright years with classpath.
3795 * java/io/FilePermission.java
3796 (FilePermission): Replaced @XXX with FIXME:.
3797 * java/io/FileWriter.java:
3798 Reformated.
3799 * java/io/FilenameFilter.java:
3800 Reformated.
3801 * java/io/FilterInputStream.java:
3802 Reformated.
3803 * java/io/FilterOutputStream.java:
3804 Reformated.
3805 * java/io/FilterReader.java:
3806 Reformated.
3807 * java/io/FilterWriter.java:
3808 Reformated.
3809 * java/io/LineNumberInputStream.java
3810 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3811 happy.
3812 (getLineNumber): Fixed @return tag.
3813 * java/io/ObjectInput.java:
3814 Reformated.
3815 * java/io/ObjectOutput.java:
3816 Reformated.
3817 * java/io/ObjectStreamClass.java:
3818 Reformated.
3819 * java/io/PrintStream.java:
3820 Merged copyright years with classpath.
3821 * java/io/PushbackReader.java
3822 (PushbackReader): Replaced @code with @param.
3823 * java/io/SerializablePermission.java:
3824 Reformated.
3825 * java/io/StreamTokenizer.java
3826 (resetSyntax): Fixed @see tag.
3827
3828 2003-03-22 Richard Henderson <rth@redhat.com>
3829
3830 * sysdep/ia64/locks.h: Include ia64intrin.h.
3831 (compare_and_swap): Use __sync_bool_compare_and_swap.
3832 (compare_and_swap_release): Expose ar.ccv assignment.
3833
3834 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3835
3836 * include/posix.h: Add suffix for darwin dynamic libraries.
3837
3838 2003-03-21 Michael Koch <konqueror@gmx.de>
3839
3840 * javax/swing/Action.java
3841 (ACCELERATOR_KEY): New constant.
3842 (ACTION_COMMAND_KEY): Likewise.
3843 (MNEMONIC_KEY): Likewise.
3844 * javax/swing/UnsupportedLookAndFeelException.java
3845 (UnsupportedLookAndFeelException): Must be public.
3846 * javax/swing/WindowConstants.java
3847 (EXIT_ON_CLOSE): New constant.
3848 * javax/swing/text/BadLocationException.java
3849 (offset): New member variable.
3850 (BadLocationException): New implementation, documentation added.
3851 (offsetRequested): New method.
3852 * javax/swing/text/Caret.java:
3853 Reformated.
3854 * javax/swing/text/Document.java:
3855 Reformated.
3856
3857 2003-03-21 Michael Koch <konqueror@gmx.de>
3858
3859 * java/rmi/activation/Activatable.java
3860 (serialVersionUID): New member variable.
3861 * java/rmi/activation/ActivationGroup.java
3862 (serialVersionUID): New member variable.
3863 * java/rmi/activation/ActivationGroupDesc.java
3864 (serialVersionUID): New member variable.
3865 * java/rmi/registry/Registry.java:
3866 Reformated.
3867 (Registry): Deprecated.
3868 * java/rmi/server/LoaderHandler.java
3869 Reformated.
3870 (LoaderHandler): Deprecated.
3871 * java/rmi/server/LogStream.java
3872 Reformated.
3873 (LogStream): Deprecated.
3874 * java/rmi/server/Operation.java
3875 (Operation): Deprecated.
3876 * java/rmi/server/RMIFailureHandler.java:
3877 Reformated.
3878 * java/rmi/server/RMISocketFactory.java:
3879 Reformated.
3880 * java/rmi/server/RemoteCall.java
3881 (RemoteCall): Deprecated.
3882 * java/rmi/server/RemoteStub.java:
3883 Reformated.
3884 * java/rmi/server/Skeleton.java
3885 Reformated.
3886 (Skeleton): Deprecated.
3887
3888 2003-03-21 Michael Koch <konqueror@gmx.de>
3889
3890 * java/io/LineNumberReader.java
3891 (LineNumberReader): Merged documentation with classpath.
3892 (getLineNumber): Likewise.
3893 (setLineNumber): Likewise.
3894 (mark): Likewise.
3895 (reset): Likewise.
3896 (read): Likewise.
3897 (readLine): Likewise.
3898 (skip): Likewise.
3899
3900 2003-03-21 Michael Koch <konqueror@gmx.de>
3901
3902 * java/rmi/RMISecurityManager.java
3903 (checkAccept): Removed.
3904 (checkAccess): Likewise.
3905 (checkAccess): Likewise.
3906 (checkAwtEventQueueAccess): Likewise.
3907 (checkConnect): Likewise.
3908 (checkCreateClassLoader): Likewise.
3909 (checkDelete): Likewise.
3910 (checkExec): Likewise.
3911 (checkExit): Likewise.
3912 (checkLink): Likewise.
3913 (checkListen): Likewise.
3914 (checkMemberAccess): Likewise.
3915 (checkMulticast): Likewise.
3916 (checkPackageAccess): Likewise.
3917 (checkPackageDefinition): Likewise.
3918 (checkPermission): Likewise.
3919 (checkPrintJobAccess): Likewise.
3920 (checkPropertiesAccess): Likewise.
3921 (checkPropertyAccess): Likewise.
3922 (checkRead): Likewise.
3923 (checkSecurityAccess): Likewise.
3924 (checkSetFactory): Likewise.
3925 (checkSystemClipboardAccess): Likewise.
3926 (checkTopLevelWindow): Likewise.
3927 (checkWrite): Likewise.
3928
3929 2003-03-20 Michael Koch <konqueror@gmx.de>
3930
3931 * gnu/java/nio/FileChannelImpl.java
3932 (address): Removed.
3933 (map_address): New member variable.
3934 (length): Make it package private.
3935 (fd): Make it package private.
3936 (buf): Make it package private.
3937 (file_obj): Make it package private.
3938 (FileChannelImpl): New constructor.
3939 (nio_mmap_file): Use RawData instead of long.
3940 (nio_munmap_file): Use RawData instead of long.
3941 (nio_msync): Use RawData instead of long.
3942 (implCloseChannel): New implementation using map_address.
3943 (read): Reformated.
3944 (map): Implemented.
3945 (create_direct_mapped_buffer): Implemented, use RawData, throws
3946 IOException.
3947 (force): Use map_address instead of address.
3948 * gnu/java/nio/MappedByteFileBuffer.java
3949 (address): Removed.
3950 (map_address): New member variable.
3951 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3952 (several methods): Use map_address instead of address, replaced long
3953 with RawData where appropriate.
3954 * gnu/java/nio/natFileChannelImpl.cc
3955 (nio_mmap_file): Replaced long with RawData.
3956 (nio_munmap_file): Replaced long with RawData.
3957 (nio_msync): Replaced long with RawData.
3958 * gnu/java/nio/natMappedByteFileBuffer.cc
3959 (several methods): Replaced long with RawData where appropriate.
3960
3961 2003-03-20 Michael Koch <konqueror@gmx.de>
3962
3963 * java/net/InetAddress.java,
3964 java/net/JarURLConnection.java,
3965 java/net/PlainDatagramSocketImpl.java,
3966 java/net/PlainSocketImpl.java,
3967 java/net/URLConnection.java:
3968 Merged copyright statements with classpath for easier merging.
3969
3970 2003-03-20 Michael Koch <konqueror@gmx.de>
3971
3972 * java/io/FileInputStream.java
3973 (getChannel): New implementation.
3974 * java/io/FileOutputStream.java
3975 (ch): New member variable.
3976 (getChannel): Implemented.
3977 * java/io/RandomAccessFile.java
3978 (RandomAccessFile): Throws FileNotFoundException instead of
3979 IOException.
3980 (getChannel): New method.
3981 (ch): New member variable.
3982
3983 2003-03-20 Michael Koch <konqueror@gmx.de>
3984
3985 * java/io/DataOutputStream.java,
3986 java/io/File.java,
3987 java/io/FileInputStream.java,
3988 java/io/FileOutputStream.java,
3989 java/io/InputStreamReader.java,
3990 java/io/LineNumberReader.java,
3991 java/io/OutputStreamWriter.java,
3992 java/io/PrintStream.java,
3993 java/io/RandomAccessFile.java:
3994 Merged copyright statements with classpath for easier merging.
3995
3996 2003-03-19 Michael Koch <konqueror@gmx.de>
3997
3998 * java/lang/Process.java:
3999 Merged from classpath.
4000
4001 2003-03-19 Michael Koch <konqueror@gmx.de>
4002
4003 * java/io/FileOutputStream.java
4004 (FileOutputStream): New constructor, merged from classpath.
4005 * java/io/FileWriter.java
4006 (FileWriter): New constructor, merged from classpath.
4007
4008 2003-03-18 Michael Koch <konqueror@gmx.de>
4009
4010 * java/awt/ScrollPane.java
4011 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
4012 (getViewportSize): Likewise.
4013 (addNotify): Likewise.
4014 (removeNotify): Likewise.
4015 * java/awt/ScrollPaneAdjustable.java
4016 (ScrollPaneAdjustable): No longer extends Scrollbar.
4017 * java/beans/beancontext/BeanContextServices.java:
4018 Reformated.
4019 (getService): Added throws TooManyListenersException;
4020 * java/beans/beancontext/BeanContextServicesSupport.java:
4021 Reformated.
4022
4023 2003-03-18 Michael Koch <konqueror@gmx.de>
4024
4025 * java/io/BufferedOutputStream.java,
4026 java/io/DataInput.java,
4027 java/io/DataInputStream.java,
4028 java/io/DataOutput.java,
4029 java/io/Externalizable.java:
4030 More merges from classpath.
4031
4032 2003-03-18 Michael Koch <konqueror@gmx.de>
4033
4034 * configure.in: Fixed links to platform dependant java.net files.
4035 * configure: Regenerated.
4036 * java/net/natInetAddress.cc,
4037 java/net/natNetworkInterface.cc,
4038 java/net/natPlainDatagramSocketImpl.cc,
4039 java/net/natPlainSocketImpl.cc:
4040 Removed.
4041
4042 2003-03-18 Michael Koch <konqueror@gmx.de>
4043
4044 * configure.in: Create links to architecture dependent files,
4045 introduced PLATFORMNET variable (set to NoNet for newlib usage).
4046 * configure: Regenerated.
4047 * java/net/natInetAddressNoNet.cc,
4048 java/net/natInetAddressPosix.cc,
4049 java/net/natInetAddressWin32.cc,
4050 java/net/natNetworkInterfaceNoNet.cc,
4051 java/net/natNetworkInterfacePosix.cc,
4052 java/net/natNetworkInterfaceWin32.cc,
4053 java/net/natPlainDatagramSocketImplNoNet.cc,
4054 java/net/natPlainDatagramSocketImplPosix.cc,
4055 java/net/natPlainDatagramSocketImplWin32.cc,
4056 java/net/natPlainSocketImplNoNet.cc,
4057 java/net/natPlainSocketImplPosix.cc,
4058 java/net/natPlainSocketImplWin32.cc: New files.
4059
4060 2003-03-18 Michael Koch <konqueror@gmx.de>
4061
4062 * java/io/BufferedReader.java,
4063 java/io/BufferedWriter.java,
4064 java/io/ByteArrayOutputStream.java,
4065 java/io/FileFilter.java,
4066 java/io/FilePermission.java,
4067 java/io/FileReader.java,
4068 java/io/FileWriter.java,
4069 java/io/FilenameFilter.java,
4070 java/io/FilterInputStream.java,
4071 java/io/FilterOutputStream.java,
4072 java/io/FilterReader.java,
4073 java/io/FilterWriter.java,
4074 java/io/ObjectInput.java,
4075 java/io/ObjectInputValidation.java,
4076 java/io/ObjectOutput.java,
4077 java/io/ObjectStreamField.java,
4078 java/io/PipedInputStream.java,
4079 java/io/PipedReader.java,
4080 java/io/PrintWriter.java,
4081 java/io/PushbackReader.java,
4082 java/io/Reader.java,
4083 java/io/SerializablePermission.java,
4084 java/io/StringReader.java,
4085 java/io/Writer.java:
4086 Merged from classpath.
4087
4088 2003-03-17 Michael Koch <konqueror@gmx.de>
4089
4090 * java/awt/ScrollPaneAdjustable.java:
4091 Compile fixes.
4092
4093 2003-03-17 Michael Koch <konqueror@gmx.de>
4094
4095 * java/net/DatagramSocket.java
4096 (connect): Fixed comment.
4097 * java/nio/ByteBuffer.java
4098 (hasArray): Fixed comment.
4099
4100 2003-03-17 Michael Koch <konqueror@gmx.de>
4101
4102 * java/beans/Beans.java:
4103 Explicitely import classes not packages.
4104 * java/beans/FeatureDescriptor.java
4105 (preferred): New member variable.
4106 (isPreferred): New method.
4107 (setPreferred): New method.
4108 * java/beans/PropertyEditorManager.java:
4109 Explicitely import used classes.
4110 * java/beans/beancontext/BeanContextChild.java:
4111 Added line wrapping.
4112 * java/beans/beancontext/BeanContextChildSupport.java:
4113 Reindented.
4114 * java/beans/beancontext/BeanContextEvent.java:
4115 Reindented.
4116
4117 2003-03-17 Michael Koch <konqueror@gmx.de>
4118
4119 * java/awt/Dialog.java
4120 (Dialog): New constructor, changed implementations, added
4121 documentation.
4122 * java/awt/ScrollPaneAdjustable.java
4123 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4124 Serializable.
4125 (serialVersionUID): New member variable.
4126 (sp): New member variable.
4127 (orientation): New member variable.
4128 (value): New member variable.
4129 (minimum): New member variable.
4130 (maximum): New member variable.
4131 (visibleAmount): New member variable.
4132 (unitIncrement): New member variable.
4133 (blockIncrement): New member variable.
4134 (AdjustmentListener): New member variable.
4135 (ScrollPaneAdjustable): New implementation.
4136 (addAdjustmentListener): New method.
4137 (removeAdjustmentListener): New method.
4138 (getAdjustmentListeners): New method.
4139 (getBlockIncrement): New method.
4140 (getMaximum): New method.
4141 (getMinimum): New method.
4142 (getOrientation): New method.
4143 (getUnitIncrement): New method.
4144 (getValue): New method.
4145 (getVisibleAmount): New method.
4146 (setBlockIncrement): New method.
4147 (setMaximum): Implemented.
4148 (setMinimum): Implemented.
4149 (setUnitIncrement): New method.
4150 (setValue): New method.
4151 (setVisibleAmount): Implemented.
4152 (paramString): New stubbed method.
4153 * java/awt/Window.java
4154 (show): Call setVisible().
4155 (hide): Call setVisible().
4156 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4157 and WINDOW_STATE_CHANGED.
4158 (processWindowFocusEvent): New method.
4159 (processWindowStateEvent): New method.
4160 (postEvent): Deprecated.
4161 (applyResourceBundle): Deprecated.
4162 * java/awt/datatransfer/DataFlavor.java
4163 (DataFlavor): Doesn't thow ClassNotFoundException.
4164
4165 2003-03-17 Michael Koch
4166
4167 * javax/print/attribute/Attribute.java,
4168 javax/print/attribute/AttributeSet.java,
4169 javax/print/attribute/PrintRequestAttributeSet.java:
4170 New files.
4171 * Makefile.am
4172 (javax_source_files): Added new files:
4173 javax/print/attribute/Attribute.java
4174 javax/print/attribute/AttributeSet.java
4175 javax/print/attribute/PrintRequestAttributeSet.java
4176 * Makefile.in: Regenerated.
4177
4178 2003-03-17 Michael Koch
4179
4180 * javax/print/attribute/Attribute.java,
4181 javax/print/attribute/AttributeSet.java,
4182 javax/print/attribute/PrintRequestAttributeSet.java:
4183 New files.
4184 * Makefile.am
4185 (awt_java_source_files): Added new files:
4186 javax/print/attribute/Attribute.java
4187 javax/print/attribute/AttributeSet.java
4188 javax/print/attribute/PrintRequestAttributeSet.java
4189 * Makefile.in: Regenerated.
4190
4191 2003-03-16 Tom Tromey <tromey@redhat.com>
4192
4193 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4194 Include platform.h.
4195 * java/lang/natRuntime.cc (insertSystemProperties): Use
4196 _Jv_platform_path_separator.
4197 (nativeGetLibname): Use _Jv_platform_file_separator.
4198 (_load): Use _Jv_platform_onload_names.
4199 (onload_names): New global.
4200 * include/win32.h (_Jv_platform_file_separator): New define.
4201 (_Jv_platform_path_separator): Likewise.
4202 (_Jv_platform_onload_names): Likewise.
4203 (_Jv_platform_ffi_abi): Likewise.
4204 * include/posix.h (_Jv_platform_file_separator): New define.
4205 (_Jv_platform_path_separator): Likewise.
4206 (_Jv_platform_onload_names): Likewise.
4207 (_Jv_platform_ffi_abi): Likewise.
4208
4209 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
4210
4211 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4212
4213 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
4214
4215 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4216 hierarchy loop.
4217 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4218 list to Object,ObjectStreamClass, moved callReadMethod code up into
4219 readObject and added Class argument to all setXxxField calls.
4220 (callReadMethod): Changed Class argument to ObjectStreamClass to be
4221 consistent with ObjectOutputStream and to facilitate caching the
4222 Method in the future.
4223 (setBooleanField): Added Class argument.
4224 (setByteField): Likewise.
4225 (setCharField): Likewise.
4226 (setDoubleField): Likewise.
4227 (setFloatField): Likewise.
4228 (setIntField): Likewise.
4229 (setLongField): Likewise.
4230 (setShortField): Likewise.
4231 (setObjectField): Likewise.
4232 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4233 class hierarchy loop.
4234 (defaultWriteObject): Call writeFields with new argument list.
4235 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4236 list to Object,ObjectStreamClass, moved callWriteMethod up into
4237 writeObject and added Class argument to all getXxxField calls.
4238 (callWriteMethod): Added ObjectStreamClass argument to be able to
4239 get the proper class to call getMethod on (each class can have (or
4240 not have) its own writeObject method).
4241 (getBooleanField): Added Class argument.
4242 (getByteField): Likewise.
4243 (getCharField): Likewise.
4244 (getDoubleField): Likewise.
4245 (getFloatField): Likewise.
4246 (getIntField): Likewise.
4247 (getLongField): Likewise.
4248 (getShortField): Likewise.
4249 (getObjectField): Likewise.
4250 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4251 facilitate caching the Method object in the future.
4252
4253 2003-03-12 Andreas Schwab <schwab@suse.de>
4254
4255 * configure.in: Avoid trailing /. in toolexeclibdir.
4256 * configure: Rebuilt.
4257
4258 2003-03-11 Michael Koch <konqueror@gmx.de>
4259
4260 * gnu/java/nio/ByteBufferImpl.java
4261 (putInt): Use limit() instead of limit.
4262 * gnu/java/nio/CharBufferImpl.java
4263 (slice): Fixed implementation.
4264 (subSequence): Better bounds checking.
4265 * gnu/java/nio/MappedByteFileBuffer.java:
4266 Import all needed classes directly.
4267 * java/nio/ByteBuffer.java
4268 (hashCode): New dummy method.
4269 * java/nio/CharBuffer.java
4270 (array_offset): New member variable.
4271 (hasArray): Fixed documentation.
4272 (arrayOffset): Return array_offset.
4273
4274 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4275
4276 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4277 setter; made return value of getter const char* instead of char*
4278 * prims.cc: removed all references to _Jv_ThisExecutable().
4279 These are in the platform-specific sections now.
4280 * posix.cc: define platform-specific _Jv_ThisExecutable().
4281 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4282 * win32.cc: define platform-specific _Jv_ThisExecutable()
4283 using GetModuleFilename()
4284 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4285 to argv[0] instead of _Jv_ThisExecutable()
4286
4287 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4288
4289 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4290 that is set if we are using addr2name.awk instead of addr2line.
4291 (NameFinder): Set usingAddr2name if using addr2name.awk.
4292 (getExternalLabel): New native method to convert a method
4293 name to an external label.
4294 (lookup): Convert name given by addr2line to an external label
4295 before demangling.
4296
4297 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4298 constant representing the prefix attached to method names to
4299 convert them to an external label.
4300 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4301 using LABEL_PREFIX.
4302
4303 2003-03-10 Tom Tromey <tromey@redhat.com>
4304
4305 * Makefile.in: Rebuilt.
4306 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4307 (JC1FLAGS): Removed -Wno-deprecated.
4308
4309 2003-03-10 Michael Koch <konqueror@gmx.de>
4310
4311 * java/nio/ByteOrder.java
4312 (nativeOrder): Working implementation, added documentation.
4313 (toString): Added documentation.
4314
4315 2003-03-10 Michael Koch <konqueror@gmx.de>
4316
4317 * java/net/DatagramSocket.java,
4318 java/net/MulticastSocket.java,
4319 java/net/Socket.java,
4320 java/net/URL.java,
4321 java/net/URLConnection.java:
4322 Fixed some documentation tags to make javadoc and friends happy.
4323
4324 2003-03-10 Michael Koch <koqnueror@gmx.de>
4325
4326 * java/beans/beancontext/BeanContextServicesSupport.java,
4327 java/beans/beancontext/BeanContextSupport.java: New files.
4328 * Makefile.am
4329 (awt_source_files): Added new files.
4330 * Makefile.in: Regenerated.
4331
4332 2003-03-10 Michael Koch <konqueror@gmx.de>
4333
4334 * java/awt/FocusTraversalPolicy.java
4335 (FocusTraversalPolicy): Documentation added.
4336 (getComponentAfter): Documentation added.
4337 (getComponentBefore): Documentation added.
4338 (getFirstComponent): Documentation added.
4339 (getLastComponent): Documentation added.
4340 (getDefaultComponent): Documentation added.
4341 (getInitialComponent): Documentation added.
4342 * java/awt/ScrollPaneAdjustable.java
4343 (sp): New member variable.
4344 (orientation): New member variable.
4345 (value): New member variable.
4346 (minimum): New member variable.
4347 (maximum): New member variable.
4348 (visibleAmount): New member variable.
4349 (unitIncrement): New member variable.
4350 (blockIncrement): New member variable.
4351 (adjustmentListener): New member variable.
4352 (ScrollPaneAdjustable): Rewrote.
4353 (addAdjustmentListener): New method.
4354 (removeAdjustmentListener): New method.
4355 (getAdjustmentListeners): New method.
4356 (getBlockIncrement): New method.
4357 (getMaximum): New method.
4358 (getMinimum): New method.
4359 (getOrientation): New method.
4360 (getUnitIncrement): New method.
4361 (getValue): New method.
4362 (getVisibleAmount): New method.
4363 (setBlockIncrement): New method.
4364 (setUnitIncrement): New method.
4365 (setMaximum): Implemented.
4366 (setMinimum): Implemented.
4367 (setValue): New method.
4368 (setVisibleAmount): Implemented.
4369 (paramString): New method.
4370 * java/awt/Window.java
4371 (show): Use setVisible(true) instead of super.show().
4372 (hide): Use sevVisible(false) instead of super.hide().
4373 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4374 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4375 (postEvent): Deprecated.
4376 (applyResourceBundle): Deprecated.
4377 (processWindowFocusEvent): New method.
4378 (processWindowStateEvent): New method.
4379 * java/awt/datatransfer/DataFlavor.java: Reindented.
4380 * java/awt/font/TextHitInfo.java
4381 (charIndex): New member variable.
4382 (leadingEdge): New member variable.
4383 (TextHitInfo): New constructor.
4384 (getCharIndex): Implemented.
4385 (isLeadingEdge): Implemented.
4386 (getInsertionIndex): Implemented.
4387 (hashCode): Access charIndex directly.
4388 (equals): Reformated.
4389 (leading): Implemented.
4390 (trailing): Implemented.
4391 (beforeOffset): Implemented.
4392 (afterOffset): Implemented.
4393 (getOtherHit): Implemented.
4394 (getOffsetHit): Implemented.
4395 (toString): Implemented.
4396 * java/awt/image/BufferedImage.java
4397 (BufferedImage): Implements WritableRenderedImage.
4398 (observers): New member variable.
4399 (addTileObserver): New method.
4400 (removeTileObserver): New method.
4401
4402 2003-03-09 Tom Tromey <tromey@redhat.com>
4403
4404 PR libgcj/9934:
4405 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4406 to lseek. Return 0 if we can't compute the value.
4407
4408 2003-03-03 Michael Koch <konqueror@gmx.de>
4409
4410 * java/net/NetworkInterface.java: Merged with classpath.
4411
4412 2003-03-03 Tom Tromey <tromey@redhat.com>
4413
4414 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4415 of bytecode.
4416 (handle_ret_insn): Fail if returning to jsr that appears at end of
4417 bytecode.
4418
4419 2003-03-03 Michael Koch <konqueror@gmx.de>
4420
4421 * Makefile.am
4422 (ordinary_java_source_files):
4423 Added gnu/java/nio/MappedByteFileBuffer.java.
4424 (nat_source_files):
4425 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4426 * Makefile.in: Regenerated.
4427
4428 2003-03-03 Michael Koch <konqueror@gmx.de>
4429
4430 * java/net/DatagramSocket.java
4431 (connect): Merged comment from classpath.
4432 (receive): Merged documentation from classpath.
4433 * java/net/Socket.java
4434 (setSoTimeout): Clarified documentation.
4435 * java/net/URL.java
4436 (getPath): Merged from classpath.
4437 (getUserInfo): Merged from classpath.
4438 (getQuery): Merged from classpath.
4439 * java/net/URLStreamHandler.java
4440 (toExternalForm): Merged from classpath.
4441
4442 2003-03-02 Mark Wielaard <mark@klomp.org>
4443
4444 * java/util/Properties.java (load): Only skip line if the first
4445 character is a comment, whitespaces don't count.
4446
4447 2003-03-02 Michael Koch <konqueror@gmx.de>
4448
4449 * java/net/NetPermission.java:
4450 Merged copyright with classpath.
4451
4452 2003-03-02 Michael Koch <konqueror@gmx.de>
4453
4454 * java/lang/Package.java:
4455 Remerged from classpath.
4456
4457 2003-03-02 Michael Koch <konqueror@gmx.de>
4458
4459 * java/net/HttpURLConnection.java
4460 (HTTP_SERVER_ERROR): Deprecated.
4461 * java/net/MulticastSocket.java
4462 (send): Replaced checkMulticast with appropriate checkPermission call,
4463 deprecated.
4464 * java/net/URLDecoder.java
4465 (decode): Deprecated.
4466 * java/net/URLEncoder.java
4467 (encode): Deprecated.
4468
4469 2003-03-02 Michael Koch <konqueror@gmx.de>
4470
4471 * javax/swing/text/Caret.java
4472 (getMagicCaretPosition): Fixed typo in method name.
4473 * javax/swing/text/DefaultCaret.java
4474 (getMagicCaretPosition): Fixed typo in method name.
4475
4476 2003-03-02 Michael Koch <konqueror@gmx.de>
4477
4478 * java/awt/List.java
4479 (setMultipleSelections): Deprecated.
4480 (delItem): Deprecated.
4481 * java/awt/MenuComponent.java
4482 (getPeer): Deprecated.
4483 * java/awt/ScrollPane.java
4484 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4485 * java/awt/dnd/MouseDragGestureRecognizer.java
4486 (mouseClicked): Added comment.
4487 (mousePressed): Added comment.
4488 (mouseReleased): Added comment.
4489 (mouseEntered): Added comment.
4490 (mouseExited): Added comment.
4491 (mouseDragged): Added comment.
4492 (mouseMoved): Added comment.
4493 * java/awt/event/KeyEvent.java
4494 (KeyEvent): Deprecated.
4495 (setModifiers): Deprecated.
4496
4497 2003-03-02 Michael Koch <konqueror@gmx.de>
4498
4499 * gnu/java/nio/FileChannelImpl.java
4500 (fd): Type FileDescriptor instead of int.
4501 (lengthInternal): Removed.
4502 (FileChannelImpl): Fixed arguments, check type of file object.
4503 (size): Made it native.
4504 (implPosition): New native method.
4505 (implTruncate): New native method.
4506 (position): Implemented.
4507 (truncate): Implemented.
4508 (nio_mmap_file): Changed arguments.
4509 (nio_munmap_file): Changed arguments.
4510 (nio_msync): Changed arguments.
4511 * gnu/java/nio/natFileChannelImpl.cc
4512 (lengthInternal): Removed.
4513 (size): New method.
4514 (implPosition): New method.
4515 (implTruncate): New method.
4516 (nio_mmap_file): Changed arguments.
4517 (nio_munmap_file): Changed arguments.
4518 (nio_msync): Changed arguments.
4519
4520 2003-03-02 Michael Koch <konqueror@gmx.de>
4521
4522 * java/awt/dnd/DropTargetContext.java:
4523 Compile fix: Forgot to commit import.
4524
4525 2003-03-02 Michael Koch <konqueror@gmx.de>
4526
4527 * java/awt/Component.java,
4528 java/awt/ScrollPane.java:
4529 Fixed typos.
4530
4531 2003-03-02 Michael Koch <konqueror@gmx.de>
4532
4533 * java/awt/dnd/DnDEventMulticaster.java: New file.
4534 * java/awt/dnd/DragSource.java
4535 (flavorMap): New member variable.
4536 (dragSourceListener): New member variable.
4537 (dragSourceMotionListener): New member variable.
4538 (getFlavorMap): Implemented.
4539 (createDragGestureRecognizer): Implemented.
4540 (addDragSourceListener): Implemented.
4541 (removeDragSourceListener): Implemented.
4542 (getDragSourceListeners): Implemented.
4543 (addDragSourceMotionListener): Implemented.
4544 (removeDragSourceMotionListener): Implemented.
4545 (getDragSourceMotionListeners): Implemented.
4546 (getListeners): Implemented.
4547 * java/awt/dnd/DragSourceContext.java
4548 (peer): New member variable.
4549 (cursor): New member variable.
4550 (transferable): New member variable.
4551 (trigger): New member variable.
4552 (dragSourceListener): New member variable.
4553 (image): New member variable.
4554 (offset): New member variable.
4555 (DragSourceContext): Implemented.
4556 (getDragSource): Implemented.
4557 (getComponent): Implemented.
4558 (getTrigger): Implemented.
4559 (getSourceActions): Implemented.
4560 (setCursor): Implemented.
4561 (getCursor): Implemented.
4562 (addDragSourceListener): Implemented.
4563 (removeDragSourceListener): Implemented.
4564 (getTransferable): Implemented.
4565 * java/awt/dnd/DropTarget.java
4566 (DropTargetAutoScroller.component): New member variable.
4567 (DropTargetAutoScroller.point): New member variable.
4568 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4569 (DropTargetAutoScroller.updateLocation): Implemented.
4570 (active): Renamed from isActive, defaults to true now.
4571 (component): New member variable.
4572 (flavorMap): New member variable.
4573 (actions): New member variable.
4574 (dropTargetContext): New member variable.
4575 (dropTargetListener): New member variable.
4576 (DropTarget): Implemented.
4577 (getComponent): Implemented.
4578 (setComponent): Implemented.
4579 (setDefaultActions): Implemented.
4580 (getDefaultActions): Implemented.
4581 (setActive): Use active instead of isActive.
4582 (isActive): Use active instead of isActive.
4583 (addDropTargetListener): Implemented.
4584 (removeDropTargetListener): Implemented.
4585 (getFlavorMap): Implemented.
4586 (setFlavorMap): Implemented.
4587 (getDropTargetContext): Implemented.
4588 (createDropTargetContext): Implemented.
4589 (createDropTargetAutoScroller): Implemented.
4590 * java/awt/dnd/DropTargetContext.java
4591 (TransferableProxy.getTransferDataFlavors): Implemented.
4592 (TransferableProxy.isDataFlavorSupported): Implemented.
4593 (TransferableProxy.getTransferData): Implemented.
4594 (dropTarget): New member variable.
4595 (dtcp): New member variable.
4596 (DropTargetContext): New package private constructor.
4597 (getDropTarget): Implemented.
4598 (getComponent): Implemented.
4599 (addNotify): Implemented.
4600 (removeNotify): Implemented.
4601 (getCurrentDataFlavorsAsList): Implemented.
4602 (isDataFlavorSupported): Implemented.
4603 * java/awt/dnd/MouseDragGestureRecognizer.java
4604 (registerListeners): Implemented.
4605 (unregisterListeners): Implemented.
4606 * Makefile.am
4607 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4608 * Makefile.in: Regenerated.
4609
4610 2003-03-02 Michael Koch <konqueror@gmx.de>
4611
4612 * java/awt/Component.java
4613 (eventTypeEnabled): New method.
4614 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4615 * java/awt/Container.java
4616 (changeSupport): New member variable.
4617 (addPropertyChangeListener): New methods.
4618 * java/awt/ContainerOrderFocusTraversalPolicy.java
4619 (ContainerOrderFocusTraversalPolicy): Added comment.
4620 (getComponentAfter): Throw exception, documentation added.
4621 (getComponentBefore): Throw exception, documentation added.
4622 (getFirstComponent): Throw exception, documentation added.
4623 (getLastComponent): Throw exception, documentation added.
4624 (getDefaultComponent): Throw exception, documentation added.
4625 * java/awt/EventQueue.java: Reindented.
4626 * java/awt/FocusTraversalPolicy.java:
4627 (FocusTraversalPolicy): Added comment.
4628 (getComponentAfter): Documentation added.
4629 (getComponentBefore): Documentation added.
4630 (getFirstComponent): Documentation added.
4631 (getLastComponent): Documentation added.
4632 (getDefaultComponent): Documentation added.
4633 (getInitialComponent): Documentation added.
4634 * java/awt/ScrollPane.java
4635 (wheelScrollingEnabled): New member variable.
4636 (ScrollPane): Initialize wheelScollingEnabled.
4637 (eventTypeEnabled): New method.
4638 (isWheelScrollingEnabled): New method.
4639 (setWheelScrollingEnabled): New method.
4640
4641 2003-03-02 Michael Koch <konqueror@gmx.de>
4642
4643 * java/net/DatagramSocket.java
4644 (closed): New member variable.
4645 (close): Use closed variable.
4646 (getInetAddress): No need to call isConnected().
4647 (getPort): No need to call isConnected().
4648 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4649 (isClosed): Reimplemented.
4650
4651 2003-03-02 Michael Koch <konqueror@gmx.de>
4652
4653 * configure.in: Added check for memory mapping of files.
4654 * configure: Regenerated.
4655 * config.h.in: Regenerated.
4656
4657 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4658
4659 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4660 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4661
4662 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4663
4664 * java/io/File.java (normalizePath): Remove trailing separator
4665 on Windows only if path is not of the form "x:\".
4666
4667 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4668 (java::io::File::attr): Change formatting a bit and use
4669 WIN32_EPOCH_MILLIS instead of magic numbers.
4670 (java::io::File::isAbsolute): Path must have at least 3
4671 characters for a UNC network path.
4672 (java::io::File::init_native): Define.
4673 (java::io::File::performCreate): Likewise.
4674 (java::io::File::performSetReadOnly): Likewise.
4675 (java::io::File::performSetLastModified): Likewise.
4676 (java::io::File::performListRoots): Likewise.
4677
4678 2003-03-01 Tom Tromey <tromey@redhat.com>
4679
4680 * java/lang/natObject.cc: Don't include assert.h.
4681 (heavy_lock_obj_finalization_proc): Use JvAssert.
4682 (remove_all_heavy): Likewise.
4683 (_Jv_MonitorEnter): Likewise.
4684 (_Jv_MonitorExit): Likewise.
4685 (wait): Likewise.
4686
4687 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4688
4689 * java/io/File (getAbsolutePath): Prefix drive specifier on
4690 Windows for paths starting with a '\'.
4691 (toURL): Make URL more consistent with what Sun's JDK returns.
4692
4693 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4694 true only if the path is a UNC network path or it starts with a
4695 drive specifier.
4696
4697 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4698 Be prepared to handle either '/' or '\\' in the file path for
4699 Windows if using the "file" protocol.
4700 Canonicalise the file path if using a relative path in the given
4701 context and the "file" protocol.
4702
4703 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4704
4705 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4706 program array element passed to CreateProcess.
4707
4708 2003-03-01 Tom Tromey <tromey@redhat.com>
4709
4710 * java/rmi/registry/RegistryHandler.java: Deprecate.
4711
4712 2003-03-01 Tom Tromey <tromey@redhat.com>
4713
4714 * javax/accessibility/AccessibleEditableText.java,
4715 javax/accessibility/AccessibleHyperlink.java: New versions from
4716 Classpath.
4717
4718 * gnu/java/locale/LocaleInformation_af_ZA.java,
4719 gnu/java/locale/LocaleInformation_ar_AE.java,
4720 gnu/java/locale/LocaleInformation_ar_BH.java,
4721 gnu/java/locale/LocaleInformation_ar_DZ.java,
4722 gnu/java/locale/LocaleInformation_ar_EG.java,
4723 gnu/java/locale/LocaleInformation_ar_IN.java,
4724 gnu/java/locale/LocaleInformation_ar_IQ.java,
4725 gnu/java/locale/LocaleInformation_ar_JO.java,
4726 gnu/java/locale/LocaleInformation_ar_KW.java,
4727 gnu/java/locale/LocaleInformation_ar_LB.java,
4728 gnu/java/locale/LocaleInformation_ar_LY.java,
4729 gnu/java/locale/LocaleInformation_ar_MA.java,
4730 gnu/java/locale/LocaleInformation_ar_OM.java,
4731 gnu/java/locale/LocaleInformation_ar_QA.java,
4732 gnu/java/locale/LocaleInformation_ar_SD.java,
4733 gnu/java/locale/LocaleInformation_ar_SY.java,
4734 gnu/java/locale/LocaleInformation_ar_TN.java,
4735 gnu/java/locale/LocaleInformation_ar_YE.java,
4736 gnu/java/locale/LocaleInformation_be_BY.java,
4737 gnu/java/locale/LocaleInformation_bn_IN.java,
4738 gnu/java/locale/LocaleInformation_br_FR.java,
4739 gnu/java/locale/LocaleInformation_bs_BA.java,
4740 gnu/java/locale/LocaleInformation_ca_ES.java,
4741 gnu/java/locale/LocaleInformation_cs_CZ.java,
4742 gnu/java/locale/LocaleInformation_cy_GB.java,
4743 gnu/java/locale/LocaleInformation_da_DK.java,
4744 gnu/java/locale/LocaleInformation_de_AT.java,
4745 gnu/java/locale/LocaleInformation_de_BE.java,
4746 gnu/java/locale/LocaleInformation_de_CH.java,
4747 gnu/java/locale/LocaleInformation_de_DE.java,
4748 gnu/java/locale/LocaleInformation_de_LU.java,
4749 gnu/java/locale/LocaleInformation_el_GR.java,
4750 gnu/java/locale/LocaleInformation_en_AU.java,
4751 gnu/java/locale/LocaleInformation_en_BW.java,
4752 gnu/java/locale/LocaleInformation_en_CA.java,
4753 gnu/java/locale/LocaleInformation_en_DK.java,
4754 gnu/java/locale/LocaleInformation_en_GB.java,
4755 gnu/java/locale/LocaleInformation_en_HK.java,
4756 gnu/java/locale/LocaleInformation_en_IE.java,
4757 gnu/java/locale/LocaleInformation_en_IN.java,
4758 gnu/java/locale/LocaleInformation_en_NZ.java,
4759 gnu/java/locale/LocaleInformation_en_PH.java,
4760 gnu/java/locale/LocaleInformation_en_SG.java,
4761 gnu/java/locale/LocaleInformation_en_US.java,
4762 gnu/java/locale/LocaleInformation_en_ZA.java,
4763 gnu/java/locale/LocaleInformation_en_ZW.java,
4764 gnu/java/locale/LocaleInformation_es_AR.java,
4765 gnu/java/locale/LocaleInformation_es_BO.java,
4766 gnu/java/locale/LocaleInformation_es_CL.java,
4767 gnu/java/locale/LocaleInformation_es_CO.java,
4768 gnu/java/locale/LocaleInformation_es_CR.java,
4769 gnu/java/locale/LocaleInformation_es_DO.java,
4770 gnu/java/locale/LocaleInformation_es_EC.java,
4771 gnu/java/locale/LocaleInformation_es_ES.java,
4772 gnu/java/locale/LocaleInformation_es_GT.java,
4773 gnu/java/locale/LocaleInformation_es_HN.java,
4774 gnu/java/locale/LocaleInformation_es_MX.java,
4775 gnu/java/locale/LocaleInformation_es_NI.java,
4776 gnu/java/locale/LocaleInformation_es_PA.java,
4777 gnu/java/locale/LocaleInformation_es_PE.java,
4778 gnu/java/locale/LocaleInformation_es_PR.java,
4779 gnu/java/locale/LocaleInformation_es_PY.java,
4780 gnu/java/locale/LocaleInformation_es_SV.java,
4781 gnu/java/locale/LocaleInformation_es_US.java,
4782 gnu/java/locale/LocaleInformation_es_UY.java,
4783 gnu/java/locale/LocaleInformation_es_VE.java,
4784 gnu/java/locale/LocaleInformation_et_EE.java,
4785 gnu/java/locale/LocaleInformation_eu_ES.java,
4786 gnu/java/locale/LocaleInformation_fa_IR.java,
4787 gnu/java/locale/LocaleInformation_fi_FI.java,
4788 gnu/java/locale/LocaleInformation_fo_FO.java,
4789 gnu/java/locale/LocaleInformation_fr_BE.java,
4790 gnu/java/locale/LocaleInformation_fr_CA.java,
4791 gnu/java/locale/LocaleInformation_fr_CH.java,
4792 gnu/java/locale/LocaleInformation_fr_FR.java,
4793 gnu/java/locale/LocaleInformation_fr_LU.java,
4794 gnu/java/locale/LocaleInformation_ga_IE.java,
4795 gnu/java/locale/LocaleInformation_gd_GB.java,
4796 gnu/java/locale/LocaleInformation_gl_ES.java,
4797 gnu/java/locale/LocaleInformation_gv_GB.java,
4798 gnu/java/locale/LocaleInformation_he_IL.java,
4799 gnu/java/locale/LocaleInformation_hi_IN.java,
4800 gnu/java/locale/LocaleInformation_hr_HR.java,
4801 gnu/java/locale/LocaleInformation_hu_HU.java,
4802 gnu/java/locale/LocaleInformation_id_ID.java,
4803 gnu/java/locale/LocaleInformation_it_CH.java,
4804 gnu/java/locale/LocaleInformation_it_IT.java,
4805 gnu/java/locale/LocaleInformation_iw_IL.java,
4806 gnu/java/locale/LocaleInformation_ja_JP.java,
4807 gnu/java/locale/LocaleInformation_ka_GE.java,
4808 gnu/java/locale/LocaleInformation_kl_GL.java,
4809 gnu/java/locale/LocaleInformation_ko_KR.java,
4810 gnu/java/locale/LocaleInformation_kw_GB.java,
4811 gnu/java/locale/LocaleInformation_lt_LT.java,
4812 gnu/java/locale/LocaleInformation_lv_LV.java,
4813 gnu/java/locale/LocaleInformation_mi_NZ.java,
4814 gnu/java/locale/LocaleInformation_mk_MK.java,
4815 gnu/java/locale/LocaleInformation_mr_IN.java,
4816 gnu/java/locale/LocaleInformation_mt_MT.java,
4817 gnu/java/locale/LocaleInformation_nl_BE.java,
4818 gnu/java/locale/LocaleInformation_nl_NL.java,
4819 gnu/java/locale/LocaleInformation_nn_NO.java,
4820 gnu/java/locale/LocaleInformation_no_NO.java,
4821 gnu/java/locale/LocaleInformation_oc_FR.java,
4822 gnu/java/locale/LocaleInformation_pl_PL.java,
4823 gnu/java/locale/LocaleInformation_pt_BR.java,
4824 gnu/java/locale/LocaleInformation_pt_PT.java,
4825 gnu/java/locale/LocaleInformation_ro_RO.java,
4826 gnu/java/locale/LocaleInformation_ru_RU.java,
4827 gnu/java/locale/LocaleInformation_ru_UA.java,
4828 gnu/java/locale/LocaleInformation_se_NO.java,
4829 gnu/java/locale/LocaleInformation_sk_SK.java,
4830 gnu/java/locale/LocaleInformation_sl_SI.java,
4831 gnu/java/locale/LocaleInformation_sq_AL.java,
4832 gnu/java/locale/LocaleInformation_sr_YU.java,
4833 gnu/java/locale/LocaleInformation_sv_FI.java,
4834 gnu/java/locale/LocaleInformation_sv_SE.java,
4835 gnu/java/locale/LocaleInformation_ta_IN.java,
4836 gnu/java/locale/LocaleInformation_te_IN.java,
4837 gnu/java/locale/LocaleInformation_tg_TJ.java,
4838 gnu/java/locale/LocaleInformation_tl_PH.java,
4839 gnu/java/locale/LocaleInformation_tr_TR.java,
4840 gnu/java/locale/LocaleInformation_uk_UA.java,
4841 gnu/java/locale/LocaleInformation_ur_PK.java,
4842 gnu/java/locale/LocaleInformation_uz_UZ.java,
4843 gnu/java/locale/LocaleInformation_vi_VN.java,
4844 gnu/java/locale/LocaleInformation_yi_US.java,
4845 gnu/java/locale/LocaleInformation_zh_CN.java,
4846 gnu/java/locale/LocaleInformation_zh_HK.java,
4847 gnu/java/locale/LocaleInformation_zh_SG.java,
4848 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4849 info; from Classpath.
4850
4851 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4852 isPaintPending): New methods.
4853 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4854 setMaximizedBounds): New methods.
4855 (beginLayout, endLayout, isPaintPending): Likewise.
4856 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4857 (requestFocus): Likewise.
4858 (isObscured): Likewise.
4859 (canDetermineObscurity): Likewise.
4860 (coalescePaintEvent): Likewise.
4861 (updateCursorImmediately): Likewise.
4862 (createVolatileImage): Likewise.
4863 (handlesWheelScrolling): Likewise.
4864 (createBuffers): Likewise.
4865 (getBackBuffer): Likewise.
4866 (flip): Likewise.
4867 (destroyBuffers): Likewise.
4868
4869 * Makefile.in: Rebuilt.
4870 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4871 RobotPeer.java.
4872 * gnu/java/awt/GLightweightPeer.java,
4873 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4874 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4875 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4876 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4877 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4878 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4879 java/awt/dnd/peer/DragSourceContextPeer.java,
4880 java/awt/dnd/peer/DropTargetContextPeer.java,
4881 java/awt/peer/ButtonPeer.java,
4882 java/awt/peer/CheckboxMenuItemPeer.java,
4883 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4884 java/awt/peer/ComponentPeer.java,
4885 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4886 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4887 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4888 java/awt/peer/MenuBarPeer.java,
4889 java/awt/peer/MenuComponentPeer.java,
4890 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4891 java/awt/peer/PopupMenuPeer.java,
4892 java/awt/peer/ScrollPanePeer.java,
4893 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4894 java/awt/peer/TextComponentPeer.java,
4895 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4896 New versions from Classpath.
4897 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4898 * java/awt/peer/RobotPeer.java: Likewise.
4899
4900 2003-03-01 Mark Wielaard <mark@klomp.org>
4901
4902 * java/io/ObjectInputStream.java: Reindent.
4903 * java/io/ObjectOutputStream.java: Likewise.
4904
4905 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4906
4907 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4908 jvalue for each argument. Simplify.
4909 * testsuite/libjava.jni/calls.c (docall),
4910 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4911 misalignment.
4912
4913 2003-02-28 Mark Wielaard <mark@klomp.org>
4914
4915 * Makefile.am (nat_source_files): Remove
4916 java/io/natObjectOutputStream.cc.
4917 * Makefile.in: Regenerated.
4918 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4919 * java/io/ObjectStreamField.java (typename): New field.
4920 (ObjectStreamField(String, Class)): Initialize new field.
4921 (ObjectStreamField(String, String)): New Constructor.
4922 (getTypeCode): Use new field.
4923 (getTypeString): Use new field.
4924 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4925 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4926 Handle reading of Proxy classes. Never drain(), just write
4927 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4928 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4929 (flush): Call flush(), not just drain().
4930 (writeBoolean): Always use blockDataOutput.
4931 (writeByte): Likewise.
4932 (writeShort): Likewise.
4933 (writeChar): Likewise.
4934 (writeInt): Likewise.
4935 (writeLong): Likewise.
4936 (writeFloat): Likewise.
4937 (writeDouble): Likewise.
4938 (writeBytes): Likewise.
4939 (putfield (put(String,Object))): Throw IllegalArgumentException if
4940 field cannot be found.
4941 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4942 (writeArraySizeAndElements): Write byte[] in one go.
4943 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4944 set BlockDataMode to false.
4945 (annotateProxyClass): New method.
4946 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4947 (getField): No longer native.
4948 (getMethod): Likewise.
4949 (setBlockDataMode): Always drain() on switch, return old mode.
4950 (static): New static code block.
4951 * java/io/natObjectOutputStream.cc: Removed.
4952 * java/io/ObjectInputStream.java (getField): No longer native.
4953 (getMethod): Likewise.
4954 (readObject): Remember and reset old BlockDataMode. Track whether
4955 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4956 TC_LONGSTRING.
4957 (defaultReadObject): Set BlockDataMode to false during readFields.
4958 (resolveClass): Create new SecurityManager if necessary.
4959 Use Class.forName() if null ClassLoader found.
4960 (read(byte[],int,int): Copy remaining bytes to data before calling
4961 readNextBlock().
4962 (readFields): Set and reset BlockDataMode on call_read_method.
4963 Catch NoSuchFieldErrors.
4964 (setBlockDataMode): Return old mode.
4965 (static): New static code block.
4966 * java/io/natObjectInputStream.cc (getField): Removed.
4967 (getMethod): Likewise.
4968
4969 2003-02-27 Michael Koch <konqueror@gmx.de>
4970
4971 * java/beans/Beans.java,
4972 java/beans/FeatureDescriptor.java
4973 java/beans/PropertyEditorManager.java:
4974 Reformated to GNU style.
4975
4976 2003-02-25 Michael Koch <konqueror@gmx.de>
4977
4978 * gnu/java/nio/MappedByteFileBuffer.java,
4979 gnu/java/nio/natMappedByteFileBuffer.cc:
4980 New files, both are not compiled yet to get not noncompiling CVS.
4981
4982 2003-02-24 Tom Tromey <tromey@redhat.com>
4983
4984 * java/util/prefs/AbstractPreferences.java (isUserNode):
4985 Implemented.
4986
4987 2003-02-24 Tom Tromey <tromey@redhat.com>
4988
4989 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4990 Deprecate.
4991 * java/lang/Thread.java (resume): Deprecate.
4992 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4993 in @deprecated.
4994
4995 2003-02-23 Tom Tromey <tromey@redhat.com>
4996
4997 * Makefile.in: Rebuilt.
4998 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4999
5000 2003-02-23 Tom Tromey <tromey@redhat.com>
5001
5002 * java/lang/natRuntime.cc (libraries_size, libraries_count,
5003 libraries): Removed.
5004 (add_library): Removed.
5005 (_load): Don't call add_library.
5006 (loadLibraryInternal): Likewise.
5007 (init): Likewise.
5008 (lookup_data): New struct.
5009 (find_symbol): New function.
5010 (_Jv_FindSymbolInExecutable): Use it.
5011
5012 2002-02-21 Anthony Green <green@redhat.com>
5013
5014 * java/lang/Thread.java (Thread): New constructor taking stack
5015 size parameter (ignored for now).
5016 * Many methods: Merged GNU Classpath documentation.
5017
5018 * java/lang/Class.java (finalize): throws a Throwable.
5019
5020 2003-02-21 Mark Wielaard <mark@klomp.org>
5021
5022 * java/util/zip/ZipEntry.java (setComment): Don't check length when
5023 argument is null.
5024
5025 2003-02-21 Mark Wielaard <mark@klomp.org>
5026
5027 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
5028 then 65535 chars throw IllegalArgumentException.
5029
5030 2003-02-21 Mark Wielaard <mark@klomp.org>
5031
5032 * java/util/zip/ZipFile.java (finalize): New method.
5033
5034 2003-02-21 Michael Koch <konqueror@gmx.de>
5035
5036 * gnu/java/nio/natSocketChannelImpl.cc:
5037 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
5038 <cato@df.lth.se> for pointing to it.
5039
5040 2003-02-20 Raif S. Naffah <raif@fl.net.au>
5041
5042 * java/math/BigInteger.java (euclidInv): Take result array as an
5043 argument. Updated all callers.
5044 (modInverse): Removed unused variables.
5045
5046 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5047
5048 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5049 config.status.
5050 * configure: Rebuilt.
5051
5052 2003-02-19 Michael Koch <konqueror@gmx.de>
5053
5054 * gnu/java/nio/natSocketChannelImpl.cc:
5055 Added support for platforms without network support.
5056
5057 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5058
5059 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
5060 after config.h. Use <> for consistency.
5061 * java/lang/natObject.cc: Likewise.
5062 * java/lang/natRuntime.cc: Likewise.
5063 * java/lang/natSystem.cc: Likewise.
5064 * java/util/natTimeZone.cc: Likewise.
5065 * win32.cc: Likewise.
5066 * include/posix.h (fcntl, socket, connect, close, bind, accept,
5067 listen, write, read): Undef to avoid interference from OS macros.
5068
5069 2003-02-19 Michael Koch <konqueror@gmx.de>
5070
5071 * gnu/java/nio/ByteBufferImpl.java
5072 (ByteBufferImpl): Renamed two variables.
5073 * gnu/java/nio/CharBufferImpl.java
5074 (CharBufferImpl): Renamed two variables.
5075 * gnu/java/nio/DoubleBufferImpl.java
5076 (DoubleBufferImpl): Renamed two variables.
5077 * gnu/java/nio/FloatBufferImpl.java
5078 (FloatBufferImpl): Renamed two variables.
5079 * gnu/java/nio/IntBufferImpl.java
5080 (IntBufferImpl): Renamed two variables.
5081 * gnu/java/nio/LongBufferImpl.java
5082 (LongBufferImpl): Renamed two variables.
5083 * gnu/java/nio/ShortBufferImpl.java
5084 (ShortBufferImpl): Renamed two variables.
5085 * java/nio/CharBuffer.java
5086 (wrap): Fixed arguments to CharBufferImpl constructor.
5087 (hasArray): Only not read-only buffers have backing arrays.
5088 (length): Documentation added.
5089 (subSequence): Documentation added.
5090 * java/nio/DoubleBuffer.java
5091 (hasArray): Only not read-only buffers have backing arrays.
5092 * java/nio/FloatBuffer.java
5093 (hasArray): Only not read-only buffers have backing arrays.
5094 * java/nio/IntBuffer.java
5095 (hasArray): Only not read-only buffers have backing arrays.
5096 * java/nio/LongBuffer.java
5097 (hasArray): Only not read-only buffers have backing arrays.
5098 * java/nio/ShortBuffer.java
5099 (hasArray): Only not read-only buffers have backing arrays.
5100
5101 2003-02-19 Michael Koch <konqueror@gmx.de>
5102
5103 * javax/accessibility/AccessibleContext.java
5104 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5105
5106 2003-02-19 Michael Koch <konqueror@gmx.de>
5107
5108 * java/awt/ScrollPaneAdjustable.java: Reformated.
5109
5110 2003-02-19 Michael Koch <konqueror@gmx.de>
5111
5112 * gnu/awt/j2d/Graphics2DImpl.java
5113 (getFontRenderContext): New method.
5114 (drawGlyphVector): New method.
5115 * java/awt/Graphics2D.java
5116 (getFontRenderContext): New abstract method.
5117 (drawGlyphVector): New abstract method.
5118
5119 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
5120
5121 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5122 if necessary.
5123
5124 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5125 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5126 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5127 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5128 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5129 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5130 (setFont, gtkSetFont): add.
5131 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5132 Propagate font to peer. (setFont): add FIXME comment.
5133
5134 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5135 (gtkTextGetSize): fix height, width computation.
5136
5137 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5138 Make X font name a bit less bogus.
5139
5140 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5141 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5142
5143 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5144 (processAdjustmentEvent): Adjust value.
5145
5146 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5147 logic errors.
5148
5149 * java/awt/Component.java (setVisible, show, hide): Call show and
5150 hide methods in subclasses.
5151 (getPreferredSize): don't set prefSize before we have peer.
5152
5153 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5154 Guess (0,0) if we don't have peer.
5155
5156
5157 2003-02-18 Michael Koch <konqueror@gmx.de>
5158
5159 * java/nio/channels/FileChannel.java
5160 (toString): New implementation, added documentation.
5161 (map): Added exception documentation.
5162 (size): Added exception documentation.
5163 (write): New methods, documentation work.
5164 (read): New methods, documentation work.
5165 (implCloseChannel): Rewrote exception documentation.
5166 (force): Throws IOException, added documentation.
5167 (lock): New methods.
5168 (tryLock): New methods.
5169 (position): New methods.
5170 (transferTo): New method.
5171 (transferFrom): New method.
5172 (truncate): New method.
5173 * java/nio/channels/spi/SelectorProvider.java
5174 (provider): Implemented.
5175 * Makefile.am
5176 (ordinary_java_source_files): Added the following files:
5177 gnu/java/nio/DatagramChannelImpl.java
5178 gnu/java/nio/FileChannelImpl.java
5179 gnu/java/nio/PipeImpl.java
5180 gnu/java/nio/SelectionKeyImpl.java
5181 gnu/java/nio/SelectorImpl.java
5182 gnu/java/nio/SelectorProviderImpl.java
5183 gnu/java/nio/ServerSocketChannelImpl.java
5184 gnu/java/nio/SocketChannelImpl.java
5185 java/nio/channels/FileLock.java
5186 (nat_java_source_files): Added the following files:
5187 gnu/java/nio/natFileChannelImpl.cc
5188 gnu/java/nio/natSelectorImpl.cc
5189 gnu/java/nio/natSocketChannelImpl.cc
5190 * Makefile.in: Regenerated.
5191
5192 2003-02-17 Tom Tromey <tromey@redhat.com>
5193
5194 * java/awt/image/ColorModel.java: Re-merged with Classpath.
5195 * java/awt/image/ImageFilter.java: Likewise.
5196
5197 2003-02-17 Raif S. Naffah <raif@fl.net.au>
5198
5199 * java/math/BigInteger.java (euclidInv): Return array of
5200 `BigInteger's. Changed all callers.
5201
5202 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
5203
5204 * java/util/Properties.java (store): Move the code formerly in
5205 list(), into this method.
5206 (list (PrintStream)): Just call list (PrintWriter) with a
5207 PrintWriter object constructed from the given PrintStream object.
5208 (list (PrintWriter)): Emulate the output of Properties.list()
5209 as found in JDK 1.3/1.4.
5210
5211 2003-02-17 Michael Koch <konqueror@gmx.de>
5212
5213 * java/net/DatagramSocket.java
5214 (connect): Merged with classpath.
5215 (disconnect): Merged documentation with classpath.
5216 (receice): Merged documentation with classpath.
5217 (send): Merged documentation with classpath.
5218
5219 2003-02-17 Michael Koch <konqueror@gmx.de>
5220
5221 * java/awt/dnd/DragSourceContext.java
5222 (addDragSourceListener): Added documentation.
5223 * java/awt/dnd/DragSourceDragEvent.java
5224 (serialVersionUID): New member variable.
5225 (getDropAction): Reformated.
5226 * java/awt/dnd/DragSourceDropEvent.java
5227 (serialVersionUID): New member variable.
5228 (dropSuccess): Renamed from success for serialization issues.
5229 * java/awt/dnd/DragSourceEvent.java
5230 (serialVersionUID): New member variable.
5231 * java/awt/dnd/DropTarget.java
5232 (serialVersionUID): New member variable.
5233 (DropTarget): Implemented, documentation reworked.
5234 (setComponent): Documentation added.
5235 (getComponent): Documentation added.
5236 (setDefaultActions): Documentation added.
5237 (getDefaultActions): Documentation added.
5238 (addDropTargetListener): Documentation added.
5239 * java/awt/dnd/DropTargetContext.java
5240 (DropTargetContext): Documentation added.
5241 (TransferableProxy.TransferableProxy): New method.
5242 (dropComplete): Fixed documentation.
5243 (getTransferable): Fixed documentation.
5244 (createTransferableProxy): Implemented.
5245 * java/awt/dnd/DropTargetDragEvent.java
5246 (DropTargetDragEvent): Documentation added.
5247 (serialVersionUID): New member variable.
5248 (DropTargetDragEvent): Throw exceptions, documentation added.
5249 (acceptDrag): Implemented.
5250 (getCurrentDataFlavors): Implemented.3yy
5251 (getCurrentDataFlavorsAsList): Implemented.
5252 (isDataFlavorSupported): Implemented.
5253 (rejectDrag): Implemented.
5254 * java/awt/dnd/DropTargetDropEvent.java
5255 (DropTargetDropEvent): Documentation added.
5256 (serialVersionUID): New member variable.
5257 (actions): Renamed from srcActions for serialization issues.
5258 (isLocalTx): Renamed from isLocalTx for serialization issues.
5259 (DropTargetDropEvent): New implementation, throw exceptions,
5260 documentation added.
5261 (getCurrentDataFlavors): Implemented.
5262 (getCurrentDataFlavorsAsList): Implemented.
5263 (isDataFlavorSupported): Implemented.
5264 (getSourceActions): Implemented.
5265 (getDropAction): Implemented.
5266 (getTransferable): Implemented.
5267 (acceptDrop): Implemented.
5268 (rejectDrop): Implemented.
5269 * java/awt/dnd/DropTargetListener.java
5270 (drop): Fixed documentation.
5271 * java/awt/dnd/MouseDragGestureRecognizer.java
5272 (MouseDragGestureRecognizer): Documentation added.
5273
5274 2003-02-17 Michael Koch <konqueror@gmx.de>
5275
5276 * java/awt/font/FontRenderContext.java,
5277 java/awt/font/ShapeGraphicAttribute.java,
5278 java/awt/font/MultipleMaster.java,
5279 java/awt/font/TransformAttribute.java,
5280 java/awt/font/GlyphJustificationInfo.java,
5281 java/awt/font/LineBreakMeasurer.java,
5282 java/awt/font/TextMeasurer.java,
5283 java/awt/font/TextLayout.java,
5284 java/awt/font/LineMetrics.java,
5285 java/awt/font/TextAttribute.java,
5286 java/awt/font/GlyphMetrics.java,
5287 java/awt/font/OpenType.java,
5288 java/awt/font/GlyphVector.java,
5289 java/awt/font/GraphicAttribute.java,
5290 java/awt/font/ImageGraphicAttribute.java,
5291 java/awt/font/NumericShaper.java: New files.
5292 * Makefile.am
5293 (awt_java_source_files): Added the following files:
5294 java/awt/font/FontRenderContext.java
5295 java/awt/font/ShapeGraphicAttribute.java
5296 java/awt/font/MultipleMaster.java
5297 java/awt/font/TransformAttribute.java
5298 java/awt/font/GlyphJustificationInfo.java
5299 java/awt/font/LineBreakMeasurer.java
5300 java/awt/font/TextMeasurer.java
5301 java/awt/font/TextLayout.java
5302 java/awt/font/LineMetrics.java
5303 java/awt/font/TextAttribute.java
5304 java/awt/font/GlyphMetrics.java
5305 java/awt/font/OpenType.java
5306 java/awt/font/GlyphVector.java
5307 java/awt/font/GraphicAttribute.java
5308 java/awt/font/ImageGraphicAttribute.java
5309 java/awt/font/NumericShaper.java
5310 * Makefile.in: Regenerated.
5311
5312 2003-02-17 Michael Koch <konqueror@gmx.de>
5313
5314 * java/awt/print/Paper.java
5315 (Paper): Implements Cloneable.
5316 * java/awt/print/PrinterJob.java
5317 (setJobName): Return value must be void.
5318 (print): Throws PrinterException.
5319
5320 2003-02-16 Tom Tromey <tromey@redhat.com>
5321
5322 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5323 variable.
5324
5325 2003-02-15 Michael Koch <konqueror@gmx.de>
5326
5327 * java/awt/datatransfer/DataFlavor.java
5328 (isRepresentationClassByteBuffer): Removed try-catch block.
5329 (isRepresentationClassCharBuffer): Removed try-catch block.
5330 (isRepresentationClassReader): Removed try-catch block.
5331
5332 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5333
5334 * java/nio/charset/Charset.java
5335 (isRegistered): Fixed method args and implementation.
5336 * java/nio/charset/CharsetEncoder.java
5337 (unmappableCharacterAction): New method.
5338
5339 2003-02-15 Michael Koch <konqueror@gmx.de>
5340
5341 * java/awt/CheckboxMenuItem.java
5342 (CheckBoxMenuItem): Dont implement Serializable.
5343 (getListeners): New method,
5344 (getItemListeners): New method.
5345 * java/awt/Choice.java
5346 (getListeners): New method,
5347 (getItemListeners): New method.
5348 * java/awt/Container.java
5349 (getListeners): Added exception documentation.
5350 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5351 (getFocusTraversalKeys): Added documentation.
5352 (areFocusTraversalKeysSet): Added documentation.
5353 (applyComponentOrientation): Added documentation.
5354 * java/awt/ContainerOrderFocusTraversalPolicy.java
5355 (implicitDownCycleTraversal): Renamed from downCycle for
5356 serialization.
5357 (ContainerOrderFocusTraversalPolicy): Added documentation.
5358 (accept): Reformated.
5359 * java/awt/Dialog.java
5360 (Dialog): Dont implement Serializable.
5361 (Dialog): Added documentation.
5362 * java/awt/Font.java
5363 (Font): Dont use absolute class name.
5364 * java/awt/Frame.java
5365 (Frame): Font implement Serializable.
5366 * java/awt/List.java
5367 (getListeners): New method,
5368 (getActionListeners): New method.
5369 (getItemListeners): New method.
5370 * java/awt/Menu.java
5371 (countItems): New deprecated method.
5372 * java/awt/Scrollbar.java
5373 (getListeners): New method,
5374 (getAdjustmentListeners): New method,
5375 * java/awt/TextComponent.java
5376 (getListeners): New method,
5377 (getTextListeners): New method,
5378 * java/awt/TextField.java
5379 (getListeners): New method,
5380 (getActionListeners): New method.
5381 * java/awt/Window.java
5382 (windowFocusListener): New member variable.
5383 (windowStateListener): New member variable.
5384 (getWindowFocusListeners): New method.
5385 (getWindowStateListeners): New method.
5386 (addWindowFocusListener): New method.
5387 (addWindowStateListener): New method.
5388 (removeWindowFocusListener): New method.
5389 (removeWindowStateListener): New method.
5390 * java/awt/datatransfer/DataFlavor.java
5391 (isRepresentationClassByteBuffer): New method.
5392 (isRepresentationClassCharBuffer): New method.
5393 (isRepresentationClassReader): New method.
5394
5395 2003-02-14 Mark Wielaard <mark@klomp.org>
5396
5397 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5398 zero when there is an exponent and the significant is zero.
5399 (divide): Always set scale to newScale even in special ZERO case.
5400
5401 2003-02-14 Tom Tromey <tromey@redhat.com>
5402
5403 * java/lang/System.java (properties): Use Properties.clone.
5404 (setProperties): Likewise.
5405
5406 2003-02-14 Michael Koch <konqueror@gmx.de>
5407
5408 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5409 * gnu/java/nio/ServerSocketChannelImpl.java
5410 (SocketAccept): Removed.
5411 (accept): Commented out use of SocketAccept.
5412
5413 2003-02-13 Tom Tromey <tromey@redhat.com>
5414
5415 * verify.cc (state::seen_subrs): New field.
5416 (state::state): Initialize it.
5417 (state::clean_subrs): New method.
5418 (state::~state): Call it.
5419 (state::copy): Copy subroutine list.
5420 (state::add_subr): New method.
5421 (state::merge): Only register a change if the current subroutine
5422 hasn't yet been noted.
5423
5424 2003-02-13 Mark Wielaard <mark@klomp.org>
5425
5426 * java/io/InputStreamReader.java (getEncoding): Return null when
5427 closed.
5428 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5429
5430 2003-02-13 Mark Wielaard <mark@klomp.org>
5431
5432 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5433 is zero.
5434
5435 2003-02-13 Mark Wielaard <mark@klomp.org>
5436
5437 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5438 next byte cannot be buffered.
5439
5440 2003-02-13 Michael Koch <konqueror@gmx.de>
5441
5442 * java/awt/Label.java
5443 (Label): Don't implement Serializable directly.
5444 (addNotify): Fixed typo in documentation.
5445 * java/awt/List.java
5446 (List): Don't implement Serializable directly.
5447 * java/awt/PopupMenu.java
5448 (PopupMenu): Don't implement Serializable directly.
5449 * java/awt/ScrollPane.java
5450 (ScrollPane): Don't implement Serializable directly.
5451 * java/awt/Scrollbar.java
5452 (Scrollbar): Don't implement Serializable directly.
5453 * java/awt/TextArea.java
5454 (preferredSize): Fixed method arguments.
5455 * java/awt/TextField.java
5456 (TextField): Don't implement Serializable directly.
5457 * java/awt/color/ICC_ColorSpace.java
5458 (fromCIOXYZ): Documentation added.
5459 (getMinValue): Documentation added.
5460 (getMaxValue): Documentation added.
5461 * java/awt/datatransfer/DataFlavor.java
5462 (isMimeTypeEqual): May not be final.
5463 (clone): Throws CloneNotSupportedException.
5464 (getReaderForText): Don't throws UnsupportedEncodingException.
5465
5466 2003-02-13 Michael Koch <konqueror@gmx.de>
5467
5468 * gnu/java/awt/peer/gtk/GdkGraphics.java
5469 (drawString): New stubbed method.
5470 * java/awt/Graphics.java
5471 (drawString): New method.
5472
5473 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5474
5475 PR libgcj/9271:
5476 * java/security/SecureRandom.java (next): Avoid bias in results.
5477
5478 2003-02-13 Michael <konqueror@gmx.de>
5479
5480 * gnu/java/nio/FileChannelImpl.java
5481 (lengthInternal): Must be native.
5482 (size): Check if channel is already closed.
5483 (implCloseChannel): Reformated.
5484 (read): w was unused, removed it.
5485 (read): Removed.
5486 (read): New method.
5487 (write): New method.
5488 (map): Check arguments.
5489 (force): Throws IOException, check if channel is closed.
5490 (transferTo): New method.
5491 (transferFrom): New method.
5492 (lock): New method.
5493 (tryLock): New method.
5494 (position): New method.
5495 (truncate): New method.
5496 (nio_mmap_file): Uncommented.
5497 (nio_munmap_file): Uncommented.
5498 (nio_msync): Uncommented.
5499 * gnu/java/nio/natFileChannelImpl.cc: New file.
5500
5501 2003-02-13 Michael Koch <konqueror@gmx.de>
5502
5503 * java/nio/ByteBuffer.java
5504 (endian): New member variable.
5505 (get): New methods.
5506 (equals): New method.
5507 (compareTo): New method.
5508 (order): New methods.
5509 (compact): New method.
5510 (isDirect): New method.
5511 (slice): New method.
5512 (duplicate): New method.
5513 (asReadOnlyBuffer): New method.
5514 (asCharBuffer): New method.
5515 (asDoubleBuffer): New method.
5516 (asFloatBuffer): New method.
5517 (asIntBuffer): New method.
5518 (asLongBuffer): New method.
5519 (asShortBuffer): New method.
5520 (get*): New methods.
5521 (put*): New methods.
5522 (toString): New method.
5523 * java/nio/CharBuffer.java
5524 (CharBuffer): Implement Comparable instead of Cloneable.
5525 (get): May not be final.
5526 (put): May not be final.
5527
5528 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5529
5530 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5531 lastIndexOf( ) instead of indexOf( ) to find the colon before
5532 the line number, because Win32 file names might contain a
5533 drive letter and a colon at the start of an absolute path.
5534
5535 2003-02-13 Michael Koch <konqueror@gmx.de>
5536
5537 * gnu/java/nio/natSocketChannelImpl.cc
5538 (SocketConnect): This is not implemented yet.
5539 (SocketBind): This is not implemented yet.
5540
5541 2003-02-13 Michael Koch <konqueror@gmx.de>
5542
5543 * gnu/java/nio/natByteBufferImpl.cc,
5544 gnu/java/nio/natCharBufferImpl.cc,
5545 gnu/java/nio/natDoubleBufferImpl.cc,
5546 gnu/java/nio/natFloatBufferImpl.cc,
5547 gnu/java/nio/natIntBufferImpl.cc,
5548 gnu/java/nio/natLongBufferImpl.cc,
5549 gnu/java/nio/natShortBufferImpl.cc:
5550 Added copyright and license.
5551 * java/nio/DoubleBuffer.java,
5552 java/nio/FloatBuffer.java,
5553 java/nio/IntBuffer.java,
5554 java/nio/LongBuffer.java,
5555 java/nio/ShortBuffer.java
5556 (array): Throw exceptions.
5557 (arrayOffset): Throw exceptions.
5558
5559 2003-02-13 Michael Koch <konqueror@gmx.de>
5560
5561 * gnu/java/util/prefs/FileBasedFactory.java,
5562 gnu/java/util/prefs/MemmoryBasedFactory.java,
5563 gnu/java/util/prefs/MemoryBasedPreferences.java,
5564 gnu/java/util/prefs/NodeReader.java,
5565 gnu/java/util/prefs/NodeWriter.java,
5566 java/util/prefs/AbstractPreferences.java,
5567 java/util/prefs/BackingStoreException.java,
5568 java/util/prefs/InvalidPreferencesFormatException.java,
5569 java/util/prefs/NodeChangeEvent.java,
5570 java/util/prefs/NodeChangeListener.java,
5571 java/util/prefs/PreferenceChangeEvent.java,
5572 java/util/prefs/PreferenceChangeListener.java,
5573 java/util/prefs/Preferences.java,
5574 java/util/prefs/PreferencesFactory.java:
5575 New files, all merged from classpath.
5576 * Makefile.am
5577 (ordinary_java_source_files): Added the following files:
5578 gnu/java/util/prefs/FileBasedFactory.java,
5579 gnu/java/util/prefs/MemmoryBasedFactory.java,
5580 gnu/java/util/prefs/MemoryBasedPreferences.java,
5581 gnu/java/util/prefs/NodeReader.java,
5582 gnu/java/util/prefs/NodeWriter.java,
5583 (core_java_source_files): Added the following files:
5584 java/util/prefs/AbstractPreferences.java,
5585 java/util/prefs/BackingStoreException.java,
5586 java/util/prefs/InvalidPreferencesFormatException.java,
5587 java/util/prefs/NodeChangeEvent.java,
5588 java/util/prefs/NodeChangeListener.java,
5589 java/util/prefs/PreferenceChangeEvent.java,
5590 java/util/prefs/PreferenceChangeListener.java,
5591 java/util/prefs/Preferences.java,
5592 java/util/prefs/PreferencesFactory.java
5593 * Makefile.in: Regenerated.
5594
5595 2003-02-13 Michael Koch <konqueror@gmx.de>
5596
5597 * java/net/NetPermission.java
5598 (NetPermission): Make doucmentation match the method declaration.
5599 * java/net/NetworkInterface.java
5600 (equals): Reformated for GNU coding style.
5601 * java/net/ServerSocket.java: Merged with classpath.
5602 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5603 * java/net/SocketImpl.java
5604 (localPort): Merged with classpath (initialize with -1).
5605 * java/net/SocketPermission.java: Merged with classpath (reindented).
5606 * java/net/URLDecoder.java: Merged with classpath (reindented).
5607
5608 2003-02-13 Michael Koch <konqueror@gmx.de>
5609
5610 * java/awt/GridBagConstraints.java
5611 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5612 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5613 * java/awt/KeyboardFocusManager.java
5614 (setGlobalCurrentFocusCycleRoot): Must be public.
5615 * java/awt/MenuComponent.java
5616 (MenuComponent): Must be public.
5617 * java/awt/Toolkit.java:
5618 Added some empty lines to make documentation more readable.
5619 (getFontPeer): Added @deprecated.
5620 (getColorModel): Added exception documentation.
5621 (getProperty): Fixed documentation.
5622
5623 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5624
5625 * configure.host (alpha*-*): Default to -mieee.
5626 * configure.in (IEEESPEC): New.
5627 * libgcj.spec.in (jc1): Add IEEESPEC.
5628 * configure: Rebuild.
5629
5630 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5631
5632 * include/win32.h: Include ws2tcpip.h instead of
5633 winsock.h to obtain definition of the socklen_t type.
5634 Remove IP_TOS definition - not needed with ws2tcpip.h
5635 (_Jv_connect): Correct slight formatting error.
5636
5637 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5638
5639 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5640 size of the arguments for a JNI function. For Win32,
5641 modify to search for all forms of possible exported
5642 names of an stdcall JNI function.
5643 (_Jv_JNIMethod::call): Modify to calculate the size
5644 of the arguments passed to a JNI function and pass
5645 it to _Jv_LookupJNIMethod.
5646
5647 2003-02-12 Michael Koch <konqueror@gmx.de>
5648
5649 * java/nio/channels/Channels.java: New file.
5650 * Makefile.am
5651 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5652 * Makefile.in: Regenerated.
5653
5654 2003-02-12 Michael Koch <konqueror@gmx.de>
5655
5656 * java/nio/ByteBuffer.java
5657 (allocate): Implemented.
5658 (wrap): Implemented.
5659 * java/nio/CharBuffer.java:
5660 Some documentation added and reworked.
5661 (endian): Removed.
5662 (allocate): Implemented.
5663 (wrap): Implemented.
5664 (array): Throw exceptions.
5665 (arrayOffset): Throw exceptions.
5666 (toString): Implemented.
5667 (length): Implemented.
5668 (put): Implemented.
5669 (charAt): Implemented.
5670
5671 2003-02-11 John Leuner <jewel@debian.org>
5672
5673 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5674 reads from end of file.
5675
5676 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5677
5678 * java/io/natFileDescriptorWin32.cc
5679 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5680 returns with Win32 error code ERROR_BROKEN_PIPE.
5681
5682 2003-02-11 Michael Koch <konqueror@gmx.de>
5683
5684 * Makefile.in
5685 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5686
5687 2003-02-11 Michael Koch <konqueror@gmx.de>
5688
5689 * gnu/java/nio/ByteBufferImpl.java:
5690 Reformated and removed some code.
5691 (backing_buffer): Removed.
5692 (array_offset): Removed.
5693 (ro): Renamed to readOnly.
5694 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5695 * gnu/java/nio/CharBufferImpl.java:
5696 Reformated and removed some code.
5697 (array_offset): Removed.
5698 (ro): Renamed to readOnly.
5699 (CharBufferImpl): Use parent constructor, initialize readOnly.
5700 (inc_pos): Removed.
5701 (order): New method.
5702 * gnu/java/nio/DoubleBufferImpl.java:
5703 Reformated and removed some code.
5704 (array_offset): Removed.
5705 (ro): Renamed to readOnly.
5706 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5707 (inc_pos): Removed.
5708 (order): New method.
5709 * gnu/java/nio/FloatBufferImpl.java:
5710 Reformated and removed some code.
5711 (array_offset): Removed.
5712 (ro): Renamed to readOnly.
5713 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5714 (inc_pos): Removed.
5715 (order): New method.
5716 * gnu/java/nio/IntBufferImpl.java:
5717 Reformated and removed some code.
5718 (array_offset): Removed.
5719 (ro): Renamed to readOnly.
5720 (IntBufferImpl): Use parent constructor, initialize readOnly.
5721 (inc_pos): Removed.
5722 (order): New method.
5723 * gnu/java/nio/LongBufferImpl.java:
5724 Reformated and removed some code.
5725 (array_offset): Removed.
5726 (ro): Renamed to readOnly.
5727 (LongBufferImpl): Use parent constructor, initialize readOnly.
5728 (inc_pos): Removed.
5729 (order): New method.
5730 * gnu/java/nio/ShortBufferImpl.java:
5731 Reformated and removed some code.
5732 (array_offset): Removed.
5733 (ro): Renamed to readOnly.
5734 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5735 (inc_pos): Removed.
5736 (order): New method.
5737 * Makefile.am
5738 (ordinary_java_source_files): Added the following files:
5739 gnu/java/nio/ByteBufferImpl.java
5740 gnu/java/nio/CharBufferImpl.java
5741 gnu/java/nio/DoubleBufferImpl.java
5742 gnu/java/nio/FloatBufferImpl.java
5743 gnu/java/nio/IntBufferImpl.java
5744 gnu/java/nio/LongBufferImpl.java
5745 gnu/java/nio/ShortBufferImpl.java
5746 java/nio/DoubleBuffer.java
5747 java/nio/FloatBuffer.java
5748 java/nio/IntBuffer.java
5749 java/nio/LongBuffer.java
5750 java/nio/ShortBuffer.java
5751 (nat_source_files): Added the following files:
5752 gnu/java/nio/natByteBufferImpl.cc
5753 gnu/java/nio/natCharBufferImpl.cc
5754 gnu/java/nio/natDoubleBufferImpl.cc
5755 gnu/java/nio/natFloatBufferImpl.cc
5756 gnu/java/nio/natIntBufferImpl.cc
5757 gnu/java/nio/natLongBufferImpl.cc
5758 gnu/java/nio/natShortBufferImpl.cc
5759 * Makefile.in: Regenerated.
5760
5761 2003-02-11 Michael Koch <konqueror@gmx.de>
5762
5763 * gnu/java/nio/natCharBufferImpl.cc
5764 (nio_cast): Removed.
5765 (nio_put_*): Removed.
5766 (nio_get_*): Removed.
5767 * gnu/java/nio/natDoubleBufferImpl.cc
5768 (nio_cast): Removed.
5769 (nio_put_*): Removed.
5770 (nio_get_*): Removed.
5771 * gnu/java/nio/natFloatBufferImpl.cc
5772 (nio_cast): Removed.
5773 (nio_put_*): Removed.
5774 (nio_get_*): Removed.
5775 * gnu/java/nio/natIntBufferImpl.cc
5776 (nio_cast): Removed.
5777 (nio_put_*): Removed.
5778 (nio_get_*): Removed.
5779 * gnu/java/nio/natLongBufferImpl.cc
5780 (nio_cast): Removed.
5781 (nio_put_*): Removed.
5782 (nio_get_*): Removed.
5783 * gnu/java/nio/natShortBufferImpl.cc
5784 (nio_cast): Removed.
5785 (nio_put_*): Removed.
5786 (nio_get_*): Removed.
5787 * gnu/java/nio/SelectorProviderImpl.java
5788 (openDatagramChannel): Throws IOException.
5789 (openPipe): Throws IOException.
5790 (openSelector): Throws IOException.
5791 (openServerSocketChannel): Throws IOException.
5792 (openSocketChannel): Throws IOException.
5793 * gnu/java/nio/ServerSocketChannelImpl.java
5794 (ServerSocketChannelImpl): Throws IOException.
5795 (implCloseSelectableChannel): Throws IOException.
5796 (implConfigureBlocking): Throws IOException.
5797 * java/nio/ByteBuffer.java
5798 (readOnly): Removed.
5799 (hasArray): Use isReadOnly() instead of readOnly.
5800 (array): Use isReadOnly() instead of readOnly.
5801 (arrayOffset): Use isReadOnly() instead of readOnly.
5802 * java/nio/CharBuffer.java
5803 (CharBuffer): Implements Cloneable and CharSequence.
5804
5805 2003-02-11 Michael Koch <konqueror@gmx.de>
5806
5807 * java/nio/DoubleBuffer.java
5808 (DoubleBuffer): Implements Comparable.
5809 (endian): Removed.
5810 (array_offset): New member variable.
5811 (DoubleBuffer): New constuctor.
5812 (get): May not be final.
5813 (put): May not be final.
5814 (arrayOffset): Implemented.
5815 (order): Made abstract.
5816 (order): Removed.
5817 (as*Buffer): Removed.
5818 (get*): Removed.
5819 (put*): Removed.
5820 * java/nio/FloatBuffer.java
5821 (FloatBuffer): Implements Comparable.
5822 (endian): Removed.
5823 (array_offset): New member variable.
5824 (FloatBuffer): New constuctor.
5825 (get): May not be final.
5826 (put): May not be final.
5827 (arrayOffset): Implemented.
5828 (order): Made abstract.
5829 (order): Removed.
5830 (as*Buffer): Removed.
5831 (get*): Removed.
5832 (put*): Removed.
5833 * java/nio/IntBuffer.java
5834 (IntBuffer): Implements Comparable.
5835 (endian): Removed.
5836 (array_offset): New member variable.
5837 (IntBuffer): New constuctor.
5838 (get): May not be final.
5839 (put): May not be final.
5840 (arrayOffset): Implemented.
5841 (order): Made abstract.
5842 (order): Removed.
5843 (as*Buffer): Removed.
5844 (get*): Removed.
5845 (put*): Removed.
5846 * java/nio/LongBuffer.java
5847 (LongBuffer): Implements Comparable.
5848 (endian): Removed.
5849 (array_offset): New member variable.
5850 (LongBuffer): New constuctor.
5851 (get): May not be final.
5852 (put): May not be final.
5853 (arrayOffset): Implemented.
5854 (order): Made abstract.
5855 (order): Removed.
5856 (as*Buffer): Removed.
5857 (get*): Removed.
5858 (put*): Removed.
5859 * java/nio/ShortBuffer.java
5860 (ShortBuffer): Implements Comparable.
5861 (endian): Removed.
5862 (array_offset): New member variable.
5863 (ShortBuffer): New constuctor.
5864 (get): May not be final.
5865 (put): May not be final.
5866 (arrayOffset): Implemented.
5867 (order): Made abstract.
5868 (order): Removed.
5869 (as*Buffer): Removed.
5870 (get*): Removed.
5871 (put*): Removed.
5872
5873 2003-02-11 Michael Koch <konqueror@gmx.de>
5874
5875 * java/nio/channels/SelectionKey.java
5876 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5877 values.
5878
5879 2003-02-11 Michael Koch <konqueror@gmx.de>
5880
5881 * java/nio/channels/DatagramChannel.java
5882 (write): Throws IOException.
5883 (connect): Throws IOException.
5884 (disconnect): Throws IOException.
5885 (read): Throws IOException.
5886 (receive): Throws IOException.
5887 (send): Throws IOException.
5888 * java/nio/channels/Pipe.java
5889 (open): Throws IOException.
5890 * java/nio/channels/SelectableChannel.java
5891 (configureBlocking): Throws IOException.
5892 * java/nio/channels/ServerSocketChannel.java
5893 (accept): Throws IOException.
5894 * java/nio/channels/SocketChannel.java
5895 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5896 GatheringByteChannel.
5897 (read): Throws IOException.
5898 (write): Throws IOException.
5899 (finishConnect): Throws IOException.
5900 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5901 (end): Throws AsynchronousCloseException.
5902 * java/nio/channels/spi/AbstractSelectableChannel.java
5903 (configureBlocking): Throws IOException.
5904 (implCloseChannel): Throws IOException.
5905 (implCloseSelectableChannel): Throws IOException.
5906 (implConfigureBlocking): Throws IOException.
5907 * java/nio/channels/spi/SelectorProvider.java
5908 (openDatagramChannel): Throws IOException.
5909 (openPipe): Throws IOException.
5910 (openSelector): Throws IOException.
5911 (openServerSocketChannel): Throws IOException.
5912 (openSocketChannel): Throws IOException.
5913
5914 2003-02-11 Michael Koch <konqueror@gmx.de>
5915
5916 * gnu/java/nio/FileLockImpl.java,
5917 java/nio/channels/FileLock.java: New files.
5918
5919 2003-02-11 Michael Koch <konqueror@gmx.de>
5920
5921 * java/nio/charset/IllegalCharsetNameException.java
5922 (serialVersionUID): New member variable.
5923 (charsetName): New member variable.
5924 (IllegalCharsetException): New implementation.
5925 (getCharsetName): New implementation.
5926 * java/nio/charset/UnsupportedCharsetException.java
5927 (serialVersionUID): New member variable.
5928 (charsetName): New member variable.
5929 (UnsupportedCharsetException): New implementation.
5930 (getCharsetName): New implementation.
5931
5932 2003-02-10 Tom Tromey <tromey@redhat.com>
5933
5934 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5935 (ex): Renamed from sqlException.
5936
5937 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5938
5939 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5940 method used to ensure seeding has occurred and that a specific
5941 seed can be set and used.
5942
5943 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5944
5945 * java/lang/Win32Process.java (destroy): Declare as native.
5946 (hasExited): New native method.
5947 (exitValue): Define.
5948 (getErrorStream): Likewise.
5949 (getInputStream): Likewise.
5950 (getOutputStream): Likewise.
5951 (waitFor): Declare as native.
5952 (startProcess): New native method.
5953 (cleanup): Likewise.
5954 (ConcreteProcess): Define.
5955 (outputStream, inputStream, errorStream): New members.
5956 (procHandle, exitCode): Likewise.
5957
5958 * java/lang/natWin32Process.cc
5959 (java::lang::ConcreteProcess::cleanup): Define.
5960 (java::lang::ConcreteProcess::destroy): Likewise.
5961 (java::lang::ConcreteProcess::hasExited): Likewise.
5962 (java::lang::ConcreteProcess::waitFor): Likewise.
5963 (new_string): Likewise.
5964 (java::lang::ConcreteProcess::startProcess): Likewise.
5965
5966 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5967
5968 * java/math/BigInteger.java:
5969 Updated notice to include years 2002 and 3.
5970 Added 2 private (int) arrays with values from the HAC (Handbook of
5971 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5972 and t[] that contains nbr. of tests --used in isProbablePrime().
5973
5974 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5975
5976 * java/math/BigInteger.java (make(int[],int), add(int,int),
5977 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5978 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5979 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5980 make(long).
5981
5982 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5983 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5984 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5985 BIs and returns void.
5986 (modInverse(BI)): Use new signatures of euclidInv().
5987
5988 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5989 static small primes instead of remainder().
5990 Use pre-computed max nbr of trials based on bitlength of BI to test.
5991 Use pre-computed small primes for the trial tests instead of random
5992 numbers.
5993
5994 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5995 not used.
5996
5997 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5998 invoacation of MPN.chars_per_word(). not used.
5999
6000 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
6001 local var and used where needed.
6002
6003 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
6004 Combined declaration with initialisation of locals.
6005 Removed unused var.
6006
6007 * java/math/BigInteger.java: Style changes
6008 (pow(int)): Removed 'else' keyword.
6009 (toString(int)): idem.
6010 (doubleValue()): idem.
6011 (bitLength()): idem.
6012 (equals(Object)): Use static methods name in same class w/o prepending
6013 class name.
6014 (doubleValue()): idem.
6015 (setNegative(BI)): idem.
6016 (negate()): idem.
6017 (and(BI,int)): idem.
6018 (and(BI)): idem.
6019 (gcd(BI)): idem.
6020 (byteArrayToIntArray()): Removed casting to (int). this is
6021 std. behaviour.
6022 (canonicalize()): idem.
6023 (alloc(int)): Always instantiate a new BI.
6024
6025 2003-02-10 Tom Tromey <tromey@redhat.com>
6026
6027 * java/sql/Timestamp.java (compareTo(Object)): New method.
6028 (compareTo(Timestamp)): Likewise.
6029 (serialVersionUID): Updated.
6030
6031 2003-02-07 Mark Wielaard <mark@klomp.org>
6032
6033 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
6034 when verify is true.
6035 (JarFile(File, boolean)): Likewise.
6036 (manifestRead): Set manifestRead field correctly.
6037
6038 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6039
6040 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
6041 tests; see patch #1016 on Savannah.
6042
6043 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6044
6045 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
6046 (toString): do not return Strings starting with . and - erroneously.
6047 Improves Mauve results to 12 of 600 instead of 16 of 338 on
6048 DiagBigDecimal.
6049
6050 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6051
6052 * java/beans/PropertyDescriptor.java
6053 (PropertyDescriptor(String, Class)): Sanity check getter and setter
6054 methods.
6055 (PropertyDescriptor(String, Class, String, String)): Likewise.
6056 (PropertyDescriptor(String, Method, Method): Factor out getter and
6057 setter method sanity checks into new method.
6058 (findMethods): Don't do parameter sanity checking of get method here.
6059 (checkMethods): New method.
6060
6061 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6062
6063 * java/beans/PropertyDescriptor.java: Reformat.
6064
6065 2003-02-04 Tom Tromey <tromey@redhat.com>
6066
6067 * java/io/PipedOutputStream.java (flush): Declare as throwing
6068 IOException.
6069 (close): Likewise.
6070 * java/io/PipedWriter.java (close): Declare as throwing
6071 IOException.
6072 * java/io/StringWriter.java (close): Declare as throwing
6073 IOException.
6074
6075 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6076
6077 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
6078 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
6079 could also have been exported as "JNI_OnLoad@8" (MinGW) or
6080 "_JNI_OnLoad@8" (MSVC).
6081
6082 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6083
6084 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6085 convention on Win32 to invoke native JNI methods.
6086
6087 2003-02-03 Andrew Haley <aph@redhat.com>
6088
6089 * configure.host (x86_64): Enable interpreter.
6090
6091 2003-02-03 Andrew Haley <aph@redhat.com>
6092
6093 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6094 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6095 * configure.in (BACKTRACESPEC): New.
6096 * configure: Regenerate.
6097
6098 2003-02-02 Tom Tromey <tromey@redhat.com>
6099
6100 * configure: Rebuilt.
6101 * configure.in (TOOLKIT) [xlib]: Set correctly.
6102
6103 * Makefile.in: Rebuilt.
6104 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6105 libstdc++.
6106
6107 2003-01-31 Mark WIelaard <mark@klomp.org>
6108
6109 * Makefile.in: Rebuilt.
6110 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6111
6112 2003-01-31 Tom Tromey <tromey@redhat.com>
6113
6114 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6115 cast to element type.
6116 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6117 (_Jv_JNI_GetObjectArrayElement): Likewise.
6118
6119 * Makefile.in: Rebuilt.
6120 * Makefile.am (cond_x_ltlibrary): Renamed library to
6121 lib-gnu-awt-xlib.la.
6122 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6123 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6124 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6125 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6126 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6127 (lib_gnu_awt_xlib_la_LINK): Likewise.
6128 (install-exec-hook): Removed.
6129 (lib-gnu-awt-xlib.la): Renamed.
6130
6131 2003-01-31 Tom Tromey <tromey@redhat.com>
6132
6133 * aclocal.m4, configure, include/config.h.in: Rebuilt.
6134 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6135 aclocal.m4 and lost in some merge.
6136
6137 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6138 Don't try to find graphics configuration.
6139 * java/awt/Toolkit.java (default_toolkit_name): Use new
6140 Configuration entry.
6141 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6142 New global.
6143 * configure: Rebuilt.
6144 * configure.in (TOOLKIT): New subst.
6145 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6146 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
6147 directory. Make output directories for .c files.
6148 * Makefile.in: Rebuilt.
6149 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6150 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6151 (all_java_source_files): Added new sources.
6152 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6153 (gtk_c_files): New macro.
6154 (gtk_c_source_files): New macro.
6155 (cond_gtk_ltlibrary): New macro.
6156 ($(gtk_c_files)): New target.
6157 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6158 (gtk_awt_peer_sources): New macro.
6159 (gtk_c_headers): New macro.
6160 ($(gtk_c_headers)): New target.
6161 (ACLOCAL_AMFLAGS): New macro.
6162 * gtk.m4, glib.m4, libart.m4: New files.
6163 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6164 gnu/java/awt/peer/gtk/GdkGraphics.java,
6165 gnu/java/awt/peer/gtk/GtkArg.java,
6166 gnu/java/awt/peer/gtk/GtkArgList.java,
6167 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6168 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6169 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6170 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6171 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6172 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6173 gnu/java/awt/peer/gtk/GtkClipboard.java,
6174 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6175 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6176 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6177 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6178 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6179 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6180 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6181 gnu/java/awt/peer/gtk/GtkImage.java,
6182 gnu/java/awt/peer/gtk/GtkImagePainter.java,
6183 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6184 gnu/java/awt/peer/gtk/GtkListPeer.java,
6185 gnu/java/awt/peer/gtk/GtkMainThread.java,
6186 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6187 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6188 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6189 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6190 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6191 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6192 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6193 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6194 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6195 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6196 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6197 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6198 gnu/java/awt/peer/gtk/GtkToolkit.java,
6199 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6200 gnu/java/awt/peer/gtk/TestAWT.java,
6201 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6203 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6204 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6205 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6206 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6207 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6208 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6209 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6210 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6211 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6212 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6213 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6214 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6215 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6216 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6217 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6218 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6219 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6220 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6221 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6222 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6223 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6224 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6225 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6226 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6227 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6228 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6229 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6230 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6231 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6232 jni/classpath/native_state.c, jni/classpath/native_state.h,
6233 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6234
6235 2003-01-31 Julian Dolby <dolby@us.ibm.com>
6236
6237 * java/util/Properties.java (load): Ignore backslash before EOF.
6238
6239 2003-01-30 Jeff Sturm <jsturm@one-point.com>
6240
6241 * java/lang/natClass.cc (initializeClass): Check tables when
6242 (state == JV_STATE_IN_PROGRESS).
6243 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6244 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6245 interpreted classes.
6246 (linkClass0): Use _Jv_WaitForState.
6247
6248 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
6249
6250 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6251 object when finished.
6252
6253 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
6254
6255 * libjava/configure.host: Disable can_unwind_signal on darwin.
6256
6257 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
6258
6259 Fixes PR java/9254:
6260 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6261 additionally containing id of the owner thread as well as
6262 the number of nested times the thread has acquired the mutex.
6263 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6264 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6265 (_Jv_MutexUnlock): Check if really the owner thread, reset
6266 owner thread id to 0 before leaving, if leaving for the last
6267 time.
6268 (_Jv_MutexLock): Set owner thread id in the mutex and increment
6269 refcount.
6270 (_Jv_ThreadYield): Yield using a call to Sleep(0).
6271 * win32-threads.cc (_Jv_CondWait): Check if really owner of
6272 the passed mutex.
6273 Pass handle of the broadcast event, instead of a pointer to it
6274 in Win32 ResetEvent( ) call.
6275 Remove incorrect return values.
6276 (_Jv_CondDestroy): Close both event handles and delete
6277 critical section.
6278 (_Jv_CondNotify): Check if really the owner thread.
6279 (_Jv_CondNotifyAll): Check if really the owner thread.
6280 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6281 (really_start): Use SetEvent( ) to signal daemon_cond.
6282 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6283 WaitForSingleObject( ) instead to wait for daemon_cond to be
6284 signalled.
6285
6286 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6287
6288 * configure.in: Specifically define HAVE_BACKTRACE if building
6289 for MinGW.
6290 * include/win32.h: Remove HAVE_BACKTRACE definition.
6291 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6292 * configure: Rebuilt.
6293
6294 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6295
6296 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6297 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6298 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6299 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6300 * Makefile.in, configure: Rebuilt.
6301
6302 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6303
6304 Fixes PR java/9253:
6305 * java/io/natFileWin32.cc (performList): Append only "*.*"
6306 if the canonical file path already has a "\" at the end.
6307
6308 2003-01-24 Tom Tromey <tromey@redhat.com>
6309
6310 * defineclass.cc (handleMethodsEnd): Precompute code for static
6311 method.
6312 (handleCodeAttribute): Likewise.
6313 * resolve.cc (ncode): Use run_class for unsynchronized static
6314 methods.
6315 * include/java-interp.h (class _Jv_InterpMethod): Declare
6316 run_class.
6317 * interpret.cc (run_synch_class): Initialize class.
6318 (run) [insn_invokestatic]: Don't initialize class.
6319 [insn_anewarray]: Likewise.
6320 [insn_multianewarray]: Likewise.
6321 (run_class): New function.
6322
6323 2003-01-24 Tom Tromey <tromey@redhat.com>
6324
6325 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6326 comment.
6327
6328 2003-01-22 Andrew Haley <aph@redhat.com>
6329
6330 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6331 * configure.host (CHECKREFSPEC): Define for x86_64.
6332
6333 2003-01-21 Tom Tromey <tromey@redhat.com>
6334
6335 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6336 search at 2, not 3.
6337
6338 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6339
6340 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6341 looking at any characters.
6342 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6343 be used.
6344 (isAbsolute): Check path's length as well.
6345
6346 2003-01-17 Mark Wielaard <mark@klomp.org>
6347
6348 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6349 (nat_source_files): Add natVMObjectStreamClass.cc.
6350 * Makefile.in: Regenerated.
6351 * gcj/javaprims.h (namespace java): Regenerated.
6352 * java/io/ObjectStreamClass.java (getClassUID): Call
6353 VMObjectStreamClass.hasClassInitializer().
6354 (hasClassInitializer): Removed.
6355 * java/io/VMObjectStreamClass.java: New class.
6356 * java/io/natVMObjectStreamClass.cc: New file.
6357 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6358
6359 2003-01-16 Mark Wielaard <mark@klomp.org>
6360
6361 * java/net/SocketImpl.java (toString): Don't explicitly call
6362 toString() on possible null address.
6363
6364 2003-01-16 Michael Koch <konqueror@gmx.de>
6365
6366 * java/net/MulticastSocket.java
6367 (setInterface): Reindented.
6368
6369 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6370
6371 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6372 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6373 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6374 translateY arguments. Implement.
6375 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6376 down translation arguments.
6377 (drawPolyline, drawPolygon): Fix incorrect tests.
6378 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6379 translateX and translateY arguments.
6380
6381 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6382
6383 * Makefile.in: Rebuilt.
6384 * Makefile.am (xlib_includes): New macro.
6385 (INCLUDES): Use it.
6386
6387 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6388
6389 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6390 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6391 16-bit display mode.
6392
6393 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6394
6395 * java/awt/CardLayout.java (show): Rewrote.
6396 (gotoComponent): Removed `target' argument. Simplified code.
6397 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6398 Changed all callers.
6399 (NONE): Removed.
6400
6401 2003-01-14 Michael Koch <konqueror@gmx.de>
6402
6403 * java/net/InetSocketAddress.java
6404 (serialVersionUID): New member variable.
6405 * java/net/NetPermission.java
6406 (NetPermission): Dont implement java.io.Serialization directly.
6407 * java/net/SocketAddress.java:
6408 (serialVersionUID): Documentation added.
6409
6410 2003-01-14 Michael Koch <konqueror@gmx.de>
6411
6412 * java/awt/Label.java
6413 (Label): Implements javax.accessibility.Accessible;
6414 * java/awt/List.java
6415 (List): Implements javax.accessibility.Accessible;
6416 * java/awt/ScrollPane.java
6417 (ScrollPane): Implements javax.accessibility.Accessible;
6418 * java/awt/Scrollbar.java
6419 (Scrollbar): Implements javax.accessibility.Accessible;
6420 * java/awt/TextComponent.java
6421 (setCaretPosition): Throw exception, documentation added.
6422 * java/awt/Toolkit.java:
6423 Added some newlines in method documentations.
6424 (createButton): Exception documentation added.
6425 (createTextField): Exception documentation added.
6426 (createLabel): Exception documentation added.
6427 (createList): Exception documentation added.
6428 (createCheckbox): Exception documentation added.
6429 (createScrollbar): Exception documentation added.
6430 (createScrollPane): Exception documentation added.
6431 (createTextArea): Exception documentation added.
6432 (createChoice): Exception documentation added.
6433 (createFrame): Exception documentation added.
6434 (createWindow): Exception documentation added.
6435 (createDialog): Exception documentation added.
6436 (createMenuBar): Exception documentation added.
6437 (createMenu): Exception documentation added.
6438 (createMenuItem): Exception documentation added.
6439 (createFileDialog): Exception documentation added.
6440 (createCheckboxMenuItem): Exception documentation added.
6441 (loadSystemColors): Exception documentation added.
6442 (setDynamicLayout): Exception documentation added.
6443 (isDynamicLayoutSet): Exception documentation added.
6444 (isDynamicLayoutActive): Exception documentation added.
6445 (getScreenSize): Exception documentation added.
6446 (getScreenResolution): Exception documentation added.
6447 (getScreenInsets): Exception documentation added.
6448 (getColorModel): Exception documentation added.
6449 (getSystemClipboard): Exception documentation added.
6450 (getSystemSelection): Exception documentation added.
6451 (getMenuShortcutKeyMask): Exception documentation added.
6452 (getSystemEventQueue): Exception documentation added.
6453 * java/awt/Window.java:
6454 Reindented some code.
6455 (Window): Centralized implementation, documentation added.
6456 (finalize): Documentation added.
6457 (hide): Fixed typo in comment.
6458 (getWindowListeners): Documentation added.
6459 * java/awt/color/ColorSpace.java
6460 (toRGB): Documentation added.
6461 * java/awt/color/ICC_ColorSpace.java
6462 (ICC_ColorSpace): Documentation added.
6463 (toRGB): Throw exception, documentation added.
6464 (fromRGB): Throw exception, documentation added.
6465 (toCIEXYZ): Documentation added.
6466 (fromCIEXYZ): Documentation added.
6467 (getMinValue): Documentation added.
6468 (getMaxValue): Documentation added.
6469 * java/awt/geom/Dimension2D.java
6470 (clone): Documentation added.
6471 * java/awt/geom/GeneralPath.java
6472 (clone): Documentation added.
6473 * java/awt/geom/Line2D.java
6474 (clone): Documentation added.
6475 * java/awt/geom/QuadCurve2D.java
6476 (clone): Documentation added.
6477 * java/awt/image/ColorModel.java
6478 (ColorModel): Throw exception, documentation added.
6479 * java/awt/image/ImageFilter.java
6480 (clone): Doesnt throw CloneNotSupportedException.
6481
6482 2003-01-14 Andrew Haley <aph@redhat.com>
6483
6484 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6485 in a try block.
6486
6487 2003-01-10 Andrew Haley <aph@redhat.com>
6488
6489 * include/dwarf2-signal.h: Remove x86_64.
6490 * configure.host (x86_64 DIVIDESPEC): Remove.
6491 * include/x86_64-signal.h: New file.
6492 * configure.in: Regenerate.
6493
6494 2003-01-10 Michael Koch <konqueror@gmx.de>
6495
6496 * java/net/DatagramSocket.java
6497 (ch): Description added.
6498 (remotePort): Initialize with -1.
6499 (connect): Doesnt throws SocketException.
6500 * java/net/MulticastSocket.java
6501 (setInterface): Merge with Classpath.
6502 * java/net/ServerSocket.java
6503 (closed): New member variable.
6504 (bind): Check if socket is closed.
6505 (close): Close an associated channel too, set new value to closed.
6506 (isBound): Reindented.
6507 (isClosed): Implemented.
6508 * java/net/Socket.java
6509 (closed): New member variable.
6510 (bind): Check if socket is closed.
6511 (connect): Check if socket is closed.
6512 (close): Close an associated channel too, set new value to closed.
6513 (isClosed): Implemented.
6514
6515 2003-01-10 Michael Koch <konqueror@gmx.de>
6516
6517 * java/awt/DisplayMode.java
6518 (equals): Fixed argument type and implementation.
6519
6520 2003-01-07 Tom Tromey <tromey@redhat.com>
6521
6522 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6523 JV_HASH_SYNCHRONIZATION.
6524 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6525 JV_HASH_SYNCHRONIZATION.
6526
6527 2003-01-07 Michael Koch <konqueror@gmx.de>
6528
6529 * java/net/DatagramSocket.java:
6530 Added classpath license info.
6531 (DatagramSocket): Merged description with classpath.
6532 (close): Merged description with classpath.
6533 (getChannel): Merged description with classpath.
6534 (getInetAddress): Merged description with classpath.
6535 (getPort): Merged description with classpath.
6536 (getLocalAddress): Merged description with classpath.
6537 (getLocalPort): Merged description with classpath.
6538 (getSoTimeout): Merged description with classpath.
6539 (setSoTimeout): Merged description with classpath.
6540 (getSendBufferSize): Merged description with classpath.
6541 (setSendBufferSize): Merged description with classpath.
6542 (getReceiveBufferSize): Merged description with classpath.
6543 (setReceiveBufferSize): Merged description with classpath.
6544
6545 2003-01-04 Tom Tromey <tromey@redhat.com>
6546
6547 * java/awt/List.java: Merged with Classpath.
6548
6549 2003-01-03 Mark Wielaard <mark@klomp.org>
6550
6551 * java/io/FileDescriptor.java (position): New private field.
6552 * java/io/natFileDescriptorPosix.cc (write): Up position.
6553 (setLength): Use and set position.
6554 (seek): Set position.
6555 (getFilePointer): Return position.
6556 (read): Up position.
6557
6558 2003-01-03 Mark Wielaard <mark@klomp.org>
6559
6560 Merge with Classpath:
6561 * java/io/ObjectStreamClass.java (lookup): Split method and call
6562 lookupForClassObject().
6563 (lookupForClassObject): New method.
6564 (isProxyClass): New field.
6565 (setClass): Set isProxyClass, add object to classLookupTable, set
6566 superClass and calculateOffsets.
6567 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6568 and not a proxy class.
6569 (setFields): Set accessible true for serialPersistentFields.
6570 (getClassUID): Same for suid. And check if suid is of type long.
6571 (hasClassInitializer): Don't throw NoSuchMethodError.
6572
6573 2003-01-03 Mark Wielaard <mark@klomp.org>
6574
6575 * java/io/FileInputStream.java (finalize): Don't explicitly
6576 finalize FileDescriptor.
6577
6578 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6579
6580 * configure.host (sparc*-*): Enable bytecode interpreter.
6581
6582 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6583
6584 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6585 Don't throw RemoteException.
6586 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6587 throw RemoteException.
6588
6589 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6590
6591 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6592 proxyHost): New static fields.
6593 (<clinit>): Initialize new fields.
6594 (connect): Use proxy if necessary.
6595 (usingProxy): Implement.
6596
6597 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6598
6599 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6600 (TreeIterator.remove): Prefer IllegalStateException over
6601 ConcurrentModificationException, to match Sun.
6602
6603 2002-12-22 Anthony Green <green@redhat.com>
6604
6605 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6606
6607 2003-01-02 Mark Wielaard <mark@klomp.org>
6608
6609 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6610 public.
6611 (HTTP_USE_PROXY): Add field.
6612 (getResponseVals): Only set responseCode when not yet explicitly
6613 set by subclass.
6614
6615 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6616 Mark Wielaard <mark@klomp.org>
6617
6618 * java/util/zip/ZipFile.java (entries): Now HashMap.
6619 (readLeShort(DataInput, byte[])): Read from given byte array.
6620 (readLeInt(DataInput, byte[]): Likewise.
6621 (readLeShort(byte[] b, int off)): New method.
6622 (readLeInt(byte[] b, int off)): Likewise.
6623 (readEntries): Use byte arrays to read info in bigger chunks.
6624 (getEntries): Return HashMap.
6625 (getEntry): Use HashMap.
6626 (locBuf): New private field.
6627 (checkLocalHeader): Use locBuf to read info in one chunk.
6628 (getInputStream): Use entries HashMap, wrap PartialInputStream
6629 in BufferedInputStream.
6630 (ZipEntryEnumeration): Use HashMap and Interator.
6631
6632 2003-01-02 Mark Wielaard <mark@klomp.org>
6633 Jeroen Frijters <jeroen@sumatra.nl>
6634
6635 * java/net/URLClassLoader.java (Resource.getCodeSource):
6636 Fix check certs == null.
6637 (getCanonicalFileURL): Removed method.
6638 (JarURLLoader): Don't call removed method.
6639 (FileURLLoader): Likewise.
6640 (FileURLLoader.getResource): Don't canonicalize file name.
6641
6642 2003-01-01 Tom Tromey <tromey@redhat.com>
6643
6644 * Makefile.in: Rebuilt.
6645 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6646 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6647 java/awt/BufferCapabilities.java, java/awt/Button.java,
6648 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6649 java/awt/Container.java, java/awt/Cursor.java,
6650 java/awt/EventQueue.java, java/awt/FileDialog.java,
6651 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6652 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6653 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6654 java/awt/Scrollbar.java, java/awt/TextArea.java,
6655 java/awt/TextField.java, java/awt/color/CMMException.java,
6656 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6657 java/awt/color/ProfileDataException.java,
6658 java/awt/datatransfer/Clipboard.java,
6659 java/awt/datatransfer/DataFlavor.java,
6660 java/awt/datatransfer/FlavorMap.java,
6661 java/awt/datatransfer/SystemFlavorMap.java,
6662 java/awt/dnd/DragGestureEvent.java,
6663 java/awt/dnd/DragGestureRecognizer.java,
6664 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6665 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6666 java/awt/im/InputMethodHighlight.java,
6667 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6668 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6669
6670 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6671 `op' to BufferedImageOp.
6672
6673 2002-12-31 Tom Tromey <tromey@redhat.com>
6674
6675 Fix for PR libgcj/7416:
6676 * javax/naming/InitialContext.java (init): Use
6677 gnu.classpath.home.url.
6678 * java/security/Security.java: Use new properties.
6679 (loadProviders): Accept base url; use it.
6680 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6681 gnu.classpath.home.url.
6682 (gnu.classpath.home.url): Define.
6683 (gnu.classpath.vm.shortname): Likewise.
6684
6685 2002-12-31 Tom Tromey <tromey@redhat.com>
6686 Ranjit Mathew <rmathew@hotmail.com>
6687
6688 Fix for PR libgcj/8997:
6689 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6690 Include platform.h.
6691 * include/posix.h (_Jv_platform_usleep): New function.
6692 * include/win32.h (_Jv_platform_usleep): New function.
6693
6694 2002-12-29 Tom Tromey <tromey@redhat.com>
6695
6696 * gcj/javaprims.h: Updated.
6697 * scripts/classes.pl (scan): Removed stray semicolon.
6698
6699 2002-12-30 Mark Wielaard <mark@klomp.org>
6700
6701 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6702 if zero or smaller.
6703
6704 2002-12-30 Mark Wielaard <mark@klomp.org>
6705
6706 * java/util/Properties (formatForOutput): Don't fall through to
6707 default case after escaping character.
6708
6709 2002-12-30 Mark Wielaard <mark@klomp.org>
6710
6711 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6712 against count.
6713
6714 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6715
6716 * boehm.cc: Remove stray semicolon.
6717 * interpret.cc: Likewise.
6718 * prims.cc: Likewise.
6719 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6720 earlier to ensure default arguments are processed.
6721 * gcj/array.h (JArray): Add forward declaration.
6722 (elements): Likewise.
6723 * gcj/javaprim.h: Remove stray semicolons.
6724 * include/bohm-gc.h: Likewise.
6725 * include/jni.h: Likewise.
6726 * include/jvm.h: Likewise.
6727 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6728
6729 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6730
6731 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6732 of catch_type.
6733 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6734 idt tables after initializing superclass.
6735 * java/lang/natClassLoader.cc (uaddr): New typedef.
6736 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6737 if they are constant pool indicies. Don't link vtable, otable yet.
6738
6739 2002-12-21 Anthony Green <green@redhat.com>
6740
6741 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6742 libraries.
6743 * Makefile.in: Rebuilt.
6744
6745 2002-12-19 Anthony Green <green@redhat.com>
6746
6747 * Makefile.am (ordinary_java_source_files): Add
6748 org/xml/sax/helpers/NewInstance.java.
6749 * Makefile.in: Rebuilt.
6750 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6751 org/xml/sax/helpers/package.html: New files.
6752 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6753 http://www.saxproject.org.
6754
6755 2002-12-19 Andrew Haley <aph@redhat.com>
6756
6757 * java/util/natResourceBundle.cc: Include
6758 ArrayIndexOutOfBoundsException.h.
6759 (getCallingClassLoader): Don't put upper bound on stack search.
6760 Catch ArrayIndexOutOfBoundsException.
6761
6762 2002-12-19 Tom Tromey <tromey@redhat.com>
6763
6764 * libtool-version: Increased `current'.
6765
6766 2002-12-19 Tom Tromey <tromey@redhat.com>
6767
6768 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6769 comment.
6770 * java/lang/ClassLoader.java (defineClass): Use chained
6771 exception when rethrowing.
6772 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6773 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6774 constants.
6775 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6776 (_Jv_PrepareClass): Use it.
6777 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6778 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6779 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6780 (Class): _Jv_PrepareMissingMethods now friend.
6781 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6782 Record `NULL' for system class loader.
6783 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6784 system class loader.
6785 (_Jv_FindClassInCache): Likewise.
6786 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6787 (_Jv_FindClass): Special case system class loader.
6788 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6789 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6790 vtable slots.
6791 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6792 in a final class.
6793 (_getDeclaredMethod): Don't return synthetic methods.
6794 (getDeclaredMethods): Likewise.
6795 (_getMethod): Likewise.
6796 (_getMethods): Likewise.
6797
6798 2002-12-18 Raif Naffah <raif@fl.net.au>
6799
6800 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6801 canonical form after divide().
6802 (modInverse): Likewise.
6803
6804 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6805 Mark Wielaard <mark@klomp.org>
6806
6807 * java/security/SecurityRandom (digest): Removed field.
6808 (SecureRandom): Check all providers for case-insensitive SecureRandom
6809 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6810 if necessary.
6811 (getInstance(String,Provider,boolean): New method.
6812 (getInstance(String)): Use new method.
6813 (getInstance(String,String)): Likewise.
6814 (getInstance(String,Provider)): Likewise.
6815
6816 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6817
6818 * java/security/Security.java (loadProviders): Increment i only once.
6819
6820 2002-12-12 Mark Wielaard <mark@klomp.org>
6821
6822 * java/lang/ClassLoader.java (resolveClass0): Transform
6823 ClassNotFoundException to NoClassDefFoundError. Transform all other
6824 throwables to LinkageError.
6825
6826 2002-12-11 Tom Tromey <tromey@redhat.com>
6827
6828 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6829
6830 * java/lang/ClassLoader.java (loadedClasses): New field.
6831 (defineClass): Fixed indentation. Put new class in
6832 loadedClasses.
6833 (findLoadedClass): Implement here.
6834 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6835
6836 2002-12-10 Tom Tromey <tromey@redhat.com>
6837
6838 * Makefile.in: Rebuilt.
6839 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6840 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6841 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6842 * java/lang/natClassLoader.cc
6843 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6844
6845 2002-12-10 Mark Wielaard <mark@klomp.org>
6846 Tom Tromey <tromey@redhat.com>
6847
6848 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6849 (JarURLLoader): Use it.
6850 (FileURLLoader): Likewise.
6851 (JarURLResource.getURL): Use chained exception.
6852 (FileResource.getURL): Likewise.
6853 (FileURLLoader.getResource): Use canonical file name.
6854 (addURL): Indentation fix.
6855
6856 2002-12-10 Tom Tromey <tromey@redhat.com>
6857
6858 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6859 From Laurent Bardet <l.bardet@magic.fr>.
6860
6861 2002-12-09 Tom Tromey <tromey@redhat.com>
6862
6863 * include/win32.h (_Jv_platform_solib_prefix): New define.
6864 (_Jv_platform_solib_suffix): Likewise.
6865 * include/posix.h (_Jv_platform_solib_prefix): New define.
6866 (_Jv_platform_solib_suffix): Likewise.
6867 * java/lang/natRuntime.cc: Include StackTrace.h.
6868 (_load): Use findLibrary and new platform defines.
6869 (nativeGetLibname): Use new platform defines.
6870
6871 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6872 `t' won't be null.
6873
6874 2002-12-08 Mark Wielaard <mark@klomp.org>
6875
6876 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6877 cache remote jar files.
6878 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6879 add File.separator to URL when it is a directory.
6880 * java/lang/ClassLoader.java: Add Classpath javadoc.
6881 (parent): final.
6882 (getParent): Add (disabled) security check.
6883 (findLibrary): New default method.
6884 * java/net/JarURLConnection.java (getManifest): Implement.
6885 (getInputStream): Only create InputStream when entry exists.
6886 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6887 when they exist.
6888 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6889
6890 2002-12-08 Mark Wielaard <mark@klomp.org>
6891
6892 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6893 (lastDefaultLocale): New field.
6894 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6895 resourceBundleCache.
6896
6897 2002-12-06 Mark Wielaard <mark@klomp.org>
6898
6899 * java/net/InetAddress.java (toString): Use hostname when not null,
6900 don't do an explicit reverse getHostName() lookup.
6901 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6902 NullPointerException.
6903
6904 2002-12-06 Tom Tromey <tromey@redhat.com>
6905
6906 * include/java-interp.h (class _Jv_InterpMethod): Added
6907 JV_MARKOBJ_DECL.
6908 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6909 mark `prepared' field of interpreted method.
6910 * interpret.cc (compile): Use _Jv_AllocBytes.
6911
6912 2002-12-05 Andrew Haley <aph@redhat.com>
6913
6914 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6915 #ifdef (HAVE_BACKTRACE) around the whole function body.
6916
6917 2002-12-05 Tom Tromey <tromey@redhat.com>
6918
6919 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6920 * resolve.cc: Don't include AbstractMethodError.h.
6921 (_Jv_abstractMethodError): Removed.
6922 * defineclass.cc (handleMethodsBegin): Initialize method index to
6923 -1.
6924 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6925 method index for "new" final method.
6926 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6927 isVirtualMethod. Added `flags' argument.
6928 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6929 class.
6930
6931 2002-12-04 Tom Tromey <tromey@redhat.com>
6932
6933 * java/net/SocketPermission.java (hashCode): Rewrote.
6934
6935 2002-12-04 Tom Tromey <tromey@redhat.com>
6936
6937 * Makefile.in: Rebuilt.
6938 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6939 natResourceBundle.
6940 * java/util/ResourceBundle.java (Security): Removed.
6941 (getCallingClassLoader): Now native.
6942 * java/util/natResourceBundle.cc: New file.
6943 * java/lang/natVMSecurityManager.cc: New file.
6944 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6945
6946 2002-12-03 Mark Wielaard <mark@klomp.org>
6947
6948 * java/util/jar/JarFile.java (manifest): Not final.
6949 (manifestRead): New field.
6950 (JarFile): Don't read Manifest in constructor.
6951 (getManifest): New method.
6952 (JarEnumeration.nextElement): Use new method.
6953 (getEntry): Likewise.
6954 * java/util/zip/ZipFile.java (name): Final.
6955 (raf): Likewsie.
6956 (entries): Change type to Hashtable.
6957 (closed): New field.
6958 (ZipFile): Don't read enties in constructor.
6959 (readEntries): Use Hashtable.
6960 (close): Set new close flag and set entries to null inside
6961 synchronized block.
6962 (entries): Contruct enumeration using new getEntries() method and
6963 entries Hashtable.
6964 (getEntryIndex): Removed.
6965 (getEntries): New method.
6966 (getEntry): Use new getEntries() method and entries Hastable.
6967 (getInputStream): Likewise.
6968 (size): Return getEntries().size().
6969 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6970 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6971 (time): Removed
6972 (dostime): New field.
6973 (zipFileIndex): Removed.
6974 (ZipEntry(ZipEntry)): Copy dostime.
6975 (setDOSTime): Now final and doesn't convert dos time.
6976 (getDOSTime): Likewise.
6977 (setTime): Convert dos time.
6978 (getTime): Likewise.
6979 (getCalendar): New method.
6980 (setExtra): Use setTime().
6981 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6982
6983 2002-12-03 Tom Tromey <tromey@redhat.com>
6984
6985 * java/lang/Character.java (forDigit): Formatting fix.
6986
6987 2002-12-03 Raif Naffah <raif@fl.net.au>
6988
6989 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6990 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6991 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6992
6993 2002-12-03 Andrew Haley <aph@redhat.com>
6994
6995 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6996 _Jv_PushClass.
6997 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6998 (_Jv_PopClass): New.
6999 (_Jv_PushClass): New.
7000 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
7001 discover the ClassLoader of our caller.
7002 (_Jv_CheckArrayStore): Don't check that a class is assignment
7003 compatible with Object.
7004 * java/lang/natVMTHrowable.cc: Delete.
7005 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
7006 java.lang.VMThrowable.
7007 (StackTrace(), StackTrace(int)): New constructors.
7008 (classAt, methodAt, update, methodAtAddress): New methods.
7009 (map): New field.
7010 * java/lang/VMThrowable.java: Use StackTrace instead of
7011 natVMTHrowable.
7012 * java/lang/Class.h (getClassLoaderInternal): New.
7013 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
7014 Be friendly with gnu::gcj::runtime::StackTrace.
7015 (Object.chain): New field.
7016 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
7017 gnu::gcj::runtime::StackTrace.
7018 * gnu/gcj/runtime/natStackTrace.cc: New file.
7019 * gnu/gcj/runtime/MethodRef.java: New file.
7020 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
7021 instead of getClassLoader().
7022 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
7023 java::lang::VMThrowable.
7024 * Makefile.am (core_java_source_files): Add MethodRef.java,
7025 StackTrace.java.
7026 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
7027 * Makefile.in: Rebuild.
7028
7029 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
7030
7031 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
7032 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
7033 yes also for sh-linux* and sh[34]*-linux*.
7034 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
7035 set SIGNAL_HANDLER to use DWARF2 exception for them.
7036 * configure: Regenerate.
7037
7038 2002-12-02 Tom Tromey <tromey@redhat.com>
7039
7040 * jni.cc: Added `name' argument.
7041 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
7042 `const char *' argument.
7043 (class _Jv_JNIEnv) [DefineClass]: Likewise.
7044
7045 2002-12-01 Tom Tromey <tromey@redhat.com>
7046
7047 Bug compatibility, for PR libgcj/8738:
7048 * java/io/CharArrayWriter.java (close): Do nothing.
7049 (flush): Likewise.
7050 (reset): Don't touch `closed'.
7051 (write(int)): Don't throw IOException.
7052 (write(char[],int,int)): Likewise.
7053 (write(String,int,int)): Likewise.
7054 (closed): Removed.
7055
7056 2002-12-01 Mark Wielaard <mark@klomp.org>
7057
7058 * java/lang/SecurityManager.java: Remerge comments, indenting and
7059 checkXXX methods with Classpath.
7060
7061 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
7062
7063 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
7064 getNormalizedComponents): Fix calculation which was using one too
7065 many bits in the unnormalized format.
7066
7067 2002-11-29 Gary Benson <gbenson@redhat.com>
7068
7069 For PR libgcj/8759:
7070 * java/beans/Introspector.java (flushCaches): New method.
7071 (flushFromCaches): Likewise.
7072
7073 2002-11-29 Michael Koch <konqueror@gmx.de>
7074
7075 * java/nio/channels/DatagramChannel.java
7076 (open): Added exception documentation.
7077 (write): Added exception documentation.
7078 (connect): Added exception documentation.
7079 (disconnect): Added exception documentation.
7080 (isConnected): Added exception documentation.
7081 (read): Added exception documentation.
7082 (receive): Added exception documentation.
7083 (send): Added exception documentation.
7084 (validOps): Added exception documentation.
7085 * java/nio/channels/SocketChannel.java
7086 (open): Added exception documentation.
7087 (read): Added exception documentation.
7088 (write): Added exception documentation.
7089 (connect): Added exception documentation.
7090 (finishConnect): Added exception documentation.
7091
7092 2002-11-29 Michael Koch <konqueror@gmx.de>
7093
7094 * gnu/java/nio/DatagramChannelImpl:
7095 (fd): New member variable to store file descriptor of socket.
7096 * gnu/java/nio/SelectionKeyImpl.java:
7097 (ops): Removed.
7098 (readyOps): New member variable.
7099 (interestOps): New member variable.
7100 (readyOps): Implemented.
7101 (readyOps): New method to set member variable readyOps.
7102 (interestOps): Replaced ops by interestOps.
7103 * gnu/java/nio/SelectorImpl.java:
7104 (SelectorImpl): Initialize key sets.
7105 (select): Call select with -1 instead of Long.MAX_VALUE).
7106 (java_do_select): Make it a native method.
7107 (getFDsAsArray): New helper method.
7108 (select): Remove canceled keys, give only interested file discriptors
7109 to java_do_select, set ready ops.
7110 (add): No need to initialize keys set here.
7111 (add_selected): No need to initialize selected set here.
7112 (deregisterCanceledKeys): New helper method.
7113 (register): Set interest ops, set attachments, added handling of datagram
7114 channels.
7115 * gnu/java/nio/ServerSocketChannelImpl:
7116 (SocketAccept): Renamed from NioSocketAccept.
7117 (implConfigureBlocking): Implemented.
7118 (accept): Use SocketAccept instead of NioSocketAccept.
7119 * gnu/java/nio/SocketChannelImpl:
7120 Reactivate native methods.
7121
7122 2002-11-29 Michael Koch <konqueror@gmx.de>
7123
7124 * gnu/java/nio/natByteBufferImpl.cc,
7125 gnu/java/nio/natCharBufferImpl.cc,
7126 gnu/java/nio/natDoubleBufferImpl.cc,
7127 gnu/java/nio/natFloatBufferImpl.cc,
7128 gnu/java/nio/natIntBufferImpl.cc,
7129 gnu/java/nio/natLongBufferImpl.cc,
7130 gnu/java/nio/natSelectorImpl.cc,
7131 gnu/java/nio/natServerSocketChannelImpl.cc,
7132 gnu/java/nio/natShortBufferImpl.cc,
7133 gnu/java/nio/natSocketChannelImpl.cc:
7134 New files that implement native functionalities.
7135
7136 2002-11-29 Michael Koch <konqueror@gmx.de>
7137
7138 * gnu/java/nio/ByteBufferImpl.java
7139 (ByteBufferImpl): Moved position() after limit.
7140 (nio_*): Use native implementation.
7141 * gnu/java/nio/CharBufferImpl.java:
7142 Reformated.
7143 (endian): New member variable string endianess of buffer.
7144 (CharBufferImpl): Moved position() after limit.
7145 (nio_*): Use native implementation.
7146 (subSequence): Implemented.
7147 * gnu/java/nio/DoubleBufferImpl.java
7148 (DoubleBufferImpl): Moved position() after limit.
7149 (nio_*): Use native implementation.
7150 * gnu/java/nio/FloatBufferImpl.java
7151 Reformated.
7152 (FloatBufferImpl): Moved position() after limit.
7153 (nio_*): Use native implementation.
7154 * gnu/java/nio/IntBufferImpl.java
7155 Added needed imports, Reformated.
7156 (IntBufferImpl): Moved position() after limit.
7157 (nio_*): Use native implementation.
7158 * gnu/java/nio/LongBufferImpl.java
7159 Reformated.
7160 (LongBufferImpl): Moved position() after limit.
7161 (nio_*): Use native implementation.
7162 * gnu/java/nio/ShortBufferImpl.java
7163 Reformated.
7164 (ShortBufferImpl): Moved position() after limit.
7165 (nio_*): Use native implementation.
7166
7167 2002-11-27 Julian Dolby <dolby@us.ibm.com>
7168
7169 * java/util/Locale.java (toString): Improve efficiency if country
7170 and variant are both empty.
7171
7172 2002-11-26 Tom Tromey <tromey@redhat.com>
7173
7174 * verify.cc (pop_init_ref): New method.
7175 (verify_instructions_0) [op_iaload, op_laload, op_faload,
7176 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7177 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7178 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7179 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7180 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7181 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
7182 let `this' argument be uninitialized. Don't let `null' be passed
7183 as `this' to construtor.
7184
7185 2002-11-26 Mark Wielaard <mark@klomp.org>
7186
7187 * javax/transaction/HeuristicCommitException.java: Classpath merge.
7188 * javax/transaction/HeuristicMixedException.java: Likewise.
7189 * javax/transaction/HeuristicRollbackException.java: Likewise.
7190 * javax/transaction/InvalidTransactionException.java: Likewise.
7191 * javax/transaction/NotSupportedException.java: Likewise.
7192 * javax/transaction/RollbackException.java: Likewise.
7193 * javax/transaction/Status.java: Likewise.
7194 * javax/transaction/Synchronization.java: Likewise.
7195 * javax/transaction/SystemException.java: Likewise.
7196 * javax/transaction/Transaction.java: Likewise.
7197 * javax/transaction/TransactionManager.java: Likewise.
7198 * javax/transaction/TransactionRequiredException.java: Likewise.
7199 * javax/transaction/TransactionRolledbackException.java: Likewise.
7200 * javax/transaction/UserTransaction.java: Likewise.
7201 * javax/transaction/xa/XAException.java: Likewise.
7202 * javax/transaction/xa/XAResource.java: Likewise.
7203 * javax/transaction/xa/Xid.java: Likewise.
7204
7205 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
7206
7207 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7208 define.
7209 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7210 * include/posix.h (socklen_t): Define if not already defined.
7211
7212 2002-11-25 Tom Tromey <tromey@redhat.com>
7213
7214 * verify.cc (type::compatible): Backed out broken change.
7215
7216 * verify.cc (type::compatible): Check initialization status
7217 first.
7218 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7219 Don't use NULLCHECK.
7220
7221 2002-11-23 H.J. Lu <hjl@gnu.org>
7222
7223 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7224 Include ../config/accross.m4.
7225 * aclocal.m4; Rebuild.
7226 * configure: Likewise.
7227
7228 2002-11-23 Mark Wielaard <mark@klomp.org>
7229
7230 * javax/naming/AuthenticationException.java: Update copyright header.
7231 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7232 * javax/naming/Binding.java: Likewise.
7233 * javax/naming/CannotProceedException.java: Likewise.
7234 * javax/naming/CommunicationException.java: Likewise.
7235 * javax/naming/CompositeName.java: Likewise.
7236 * javax/naming/CompoundName.java: Likewise.
7237 * javax/naming/ConfigurationException.java: Likewise.
7238 * javax/naming/Context.java: Likewise.
7239 * javax/naming/ContextNotEmptyException.java: Likewise.
7240 * javax/naming/InitialContext.java: Likewise.
7241 * javax/naming/InsufficientResourcesException.java: Likewise.
7242 * javax/naming/InterruptedNamingException.java: Likewise.
7243 * javax/naming/LimitExceededException.java: Likewise.
7244 * javax/naming/LinkException.java: Likewise.
7245 * javax/naming/LinkLoopException.java: Likewise.
7246 * javax/naming/LinkRef.java: Likewise.
7247 * javax/naming/MalformedLinkException.java: Likewise.
7248 * javax/naming/NameAlreadyBoundException.java: Likewise.
7249 * javax/naming/NameClassPair.java: Likewise.
7250 * javax/naming/NameNotFoundException.java: Likewise.
7251 * javax/naming/NameParser.java: Likewise.
7252 * javax/naming/NamingEnumeration.java: Likewise.
7253 * javax/naming/NamingSecurityException.java: Likewise.
7254 * javax/naming/NoInitialContextException.java: Likewise.
7255 * javax/naming/NoPermissionException.java: Likewise.
7256 * javax/naming/NotContextException.java: Likewise.
7257 * javax/naming/OperationNotSupportedException.java: Likewise.
7258 * javax/naming/PartialResultException.java: Likewise.
7259 * javax/naming/Reference.java: Likewise.
7260 * javax/naming/Referenceable.java: Likewise.
7261 * javax/naming/ReferralException.java: Likewise.
7262 * javax/naming/ServiceUnavailableException.java: Likewise.
7263 * javax/naming/SizeLimitExceededException.java: Likewise.
7264 * javax/naming/TimeLimitExceededException.java: Likewise.
7265 * javax/naming/directory/Attribute.java: Likewise.
7266 * javax/naming/directory/AttributeInUseException.java: Likewise.
7267 * javax/naming/directory/AttributeModificationException.java: Likewise.
7268 * javax/naming/directory/Attributes.java: Likewise.
7269 * javax/naming/directory/BasicAttribute.java: Likewise.
7270 * javax/naming/directory/BasicAttributes.java: Likewise.
7271 * javax/naming/directory/DirContext.java: Likewise.
7272 * javax/naming/directory/InitialDirContext.java: Likewise.
7273 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7274 Likewise.
7275 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7276 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7277 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7278 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7279 * javax/naming/directory/ModificationItem.java: Likewise.
7280 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7281 * javax/naming/directory/SchemaViolationException.java: Likewise.
7282 * javax/naming/directory/SearchControls.java: Likewise.
7283 * javax/naming/directory/SearchResult.java: Likewise.
7284 * javax/naming/event/EventContext.java: Likewise.
7285 * javax/naming/event/EventDirContext.java: Likewise.
7286 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7287 * javax/naming/event/NamingEvent.java: Likewise.
7288 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7289 * javax/naming/event/NamingListener.java: Likewise.
7290 * javax/naming/event/ObjectChangeListener.java: Likewise.
7291 * javax/naming/ldap/Control.java: Likewise.
7292 * javax/naming/ldap/ControlFactory.java: Likewise.
7293 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7294 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7295 * javax/naming/ldap/HasControls.java: Likewise.
7296 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7297 * javax/naming/ldap/LdapContext.java: Likewise.
7298 * javax/naming/ldap/LdapReferralException.java: Likewise.
7299 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7300 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7301 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7302 * javax/naming/spi/DirObjectFactory.java: Likewise.
7303 * javax/naming/spi/DirStateFactory.java: Likewise.
7304 * javax/naming/spi/DirectoryManager.java: Likewise.
7305 * javax/naming/spi/InitialContextFactory.java: Likewise.
7306 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7307 * javax/naming/spi/NamingManager.java: Likewise.
7308 * javax/naming/spi/ObjectFactory.java: Likewise.
7309 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7310 * javax/naming/spi/ResolveResult.java: Likewise.
7311 * javax/naming/spi/Resolver.java: Likewise.
7312 * javax/naming/spi/StateFactory.java: Likewise.
7313
7314 * javax/naming/spi/NamingManager.java (ofb): Package private.
7315
7316 2002-11-21 Mark Wielaard <mark@klomp.org>
7317
7318 * java/net/URL.java: Merge with Classpath (partly).
7319 * java/net/URLStreamHandler: Merge with Classpath.
7320
7321 2002-11-22 Michael Koch <konqueror@gmx.de>
7322
7323 * include/posix.h:
7324 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7325 * include/win32.h:
7326 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7327 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7328
7329 2002-11-21 Michael Koch <konqueror@gmx.de>
7330
7331 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7332 Only the new network functions should be in it.
7333
7334 2002-11-21 Michael Koch <konqueror@gmx.de>
7335
7336 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7337 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7338
7339 2002-11-21 Michael Koch <konqueror@gmx.de>
7340
7341 * java/nio/channels/AsynchronousCloseException.java,
7342 java/nio/channels/CancelledKeyException.java,
7343 java/nio/channels/ClosedByInterruptException.java,
7344 java/nio/channels/ConnectionPendingException.java,
7345 java/nio/channels/FileLockInterruptionException.java,
7346 java/nio/channels/IllegalSelectorException.java,
7347 java/nio/channels/NoConnectionPendingException.java,
7348 java/nio/channels/NonReadableChannelException.java,
7349 java/nio/channels/NonWritableChannelException.java,
7350 java/nio/channels/NotYetBoundException.java,
7351 java/nio/channels/NotYetConnectedException.java,
7352 java/nio/channels/OverlappingFileLockException.java,
7353 java/nio/channels/UnresolvedAddressException.java,
7354 java/nio/channels/UnsupportedAddressTypeException.java:
7355 New files.
7356 * Makefile.am (ordinary_java_source_files): Added new files.
7357 * Makefile.in: Regenerated.
7358
7359 2002-11-21 Michael Koch <konqueror@gmx.de>
7360
7361 * include/posix.h
7362 (_Jv_socket): New method.
7363 (_Jv_connect): New method.
7364 (_Jv_close): New method.
7365 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7366 (_Jv_bind): New method.
7367 (_Jv_listen): New method.
7368 (_Jv_write): New method.
7369 (_Jv_read): New method.
7370 * include/win32.h
7371 (_Jv_socket): New method.
7372 (_Jv_connect): New method.
7373 (_Jv_close): New method.
7374 (_Jv_bind): New method.
7375 (_Jv_listen): New method.
7376 (_Jv_write): New method.
7377 (_Jv_read): New method.
7378 * java/net/natNetworkInterface.cc:
7379 Include platform.h, removed inclusion of socket.h
7380 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7381 ::close() by _Jv_close().
7382 * java/net/natPlainDatagramSocketImpl.cc:
7383 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7384 added some new lines to make code more readable.
7385 (create): Replaced ::socket() by _Jv_socket().
7386 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7387 * java/net/natPlainSocketImpl.cc:
7388 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7389 removed include of socket.h, removed some windows defines
7390 (now in include/win32.h).
7391 (create): Replaced ::socket() by _Jv_socket().
7392 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7393 (write): Replaced ::read by _Jv_write().
7394 (read): Replaced ::read by _Jv_read().
7395
7396 2002-11-20 Michael Koch <konqueror@gmx.de>
7397
7398 * Makefile.am (ordinary_java_source_files):
7399 Added java/nio/channels/FileChannel.java.
7400 * Makefile.in: Regenerated.
7401
7402 2002-11-20 Michael Koch <konqueror@gmx.de>
7403
7404 * java/io/FileInputStream.java
7405 (getChannel): New method.
7406 * java/io/FileOutputStream.java
7407 (getChannel): New method.
7408 * java/net/ServerSocket.java
7409 (bind): Removed duplicate code and called another bind method instead.
7410 * java/nio/channels/SelectionKey.java
7411 (isValid): Removed wrong exception documentation.
7412 * java/nio/channels/ServerSocketChannel.java
7413 (accept): Added exception documentation.
7414 (open): Fixed typo, added exception documentation.
7415 * java/nio/channels/spi/AbstractSelectableChannel.java
7416 (implCloseChannel): Added exception documentation.
7417 (add): Reformated.
7418 (register): Added exception documentation.
7419
7420 2002-11-20 Andreas Jaeger <aj@suse.de>
7421
7422 * configure: Regenerated with new libtool.m4.
7423
7424 2002-11-19 Tom Tromey <tromey@redhat.com>
7425
7426 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7427 `referent'.
7428 (finalize_referred_to_object): Don't modify `referent' or `copy'
7429 fields.
7430 (add_to_hash): Correctly set `n->next' when updating list.
7431 * java/lang/ref/Reference.java (enqueue): Return false if already
7432 enqueued.
7433
7434 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7435
7436 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7437 to function and function pointer declarations in accordance with
7438 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7439 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7440 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7441 JNI function definitions.
7442
7443 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7444
7445 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7446 that was causing CoderResults to be cached, not WeakReferences
7447 to CoderResults.
7448
7449 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7450
7451 * java/security/KeyStore.java (getInstance): Fix
7452 comment and throw IllegalArgumentException if
7453 given provider is null.
7454 (getInstance): New method for jdk1.4 compatibility.
7455
7456 2002-11-18 Michael Koch <konqueror@gmx.de>
7457
7458 * java/net/PlainSocketImpl.java: Fix imports.
7459
7460 2002-11-18 Michael Koch <konqueror@gmx.de>
7461
7462 * java/nio/channels/SelectionKey.java
7463 (isValid): Added exception documentation.
7464 * java/nio/channels/Selector.java
7465 (open): Declare "throws IOException".
7466
7467 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7468
7469 * java/nio/charset/Charset.java
7470 (<clinit>): New method.
7471 (encode): Synchronize use of cached encoder object.
7472 (decode): Synchronize use of cached encoder object.
7473
7474 2002-11-18 Michael Koch <konqueror@gmx.de>
7475
7476 * gnu/java/nio/ByteBufferImpl.java,
7477 gnu/java/nio/CharBufferImpl.java,
7478 gnu/java/nio/DatagramChannelImpl.java,
7479 gnu/java/nio/DoubleBufferImpl.java,
7480 gnu/java/nio/FileChannelImpl.java,
7481 gnu/java/nio/FloatBufferImpl.java,
7482 gnu/java/nio/IntBufferImpl.java,
7483 gnu/java/nio/LongBufferImpl.java,
7484 gnu/java/nio/PipeImpl.java,
7485 gnu/java/nio/SelectionKeyImpl.java,
7486 gnu/java/nio/SelectorImpl.java,
7487 gnu/java/nio/SelectorProviderImpl.java,
7488 gnu/java/nio/ServerSocketChannelImpl.java,
7489 gnu/java/nio/ShortBufferImpl.java,
7490 gnu/java/nio/SocketChannelImpl.java,
7491 java/nio/DoubleBuffer.java,
7492 java/nio/FloatBuffer.java,
7493 java/nio/IntBuffer.java,
7494 java/nio/LongBuffer.java,
7495 java/nio/ShortBuffer.java,
7496 java/nio/channels/FileChannel.java: New files.
7497
7498 2002-11-18 Michael Koch <konqueror@gmx.de>
7499
7500 * Makefile.am (ordinary_java_source_files):
7501 Added java/nio/ReadOnlyBufferException.java and
7502 java/nio/channels/ClosedSelectorException.java.
7503 * Makefile.in: Regenerated.
7504
7505 2002-11-18 Michael Koch <konqueror@gmx.de>
7506
7507 * java/net/PlainSocketImpl.java: Reworked imports.
7508 * java/net/ServerSocket.java
7509 (ServerSocket): Create socket.
7510 * java/net/SocketAddress.java: Documentation added.
7511 * java/net/natPlainSocketImpl.cc: Reindented.
7512 * java/nio/ReadOnlyBufferException.java: New file
7513 * java/nio/channels/ClosedChannelException.java: Documentation added.
7514 * java/nio/channels/ClosedSelectorException.java: New file.
7515
7516 2002-11-17 Mark Wielaard <mark@klomp.org>
7517
7518 * java/net/HttpURLConnection.java ((getPermission): Take port
7519 into consideration.
7520 (getErrorStream): Implement.
7521
7522 2002-11-17 Mark Wielaard <mark@klomp.org>
7523
7524 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7525
7526 2002-11-16 Mark Wielaard <mark@klomp.org>
7527
7528 Integrate work by Raif S. Naffah (raif@fl.net.au)
7529 * java/security/DummyKeyPairGenerator.java (clone): New method.
7530 * java/security/DummyMessageDigest.java (clone): New method.
7531 (engineUpdate): Now public.
7532 (engineReset): Likewise.
7533 (engineDigest): Likewise.
7534 (engineGetDigestLength): New method.
7535 * java/security/DummySignature.java (clone): New method.
7536 * java/security/KeyPairGenerator.java (provider): Now package private.
7537 (getInstance(String)): Use getInstance(String,Provider).
7538 (getInstance(String,String): Use getInstance(String,Provider)
7539 (getInstance(String,Provider): New method.
7540 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7541 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7542 * java/security/MessageDigest.java (provider): Now package private.
7543 (getInstance(String): Use getInstance(String,Provider).
7544 (getInstance(String,String): Use getInstance(String,Provider)
7545 (getInstance(String,Provider): New method.
7546 * java/security/Provider.java (toCanonicalKey): New method.
7547 (get): New method that uses toCanonicalKey().
7548 (put): Use toCanonicalKey().
7549 (remove): Likewise.
7550 * java/security/Security.java (insertProviderAt): Provider index is one
7551 based, not zero based.
7552 (addProvider): Likewise.
7553 (removeProvider): Likewise.
7554 * java/security/Signature.java (provider): Now package private.
7555 (getInstance(String)): Use getInstance(String,Provider).
7556 (getInstance(String,String): Use getInstance(String,Provider)
7557 (getInstance(String,Provider): New method.
7558 (getInstance(String,String,Provider): Don't cast DummySignature.
7559
7560 2002-11-15 Tom Tromey <tromey@redhat.com>
7561
7562 For PR libgcj/8593:
7563 * java/util/zip/GZIPInputStream.java (read): Check file size.
7564 Look in inflater for remaining input bytes.
7565 (read4): Added buf and offset arguments.
7566
7567 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7568
7569 * java/applet/AppletContext.java: Fix typo and remove redundant
7570 modifiers.
7571
7572 2002-11-14 Tom Tromey <tromey@redhat.com>
7573
7574 * java/lang/natRuntime.cc (insertSystemProperties): Set
7575 gnu.classpath.home.
7576
7577 2002-11-13 Michael Koch <konqueror@gmx.de>
7578
7579 * java/nio/ByteBuffer.java
7580 (allocate): New method.
7581 (wrap): New method.
7582 (put): New method.
7583 (get): New method.
7584
7585 2002-11-13 Michael Koch <konqueror@gmx.de>
7586
7587 * java/nio/channels/AlreadyConnectedException.java:
7588 Removed unneeded import.
7589 (AlreadyConnectedException): Documentation added.
7590 * java/nio/channels/Pipe.java
7591 (SinkChannel.SinkChannel): Documentation added.
7592 (SinkChannel.validOps): New method.
7593 (SourceChannel.SourceChannel): Documentation added.
7594 (SourceChannel.validOps): New method.
7595 (Pipe): Documentation added.
7596 (open): Documentation added.
7597 (SinkChannel.channel): Documentation added.
7598 (SourceChannel.channel): Documentation added.
7599 * java/nio/channel/SelectableChannel.java
7600 (SelectableChannel): Documentation added.
7601 (blockingLock): Documentation added.
7602 (configureBlocking):Documentation added.
7603 (isBlocking):Documentation added.
7604 (isRegistered):Documentation added.
7605 (keyFor):Documentation added.
7606 (provider):Documentation added.
7607 (register): Documentation added.
7608 (validOps): Documentation added.
7609 * jaba/nio/channels/SelectionKey.java
7610 (SelectionKey): Documentation added.
7611 (attach): Documentation added.
7612 (attachment): Documentation added.
7613 (isAcceptable): Documentation added.
7614 (isConnetable): Documentation added.
7615 (isReadable): Documentation added.
7616 (isWritable): Documentation added.
7617 (cancel): Documentation added.
7618 (channel): Documentation added.
7619 (interestOps): Documentation added.
7620 (isValid): Documentation added.
7621 (readyOps): Documentation added.
7622 (selector): Documentation added.
7623 * jaba/nio/channels/Selector.java
7624 (Selector): Documentation added.
7625 (open): Documentation added.
7626 (close): Documentation added.
7627 (isOpen): Documentation added.
7628 (keys): Documentation added.
7629 (provider): Documentation added.
7630 (select): Documentation added.
7631 (selectedKeys): Documentation added.
7632 (selectNow): Documentation added.
7633 (wakeup): Documentation added.
7634 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7635 (AbstractInterruptibleChannel): Documentation added.
7636 (opened): Default to true;
7637 (begin): Documentation added.
7638 (close): Set opened to false, documentation added.
7639 (isOpen): Documentation added.
7640 * java/nio/channels/spi/AbstractSelectionKey.java
7641 (AbstractSelectionKey): Documentation added.
7642 (cancel): Documentation added.
7643 (isValid): Documentation added.
7644 * java/nio/channels/spi/AbstractSelector.java
7645 (AbstractSelector): Documentation added.
7646 (begin): Documentation added.
7647 (close): Documentation added.
7648 (isOpen): Documentation added.
7649 (deregister): Documentation added.
7650 (end): Documentation added.
7651 (provider): Documentation added.
7652 (implCloseSelector): Documentation added.
7653 (register): Documentation added.
7654 * java/nio/channels/spi/SelectorProvider.java
7655 (SelectorProvider): Documentation added.
7656 (openDatagramChannel): Documentation added.
7657 (openPipe): Documentation added.
7658 (openSelector): Documentation added.
7659 (openServerSocketChannel): Documentation added.
7660 (openSocketChannel): Documentation added.
7661 (provider): Documentation added.
7662
7663 2002-11-12 Michael Koch <konqueror@gmx.de>
7664
7665 * java/nio/Buffer.java: Implemented.
7666 * java/nio/CharBuffer.java: New file.
7667 * java/nio/InvalidMarkException.java: New file.
7668 * java/nio/channels/DatagramChannel.java: Implemented.
7669 * java/nio/channels/ServerSocketChannel.java: Implemented.
7670 * java/nio/channels/SocketChannel.java: Implemented.
7671 * java/nio/channels/spi/AbstractChannel.java: Removed.
7672 * java/nio/channels/spi/AbstractSelectableChannel.java:
7673 Implemented.
7674 * java/nio/charset/Charset.java:
7675 Merge from Classpath.
7676 * java/nio/charset/CharsetDecoder.java: New file.
7677 * java/nio/charset/CharsetEncoder.java: New file.
7678 * java/nio/charset/CoderResult.java: New file.
7679 * Makefile.am (ordinary_java_source_files): Added new files.
7680 * Makefile.in: Regenerated.
7681
7682 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7683
7684 * gnu/java/nio/charset/ISO_8859_1.java,
7685 gnu/java/nio/charset/Provider.java,
7686 gnu/java/nio/charset/US_ASCII.java,
7687 gnu/java/nio/charset/UTF_16.java,
7688 gnu/java/nio/charset/UTF_16BE.java,
7689 gnu/java/nio/charset/UTF_16Decoder.java,
7690 gnu/java/nio/charset/UTF_16Encoder.java,
7691 gnu/java/nio/charset/UTF_16LE.java,
7692 gnu/java/nio/charset/UTF_8.java: New files.
7693
7694 2002-11-11 Michael Koch <konqueror@gmx.de>
7695
7696 * java/nio/charset/CharacterCodingException.java:
7697 This class must be public.
7698 * java/nio/charset/CoderMalfunctionError.java:
7699 This class must be public.
7700 * java/nio/charset/CodingErrorAction.java:
7701 This class must be public.
7702 * java/nio/charset/IllegalCharsetNameException.java:
7703 This class must be public, better implementation.
7704 * java/nio/charset/MalformedInputException.java:
7705 This class must be public, better implementation.
7706 * java/nio/charset/UnmappableCharacterException.java:
7707 This class must be public, better implementation.
7708 * java/nio/charset/UnsupportedCharsetException.java:
7709 This class must be public, better implementation.
7710
7711 2002-11-11 Michael Koch <konqueror@gmx.de>
7712
7713 * java/nio/BufferOverflowException.java,
7714 java/nio/BufferUnderflowException.java: New file.
7715 * Makefile.am (ordinary_java_source_files):
7716 Added new files.
7717 * Makefile.in: Regenerated.
7718
7719 2002-11-10 Tom Tromey <tromey@redhat.com>
7720
7721 * java/awt/Container.java (validate): Use tree lock.
7722 (getComponent): Likewise.
7723 (getComponents): Likewise.
7724 (addImpl): Likewise.
7725 (remove): Likewise.
7726 (removeAll): Likewise.
7727 (processEvent): Fixed indentation.
7728 (getComponentAt): Use tree lock.
7729 (findComponentAt): Likewise.
7730 (removeNotify): Likewise.
7731 (isAncestorOf): Likewise.
7732 (list): Likewise.
7733 (visitChildren): Likewise.
7734 (findNextFocusComponent): Likewise.
7735 (addNotifyContainerChildren): Likewise.
7736 (getAccessibleChildrenCount): Likewise.
7737 (getAccessibleChild): Likewise.
7738
7739 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7740 (getSize): Likewise.
7741 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7742 (getSize): Likewise.
7743 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7744 (calcSize): Likewise.
7745 * java/awt/CardLayout.java (getSize): Use tree lock.
7746 (gotoComponent): Likewise.
7747 (layoutContainer): Likewise.
7748
7749 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7750 count is 0.
7751 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7752 count is 0.
7753
7754 * java/io/Externalizable.java, java/io/FilePermission.java,
7755 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7756 java/io/SerializablePermission.java, java/text/Format.java,
7757 java/util/AbstractMap.java, java/util/HashMap.java,
7758 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7759 versions from Classpath.
7760
7761 2002-11-10 Anthony Green <green@redhat.com>
7762
7763 * java/util/jar/Attributes.java (Name): Fix name check.
7764
7765 2002-11-10 Mark Wielaard <mark@klomp.org>
7766
7767 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7768 with getName() as message.
7769 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7770 type as message.
7771
7772 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7773 unused.
7774
7775 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7776
7777 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7778 for Win32. JNICALL has been defined to __stdcall to be compatible
7779 with Sun's JDKs.
7780
7781 2002-11-10 Tom Tromey <tromey@redhat.com>
7782
7783 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7784 (setRows): Check newRows, not rows.
7785
7786 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7787
7788 2002-11-09 Tom Tromey <tromey@redhat.com>
7789
7790 * java/applet/Applet.java, java/applet/AppletContext.java,
7791 java/applet/AppletStub.java, java/applet/AudioClip.java,
7792 java/awt/CardLayout.java,
7793 java/awt/ContainerOrderFocusTraversalPolicy.java,
7794 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7795 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7796 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7797 java/awt/color/ICC_ColorSpace.java,
7798 java/awt/color/ICC_Profile.java,
7799 java/awt/color/ICC_ProfileGray.java,
7800 java/awt/color/ICC_ProfileRGB.java,
7801 java/awt/datatransfer/DataFlavor.java,
7802 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7803 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7804 New versions from Classpath.
7805 * Makefile.in: Rebuilt.
7806 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7807 ICC_ProfileRGB.
7808
7809 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7810 display policy.
7811
7812 * java/awt/List.java (processEvent): Added missing `else's.
7813
7814 * java/awt/Window.java (show): validate() before showing. Make
7815 parent displayable.
7816 (isDisplayable): New method.
7817
7818 2002-11-07 Mark Wielaard <mark@klomp.org>
7819
7820 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7821 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7822
7823 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7824 annotation.
7825 (loadClass): Take String as codebases.
7826 (getClassAnnotation): Use MyClassLoader annotations.
7827 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7828 call exportObject(this).
7829
7830 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7831 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7832 (setAnnotation): Don't set locBytesStream and locStream.
7833 (replaceObject): Removed.
7834 (flush): Don't test locStream.
7835 (getLocBytes): LikeWise.
7836 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7837 (leaseCache): New field.
7838 (dirty): Use leaseCache.
7839 (LeaseRecord): New inner class.
7840 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7841 explicitly call exportObject().
7842 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7843 false to communicate with Sun JDK130.
7844 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7845 * gnu/java/rmi/server/RMIObjectInputStream.java
7846 (UnicastConnectionManager): Removed field.
7847 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7848 Use UnicastServer.getExportedRef().
7849 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7850 (expireTime): Likewise.
7851 (CONNECTION_TIMEOUT): Likewise.
7852 (disconnect): Call sock.close().
7853 (isExpired): New method.
7854 (resetTime): Likewise.
7855 (run): Use do while loop and catch Exception for discardConnection().
7856 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7857 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7858 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7859 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7860 (exportObject): Use refcache.
7861 (unexportObject): Likewise.
7862 (getExportedRef): New method.
7863 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7864 constructor.
7865 (exportObject): Save manager.serverobj.
7866 (getStub): New method.
7867
7868 2002-11-07 Mark Wielaard <mark@klomp.org>
7869
7870 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7871 (getByte): Likewise.
7872 (getShort): Likewise.
7873 (getInt): Likewise.
7874 (getLong): Likewise.
7875 (getFloat): Likewise.
7876 (getDouble): Likewise.
7877 (get): Likewise.
7878 (setChar): Likewise.
7879 (setByte): Likewise.
7880 (setShort): Likewise.
7881 (setInt): Likewise.
7882 (setLong): Likewise.
7883 (setFloat): Likewise.
7884 (setDouble): Likewise.
7885
7886 2002-11-07 Michael Koch <konqueror@gmx.de>
7887
7888 * java/awt/Choice.java,
7889 java/awt/Container.java,
7890 java/awt/GridBagLayout.java:
7891 Fixed documentation.
7892 * java/awt/peer/ContainerPeer.java:
7893 Reindented.
7894
7895 2002-11-07 Michael Koch <konqueror@gmx.de>
7896
7897 * java/awt/color/ICC_Profile.java:
7898 Added missing constants.
7899 * java/awt/color/ICC_ColorSpace.java
7900 (getMinValue): Added dummy implementation.
7901 (getMaxValue): Added dummy implementation.
7902 * java/awt/datatransfer/DataFlavor.java
7903 (imageFlavor): Added.
7904 (isMimeTypeEqual): Must be final.
7905 (getDefaultRepresentationClass): Must be non-static.
7906 (getDefaultRepresentationClassAsString): Must be non-static.
7907 * java/awt/dnd/DragSourceContext.java
7908 (dragExit): Corrected argument.
7909 (dragDropEnd): Corrected argument.
7910 * java/awt/dnd/DragSourceListener.java.java
7911 (dragExit): Corrected argument.
7912 (dragDropEnd): Corrected argument.
7913 * java/awt/font/TextHitInfo.java
7914 (toString): Added stubbed implementation.
7915 * java/awt/geom/PathIterator.java:
7916 The constants must be static.
7917 * java/awt/image/VolatileImage.java
7918 (IMAGE_INCOMPATIBLE): Fixed typo.
7919 * java/awt/image/renderable/RenderableImage.java
7920 (HINTS_OBSERVED): Must be static.
7921 * java/beans/BeanInfo.java:
7922 Constants must be final.
7923
7924 2002-11-06 Tom Tromey <tromey@redhat.com>
7925
7926 From svens@it.uu.se. For PR libgcj/8481.
7927 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7928
7929 2002-11-06 Tom Tromey <tromey@redhat.com>
7930
7931 * jni.cc (array_from_valist): Assume that jlong won't be
7932 promoted.
7933
7934 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7935
7936 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7937 Return 20.
7938 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7939 Return 16.
7940
7941 2002-11-03 Tom Tromey <tromey@redhat.com>
7942
7943 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7944 VMClassLoader, not findClass.
7945
7946 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7947
7948 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7949 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7950 _Jv_DetermineVTableIndex, to determine vtable offset.
7951 (_Jv_DetermineVTableIndex): Remove.
7952 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7953
7954 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7955
7956 2002-11-03 Tom Tromey <tromey@redhat.com>
7957
7958 * java/nio/channels/AlreadyConnectedException.java: Extend
7959 IllegalStateException, per spec.
7960
7961 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7962
7963 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7964
7965 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7966
7967 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7968 size items.
7969
7970 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7971
7972 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7973 initial estimated size to avoid enlarge buffer frequently.
7974
7975 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7976
7977 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7978 ClassLoader when null.
7979 (ProxyType.hashCode): Loader null check no longer needed.
7980 (ProxyType.sameTypes): New method.
7981 (ProxyType.equals): Use new method.
7982
7983 2002-10-31 Mark Wielaard <mark@klomp.org>
7984
7985 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7986 length of String.
7987 * java/net/URLEncoder.java (encode): Likewise.
7988
7989 2002-10-31 Mark Wielaard <mark@klomp.org>
7990
7991 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7992 when stream is closed.
7993 (closeEntry): Likewise.
7994 (read): Likewise.
7995 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7996 ZipException when no entry active.
7997 (closeEntry): Likewise.
7998 (write): Likewise.
7999
8000 2002-11-02 Tom Tromey <tromey@redhat.com>
8001
8002 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
8003 * java/lang/natClass.cc (initializeClass): Don't return just
8004 because self==thread.
8005
8006 For PR java/8415:
8007 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
8008 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
8009
8010 2002-11-02 Andreas Schwab <schwab@suse.de>
8011
8012 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
8013 pass GCJFLAGS.
8014 (FLAGS_TO_PASS): Define.
8015 * Makefile.in: Regenerated.
8016
8017 2002-11-01 Michael Koch <konqueror@gmx.de>
8018
8019 * java/nio/ByteOrder.java: New file.
8020 * java/nio/channels/DatagramChannel.java:
8021 (DatagramChannel): New constructor.
8022 * java/nio/channels/Pipe.java: New file.
8023 * java/nio/channels/SelectableChannel.java: New file.
8024 * java/nio/channels/SelectionKey.java: New file.
8025 * java/nio/channels/Selector.java: New file.
8026 * java/nio/channels/ServerSocketChannel.java
8027 (ServerSocketChannel): New constructor.
8028 * java/nio/channels/SocketChannel.java
8029 (SocketChannel): New constructor.
8030 * java/nio/channels/Pipe.java: New file.
8031 * java/nio/channels/spi/AbstractChannel.java: New file.
8032 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
8033 * java/nio/channels/spi/AbstractSelectableChannel.java:
8034 License added
8035 (AbstractSelectableChannel): New stubbed method.
8036 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
8037 * java/nio/channels/spi/AbstractSelector.java: New file.
8038 * java/nio/channels/spi/SelectorProvider.java: New file.
8039 * java/nio/charset/Charset.java: New file.
8040 * java/nio/charset/CoderMalfunctionError.java: New file.
8041 * java/nio/charset/CodingErrorAction.java: New file.
8042 * java/nio/charset/spi/CharsetProvider.java
8043 (charsetForName): Uncommented.
8044 * Makefile.am (java_native_source_files): Added new files.
8045 * Makefile.in: Regenerated.
8046
8047 2002-11-01 Michael Koch <konqueror@gmx.de>
8048
8049 * java/net/InetAddress.java:
8050 (isAnyLocalAddress): Implemented.
8051 (isLoopbackAddress): Implemented, comment added.
8052 (isLinkLocalAddress): Implemented, documentation added.
8053 (isSiteLocalAddress): Implemented, documentation added.
8054 (isMCGlobal): Implemented, documentation added.
8055 (isMCNodeLocal): Implemented, documentation added.
8056 (isMCLinkLocal): Implemented, documentation added.
8057 (isMCSiteLocal): Implemented, documentation added.
8058 (isMCOrgLocal): Implemented, documentation added.
8059 (getHostName): Documentation added.
8060 (getCanonicalHostName): Implemented, documentation added.
8061 (getAddress): Documentation added.
8062 (hashCode): Documentation added.
8063 (equals): Documentation added.
8064 (toString): Fixed implementation.
8065 (getByAddress): Use Inet4Address and Inet6Address.
8066 (lookup): New linewrap.
8067 (getByName): SecurityManager check added, support Inet4Address and
8068 Inet6address, comments added.
8069 (getAllByName): SecurityManager check added, comments added.
8070 * java/net/Inet6Address.java:
8071 (Inet6Address): Initialize parent class with addr instead of null.
8072 * java/net/URL.java
8073 (equals): Documentation added.
8074 (getFile): Documentation added.
8075 (hashCode): Documentation added.
8076 * java/net/natInetAddress.cc:
8077 (aton): Fix IPv6 support.
8078 * java/net/natPlainDatagramSocketImpl.cc:
8079 (peek): Throw PortUnreachableException when suitable.
8080 (peekData): Throw PortUnreachableException when suitable.
8081 (send): Throw PortUnreachableException when suitable.
8082 (receive): Throw PortUnreachableException when suitable.
8083
8084 2002-10-27 Mark Wielaard <mark@klomp.org>
8085
8086 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8087 argument.
8088 (readLeShort): Likewise and use byte[].
8089 (readLeInt): Likewise.
8090 (readEntries): Use new versions of methods and use byte[] for reading
8091 a complete zip entry. Add ZipFile name to exceptions.
8092 (entries): Add ZipFile name to exceptions.
8093 (getEntry): Likewise.
8094 (checkLocalHeader): Use new versions of methods and add ZipFile name
8095 to exceptions.
8096
8097 2002-10-31 Mark Anderson <mark@panonet.net>
8098
8099 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8100 added
8101
8102 2002-10-25 Krister Walfridsson <cato@df.lth.se>
8103
8104 * configure.in: Disable hash sync when not using threads.
8105 * configure: Regenerated.
8106
8107 2002-10-24 Tom Tromey <tromey@redhat.com>
8108
8109 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8110 (_Jv_FindSymbolInExecutable): Removed argument name.
8111 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8112 java.library.path is set.
8113
8114 * gij.cc (help): Document --showversion.
8115 (version): Don't exit.
8116 (main): Handle --showversion. Exit if --version given.
8117
8118 2002-10-23 Tom Tromey <tromey@redhat.com>
8119
8120 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8121 (array_from_valist): Correctly handle promotion for jint, jlong,
8122 jfloat, and jdouble.
8123
8124 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
8125
8126 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8127 GetFileAttributesEx( ) to find file length and modification times,
8128 as the latter is not present on Windows 95.
8129
8130 2002-10-21 Michael Koch <konqueror@gmx.de>
8131
8132 * java/net/URL.java
8133 (URL): Activate SecurityManager checks.
8134 (equals): Use URLStreamHandler implementation instead of doing it
8135 alone. This allows special protocol stream handlers to change default
8136 behaviour.
8137 (hashCode): Use URLStreamHandler implementation instead of doing it
8138 alone. This allows special protocol stream handlers to change default
8139 behaviour.
8140 * java/net/URLStreamHandler.java
8141 (equals): Implemented default URL equality check.
8142 (hostsEqual): Implemented default URL equality check.
8143 (hashCode): Implemented default URL hashCode algorithm.
8144 * java/net/natPlainDatagramSocketImpl.cc:
8145 No lines longer then 80 characters.
8146
8147 2002-10-20 Adam Megacz <adam@xwt.org>
8148
8149 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8150 * configure.in: enabled hash sync on Win32
8151 * include/win32-threads.h (_Jv_ThreadId_t): added.
8152 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8153 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8154 removed some posix-isms, use Thread::sleep() instead of usleep,
8155 added code to clear bottom three bits if platform has a broken
8156 linker.
8157 * include/win32-threads.h (_Jv_ThreadId_t): added.
8158
8159 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
8160
8161 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8162 runtime property "gnu.gcj.progname" containing the name used to
8163 invoke the current Java program (similar to argv[0] for C
8164 programs).
8165
8166 2002-10-15 Tom Tromey <tromey@redhat.com>
8167
8168 Fix for PR libgcj/8234:
8169 * java/util/zip/natInflater.cc (reset): Reset avail_in.
8170 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8171
8172 2002-10-13 Mark Wielaard <mark@klomp.org>
8173
8174 * mauve-libgcj: Enable Mauve tests that compile now.
8175
8176 2002-10-11 Mark Wielaard <mark@klomp.org>
8177
8178 Fix for PR libgcj/8142
8179 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8180 loading native modules.
8181
8182 2002-10-10 Michael Koch <konqueror@gmx.de>
8183
8184 * javax/swing/AbstractListModel.java
8185 (getListDataListeners): New stubbed method.
8186 javax/swing/DefaultBoundedRangeModel.java
8187 (getChangeListeners): New stubbed method.
8188 javax/swing/DefaultSingleSelectionModel.java
8189 (getChangeListeners): New stubbed method.
8190
8191 2002-10-10 Michael Koch <konqueror@gmx.de>
8192
8193 * gcj/.cvsignore: New file to ignore files generated during build.
8194 * include/.cvsignore: New file to ignore files generated during build.
8195
8196 2002-10-10 Michael Koch <konqueror@gmx.de>
8197
8198 * java/net/HttpURLConnection.java
8199 (getPermission): New method.
8200 (getErrorStream): New stub method.
8201 (getHeaderFieldDate): New stub method.
8202 * java/net/Inet4Address.java:
8203 (isLinkLocalAddress): Typo fixed.
8204 * java/net/InetAddress.java:
8205 (readResolve): New stubbed method (for serialization).
8206 (isAnyLocalAddress): New stubbed method.
8207 (isLoopbackAddress): New stubbed method.
8208 (isLinkLocalAddress): New stubbed method.
8209 (isSiteLocalAddress): New stubbed method.
8210 (isMCGlobal): New stubbed method.
8211 (isMCNodeGlobal): New stubbed method.
8212 (isMCLinkLocal): New stubbed method.
8213 (isMCSiteLocal): New stubbed method.
8214 (isMCOrgLocal): New stubbed method.
8215 (getCanonicalHostName): New stubbed method.
8216 (getByAddress): Create instances of Inet4Address/Inet6Address,
8217 instead of InetAddress, documentation added.
8218 * java/net/MulticastSocket.java
8219 (getInterface): Removed FIXME.
8220 (getNetworkInterface): New method.
8221 (setNetworkInterface): New method.
8222 * java/net/NetworkInterface.java:
8223 (toString): Use property "line.separator" instead of "\n".
8224 * java/net/URLConnection.java
8225 (getContent): New stubbed method.
8226 * java/net/URLStreamHandler.java:
8227 (equals): New stubbed method.
8228 (hostsEqual): New stubbed method.
8229 (hashCode): New stubbed method.
8230 * java/net/natNetworkInterface.cc:
8231 (getRealNetworkInterfaces): Create Inet4Address object
8232 instead of InetAddress.
8233
8234 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8235
8236 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8237 unsigned long temporary to implement insn_iushr shifts.
8238
8239 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8240
8241 * configure.host [s390*-*]: Enable Java interpreter.
8242 Enable hash synchronization. Add sysdeps dir.
8243 * sysdep/s390/locks.h: New file.
8244
8245 2002-10-06 Mark Wielaard <mark@klomp.org>
8246
8247 * java/lang/Thread.java (setDaemon): Check startable_flag,
8248 not isAlive().
8249
8250 2002-10-07 Michael Koch <konqueror@gmx.de>
8251
8252 * java/nio/Buffer.java: New stub file.
8253 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8254 of class Charset.
8255 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8256 * Makefile.in: Regenerated.
8257
8258 2002-10-07 Michael Koch <konqueror@gmx.de>
8259
8260 * java/nio/ByteBuffer.java:
8261 removed import of not commited class.
8262
8263 2002-10-07 Michael Koch <konqueror@gmx.de>
8264
8265 * java/nio/ByteBuffer.java,
8266 java/nio/MappedByteBuffer.java:
8267 New files, forgot to add these dummies.
8268 * Makefile.am (java_native_source_files): Added new files.
8269 * Makefile.in: Regenerated.
8270
8271 2002-10-07 Michael Koch <konqueror@gmx.de>
8272
8273 * java/nio/channels/AlreadyConnectedException.java,
8274 java/nio/channels/ClosedChannelException.java,
8275 java/nio/channels/ReadableByteChannel.java,
8276 java/nio/channels/InterruptibleChannel.java,
8277 java/nio/channels/Channel.java,
8278 java/nio/channels/ByteChannel.java,
8279 java/nio/channels/GatheringByteChannel.java,
8280 java/nio/channels/ScatteringByteChannel.java,
8281 java/nio/channels/WritableByteChannel.java,
8282 java/nio/charset/CharacterCodingException.java,
8283 java/nio/charset/IllegalCharsetNameException.java,
8284 java/nio/charset/MalformedInputException.java,
8285 java/nio/charset/UnmappableCharacterException.java,
8286 java/nio/charset/UnsupportedCharsetException.java,
8287 java/nio/charset/spi/CharsetProvider.java: New file.
8288 These files are exceptions or interfaces,
8289 no real or abstract classes.
8290 * Makefile.am (java_native_source_files): Added new files.
8291 * Makefile.in: Regenerated.
8292
8293 2002-10-05 Michael Koch <konqueror@gmx.de>
8294
8295 * java/net/InetAddress.java
8296 (getByAddress): Fixed documentation.
8297 (getByAddress): New method.
8298 * java/net/Inet4Address.java: New file.
8299 * java/net/URL.java
8300 (URL): Documentation added.
8301 (getContent): Documentation added.
8302 (getContent): New stubbed method.
8303 (getQuery): New method.
8304 (openConnection): Documentation added.
8305 (openStream): Documentation added.
8306 (setURLStreamHandlerFactory): Documentation added.
8307 * java/net/URI.java: New stub file.
8308 * Makefile.am
8309 (java_native_source_files): Added java/net/Inet4Address.java,
8310 java/net/Inet6Address.java and java/net/URI.java.
8311 * Makefile.in: Regenerated.
8312
8313 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8314
8315 * java/lang/ProtectionDomain.java (linesep): Remove field.
8316 (toString): Use System.getProperty("line.separator").
8317
8318 2002-10-04 Michael Koch <konqueror@gmx.de>
8319
8320 * java/security/Identity.java: Added serialVersionUID.
8321 * java/security/KeyPair.java: Added serialVersionUID.
8322 * java/security/Provider.java: Added serialVersionUID.
8323 * java/security/SecureRandom.java: Added serialVersionUID.
8324 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8325 * java/security/SignedObject.java: Added serialVersionUID.
8326 * java/security/cert/Certificate.java: Added serialVersionUID.
8327
8328 2002-10-04 Mark Wielaard <mark@klomp.org>
8329
8330 * java/security/Security.java: Use java.home or gnu.classpath.home
8331 to load providers.
8332 (loadProviders): Extra dir argument.
8333 (getProvider): Return null when not found.
8334
8335 2002-10-04 Mark Wielaard <mark@klomp.org>
8336
8337 * java/lang/Throwable.java: Remerge with Classpath.
8338
8339 2002-10-04 Michael Koch <konqueror@gmx.de>
8340
8341 * java/net/InetAddress.java:
8342 (isMulticastAddress): Added documentation.
8343 (getHostAddress): Added documentation.
8344 (toString): Added documentation.
8345 (getByAddress): Fixed documentation.
8346 (getByName): Added documentation.
8347 (getAllByName): Added documentation.
8348 (getLocalHost): Added documentation.
8349
8350 2002-10-04 Michael Koch <konqueror@gmx.de>
8351
8352 * java/beans/beancontext/BeanContextChildSupport.java:
8353 Added serialVersionUID.
8354 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8355 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8356 * javax/naming/Name.java: Added serialVersionUID.
8357
8358 2002-10-03 Adam Megacz <adam@xwt.org>
8359
8360 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8361 some functionality that isn't supported yet on WIN32.
8362
8363 2002-10-03 Tom Tromey <tromey@redhat.com>
8364
8365 * Makefile.in: Rebuilt.
8366 * Makefile.am (awt_java_source_files): Added new files.
8367
8368 2002-10-03 Michael Koch <konqueror@gmx.de>
8369
8370 * java/net/InetAddress.java
8371 (class InetAddress): Removed final keyword.
8372 (equals): Fixed typo.
8373 (getByAddress): New method.
8374
8375 2002-10-03 Michael Koch <konqueror@gmx.de>
8376
8377 * java/awt/dnd/Autoscroll.java:
8378 New file, merge from Classpath.
8379 * java/awt/dnd/DragSourceAdapter.java:
8380 (dragExit): Fixed typos in argument type.
8381 (dragDropEnd): Fixed typos in argument type.
8382 * java/awt/dnd/DragSourceDropEvent.java:
8383 New file, merge from Classpath.
8384 * java/awt/dnd/DropTarget.java:
8385 Added stubs, merge from Classpath.
8386 * java/awt/dnd/DropTargetAdapter.java:
8387 New file, merge from Classpath.
8388 * java/awt/dnd/DropTargetContext.java:
8389 New file, merge from Classpath.
8390 * java/awt/dnd/DropTargetDragEvent.java:
8391 New file, merge from Classpath.
8392 * java/awt/dnd/DropTargetDropEvent.java:
8393 New file, merge from Classpath.
8394 * java/awt/dnd/DropTargetEvent.java:
8395 New file, merge from Classpath.
8396 * java/awt/dnd/DropTargetListener.java:
8397 New file, merge from Classpath.
8398 * java/awt/dnd/MouseDragGestureRecognizer.java:
8399 New file, merge from Classpath.
8400 * java/awt/dnd/peer/DropTargetContextPeer.java:
8401 New file, merge from Classpath.
8402
8403 2002-10-03 Michael Koch <konqueror@gmx.de>
8404
8405 * java/net/DatagramPacket.java
8406 (setLength): Fixed typo and be HTML-aware.
8407 * java/net/InetSocketAddress.java
8408 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8409 (equals): Added comment about equality of InetSocketAddress objects.
8410 * java/net/ServerSocket.java
8411 (accept): Added checks.
8412 (isClosed): New stubbed method.
8413 * java/net/SocketOptions.java: Reindention.
8414 * java/net/SocketPermission
8415 (SocketPermission): Documentation fixed.
8416
8417 2002-10-03 Michael Koch <konqueror@gmx.de>
8418
8419 * java/net/DatagramSocket.java
8420 (receive): Check with SecurityManager AFTER the packet is received,
8421 check if connected to multicast address, documentation added.
8422 (send): Only check SecurityManager if connected, check address of
8423 packet to send.
8424 (connect): Implemented, documentation added.
8425 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8426 * java/net/InetSocketAddress.java
8427 (whole file): Reindented.
8428 (hostname): New attribute.
8429 (InetSocketAddress): Initialize new attribute.
8430 (getAddress): Documentation added.
8431 (getHostName): Documentation added.
8432 (getPort): Documentation added.
8433 (hashCode): Documentation added.
8434 (isUnresolved): Documentation added.
8435 (toString): Conform to output of JDK 1.4.1, documentation added.
8436 * java/net/MulticastSocket.java
8437 (joinGroup): Removed FIXME, documentation added.
8438 (leaveGroup): Removed FIXME, documentation added.
8439 (send): Documentation added.
8440 * java/net/Socket.java
8441 (inputShutdown): New variable.
8442 (outputShutdown): New variable.
8443 (Socket): Initialize new variables.
8444 (getRemoteSocketAddress): Check if connected.
8445 (shutdownInput): Set new variable.
8446 (shutdownOutput): Set new variable.
8447 (isConnected): New method.
8448 (isClosed): New method.
8449 (isInputShutdown): New method.
8450 (isOutputShutdown): New method.
8451 * java/net/URLStreamHandler.java
8452 (URLStreamHandler): New method.
8453 (openConnection): Added documentation.
8454 (parseURL): Added documentation.
8455 (getHostAddress): New method.
8456 (getDefaultPort): New method.
8457
8458 2002-10-02 Tom Tromey <tromey@redhat.com>
8459
8460 * java/rmi/activation/ActivationDesc.java,
8461 java/rmi/activation/ActivationGroupDesc.java,
8462 java/rmi/activation/ActivationGroupID.java,
8463 java/rmi/activation/ActivationID.java: New versions from
8464 Classpath.
8465
8466 2002-09-30 Bo Thorsen <bo@suse.de>
8467
8468 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8469
8470 2002-09-30 Tom Tromey <tromey@redhat.com>
8471
8472 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8473 from Classpath.
8474 * Makefile.in: Rebuilt.
8475 * Makefile.am (rmi_java_source_files): Added new files.
8476 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8477 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8478 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8479 Classpath.
8480 * gnu/java/rmi/dgc/DGCImpl.java,
8481 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8482 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8483 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8484 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8485 gnu/java/rmi/server/RMIHashes.java,
8486 gnu/java/rmi/server/RMIObjectInputStream.java,
8487 gnu/java/rmi/server/RMIObjectOutputStream.java,
8488 gnu/java/rmi/server/UnicastConnection.java,
8489 gnu/java/rmi/server/UnicastConnectionManager.java,
8490 gnu/java/rmi/server/UnicastRef.java,
8491 gnu/java/rmi/server/UnicastServer.java,
8492 gnu/java/rmi/server/UnicastServerRef.java,
8493 java/rmi/MarshalledObject.java,
8494 java/rmi/server/RMIClassLoader.java,
8495 java/rmi/server/RemoteObject.java,
8496 java/rmi/server/UnicastRemoteObject.java,
8497 java/security/SecureClassLoader.java: Merged from Classpath.
8498
8499 2002-09-29 Anthony Green <green@redhat.com>
8500
8501 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8502 Imported from GNU Classpath.
8503 * java/lang/reflect/natProxy.cc: New file.
8504 * java/lang/reflect/InvocationHandler.java: New file. Imported
8505 from GNU Classpath.
8506 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8507 Classpath.
8508 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8509 Classpath.
8510 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8511 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8512 New statics.
8513 * gcj/javaprims.h ("Java"): Add new classes.
8514 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8515 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8516 java/lang/reflect/Proxy$$ProxyType.h): And this.
8517 (inner_nat_headers): Add these new headers.
8518 (ordinary_java_source_files): Add new files.
8519 (nat_source_files): Add new file.
8520 * Makefile.in: Rebuilt.
8521
8522 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8523
8524 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8525 a single configuration.
8526
8527 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8528
8529 * java/util/TimeZone.java (getDSTSavings): New method.
8530 Fixes PR libgcj/7786.
8531
8532 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8533
8534 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8535 to see if `the_method == 0' before looking up vtable index.
8536 Fixes PR libgcj/7709.
8537
8538 2002-09-25 Tom Tromey <tromey@redhat.com>
8539
8540 * java/lang/natClassLoader.cc:
8541 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8542 * resolve.cc: Include NoClassDefFoundError.h, not
8543 ClassNotFoundException.h.
8544 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8545
8546 * defineclass.cc: Don't include ClassNotFoundException.h.
8547
8548 * resolve.cc: Include StringBuffer.
8549 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8550
8551 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8552 allocated but not initialized.
8553
8554 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8555
8556 Fix for PR libgcj/7766:
8557 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8558 (getNextEntry): Set it.
8559 (closeEntry): Likewise.
8560 (read): Likewise.
8561 (close): Likewise.
8562 (available): Use it.
8563
8564 2002-09-25 Michael Koch <konqueror@gmx.de>
8565
8566 * java/net/DatagramSocket.java
8567 (DatagramSocket): Initialize new instance variables.
8568 (close): Reset new instance variables.
8569 (getLocalAddress): Remove unneeded SecurityManager usage.
8570 (getLocalPort): Check if socket is already bound.
8571 (isConnected): New method.
8572 (getInetAddress): Implemented.
8573 (getPort): Better Implementation, documentation fixed.
8574 (getRemoteSocketAddress): New method.
8575 * java/net/JarURLConnection.java
8576 (element): Typo fixed.
8577 (getMainAttributes): New method.
8578 (getAttributes): New method (stub only).
8579 (getManifest): New method (stub only).
8580 * java/net/NetPermission.java: Added serialVersionsUID.
8581 * java/net/Socket.java
8582 (connect): Check blocking mode of associated channel,
8583 documentation added.
8584 (getLocalSocketAddress): Better implementation.
8585 (getRemoteSocketAddress): Implemented.
8586 (isBound): New method.
8587 (setSendBufferSize): Documentation added.
8588 * java/net/SocketAddress.java: Added serialVersionsUID.
8589 * java/net/SocketPermission.java: Added serialVersionsUID.
8590 * java/net/URL.java
8591 (URL): Wrap for shorter lines, initialize new instance variables,
8592 documentation added.
8593 (equals): Check new instance variables too.
8594 (getContent): Documentation added.
8595 (getPath): Documentation added.
8596 (getAuthority): New method.
8597 (getHost): Documentation added.
8598 (getPort): Documentation added.
8599 (getDefaultPort): New method.
8600 (getProtocol): Documentation added.
8601 (getUserInfo): Documentation added.
8602 (set): Initialize new instance variables, documentation added.
8603 * java/net/URLStreamHandler.java
8604 (setURL): New method.
8605 * java/net/natPlainDatagramSocketImpl.cc
8606 (connect): Fix exception name.
8607 (disconnect): Fix exception name.
8608
8609 2002-09-25 Michael Koch <konqueror@gmx.de>
8610
8611 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8612 * java/nio/channels/DatagramChannel.java:
8613 extends AbstractSelectableChannel
8614 * java/nio/channels/ServerSocketChannel.java:
8615 extends AbstractSelectableChannel
8616 * java/nio/channels/SocketChannel.java:
8617 extends AbstractSelectableChannel
8618 * Makefile.am (ordinary_java_source_files):
8619 java/nio/channels/spi/AbstractSelectableChannel.java added.
8620 * Makefile.in: Regenerated.
8621
8622 2002-09-25 Michael Koch <konqueror@gmx.de>
8623
8624 * java/net/DatagramSocket.java
8625 (DatagramSocket): Exception documentation added.
8626 (bind): Exception documentation added, addded SecurityManager check,
8627 added SocketAddress type check.
8628 (getSoTimeout): Check impl.
8629 (receive): Fix SecurityManager check, check impl, documentation added.
8630 (send): Check channel mode, documentation added.
8631 (connect): New method.
8632 (disconnect): Implemented.
8633 (getLocalSocketAddress): New method.
8634 (getReceiveBufferSize): Check impl.
8635 (setReuseAddress): Check impl.
8636 (getReuseAddress): Check impl.
8637 (setBroadcast): Check impl.
8638 (getBroadcast): Check impl.
8639 (setTrafficClass): Check impl, Documentation cleared.
8640 (getTrafficClass): Check impl.
8641 (getSendBufferSize): Check impl.
8642 (setReceiveBufferSize): Check impl, documentation added.
8643 (setSendBufferSize): Documentation added.
8644 (setDatagramSocketImplFactory): New method.
8645 * java/net/HttpURLConnection.java
8646 (HTTP_INTERNAL_ERROR): The correct code is 500.
8647 (HTTP_NOT_IMPLEMENTED): Added new constant.
8648 (setFollowRedirects): Documentation added.
8649 (getInstanceFollowRedirects): New method.
8650 (setInstanceFollowRedirects): New method.
8651 (setRequestMethod): Documentation added.
8652 (getResponseCode): Documentation added.
8653 (getResponseMessage): Documentation added.
8654 * java/net/JarURLConnection.java
8655 (JarURLConnection): protected since JDK 1.4.
8656 (getJarEntry): java.io.IOException to IOException, documentation added.
8657 (getJarFile): Documentation added.
8658 * java/net/ServerSocket.java
8659 (ServerSocket): Private to public, exception added.
8660 (ServerSocket): java.io.IOException to IOException, documentation added.
8661 (bind): Check socket address type, documentation added.
8662 (bind): java.io.IOException to IOException, documentation added.
8663 (accept): Documentation added.
8664 (implAccept): Check ch is not non-blocking, documentation added.
8665 (setSoTimeout): Documentation fixed.
8666 (setReceiveBufferSize): Documentation added.
8667 * java/net/Socket.java
8668 (Socket): Documentation added.
8669 (bind): Documentation added.
8670 (connect): Check socket address type, documentation added.
8671 (getRemoteSocketAddress): New method.
8672 (getLocalSocketAddress): New method.
8673 (setSoLinger): Documentation added.
8674 (getReuseAddress): New method.
8675 (setReuseAddress): New method.
8676 (getTrafficClass): New method.
8677 (setTrafficClass): New method.
8678 * java/net/URLStreamHandler.java
8679 (openConnection): java.io.IOException to IOException.
8680 (parseURL): Documentation added.
8681 (sameFile): public to protected, documentation added.
8682 (setURL): Documentation added.
8683 * java/nio/IllegalBlockingModeException.java: New file.
8684 * Makefile.am (ordinary_java_source_files):
8685 added java/nio/IllegalBlockingModeException.java
8686 * Makefile.in: Regenerated.
8687
8688 2002-09-25 Michael Koch <konqueror@gmx.de>
8689
8690 * java/net/DatagramPacket
8691 (DatagramPacket): Exception documentation added.
8692 (setData): Likewise.
8693 (setSocketAddress): Likewise.
8694 * java/net/DatagramSocketImpl.java
8695 (peek): Documentation addded.
8696 (peekData): Documentation addded.
8697 (send): Documentation addded.
8698 (receive): Documentation addded.
8699 (connect): New method.
8700 (disconnect): New method.
8701 (joinGroup): New abstract method.
8702 (leaveGroup): New abstract method.
8703 * java/net/InetSocketAddress.java
8704 (InetSocketAddress): Documentation added.
8705 (equals): final keyword added.
8706 (getAddress): final keyword added.
8707 (getHostName): final keyword added.
8708 (getPort): final keyword added.
8709 (hashCode): final keyword added.
8710 (isUnresolved): final keyword added.
8711 * java/net/MulticastSocket.java
8712 (MulticastSocket): Documentation added.
8713 (MulticastSocket): New method.
8714 (joinGroup): Documentation added.
8715 (joinGroup): New method.
8716 (leaveGroup): Documentation added.
8717 (leaveGroup): New method.
8718 (send): Documentation added.
8719 * java/net/NetworkInterface.java
8720 (getByName): Documentation added.
8721 (getByInetAddress): Documentation added.
8722 (getNetworkInterfaces): Documentation added.
8723 * java/net/PlainDatagramSocketImpl.java
8724 (connect): New method.
8725 (disconnect): New method.
8726 * java/net/SocketImpl.java
8727 (create): Documentation added.
8728 (shutdownInput): Convert public to protected, as it always was.
8729 (shutdownOutput): Convert public to protected, as it always was.
8730 * java/net/SocketOptions.java
8731 (whole file): Reintented.
8732 * java/net/URLClassLoader.java
8733 (URLClassLoader): SecurityManager check added, documentation added.
8734 (findResources): Documentation added.
8735 (findClass): Documentation added.
8736 (newInstance): More correct method arguments.
8737 * java/net/URLConnection.java
8738 (connect): Documentation added.
8739 (getContent): Documentation added.
8740 (getPermission): Documentation added.
8741 (getInputStream): Documentation added.
8742 (getOutputStream): Documentation added.
8743 (setDoInput): Throw correct exception, documentation added.
8744 (setDoOutput): Throw correct exception, documentation added.
8745 (setAllowUserInteraction): Throw correct exception, documentation added.
8746 (setUseCaches): Throw correct exception, documentation added.
8747 (setIfModifiedSince): Throw correct exception, documentation added.
8748 (setRequestProperty): Throw exception, documentation added.
8749 (addRequestProperty): Throw exception, documentation added.
8750 (getRequestProperty): Throw exception, documentation added.
8751 (getRequestProperties): Documentation added.
8752 (setContentHandlerFactory): Documentation added.
8753 (guessContentTypeFromName): protected to public.
8754 (setFileNameMap): Documentation added.
8755 * java/net/URLDecoder.java
8756 (URLDecoder): New method.
8757 (decode): Documentation added.
8758 (whole file): Reindented.
8759 * java/net/URLEncoder.java
8760 (encode): Documentation added.
8761 * java/net/natPlainDatagramSocketImpl.cc
8762 (connect): New method.
8763 (disconnect): New method.
8764 * javax/naming/RefAddr:
8765 (addrType): addrType was never final.
8766 (equals): Fix typo in method name.
8767 * javax/naming/BinaryRefAddr:
8768 (equals): Fix typo in method name.
8769
8770 2002-09-22 Tom Tromey <tromey@redhat.com>
8771
8772 Fix for PR libgcj/6576:
8773 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8774 didn't find a given bundle.
8775 (getBundle): Don't require base bundle.
8776 (setParent): Removed old comment.
8777 (tryLocalBundle): Try components even if preceding components were
8778 empty.
8779
8780 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8781
8782 * Makefile.am (all-multi): Fix multilib parallel build.
8783
8784 2002-09-21 Michael Koch <konqueror@gmx.de>
8785
8786 * java/net/Socket.java
8787 (sendUrgentData): New method.
8788 (getChannel): New method.
8789 * java/net/ServerSocket.java
8790 (getChannel): New method.
8791 (isBound): New method.
8792 * java/net/DatagramSocket.java
8793 (DatagramSocket): Two new methods.
8794 (bind): New method.
8795 (getChannel): New method.
8796 (isBound): New method.
8797 (send): Added newline to to make shorter lines.
8798 * java/net/PlainDatagramSocketImpl.java
8799 (mcastGrp): Added argument.
8800 (join): Use new mcastGrp.
8801 (leave): Use new mcastGrp.
8802 (joinGroup): New method.
8803 (leaveGroup): New method.
8804 * java/net/natPlainDatagramSocketImpl.cc
8805 (mcastGrp): Added argument, no yet really implemented.
8806 (getOption): Added newline for shorter lines.
8807 * java/net/natPlainSocketImpl.cc
8808 (read, setOption, getOption): Added newline for shorter lines.
8809
8810 2002-09-19 Tom Tromey <tromey@redhat.com>
8811
8812 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8813 newly-created exception.
8814
8815 2002-09-18 Michael Koch <konqueror@gmx.de>
8816
8817 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8818 java/util/regex/PatternSyntaxException.java:
8819 Merge with classpath, new files.
8820 * Makefile.am (core_java_source_files):
8821 Added java/util/regex/Matcher.java,
8822 java/util/regex/Pattern.java,
8823 java/util/regex/PatternSyntaxException.java
8824 * Makefile.in: Regenerated.
8825 * include/config.h.in: Added HAVE_NET_IF_H.
8826 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8827 Removed #if 0 ... #endif.
8828
8829 2002-09-17 Michael Koch <konqueror@gmx.de>
8830
8831 * java/net/natNetworkInterface.cc:
8832 Removed unneed and yet wrong includes.
8833
8834 2002-09-17 Michael Koch <konqueror@gmx.de>
8835
8836 * java/net/NetworkInterface.java: New file.
8837 * java/net/natNetworkInterface.java: New file.
8838 * configure.in: Added check for net/if.h.
8839 * configure: Regenerated.
8840 * Makefile.am
8841 (ordinary_java_source_files): Added NetworkInterface.java.
8842 (nat_source_files): Added natNetworkInterface.cc.
8843 * Makefile.in: Regenerated.
8844
8845 2002-09-16 Tom Tromey <tromey@redhat.com>
8846
8847 * java/net/URLClassLoader.java (findClass): Code source for a
8848 class from a jar is not necessarily a jar: URL.
8849
8850 2002-09-16 Michael Koch <konqueror@gmx.de>
8851
8852 * java/lang/AssertionError.java:
8853 Merge with classpath, fixes HTML.
8854 * java/rmi/server/LogStream.java:
8855 Merge with classpath, fixes some constants.
8856 * java/net/server/RemoteServer.java:
8857 Merge with classpath, adds serialVersionUID.
8858 * javax/naming/BinaryRefAddr.java:
8859 Merge with classpath, s/equal/equals/.
8860 * javax/naming/NamingException.java:
8861 Merge with classpath, fixed typo.
8862 * javax/naming/RefAddr.java:
8863 Merge with classpath, s/equal/equals/.
8864 * java/awt/Toolkit.java:
8865 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8866 and typo fixed.
8867
8868 2002-09-15 Adam Megacz <adam@xwt.org>
8869
8870 * java/net/natPlainSocketImpl.cc: fixed typo.
8871
8872 2002-09-15 Adam Megacz <adam@xwt.org>
8873
8874 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8875 which don't work on Win32 (yet).
8876
8877 2002-09-14 Adam Megacz <adam@xwt.org>
8878
8879 * java/net/natPlainDatagramSocket.cc: removed #include
8880 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8881 * include/win32.h: included definition for IP_TOS to satisfy
8882 natPlainDatagramSocket.cc
8883
8884 2002-09-13 Michael Koch <konqueror@gmx.de>
8885
8886 * java/net/DatagramPacket.java (DatagramPacket):
8887 Added linebreak for 80 chars per line.
8888 * java/net/JarURLConection.java
8889 (getInputStreami, getJarEntry): Likewise.
8890 * java/net/SocketPErmission.java
8891 (SocketPermission class docu, implies): Likewise.
8892 * java/net/URLClassLoader.java (findResources): Likewise.
8893 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8894
8895 2002-09-13 Michael Koch <konqueror@gmx.de>
8896
8897 * java/nio/channels/DatagramChannel.java,
8898 java/nio/channels/ServerSocketChannel.java
8899 java/nio/channels/SocketChannel.java:
8900 New dummy files to make java.net fully JDK 1.4 compatible
8901 * Makefile.am (ordinary_java_source_files): Added
8902 java/net/DatagramSocketImplFactory.java (long forgotten),
8903 java/nio/SocketChannel.java,
8904 java/nio/ServerSocketChannel.java,
8905 java/nio/DatagramChannel.java
8906 * Makefile.in: Regenrated.
8907
8908 2002-09-12 Michael Koch <konqueror@gmx.de>
8909
8910 * java/net/DatagramSocketImpl.java
8911 (peekData): New method.
8912 * java/net/PlainDatagramSocketImpl.java
8913 (peekData): New method.
8914 * java/net/natPlainDatagramSocketImpl.cc
8915 (peekData): New method.
8916 * java/net/URLConnection
8917 (getPermission): New method.
8918 (addRequestProperty): New method.
8919 (getRequestProperties): New method.
8920 (guessContentTypeFromStream): New method, not really implemented.
8921 (URLConnection): Added/updated documentation.
8922 (connect): Added/updated documentation.
8923 (getURL): Added/updated documentation.
8924 (getContentLength): Added/updated documentation.
8925 (getContentType: Added/updated documentation.
8926 (getContentEncoding): Added/updated documentation.
8927 (getExpiration): Added/updated documentation.
8928 (getDate): Added/updated documentation.
8929 (getLastModified): Added/updated documentation.
8930 (getHeaderField): Added/updated documentation.
8931 (getHeaderFields): Added/updated documentation.
8932 (getHeaderFieldInt): Added/updated documentation.
8933 (getHeaderFieldDate): Added/updated documentation.
8934 (getHeaderFieldKey): Added/updated documentation.
8935 (getContent): Added/updated documentation.
8936 (getInputStream): Added/updated documentation.
8937 (getOutputStream): Added/updated documentation.
8938 (toString): Added/updated documentation.
8939 (setDoInput): Added/updated documentation.
8940 (getDoInput): Added/updated documentation.
8941 (setDoOutput): Added/updated documentation.
8942 (getDoOutput): Added/updated documentation.
8943 (setAllowUserInteraction): Added/updated documentation.
8944 (getAllowUserInteraction): Added/updated documentation.
8945 (setDefaultAllowUserInteraction): Added/updated documentation.
8946 (getDefaultAllowUserInteraction): Added/updated documentation.
8947 (setUseCaches): Added/updated documentation.
8948 (getUseCaches): Added/updated documentation.
8949 (setIfModifiedSince): Added/updated documentation.
8950 (getIfModifiedSince): Added/updated documentation.
8951 (getDefaultUseCaches): Added/updated documentation.
8952 (setDefaultUseCaches): Added/updated documentation.
8953 (setRequestProperty): Added/updated documentation.
8954 (getRequestProperty): Added/updated documentation.
8955 (setDefaultRequestProperty): Added/updated documentation.
8956 (getDefaultRequestProperty): Added/updated documentation.
8957 (setContentHandlerFactory): Added/updated documentation.
8958 (guessContentTypeFromName): Added/updated documentation.
8959 (getFileNameMap): Added/updated documentation.
8960 (setFileNameMap): Added/updated documentation.
8961
8962 2002-09-11 Michael Koch <konqueror@gmx.de>
8963
8964 * java/net/Socket.java
8965 (Socket): protected to public (since JDK 1.4). Added @specnote.
8966 (bind): New method.
8967 (connect): Two new methods.
8968 (getKeepalive): Get correct socket option.
8969 (setKeepalive): Set correct socket option.
8970 (getOOBInline): New method.
8971 (setOOBInline): New method.
8972 * java/net/ServerSocket.java
8973 (bind): Two new methods.
8974 (getInetAddress): Reimplemented, catch exception.
8975 (getLocalSocketAddress): New method.
8976 (setReuseAddress): New method.
8977 (getReuseAdress): New method.
8978 (setReceiveBufferSize): New method.
8979 (getReceiveBufferSize): New method.
8980 (toString): Made string JDK 1.4 compliant.
8981
8982 2002-09-10 Michael Koch <konqueror@gmx.de>
8983
8984 * java/net/SocketImpl.java
8985 (connect): New method.
8986 (supportsUrgentData): New method.
8987 (sendUrgentData): New method.
8988 * java/net/PlainSocketImpl.java
8989 (connect): One new method and two new implementation.
8990 (sendUrgentData): New method.
8991 * java/natPlainSocketImpl.cc
8992 (connect): Arguments changed, added support for timeouts.
8993 (getOption): Another __java_boolean to jboolean.
8994
8995 2002-09-07 Adam Megacz <adam@xwt.org>
8996
8997 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8998 definition of IP_TOS.
8999
9000 2002-09-04 Michael Koch <konqueror@gmx.de>
9001
9002 * java/net/DatagramSocket.java
9003 (DatagramSocket): Added documentation.
9004 (close): Likewise.
9005 (getLocalAddress): Likewise.
9006 (getLocalPort): Likewise.
9007 (receive): Likewise.
9008 (send): Likewise.
9009 (setSoTimeout): Likewise.
9010 (connect): New method.
9011 (disconnect): New method.
9012 (getInetAddress): New method (FIXME)
9013 (getPort): New method.
9014 (setReuseAddress): New method.
9015 (getReuseAddress): New method.
9016 (setBroadcast): New method.
9017 (getBroadcast): New method.
9018 (setTrafficClass): New method.
9019 (getTrafficClass): New method.
9020 * java/net/MulticastSocket.java):
9021 (getTTL): Added @see in documentation.
9022 (setTTL): Added @see in documentation.
9023 (setLoopbackMode): New method.
9024 (getLoopbackMode): New method.
9025 * java/net/PlainSocketImpl.java:
9026 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9027 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9028 * java/net/PlainDatagramSocketImpl.java
9029 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
9030 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9031 * java/net/natPlainSocketImpl.cc
9032 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9033 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9034 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9035 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9036 This should also fix SO_KEEPALIVE
9037 * java/net/natPlainDatagramSocketImpl.cc
9038 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9039 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9040 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9041 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9042
9043 2002-09-04 Michael Koch <konqueror@gmx.de>
9044
9045 * java/net/SocketOptions.java: added static variables to be JDK 1.4
9046 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
9047 IP_MULTICAST_LOOP, IP_TOS
9048
9049 2002-09-03 Tom Tromey <tromey@redhat.com>
9050
9051 * java/lang/Class.h (_getDeclaredMethod): Declare.
9052 (_getMethod): Now private.
9053 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
9054 getDeclaredMethod. Now returns NULL on failure.
9055 * java/lang/Class.java (_getDeclaredMethod): Declare.
9056 (getDeclaredMethod): No longer native; implements access checks.
9057
9058 2002-09-01 Mark Wielaard <mark@klomp.org>
9059
9060 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
9061 (sanitizeStack): Correctly reset unknown and interpreter counters,
9062 detect interpreter runtime frames.
9063 (demangleInterpreterMethod): New method.
9064 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
9065 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
9066 filling in addrs[].
9067
9068 2002-09-02 Michael Koch <konqueror@gmx.de>
9069
9070 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
9071 re-indented documentation.
9072
9073 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9074
9075 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
9076 public, per 1.4 spec. Fixes PR libgcj/7785.
9077
9078 2002-08-30 Jeff Sturm <jsturm@one-point.com>
9079
9080 * Makefile.in: Rebuilt.
9081 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
9082
9083 2002-08-29 Tom Tromey <tromey@redhat.com>
9084
9085 * java/net/JarURLConnection.java (getCertificates): New method
9086 from Classpath.
9087 * java/net/URLClassLoader.java (URLClassLoader): Extends
9088 SecureClassLoader.
9089 (definePackage): New method from Classpath.
9090 (getPermissions): Likewise.
9091 (newInstance): Likewise.
9092 (findClass): Construct CodeSource for new class (from Classpath).
9093 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9094 methods.
9095 * java/net/URL.java (getUserInfo): New method.
9096 (set(String,String,int,String,String,String,String,String)): New
9097 method.
9098 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9099 (shutdownInput, shutdownOutput): Declare.
9100 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9101 Define.
9102 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9103 (getOption): Likewise.
9104 (shutdownInput): New method.
9105 (shutdownOutput): Likewise.
9106 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9107 keepalive.
9108 (getOption): Likewise.
9109 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9110 * java/net/Socket.java (setKeepAlive): New method.
9111 (getKeepAlive): Likewise.
9112 (shutdownInput, shutdownOutput): New methods.
9113
9114 2002-08-29 Michael Koch <konqueror@gmx.de>
9115
9116 * java/net/DatagramPacket.java: updated to JDK 1.4 API
9117 new methods are:
9118 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9119 address),
9120 DatagramPacket(byte[] buf, int length, SocketAddress address),
9121 void setSocketAddress(SocketAddress address)
9122 public SocketAddress getSocketAddress()
9123
9124 2002-08-29 Tom Tromey <tromey@redhat.com>
9125
9126 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9127 ftruncate is missing.
9128 * configure, include/config.h.in: Rebuilt.
9129 * acconfig.h (HAVE_FTRUNCATE): Mention.
9130 * configure.in: Check for ftruncate.
9131
9132 2002-08-29 Tom Tromey <tromey@redhat.com>
9133
9134 * include/jvm.h (struct _Jv_frame_info): New structure.
9135 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9136 java-interp.h.
9137 (lookupInterp): New method.
9138 (getAddrAsString): Use _Jv_frame_info.
9139 (dladdrLookup): Likewise.
9140 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9141 interpreted frame.
9142 (lookupInterp): Declare.
9143 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9144 (fillInStackTrace): Collect information on interpreted frames.
9145 Use _Jv_frame_info.
9146 * interpret.cc: Include Thread.h.
9147 (run): Create and push _Jv_MethodChain object.
9148 (_Jv_EndOfInterpreter): New global.
9149 * java/lang/Thread.java (interp_frame): New field.
9150 * include/java-interp.h (struct _Jv_MethodChain): New structure.
9151 Include NameFinder.h.
9152
9153 2002-08-28 Tom Tromey <tromey@redhat.com>
9154
9155 * java/lang/Class.h: Include Package.h.
9156 (Class::getProtectionDomain): Declare.
9157 (Class::getPackage): Declare.
9158
9159 2002-08-28 Michael Koch <konqueror@gmx.de>
9160
9161 * java/net/InetSocketAddress.java: Added some documentation and argument
9162 checks for the port numbers.
9163 * java/net/DatagramSocketImplFactory.java: New file.
9164
9165 2002-08-28 Michael Koch <konqueror@gmx.de>
9166
9167 * java/net/Authenticator.java: added some documentation.
9168
9169 2002-08-27 Tom Tromey <tromey@redhat.com>
9170
9171 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9172 class.
9173 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9174
9175 2002-08-27 Michael Koch <konqueror@gmx.de>
9176
9177 * java/net/BindException.java,
9178 java/net/JarURLConnection.java,
9179 java/net/FileNameMap.java,
9180 java/net/HttpURLConnection.java,
9181 java/net/InetSocketAddress.java,
9182 java/net/DatagramPacket.java,
9183 java/net/DatagramSocket.java,
9184 java/net/DatagramSocketImpl.java,
9185 java/net/MulticastSocket.java,
9186 java/net/PasswordAuthentication.java,
9187 java/net/ServerSocket.java,
9188 java/net/Socket.java,
9189 java/net/URLClassLoader.java,
9190 java/net/URLConnection.java: add/update of some @since/@deprecated
9191
9192 2002-08-27 Tony Kimball <alk@pobox.com>
9193 Tom Tromey <tromey@redhat.com>
9194
9195 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9196 define.
9197 (::close): Removed.
9198 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9199 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9200 (::close): Removed.
9201 (PlainSocketImpl::close): Use NATIVE_CLOSE.
9202 * include/win32.h (getcwd): Removed declaration. Include io.h.
9203
9204 2002-08-25 Adam Megacz <adam@xwt.org>
9205
9206 * include/win32.h (getcwd): copied function declaration as
9207 temporary fix for header confusion.
9208
9209 2002-08-24 Mark Wielaard <mark@klomp.org>
9210
9211 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9212 (core_java_source_files): Add VMThrowable.java and NameFinder.java
9213 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9214 and natNameFinder.cc.
9215 * Makefile.in: Regenerate.
9216 * prims.cc: Use trace_enabled from VMThrowable.
9217 * name-finder.cc: Removed.
9218 * gcj/javaprims.h: Add class VMThrowable.
9219 * gnu/gcj/runtime/NameFinder.java: New file.
9220 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9221 * include/name-finder.h: Removed.
9222 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9223 method stackTraceString().
9224 (printStackTrace (PrintWriter)): Likewise.
9225 (stackTraceString): Complete rewrite of old printStackTrace using
9226 StringBuffer.
9227 (stackTraceStringBuffer): New helper method for stackTraceString().
9228 (fillInStackTrace): Delegate to VMTrowable.
9229 (getStackTrace): Likewise.
9230 (getStackTrace0): Removed.
9231 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9232 (setStackTrace): Copy given array.
9233 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9234 * java/lang/VMThrowable.java: New class.
9235 * java/lang/natVMThrowable.cc: New file.
9236
9237 2003-08-23 Michael Koch <konqueror@gmx.de>
9238
9239 * java/net/URLConnection.java,
9240 java/netJarURLConnection.java,
9241 gnu/gcj/protocol/core/Connection.java,
9242 gnu/gcj/protocol/file/Connection.java,
9243 gnu/gcj/protocol/http/Connection.java: Added implementation of
9244 getHeaderFields().
9245
9246 2002-08-22 Tom Tromey <tromey@redhat.com>
9247
9248 * gij.cc (help): Document -cp and -classpath.
9249 (main): Handle -classpath.
9250
9251 2002-08-21 Tom Tromey <tromey@redhat.com>
9252
9253 * Makefile.in: Rebuilt.
9254 * Makefile.am (ordinary_java_source_files): Added
9255 SocketAddress.java, InetSocketAddress.java.
9256 * java/net/PortUnreachableException.java: Merged with Classpath.
9257 * java/net/SocketTimeoutException.java: Likewise.
9258 * java/net/URISyntaxException.java: Likewise.
9259 * java/net/SocketAddress.java: New class from Classpath.
9260 * java/net/InetSocketAddress.java: Likewise.
9261
9262 2003-08-21 Michael Koch <konqueror@gmx.de>
9263
9264 * java/net/Authenticator.java: updated JDK 1.4
9265 * java/net/ContentHandler.java: updated JDK 1.4
9266
9267 2002-08-20 Michael Koch <konqueror@gmx.de>
9268
9269 * java/net/URISyntaxException.java: New file.
9270 * java/net/SocketTimeoutException.java: New file.
9271 * java/net/PortUnreachableException.java: New file.
9272 * Makefile.am: Updated.
9273 * Makefile.in: Rebuilt.
9274
9275 2002-08-18 Mark Wielaard <mark@klomp.org>
9276
9277 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9278 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9279 MessageDigestSpi (fixes Classpath bug #783).
9280
9281 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9282
9283 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9284 (startProcess): Allocate path for chdir in async-signal-safe way.
9285
9286 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9287
9288 Fix for PR libgcj/7570 and PR libgcj/7578:
9289 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9290 (startProcess): Handle new `dir' argument.
9291 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9292 argument.
9293 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9294 argument.
9295 (startProcess): Likewise.
9296 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9297 argument.
9298 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9299 (exec): Don't create new environment if ENV==null. Pass DIR to
9300 execInternal.
9301 * java/lang/natRuntime.cc: Include java/io/File.h.
9302 (execInternal): Added `dir' argument.
9303
9304 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9305
9306 * java/io/RandomAccessFile.java (skipBytes): Return number of
9307 bytes skipped.
9308
9309 2002-08-01 Mark Wielaard <mark@klomp.org>
9310
9311 Reenable patch since shared library troubles on powerpc are solved:
9312 * gnu/java/security/provider/Gnu.java: Reference all implementation
9313 classes by using Class.getName().
9314 * gnu/java/security/der/DEREncodingException.java,
9315 gnu/java/security/provider/DERReader.java,
9316 gnu/java/security/provider/DERWriter.java,
9317 gnu/java/security/provider/DSAKeyPairGenerator.java,
9318 gnu/java/security/provider/DSAParameterGenerator.java,
9319 gnu/java/security/provider/DSAParameters.java,
9320 gnu/java/security/provider/DSASignature.java,
9321 gnu/java/security/provider/GnuDSAPrivateKey.java,
9322 gnu/java/security/provider/GnuDSAPublicKey.java,
9323 gnu/java/security/provider/MD5.java,
9324 gnu/java/security/util/Prime.java: New classes
9325 * Makefile.am (ordinary_java_source_files): Add above files.
9326 * Makefile.in: Regenerate.
9327 * gnu/java/security/provider/DefaultPolicy.java
9328 (getPermissions): Don't maintain static class variable of Permissions.
9329 * gnu/java/security/provider/SHA.java
9330 (engineUpdate): algorithm change.
9331 (engineDigest): algorithm change.
9332
9333 2002-08-09 Mark Wielaard <mark@klomp.org>
9334
9335 * java/awt/image/MemoryImageSource.java: Change constructor to take
9336 int[] not byte[].
9337 * java/awt/Graphics2D.java: Uncomment methods that can now be
9338 compiled.
9339 * java/awt/GridBagLayout.java: New stub implementation.
9340 * javax/swing/text/html/HTML.java: Stub implementation.
9341 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9342 implementation.
9343
9344 * Makefile.am: Add new files.
9345 * Makefile.in: Rebuilt.
9346
9347 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9348
9349 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9350 methods in Graphics2D.
9351
9352 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9353
9354 AWT/Swing merge from GNU Classpath.
9355
9356 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9357 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9358 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9359 java/awt/color/ProfileDataException.java,
9360 java/awt/CompositeContext.java, java/awt/Composite.java,
9361 java/awt/ContainerOrderFocusTraversalPolicy.java,
9362 java/awt/datatransfer/FlavorTable.java,
9363 java/awt/DefaultFocusTraversalPolicy.java,
9364 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9365 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9366 java/awt/dnd/DragGestureListener.java,
9367 java/awt/dnd/DragGestureRecognizer.java,
9368 java/awt/dnd/DragSourceAdapter.java,
9369 java/awt/dnd/DragSourceContext.java,
9370 java/awt/dnd/DragSourceDragEvent.java,
9371 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9372 java/awt/dnd/DragSourceListener.java,
9373 java/awt/dnd/DragSourceMotionListener.java,
9374 java/awt/dnd/DropTarget.java,
9375 java/awt/dnd/InvalidDnDOperationException.java,
9376 java/awt/dnd/peer/DragSourceContextPeer.java,
9377 java/awt/event/AWTEventListenerProxy.java,
9378 java/awt/event/MouseWheelEvent.java,
9379 java/awt/event/MouseWheelListener.java,
9380 java/awt/event/WindowFocusListener.java,
9381 java/awt/event/WindowStateListener.java,
9382 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9383 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9384 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9385 java/awt/geom/FlatteningPathIterator.java,
9386 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9387 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9388 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9389 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9390 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9391 java/awt/image/ImagingOpException.java,
9392 java/awt/image/RasterFormatException.java,
9393 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9394 java/awt/image/VolatileImage.java,
9395 java/awt/image/WritableRenderedImage.java,
9396 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9397 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9398 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9399 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9400 java/awt/PageAttributes.java, java/awt/print/Book.java,
9401 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9402 java/awt/print/Paper.java, java/awt/print/Printable.java,
9403 java/awt/print/PrinterAbortException.java,
9404 java/awt/print/PrinterException.java,
9405 java/awt/print/PrinterGraphics.java,
9406 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9407 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9408 java/awt/Stroke.java, java/awt/TexturePaint.java,
9409 javax/accessibility/AccessibleAction.java,
9410 javax/accessibility/AccessibleBundle.java,
9411 javax/accessibility/AccessibleComponent.java,
9412 javax/accessibility/AccessibleContext.java,
9413 javax/accessibility/AccessibleEditableText.java,
9414 javax/accessibility/AccessibleExtendedComponent.java,
9415 javax/accessibility/AccessibleExtendedTable.java,
9416 javax/accessibility/AccessibleHyperlink.java,
9417 javax/accessibility/AccessibleHypertext.java,
9418 javax/accessibility/AccessibleIcon.java,
9419 javax/accessibility/Accessible.java,
9420 javax/accessibility/AccessibleKeyBinding.java,
9421 javax/accessibility/AccessibleRelation.java,
9422 javax/accessibility/AccessibleRelationSet.java,
9423 javax/accessibility/AccessibleResourceBundle.java,
9424 javax/accessibility/AccessibleRole.java,
9425 javax/accessibility/AccessibleSelection.java,
9426 javax/accessibility/AccessibleState.java,
9427 javax/accessibility/AccessibleStateSet.java,
9428 javax/accessibility/AccessibleTable.java,
9429 javax/accessibility/AccessibleTableModelChange.java,
9430 javax/accessibility/AccessibleText.java,
9431 javax/accessibility/AccessibleValue.java,
9432 javax/swing/AbstractAction.java,
9433 javax/swing/AbstractButton.java,
9434 javax/swing/AbstractCellEditor.java,
9435 javax/swing/AbstractListModel.java,
9436 javax/swing/AbstractSet.java, javax/swing/Action.java,
9437 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9438 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9439 javax/swing/border/CompoundBorder.java,
9440 javax/swing/border/EmptyBorder.java,
9441 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9442 javax/swing/border/LineBorder.java,
9443 javax/swing/border/MatteBorder.java,
9444 javax/swing/border/TitledBorder.java,
9445 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9446 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9447 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9448 javax/swing/CellRendererPane.java,
9449 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9450 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9451 javax/swing/colorchooser/ColorSelectionModel.java,
9452 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9453 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9454 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9455 javax/swing/DefaultBoundedRangeModel.java,
9456 javax/swing/DefaultButtonModel.java,
9457 javax/swing/DefaultCellEditor.java,
9458 javax/swing/DefaultCellRenderer.java,
9459 javax/swing/DefaultComboBoxModel.java,
9460 javax/swing/DefaultDesktopManager.java,
9461 javax/swing/DefaultFocusManager.java,
9462 javax/swing/DefaultListCellRenderer.java,
9463 javax/swing/DefaultListModel.java,
9464 javax/swing/DefaultListSelectionModel.java,
9465 javax/swing/DefaultSingleSelectionModel.java,
9466 javax/swing/DesktopManager.java,
9467 javax/swing/event/AncestorEvent.java,
9468 javax/swing/event/AncestorListener.java,
9469 javax/swing/event/CaretEvent.java,
9470 javax/swing/event/CaretListener.java,
9471 javax/swing/event/CellEditorListener.java,
9472 javax/swing/event/ChangeEvent.java,
9473 javax/swing/event/ChangeListener.java,
9474 javax/swing/event/DocumentEvent.java,
9475 javax/swing/event/DocumentListener.java,
9476 javax/swing/event/EventListenerList.java,
9477 javax/swing/event/HyperlinkEvent.java,
9478 javax/swing/event/HyperlinkListener.java,
9479 javax/swing/event/InternalFrameAdapter.java,
9480 javax/swing/event/InternalFrameEvent.java,
9481 javax/swing/event/InternalFrameListener.java,
9482 javax/swing/event/ListDataEvent.java,
9483 javax/swing/event/ListDataListener.java,
9484 javax/swing/event/ListSelectionEvent.java,
9485 javax/swing/event/ListSelectionListener.java,
9486 javax/swing/event/MenuDragMouseEvent.java,
9487 javax/swing/event/MenuDragMouseListener.java,
9488 javax/swing/event/MenuEvent.java,
9489 javax/swing/event/MenuKeyEvent.java,
9490 javax/swing/event/MenuKeyListener.java,
9491 javax/swing/event/MenuListener.java,
9492 javax/swing/event/MouseInputAdapter.java,
9493 javax/swing/event/MouseInputListener.java,
9494 javax/swing/event/PopupMenuEvent.java,
9495 javax/swing/event/PopupMenuListener.java,
9496 javax/swing/event/SwingPropertyChangeSupport.java,
9497 javax/swing/event/TableColumnModelEvent.java,
9498 javax/swing/event/TableColumnModelListener.java,
9499 javax/swing/event/TableModelEvent.java,
9500 javax/swing/event/TableModelListener.java,
9501 javax/swing/event/TreeExpansionEvent.java,
9502 javax/swing/event/TreeExpansionListener.java,
9503 javax/swing/event/TreeModelEvent.java,
9504 javax/swing/event/TreeModelListener.java,
9505 javax/swing/event/TreeSelectionEvent.java,
9506 javax/swing/event/TreeSelectionListener.java,
9507 javax/swing/event/TreeWillExpandListener.java,
9508 javax/swing/event/UndoableEditEvent.java,
9509 javax/swing/event/UndoableEditListener.java,
9510 javax/swing/filechooser/FileFilter.java,
9511 javax/swing/filechooser/FileSystemView.java,
9512 javax/swing/filechooser/FileView.java,
9513 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9514 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9515 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9516 javax/swing/JApplet.java, javax/swing/JButton.java,
9517 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9518 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9519 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9520 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9521 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9522 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9523 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9524 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9525 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9526 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9527 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9528 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9529 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9530 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9531 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9532 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9533 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9534 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9535 javax/swing/JToolTip.java, javax/swing/JTree.java,
9536 javax/swing/JViewport.java, javax/swing/JWindow.java,
9537 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9538 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9539 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9540 javax/swing/MenuSelectionManager.java,
9541 javax/swing/MutableComboBoxModel.java,
9542 javax/swing/OverlayLayout.java,
9543 javax/swing/plaf/ActionMapUIResource.java,
9544 javax/swing/plaf/basic/BasicBorders.java,
9545 javax/swing/plaf/basic/BasicButtonUI.java,
9546 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9547 javax/swing/plaf/basic/BasicDefaults.java,
9548 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9549 javax/swing/plaf/basic/BasicIconFactory.java,
9550 javax/swing/plaf/basic/BasicLabelUI.java,
9551 javax/swing/plaf/basic/BasicListUI.java,
9552 javax/swing/plaf/basic/BasicLookAndFeel.java,
9553 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9554 javax/swing/plaf/basic/BasicPanelUI.java,
9555 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9556 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9557 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9558 javax/swing/plaf/basic/BasicTextUI.java,
9559 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9560 javax/swing/plaf/basic/BasicTreeUI.java,
9561 javax/swing/plaf/basic/BasicViewportUI.java,
9562 javax/swing/plaf/BorderUIResource.java,
9563 javax/swing/plaf/ButtonUI.java,
9564 javax/swing/plaf/ColorChooserUI.java,
9565 javax/swing/plaf/ColorUIResource.java,
9566 javax/swing/plaf/ComboBoxUI.java,
9567 javax/swing/plaf/ComponentInputMapUIResource.java,
9568 javax/swing/plaf/ComponentUI.java,
9569 javax/swing/plaf/DesktopIconUI.java,
9570 javax/swing/plaf/DesktopPaneUI.java,
9571 javax/swing/plaf/DimensionUIResource.java,
9572 javax/swing/plaf/FileChooserUI.java,
9573 javax/swing/plaf/FontUIResource.java,
9574 javax/swing/plaf/IconUIResource.java,
9575 javax/swing/plaf/InputMapUIResource.java,
9576 javax/swing/plaf/InsetsUIResource.java,
9577 javax/swing/plaf/InternalFrameUI.java,
9578 javax/swing/plaf/LabelUI.java,
9579 javax/swing/plaf/ListUI.java,
9580 javax/swing/plaf/MenuBarUI.java,
9581 javax/swing/plaf/MenuItemUI.java,
9582 javax/swing/plaf/OptionPaneUI.java,
9583 javax/swing/plaf/PanelUI.java,
9584 javax/swing/plaf/PopupMenuUI.java,
9585 javax/swing/plaf/ProgressBarUI.java,
9586 javax/swing/plaf/RootPaneUI.java,
9587 javax/swing/plaf/ScrollBarUI.java,
9588 javax/swing/plaf/ScrollPaneUI.java,
9589 javax/swing/plaf/SeparatorUI.java,
9590 javax/swing/plaf/SliderUI.java,
9591 javax/swing/plaf/SplitPaneUI.java,
9592 javax/swing/plaf/TabbedPaneUI.java,
9593 javax/swing/plaf/TableHeaderUI.java,
9594 javax/swing/plaf/TableUI.java,
9595 javax/swing/plaf/TextUI.java,
9596 javax/swing/plaf/ToolBarUI.java,
9597 javax/swing/plaf/ToolTipUI.java,
9598 javax/swing/plaf/TreeUI.java,
9599 javax/swing/plaf/UIResource.java,
9600 javax/swing/plaf/ViewportUI.java,
9601 javax/swing/ProgressMonitorInputStream.java,
9602 javax/swing/ProgressMonitor.java,
9603 javax/swing/Renderer.java,
9604 javax/swing/RepaintManager.java,
9605 javax/swing/RootPaneContainer.java,
9606 javax/swing/Scrollable.java,
9607 javax/swing/ScrollPaneConstants.java,
9608 javax/swing/ScrollPaneLayout.java,
9609 javax/swing/SingleSelectionModel.java,
9610 javax/swing/SizeRequirements.java,
9611 javax/swing/SizeSequence.java,
9612 javax/swing/SwingConstants.java,
9613 javax/swing/SwingUtilities.java,
9614 javax/swing/table/AbstractTableModel.java,
9615 javax/swing/table/DefaultTableCellRenderer.java,
9616 javax/swing/table/DefaultTableColumnModel.java,
9617 javax/swing/table/DefaultTableModel.java,
9618 javax/swing/table/TableCellEditor.java,
9619 javax/swing/table/TableCellRenderer.java,
9620 javax/swing/table/TableColumn.java,
9621 javax/swing/table/TableColumnModel.java,
9622 javax/swing/table/TableModel.java,
9623 javax/swing/text/AbstractDocument.java,
9624 javax/swing/text/AttributeSet.java,
9625 javax/swing/text/BadLocationException.java,
9626 javax/swing/text/Caret.java,
9627 javax/swing/text/CharacterIterator.java,
9628 javax/swing/text/ComponentView.java,
9629 javax/swing/text/DefaultCaret.java,
9630 javax/swing/text/DefaultEditorKit.java,
9631 javax/swing/text/Document.java,
9632 javax/swing/text/EditorKit.java,
9633 javax/swing/text/Element.java,
9634 javax/swing/text/GapContent.java,
9635 javax/swing/text/JTextComponent.java,
9636 javax/swing/text/Keymap.java,
9637 javax/swing/text/MutableAttributeSet.java,
9638 javax/swing/text/PlainDocument.java,
9639 javax/swing/text/PlainEditorKit.java,
9640 javax/swing/text/Position.java,
9641 javax/swing/text/Segment.java,
9642 javax/swing/text/StyledDocument.java,
9643 javax/swing/text/StyledEditorKit.java,
9644 javax/swing/text/Style.java,
9645 javax/swing/text/TextAction.java,
9646 javax/swing/text/ViewFactory.java,
9647 javax/swing/text/View.java,
9648 javax/swing/Timer.java,
9649 javax/swing/ToggleButtonModel.java,
9650 javax/swing/ToolTipManager.java,
9651 javax/swing/tree/AbstractLayoutCache.java,
9652 javax/swing/tree/DefaultMutableTreeNode.java,
9653 javax/swing/tree/DefaultTreeCellEditor.java,
9654 javax/swing/tree/DefaultTreeCellRenderer.java,
9655 javax/swing/tree/DefaultTreeModel.java,
9656 javax/swing/tree/DefaultTreeSelectionModel.java,
9657 javax/swing/tree/ExpandVetoException.java,
9658 javax/swing/tree/FixedHeightLayoutCache.java,
9659 javax/swing/tree/MutableTreeNode.java,
9660 javax/swing/tree/RowMapper.java,
9661 javax/swing/tree/TreeCellEditor.java,
9662 javax/swing/tree/TreeCellRenderer.java,
9663 javax/swing/tree/TreeModel.java,
9664 javax/swing/tree/TreeNode.java,
9665 javax/swing/tree/TreePath.java,
9666 javax/swing/tree/TreeSelectionModel.java,
9667 javax/swing/tree/VariableHeightLayoutCache.java,
9668 javax/swing/UIDefaults.java,
9669 javax/swing/UIManager.java,
9670 javax/swing/undo/AbstractUndoableEdit.java,
9671 javax/swing/undo/CannotRedoException.java,
9672 javax/swing/undo/CannotUndoException.java,
9673 javax/swing/undo/CompoundEdit.java,
9674 javax/swing/undo/StateEditable.java,
9675 javax/swing/undo/StateEdit.java,
9676 javax/swing/undo/UndoableEdit.java,
9677 javax/swing/undo/UndoableEditSupport.java,
9678 javax/swing/undo/UndoManager.java,
9679 javax/swing/UnsupportedLookAndFeelException.java,
9680 javax/swing/ViewportLayout.java,
9681 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9682
9683 * java/awt/ActiveEvent.java,
9684 java/awt/Adjustable.java, java/awt/AWTError.java,
9685 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9686 java/awt/AWTException.java, java/awt/AWTPermission.java,
9687 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9688 java/awt/Color.java, java/awt/Component.java,
9689 java/awt/ComponentOrientation.java, java/awt/Container.java,
9690 java/awt/datatransfer/MimeTypeParseException.java,
9691 java/awt/datatransfer/Transferable.java,
9692 java/awt/datatransfer/UnsupportedFlavorException.java,
9693 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9694 java/awt/event/ActionListener.java,
9695 java/awt/event/AdjustmentEvent.java,
9696 java/awt/event/AdjustmentListener.java,
9697 java/awt/event/AWTEventListener.java,
9698 java/awt/event/ComponentAdapter.java,
9699 java/awt/event/ComponentEvent.java,
9700 java/awt/event/ComponentListener.java,
9701 java/awt/event/ContainerAdapter.java,
9702 java/awt/event/ContainerEvent.java,
9703 java/awt/event/ContainerListener.java,
9704 java/awt/event/FocusAdapter.java,
9705 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9706 java/awt/event/HierarchyBoundsAdapter.java,
9707 java/awt/event/HierarchyBoundsListener.java,
9708 java/awt/event/HierarchyEvent.java,
9709 java/awt/event/HierarchyListener.java,
9710 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9711 java/awt/event/InputMethodListener.java,
9712 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9713 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9714 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9715 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9716 java/awt/event/MouseListener.java,
9717 java/awt/event/MouseMotionAdapter.java,
9718 java/awt/event/MouseMotionListener.java,
9719 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9720 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9721 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9722 java/awt/event/WindowListener.java, java/awt/Font.java,
9723 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9724 java/awt/geom/Ellipse2D.java,
9725 java/awt/geom/IllegalPathStateException.java,
9726 java/awt/geom/Line2D.java,
9727 java/awt/geom/NoninvertibleTransformException.java,
9728 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9729 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9730 java/awt/geom/RoundRectangle2D.java,
9731 java/awt/GraphicsConfiguration.java,
9732 java/awt/IllegalComponentStateException.java,
9733 java/awt/image/IndexColorModel.java,
9734 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9735 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9736 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9737 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9738 java/awt/MenuItem.java, java/awt/PaintContext.java,
9739 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9740 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9741 java/awt/PrintJob.java, java/awt/Rectangle.java,
9742 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9743 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9744 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9745
9746 * java/awt/im/spi/InputMethod.java,
9747 java/awt/im/spi/InputMethodContext.java,
9748 java/awt/im/spi/InputMethodDescriptor.java,
9749 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9750 java/awt/image/renderable/ParameterBlock.java,
9751 java/awt/image/renderable/RenderContext.java,
9752 java/awt/image/renderable/RenderableImage.java,
9753 java/awt/image/renderable/RenderableImageOp.java,
9754 java/awt/image/renderable/RenderableImageProducer.java,
9755 java/awt/image/renderable/RenderedImageFactory.java: New files from
9756 classpath.
9757
9758 * gnu/java/awt/EventModifier.java,
9759 gnu/java/awt/image/ImageDecoder.java,
9760 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9761
9762 * gnu/awt/xlib/XGraphicsConfiguration.java,
9763 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9764 API.
9765
9766 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9767 GNU Classpath.
9768
9769 * Makefile.am: Add new files.
9770 * Makefile.in: Rebuilt.
9771
9772 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9773
9774 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9775 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9776 findResource, getResources, findResources): Add javadoc from classpath.
9777 (getSystemResources): Implemented.
9778
9779 2002-08-01 Mark Wielaard <mark@klomp.org>
9780
9781 Revert patch that breaks libgcj shared library on powerpc:
9782 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9783 implementation classes by using Class.getName(). Uses Strings again.
9784 * gnu/java/security/der/DEREncodingException.java,
9785 gnu/java/security/provider/DERReader.java,
9786 gnu/java/security/provider/DERWriter.java,
9787 gnu/java/security/provider/DSAKeyPairGenerator.java,
9788 gnu/java/security/provider/DSAParameterGenerator.java,
9789 gnu/java/security/provider/DSAParameters.java,
9790 gnu/java/security/provider/DSASignature.java,
9791 gnu/java/security/provider/GnuDSAPrivateKey.java,
9792 gnu/java/security/provider/GnuDSAPublicKey.java,
9793 gnu/java/security/provider/MD5.java,
9794 gnu/java/security/util/Prime.java: Removed.
9795 * Makefile.am (ordinary_java_source_files): Remove above files.
9796 * Makefile.in: Regenerate.
9797 * gnu/java/security/provider/DefaultPolicy.java
9798 (getPermissions): Revert to maintaining static class variable of
9799 Permissions.
9800 * gnu/java/security/provider/SHA.java
9801 (engineUpdate): Revert algorithm change.
9802 (engineDigest): Revert algorithm change.
9803
9804 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9805
9806 * configure.host: Add SH support.
9807 * sysdep/sh/locks.h: New file.
9808
9809 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9810
9811 * java/awt/Frame.java (Frame): Remove println calls.
9812
9813 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9814
9815 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9816 * configure: Rebuilt.
9817
9818 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9819
9820 * sysdep/powerpc/locks.h: Formatting.
9821 (_LARX): Define.
9822 (_STCX): Define.
9823 (compare_and_swap): Use _LARX and _STCX.
9824 (compare_and_swap_release): Likewise.
9825
9826 2002-07-26 Tom Tromey <tromey@redhat.com>
9827
9828 * java/net/Authenticator.java: New version from Classpath.
9829 * java/net/DatagramSocketImpl.java: New version from Classpath.
9830
9831 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9832
9833 * configure.host: Add powerpc64*-* entry.
9834
9835 2002-07-26 Tom Tromey <tromey@redhat.com>
9836
9837 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9838 fcntl.h.
9839
9840 2002-07-24 Tom Tromey <tromey@redhat.com>
9841
9842 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9843 argument to _load.
9844
9845 2002-07-24 Tom Tromey <tromey@redhat.com>
9846 Tony Kimball <alk@pobox.com>
9847
9848 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9849 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9850 * java/io/RandomAccessFile.java (setLength): New method.
9851 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9852 * java/io/FileDescriptor.java (setLength): New method.
9853
9854 2002-07-24 Mark Wielaard <mark@klomp.org>
9855
9856 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9857 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9858 field call setAccessible(true).
9859 (setByteField): Likewise.
9860 (setCharField): Likewise.
9861 (setDoubleField): Likewise.
9862 (setFloatField): Likewise.
9863 (setIntField): Likewise.
9864 (setLongField): Likewise.
9865 (setShortField): Likewise.
9866 (setObjectField): Likewise.
9867
9868 2002-07-24 Tom Tromey <tromey@redhat.com>
9869
9870 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9871 use toString() to format array element.
9872
9873 2002-07-23 Mark Wielaard <mark@klomp.org>
9874
9875 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9876 MessageDigestSpi (fixes Classpath bug #783).
9877
9878 2002-07-21 Mark Wielaard <mark@klomp.org>
9879
9880 * gnu/java/security/provider/Gnu.java: Reference all implementation
9881 classes by using Class.getName().
9882
9883 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9884
9885 * java/lang/ieeefp.h: Add x86-64 support.
9886 * configure.in: Likewise.
9887 * configure.host: Likewise.
9888 * configure: Regenerated.
9889 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9890
9891 2002-07-16 Mark Wielaard <mark@klomp.org>
9892
9893 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9894 (whitespaceChars): call resetChar().
9895
9896 2002-07-15 Tom Tromey <tromey@redhat.com>
9897
9898 * Makefile.in: Rebuilt.
9899 * Makefile.am (awt_java_source_files): Added new files.
9900 * java/beans/ExceptionListener.java: Merged with Classpath.
9901 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9902 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9903 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9904 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9905 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9906 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9907 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9908
9909 2002-07-14 Mark Wielaard <mark@klomp.org>
9910
9911 * gnu/java/security/der/DEREncodingException.java,
9912 gnu/java/security/provider/DERReader.java,
9913 gnu/java/security/provider/DERWriter.java,
9914 gnu/java/security/provider/DSAKeyPairGenerator.java,
9915 gnu/java/security/provider/DSAParameterGenerator.java,
9916 gnu/java/security/provider/DSAParameters.java,
9917 gnu/java/security/provider/DSASignature.java,
9918 gnu/java/security/provider/GnuDSAPrivateKey.java,
9919 gnu/java/security/provider/GnuDSAPublicKey.java,
9920 gnu/java/security/provider/MD5.java,
9921 gnu/java/security/util/Prime.java: New files from Classpath.
9922 * Makefile.am (ordinary_java_source_files): Add new files.
9923 * Makefile.in: Regenerate.
9924
9925 2002-07-14 C. Brian Jones <cbj@gnu.org>
9926
9927 * gnu/java/security/provider/DefaultPolicy.java
9928 (getPermissions): do not maintain static class variable of
9929 Permissions
9930 * gnu/java/security/provider/SHA.java
9931 (engineUpdate): algorithm change
9932 (engineDigest): algorithm change
9933
9934 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9935
9936 For PR libgcj/7292:
9937 * java/lang/Character.java (toString(char)): Now static.
9938
9939 2002-07-12 Mark Wielaard <mark@klomp.org>
9940
9941 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9942 (getStackTrace0): new method.
9943 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9944 (printStackTrace(PrintWriter)): replace with pure java implementation.
9945 (printRawStackTrace): removed.
9946 (getStackTrace0): new method.
9947 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9948 * gcj/javaprims.h: regenerate class list.
9949 * include/name-finder.h (lookup): new returns StackTraceElement*.
9950 (method_name, file_name): fields removed.
9951 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9952 (~_Jv_name_finder): close new descriptors.
9953 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9954 (createStackTraceElement): new method.
9955 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9956
9957 2002-07-10 Tom Tromey <tromey@redhat.com>
9958
9959 * configure: Rebuilt.
9960 * configure.in: Use `test' after `&&'. From Chris Faylor.
9961
9962 2002-07-08 Mark Wielaard <mark@klomp.org>
9963
9964 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9965 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9966 java.sql.DatabaseMetaData.TestJdbc20
9967
9968 2002-07-05 Tony Kimball <alk@pobox.com>
9969
9970 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9971
9972 2002-07-04 Tom Tromey <tromey@redhat.com>
9973 Jeff Sturm <jsturm@one-point.com>
9974
9975 Fix for PR libgcj/7060:
9976 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9977 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9978 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9979 * java/lang/Class.java (getMethod): New Java implementation;
9980 complies with spec.
9981 (_getMethod): New native method.
9982
9983 2002-07-02 Tom Tromey <tromey@redhat.com>
9984 David Hovemeyer <daveho@cs.umd.edu>
9985
9986 * java/text/ChoiceFormat.java
9987 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9988 in check loop.
9989 * java/text/MessageFormat.java
9990 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9991 to MessageFormat.
9992
9993 2002-07-01 Tom Tromey <tromey@redhat.com>
9994
9995 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9996 StringTokenizer on null string. For PR libgcj/7180.
9997 From daveho@cs.umd.edu.
9998
9999 2002-06-24 Tom Tromey <tromey@redhat.com>
10000
10001 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
10002 (IntegerClass): Likewise.
10003 * java/lang/natClass.cc (CloneableClass): Removed.
10004 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
10005 ConstructorClass): Likewise.
10006 * java/lang/natClassLoader.cc (CloneableClass): Removed.
10007 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
10008 SerializableClass): Likewise.
10009 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
10010 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
10011 LongClass, FloatClass, DoubleClass): Likewise.
10012
10013 * verify.cc (branch_prepass): Updated for change to exception
10014 handler type.
10015 (verify_instructions_0): Likewise.
10016 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
10017 (handleExceptionTableEntry): Updated for change to exception
10018 handler type.
10019 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
10020 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
10021 (union _Jv_InterpPC): New.
10022 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
10023 (class _Jv_InterpMethod): Added new `prepared' field.
10024 (class _Jv_InterpMethod): Added `compile' method. Removed
10025 `continue1' and `find_exception'. Changed arguments to `run'.
10026 * interpret.cc (union insn_slot): New.
10027 (find_exception): Removed.
10028 (run_normal): Removed most logic.
10029 (run_synch_object): Likewise; also, use JvSynchronize.
10030 (run_synch_class): Likewise.
10031 (run): Removed.
10032 (continue1): Renamed as `run'. Compile bytecode if required.
10033 Add new code to allow refinement of direct-threaded code at
10034 runtime. Handle exceptions.
10035 (SAVE_PC): Removed.
10036 (compile): New method.
10037 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
10038 (NULLARRAYCHECK): Don't use SAVE_PC.
10039 (pc_t): New typedef.
10040 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
10041 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
10042
10043 2002-06-23 Tom Tromey <tromey@redhat.com>
10044
10045 * configure: Rebuilt.
10046 * configure.in (INTERPRETER): New subst.
10047 (AM_RUNTESTFLAGS): Don't subst.
10048
10049 * Makefile.in: Rebuilt.
10050 * Makefile.am ($(srcdir)/java/lang/Object.h,
10051 $(srcdir)/java/lang/Class.h): Added dummy targets.
10052
10053 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10054
10055 Reformat JDBC classes and add new JDK 1.4 classes and methods.
10056
10057 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
10058 java/sql/Savepoint.java: New files.
10059 * java/sql/Array.java, java/sql/BatchUpdateException.java,
10060 java/sql/Blob.java, java/sql/CallableStatement.java,
10061 java/sql/Clob.java, java/sql/Connection.java,
10062 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
10063 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
10064 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
10065 java/sql/Ref.java, java/sql/ResultSet.java,
10066 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
10067 java/sql/SQLException.java, java/sql/SQLInput.java,
10068 java/sql/SQLOutput.java, java/sql/SQLWarning.java
10069 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
10070 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
10071 (JDK 1.4) specification.
10072 * javax/sql/ConnectionEvent.java,
10073 javax/sql/ConnectionEventListener.java,
10074 javax/sql/ConnectionPoolDataSource.java,
10075 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
10076 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
10077 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
10078 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
10079 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
10080 javax/sql/XADataSource.java: New files.
10081 * Makefile.am: Add new files.
10082 * Makefile.in: Rebuilt.
10083
10084 2002-06-20 Tom Tromey <tromey@redhat.com>
10085
10086 For PR libgcj/7073:
10087 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10088 exists.
10089 * defineclass.cc (handleClassBegin): Superclass for interface is
10090 `null'.
10091
10092 2002-06-18 Tom Tromey <tromey@redhat.com>
10093
10094 * gcj/javaprims.h: Updated class declaration list.
10095 * Makefile.in: Rebuilt.
10096 * Makefile.am (core_java_source_files): Removed
10097 BasicMapEntry.java.
10098 * java/util/BasicMapEntry.java: Removed.
10099
10100 2002-06-18 Jeff Sturm <jsturm@one-point.com>
10101
10102 * java/net/natPlainDatagramSocketImpl.cc (receive):
10103 Check bounds of argument to FD_SET.
10104 (setOption): Throw exception if socket is closed.
10105
10106 * java/net/natPlainSocketImpl.cc (accept, read):
10107 Check bounds of argument to FD_SET.
10108 (setOption): Throw exception if socket is closed.
10109
10110 2002-06-18 Tom Tromey <tromey@redhat.com>
10111
10112 * gcj/javaprims.h: Updated class declaration list.
10113 * Makefile.in: Rebuilt.
10114 * Makefile.am (core_java_source_files): Added
10115 PropertyPermissionCollection.java.
10116 * java/lang/Thread.java (group, name): Now package-private.
10117 * java/lang/ThreadGroup.java: Re-merge with Classpath.
10118 * java/util/AbstractList.java: Likewise.
10119 * java/util/AbstractMap.java: Likewise.
10120 * java/util/Calendar.java: Likewise.
10121 * java/util/Collections.java: Likewise.
10122 * java/util/HashMap.java: Likewise.
10123 * java/util/Hashtable.java: Likewise.
10124 * java/util/LinkedHashMap.java: Likewise.
10125 * java/util/LinkedList.java: Likewise.
10126 * java/util/List.java: Likewise.
10127 * java/util/ListResourceBundle.java: Likewise.
10128 * java/util/Map.java: Likewise.
10129 * java/util/Observable.java: Likewise.
10130 * java/util/Properties.java: Likewise.
10131 * java/util/PropertyPermission.java: Likewise.
10132 * java/util/PropertyPermissionCollection.java: Likewise.
10133 * java/util/PropertyResourceBundle.java: Likewise.
10134 * java/util/Random.java: Likewise.
10135 * java/util/SimpleTimeZone.java: Likewise.
10136 * java/util/StringTokenizer.java: Likewise.
10137 * java/util/TimerTask.java: Likewise.
10138 * java/util/TreeMap.java: Likewise.
10139 * java/util/WeakHashMap.java: Likewise.
10140 * java/util/jar/Attributes.java: Likewise.
10141 * java/util/jar/JarException.java: Likewise.
10142 * java/util/jar/Manifest.java: Likewise.
10143
10144 2002-06-17 Tom Tromey <tromey@redhat.com>
10145
10146 * gcj/javaprims.h: Updated class declaration list.
10147 * Makefile.in: Rebuilt.
10148 * Makefile.am (core_java_source_files): Added new file.
10149 * java/util/EventListenerProxy.java: New file.
10150 * java/util/EventListener.java: Re-merge with Classpath.
10151 * java/util/EventObject.java: Re-merge with Classpath.
10152
10153 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10154
10155 * java/lang/ClassNotFoundException.java: New Classpath version.
10156
10157 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10158
10159 * java/rmi/activation/ActivateFailedException.java: Remerge from
10160 Classpath version.
10161 * java/rmi/activation/ActivationException.java: Ditto.
10162 * java/rmi/activation/UnknownGroupException.java: Ditto.
10163 * java/rmi/activation/UnknownObjectException.java: Ditto.
10164 * java/rmi/server/ExportException: Ditto.
10165 * java/rmi/server/ServerCloneException: Ditto.
10166 * java/rmi/server/ServerNotActiveException: Ditto.
10167 * java/rmi/server/SkeletonMismatchException: Ditto.
10168 * java/rmi/server/SkeletonNotFoundException: Ditto.
10169 * java/rmi/server/SocketSecurityException: Ditto.
10170
10171 2002-06-16 Tom Tromey <tromey@redhat.com>
10172
10173 * gcj/javaprims.h: Updated class declaration list.
10174
10175 * java/io/LineNumberInputStream.java: Merged with Classpath.
10176
10177 * java/lang/RuntimeException.java: Re-merge with Classpath.
10178 * java/util/ArrayList.java: Likewise.
10179 * java/util/Arrays.java: Likewise.
10180 * java/util/BitSet.java: Likewise.
10181 * java/util/Dictionary.java: Likewise.
10182 * java/util/IdentityHashMap.java: Likewise.
10183 * java/util/MissingResourceException.java: Likewise.
10184 * java/util/Observer.java: Likewise.
10185 * java/util/TooManyListenersException.java: Likewise.
10186 * java/util/zip/DataFormatException.java: Likewise.
10187 * java/util/zip/ZipException.java: Likewise.
10188
10189 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
10190
10191 * java/rmi/AccessException.java: Remerge from Classpath.
10192 * java/rmi/AlreadyBoundException.java: Ditto.
10193 * java/rmi/ConnectException.java: Ditto.
10194 * java/rmi/ConnectIOException.java: Ditto.
10195 * java/rmi/MarshalException.java: Ditto.
10196 * java/rmi/NoSuchObjectException.java: Ditto.
10197 * java/rmi/NotBoundException.java: Ditto.
10198 * java/rmi/RemoteException.java: Ditto.
10199 * java/rmi/RMISecurityException.java: Ditto.
10200 * java/rmi/ServerError.java: Ditto.
10201 * java/rmi/ServerException.java: Ditto.
10202 * java/rmi/ServerRuntimeException.java: Ditto.
10203 * java/rmi/StubNotFoundException.java: Ditto.
10204 * java/rmi/UnexpectedExcpetion.java: Ditto.
10205 * java/rmi/UnknownHostException.java: Ditto.
10206 * java/rmi/UnmarshalException.java: Ditto.
10207
10208 2002-06-15 Tom Tromey <tromey@redhat.com>
10209
10210 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10211 * java/lang/ArithmeticException.java: Likewise.
10212 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10213 * java/lang/ArrayStoreException.java: Likewise.
10214 * java/lang/Byte.java: Likewise.
10215 * java/lang/CharSequence.java: Likewise.
10216 * java/lang/ClassCastException.java: Likewise.
10217 * java/lang/ClassCircularityError.java: Likewise.
10218 * java/lang/ClassFormatError.java: Likewise.
10219 * java/lang/CloneNotSupportedException.java: Likewise.
10220 * java/lang/Cloneable.java: Likewise.
10221 * java/lang/Comparable.java: Likewise.
10222 * java/lang/Compiler.java: Likewise.
10223 * java/lang/Error.java: Likewise.
10224 * java/lang/ExceptionInInitializerError.java: Likewise.
10225 * java/lang/IllegalAccessError.java: Likewise.
10226 * java/lang/IllegalAccessException.java: Likewise.
10227 * java/lang/IllegalArgumentException.java: Likewise.
10228 * java/lang/IllegalMonitorStateException.java: Likewise.
10229 * java/lang/IllegalStateException.java: Likewise.
10230 * java/lang/IllegalThreadStateException.java: Likewise.
10231 * java/lang/IncompatibleClassChangeError.java: Likewise.
10232 * java/lang/IndexOutOfBoundsException.java: Likewise.
10233 * java/lang/InheritableThreadLocal.java: Likewise.
10234 * java/lang/InstantiationError.java: Likewise.
10235 * java/lang/InstantiationException.java: Likewise.
10236 * java/lang/InternalError.java: Likewise.
10237 * java/lang/InterruptedException.java: Likewise.
10238 * java/lang/LinkageError.java: Likewise.
10239 * java/lang/NegativeArraySizeException.java: Likewise.
10240 * java/lang/NoClassDefFoundError.java: Likewise.
10241 * java/lang/NoSuchFieldError.java: Likewise.
10242 * java/lang/NoSuchFieldException.java: Likewise.
10243 * java/lang/NoSuchMethodError.java: Likewise.
10244 * java/lang/NoSuchMethodException.java: Likewise.
10245 * java/lang/NullPointerException.java: Likewise.
10246 * java/lang/NumberFormatException.java: Likewise.
10247 * java/lang/OutOfMemoryError.java: Likewise.
10248 * java/lang/Process.java: Likewise.
10249 * java/lang/Runnable.java: Likewise.
10250 * java/lang/RuntimePermission.java: Likewise.
10251 * java/lang/SecurityException.java: Likewise.
10252 * java/lang/Short.java: Likewise.
10253 * java/lang/StackOverflowError.java: Likewise.
10254 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10255 * java/lang/ThreadDeath.java: Likewise.
10256 * java/lang/ThreadLocal.java: Likewise.
10257 * java/lang/UnknownError.java: Likewise.
10258 * java/lang/UnsatisfiedLinkError.java: Likewise.
10259 * java/lang/UnsupportedClassVersionError.java: Likewise.
10260 * java/lang/UnsupportedOperationException.java: Likewise.
10261 * java/lang/VerifyError.java: Likewise.
10262 * java/lang/VirtualMachineError.java: Likewise.
10263 * java/lang/reflect/InvocationTargetException.java: Likewise.
10264 * java/net/BindException.java: Likewise.
10265 * java/net/ConnectException.java: Likewise.
10266 * java/net/MalformedURLException.java: Likewise.
10267 * java/net/NoRouteToHostException.java: Likewise.
10268 * java/net/ProtocolException.java: Likewise.
10269 * java/net/SocketException.java: Likewise.
10270 * java/net/UnknownHostException.java: Likewise.
10271 * java/net/UnknownServiceException.java: Likewise.
10272
10273 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10274 * java/io/CharConversionException.java: Likewise.
10275 * java/io/EOFException.java: Likewise.
10276 * java/io/FileNotFoundException.java: Likewise.
10277 * java/io/IOException.java: Likewise.
10278 * java/io/InterruptedIOException.java: Likewise.
10279 * java/io/InvalidClassException.java: Likewise.
10280 * java/io/InvalidObjectException.java: Likewise.
10281 * java/io/NotActiveException.java: Likewise.
10282 * java/io/NotSerializableException.java: Likewise.
10283 * java/io/ObjectStreamException.java: Likewise.
10284 * java/io/ObjectStreamConstants.java: Likewise.
10285 * java/io/OptionalDataException.java: Likewise.
10286 * java/io/PipedInputStream.java: Likewise.
10287 * java/io/PushbackInputStream.java: Likewise.
10288 * java/io/StreamCorruptedException.java: Likewise.
10289 * java/io/SyncFailedException.java: Likewise.
10290 * java/io/UTFDataFormatException.java: Likewise.
10291 * java/io/UnsupportedEncodingException.java: Likewise.
10292 * java/io/WriteAbortedException.java: Likewise.
10293
10294 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10295
10296 * java/text/ChoiceFormat.java: Update comments from Classpath.
10297 * java/text/ParseException.java (serialVersionUID): New
10298 field from Classpath.
10299 * java/text/ParseException.java: Update formatting & comments
10300 from Classpath.
10301
10302 2002-06-15 Tom Tromey <tromey@redhat.com>
10303
10304 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10305 been read but none output by inflater.
10306 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10307 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10308 is_finished.
10309 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10310 version.
10311 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10312 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10313 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10314 version.
10315 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10316
10317 2002-06-13 Tom Tromey <tromey@redhat.com>
10318
10319 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10320 true and OFFSET!=0.
10321 * java/lang/String.java (String(char[],int,int,boolean): New
10322 constructor.
10323 * java/lang/Long.java: Imported new version from Classpath.
10324 * java/lang/Number.java: Likewise.
10325 * java/lang/Integer.java: Likewise.
10326 * java/lang/Long.java: Likewise.
10327 * java/lang/Float.java: Likewise.
10328 * java/lang/Boolean.java: Likewise.
10329 * java/lang/Double.java: Likewise.
10330 * java/lang/Void.java: Likewise.
10331
10332 2002-06-12 Tom Tromey <tromey@redhat.com>
10333
10334 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10335 Fixes PR libgcj/6652.
10336
10337 2002-06-10 Tom Tromey <tromey@redhat.com>
10338
10339 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10340 (Class::getPackagePortion): Likewise.
10341 * java/lang/Class.java (desiredAssertionStatus): New method from
10342 Classpath.
10343 (getPackagePortion): Likewise.
10344 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10345 packageAssertionStatus, classAssertionStatus): New methods from
10346 Classpath.
10347 * java/lang/ClassLoader.java (defaultAssertionStatus,
10348 systemPackageAssertionStatus, packageAssertionStatus,
10349 systemClassAssertionStatus, classAssertionStatus): New fields from
10350 Classpath.
10351 (setDefaultAssertionStatus, setPackageAssertionStatus,
10352 setClassAssertionStatus, clearAssertionStatus): New methods from
10353 Classpath.
10354 * Makefile.in: Rebuilt.
10355 * Makefile.am (core_java_source_files): Added AssertionError.java.
10356 * java/lang/AssertionError.java: New from Classpath.
10357
10358 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10359
10360 * configure.host: Disable hash synchronization and slow_pthread_self
10361 for cygwin.
10362
10363 2002-06-06 Adam Megacz <adam@xwt.org>
10364
10365 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10366 locking, just like the Sun JVM does.
10367
10368 2002-06-05 H.J. Lu (hjl@gnu.org)
10369
10370 * Makefile.am (libgcj_convenience.la): Revert the last change.
10371 (libgcj.la): Likewise.
10372 * Makefile.in: Regenerated.
10373
10374 2002-06-04 H.J. Lu (hjl@gnu.org)
10375
10376 * Makefile.am (libgcj_convenience.la): New target.
10377 (libgcj.la): Depend on libgcj_convenience.la.
10378 * Makefile.in: Regenerated.
10379
10380 2002-06-04 H.J. Lu (hjl@gnu.org)
10381
10382 * configure.in (--with-newlib): New option:
10383 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10384 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10385 Linux.
10386 * configure: Regenerated.
10387
10388 2002-06-04 Tom Tromey <tromey@redhat.com>
10389
10390 * java/util/natTimeZone.cc: Include <stdio.h>.
10391
10392 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10393
10394 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10395 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10396 Set SIGNAL_HANDLER=include/s390-linux.h.
10397 * configure: Regenerate.
10398 * include/s390-linux.h: New file.
10399
10400 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10401
10402 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10403 not "stackTrace".
10404
10405 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10406
10407 Merge JDK 1.4 java.security changes from classpath.
10408
10409 * java/security/AccessControlException.java: Merge from Classpath.
10410 * java/security/AccessController.java: Likewise.
10411 * java/security/AllPermission.java: Likewise.
10412 * java/security/BasicPermission.java: Likewise.
10413 * java/security/Certificate.java: Likewise.
10414 * java/security/CodeSource.java: Likewise.
10415 * java/security/DigestException.java: Likewise.
10416 * java/security/DigestOutputStream.java: Likewise.
10417 * java/security/DomainCombiner.java: Likewise.
10418 * java/security/GeneralSecurityException.java: Likewise.
10419 * java/security/Guard.java: Likewise.
10420 * java/security/GuardedObject.java: Likewise.
10421 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10422 * java/security/InvalidKeyException.java: Likewise.
10423 * java/security/InvalidParameterException.java: Likewise.
10424 * java/security/Key.java: Likewise.
10425 * java/security/KeyException.java: Likewise.
10426 * java/security/KeyManagementException.java: Likewise.
10427 * java/security/KeyStoreException.java: Likewise.
10428 * java/security/MessageDigest.java: Likewise.
10429 * java/security/NoSuchAlgorithmException.java: Likewise.
10430 * java/security/NoSuchProviderException.java: Likewise.
10431 * java/security/Permission.java: Likewise.
10432 * java/security/PermissionCollection.java: Likewise.
10433 * java/security/Permissions.java: Likewise.
10434 * java/security/Policy.java: Likewise.
10435 * java/security/Principal.java: Likewise.
10436 * java/security/PrivateKey.java: Likewise.
10437 * java/security/PrivilegedAction.java: Likewise.
10438 * java/security/PrivilegedActionException.java: Likewise.
10439 * java/security/PrivilegedExceptionAction.java: Likewise.
10440 * java/security/ProtectionDomain.java: Likewise.
10441 * java/security/ProviderException.java: Likewise.
10442 * java/security/PublicKey.java: Likewise.
10443 * java/security/SecureClassLoader.java: Likewise.
10444 * java/security/SecurityPermission.java: Likewise.
10445 * java/security/SignatureException.java: Likewise.
10446 * java/security/UnrecoverableKeyException.java: Likewise.
10447 * java/security/UnresolvedPermission.java: Likewise.
10448 * java/security/acl/AclNotFoundException.java: Likewise.
10449 * java/security/acl/LastOwnerException.java: Likewise.
10450 * java/security/acl/NotOwnerException.java: Likewise.
10451 * java/security/cert/CRLException.java: Likewise.
10452 * java/security/cert/CertificateEncodingException.java: Likewise.
10453 * java/security/cert/CertificateException.java: Likewise.
10454 * java/security/cert/CertificateExpiredException.java: Likewise.
10455 * java/security/cert/CertificateFactory.java: Likewise.
10456 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10457 * java/security/cert/CertificateParsingException.java: Likewise.
10458 * java/security/spec/InvalidKeySpecException.java: Likewise.
10459 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10460
10461 * java/security/cert/CertPath.java: New file.
10462 * java/security/cert/CertPathBuilderException.java: New file.
10463 * java/security/cert/CertPathValidatorException.java: New file.
10464 * java/security/cert/CertStoreException.java: New file.
10465
10466 * Makefile.am: Add new CertPath classes.
10467 * Makefile.in: Rebuilt.
10468
10469 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10470
10471 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10472
10473 Merge JDK 1.4 exception chaining support from classpath.
10474
10475 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10476 (stackTraceBytes): Rename from stackTrace.
10477 * java/lang/Exception.java: Merge from classpath.
10478 * java/lang/StackTraceElement: New file from classpath.
10479 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10480 * Makefile.am: Add StackTraceElement.
10481 * Makefile.in: Rebuilt.
10482
10483 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10484
10485 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10486 they build first.
10487 * Makefile.in: Rebuilt.
10488
10489 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10490
10491 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10492 * configure.in: Likewise.
10493 * aclocal.m4: Regenerate.
10494 * configure: Regenerate.
10495
10496 2002-05-13 Tom Tromey <tromey@redhat.com>
10497
10498 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10499 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10500 Include platform.h.
10501
10502 Fixes PR libgcj/6389:
10503 * Makefile.in: Rebuilt.
10504 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10505 * java/util/natTimeZone.cc: New file.
10506 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10507 * java/lang/System.java: Merged with Classpath.
10508 * java/lang/Runtime.java: Merged with Classpath.
10509 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10510 security check.
10511 (setIn0): Renamed from setIn; don't run security check.
10512 (setOut0): Renamed from setOut; don't run security check.
10513 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10514 init_properties): Moved to natRuntime.cc.
10515 Moved many includes to natRuntime.cc.
10516 (isWordsBigEndian): New method.
10517 * java/lang/natRuntime.cc: Include Long.h, also other includes
10518 previously in natSystem.cc.
10519 (maxMemory): New function.
10520 (exitInternal): Renamed from `_exit'.
10521 (exit): Removed.
10522 (init): Don't set finalize_on_exit.
10523 (exitInternal): Use `finalizeOnExit'.
10524 (file_encoding, getpwuid_adaptor): New functions from
10525 natSystem.cc.
10526 (insertSystemProperties): New method, renamed from
10527 System::init_properties. Don't set user.timezone.
10528 (_load): Don't call checkLink.
10529 (execInternal): New method.
10530 (availableProcessors): Likewise.
10531 (nativeGetLibname): Likewise.
10532
10533 2002-05-11 Mark Wielaard <mark@klomp.org>
10534
10535 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10536 space characters.
10537 (previous_internal): Likewise.
10538
10539 2002-05-09 Tom Tromey <tromey@redhat.com>
10540
10541 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10542
10543 * java/util/ResourceBundle.java: New version from Classpath.
10544 * java/util/Locale.java: Likewise.
10545
10546 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10547
10548 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10549 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10550 LD_LIBRARY_PATH.
10551
10552 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10553
10554 * libjava/Makefile.am (all_java_source_files): New variable.
10555 (all_java_class_files): Likewise.
10556 .java.class: New rule.
10557 (CLEANFILES): Remove tmp-list.
10558 * libjava/Makefile.in: Regenerated.
10559
10560 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10561
10562 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10563 Append .exe to executable names. Fix for cygwin.
10564
10565 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10566
10567 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10568 script entry, and set LD to it when configuring multilibs.
10569 * configure: Rebuilt.
10570
10571 2002-05-07 Tom Tromey <tromey@redhat.com>
10572
10573 * java/lang/natString.cc (unintern): Fixed typo.
10574
10575 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10576
10577 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10578 with -no-install on *-*-cygwin*.
10579
10580 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10581
10582 * testsuite/lib/libjava.exp (test_libjava_from_source):
10583 Add comment explaining last patch
10584
10585 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10586
10587 * testsuite/lib/libjava.exp (test_libjava_from_source):
10588 Append .exe to executable names. If no suffix is present,
10589 then ".exe" is added by default on win32. Harmless
10590 elsewhere so always do it.
10591
10592 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10593 Tom Tromey <tromey@redhat.com>
10594
10595 * java/lang/natSystem.cc (getSystemTimeZone): Use
10596 HAVE_UNDERSCORE_TIMEZONE.
10597 * include/config.h.in: Rebuilt.
10598 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10599 * aclocal.m4, configure: Rebuilt.
10600 * acinclude.m4: Run AC_EXEEXT.
10601 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10602 Add test for `_timezone'.
10603
10604 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10605
10606 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10607 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10608 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10609 * Makefile.in: Rebuilt.
10610
10611 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10612
10613 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10614 use sigaction instead of __libc_sigaction.
10615
10616 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10617
10618 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10619 (libjava_init): Use it to find libgcj.spec.
10620 (libjava_arguments): Likewise.
10621
10622 2002-05-02 David S. Miller <davem@redhat.com>
10623
10624 PR bootstrap/6525
10625 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10626 __libc_sigaction on Sparc.
10627
10628 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10629
10630 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10631 sys/filio.h, if present.
10632
10633 2002-04-30 Tom Tromey <tromey@redhat.com>
10634
10635 * java/io/BufferedReader.java (fill): Handle case where markPos
10636 point to ignored \n. Fixes PR libgcj/6301.
10637
10638 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10639
10640 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10641
10642 2002-04-29 Adam King <aking@dreammechanics.com>
10643
10644 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10645 of file in APPEND mode.
10646
10647 2002-04-25 David S. Miller <davem@redhat.com>
10648
10649 PR target/6422
10650 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10651 program counter to next program counter minus 8. Update
10652 comments in this macro to explain why.
10653
10654 2002-04-26 Tom Tromey <tromey@redhat.com>
10655
10656 * verify.cc (construct_primitive_array_type) [void_type]: New
10657 case.
10658 (branch_prepass): Added dummy entries for unused instruction
10659 values.
10660 (verify_instructions_0): Likewise.
10661 * interpret.cc (continue1): Comment fix.
10662 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10663 * Makefile.in: Rebuilt.
10664 * Makefile.am: Added -Wswitch-enum.
10665
10666 2002-04-24 Tom Tromey <tromey@redhat.com>
10667
10668 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10669 correct length of UTF-8 encoded name. Strip leading `/'.
10670 (_Jv_RegisterResource): Use _Jv_Malloc.
10671
10672 2002-04-23 Adam Megacz <adam@xwt.org>
10673
10674 * win32.cc, include/win32.cc (backtrace): Added this function
10675 because Win32 does not supply it.
10676
10677 2002-04-21 David S. Miller <davem@redhat.com>
10678
10679 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10680 magic instruction reading sequence.
10681
10682 2002-04-21 Mark Wielaard <mark@klomp.org>
10683
10684 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10685
10686 2002-04-19 David S. Miller <davem@redhat.com>
10687
10688 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10689 arg.
10690 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10691 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10692 on Sparc too.
10693 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10694 for 64-bit sparc.
10695 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10696 * sysdeps/sparc/locks.h: New file.
10697 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10698 on all sparc Solaris configurations. Set to
10699 include/dwarf2-signal.h on sparc Linux.
10700 * configure: Regenerate
10701 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10702
10703 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10704
10705 * configure: Rebuilt.
10706 * configure.in (backtrace): Function doesn't work on IA-64.
10707
10708 2002-04-17 Adam King <aking@dreammechanics.com>
10709
10710 * java/io/File.java (normalizePath): Add Win32 support for auto
10711 conversion of a '/' path separator to Win32's '\' separator.
10712
10713 2002-04-16 Tom Tromey <tromey@redhat.com>
10714
10715 Fix for PR libgcj/6081:
10716 * Makefile.in: Rebuilt.
10717 * Makefile.am (install-data-local): Use GNU make trick to avoid
10718 shell limit.
10719
10720 2002-04-16 Adam King <aking@dreammechanics.com>
10721 Tom Tromey <tromey@redhat.com>
10722
10723 * java/io/natFileWin32.cc (performList): Return the correct array
10724 type. Don't duplicate the creation of a File since it's already
10725 done earlier in the method and the existing code would cause a
10726 ArrayStoreException. Don't use fixed-size array.
10727 (_access, _stat, attr, getCanonicalPath, performMkdir,
10728 performRenameTo): Don't use fixed-size array.
10729 (getCanonicalPath): Use throw, not _Jv_Throw.
10730
10731 2002-04-15 DJ Delorie <dj@redhat.com>
10732
10733 * configure.in: Allow building in $srcdir.
10734 * configure: Regenerated.
10735
10736 2002-04-14 Mark Wielaard <mark@klomp.org>
10737
10738 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10739 * java/net/natSocketImpl.cc (close): Likewise.
10740
10741 2002-04-14 Mark Wielaard <mark@klomp.org>
10742
10743 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10744
10745 2002-04-13 Adam King <aking@dreammechanics.com>
10746
10747 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10748 the f/F/d/D modifiers.
10749
10750 2002-04-12 Anthony Green <green@redhat.com>
10751
10752 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10753 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10754 * Makefile.in: Rebuilt.
10755 * configure.in: Substitute gcc_version.
10756 * configure: Rebuilt.
10757
10758 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10759
10760 * configure.host: Set can_unwind_signal on hosts which support it.
10761 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10762 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10763 exceptions and can_unwind_signal isn't set.
10764 * configure: Rebuilt.
10765
10766 2002-04-11 Tom Tromey <tromey@redhat.com>
10767
10768 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10769
10770 2002-04-11 Adam King <aking@dreammechanics.com>
10771 Tom Tromey <tromey@redhat.com>
10772
10773 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10774 _Jv_ThrowNullPointerException): Mark as noreturn.
10775 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10776 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10777 fixes.
10778
10779 2002-04-10 Tom Tromey <tromey@redhat.com>
10780
10781 * Makefile.in: Rebuilt.
10782 * Makefile.am (java/lang/Thread.h): Mark
10783 _Jv_AttachCurrentThreadAsDaemon as friend.
10784 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10785 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10786 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10787 function.
10788 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10789 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10790 (_Jv_JNI_InvokeFunctions): Added
10791 _Jv_JNI_AttachCurrentThreadAsDaemon.
10792 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10793 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10794 (JNI_CreateJavaVM): Likewise.
10795 (_Jv_JNI_AttachCurrentThread): Likewise.
10796 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10797 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10798 (_Jv_JNIFunctions): Initialize new fields.
10799 (_Jv_JNI_NewDirectByteBuffer): New function.
10800 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10801 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10802 * include/jni.h (JNI_VERSION_1_4): New macro.
10803 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10804 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10805 (JNINativeInterface::NewDirectByteBuffer): New field.
10806 (JNINativeInterface::GetDirectBufferAddress): New field.
10807 (JNINativeInterface::GetDirectBufferCapacity): New field.
10808 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10809 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10810 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10811
10812 2002-04-09 Tom Tromey <tromey@redhat.com>
10813
10814 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10815
10816 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10817
10818 Fix for PR libgcj/6187:
10819 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10820 distance.
10821
10822 2002-04-07 Mark Wielaard <mark@klomp.org>
10823
10824 * java/util/AbstractMap.java (putAll): Use entrySet size.
10825 (toString): Explicitly use getKey() and getValue().
10826
10827 2002-04-07 Mark Wielaard <mark@klomp.org>
10828
10829 * java/util/Hashtable.java (contains): Remove NullPointer check.
10830 (containsValue): Add NullPointer check.
10831 (remove): Always throw NullPointerException when key
10832 is null.
10833
10834 2002-04-07 Adam King <aking@dreammechanics.com>
10835
10836 * java/lang/natSystem.cc (init_properties): Call new function
10837 _Jv_platform_initProperties.
10838 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10839 support for the System properties os.name, os.arch, os.version,
10840 user.name, user.home, and user.dir.
10841 * include/posix.h, include/win32.h, posix.cc: New function
10842 _Jv_platform_initProperties.
10843
10844 2002-04-06 Mark Wielaard <mark@klomp.org>
10845
10846 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10847
10848 2002-04-06 Mark Wielaard <mark@klomp.org>
10849
10850 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10851 all of the remaining elements.
10852 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10853 (removeRange): If toIndex == fromIndex do
10854 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10855 (removeAll): Always throw NullPointerException when collection is
10856 null.
10857 (retrainAll): Likewise.
10858
10859 2002-04-05 Mark Wielaard <mark@klomp.org>
10860
10861 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10862 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10863
10864 2002-04-05 Adam Megacz <adam@xwt.org>
10865
10866 * exception.cc (abort): added static modifier
10867
10868 2002-04-04 Adam Megacz <adam@xwt.org>
10869
10870 * include/win32.h (_Jv_platform_close_on_exec): added inline
10871 modifier.
10872
10873 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10874
10875 * configure.host: Add case statement to support generic port
10876 properties. Add *-*-freebsd* section.
10877
10878 2002-04-04 Mark Wielaard <mark@klomp.org>
10879
10880 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10881 test.
10882 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10883 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10884 that depend on awt code and BufferedByteOutputStream.interrupt.
10885
10886 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10887
10888 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10889 incorrect "hi" value when count > 40.
10890
10891 2002-04-03 Mark Wielaard <mark@klomp.org>
10892
10893 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10894 ordering.
10895
10896 2002-04-02 Tom Tromey <tromey@redhat.com>
10897
10898 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10899 not `0'.
10900
10901 2002-04-02 Mark Wielaard <mark@klomp.org>
10902
10903 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10904 list of testsuite crashers.
10905
10906 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10907
10908 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10909 when resizing table.
10910
10911 2002-04-01 Mark Wielaard <mark@klomp.org>
10912
10913 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10914 NegativeArraySizeException
10915 (clear(int)): Use sign extended shift.
10916 (flip(int)): Likewise.
10917 (get(int)): Likewise.
10918 (nextClearBit(int)): Likewise.
10919 (nextSetBit(int)): Likewise.
10920 (set(int)): Likewise.
10921
10922 2002-04-01 Mark Wielaard <mark@klomp.org>
10923
10924 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10925 that can be compiled now and add testsuite crashers to ignore list.
10926
10927 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10928
10929 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10930
10931 * libgcj.spec.in: Override libgcc, not lib.
10932 * libgcj-test.spec.in: Likewise.
10933
10934 2002-03-29 Tom Tromey <tromey@redhat.com>
10935
10936 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10937 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10938
10939 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10940
10941 * java/net/PlainDatagramSocketImpl.java
10942 (close): Use native implementation.
10943 (finalize): New method.
10944
10945 * java/net/PlainSocketImpl.java (finalize): New method.
10946
10947 * java/net/natPlainDatagramSocketImpl.cc
10948 (java/io/FileDescriptor.h): Don't include.
10949 (close): Implement method here.
10950 (create): Don't assign fd.
10951
10952 * java/net/natPlainSocketImpl.cc
10953 (java/io/FileDescriptor.h): Don't include.
10954 (create): Don't assign fd.
10955 (accept): Likewise.
10956 (close): Synchronize.
10957
10958 2002-03-27 Richard Henderson <rth@redhat.com>
10959
10960 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10961
10962 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10963
10964 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10965 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10966 instead of syscall on IA-64.
10967 Add FIXME comment.
10968
10969 2002-03-27 Anthony Green <green@redhat.com>
10970
10971 * libgcj.spec.in: Add CHECKREFSPEC.
10972 * configure.in: Ditto.
10973 * configure.host: Ditto. Check references for xscale-elf.
10974 * configure: Rebuilt.
10975
10976 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10977
10978 * include/dwarf2-signal.h: Temporarily back out last change.
10979
10980 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10981
10982 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10983
10984 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10985
10986 * configure.in, configure: enable dwarf2-exception-style
10987 exception handling on IA-64.
10988 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10989 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10990 Add FIXME comment.
10991
10992 2002-03-25 Tom Tromey <tromey@redhat.com>
10993
10994 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10995 (jv_convert_LDFLAGS): Likewise.
10996 (gij_LDFLAGS): Likewise.
10997 (rmic_LDFLAGS): Likewise.
10998 (rmiregistry_LDFLAGS): Likewise.
10999 * configure.in (THREADLDFLAGS): New subst; set correctly for
11000 *BSD.
11001
11002 2002-03-25 Tom Tromey <tromey@redhat.com>
11003
11004 For PR libgcj/5303:
11005 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
11006 and --version.
11007 (help): New method.
11008 (version): Likewise.
11009 * gnu/gcj/convert/Convert.java (version): Removed extraneous
11010 "GNU".
11011 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
11012 "GNU".
11013
11014 2002-03-25 Tom Tromey <tromey@redhat.com>
11015
11016 * java/awt/Component.java (processEvent): Check ComponentEvent
11017 after KeyEvent.
11018
11019 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11020
11021 * java/io/PushbackReader.java: Reformat.
11022
11023 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
11024 calculate correct number of bytes skipped.
11025
11026 Based on patch from Intel's ORP team:
11027 * java/io/PushbackInputStream.java (available): Calculate correct
11028 number of bytes in buffer.
11029 (read): Remove redundant bound check. Return bytes from both the
11030 buffer and the stream.
11031
11032 2002-03-24 Tom Tromey <tromey@redhat.com>
11033
11034 * java/awt/TextComponent.java (TextComponent): Editable by
11035 default.
11036
11037 * java/awt/MenuItem.java (eventMask): No longer private.
11038 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
11039 superclass if we didn't handle event.
11040 * java/awt/Checkbox.java (dispatchEventImpl): New method.
11041 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
11042 * java/awt/Choice.java (dispatchEventImpl): New method.
11043 * java/awt/List.java (dispatchEventImpl): New method.
11044 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
11045 * java/awt/TextComponent.java (dispatchEventImpl): New method.
11046 * java/awt/TextField.java (dispatchEventImpl): New method.
11047
11048 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11049
11050 * java/beans/IntrospectionException.java: Update to 1.4.
11051 * java/beans/PropertyVetoException.java: Ditto.
11052
11053 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11054
11055 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
11056 Arrays.equals instead of ArrayHelper.equalsArray.
11057
11058 2002-03-24 C. Brian Jones <cbj@gnu.org>
11059
11060 * java/beans/Introspector.java: added new static final fields
11061 introduced in 1.2, lots of other updates remain to be done
11062
11063 2002-03-24 C. Brian Jones <cbj@gnu.org>
11064
11065 * java/beans/Introspector.java: reformatting
11066
11067 2002-03-24 C. Brian Jones <cbj@gnu.org>
11068
11069 * java/beans/Introspector.java: default beanInfoSearchPath will
11070 not include sun.beans.infos given we provide no such package and
11071 the API doesn't really require it; gnu.java.beans.info is the
11072 default.
11073
11074 2002-03-24 Mark Wielaard <mark@klomp.org>
11075
11076 Thanks to Orp developers
11077 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
11078 switch TRUE and FALSE return values.
11079
11080 2002-03-23 Tom Tromey <tromey@redhat.com>
11081
11082 * include/name-finder.h (_Jv_name_finder::myclose): New method.
11083 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
11084
11085 2002-03-23 Michael Smith <msmith@spinnakernet.com>
11086
11087 * java/util/GregorianCalendar.java (minimums, maximums): Correct
11088 MONTH entry. Fixes PR libgcj/6045.
11089
11090 2002-03-23 Jeff Sturm <jsturm@one-point.com>
11091
11092 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11093
11094 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11095
11096 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11097 not release_set.
11098 * sysdep/powerpc/locks.h (write_barrier): New function.
11099 * sysdep/i386/locks.h (write_barrier): New function.
11100
11101 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
11102
11103 * include/jni.h Use correct C comments.
11104
11105 2002-03-18 Tom Tromey <tromey@redhat.com>
11106
11107 * include/jni.h (JNIIMPORT): New macro.
11108 (JNIEXPORT): Likewise.
11109 (JNICALL): Likewise.
11110
11111 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11112
11113 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11114 systems.
11115
11116 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
11117
11118 * include/i386-signal.h (old_i386_kernel_sigaction): New.
11119 INIT_SEGV: Use old_i386_kernel_sigaction.
11120 INIT_FP: Likewise.
11121
11122 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11123
11124 * java/lang/natSystem.cc (init_properties): Update VM version
11125 properties.
11126 * configure.in: Set GCJVERSION.
11127 * acconfig.h: Add GCJVERSION.
11128 * configure: Rebuilt.
11129 * include/config.h.in: Rebuilt.
11130
11131 2002-03-17 Anthony Green <green@redhat.com>
11132
11133 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11134
11135 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11136
11137 Build a single libgcj.so, without separate gc and zlib libraries.
11138 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11139 SYS_ZLIBS if system zlib is used.
11140 * configure: Rebuilt.
11141 * Makefile.am: Use boehm-gc and zlib convenience libraries.
11142 * Makefile.in: Rebuilt.
11143 * libtool-version: Increment .so version number.
11144
11145 * Makefile.am: Escape quotes in echo.
11146 * Makefile.in: Rebuilt.
11147
11148 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11149
11150 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11151 * Makefile.in: Rebuilt.
11152
11153 2002-03-15 Anthony Green <green@redhat.com>
11154
11155 * configure.host (FILE): New macro for specifing File
11156 implementation.
11157 * configure: Rebuilt.
11158 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
11159
11160 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
11161
11162 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11163 already implicitly brought in from libgcj.la.
11164 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11165 * Makefile.in: Rebuilt.
11166
11167 2002-03-15 Eric Blake <ebb9@email.byu.edu>
11168
11169 * THANKS: Fix punctuation, alphabetization.
11170
11171 2002-03-15 Tom Tromey <tromey@redhat.com>
11172 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11173
11174 Fix for PR libgcj/5944.
11175 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11176
11177 2002-03-15 Anthony Green <green@redhat.com>
11178
11179 * configure.in (tool_include_dir): Define.
11180 * configure: Rebuilt.
11181 * gcj/Makefile.am: Install libgcj-config.h relative to
11182 tool_include_dir.
11183 * gcj/Makefile: Rebuilt.
11184 * gcj/libgcj-config.h: Add warning comment.
11185
11186 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
11187
11188 * configure.host (powerpc*-darwin*): Enable interpreter.
11189
11190 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11191
11192 * include/posix.h: Add multiple include header protection.
11193 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11194
11195 2002-03-10 Adam Megacz <adam@xwt.org>
11196
11197 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11198
11199 2002-03-10 Tom Tromey <tromey@redhat.com>
11200
11201 * java/awt/GridLayout.java (layoutContainer): Handle case where
11202 there are no items in container.
11203
11204 * java/lang/Win32Process.java: Added comment.
11205 * include/posix.h (_Jv_platform_close_on_exec): New function.
11206 Include fcntl.h.
11207 * include/win32.h (_Jv_platform_close_on_exec): New function.
11208 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11209 flag.
11210 (accept): Likewise.
11211 * java/net/natPlainDatagramSocketImpl.cc (create): Set
11212 close-on-exec flag.
11213 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11214 flag.
11215
11216 2002-03-09 Tom Tromey <tromey@redhat.com>
11217
11218 * verify.cc (state::NO_STACK): New constant.
11219 (state::is_unmerged_ret_state): Handle case where stacktop is
11220 NO_STACK.
11221 (state::merge): Handle NO_STACK merges.
11222 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11223 for instruction following jsr.
11224 (stacktop, stackdepth): Removed unused variables.
11225 (pop_jump): Ignore case where all remaining states are skipped.
11226
11227 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11228
11229 * java/awt/ImageMediaEntry: Removed.
11230 * java/awt/MediaEntry: Removed.
11231
11232 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11233
11234 Hashtable synchronization for PowerPC.
11235 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11236 slow_pthread_self. Set up symlink for sysdeps directory.
11237 * configure: Rebuild.
11238 * configure.host: Document more shell variables. Set sysdeps_dir
11239 for most platforms. Set slow_pthread_self for i686. Set
11240 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11241 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11242 that memory barrier is emitted where required.
11243 * prims.cc: 64-bit align static primitive class instances.
11244 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11245 read_barrier() to enforce ordering of reads.
11246 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11247 primitives for PowerPC.
11248 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11249 moved from natObject.cc.
11250 * sysdep/alpha/locks.h: Likewise.
11251 * sysdep/ia64/locks.h: Likewise.
11252 * sysdep/generic/locks.h: Likewise.
11253 * java/lang/natObject.cc: Move thread synchronization primitives to
11254 system-dependent headers.
11255
11256 2002-03-09 Adam Megacz <adam@xwt.org>
11257
11258 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11259 bytes read and no failure code returned.
11260
11261 2002-03-09 Adam Megacz <adam@xwt.org>
11262
11263 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11264 definitions to simulate -mthreads.
11265
11266 2002-03-09 Adam Megacz <adam@xwt.org>
11267
11268 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11269 avoid precision loss.
11270
11271 2002-03-09 Per Bothner <per@bothner.com>
11272
11273 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11274 * gnu/gcj/xlib/XImage.java: Likewise.
11275 * gnu/gcj/xlib/XColor.java: Likewise.
11276
11277 2002-03-09 Adam Megacz <adam@xwt.org>
11278
11279 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11280 IOException so that Throwable.printStackTrace fails correctly.
11281
11282 2002-03-08 Adam Megacz <adam@xwt.org>
11283
11284 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11285 fixed.
11286
11287 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11288
11289 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11290 truncated to int.
11291
11292 2002-03-08 Tom Tromey <tromey@redhat.com>
11293
11294 * include/jni.h: Include stdio.h.
11295
11296 2002-03-08 Tom Tromey <tromey@redhat.com>
11297
11298 * posix.cc (internal_gettimeofday): New function.
11299 (_Jv_select): Use it.
11300
11301 2002-03-07 Adam Megacz <adam@xwt.org>
11302
11303 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11304 WIN32, and added thunks for read(), write(), and close().
11305 * java/net/natPlainSocketImpl.cc (accept, read, read):
11306 Disabled timeouts on WIN32 pending discussion.
11307
11308 2002-03-07 Adam Megacz <adam@xwt.org>
11309
11310 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11311 returns jlong. Added implementation
11312 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11313 returns jlong.
11314 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11315 returns jlong.
11316 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11317 returns jlong.
11318 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11319 _Jv_platform_gettimeofday signature.
11320
11321 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11322
11323 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11324 (read): Call recv() directly, not _Jv_recv().
11325
11326 2002-03-06 Tom Tromey <tromey@redhat.com>
11327
11328 * java/io/natFileDescriptorEcos.cc (init): Don't use
11329 GetStdHandle.
11330 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11331 is negative.
11332 (init): Don't use GetStdHandle.
11333
11334 * include/config.h.in: Rebuilt.
11335 * configure: Rebuilt.
11336 * Makefile.in: Rebuilt.
11337
11338 2002-03-06 Adam Megacz <adam@xwt.org>
11339
11340 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11341 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11342 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11343 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11344
11345 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11346
11347 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11348 the code for generating include/java-chartables.h.
11349 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11350 merge with Classpath.
11351 * scripts/unicode-muncher.pl: Copy from Classpath.
11352 * scritps/MakeCharTables.java: New file.
11353 * gnu/gcj/convert/Blocks-3.txt: New file.
11354 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11355 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11356 * gnu/java/lang/CharData.java: Copy from Classpath.
11357 * Makefile.am (ordinary_java_source_files): Add
11358 gnu/java/lang/CharData.java.
11359 * configure.in: Remove --enable-fast-character option.
11360 * java/lang/Character.java: Merge algorithms and Javadoc with
11361 Classpath.
11362 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11363 efficiently.
11364 * include/java-chardecomp.h: Regenerate.
11365 * include/java-chartables.h: Regenerate.
11366
11367 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11368
11369 * java/awt/MediaTracker.java: Implemented.
11370 * Makefile.am: Add MediaTracker.
11371 * Makefile.in: Rebuilt.
11372
11373 2002-03-05 Tom Tromey <tromey@redhat.com>
11374
11375 * java/lang/natPosixProcess.cc (fail): Removed.
11376 (startProcess): Simplified error-handling. Preserve
11377 LD_LIBRARY_PATH across exec.
11378
11379 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11380 AbstractMethodError.
11381
11382 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11383
11384 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11385 * Makefile.in: Rebuilt.
11386
11387 2002-03-03 Mark Wielaard <mark@klomp.org>
11388
11389 * java/util/Timer (TaskQueue.stop): set elements to zero.
11390
11391 2002-02-28 Anthony Green <green@redhat.com>
11392
11393 * java/lang/reflect/natMethod.cc (result): Add void* element.
11394 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11395 constructor test.
11396
11397 2002-02-27 Adam Megacz <adam@xwt.org>
11398
11399 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11400 '#undef STRICT'.
11401
11402 2002-02-26 Tom Tromey <tromey@redhat.com>
11403
11404 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11405 * gij.cc (version): Use __VERSION__.
11406 * include/config.h.in: Rebuilt.
11407 * acconfig.h (GCJVERSION): Removed.
11408 * configure: Rebuilt.
11409 * configure.in (GCJVERSION): Removed.
11410
11411 2002-02-26 Andreas Schwab <schwab@suse.de>
11412
11413 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11414 glibcpp_CXX, since libjava uses even another CXX.
11415 * aclocal.m4, configure: Regenerated.
11416
11417 2002-02-26 Tom Tromey <tromey@redhat.com>
11418
11419 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11420 `1'.
11421
11422 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11423
11424 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11425 dependency tracking for .java files.
11426 * Makefile.in: Rebuilt.
11427
11428 2002-02-24 Adam Megacz <adam@xwt.org>
11429
11430 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11431 typo. Sorry.
11432
11433 2002-02-24 Adam Megacz <adam@xwt.org>
11434
11435 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11436 for Win32, changed #ifdefs to check WIN32 instead of the
11437 (now-obsolete) USE_WINSOCK, and removed support for socket
11438 timeouts on Win32 pending further discussion.
11439
11440 2002-02-24 Adam Megacz <adam@xwt.org>
11441
11442 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11443 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11444 delete
11445
11446 2002-02-24 Adam Megacz <adam@xwt.org>
11447
11448 * java/lang/Win32Process.java: Created a dummy class to allow
11449 build process to run to completion.
11450
11451 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11452
11453 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11454 Define ffi_result union for ffi_call result. Cast
11455 ffi_result members to jvalue.
11456
11457 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11458
11459 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11460 * testsuite/Makefile.in: Likewise.
11461
11462 2002-02-20 Per Bothner <per@bothner.com>
11463
11464 * java/net/URL.java (getPath): New JDK 1.3 method.
11465
11466 * java/net/URLStreamHandler.java (parseURL):
11467 It is wrong to prepend '/' to the file part of a relative url.
11468
11469 * java/net/URLStreamHandler.java (parseURL):
11470 Minor optizations - append '/' rather than "/".
11471
11472 * java/net/URLStreamHandler.java (parseURL):
11473 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11474 We probably should canonicalize for a context-relative url, though.
11475 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11476 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11477 (sameFile): New method. Uses canonicalizeFilename.
11478
11479 2002-02-22 Tom Tromey <tromey@redhat.com>
11480
11481 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11482 java.vendor and java.vm.vendor.
11483 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11484 recent copyright date.
11485 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11486 * gij.cc (version): Print `Inc'.
11487
11488 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11489
11490 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11491 * aclocal.m4, configure: Rebuilt.
11492
11493 2002-02-20 Per Bothner <per@bothner.com>
11494
11495 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11496 and/or output streams immediately here, instead of using File.exists.
11497 (inputStream, outputStream): New fields to save open streams.
11498 (getInputStream, getOutputStream): Use already-opened streams.
11499
11500 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11501
11502 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11503 Use it.
11504 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11505 * aclocal.m4, configure, Makefile.in: Rebuilt.
11506
11507 2002-02-19 Tom Tromey <tromey@redhat.com>
11508
11509 Fix for PR libgcj/5696:
11510 * verify.cc (is_assignable_from_slow): Never call
11511 _Jv_IsAssignableFrom.
11512 (verify_instructions_0): Added new debug statement.
11513 (state::print): Print information about whether local has
11514 changed.
11515 (state::merge): Don't call note_variable when merging locals.
11516 (state::set_exception): Removed old FIXME comment.
11517
11518 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11519
11520 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11521 enable SO_BROADCAST.
11522
11523 2002-02-18 Jason Merrill <jason@redhat.com>
11524
11525 * name-finder.cc (toHex): Use word mode, not long long.
11526
11527 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11528
11529 2002-02-15 Tom Tromey <tromey@redhat.com>
11530
11531 Fix for PR libgcj/5695:
11532 * verify.cc (is_assignable_from_slow): Check to see if target is
11533 an Object before checking to see if source is an interface.
11534 (verify_instructions_0) [op_invokeinterface]: Handle case where
11535 we're making an interface call on Object.
11536
11537 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11538
11539 * Makefile.in: Rebuilt with Eric's change below.
11540
11541 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11542 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11543 Removed functions which are now implemented in Math.java.
11544
11545 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11546
11547 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11548 * Makefile.am (core_java_source_files): Add
11549 java/lang/StrictMath.java.
11550 * java/lang/Math.java: Merge with Classpath.
11551 * java/lang/StrictMath.java: New file - merge with Classpath.
11552
11553 2002-02-14 Mark Wielaard <mark@klomp.org>
11554
11555 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11556 package as a workaround for gcj 3.0.x
11557
11558 2002-02-14 Mark Wielaard <mark@klomp.org>
11559
11560 * java/security/BasicPermission.java: extends with fully qualified
11561 classname as workaround for gcj 3.0.4.
11562
11563 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11564
11565 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11566 around gcj bug of wrong emitted qualifier for inherited method.
11567 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11568 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11569 constructor to reduce amount of emitted bytecode. While this
11570 happens to work around a jikes 1.15 bug, it is still a useful
11571 patch even for correct compilers.
11572 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11573 * gnu/java/rmi/server/UnicastRemoteCall.java
11574 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11575
11576 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11577
11578 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11579 * java/net/SocketImpl.java: Ditto.
11580 * java/rmi/server/RMIClassLoader.java: Ditto.
11581 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11582
11583 2002-02-14 Mark Wielaard <mark@klomp.org>
11584
11585 Thanks to Takashi Okamoto
11586 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11587 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11588 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11589
11590 2002-02-13 Todd Stock <toddastock@yahoo.com>
11591
11592 Fix for PR libgcj/5670:
11593 * verify.cc (is_assignable_from_slow): If `source' is interface,
11594 recursively look for merge with `target'.
11595
11596 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11597
11598 * include/jni.h: Fix typo.
11599
11600 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11601
11602 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11603 correctly.
11604
11605 2002-02-13 Todd Stock <toddastock@yahoo.com>
11606
11607 Fix for PR libgcj/5671:
11608 * verify.cc (state::merge): Handle case where we're merging
11609 against an interface.
11610
11611 2002-02-12 Tom Tromey <tromey@redhat.com>
11612
11613 * exception.cc (std::abort): Mark as noreturn.
11614
11615 2002-02-12 Adam Megacz <adam@xwt.org>
11616
11617 * java/lang/Win32Process.java: Filled in a placeholder
11618 implementation so Win32 will build.
11619
11620 2002-02-12 Adam Megacz <adam@xwt.org>
11621
11622 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11623 * java/io/natFile.cc: Removed from repository.
11624 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11625
11626 2002-02-12 Adam Megacz <adam@xwt.org>
11627
11628 * win32.cc: Added two #includes to make win32.cc compile.
11629
11630 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11631
11632 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11633 declarations.
11634 (_Jv_InitGC): Don't bother locking, as this is always called from a
11635 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11636
11637 2002-02-11 Adam Megacz <adam@xwt.org>
11638
11639 * include/win32.h: Added _Jv_platform_gettimeofday.
11640 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11641
11642 2002-02-11 Adam Megacz <adam@xwt.org>
11643
11644 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11645 Added #undef STRICT to make windows.h and
11646 java/lang/reflect/Modifier.h cooperate.
11647
11648 2002-02-11 Adam Megacz <adam@xwt.org>
11649
11650 * java/io/natFileWin32.cc: Created a placeholder class with lots
11651 of FIXMEs.
11652
11653 2002-02-11 Adam Megacz <adam@xwt.org>
11654
11655 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11656 std::abort() to simply abort(). Also added "fake" std::abort() so
11657 we can #include unwind-pe.h without having to link against
11658 libstdc++-v3.
11659
11660 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11661
11662 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11663
11664 2002-02-08 Tom Tromey <tromey@redhat.com>
11665
11666 * interpret.cc (convert): New function.
11667 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11668 convert.
11669 Include Long.h.
11670
11671 2002-02-08 Anthony Green <green@redhat.com>
11672
11673 * configure.host: Add support for xscale-elf embedded target.
11674
11675 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11676
11677 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11678 dereferenced.
11679 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11680 frame.
11681
11682 2002-02-07 Tom Tromey <tromey@redhat.com>
11683
11684 * java/io/natFile.cc (_access): Use __builtin_alloca.
11685 (_stat): Likewise.
11686 (attr): Likewise.
11687 (getCanonicalPath): Likewise.
11688 (performList): Likewise.
11689 (performMkdir): Likewise.
11690 (performSetReadOnly): Likewise.
11691 (performRenameTo): Likewise.
11692 (performSetLastModified): Likewise.
11693 (performCreate): Likewise.
11694 (performDelete): Likewise.
11695
11696 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11697
11698 * HACKING: Fix URL for the automake-gcj.
11699
11700 2002-02-07 Tom Tromey <tromey@redhat.com>
11701
11702 * java/lang/natThrowable.cc: Updated copyright.
11703 * java/io/natFileWin32.cc: Updated copyright.
11704 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11705 * win32-threads.cc: Updated copyright.
11706 * name-finder.cc: Updated copyright.
11707 * include/name-finder.h: Updated copyright.
11708
11709 * include/name-finder.h: Conditionally include sys/wait.h.
11710 * include/config.h.in: Rebuilt.
11711
11712 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11713 Size buffer based on real size of string.
11714 (_stat): Likewise.
11715 (attr): Likewise.
11716 (getCanonicalPath): Likewise.
11717 (performList): Likewise.
11718 (performMkdir): Likewise.
11719 (performSetReadOnly): Likewise.
11720 (unixroot): Removed.
11721 (performRenameTo): Likewise.
11722 (performSetLastModified): Likewise.
11723 (performCreate): Likewise.
11724 (performDelete): Likewise.
11725 (performListRoots): Always return new array.
11726
11727 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11728 * win32.cc (win32_exception_handler): Now static.
11729 * include/win32.h (_Jv_platform_initialize): Declare.
11730 (win32_exception_handler): Don't declare.
11731 * java/lang/natSystem.cc (currentTimeMillis): Use
11732 _Jv_platform_gettimeofday.
11733 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11734 (_Jv_select): Use new name.
11735 (_Jv_platform_initialize): New function.
11736 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11737 _Jv_gettimeofday.
11738 (_Jv_platform_initialize): Declare.
11739
11740 * configure: Rebuilt.
11741 * configure.in: Removed unnecessary parens.
11742
11743 2002-02-06 Adam Megacz <adam@xwt.org>
11744
11745 * configure.in: Changed mingw) to *mingw*).
11746 * win32.cc: Created this file.
11747 * win32.h: Created this file.
11748 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11749 win32_exception_handler from prims.cc to win32.cc, added
11750 header in win32.h.
11751 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11752 longer needed now that we have platform.h
11753
11754 2002-02-06 Adam Megacz <adam@xwt.org>
11755
11756 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11757 use uint<n>_t instead of LONG and BYTE
11758
11759 2002-02-06 Adam Megacz <adam@xwt.org>
11760
11761 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11762
11763 2002-02-06 Anthony Green <green@redhat.com>
11764
11765 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11766 Implement missing method stubs.
11767 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11768 targets.
11769 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11770 concept of timezones.
11771 (init_properties): Don't refer to _Jv_Environment_Properties
11772 when this feature is not available.
11773 * include/config.h.in: Rebuilt.
11774 * acconfig.h: Add DISABLE_MAIN_ARGS.
11775 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11776 * configure: Rebuilt.
11777 * configure.in: Add --disable-main-args option. Test for
11778 opendir function. Replace AC_CHECK_SIZEOF with
11779 AC_COMPILE_CHECK_SIZEOF.
11780 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11781 * aclocal.m4: Rebuilt.
11782 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11783
11784 2002-02-06 Tom Tromey <tromey@redhat.com>
11785
11786 * verify.cc (require_array_type): If argument is a null array of
11787 references, return null as the element type.
11788
11789 2002-02-06 Mark Wielaard <mark@klomp.org>
11790
11791 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11792 duplicate of a wide type.
11793
11794 2002-02-06 Tom Tromey <tromey@redhat.com>
11795
11796 * verify.cc (type::isnull): New method.
11797 (require_array_type): Handle case where array is null.
11798 (verify_instructions_0) [op_arraylength]: Likewise.
11799
11800 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11801
11802 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11803 Symlink PLATFORMH to platform.h.
11804 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11805 PLATFORMOBJS.
11806 * java/lang/natSystem.cc: #include platform.h not posix.h.
11807 * Makefile.in: Rebuilt with libgcj automake.
11808 * configure: Rebuilt.
11809
11810 2002-02-05 Richard Henderson <rth@redhat.com>
11811
11812 * Makefile.in: Undo munging last change.
11813
11814 2002-02-04 Adam Megacz <adam@xwt.org>
11815
11816 * win32.cc: Created it.
11817 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11818 which is set to posix.cc or win32.cc.
11819 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11820
11821 2002-02-04 Adam Megacz <adam@xwt.org>
11822
11823 * configure.in: Corrected mingw case branches; added * before
11824 and after.
11825
11826 2002-02-04 Adam Megacz <adam@xwt.org>
11827
11828 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11829 if compiling for win32
11830
11831 2002-02-04 Adam Megacz <adam@xwt.org>
11832
11833 * win32-threads.cc: #undef STRICT after gc.h inclusion
11834
11835 2002-02-02 Tom Tromey <tromey@redhat.com>
11836
11837 * Makefile.in: Rebuilt.
11838
11839 2002-02-02 Jason Merrill <jason@redhat.com>
11840
11841 * Makefile.am (clean-nat): New target.
11842
11843 2002-02-02 Tom Tromey <tromey@redhat.com>
11844
11845 * java/io/natFile.cc: Removed old "FIXME" comments.
11846
11847 2002-02-01 Tom Tromey <tromey@redhat.com>
11848
11849 * java/lang/natPosixProcess.cc (myclose): New function.
11850 (fail): Use it.
11851 (startProcess): Likewise.
11852
11853 2002-02-01 Adam Megacz <adam@xwt.org>
11854
11855 * prims.cc: Added #undef STRICT after #include<windows.h>.
11856
11857 2002-02-01 Adam Megacz <adam@xwt.org>
11858
11859 * prims.cc
11860 (_Jv_CreateJavaVM): We now use WIN32 instead of
11861 USE_WIN32_SIGNALLING and USE_WINSOCK.
11862 (win32_exception_handler): Now throws an exception out of
11863 the signal handler; assumes SJLJ.
11864
11865 2002-02-01 Adam Megacz <adam@xwt.org>
11866
11867 * win32-threads.cc:
11868 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11869 wait() algorithm to make it safe.
11870 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11871 Added lazy creation of Win32 Events for better performance
11872 (really_start): This now uses GC_CreateThread so boehm-gc
11873 knows about new threads even when statically linked.
11874
11875 2002-02-01 Adam Megacz <adam@xwt.org>
11876
11877 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11878 enable safer wait() algorithm.
11879 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11880 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11881 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11882 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11883 instead of mutex.
11884 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11885
11886 2002-02-01 Adam Megacz <adam@xwt.org>
11887
11888 * configure.in: Added support for mingw.
11889 * java/lang/Win32Process.java: Created as empty file.
11890 * java/lang/natWin32Process.cc: Created as empty file.
11891
11892 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11893
11894 PR java/4972
11895 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11896 for libiconv in LIBICONV variable.
11897 * configure: Regenerated.
11898
11899 2002-01-31 Tom Tromey <tromey@redhat.com>
11900
11901 * verify.cc (state::enter_subroutine): New method.
11902 (handle_jsr_insn): Use it.
11903 (state::merge): When processing a `ret', correctly use
11904 subroutine's state to determine which local variables have
11905 changed.
11906 (push_exception_jump): Don't let stack overflow.
11907
11908 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11909
11910 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11911 --version output.
11912
11913 2002-01-30 Tom Tromey <tromey@redhat.com>
11914
11915 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11916 parameter for `recv' return type.
11917
11918 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11919 (state::merge): ... not here.
11920 (subr_entry_info): New structure.
11921 (entry_points): New field.
11922 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11923 entry_points.
11924
11925 2002-01-29 Tom Tromey <tromey@redhat.com>
11926
11927 * java/awt/List.java (addNotify): Correctly check to see if peer
11928 does not exist.
11929
11930 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11931 to compute height of each cell, and number of columns to compute
11932 width of each cell.
11933 * java/awt/Window.java (getOwnedWindows): Don't return null.
11934 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11935 of component. Increment x using horizontal gap, not vertical
11936 gap.
11937
11938 2002-01-28 Tom Tromey <tromey@redhat.com>
11939
11940 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11941 `nargs' byte is number of words, not number of arguments.
11942
11943 2002-01-27 Tom Tromey <tromey@redhat.com>
11944
11945 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11946 (when): Likewise.
11947 * java/awt/event/InputEvent.java (modifiers, when): Now
11948 package-private.
11949
11950 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11951 and to-do list.
11952 (state::merge): Use current class' class loader.
11953 (state::print): Print subroutine.
11954 (state::merge): Don't look at subroutine of unmerged `ret'.
11955
11956 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11957
11958 * nogc.cc: Remove warnings.
11959 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11960 New functions.
11961
11962 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11963
11964 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11965 int, int): Remove empty "if" statement to work around compiler bug.
11966 (newPixels(int[], ColorModel, int, int): Likewise.
11967
11968 2002-01-25 Per Bothner <per@bothner.com>
11969
11970 * verify.cc (verify_fail): Change from being a top-level function
11971 to e method of _Jv_BytecodeVerifier. Emit current method name.
11972 Pass the current verifier to type: and state: methods as needed,
11973 for better error messages, and for resolve.
11974 (resolve): Pass current class's loader for Class.forName and
11975 _Jv_FindClassFromSignature, rather than using the default loader.
11976 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11977 (get_type_val_for_signature): Make non-static.
11978 (various methods): Pass start_PC implicitly, not explicitly.
11979
11980 2002-01-25 Tom Tromey <tromey@redhat.com>
11981
11982 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11983 loop termination condition.
11984 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11985 width.
11986
11987 2002-01-24 Tom Tromey <tromey@redhat.com>
11988
11989 * java/awt/Shape.java: Merged with Classpath.
11990 * java/awt/Scrollbar.java: Merged with Classpath.
11991
11992 * java/awt/Container.java (addNotify): Unconditionally call
11993 addNotifyContainerChildren and superclass addNotify.
11994
11995 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11996 getAlpha, not getBlue.
11997
11998 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11999
12000 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
12001
12002 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
12003 (grabPixels(long)): Wait to be notified that the ImageProducer has
12004 completed.
12005
12006 2002-01-24 Per Bothner <per@bothner.com>
12007
12008 * verify.cc (is_assignable_from_slow): If target is an interface,
12009 we must still check the source's superclass before giving up.
12010
12011 2002-01-24 Tom Tromey <tromey@redhat.com>
12012
12013 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
12014
12015 2002-01-23 Tom Tromey <tromey@redhat.com>
12016
12017 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
12018 `else'.
12019
12020 * Makefile.in: Rebuilt.
12021 * Makefile.am (awt_java_source_files): Added new files.
12022 * java/awt/Toolkit.java: Merged with Classpath.
12023 * java/awt/PrintGraphics.java: New file from Classpath.
12024 * java/awt/PrintJob.java: New file from Classpath.
12025 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
12026 * java/awt/datatransfer/ClipboardOwner.java: New file from
12027 Classpath.
12028 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
12029 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
12030 * java/awt/datatransfer/MimeTypeParseException.java: New file from
12031 Classpath.
12032 * java/awt/datatransfer/StringSelection.java: New file from
12033 Classpath.
12034 * java/awt/datatransfer/SystemFlavorMap.java: New file from
12035 Classpath.
12036 * java/awt/datatransfer/Transferable.java: New file from
12037 Classpath.
12038 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
12039 from Classpath.
12040
12041 * Makefile.in: Rebuilt.
12042 * Makefile.am (awt_java_source_files): Added new files.
12043 * java/awt/image/AreaAveragingScaleFilter.java: New file from
12044 Classpath.
12045 * java/awt/image/CropImageFilter.java: New file from Classpath.
12046 * java/awt/image/FilteredImageSource.java: New file from
12047 Classpath.
12048 * java/awt/image/ImageFilter.java: New file from Classpath.
12049 * java/awt/image/MemoryImageSource.java: New file from Classpath.
12050 * java/awt/image/PixelGrabber.java: New file from Classpath.
12051 * java/awt/image/RGBImageFilter.java: New file from Classpath.
12052 * java/awt/image/ReplicateScaleFilter.java: New file from
12053 Classpath.
12054 * java/awt/image/ImageProducer.java: Replaced with Classpath
12055 version.
12056 * java/awt/image/ImageObserver.java: Replaced with Classpath
12057 version.
12058 * java/awt/image/ImageConsumer.java: Replaced with Classpath
12059 version.
12060 * java/awt/GridBagConstraints.java (clone): Catch
12061 CloneNotSupportedException.
12062
12063 2002-01-23 Per Bothner <per@bothner.com>
12064
12065 * java/lang/reflect/natField.cc (setAddr): New function.
12066 Calls getAddr and then checks that the field isn't final.
12067 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
12068 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
12069 (set): Call setAddr before check that new value has right type,
12070 to better match specified semantics.
12071
12072 2002-01-22 Tom Tromey <tromey@redhat.com>
12073
12074 * java/awt/TextField.java: Replaced with Classpath version.
12075 * java/awt/TextArea.java: Replaced with Classpath version.
12076 * java/awt/TextComponent.java: Replaced with Classpath version.
12077
12078 * java/awt/GridBagConstraints.java: Updated copyright.
12079
12080 2002-01-22 Mark Wielaard <mark@klomp.org>
12081
12082 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
12083 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
12084 java/awt/Dialog.java java/awt/FileDialog.java
12085 java/awt/Font.java java/awt/FontMetrics.java
12086 java/awt/Image.java java/awt/ImageMediaEntry.java
12087 java/awt/Insets.java java/awt/List.java
12088 java/awt/MediaEntry.java java/awt/MediaTracker.java
12089 java/awt/Menu.java java/awt/MenuBar.java
12090 java/awt/MenuContainer.java java/awt/MenuShortcut.java
12091 java/awt/PaintContext.java java/awt/Panel.java
12092 java/awt/PopupMenu.java java/awt/SystemColor.java
12093 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12094 java/awt/peer/CheckboxMenuItemPeer.java
12095 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12096 java/awt/peer/ComponentPeer.java
12097 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12098 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12099 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12100 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12101 java/awt/peer/MenuBarPeer.java
12102 java/awt/peer/MenuComponentPeer.java
12103 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12104 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12105 java/awt/peer/ScrollPanePeer.java
12106 java/awt/peer/ScrollbarPeer.java
12107 java/awt/peer/TextAreaPeer.java
12108 java/awt/peer/TextComponentPeer.java
12109 java/awt/peer/TextFieldPeer.java
12110 java/awt/peer/WindowPeer.java: Add license clarification.
12111
12112 2002-01-22 Mark Wielaard <mark@klomp.org>
12113
12114 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12115 gnu/gcj/runtime/StringBuffer.java
12116 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12117 gnu/java/awt/ComponentDataBlitOp.java
12118 gnu/java/awt/GLightweightPeer.java
12119 gnu/java/beans/BeanInfoEmbryo.java
12120 gnu/java/beans/EmptyBeanInfo.java
12121 gnu/java/beans/ExplicitBeanInfo.java
12122 gnu/java/beans/IntrospectionIncubator.java
12123 gnu/java/beans/editors/ColorEditor.java
12124 gnu/java/beans/editors/FontEditor.java
12125 gnu/java/beans/editors/NativeBooleanEditor.java
12126 gnu/java/beans/editors/NativeByteEditor.java
12127 gnu/java/beans/editors/NativeDoubleEditor.java
12128 gnu/java/beans/editors/NativeFloatEditor.java
12129 gnu/java/beans/editors/NativeIntEditor.java
12130 gnu/java/beans/editors/NativeLongEditor.java
12131 gnu/java/beans/editors/NativeShortEditor.java
12132 gnu/java/beans/editors/StringEditor.java
12133 gnu/java/beans/info/ComponentBeanInfo.java
12134 gnu/java/io/ClassLoaderObjectInputStream.java
12135 gnu/java/io/NullOutputStream.java
12136 gnu/java/io/ObjectIdentityWrapper.java
12137 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12138 gnu/java/lang/reflect/TypeSignature.java
12139 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12140 gnu/java/locale/Calendar_en.java
12141 gnu/java/locale/Calendar_nl.java
12142 gnu/java/locale/LocaleInformation.java
12143 gnu/java/locale/LocaleInformation_de.java
12144 gnu/java/locale/LocaleInformation_en.java
12145 gnu/java/locale/LocaleInformation_nl.java
12146 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12147 gnu/java/rmi/registry/RegistryImpl.java
12148 gnu/java/rmi/rmic/Compile_gcj.java
12149 gnu/java/rmi/rmic/Compiler.java
12150 gnu/java/rmi/rmic/CompilerProcess.java
12151 gnu/java/rmi/rmic/RMIC.java
12152 gnu/java/rmi/rmic/TabbedWriter.java
12153 gnu/java/rmi/server/ProtocolConstants.java
12154 gnu/java/rmi/server/RMIDefaultSocketFactory.java
12155 gnu/java/rmi/server/RMIHashes.java
12156 gnu/java/rmi/server/RMIObjectInputStream.java
12157 gnu/java/rmi/server/RMIObjectOutputStream.java
12158 gnu/java/rmi/server/UnicastConnection.java
12159 gnu/java/rmi/server/UnicastConnectionManager.java
12160 gnu/java/rmi/server/UnicastRef.java
12161 gnu/java/rmi/server/UnicastRemoteCall.java
12162 gnu/java/rmi/server/UnicastRemoteStub.java
12163 gnu/java/rmi/server/UnicastServer.java
12164 gnu/java/rmi/server/UnicastServerRef.java
12165 gnu/java/security/provider/DefaultPolicy.java
12166 gnu/java/security/provider/Gnu.java
12167 gnu/java/security/provider/SHA.java
12168 gnu/java/security/provider/SHA1PRNG.java
12169 gnu/java/text/BaseBreakIterator.java
12170 gnu/java/text/CharacterBreakIterator.java
12171 gnu/java/text/LineBreakIterator.java
12172 gnu/java/text/SentenceBreakIterator.java
12173 gnu/java/text/WordBreakIterator.java
12174 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12175 java/applet/AppletContext.java java/applet/AppletStub.java
12176 java/applet/AudioClip.java java/awt/AWTError.java
12177 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12178 java/awt/AWTException.java java/awt/AWTPermission.java
12179 java/awt/ActiveEvent.java java/awt/BorderLayout.java
12180 java/awt/Button.java java/awt/Canvas.java
12181 java/awt/CardLayout.java java/awt/Checkbox.java
12182 java/awt/CheckboxGroup.java java/awt/Component.java
12183 java/awt/ComponentOrientation.java java/awt/Container.java
12184 java/awt/Dimension.java java/awt/Event.java
12185 java/awt/EventDispatchThread.java java/awt/EventQueue.java
12186 java/awt/FlowLayout.java java/awt/Frame.java
12187 java/awt/Graphics.java java/awt/Graphics2D.java
12188 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12189 java/awt/IllegalComponentStateException.java
12190 java/awt/ItemSelectable.java java/awt/Label.java
12191 java/awt/LayoutManager.java java/awt/LayoutManager2.java
12192 java/awt/MenuComponent.java java/awt/MenuItem.java
12193 java/awt/Paint.java java/awt/Point.java
12194 java/awt/Rectangle.java java/awt/RenderingHints.java
12195 java/awt/Transparency.java java/awt/Window.java
12196 java/awt/color/ColorSpace.java
12197 java/awt/color/ICC_ColorSpace.java
12198 java/awt/color/ICC_Profile.java
12199 java/awt/event/HierarchyBoundsAdapter.java
12200 java/awt/event/HierarchyBoundsListener.java
12201 java/awt/event/HierarchyEvent.java
12202 java/awt/event/HierarchyListener.java
12203 java/awt/geom/AffineTransform.java
12204 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12205 java/awt/geom/IllegalPathStateException.java
12206 java/awt/geom/Line2D.java
12207 java/awt/geom/NoninvertibleTransformException.java
12208 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12209 java/awt/geom/Rectangle2D.java
12210 java/awt/geom/RectangularShape.java
12211 java/awt/geom/RoundRectangle2D.java
12212 java/awt/image/BufferedImage.java
12213 java/awt/image/ColorModel.java
12214 java/awt/image/ComponentColorModel.java
12215 java/awt/image/ComponentSampleModel.java
12216 java/awt/image/DataBuffer.java
12217 java/awt/image/DataBufferByte.java
12218 java/awt/image/DataBufferInt.java
12219 java/awt/image/DataBufferUShort.java
12220 java/awt/image/DirectColorModel.java
12221 java/awt/image/PackedColorModel.java
12222 java/awt/image/Raster.java java/awt/image/RasterOp.java
12223 java/awt/image/SampleModel.java
12224 java/awt/image/SinglePixelPackedSampleModel.java
12225 java/awt/image/WritableRaster.java
12226 java/beans/AppletInitializer.java
12227 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12228 java/beans/Beans.java java/beans/Customizer.java
12229 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12230 java/beans/FeatureDescriptor.java
12231 java/beans/IndexedPropertyDescriptor.java
12232 java/beans/IntrospectionException.java
12233 java/beans/Introspector.java java/beans/MethodDescriptor.java
12234 java/beans/ParameterDescriptor.java
12235 java/beans/PropertyChangeEvent.java
12236 java/beans/PropertyChangeListener.java
12237 java/beans/PropertyChangeSupport.java
12238 java/beans/PropertyDescriptor.java
12239 java/beans/PropertyEditor.java
12240 java/beans/PropertyEditorManager.java
12241 java/beans/PropertyEditorSupport.java
12242 java/beans/PropertyVetoException.java
12243 java/beans/SimpleBeanInfo.java
12244 java/beans/VetoableChangeListener.java
12245 java/beans/VetoableChangeSupport.java
12246 java/beans/Visibility.java
12247 java/beans/beancontext/BeanContext.java
12248 java/beans/beancontext/BeanContextChild.java
12249 java/beans/beancontext/BeanContextChildComponentProxy.java
12250 java/beans/beancontext/BeanContextChildSupport.java
12251 java/beans/beancontext/BeanContextContainerProxy.java
12252 java/beans/beancontext/BeanContextEvent.java
12253 java/beans/beancontext/BeanContextMembershipEvent.java
12254 java/beans/beancontext/BeanContextMembershipListener.java
12255 java/beans/beancontext/BeanContextProxy.java
12256 java/beans/beancontext/BeanContextServiceAvailableEvent.java
12257 java/beans/beancontext/BeanContextServiceProvider.java
12258 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12259 java/beans/beancontext/BeanContextServiceRevokedEvent.java
12260 java/beans/beancontext/BeanContextServiceRevokedListener.java
12261 java/beans/beancontext/BeanContextServices.java
12262 java/beans/beancontext/BeanContextServicesListener.java
12263 java/io/BufferedInputStream.java
12264 java/io/BufferedOutputStream.java java/io/BufferedReader.java
12265 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12266 java/io/ByteArrayOutputStream.java
12267 java/io/CharArrayReader.java java/io/CharArrayWriter.java
12268 java/io/CharConversionException.java java/io/DataInput.java
12269 java/io/DataInputStream.java java/io/DataOutput.java
12270 java/io/EOFException.java java/io/Externalizable.java
12271 java/io/FileFilter.java java/io/FileNotFoundException.java
12272 java/io/FilePermission.java java/io/FileReader.java
12273 java/io/FileWriter.java java/io/FilenameFilter.java
12274 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12275 java/io/FilterReader.java java/io/FilterWriter.java
12276 java/io/IOException.java java/io/InputStream.java
12277 java/io/InterruptedIOException.java
12278 java/io/InvalidClassException.java
12279 java/io/InvalidObjectException.java
12280 java/io/NotActiveException.java
12281 java/io/NotSerializableException.java java/io/ObjectInput.java
12282 java/io/ObjectInputStream.java
12283 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12284 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12285 java/io/ObjectStreamConstants.java
12286 java/io/ObjectStreamException.java
12287 java/io/ObjectStreamField.java
12288 java/io/OptionalDataException.java java/io/OutputStream.java
12289 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12290 java/io/PipedReader.java java/io/PipedWriter.java
12291 java/io/PrintWriter.java java/io/PushbackInputStream.java
12292 java/io/PushbackReader.java java/io/Reader.java
12293 java/io/SequenceInputStream.java java/io/Serializable.java
12294 java/io/SerializablePermission.java
12295 java/io/StreamCorruptedException.java
12296 java/io/StreamTokenizer.java
12297 java/io/StringBufferInputStream.java java/io/StringReader.java
12298 java/io/StringWriter.java java/io/SyncFailedException.java
12299 java/io/UTFDataFormatException.java
12300 java/io/UnsupportedEncodingException.java
12301 java/io/WriteAbortedException.java java/io/Writer.java
12302 java/lang/AbstractMethodError.java
12303 java/lang/ArithmeticException.java
12304 java/lang/ArrayIndexOutOfBoundsException.java
12305 java/lang/ArrayStoreException.java java/lang/Boolean.java
12306 java/lang/Byte.java java/lang/CharSequence.java
12307 java/lang/ClassCastException.java
12308 java/lang/ClassCircularityError.java
12309 java/lang/ClassFormatError.java
12310 java/lang/ClassNotFoundException.java
12311 java/lang/CloneNotSupportedException.java
12312 java/lang/Cloneable.java java/lang/Comparable.java
12313 java/lang/Compiler.java java/lang/Double.java
12314 java/lang/Error.java java/lang/Exception.java
12315 java/lang/ExceptionInInitializerError.java
12316 java/lang/Float.java java/lang/IllegalAccessError.java
12317 java/lang/IllegalAccessException.java
12318 java/lang/IllegalArgumentException.java
12319 java/lang/IllegalMonitorStateException.java
12320 java/lang/IllegalStateException.java
12321 java/lang/IllegalThreadStateException.java
12322 java/lang/IncompatibleClassChangeError.java
12323 java/lang/IndexOutOfBoundsException.java
12324 java/lang/InheritableThreadLocal.java
12325 java/lang/InstantiationError.java
12326 java/lang/InstantiationException.java java/lang/Integer.java
12327 java/lang/InternalError.java
12328 java/lang/InterruptedException.java
12329 java/lang/LinkageError.java java/lang/Long.java
12330 java/lang/NegativeArraySizeException.java
12331 java/lang/NoClassDefFoundError.java
12332 java/lang/NoSuchFieldError.java
12333 java/lang/NoSuchFieldException.java
12334 java/lang/NoSuchMethodError.java
12335 java/lang/NoSuchMethodException.java
12336 java/lang/NullPointerException.java java/lang/Number.java
12337 java/lang/NumberFormatException.java
12338 java/lang/OutOfMemoryError.java java/lang/Package.java
12339 java/lang/Process.java java/lang/Runnable.java
12340 java/lang/RuntimeException.java
12341 java/lang/RuntimePermission.java
12342 java/lang/SecurityException.java
12343 java/lang/SecurityManager.java java/lang/Short.java
12344 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12345 java/lang/StringIndexOutOfBoundsException.java
12346 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12347 java/lang/ThreadLocal.java java/lang/UnknownError.java
12348 java/lang/UnsatisfiedLinkError.java
12349 java/lang/UnsupportedClassVersionError.java
12350 java/lang/UnsupportedOperationException.java
12351 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12352 java/lang/Void.java java/lang/ref/PhantomReference.java
12353 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12354 java/lang/ref/SoftReference.java
12355 java/lang/ref/WeakReference.java
12356 java/lang/reflect/AccessibleObject.java
12357 java/lang/reflect/InvocationTargetException.java
12358 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12359 java/lang/reflect/ReflectPermission.java
12360 java/math/BigDecimal.java java/math/BigInteger.java
12361 java/net/Authenticator.java java/net/BindException.java
12362 java/net/ConnectException.java java/net/ContentHandler.java
12363 java/net/ContentHandlerFactory.java
12364 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12365 java/net/FileNameMap.java java/net/MalformedURLException.java
12366 java/net/MulticastSocket.java java/net/NetPermission.java
12367 java/net/NoRouteToHostException.java
12368 java/net/PasswordAuthentication.java
12369 java/net/ProtocolException.java java/net/ServerSocket.java
12370 java/net/Socket.java java/net/SocketException.java
12371 java/net/SocketImpl.java java/net/SocketImplFactory.java
12372 java/net/SocketOptions.java java/net/SocketPermission.java
12373 java/net/URLDecoder.java java/net/URLEncoder.java
12374 java/net/URLStreamHandlerFactory.java
12375 java/net/UnknownHostException.java
12376 java/net/UnknownServiceException.java
12377 java/rmi/AccessException.java
12378 java/rmi/AlreadyBoundException.java
12379 java/rmi/ConnectException.java
12380 java/rmi/ConnectIOException.java
12381 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12382 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12383 java/rmi/NotBoundException.java
12384 java/rmi/RMISecurityException.java
12385 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12386 java/rmi/RemoteException.java java/rmi/ServerError.java
12387 java/rmi/ServerException.java
12388 java/rmi/ServerRuntimeException.java
12389 java/rmi/StubNotFoundException.java
12390 java/rmi/UnexpectedException.java
12391 java/rmi/UnknownHostException.java
12392 java/rmi/UnmarshalException.java
12393 java/rmi/activation/Activatable.java
12394 java/rmi/activation/ActivateFailedException.java
12395 java/rmi/activation/ActivationDesc.java
12396 java/rmi/activation/ActivationException.java
12397 java/rmi/activation/ActivationGroup.java
12398 java/rmi/activation/ActivationGroupDesc.java
12399 java/rmi/activation/ActivationGroupID.java
12400 java/rmi/activation/ActivationID.java
12401 java/rmi/activation/ActivationInstantiator.java
12402 java/rmi/activation/ActivationMonitor.java
12403 java/rmi/activation/ActivationSystem.java
12404 java/rmi/activation/Activator.java
12405 java/rmi/activation/UnknownGroupException.java
12406 java/rmi/activation/UnknownObjectException.java
12407 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12408 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12409 java/rmi/registry/Registry.java
12410 java/rmi/registry/RegistryHandler.java
12411 java/rmi/server/ExportException.java
12412 java/rmi/server/LoaderHandler.java
12413 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12414 java/rmi/server/Operation.java
12415 java/rmi/server/RMIClassLoader.java
12416 java/rmi/server/RMIClientSocketFactory.java
12417 java/rmi/server/RMIFailureHandler.java
12418 java/rmi/server/RMIServerSocketFactory.java
12419 java/rmi/server/RMISocketFactory.java
12420 java/rmi/server/RemoteCall.java
12421 java/rmi/server/RemoteObject.java
12422 java/rmi/server/RemoteRef.java
12423 java/rmi/server/RemoteServer.java
12424 java/rmi/server/RemoteStub.java
12425 java/rmi/server/ServerCloneException.java
12426 java/rmi/server/ServerNotActiveException.java
12427 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12428 java/rmi/server/SkeletonMismatchException.java
12429 java/rmi/server/SkeletonNotFoundException.java
12430 java/rmi/server/SocketSecurityException.java
12431 java/rmi/server/UID.java
12432 java/rmi/server/UnicastRemoteObject.java
12433 java/rmi/server/Unreferenced.java
12434 java/security/AccessControlContext.java
12435 java/security/AccessControlException.java
12436 java/security/AccessController.java
12437 java/security/AlgorithmParameterGenerator.java
12438 java/security/AlgorithmParameterGeneratorSpi.java
12439 java/security/AlgorithmParameters.java
12440 java/security/AlgorithmParametersSpi.java
12441 java/security/AllPermission.java
12442 java/security/BasicPermission.java
12443 java/security/Certificate.java java/security/CodeSource.java
12444 java/security/DigestException.java
12445 java/security/DigestInputStream.java
12446 java/security/DigestOutputStream.java
12447 java/security/DomainCombiner.java
12448 java/security/DummyKeyPairGenerator.java
12449 java/security/DummyMessageDigest.java
12450 java/security/DummySignature.java
12451 java/security/GeneralSecurityException.java
12452 java/security/Guard.java java/security/GuardedObject.java
12453 java/security/Identity.java java/security/IdentityScope.java
12454 java/security/InvalidAlgorithmParameterException.java
12455 java/security/InvalidKeyException.java
12456 java/security/InvalidParameterException.java
12457 java/security/Key.java java/security/KeyException.java
12458 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12459 java/security/KeyManagementException.java
12460 java/security/KeyPair.java java/security/KeyPairGenerator.java
12461 java/security/KeyPairGeneratorSpi.java
12462 java/security/KeyStore.java
12463 java/security/KeyStoreException.java
12464 java/security/KeyStoreSpi.java
12465 java/security/MessageDigest.java
12466 java/security/MessageDigestSpi.java
12467 java/security/NoSuchAlgorithmException.java
12468 java/security/NoSuchProviderException.java
12469 java/security/Permission.java
12470 java/security/PermissionCollection.java
12471 java/security/Permissions.java java/security/Policy.java
12472 java/security/Principal.java java/security/PrivateKey.java
12473 java/security/PrivilegedAction.java
12474 java/security/PrivilegedActionException.java
12475 java/security/PrivilegedExceptionAction.java
12476 java/security/ProtectionDomain.java
12477 java/security/Provider.java
12478 java/security/ProviderException.java
12479 java/security/PublicKey.java
12480 java/security/SecureClassLoader.java
12481 java/security/SecureRandom.java
12482 java/security/SecureRandomSpi.java java/security/Security.java
12483 java/security/SecurityPermission.java
12484 java/security/Signature.java
12485 java/security/SignatureException.java
12486 java/security/SignatureSpi.java
12487 java/security/SignedObject.java java/security/Signer.java
12488 java/security/UnrecoverableKeyException.java
12489 java/security/UnresolvedPermission.java
12490 java/security/acl/Acl.java java/security/acl/AclEntry.java
12491 java/security/acl/AclNotFoundException.java
12492 java/security/acl/Group.java
12493 java/security/acl/LastOwnerException.java
12494 java/security/acl/NotOwnerException.java
12495 java/security/acl/Owner.java java/security/acl/Permission.java
12496 java/security/cert/CRL.java
12497 java/security/cert/CRLException.java
12498 java/security/cert/Certificate.java
12499 java/security/cert/CertificateEncodingException.java
12500 java/security/cert/CertificateException.java
12501 java/security/cert/CertificateExpiredException.java
12502 java/security/cert/CertificateFactory.java
12503 java/security/cert/CertificateFactorySpi.java
12504 java/security/cert/CertificateNotYetValidException.java
12505 java/security/cert/CertificateParsingException.java
12506 java/security/cert/X509CRL.java
12507 java/security/cert/X509CRLEntry.java
12508 java/security/cert/X509Certificate.java
12509 java/security/cert/X509Extension.java
12510 java/security/interfaces/DSAKey.java
12511 java/security/interfaces/DSAKeyPairGenerator.java
12512 java/security/interfaces/DSAParams.java
12513 java/security/interfaces/DSAPrivateKey.java
12514 java/security/interfaces/DSAPublicKey.java
12515 java/security/interfaces/RSAKey.java
12516 java/security/interfaces/RSAPrivateCrtKey.java
12517 java/security/interfaces/RSAPrivateKey.java
12518 java/security/interfaces/RSAPublicKey.java
12519 java/security/spec/AlgorithmParameterSpec.java
12520 java/security/spec/DSAParameterSpec.java
12521 java/security/spec/DSAPrivateKeySpec.java
12522 java/security/spec/DSAPublicKeySpec.java
12523 java/security/spec/EncodedKeySpec.java
12524 java/security/spec/InvalidKeySpecException.java
12525 java/security/spec/InvalidParameterSpecException.java
12526 java/security/spec/KeySpec.java
12527 java/security/spec/PKCS8EncodedKeySpec.java
12528 java/security/spec/RSAKeyGenParameterSpec.java
12529 java/security/spec/RSAPrivateCrtKeySpec.java
12530 java/security/spec/RSAPrivateKeySpec.java
12531 java/security/spec/RSAPublicKeySpec.java
12532 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12533 java/sql/BatchUpdateException.java java/sql/Blob.java
12534 java/sql/CallableStatement.java java/sql/Clob.java
12535 java/sql/Connection.java java/sql/DataTruncation.java
12536 java/sql/DatabaseMetaData.java java/sql/Date.java
12537 java/sql/Driver.java java/sql/DriverManager.java
12538 java/sql/DriverPropertyInfo.java
12539 java/sql/PreparedStatement.java java/sql/Ref.java
12540 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12541 java/sql/SQLData.java java/sql/SQLException.java
12542 java/sql/SQLInput.java java/sql/SQLOutput.java
12543 java/sql/SQLWarning.java java/sql/Statement.java
12544 java/sql/Struct.java java/sql/Time.java
12545 java/sql/Timestamp.java java/sql/Types.java
12546 java/text/Annotation.java
12547 java/text/AttributedCharacterIterator.java
12548 java/text/AttributedString.java
12549 java/text/AttributedStringIterator.java
12550 java/text/BreakIterator.java java/text/CharacterIterator.java
12551 java/text/ChoiceFormat.java java/text/Collator.java
12552 java/text/DateFormat.java java/text/DateFormatSymbols.java
12553 java/text/DecimalFormat.java
12554 java/text/DecimalFormatSymbols.java
12555 java/text/FieldPosition.java java/text/Format.java
12556 java/text/MessageFormat.java java/text/NumberFormat.java
12557 java/text/ParseException.java java/text/ParsePosition.java
12558 java/text/SimpleDateFormat.java
12559 java/text/StringCharacterIterator.java
12560 java/util/AbstractCollection.java java/util/AbstractList.java
12561 java/util/AbstractMap.java
12562 java/util/AbstractSequentialList.java
12563 java/util/AbstractSet.java java/util/ArrayList.java
12564 java/util/Arrays.java java/util/BasicMapEntry.java
12565 java/util/BitSet.java java/util/Calendar.java
12566 java/util/Collection.java java/util/Collections.java
12567 java/util/Comparator.java
12568 java/util/ConcurrentModificationException.java
12569 java/util/Date.java java/util/Dictionary.java
12570 java/util/EmptyStackException.java java/util/Enumeration.java
12571 java/util/EventListener.java java/util/EventObject.java
12572 java/util/GregorianCalendar.java java/util/HashMap.java
12573 java/util/HashSet.java java/util/Hashtable.java
12574 java/util/IdentityHashMap.java java/util/Iterator.java
12575 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12576 java/util/LinkedList.java java/util/List.java
12577 java/util/ListIterator.java java/util/ListResourceBundle.java
12578 java/util/Locale.java java/util/Map.java
12579 java/util/MissingResourceException.java
12580 java/util/NoSuchElementException.java
12581 java/util/Observable.java java/util/Observer.java
12582 java/util/Properties.java java/util/PropertyPermission.java
12583 java/util/PropertyResourceBundle.java java/util/Random.java
12584 java/util/RandomAccess.java java/util/ResourceBundle.java
12585 java/util/Set.java java/util/SimpleTimeZone.java
12586 java/util/SortedMap.java java/util/SortedSet.java
12587 java/util/Stack.java java/util/StringTokenizer.java
12588 java/util/TimeZone.java java/util/Timer.java
12589 java/util/TimerTask.java
12590 java/util/TooManyListenersException.java
12591 java/util/TreeMap.java java/util/TreeSet.java
12592 java/util/Vector.java java/util/WeakHashMap.java
12593 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12594 java/util/jar/JarException.java java/util/jar/JarFile.java
12595 java/util/jar/JarInputStream.java
12596 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12597 java/util/zip/Adler32.java java/util/zip/CRC32.java
12598 java/util/zip/CheckedInputStream.java
12599 java/util/zip/CheckedOutputStream.java
12600 java/util/zip/Checksum.java
12601 java/util/zip/DataFormatException.java
12602 java/util/zip/Deflater.java
12603 java/util/zip/DeflaterOutputStream.java
12604 java/util/zip/GZIPInputStream.java
12605 java/util/zip/GZIPOutputStream.java
12606 java/util/zip/Inflater.java
12607 java/util/zip/InflaterInputStream.java
12608 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12609 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12610 java/util/zip/ZipInputStream.java
12611 java/util/zip/ZipOutputStream.java
12612 javax/naming/BinaryRefAddr.java
12613 javax/naming/InvalidNameException.java javax/naming/Name.java
12614 javax/naming/NamingException.java javax/naming/RefAddr.java
12615 javax/naming/StringRefAddr.java: Add license clarification.
12616
12617 2002-01-22 Tom Tromey <tromey@redhat.com>
12618
12619 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12620 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12621 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12622 version.
12623 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12624 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12625 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12626 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12627 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12628 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12629 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12630 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12631 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12632 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12633 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12634 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12635 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12636 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12637 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12638 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12639 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12640 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12641 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12642 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12643 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12644 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12645 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12646 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12647 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12648 (minimumSize, preferredSize, reshape): Likewise.
12649 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12650 getColorModel): New methods.
12651 * java/awt/PopupMenu.java: Merged with Classpath.
12652 * java/awt/MenuBar.java: Merged with Classpath.
12653 * java/awt/SystemColor.java: Replace with Classpath version.
12654 * java/awt/Panel.java: Merged with Classpath.
12655 * java/awt/PaintContext.java: Updated copyright.
12656 * java/awt/MenuShortcut.java: Merged with Classpath.
12657 * java/awt/MenuContainer.java: Merged with Classpath.
12658 * java/awt/Menu.java: Merged with Classpath.
12659 * java/awt/MediaEntry.java: New file from Classpath.
12660 * java/awt/MediaTracker.java: New file from Classpath.
12661 * java/awt/List.java: Merged with Classpath version.
12662 * java/awt/Insets.java: Merged with Classpath version.
12663 * java/awt/ImageMediaEntry.java: New file from Classpath.
12664 * java/awt/Image.java: Replaced with Classpath version.
12665 * java/awt/FontMetrics.java: Merged with Classpath version.
12666 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12667 constant.
12668 * java/awt/Font.java: Merged with Classpath version.
12669 * java/awt/Dialog.java: Merged with Classpath version.
12670 * java/awt/Color.java: Merged with Classpath version.
12671 * java/awt/Choice.java: Merged with Classpath version.
12672 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12673 * java/awt/Adjustable.java: Replace with Classpath version.
12674 * java/awt/MenuItem.java (paramString): Don't include class name
12675 or brackets. Call superclass paramString.
12676 * java/awt/MenuComponent.java (toString): Call paramString.
12677 (paramString): Compute string; don't call toString.
12678 * java/awt/Label.java (paramString): Don't include class name
12679 or brackets. Call superclass paramString.
12680 * java/awt/Checkbox.java (paramString): Don't include class name
12681 or brackets. Call superclass paramString.
12682 * java/awt/Button.java (paramString): Don't include class name or
12683 brackets. Call superclass paramString.
12684 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12685
12686 2002-01-20 Andreas Schwab <schwab@suse.de>
12687
12688 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12689 function and of parameter recv_func to ssize_t, as specified by
12690 POSIX.
12691
12692 2002-01-19 Per Bothner <per@bothner.com>
12693
12694 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12695 uncompressed_size in readiness for next entry.
12696
12697 2002-01-18 Tom Tromey <tromey@redhat.com>
12698
12699 * java/net/natPlainSocketImpl.cc: Include
12700 IllegalArgumentException.h.
12701 (_Jv_recv): New template function.
12702 (BooleanClass): Removed.
12703 (read): Use _Jv_recv.
12704 (setOption): Use Boolean::class$. Throw exception if object is
12705 not Boolean or Integer.
12706
12707 2002-01-17 Tom Tromey <tromey@redhat.com>
12708
12709 * java/awt/MenuComponent.java: Merged with Classpath.
12710 * java/awt/MenuItem.java: Merged with Classpath.
12711 * java/awt/Button.java: Merged with Classpath.
12712
12713 * java/awt/ActiveEvent.java: Updated copyright.
12714
12715 * java/awt/AWTError.java: Replaced with Classpath version.
12716 * java/awt/AWTException.java: Replaced with Classpath version.
12717 * java/awt/IllegalComponentStateException.java: Replaced with
12718 Classpath version.
12719
12720 2002-01-16 Tom Tromey <tromey@redhat.com>
12721
12722 * java/awt/Canvas.java (serialVersionUID): New constant.
12723 Updated copyright. Added javadoc from Classpath.
12724 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12725
12726 * java/awt/CheckboxGroup.java: Merged with Classpath.
12727 * java/awt/Checkbox.java: Merged with Classpath.
12728
12729 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12730 Classpath.
12731 * java/awt/Point.java: Updated copyright.
12732
12733 * java/awt/Point.java (toString): Use getClass().getName().
12734 Added javadoc.
12735
12736 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12737 commented code.
12738 (hash): Correctly compute initial value for `h'.
12739
12740 * java/awt/Label.java: Merged with Classpath.
12741
12742 2002-01-15 Tom Tromey <tromey@redhat.com>
12743
12744 * java/awt/AWTPermission.java: Updated copyright.
12745
12746 * java/awt/LayoutManager2.java: Merged with Classpath.
12747 * java/awt/LayoutManager.java: Merged with Classpath.
12748 * java/awt/GridLayout.java: Updated copyright and javadoc.
12749 (getSize): Use `parent.ncomponents'. Handle insets.
12750 (layoutContainer): Use `parent.ncomponents'. Handle case where
12751 there are fewer children than columns. Correctly compute size of
12752 each cell in the grid. Handle case where there isn't enough
12753 space.
12754 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12755 all users.
12756 (gotoComponent): Use parent.ncomponents. Ensure child exists
12757 before calling setVisible() on it. Last item is `num - 1', not
12758 `num'.
12759 (layoutContainer): Hoist invariants out of loop.
12760
12761 Start of AWT merge with Classpath:
12762 * Makefile.in: Rebuilt.
12763 * Makefile.am (awt_java_source_files): Reference files in
12764 gnu/java/awt, not gnu/gcj/awt.
12765 * java/awt/image/BufferedImage.java: Updated copyright.
12766 * java/awt/image/ComponentColorModel.java: Updated copyright.
12767 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12768 * java/awt/image/DataBuffer.java: Updated copyright.
12769 * java/awt/image/DataBufferByte.java: Updated copyright.
12770 * java/awt/image/DataBufferInt.java: Updated copyright.
12771 * java/awt/image/DataBufferUShort.java: Updated copyright.
12772 * java/awt/image/IndexColorModel.java: Updated copyright.
12773 * java/awt/image/PackedColorModel.java: Updated copyright.
12774 * java/awt/image/Raster.java: Updated copyright.
12775 * java/awt/image/RasterOp.java: Updated copyright.
12776 * java/awt/image/SampleModel.java: Updated copyright.
12777 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12778 * java/awt/image/WritableRaster.java: Updated copyright.
12779 * java/awt/color/ColorSpace.java: Updated copyright.
12780 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12781 * java/awt/color/ICC_Profile.java: Updated copyright.
12782 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12783 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12784 * java/awt/event/HierarchyEvent.java: Updated copyright.
12785 * java/awt/event/HierarchyListener.java: Updated copyright.
12786 * java/awt/geom/AffineTransform.java: Updated copyright.
12787 * java/awt/geom/Dimension2D.java: Updated copyright.
12788 * java/awt/geom/Ellipse2D.java: Updated copyright.
12789 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12790 * java/awt/geom/Line2D.java: Updated copyright.
12791 * java/awt/geom/NoninvertibleTransformException.java: Updated
12792 copyright.
12793 * java/awt/geom/PathIterator.java: Updated copyright.
12794 * java/awt/geom/Point2D.java: Updated copyright.
12795 * java/awt/geom/Rectangle2D.java: Updated copyright.
12796 * java/awt/geom/RectangularShape.java: Updated copyright.
12797 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12798 * java/awt/Toolkit.java: Updated import for file moves.
12799 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12800 Classpath.
12801 (hashCode): New method from Classpath.
12802 * java/awt/Graphics2D.java: Updated copyright.
12803 * java/awt/Transparency.java: Updated copyright.
12804 * java/awt/Paint.java: Updated copyright.
12805 * java/awt/Graphics.java: New version from Classpath.
12806 * java/awt/EventDispatchThread.java: Updated copyright.
12807 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12808 children.
12809 (gotoComponent): Wrap around on next/previous.
12810 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12811 * gnu/gcj/awt/Buffers.java: Removed.
12812 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12813 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12814 * gnu/java/awt/BitMaskExtent.java: Added.
12815 * gnu/java/awt/Buffers.java: Added.
12816 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12817 * gnu/java/awt/GLightweightPeer.java: Added.
12818 * java/awt/geom/Line2D.java (clone): Ignore
12819 CloneNotSupportedException.
12820 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12821 * java/awt/Frame.java: Merged with Classpath.
12822 * java/awt/RenderingHints.java: Copyright update.
12823 * java/awt/Paint.java: Copyright update.
12824 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12825 * java/awt/image/ColorModel.java: Merged with Classpath.
12826 * java/awt/Window.java (show): New Implementation from Classpath.
12827 (isShowing): Use super.isShowing().
12828 * java/awt/EventQueue.java: Merged with Classpath.
12829 * java/awt/AWTEventMulticaster.java (save): Throw
12830 RuntimeException.
12831 (saveInternal): Likewise.
12832 * java/awt/AWTEvent.java: Now implements Serializable.
12833 * java/awt/Event.java: Copyright update.
12834 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12835 * java/awt/image/BufferedImage.java: Copyright update.
12836 * java/awt/GraphicsConfiguration.java: Copyright update.
12837 * java/awt/Component.java: (addNotify): Don't call
12838 addNotifyContainerChildren().
12839 (addNotifyContainerChildren): Removed.
12840 (setPeer): New method from Classpath.
12841 (setTreeLock): Likewise.
12842 (setVisible): Rewrote.
12843 (show): Use it.
12844 (hide): Likewise.
12845 (validate): Set `valid'.
12846 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12847 (createImage(ImageProducer)): Likewise.
12848 (prepareImage): Likewise.
12849 * java/awt/Container.java (addImpl): Handle case where constraint
12850 is not a String. Post event via system event queue.
12851 (remove): Post event via system event queue.
12852 (validateTree): Only validate child if it is invalid.
12853 (getAlignmentX): Call super method as default.
12854 (getAlignmentY): Likewise.
12855 (addContainerListener): Now synchronized.
12856 (removeContainerListener): Likewise.
12857 (addNotifyContainerChildren): Now private.
12858 * java/awt/ComponentOrientation.java: Updated copyright. Added
12859 @author.
12860 * java/awt/FlowLayout.java (serialVersionUID): New field.
12861 (setAlignment): Better exception message.
12862 (layoutContainer): Don't compute component's preferred size unless
12863 we're going to use it.
12864 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12865 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12866 (firstLine, lastLine, firstItem, lastItem): New fields.
12867 (addLayoutComponent): Handle case where constraints is null.
12868 Also, handle relative locations.
12869 (removeLayoutComponent): Handle relative locations.
12870 (MIN, MAX, PREF): New constants.
12871 (calcCompSize): New method.
12872 (calcSize): New method.
12873 (minimumLayoutSize): Use it.
12874 (preferredLayoutSize): Likewise.
12875 (maximumLayoutSize): Likewise.
12876 (toString): Include more information.
12877 (setBounds): New method.
12878 (layoutContainer): Use libgcj implementation; extended to handle
12879 relative locations.
12880
12881 2002-01-15 Tom Tromey <tromey@redhat.com>
12882
12883 * java/lang/Float.java (equals): Preserve old code.
12884 * java/lang/Double.java (equals): Preserve old code.
12885
12886 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12887
12888 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12889 * java/lang/Float.java (equals, compare): Ditto.
12890
12891 2002-01-13 Mark Wielaard <mark@klomp.org>
12892
12893 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12894 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12895 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12896 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12897
12898 2002-01-11 Mark Wielaard <mark@klomp.org>
12899
12900 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12901 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12902 InetAddress.
12903 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12904 * java/net/Socket.java: Merge with Classpath.
12905 * java/net/ServerSocket.java: Likewise.
12906
12907 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12908
12909 * interpret.cc (NULLARRAYCHECK): New macro.
12910 (SAVE_PC): Just store `pc'.
12911 (find_exception): Subtract one from `pc' here.
12912 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12913 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12914 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12915 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12916 don't call SAVE_PC.
12917 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12918 call SAVE_PC.
12919
12920 2002-01-11 Tom Tromey <tromey@redhat.com>
12921
12922 * java/lang/natSystem.cc (init_properties): Only look for default
12923 locale if LC_MESSAGES is defined.
12924 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12925 * configure.in: Call AM_LC_MESSAGES.
12926 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12927
12928 2002-01-10 Tom Tromey <tromey@redhat.com>
12929
12930 For PR libgcj/5303:
12931 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12932 --version. Recognize GNU-style long options. Print GNU-style
12933 error messages.
12934 (usage): Print GNU-style help. Exit with status 0.
12935 (error): New method.
12936 (run): Print error message if no class names found.
12937 (main): Don't print usage on error.
12938
12939 2002-01-09 Tom Tromey <tromey@redhat.com>
12940
12941 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12942 property.
12943 (help, version): Use println(), not println("").
12944
12945 For PR libgcj/5303:
12946 * gnu/gcj/convert/Convert.java (error): Program is called
12947 `jv-convert'. Print GNU-style message. Exit with status 1, not
12948 -1.
12949 (main): Handle --help and --version.
12950 (help): New method.
12951 (version): Likewise.
12952
12953 2002-01-08 Tom Tromey <tromey@redhat.com>
12954
12955 * Makefile.in: Rebuilt.
12956 * Makefile.am (ordinary_java_source_files): Added new files.
12957 * gnu/java/locale/LocaleInformation.java: Extend
12958 LocaleInformation_en.
12959 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12960 and time/date formats.
12961 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12962 generated.
12963 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12964 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12965 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12966 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12967 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12968 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12969 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12970 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12971 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12972 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12973 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12974 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12975 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12976 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12977 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12978 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12979 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12980 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12981 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12982 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12983 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12984 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12985 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12986 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12987 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12988 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12989 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12990 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12991 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12992 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12993 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12994 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12995 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12996 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12997 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12998 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12999 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
13000 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
13001 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
13002 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
13003 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
13004 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
13005 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
13006 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
13007 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
13008 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
13009 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
13010 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
13011 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
13012 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
13013 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
13014 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
13015 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
13016 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
13017 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
13018 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
13019 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
13020 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
13021 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
13022 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
13023 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
13024 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
13025 * gnu/java/locale/LocaleInformation_es_US.java: New file.
13026 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
13027 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
13028 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
13029 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
13030 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
13031 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
13032 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
13033 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
13034 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
13035 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
13036 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
13037 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
13038 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
13039 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
13040 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
13041 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
13042 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
13043 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
13044 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
13045 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
13046 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
13047 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
13048 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
13049 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
13050 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
13051 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
13052 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
13053 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
13054 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
13055 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
13056 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
13057 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
13058 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
13059 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
13060 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
13061 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
13062 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
13063 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
13064 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
13065 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
13066 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
13067 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
13068 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
13069 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
13070 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
13071 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
13072 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
13073 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
13074 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
13075 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
13076 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
13077 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
13078 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
13079 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
13080 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
13081 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
13082 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
13083 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
13084 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13085 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13086 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13087 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13088 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13089 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13090 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13091 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13092 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13093
13094 For PR libgcj/5031:
13095 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13096 choose default locale.
13097
13098 * Makefile.in: Rebuilt.
13099 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13100
13101 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
13102
13103 * java/net/natPlainSocketImpl.cc: Added timeout handling for
13104 sockets.
13105 (close): New function closes the socket.
13106 (write): New functions for output to socket.
13107 (read): New functions for reading from socket.
13108 * java/net/PlainSocketImpl.java: Glue for new timeout
13109 implementation.
13110 (write): Call the native impl.
13111 (read): Likewise.
13112 (getInputStream): Get a stream to read from the socket.
13113 (getOutputStream): Get a stream to write to the socket.
13114
13115 2002-01-08 Tom Tromey <tromey@redhat.com>
13116
13117 * resolve.cc (_Jv_PrepareClass): Enable verifier.
13118
13119 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
13120
13121 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13122 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13123
13124 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
13125
13126 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13127 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13128 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13129 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13130 insn_bastore, insn_castore, insn_sastore]: Use it.
13131 (continue1) [insn_arraylength]: Check for null array.
13132
13133 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13134
13135 * configure, include/config.h.in: Rebuilt.
13136 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13137 * configure.in: Call AC_STRUCT_TIMEZONE.
13138
13139 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13140
13141 * configure.host: Disable the interpreter for Darwin.
13142
13143 2002-01-04 Tom Tromey <tromey@redhat.com>
13144
13145 * java/lang/Thread.java (stop): No longer synchronized.
13146 (start): Likewise.
13147
13148 2002-01-02 Tom Tromey <tromey@redhat.com>
13149
13150 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13151 patch.
13152
13153 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
13154
13155 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13156 PPC Darwin, not for all of Darwin.